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