gnu: Add ruby-bio-kseq.
[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>
55409295 3;;; Copyright © 2014, 2015, 2016 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>
8b877545 7;;; Copyright © 2015, 2016 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>
8d9bae4e 12;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
293ff8b2 13;;; Copyright © 2015 David Thompson <davet@gnu.org>
e2674357 14;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
8b877545 15;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
3c697ffd 16;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
3a9a4c51 17;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
21f05134 18;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
277a7d82 19;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
a56be436 20;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
995b7261
AE
21;;;
22;;; This file is part of GNU Guix.
23;;;
24;;; GNU Guix is free software; you can redistribute it and/or modify it
25;;; under the terms of the GNU General Public License as published by
26;;; the Free Software Foundation; either version 3 of the License, or (at
27;;; your option) any later version.
28;;;
29;;; GNU Guix is distributed in the hope that it will be useful, but
30;;; WITHOUT ANY WARRANTY; without even the implied warranty of
31;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32;;; GNU General Public License for more details.
33;;;
34;;; You should have received a copy of the GNU General Public License
35;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
36
37(define-module (gnu packages gnome)
b5b73a82 38 #:use-module ((guix licenses) #:prefix license:)
995b7261
AE
39 #:use-module (guix packages)
40 #:use-module (guix download)
4a526711 41 #:use-module (guix git-download)
29a7c98a 42 #:use-module (guix utils)
995b7261 43 #:use-module (guix build-system gnu)
121de2e1 44 #:use-module (guix build-system glib-or-gtk)
dc050251 45 #:use-module (guix build-system trivial)
ed19903d 46 #:use-module (gnu packages)
ba5dd105 47 #:use-module (gnu packages admin)
75016d07 48 #:use-module (gnu packages autotools)
7b212526 49 #:use-module (gnu packages avahi)
6a180f6f 50 #:use-module (gnu packages base)
5698b8b8 51 #:use-module (gnu packages bison)
df217748 52 #:use-module (gnu packages calendar)
df12f04a 53 #:use-module (gnu packages check)
23a22af6 54 #:use-module (gnu packages cups)
6e1bb642 55 #:use-module (gnu packages curl)
c3f29bc9 56 #:use-module (gnu packages cyrus-sasl)
6e1bb642 57 #:use-module (gnu packages databases)
c769cf9f 58 #:use-module (gnu packages djvu)
ba5dd105 59 #:use-module (gnu packages dns)
121de2e1 60 #:use-module (gnu packages flex)
b4ce6300 61 #:use-module (gnu packages docbook)
329d731b 62 #:use-module (gnu packages enchant)
a56be436 63 #:use-module (gnu packages fontutils)
dfc407f3 64 #:use-module (gnu packages game-development)
fed5a689 65 #:use-module (gnu packages gettext)
995b7261 66 #:use-module (gnu packages glib)
c1354b90 67 #:use-module (gnu packages gnupg)
23a22af6 68 #:use-module (gnu packages gnuzilla)
85f5dc19 69 #:use-module (gnu packages gstreamer)
d9c1a22b 70 #:use-module (gnu packages gtk)
df217748 71 #:use-module (gnu packages gperf)
6b888eff 72 #:use-module (gnu packages guile)
34b979b9 73 #:use-module (gnu packages openldap)
c1354b90 74 #:use-module (gnu packages pdf)
75016d07 75 #:use-module (gnu packages polkit)
5698b8b8 76 #:use-module (gnu packages popt)
c1354b90 77 #:use-module (gnu packages ghostscript)
b645146f 78 #:use-module (gnu packages ibus)
9cc98f8a 79 #:use-module (gnu packages iso-codes)
85f5dc19 80 #:use-module (gnu packages libcanberra)
88f70665 81 #:use-module (gnu packages linux)
75016d07 82 #:use-module (gnu packages libusb)
4e3fc547 83 #:use-module (gnu packages lirc)
7b212526 84 #:use-module (gnu packages lua)
fed5a689 85 #:use-module (gnu packages m4)
e55354b8 86 #:use-module (gnu packages image)
ba5dd105 87 #:use-module (gnu packages networking)
b645146f 88 #:use-module (gnu packages password-utils)
27477d2d 89 #:use-module (gnu packages perl)
f70d8383 90 #:use-module (gnu packages photo)
995b7261 91 #:use-module (gnu packages pkg-config)
23a22af6 92 #:use-module (gnu packages pulseaudio)
995b7261 93 #:use-module (gnu packages python)
75016d07 94 #:use-module (gnu packages scanner)
4a1bf090 95 #:use-module (gnu packages ssh)
85f5dc19 96 #:use-module (gnu packages xml)
b0f9c4b8 97 #:use-module (gnu packages geeqie)
200726ed 98 #:use-module (gnu packages gl)
1dd26275 99 #:use-module (gnu packages compression)
8f9ac901 100 #:use-module (gnu packages tex)
a7fd7b68 101 #:use-module (gnu packages tls)
6e1bb642 102 #:use-module (gnu packages web)
4a79e256 103 #:use-module (gnu packages webkit)
fecbf86e 104 #:use-module (gnu packages xorg)
ea57378f 105 #:use-module (gnu packages xdisorg)
ba421ab7 106 #:use-module (gnu packages freedesktop)
1e7464a9 107 #:use-module (gnu packages mail)
b645146f 108 #:use-module (gnu packages mit-krb5)
1e7464a9
DH
109 #:use-module (gnu packages backup)
110 #:use-module (gnu packages nettle)
c024ae36 111 #:use-module (gnu packages ncurses)
3dc8828f
SB
112 #:use-module (gnu packages video)
113 #:use-module (gnu packages cdrom)
114 #:use-module (gnu packages samba)
f47ba77e 115 #:use-module (gnu packages readline)
0bd3597b 116 #:use-module (gnu packages fonts)
c024ae36 117 #:use-module (srfi srfi-1))
85f5dc19
AE
118
119(define-public brasero
120 (package
121 (name "brasero")
e8627cd9 122 (version "3.12.1")
85f5dc19
AE
123 (source (origin
124 (method url-fetch)
e8627cd9
DH
125 (uri (string-append "mirror://gnome/sources/" name "/"
126 (version-major+minor version) "/"
127 name "-" version ".tar.xz"))
85f5dc19
AE
128 (sha256
129 (base32
e8627cd9 130 "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls"))))
1c40e3b7 131 (build-system glib-or-gtk-build-system)
e8627cd9
DH
132 (arguments
133 `(#:configure-flags (list
134 (string-append "--with-girdir="
135 (assoc-ref %outputs "out")
136 "/share/gir-1.0")
137 (string-append "--with-typelibdir="
138 (assoc-ref %outputs "out")
139 "/lib/girepository-1.0"))))
85f5dc19
AE
140 (propagated-inputs
141 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
142 (native-inputs
143 `(("intltool" ,intltool)
426adbe8 144 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 145 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 146 ("pkg-config" ,pkg-config)))
85f5dc19
AE
147 (inputs
148 `(("glib" ,glib)
149 ("gnome-doc-utils" ,gnome-doc-utils)
150 ("gstreamer" ,gstreamer)
151 ("gst-plugins-base" ,gst-plugins-base)
152 ("gtk+" ,gtk+)
85f5dc19
AE
153 ("itstool" ,itstool)
154 ("libcanberra" ,libcanberra)
155 ("libice" ,libice)
156 ("libnotify" ,libnotify)
157 ("libsm" ,libsm)
e8627cd9
DH
158 ("libxml2" ,libxml2)
159 ("nettle" ,nettle)
160 ("totem-pl-parser" ,totem-pl-parser)))
85f5dc19
AE
161 (home-page "https://projects.gnome.org/brasero/")
162 (synopsis "CD/DVD burning tool for Gnome")
163 (description "Brasero is an application to burn CD/DVD for the Gnome
164Desktop. It is designed to be as simple as possible and has some unique
165features to enable users to create their discs easily and quickly.")
1dd26275 166 (license license:gpl2+)))
995b7261 167
a56be436
RJ
168(define-public dia
169 ;; This version from GNOME's repository includes fixes for compiling with
170 ;; recent versions of the build tools. The latest activity on the
171 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
172 ;; fixes in 2016.
173 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
174 (package
175 (name "dia")
176 (version (string-append "0.97.2-" (string-take commit 7)))
177 (source (origin
178 (method git-fetch)
179 (uri (git-reference
180 (url "https://git.gnome.org/browse/dia")
181 (commit commit)))
182 (file-name (string-append name "-" version "-checkout"))
183 (sha256
184 (base32
185 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
186 (build-system gnu-build-system)
187 (inputs
188 `(("glib" ,glib "bin")
189 ("pango" ,pango)
190 ("gdk-pixbuf" ,gdk-pixbuf)
191 ("gtk+" ,gtk+-2)
192 ("libxml2" ,libxml2)
193 ("freetype" ,freetype)
194 ("libart-lgpl" ,libart-lgpl)))
195 (native-inputs
196 `(("intltool" ,intltool)
197 ("pkg-config" ,pkg-config)
198 ("automake" ,automake)
199 ("autoconf" ,autoconf)
200 ("libtool" ,libtool)
201 ("perl" ,perl)
202 ("python-wrapper" ,python-wrapper)))
203 (arguments
204 `(#:phases
205 (modify-phases %standard-phases
206 (add-before 'configure 'run-autogen
207 (lambda _
208 (system* "sh" "autogen.sh"))))))
209 (home-page "https://wiki.gnome.org/Apps/Dia")
210 (synopsis "Diagram creation for GNOME")
211 (description "Dia can be used to draw different types of diagrams, and
212includes support for UML static structure diagrams (class diagrams), entity
213relationship modeling, and network diagrams. The program supports various file
214formats like PNG, SVG, PDF and EPS.")
215 (license license:gpl2+))))
216
7aab13f1
ML
217(define-public gnome-common
218 (package
219 (name "gnome-common")
af83490d 220 (version "3.18.0")
7aab13f1
ML
221 (source
222 (origin
223 (method url-fetch)
224 (uri (string-append "mirror://gnome/sources/" name "/"
225 (version-major+minor version) "/"
226 name "-" version ".tar.xz"))
227 (sha256
228 (base32
af83490d 229 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
230 (build-system gnu-build-system)
231 (home-page "https://www.gnome.org/")
232 (synopsis "Bootstrap GNOME modules built from Git")
233 (description "gnome-common contains various files needed to bootstrap
234GNOME modules built from Git. It contains a common \"autogen.sh\" script that
235can be used to configure a source directory checked out from Git and some
236commonly used macros.")
237 (license license:gpl2+)))
238
9cc98f8a
CR
239(define-public gnome-desktop
240 (package
241 (name "gnome-desktop")
ab740c7f 242 (version "3.20.1")
9cc98f8a
CR
243 (source
244 (origin
245 (method url-fetch)
b38e45d8
EB
246 (uri (string-append "mirror://gnome/sources/" name "/"
247 (version-major+minor version) "/"
9cc98f8a
CR
248 name "-" version ".tar.xz"))
249 (sha256
250 (base32
ab740c7f 251 "0h6185lmkaf49dr43pb6gsb9yi25rc32n7dq5186hwln38mppb3f"))))
9cc98f8a
CR
252 (build-system gnu-build-system)
253 (native-inputs
a8340482
SB
254 `(("gobject-introspection" ,gobject-introspection)
255 ("itstool" ,itstool)
bcb354ad
SB
256 ("intltool" ,intltool)
257 ("pkg-config" ,pkg-config)
258 ("xmllint" ,libxml2)))
a8340482
SB
259 (propagated-inputs
260 ;; Required by gnome-desktop-3.0.pc.
261 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
262 ("gtk+" ,gtk+)))
9cc98f8a
CR
263 (inputs
264 `(("gdk-pixbuf" ,gdk-pixbuf)
265 ("glib" ,glib)
9cc98f8a 266 ("iso-codes" ,iso-codes)
9cc98f8a
CR
267 ("libx11" ,libx11)
268 ("libxext" ,libxext)
269 ("libxkbfile" ,libxkbfile)
270 ("libxrandr" ,libxrandr)
271 ("xkeyboard-config" ,xkeyboard-config)))
272 (home-page "https://www.gnome.org/")
273 (synopsis
35b9e423 274 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
275 (description
276 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
277on the desktop, but that cannot live in the platform for various reasons.
278There is no API or ABI guarantee, although we are doing our best to provide
279stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
280
281The gnome-about program helps find which version of GNOME is installed.")
282 ; Some bits under the LGPL.
1dd26275 283 (license license:gpl2+)))
9cc98f8a 284
995b7261
AE
285(define-public gnome-doc-utils
286 (package
287 (name "gnome-doc-utils")
288 (version "0.20.10")
289 (source
290 (origin
291 (method url-fetch)
b38e45d8
EB
292 (uri (string-append "mirror://gnome/sources/" name "/"
293 (version-major+minor version) "/"
995b7261
AE
294 name "-" version ".tar.xz"))
295 (sha256
296 (base32
297 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
298 (build-system gnu-build-system)
c4c4cc05 299 (native-inputs
995b7261 300 `(("intltool" ,intltool)
b4ce6300 301 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 302 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
303 ("libxml2" ,libxml2)
304 ("libxslt" ,libxslt)
305 ("pkg-config" ,pkg-config)
306 ("python-2" ,python-2)))
995b7261
AE
307 (home-page "https://wiki.gnome.org/GnomeDocUtils")
308 (synopsis
309 "Documentation utilities for the Gnome project")
310 (description
311 "Gnome-doc-utils is a collection of documentation utilities for the
312Gnome project. It includes xml2po tool which makes it easier to translate
313and keep up to date translations of documentation.")
1dd26275 314 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 315
8ff49011
RW
316(define-public gcr
317 (package
318 (name "gcr")
6983ba56 319 (version "3.20.0")
8ff49011
RW
320 (source (origin
321 (method url-fetch)
322 (uri (string-append "mirror://gnome/sources/" name "/"
323 (version-major+minor version) "/"
324 name "-" version ".tar.xz"))
325 (sha256
326 (base32
6983ba56 327 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))))
8ff49011
RW
328 (build-system gnu-build-system)
329 (arguments
330 '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does
331 ;not exist
332 #:phases (modify-phases %standard-phases
333 (add-before
334 'check 'pre-check
335 (lambda* (#:key inputs #:allow-other-keys)
336 (substitute* "build/tap-driver"
337 (("/usr/bin/env python") (which "python"))))))))
338 (inputs
339 `(("dbus" ,dbus)
340 ("gnupg" ,gnupg) ;called as a child process during tests
341 ("libgcrypt" ,libgcrypt)))
342 (native-inputs
343 `(("python" ,python-2) ;for tests
344 ("pkg-config" ,pkg-config)
345 ("glib" ,glib "bin")
2af4f5b0
SB
346 ("gobject-introspection" ,gobject-introspection)
347 ("intltool" ,intltool)
348 ("xsltproc" ,libxslt)))
8ff49011
RW
349 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
350 (propagated-inputs
351 `(("p11-kit" ,p11-kit)
352 ("glib" ,glib)
353 ("gtk+" ,gtk+)))
354 (home-page "http://www.gnome.org")
355 (synopsis "Libraries for displaying certificates and accessing key stores")
356 (description
357 "The GCR package contains libraries used for displaying certificates and
358accessing key stores. It also provides the viewer for crypto files on the
359GNOME Desktop.")
360 (license license:lgpl2.1+)))
361
c1354b90
LC
362(define-public libgnome-keyring
363 (package
364 (name "libgnome-keyring")
5e8aec2c 365 (version "3.12.0")
c1354b90
LC
366 (source (origin
367 (method url-fetch)
b38e45d8
EB
368 (uri (string-append "mirror://gnome/sources/" name "/"
369 (version-major+minor version) "/"
370 name "-" version ".tar.xz"))
c1354b90
LC
371 (sha256
372 (base32
5e8aec2c 373 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 374 (build-system gnu-build-system)
c1354b90 375 (inputs
c4c4cc05 376 `(("libgcrypt" ,libgcrypt)
c1354b90 377 ("dbus" ,dbus)))
c4c4cc05
JD
378 (native-inputs
379 `(("pkg-config" ,pkg-config)
426adbe8 380 ("glib" ,glib "bin")
c4c4cc05 381 ("intltool" ,intltool)))
c1354b90
LC
382 (propagated-inputs
383 ;; Referred to in .h files and .pc.
384 `(("glib" ,glib)))
385 (home-page "http://www.gnome.org")
386 (synopsis "Accessing passwords from the GNOME keyring")
387 (description
388 "Client library to access passwords from the GNOME keyring.")
389
390 ;; Though a couple of files are LGPLv2.1+.
1dd26275 391 (license license:lgpl2.0+)))
c1354b90 392
e99a3d6f
RW
393(define-public gnome-keyring
394 (package
395 (name "gnome-keyring")
6983ba56 396 (version "3.20.0")
e99a3d6f
RW
397 (source (origin
398 (method url-fetch)
399 (uri (string-append "mirror://gnome/sources/" name "/"
400 (version-major+minor version) "/"
401 name "-" version ".tar.xz"))
402 (sha256
403 (base32
6983ba56 404 "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw"))))
e99a3d6f
RW
405 (build-system gnu-build-system)
406 (arguments
407 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
408 ;not exist
409 #:configure-flags
410 (list
411 (string-append "--with-pkcs11-config="
412 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
413 (string-append "--with-pkcs11-modules="
414 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
415 #:phases
416 (modify-phases %standard-phases
417 (add-before
418 'check 'pre-check
419 (lambda* (#:key inputs #:allow-other-keys)
420 (substitute* "build/tap-driver"
421 (("/usr/bin/env python") (which "python")))))
422 (add-before
423 'configure 'fix-docbook
424 (lambda* (#:key inputs #:allow-other-keys)
425 (substitute* "docs/Makefile.am"
426 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
427 (string-append (assoc-ref inputs "docbook-xsl")
428 "/xml/xsl/docbook-xsl-"
429 ,(package-version docbook-xsl)
430 "/manpages/docbook.xsl")))
431 (setenv "XML_CATALOG_FILES"
432 (string-append (assoc-ref inputs "docbook-xml")
433 "/xml/dtd/docbook/catalog.xml")))))))
434 (inputs
435 `(("libgcrypt" ,libgcrypt)
1a0b2d82 436 ("linux-pam" ,linux-pam)
e99a3d6f
RW
437 ("dbus" ,dbus)
438 ("gcr" ,gcr)))
439 (native-inputs
440 `(("pkg-config" ,pkg-config)
441 ("glib" ,glib "bin")
442 ("python" ,python-2) ;for tests
443 ("intltool" ,intltool)
444 ("autoconf" ,autoconf)
445 ("automake" ,automake)
446 ("libxslt" ,libxslt) ;for documentation
447 ("docbook-xml" ,docbook-xml-4.2)
448 ("docbook-xsl" ,docbook-xsl)))
449 (home-page "http://www.gnome.org")
450 (synopsis "Daemon to store passwords and encryption keys")
451 (description
452 "gnome-keyring is a program that keeps passwords and other secrets for
453users. It is run as a daemon in the session, similar to ssh-agent, and other
454applications locate it via an environment variable or D-Bus.
455
456The program can manage several keyrings, each with its own master password,
457and there is also a session keyring which is never stored to disk, but
458forgotten when the session ends.")
459 (license license:lgpl2.1+)))
460
c1354b90
LC
461(define-public evince
462 (package
463 (name "evince")
6983ba56 464 (version "3.20.0")
c1354b90
LC
465 (source (origin
466 (method url-fetch)
b38e45d8
EB
467 (uri (string-append "mirror://gnome/sources/" name "/"
468 (version-major+minor version) "/"
469 name "-" version ".tar.xz"))
c1354b90
LC
470 (sha256
471 (base32
6983ba56 472 "1052lm4i5qq27sgk6ck5xc1cxh0qx4zzhifjhmzjlv38afj5i0yg"))))
121de2e1 473 (build-system glib-or-gtk-build-system)
c1354b90
LC
474 (arguments
475 `(#:configure-flags '("--disable-nautilus")
476
477 ;; FIXME: Tests fail with:
478 ;; ImportError: No module named gi.repository
479 ;; Where should that module come from?
3d243e9c 480 #:tests? #f))
c1354b90
LC
481 (inputs
482 `(("libspectre" ,libspectre)
c769cf9f 483 ("djvulibre" ,djvulibre)
c1354b90
LC
484 ("ghostscript" ,ghostscript)
485 ("poppler" ,poppler)
c769cf9f
SB
486 ("libtiff" ,libtiff)
487 ;; TODO:
488 ;; Add libgxps for XPS support.
489 ;; Build libkpathsea as a shared library for DVI support.
490 ;; ("libkpathsea" ,texlive-bin)
491 ("gnome-desktop" ,gnome-desktop)
c1354b90
LC
492 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
493 ("libgnome-keyring" ,libgnome-keyring)
c769cf9f 494 ("adwaita-icon-theme" ,adwaita-icon-theme)
c1354b90
LC
495 ("gdk-pixbuf" ,gdk-pixbuf)
496 ("atk" ,atk)
497 ("pango" ,pango)
498 ("gtk+" ,gtk+)
499 ("glib" ,glib)
500 ("libxml2" ,libxml2)
c1354b90
LC
501 ("libsm" ,libsm)
502 ("libice" ,libice)
96e42467 503 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
504 ("dconf" ,dconf)
505 ("libcanberra" ,libcanberra)
c769cf9f 506 ("libsecret" ,libsecret)
c1354b90
LC
507 ;; For tests.
508 ("dogtail" ,python2-dogtail)))
96e42467 509 (native-inputs
bcb354ad
SB
510 `(("itstool" ,itstool)
511 ("intltool" ,intltool)
426adbe8 512 ("glib" ,glib "bin")
bcb354ad
SB
513 ("pkg-config" ,pkg-config)
514 ("xmllint" ,libxml2)))
c1354b90
LC
515 (home-page
516 "http://www.gnome.org/projects/evince/")
517 (synopsis "GNOME's document viewer")
518 (description
519 "Evince is a document viewer for multiple document formats. It
520currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
521of Evince is to replace the multiple document viewers that exist
96e42467 522on the GNOME Desktop with a single simple application.")
1dd26275 523 (license license:gpl2+)))
c1354b90 524
22e32e69
AE
525(define-public gsettings-desktop-schemas
526 (package
527 (name "gsettings-desktop-schemas")
6983ba56 528 (version "3.20.0")
22e32e69
AE
529 (source
530 (origin
531 (method url-fetch)
532 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 533 (version-major+minor version) "/"
22e32e69
AE
534 name "-" version ".tar.xz"))
535 (sha256
536 (base32
6983ba56 537 "1hfrqqsmqscgbnaikmyq4yq8h72554wdg13algh5bf8a7i9ip92m"))))
22e32e69
AE
538 (build-system gnu-build-system)
539 (inputs
c4c4cc05
JD
540 `(("glib" ,glib)))
541 (native-inputs
542 `(("intltool" ,intltool)
426adbe8 543 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
7211944a 544 ("gobject-introspection" ,gobject-introspection)
22e32e69
AE
545 ("pkg-config" ,pkg-config)))
546 (home-page "https://launchpad.net/gsettings-desktop-schemas")
547 (synopsis
548 "GNOME settings for various desktop components")
549 (description
550 "Gsettings-desktop-schemas contains a collection of GSettings schemas
551for settings shared by various components of the GNOME desktop.")
1dd26275 552 (license license:lgpl2.1+)))
22e32e69 553
27477d2d
AE
554(define-public icon-naming-utils
555 (package
556 (name "icon-naming-utils")
557 (version "0.8.90")
558 (source
559 (origin
560 (method url-fetch)
5cc3096c 561 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
27477d2d
AE
562 version ".tar.bz2"))
563 (sha256
564 (base32
565 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
566 (build-system gnu-build-system)
567 (inputs
568 `(("perl" ,perl)
569 ("perl-xml-simple" ,perl-xml-simple)))
f4e97277
SB
570 (arguments
571 '(#:phases
572 (alist-cons-after
573 'install 'set-load-paths
574 ;; Tell 'icon-name-mapping' where XML::Simple is.
575 (lambda* (#:key outputs #:allow-other-keys)
576 (let* ((out (assoc-ref outputs "out"))
577 (prog (string-append out "/libexec/icon-name-mapping")))
578 (wrap-program
579 prog
580 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
581 %standard-phases)))
27477d2d
AE
582 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
583 (synopsis
584 "Utility to implement the Freedesktop Icon Naming Specification")
585 (description
586 "To help with the transition to the Freedesktop Icon Naming
587Specification, the icon naming utility maps the icon names used by the
588GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 589 (license license:lgpl2.1+)))
27477d2d 590
686e025d
SB
591(define-public desktop-file-utils
592 (package
593 (name "desktop-file-utils")
594 (version "0.22")
595 (source (origin
596 (method url-fetch)
5cc3096c 597 (uri (string-append "https://www.freedesktop.org/software/" name
686e025d
SB
598 "/releases/" name "-" version ".tar.xz"))
599 (sha256
600 (base32
601 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
602 (build-system gnu-build-system)
603 (native-inputs
604 `(("pkg-config" ,pkg-config)))
605 (inputs
606 `(("glib" ,glib)))
607 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
608 (synopsis "Utilities for working with desktop entries")
609 (description
610 "This package contains a few command line utilities for working with
611desktop entries:
612
613desktop-file-validate: validates a desktop file and prints warnings/errors
614 about desktop entry specification violations.
615
616desktop-file-install: installs a desktop file to the applications directory,
617 optionally munging it a bit in transit.
618
619update-desktop-database: updates the database containing a cache of MIME types
620 handled by desktop files.")
621 (license license:gpl2+)))
622
7d3f3651
AE
623(define-public gnome-icon-theme
624 (package
625 (name "gnome-icon-theme")
b32f58dd 626 (version "3.12.0")
7d3f3651
AE
627 (source
628 (origin
629 (method url-fetch)
630 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 631 (version-major+minor version) "/"
7d3f3651
AE
632 name "-" version ".tar.xz"))
633 (sha256
634 (base32
b32f58dd 635 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
7d3f3651 636 (build-system gnu-build-system)
c4c4cc05 637 (native-inputs
73b6cf42
SB
638 `(("gtk+" ,gtk+) ; for gtk-update-icon-cache
639 ("icon-naming-utils" ,icon-naming-utils)
640 ("intltool" ,intltool)
641 ("pkg-config" ,pkg-config)))
7d3f3651
AE
642 (home-page "http://art.gnome.org/")
643 (synopsis
644 "GNOME icon theme")
645 (description
646 "Icons for the GNOME desktop.")
1dd26275 647 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 648
14eeefa2
SB
649;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
650(define-public adwaita-icon-theme
651 (package (inherit gnome-icon-theme)
652 (name "adwaita-icon-theme")
6983ba56 653 (version "3.20")
14eeefa2
SB
654 (source (origin
655 (method url-fetch)
656 (uri (string-append "mirror://gnome/sources/" name "/"
657 (version-major+minor version) "/"
658 name "-" version ".tar.xz"))
659 (sha256
660 (base32
6983ba56 661 "0ddfwwqx8s63qbqimmbb015lqsab4s0rvy1j81jdsh7k95rqh2ks"))))))
14eeefa2 662
9167f8e6
LC
663(define-public shared-mime-info
664 (package
665 (name "shared-mime-info")
6983ba56 666 (version "1.6")
9167f8e6
LC
667 (source (origin
668 (method url-fetch)
5cc3096c 669 (uri (string-append "https://freedesktop.org/~hadess/"
b38e45d8 670 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
671 (sha256
672 (base32
6983ba56 673 "0k637g047gci8g69bg4g19akylpfraxm40hd30j3i4v7cidziy5j"))))
9167f8e6
LC
674 (build-system gnu-build-system)
675 (arguments
676 ;; The build system appears not to be parallel-safe.
677 '(#:parallel-build? #f))
678 (inputs
679 `(("glib" ,glib)
c4c4cc05 680 ("libxml2" ,libxml2)))
9167f8e6 681 (native-inputs
c4c4cc05
JD
682 `(("intltool" ,intltool)
683 ("pkg-config" ,pkg-config)))
9167f8e6
LC
684 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
685 (synopsis "Database of common MIME types")
686 (description
687 "The shared-mime-info package contains the core database of common types
688and the update-mime-database command used to extend it. It requires glib2 to
689be installed for building the update command. Additionally, it uses intltool
690for translations, though this is only a dependency for the maintainers. This
691database is translated at Transifex.")
1dd26275 692 (license license:gpl2+)))
9167f8e6 693
bef4dd92
AE
694(define-public hicolor-icon-theme
695 (package
696 (name "hicolor-icon-theme")
697 (version "0.12")
698 (source
699 (origin
700 (method url-fetch)
5cc3096c 701 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
b38e45d8 702 "hicolor-icon-theme-" version ".tar.gz"))
bef4dd92
AE
703 (sha256
704 (base32
705 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
706 (build-system gnu-build-system)
707 (arguments
708 `(#:tests? #f)) ; no check target
709 (home-page "http://icon-theme.freedesktop.org/releases/")
710 (synopsis
711 "Freedesktop icon theme")
712 (description
713 "Freedesktop icon theme.")
1dd26275 714 (license license:gpl2)))
bef4dd92 715
d9c1a22b
AE
716(define-public libnotify
717 (package
718 (name "libnotify")
719 (version "0.7.6")
720 (source
721 (origin
722 (method url-fetch)
723 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 724 (version-major+minor version) "/"
d9c1a22b
AE
725 name "-" version ".tar.xz"))
726 (sha256
727 (base32
728 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
729 (build-system gnu-build-system)
730 (inputs
731 `(("gdk-pixbuf" ,gdk-pixbuf)
732 ("glib" ,glib)
733 ("gtk+" ,gtk+)
c4c4cc05
JD
734 ("libpng" ,libpng)))
735 (native-inputs
426adbe8 736 `(("pkg-config" ,pkg-config)
277a7d82
JN
737 ("glib" ,glib "bin")
738 ("gobject-introspection" ,gobject-introspection)))
d9c1a22b
AE
739 (home-page "https://developer-next.gnome.org/libnotify/")
740 (synopsis
741 "GNOME desktop notification library")
742 (description
743 "Libnotify is a library that sends desktop notifications to a
35b9e423 744notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
745notifications can be used to inform the user about an event or display
746some form of information without getting in the user's way.")
1dd26275 747 (license license:lgpl2.1+)))
7a8605ce
CR
748
749(define-public libpeas
750 (package
751 (name "libpeas")
6983ba56 752 (version "1.18.0")
7a8605ce
CR
753 (source
754 (origin
755 (method url-fetch)
756 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 757 (version-major+minor version) "/"
7a8605ce
CR
758 name "-" version ".tar.xz"))
759 (sha256
760 (base32
6983ba56 761 "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz"))))
7a8605ce 762 (build-system gnu-build-system)
7a8605ce 763 (inputs
2ed6522a
SB
764 `(("gtk+" ,gtk+)
765 ("glade" ,glade3)
766 ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc
767 ("python" ,python)
768 ("python-pygobject" ,python-pygobject)))
141aed80
LC
769 (native-inputs
770 `(("pkg-config" ,pkg-config)
93622993 771 ("glib:bin" ,glib "bin")
141aed80
LC
772 ("gobject-introspection" ,gobject-introspection)
773 ("intltool" ,intltool)))
7a8605ce
CR
774 (home-page "https://wiki.gnome.org/Libpeas")
775 (synopsis "GObject plugin system")
776 (description
35b9e423 777 "Libpeas is a gobject-based plugins engine, and is targetted at giving
7a8605ce
CR
778every application the chance to assume its own extensibility. It also has a
779set of features including, but not limited to: multiple extension points; on
780demand (lazy) programming language support for C, Python and JS; simplicity of
e881752c 781the API.")
1dd26275 782 (license license:lgpl2.0+)))
ed19903d
JD
783
784(define-public gtkglext
785 (package
786 (name "gtkglext")
787 (version "1.2.0")
788 (source (origin
789 (method url-fetch)
790 (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/"
791 version "/gtkglext-" version ".tar.gz"))
792 (sha256
793 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
fc1adab1
AK
794 (patches (search-patches
795 "gtkglext-disable-disable-deprecated.patch"))))
ed19903d
JD
796 (build-system gnu-build-system)
797 (inputs `(("gtk+" ,gtk+-2)
798 ("mesa" ,mesa)
cc8b02f4 799 ("glu" ,glu)
ed19903d
JD
800 ("libx11" ,libx11)
801 ("libxt" ,libxt)))
426adbe8
LC
802 (native-inputs `(("pkg-config" ,pkg-config)
803 ("glib" ,glib "bin")))
a83b6a06 804 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 805 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 806 (synopsis "OpenGL extension to GTK+")
35b9e423 807 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
808additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
809API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 810 (license license:lgpl2.1+)))
3600420e
JD
811
812(define-public glade3
813 (package
814 (name "glade")
6983ba56 815 (version "3.20.0")
b38e45d8
EB
816 (source (origin
817 (method url-fetch)
818 (uri (string-append "mirror://gnome/sources/" name "/"
819 (version-major+minor version) "/"
f5ca44b8 820 name "-" version ".tar.xz"))
3600420e 821 (sha256
f714d9fe 822 (base32
6983ba56
SB
823 "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2"))))
824 (build-system glib-or-gtk-build-system)
f5ca44b8
RW
825 (arguments
826 `(#:tests? #f ; needs X, GL, and software rendering
827 #:phases
828 (modify-phases %standard-phases
829 (add-before 'configure 'fix-docbook
830 (lambda* (#:key inputs #:allow-other-keys)
831 (substitute* "man/Makefile.in"
832 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
833 (string-append (assoc-ref inputs "docbook-xsl")
834 "/xml/xsl/docbook-xsl-"
835 ,(package-version docbook-xsl)
836 "/manpages/docbook.xsl")))
837 #t)))))
3600420e 838 (inputs
f5ca44b8 839 `(("gtk+" ,gtk+)
3600420e
JD
840 ("libxml2" ,libxml2)))
841 (native-inputs
842 `(("intltool" ,intltool)
f5ca44b8
RW
843 ("itstool" ,itstool)
844 ("libxslt" ,libxslt) ;for xsltproc
845 ("docbook-xml" ,docbook-xml-4.2)
846 ("docbook-xsl" ,docbook-xsl)
847 ("python" ,python-2)
3600420e
JD
848 ("pkg-config" ,pkg-config)))
849 (home-page "https://glade.gnome.org")
850 (synopsis "GTK+ rapid application development tool")
851 (description "Glade is a rapid application development (RAD) tool to
852enable quick & easy development of user interfaces for the GTK+ toolkit and
853the GNOME desktop environment.")
1dd26275
LC
854 (license license:lgpl2.0+)))
855
856(define-public libcroco
857 (package
858 (name "libcroco")
6983ba56 859 (version "0.6.11")
1dd26275
LC
860 (source (origin
861 (method url-fetch)
b38e45d8
EB
862 (uri (string-append "mirror://gnome/sources/" name "/"
863 (version-major+minor version) "/"
864 name "-" version ".tar.xz"))
1dd26275
LC
865 (sha256
866 (base32
6983ba56 867 "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk"))))
1dd26275
LC
868 (build-system gnu-build-system)
869 (native-inputs
870 `(("pkg-config" ,pkg-config)))
871 (inputs
872 `(("glib" ,glib)
873 ("libxml2" ,libxml2)
874 ("zlib" ,zlib)))
875 (home-page "https://github.com/GNOME/libcroco")
876 (synopsis "CSS2 parsing and manipulation library")
877 (description
878 "Libcroco is a standalone CSS2 parsing and manipulation library.
879The parser provides a low level event driven SAC-like API and a CSS object
880model like API. Libcroco provides a CSS2 selection engine and an experimental
881XML/CSS rendering engine.")
882
883 ;; LGPLv2.1-only.
884 (license license:lgpl2.1)))
25178594
LC
885
886(define-public libgsf
887 (package
888 (name "libgsf")
6983ba56 889 (version "1.14.36")
25178594
LC
890 (source (origin
891 (method url-fetch)
b38e45d8
EB
892 (uri (string-append "mirror://gnome/sources/" name "/"
893 (version-major+minor version) "/"
894 name "-" version ".tar.xz"))
25178594
LC
895 (sha256
896 (base32
6983ba56 897 "0h19ssxzz0cmznwga2xy55kjibm24mwxqarnpd0w7xy0hrzm1dvi"))))
25178594
LC
898 (build-system gnu-build-system)
899 (native-inputs
900 `(("intltool" ,intltool)
901 ("pkg-config" ,pkg-config)))
902 (inputs
903 `(("python" ,python)
904 ("zlib" ,zlib)
905 ("bzip2" ,bzip2)))
906 (propagated-inputs
907 `(("gdk-pixbuf" ,gdk-pixbuf)
908 ("glib" ,glib)
909 ("libxml2" ,libxml2)))
910 (home-page "http://www.gnome.org/projects/libgsf")
911 (synopsis "GNOME's Structured File Library")
912 (description
913 "Libgsf aims to provide an efficient extensible I/O abstraction for
914dealing with different structured file formats.")
915
916 ;; LGPLv2.1-only.
917 (license license:lgpl2.1)))
63016e7c
LC
918
919(define-public librsvg
920 (package
921 (name "librsvg")
6983ba56 922 (version "2.40.15")
63016e7c
LC
923 (source (origin
924 (method url-fetch)
b38e45d8
EB
925 (uri (string-append "mirror://gnome/sources/" name "/"
926 (version-major+minor version) "/"
927 name "-" version ".tar.xz"))
63016e7c
LC
928 (sha256
929 (base32
6983ba56 930 "1x05vd2llpmskq3prkp7kbpmshmpp9whj4kfl99ybipf4fhw9jnr"))))
63016e7c
LC
931 (build-system gnu-build-system)
932 (arguments
ce2df078 933 `(#:phases
63016e7c 934 (alist-cons-before
f3045a5b 935 'configure 'pre-configure
63016e7c 936 (lambda* (#:key inputs #:allow-other-keys)
63016e7c
LC
937 (substitute* "gdk-pixbuf-loader/Makefile.in"
938 ;; By default the gdk-pixbuf loader is installed under
939 ;; gdk-pixbuf's prefix. Work around that.
940 (("gdk_pixbuf_moduledir = .*$")
941 (string-append "gdk_pixbuf_moduledir = "
dc67ebd2 942 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
63016e7c 943 "loaders\n"))
f3045a5b 944 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
63016e7c 945 (("gdk_pixbuf_cache_file = .*$")
f3045a5b
SB
946 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
947 %standard-phases)))
63016e7c
LC
948 (native-inputs
949 `(("pkg-config" ,pkg-config)
44add1ce 950 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
951 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
952 (inputs
953 `(("pango" ,pango)
954 ("libcroco" ,libcroco)
955 ("bzip2" ,bzip2)
956 ("libgsf" ,libgsf)
957 ("libxml2" ,libxml2)))
958 (propagated-inputs
959 ;; librsvg-2.0.pc refers to all of that.
960 `(("cairo" ,cairo)
961 ("gdk-pixbuf" ,gdk-pixbuf)
962 ("glib" ,glib)))
963 (home-page "https://wiki.gnome.org/LibRsvg")
964 (synopsis "Render SVG files using Cairo")
965 (description
35b9e423 966 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c
LC
967library.")
968 (license license:lgpl2.0+)))
5698b8b8
JD
969
970(define-public libidl
971 (package
972 (name "libidl")
973 (version "0.8.14")
974 (source (origin
975 (method url-fetch)
976 (uri (let ((upstream-name "libIDL"))
b38e45d8
EB
977 (string-append "mirror://gnome/sources/" upstream-name "/"
978 (version-major+minor version) "/"
979 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
980 (sha256
981 (base32
982 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
983 (build-system gnu-build-system)
984 (inputs `(("glib" ,glib)))
985 (native-inputs
986 `(("pkg-config" ,pkg-config)
b3546174 987 ("flex" ,flex)
5698b8b8
JD
988 ("bison" ,bison)))
989 (home-page "http://freecode.com/projects/libidl")
990 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 991 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
992Definition Language (idl) files, which is a specification for defining
993portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 994GNOME project, and the primary means of libidl distribution). However, the
2e6ecc5c 995functionality was designed to be as reusable and portable as possible.")
5698b8b8
JD
996 (license license:lgpl2.0+)))
997
998
999(define-public orbit2
1000 (package
1001 (name "orbit2")
1002 (version "2.14.19")
1003 (source (origin
1004 (method url-fetch)
2e6ecc5c 1005 (uri (let ((upstream-name "ORBit2"))
a124bbd2 1006 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
1007 (version-major+minor version) "/"
1008 upstream-name "-" version ".tar.bz2")))
5698b8b8 1009 (sha256
a124bbd2
SB
1010 (base32
1011 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
5698b8b8
JD
1012 (build-system gnu-build-system)
1013 (arguments
a124bbd2
SB
1014 `(#:configure-flags
1015 ;; The programmer kindly gives us a hook to turn off deprecation
1016 ;; warnings ...
1017 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1018 ;; ... which they then completly ignore !!
1019 #:phases
1020 (alist-cons-before
1021 'configure 'ignore-deprecations
1022 (lambda _
1023 (substitute* "linc2/src/Makefile.in"
1024 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1025 %standard-phases)))
5698b8b8
JD
1026 (inputs `(("glib" ,glib)
1027 ("libidl" ,libidl)))
1028 (native-inputs
1029 `(("pkg-config" ,pkg-config)))
1030 (home-page "https://projects.gnome.org/orbit2/")
1031 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 1032 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2e6ecc5c 1033featuring mature C, C++ and Python bindings.")
a124bbd2
SB
1034 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1035 ;; a version. SOME of the code files have licence notices for GPLv2+.
1036 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2e6ecc5c 1037 (license license:gpl2+)))
5698b8b8
JD
1038
1039
1040(define-public libbonobo
1041 (package
1042 (name "libbonobo")
1043 (version "2.32.1")
1044 (source (origin
1045 (method url-fetch)
5becd025 1046 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 1047 (version-major+minor version)
5becd025 1048 "/" name "-" version ".tar.bz2"))
5698b8b8 1049 (sha256
f1fc45a9 1050 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
fc1adab1
AK
1051 (patches (search-patches
1052 "libbonobo-activation-test-race.patch"))))
5698b8b8
JD
1053 (build-system gnu-build-system)
1054 (arguments
1055 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
1056 `(#:configure-flags
1057 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1058 ;; ... which they then completly ignore !!
1059 #:phases
1060 (alist-cons-before
1061 'configure 'ignore-deprecations
1062 (lambda _
1063 (substitute* "activation-server/Makefile.in"
1064 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1065 %standard-phases)))
5698b8b8
JD
1066 (inputs `(("popt" ,popt)
1067 ("libxml2" ,libxml2)))
1068 ;; The following are Required by the .pc file
44add1ce 1069 (propagated-inputs
5698b8b8
JD
1070 `(("glib" ,glib)
1071 ("orbit2" ,orbit2)))
1072 (native-inputs
1073 `(("intltool" ,intltool)
1074 ("pkg-config" ,pkg-config)
221ed17a 1075 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1076 ("flex" ,flex)
1077 ("bison" ,bison)))
1078 (home-page "https://developer.gnome.org/libbonobo/")
1079 (synopsis "Framework for creating reusable components for use in GNOME applications")
1080 (description "Bonobo is a framework for creating reusable components for
2e6ecc5c 1081use in GNOME applications, built on top of CORBA.")
5698b8b8
JD
1082 ;; Licence not explicitly stated. Source files contain no licence notices.
1083 ;; Tarball contains text of both GPLv2 and LGPLv2
1084 ;; GPLv2 covers both conditions
1085 (license license:gpl2+)))
1086
1087
1088(define-public gconf
1089 (package
1090 (name "gconf")
1091 (version "3.2.6")
1092 (source (origin
1093 (method url-fetch)
a124bbd2
SB
1094 (uri
1095 (let ((upstream-name "GConf"))
1096 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
1097 (version-major+minor version) "/"
1098 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
1099 (sha256
1100 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1101 (build-system gnu-build-system)
2e88d113 1102 (inputs `(("dbus-glib" ,dbus-glib)
5698b8b8 1103 ("libxml2" ,libxml2)))
2e6ecc5c
AE
1104 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1105 ("orbit2" ,orbit2)))
5698b8b8
JD
1106 (native-inputs
1107 `(("intltool" ,intltool)
221ed17a 1108 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1109 ("pkg-config" ,pkg-config)))
1110 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
1111 (synopsis "Store application preferences")
1112 (description "Gconf is a system for storing application preferences. It
1113is intended for user preferences; not arbitrary data storage.")
2e6ecc5c 1114 (license license:lgpl2.0+)))
5698b8b8
JD
1115
1116
1117(define-public gnome-mime-data
1118 (package
1119 (name "gnome-mime-data")
1120 (version "2.18.0")
1121 (source (origin
1122 (method url-fetch)
b38e45d8
EB
1123 (uri (string-append "mirror://gnome/sources/" name "/"
1124 (version-major+minor version) "/"
1125 name "-" version ".tar.bz2"))
5698b8b8
JD
1126 (sha256
1127 (base32
1128 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1129 (build-system gnu-build-system)
1130 (native-inputs
1131 `(("perl" ,perl)
1132 ("intltool" ,intltool)))
1133 (home-page "http://www.gnome.org")
35b9e423 1134 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
1135 (description "GNOME Mime Data is a module which contains the base MIME
1136and Application database for GNOME. The data stored by this module is
1137designed to be accessed through the MIME functions in GnomeVFS.")
1138 (license license:gpl2+)))
1139
1140
1141(define-public gnome-vfs
1142 (package
1143 (name "gnome-vfs")
1144 (version "2.24.4")
1145 (source (origin
1146 (method url-fetch)
b38e45d8
EB
1147 (uri (string-append "mirror://gnome/sources/" name "/"
1148 (version-major+minor version) "/"
1149 name "-" version ".tar.bz2"))
5698b8b8 1150 (sha256
9e12bc34
MW
1151 (base32
1152 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
5698b8b8
JD
1153 (build-system gnu-build-system)
1154 (arguments
db5127d8 1155 `(#:phases
9e12bc34
MW
1156 (alist-cons-before
1157 'configure 'ignore-deprecations
1158 (lambda _
1159 (substitute* '("libgnomevfs/Makefile.in"
1160 "daemon/Makefile.in")
1161 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1162 #t)
db5127d8
MW
1163 (alist-cons-before
1164 'configure 'patch-test-async-cancel-to-never-fail
1165 (lambda _
1166 (substitute* "test/test-async-cancel.c"
1167 (("EXIT_FAILURE") "77")))
1168 %standard-phases))))
2e6ecc5c 1169 (inputs `(("libxml2" ,libxml2)
5698b8b8 1170 ("dbus-glib" ,dbus-glib)
5698b8b8
JD
1171 ("gconf" ,gconf)
1172 ("gnome-mime-data" ,gnome-mime-data)
1173 ("zlib" ,zlib)))
1174 (native-inputs
221ed17a
EB
1175 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1176 ("intltool" ,intltool)
5698b8b8
JD
1177 ("pkg-config" ,pkg-config)))
1178 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 1179 (synopsis "Access files and folders in GNOME applications")
9e12bc34
MW
1180 (description
1181 "GnomeVFS is the core library used to access files and folders in GNOME
1182applications. It provides a file system abstraction which allows applications
1183to access local and remote files with a single consistent API.")
5698b8b8
JD
1184 (license license:lgpl2.0+)))
1185
1186
1187
1188(define-public libgnome
1189 (package
1190 (name "libgnome")
1191 (version "2.32.1")
1192 (source (origin
1193 (method url-fetch)
b38e45d8
EB
1194 (uri (string-append "mirror://gnome/sources/" name "/"
1195 (version-major+minor version) "/"
1196 name "-" version ".tar.bz2"))
5698b8b8
JD
1197 (sha256
1198 (base32
1199 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
1200 (build-system gnu-build-system)
1201 (arguments
1202 `(#:phases
1203 (alist-cons-before
1204 'configure 'enable-deprecated
2e6ecc5c 1205 (lambda _
5698b8b8
JD
1206 (substitute* "libgnome/Makefile.in"
1207 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
1208 %standard-phases)))
25338e9f 1209 (inputs `(("libxml2" ,libxml2)))
5698b8b8 1210 (native-inputs
221ed17a
EB
1211 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1212 ("intltool" ,intltool)
5698b8b8
JD
1213 ("pkg-config" ,pkg-config)))
1214 ;; The following are listed as Required in the .pc file
1215 ;; (except for libcanberra -- which seems to be oversight on the part
1216 ;; of the upstream developers -- anything that links against libgnome,
1217 ;; must also link against libcanberra
1218 (propagated-inputs
1219 `(("libcanberra" ,libcanberra)
1220 ("libbonobo" ,libbonobo)
1221 ("gconf" ,gconf)
a640d3d5
LC
1222 ("gnome-vfs" ,gnome-vfs)
1223 ("popt" ,popt))) ;gnome-program.h includes popt.h
5698b8b8
JD
1224 (home-page "https://developer.gnome.org/libgnome/")
1225 (synopsis "Useful routines for building applications")
1226 (description "The libgnome library provides a number of useful routines
1227for building modern applications, including session management, activation of
1228files and URIs, and displaying help.")
1229 (license license:lgpl2.0+)))
1230
1231
1232(define-public libart-lgpl
1233 (package
1234 (name "libart-lgpl")
76c9b6aa 1235 (version "2.3.21")
5698b8b8
JD
1236 (source (origin
1237 (method url-fetch)
1238 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
1239 (string-append "mirror://gnome/sources/" upstream-name "/"
1240 (version-major+minor version) "/"
1241 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
1242 (sha256
1243 (base32
76c9b6aa 1244 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
1245 (build-system gnu-build-system)
1246 (native-inputs
1247 `(("pkg-config" ,pkg-config)))
1248 (home-page "https://people.gnome.org/~mathieu/libart")
1249 (synopsis "2D drawing library")
2e6ecc5c 1250 (description "Libart is a 2D drawing library intended as a
5698b8b8
JD
1251high-quality vector-based 2D library with antialiasing and alpha composition.")
1252 (license license:lgpl2.0+)))
1253
1254
1255
1256(define-public libgnomecanvas
1257 (package
1258 (name "libgnomecanvas")
1259 (version "2.30.3")
1260 (source (origin
1261 (method url-fetch)
b38e45d8
EB
1262 (uri (string-append "mirror://gnome/sources/" name "/"
1263 (version-major+minor version) "/"
1264 name "-" version ".tar.gz"))
5698b8b8
JD
1265 (sha256
1266 (base32
1267 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1268 (build-system gnu-build-system)
1269 ;; Mentioned as Required in the .pc file
1270 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1271 ("gtk+" ,gtk+-2)))
1272 (native-inputs
1273 `(("intltool" ,intltool)
221ed17a 1274 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1275 ("pkg-config" ,pkg-config)))
1276 (home-page "https://developer.gnome.org/libgnomecanvas/")
1277 (synopsis "Flexible widget for creating interactive structured graphics")
1278 (description "The GnomeCanvas widget provides a flexible widget for
1279creating interactive structured graphics.")
1280 (license license:lgpl2.0+)))
1281
eadc734e
RW
1282(define-public libgnomecanvasmm
1283 (package
1284 (name "libgnomecanvasmm")
1285 (version "2.26.0")
1286 (source (origin
1287 (method url-fetch)
1288 (uri (string-append "mirror://gnome/sources/" name "/"
1289 (version-major+minor version) "/"
1290 name "-" version ".tar.bz2"))
1291 (sha256
1292 (base32
1293 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1294 (build-system gnu-build-system)
6e4512c4
SB
1295 (arguments
1296 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
eadc734e
RW
1297 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1298 (native-inputs
1299 `(("gtkmm-2" ,gtkmm-2)
1300 ("pkg-config" ,pkg-config)))
1301 (home-page "http://gtkmm.org")
1302 (synopsis "C++ bindings to the GNOME Canvas library")
1303 (description "C++ bindings to the GNOME Canvas library.")
1304 (license license:lgpl2.0+)))
1305
5698b8b8
JD
1306(define-public libgnomeui
1307 (package
1308 (name "libgnomeui")
1309 (version "2.24.5")
1310 (source (origin
1311 (method url-fetch)
b38e45d8
EB
1312 (uri (string-append "mirror://gnome/sources/" name "/"
1313 (version-major+minor version) "/"
1314 name "-" version ".tar.bz2"))
5698b8b8
JD
1315 (sha256
1316 (base32
1317 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1318 (build-system gnu-build-system)
1319 ;; Mentioned as Required in the .pc file
0a38a497
AE
1320 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1321 ("libgnome" ,libgnome)
1322 ("libgnomecanvas" ,libgnomecanvas)
5698b8b8 1323 ("libgnome-keyring" ,libgnome-keyring)))
0a38a497 1324 (inputs `(("libjpeg" ,libjpeg)
5698b8b8
JD
1325 ("popt" ,popt)
1326 ("libbonobo" ,libbonobo)
1327 ("libxml2" ,libxml2)
1328 ("libglade" ,libglade)))
1329 (native-inputs
221ed17a
EB
1330 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1331 ("intltool" ,intltool)
5698b8b8
JD
1332 ("pkg-config" ,pkg-config)))
1333 (home-page "https://developer.gnome.org/libgnomeui/")
1334 (synopsis "Additional widgets for applications")
35b9e423 1335 (description "The libgnomeui library provides additional widgets for
e881752c
AK
1336applications. Many of the widgets from libgnomeui have already been
1337ported to GTK+.")
5698b8b8
JD
1338 (license license:lgpl2.0+)))
1339
1340(define-public libglade
1341 (package
1342 (name "libglade")
1343 (version "2.6.4")
1344 (source (origin
1345 (method url-fetch)
b38e45d8
EB
1346 (uri (string-append "mirror://gnome/sources/" name "/"
1347 (version-major+minor version) "/"
1348 name "-" version ".tar.bz2"))
5698b8b8
JD
1349 (sha256
1350 (base32
1351 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1352 (build-system gnu-build-system)
1353 (inputs
92dcc23d
AE
1354 `(("python" ,python))) ;; needed for the optional libglade-convert program
1355 (propagated-inputs
5698b8b8 1356 `(("gtk+-2" ,gtk+-2)
92dcc23d 1357 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
5698b8b8
JD
1358 (native-inputs
1359 `(("pkg-config" ,pkg-config)))
1360 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
1361 (synopsis "Load glade interfaces and access the glade built widgets")
1362 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
1363graphical interfaces described in glade files and for accessing the
1364widgets built in the loading process.")
1365 (license license:gpl2+))) ; This is correct. GPL not LGPL
1366
1367(define-public libgnomeprint
eb497b66
LC
1368 ;; This library has been deprecated since 2006; see
1369 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
1370 (package
1371 (name "libgnomeprint")
1372 (version "2.8.2")
1373 (source (origin
1374 (method url-fetch)
b38e45d8
EB
1375 (uri (string-append "mirror://gnome/sources/" name "/"
1376 (version-major+minor version) "/"
1377 name "-" version ".tar.bz2"))
5698b8b8
JD
1378 (sha256
1379 (base32
6983ba56 1380 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
5698b8b8
JD
1381 (build-system gnu-build-system)
1382 (inputs
1383 `(("popt" ,popt)
1384 ("libart-lgpl" ,libart-lgpl)
1385 ("gtk+" ,gtk+-2)
44add1ce 1386 ("libxml2" ,libxml2)))
5698b8b8
JD
1387 (native-inputs
1388 `(("intltool" ,intltool)
221ed17a 1389 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1390 ("pkg-config" ,pkg-config)))
1391 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 1392 (synopsis "Printing framework for GNOME")
eb497b66
LC
1393 (description
1394 "GNOME-print was a printing framework for GNOME. It has been deprecated
1395since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
1396 (license license:lgpl2.0+)))
1397
1398
1399(define-public libgnomeprintui
eb497b66 1400 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
1401 (package
1402 (name "libgnomeprintui")
1403 (version "2.8.2")
1404 (source (origin
1405 (method url-fetch)
b38e45d8
EB
1406 (uri (string-append "mirror://gnome/sources/" name "/"
1407 (version-major+minor version) "/"
1408 name "-" version ".tar.bz2"))
5698b8b8
JD
1409 (sha256
1410 (base32
1411 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1412 (build-system gnu-build-system)
1413 ;; Mentioned as Required in the .pc file
1414 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1415 (inputs `(("gtk+" ,gtk+-2)
1416 ("glib" ,glib)
1417 ("gnome-icon-theme" ,gnome-icon-theme)
1418 ("libgnomecanvas" ,libgnomecanvas)
2e6ecc5c 1419 ("libxml2" ,libxml2)))
5698b8b8
JD
1420 (native-inputs
1421 `(("intltool" ,intltool)
1422 ("pkg-config" ,pkg-config)))
1423 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1424 (synopsis "Printing framework for GNOME")
eb497b66 1425 (description (package-description libgnomeprint))
5698b8b8
JD
1426 (license license:lgpl2.0+)))
1427
5698b8b8
JD
1428(define-public libbonoboui
1429 (package
1430 (name "libbonoboui")
1431 (version "2.24.5")
1432 (source (origin
1433 (method url-fetch)
b38e45d8
EB
1434 (uri (string-append "mirror://gnome/sources/" name "/"
1435 (version-major+minor version) "/"
1436 name "-" version ".tar.bz2"))
5698b8b8
JD
1437 (sha256
1438 (base32
1439 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1440 (build-system gnu-build-system)
1441 (arguments
1442 `(#:phases
1443 (alist-cons-before
1444 'check 'start-xserver
1445 (lambda* (#:key inputs #:allow-other-keys)
1446 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1447 (disp ":1"))
2e6ecc5c 1448
5698b8b8
JD
1449 (setenv "HOME" (getcwd))
1450 (setenv "DISPLAY" disp)
1451 ;; There must be a running X server and make check doesn't start one.
1452 ;; Therefore we must do it.
1453 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1454 %standard-phases)))
1455 ;; Mentioned as Required by the .pc file
1456 (propagated-inputs `(("libxml2" ,libxml2)))
1457 (inputs
1458 `(("popt" ,popt)
1459 ("pangox-compat" ,pangox-compat)
1460 ("libgnome" ,libgnome)
1461 ("libgnomecanvas" ,libgnomecanvas)
1462 ("libglade" ,libglade)))
1463 (native-inputs
221ed17a
EB
1464 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1465 ("intltool" ,intltool)
5698b8b8
JD
1466 ("xorg-server" ,xorg-server) ; For running the tests
1467 ("pkg-config" ,pkg-config)))
1468 (home-page "https://developer.gnome.org/libbonoboui/")
1469 (synopsis "Some user interface controls using Bonobo")
1470 (description "The Bonobo UI library provides a number of user interface
1471controls using the Bonobo component framework.")
1472 (license license:lgpl2.0+)))
1473
fecbf86e
SB
1474(define-public libwnck
1475 (package
1476 (name "libwnck")
6983ba56 1477 (version "3.14.1")
fecbf86e
SB
1478 (source (origin
1479 (method url-fetch)
1480 (uri (string-append "mirror://gnome/sources/" name "/"
1481 (version-major+minor version) "/"
1482 name "-" version ".tar.xz"))
1483 (sha256
6983ba56 1484 (base32 "1ymya8gkjygvg0i901wr3q6ihfqxx5yf4g4pb6fag2iw8af3qr5v"))))
fecbf86e
SB
1485 (build-system gnu-build-system)
1486 (native-inputs
1487 `(("pkg-config" ,pkg-config)
1488 ("intltool" ,intltool)))
1489 (propagated-inputs
427476d5
SB
1490 `(("gtk+" ,gtk+)
1491 ("libxres" ,libxres)
1492 ("startup-notification" ,startup-notification)))
fecbf86e
SB
1493 (home-page "https://developer.gnome.org/libwnck/")
1494 (synopsis "Window Navigator Construction Kit")
1495 (description
1496 "Libwnck is the Window Navigator Construction Kit, a library for use in
1497writing pagers, tasklists, and more generally applications that are dealing
1498with window management. It tries hard to respect the Extended Window Manager
1499Hints specification (EWMH).")
1500 (license license:lgpl2.0+)))
1501
1502;; stable version for gtk2, required by xfwm4.
dbb7a081 1503(define-public libwnck-2
fecbf86e
SB
1504 (package (inherit libwnck)
1505 (name "libwnck")
1506 (version "2.30.7")
1507 (source (origin
1508 (method url-fetch)
1509 (uri (string-append "mirror://gnome/sources/" name "/"
1510 (version-major+minor version) "/"
1511 name "-" version ".tar.xz"))
1512 (sha256
1513 (base32
1514 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1515 (propagated-inputs
427476d5
SB
1516 `(("gtk+" ,gtk+-2)
1517 ("libxres" ,libxres)
1518 ("startup-notification" ,startup-notification)))))
b804c61e
JD
1519
1520(define-public goffice
1521 (package
1522 (name "goffice")
6983ba56 1523 (version "0.10.28")
b804c61e
JD
1524 (source (origin
1525 (method url-fetch)
b38e45d8
EB
1526 (uri (string-append "mirror://gnome/sources/" name "/"
1527 (version-major+minor version) "/"
1528 name "-" version ".tar.xz"))
b804c61e 1529 (sha256
6983ba56 1530 (base32 "12rsgxrixkfpk420gv026i74pnlgqjzsvm6vffrmih54w46hd3q6"))))
b804c61e 1531 (build-system gnu-build-system)
72a06d3e
LC
1532 (outputs '("out"
1533 "doc")) ;4.1 MiB of gtk-doc
1534 (arguments
1535 '(#:configure-flags (list (string-append "--with-html-dir="
1536 (assoc-ref %outputs "doc")
1537 "/share/gtk-doc/html"))))
b804c61e
JD
1538 (inputs
1539 `(("gtk+" ,gtk+)
1540 ("libgsf" ,libgsf)
1541 ("librsvg" ,librsvg)
1542 ("libxslt" ,libxslt)
1543 ("libxml2" ,libxml2)))
1544 (native-inputs
1545 `(("intltool" ,intltool)
f280cdb1 1546 ("glib" ,glib "bin")
b804c61e
JD
1547 ("pkg-config" ,pkg-config)))
1548 (home-page "https://developer.gnome.org/goffice/")
1549 (synopsis "Document-centric objects and utilities")
1550 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 1551 (license
b804c61e
JD
1552 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1553 ;; Note: NOT LGPL
1554 (list license:gpl2 license:gpl3))))
1555
c024ae36
RW
1556(define-public goffice-0.8
1557 (package (inherit goffice)
1558 (version "0.8.17")
1559 (source (origin
1560 (method url-fetch)
1561 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1562 (version-major+minor version) "/"
1563 (package-name goffice) "-" version ".tar.xz"))
1564 (sha256
1565 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1566 (arguments
1567 `(#:phases
1568 (alist-cons-after
1569 'unpack 'fix-pcre-check
1570 (lambda _
1571 ;; Only glib.h can be included directly. See
1572 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1573 (substitute* "configure"
1574 (("glib/gregex\\.h") "glib.h")) #t)
72a06d3e
LC
1575 %standard-phases)
1576
1577 ,@(package-arguments goffice)))
c024ae36
RW
1578 (propagated-inputs
1579 ;; libgoffice-0.8.pc mentions libgsf-1
1580 `(("libgsf" ,libgsf)))
1581 (inputs
1582 `(("gtk" ,gtk+-2)
1583 ,@(alist-delete "gtk" (package-inputs goffice))))))
1584
b804c61e
JD
1585(define-public gnumeric
1586 (package
1587 (name "gnumeric")
6983ba56 1588 (version "1.12.28")
b804c61e
JD
1589 (source (origin
1590 (method url-fetch)
b38e45d8
EB
1591 (uri (string-append "mirror://gnome/sources/" name "/"
1592 (version-major+minor version) "/"
1593 name "-" version ".tar.xz"))
b804c61e
JD
1594 (sha256
1595 (base32
6983ba56 1596 "1fsdp7r6fhc0m3fb4ly4xwh83v3hp2zrv9d0713g4lcy709svm02"))))
b804c61e
JD
1597 (build-system gnu-build-system)
1598 (arguments
1599 `(;; The gnumeric developers don't worry much about failing tests.
1600 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 1601 #:tests? #f
b804c61e 1602 #:phases
7bcbd40d
EF
1603 (modify-phases %standard-phases
1604 (add-before
1605 'configure 'pre-conf
1606 (lambda* (#:key outputs #:allow-other-keys)
1607 ;; Make install tries to write into the directory of goffice
1608 ;; I am informed that this only affects the possibility to embed a
1609 ;; spreadsheet inside an Abiword document. So presumably when we
1610 ;; package Abiword we'll have to refer it to this directory.
1611 (substitute* "configure"
1612 (("^GOFFICE_PLUGINS_DIR=.*")
1613 (string-append "GOFFICE_PLUGINS_DIR="
1614 (assoc-ref outputs "out")
1615 "/goffice/plugins"))))))))
b804c61e
JD
1616 (inputs
1617 `(("glib" ,glib)
1618 ("gtk+" ,gtk+)
1619 ("goffice" ,goffice)
1620 ("libgsf" ,libgsf)
7bcbd40d 1621 ("librsvg" ,librsvg)
b804c61e 1622 ("libxml2" ,libxml2)
7bcbd40d 1623 ("libxslt" ,libxslt)
2e4c5457 1624 ("python" ,python-2)
6983ba56 1625 ("python2-pygobject" ,python2-pygobject)
b804c61e
JD
1626 ("zlib" ,zlib)))
1627 (native-inputs
6983ba56
SB
1628 `(("bison" ,bison)
1629 ("intltool" ,intltool)
b9663471 1630 ("glib:bin" ,glib "bin")
b804c61e
JD
1631 ("pkg-config" ,pkg-config)))
1632 (home-page "http://www.gnumeric.org")
66672a45
LC
1633 (synopsis "Spreadsheet application")
1634 (description
1635 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1636interoperable with other spreadsheet applications. It has a vast array of
1637features beyond typical spreadsheet functionality, such as support for linear
1638and non-linear solvers, statistical analysis, and telecommunication
1639engineering.")
1640 (license
b804c61e
JD
1641 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1642 (list license:gpl2 license:gpl3))))
6f885c05
FB
1643
1644(define-public gnome-themes-standard
1645 (package
1646 (name "gnome-themes-standard")
6983ba56 1647 (version "3.20")
6f885c05
FB
1648 (source
1649 (origin
1650 (method url-fetch)
2e6ecc5c 1651 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
1652 (version-major+minor version) "/" name "-"
1653 version ".tar.xz"))
1654 (sha256
1655 (base32
6983ba56 1656 "1p1vvmzfky1ax3yv9ld10xgqwydhmglxpgq3skrfc4539nrq9phw"))))
6f885c05
FB
1657 (build-system gnu-build-system)
1658 (inputs
1659 `(("gtk+" ,gtk+)
1660 ("gtk+-2" ,gtk+-2)
1661 ("librsvg" ,librsvg)
1662 ("libxml2" ,libxml2)
1663 ("glib" ,glib)))
1664 (native-inputs
1665 `(("intltool" ,intltool)
1666 ("glib:bin" ,glib "bin")
1667 ("pkg-config" ,pkg-config)))
6f885c05
FB
1668 (home-page "https://launchpad.net/gnome-themes-standard")
1669 (synopsis "Default GNOME 3 themes")
1670 (description
1671 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1672 (license license:lgpl2.1+)))
5a659a48 1673
df90c701
RW
1674(define-public seahorse
1675 (package
1676 (name "seahorse")
6983ba56 1677 (version "3.20.0")
df90c701
RW
1678 (source
1679 (origin
1680 (method url-fetch)
1681 (uri (string-append "mirror://gnome/sources/" name "/"
1682 (version-major+minor version) "/" name "-"
1683 version ".tar.xz"))
1684 (sha256
1685 (base32
6983ba56 1686 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
df90c701
RW
1687 (build-system glib-or-gtk-build-system)
1688 (inputs
1689 `(("gtk+" ,gtk+)
1690 ("gcr" ,gcr)
34b979b9 1691 ("gnupg" ,gnupg)
df90c701 1692 ("gpgme" ,gpgme)
34b979b9 1693 ("openldap" ,openldap)
4a1bf090 1694 ("openssh" ,openssh)
34b979b9
EF
1695 ("libsecret" ,libsecret)
1696 ("libsoup" ,libsoup)))
df90c701
RW
1697 (native-inputs
1698 `(("intltool" ,intltool)
1699 ("glib:bin" ,glib "bin")
1700 ("itstool" ,itstool)
bcb354ad
SB
1701 ("pkg-config" ,pkg-config)
1702 ("xmllint" ,libxml2)))
df90c701
RW
1703 (home-page "https://launchpad.net/gnome-themes-standard")
1704 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
1705 (description
1706 "Seahorse is a GNOME application for managing encryption keys and
1707passwords in the GNOME keyring.")
1708 (license license:gpl2+)))
1709
5a659a48
SB
1710(define-public vala
1711 (package
1712 (name "vala")
6983ba56 1713 (version "0.32.0")
5a659a48
SB
1714 (source (origin
1715 (method url-fetch)
1716 (uri (string-append "mirror://gnome/sources/" name "/"
1717 (version-major+minor version) "/"
1718 name "-" version ".tar.xz"))
1719 (sha256
1720 (base32
6983ba56 1721 "0vpvq403vdd25irvgk7zibz3nw4x4i17m0dgnns8j1q4vr7am8h7"))))
5a659a48 1722 (build-system gnu-build-system)
1ea90625
SB
1723 (arguments
1724 '(#:phases
1725 (modify-phases %standard-phases
f4925a4f 1726 (add-before 'check 'pre-check
1ea90625
SB
1727 (lambda _
1728 (setenv "CC" "gcc")
f4925a4f
SB
1729 ;; For missing '/etc/machine-id'.
1730 (setenv "DBUS_FATAL_WARNINGS" "0")
1ea90625 1731 #t)))))
5a659a48
SB
1732 (native-inputs
1733 `(("pkg-config" ,pkg-config)
1734 ("flex" ,flex)
1735 ("bison" ,bison)
1736 ("xsltproc" ,libxslt)
1737 ("dbus" ,dbus) ; for dbus tests
1738 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1739 (propagated-inputs
1740 `(("glib" ,glib))) ; required by libvala-0.26.pc
1741 (home-page "http://live.gnome.org/Vala/")
1742 (synopsis "Compiler for the GObject type system")
1743 (description
1744 "Vala is a programming language that aims to bring modern programming
1745language features to GNOME developers without imposing any additional runtime
1746requirements and without using a different ABI compared to applications and
1747libraries written in C.")
1748 (license license:lgpl2.1+)))
ea57378f
SB
1749
1750(define-public vte
1751 (package
1752 (name "vte")
b8f551d9 1753 (version "0.44.1")
ea57378f
SB
1754 (source (origin
1755 (method url-fetch)
1756 (uri (string-append "mirror://gnome/sources/" name "/"
1757 (version-major+minor version) "/"
1758 name "-" version ".tar.xz"))
1759 (sha256
1760 (base32
b8f551d9 1761 "0kjxzqcwqxky0l7bl8ydn9hl6fm1f0k2pl91wbbhyq4z6d4dabbi"))))
ea57378f 1762 (build-system gnu-build-system)
6983ba56
SB
1763 (arguments
1764 ;; XXX: fails to compile tests with the default flags.
1765 ;; vteconv.cc:774:40:
1766 ;; error: missing sentinel in function call [-Werror=format=]
1767 ;; g_test_init (&argc, &argv, NULL);
1768 ;;
1769 ;; cc1plus: some warnings being treated as errors
1770 '(#:configure-flags '("CXXFLAGS=-Wformat=0")))
ea57378f
SB
1771 (native-inputs
1772 `(("pkg-config" ,pkg-config)
1773 ("intltool" ,intltool)
1774 ("vala" ,vala)
1775 ("gobject-introspection" ,gobject-introspection)
1776 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1777 ("xmllint" ,libxml2)))
1778 (propagated-inputs
302393bc
LC
1779 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
1780 ("gnutls" ,gnutls))) ;ditto
ea57378f
SB
1781 (home-page "http://www.gnome.org/")
1782 (synopsis "Virtual Terminal Emulator")
1783 (description
1784 "VTE is a library (libvte) implementing a terminal emulator widget for
1785GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1786gnome-terminal, but can also be used to embed a console/terminal in games,
1787editors, IDEs, etc.")
1788 (license license:lgpl2.1+)))
1789
c44fb4df
MO
1790(define-public vte-ng
1791 (package
1792 (inherit vte)
1793 (name "vte-ng")
1794 (version "0.44.1.b")
1795 (native-inputs
1796 `(("gtk-doc" ,gtk-doc)
1797 ("gperf" ,gperf)
1798 ("autoconf" ,autoconf)
1799 ("automake" ,automake)
1800 ("libtool" ,libtool)
1801 ,@(package-native-inputs vte)))
1802 (source (origin
1803 (method url-fetch)
1804 (uri (string-append "https://github.com/thestinger/"
1805 name "/archive/" version ".tar.gz"))
1806 (file-name (string-append name "-" version ".tar.gz"))
1807 (sha256
1808 (base32
1809 "1mhz4i1qkdlrs49vgm7nsrb60lry9v6wsgwsmji7fln1nyrp1pag"))))
1810 (arguments
1811 `(#:configure-flags '("CXXFLAGS=-Wformat=0")
1812 #:phases (modify-phases %standard-phases
1813 (add-after 'unpack 'bootstrap
1814 (lambda _
1815 (setenv "NOCONFIGURE" "true")
1816 (zero? (system* "sh" "autogen.sh")))))))
1817 (synopsis "Enhanced VTE terminal widget")
1818 (description
1819 "VTE is a library (libvte) implementing a terminal emulator widget for
1820GTK+, this fork provides additional functions exposed for keyboard text
1821selection and URL hints.")))
1822
2776d72c
EF
1823;; provides vte 2.90, required for some terminal emulators
1824;; tilda bug: https://github.com/lanoxx/tilda/issues/94
1825;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
1826;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
1827;; pantheon-terminal, roxterm are not currently packaged
1828(define-public vte-0.36
1829 (package (inherit vte)
1830 (name "vte")
1831 (version "0.36.5")
1832 (source (origin
1833 (method url-fetch)
1834 (uri (string-append "mirror://gnome/sources/" name "/"
1835 (version-major+minor version) "/"
1836 name "-" version ".tar.xz"))
1837 (sha256
1838 (base32
1839 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
1840 (propagated-inputs
1841 `(("gtk" ,gtk+)
1842 ("ncurses" ,ncurses)))))
1843
ea57378f
SB
1844;; stable version for gtk2, required by xfce4-terminal.
1845(define-public vte/gtk+-2
1846 (package (inherit vte)
1847 (name "vte")
1848 (version "0.28.2")
1849 (source (origin
1850 (method url-fetch)
1851 (uri (string-append "mirror://gnome/sources/" name "/"
1852 (version-major+minor version) "/"
1853 name "-" version ".tar.xz"))
1854 (sha256
1855 (base32
7d48938a
EF
1856 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
1857 (patches (search-patches
1858 "vte-CVE-2012-2738-pt1.patch"
1859 "vte-CVE-2012-2738-pt2.patch"))))
ea57378f
SB
1860 (arguments
1861 '(#:configure-flags '("--disable-python")))
1862 (native-inputs
1863 `(("pkg-config" ,pkg-config)
1864 ("intltool" ,intltool)
1865 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1866 (propagated-inputs
1867 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1868 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20
FB
1869
1870(define-public dconf
1871 (package
1872 (name "dconf")
6983ba56 1873 (version "0.26.0")
b47e1b20
FB
1874 (source (origin
1875 (method url-fetch)
1876 (uri (string-append
2e6ecc5c 1877 "mirror://gnome/sources/" name "/"
b47e1b20
FB
1878 (version-major+minor version) "/"
1879 name "-" version ".tar.xz"))
1880 (sha256
f05c809f 1881 (base32
6983ba56 1882 "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6"))))
b47e1b20
FB
1883 (build-system glib-or-gtk-build-system)
1884 (inputs
1885 `(("gtk+" ,gtk+)
1886 ("glib" ,glib)
1887 ("dbus" ,dbus)
1888 ("libxml2" ,libxml2)))
1889 (native-inputs
1890 `(("libxslt" ,libxslt)
1891 ("docbook-xml" ,docbook-xml-4.2)
1892 ("docbook-xsl" ,docbook-xsl)
1893 ("intltool" ,intltool)
1894 ("pkg-config" ,pkg-config)))
1895 (arguments
1896 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1897 ; or /etc/machine-id.
1898 #:configure-flags
1899 ;; Set the correct RUNPATH in binaries.
2e6ecc5c 1900 (list (string-append "LDFLAGS=-Wl,-rpath="
b47e1b20
FB
1901 (assoc-ref %outputs "out") "/lib")
1902 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1903 #:phases
1904 (alist-cons-before
1905 'configure 'fix-docbook
1906 (lambda* (#:key inputs #:allow-other-keys)
1907 (substitute* "docs/Makefile.in"
1908 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2e6ecc5c 1909 (string-append (assoc-ref inputs "docbook-xsl")
b47e1b20
FB
1910 "/xml/xsl/docbook-xsl-"
1911 ,(package-version docbook-xsl)
1912 "/manpages/docbook.xsl")))
2e6ecc5c
AE
1913 (setenv "XML_CATALOG_FILES"
1914 (string-append (assoc-ref inputs "docbook-xml")
b47e1b20
FB
1915 "/xml/dtd/docbook/catalog.xml")))
1916 %standard-phases)))
1917 (home-page "https://developer.gnome.org/dconf")
1918 (synopsis "Low-level GNOME configuration system")
1919 (description "Dconf is a low-level configuration system. Its main purpose
1920is to provide a backend to GSettings on platforms that don't already have
1921configuration storage systems.")
1922 (license license:lgpl2.1)))
109da1c0
AE
1923
1924(define-public json-glib
1925 (package
1926 (name "json-glib")
6983ba56 1927 (version "1.2.0")
109da1c0
AE
1928 (source (origin
1929 (method url-fetch)
1930 (uri (string-append "mirror://gnome/sources/" name "/"
1931 (version-major+minor version) "/"
1932 name "-" version ".tar.xz"))
1933 (sha256
1934 (base32
6983ba56 1935 "1lx7p1c7cl21byvfgw92n8dhm09vi6qxrs0zkx9dg3y096zdzmlr"))
4955ab7d
SB
1936 (modules '((guix build utils)))
1937 (snippet
1938 ;; Don't duplicate test names.
1939 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
1940 '(substitute* "json-glib/tests/builder.c"
1941 (("\"/builder/complex\", test_builder_empty")
1942 "\"/builder/empty\", test_builder_empty")))))
109da1c0
AE
1943 (build-system gnu-build-system)
1944 (native-inputs
88c6b580 1945 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
1946 ("gobject-introspection" ,gobject-introspection)
1947 ("pkg-config" ,pkg-config)))
1948 (propagated-inputs
88c6b580 1949 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
1950 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1951 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
1952 (description
1953 "JSON-GLib is a C library based on GLib providing serialization and
1954deserialization support for the JavaScript Object Notation (JSON) format
1955described by RFC 4627. It provides parser and generator GObject classes and
1956various wrappers for the complex data types employed by JSON, such as arrays
1957and objects.")
109da1c0 1958 (license license:lgpl2.1+)))
6f96a359
SB
1959
1960(define-public libxklavier
1961 (package
1962 (name "libxklavier")
1963 (version "5.3")
1964 (source (origin
1965 (method url-fetch)
1966 (uri (string-append "mirror://gnome/sources/" name "/"
1967 version "/" name "-" version ".tar.xz"))
1968 (sha256
1969 (base32
1970 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
1971 (build-system gnu-build-system)
1972 (arguments
1973 '(#:configure-flags
1974 (list (string-append "--with-xkb-base="
1975 (assoc-ref %build-inputs "xkeyboard-config")
b19d6805 1976 "/share/X11/xkb"))))
6f96a359
SB
1977 (native-inputs
1978 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
1979 ("gobject-introspection" ,gobject-introspection)
1980 ("pkg-config" ,pkg-config)))
1981 (propagated-inputs
1982 ;; Required by libxklavier.pc.
1983 `(("glib" ,glib)
1984 ("libxml2" ,libxml2)))
1985 (inputs
1986 `(("iso-codes" ,iso-codes)
1987 ("libxi" ,libxi)
1988 ("libxkbfile" ,libxkbfile)
1989 ("xkbcomp" ,xkbcomp)
1990 ("xkeyboard-config" ,xkeyboard-config)))
1991 (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/")
1992 (synopsis "High-level API for X Keyboard Extension")
1993 (description
1994 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
1995Extension known as XKB. This library is intended to support XFree86 and other
1996commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
1997indicators etc).")
1998 (license license:lgpl2.0+)))
619936a4
LC
1999
2000(define-public python2-rsvg
2001 ;; XXX: This is actually a subset of gnome-python-desktop.
2002 (package
2003 (name "python2-rsvg")
2004 (version "2.32.0")
2005 (source
2006 (origin
2007 (method url-fetch)
2008 (uri (string-append
2009 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2010 version ".tar.bz2"))
2011 (sha256
2012 (base32
2013 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2014 (build-system gnu-build-system)
2015 (native-inputs
2016 `(("pkg-config" ,pkg-config)))
2017 (inputs
2018 `(("python" ,python-2)
2019 ("python2-pygtk" ,python2-pygtk)
2020 ("librsvg" ,librsvg)))
2021 (home-page "http://www.gnome.org")
2022 (synopsis "Python bindings to librsvg")
2023 (description
2024 "This packages provides Python bindings to librsvg, the SVG rendering
2025library.")
2026
2027 ;; This is the license of the rsvg bindings. The license of each module
2028 ;; of gnome-python-desktop is given in 'COPYING'.
2029 (license license:lgpl2.1+)))
a31a6d22 2030
f2ca414a
SB
2031(define-public glib-networking
2032 (package
2033 (name "glib-networking")
7958a55d 2034 (version "2.48.1")
f2ca414a
SB
2035 (source (origin
2036 (method url-fetch)
2037 (uri (string-append "mirror://gnome/sources/glib-networking/"
2038 (version-major+minor version) "/"
2039 name "-" version ".tar.xz"))
2040 (sha256
2041 (base32
7958a55d 2042 "0jm4pr91kbq7rcyll08840zkagb9vfhhm2ymyrd1q0b0k2mj76fg"))
907f939b 2043 (patches
fc1adab1 2044 (search-patches "glib-networking-ssl-cert-file.patch"))))
f2ca414a
SB
2045 (build-system gnu-build-system)
2046 (arguments
2047 `(#:configure-flags
907f939b 2048 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
f2ca414a
SB
2049 #:phases
2050 (modify-phases %standard-phases
3a4de6b2 2051 (add-before 'configure 'patch-giomoduledir
f2ca414a
SB
2052 ;; Install GIO modules into $out/lib/gio/modules.
2053 (lambda _
2054 (substitute* "configure"
2055 (("GIO_MODULE_DIR=.*")
2056 (string-append "GIO_MODULE_DIR=" %output
907f939b
SB
2057 "/lib/gio/modules\n")))))
2058 (add-before 'check 'use-empty-ssl-cert-file
2059 (lambda _
2060 ;; The ca-certificates.crt is not available in the build
2061 ;; environment.
2062 (setenv "SSL_CERT_FILE" "/dev/null")
2063 #t)))))
f2ca414a
SB
2064 (native-inputs
2065 `(("pkg-config" ,pkg-config)
2066 ("intltool" ,intltool)))
2067 (inputs
2068 `(("glib" ,glib)
2069 ("gnutls" ,gnutls)
2070 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2071 ("p11-kit" ,p11-kit)))
2072 (home-page "http://www.gnome.org")
2073 (synopsis "Network-related GIO modules")
2074 (description
2075 "This package contains various network related extensions for the GIO
2076library.")
2077 (license license:lgpl2.0+)))
2078
ca649680 2079(define-public rest
4510b2da 2080 (package
ca649680 2081 (name "rest")
90000d4b 2082 (version "0.8.0")
4510b2da
SB
2083 (source (origin
2084 (method url-fetch)
2085 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
2086 (version-major+minor version) "/"
2087 name "-" version ".tar.xz"))
4510b2da
SB
2088 (sha256
2089 (base32
90000d4b 2090 "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77"))))
4510b2da
SB
2091 (build-system gnu-build-system)
2092 (arguments
2093 '(#:tests? #f ; tests require internet connection
2094 #:configure-flags
2095 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2096 (native-inputs
2097 `(("glib-mkenums" ,glib "bin")
2098 ("gobject-introspection" ,gobject-introspection)
2099 ("pkg-config" ,pkg-config)))
2100 (propagated-inputs
2101 ;; rest-0.7.pc refers to all these.
2102 `(("glib" ,glib)
2103 ("libsoup" ,libsoup)
2104 ("libxml2" ,libxml2)))
2105 (home-page "http://www.gtk.org/")
2106 (synopsis "RESTful web api query library")
2107 (description
2108 "This library was designed to make it easier to access web services that
2109claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2110libxml to ease remote use of the RESTful API.")
2111 (license license:lgpl2.1+)))
2112
6e1bb642
SB
2113(define-public libsoup
2114 (package
2115 (name "libsoup")
a28bf6b4 2116 (version "2.54.1")
6e1bb642
SB
2117 (source (origin
2118 (method url-fetch)
2119 (uri (string-append "mirror://gnome/sources/libsoup/"
2120 (version-major+minor version) "/"
2121 name "-" version ".tar.xz"))
2122 (sha256
2123 (base32
a28bf6b4 2124 "0cyn5pq4xl1gb8413h2p4d5wrn558dc054zhwmk4swrl40ijrd27"))))
6e1bb642
SB
2125 (build-system gnu-build-system)
2126 (outputs '("out" "doc"))
2127 (arguments
b19d6805 2128 `(#:configure-flags
6e1bb642
SB
2129 (list (string-append "--with-html-dir="
2130 (assoc-ref %outputs "doc")
fd730590 2131 "/share/gtk-doc/html"))
6e1bb642
SB
2132 #:phases
2133 (modify-phases %standard-phases
3a4de6b2 2134 (add-before 'configure 'disable-unconnected-socket-test
6e1bb642
SB
2135 ;; This test fails due to missing /etc/nsswitch.conf
2136 ;; in the build environment.
2137 (lambda _
2138 (substitute* "tests/socket-test.c"
2139 ((".*/sockets/unconnected.*") ""))
2140 #t))
907f939b 2141 (add-before 'check 'pre-check
6e1bb642 2142 (lambda _
907f939b
SB
2143 ;; The 'check-local' target runs 'env LANG=C sort -u',
2144 ;; unset 'LC_ALL' to make 'LANG' working.
6e1bb642 2145 (unsetenv "LC_ALL")
907f939b
SB
2146 ;; The ca-certificates.crt is not available in the build
2147 ;; environment.
2148 (setenv "SSL_CERT_FILE" "/dev/null")
fd730590
SB
2149 #t))
2150 (replace 'install
2151 (lambda _
2152 (zero?
2153 (system* "make"
2154 ;; Install vala bindings into $out.
2155 (string-append "vapidir=" %output
2156 "/share/vala/vapi")
2157 "install")))))))
6e1bb642
SB
2158 (native-inputs
2159 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2160 ("gobject-introspection" ,gobject-introspection)
2161 ("intltool" ,intltool)
2162 ("pkg-config" ,pkg-config)
2163 ("python" ,python-wrapper)
fd730590 2164 ("vala" ,vala)
6e1bb642
SB
2165 ;; These are needed for the tests.
2166 ;; FIXME: Add PHP once available.
2167 ("curl" ,curl)
2168 ("httpd" ,httpd)))
2169 (propagated-inputs
2170 ;; libsoup-2.4.pc refers to all these.
2171 `(("glib" ,glib)
2172 ("libxml2" ,libxml2)))
2173 (inputs
2174 `(("glib-networking" ,glib-networking)
2175 ("sqlite" ,sqlite)))
2176 (home-page "https://live.gnome.org/LibSoup/")
2177 (synopsis "GLib-based HTTP Library")
2178 (description
2179 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2180and the GLib main loop, to integrate well with GNOME applications.")
2181 (license license:lgpl2.0+)))
2182
bba229a3
SB
2183(define-public libsecret
2184 (package
2185 (name "libsecret")
6983ba56 2186 (version "0.18.5")
bba229a3
SB
2187 (source (origin
2188 (method url-fetch)
2189 (uri (string-append
896dcbc7
EF
2190 "mirror://gnome/sources/libsecret/"
2191 (version-major+minor version) "/"
bba229a3
SB
2192 name "-" version ".tar.xz"))
2193 (sha256
2194 (base32
6983ba56 2195 "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww"))))
bba229a3
SB
2196 (build-system gnu-build-system)
2197 (outputs '("out" "doc"))
2198 (arguments
2199 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
2200 #:configure-flags
2201 (list (string-append "--with-html-dir="
2202 (assoc-ref %outputs "doc")
2203 "/share/gtk-doc/html"))))
2204 (native-inputs
2205 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2206 ("gobject-introspection" ,gobject-introspection)
2207 ("intltool" ,intltool)
2208 ("pkg-config" ,pkg-config)
2209 ("vala" ,vala)
2210 ("xsltproc" ,libxslt)))
2211 ;; These are needed for the tests.
2212 ;; FIXME: Add gjs once available.
2213 ;("dbus" ,dbus)
2214 ;("python2" ,python-2)
2215 ;("python2-dbus" ,python2-dbus)
2216 ;("python2-pygobject" ,python2-pygobject)
2217 ;("python2-pygobject-2" ,python2-pygobject-2)))
2218 (propagated-inputs
2219 `(("glib" ,glib))) ; required by libsecret-1.pc
2220 (inputs
2221 `(("docbook-xsl" ,docbook-xsl)
2222 ("libgcrypt" ,libgcrypt)
2223 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2224 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2225 (synopsis "GObject bindings for \"Secret Service\" API")
2226 (description
2227 "Libsecret is a GObject based library for storing and retrieving passwords
2228and other secrets. It communicates with the \"Secret Service\" using DBus.")
2229 (license license:lgpl2.1+)))
2230
a31a6d22
SB
2231(define-public gnome-mines
2232 (package
2233 (name "gnome-mines")
6983ba56 2234 (version "3.20.0")
a31a6d22
SB
2235 (source
2236 (origin
2237 (method url-fetch)
2238 (uri (string-append "mirror://gnome/sources/" name "/"
2239 (version-major+minor version) "/"
2240 name "-" version ".tar.xz"))
2241 (sha256
2242 (base32
6983ba56 2243 "19khp4ckqbdgk6828gprxy52fsg8klf957dnwsin75nskk8whxbp"))))
a31a6d22
SB
2244 (build-system glib-or-gtk-build-system)
2245 (arguments
2246 '(#:phases
2247 (modify-phases %standard-phases
f8503e2b 2248 (add-before 'configure 'patch-/bin/true
a31a6d22
SB
2249 (lambda _
2250 (substitute* "configure"
6983ba56 2251 (("/bin/true") (which "true"))))))))
a31a6d22
SB
2252 (native-inputs
2253 `(("pkg-config" ,pkg-config)
2254 ("desktop-file-utils" ,desktop-file-utils)
2255 ("intltool" ,intltool)
bcb354ad
SB
2256 ("itstool" ,itstool)
2257 ("xmllint" ,libxml2)))
a31a6d22
SB
2258 (inputs
2259 `(("gtk+" ,gtk+)
2260 ("librsvg" ,librsvg)))
2261 (home-page "https://wiki.gnome.org/Apps/Mines")
2262 (synopsis "Minesweeper game")
2263 (description
2264 "Mines (previously gnomine) is a puzzle game where you locate mines
2265floating in an ocean using only your brain and a little bit of luck.")
2266 (license license:gpl2+)))
88f70665 2267
dfc407f3
KY
2268(define-public gnome-sudoku
2269 (package
2270 (name "gnome-sudoku")
319549c2 2271 (version "3.20.0")
dfc407f3
KY
2272 (source
2273 (origin
2274 (method url-fetch)
2275 (uri (string-append "mirror://gnome/sources/" name "/"
2276 (version-major+minor version) "/"
2277 name "-" version ".tar.xz"))
2278 (sha256
2279 (base32
319549c2 2280 "1n8hp3pl56p9s0c5kldk11zg1vg7ykhgn3ndp8nf375h1q49ldh8"))))
dfc407f3
KY
2281 (build-system glib-or-gtk-build-system)
2282 (native-inputs
2283 `(("pkg-config" ,pkg-config)
2284 ("desktop-file-utils" ,desktop-file-utils)
2285 ("intltool" ,intltool)
2286 ("itstool" ,itstool)
2287 ("xmllint" ,libxml2)))
2288 (inputs
2289 `(("gtk+" ,gtk+)
2290 ("json-glib" ,json-glib)
2291 ("libgee" ,libgee)
2292 ("librsvg" ,librsvg)
2293 ("qqwing" ,qqwing)))
2294 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2295 (synopsis "Japanese logic game")
2296 (description
2297 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2298GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2299possible while still providing features that make playing difficult Sudoku
2300more fun.")
2301 (license license:gpl2+)))
2302
88f70665
AW
2303(define-public gnome-terminal
2304 (package
2305 (name "gnome-terminal")
e3cf0c71 2306 (version "3.20.1")
88f70665
AW
2307 (source
2308 (origin
2309 (method url-fetch)
2310 (uri (string-append "mirror://gnome/sources/" name "/"
2311 (version-major+minor version) "/"
2312 name "-" version ".tar.xz"))
2313 (sha256
2314 (base32
e3cf0c71 2315 "1508nm35znlfq9v1s2j4ypx5x608yq391c565b4hazxk2f5z9dwq"))))
88f70665
AW
2316 (build-system glib-or-gtk-build-system)
2317 (arguments
2318 '(#:configure-flags
2319 (list "--disable-migration" "--disable-search-provider"
2320 "--without-nautilus-extension")
2321 #:phases
2322 (modify-phases %standard-phases
3a4de6b2 2323 (add-before 'configure 'patch-/bin/true
88f70665
AW
2324 (lambda _
2325 (substitute* "configure"
2326 (("/bin/true") (which "true"))))))))
2327 (native-inputs
2328 `(("pkg-config" ,pkg-config)
2329 ("desktop-file-utils" ,desktop-file-utils)
2330 ("intltool" ,intltool)
bcb354ad
SB
2331 ("itstool" ,itstool)
2332 ("xmllint" ,libxml2)))
68702167
MW
2333 (propagated-inputs
2334 `(("dconf" ,dconf)))
88f70665
AW
2335 (inputs
2336 `(("gtk+" ,gtk+)
2337 ("vte" ,vte)
2338 ("gnutls" ,gnutls)
88f70665
AW
2339 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2340 ("util-linux" ,util-linux)
2341 ("vala" ,vala)))
2342 (home-page "https://wiki.gnome.org/Apps/Terminal")
2343 (synopsis "Terminal emulator")
2344 (description
2345 "GNOME Terminal is a terminal emulator application for accessing a
2346UNIX shell environment which can be used to run programs available on
2347your system.
2348
2349It supports several profiles, multiple tabs and implements several
2350keyboard shortcuts.")
2351 (license license:gpl3+)))
75016d07
AW
2352
2353(define-public colord
2354 (package
2355 (name "colord")
2356 (version "1.1.8")
2357 (source
2358 (origin
2359 (method url-fetch)
5cc3096c 2360 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
75016d07
AW
2361 name "-" version ".tar.xz"))
2362 (sha256
2363 (base32
2364 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2365 (build-system glib-or-gtk-build-system)
2366 (arguments
2367 '(;; The tests want to run valgrind. Punt for now.
2368 #:tests? #f
2369 #:configure-flags (list "--localstatedir=/var"
2370 ;; GUSB not packaged yet.
2371 "--disable-gusb"
2372 ;; No dep on systemd.
2373 "--disable-systemd-login"
2374 ;; Wants to install to global completion dir;
2375 ;; punt.
2376 "--disable-bash-completion"
2377 ;; colord-gtk not packaged yet.
2378 "--disable-session-example"
2379 "--with-daemon-user=colord"
2380 "--enable-sane"
2381 (string-append "--with-udevrulesdir="
2382 (assoc-ref %outputs "out")
2383 "/lib/udev/rules.d"))
2384 #:phases
2385 (modify-phases %standard-phases
3a4de6b2 2386 (add-before 'configure 'patch-/bin/true
75016d07
AW
2387 (lambda _
2388 (substitute* "configure"
2389 (("/bin/true") (which "true")))
2390 (substitute* "src/Makefile.in"
2391 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
b19d6805 2392 "if test -w $(DESTDIR)$(localstatedir);")))))))
75016d07
AW
2393 (native-inputs
2394 `(("pkg-config" ,pkg-config)
2395 ("gobject-introspection" ,gobject-introspection)
2396 ("libtool" ,libtool)
2397 ("intltool" ,intltool)))
65cb2d61
SB
2398 (propagated-inputs
2399 ;; colord.pc refers to all these.
2400 `(("glib" ,glib)
2401 ("udev" ,eudev)
2402 ("lcms" ,lcms)))
75016d07 2403 (inputs
65cb2d61 2404 `(("dbus-glib" ,dbus-glib)
80c7dd1a 2405 ("libgudev" ,libgudev)
75016d07 2406 ("libusb" ,libusb)
75016d07
AW
2407 ("sqlite" ,sqlite)
2408 ("polkit" ,polkit)
2409 ("sane-backends" ,sane-backends)))
2410 (home-page "http://www.freedesktop.org/software/colord/")
2411 (synopsis "Color management service")
2412 (description "Colord is a system service that makes it easy to manage,
2413install and generate color profiles to accurately color manage input and
2414output devices.")
2415 (license license:gpl2+)))
7b2abd00
AW
2416
2417(define-public geoclue
2418 (package
2419 (name "geoclue")
54e911bc 2420 (version "2.4.3")
7b2abd00
AW
2421 (source
2422 (origin
2423 (method url-fetch)
5cc3096c 2424 (uri (string-append "https://www.freedesktop.org/software/" name
7b2abd00
AW
2425 "/releases/" (version-major+minor version) "/"
2426 name "-" version ".tar.xz"))
2427 (sha256
2428 (base32
54e911bc 2429 "0pk07k65dlw37nz8z5spksivsv5nh96xmbi336rf2yfxf2ldpadd"))
fc1adab1 2430 (patches (search-patches "geoclue-config.patch"))))
7b2abd00
AW
2431 (build-system glib-or-gtk-build-system)
2432 (arguments
2433 '(;; The tests want to run the system bus.
2434 #:tests? #f
2435 #:configure-flags (list ;; Disable bits requiring ModemManager.
2436 "--disable-3g-source"
2437 "--disable-cdma-source"
2438 "--disable-modem-gps-source"
2439 "--with-dbus-service-user=geoclue")
2440 #:phases
2441 (modify-phases %standard-phases
3a4de6b2 2442 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
2443 (lambda _
2444 (substitute* "configure"
2445 (("/bin/true") (which "true"))))))))
2446 (native-inputs
2447 `(("pkg-config" ,pkg-config)
2448 ("intltool" ,intltool)))
2449 (inputs
54e911bc
SB
2450 `(("avahi" ,avahi)
2451 ("glib" ,glib)
7b2abd00
AW
2452 ("json-glib" ,json-glib)
2453 ("libsoup" ,libsoup)))
2454 (home-page "http://freedesktop.org/wiki/Software/GeoClue/")
2455 (synopsis "Geolocation service")
2456 (description "Geoclue is a D-Bus service that provides location
2457information. The primary goal of the Geoclue project is to make creating
2458location-aware applications as simple as possible, while the secondary goal is
2459to ensure that no application can access location information without explicit
e881752c 2460permission from user.")
7b2abd00 2461 (license license:gpl2+)))
2bfe7437
AW
2462
2463(define-public geocode-glib
2464 (package
2465 (name "geocode-glib")
3ffd46bd 2466 (version "3.20.1")
2bfe7437
AW
2467 (source (origin
2468 (method url-fetch)
2469 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2470 (version-major+minor version) "/"
2471 name "-" version ".tar.xz"))
2472 (sha256
2473 (base32
3ffd46bd 2474 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2bfe7437
AW
2475 (build-system gnu-build-system)
2476 (arguments
2477 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2478 ;; work for the builder. Punt.
a124bbd2 2479 #:tests? #f))
2bfe7437
AW
2480 (native-inputs
2481 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2482 ("gobject-introspection" ,gobject-introspection)
2483 ("pkg-config" ,pkg-config)
2484 ("json-glib" ,json-glib)))
2485 (propagated-inputs
2486 ;; geocode-glib-1.0.pc refers to GIO.
2487 `(("glib" ,glib)))
2488 (inputs
2489 `(("libsoup" ,libsoup)))
2490 (home-page "https://github.com/GNOME/geocode-glib/")
2491 (synopsis "Geocoding and reverse-geocoding library")
2492 (description
2493 "geocode-glib is a convenience library for geocoding (finding longitude,
2494and latitude from an address) and reverse geocoding (finding an address from
2495coordinates) using the Nominatim service. geocode-glib caches requests for
2496faster results and to avoid unnecessary server load.")
2497 (license license:lgpl2.0+)))
a1d5bb0e
AW
2498
2499(define-public upower
2500 (package
2501 (name "upower")
d777e048 2502 (version "0.99.3")
a1d5bb0e
AW
2503 (source (origin
2504 (method url-fetch)
5cc3096c 2505 (uri (string-append "https://upower.freedesktop.org/releases/"
a1d5bb0e
AW
2506 name "-" version ".tar.xz"))
2507 (sha256
2508 (base32
d777e048 2509 "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
fc1adab1 2510 (patches (search-patches "upower-builddir.patch"))))
a1d5bb0e
AW
2511 (build-system glib-or-gtk-build-system)
2512 (arguments
2513 '( ;; The tests want to contact the system bus, which can't be done in the
2514 ;; build environment. The integration test can run, but the last of
2515 ;; the up-self-tests doesn't. Disable tests for now.
2516 #:tests? #f
2517 #:configure-flags (list "--localstatedir=/var"
2518 (string-append "--with-udevrulesdir="
2519 (assoc-ref %outputs "out")
2520 "/lib/udev/rules.d"))
2521 #:phases
2522 (modify-phases %standard-phases
2523 (add-before 'configure 'patch-/bin/true
2524 (lambda _
2525 (substitute* "configure"
2526 (("/bin/true") (which "true")))))
2527 (add-before 'configure 'patch-integration-test
2528 (lambda _
2529 (substitute* "src/linux/integration-test"
2530 (("/usr/bin/python3") (which "python3"))))))))
2531 (native-inputs
ebeabe2d
SB
2532 `(("gobject-introspection" ,gobject-introspection)
2533 ("pkg-config" ,pkg-config)
a1d5bb0e 2534 ("intltool" ,intltool)
55409295
LC
2535 ("python" ,python)
2536
2537 ;; For man pages.
2538 ("libxslt" ,libxslt) ;for 'xsltproc'
2539 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2540 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 2541 (inputs
ea226291
SB
2542 `(("dbus-glib" ,dbus-glib)
2543 ("libgudev" ,libgudev)
a1d5bb0e
AW
2544 ("libusb" ,libusb)))
2545 (home-page "http://upower.freedesktop.org/")
2546 (synopsis "System daemon for managing power devices")
2547 (description
2548 "UPower is an abstraction for enumerating power devices,
2549listening to device events and querying history and statistics. Any
2550application or service on the system can access the org.freedesktop.UPower
2551service via the system message bus.")
2552 (license license:gpl2+)))
6a180f6f
AW
2553
2554(define-public libgweather
2555 (package
2556 (name "libgweather")
6983ba56 2557 (version "3.20.0")
6a180f6f
AW
2558 (source (origin
2559 (method url-fetch)
2560 (uri (string-append "mirror://gnome/sources/" name "/"
2561 (version-major+minor version) "/"
2562 name "-" version ".tar.xz"))
2563 (sha256
2564 (base32
6983ba56 2565 "1mmqg7wf0bhk450akyj0x71x75kh1v7j68isyivr75ydky79nqjj"))))
6a180f6f
AW
2566 (build-system gnu-build-system)
2567 (arguments
b6072e6b
SB
2568 `(#:configure-flags
2569 `(,(string-append "--with-zoneinfo-dir="
2570 (assoc-ref %build-inputs "tzdata")
2571 "/share/zoneinfo"))
2572 #:phases
2573 (modify-phases %standard-phases
2574 (add-before
2575 'check 'pre-check
2576 (lambda* (#:key inputs #:allow-other-keys)
2577 (substitute* "data/check-timezones.sh"
2578 (("/usr/share/zoneinfo/zone.tab")
2579 (string-append (assoc-ref inputs "tzdata")
2580 "/share/zoneinfo/zone.tab")))
2581 #t)))))
6a180f6f
AW
2582 (native-inputs
2583 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 2584 ("gobject-introspection" ,gobject-introspection)
6a180f6f
AW
2585 ("pkg-config" ,pkg-config)
2586 ("intltool" ,intltool)))
2587 (propagated-inputs
2588 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
2589 ;; libsoup.
2590 `(("gtk+" ,gtk+)
2591 ("gdk-pixbuf" ,gdk-pixbuf)
2592 ("libxml2" ,libxml2)
2593 ("libsoup" ,libsoup)))
2594 (inputs
2595 `(("tzdata" ,tzdata)
2596 ("geocode-glib" ,geocode-glib)))
2597 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
2598 (synopsis "Location, time zone, and weather library for GNOME")
2599 (description
2600 "libgweather is a library to access weather information from online
2601services for numerous locations.")
2602 (license license:gpl2+)))
23a22af6
AW
2603
2604(define-public gnome-settings-daemon
2605 (package
2606 (name "gnome-settings-daemon")
35907ce1 2607 (version "3.20.1")
23a22af6
AW
2608 (source
2609 (origin
2610 (method url-fetch)
2611 (uri (string-append "mirror://gnome/sources/" name "/"
2612 (version-major+minor version) "/"
2613 name "-" version ".tar.xz"))
2614 (sha256
2615 (base32
35907ce1 2616 "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8"))))
23a22af6
AW
2617 (build-system glib-or-gtk-build-system)
2618 (arguments
ec2b1921 2619 `(;; Network manager not yet packaged.
23a22af6
AW
2620 #:configure-flags '("--disable-network-manager")
2621 ;; Color management test can't reach the colord system service.
2622 #:tests? #f))
2623 (native-inputs
2624 `(("pkg-config" ,pkg-config)
2625 ("intltool" ,intltool)
2626 ("xsltproc" ,libxslt)
2627 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2628 ("docbook-xml" ,docbook-xml-4.2)
2629 ("docbook-xsl" ,docbook-xsl)))
2630 (inputs
2631 `(("colord" ,colord)
ea226291 2632 ("libgudev" ,libgudev)
23a22af6
AW
2633 ("upower" ,upower)
2634 ("polkit" ,polkit)
2635 ("pulseaudio" ,pulseaudio)
2636 ("libcanberra" ,libcanberra)
2637 ("libx11" ,libx11)
2638 ("libxtst" ,libxtst)
2639 ("lcms" ,lcms)
2640 ("libnotify" ,libnotify)
2641 ("geoclue" ,geoclue)
2642 ("geocode-glib" ,geocode-glib)
2643 ("libgweather" ,libgweather)
2644 ("gnome-desktop" ,gnome-desktop)
2645 ("nss" ,nss)
2646 ("cups" ,cups)
ec2b1921
AW
2647 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2648 ("libwacom" ,libwacom)
2649 ("librsvg" ,librsvg)
2650 ("xf86-input-wacom" ,xf86-input-wacom)))
23a22af6
AW
2651 (home-page "http://www.gnome.org")
2652 (synopsis "GNOME settings daemon")
2653 (description
2654 "This package contains the daemon responsible for setting the various
2655parameters of a GNOME session and the applications that run under it. It
2656handles settings such keyboard layout, shortcuts, and accessibility, clipboard
2657settings, themes, mouse settings, and startup of other daemons.")
2658 (license license:gpl2+)))
1e7464a9
DH
2659
2660(define-public totem-pl-parser
2661 (package
2662 (name "totem-pl-parser")
6983ba56 2663 (version "3.10.6")
1e7464a9
DH
2664 (source (origin
2665 (method url-fetch)
2666 (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/"
2667 "totem-pl-parser-" version ".tar.xz"))
2668 (sha256
2669 (base32
6983ba56 2670 "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq"))))
1e7464a9
DH
2671 (build-system gnu-build-system)
2672 (arguments
2673 ;; FIXME: Tests require gvfs.
2674 `(#:tests? #f))
2675 (native-inputs
2676 `(("intltool" ,intltool)
2677 ("glib" ,glib "bin")
4d6d8281 2678 ("gobject-introspection" ,gobject-introspection)
1e7464a9 2679 ("pkg-config" ,pkg-config)))
22a6ad6a 2680 (propagated-inputs
1e7464a9
DH
2681 `(("glib" ,glib)
2682 ("gmime" ,gmime)
22a6ad6a
MW
2683 ("libxml2" ,libxml2)))
2684 (inputs
2685 `(("libarchive" ,libarchive)
1e7464a9
DH
2686 ("libgcrypt" ,libgcrypt)
2687 ("nettle" ,nettle)
22a6ad6a 2688 ("libsoup" ,libsoup)))
1e7464a9
DH
2689 (home-page "https://projects.gnome.org/totem")
2690 (synopsis "Library to parse and save media playlists for GNOME")
2691 (description "Totem-pl-parser is a GObjects-based library to parse and save
2692playlists in a variety of formats.")
2693 (license license:lgpl2.0+)))
2694
6b888eff
SB
2695(define-public aisleriot
2696 (package
2697 (name "aisleriot")
6983ba56 2698 (version "3.20.1")
6b888eff
SB
2699 (source (origin
2700 (method url-fetch)
2701 (uri (string-append "mirror://gnome/sources/" name "/"
2702 (version-major+minor version) "/"
2703 name "-" version ".tar.xz"))
2704 (sha256
2705 (base32
6983ba56 2706 "1nipky336jj81mhm8wwxp96zilgcrarihf95dnyj3r1pw8kpg7gy"))))
6b888eff
SB
2707 (build-system glib-or-gtk-build-system)
2708 (arguments
2709 '(#:configure-flags
2710 '("--with-platform=gtk-only"
2711 "--with-card-theme-formats=svg")))
2712 (native-inputs
2713 `(("desktop-file-utils" ,desktop-file-utils)
2714 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2715 ("intltool" ,intltool)
2716 ("itstool" ,itstool)
2717 ("pkg-config" ,pkg-config)
2718 ("xmllint" ,libxml2)))
2719 (inputs
2720 `(("gtk+" ,gtk+)
2721 ("guile" ,guile-2.0)
2722 ("libcanberra" ,libcanberra)
2723 ("librsvg" ,librsvg)))
2724 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
2725 (synopsis "Solitaire card games")
2726 (description
2727 "Aisleriot (also known as Solitaire or sol) is a collection of card games
2728which are easy to play with the aid of a mouse.")
2729 (license license:gpl3+)))
4a79e256
SB
2730
2731(define-public devhelp
2732 (package
2733 (name "devhelp")
6983ba56 2734 (version "3.20.0")
4a79e256
SB
2735 (source (origin
2736 (method url-fetch)
2737 (uri (string-append "mirror://gnome/sources/" name "/"
2738 (version-major+minor version) "/"
2739 name "-" version ".tar.xz"))
2740 (sha256
2741 (base32
6983ba56 2742 "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2"))))
4a79e256
SB
2743 (build-system glib-or-gtk-build-system)
2744 (native-inputs
2745 `(("intltool" ,intltool)
2746 ("pkg-config" ,pkg-config)))
2747 (inputs
2748 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2749 ("webkitgtk" ,webkitgtk)))
2750 (home-page "https://wiki.gnome.org/Apps/Devhelp")
2751 (synopsis "API documentation browser for GNOME")
2752 (description
2753 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
2754natively with GTK-Doc (the API reference system developed for GTK+ and used
2755throughout GNOME for API documentation).")
2756 (license license:gpl2+)))
ba421ab7
MW
2757
2758(define-public cogl
2759 (package
2760 (name "cogl")
b3e91e02 2761 (version "1.22.0")
ba421ab7
MW
2762 (source
2763 (origin
2764 (method url-fetch)
2765 (uri (string-append "mirror://gnome/sources/" name "/"
2766 (version-major+minor version) "/"
2767 name "-" version ".tar.xz"))
2768 (sha256
2769 (base32
b3e91e02 2770 "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8"))))
ba421ab7
MW
2771 (build-system gnu-build-system)
2772 (native-inputs
2773 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2774 ("gobject-introspection" ,gobject-introspection)
2775 ;;("xorg-server" ,xorg-server) ; for the test suite
2776 ("pkg-config" ,pkg-config)))
2777 (propagated-inputs
2778 `(("glib" ,glib)
2779 ("gdk-pixbuf" ,gdk-pixbuf)
2780 ("libx11" ,libx11)
2781 ("libxext" ,libxext)
2782 ("libxfixes" ,libxfixes)
2783 ("libxdamage" ,libxdamage)
2784 ("libxcomposite" ,libxcomposite)
2785 ("libxrandr" ,libxrandr)))
2786 (inputs
2787 `(("mesa" ,mesa)
2788 ("cairo" ,cairo)
2789 ("pango" ,pango)
2790 ("gstreamer" ,gstreamer)
2791 ("gst-plugins-base" ,gst-plugins-base)))
2792 (arguments
2793 `(#:configure-flags (list "--enable-cogl-gst"
2794 ;; Arrange to pass an absolute file name to
2795 ;; dlopen for libGL.so.
2796 (string-append "--with-gl-libname="
2797 (assoc-ref %build-inputs "mesa")
2798 "/lib/libGL.so"))
2799 ;; XXX FIXME: All tests fail, with many warnings printed like this:
2800 ;; _FontTransOpen: Unable to Parse address
2801 ;; ${prefix}/share/fonts/X11/misc/
2802 #:tests? #f
2803 #; #:phases
2804 #;
2805 (modify-phases %standard-phases
2806 (add-before 'check 'start-xorg-server
2807 (lambda* (#:key inputs #:allow-other-keys)
2808 ;; The test suite requires a running X server.
2809 (system (format #f "~a/bin/Xvfb :1 &"
2810 (assoc-ref inputs "xorg-server")))
2811 (setenv "DISPLAY" ":1")
2812 #t)))))
2813 (home-page "http://www.cogl3d.org")
2814 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
2815 (description
2816 "Cogl is a small library for using 3D graphics hardware to draw pretty
2817pictures. The API departs from the flat state machine style of OpenGL and is
2818designed to make it easy to write orthogonal components that can render
2819without stepping on each others toes.")
2820 (license (list license:expat ; most of the code
2821 license:bsd-3 ; cogl/cogl-point-in-poly.c
2822 license:sgifreeb2.0 ; cogl-path/tesselator/
2823 license:asl2.0)))) ; examples/android/
fb182b8a
MW
2824
2825(define-public clutter
2826 (package
2827 (name "clutter")
6983ba56 2828 (version "1.26.0")
fb182b8a
MW
2829 (source
2830 (origin
2831 (method url-fetch)
2832 (uri (string-append "mirror://gnome/sources/" name "/"
2833 (version-major+minor version) "/"
2834 name "-" version ".tar.xz"))
2835 (sha256
2836 (base32
6983ba56 2837 "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7"))))
fb182b8a 2838 (build-system gnu-build-system)
600233bd
LC
2839 (outputs '("out"
2840 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
2841 (native-inputs
2842 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
2843 ("gobject-introspection" ,gobject-introspection)
2844 ("pkg-config" ,pkg-config)
2845 ("xsltproc" ,libxslt)))
2846 (propagated-inputs
2847 `(("cogl" ,cogl)
2848 ("cairo" ,cairo)
2849 ("atk" ,atk)
2850 ("gtk+" ,gtk+)
2851 ("json-glib" ,json-glib)
2852 ("glib" ,glib)
2853 ("libxcomposite" ,libxcomposite)
2854 ("libxdamage" ,libxdamage)
2855 ("libxext" ,libxext)
2856 ("xinput" ,xinput)))
2857 (inputs
2858 `(("libxkbcommon" ,libxkbcommon)
2859 ("udev" ,eudev)))
2860 (arguments
600233bd
LC
2861 `(#:configure-flags (list "--enable-x11-backend=yes"
2862
2863 ;; This produces share/doc/{clutter,cally}.
2864 (string-append "--with-html-dir="
2865 (assoc-ref %outputs "doc")
2866 "/share/doc"))
fb182b8a
MW
2867 ;; XXX FIXME: Get test suite working. It would probably fail in the
2868 ;; same way the cogl tests fail, since clutter is based on cogl.
2869 #:tests? #f))
2870 (home-page "http://www.clutter-project.org")
2871 (synopsis "Open GL based interactive canvas library")
2872 (description
2873 "Clutter is an Open GL based interactive canvas library, designed for
2874creating fast, mainly 2D single window applications such as media box UIs,
2875presentations, kiosk style applications and so on.")
2876 (license license:lgpl2.0+)))
bf7f17ba
MW
2877
2878(define-public clutter-gtk
2879 (package
2880 (name "clutter-gtk")
6983ba56 2881 (version "1.8.0")
bf7f17ba
MW
2882 (source
2883 (origin
2884 (method url-fetch)
2885 (uri (string-append "mirror://gnome/sources/" name "/"
2886 (version-major+minor version) "/"
2887 name "-" version ".tar.xz"))
2888 (sha256
2889 (base32
6983ba56 2890 "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl"))))
bf7f17ba
MW
2891 (build-system gnu-build-system)
2892 (native-inputs
2893 `(("pkg-config" ,pkg-config)
2894 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
2895 (propagated-inputs
2896 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
2897 `(("clutter" ,clutter)
2898 ("gtk+" ,gtk+)))
2899 (home-page "http://www.clutter-project.org")
2900 (synopsis "Open GL based interactive canvas library GTK+ widget")
2901 (description
2902 "Clutter is an Open GL based interactive canvas library, designed for
2903creating fast, mainly 2D single window applications such as media box UIs,
2904presentations, kiosk style applications and so on.")
2905 (license license:lgpl2.0+)))
86d6a893
MW
2906
2907(define-public clutter-gst
2908 (package
2909 (name "clutter-gst")
6983ba56 2910 (version "3.0.18")
86d6a893
MW
2911 (source
2912 (origin
2913 (method url-fetch)
2914 (uri (string-append "mirror://gnome/sources/" name "/"
2915 (version-major+minor version) "/"
2916 name "-" version ".tar.xz"))
2917 (sha256
2918 (base32
6983ba56 2919 "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a"))))
86d6a893
MW
2920 (build-system gnu-build-system)
2921 (native-inputs
2922 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2923 ("pkg-config" ,pkg-config)
2924 ("gobject-introspection" ,gobject-introspection)))
2925 (inputs
2926 `(("clutter" ,clutter)
2927 ("gstreamer" ,gstreamer)
2928 ("gst-plugins-base" ,gst-plugins-base)))
2929 (home-page "http://www.clutter-project.org")
2930 (synopsis "Integration library for using GStreamer with Clutter")
2931 (description
2932 "Clutter-Gst is an integration library for using GStreamer with Clutter.
2933It provides a GStreamer sink to upload frames to GL and an actor that
2934implements the ClutterGstPlayer interface using playbin. Clutter is an Open
2935GL based interactive canvas library.")
2936 (license license:lgpl2.0+)))
607a04ae 2937
30dc88d9
LC
2938(define-public libchamplain
2939 (package
2940 (name "libchamplain")
6983ba56 2941 (version "0.12.13")
30dc88d9
LC
2942 (source (origin
2943 (method url-fetch)
2944 (uri (string-append
2945 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
2946 version ".tar.xz"))
2947 (sha256
2948 (base32
6983ba56 2949 "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk"))))
30dc88d9
LC
2950 (build-system gnu-build-system)
2951 (native-inputs `(("pkg-config" ,pkg-config)))
2952 (propagated-inputs
2953 `(("libsoup" ,libsoup)
2954 ("sqlite" ,sqlite)
2955 ("clutter" ,clutter)
2956 ("clutter-gtk" ,clutter-gtk)
2957 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
2958 ("cairo" ,cairo)
2959 ("gtk+3" ,gtk+)
2960 ("glib" ,glib)))
2961 (home-page "http://projects.gnome.org/libchamplain/")
2962 (synopsis "C library providing a ClutterActor to display maps")
2963 (description
2964 "libchamplain is a C library providing a ClutterActor to display maps.
2965It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
2966and Perl bindings are also available. It supports numerous free map sources
2967such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
2968 (license license:lgpl2.1+)))
2969
607a04ae
MW
2970(define-public gom
2971 (package
2972 (name "gom")
0510440b 2973 (version "0.3.2")
607a04ae
MW
2974 (source
2975 (origin
2976 (method url-fetch)
2977 (uri (string-append "mirror://gnome/sources/" name "/"
2978 (version-major+minor version) "/"
2979 name "-" version ".tar.xz"))
2980 (sha256
2981 (base32
0510440b 2982 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
2983 (build-system gnu-build-system)
2984 (native-inputs
2985 `(("intltool" ,intltool)
2986 ("pkg-config" ,pkg-config)
2987 ("gobject-introspection" ,gobject-introspection)))
2988 (inputs
2989 `(("glib" ,glib)
2990 ("gdk-pixbuf" ,gdk-pixbuf)
2991 ("sqlite" ,sqlite)))
2992 ;; XXX TODO: Figure out how to run the test suite.
2993 (arguments `(#:tests? #f))
2994 (home-page "https://wiki.gnome.org/Projects/Gom")
2995 (synopsis "Object mapper from GObjects to SQLite")
2996 (description
2997 "Gom provides an object mapper from GObjects to SQLite. It helps you
2998write applications that need to store structured data as well as make complex
2999queries upon that data.")
3000 (license license:lgpl2.1+)))
b7a3cf11 3001
f09520db
SB
3002(define-public libgames-support
3003 (package
3004 (name "libgames-support")
3005 (version "1.0.2")
3006 (source (origin
3007 (method url-fetch)
3008 (uri (string-append "mirror://gnome/sources/" name "/"
3009 (version-major+minor version) "/"
3010 name "-" version ".tar.xz"))
3011 (sha256
3012 (base32
3013 "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
3014 (build-system gnu-build-system)
3015 (arguments
3016 '(#:phases
3017 (modify-phases %standard-phases
3018 (add-before 'check 'pre-check
3019 (lambda _
3020 ;; tests require a writable HOME.
3021 (setenv "HOME" (getcwd))
3022 #t)))))
3023 (native-inputs
3024 `(("intltool" ,intltool)
3025 ("pkg-config" ,pkg-config)
3026 ("vala" ,vala)))
3027 (propagated-inputs
3028 ;; Required by libgames-support-1.0.pc
3029 `(("gtk+" ,gtk+)
3030 ("libgee" ,libgee)))
3031 (home-page "https://www.gnome.org/")
3032 (synopsis "Useful functionality shared among GNOME games")
3033 (description
3034 "libgames-support is a small library intended for internal use by
3035GNOME Games, but it may be used by others.")
3036 (license license:lgpl3+)))
3037
b7a3cf11
SB
3038(define-public gnome-klotski
3039 (package
3040 (name "gnome-klotski")
41150c7d 3041 (version "3.20.1")
b7a3cf11
SB
3042 (source (origin
3043 (method url-fetch)
3044 (uri (string-append "mirror://gnome/sources/" name "/"
3045 (version-major+minor version) "/"
3046 name "-" version ".tar.xz"))
3047 (sha256
3048 (base32
41150c7d 3049 "1130v6sk9h74b3xgv0bq43anaw7xs9x8vdab3q7p9db6w0px02wj"))))
b7a3cf11
SB
3050 (build-system glib-or-gtk-build-system)
3051 (native-inputs
3052 `(("desktop-file-utils" ,desktop-file-utils)
3053 ("intltool" ,intltool)
3054 ("itstool" ,itstool)
bcb354ad
SB
3055 ("pkg-config" ,pkg-config)
3056 ("xmllint" ,libxml2)))
b7a3cf11
SB
3057 (inputs
3058 `(("gtk+" ,gtk+)
4e823eae 3059 ("libgames-support" ,libgames-support)
b7a3cf11
SB
3060 ("librsvg" ,librsvg)))
3061 (home-page "https://wiki.gnome.org/Apps/Klotski")
3062 (synopsis "Sliding block puzzles")
3063 (description
3064 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3065the patterned block to the area bordered by green markers. To do so, you will
3066need to slide other blocks out of the way. Complete each puzzle in as few moves
3067as possible!")
3068 (license license:gpl2+)))
8d4791bf
MW
3069
3070(define-public grilo
3071 (package
3072 (name "grilo")
5ed159c5 3073 (version "0.3.0")
8d4791bf
MW
3074 (source
3075 (origin
3076 (method url-fetch)
3077 (uri (string-append "mirror://gnome/sources/" name "/"
3078 (version-major+minor version) "/"
3079 name "-" version ".tar.xz"))
3080 (sha256
3081 (base32
5ed159c5 3082 "0q5wcvnckpfks48hy0gvlfdmvqm67vnblm3912rssmkgc1ysil8z"))))
8d4791bf
MW
3083 (build-system gnu-build-system)
3084 (native-inputs
3085 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3086 ("intltool" ,intltool)
3087 ("pkg-config" ,pkg-config)
3088 ("gobject-introspection" ,gobject-introspection)))
3089 (inputs
3090 `(("glib" ,glib)
3091 ("gtk+" ,gtk+)
3092 ("libxml2" ,libxml2)
3093 ;; XXX TODO: Add oauth
3094 ("libsoup" ,libsoup)
3095 ("totem-pl-parser" ,totem-pl-parser)))
3096 (arguments
3097 `(#:phases
3098 (modify-phases %standard-phases
3099 (add-after 'unpack 'fix-introspection-install-dir
3100 (lambda* (#:key outputs #:allow-other-keys)
3101 (let ((out (assoc-ref outputs "out")))
3102 (substitute* '("src/Makefile.in"
3103 "libs/pls/Makefile.in"
3104 "libs/net/Makefile.in")
3105 (("@INTROSPECTION_GIRDIR@")
3106 (string-append out "/share/gir-1.0/"))
3107 (("@INTROSPECTION_TYPELIBDIR@")
3108 (string-append out "/lib/girepository-1.0/")))))))))
3109 (native-search-paths
3110 (list (search-path-specification
3111 (variable "GRL_PLUGIN_PATH")
3112 (files (list (string-append "lib/grilo-"
3113 (version-major+minor version)))))))
3114 (home-page "http://live.gnome.org/Grilo")
3115 (synopsis "Framework for discovering and browsing media")
3116 (description
3117 "Grilo is a framework focused on making media discovery and browsing easy
3118for application developers.")
3119 (license license:lgpl2.1+)))
7b212526
MW
3120
3121(define-public grilo-plugins
3122 (package
3123 (name "grilo-plugins")
924ae80f 3124 (version "0.3.1")
7b212526
MW
3125 (source
3126 (origin
3127 (method url-fetch)
3128 (uri (string-append "mirror://gnome/sources/" name "/"
3129 (version-major+minor version) "/"
3130 name "-" version ".tar.xz"))
3131 (sha256
3132 (base32
924ae80f 3133 "1akd7q6pqnkcnayrdfjb0qx5w5yyl06kxzwhqp2gxm4y1b208pb0"))))
7b212526
MW
3134 (build-system gnu-build-system)
3135 (native-inputs
3136 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3137 ("intltool" ,intltool)
3138 ("itstool" ,itstool)
3139 ("pkg-config" ,pkg-config)))
3140 (inputs
3141 `(("grilo" ,grilo)
924ae80f 3142 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
7b212526
MW
3143 ("glib" ,glib)
3144 ("libxml2" ,libxml2)
3145 ("sqlite" ,sqlite)
3146 ("gom" ,gom)
3147 ;; XXX TODO: Add oauth
3148 ;; XXX TODO: Add goa
3149 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3150 ;; XXX TODO: Add lua (needs help finding it)
3151 ("json-glib" ,json-glib)
3152 ("avahi" ,avahi)
3153 ("gmime" ,gmime)
3154 ("libsoup" ,libsoup)
3155 ("libarchive" ,libarchive)
3156 ("totem-pl-parser" ,totem-pl-parser)))
3157 (arguments
3158 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3159 %output
3160 "/lib/grilo-"
3161 ,(version-major+minor version)))
3162 ;; XXX FIXME: Try to get the test suite working. It appears to require
3163 ;; a working system dbus. Inside the build container, all tests fail
3164 ;; with: "assertion failed: (source)". Outside of the build container,
3165 ;; most tests succeed.
3166 #:tests? #f))
3167 (home-page "http://live.gnome.org/Grilo")
3168 (synopsis "Plugins for the Grilo media discovery library")
3169 (description
3170 "Grilo is a framework focused on making media discovery and browsing easy
3171for application developers.")
3172 (license license:lgpl2.1+)))
4e3fc547
MW
3173
3174(define-public totem
3175 (package
3176 (name "totem")
88e88997 3177 (version "3.20.1")
4e3fc547
MW
3178 (source
3179 (origin
3180 (method url-fetch)
3181 (uri (string-append "mirror://gnome/sources/" name "/"
3182 (version-major+minor version) "/"
3183 name "-" version ".tar.xz"))
3184 (sha256
3185 (base32
e2b89203
MW
3186 "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))
3187 (patches (search-patches "totem-debug-format-fix.patch"))))
4e3fc547
MW
3188 (build-system glib-or-gtk-build-system)
3189 (native-inputs
3190 `(("pkg-config" ,pkg-config)
3191 ("desktop-file-utils" ,desktop-file-utils)
3192 ("gobject-introspection" ,gobject-introspection)
3193 ("intltool" ,intltool)
bcb354ad
SB
3194 ("itstool" ,itstool)
3195 ("xmllint" ,libxml2)))
4e3fc547
MW
3196 (propagated-inputs
3197 `(("dconf" ,dconf)))
3198 (inputs
3199 `(("gtk+" ,gtk+)
3200 ("gdk-pixbuf" ,gdk-pixbuf)
3201 ("atk" ,atk)
3202 ("cairo" ,cairo)
3203 ("dbus-glib" ,dbus-glib)
3204 ("clutter" ,clutter)
3205 ("clutter-gtk" ,clutter-gtk)
3206 ("clutter-gst" ,clutter-gst)
3207 ("xproto" ,xproto)
3208 ("libxxf86vm" ,libxxf86vm)
3209 ("libxtst" ,libxtst)
3210 ("libxrandr" ,libxrandr)
3211 ("libxml2" ,libxml2)
3212 ("libsoup" ,libsoup)
3213 ("libpeas" ,libpeas)
3214 ("librsvg" ,librsvg)
3215 ("lirc" ,lirc)
3216 ("gnome-desktop" ,gnome-desktop)
3217 ("gstreamer" ,gstreamer)
3218 ("gst-plugins-base" ,gst-plugins-base)
3219 ("gst-plugins-good" ,gst-plugins-good)
3220 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3221 ("adwaita-icon-theme" ,adwaita-icon-theme)
3222 ;; XXX We use python-2 because libxml2 because itstool (which needs
3223 ;; libxml) currently uses python-2.
3224 ("python" ,python-2)
3225 ("python-pygobject" ,python2-pygobject)
3226 ;; XXX TODO pylint needed for python support
3227 ("totem-pl-parser" ,totem-pl-parser)
3228 ("grilo" ,grilo)
3229 ("grilo-plugins" ,grilo-plugins)
3230 ("nettle" ,nettle)
3231 ("vala" ,vala)))
3232 (arguments
3233 `(#:phases
3234 (modify-phases %standard-phases
3235 (add-after
3236 'install 'wrap-totem
3237 (lambda* (#:key inputs outputs #:allow-other-keys)
3238 (let ((out (assoc-ref outputs "out"))
3239 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3240 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3241 (wrap-program (string-append out "/bin/totem")
3242 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3243 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3244 #t)))))
3245 (home-page "https://wiki.gnome.org/Apps/Videos")
3246 (synopsis "Simple media player for GNOME based on GStreamer")
3247 (description "Totem is a simple yet featureful media player for GNOME
3248which can read a large number of file formats.")
3249 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3250 ;; to be used and distributed together with GStreamer and Totem. See
3251 ;; file://COPYING in the source distribution for details.
3252 (license license:gpl2+)))
f0afb0c8
DH
3253
3254(define-public rhythmbox
3255 (package
3256 (name "rhythmbox")
3257 (version "3.2.1")
3258 (source (origin
3259 (method url-fetch)
3260 (uri (string-append "mirror://gnome/sources/" name "/"
3261 (version-major+minor version) "/"
3262 name "-" version ".tar.xz"))
3263 (sha256
3264 (base32
3265 "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz"))))
3266 (build-system glib-or-gtk-build-system)
3267 (arguments
3268 `(#:configure-flags
3269 (list "--enable-lirc"
3270 "--enable-python"
3271 "--enable-vala"
3272 "--with-brasero"
3273 "--with-gudev"
3274 "--with-libsecret")
3275 #:phases
3276 (modify-phases %standard-phases
3277 (add-after
3278 'install 'wrap-rhythmbox
3279 (lambda* (#:key inputs outputs #:allow-other-keys)
3280 (let ((out (assoc-ref outputs "out"))
3281 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3282 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3283 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3284 (wrap-program (string-append out "/bin/rhythmbox")
3285 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3286 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3287 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))))
3288 #t)))))
3289 (propagated-inputs
3290 `(("dconf" ,dconf)))
3291 (native-inputs
bcb354ad
SB
3292 `(("itstool" ,itstool)
3293 ("intltool" ,intltool)
f0afb0c8
DH
3294 ("glib" ,glib "bin")
3295 ("gobject-introspection" ,gobject-introspection)
3296 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
3297 ("pkg-config" ,pkg-config)
3298 ("xmllint" ,libxml2)))
f0afb0c8
DH
3299 (inputs
3300 `(("json-glib" ,json-glib)
3301 ("tdb" ,tdb)
3302 ("gnome-desktop" ,gnome-desktop)
3303 ("python" ,python)
3304 ("python-pygobject" ,python2-pygobject)
3305 ("vala" ,vala)
3306 ("gmime" ,gmime)
3307 ("nettle" ,nettle)
f0afb0c8
DH
3308 ("adwaita-icon-theme" ,adwaita-icon-theme)
3309 ("grilo" ,grilo)
3310 ("grilo-plugins" ,grilo-plugins)
3311 ("gstreamer" ,gstreamer)
3312 ("gst-plugins-base" ,gst-plugins-base)
3313 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 3314 ("totem-pl-parser" ,totem-pl-parser)
ea226291 3315 ("libgudev" ,libgudev)
f0afb0c8
DH
3316 ;;("libmtp" ,libmtp) FIXME: Not detected
3317 ("libsecret" ,libsecret)
3318 ("libsoup" ,libsoup)
3319 ("libnotify" ,libnotify)
3320 ("libpeas" ,libpeas)
3321 ("lirc" ,lirc)
3322 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3323 ;;("clutter" ,clutter)
3324 ;;("clutter-gtk" ,clutter-gtk)
3325 ;;("clutter-gst" ,clutter-gst)
3326 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3327 ("atk" ,atk)
3328 ("pango" ,pango)
3329 ("gtk+" ,gtk+)
3330 ;; TODO:
3331 ;; * libgpod
3332 ;; * mx
3333 ;; * webkit
3334 ("brasero" ,brasero)))
3335 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3336 (synopsis "Music player for GNOME")
3337 (description "Rhythmbox is a music playing application for GNOME. It
3338supports playlists, song ratings, and any codecs installed through gstreamer.")
3339 (license license:gpl2+)))
f70d8383
DH
3340
3341(define-public eog
3342 (package
3343 (name "eog")
3afeb02c 3344 (version "3.20.1")
f70d8383
DH
3345 (source (origin
3346 (method url-fetch)
3347 (uri (string-append "mirror://gnome/sources/" name "/"
3348 (version-major+minor version) "/"
3349 name "-" version ".tar.xz"))
3350 (sha256
3351 (base32
3afeb02c 3352 "0ll3vz1kyjagiqmrpypk1a4nwjhrjsapiz45bxblsjxjy641j0jg"))))
f70d8383
DH
3353 (build-system glib-or-gtk-build-system)
3354 (arguments
3355 `(#:phases
3356 (modify-phases %standard-phases
3357 (add-after
3358 'install 'wrap-eog
3359 (lambda* (#:key outputs #:allow-other-keys)
3360 (let ((out (assoc-ref outputs "out"))
3361 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3362 (wrap-program (string-append out "/bin/eog")
3363 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3364 #t)))))
3365 (propagated-inputs
3366 `(("dconf" ,dconf)))
3367 (native-inputs
3368 `(("intltool" ,intltool)
b3546174 3369 ("itstool" ,itstool)
f70d8383
DH
3370 ("glib" ,glib "bin")
3371 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
3372 ("pkg-config" ,pkg-config)
3373 ("xmllint" ,libxml2)))
f70d8383
DH
3374 (inputs
3375 `(("gnome-desktop" ,gnome-desktop)
3376 ("shared-mime-info" ,shared-mime-info)
3377 ("adwaita-icon-theme" ,adwaita-icon-theme)
3378 ("exempi" ,exempi)
3379 ("lcms" ,lcms)
3380 ("libexif" ,libexif)
3381 ("libpeas" ,libpeas)
3382 ("libjpeg" ,libjpeg)
3383 ("librsvg" ,librsvg)
3384 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3385 ("gtk+" ,gtk+)))
3386 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3387 (synopsis "GNOME image viewer")
3388 (description "Eye of GNOME is the GNOME image viewer. It
3389supports image conversion, rotation, and slideshows.")
3390 (license license:gpl2+)))
41af5e7b
SB
3391
3392(define-public libgudev
3393 (package
3394 (name "libgudev")
3395 (version "230")
3396 (source (origin
3397 (method url-fetch)
3398 (uri (string-append "mirror://gnome/sources/" name "/"
3399 version "/" name "-" version ".tar.xz"))
3400 (sha256
3401 (base32
3402 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3403 (build-system gnu-build-system)
3404 (native-inputs
3405 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3406 ("gobject-introspection" ,gobject-introspection)
3407 ("pkg-config" ,pkg-config)))
3408 (propagated-inputs
3409 `(("glib" ,glib))) ; required by gudev-1.0.pc
3410 (inputs
3411 `(("udev" ,eudev)))
3412 (home-page "https://wiki.gnome.org/Projects/libgudev")
3413 (synopsis "GObject bindings for libudev")
3414 (description
3415 "This library provides GObject bindings for libudev. It was originally
3416part of udev-extras, then udev, then systemd. It's now a project on its own.")
3417 (license license:lgpl2.1+)))
3dc8828f
SB
3418
3419(define-public gvfs
3420 (package
3421 (name "gvfs")
ddfa9131 3422 (version "1.28.1")
3dc8828f
SB
3423 (source (origin
3424 (method url-fetch)
3425 (uri (string-append "mirror://gnome/sources/" name "/"
3426 (version-major+minor version) "/"
3427 name "-" version ".tar.xz"))
3428 (sha256
3429 (base32
ddfa9131 3430 "16bry61hg681bwb0pih86cjayzvc5f89ip5xd8fydcy16nnfbksf"))))
3dc8828f
SB
3431 (build-system gnu-build-system)
3432 (arguments
3433 '(#:tests? #f)) ; XXX: requiring `pidof'
3434 (native-inputs
3435 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3436 ("intltool" ,intltool)
3437 ("pkg-config" ,pkg-config)
3438 ("xsltproc" ,libxslt)))
3439 (inputs
3440 `(("avahi" ,avahi)
3441 ("docbook-xml" ,docbook-xml-4.2)
3442 ("docbook-xsl" ,docbook-xsl)
3443 ("dbus" ,dbus)
3444 ("fuse" ,fuse)
24a78aa6 3445 ("gcr" ,gcr)
3dc8828f
SB
3446 ("glib" ,glib)
3447 ("libarchive" ,libarchive)
3448 ("libbluray" ,libbluray)
3449 ("libcdio-paranoia" ,libcdio-paranoia)
3450 ("libgcrypt" ,libgcrypt)
3451 ("libgphoto2" ,libgphoto2)
3452 ("libgudev" ,libgudev)
3453 ("libmtp" ,libmtp)
3454 ("libsecret" ,libsecret)
3455 ("libsmbclient" ,samba)
3456 ("libsoup" ,libsoup)
3457 ("libxml2" ,libxml2)
3458 ("nettle" ,nettle) ; XXX: required by libarchive.pc
3459 ("udisks" ,udisks)))
3460 (home-page "https://wiki.gnome.org/gvfs/")
3461 (synopsis "Userspace virtual filesystem for GIO")
3462 (description
3463 "GVFS is a userspace virtual filesystem designed to work with the I/O
3464abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
3465to all applications using the GIO API. It also supports exposing the GVFS
3466mounts to non-GIO applications using FUSE.
3467
3468GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
3469DAV, and others.")
3470 (license license:lgpl2.0+)))
7c88b6bd
AW
3471
3472(define-public gusb
3473 (package
3474 (name "gusb")
3475 (version "0.2.6")
3476 (source (origin
3477 (method url-fetch)
3478 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
3479 "gusb_"
3480 (string-join (string-split version #\.)
3481 "_")
3482 ".tar.gz"))
3483 (sha256
3484 (base32
3485 "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
3486 (build-system gnu-build-system)
3487 (native-inputs
3488 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3489 ("gobject-introspection" ,gobject-introspection)
3490 ("pkg-config" ,pkg-config)
3491 ("vala" ,vala)
3492 ("autoconf" ,autoconf)
3493 ("automake" ,automake)
3494 ("libtool" ,libtool)
3495 ("gtk-doc" ,gtk-doc)))
3496 (propagated-inputs
3497 ;; Both of these are required by gusb.pc.
3498 `(("glib" ,glib)
3499 ("libusb" ,libusb)))
3500 (arguments
3501 `(#:tests? #f ; libusb fails to initialize. Wonder what that is.
3502 #:phases
3503 (modify-phases %standard-phases
3504 (add-after 'unpack 'autogen
3505 (lambda _
3506 (and (zero? (system* "gtkdocize"))
3507 (zero? (system* "autoreconf" "-vif"))))))))
8f1640ed 3508 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 3509 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
3510 (description
3511 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
3512asynchronous control, bulk and interrupt transfers with proper cancellation
3513and integration into a mainloop. This makes it easy to integrate low level
3514USB transfers with your high-level application or system daemon.")
3515 (license license:lgpl2.1+)))
0abe1d86
AW
3516
3517(define-public simple-scan
3518 (package
3519 (name "simple-scan")
fb9ca511 3520 (version "3.19.91")
0abe1d86
AW
3521 (source (origin
3522 (method url-fetch)
3523 (uri (string-append "https://launchpad.net/simple-scan/"
3524 (version-major+minor version) "/"
3525 version "/+download/simple-scan-"
3526 version ".tar.xz"))
3527 (sha256
3528 (base32
fb9ca511 3529 "1c5glf5vxgld41w4jxfqcv17q76qnh43fawpv33hncgh8d283xkf"))))
0abe1d86
AW
3530 (build-system glib-or-gtk-build-system)
3531 (inputs
3532 `(("gtk" ,gtk+)
3533 ("zlib" ,zlib)
3534 ("cairo" ,cairo)
3535 ("gdk-pixbuf" ,gdk-pixbuf)
3536 ("gusb" ,gusb)
3537 ("libgudev" ,libgudev)
3538 ("libsane" ,sane-backends)))
3539 (native-inputs
3540 `(("intltool" ,intltool)
3541 ("itstool" ,itstool)
3542 ("colord" ,colord)
3543 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
3544 ("pkg-config" ,pkg-config)
bcb354ad
SB
3545 ("vala" ,vala)
3546 ("xmllint" ,libxml2)))
fb9ca511
TGR
3547 (arguments
3548 '(#:configure-flags '("--disable-packagekit")
3549 #:phases
3550 (modify-phases %standard-phases
3551 (add-after 'unpack 'clean
3552 (lambda _
3553 ;; Remove a left-over reference to PackageKit.
3554
3555 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
3556
3557 ;; There are some generated C files erroneously
3558 ;; included in the source distribution, and this
3559 ;; one breaks the build by referring to a
3560 ;; non-existent header (packagekit.h)
3561 (delete-file "src/ui.c"))))))
0abe1d86
AW
3562 (home-page "https://launchpad.net/simple-scan")
3563 (synopsis "Document and image scanner")
3564 (description "Simple Scan is an easy-to-use application, designed to let
3565users connect their scanner and quickly have the image/document in an
3566appropriate format. Simple Scan is basically a frontend for SANE - which is
3567the same backend as XSANE uses. This means that all existing scanners will
3568work and the interface is well tested.")
3569 (license license:gpl3+)))
7549f984
SB
3570
3571(define-public epiphany
3572 (package
3573 (name "epiphany")
c51555f4 3574 (version "3.20.1")
7549f984
SB
3575 (source (origin
3576 (method url-fetch)
3577 (uri (string-append "mirror://gnome/sources/" name "/"
3578 (version-major+minor version) "/"
3579 name "-" version ".tar.xz"))
3580 (sha256
3581 (base32
c51555f4 3582 "1ry9z6d51gjbv5n8kspwdyfrdai2hrin2ixdicmyiq6xbryzcwbi"))))
7549f984
SB
3583 (build-system glib-or-gtk-build-system)
3584 (arguments
3585 ;; FIXME: tests run under Xvfb, but fail with:
3586 ;; /src/bookmarks/ephy-bookmarks/create:
3587 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
3588 ;; subsystem
3589 ;; FAIL
3590 '(#:tests? #f))
80a747c4
SB
3591 (propagated-inputs
3592 `(("dconf" ,dconf)))
7549f984
SB
3593 (native-inputs
3594 `(("intltool" ,intltool)
3595 ("itstool" ,itstool)
bcb354ad
SB
3596 ("pkg-config" ,pkg-config)
3597 ("xmllint" ,libxml2)))
7549f984
SB
3598 (inputs
3599 `(("avahi" ,avahi)
3600 ("gcr" ,gcr)
3601 ("glib-networking" ,glib-networking)
3602 ("gnome-desktop" ,gnome-desktop)
3603 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3604 ("iso-codes" ,iso-codes)
3605 ("libnotify" ,libnotify)
3606 ("libsecret" ,libsecret)
3607 ("libwnck" ,libwnck)
3608 ("libxslt" ,libxslt)
3609 ("nss" ,nss)
3610 ("sqlite" ,sqlite)
3611 ("webkitgtk" ,webkitgtk)))
3612 (home-page "https://wiki.gnome.org/Apps/Web")
3613 (synopsis "GNOME web browser")
3614 (description
3615 "Epiphany is a GNOME web browser targeted at non-technical users. Its
3616principles are simplicity and standards compliance.")
3617 (license license:gpl2+)))
a3856b2c
SB
3618
3619(define-public d-feet
3620 (package
3621 (name "d-feet")
3622 (version "0.3.10")
3623 (source (origin
3624 (method url-fetch)
3625 (uri (string-append "mirror://gnome/sources/" name "/"
3626 (version-major+minor version) "/"
3627 name "-" version ".tar.xz"))
3628 (sha256
3629 (base32
3630 "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
3631 (build-system glib-or-gtk-build-system)
3632 (arguments
3633 '(#:out-of-source? #f ; tests need to run in the source directory.
3634 #:phases
3635 (modify-phases %standard-phases
3636 (add-before
3637 'check 'pre-check
86aff791 3638 (lambda _
a3856b2c
SB
3639 ;; The test suite requires a running X server.
3640 (system "Xvfb :1 &")
3641 (setenv "DISPLAY" ":1")
3642 ;; Don't fail on missing '/etc/machine-id'.
3643 (setenv "DBUS_FATAL_WARNINGS" "0")
3644 ;; tests.py and window.py don't meet E402:
3645 ;; E402 module level import not at top of file
3646 (substitute* "src/tests/Makefile"
86aff791
MW
3647 (("--ignore=E123") "--ignore=E123,E402"))
3648 #t))
a3856b2c
SB
3649 (add-after
3650 'install 'wrap-program
3651 (lambda* (#:key outputs #:allow-other-keys)
3652 (let ((prog (string-append (assoc-ref outputs "out")
3653 "/bin/d-feet")))
3654 (wrap-program prog
3655 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
3656 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
3657 #t))))))
a3856b2c
SB
3658 (native-inputs
3659 `(("intltool" ,intltool)
3660 ("itstool" ,itstool)
3661 ("pkg-config" ,pkg-config)
3662 ("python-pep8" ,python-pep8)
3663 ("xmllint" ,libxml2)
3664 ("xorg-server" ,xorg-server)))
3665 (inputs
3666 `(("gobject-introspection" ,gobject-introspection)
3667 ("gtk+" ,gtk+)
3668 ("python" ,python-wrapper)
3669 ("python-pygobject" ,python-pygobject)))
3670 (home-page "https://wiki.gnome.org/Apps/DFeet")
3671 (synopsis "D-Bus debugger")
3672 (description
3673 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
3674of running programs and invoke methods on those interfaces.")
3675 (license license:gpl2+)))
c3b97bd9
SB
3676
3677(define-public yelp-xsl
3678 (package
3679 (name "yelp-xsl")
27ad5743 3680 (version "3.20.1")
c3b97bd9
SB
3681 (source (origin
3682 (method url-fetch)
3683 (uri (string-append "mirror://gnome/sources/" name "/"
3684 (version-major+minor version) "/"
3685 name "-" version ".tar.xz"))
3686 (sha256
3687 (base32
27ad5743 3688 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
c3b97bd9
SB
3689 (build-system gnu-build-system)
3690 (native-inputs
3691 `(("intltool" ,intltool)
3692 ("itstool" ,itstool)
3693 ("xmllint" ,libxml2)))
3694 (home-page "https://wiki.gnome.org/Apps/Yelp")
3695 (synopsis "XSL stylesheets for Yelp")
3696 (description
3697 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
3698to format Docbook and Mallard documents.")
3699 (license license:gpl2+)))
de3d612a
SB
3700
3701(define-public yelp
3702 (package
3703 (name "yelp")
b8967d48 3704 (version "3.20.1")
de3d612a
SB
3705 (source (origin
3706 (method url-fetch)
3707 (uri (string-append "mirror://gnome/sources/" name "/"
3708 (version-major+minor version) "/"
3709 name "-" version ".tar.xz"))
3710 (sha256
3711 (base32
b8967d48 3712 "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x"))))
de3d612a
SB
3713 (build-system glib-or-gtk-build-system)
3714 (native-inputs
3715 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3716 ("intltool" ,intltool)
3717 ("itstool" ,itstool)
3718 ("pkg-config" ,pkg-config)))
3719 (propagated-inputs
3720 `(("dconf" ,dconf)))
3721 (inputs
ad1b7d8b
SB
3722 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3723 ("libxslt" ,libxslt)
de3d612a 3724 ("sqlite" ,sqlite)
4c28ca1d
SB
3725 ("webkitgtk" ,webkitgtk)
3726 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
3727 (home-page "https://wiki.gnome.org/Apps/Yelp")
3728 (synopsis "GNOME help browser")
3729 (description
3730 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
3731man, info, and HTML documents. It can locate documents according to the
3732freedesktop.org help system specification.")
3733 (license license:gpl2+)))
122d0d10
SB
3734
3735(define-public yelp-tools
3736 (package
3737 (name "yelp-tools")
50695955 3738 (version "3.18.0")
122d0d10
SB
3739 (source (origin
3740 (method url-fetch)
3741 (uri (string-append "mirror://gnome/sources/" name "/"
3742 (version-major+minor version) "/"
3743 name "-" version ".tar.xz"))
3744 (sha256
3745 (base32
50695955 3746 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
122d0d10
SB
3747 (build-system gnu-build-system)
3748 (native-inputs
3749 `(("pkg-config" ,pkg-config)))
3750 (propagated-inputs
3751 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
3752 `(("itstool" ,itstool)
3753 ("xmllint" ,libxml2)
3754 ("xsltproc" ,libxslt)))
3755 (inputs
3756 `(("yelp-xsl" ,yelp-xsl)))
3757 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
3758 (synopsis "Yelp documentation tools")
3759 (description
3760 "Yelp-tools is a collection of scripts and build utilities to help create,
3761manage, and publish documentation for Yelp and the web. Most of the heavy
3762lifting is done by packages like yelp-xsl and itstool. This package just
3763wraps things up in a developer-friendly way.")
3764 (license license:gpl2+)))
af8f9f23
RW
3765
3766(define-public libgee
3767 (package
3768 (name "libgee")
3769 (version "0.18.0")
3770 (source (origin
3771 (method url-fetch)
3772 (uri (string-append "mirror://gnome/sources/" name "/"
3773 (version-major+minor version) "/"
3774 name "-" version ".tar.xz"))
3775 (sha256
3776 (base32
3777 "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"))))
3778 (build-system gnu-build-system)
3779 (arguments
3780 `(#:phases
3781 (modify-phases %standard-phases
3782 (add-after 'unpack 'fix-introspection-install-dir
3783 (lambda* (#:key outputs #:allow-other-keys)
3784 (let ((out (assoc-ref outputs "out")))
3785 (substitute* "gee/Makefile.in"
3786 (("@INTROSPECTION_GIRDIR@")
3787 (string-append out "/share/gir-1.0/"))
3788 (("@INTROSPECTION_TYPELIBDIR@")
3789 (string-append out "/lib/girepository-1.0/")))))))))
3790 (native-inputs
3791 `(("glib" ,glib "bin")
3792 ("pkg-config" ,pkg-config)))
3793 (inputs
3794 `(("glib" ,glib)
3795 ("gobject-introspection" ,gobject-introspection)))
3796 (home-page "https://wiki.gnome.org/Projects/Libgee")
3797 (synopsis "GObject collection library")
3798 (description
3799 "Libgee is a utility library providing GObject-based interfaces and
3800classes for commonly used data structures.")
3801 (license license:lgpl2.1+)))
b0f9c4b8
RW
3802
3803(define-public gexiv2
3804 (package
3805 (name "gexiv2")
3806 (version "0.10.3")
3807 (source (origin
3808 (method url-fetch)
3809 (uri (string-append "mirror://gnome/sources/" name "/"
3810 (version-major+minor version) "/"
3811 name "-" version ".tar.xz"))
3812 (sha256
3813 (base32
3814 "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r"))))
3815 (build-system gnu-build-system)
3816 (native-inputs
3817 `(("glib" ,glib "bin")
3818 ("pkg-config" ,pkg-config)))
3819 (propagated-inputs
3820 ;; Listed in "Requires" section of gexiv2.pc
3821 `(("exiv2" ,exiv2)))
3822 (inputs
3823 `(("glib" ,glib)
3824 ("gobject-introspection" ,gobject-introspection)))
3825 (home-page "https://wiki.gnome.org/Projects/gexiv2")
3826 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
3827 (description
3828 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
3829allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
3830metadata in photo and video files of various formats.")
3831 (license license:gpl2+)))
fed5a689
RW
3832
3833(define-public shotwell
3834 (package
3835 (name "shotwell")
f8b446ca 3836 (version "0.22.1")
fed5a689
RW
3837 (source (origin
3838 (method url-fetch)
3839 (uri (string-append "mirror://gnome/sources/" name "/"
3840 (version-major+minor version) "/"
3841 name "-" version ".tar.xz"))
3842 (sha256
3843 (base32
f8b446ca 3844 "1a9lx9a7p6fgaf838xlw98f73xxyxmg6jmm29830lsl8ynbhq9bk"))))
fed5a689
RW
3845 (build-system glib-or-gtk-build-system)
3846 (arguments
3847 `(#:tests? #f ;no "check" target
3848 #:make-flags '("CC=gcc")
3849 #:configure-flags '("--disable-gsettings-convert-install")
3850 #:out-of-source? #f))
3851 (native-inputs
3852 `(("pkg-config" ,pkg-config)
3853 ("gettext" ,gnu-gettext)
3854 ("m4" ,m4)
3855 ("desktop-file-utils" ,desktop-file-utils)
3856 ("vala" ,vala)
3857 ("which" ,which)
3858 ("gnome-doc-utils" ,gnome-doc-utils)
3859 ;; FIXME: I only added python2-libxml2 because xml2po needs it at
3860 ;; runtime. It should be propagated.
3861 ("python2-libxml2" ,python2-libxml2)
3862 ("python2" ,python-2)))
3863 (inputs
3864 `(("gstreamer" ,gstreamer)
3865 ("gst-plugins-base" ,gst-plugins-base)
3866 ("gst-plugins-good" ,gst-plugins-good)
3867 ("libgee" ,libgee)
3868 ("gexiv2" ,gexiv2)
3869 ("libraw" ,libraw)
3870 ("json-glib" ,json-glib)
3871 ("rest" ,rest)
3872 ("webkitgtk" ,webkitgtk-2.4)
3873 ("sqlite" ,sqlite)
3874 ("libsoup" ,libsoup)
3875 ("libxml2" ,libxml2)
3876 ("gtk+" ,gtk+)
3877 ("libgudev" ,libgudev)
3878 ("libgphoto2" ,libgphoto2)))
3879 (home-page "https://wiki.gnome.org/Apps/Shotwell")
3880 (synopsis "Photo manager for GNOME 3")
3881 (description
3882 "Shotwell is a digital photo manager designed for the GNOME desktop
3883environment. It allows you to import photos from disk or camera, organize
3884them by keywords and events, view them in full-window or fullscreen mode, and
3885share them with others via social networking and more.")
3886 (license license:lgpl2.1+)))
293ff8b2
DT
3887
3888(define-public file-roller
3889 (package
3890 (name "file-roller")
74cf8f6c 3891 (version "3.20.1")
293ff8b2
DT
3892 (source (origin
3893 (method url-fetch)
3894 (uri (string-append "mirror://gnome/sources/" name "/"
3895 (version-major+minor version) "/"
3896 name "-" version ".tar.xz"))
3897 (sha256
3898 (base32
74cf8f6c 3899 "0cx3d8mp0pxz9wcsb2ph7g1zy22m8z5x0a4f5vgfzl0jmrcxpcy8"))))
293ff8b2
DT
3900 (build-system glib-or-gtk-build-system)
3901 (native-inputs
3902 `(("intltool" ,intltool)
3903 ("pkg-config" ,pkg-config)))
3904 ;; TODO: Add libnautilus.
3905 (inputs
3906 `(("gtk+" ,gtk+)
3907 ("gdk-pixbuf" ,gdk-pixbuf)
3908 ("json-glib" ,json-glib)
3909 ("libarchive" ,libarchive)
3910 ("libnotify" ,libnotify)
3911 ("nettle" ,nettle)
3912 ("itstool" ,itstool)
3913 ("libxml2" ,libxml2)))
3914 (synopsis "Graphical archive manager for GNOME")
3915 (description "File Roller is an archive manager for the GNOME desktop
3916environment that allows users to view, unpack, and create compressed archives
3917such as gzip tarballs.")
3918 (home-page "http://fileroller.sourceforge.net/")
3919 (license license:gpl2+)))
7ce49365
SB
3920
3921(define-public gnome-session
3922 (package
3923 (name "gnome-session")
803ab416 3924 (version "3.20.1")
7ce49365
SB
3925 (source (origin
3926 (method url-fetch)
3927 (uri (string-append "mirror://gnome/sources/" name "/"
3928 (version-major+minor version) "/"
3929 name "-" version ".tar.xz"))
3930 (sha256
3931 (base32
803ab416 3932 "04w90gyl0kdx5vwmdcgfdk3qr9xhip00vgpgzci151agqwyzbs9a"))))
2914af3c
AW
3933 (arguments
3934 '(#:phases
3935 (modify-phases %standard-phases
3936 (add-before 'configure 'pre-configure
3937 (lambda* (#:key outputs #:allow-other-keys)
3938 ;; Use elogind instead of systemd.
3939 (substitute* "configure"
3940 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
3941 "libelogind")
3942 (("systemd") "elogind"))
3943 (substitute* "gnome-session/gsm-systemd.c"
3944 (("#include <systemd/sd-login.h>")
3945 "#include <elogind/sd-login.h>"))
3946 ;; Remove uses of the systemd journal.
3947 (substitute* "gnome-session/main.c"
3948 (("#ifdef HAVE_SYSTEMD") "#if 0"))
3949 (substitute* "gnome-session/gsm-manager.c"
3950 (("#ifdef HAVE_SYSTEMD") "#if 0"))
803ab416
SB
3951 (substitute* "gnome-session/gsm-autostart-app.c"
3952 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
3953 #t))
3954 (add-after 'install 'wrap-gnome-session
3955 (lambda* (#:key inputs outputs #:allow-other-keys)
3956 ;; Make sure 'gnome-session' finds the 'gsettings' program.
3957 (let ((glib (assoc-ref inputs "glib:bin"))
3958 (out (assoc-ref outputs "out")))
3959 (wrap-program (string-append out "/bin/gnome-session")
3960 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6cbc8d57
LC
3961 #t)))
3962 (add-after 'install 'disable-hardware-acceleration-check
3963 (lambda* (#:key outputs #:allow-other-keys)
3964 ;; Do not abort if hardware acceleration is missing. This allows
3965 ;; GNOME to run in QEMU and on low-end devices.
3966 (let ((out (assoc-ref outputs "out")))
3967 (substitute* (string-append out
3968 "/share/xsessions/gnome.desktop")
3969 (("gnome-session")
3970 "gnome-session --disable-acceleration-check"))
a0d7baaf 3971 #t))))
6cbc8d57 3972
2914af3c
AW
3973 #:configure-flags
3974 '("--enable-elogind")))
ba3cb5ab 3975 (build-system glib-or-gtk-build-system)
7ce49365
SB
3976 (native-inputs
3977 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3978 ("pkg-config" ,pkg-config)
3979 ("intltool" ,intltool)
3980 ("xsltproc" ,libxslt)))
3981 (inputs
2914af3c
AW
3982 `(("elogind" ,elogind)
3983 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 3984 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
3985 ("gtk+" ,gtk+)
3986 ("json-glib" ,json-glib)
3987 ("libsm" ,libsm)
3988 ("libxcomposite" ,libxcomposite)
3989 ("libxtst" ,libxtst)
3990 ("mesa" ,mesa)
3991 ("upower" ,upower)
3992 ("xtrans" ,xtrans)))
3993 (synopsis "Session manager for GNOME")
3994 (description
3995 "This package contains the GNOME session manager, as well as a
3996configuration program to choose applications starting on login.")
3997 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
3998 (license license:gpl2+)))
f47ba77e
SB
3999
4000(define-public gjs
4001 (package
4002 (name "gjs")
4003 (version "1.44.0")
4004 (source (origin
4005 (method url-fetch)
4006 (uri (string-append "mirror://gnome/sources/" name "/"
4007 (version-major+minor version) "/"
4008 name "-" version ".tar.xz"))
4009 (sha256
4010 (base32
4011 "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
4012 (modules '((guix build utils)))
4013 (snippet '(substitute* "test/run-with-dbus"
4014 (("/bin/rm") "rm")))))
4015 (build-system gnu-build-system)
4016 (arguments
4017 '(#:phases
4018 (modify-phases %standard-phases
4019 (add-before
4020 'check 'pre-check
4021 (lambda _
4022 ;; For the missing /etc/machine-id.
4023 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07
SB
4024
4025 ;; XXX: fails with:
4026 ;; Failed to convert UTF-8 string to JS string: ...
4027 ;; TODO: actually fix it.
4028 (substitute* "installed-tests/js/testEverythingBasic.js"
4029 ((".*test_utf8_inout.*") ""))
f47ba77e
SB
4030 #t)))))
4031 (native-inputs
4032 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4033 ("pkg-config" ,pkg-config)
4034 ("xmllint" ,libxml2)
4035 ;; For testing
4036 ("dbus-launch" ,dbus)
4037 ("uuidgen" ,util-linux)
4038 ("xvfb" ,xorg-server)))
4039 (propagated-inputs
4040 ;; These are all in the Requires.private field of gjs-1.0.pc.
4041 `(("gobject-introspection" ,gobject-introspection)
4042 ("mozjs" ,mozjs-24)))
4043 (inputs
4044 `(("gtk+" ,gtk+)
4045 ("readline" ,readline)))
4046 (synopsis "Javascript bindings for GNOME")
4047 (home-page "http://live.gnome.org/Gjs")
4048 (description
4049 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4050javascript engine and the GObject introspection framework.")
4051 (license license:gpl2+)))
329d731b
DH
4052
4053(define-public gedit
4054 (package
4055 (name "gedit")
6983ba56 4056 (version "3.20.1")
329d731b
DH
4057 (source (origin
4058 (method url-fetch)
4059 (uri (string-append "mirror://gnome/sources/" name "/"
4060 (version-major+minor version) "/"
4061 name "-" version ".tar.xz"))
4062 (sha256
4063 (base32
6983ba56 4064 "1i0x1jd9x1vpv8lwdlzwf0ml8jxh3b3l6nlg6pbnfjw47w3y6iws"))))
329d731b
DH
4065 (build-system glib-or-gtk-build-system)
4066 (arguments
33cd9bef
SB
4067 `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet
4068 #:phases
329d731b
DH
4069 (modify-phases %standard-phases
4070 (add-after
4071 'install 'wrap-gedit
4072 (lambda* (#:key inputs outputs #:allow-other-keys)
4073 (let ((out (assoc-ref outputs "out"))
4074 (gtksourceview (assoc-ref inputs "gtksourceview"))
afc25242
SB
4075 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4076 (python-path (getenv "PYTHONPATH")))
329d731b 4077 (wrap-program (string-append out "/bin/gedit")
afc25242 4078 ;; For plugins.
329d731b 4079 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
afc25242 4080 `("PYTHONPATH" ":" prefix (,python-path))
329d731b
DH
4081 ;; For language-specs.
4082 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4083 "/share")))))
4084 #t)))))
4085 (propagated-inputs
4086 `(("dconf" ,dconf)))
4087 (native-inputs
4088 `(("intltool" ,intltool)
b3546174 4089 ("itstool" ,itstool)
329d731b
DH
4090 ("gobject-introspection" ,gobject-introspection)
4091 ("pkg-config" ,pkg-config)))
4092 (inputs
4093 `(("glib" ,glib)
4094 ("gtk+" ,gtk+)
4095 ("gtksourceview" ,gtksourceview)
4096 ("libpeas" ,libpeas)
4097 ("libxml2" ,libxml2)
329d731b
DH
4098 ("iso-codes" ,iso-codes)
4099 ("python-pygobject" ,python-pygobject)
4100 ("python" ,python)
4101 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4102 ("libx11" ,libx11)
4103 ("vala" ,vala)
4104 ("adwaita-icon-theme" ,adwaita-icon-theme)
4105 ("libsoup" ,libsoup)
4106 ("gnome-desktop" ,gnome-desktop)))
4107 (home-page "https://wiki.gnome.org/Apps/Gedit")
4108 (synopsis "GNOME text editor")
4109 (description "While aiming at simplicity and ease of use, gedit is a
4110powerful general purpose text editor.")
4111 (license license:gpl2+)))
b7179363
SB
4112
4113(define-public zenity
4114 (package
4115 (name "zenity")
6983ba56 4116 (version "3.20.0")
b7179363
SB
4117 (source (origin
4118 (method url-fetch)
4119 (uri (string-append "mirror://gnome/sources/" name "/"
4120 (version-major+minor version) "/"
4121 name "-" version ".tar.xz"))
4122 (sha256
4123 (base32
6983ba56 4124 "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02"))))
b7179363
SB
4125 (build-system gnu-build-system)
4126 (native-inputs
4127 `(("gettext" ,gnu-gettext)
4128 ("itstool" ,itstool)
4129 ("pkg-config" ,pkg-config)))
4130 (inputs
4131 `(("libnotify" ,libnotify)
4132 ("webkitgtk" ,webkitgtk)))
4133 (synopsis "Display graphical dialog boxes from shell scripts")
4134 (home-page "http://www.gnome.org")
4135 (description
4136 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4137to display dialog boxes from the commandline and shell scripts.")
4138 (license license:lgpl2.0+)))
60c3627c
SB
4139
4140(define-public mutter
4141 (package
4142 (name "mutter")
4a8573ad 4143 (version "3.20.1")
60c3627c
SB
4144 (source (origin
4145 (method url-fetch)
4146 (uri (string-append "mirror://gnome/sources/" name "/"
4147 (version-major+minor version) "/"
4148 name "-" version ".tar.xz"))
4149 (sha256
4150 (base32
4a8573ad 4151 "0752vkkmaaay8ziczqrf7z3735bq3brx2djw36arqsdhwawh6jba"))))
60c3627c
SB
4152 (build-system gnu-build-system)
4153 (arguments
4154 '(#:configure-flags
4155 ;; XXX: build fails with [-Werror]:
4156 ;; backends/meta-cursor-renderer.c:112:5: error:
4157 ;; implicit declaration of function ?roundf?
4158 '("--enable-compile-warnings=minimum")))
4159 (native-inputs
4160 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4161 ("gobject-introspection" ,gobject-introspection)
4162 ("intltool" ,intltool)
4163 ("pkg-config" ,pkg-config)))
4164 (propagated-inputs
4165 ;; libmutter.pc refers to all these.
4166 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4167 ("gtk+" ,gtk+)
4168 ("clutter" ,clutter)))
4169 (inputs
4170 `(("gnome-desktop" ,gnome-desktop)
4171 ("libcanberra-gtk" ,libcanberra)
4172 ("libice" ,libice)
4173 ("libsm" ,libsm)
4174 ("libxkbcommon" ,libxkbcommon)
4175 ("libxkbfile" ,libxkbfile)
4176 ("mesa-headers" ,mesa-headers)
4177 ("startup-notification" ,startup-notification)
4178 ("upower-glib" ,upower)
4179 ("xkeyboard-config" ,xkeyboard-config)
4180 ("zenity" ,zenity)))
4181 (synopsis "Window and compositing manager")
4182 (home-page "http://www.gnome.org")
4183 (description
4184 "Mutter is a window and compositing manager that displays and manages your
4185desktop via OpenGL. Mutter combines a sophisticated display engine using the
4186Clutter toolkit with solid window-management logic inherited from the Metacity
4187window manager.")
4188 (license license:gpl2+)))
685cee87
SB
4189
4190(define-public gnome-online-accounts
4191 (package
4192 (name "gnome-online-accounts")
223f5d5d 4193 (version "3.20.1")
685cee87
SB
4194 (source (origin
4195 (method url-fetch)
4196 (uri (string-append "mirror://gnome/sources/" name "/"
4197 (version-major+minor version) "/"
4198 name "-" version ".tar.xz"))
4199 (sha256
4200 (base32
223f5d5d 4201 "14qcih1g136sn2aklzagv83jl82d3qc598rkdm8zac9gw70ynyn3"))))
685cee87
SB
4202 (build-system glib-or-gtk-build-system)
4203 (native-inputs
4204 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4205 ("gobject-introspection" ,gobject-introspection)
4206 ("intltool" ,intltool)
4207 ("pkg-config" ,pkg-config)
4208 ("xsltproc" ,libxslt)))
4209 (propagated-inputs
4210 `(("glib" ,glib) ; required by goa-1.0.pc
4211 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4212 (inputs
4213 `(("docbook-xsl" ,docbook-xsl)
4214 ("json-glib" ,json-glib)
4215 ("libsecret" ,libsecret)
4216 ("rest" ,rest)
4217 ("telepathy-glib" ,telepathy-glib)
4218 ("webkitgtk" ,webkitgtk)))
4219 (synopsis "Single sign-on framework for GNOME")
4220 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4221 (description
4222 "GNOME Online Accounts provides interfaces so that applications and
4223libraries in GNOME can access the user's online accounts. It has providers for
4224Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4225Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4226 (license license:lgpl2.0+)))
df217748
SB
4227
4228(define-public evolution-data-server
4229 (package
4230 (name "evolution-data-server")
c1387d36 4231 (version "3.20.1")
df217748
SB
4232 (source (origin
4233 (method url-fetch)
4234 (uri (string-append "mirror://gnome/sources/" name "/"
4235 (version-major+minor version) "/"
4236 name "-" version ".tar.xz"))
4237 (sha256
4238 (base32
c1387d36 4239 "0lsbhzacr2bs90z8sx44vf403r0h2yqsy4l2svrh5hjnassgdyqx"))))
df217748
SB
4240 (build-system gnu-build-system)
4241 (arguments
4242 '(;; XXX: fails with:
4243 ;; /Fixture/Calendar0: cleaning up pid xxxx
4244 ;; t status: 139)
4245 #:tests? #f
4246 #:configure-flags
4247 (let ((nss (assoc-ref %build-inputs "nss"))
4248 (nspr (assoc-ref %build-inputs "nspr")))
4249 (list "--disable-uoa" ; disable Ubuntu Online Accounts support
4250 "--disable-google" ; disable Google Contacts support
c1387d36 4251 "--disable-google-auth" ; disable Google authentication
df217748
SB
4252 (string-append "--with-nspr-includes=" nspr "/include/nspr")
4253 (string-append "--with-nss-includes=" nss "/include/nss")
4254 (string-append "--with-nss-libs=" nss "/lib/nss")))
4255 #:phases
4256 (modify-phases %standard-phases
4257 (add-before 'check 'pre-check
4258 (lambda _
4259 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4260 (("/bin/rm") (which "rm")))
4261 #t)))))
4262 (native-inputs
4263 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4264 ("gobject-introspection" ,gobject-introspection)
4265 ("gperf" ,gperf)
4266 ("intltool" ,intltool)
4267 ("pkg-config" ,pkg-config)
4268 ("python" ,python)))
4269 (propagated-inputs
4270 ;; These are all in the Requires field of .pc files.
4271 `(("gtk+" ,gtk+)
4272 ("libical" ,libical)
4273 ("libsecret" ,libsecret)
4274 ("libsoup" ,libsoup)
4275 ("nss" ,nss)
4276 ("sqlite" ,sqlite)))
4277 (inputs
4278 `(("bdb" ,bdb)
4279 ("gcr" ,gcr)
4280 ("gnome-online-accounts" ,gnome-online-accounts)
4281 ("libgweather" ,libgweather)))
4282 (synopsis "Store address books and calendars")
4283 (home-page "https://wiki.gnome.org/Apps/Evolution")
4284 (description
4285 "This package provides a unified backend for programs that work with
4286contacts, tasks, and calendar information. It was originally developed for
4287Evolution (hence the name), but is now used by other packages as well.")
4288 (license license:lgpl2.0)))
bd7dfafa
SB
4289
4290(define-public caribou
4291 (package
4292 (name "caribou")
6983ba56 4293 (version "0.4.20")
bd7dfafa
SB
4294 (source (origin
4295 (method url-fetch)
4296 (uri (string-append "mirror://gnome/sources/" name "/"
4297 (version-major+minor version) "/"
4298 name "-" version ".tar.xz"))
4299 (sha256
4300 (base32
6983ba56 4301 "1nahpfs5ap9f9wsvn93kg8isqffk60v785f1q6k64awcd7an8ris"))))
bd7dfafa
SB
4302 (build-system glib-or-gtk-build-system)
4303 (arguments
4304 '(#:phases
4305 (modify-phases %standard-phases
4306 (add-before
4307 'build 'pre-build
4308 (lambda* (#:key outputs #:allow-other-keys)
4309 (let ((out (assoc-ref outputs "out")))
4310 ;; Use absolute shared library path in Caribou-1.0.typelib.
4311 (substitute* "libcaribou/Makefile"
4312 (("--shared-library=libcaribou.so")
4313 (string-append "--shared-library="
4314 out "/lib/libcaribou.so")))
4315 #t)))
4316 (add-after 'install 'wrap-programs
4317 (lambda* (#:key outputs #:allow-other-keys)
4318 (let* ((out (assoc-ref outputs "out"))
4319 (python-path (getenv "PYTHONPATH"))
4320 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4321 (for-each
4322 (lambda (prog)
4323 (wrap-program prog
4324 `("PYTHONPATH" ":" prefix (,python-path))
4325 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4326 (list (string-append out "/bin/caribou-preferences")
4327 (string-append out "/libexec/antler-keyboard"))))
4328 #t)))))
4329 (native-inputs
4330 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4331 ("gobject-introspection" ,gobject-introspection)
4332 ("intltool" ,intltool)
4333 ("pkg-config" ,pkg-config)
4334 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
4335 ("vala" ,vala)
4336 ("xsltproc" ,libxslt)))
4337 (propagated-inputs
4338 ;; caribou-1.0.pc refers to all these.
4339 `(("libgee" ,libgee)
4340 ("libxklavier" ,libxklavier)
4341 ("libxtst" ,libxtst)
4342 ("gtk+" ,gtk+)))
4343 (inputs
4344 `(("clutter" ,clutter)
4345 ("dconf" ,dconf)
4346 ("gtk+-2" ,gtk+-2)
4347 ("python-pygobject" ,python2-pygobject)))
4348 (synopsis "Text entry and UI navigation application")
4349 (home-page "https://wiki.gnome.org/Projects/Caribou")
4350 (description
4351 "Caribou is an input assistive technology intended for switch and pointer
4352users.")
4353 (license license:lgpl2.1)))
ba5dd105 4354
ba5dd105
SB
4355(define-public network-manager
4356 (package
4357 (name "network-manager")
142bdcbc 4358 (version "1.2.0")
ba5dd105
SB
4359 (source (origin
4360 (method url-fetch)
4361 (uri (string-append "mirror://gnome/sources/NetworkManager/"
4362 (version-major+minor version) "/"
4363 "NetworkManager-" version ".tar.xz"))
4364 (sha256
4365 (base32
142bdcbc 4366 "101axwk3bc1pm9m98vwrnxyjna6w0qgzaskgivldq69xz8qcyiz9"))))
ba5dd105
SB
4367 (build-system gnu-build-system)
4368 (outputs '("out"
4369 "doc")) ; 8 MiB of gtk-doc HTML
4370 (arguments
4371 '(#:configure-flags
4372 (let ((out (assoc-ref %outputs "out"))
4373 (doc (assoc-ref %outputs "doc"))
4374 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
4375 "/sbin/dhclient")))
4376 (list "--with-crypto=gnutls"
4377 "--disable-config-plugin-ibft"
4378 "--sysconfdir=/etc"
4379 "--localstatedir=/var"
4380 (string-append "--with-udev-dir="
4381 out "/lib/udev")
4382 (string-append "--with-dbus-sys-dir="
4383 out "/etc/dbus-1/system.d")
4384 (string-append "--with-html-dir="
4385 doc "/share/gtk-doc/html")
4386 (string-append "--with-dhclient=" dhclient)))
4387 #:phases
4388 (modify-phases %standard-phases
b4f59d87
AW
4389 (add-before 'configure 'pre-configure
4390 (lambda _
4391 ;; These tests try to test aspects of network-manager's
4392 ;; functionality within restricted containers, but they don't
4393 ;; cope with being already in the Guix build jail as that jail
4394 ;; lacks some features that they would like to proxy over (like
4395 ;; a /sys mount).
142bdcbc
SB
4396 (substitute* '("src/platform/Makefile.in"
4397 "src/devices/Makefile.in")
b4f59d87
AW
4398 (("SUBDIRS = tests") ""))
4399 (substitute* '("src/tests/Makefile.in")
4400 (("\ttest-route-manager-linux") "\t")
4401 (("\ttest-route-manager-fake") "\t"))
4402 #t))
ba5dd105
SB
4403 (add-before 'check 'pre-check
4404 (lambda _
4405 ;; For the missing /etc/machine-id.
4406 (setenv "DBUS_FATAL_WARNINGS" "0")
4407 #t))
4408 (replace 'install
4409 (lambda _
4410 (zero? (system* "make"
4411 "sysconfdir=/tmp"
142bdcbc
SB
4412 "rundir=/tmp"
4413 "statedir=/tmp"
ba5dd105
SB
4414 "install")))))))
4415 (native-inputs
4416 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
4417 ("gobject-introspection" ,gobject-introspection)
4418 ("intltool" ,intltool)
4419 ("pkg-config" ,pkg-config)
4420 ;; For testing.
4421 ("python" ,python-wrapper)
4422 ("python-dbus" ,python-dbus)
4423 ("python-pygobject" ,python-pygobject)))
4424 (inputs
4425 `(("dbus-glib" ,dbus-glib)
4426 ("dnsmasq" ,dnsmasq)
4427 ("gnutls" ,gnutls)
4428 ("iptables" ,iptables)
4429 ("isc-dhcp" ,isc-dhcp)
4430 ("libgcrypt" ,libgcrypt)
4431 ("libgudev" ,libgudev)
4432 ("libndp" ,libndp)
4433 ("libnl" ,libnl)
4434 ("libsoup" ,libsoup)
142bdcbc 4435 ("modem-manager" ,modem-manager)
ba5dd105
SB
4436 ("polkit" ,polkit)
4437 ("ppp" ,ppp)
4438 ("readline" ,readline)
4439 ("util-linux" ,util-linux)))
4440 (synopsis "Network connection manager")
4441 (home-page "http://www.gnome.org/projects/NetworkManager/")
4442 (description
4443 "NetworkManager is a system network service that manages your network
4444devices and connections, attempting to keep active network connectivity when
4445available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
4446devices, and provides VPN integration with a variety of different VPN
4447services.")
4448 (license license:gpl2+)))
4d62a9d3
SB
4449
4450(define-public network-manager-applet
4451 (package
4452 (name "network-manager-applet")
bbbb77e4 4453 (version "1.2.0")
4d62a9d3
SB
4454 (source (origin
4455 (method url-fetch)
4456 (uri (string-append "mirror://gnome/sources/" name "/"
4457 (version-major+minor version) "/"
4458 name "-" version ".tar.xz"))
4459 (sha256
4460 (base32
bbbb77e4 4461 "0dhvk3dvy6djn6blpkv46dn6yfh28wsh6mpl0v53qxfip97j8kwk"))))
4d62a9d3
SB
4462 (build-system glib-or-gtk-build-system)
4463 (arguments '(#:configure-flags '("--disable-migration")))
4464 (native-inputs
4465 `(("intltool" ,intltool)
4466 ("gobject-introspection" ,gobject-introspection)
4467 ("pkg-config" ,pkg-config)))
4468 (propagated-inputs
4469 ;; libnm-gtk.pc refers to all these.
4470 `(("dbus-glib" ,dbus-glib)
4471 ("gtk+" ,gtk+)
4472 ("network-manager" ,network-manager)))
4473 (inputs
4474 `(("iso-codes" ,iso-codes)
4475 ("libgudev" ,libgudev)
4476 ("libnotify" ,libnotify)
4477 ("libsecret" ,libsecret)))
4478 (synopsis "Applet for managing network connections")
4479 (home-page "http://www.gnome.org/projects/NetworkManager/")
4480 (description
4481 "This package contains a systray applet for NetworkManager. It displays
4482the available networks and allows users to easily switch between them.")
4483 (license license:gpl2+)))
56196594
RW
4484
4485(define-public libxml++
4486 (package
4487 (name "libxml++")
f5821956 4488 (version "3.0.0")
56196594
RW
4489 (source (origin
4490 (method url-fetch)
4491 (uri (string-append "mirror://gnome/sources/" name "/"
4492 (version-major+minor version) "/"
4493 name "-" version ".tar.xz"))
4494 (sha256
4495 (base32
f5821956 4496 "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg"))))
56196594
RW
4497 (build-system gnu-build-system)
4498 ;; libxml++-3.0.pc refers to all these.
4499 (propagated-inputs
4500 `(("libxml2" ,libxml2)
4501 ("glibmm" ,glibmm)))
4502 (native-inputs
4503 `(("perl" ,perl)
4504 ("pkg-config" ,pkg-config)))
4505 (home-page "http://libxmlplusplus.sourceforge.net/")
4506 (synopsis "C++ wrapper for XML parser library libxml2")
4507 (description
4508 "This package provides a C++ wrapper for the XML parser library
4509libxml2.")
4510 (license license:lgpl2.1+)))
df12f04a
SB
4511
4512(define-public gdm
4513 (package
4514 (name "gdm")
906943df 4515 (version "3.20.1")
df12f04a
SB
4516 (source (origin
4517 (method url-fetch)
4518 (uri (string-append "mirror://gnome/sources/" name "/"
4519 (version-major+minor version) "/"
4520 name "-" version ".tar.xz"))
4521 (sha256
4522 (base32
906943df 4523 "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh"))))
df12f04a
SB
4524 (build-system gnu-build-system)
4525 (arguments
4526 '(#:configure-flags
4527 '("--without-plymouth")
4528 #:phases
4529 (modify-phases %standard-phases
4530 (add-before
4531 'configure 'pre-configure
4532 (lambda _
4533 ;; We don't have <systemd/sd-daemon.h>.
4534 (substitute* '("common/gdm-log.c"
4535 "daemon/gdm-server.c"
4536 "daemon/gdm-session-worker.c"
4537 "daemon/gdm-session-worker-job.c")
4538 (("#include <systemd/sd-daemon\\.h>") ""))
4539 ;; Use elogind for sd-login.
4540 (substitute* '("common/gdm-common.c"
4541 "daemon/gdm-manager.c"
4542 "libgdm/gdm-user-switching.c")
4543 (("#include <systemd/sd-login\\.h>")
4544 "#include <elogind/sd-login.h>"))
4545 ;; Avoid checking SYSTEMD using pkg-config.
4546 (setenv "SYSTEMD_CFLAGS" " ")
4547 (setenv "SYSTEMD_LIBS" "-lelogind")
4548 #t)))))
4549 (native-inputs
4550 `(("dconf" ,dconf)
4551 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4552 ("gobject-introspection" ,gobject-introspection)
4553 ("intltool" ,intltool)
4554 ("itstool" ,itstool)
4555 ("pkg-config" ,pkg-config)
4556 ("xmllint" ,libxml2)))
4557 (inputs
4558 `(("accountsservice" ,accountsservice)
4559 ("check" ,check) ; for testing
4560 ("elogind" ,elogind)
4561 ("gtk+" ,gtk+)
4562 ("iso-codes" ,iso-codes)
4563 ("libcanberra" ,libcanberra)
4564 ("linux-pam" ,linux-pam)))
4565 (synopsis "Display manager for GNOME")
4566 (home-page "http://wiki.gnome.org/Projects/GDM/")
4567 (description
4568 "GNOME Display Manager is a system service that is responsible for
4569providing graphical log-ins and managing local and remote displays.")
4570 (license license:gpl2+)))
8e1dd04f
SB
4571
4572(define-public libgtop
4573 (package
4574 (name "libgtop")
6983ba56 4575 (version "2.34.0")
8e1dd04f
SB
4576 (source (origin
4577 (method url-fetch)
4578 (uri (string-append "mirror://gnome/sources/" name "/"
4579 (version-major+minor version) "/"
4580 name "-" version ".tar.xz"))
4581 (sha256
4582 (base32
6983ba56 4583 "0apfnh9k6vmbdm8ms5wxyhagrrl8r88fv48k7q5qq70df2gf72ld"))))
8e1dd04f
SB
4584 (build-system gnu-build-system)
4585 (native-inputs
4586 `(("gobject-introspection" ,gobject-introspection)
4587 ("intltool" ,intltool)
4588 ("perl" ,perl)
4589 ("pkg-config" ,pkg-config)))
4590 (propagated-inputs
4591 `(("glib" ,glib))) ; required by libgtop-2.0.pc
4592 (synopsis "Portable system access library")
4593 (home-page "https://www.gnome.org/")
4594 (description
4595 "LibGTop is a library to get system specific data such as CPU and memory
4596usage and information about running processes.")
4597 (license license:gpl2+)))
b96c4260
SB
4598
4599(define-public gnome-bluetooth
4600 (package
4601 (name "gnome-bluetooth")
6983ba56 4602 (version "3.18.3")
b96c4260
SB
4603 (source (origin
4604 (method url-fetch)
4605 (uri (string-append "mirror://gnome/sources/" name "/"
4606 (version-major+minor version) "/"
4607 name "-" version ".tar.xz"))
4608 (sha256
4609 (base32
6983ba56 4610 "1qwc9q7x22sc71zhqv4db78rqzxl6fqfw6d978ydqap54c2bg0g4"))))
b96c4260
SB
4611 (build-system glib-or-gtk-build-system)
4612 (native-inputs
4613 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4614 ("gobject-introspection" ,gobject-introspection)
4615 ("intltool" ,intltool)
4616 ("pkg-config" ,pkg-config)
4617 ("xmllint" ,libxml2)))
4618 (propagated-inputs
4619 ;; gnome-bluetooth-1.0.pc refers to all these.
4620 `(("gtk+" ,gtk+)
4621 ("udev" ,eudev)))
4622 (inputs
4623 `(("libcanberra" ,libcanberra)
4624 ("libnotify" ,libnotify)))
4625 (synopsis "GNOME Bluetooth subsystem")
4626 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
4627 (description
4628 "This package contains tools for managing and manipulating Bluetooth
4629devices using the GNOME desktop.")
4630 (license license:lgpl2.1+)))
b645146f
SB
4631
4632(define-public gnome-control-center
4633 (package
4634 (name "gnome-control-center")
8b6b7c73 4635 (version "3.20.1")
b645146f
SB
4636 (source (origin
4637 (method url-fetch)
4638 (uri (string-append "mirror://gnome/sources/" name "/"
4639 (version-major+minor version) "/"
4640 name "-" version ".tar.xz"))
4641 (sha256
4642 (base32
8b6b7c73 4643 "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f"))))
b645146f
SB
4644 (build-system glib-or-gtk-build-system)
4645 (arguments
4646 '(#:phases
4647 (modify-phases %standard-phases
4648 (add-before 'configure 'patch-paths
4649 (lambda* (#:key inputs #:allow-other-keys)
4650 (let ((libc (assoc-ref inputs "libc"))
4651 (tzdata (assoc-ref inputs "tzdata")))
4652 (substitute* "panels/datetime/tz.h"
4653 (("/usr/share/zoneinfo/zone.tab")
4654 (string-append tzdata "/share/zoneinfo/zone.tab")))
4655 (substitute* "panels/datetime/test-endianess.c"
4656 (("/usr/share/locale")
4657 (string-append libc "/share/locale")))
4658 #t))))))
4659 (native-inputs
4660 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4661 ("intltool" ,intltool)
4662 ("pkg-config" ,pkg-config)
4663 ("xsltproc" ,libxslt)))
4664 (inputs
4665 `(("accountsservice" ,accountsservice)
4666 ("clutter-gtk" ,clutter-gtk)
4667 ("colord-gtk" ,colord-gtk)
4668 ("cups" ,cups)
4669 ("dconf" ,dconf)
4670 ("docbook-xsl" ,docbook-xsl)
4671 ("gnome-bluetooth" ,gnome-bluetooth)
4672 ("gnome-desktop" ,gnome-desktop)
4673 ("gnome-online-accounts" ,gnome-online-accounts)
4674 ("gnome-settings-daemon" ,gnome-settings-daemon)
4675 ("grilo" ,grilo)
4676 ("ibus" ,ibus)
4677 ("libcanberra" ,libcanberra)
4678 ("libgudev" ,libgudev)
4679 ("libgtop" ,libgtop)
4680 ("libpwquality" ,libpwquality)
4681 ("libsoup" ,libsoup)
4682 ("libxml2" ,libxml2)
4683 ("libwacom" ,libwacom)
4684 ("mesa" ,mesa)
4685 ("mit-krb5" ,mit-krb5)
4686 ("modem-manager" ,modem-manager)
4687 ("network-manager-applet" ,network-manager-applet)
4688 ("polkit" ,polkit)
4689 ("pulseaudio" ,pulseaudio)
4690 ("smbclient" ,samba)
4691 ("tzdata" ,tzdata)
4692 ("upower" ,upower)))
4693 (synopsis "Utilities to configure the GNOME desktop")
4694 (home-page "https://www.gnome.org/")
4695 (description
4696 "This package contains configuration applets for the GNOME desktop,
4697allowing to set accessibility configuration, desktop fonts, keyboard and mouse
4698properties, sound setup, desktop theme and background, user interface
4699properties, screen resolution, and other GNOME parameters.")
4700 (license license:gpl2+)))
a4df5756
SB
4701
4702(define-public gnome-shell
4703 (package
4704 (name "gnome-shell")
82ab7647 4705 (version "3.20.1")
a4df5756
SB
4706 (source (origin
4707 (method url-fetch)
4708 (uri (string-append "mirror://gnome/sources/" name "/"
4709 (version-major+minor version) "/"
4710 name "-" version ".tar.xz"))
4711 (sha256
4712 (base32
82ab7647 4713 "08cgbr15cim3rgcngrv98rm48pkdxwj4nqx5za1lsnv376m4x5bs"))))
a4df5756
SB
4714 (build-system glib-or-gtk-build-system)
4715 (arguments
4716 '(#:phases
4717 (modify-phases %standard-phases
4718 (replace 'install
4719 (lambda* (#:key outputs #:allow-other-keys)
4720 (let* ((out (assoc-ref outputs "out"))
4721 (keysdir (string-append
4722 out "/share/gnome-control-center/keybindings")))
4723 (zero? (system* "make"
4724 (string-append "keysdir=" keysdir)
4725 "install")))))
4726 (add-after
4727 'install 'wrap-programs
4728 (lambda* (#:key outputs #:allow-other-keys)
4729 (let ((out (assoc-ref outputs "out"))
4730 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4731 (python-path (getenv "PYTHONPATH")))
4732 (wrap-program (string-append out "/bin/gnome-shell")
4733 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
4734 (for-each
4735 (lambda (prog)
4736 (wrap-program (string-append out "/bin/" prog)
4737 `("PYTHONPATH" ":" prefix (,python-path))
4738 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4739 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
4740 #t))))))
4741 (native-inputs
4742 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4743 ("gobject-introspection" ,gobject-introspection)
4744 ("intltool" ,intltool)
4745 ("pkg-config" ,pkg-config)
4746 ("python" ,python)
4747 ("xsltproc" ,libxslt)))
4748 (inputs
4749 `(("accountsservice" ,accountsservice)
4750 ("caribou" ,caribou)
4751 ("docbook-xsl" ,docbook-xsl)
4752 ("evolution-data-server" ,evolution-data-server)
4753 ("gcr" ,gcr)
4754 ("gdm" ,gdm)
4755 ("gjs" ,gjs)
4756 ("gnome-bluetooth" ,gnome-bluetooth)
4757 ("gnome-control-center" ,gnome-control-center)
4758 ("gnome-desktop" ,gnome-desktop)
4759 ("gnome-settings-daemon" ,gnome-settings-daemon)
4760 ("gst-plugins-base" ,gst-plugins-base)
4761 ("ibus" ,ibus)
4762 ("libcanberra" ,libcanberra)
4763 ("libcroco" ,libcroco)
4764 ("libgweather" ,libgweather)
4765 ("libsoup" ,libsoup)
4766 ("mesa-headers" ,mesa-headers)
4767 ("mutter" ,mutter)
4768 ("network-manager-applet" ,network-manager-applet)
4769 ("polkit" ,polkit)
4770 ("pulseaudio" ,pulseaudio)
4771 ("python-pygobject" ,python-pygobject)
4772 ("startup-notification" ,startup-notification)
4773 ("telepathy-logger" ,telepathy-logger)
4774 ("upower" ,upower)
4775 ;; XXX: required by libgjs.la.
4776 ("readline" ,readline)))
4777 (synopsis "Desktop shell for GNOME")
4778 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
4779 (description
4780 "GNOME Shell provides core user interface functions for the GNOME desktop,
4781like switching to windows and launching applications.")
4782 (license license:gpl2+)))
c3f29bc9
RS
4783
4784(define-public gtk-vnc
4785 (package
4786 (name "gtk-vnc")
4787 (version "0.5.4")
4788 (source
4789 (origin
4790 (method url-fetch)
4791 (uri (string-append "mirror://gnome/sources/" name "/"
4792 (version-major+minor version) "/"
4793 name "-" version ".tar.xz"))
4794 (sha256
4795 (base32
4796 "1rwwdh7lb16xdmy76ca6mpqfc3zfl3a4bkcr0qb6hs6ffrxak2j8"))))
4797 (build-system gnu-build-system)
4798 (arguments
4799 '(#:configure-flags '("--with-gtk=3.0")))
4800 (propagated-inputs
4801 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
4802 (inputs
4803 `(("cyrus-sasl" ,cyrus-sasl)
4804 ("gnutls" ,gnutls)
4805 ("libgcrypt" ,libgcrypt)
4806 ("pulseaudio" ,pulseaudio)))
4807 (native-inputs
4808 `(("glib:bin" ,glib "bin")
4809 ("gobject-introspection" ,gobject-introspection)
4810 ("intltool" ,intltool)
4811 ("pkg-config" ,pkg-config)
4812 ("vala" ,vala)))
4813 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
4814 (synopsis "VNC viewer widget for GTK+")
4815 (description
4816 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
4817applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
4818GTK-VNC implements client side RFB protocol and authentication extensions such
4819as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
4820 (license license:lgpl2.1+)))
8b877545
RS
4821
4822(define-public nautilus
4823 (package
4824 (name "nautilus")
a829a053 4825 (version "3.20.1")
8b877545
RS
4826 (source (origin
4827 (method url-fetch)
4828 (uri (string-append "mirror://gnome/sources/" name "/"
4829 (version-major+minor version) "/"
4830 name "-" version ".tar.xz"))
4831 (sha256
4832 (base32
a829a053 4833 "1s41bsihacs7cywm60vqgv46m22gmga4b0bwxnki4r02jjwhgagj"))))
8b877545
RS
4834 (build-system glib-or-gtk-build-system)
4835 (arguments
6983ba56
SB
4836 '(#:configure-flags
4837 '("--disable-tracker" "--disable-selinux") ; XXX: not packaged
8b877545
RS
4838 ;; XXX: FAIL: check-nautilus
4839 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
4840 #:tests? #f))
4841 (native-inputs
4842 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4843 ("gobject-introspection" ,gobject-introspection)
4844 ("intltool" ,intltool)
4845 ("pkg-config" ,pkg-config)))
8b877545
RS
4846 (inputs
4847 ;; TODO: add gvfs support.
4848 `(("dconf" ,dconf)
4849 ("exempi" ,exempi)
4850 ("gnome-desktop" ,gnome-desktop)
ce6027bf
SB
4851 ;; XXX: gtk+ is required by libnautilus-extension.pc
4852 ;;
4853 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
4854 ;; package. See:
4855 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
4856 ("gtk+" ,gtk+)
8b877545
RS
4857 ("libexif" ,libexif)
4858 ("libxml2" ,libxml2)))
4859 (synopsis "File manager for GNOME")
4860 (home-page "https://wiki.gnome.org/Apps/Nautilus")
4861 (description
4862 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
4863design and behaviour, giving the user a simple way to navigate and manage its
4864files.")
4865 (license license:gpl2+)))
3c697ffd
JR
4866
4867(define-public baobab
4868 (package
4869 (name "baobab")
758da0fe 4870 (version "3.20.1")
3c697ffd
JR
4871 (source (origin
4872 (method url-fetch)
4873 (uri (string-append
4874 "mirror://gnome/sources/" name "/"
4875 (version-major+minor version) "/"
4876 name "-" version ".tar.xz"))
4877 (sha256
4878 (base32
758da0fe 4879 "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9"))))
3c697ffd
JR
4880 (build-system glib-or-gtk-build-system)
4881 (native-inputs
4882 `(("intltool" ,intltool)
4883 ("pkg-config" ,pkg-config)
4884 ("itstool" ,itstool)
4885 ("xmllint" ,libxml2)
4886 ("glib" ,glib "bin")
4887 ("vala" ,vala)))
4888 (inputs
4889 `(("gtk+" ,gtk+)))
4890 (synopsis "Disk usage analyzer for GNOME")
4891 (description
4892 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
4893usage in the GNOME desktop environment. It can easily scan device volumes or
4894a specific user-requested directory branch (local or remote). Once the scan
4895is complete it provides a graphical representation of each selected folder.")
4896 (home-page "https://wiki.gnome.org/Apps/Baobab")
4897 (license license:gpl2+)))
dc050251 4898
fdba447c
RS
4899(define-public gnome-backgrounds
4900 (package
4901 (name "gnome-backgrounds")
6983ba56 4902 (version "3.20")
fdba447c
RS
4903 (source
4904 (origin
4905 (method url-fetch)
4906 (uri (string-append "mirror://gnome/sources/" name "/"
4907 (version-major+minor version) "/"
4908 name "-" version ".tar.xz"))
4909 (sha256
4910 (base32
6983ba56 4911 "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n"))))
fdba447c
RS
4912 (build-system glib-or-gtk-build-system)
4913 (native-inputs
4914 `(("intltool" ,intltool)))
4915 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
4916 (synopsis "Background images for the GNOME desktop")
4917 (description
4918 "GNOME backgrounds package contains a collection of graphics files which
4919can be used as backgrounds in the GNOME Desktop environment. Additionally,
4920the package creates the proper framework and directory structure so that you
4921can add your own files to the collection.")
4922 (license (list license:gpl2+
4923 license:cc-by2.0
4924 license:cc-by-sa2.0
4925 license:cc-by-sa3.0))))
4926
b784b1a9
RS
4927(define-public gnome-screenshot
4928 (package
4929 (name "gnome-screenshot")
4930 (version "3.18.0")
4931 (source
4932 (origin
4933 (method url-fetch)
4934 (uri (string-append "mirror://gnome/sources/" name "/"
4935 (version-major+minor version) "/"
4936 name "-" version ".tar.xz"))
4937 (sha256
4938 (base32
4939 "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"))))
4940 (build-system glib-or-gtk-build-system)
4941 (native-inputs
4942 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4943 ("intltool" ,intltool)
4944 ("pkg-config" ,pkg-config)))
4945 (inputs
4946 `(("gtk+" ,gtk+)
4947 ("libcanberra" ,libcanberra)
4948 ("libx11" ,libx11)
4949 ("libxext" ,libxext)))
4950 (home-page "https://git.gnome.org/browse/gnome-screenshot")
4951 (synopsis "Take pictures of your screen")
4952 (description
4953 "GNOME Screenshot is a utility used for taking screenshots of the entire
4954screen, a window or a user defined area of the screen, with optional
4955beautifying border effects.")
4956 (license license:gpl2+)))
4957
66d59111
RS
4958(define-public dconf-editor
4959 (package
4960 (name "dconf-editor")
0ddba707 4961 (version "3.20.1")
66d59111
RS
4962 (source
4963 (origin
4964 (method url-fetch)
4965 (uri (string-append "mirror://gnome/sources/" name "/"
4966 (version-major+minor version) "/"
4967 name "-" version ".tar.xz"))
4968 (sha256
4969 (base32
0ddba707 4970 "0pfpmvpv57a01nsd1fah3np33avihm5ic43fi6b60dyw6c5z953p"))))
66d59111
RS
4971 (build-system glib-or-gtk-build-system)
4972 (native-inputs
4973 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
4974 ("intltool" ,intltool)
4975 ("pkg-config" ,pkg-config)))
4976 (inputs
4977 `(("dconf" ,dconf)
4978 ("gtk+" ,gtk+)
4979 ("libxml2" ,libxml2)))
4980 (home-page "https://git.gnome.org/browse/dconf-editor")
4981 (synopsis "Graphical editor for GNOME's dconf configuration system")
4982 (description
4983 "Dconf-editor is a graphical tool for browsing and editing the dconf
4984configuration system for GNOME. It allows users to configure desktop
4985software that do not provide their own configuration interface.")
4986 (license license:lgpl2.1+)))
4987
dc050251
SB
4988(define-public gnome
4989 (package
4990 (name "gnome")
4991 (version (package-version gnome-shell))
4992 (source #f)
4993 (build-system trivial-build-system)
4994 (arguments '(#:builder (mkdir %output)))
4995 (propagated-inputs
4996 ;; TODO: Add more packages according to:
4997 ;; <https://packages.debian.org/jessie/gnome-core>.
4998 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 4999 ("baobab" ,baobab)
0bd3597b 5000 ("font-cantarell" ,font-cantarell)
dc050251
SB
5001 ("at-spi2-core" ,at-spi2-core)
5002 ("dbus" ,dbus)
5003 ("dconf" ,dconf)
72360453 5004 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
5005 ("eog" ,eog)
5006 ("epiphany" ,epiphany)
5007 ("evince" ,evince)
5008 ("gedit" ,gedit)
5009 ("glib-networking" ,glib-networking)
05f651c4 5010 ("gnome-backgrounds" ,gnome-backgrounds)
dc050251
SB
5011 ("gnome-control-center" ,gnome-control-center)
5012 ("gnome-keyring" ,gnome-keyring)
5013 ("gnome-session" ,gnome-session)
5014 ("gnome-settings-daemon" ,gnome-settings-daemon)
5015 ("gnome-shell" ,gnome-shell)
5016 ("gnome-terminal" ,gnome-terminal)
5017 ("gnome-themes-standard" ,gnome-themes-standard)
05f651c4 5018 ("gvfs" ,gvfs)
dc050251
SB
5019 ("hicolor-icon-theme" ,hicolor-icon-theme)
5020 ("nautilus" ,nautilus)
5021 ("pulseaudio" ,pulseaudio)
5022 ("shared-mime-info" ,shared-mime-info)
5023 ("totem" ,totem)
5024 ("yelp" ,yelp)
5025 ("zenity" ,zenity)))
fe4e698d 5026 (synopsis "The GNU desktop environment")
dc050251
SB
5027 (home-page "https://www.gnome.org/")
5028 (description
fe4e698d
LC
5029 "GNOME is the graphical desktop for GNU. It includes a wide variety of
5030applications for browsing the web, editing text and images, creating
5031documents and diagrams, playing media, scanning, and much more.")
dc050251 5032 (license license:gpl2+)))
4a526711
DT
5033
5034(define-public byzanz
5035 ;; The last stable release of Byzanz was in 2011, but there have been many
5036 ;; useful commits made to the Byzanz repository since then that it would be
5037 ;; silly to use such an old release.
5038 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
5039 (package
5040 (name "byzanz")
5041 (version (string-append "0.2-1." (string-take commit 7)))
5042 (source (origin
5043 (method git-fetch)
5044 (uri (git-reference
5045 (url "git://git.gnome.org/byzanz")
5046 (commit commit)))
5047 (sha256
5048 (base32
5049 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
5050 (build-system glib-or-gtk-build-system)
5051 (arguments
5052 '(#:phases
5053 (modify-phases %standard-phases
5054 (add-after 'unpack 'bootstrap
5055 (lambda _
5056 ;; The build system cleverly detects that we're not building from
5057 ;; a release tarball and turns on -Werror for GCC.
5058 ;; Unsurprisingly, there is a warning during compilation that
5059 ;; causes the build to fail unnecessarily, so we remove the flag.
5060 (substitute* '("configure.ac")
5061 (("-Werror") ""))
5062 ;; The autogen.sh script in gnome-common will run ./configure
5063 ;; by default, which is problematic because source shebangs
5064 ;; have not yet been patched.
5065 (setenv "NOCONFIGURE" "t")
5066 (zero? (system* "sh" "autogen.sh")))))))
5067 (native-inputs
5068 `(("autoconf" ,autoconf)
5069 ("automake" ,automake)
5070 ("gnome-common" ,gnome-common)
5071 ("intltool" ,intltool)
5072 ("libtool" ,libtool)
5073 ("pkg-config" ,pkg-config)
5074 ("which" ,which)))
5075 (inputs
5076 `(("glib" ,glib)
5077 ("gstreamer" ,gstreamer)
5078 ("gst-plugins-base" ,gst-plugins-base)
5079 ("gtk+" ,gtk+)))
5080 (synopsis "Desktop recording program")
5081 (description "Byzanz is a simple desktop recording program with a
5082command-line interface. It can record part or all of an X display for a
5083specified duration and save it as a GIF encoded animated image file.")
5084 (home-page "https://git.gnome.org/browse/byzanz")
5085 (license license:gpl2+))))
3a9a4c51
RS
5086
5087(define-public libzapojit
5088 (package
5089 (name "libzapojit")
5090 (version "0.0.3")
5091 (source (origin
5092 (method url-fetch)
5093 (uri (string-append "mirror://gnome/sources/" name "/"
5094 (version-major+minor version) "/"
5095 name "-" version ".tar.xz"))
5096 (sha256
5097 (base32
5098 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
5099 (build-system gnu-build-system)
5100 (native-inputs
5101 `(("gobject-introspection" ,gobject-introspection)
5102 ("intltool" ,intltool)
5103 ("pkg-config" ,pkg-config)))
5104 (inputs
5105 `(("gnome-online-accounts" ,gnome-online-accounts)
5106 ("json-glib" ,json-glib)
5107 ("rest" ,rest)))
5108 (home-page "https://wiki.gnome.org/Projects/Zapojit")
5109 (synopsis "Library for accessing SkyDrive and Hotmail")
5110 (description
5111 "Libzapojit is a GLib-based library for accessing online service APIs of
5112Microsoft SkyDrive and Hotmail, using their REST protocols.")
5113 (license license:lgpl2.1+)))
9365ee1c 5114
3c474897
KY
5115(define-public gnome-calendar
5116 (package
5117 (name "gnome-calendar")
5118 (version "3.20.2")
5119 (source (origin
5120 (method url-fetch)
5121 (uri (string-append "mirror://gnome/sources/" name "/"
5122 (version-major+minor version) "/"
5123 name "-" version ".tar.xz"))
5124 (sha256
5125 (base32
5126 "1vny8fclwglapdyxd2g9fbwdlk5hhnb993k2hvq3rf0hcgswycpi"))))
5127 (build-system glib-or-gtk-build-system)
5128 (native-inputs
5129 `(("intltool" ,intltool)
5130 ("pkg-config" ,pkg-config)))
5131 (inputs
5132 `(("bdb" ,bdb)
5133 ("desktop-file-utils" ,desktop-file-utils)
5134 ("evolution-data-server" ,evolution-data-server)
5135 ("gnome-online-accounts" ,gnome-online-accounts)))
5136 (home-page "https://wiki.gnome.org/Apps/Calendar")
5137 (synopsis "GNOME's calendar application")
5138 (description
5139 "GNOME Calendar is a simple calendar application designed to fit the GNOME
5140desktop. It supports multiple calendars, monthly view and yearly view.")
5141 (license license:gpl3+)))
5142
9365ee1c
JN
5143(define-public gnome-tweak-tool
5144 (package
5145 (name "gnome-tweak-tool")
5146 (version "3.20.1")
5147 (source (origin
5148 (method url-fetch)
5149 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
5150 (version-major+minor version) "/"
5151 "gnome-tweak-tool-" version ".tar.xz"))
5152 (patches (list
5153 (search-patch "gnome-tweak-tool-search-paths.patch")))
5154 (sha256
5155 (base32
5156 "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
5157 (build-system gnu-build-system)
5158 (arguments
5159 `(#:configure-flags '("--localstatedir=/tmp"
5160 "--sysconfdir=/tmp")
5161 #:imported-modules ((guix build python-build-system)
5162 ,@%gnu-build-system-modules)
5163 #:phases (modify-phases %standard-phases
5164 (add-after 'install 'wrap
5165 (@@ (guix build python-build-system) wrap)))))
5166 (native-inputs
5167 `(("intltool" ,intltool)
5168 ("pkg-config" ,pkg-config)))
5169 (inputs
5170 `(("python" ,python-2)
5171 ("python2-pygobject" ,python2-pygobject)))
5172 (propagated-inputs
5173 `(("libnotify" ,libnotify)
5174 ("gobject-introspection" ,gobject-introspection)
5175 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5176 ("gtk+" ,gtk+)))
5177 (synopsis "Customize advanced GNOME 3 options")
5178 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
5179 (description
5180 "GNOME Tweak Tool allows adjusting advanced configuration settings in
5181GNOME 3. This includes things like the fonts used in user interface elements,
5182alternative user interface themes, changes in window management behavior,
5183GNOME Shell appearance and extension, etc.")
5184 (license license:gpl3+)))
813f814a
DT
5185
5186(define-public arc-theme
5187 (package
5188 (name "arc-theme")
5189 (version "20160605")
5190 (source (origin
5191 (method url-fetch)
5192 (uri (string-append "https://github.com/horst3180/arc-theme"
5193 "/archive/" version ".tar.gz"))
5194 (file-name (string-append name "-" version ".tar.gz"))
5195 (sha256
5196 (base32
5197 "0sq2031xda8jn2ws0x2bvhq77jfh7xy0c3kg86v6vm2kbrrss7y6"))))
5198 (build-system gnu-build-system)
5199 (arguments
5200 '(#:phases
5201 (modify-phases %standard-phases
5202 (add-after 'unpack 'bootstrap
5203 (lambda _
5204 (zero? (system* "autoreconf" "-vif")))))))
5205 (native-inputs
5206 `(("autoconf" ,autoconf)
5207 ("automake" ,automake)
5208 ("pkg-config" ,pkg-config)))
5209 (inputs
5210 `(("gtk+" ,gtk+)))
5211 (synopsis "A flat GTK+ theme with transparent elements")
5212 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
52132, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
5214like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
5215 (home-page "https://github.com/horst3180/arc-theme")
5216 ;; No "or later" language found.
5217 (license license:gpl3)))
9987c57c
DT
5218
5219(define-public moka-icon-theme
5220 (package
5221 (name "moka-icon-theme")
5222 (version "5.3.1")
5223 (source (origin
5224 (method url-fetch)
5225 (uri (string-append "https://github.com/moka-project"
5226 "/moka-icon-theme/archive/v"
5227 version ".tar.gz"))
5228 (file-name (string-append name "-" version ".tar.gz"))
5229 (sha256
5230 (base32
5231 "1lnk7p8dsd9xh6cgz5krvlcr457w8yl4m6p6s5c2g5narsjswzrm"))))
5232 (build-system gnu-build-system)
5233 (arguments
5234 '(#:phases
5235 (modify-phases %standard-phases
5236 (add-after 'unpack 'patch-makefile.am
5237 (lambda _
5238 (substitute* '("Makefile.am")
5239 (("\\$\\(DESTDIR\\)/usr/share")
5240 "$(datadir)"))
5241 #t))
5242 (add-after 'patch-makefile.am 'bootstrap
5243 (lambda _
5244 (zero? (system* "autoreconf" "-vif")))))))
5245 (native-inputs
5246 `(("autoconf" ,autoconf)
5247 ("automake" ,automake)))
5248 (synopsis "Moka icon theme")
5249 (description "Moka is a stylized desktop icon set, designed to be clear,
5250simple and consistent.")
5251 (home-page "http://snwh.org/moka")
5252 (license license:gpl3+)))
6fd8f8d6
DT
5253
5254(define-public arc-icon-theme
5255 (package
5256 (name "arc-icon-theme")
5257 (version "20160605")
5258 (source (origin
5259 (method url-fetch)
5260 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
5261 "/archive/" version ".tar.gz"))
5262 (file-name (string-append name "-" version ".tar.gz"))
5263 (sha256
5264 (base32
5265 "1npf0ki0j0llrw9wbffhxxa1cdms0q7b8xlg9m943dd9g7pgdm2p"))))
5266 (build-system gnu-build-system)
5267 (arguments
5268 '(#:phases
5269 (modify-phases %standard-phases
5270 (add-after 'unpack 'bootstrap
5271 (lambda _
5272 (zero? (system* "autoreconf" "-vif")))))))
5273 (native-inputs
5274 `(("autoconf" ,autoconf)
5275 ("automake" ,automake)))
5276 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
5277 (propagated-inputs
5278 `(("moka-icon-theme" ,moka-icon-theme)))
5279 (synopsis "Arc icon theme")
5280 (description "The Arc icon theme provides a set of icons matching the
5281style of the Arc GTK theme. Icons missing from the Arc theme are provided by
5282the Moka icon theme.")
5283 (home-page "https://github.com/horst3180/arc-icon-theme")
5284 (license license:gpl3+)))