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