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