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