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