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