gnu: gvfs: Update to 1.38.1.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
CommitLineData
995b7261 1;;; GNU Guix --- Functional package management for GNU
109da1c0 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
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)
e762d943 84 #:use-module (gnu packages file-systems)
a56be436 85 #:use-module (gnu packages fontutils)
b29909b4 86 #:use-module (gnu packages freedesktop)
dfc407f3 87 #:use-module (gnu packages game-development)
90387432 88 #:use-module (gnu packages gcc)
fed5a689 89 #:use-module (gnu packages gettext)
b29909b4
TGR
90 #:use-module (gnu packages ghostscript)
91 #:use-module (gnu packages gl)
995b7261 92 #:use-module (gnu packages glib)
c1354b90 93 #:use-module (gnu packages gnupg)
23a22af6 94 #:use-module (gnu packages gnuzilla)
b29909b4
TGR
95 #:use-module (gnu packages gperf)
96 #:use-module (gnu packages graphviz)
85f5dc19 97 #:use-module (gnu packages gstreamer)
d9c1a22b 98 #:use-module (gnu packages gtk)
6b888eff 99 #:use-module (gnu packages guile)
b645146f 100 #:use-module (gnu packages ibus)
b29909b4
TGR
101 #:use-module (gnu packages image)
102 #:use-module (gnu packages imagemagick)
103 #:use-module (gnu packages inkscape)
9cc98f8a 104 #:use-module (gnu packages iso-codes)
b29909b4 105 #:use-module (gnu packages kerberos)
85f5dc19 106 #:use-module (gnu packages libcanberra)
b64e217f 107 #:use-module (gnu packages libunistring)
75016d07 108 #:use-module (gnu packages libusb)
b29909b4 109 #:use-module (gnu packages linux)
4e3fc547 110 #:use-module (gnu packages lirc)
7b212526 111 #:use-module (gnu packages lua)
b29909b4
TGR
112 #:use-module (gnu packages mail)
113 #:use-module (gnu packages multiprecision)
64fce637 114 #:use-module (gnu packages music)
b29909b4
TGR
115 #:use-module (gnu packages ncurses)
116 #:use-module (gnu packages nettle)
ba5dd105 117 #:use-module (gnu packages networking)
5fc9b6c1 118 #:use-module (gnu packages ninja)
aff0cce9 119 #:use-module (gnu packages nss)
b29909b4 120 #:use-module (gnu packages openldap)
b645146f 121 #:use-module (gnu packages password-utils)
de1215e2 122 #:use-module (gnu packages pcre)
b29909b4 123 #:use-module (gnu packages pdf)
27477d2d 124 #:use-module (gnu packages perl)
f70d8383 125 #:use-module (gnu packages photo)
995b7261 126 #:use-module (gnu packages pkg-config)
b29909b4
TGR
127 #:use-module (gnu packages polkit)
128 #:use-module (gnu packages popt)
7d3bb433 129 #:use-module (gnu packages pretty-print)
23a22af6 130 #:use-module (gnu packages pulseaudio)
995b7261 131 #:use-module (gnu packages python)
00014781
RW
132 #:use-module (gnu packages python-crypto)
133 #:use-module (gnu packages python-web)
44d10b1f 134 #:use-module (gnu packages python-xyz)
cce0da5e 135 #:use-module (gnu packages rdesktop)
b29909b4 136 #:use-module (gnu packages readline)
a76d0f03 137 #:use-module (gnu packages ruby)
ec47c07d 138 #:use-module (gnu packages rust)
b29909b4 139 #:use-module (gnu packages samba)
75016d07 140 #:use-module (gnu packages scanner)
240cee8a 141 #:use-module (gnu packages selinux)
c27e02bf 142 #:use-module (gnu packages slang)
b29909b4
TGR
143 #:use-module (gnu packages speech)
144 #:use-module (gnu packages spice)
cd0322a3 145 #:use-module (gnu packages sqlite)
4a1bf090 146 #:use-module (gnu packages ssh)
8f9ac901 147 #:use-module (gnu packages tex)
33dc54b0 148 #:use-module (gnu packages time)
a7fd7b68 149 #:use-module (gnu packages tls)
3c5dbd2b 150 #:use-module (gnu packages version-control)
b29909b4 151 #:use-module (gnu packages video)
59132b80 152 #:use-module (gnu packages virtualization)
f2b96b3a 153 #:use-module (gnu packages vpn)
a18f8eaf 154 #:use-module (gnu packages web)
b29909b4
TGR
155 #:use-module (gnu packages web)
156 #:use-module (gnu packages webkit)
157 #:use-module (gnu packages xdisorg)
158 #:use-module (gnu packages xiph)
159 #:use-module (gnu packages xml)
d633f2f6 160 #:use-module (gnu packages xorg)
b29909b4 161 #:use-module (gnu packages xorg)
a76d0f03 162 #:use-module (gnu artwork)
b29909b4
TGR
163 #:use-module (guix build-system cmake)
164 #:use-module (guix build-system glib-or-gtk)
165 #:use-module (guix build-system gnu)
166 #:use-module (guix build-system meson)
08be02be 167 #:use-module (guix build-system python)
b29909b4
TGR
168 #:use-module (guix build-system trivial)
169 #:use-module (guix download)
170 #:use-module (guix git-download)
171 #:use-module ((guix licenses) #:prefix license:)
172 #:use-module (guix packages)
173 #:use-module (guix utils)
a76d0f03 174 #:use-module (guix gexp)
4e3fdeb7 175 #:use-module (ice-9 match)
c024ae36 176 #:use-module (srfi srfi-1))
85f5dc19
AE
177
178(define-public brasero
179 (package
180 (name "brasero")
e2bf423a 181 (version "3.12.2")
85f5dc19
AE
182 (source (origin
183 (method url-fetch)
e8627cd9
DH
184 (uri (string-append "mirror://gnome/sources/" name "/"
185 (version-major+minor version) "/"
186 name "-" version ".tar.xz"))
85f5dc19
AE
187 (sha256
188 (base32
e2bf423a 189 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
1c40e3b7 190 (build-system glib-or-gtk-build-system)
e8627cd9
DH
191 (arguments
192 `(#:configure-flags (list
193 (string-append "--with-girdir="
194 (assoc-ref %outputs "out")
195 "/share/gir-1.0")
196 (string-append "--with-typelibdir="
197 (assoc-ref %outputs "out")
ce426deb
TD
198 "/lib/girepository-1.0"))
199 #:phases
200 (modify-phases %standard-phases
201 (add-before 'configure 'embed-growisofs
202 (lambda* (#:key inputs #:allow-other-keys)
203 (substitute* "plugins/growisofs/burn-growisofs.c"
204 (("\"growisofs") (string-append "\"" (which "growisofs"))))
e2bf423a 205 #t)))))
85f5dc19
AE
206 (propagated-inputs
207 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
208 (native-inputs
209 `(("intltool" ,intltool)
426adbe8 210 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 211 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 212 ("pkg-config" ,pkg-config)))
85f5dc19 213 (inputs
ce426deb
TD
214 `(("dvd+rw-tools" ,dvd+rw-tools)
215 ("glib" ,glib)
85f5dc19
AE
216 ("gnome-doc-utils" ,gnome-doc-utils)
217 ("gstreamer" ,gstreamer)
218 ("gst-plugins-base" ,gst-plugins-base)
219 ("gtk+" ,gtk+)
85f5dc19
AE
220 ("itstool" ,itstool)
221 ("libcanberra" ,libcanberra)
222 ("libice" ,libice)
223 ("libnotify" ,libnotify)
224 ("libsm" ,libsm)
e8627cd9
DH
225 ("libxml2" ,libxml2)
226 ("nettle" ,nettle)
227 ("totem-pl-parser" ,totem-pl-parser)))
85f5dc19
AE
228 (home-page "https://projects.gnome.org/brasero/")
229 (synopsis "CD/DVD burning tool for Gnome")
230 (description "Brasero is an application to burn CD/DVD for the Gnome
231Desktop. It is designed to be as simple as possible and has some unique
232features to enable users to create their discs easily and quickly.")
1dd26275 233 (license license:gpl2+)))
995b7261 234
d61a894b
CB
235(define-public deja-dup
236 (package
237 (name "deja-dup")
238 (version "34.3")
239 (source (origin
240 (method url-fetch)
241 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
242 (sha256
243 (base32
244 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
245 (patches
246 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
247 (build-system glib-or-gtk-build-system)
248 (arguments
249 `(#:modules ((guix build gnu-build-system)
250 ((guix build cmake-build-system) #:prefix cmake:)
251 (guix build glib-or-gtk-build-system)
252 (guix build utils))
253 #:imported-modules (,@%glib-or-gtk-build-system-modules
254 (guix build cmake-build-system))
255 #:test-target "test"
256 #:configure-flags (list (string-append
257 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
258 (string-append
259 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
260 #:phases
261 (modify-phases %standard-phases
262 (add-after 'unpack 'patch-lockfile-deletion
263 (lambda rest
264 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
265 (("/bin/rm")
266 (which "rm")))))
267 (replace 'configure
268 (assoc-ref cmake:%standard-phases 'configure))
269 (delete 'check) ;; Fails due to issues with DBus
270 (add-after 'install 'wrap-deja-dup
271 (lambda* (#:key inputs outputs #:allow-other-keys)
272 (let ((python (assoc-ref inputs "python"))
273 (python-path (getenv "PYTHONPATH"))
274 (duplicity (assoc-ref inputs "duplicity"))
275 (out (assoc-ref outputs "out")))
276 (for-each
277 (lambda (program)
278 (wrap-program program
279 `("PATH" ":" prefix (,(string-append python "/bin")
280 ,(string-append duplicity "/bin"))))
281 (wrap-program program
282 `("PYTHONPATH" ":" prefix (,python-path))))
283
284 (find-files (string-append out "/bin")))
285 #t))))))
286 (inputs
287 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
288 ("gobject-introspection" ,gobject-introspection)
289 ("duplicity" ,duplicity)
61506fe5 290 ("python" ,python-2)
d61a894b
CB
291 ("python-pygobject" ,python2-pygobject)
292 ("gtk+" ,gtk+)
293 ("libnotify" ,libnotify)
294 ("libpeas" ,libpeas)
295 ("libsecret" ,libsecret)
296 ("packagekit" ,packagekit)))
297 (native-inputs
298 `(("pkg-config" ,pkg-config)
299 ("vala" ,vala)
300 ("gettext" ,gettext-minimal)
301 ("itstool" ,itstool)
302 ("intltool" ,intltool)
c69959f0 303 ("cmake" ,cmake-minimal)))
d61a894b
CB
304 (home-page "https://launchpad.net/deja-dup")
305 (synopsis "Simple backup tool, for regular encrypted backups")
306 (description
307 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
308uses duplicity as the backend, which supports incremental backups and storage
309either on a local, or remote machine via a number of methods.")
310 (license license:gpl3+)))
311
a56be436
RJ
312(define-public dia
313 ;; This version from GNOME's repository includes fixes for compiling with
314 ;; recent versions of the build tools. The latest activity on the
315 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
316 ;; fixes in 2016.
317 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
318 (package
319 (name "dia")
320 (version (string-append "0.97.2-" (string-take commit 7)))
321 (source (origin
322 (method git-fetch)
323 (uri (git-reference
324 (url "https://git.gnome.org/browse/dia")
325 (commit commit)))
326 (file-name (string-append name "-" version "-checkout"))
327 (sha256
328 (base32
329 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
330 (build-system gnu-build-system)
331 (inputs
332 `(("glib" ,glib "bin")
333 ("pango" ,pango)
334 ("gdk-pixbuf" ,gdk-pixbuf)
335 ("gtk+" ,gtk+-2)
336 ("libxml2" ,libxml2)
337 ("freetype" ,freetype)
338 ("libart-lgpl" ,libart-lgpl)))
339 (native-inputs
340 `(("intltool" ,intltool)
341 ("pkg-config" ,pkg-config)
342 ("automake" ,automake)
343 ("autoconf" ,autoconf)
344 ("libtool" ,libtool)
345 ("perl" ,perl)
346 ("python-wrapper" ,python-wrapper)))
347 (arguments
348 `(#:phases
349 (modify-phases %standard-phases
d10092b8 350 (add-after 'unpack 'run-autogen
a56be436
RJ
351 (lambda _
352 (system* "sh" "autogen.sh"))))))
353 (home-page "https://wiki.gnome.org/Apps/Dia")
354 (synopsis "Diagram creation for GNOME")
355 (description "Dia can be used to draw different types of diagrams, and
356includes support for UML static structure diagrams (class diagrams), entity
357relationship modeling, and network diagrams. The program supports various file
358formats like PNG, SVG, PDF and EPS.")
359 (license license:gpl2+))))
360
d0b19e44
RW
361;; This is the unstable release, but it is required for the current stable
362;; release of gvfs (1.38.1).
adc5cb1b
KK
363(define-public libgdata
364 (package
365 (name "libgdata")
d0b19e44 366 (version "0.17.9")
adc5cb1b
KK
367 (source (origin
368 (method url-fetch)
369 (uri (string-append "mirror://gnome/sources/" name "/"
370 (version-major+minor version) "/"
371 name "-" version ".tar.xz"))
372 (sha256
373 (base32
d0b19e44 374 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
adc5cb1b
KK
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)
d0b19e44 394 ("glib-networking" ,glib-networking)))
adc5cb1b
KK
395 (propagated-inputs
396 `(("gcr" ,gcr)
d0b19e44 397 ("glib" ,glib)
14c297fd 398 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
d0b19e44 399 ("json-glib" ,json-glib)
adc5cb1b 400 ("liboauth" ,liboauth)
d0b19e44 401 ("libsoup" ,libsoup)
adc5cb1b
KK
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")
e762d943 4165 (version "1.38.1")
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
e762d943
RW
4173 "18311pn5kp9b4kf5prvhcjs0cwf7fm3mqh6s6p42avcr5j26l4zd"))))
4174 (build-system meson-build-system)
3dc8828f 4175 (arguments
e762d943
RW
4176 '(#:glib-or-gtk? #t
4177 #:configure-flags
4178 (list "-Dsystemduserunitdir=no"
4179 "-Dtmpfilesdir=no"
4180 ;; Otherwise, the RUNPATH will lack the final path component.
4181 (string-append "-Dc_link_args=-Wl,-rpath="
4182 (assoc-ref %outputs "out") "/lib/gvfs"))))
3dc8828f
SB
4183 (native-inputs
4184 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
0ab9f949
RW
4185 ("gettext" ,gettext-minimal)
4186 ("gtk-doc" ,gtk-doc)
3dc8828f
SB
4187 ("pkg-config" ,pkg-config)
4188 ("xsltproc" ,libxslt)))
4189 (inputs
4190 `(("avahi" ,avahi)
4191 ("docbook-xml" ,docbook-xml-4.2)
4192 ("docbook-xsl" ,docbook-xsl)
4193 ("dbus" ,dbus)
e762d943 4194 ("elogind" ,elogind)
3dc8828f 4195 ("fuse" ,fuse)
24a78aa6 4196 ("gcr" ,gcr)
3dc8828f 4197 ("glib" ,glib)
e762d943 4198 ("gnome-online-accounts" ,gnome-online-accounts)
3dc8828f
SB
4199 ("libarchive" ,libarchive)
4200 ("libbluray" ,libbluray)
8852ca24 4201 ("libcap" ,libcap)
3dc8828f
SB
4202 ("libcdio-paranoia" ,libcdio-paranoia)
4203 ("libgcrypt" ,libgcrypt)
e762d943 4204 ("libgdata" ,libgdata)
3dc8828f
SB
4205 ("libgphoto2" ,libgphoto2)
4206 ("libgudev" ,libgudev)
0ab9f949 4207 ("libimobiledevice" ,libimobiledevice)
3dc8828f 4208 ("libmtp" ,libmtp)
e762d943 4209 ("libnfs" ,libnfs)
3dc8828f
SB
4210 ("libsecret" ,libsecret)
4211 ("libsmbclient" ,samba)
4212 ("libsoup" ,libsoup)
4213 ("libxml2" ,libxml2)
4214 ("nettle" ,nettle) ; XXX: required by libarchive.pc
e762d943 4215 ("openssh" ,openssh)
8852ca24 4216 ("polkit" ,polkit)
3dc8828f
SB
4217 ("udisks" ,udisks)))
4218 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 4219 (synopsis "Userspace virtual file system for GIO")
3dc8828f 4220 (description
8f65585b 4221 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
4222abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4223to all applications using the GIO API. It also supports exposing the GVFS
4224mounts to non-GIO applications using FUSE.
4225
4226GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4227DAV, and others.")
4228 (license license:lgpl2.0+)))
7c88b6bd
AW
4229
4230(define-public gusb
4231 (package
4232 (name "gusb")
536b3274 4233 (version "0.3.0")
7c88b6bd
AW
4234 (source (origin
4235 (method url-fetch)
4236 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
536b3274 4237 version ".tar.gz"))
7c88b6bd
AW
4238 (sha256
4239 (base32
536b3274
MB
4240 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4241 (build-system meson-build-system)
7c88b6bd 4242 (native-inputs
536b3274 4243 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
4244 ("pkg-config" ,pkg-config)
4245 ("vala" ,vala)
7c88b6bd
AW
4246 ("gtk-doc" ,gtk-doc)))
4247 (propagated-inputs
4248 ;; Both of these are required by gusb.pc.
4249 `(("glib" ,glib)
4250 ("libusb" ,libusb)))
4251 (arguments
536b3274 4252 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 4253 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 4254 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
4255 (description
4256 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4257asynchronous control, bulk and interrupt transfers with proper cancellation
4258and integration into a mainloop. This makes it easy to integrate low level
4259USB transfers with your high-level application or system daemon.")
4260 (license license:lgpl2.1+)))
0abe1d86
AW
4261
4262(define-public simple-scan
4263 (package
4264 (name "simple-scan")
baca5333 4265 (version "3.24.1")
0abe1d86
AW
4266 (source (origin
4267 (method url-fetch)
4268 (uri (string-append "https://launchpad.net/simple-scan/"
4269 (version-major+minor version) "/"
4270 version "/+download/simple-scan-"
4271 version ".tar.xz"))
4272 (sha256
4273 (base32
baca5333 4274 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
0abe1d86
AW
4275 (build-system glib-or-gtk-build-system)
4276 (inputs
4277 `(("gtk" ,gtk+)
4278 ("zlib" ,zlib)
4279 ("cairo" ,cairo)
4280 ("gdk-pixbuf" ,gdk-pixbuf)
4281 ("gusb" ,gusb)
4c928743 4282 ("libsane" ,sane-backends)))
0abe1d86 4283 (native-inputs
b94a6ca0 4284 `(("gettext" ,gettext-minimal)
0abe1d86
AW
4285 ("itstool" ,itstool)
4286 ("colord" ,colord)
4287 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4288 ("pkg-config" ,pkg-config)
bcb354ad
SB
4289 ("vala" ,vala)
4290 ("xmllint" ,libxml2)))
fb9ca511
TGR
4291 (arguments
4292 '(#:configure-flags '("--disable-packagekit")
4293 #:phases
4294 (modify-phases %standard-phases
4295 (add-after 'unpack 'clean
4296 (lambda _
4297 ;; Remove a left-over reference to PackageKit.
4298
4299 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4300
4301 ;; There are some generated C files erroneously
4302 ;; included in the source distribution, and this
4303 ;; one breaks the build by referring to a
4304 ;; non-existent header (packagekit.h)
4305 (delete-file "src/ui.c"))))))
0abe1d86
AW
4306 (home-page "https://launchpad.net/simple-scan")
4307 (synopsis "Document and image scanner")
4308 (description "Simple Scan is an easy-to-use application, designed to let
4309users connect their scanner and quickly have the image/document in an
4310appropriate format. Simple Scan is basically a frontend for SANE - which is
4311the same backend as XSANE uses. This means that all existing scanners will
4312work and the interface is well tested.")
4313 (license license:gpl3+)))
7549f984 4314
ab466d79
RW
4315(define-public eolie
4316 (package
4317 (name "eolie")
1d7cf144 4318 (version "0.9.62")
ab466d79
RW
4319 (source (origin
4320 (method url-fetch)
00014781 4321 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
1d7cf144 4322 "uploads/bb4aad19272cc636bd17f2f6602127fe/"
00014781 4323 "eolie-" version ".tar.xz"))
ab466d79
RW
4324 (sha256
4325 (base32
1d7cf144 4326 "06v76hg87fnhw45dil5vvl20myvaa38n1jqsl0lmkkq6af4mk8wx"))))
00014781 4327 (build-system meson-build-system)
ab466d79 4328 (arguments
00014781
RW
4329 `(#:glib-or-gtk? #t
4330 #:phases
ab466d79
RW
4331 (modify-phases %standard-phases
4332 (add-after 'wrap 'wrap-more
4333 (lambda* (#:key inputs outputs #:allow-other-keys)
4334 (let* ((out (assoc-ref outputs "out"))
4335 ;; These libraries must be on LD_LIBRARY_PATH.
4336 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4337 "atk" "gtk+" "gsettings-desktop-schemas"
4338 "gobject-introspection"))
4339 (path (string-join
4340 (map (lambda (lib)
4341 (string-append (assoc-ref inputs lib) "/lib"))
4342 libs)
4343 ":")))
4344 (wrap-program (string-append out "/bin/eolie")
4345 `("LD_LIBRARY_PATH" ":" prefix (,path))
4346 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4347 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4348 #t)))))
4349 (native-inputs
f85ca6ed 4350 `(("intltool" ,intltool)
ab466d79 4351 ("itstool" ,itstool)
d95f1041 4352 ("pkg-config" ,pkg-config)
d95f1041 4353 ("python" ,python)
00014781 4354 ("glib:bin" ,glib "bin")
d95f1041 4355 ("gtk+" ,gtk+ "bin")))
ab466d79
RW
4356 (inputs
4357 `(("gobject-introspection" ,gobject-introspection)
4358 ("glib-networking" ,glib-networking)
4359 ("cairo" ,cairo)
4360 ("gtk+" ,gtk+)
4361 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4362 ("python" ,python-wrapper)
d72f76df 4363 ("python-dateutil" ,python-dateutil)
00014781 4364 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
4365 ("python-pygobject" ,python-pygobject)
4366 ("python-pycairo" ,python-pycairo)
00014781 4367 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
4368 ("libsecret" ,libsecret)
4369 ("gtkspell3" ,gtkspell3)
4370 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 4371 ("webkitgtk" ,webkitgtk)))
166b2c97 4372 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
4373 (synopsis "Web browser for GNOME")
4374 (description
4375 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4376a secret password store, an adblocker, and a modern UI.")
4377 (license license:gpl3+)))
4378
7549f984
SB
4379(define-public epiphany
4380 (package
4381 (name "epiphany")
0e4d4d98 4382 (version "3.28.3.1")
7549f984
SB
4383 (source (origin
4384 (method url-fetch)
dd3266ec 4385 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 4386 (version-major+minor version) "/"
dd3266ec 4387 "epiphany-" version ".tar.xz"))
7549f984
SB
4388 (sha256
4389 (base32
0e4d4d98 4390 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
fc5c5b92
R
4391
4392 (build-system meson-build-system)
7549f984
SB
4393 (arguments
4394 ;; FIXME: tests run under Xvfb, but fail with:
4395 ;; /src/bookmarks/ephy-bookmarks/create:
4396 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4397 ;; subsystem
4398 ;; FAIL
6f48d9db 4399 '(#:tests? #f
e19f9c24
LF
4400 #:glib-or-gtk? #t
4401 #:configure-flags
4402 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4403 (list (string-append "-Dc_link_args=-Wl,-rpath="
4404 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
4405 (propagated-inputs
4406 `(("dconf" ,dconf)))
7549f984 4407 (native-inputs
fc5c5b92
R
4408 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4409 ("glib:bin" ,glib "bin") ; for glib-mkenums
4410 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4411 ("intltool" ,intltool)
7549f984 4412 ("itstool" ,itstool)
bcb354ad
SB
4413 ("pkg-config" ,pkg-config)
4414 ("xmllint" ,libxml2)))
7549f984
SB
4415 (inputs
4416 `(("avahi" ,avahi)
4417 ("gcr" ,gcr)
fc5c5b92 4418 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
4419 ("glib-networking" ,glib-networking)
4420 ("gnome-desktop" ,gnome-desktop)
4421 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 4422 ("json-glib" ,json-glib)
7549f984
SB
4423 ("iso-codes" ,iso-codes)
4424 ("libnotify" ,libnotify)
4425 ("libsecret" ,libsecret)
7549f984 4426 ("libxslt" ,libxslt)
fc5c5b92 4427 ("nettle" ,nettle) ; for hogweed
7549f984 4428 ("sqlite" ,sqlite)
f85ca6ed 4429 ("webkitgtk" ,webkitgtk)))
7549f984
SB
4430 (home-page "https://wiki.gnome.org/Apps/Web")
4431 (synopsis "GNOME web browser")
4432 (description
4433 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4434principles are simplicity and standards compliance.")
4435 (license license:gpl2+)))
a3856b2c
SB
4436
4437(define-public d-feet
4438 (package
4439 (name "d-feet")
458e9221 4440 (version "0.3.14")
a3856b2c
SB
4441 (source (origin
4442 (method url-fetch)
4443 (uri (string-append "mirror://gnome/sources/" name "/"
4444 (version-major+minor version) "/"
4445 name "-" version ".tar.xz"))
4446 (sha256
4447 (base32
458e9221 4448 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
4449 (build-system glib-or-gtk-build-system)
4450 (arguments
4451 '(#:out-of-source? #f ; tests need to run in the source directory.
4452 #:phases
4453 (modify-phases %standard-phases
4454 (add-before
4455 'check 'pre-check
86aff791 4456 (lambda _
a3856b2c
SB
4457 ;; The test suite requires a running X server.
4458 (system "Xvfb :1 &")
4459 (setenv "DISPLAY" ":1")
4460 ;; Don't fail on missing '/etc/machine-id'.
4461 (setenv "DBUS_FATAL_WARNINGS" "0")
4462 ;; tests.py and window.py don't meet E402:
4463 ;; E402 module level import not at top of file
4464 (substitute* "src/tests/Makefile"
86aff791
MW
4465 (("--ignore=E123") "--ignore=E123,E402"))
4466 #t))
a3856b2c
SB
4467 (add-after
4468 'install 'wrap-program
4469 (lambda* (#:key outputs #:allow-other-keys)
4470 (let ((prog (string-append (assoc-ref outputs "out")
4471 "/bin/d-feet")))
4472 (wrap-program prog
4473 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
4474 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4475 #t))))))
a3856b2c
SB
4476 (native-inputs
4477 `(("intltool" ,intltool)
4478 ("itstool" ,itstool)
4479 ("pkg-config" ,pkg-config)
4480 ("python-pep8" ,python-pep8)
4481 ("xmllint" ,libxml2)
4482 ("xorg-server" ,xorg-server)))
4483 (inputs
4484 `(("gobject-introspection" ,gobject-introspection)
4485 ("gtk+" ,gtk+)
4486 ("python" ,python-wrapper)
458e9221 4487 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
4488 ("python-pygobject" ,python-pygobject)))
4489 (home-page "https://wiki.gnome.org/Apps/DFeet")
4490 (synopsis "D-Bus debugger")
4491 (description
4492 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4493of running programs and invoke methods on those interfaces.")
4494 (license license:gpl2+)))
c3b97bd9
SB
4495
4496(define-public yelp-xsl
4497 (package
4498 (name "yelp-xsl")
7c213900 4499 (version "3.28.0")
c3b97bd9
SB
4500 (source (origin
4501 (method url-fetch)
4502 (uri (string-append "mirror://gnome/sources/" name "/"
4503 (version-major+minor version) "/"
4504 name "-" version ".tar.xz"))
4505 (sha256
4506 (base32
7c213900 4507 "14rznm1qpsnmkwksnkd5j7zplakl01kvrcw0fdmd5gdc65xz9kcc"))))
c3b97bd9
SB
4508 (build-system gnu-build-system)
4509 (native-inputs
4510 `(("intltool" ,intltool)
4511 ("itstool" ,itstool)
4512 ("xmllint" ,libxml2)))
4513 (home-page "https://wiki.gnome.org/Apps/Yelp")
4514 (synopsis "XSL stylesheets for Yelp")
4515 (description
4516 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4517to format Docbook and Mallard documents.")
4518 (license license:gpl2+)))
de3d612a
SB
4519
4520(define-public yelp
4521 (package
4522 (name "yelp")
ef7f084f 4523 (version "3.28.1")
de3d612a
SB
4524 (source (origin
4525 (method url-fetch)
4526 (uri (string-append "mirror://gnome/sources/" name "/"
4527 (version-major+minor version) "/"
4528 name "-" version ".tar.xz"))
4529 (sha256
4530 (base32
ef7f084f 4531 "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8"))))
de3d612a
SB
4532 (build-system glib-or-gtk-build-system)
4533 (native-inputs
4534 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4535 ("intltool" ,intltool)
4536 ("itstool" ,itstool)
4537 ("pkg-config" ,pkg-config)))
4538 (propagated-inputs
4539 `(("dconf" ,dconf)))
4540 (inputs
ad1b7d8b
SB
4541 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4542 ("libxslt" ,libxslt)
de3d612a 4543 ("sqlite" ,sqlite)
4c28ca1d
SB
4544 ("webkitgtk" ,webkitgtk)
4545 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
4546 (home-page "https://wiki.gnome.org/Apps/Yelp")
4547 (synopsis "GNOME help browser")
4548 (description
4549 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4550man, info, and HTML documents. It can locate documents according to the
4551freedesktop.org help system specification.")
4552 (license license:gpl2+)))
122d0d10
SB
4553
4554(define-public yelp-tools
4555 (package
4556 (name "yelp-tools")
2089bca5 4557 (version "3.28.0")
122d0d10
SB
4558 (source (origin
4559 (method url-fetch)
4560 (uri (string-append "mirror://gnome/sources/" name "/"
4561 (version-major+minor version) "/"
4562 name "-" version ".tar.xz"))
4563 (sha256
4564 (base32
2089bca5 4565 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
4566 (build-system gnu-build-system)
4567 (native-inputs
4568 `(("pkg-config" ,pkg-config)))
4569 (propagated-inputs
4570 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4571 `(("itstool" ,itstool)
4572 ("xmllint" ,libxml2)
4573 ("xsltproc" ,libxslt)))
4574 (inputs
4575 `(("yelp-xsl" ,yelp-xsl)))
4576 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4577 (synopsis "Yelp documentation tools")
4578 (description
4579 "Yelp-tools is a collection of scripts and build utilities to help create,
4580manage, and publish documentation for Yelp and the web. Most of the heavy
4581lifting is done by packages like yelp-xsl and itstool. This package just
4582wraps things up in a developer-friendly way.")
4583 (license license:gpl2+)))
af8f9f23
RW
4584
4585(define-public libgee
4586 (package
4587 (name "libgee")
b1be07cf 4588 (version "0.20.1")
af8f9f23
RW
4589 (source (origin
4590 (method url-fetch)
4591 (uri (string-append "mirror://gnome/sources/" name "/"
4592 (version-major+minor version) "/"
4593 name "-" version ".tar.xz"))
4594 (sha256
4595 (base32
b1be07cf 4596 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
af8f9f23
RW
4597 (build-system gnu-build-system)
4598 (arguments
4599 `(#:phases
4600 (modify-phases %standard-phases
4601 (add-after 'unpack 'fix-introspection-install-dir
4602 (lambda* (#:key outputs #:allow-other-keys)
4603 (let ((out (assoc-ref outputs "out")))
4604 (substitute* "gee/Makefile.in"
4605 (("@INTROSPECTION_GIRDIR@")
4606 (string-append out "/share/gir-1.0/"))
4607 (("@INTROSPECTION_TYPELIBDIR@")
4608 (string-append out "/lib/girepository-1.0/")))))))))
4609 (native-inputs
4610 `(("glib" ,glib "bin")
4611 ("pkg-config" ,pkg-config)))
4612 (inputs
4613 `(("glib" ,glib)
4614 ("gobject-introspection" ,gobject-introspection)))
4615 (home-page "https://wiki.gnome.org/Projects/Libgee")
4616 (synopsis "GObject collection library")
4617 (description
4618 "Libgee is a utility library providing GObject-based interfaces and
4619classes for commonly used data structures.")
4620 (license license:lgpl2.1+)))
b0f9c4b8
RW
4621
4622(define-public gexiv2
4623 (package
4624 (name "gexiv2")
adf0b482 4625 (version "0.10.10")
b0f9c4b8
RW
4626 (source (origin
4627 (method url-fetch)
4628 (uri (string-append "mirror://gnome/sources/" name "/"
4629 (version-major+minor version) "/"
4630 name "-" version ".tar.xz"))
4631 (sha256
4632 (base32
adf0b482 4633 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
51c482e4 4634 (build-system meson-build-system)
094aaa1a
LC
4635 (arguments
4636 ;; On 32-bit platforms, the test fails with a rounding error:
4637 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=775249>. Just skip it for
4638 ;; now.
4639 (if (and (not (%current-target-system))
4640 (member (%current-system) '("i686-linux" "armhf-linux")))
4641 '(#:tests? #f)
4642 '()))
b0f9c4b8
RW
4643 (native-inputs
4644 `(("glib" ,glib "bin")
4645 ("pkg-config" ,pkg-config)))
4646 (propagated-inputs
4647 ;; Listed in "Requires" section of gexiv2.pc
4648 `(("exiv2" ,exiv2)))
4649 (inputs
4650 `(("glib" ,glib)
4651 ("gobject-introspection" ,gobject-introspection)))
4652 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4653 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4654 (description
4655 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4656allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4657metadata in photo and video files of various formats.")
4658 (license license:gpl2+)))
fed5a689
RW
4659
4660(define-public shotwell
4661 (package
4662 (name "shotwell")
e266043e 4663 (version "0.28.4")
fed5a689
RW
4664 (source (origin
4665 (method url-fetch)
4666 (uri (string-append "mirror://gnome/sources/" name "/"
4667 (version-major+minor version) "/"
4668 name "-" version ".tar.xz"))
4669 (sha256
4670 (base32
e266043e 4671 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
fed5a689 4672 (build-system glib-or-gtk-build-system)
735b8db6
TGR
4673 (propagated-inputs
4674 `(("dconf" ,dconf)))
fed5a689
RW
4675 (native-inputs
4676 `(("pkg-config" ,pkg-config)
f819c21d 4677 ("itstool" ,itstool)
b94a6ca0 4678 ("gettext" ,gettext-minimal)
77e9c993 4679 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
735b8db6
TGR
4680 ("itstool" ,itstool)
4681 ("vala" ,vala)))
fed5a689 4682 (inputs
735b8db6
TGR
4683 `(("glib:bin" ,glib "bin")
4684 ("gstreamer" ,gstreamer)
fed5a689 4685 ("gst-plugins-base" ,gst-plugins-base)
dfb0323d 4686 ("libgdata" ,libgdata)
fed5a689
RW
4687 ("libgee" ,libgee)
4688 ("gexiv2" ,gexiv2)
4689 ("libraw" ,libraw)
4690 ("json-glib" ,json-glib)
7108425c 4691 ("webkitgtk" ,webkitgtk)
fed5a689
RW
4692 ("sqlite" ,sqlite)
4693 ("libsoup" ,libsoup)
4694 ("libxml2" ,libxml2)
fed5a689 4695 ("libgudev" ,libgudev)
522fc32e
LF
4696 ("libgphoto2" ,libgphoto2)
4697 ("gcr" ,gcr)))
fed5a689
RW
4698 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4699 (synopsis "Photo manager for GNOME 3")
4700 (description
4701 "Shotwell is a digital photo manager designed for the GNOME desktop
4702environment. It allows you to import photos from disk or camera, organize
4703them by keywords and events, view them in full-window or fullscreen mode, and
4704share them with others via social networking and more.")
4705 (license license:lgpl2.1+)))
293ff8b2
DT
4706
4707(define-public file-roller
4708 (package
4709 (name "file-roller")
0a500745 4710 (version "3.28.0")
293ff8b2
DT
4711 (source (origin
4712 (method url-fetch)
4713 (uri (string-append "mirror://gnome/sources/" name "/"
4714 (version-major+minor version) "/"
4715 name "-" version ".tar.xz"))
4716 (sha256
4717 (base32
0a500745
RW
4718 "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1"))))
4719 (build-system meson-build-system)
293ff8b2 4720 (native-inputs
0a500745
RW
4721 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4722 ("intltool" ,intltool)
4723 ("pkg-config" ,pkg-config)
4724 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4725 ("glib:bin" ,glib "bin")))
293ff8b2
DT
4726 ;; TODO: Add libnautilus.
4727 (inputs
4728 `(("gtk+" ,gtk+)
4729 ("gdk-pixbuf" ,gdk-pixbuf)
4730 ("json-glib" ,json-glib)
4731 ("libarchive" ,libarchive)
4732 ("libnotify" ,libnotify)
4733 ("nettle" ,nettle)
4734 ("itstool" ,itstool)
4735 ("libxml2" ,libxml2)))
4736 (synopsis "Graphical archive manager for GNOME")
4737 (description "File Roller is an archive manager for the GNOME desktop
4738environment that allows users to view, unpack, and create compressed archives
4739such as gzip tarballs.")
4740 (home-page "http://fileroller.sourceforge.net/")
4741 (license license:gpl2+)))
7ce49365
SB
4742
4743(define-public gnome-session
4744 (package
4745 (name "gnome-session")
df278071 4746 (version "3.28.1")
7ce49365
SB
4747 (source (origin
4748 (method url-fetch)
4749 (uri (string-append "mirror://gnome/sources/" name "/"
4750 (version-major+minor version) "/"
4751 name "-" version ".tar.xz"))
4752 (sha256
4753 (base32
df278071 4754 "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq"))))
2914af3c 4755 (arguments
df278071
RW
4756 '(#:glib-or-gtk? #t
4757 #:phases
2914af3c
AW
4758 (modify-phases %standard-phases
4759 (add-before 'configure 'pre-configure
4760 (lambda* (#:key outputs #:allow-other-keys)
4761 ;; Use elogind instead of systemd.
df278071
RW
4762 (substitute* "meson.build"
4763 (("libsystemd-login") "libelogind")
4764 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
4765 (substitute* "gnome-session/gsm-systemd.c"
4766 (("#include <systemd/sd-login.h>")
4767 "#include <elogind/sd-login.h>"))
df278071 4768 ;; Remove uses of the systemd daemon.
803ab416
SB
4769 (substitute* "gnome-session/gsm-autostart-app.c"
4770 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
4771 #t))
4772 (add-after 'install 'wrap-gnome-session
4773 (lambda* (#:key inputs outputs #:allow-other-keys)
4774 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4775 (let ((glib (assoc-ref inputs "glib:bin"))
4776 (out (assoc-ref outputs "out")))
4777 (wrap-program (string-append out "/bin/gnome-session")
4778 `("PATH" ":" prefix (,(string-append glib "/bin"))))
1d7bff4b
TS
4779 #t)))
4780 (add-after 'install 'add-absolute-paths-to-desktop-files
4781 (lambda* (#:key outputs #:allow-other-keys)
4782 (let* ((out (assoc-ref outputs "out")))
4783 (substitute* (map (lambda (x)
4784 (string-append out "/share/xsessions/" x))
4785 '("gnome.desktop" "gnome-xorg.desktop"))
4786 (("gnome-session") (string-append out "/bin/gnome-session")))
a0d7baaf 4787 #t))))
6cbc8d57 4788
2914af3c 4789 #:configure-flags
df278071
RW
4790 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4791 "-Dman=false" ; FIXME: disabled because of docbook validation error
4792 "-Dsystemd_journal=false")))
4793 (build-system meson-build-system)
7ce49365
SB
4794 (native-inputs
4795 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4796 ("pkg-config" ,pkg-config)
4797 ("intltool" ,intltool)
df278071
RW
4798 ("xsltproc" ,libxslt)
4799 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4800 ("docbook-xsl" ,docbook-xsl)
4801 ("docbook-xml" ,docbook-xml)
4802 ("xmlto" ,xmlto)))
7ce49365 4803 (inputs
2914af3c
AW
4804 `(("elogind" ,elogind)
4805 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 4806 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
4807 ("gtk+" ,gtk+)
4808 ("json-glib" ,json-glib)
4809 ("libsm" ,libsm)
4810 ("libxcomposite" ,libxcomposite)
4811 ("libxtst" ,libxtst)
4812 ("mesa" ,mesa)
4813 ("upower" ,upower)
4814 ("xtrans" ,xtrans)))
4815 (synopsis "Session manager for GNOME")
4816 (description
4817 "This package contains the GNOME session manager, as well as a
4818configuration program to choose applications starting on login.")
4819 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4820 (license license:gpl2+)))
f47ba77e
SB
4821
4822(define-public gjs
4823 (package
4824 (name "gjs")
72717817 4825 (version "1.52.3")
f47ba77e
SB
4826 (source (origin
4827 (method url-fetch)
4828 (uri (string-append "mirror://gnome/sources/" name "/"
4829 (version-major+minor version) "/"
4830 name "-" version ".tar.xz"))
4831 (sha256
4832 (base32
72717817 4833 "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff"))))
f47ba77e
SB
4834 (build-system gnu-build-system)
4835 (arguments
4836 '(#:phases
4837 (modify-phases %standard-phases
4838 (add-before
4839 'check 'pre-check
4840 (lambda _
fc119619
MW
4841 ;; The test suite requires a running X server.
4842 (system "Xvfb :1 &")
4843 (setenv "DISPLAY" ":1")
4844
f47ba77e
SB
4845 ;; For the missing /etc/machine-id.
4846 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 4847
144f94d0
KK
4848 ;; Our mozjs-38 package does not compile the required Intl API
4849 ;; support for these failing tests.
4850 (substitute* "installed-tests/js/testLocale.js"
4851 ((".*toBeDefined.*") "")
4852 ((".*expect\\(datestr\\).*") ""))
f47ba77e
SB
4853 #t)))))
4854 (native-inputs
8a831c6f 4855 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
4856 ("pkg-config" ,pkg-config)
4857 ("xmllint" ,libxml2)
4858 ;; For testing
4859 ("dbus-launch" ,dbus)
4860 ("uuidgen" ,util-linux)
ebebee94 4861 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
4862 (propagated-inputs
4863 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
4864 `(("cairo" ,cairo)
4865 ("gobject-introspection" ,gobject-introspection)
72717817 4866 ("mozjs" ,mozjs-52)))
f47ba77e
SB
4867 (inputs
4868 `(("gtk+" ,gtk+)
4869 ("readline" ,readline)))
4870 (synopsis "Javascript bindings for GNOME")
f032d0be 4871 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
4872 (description
4873 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4874javascript engine and the GObject introspection framework.")
4875 (license license:gpl2+)))
329d731b
DH
4876
4877(define-public gedit
4878 (package
4879 (name "gedit")
6a29c8d3 4880 (version "3.28.1")
329d731b
DH
4881 (source (origin
4882 (method url-fetch)
4883 (uri (string-append "mirror://gnome/sources/" name "/"
4884 (version-major+minor version) "/"
4885 name "-" version ".tar.xz"))
4886 (sha256
4887 (base32
6a29c8d3 4888 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
329d731b
DH
4889 (build-system glib-or-gtk-build-system)
4890 (arguments
0d2df50c 4891 `(#:phases
329d731b
DH
4892 (modify-phases %standard-phases
4893 (add-after
4894 'install 'wrap-gedit
4895 (lambda* (#:key inputs outputs #:allow-other-keys)
4896 (let ((out (assoc-ref outputs "out"))
4897 (gtksourceview (assoc-ref inputs "gtksourceview"))
afc25242
SB
4898 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4899 (python-path (getenv "PYTHONPATH")))
329d731b 4900 (wrap-program (string-append out "/bin/gedit")
afc25242 4901 ;; For plugins.
329d731b 4902 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
afc25242 4903 `("PYTHONPATH" ":" prefix (,python-path))
329d731b
DH
4904 ;; For language-specs.
4905 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4906 "/share")))))
4907 #t)))))
4908 (propagated-inputs
4909 `(("dconf" ,dconf)))
4910 (native-inputs
4911 `(("intltool" ,intltool)
b3546174 4912 ("itstool" ,itstool)
329d731b
DH
4913 ("gobject-introspection" ,gobject-introspection)
4914 ("pkg-config" ,pkg-config)))
4915 (inputs
4916 `(("glib" ,glib)
0d2df50c 4917 ("gspell" ,gspell)
329d731b 4918 ("gtk+" ,gtk+)
b54c2289 4919 ("gtksourceview" ,gtksourceview-3)
329d731b
DH
4920 ("libpeas" ,libpeas)
4921 ("libxml2" ,libxml2)
329d731b
DH
4922 ("iso-codes" ,iso-codes)
4923 ("python-pygobject" ,python-pygobject)
4924 ("python" ,python)
4925 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4926 ("libx11" ,libx11)
4927 ("vala" ,vala)
4928 ("adwaita-icon-theme" ,adwaita-icon-theme)
4929 ("libsoup" ,libsoup)
4930 ("gnome-desktop" ,gnome-desktop)))
4931 (home-page "https://wiki.gnome.org/Apps/Gedit")
4932 (synopsis "GNOME text editor")
4933 (description "While aiming at simplicity and ease of use, gedit is a
4934powerful general purpose text editor.")
4935 (license license:gpl2+)))
b7179363
SB
4936
4937(define-public zenity
4938 (package
4939 (name "zenity")
f8e2b577 4940 (version "3.28.1")
b7179363
SB
4941 (source (origin
4942 (method url-fetch)
4943 (uri (string-append "mirror://gnome/sources/" name "/"
4944 (version-major+minor version) "/"
4945 name "-" version ".tar.xz"))
4946 (sha256
4947 (base32
f8e2b577 4948 "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv"))))
b7179363
SB
4949 (build-system gnu-build-system)
4950 (native-inputs
b94a6ca0 4951 `(("gettext" ,gettext-minimal)
b7179363
SB
4952 ("itstool" ,itstool)
4953 ("pkg-config" ,pkg-config)))
4954 (inputs
4955 `(("libnotify" ,libnotify)
4956 ("webkitgtk" ,webkitgtk)))
4957 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 4958 (home-page "https://www.gnome.org")
b7179363
SB
4959 (description
4960 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4961to display dialog boxes from the commandline and shell scripts.")
4962 (license license:lgpl2.0+)))
60c3627c
SB
4963
4964(define-public mutter
4965 (package
4966 (name "mutter")
5055d385 4967 (version "3.28.2")
60c3627c 4968 (source (origin
86c44e72
KK
4969 (method url-fetch)
4970 (uri (string-append "mirror://gnome/sources/" name "/"
4971 (version-major+minor version) "/"
4972 name "-" version ".tar.xz"))
60c3627c
SB
4973 (sha256
4974 (base32
5055d385 4975 "0ighs1zvlssgq16v1h3vg280za7y448snq65gc5m1zmqqawqkymg"))))
86c44e72
KK
4976 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4977 ;; versions of cogl and clutter. As a result, many of the inputs,
4978 ;; propagated-inputs, and configure flags used in cogl and clutter are
4979 ;; needed here as well.
60c3627c
SB
4980 (build-system gnu-build-system)
4981 (arguments
4982 '(#:configure-flags
4983 ;; XXX: build fails with [-Werror]:
4984 ;; backends/meta-cursor-renderer.c:112:5: error:
4985 ;; implicit declaration of function ?roundf?
a88d5a0c
MW
4986 (list "--enable-compile-warnings=minimum"
4987
86c44e72 4988 "--enable-native-backend"
a88d5a0c
MW
4989
4990 ;; The following flags are needed for the bundled clutter
4991 "--enable-x11-backend=yes"
4992
d633f2f6
RH
4993 (string-append "--with-xwayland-path="
4994 (assoc-ref %build-inputs "xorg-server-xwayland")
4995 "/bin/Xwayland")
4996
a88d5a0c
MW
4997 ;; the remaining flags are needed for the bundled cogl
4998 "--enable-cogl-gst"
4999 (string-append "--with-gl-libname="
5000 (assoc-ref %build-inputs "mesa")
f23052a6
DC
5001 "/lib/libGL.so"))
5002 #:phases
5003 (modify-phases %standard-phases
86c44e72
KK
5004 ;; Replace references to systemd libraries to elogind references.
5005 (add-before 'configure 'use-elogind
5006 (lambda _
5007 (substitute* (list "configure"
5008 "src/backends/native/meta-launcher.c"
5009 "src/core/main.c")
5010 (("systemd") "elogind"))
5011 #t)))))
60c3627c
SB
5012 (native-inputs
5013 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5014 ("gobject-introspection" ,gobject-introspection)
5015 ("intltool" ,intltool)
f23052a6
DC
5016 ("pkg-config" ,pkg-config)
5017 ;; For git build
5018 ("autoconf" ,autoconf)
5019 ("automake" ,automake)
5020 ("libtool" ,libtool)))
60c3627c 5021 (propagated-inputs
a88d5a0c
MW
5022 `(;; libmutter.pc refers to these:
5023 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5024 ("gtk+" ,gtk+)
5025 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5026 ("atk" ,atk)
5027 ("cairo" ,cairo)
5028 ("gdk-pixbuf" ,gdk-pixbuf)
5029 ("glib" ,glib)
60c3627c 5030 ("gtk+" ,gtk+)
a88d5a0c
MW
5031 ("json-glib" ,json-glib)
5032 ("libinput" ,libinput)
5033 ("libx11" ,libx11)
5034 ("libxcomposite" ,libxcomposite)
5035 ("libxdamage" ,libxdamage)
5036 ("libxext" ,libxext)
5037 ("libxfixes" ,libxfixes)
5038 ("libxkbcommon" ,libxkbcommon)
5039 ("libxrandr" ,libxrandr)
5040 ("mesa" ,mesa)
5041 ("pango" ,pango)
5042 ("udev" ,eudev)
a88d5a0c 5043 ("xinput" ,xinput)))
60c3627c 5044 (inputs
86c44e72
KK
5045 `(("elogind" ,elogind)
5046 ("gnome-desktop" ,gnome-desktop)
60c3627c 5047 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 5048 ("libgudev" ,libgudev)
60c3627c
SB
5049 ("libice" ,libice)
5050 ("libsm" ,libsm)
60c3627c 5051 ("libxkbfile" ,libxkbfile)
a88d5a0c 5052 ("libxrandr" ,libxrandr)
86c44e72 5053 ("libxtst" ,libxtst)
60c3627c
SB
5054 ("startup-notification" ,startup-notification)
5055 ("upower-glib" ,upower)
5056 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 5057 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
5058 ("zenity" ,zenity)))
5059 (synopsis "Window and compositing manager")
f032d0be 5060 (home-page "https://www.gnome.org")
60c3627c
SB
5061 (description
5062 "Mutter is a window and compositing manager that displays and manages your
5063desktop via OpenGL. Mutter combines a sophisticated display engine using the
5064Clutter toolkit with solid window-management logic inherited from the Metacity
5065window manager.")
86c44e72 5066 (license license:gpl2+)))
685cee87
SB
5067
5068(define-public gnome-online-accounts
5069 (package
5070 (name "gnome-online-accounts")
fc984c85 5071 (version "3.28.0")
685cee87
SB
5072 (source (origin
5073 (method url-fetch)
5074 (uri (string-append "mirror://gnome/sources/" name "/"
5075 (version-major+minor version) "/"
5076 name "-" version ".tar.xz"))
5077 (sha256
5078 (base32
fc984c85 5079 "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47"))))
14c297fd 5080 (outputs '("out" "lib"))
685cee87 5081 (build-system glib-or-gtk-build-system)
14c297fd
TS
5082 (arguments
5083 `(#:configure-flags
5084 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5085 #:phases
5086 (modify-phases %standard-phases
5087 (add-before 'configure 'patch-libgoa-output
5088 (lambda* (#:key outputs #:allow-other-keys)
5089 (let ((lib (assoc-ref outputs "lib")))
5090 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5091 (("@prefix@") lib)
5092 (("@exec_prefix@") lib)
5093 (("@libdir@") (string-append lib "/lib"))
5094 (("@includedir@") (string-append lib "/include"))
5095 (("@datadir@") (string-append lib "/share")))
5096 #t))))))
685cee87
SB
5097 (native-inputs
5098 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5099 ("gobject-introspection" ,gobject-introspection)
5100 ("intltool" ,intltool)
5101 ("pkg-config" ,pkg-config)
5102 ("xsltproc" ,libxslt)))
5103 (propagated-inputs
5104 `(("glib" ,glib) ; required by goa-1.0.pc
5105 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5106 (inputs
5107 `(("docbook-xsl" ,docbook-xsl)
5108 ("json-glib" ,json-glib)
5109 ("libsecret" ,libsecret)
5110 ("rest" ,rest)
685cee87
SB
5111 ("webkitgtk" ,webkitgtk)))
5112 (synopsis "Single sign-on framework for GNOME")
5113 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5114 (description
5115 "GNOME Online Accounts provides interfaces so that applications and
5116libraries in GNOME can access the user's online accounts. It has providers for
5117Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5118Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5119 (license license:lgpl2.0+)))
df217748
SB
5120
5121(define-public evolution-data-server
5122 (package
5123 (name "evolution-data-server")
bb10e7c8 5124 (version "3.28.3")
df217748
SB
5125 (source (origin
5126 (method url-fetch)
5127 (uri (string-append "mirror://gnome/sources/" name "/"
5128 (version-major+minor version) "/"
5129 name "-" version ".tar.xz"))
5130 (sha256
5131 (base32
bb10e7c8 5132 "11sq795115vrcgxl9svscm6wg8isjj784c3d84qzb6z47zq92zj3"))))
da43d1cb 5133 (outputs '("out" "libedataserverui"))
743aebd7 5134 (build-system cmake-build-system)
df217748 5135 (arguments
743aebd7 5136 '(;; XXX FIXME: 11/85 tests are failing.
df217748
SB
5137 #:tests? #f
5138 #:configure-flags
ac033c7b
MB
5139 (let* ((lib (string-append (assoc-ref %outputs "out")
5140 "/lib"))
5141 (runpaths (map (lambda (s) (string-append
5142 lib "/evolution-data-server/" s))
5143 '("addressbook-backends" "calendar-backends"
5144 "camel-providers" "credential-modules"
5145 "registry-modules"))))
5146 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5147 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5148 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5149 "-DENABLE_VALA_BINDINGS=ON"
5150 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
c97f2f70
MW
5151 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5152 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5153 ;; evolution-data-server has been updated to qualify ICU types
5154 ;; explicitly, as required by ICU 61 and later. See:
5155 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5156 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
ac033c7b
MB
5157 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5158 (string-append lib "/evolution-data-server;")
5159 (string-join runpaths ";"))
5160 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
5161 #:phases
5162 (modify-phases %standard-phases
743aebd7 5163 (add-after 'unpack 'patch-paths
df217748
SB
5164 (lambda _
5165 (substitute* "tests/test-server-utils/e-test-server-utils.c"
5166 (("/bin/rm") (which "rm")))
ac033c7b
MB
5167 #t))
5168 (add-before 'configure 'dont-override-rpath
5169 (lambda _
5170 (substitute* "CMakeLists.txt"
5171 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5172 ;; Remove it so the configure flag is respected.
5173 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
da43d1cb 5174 #t))
da43d1cb
TS
5175 (add-after 'install 'split
5176 (lambda* (#:key outputs #:allow-other-keys)
5177 (let ((out (assoc-ref outputs "out"))
5178 (libedsui (assoc-ref outputs "libedataserverui")))
5179 (for-each (lambda (file)
5180 (mkdir-p (dirname (string-append libedsui file)))
5181 (rename-file (string-append out file)
5182 (string-append libedsui file)))
5183 '("/lib/pkgconfig/libedataserverui-1.2.pc"
5184 "/lib/libedataserverui-1.2.so"
5185 "/lib/libedataserverui-1.2.so.2"
5186 "/lib/libedataserverui-1.2.so.2.0.0"
5187 "/lib/girepository-1.0/EDataServerUI-1.2.typelib"
5188 "/include/evolution-data-server/libedataserverui"
5189 "/share/gir-1.0/EDataServerUI-1.2.gir"
5190 "/share/vala/vapi/libedataserverui-1.2.vapi"
5191 "/share/vala/vapi/libedataserverui-1.2.deps"))
5192 (substitute* (string-append libedsui "/lib/pkgconfig/"
5193 "libedataserverui-1.2.pc")
5194 ((out) libedsui))
5195 #t))))))
df217748
SB
5196 (native-inputs
5197 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5198 ("gobject-introspection" ,gobject-introspection)
5199 ("gperf" ,gperf)
5200 ("intltool" ,intltool)
5201 ("pkg-config" ,pkg-config)
a73c1cf8 5202 ("vala" ,vala)
743aebd7 5203 ("python" ,python-wrapper)))
df217748
SB
5204 (propagated-inputs
5205 ;; These are all in the Requires field of .pc files.
5206 `(("gtk+" ,gtk+)
5207 ("libical" ,libical)
5208 ("libsecret" ,libsecret)
5209 ("libsoup" ,libsoup)
5210 ("nss" ,nss)
5211 ("sqlite" ,sqlite)))
5212 (inputs
5213 `(("bdb" ,bdb)
5214 ("gcr" ,gcr)
14c297fd 5215 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 5216 ("json-glib" ,json-glib)
743aebd7
MB
5217 ("libgweather" ,libgweather)
5218 ("mit-krb5" ,mit-krb5)
891199c6
MW
5219 ("openldap" ,openldap)
5220 ("webkitgtk" ,webkitgtk)))
df217748
SB
5221 (synopsis "Store address books and calendars")
5222 (home-page "https://wiki.gnome.org/Apps/Evolution")
5223 (description
5224 "This package provides a unified backend for programs that work with
5225contacts, tasks, and calendar information. It was originally developed for
5226Evolution (hence the name), but is now used by other packages as well.")
5227 (license license:lgpl2.0)))
bd7dfafa
SB
5228
5229(define-public caribou
5230 (package
5231 (name "caribou")
fe964bb5 5232 (version "0.4.21")
bd7dfafa
SB
5233 (source (origin
5234 (method url-fetch)
5235 (uri (string-append "mirror://gnome/sources/" name "/"
5236 (version-major+minor version) "/"
5237 name "-" version ".tar.xz"))
5238 (sha256
5239 (base32
fe964bb5 5240 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
5241 (build-system glib-or-gtk-build-system)
5242 (arguments
5243 '(#:phases
5244 (modify-phases %standard-phases
5245 (add-before
5246 'build 'pre-build
5247 (lambda* (#:key outputs #:allow-other-keys)
5248 (let ((out (assoc-ref outputs "out")))
5249 ;; Use absolute shared library path in Caribou-1.0.typelib.
5250 (substitute* "libcaribou/Makefile"
5251 (("--shared-library=libcaribou.so")
5252 (string-append "--shared-library="
5253 out "/lib/libcaribou.so")))
5254 #t)))
5255 (add-after 'install 'wrap-programs
5256 (lambda* (#:key outputs #:allow-other-keys)
5257 (let* ((out (assoc-ref outputs "out"))
5258 (python-path (getenv "PYTHONPATH"))
5259 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5260 (for-each
5261 (lambda (prog)
5262 (wrap-program prog
5263 `("PYTHONPATH" ":" prefix (,python-path))
5264 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5265 (list (string-append out "/bin/caribou-preferences")
5266 (string-append out "/libexec/antler-keyboard"))))
5267 #t)))))
5268 (native-inputs
5269 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5270 ("gobject-introspection" ,gobject-introspection)
5271 ("intltool" ,intltool)
5272 ("pkg-config" ,pkg-config)
5273 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5274 ("vala" ,vala)
5275 ("xsltproc" ,libxslt)))
5276 (propagated-inputs
5277 ;; caribou-1.0.pc refers to all these.
5278 `(("libgee" ,libgee)
5279 ("libxklavier" ,libxklavier)
5280 ("libxtst" ,libxtst)
5281 ("gtk+" ,gtk+)))
5282 (inputs
5283 `(("clutter" ,clutter)
5284 ("dconf" ,dconf)
5285 ("gtk+-2" ,gtk+-2)
5286 ("python-pygobject" ,python2-pygobject)))
5287 (synopsis "Text entry and UI navigation application")
5288 (home-page "https://wiki.gnome.org/Projects/Caribou")
5289 (description
5290 "Caribou is an input assistive technology intended for switch and pointer
5291users.")
5292 (license license:lgpl2.1)))
ba5dd105 5293
ba5dd105
SB
5294(define-public network-manager
5295 (package
5296 (name "network-manager")
02710a9b 5297 (version "1.14.4")
ba5dd105
SB
5298 (source (origin
5299 (method url-fetch)
5300 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5301 (version-major+minor version) "/"
5302 "NetworkManager-" version ".tar.xz"))
5303 (sha256
5304 (base32
02710a9b
RW
5305 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5306 (modules '((guix build utils)))
fd070f35 5307 (snippet
02710a9b
RW
5308 '(begin
5309 (substitute* "src/devices/wwan/nm-modem-manager.c"
5310 (("systemd") "elogind"))
5311 #t))))
ba5dd105
SB
5312 (build-system gnu-build-system)
5313 (outputs '("out"
5314 "doc")) ; 8 MiB of gtk-doc HTML
5315 (arguments
5316 '(#:configure-flags
5317 (let ((out (assoc-ref %outputs "out"))
5318 (doc (assoc-ref %outputs "doc"))
5319 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5320 "/sbin/dhclient")))
02710a9b
RW
5321 (list "--with-libnm-glib" ; needed by network-manager-applet
5322 "--with-systemd-journal=no"
5323 "--with-session-tracking=elogind"
5324 "--with-suspend-resume=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
02710a9b
RW
5339 ;; This bare "ls" invocation breaks some tests.
5340 (add-after 'unpack 'patch-ls-invocation
5341 (lambda _
5342 (substitute* "build-aux/ltmain.sh"
5343 (("`ls -")
5344 (string-append "`" (which "ls") " -")))
5345 #t))
b4f59d87
AW
5346 (add-before 'configure 'pre-configure
5347 (lambda _
5348 ;; These tests try to test aspects of network-manager's
5349 ;; functionality within restricted containers, but they don't
5350 ;; cope with being already in the Guix build jail as that jail
5351 ;; lacks some features that they would like to proxy over (like
5352 ;; a /sys mount).
d04687dc
HG
5353 (substitute* '("Makefile.in")
5354 (("src/platform/tests/test-address-linux") " ")
5355 (("src/platform/tests/test-cleanup-linux") " ")
5356 (("src/platform/tests/test-link-linux") " ")
5357 (("src/platform/tests/test-route-linux") " ")
02710a9b 5358 (("src/devices/tests/test-acd") "")
d04687dc
HG
5359 (("src/devices/tests/test-arping") " ")
5360 (("src/devices/tests/test-lldp") " ")
5361 (("src/tests/test-route-manager-linux") " "))
b4f59d87 5362 #t))
45f80fce
RW
5363 (add-after 'unpack 'delete-failing-tests
5364 (lambda _
02710a9b 5365 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
5366 ;; ERROR:libnm-core/tests/test-general.c:5842:
5367 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5368 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5369 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5370 ;; ERROR:libnm-core/tests/test-setting.c:907:
5371 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
5372 (substitute* "Makefile.in"
5373 (("libnm-core/tests/test-general") " ")
5374 (("libnm-core/tests/test-keyfile") " ")
02710a9b 5375 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 5376 #t))
ba5dd105
SB
5377 (add-before 'check 'pre-check
5378 (lambda _
5379 ;; For the missing /etc/machine-id.
5380 (setenv "DBUS_FATAL_WARNINGS" "0")
5381 #t))
5382 (replace 'install
5383 (lambda _
45f80fce
RW
5384 (invoke "make"
5385 "sysconfdir=/tmp"
5386 "rundir=/tmp"
5387 "statedir=/tmp"
5388 "nmstatedir=/tmp/nm"
5389 "install")
5390 #t)))))
b93502d6
DC
5391 (propagated-inputs
5392 `(("glib" ,glib)))
ba5dd105
SB
5393 (native-inputs
5394 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5395 ("gobject-introspection" ,gobject-introspection)
d04687dc 5396 ("docbook-xsl" ,docbook-xsl)
ba5dd105 5397 ("intltool" ,intltool)
d04687dc
HG
5398 ("libxslt" ,libxslt)
5399 ("libxml2" ,libxml2)
ba5dd105
SB
5400 ("pkg-config" ,pkg-config)
5401 ;; For testing.
5402 ("python" ,python-wrapper)
5403 ("python-dbus" ,python-dbus)
5404 ("python-pygobject" ,python-pygobject)))
5405 (inputs
02710a9b
RW
5406 `(("coreutils" ,coreutils) ; for ls
5407 ("curl" ,curl)
856ca567
KK
5408 ("cyrus-sasl" ,cyrus-sasl)
5409 ("dbus-glib" ,dbus-glib)
ba5dd105 5410 ("dnsmasq" ,dnsmasq)
856ca567 5411 ("eudev" ,eudev)
ba5dd105
SB
5412 ("gnutls" ,gnutls)
5413 ("iptables" ,iptables)
5414 ("isc-dhcp" ,isc-dhcp)
d04687dc 5415 ("jansson" ,jansson)
ba5dd105
SB
5416 ("libgcrypt" ,libgcrypt)
5417 ("libgudev" ,libgudev)
5418 ("libndp" ,libndp)
5419 ("libnl" ,libnl)
5420 ("libsoup" ,libsoup)
142bdcbc 5421 ("modem-manager" ,modem-manager)
c27e02bf 5422 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
5423 ("polkit" ,polkit)
5424 ("ppp" ,ppp)
5425 ("readline" ,readline)
fd070f35
CM
5426 ("util-linux" ,util-linux)
5427 ("elogind" ,elogind)))
ba5dd105 5428 (synopsis "Network connection manager")
f032d0be 5429 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
5430 (description
5431 "NetworkManager is a system network service that manages your network
5432devices and connections, attempting to keep active network connectivity when
5433available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5434devices, and provides VPN integration with a variety of different VPN
5435services.")
29d2f451
LC
5436 (license license:gpl2+)
5437 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 5438
f2b96b3a
LC
5439(define-public network-manager-openvpn
5440 (package
5441 (name "network-manager-openvpn")
0310eb96 5442 (version "1.8.4")
f2b96b3a
LC
5443 (source (origin
5444 (method url-fetch)
5445 (uri (string-append
5446 "mirror://gnome/sources/NetworkManager-openvpn/"
5447 (version-major+minor version)
5448 "/NetworkManager-openvpn-" version ".tar.xz"))
5449 (sha256
5450 (base32
0310eb96 5451 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
f2b96b3a
LC
5452 (build-system gnu-build-system)
5453 (arguments
5454 '(#:configure-flags '("--enable-absolute-paths")))
5455 (native-inputs
5456 `(("pkg-config" ,pkg-config)
5457 ("intltool" ,intltool)))
5458 (inputs
5459 `(("gtk+" ,gtk+)
5460 ("openvpn" ,openvpn)
5461 ("network-manager" ,network-manager)
5462 ("network-manager-applet" ,network-manager-applet) ;for libnma
5463 ("libsecret" ,libsecret)))
5464 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5465 (synopsis "OpenVPN plug-in for NetworkManager")
5466 (description
5467 "This extension of NetworkManager allows it to take care of connections
5468to virtual private networks (VPNs) via OpenVPN.")
5469 (license license:gpl2+)
5470 (properties `((upstream-name . "NetworkManager-openvpn")))))
5471
e5e1df4d
DC
5472(define-public mobile-broadband-provider-info
5473 (package
5474 (name "mobile-broadband-provider-info")
310c89e3 5475 (version "20190116")
e5e1df4d
DC
5476 (source (origin
5477 (method url-fetch)
5478 (uri (string-append
5479 "mirror://gnome/sources/"
5480 "mobile-broadband-provider-info/" version "/"
5481 "mobile-broadband-provider-info-" version ".tar.xz"))
5482 (sha256
5483 (base32
310c89e3 5484 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
5485 (build-system gnu-build-system)
5486 (arguments
310c89e3 5487 `(#:tests? #f)) ; no tests
e5e1df4d
DC
5488 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5489 (synopsis "Database of broadband connection configuration")
5490 (description "Database of broadband connection configuration.")
5491 (license license:public-domain)))
5492
4d62a9d3
SB
5493(define-public network-manager-applet
5494 (package
5495 (name "network-manager-applet")
8c6d7b61 5496 (version "1.8.18")
4d62a9d3
SB
5497 (source (origin
5498 (method url-fetch)
5499 (uri (string-append "mirror://gnome/sources/" name "/"
5500 (version-major+minor version) "/"
5501 name "-" version ".tar.xz"))
5502 (sha256
5503 (base32
8c6d7b61 5504 "0y31g0lxr93370xi74hbpvcy9m81n5wdkdhq8xy2nqp0y4219p13"))))
cd7f718e
RW
5505 (build-system meson-build-system)
5506 (arguments
5507 '(#:glib-or-gtk? #t))
4d62a9d3
SB
5508 (native-inputs
5509 `(("intltool" ,intltool)
cd7f718e 5510 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 5511 ("gobject-introspection" ,gobject-introspection)
cd7f718e 5512 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
5513 ("pkg-config" ,pkg-config)))
5514 (propagated-inputs
5515 ;; libnm-gtk.pc refers to all these.
5516 `(("dbus-glib" ,dbus-glib)
5517 ("gtk+" ,gtk+)
5518 ("network-manager" ,network-manager)))
5519 (inputs
cd7f718e
RW
5520 `(("gcr" ,gcr)
5521 ("iso-codes" ,iso-codes)
4d62a9d3
SB
5522 ("libgudev" ,libgudev)
5523 ("libnotify" ,libnotify)
2116bfb3 5524 ("libsecret" ,libsecret)
240cee8a
KK
5525 ("libselinux" ,libselinux)
5526 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
5527 ("modem-manager" ,modem-manager)
5528 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 5529 (synopsis "Applet for managing network connections")
f032d0be 5530 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
5531 (description
5532 "This package contains a systray applet for NetworkManager. It displays
5533the available networks and allows users to easily switch between them.")
5534 (license license:gpl2+)))
56196594
RW
5535
5536(define-public libxml++
5537 (package
5538 (name "libxml++")
8344a85e 5539 (version "3.0.1")
56196594
RW
5540 (source (origin
5541 (method url-fetch)
5542 (uri (string-append "mirror://gnome/sources/" name "/"
5543 (version-major+minor version) "/"
5544 name "-" version ".tar.xz"))
5545 (sha256
5546 (base32
8344a85e 5547 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
5548 (build-system gnu-build-system)
5549 ;; libxml++-3.0.pc refers to all these.
5550 (propagated-inputs
5551 `(("libxml2" ,libxml2)
5552 ("glibmm" ,glibmm)))
5553 (native-inputs
5554 `(("perl" ,perl)
5555 ("pkg-config" ,pkg-config)))
5556 (home-page "http://libxmlplusplus.sourceforge.net/")
5557 (synopsis "C++ wrapper for XML parser library libxml2")
5558 (description
5559 "This package provides a C++ wrapper for the XML parser library
5560libxml2.")
5561 (license license:lgpl2.1+)))
df12f04a 5562
b61d9627
AW
5563(define-public libxml++-2
5564 (package
5565 (inherit libxml++)
5566 (name "libxml++")
5567 (version "2.40.1")
5568 (source (origin
5569 (method url-fetch)
5570 (uri (string-append "mirror://gnome/sources/" name "/"
5571 (version-major+minor version) "/"
5572 name "-" version ".tar.xz"))
5573 (sha256
5574 (base32
5575 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5576
df12f04a
SB
5577(define-public gdm
5578 (package
5579 (name "gdm")
b74ef0ba 5580 (version "3.30.2")
df12f04a
SB
5581 (source (origin
5582 (method url-fetch)
5583 (uri (string-append "mirror://gnome/sources/" name "/"
5584 (version-major+minor version) "/"
5585 name "-" version ".tar.xz"))
5586 (sha256
5587 (base32
b74ef0ba 5588 "1handy65r1n0zby09jr492b3643wszzigdkxp7q2ypgxb3hyv45y"))))
957dbc0a 5589 (build-system glib-or-gtk-build-system)
df12f04a
SB
5590 (arguments
5591 '(#:configure-flags
af37e6bb 5592 `("--without-plymouth"
957dbc0a 5593 "--disable-systemd-journal"
51bc8357
TS
5594
5595 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5596 ;; instead of having to replace it (i.e., stopping the mingetty
5597 ;; service for TTY 1 before starting GDM).
5598 "--with-initial-vt=7"
5599
89c86562
TS
5600 ;; Use '/etc/environment' for locale settings instead of the
5601 ;; systemd-specific '/etc/locale.conf'.
5602 "--with-lang-file=/etc/environment"
5603
b74ef0ba
RW
5604 ,(string-append "--with-udevdir="
5605 (assoc-ref %outputs "out") "/lib/udev")
5606
af37e6bb
AW
5607 "--localstatedir=/var"
5608 ,(string-append "--with-default-path="
5609 (string-join '("/run/setuid-programs"
5610 "/run/current-system/profile/bin"
5611 "/run/current-system/profile/sbin")
957dbc0a
AW
5612 ":"))
5613 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5614 ;; XDG_DATA_DIRS so that it finds its schemas.
5615 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
5616 #:phases
5617 (modify-phases %standard-phases
5618 (add-before
5619 'configure 'pre-configure
e8c6e771 5620 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
5621 ;; We don't have <systemd/sd-daemon.h>.
5622 (substitute* '("common/gdm-log.c"
5623 "daemon/gdm-server.c"
5624 "daemon/gdm-session-worker.c"
5625 "daemon/gdm-session-worker-job.c")
5626 (("#include <systemd/sd-daemon\\.h>") ""))
5627 ;; Use elogind for sd-login.
5628 (substitute* '("common/gdm-common.c"
5629 "daemon/gdm-manager.c"
5630 "libgdm/gdm-user-switching.c")
5631 (("#include <systemd/sd-login\\.h>")
5632 "#include <elogind/sd-login.h>"))
957dbc0a
AW
5633 ;; Check for elogind.
5634 (substitute* '("configure")
5635 (("libsystemd")
5636 "libelogind"))
af37e6bb
AW
5637 ;; Look for system-installed sessions in
5638 ;; /run/current-system/profile/share.
5639 (substitute* '("libgdm/gdm-sessions.c"
5640 "daemon/gdm-session.c"
5641 "daemon/gdm-display.c"
5642 "daemon/gdm-launch-environment.c")
5643 (("DATADIR \"/x")
5644 "\"/run/current-system/profile/share/x")
5645 (("DATADIR \"/wayland")
5646 "\"/run/current-system/profile/share/wayland")
5647 (("DATADIR \"/gnome")
5648 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 5649 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 5650 "GDM_DBUS_DAEMON"
c9ff92b5 5651 "GDM_X_SERVER"
41fa9f18 5652 "GDM_X_SESSION"
c9ff92b5
TS
5653 ;; XXX: Remove this once GNOME Shell is
5654 ;; a dependency of GDM.
5655 "XDG_DATA_DIRS")))
5656 (substitute* "daemon/gdm-session.c"
5657 (("set_up_session_environment \\(self\\);")
5658 (apply string-append
5659 "set_up_session_environment (self);\n"
5660 (map (lambda (name)
5661 (string-append
5662 "gdm_session_set_environment_variable "
5663 "(self, \"" name "\","
5664 "g_getenv (\"" name "\"));\n"))
5665 propagate)))))
a430a350
TS
5666 ;; Find the configuration file using an environment variable.
5667 (substitute* '("common/gdm-settings.c")
e0e6756f 5668 (("GDM_CUSTOM_CONF")
e57c2adb
TS
5669 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5670 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5671 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
5672 ;; Use service-supplied path to X.
5673 (substitute* '("daemon/gdm-server.c")
5674 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5675 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5676 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
5677 (("\"dbus-daemon\"")
5678 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 5679 (("X_SERVER")
41fa9f18
TS
5680 "g_getenv (\"GDM_X_SERVER\")")
5681 (("GDMCONFDIR \"/Xsession\"")
5682 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
5683 ;; Use an absolute path for GNOME Session.
5684 (substitute* "daemon/gdm-launch-environment.c"
5685 (("\"gnome-session\"")
5686 (string-append "\"" (assoc-ref inputs "gnome-session")
5687 "/bin/gnome-session\"")))
e8c6e771
TS
5688 ;; Do not automatically select the placeholder session.
5689 (substitute* "daemon/gdm-session.c"
5690 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5691 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5692 "(g_strcmp0(search_dirs[i], \""
5693 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5694 "\") == 0 && "
5695 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5696 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5697 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 5698 #t))
8caa4589
TS
5699 ;; GDM requires that there be at least one desktop entry
5700 ;; file. This phase installs a hidden one that simply
5701 ;; fails. This enables users to use GDM with a
5702 ;; '~/.xsession' script with no other desktop entry files.
5703 ;; See <https://bugs.gnu.org/35068>.
5704 (add-after 'install 'install-placeholder-desktop-entry
5705 (lambda* (#:key inputs outputs #:allow-other-keys)
5706 (let* ((out (assoc-ref outputs "out"))
5707 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5708 (fail (string-append sessions "/fail.desktop")))
5709 (mkdir-p sessions)
5710 (with-output-to-file fail
5711 (lambda ()
5712 (for-each
5713 display
5714 '("[Desktop Entry]\n"
5715 "Encoding=UTF-8\n"
5716 "Type=Application\n"
5717 "Name=Fail\n"
5718 "Comment=This session fails immediately.\n"
5719 "NoDisplay=true\n"
5720 "Exec=false\n"))))
5721 #t)))
69544798
TS
5722 ;; GDM needs GNOME Session to run these applications. We link
5723 ;; their autostart files in `share/gdm/greeter/autostart'
5724 ;; because GDM explicitly tells GNOME Session to look there.
5725 ;;
5726 ;; XXX: GNOME Shell should be linked here too, but currently
5727 ;; GNOME Shell depends on GDM.
5728 (add-after 'install 'link-autostart-files
5729 (lambda* (#:key inputs outputs #:allow-other-keys)
5730 (let* ((out (assoc-ref outputs "out"))
5731 (autostart (string-append out "/share/gdm/"
5732 "greeter/autostart"))
5733 (settings (assoc-ref inputs "gnome-settings-daemon")))
5734 (mkdir-p autostart)
5735 (with-directory-excursion autostart
5736 (for-each (lambda (desktop)
5737 (symlink desktop (basename desktop)))
5738 (find-files (string-append settings "/etc/xdg"))))
5739 #t))))))
df12f04a
SB
5740 (native-inputs
5741 `(("dconf" ,dconf)
5742 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5743 ("gobject-introspection" ,gobject-introspection)
5744 ("intltool" ,intltool)
5745 ("itstool" ,itstool)
5746 ("pkg-config" ,pkg-config)
5747 ("xmllint" ,libxml2)))
5748 (inputs
5749 `(("accountsservice" ,accountsservice)
5750 ("check" ,check) ; for testing
5751 ("elogind" ,elogind)
def6d6b6 5752 ("gnome-session" ,gnome-session)
69544798 5753 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
5754 ("gtk+" ,gtk+)
5755 ("iso-codes" ,iso-codes)
5756 ("libcanberra" ,libcanberra)
5757 ("linux-pam" ,linux-pam)))
5758 (synopsis "Display manager for GNOME")
f032d0be 5759 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
5760 (description
5761 "GNOME Display Manager is a system service that is responsible for
5762providing graphical log-ins and managing local and remote displays.")
5763 (license license:gpl2+)))
8e1dd04f
SB
5764
5765(define-public libgtop
5766 (package
5767 (name "libgtop")
4f80158d 5768 (version "2.38.0")
8e1dd04f
SB
5769 (source (origin
5770 (method url-fetch)
5771 (uri (string-append "mirror://gnome/sources/" name "/"
5772 (version-major+minor version) "/"
5773 name "-" version ".tar.xz"))
5774 (sha256
5775 (base32
4f80158d 5776 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
8e1dd04f
SB
5777 (build-system gnu-build-system)
5778 (native-inputs
5779 `(("gobject-introspection" ,gobject-introspection)
5780 ("intltool" ,intltool)
5781 ("perl" ,perl)
5782 ("pkg-config" ,pkg-config)))
5783 (propagated-inputs
5784 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5785 (synopsis "Portable system access library")
5786 (home-page "https://www.gnome.org/")
5787 (description
5788 "LibGTop is a library to get system specific data such as CPU and memory
5789usage and information about running processes.")
5790 (license license:gpl2+)))
b96c4260
SB
5791
5792(define-public gnome-bluetooth
5793 (package
5794 (name "gnome-bluetooth")
fd3b1171 5795 (version "3.28.0")
b96c4260
SB
5796 (source (origin
5797 (method url-fetch)
5798 (uri (string-append "mirror://gnome/sources/" name "/"
5799 (version-major+minor version) "/"
5800 name "-" version ".tar.xz"))
5801 (sha256
5802 (base32
fd3b1171
RW
5803 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5804 (build-system meson-build-system)
b96c4260
SB
5805 (native-inputs
5806 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 5807 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
5808 ("gobject-introspection" ,gobject-introspection)
5809 ("intltool" ,intltool)
5810 ("pkg-config" ,pkg-config)
5811 ("xmllint" ,libxml2)))
5812 (propagated-inputs
5813 ;; gnome-bluetooth-1.0.pc refers to all these.
5814 `(("gtk+" ,gtk+)
5815 ("udev" ,eudev)))
5816 (inputs
5817 `(("libcanberra" ,libcanberra)
5818 ("libnotify" ,libnotify)))
5819 (synopsis "GNOME Bluetooth subsystem")
5820 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5821 (description
5822 "This package contains tools for managing and manipulating Bluetooth
5823devices using the GNOME desktop.")
5824 (license license:lgpl2.1+)))
b645146f
SB
5825
5826(define-public gnome-control-center
5827 (package
5828 (name "gnome-control-center")
59dac026 5829 (version "3.28.2")
b645146f
SB
5830 (source (origin
5831 (method url-fetch)
5832 (uri (string-append "mirror://gnome/sources/" name "/"
5833 (version-major+minor version) "/"
5834 name "-" version ".tar.xz"))
5835 (sha256
5836 (base32
59dac026
RW
5837 "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz"))))
5838 (build-system meson-build-system)
b645146f 5839 (arguments
59dac026
RW
5840 '(#:glib-or-gtk? #t
5841 #:configure-flags
5842 (list "-Dcheese=false")
5843 #:phases
b645146f
SB
5844 (modify-phases %standard-phases
5845 (add-before 'configure 'patch-paths
5846 (lambda* (#:key inputs #:allow-other-keys)
5847 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 5848 (tzdata (assoc-ref inputs "tzdata"))
341225ac
LC
5849 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
5850 (nm-applet (assoc-ref inputs "network-manager-applet")))
b645146f
SB
5851 (substitute* "panels/datetime/tz.h"
5852 (("/usr/share/zoneinfo/zone.tab")
5853 (string-append tzdata "/share/zoneinfo/zone.tab")))
5854 (substitute* "panels/datetime/test-endianess.c"
5855 (("/usr/share/locale")
5856 (string-append libc "/share/locale")))
1df38cfc
LC
5857 (substitute* "panels/region/cc-region-panel.c"
5858 (("\"gkbd-keyboard-display")
5859 (string-append "\"" libgnomekbd
5860 "/bin/gkbd-keyboard-display")))
341225ac
LC
5861 (substitute* '("panels/network/net-device-wifi.c"
5862 "panels/network/net-device.c"
5863 "panels/network/connection-editor/net-connection-editor.c")
5864 (("\"nm-connection-editor")
5865 (string-append "\"" nm-applet
5866 "/bin/nm-connection-editor")))
1acd107c
FP
5867 (substitute* '("panels/user-accounts/run-passwd.c")
5868 (("/usr/bin/passwd")
5869 "/run/setuid-programs/passwd"))
b645146f
SB
5870 #t))))))
5871 (native-inputs
5872 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 5873 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
5874 ("intltool" ,intltool)
5875 ("pkg-config" ,pkg-config)
5876 ("xsltproc" ,libxslt)))
5877 (inputs
5878 `(("accountsservice" ,accountsservice)
5879 ("clutter-gtk" ,clutter-gtk)
5880 ("colord-gtk" ,colord-gtk)
5881 ("cups" ,cups)
5882 ("dconf" ,dconf)
5883 ("docbook-xsl" ,docbook-xsl)
3446ffb5 5884 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
5885 ("gnome-bluetooth" ,gnome-bluetooth)
5886 ("gnome-desktop" ,gnome-desktop)
5887 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 5888 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
b645146f
SB
5889 ("gnome-settings-daemon" ,gnome-settings-daemon)
5890 ("grilo" ,grilo)
5891 ("ibus" ,ibus)
5892 ("libcanberra" ,libcanberra)
1df38cfc 5893 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
5894 ("libgudev" ,libgudev)
5895 ("libgtop" ,libgtop)
5896 ("libpwquality" ,libpwquality)
5897 ("libsoup" ,libsoup)
5898 ("libxml2" ,libxml2)
5899 ("libwacom" ,libwacom)
5900 ("mesa" ,mesa)
5901 ("mit-krb5" ,mit-krb5)
5902 ("modem-manager" ,modem-manager)
5903 ("network-manager-applet" ,network-manager-applet)
5904 ("polkit" ,polkit)
5905 ("pulseaudio" ,pulseaudio)
5906 ("smbclient" ,samba)
5907 ("tzdata" ,tzdata)
5908 ("upower" ,upower)))
5909 (synopsis "Utilities to configure the GNOME desktop")
5910 (home-page "https://www.gnome.org/")
5911 (description
5912 "This package contains configuration applets for the GNOME desktop,
5913allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5914properties, sound setup, desktop theme and background, user interface
5915properties, screen resolution, and other GNOME parameters.")
5916 (license license:gpl2+)))
a4df5756
SB
5917
5918(define-public gnome-shell
5919 (package
5920 (name "gnome-shell")
2b0c755d 5921 (version "3.28.2")
a4df5756
SB
5922 (source (origin
5923 (method url-fetch)
5924 (uri (string-append "mirror://gnome/sources/" name "/"
5925 (version-major+minor version) "/"
5926 name "-" version ".tar.xz"))
5927 (sha256
5928 (base32
2b0c755d 5929 "1b9n89ij2g5nqaqp7a13jnqcd8qa2v9p55rbi71al3xvqk091ri7"))
a76d0f03
LC
5930 (patches (search-patches "gnome-shell-theme.patch"))
5931 (modules '((guix build utils)))
5932 (snippet
5933 #~(begin
a76d0f03
LC
5934 ;; Copy images for use on the GDM log-in screen.
5935 (copy-file #$(file-append %artwork-repository
5936 "/slim/0.x/background.png")
5937 "data/theme/guix-background.png")
45fef894
LC
5938 (copy-file #$(file-append %artwork-repository
5939 "/logo/Guix-horizontal-white.svg")
5940 "data/theme/guix-logo.svg")
a76d0f03 5941 #t))))
2b0c755d 5942 (build-system meson-build-system)
a4df5756 5943 (arguments
08185081
MB
5944 `(#:glib-or-gtk? #t
5945 #:disallowed-references ((,glib "bin")
11e1df56
LC
5946 ,inkscape ,libxslt
5947 ,ruby-sass)
2b0c755d
RW
5948 #:configure-flags
5949 (list "-Dsystemd=false"
5950 ;; Otherwise, the RUNPATH will lack the final path component.
5951 (string-append "-Dc_link_args=-Wl,-rpath="
5952 (assoc-ref %outputs "out")
5953 "/lib/gnome-shell"))
11e1df56 5954
08185081 5955 #:modules ((guix build meson-build-system)
11e1df56
LC
5956 (guix build utils)
5957 (srfi srfi-1))
5958
2b0c755d 5959 #:phases
a4df5756 5960 (modify-phases %standard-phases
2b0c755d 5961 (add-after 'unpack 'fix-keysdir
a4df5756
SB
5962 (lambda* (#:key outputs #:allow-other-keys)
5963 (let* ((out (assoc-ref outputs "out"))
5964 (keysdir (string-append
5965 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
5966 (substitute* "meson.build"
5967 (("keysdir =.*")
5968 (string-append "keysdir = '" keysdir "'\n")))
5969 #t)))
ebfe259f
MB
5970 (add-before 'configure 'convert-logo-to-png
5971 (lambda* (#:key inputs #:allow-other-keys)
5972 ;; Convert the logo from SVG to PNG.
5973 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
5974 "data/theme/guix-logo.svg")))
ba00235a 5975 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
5976 (lambda* (#:key inputs #:allow-other-keys)
5977 (substitute* "js/misc/ibusManager.js"
5978 (("'ibus-daemon'")
5979 (string-append "'" (assoc-ref inputs "ibus")
5980 "/bin/ibus-daemon'")))
d6fda4d3
LC
5981 (substitute* "js/ui/status/keyboard.js"
5982 (("'gkbd-keyboard-display'")
5983 (string-append "'" (assoc-ref inputs "libgnomekbd")
5984 "/bin/gkbd-keyboard-display'")))
2472cdec 5985 #t))
2b0c755d
RW
5986 (add-before 'check 'pre-check
5987 (lambda* (#:key inputs #:allow-other-keys)
5988 ;; Tests require a running X server.
5989 (system "Xvfb :1 &")
5990 (setenv "DISPLAY" ":1")
5991 #t))
5992 (add-after 'install 'wrap-programs
5993 (lambda* (#:key inputs outputs #:allow-other-keys)
5994 (let ((out (assoc-ref outputs "out"))
5995 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5996 (python-path (getenv "PYTHONPATH")))
5997 (wrap-program (string-append out "/bin/gnome-shell")
5998 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5999 ;; FIXME: gnome-shell loads these libraries with unqualified
6000 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6001 ;; alternative might be to patch gnome-shell.
6002 `("LD_LIBRARY_PATH" ":" prefix
6003 ,(map (lambda (pkg)
6004 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
6005 '("gdk-pixbuf"
6006 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
6007 (for-each
6008 (lambda (prog)
6009 (wrap-program (string-append out "/bin/" prog)
6010 `("PYTHONPATH" ":" prefix (,python-path))
6011 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6012 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 6013 #t)))
11e1df56
LC
6014 (replace 'glib-or-gtk-wrap
6015 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6016 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6017 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6018 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6019 ;; phase. Fix that since we don't need these.
6020 (wrap #:inputs (fold alist-delete inputs
6021 '("inkscape" "intltool" "glib:bin"))
6022 #:outputs outputs)))))))
a4df5756
SB
6023 (native-inputs
6024 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 6025 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 6026 ("gobject-introspection" ,gobject-introspection)
ebfe259f 6027 ("inkscape" ,inkscape)
a4df5756
SB
6028 ("intltool" ,intltool)
6029 ("pkg-config" ,pkg-config)
6030 ("python" ,python)
2b0c755d
RW
6031 ("ruby-sass" ,ruby-sass)
6032 ("sassc" ,sassc)
a76d0f03 6033 ("xsltproc" ,libxslt)
2b0c755d 6034 ;; For tests
0b4504f6 6035 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
6036 (inputs
6037 `(("accountsservice" ,accountsservice)
6038 ("caribou" ,caribou)
6039 ("docbook-xsl" ,docbook-xsl)
6040 ("evolution-data-server" ,evolution-data-server)
6041 ("gcr" ,gcr)
6042 ("gdm" ,gdm)
c5db31d4 6043 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
6044 ("gjs" ,gjs)
6045 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
6046 ("gnome-desktop" ,gnome-desktop)
6047 ("gnome-settings-daemon" ,gnome-settings-daemon)
6048 ("gst-plugins-base" ,gst-plugins-base)
6049 ("ibus" ,ibus)
6050 ("libcanberra" ,libcanberra)
6051 ("libcroco" ,libcroco)
d6fda4d3 6052 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
6053 ("libgweather" ,libgweather)
6054 ("libsoup" ,libsoup)
6055 ("mesa-headers" ,mesa-headers)
6056 ("mutter" ,mutter)
6057 ("network-manager-applet" ,network-manager-applet)
6058 ("polkit" ,polkit)
6059 ("pulseaudio" ,pulseaudio)
6060 ("python-pygobject" ,python-pygobject)
6061 ("startup-notification" ,startup-notification)
6062 ("telepathy-logger" ,telepathy-logger)
6063 ("upower" ,upower)
30e760f0
MB
6064 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6065 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6066 ("librsvg" ,librsvg)
2b0c755d 6067 ("geoclue" ,geoclue)))
a4df5756
SB
6068 (synopsis "Desktop shell for GNOME")
6069 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6070 (description
6071 "GNOME Shell provides core user interface functions for the GNOME desktop,
6072like switching to windows and launching applications.")
6073 (license license:gpl2+)))
c3f29bc9
RS
6074
6075(define-public gtk-vnc
6076 (package
6077 (name "gtk-vnc")
965ff023 6078 (version "0.9.0")
c3f29bc9
RS
6079 (source
6080 (origin
6081 (method url-fetch)
6082 (uri (string-append "mirror://gnome/sources/" name "/"
6083 (version-major+minor version) "/"
6084 name "-" version ".tar.xz"))
6085 (sha256
6086 (base32
965ff023 6087 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
6088 (build-system gnu-build-system)
6089 (arguments
6090 '(#:configure-flags '("--with-gtk=3.0")))
6091 (propagated-inputs
6092 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6093 (inputs
6094 `(("cyrus-sasl" ,cyrus-sasl)
6095 ("gnutls" ,gnutls)
6096 ("libgcrypt" ,libgcrypt)
6097 ("pulseaudio" ,pulseaudio)))
6098 (native-inputs
6099 `(("glib:bin" ,glib "bin")
6100 ("gobject-introspection" ,gobject-introspection)
6101 ("intltool" ,intltool)
6102 ("pkg-config" ,pkg-config)
2f17e939 6103 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
6104 ("vala" ,vala)))
6105 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6106 (synopsis "VNC viewer widget for GTK+")
6107 (description
6108 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6109applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6110GTK-VNC implements client side RFB protocol and authentication extensions such
6111as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6112 (license license:lgpl2.1+)))
8b877545 6113
dc69fe18
MW
6114(define-public gnome-autoar
6115 (package
6116 (name "gnome-autoar")
c7da8510 6117 (version "0.2.3")
dc69fe18
MW
6118 (source (origin
6119 (method url-fetch)
6120 (uri (string-append "mirror://gnome/sources/" name "/"
6121 (version-major+minor version) "/"
6122 name "-" version ".tar.xz"))
6123 (sha256
6124 (base32
c7da8510 6125 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
6126 (build-system glib-or-gtk-build-system)
6127 (native-inputs
6128 `(("gnome-common" ,gnome-common)
6129 ("gobject-introspection" ,gobject-introspection)
6130 ("pkg-config" ,pkg-config)))
6131 (propagated-inputs
6132 `(("libarchive" ,libarchive))) ; XXX document why
6133 (inputs
6134 `(("gtk+" ,gtk+)
6135 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
6136 (synopsis "Archives integration support for GNOME")
6137 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6138 (description
6139 "GNOME Autoar is a library which makes creating and extracting archives
6140easy, safe, and automatic.")
6141 (license license:lgpl2.1+)))
6142
b64e217f
MW
6143(define-public tracker
6144 (package
6145 (name "tracker")
c8bdf589 6146 (version "2.0.4")
b64e217f
MW
6147 (source (origin
6148 (method url-fetch)
6149 (uri (string-append "mirror://gnome/sources/" name "/"
6150 (version-major+minor version) "/"
6151 name "-" version ".tar.xz"))
6152 (sha256
6153 (base32
c8bdf589 6154 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
b64e217f 6155 (build-system glib-or-gtk-build-system)
c8bdf589
RW
6156 (arguments
6157 `(#:phases
6158 (modify-phases %standard-phases
6159 (add-after 'unpack 'disable-broken-tests
6160 (lambda _
6161 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6162 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6163 (substitute* "tests/libtracker-miner/Makefile.in"
6164 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6165 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6166 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6167 (substitute* "tests/libtracker-fts/Makefile.in"
6168 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6169 (substitute* "tests/libtracker-data/Makefile.in"
6170 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6171 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6172 (("tracker-backup\\$\\(EXEEXT\\)") "")
6173 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6174 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6175 ;; These fail because the SPARQL backend could not be loaded.
6176 ;; That's because /etc/machine-id is missing, but
6177 ;; DBUS_FATAL_WARNINGS does not help here.
6178 (substitute* "tests/libtracker-sparql/Makefile.in"
6179 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6180 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6181 (substitute* "tests/tracker-steroids/Makefile.in"
6182 (("tracker-test\\$\\(EXEEXT\\)") ""))
6183 #t))
6184 ;; Two tests fail if LANG is not set.
6185 (add-before 'check 'pre-check
6186 (lambda _
6187 (setenv "LANG" "en_US.UTF-8")
6188 ;; For the missing /etc/machine-id.
6189 (setenv "DBUS_FATAL_WARNINGS" "0")
6190 #t)))))
b64e217f
MW
6191 (native-inputs
6192 `(("gnome-common" ,gnome-common)
6193 ("gobject-introspection" ,gobject-introspection)
6194 ("intltool" ,intltool)
6195 ("pkg-config" ,pkg-config)
6196 ("vala" ,vala)))
6197 (inputs
6198 `(("gtk+" ,gtk+)
6199 ("dbus" ,dbus)
6200 ("gstreamer" ,gstreamer)
6201 ("gst-plugins-base" ,gst-plugins-base)
44ed6284 6202 ("sqlite" ,sqlite)
b64e217f 6203 ("nettle" ,nettle) ; XXX why is this needed?
c8bdf589 6204 ("python" ,python)
b64e217f
MW
6205 ("poppler" ,poppler)
6206 ("libgsf" ,libgsf)
6207 ("libexif" ,libexif)
6208 ("libpng" ,libpng)
6209 ("libtiff" ,libtiff)
6210 ("libvorbis" ,libvorbis)
6211 ("flac" ,flac)
6212 ("totem-pl-parser" ,totem-pl-parser)
6213 ("zlib" ,zlib)
6214 ("exempi" ,exempi)
6215 ("libxml2" ,libxml2)
6216 ("upower" ,upower)
b64e217f
MW
6217 ("libunistring" ,libunistring)
6218 ("giflib" ,giflib)
0ef48cd9 6219 ("json-glib" ,json-glib)
b64e217f
MW
6220 ("openjpeg" ,openjpeg-1)
6221 ("libosinfo" ,libosinfo)
6222 ("libcue" ,libcue)
6223 ("libseccomp" ,libseccomp)
0ef48cd9 6224 ("libsoup" ,libsoup)
b64e217f 6225 ("libuuid" ,util-linux)))
b64e217f
MW
6226 (synopsis "Metadata database, indexer and search tool")
6227 (home-page "https://wiki.gnome.org/Projects/Tracker")
6228 (description
6229 "Tracker is an advanced framework for first class objects with associated
6230metadata and tags. It provides a one stop solution for all metadata, tags,
6231shared object databases, search tools and indexing.")
6232 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6233 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6234 (license (list license:gpl2+
6235 license:lgpl2.1+
6236 license:lgpl2.0+))))
6237
8b877545
RS
6238(define-public nautilus
6239 (package
6240 (name "nautilus")
caf6c363 6241 (version "3.28.1")
8b877545
RS
6242 (source (origin
6243 (method url-fetch)
6244 (uri (string-append "mirror://gnome/sources/" name "/"
6245 (version-major+minor version) "/"
6246 name "-" version ".tar.xz"))
6247 (sha256
6248 (base32
caf6c363 6249 "19dhpa2ylrg8d5274lahy7xqr2p9z3jnq1h4qmsh95czkpy7is4w"))))
35e2d0cf 6250 (build-system meson-build-system)
8b877545 6251 (arguments
35e2d0cf 6252 '(#:glib-or-gtk? #t
8b877545
RS
6253 ;; XXX: FAIL: check-nautilus
6254 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6255 #:tests? #f))
6256 (native-inputs
35e2d0cf
R
6257 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6258 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6259 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
6260 ("gobject-introspection" ,gobject-introspection)
6261 ("intltool" ,intltool)
6262 ("pkg-config" ,pkg-config)))
8b877545 6263 (inputs
8b877545 6264 `(("dconf" ,dconf)
caf6c363 6265 ("gexiv2" ,gexiv2)
dd05e731 6266 ("gvfs" ,gvfs)
8b877545
RS
6267 ("exempi" ,exempi)
6268 ("gnome-desktop" ,gnome-desktop)
09d88905 6269 ("gnome-autoar" ,gnome-autoar)
35e2d0cf
R
6270 ("libselinux" ,libselinux)
6271 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
09d88905 6272 ("tracker" ,tracker)
ce6027bf
SB
6273 ;; XXX: gtk+ is required by libnautilus-extension.pc
6274 ;;
6275 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6276 ;; package. See:
6277 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6278 ("gtk+" ,gtk+)
8b877545
RS
6279 ("libexif" ,libexif)
6280 ("libxml2" ,libxml2)))
6281 (synopsis "File manager for GNOME")
6282 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6283 (description
6284 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6285design and behaviour, giving the user a simple way to navigate and manage its
6286files.")
6287 (license license:gpl2+)))
3c697ffd
JR
6288
6289(define-public baobab
6290 (package
6291 (name "baobab")
d233d373 6292 (version "3.28.0")
3c697ffd
JR
6293 (source (origin
6294 (method url-fetch)
6295 (uri (string-append
6296 "mirror://gnome/sources/" name "/"
6297 (version-major+minor version) "/"
6298 name "-" version ".tar.xz"))
6299 (sha256
6300 (base32
d233d373
RJ
6301 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
6302 (build-system meson-build-system)
6303 (arguments
6304 '(#:glib-or-gtk? #t))
3c697ffd
JR
6305 (native-inputs
6306 `(("intltool" ,intltool)
6307 ("pkg-config" ,pkg-config)
d233d373
RJ
6308 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6309 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
6310 ("itstool" ,itstool)
6311 ("xmllint" ,libxml2)
6312 ("glib" ,glib "bin")
6313 ("vala" ,vala)))
6314 (inputs
6315 `(("gtk+" ,gtk+)))
6316 (synopsis "Disk usage analyzer for GNOME")
6317 (description
6318 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6319usage in the GNOME desktop environment. It can easily scan device volumes or
6320a specific user-requested directory branch (local or remote). Once the scan
6321is complete it provides a graphical representation of each selected folder.")
6322 (home-page "https://wiki.gnome.org/Apps/Baobab")
6323 (license license:gpl2+)))
dc050251 6324
fdba447c
RS
6325(define-public gnome-backgrounds
6326 (package
6327 (name "gnome-backgrounds")
9ca381f0 6328 (version "3.28.0")
fdba447c
RS
6329 (source
6330 (origin
6331 (method url-fetch)
6332 (uri (string-append "mirror://gnome/sources/" name "/"
6333 (version-major+minor version) "/"
6334 name "-" version ".tar.xz"))
6335 (sha256
6336 (base32
9ca381f0
RW
6337 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6338 (build-system meson-build-system)
fdba447c
RS
6339 (native-inputs
6340 `(("intltool" ,intltool)))
6341 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6342 (synopsis "Background images for the GNOME desktop")
6343 (description
6344 "GNOME backgrounds package contains a collection of graphics files which
6345can be used as backgrounds in the GNOME Desktop environment. Additionally,
6346the package creates the proper framework and directory structure so that you
6347can add your own files to the collection.")
6348 (license (list license:gpl2+
6349 license:cc-by2.0
6350 license:cc-by-sa2.0
6351 license:cc-by-sa3.0))))
6352
b784b1a9
RS
6353(define-public gnome-screenshot
6354 (package
6355 (name "gnome-screenshot")
8356aefa 6356 (version "3.26.0")
b784b1a9
RS
6357 (source
6358 (origin
6359 (method url-fetch)
6360 (uri (string-append "mirror://gnome/sources/" name "/"
6361 (version-major+minor version) "/"
6362 name "-" version ".tar.xz"))
6363 (sha256
6364 (base32
8356aefa
RW
6365 "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v"))))
6366 (build-system meson-build-system)
b784b1a9
RS
6367 (native-inputs
6368 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
6369 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6370 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 6371 ("intltool" ,intltool)
8356aefa 6372 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
6373 ("pkg-config" ,pkg-config)))
6374 (inputs
6375 `(("gtk+" ,gtk+)
6376 ("libcanberra" ,libcanberra)
6377 ("libx11" ,libx11)
6378 ("libxext" ,libxext)))
6379 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6380 (synopsis "Take pictures of your screen")
6381 (description
6382 "GNOME Screenshot is a utility used for taking screenshots of the entire
6383screen, a window or a user defined area of the screen, with optional
6384beautifying border effects.")
6385 (license license:gpl2+)))
6386
66d59111
RS
6387(define-public dconf-editor
6388 (package
6389 (name "dconf-editor")
294ff39d 6390 (version "3.28.0")
66d59111
RS
6391 (source
6392 (origin
6393 (method url-fetch)
6394 (uri (string-append "mirror://gnome/sources/" name "/"
6395 (version-major+minor version) "/"
6396 name "-" version ".tar.xz"))
6397 (sha256
6398 (base32
294ff39d
RW
6399 "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5"))))
6400 (build-system meson-build-system)
66d59111
RS
6401 (native-inputs
6402 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 6403 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 6404 ("intltool" ,intltool)
294ff39d
RW
6405 ("pkg-config" ,pkg-config)
6406 ("vala" ,vala)))
66d59111
RS
6407 (inputs
6408 `(("dconf" ,dconf)
6409 ("gtk+" ,gtk+)
6410 ("libxml2" ,libxml2)))
6411 (home-page "https://git.gnome.org/browse/dconf-editor")
6412 (synopsis "Graphical editor for GNOME's dconf configuration system")
6413 (description
6414 "Dconf-editor is a graphical tool for browsing and editing the dconf
6415configuration system for GNOME. It allows users to configure desktop
6416software that do not provide their own configuration interface.")
6417 (license license:lgpl2.1+)))
6418
96d36f38
AW
6419(define-public gnome-default-applications
6420 (package
6421 (name "gnome-default-applications")
6422 (version "0")
6423 (build-system trivial-build-system)
6424 (source #f)
6425 (propagated-inputs
8ad4f0aa
LC
6426 `(("nautilus" ,nautilus)
6427 ("evince" ,evince)))
96d36f38
AW
6428 (arguments
6429 `(#:modules ((guix build utils))
6430 #:builder
6431 (begin
6432 (use-modules (guix build utils))
6433 (let* ((out (assoc-ref %outputs "out"))
6434 (apps (string-append out "/share/applications")))
6435 (mkdir-p apps)
6436 (call-with-output-file (string-append apps "/defaults.list")
6437 (lambda (port)
6438 (format port "[Default Applications]\n")
8ad4f0aa
LC
6439 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6440 (format port "application/pdf=evince.desktop\n")
6441 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
6442 #t))))
6443 (synopsis "Default MIME type associations for the GNOME desktop")
6444 (description
6445 "Given many installed packages which might handle a given MIME type, a
6446user running the GNOME desktop probably has some preferences: for example,
6447that folders be opened by default by the Nautilus file manager, not the Baobab
6448disk usage analyzer. This package establishes that set of default MIME type
6449associations for GNOME.")
6450 (license license:gpl3+)
6451 (home-page #f)))
6452
dc050251
SB
6453(define-public gnome
6454 (package
6455 (name "gnome")
6456 (version (package-version gnome-shell))
6457 (source #f)
6458 (build-system trivial-build-system)
e3cfef22 6459 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251
SB
6460 (propagated-inputs
6461 ;; TODO: Add more packages according to:
6462 ;; <https://packages.debian.org/jessie/gnome-core>.
6463 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 6464 ("baobab" ,baobab)
0bd3597b 6465 ("font-cantarell" ,font-cantarell)
a9dbefdc 6466 ("font-dejavu" ,font-dejavu)
dc050251
SB
6467 ("at-spi2-core" ,at-spi2-core)
6468 ("dbus" ,dbus)
6469 ("dconf" ,dconf)
72360453 6470 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
6471 ("eog" ,eog)
6472 ("epiphany" ,epiphany)
6473 ("evince" ,evince)
71d9b980 6474 ("file-roller" ,file-roller)
dc050251
SB
6475 ("gedit" ,gedit)
6476 ("glib-networking" ,glib-networking)
05f651c4 6477 ("gnome-backgrounds" ,gnome-backgrounds)
63ad9b80
AW
6478 ("gnome-bluetooth" ,gnome-bluetooth)
6479 ("gnome-calculator" ,gnome-calculator)
dc050251 6480 ("gnome-control-center" ,gnome-control-center)
63ad9b80 6481 ("gnome-disk-utility" ,gnome-disk-utility)
96d36f38 6482 ("gnome-default-applications" ,gnome-default-applications)
dc050251 6483 ("gnome-keyring" ,gnome-keyring)
63ad9b80 6484 ("gnome-online-accounts" ,gnome-online-accounts)
dc050251
SB
6485 ("gnome-session" ,gnome-session)
6486 ("gnome-settings-daemon" ,gnome-settings-daemon)
6487 ("gnome-shell" ,gnome-shell)
63ad9b80 6488 ("gnome-system-monitor" ,gnome-system-monitor)
dc050251
SB
6489 ("gnome-terminal" ,gnome-terminal)
6490 ("gnome-themes-standard" ,gnome-themes-standard)
2999dcd5
AW
6491 ("gst-plugins-base" ,gst-plugins-base)
6492 ("gst-plugins-good" ,gst-plugins-good)
63ad9b80 6493 ("gucharmap" ,gucharmap)
05f651c4 6494 ("gvfs" ,gvfs)
dc050251
SB
6495 ("hicolor-icon-theme" ,hicolor-icon-theme)
6496 ("nautilus" ,nautilus)
69308043 6497 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
6498 ("pulseaudio" ,pulseaudio)
6499 ("shared-mime-info" ,shared-mime-info)
f6f4370f 6500 ("system-config-printer" ,system-config-printer)
dc050251 6501 ("totem" ,totem)
c20cd0d2 6502 ("xdg-user-dirs" ,xdg-user-dirs)
dc050251
SB
6503 ("yelp" ,yelp)
6504 ("zenity" ,zenity)))
fe4e698d 6505 (synopsis "The GNU desktop environment")
dc050251
SB
6506 (home-page "https://www.gnome.org/")
6507 (description
fe4e698d
LC
6508 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6509applications for browsing the web, editing text and images, creating
6510documents and diagrams, playing media, scanning, and much more.")
dc050251 6511 (license license:gpl2+)))
4a526711
DT
6512
6513(define-public byzanz
6514 ;; The last stable release of Byzanz was in 2011, but there have been many
6515 ;; useful commits made to the Byzanz repository since then that it would be
6516 ;; silly to use such an old release.
6517 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6518 (package
6519 (name "byzanz")
6520 (version (string-append "0.2-1." (string-take commit 7)))
6521 (source (origin
6522 (method git-fetch)
6523 (uri (git-reference
5f13bf09 6524 (url "https://git.gnome.org/browse/byzanz")
4a526711 6525 (commit commit)))
5a6527e4 6526 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
6527 (sha256
6528 (base32
6529 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6530 (build-system glib-or-gtk-build-system)
6531 (arguments
6532 '(#:phases
6533 (modify-phases %standard-phases
189be331 6534 (replace 'bootstrap
4a526711
DT
6535 (lambda _
6536 ;; The build system cleverly detects that we're not building from
6537 ;; a release tarball and turns on -Werror for GCC.
6538 ;; Unsurprisingly, there is a warning during compilation that
6539 ;; causes the build to fail unnecessarily, so we remove the flag.
6540 (substitute* '("configure.ac")
6541 (("-Werror") ""))
6542 ;; The autogen.sh script in gnome-common will run ./configure
6543 ;; by default, which is problematic because source shebangs
6544 ;; have not yet been patched.
6545 (setenv "NOCONFIGURE" "t")
6546 (zero? (system* "sh" "autogen.sh")))))))
6547 (native-inputs
6548 `(("autoconf" ,autoconf)
6549 ("automake" ,automake)
6550 ("gnome-common" ,gnome-common)
6551 ("intltool" ,intltool)
6552 ("libtool" ,libtool)
6553 ("pkg-config" ,pkg-config)
6554 ("which" ,which)))
6555 (inputs
6556 `(("glib" ,glib)
6557 ("gstreamer" ,gstreamer)
6558 ("gst-plugins-base" ,gst-plugins-base)
6559 ("gtk+" ,gtk+)))
6560 (synopsis "Desktop recording program")
6561 (description "Byzanz is a simple desktop recording program with a
6562command-line interface. It can record part or all of an X display for a
6563specified duration and save it as a GIF encoded animated image file.")
6564 (home-page "https://git.gnome.org/browse/byzanz")
6565 (license license:gpl2+))))
3a9a4c51 6566
0ec171ec
MS
6567(define-public gsound
6568 (package
6569 (name "gsound")
6570 (version "1.0.2")
6571 (source (origin
6572 (method url-fetch)
6573 (uri (string-append "mirror://gnome/sources/" name "/"
6574 (version-major+minor version) "/"
6575 name "-" version ".tar.xz"))
6576 (sha256
6577 (base32
6578 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6579 (build-system glib-or-gtk-build-system)
6580 (native-inputs
6581 `(("pkg-config" ,pkg-config)
6582 ("gobject-introspection" ,gobject-introspection)
6583 ("vala" ,vala)))
6584 (inputs
6585 `(("glib" ,glib)
6586 ("libcanberra" ,libcanberra)))
6587 (home-page "https://wiki.gnome.org/Projects/GSound")
6588 (synopsis "GObject wrapper for libcanberra")
6589 (description
6590 "GSound is a small library for playing system sounds. It's designed to be
6591used via GObject Introspection, and is a thin wrapper around the libcanberra C
6592library.")
6593 (license license:lgpl2.1+)))
6594
3a9a4c51
RS
6595(define-public libzapojit
6596 (package
6597 (name "libzapojit")
6598 (version "0.0.3")
6599 (source (origin
6600 (method url-fetch)
6601 (uri (string-append "mirror://gnome/sources/" name "/"
6602 (version-major+minor version) "/"
6603 name "-" version ".tar.xz"))
6604 (sha256
6605 (base32
6606 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6607 (build-system gnu-build-system)
6608 (native-inputs
6609 `(("gobject-introspection" ,gobject-introspection)
6610 ("intltool" ,intltool)
6611 ("pkg-config" ,pkg-config)))
6612 (inputs
14c297fd 6613 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
6614 ("json-glib" ,json-glib)
6615 ("rest" ,rest)))
6616 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6617 (synopsis "Library for accessing SkyDrive and Hotmail")
6618 (description
6619 "Libzapojit is a GLib-based library for accessing online service APIs of
6620Microsoft SkyDrive and Hotmail, using their REST protocols.")
6621 (license license:lgpl2.1+)))
9365ee1c 6622
60e2a9ae
MS
6623(define-public gnome-clocks
6624 (package
6625 (name "gnome-clocks")
80d1e4c0 6626 (version "3.28.0")
60e2a9ae
MS
6627 (source (origin
6628 (method url-fetch)
6629 (uri (string-append "mirror://gnome/sources/" name "/"
6630 (version-major+minor version) "/"
6631 name "-" version ".tar.xz"))
6632 (sha256
6633 (base32
80d1e4c0 6634 "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl"))))
60e2a9ae
MS
6635 (build-system meson-build-system)
6636 (arguments
6637 '(#:glib-or-gtk? #t))
6638 (native-inputs
6639 `(("vala" ,vala)
6640 ("pkg-config" ,pkg-config)
6641 ("glib" ,glib "bin") ; for glib-compile-resources
6642 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6643 ("desktop-file-utils" ,desktop-file-utils)
6644 ("gettext" ,gettext-minimal)
6645 ("itstool" ,itstool)))
6646 (inputs
6647 `(("glib" ,glib)
6648 ("gtk+" ,gtk+)
6649 ("gsound" ,gsound)
6650 ("geoclue" ,geoclue)
6651 ("geocode-glib" ,geocode-glib)
6652 ("libgweather" ,libgweather)
6653 ("gnome-desktop" ,gnome-desktop)))
6654 (home-page "https://wiki.gnome.org/Apps/Clocks")
6655 (synopsis "GNOME's clock application")
6656 (description
6657 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6658desktop. It supports world clock, stop watch, alarms, and count down timer.")
6659 (license license:gpl3+)))
6660
3c474897
KY
6661(define-public gnome-calendar
6662 (package
6663 (name "gnome-calendar")
a286b5eb 6664 (version "3.28.2")
3c474897
KY
6665 (source (origin
6666 (method url-fetch)
6667 (uri (string-append "mirror://gnome/sources/" name "/"
6668 (version-major+minor version) "/"
6669 name "-" version ".tar.xz"))
6670 (sha256
6671 (base32
a286b5eb 6672 "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw"))))
a49d3e37
MS
6673 (build-system meson-build-system)
6674 (arguments
6675 '(#:glib-or-gtk? #t
6676 ;; gnome-calendar has to be installed before the tests can be run
6677 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6678 #:tests? #f))
3c474897 6679 (native-inputs
a49d3e37
MS
6680 `(("gettext" ,gettext-minimal)
6681 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6682 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
6683 ("pkg-config" ,pkg-config)))
6684 (inputs
a49d3e37 6685 `(("evolution-data-server" ,evolution-data-server)
14c297fd 6686 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
6687 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6688 ("libdazzle" ,libdazzle)
571fb008 6689 ("libedataserverui" ,evolution-data-server "libedataserverui")
a286b5eb
RW
6690 ("libgweather" ,libgweather)
6691 ("geoclue" ,geoclue)))
3c474897
KY
6692 (home-page "https://wiki.gnome.org/Apps/Calendar")
6693 (synopsis "GNOME's calendar application")
6694 (description
6695 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 6696desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
6697 (license license:gpl3+)))
6698
57b14665
MS
6699(define-public gnome-todo
6700 (package
6701 (name "gnome-todo")
9f3c6c88 6702 (version "3.28.1")
57b14665
MS
6703 (source (origin
6704 (method url-fetch)
6705 (uri (string-append "mirror://gnome/sources/" name "/"
6706 (version-major+minor version) "/"
6707 name "-" version ".tar.xz"))
6708 (sha256
6709 (base32
9f3c6c88 6710 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
6711 (build-system meson-build-system)
6712 (arguments
6713 '(#:glib-or-gtk? #t
6714 #:phases (modify-phases %standard-phases
6715 (add-after
6716 'install 'wrap-gnome-todo
6717 (lambda* (#:key inputs outputs #:allow-other-keys)
6718 (let ((out (assoc-ref outputs "out"))
6719 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6720 (python-path (getenv "PYTHONPATH")))
6721 (wrap-program (string-append out "/bin/gnome-todo")
6722 ;; XXX: gi plugins are broken.
6723 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6724 ;; For plugins.
6725 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6726 `("PYTHONPATH" ":" prefix (,python-path))))
6727 #t)))))
6728 (native-inputs
6729 `(("gettext" ,gettext-minimal)
6730 ("gobject-introspection" ,gobject-introspection)
6731 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6732 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6733 ("pkg-config" ,pkg-config)))
6734 (inputs
6735 `(("rest" ,rest) ; For Todoist plugin
6736 ("json-glib" ,json-glib) ; For Todoist plugin
da43d1cb 6737 ("libedataserverui" ,evolution-data-server "libedataserverui")
57b14665
MS
6738 ("libical" ,libical)
6739 ("libpeas" ,libpeas)
6740 ("python-pygobject" ,python-pygobject)
6741 ("evolution-data-server" ,evolution-data-server)
14c297fd 6742 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
6743 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6744 (home-page "https://wiki.gnome.org/Apps/Todo")
6745 (synopsis "GNOME's ToDo Application")
6746 (description
6747 "GNOME To Do is a simplistic personal task manager designed to perfectly
6748fit the GNOME desktop.")
6749 (license license:gpl3+)))
6750
ab179eaf
SB
6751(define-public gnome-dictionary
6752 (package
6753 (name "gnome-dictionary")
cf81ddef 6754 (version "3.26.1")
ab179eaf
SB
6755 (source (origin
6756 (method url-fetch)
6757 (uri (string-append "mirror://gnome/sources/" name "/"
6758 (version-major+minor version) "/"
6759 name "-" version ".tar.xz"))
6760 (sha256
6761 (base32
cf81ddef
LC
6762 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6763 (build-system meson-build-system)
2776b5d5
MB
6764 (arguments '(#:glib-or-gtk? #t
6765 #:phases (modify-phases %standard-phases
6766 (add-after 'unpack 'patch-install-script
6767 (lambda _
6768 ;; This script attempts to compile glib schemas
6769 ;; and create an empty MIME database. We do
6770 ;; that elsewhere, so prevent it from running.
6771 (substitute* "build-aux/post-install.sh"
6772 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6773 #t)))))
ab179eaf
SB
6774 (native-inputs
6775 `(("glib:bin" ,glib "bin")
6776 ("gobject-introspection" ,gobject-introspection)
6777 ("intltool" ,intltool)
6778 ("itstool" ,itstool)
6779 ("pkg-config" ,pkg-config)
6780 ("xmllint" ,libxml2)))
6781 (inputs
6782 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6783 ("gtk+" ,gtk+)))
6784 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6785 (synopsis "Look up words in dictionary sources")
6786 (description
6787 "GNOME Dictionary can look for the definition or translation of a word in
6788existing databases over the internet.")
6789 (license license:gpl3+)))
6790
d13f3a03 6791(define-public gnome-tweaks
9365ee1c 6792 (package
d13f3a03
RW
6793 (name "gnome-tweaks")
6794 (version "3.28.1")
9365ee1c
JN
6795 (source (origin
6796 (method url-fetch)
d13f3a03 6797 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 6798 (version-major+minor version) "/"
d13f3a03
RW
6799 "gnome-tweaks-" version ".tar.xz"))
6800 (patches
6801 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
6802 (sha256
6803 (base32
d13f3a03
RW
6804 "1p5xydr0haz4389h6dvvbna6i1mipdzvmlfksnv0jqfvfs9sy6fp"))))
6805 (build-system meson-build-system)
9365ee1c 6806 (arguments
d13f3a03
RW
6807 `(#:glib-or-gtk? #t
6808 #:configure-flags '("-Dlocalstatedir=/tmp"
6809 "-Dsysconfdir=/tmp")
9365ee1c 6810 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
6811 ,@%meson-build-system-modules)
6812 #:phases
6813 (modify-phases %standard-phases
6814 (add-after 'install 'wrap
6815 (@@ (guix build python-build-system) wrap))
6816 (add-after 'wrap 'wrap-gi-typelib
6817 (lambda* (#:key inputs outputs #:allow-other-keys)
6818 (let ((out (assoc-ref outputs "out"))
6819 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6820 (wrap-program (string-append out "/bin/gnome-tweaks")
6821 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6822 #t)))))
9365ee1c 6823 (native-inputs
c7fc414e
RH
6824 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6825 ("intltool" ,intltool)
9365ee1c
JN
6826 ("pkg-config" ,pkg-config)))
6827 (inputs
c7fc414e
RH
6828 `(("gnome-desktop" ,gnome-desktop)
6829 ("gtk+" ,gtk+)
9365ee1c
JN
6830 ("gobject-introspection" ,gobject-introspection)
6831 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
6832 ("libnotify" ,libnotify)
6833 ("libsoup" ,libsoup)
6834 ("nautilus" ,nautilus)
6835 ("python" ,python)
6836 ("python-pygobject" ,python-pygobject)))
9365ee1c 6837 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 6838 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 6839 (description
d13f3a03 6840 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
6841GNOME 3. This includes things like the fonts used in user interface elements,
6842alternative user interface themes, changes in window management behavior,
6843GNOME Shell appearance and extension, etc.")
6844 (license license:gpl3+)))
813f814a 6845
d13f3a03
RW
6846;; This package has been renamed by upstream.
6847(define-public gnome-tweak-tool
6848 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
6849
32ac717c
DT
6850(define-public gnome-shell-extensions
6851 (package
6852 (name "gnome-shell-extensions")
100f625b 6853 (version "3.28.1")
32ac717c
DT
6854 (source (origin
6855 (method url-fetch)
6856 (uri (string-append "mirror://gnome/sources/" name "/"
6857 (version-major+minor version) "/"
6858 name "-" version ".tar.xz"))
6859 (sha256
6860 (base32
100f625b
RW
6861 "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9"))))
6862 (build-system meson-build-system)
32ac717c 6863 (arguments
100f625b 6864 '(#:configure-flags '("-Dextension_set=all")))
32ac717c
DT
6865 (native-inputs
6866 `(("intltool" ,intltool)
6867 ("pkg-config" ,pkg-config)))
6868 (propagated-inputs
6869 `(("glib" ,glib)
6870 ("glib" ,glib "bin")))
6871 (synopsis "Extensions for GNOME Shell")
6872 (description "GNOME Shell extensions modify and extend GNOME Shell
6873functionality and behavior.")
6874 (home-page "https://extensions.gnome.org/")
6875 (license license:gpl3+)))
6876
a7a31827
GL
6877(define-public numix-theme
6878 (package
6879 (name "numix-theme")
6880 (version "2.6.7")
6881 (source (origin
6882 (method git-fetch)
6883 (uri (git-reference
6884 (url "https://github.com/numixproject/numix-gtk-theme.git")
6885 (commit version)))
6886 (file-name (git-file-name name version))
6887 (sha256
6888 (base32
6889 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
6890 (build-system gnu-build-system)
6891 (arguments
6892 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
6893 #:phases
6894 (modify-phases %standard-phases
6895 (delete 'configure)
6896 (delete 'check))))
6897 (native-inputs
6898 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
6899 ("gnome-shell" ,gnome-shell)
6900 ("gtk+" ,gtk+)
6901 ("xmllint" ,libxml2)
6902 ("ruby-sass" ,ruby-sass)))
6903 (synopsis "Flat theme with light and dark elements")
6904 (description "Numix is a modern flat theme with a combination of light and
6905dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
6906 (home-page "https://numixproject.github.io")
6907 (license license:gpl3+)))
6908
813f814a
DT
6909(define-public arc-theme
6910 (package
6911 (name "arc-theme")
a18f8eaf 6912 (version "20181022")
813f814a 6913 (source (origin
a18f8eaf
BH
6914 (method git-fetch)
6915 (uri (git-reference
6916 (url "https://github.com/NicoHood/arc-theme.git")
6917 (commit version)))
6918 (file-name (git-file-name name version))
813f814a
DT
6919 (sha256
6920 (base32
a18f8eaf 6921 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
813f814a 6922 (build-system gnu-build-system)
d88884fa
EF
6923 (arguments
6924 '(#:phases
6925 (modify-phases %standard-phases
6926 ;; autogen.sh calls configure at the end of the script.
6927 (replace 'bootstrap
6928 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
6929 (native-inputs
6930 `(("autoconf" ,autoconf)
6931 ("automake" ,automake)
a18f8eaf
BH
6932 ("glib" ,glib "bin") ; for glib-compile-resources
6933 ("gnome-shell" ,gnome-shell)
6934 ("gtk+" ,gtk+)
6935 ("inkscape" ,inkscape)
6936 ("optipng" ,optipng)
6937 ("pkg-config" ,pkg-config)
6938 ("sassc" ,sassc)))
813f814a
DT
6939 (synopsis "A flat GTK+ theme with transparent elements")
6940 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
69412, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6942like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6943 (home-page "https://github.com/horst3180/arc-theme")
6944 ;; No "or later" language found.
a18f8eaf 6945 (license license:gpl3+)))
9987c57c 6946
d935e6a1 6947(define-public faba-icon-theme
9987c57c 6948 (package
d935e6a1 6949 (name "faba-icon-theme")
2eee7ee3 6950 (version "4.3")
d935e6a1
BT
6951 (source
6952 (origin
6953 (method url-fetch)
6954 (uri (string-append "https://github.com/moka-project/"
6955 name "/archive/v" version ".tar.gz"))
6956 (file-name (string-append name "-" version ".tar.gz"))
6957 (sha256
6958 (base32
2eee7ee3 6959 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
f6a9b345 6960 (build-system meson-build-system)
9987c57c 6961 (arguments
82da291a 6962 `(#:phases
9987c57c 6963 (modify-phases %standard-phases
82da291a 6964 (add-before 'configure 'disable-post-install
9987c57c 6965 (lambda _
82da291a
JL
6966 (substitute* "meson.build"
6967 (("meson.add_install_script.*") "")))))))
9987c57c
DT
6968 (native-inputs
6969 `(("autoconf" ,autoconf)
6970 ("automake" ,automake)))
d935e6a1
BT
6971 (synopsis "Faba icon theme")
6972 (description
6973 "Faba is a minimal icon set used as a basis for other themes such as
6974Moka")
6975 (home-page "https://snwh.org/moka")
6976 (license (list license:lgpl3+
6977 license:cc-by-sa4.0))))
6978
9987c57c
DT
6979(define-public moka-icon-theme
6980 (package
8b0e4177 6981 (inherit faba-icon-theme)
9987c57c 6982 (name "moka-icon-theme")
105a3625 6983 (version "5.4.0")
9987c57c
DT
6984 (source (origin
6985 (method url-fetch)
6986 (uri (string-append "https://github.com/moka-project"
6987 "/moka-icon-theme/archive/v"
6988 version ".tar.gz"))
6989 (file-name (string-append name "-" version ".tar.gz"))
6990 (sha256
6991 (base32
105a3625 6992 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
550281fb
BT
6993 (propagated-inputs
6994 ;; Moka is based on Faba by using it as a fallback icon set instead of
6995 ;; bundling it, so we need to add it as a propagated input.
6996 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
6997 (synopsis "Moka icon theme")
6998 (description "Moka is a stylized desktop icon set, designed to be clear,
6999simple and consistent.")
fedde43b
BT
7000 (license (list license:gpl3+
7001 license:cc-by-sa4.0))))
6fd8f8d6
DT
7002
7003(define-public arc-icon-theme
7004 (package
7005 (name "arc-icon-theme")
c4180240 7006 (version "20161122")
6fd8f8d6
DT
7007 (source (origin
7008 (method url-fetch)
7009 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7010 "/archive/" version ".tar.gz"))
7011 (file-name (string-append name "-" version ".tar.gz"))
7012 (sha256
7013 (base32
c4180240 7014 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6fd8f8d6 7015 (build-system gnu-build-system)
9e1ede95
JL
7016 (arguments
7017 `(#:phases
7018 (modify-phases %standard-phases
7019 (add-after 'unpack 'disable-configure-during-bootstrap
7020 (lambda _
7021 (substitute* "autogen.sh"
7022 (("^\"\\$srcdir/configure\".*") ""))
7023 #t)))))
6fd8f8d6
DT
7024 (native-inputs
7025 `(("autoconf" ,autoconf)
7026 ("automake" ,automake)))
7027 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7028 (propagated-inputs
7029 `(("moka-icon-theme" ,moka-icon-theme)))
7030 (synopsis "Arc icon theme")
7031 (description "The Arc icon theme provides a set of icons matching the
7032style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7033the Moka icon theme.")
7034 (home-page "https://github.com/horst3180/arc-icon-theme")
7035 (license license:gpl3+)))
6064a4e8
LF
7036
7037(define-public folks
7038 (package
7039 (name "folks")
d23495fa 7040 (version "0.11.4")
6064a4e8
LF
7041 (source (origin
7042 (method url-fetch)
7043 (uri (string-append
e5f4796e 7044 "mirror://gnome/sources/folks/"
6064a4e8 7045 (version-major+minor version) "/"
e5f4796e 7046 "folks-" version ".tar.xz"))
6064a4e8
LF
7047 (sha256
7048 (base32
d23495fa 7049 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
7050 (build-system glib-or-gtk-build-system)
7051 (inputs
7052 `(("bdb" ,bdb)
7053 ("dbus-glib" ,dbus-glib)
7054 ("evolution-data-server" ,evolution-data-server)
7055 ("glib" ,glib)
7056 ("libgee" ,libgee)
7057 ("telepathy-glib" ,telepathy-glib)))
7058 (native-inputs
7059 `(("gobject-introspection" ,gobject-introspection)
7060 ("intltool" ,intltool)
7061 ("pkg-config" ,pkg-config)
7062 ("vala" ,vala)))
7063 (synopsis "Library to aggregate data about people")
7064 (description "Libfolks is a library that aggregates information about people
7065from multiple sources (e.g., Telepathy connection managers for IM contacts,
7066Evolution Data Server for local contacts, libsocialweb for web service contacts,
7067etc.) to create metacontacts. It's written in Vala, which generates C code when
7068compiled.")
7069 (home-page "https://wiki.gnome.org/Projects/Folks")
7070 (license license:lgpl2.1+)))
01ea778f
LF
7071
7072(define-public gfbgraph
7073 (package
7074 (name "gfbgraph")
7075 (version "0.2.3")
7076 (source (origin
7077 (method url-fetch)
7078 (uri (string-append
7079 "mirror://gnome/sources/" name "/"
7080 (version-major+minor version) "/"
7081 name "-" version ".tar.xz"))
7082 (sha256
7083 (base32
7084 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7085 (build-system glib-or-gtk-build-system)
7086 (arguments
7087 `(#:tests? #f ; Tests appear to require the network.
7088 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7089 #:configure-flags '("--disable-gtk-doc"
7090 "--disable-static"
7091 "--enable-introspection")))
7092 (native-inputs
7093 `(("pkg-config" ,pkg-config)
7094 ("gobject-introspection" ,gobject-introspection)))
7095 (inputs
7096 `(("json-glib" ,json-glib)
14c297fd 7097 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
7098 ("rest" ,rest)))
7099 (synopsis "GLib/GObject wrapper for the Facebook API")
7100 (description "This library allows you to use the Facebook API from
7101GLib/GObject code.")
7102 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7103 (license license:lgpl2.1+)))
3920868c 7104
7105(define-public libgnomekbd
7106 (package
7107 (name "libgnomekbd")
4a3f6e02 7108 (version "3.26.0")
3920868c 7109 (source (origin
7110 (method url-fetch)
7111 (uri (string-append "mirror://gnome/sources/" name "/"
7112 (version-major+minor version) "/"
7113 name "-" version ".tar.xz"))
7114 (sha256
7115 (base32
4a3f6e02 7116 "0xc8jrc44x2h24v28wv36k70k7bwxy6p2vsvxvvia1n3ay642fza"))))
3920868c 7117 (build-system gnu-build-system)
7118 (native-inputs
7119 `(("pkg-config" ,pkg-config)
7120 ("glib" ,glib "bin")
7121 ("intltool" ,intltool)))
7122 (propagated-inputs
7123 ;; Referred to in .h files and .pc.
7124 `(("glib" ,glib)
7125 ("gtk+" ,gtk+)
7126 ("libxklavier" ,libxklavier)))
7127 (home-page "https://www.gnome.org")
7128 (synopsis "GNOME keyboard configuration library")
7129 (description
7130 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7131environment, which can notably display keyboard layouts.")
7132 (license license:lgpl2.0+)))
85327d0d 7133
7134;;; This package is no longer maintained:
7135;;; https://wiki.gnome.org/Attic/LibUnique
7136;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7137;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7138(define-public libunique
7139 (package
7140 (name "libunique")
7141 (version "3.0.2")
7142 (source (origin
7143 (method url-fetch)
7144 (uri (string-append "mirror://gnome/sources/" name "/"
7145 (version-major+minor version) "/"
7146 name "-" version ".tar.xz"))
7147 (sha256
7148 (base32
7149 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7150 (build-system glib-or-gtk-build-system)
7151 (arguments
7152 `(#:configure-flags '("--disable-static"
7153 "--disable-dbus" ; use gdbus
7154 "--enable-introspection")))
7155 (native-inputs
7156 `(("pkg-config" ,pkg-config)
7157 ("gobject-introspection" ,gobject-introspection)
7158 ("glib:bin" ,glib "bin")
7159 ("gtk-doc" ,gtk-doc)))
7160 (propagated-inputs
7161 ;; Referred to in .h files and .pc.
7162 `(("gtk+" ,gtk+)))
7163 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7164 (synopsis "Library for writing single instance applications")
7165 (description
7166 "Libunique is a library for writing single instance applications. If you
7167launch a single instance application twice, the second instance will either just
7168quit or will send a message to the running instance. Libunique makes it easy to
7169write this kind of application, by providing a base class, taking care of all
7170the IPC machinery needed to send messages to a running instance, and also
7171handling the startup notification side.")
7172 (license license:lgpl2.1+)))
54021cd8
RS
7173
7174(define-public gnome-calculator
7175 (package
7176 (name "gnome-calculator")
2d475910 7177 (version "3.30.1")
54021cd8
RS
7178 (source
7179 (origin
7180 (method url-fetch)
7181 (uri (string-append "mirror://gnome/sources/" name "/"
7182 (version-major+minor version) "/"
7183 name "-" version ".tar.xz"))
7184 (sha256
7185 (base32
2d475910
RW
7186 "0qkzcmj51cjmljxl1nc84h6jgq1a51xj4g6jwh3ymgm19m3sqypc"))))
7187 (build-system meson-build-system)
7188 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
7189 (native-inputs
7190 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 7191 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
7192 ("intltool" ,intltool)
7193 ("itstool" ,itstool)
2d475910 7194 ("vala" ,vala)
54021cd8
RS
7195 ("pkg-config" ,pkg-config)))
7196 (inputs
112e9083
RW
7197 `(("glib" ,glib)
7198 ("gtksourceview" ,gtksourceview-3)
54021cd8 7199 ("libsoup" ,libsoup)
112e9083 7200 ("libxml2" ,libxml2)
2c2da7ec 7201 ("mpc" ,mpc)
54021cd8
RS
7202 ("mpfr" ,mpfr)))
7203 (home-page "https://wiki.gnome.org/Apps/Calculator")
7204 (synopsis "Desktop calculator")
7205 (description
7206 "Calculator is an application that solves mathematical equations and
7207is suitable as a default application in a Desktop environment.")
7208 (license license:gpl3)))
0bd69759
RS
7209
7210(define-public xpad
7211 (package
7212 (name "xpad")
c85626bb 7213 (version "5.1.0")
0bd69759
RS
7214 (source
7215 (origin
7216 (method url-fetch)
08fda9c6
R
7217 (uri (string-append "https://launchpad.net/xpad/trunk/"
7218 version "/+download/"
0bd69759
RS
7219 name "-" version ".tar.bz2"))
7220 (sha256
7221 (base32
c85626bb 7222 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
7223 (build-system gnu-build-system)
7224 (native-inputs
08fda9c6
R
7225 `(("autoconf" ,autoconf)
7226 ("automake" ,automake)
7227 ("gtk+:bin" ,gtk+ "bin")
7228 ("intltool" ,intltool)
0bd69759
RS
7229 ("pkg-config" ,pkg-config)))
7230 (inputs
08fda9c6 7231 `(("gtksourceview" ,gtksourceview)
0bd69759
RS
7232 ("libsm" ,libsm)))
7233 (home-page "https://wiki.gnome.org/Apps/Xpad")
7234 (synopsis "Virtual sticky note")
7235 (description
7236 "Xpad is a sticky note that strives to be simple, fault tolerant,
7237and customizable. Xpad consists of independent pad windows, each is
7238basically a text box in which notes can be written.")
7239 (license license:gpl3+)))
3ad7dce1
RS
7240
7241(define-public gucharmap
c60063ea
RW
7242 (let ((unicode-files
7243 '(("Blocks.txt"
7244 "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
7245 ("DerivedAge.txt"
7246 "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
7247 ("NamesList.txt"
7248 "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
7249 ("Scripts.txt"
7250 "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
7251 ("UnicodeData.txt"
7252 "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
7253 ("Unihan.zip"
7254 "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
7255 (package
7256 (name "gucharmap")
7257 (version "10.0.4")
7258 (source
7259 (origin
7260 (method url-fetch)
7261 (uri (string-append "mirror://gnome/sources/" name "/"
7262 (version-major+minor version) "/"
7263 name "-" version ".tar.xz"))
7264 (sha256
7265 (base32
7266 "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
7267 (build-system glib-or-gtk-build-system)
7268 (arguments
7269 `(#:modules ((ice-9 match)
7270 (guix build glib-or-gtk-build-system)
7271 (guix build utils))
7272 #:configure-flags
7273 (list "--with-unicode-data=../unicode-data")
7274 #:phases
7275 (modify-phases %standard-phases
7276 (add-after 'unpack 'prepare-unicode-data
7277 (lambda* (#:key inputs #:allow-other-keys)
7278 (mkdir-p "../unicode-data")
7279 (with-directory-excursion "../unicode-data"
7280 (for-each (match-lambda
7281 ((file _)
7282 (install-file (assoc-ref inputs file) ".")))
7283 ',unicode-files))
7284 #t)))))
7285 (native-inputs
7286 `(("desktop-file-utils" ,desktop-file-utils)
7287 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7288 ("gobject-introspection" ,gobject-introspection)
7289 ("intltool" ,intltool)
7290 ("itstool" ,itstool)
7291 ("pkg-config" ,pkg-config)
7292 ,@(map (match-lambda
7293 ((file hash)
7294 `(,file
7295 ,(origin
7296 (method url-fetch)
7297 (uri (string-append
7298 "http://www.unicode.org/Public/10.0.0/ucd/"
7299 file))
7300 (sha256 (base32 hash))))))
7301 unicode-files)
7302 ("unzip" ,unzip)))
7303 (inputs
7304 `(("gtk+" ,gtk+)
7305 ("xmllint" ,libxml2)))
7306 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7307 (synopsis "Unicode character picker and font browser")
7308 (description
7309 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
7310characters and categories for the installed fonts, and to examine their
7311detailed properties. It is an easy way to find the character you might
7312only know by its Unicode name or code point.")
c60063ea 7313 (license license:gpl3+))))
04ce840a
RS
7314
7315(define-public bluefish
7316 (package
7317 (name "bluefish")
ea8afaf3 7318 (version "2.2.10")
04ce840a
RS
7319 (source
7320 (origin
7321 (method url-fetch)
7322 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7323 name "-" version ".tar.gz"))
7324 (sha256
7325 (base32
ea8afaf3 7326 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
7327 (build-system gnu-build-system)
7328 (native-inputs
7329 `(("desktop-file-utils" ,desktop-file-utils)
7330 ("intltool" ,intltool)
7331 ("pkg-config" ,pkg-config)))
7332 (inputs
7333 `(("enchant" ,enchant)
7334 ("gtk+" ,gtk+)
7335 ("python" ,python-2)
7336 ("xmllint" ,libxml2)
7337 ("gucharmap" ,gucharmap)))
7338 (home-page "http://bluefish.openoffice.nl")
7339 (synopsis "Web development studio")
7340 (description
7341 "Bluefish is an editor targeted towards programmers and web developers,
7342with many options to write web sites, scripts and other code.
7343Bluefish supports many programming and markup languages.")
7344 (license license:gpl3+)))
1f6a73ee
RS
7345
7346(define-public gnome-system-monitor
7347 (package
7348 (name "gnome-system-monitor")
85fb3df3 7349 (version "3.30.0")
1f6a73ee
RS
7350 (source
7351 (origin
7352 (method url-fetch)
7353 (uri (string-append "mirror://gnome/sources/" name "/"
7354 (version-major+minor version) "/"
7355 name "-" version ".tar.xz"))
7356 (sha256
7357 (base32
85fb3df3
RW
7358 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7359 (build-system meson-build-system)
7360 (arguments
7361 '(#:glib-or-gtk? #t
7362 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
7363 (native-inputs
7364 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 7365 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
7366 ("intltool" ,intltool)
7367 ("itstool" ,itstool)
7368 ("libgtop" ,libgtop)
4985d9aa 7369 ("polkit" ,polkit)
1f6a73ee
RS
7370 ("pkg-config" ,pkg-config)))
7371 (inputs
7372 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7373 ("gtk+" ,gtk+)
7374 ("gtkmm" ,gtkmm)
7375 ("librsvg" ,librsvg)
4985d9aa
RW
7376 ("libxml2" ,libxml2)
7377 ("libwnck" ,libwnck)))
1f6a73ee
RS
7378 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7379 (synopsis "Process viewer and system resource monitor for GNOME")
7380 (description
7381 "GNOME System Monitor is a GNOME process viewer and system monitor with
7382an attractive, easy-to-use interface. It has features, such as a tree view
7383for process dependencies, icons for processes, the ability to hide processes,
7384graphical time histories of CPU/memory/swap usage and the ability to
7385kill/reinice processes.")
7386 (license license:gpl2+)))
3e00ac47
SB
7387
7388(define-public python-pyatspi
7389 (package
7390 (name "python-pyatspi")
84548bd7 7391 (version "2.26.0")
3e00ac47
SB
7392 (source (origin
7393 (method url-fetch)
7394 (uri (string-append
7395 "mirror://gnome/sources/pyatspi/"
7396 (version-major+minor version)
7397 "/pyatspi-" version ".tar.xz"))
7398 (sha256
7399 (base32
84548bd7 7400 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))))
3e00ac47
SB
7401 (build-system gnu-build-system)
7402 (native-inputs
7403 `(("pkg-config" ,pkg-config)))
7404 (inputs
7405 `(("python" ,python)
7406 ("python-pygobject" ,python-pygobject)))
7407 (synopsis "Python client bindings for D-Bus AT-SPI")
7408 (home-page "https://wiki.linuxfoundation.org/accessibility\
7409/atk/at-spi/at-spi_on_d-bus")
7410 (description
7411 "This package includes a python client library for the AT-SPI D-Bus
7412accessibility infrastructure.")
7413 (license license:lgpl2.0)
7414 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
7415
7416(define-public orca
7417 (package
7418 (name "orca")
870a4e70 7419 (version "3.28.1")
53201c0d
SB
7420 (source (origin
7421 (method url-fetch)
7422 (uri (string-append
7423 "mirror://gnome/sources/" name "/"
7424 (version-major+minor version) "/"
7425 name "-" version ".tar.xz"))
7426 (sha256
7427 (base32
870a4e70 7428 "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g"))))
53201c0d
SB
7429 (build-system glib-or-gtk-build-system)
7430 (arguments
7431 '(#:phases
7432 (modify-phases %standard-phases
7433 (add-before 'configure 'qualify-xkbcomp
7434 (lambda* (#:key inputs #:allow-other-keys)
7435 (let ((xkbcomp (string-append
7436 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7437 (substitute* "src/orca/orca.py"
7438 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7439 #t))
7440 (add-after 'install 'wrap-orca
7441 (lambda* (#:key outputs #:allow-other-keys)
7442 (let* ((out (assoc-ref outputs "out"))
7443 (prog (string-append out "/bin/orca")))
7444 (wrap-program prog
7445 `("GI_TYPELIB_PATH" ":" prefix
7446 (,(getenv "GI_TYPELIB_PATH")))
7447 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7448 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7449 `("PYTHONPATH" ":" prefix
7450 (,(getenv "PYTHONPATH")))))
7451 #t)))))
7452 (native-inputs
7453 `(("intltool" ,intltool)
7454 ("itstool" ,itstool)
7455 ("pkg-config" ,pkg-config)
7456 ("xmllint" ,libxml2)))
7457 (inputs
7458 `(("at-spi2-atk" ,at-spi2-atk)
7459 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7460 ("gstreamer" ,gstreamer)
7461 ("gst-plugins-base" ,gst-plugins-base)
7462 ("gst-plugins-good" ,gst-plugins-good)
7463 ("gtk+" ,gtk+)
7464 ("python" ,python)
7465 ("python-pygobject" ,python-pygobject)
7466 ("python-pyatspi" ,python-pyatspi)
7467 ("python-speechd" ,speech-dispatcher)
7468 ("xkbcomp" ,xkbcomp)))
7469 (synopsis
7470 "Screen reader for individuals who are blind or visually impaired")
7471 (home-page "https://wiki.gnome.org/Projects/Orca")
7472 (description
7473 "Orca is a screen reader that provides access to the graphical desktop
7474via speech and refreshable braille. Orca works with applications and toolkits
7475that support the Assistive Technology Service Provider Interface (AT-SPI).")
7476 (license license:lgpl2.1+)))
411ba511
LC
7477
7478(define-public gspell
7479 (package
7480 (name "gspell")
9b1bb757 7481 (version "1.8.1")
411ba511
LC
7482 (source (origin
7483 (method url-fetch)
7484 (uri (string-append "mirror://gnome/sources/" name "/"
7485 (version-major+minor version) "/"
7486 name "-" version ".tar.xz"))
7487 (sha256
7488 (base32
9b1bb757 7489 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
411ba511
LC
7490 (patches (search-patches "gspell-dash-test.patch"))))
7491 (build-system glib-or-gtk-build-system)
7492 (arguments
7493 '(#:phases
7494 (modify-phases %standard-phases
7495 (add-before 'check 'pre-check
7496 (lambda* (#:key inputs #:allow-other-keys)
7497 ;; Tests require a running X server.
7498 (system "Xvfb :1 &")
7499 (setenv "DISPLAY" ":1")
7500
7501 ;; For the missing /etc/machine-id.
7502 (setenv "DBUS_FATAL_WARNINGS" "0")
7503
7504 ;; Allow Enchant and its Aspell backend to find the en_US
7505 ;; dictionary.
7506 (setenv "ASPELL_DICT_DIR"
7507 (string-append (assoc-ref inputs "aspell-dict-en")
7508 "/lib/aspell"))
7509 #t)))))
7510 (inputs
eccd35be 7511 `(("gtk+" ,gtk+)
a801ae4c
TGR
7512 ("glib" ,glib)
7513 ("iso-codes" ,iso-codes)))
411ba511
LC
7514 (native-inputs
7515 `(("glib" ,glib "bin")
7516 ("pkg-config" ,pkg-config)
7517 ("xmllint" ,libxml2)
7518
7519 ;; For tests.
a801ae4c
TGR
7520 ("aspell-dict-en" ,aspell-dict-en)
7521 ("xorg-server" ,xorg-server)))
eccd35be 7522 (propagated-inputs
9b1bb757 7523 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
7524 (home-page "https://wiki.gnome.org/Projects/gspell")
7525 (synopsis "GNOME's alternative spell checker")
7526 (description
7527 "gspell provides a flexible API to add spell-checking to a GTK+
7528application. It provides a GObject API, spell-checking to text entries and
7529text views, and buttons to choose the language.")
7530 (license license:gpl2+)))
d1d739fa
CM
7531
7532(define-public gnome-planner
7533 (package
7534 (name "gnome-planner")
7535 (version "0.14.6")
7536 (source (origin
7537 (method url-fetch)
7538 (uri (string-append "mirror://gnome/sources/planner/"
7539 (version-major+minor version) "/planner-"
7540 version ".tar.xz"))
7541 (sha256
7542 (base32
7543 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7544 (build-system glib-or-gtk-build-system)
7545 (arguments
7546 ;; Disable the Python bindings because the Planner program functions
7547 ;; without them, and (as of 2017-06-13) we have not packaged all of
7548 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
7549 `(#:configure-flags
7550 (list "--disable-python"
7551 ,@(if (string=? "aarch64-linux" (%current-system))
7552 '("--build=aarch64-unknown-linux-gnu")
7553 '()))))
d1d739fa
CM
7554 (inputs
7555 `(("libgnomecanvas" ,libgnomecanvas)
7556 ("libgnomeui" ,libgnomeui)
7557 ("libglade" ,libglade)
7558 ("gnome-vfs" ,gnome-vfs)
7559 ("gconf" ,gconf)
7560 ("libxml2" ,libxml2)
7561 ("libxslt" ,libxslt)
7562 ("gtk+" ,gtk+)
7563 ("glib" ,glib)))
7564 (native-inputs
7565 `(("intltool" ,intltool)
7566 ("scrollkeeper" ,scrollkeeper)
7567 ("pkg-config" ,pkg-config)))
7568 (home-page "https://wiki.gnome.org/Apps/Planner")
7569 (synopsis "Project management software for the GNOME desktop")
7570 (description
7571 "GNOME Planner is a project management tool based on the Work Breakdown
7572Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7573the resources, tasks, and constraints that you define, Planner generates
7574various views into a project. For example, Planner can show a Gantt chart of
7575the project. It can show a detailed summary of tasks including their
7576duration, cost, and current progress. It can also show a report of resource
7577utilization that highlights under-utilized and over-utilized resources. These
7578views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 7579 (license license:gpl2+)))
64fce637
RS
7580
7581(define-public lollypop
7582 (package
7583 (name "lollypop")
b98eace8 7584 (version "0.9.521")
64fce637
RS
7585 (source
7586 (origin
7587 (method url-fetch)
b98eace8
CB
7588 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7589 "e4df2ed75c5ed71d64afcc668e579b2a/"
64fce637
RS
7590 name "-" version ".tar.xz"))
7591 (sha256
7592 (base32
b98eace8 7593 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
aa498fc0 7594 (build-system meson-build-system)
64fce637
RS
7595 (arguments
7596 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
7597 ,@%meson-build-system-modules)
7598 #:glib-or-gtk? #t
5fc9b6c1
EF
7599 #:tests? #f ; no test suite
7600 #:phases
7601 (modify-phases %standard-phases
5fc9b6c1
EF
7602 (add-after 'install 'wrap-program
7603 (lambda* (#:key outputs #:allow-other-keys)
7604 (let ((out (assoc-ref outputs "out"))
7605 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7606 (wrap-program (string-append out "/bin/lollypop")
7607 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7608 #t))
7609 (add-after 'install 'wrap
7610 (@@ (guix build python-build-system) wrap)))))
64fce637
RS
7611 (native-inputs
7612 `(("intltool" ,intltool)
7613 ("itstool" ,itstool)
aa498fc0
TD
7614 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7615 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
7616 ("pkg-config" ,pkg-config)))
7617 (inputs
7618 `(("gobject-introspection" ,gobject-introspection)
5fc9b6c1 7619 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
7620 ("libnotify" ,libnotify)
7621 ("libsecret" ,libsecret)
7622 ("libsoup" ,libsoup)
7623 ("python" ,python)
7624 ("python-beautifulsoup4" ,python-beautifulsoup4)
7625 ("python-gst" ,python-gst)
7626 ("python-pycairo" ,python-pycairo)
7627 ("python-pygobject" ,python-pygobject)
7628 ("python-pylast" ,python-pylast)
7629 ("totem-pl-parser" ,totem-pl-parser)
7630 ("webkitgtk" ,webkitgtk)))
7631 (propagated-inputs
7632 `(;; gst-plugins-base is required to start Lollypop,
7633 ;; the others are required to play streaming.
64fce637
RS
7634 ("gst-plugins-good" ,gst-plugins-good)
7635 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 7636 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
7637 (synopsis "GNOME music playing application")
7638 (description
7639 "Lollypop is a music player designed to play well with GNOME desktop.
7640Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7641from artists and tracks from the web. It also fetches cover artworks
7642automatically and it can stream songs from online music services and charts.")
7643 (license license:gpl3+)))
d831d49d
AW
7644
7645(define-public gnome-video-effects
7646 (package
7647 (name "gnome-video-effects")
7648 (version "0.4.3")
7649 (source (origin
7650 (method url-fetch)
7651 (uri (string-append "mirror://gnome/sources/" name "/"
7652 (version-major+minor version) "/" name "-"
7653 version ".tar.xz"))
7654 (sha256
7655 (base32
7656 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7657 (build-system glib-or-gtk-build-system)
7658 (arguments
7659 `(#:out-of-source? #f))
7660 (native-inputs
7661 `(("glib:bin" ,glib "bin")
7662 ("intltool" ,intltool)
7663 ("gettext" ,gettext-minimal)
7664 ("pkg-config" ,pkg-config)))
7665 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7666 (synopsis "Video effects for Cheese and other GNOME applications")
7667 (description
7668 "A collection of GStreamer video filters and effects to be used in
7669photo-booth-like software, such as Cheese.")
7670 (license license:gpl2+)))
3511c780
AW
7671
7672(define-public cheese
7673 (package
7674 (name "cheese")
4b3480d6 7675 (version "3.28.0")
3511c780
AW
7676 (source (origin
7677 (method url-fetch)
7678 (uri (string-append "mirror://gnome/sources/" name "/"
7679 (version-major+minor version) "/" name "-"
7680 version ".tar.xz"))
7681 (sha256
7682 (base32
4b3480d6 7683 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
3511c780
AW
7684 (arguments
7685 ;; Tests require GDK.
7686 `(#:tests? #f
7687 #:phases
7688 (modify-phases %standard-phases
7689 (add-before 'install 'skip-gtk-update-icon-cache
7690 (lambda _
7691 ;; Don't create 'icon-theme.cache'
7692 (substitute* "Makefile"
7693 (("gtk-update-icon-cache") (which "true")))
7694 #t))
7695 (add-after 'install 'wrap-cheese
7696 (lambda* (#:key inputs outputs #:allow-other-keys)
7697 (let ((out (assoc-ref outputs "out"))
7698 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7699 (wrap-program (string-append out "/bin/cheese")
7700 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7701 #t)))))
7702 (build-system glib-or-gtk-build-system)
7703 (native-inputs
7704 `(("glib:bin" ,glib "bin")
7705 ("intltool" ,intltool)
7706 ("itstool" ,itstool)
7707 ("libxml2" ,libxml2)
7708 ("pkg-config" ,pkg-config)
7709 ("vala" ,vala)))
7710 (propagated-inputs
6a19f03e
RW
7711 `(("gnome-video-effects" ,gnome-video-effects)
7712 ("clutter" ,clutter)
3511c780
AW
7713 ("clutter-gst" ,clutter-gst)
7714 ("clutter-gtk" ,clutter-gtk)
6a19f03e 7715 ("libcanberra" ,libcanberra)
3511c780
AW
7716 ("gdk-pixbuf" ,gdk-pixbuf)
7717 ("glib" ,glib)
6a19f03e
RW
7718 ("gstreamer" ,gstreamer)))
7719 (inputs
7720 `(("gnome-desktop" ,gnome-desktop)
3511c780 7721 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
7722 ("gst-plugins-base" ,gst-plugins-base)
7723 ("gst-plugins-bad" ,gst-plugins-bad)
7724 ("gtk+" ,gtk+)
3511c780
AW
7725 ("libx11" ,libx11)
7726 ("libxtst" ,libxtst)))
7727 (home-page "https://wiki.gnome.org/Apps/Cheese")
7728 (synopsis "Webcam photo booth software for GNOME")
7729 (description
7730 "Cheese uses your webcam to take photos and videos. Cheese can also
7731apply fancy special effects and lets you share the fun with others.")
7732 (license license:gpl2+)))
3c5dbd2b 7733
7734(define-public sound-juicer
7735 (package
7736 (name "sound-juicer")
7737 (version "3.24.0")
7738 (source
7739 (origin
7740 (method url-fetch)
7741 (uri (string-append "mirror://gnome/sources/" name "/"
7742 (version-major+minor version) "/"
7743 name "-" version ".tar.xz"))
7744 (sha256
7745 (base32
7746 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7747 (build-system glib-or-gtk-build-system)
7748 (native-inputs
7749 `(("desktop-file-utils" ,desktop-file-utils)
7750 ("intltool" ,intltool)
7751 ("itstool" ,itstool)
7752 ("pkg-config" ,pkg-config)
7753 ("xmllint" ,libxml2)))
7754 (inputs
7755 `(("gtk+" ,gtk+)
7756 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7757 ("gstreamer" ,gstreamer)
7758 ("gst-plugins-base" ,gst-plugins-base)
7759 ("gst-plugins-good" ,gst-plugins-good)
7760 ("iso-codes" ,iso-codes)
7761 ("libbrasero-media3" ,brasero)
7762 ("libcanberra" ,libcanberra)
7763 ("libdiscid" ,libdiscid)
7764 ("libmusicbrainz" ,libmusicbrainz)
7765 ("neon" ,neon)))
7766 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7767 (synopsis "Audio music cd ripper")
7768 (description "Sound Juicer extracts audio from compact discs and convert it
7769into audio files that a personal computer or digital audio player can play.
7770It supports ripping to any audio codec supported by a GStreamer plugin, such as
7771mp3, Ogg Vorbis and FLAC")
7772 (license license:gpl2+)))
4e3fdeb7 7773
0d3f1708
CB
7774(define-public soundconverter
7775 (package
7776 (name "soundconverter")
fa75a213 7777 (version "3.0.1")
0d3f1708
CB
7778 (source
7779 (origin
7780 (method url-fetch)
7781 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7782 version "/+download/"
7783 "soundconverter-" version ".tar.xz"))
7784
7785 (sha256
fa75a213 7786 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
7787 (patches
7788 (search-patches
7789 "soundconverter-remove-gconf-dependency.patch"))))
7790 (build-system glib-or-gtk-build-system)
7791 (arguments
7792 `(#:imported-modules ((guix build python-build-system)
7793 (guix build glib-or-gtk-build-system)
7794 ,@%gnu-build-system-modules)
7795
7796 #:modules ((guix build glib-or-gtk-build-system)
7797 (guix build utils)
7798 ((guix build gnu-build-system) #:prefix gnu:)
7799 ((guix build python-build-system) #:prefix python:))
7800
7801 #:phases
7802 (modify-phases %standard-phases
0d3f1708
CB
7803 (add-after 'install 'wrap-soundconverter-for-python
7804 (assoc-ref python:%standard-phases 'wrap))
7805 (add-after 'install 'wrap-soundconverter
7806 (lambda* (#:key inputs outputs #:allow-other-keys)
7807 (let ((out (assoc-ref outputs "out"))
7808 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7809 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7810 (wrap-program (string-append out "/bin/soundconverter")
7811 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7812 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7813 #t)))))
7814 (native-inputs
7815 `(("intltool" ,intltool)
7816 ("pkg-config" ,pkg-config)
7817 ("glib:bin" ,glib "bin")))
7818 (inputs
7819 `(("gtk+" ,gtk+)
7820 ("python" ,python)
7821 ("python-pygobject" ,python-pygobject)
7822 ("gstreamer" ,gstreamer)
7823 ("gst-plugins-base" ,gst-plugins-base)))
7824 (home-page "http://soundconverter.org/")
7825 (synopsis "Convert between audio formats with a graphical interface")
7826 (description
7827 "SoundConverter supports converting between many audio formats including
7828Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7829configurable file renaming. ")
7830 (license license:gpl3)))
7831
4e3fdeb7 7832(define-public workrave
89f2d736
TGR
7833 (package
7834 (name "workrave")
c2e50474 7835 (version "1.10.23")
89f2d736
TGR
7836 (source
7837 (origin
7838 (method git-fetch)
7839 (uri (git-reference
7840 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
7841 (commit (string-append "v" (string-map
7842 (match-lambda (#\. #\_) (chr chr))
7843 version)))))
89f2d736
TGR
7844 (file-name (git-file-name name version))
7845 (sha256
c2e50474 7846 (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw"))))
89f2d736
TGR
7847 (build-system glib-or-gtk-build-system)
7848 (propagated-inputs `(("glib" ,glib)
7849 ("gtk+" ,gtk+)
7850 ("gdk-pixbuf" ,gdk-pixbuf)
7851 ("gtkmm" ,gtkmm)
7852 ("glibmm" ,glibmm)
7853 ("libx11" ,libx11)
7854 ("libxtst" ,libxtst)
7855 ("dconf" ,dconf)
7856 ("libice" ,libice)))
7857 (inputs `(("libsm" ,libsm)
7858 ("python-cheetah" ,python2-cheetah)))
7859 (native-inputs `(("glib" ,glib "bin")
7860 ("pkg-config" ,pkg-config)
7861 ("gettext" ,gnu-gettext)
7862 ("autoconf" ,autoconf)
7863 ("autoconf-archive" , autoconf-archive)
7864 ("automake" ,automake)
7865 ("libtool" ,libtool)
7866 ("intltool" ,intltool)
7867 ("libxscrnsaver" ,libxscrnsaver)
7868 ("gobject-introspection" ,gobject-introspection)
7869 ("python2" ,python-2)))
7870 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7871 (description
7872 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
7873repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7874micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
7875 (home-page "http://www.workrave.org")
7876 (license license:gpl3+)))
312afa7d
LC
7877
7878(define-public ghex
7879 (package
7880 (name "ghex")
7881 (version "3.18.3")
7882 (source (origin
7883 (method url-fetch)
2fbab848 7884 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 7885 (version-major+minor version) "/"
2fbab848 7886 "ghex-" version ".tar.xz"))
312afa7d
LC
7887 (sha256
7888 (base32
7889 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7890 (build-system glib-or-gtk-build-system)
7891 (native-inputs
7892 `(("pkg-config" ,pkg-config)
7893 ("gnome-common" ,gnome-common)
7894 ("which" ,which)
7895 ("intltool" ,intltool)
7896 ("yelp-tools" ,yelp-tools)
2fbab848 7897 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
7898 (inputs
7899 `(("atk" ,atk)
7900 ("gtk" ,gtk+)))
7901 (synopsis "GNOME hexadecimal editor")
7902 (description "The GHex program can view and edit files in two ways:
7903hexadecimal or ASCII. It is useful for editing binary files in general.")
7904 (home-page "https://wiki.gnome.org/Apps/Ghex")
7905 (license license:gpl2)))
4b2ed6c2
RW
7906
7907(define-public libdazzle
7908 (package
7909 (name "libdazzle")
817b3fd1 7910 (version "3.30.2")
4b2ed6c2
RW
7911 (source (origin
7912 (method url-fetch)
687b4909 7913 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 7914 (version-major+minor version) "/"
687b4909 7915 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
7916 (sha256
7917 (base32
817b3fd1 7918 "1m9n1gcxndly24rjkxzvmx02a2rkb6ad4cy7p6ncanm1kyp0wxvq"))))
4b2ed6c2
RW
7919 (build-system meson-build-system)
7920 (arguments
7921 `(#:phases
7922 (modify-phases %standard-phases
7923 (add-after 'unpack 'disable-failing-test
7924 (lambda _
7925 ;; Disable failing test.
7926 (substitute* "tests/meson.build"
7927 (("test\\('test-application") "#"))
7928 #t))
7929 (add-before 'check 'pre-check
7930 (lambda _
7931 ;; Tests require a running X server.
7932 (system "Xvfb :1 &")
7933 (setenv "DISPLAY" ":1")
7934 #t)))))
7935 (native-inputs
687b4909 7936 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 7937 ("pkg-config" ,pkg-config)
687b4909 7938 ;; For tests.
4b2ed6c2
RW
7939 ("xorg-server" ,xorg-server)))
7940 (inputs
7941 `(("glib" ,glib)
7942 ("gobject-introspection" ,gobject-introspection)
7943 ("gtk+" ,gtk+)
7944 ("vala" ,vala)))
7945 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7946 (synopsis "Companion library to GObject and Gtk+")
7947 (description "The libdazzle library is a companion library to GObject and
7948Gtk+. It provides various features that the authors wish were in the
7949underlying library but cannot for various reasons. In most cases, they are
7950wildly out of scope for those libraries. In other cases, they are not quite
7951generic enough to work for everyone.")
7952 (license license:gpl3+)))
7d3bb433
RW
7953
7954(define-public evolution
7955 (package
7956 (name "evolution")
7957 (version "3.28.1")
7958 (source (origin
7959 (method url-fetch)
7960 (uri (string-append "mirror://gnome/sources/evolution/"
7961 (version-major+minor version) "/"
7962 "evolution-" version ".tar.xz"))
7963 (sha256
7964 (base32
7965 "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
7966 (build-system cmake-build-system)
7967 (arguments
7968 `(#:configure-flags
7969 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
7970 "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
7971 ; in four years and cannot be built.
7972 (native-inputs
7973 `(("glib" ,glib "bin") ; glib-mkenums
7974 ("pkg-config" ,pkg-config)
7975 ("intltool" ,intltool)
7976 ("itstool" ,itstool)))
7977 (inputs
7978 `(("enchant" ,enchant)
7979 ("evolution-data-server" ,evolution-data-server) ; must be the same version
7980 ("gcr" ,gcr)
7981 ("gnome-autoar" ,gnome-autoar)
7982 ("gnome-desktop" ,gnome-desktop)
7983 ("gtkspell3" ,gtkspell3)
7984 ("highlight" ,highlight)
7985 ("libcanberra" ,libcanberra)
da43d1cb 7986 ("libedataserverui" ,evolution-data-server "libedataserverui")
7d3bb433
RW
7987 ("libgweather" ,libgweather)
7988 ("libnotify" ,libnotify)
7989 ("libsoup" ,libsoup)
7990 ("nss" ,nss)
7991 ("openldap" ,openldap)
7992 ("webkitgtk" ,webkitgtk)
7993 ("ytnef" ,ytnef)))
7994 (home-page "https://gitlab.gnome.org/GNOME/evolution")
7995 (synopsis "Manage your email, contacts and schedule")
7996 (description "Evolution is a personal information management application
7997that provides integrated mail, calendaring and address book
7998functionality.")
7999 ;; See COPYING for details.
23dbe621 8000 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 8001 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 8002 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
8003
8004(define-public gthumb
8005 (package
8006 (name "gthumb")
8007 (version "3.8.0")
8008 (source (origin
8009 (method url-fetch)
8010 (uri (string-append "mirror://gnome/sources/gthumb/"
8011 (version-major+minor version) "/"
8012 "gthumb-" version ".tar.xz"))
8013 (sha256
8014 (base32
8015 "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f"))))
8016 (build-system meson-build-system)
8017 (arguments
8018 `(#:glib-or-gtk? #t
8019 #:configure-flags
8020 ;; Ensure the RUNPATH contains all installed library locations.
8021 (list (string-append "-Dc_link_args=-Wl,-rpath="
8022 (assoc-ref %outputs "out")
8023 "/lib/gthumb/extensions")
8024 (string-append "-Dcpp_link_args=-Wl,-rpath="
8025 (assoc-ref %outputs "out")
8026 "/lib/gthumb/extensions"))))
8027 (native-inputs
8028 `(("pkg-config" ,pkg-config)
8029 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8030 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8031 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8032 ("intltool" ,intltool)
8033 ("itstool" ,itstool)))
8034 (inputs
8035 `(("exiv2" ,exiv2)
8036 ("gtk" ,gtk+)
8037 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8038 ("gstreamer" ,gstreamer)
8039 ("clutter" ,clutter)
8040 ("clutter-gst" ,clutter-gst)
8041 ("clutter-gtk" ,clutter-gtk)
8042 ("libjpeg" ,libjpeg)
8043 ("libtiff" ,libtiff)
8044 ("libraw" ,libraw)))
8045 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8046 (synopsis "GNOME image viewer and browser")
8047 (description "GThumb is an image viewer, browser, organizer, editor and
8048advanced image management tool")
8049 (license license:gpl2+)))
08be02be
AT
8050
8051(define-public terminator
8052 (package
8053 (name "terminator")
8054 (version "1.91")
8055 (source (origin
8056 (method url-fetch)
8057 (uri (string-append "https://launchpad.net/" name "/"
8058 "gtk3/" version "/" "+download/"
8059 name "-" version ".tar.gz"))
8060 (sha256
8061 (base32
8062 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8063 (build-system python-build-system)
8064 (native-inputs
8065 `(("intltool" ,intltool)
8066 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8067 ("gettext" ,gettext-minimal)
8068 ("pkg-config" ,pkg-config)))
8069 (inputs
8070 `(("cairo" ,cairo)
8071 ("gobject-introspection" ,gobject-introspection)
8072 ("python2-pycairo" ,python2-pycairo)
8073 ("python2-pygobject" ,python2-pygobject)
8074 ("python2-psutil" ,python2-psutil)
8075 ("vte" ,vte)))
8076 (arguments
8077 `(#:python ,python-2 ;Python 3 not supported
8078 #:phases
8079 (modify-phases %standard-phases
8080 (add-after
8081 'install 'wrap-program
8082 (lambda* (#:key outputs #:allow-other-keys)
8083 (let ((prog (string-append (assoc-ref outputs "out")
8084 "/bin/terminator")))
8085 (wrap-program prog
8086 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8087 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8088 #t))))))
8089 (home-page "https://gnometerminator.blogspot.com/")
8090 (synopsis "Store and run multiple GNOME terminals in one window")
8091 (description
8092 "Terminator allows you to run multiple GNOME terminals in a grid and
8093+tabs, and it supports drag and drop re-ordering of terminals.")
8094 (license license:gpl2)))