gnu: gnome-system-monitor: Update to 3.30.0.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
CommitLineData
995b7261 1;;; GNU Guix --- Functional package management for GNU
109da1c0 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
44a06c94 3;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
29a7c98a 4;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
7108425c 5;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
58d32305 6;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
8b877545 7;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
7aab13f1 8;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
63ad9b80 9;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
1e7464a9 10;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
7d3bb433 11;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
64a153bd 12;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
293ff8b2 13;;; Copyright © 2015 David Thompson <davet@gnu.org>
0528f70d 14;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
35e2d0cf 15;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
3c697ffd 16;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
3c8ba11a 17;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
277a7d82 18;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
a56be436 19;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
e19f9c24 20;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
71d9b980 21;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
47956fa0 22;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
e5e1df4d 23;;; Copyright © 2016 David Craven <david@craven.ch>
fa75a213 24;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
cce0da5e 25;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
d04687dc 26;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
3c5dbd2b 27;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
d1d739fa 28;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
1d3fcf94 29;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
dcfa0acd 30;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
0438f1d8 31;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
4e3fdeb7 32;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
2eee7ee3 33;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
a18f8eaf 34;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
e57c2adb 35;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
8caa4589 36;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
ec47c07d 37;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
3e9c80b2 38;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
a7a31827 39;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
995b7261
AE
40;;;
41;;; This file is part of GNU Guix.
42;;;
43;;; GNU Guix is free software; you can redistribute it and/or modify it
44;;; under the terms of the GNU General Public License as published by
45;;; the Free Software Foundation; either version 3 of the License, or (at
46;;; your option) any later version.
47;;;
48;;; GNU Guix is distributed in the hope that it will be useful, but
49;;; WITHOUT ANY WARRANTY; without even the implied warranty of
50;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51;;; GNU General Public License for more details.
52;;;
53;;; You should have received a copy of the GNU General Public License
54;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
55
56(define-module (gnu packages gnome)
ed19903d 57 #:use-module (gnu packages)
ba5dd105 58 #:use-module (gnu packages admin)
411ba511 59 #:use-module (gnu packages aspell)
75016d07 60 #:use-module (gnu packages autotools)
7b212526 61 #:use-module (gnu packages avahi)
b29909b4 62 #:use-module (gnu packages backup)
6a180f6f 63 #:use-module (gnu packages base)
1e33331c 64 #:use-module (gnu packages bash)
5698b8b8 65 #:use-module (gnu packages bison)
5fc9b6c1 66 #:use-module (gnu packages build-tools)
df217748 67 #:use-module (gnu packages calendar)
b29909b4 68 #:use-module (gnu packages cdrom)
df12f04a 69 #:use-module (gnu packages check)
d61a894b 70 #:use-module (gnu packages cmake)
b29909b4 71 #:use-module (gnu packages compression)
23a22af6 72 #:use-module (gnu packages cups)
6e1bb642 73 #:use-module (gnu packages curl)
c3f29bc9 74 #:use-module (gnu packages cyrus-sasl)
6e1bb642 75 #:use-module (gnu packages databases)
255d1bbe 76 #:use-module (gnu packages dbm)
c769cf9f 77 #:use-module (gnu packages djvu)
ba5dd105 78 #:use-module (gnu packages dns)
b4ce6300 79 #:use-module (gnu packages docbook)
b29909b4 80 #:use-module (gnu packages documentation)
329d731b 81 #:use-module (gnu packages enchant)
b29909b4
TGR
82 #:use-module (gnu packages flex)
83 #:use-module (gnu packages fonts)
a56be436 84 #:use-module (gnu packages fontutils)
b29909b4 85 #:use-module (gnu packages freedesktop)
dfc407f3 86 #:use-module (gnu packages game-development)
90387432 87 #:use-module (gnu packages gcc)
fed5a689 88 #:use-module (gnu packages gettext)
b29909b4
TGR
89 #:use-module (gnu packages ghostscript)
90 #:use-module (gnu packages gl)
995b7261 91 #:use-module (gnu packages glib)
c1354b90 92 #:use-module (gnu packages gnupg)
23a22af6 93 #:use-module (gnu packages gnuzilla)
b29909b4
TGR
94 #:use-module (gnu packages gperf)
95 #:use-module (gnu packages graphviz)
85f5dc19 96 #:use-module (gnu packages gstreamer)
d9c1a22b 97 #:use-module (gnu packages gtk)
6b888eff 98 #:use-module (gnu packages guile)
b645146f 99 #:use-module (gnu packages ibus)
b29909b4
TGR
100 #:use-module (gnu packages image)
101 #:use-module (gnu packages imagemagick)
102 #:use-module (gnu packages inkscape)
9cc98f8a 103 #:use-module (gnu packages iso-codes)
b29909b4 104 #:use-module (gnu packages kerberos)
85f5dc19 105 #:use-module (gnu packages libcanberra)
b64e217f 106 #:use-module (gnu packages libunistring)
75016d07 107 #:use-module (gnu packages libusb)
b29909b4 108 #:use-module (gnu packages linux)
4e3fc547 109 #:use-module (gnu packages lirc)
7b212526 110 #:use-module (gnu packages lua)
b29909b4
TGR
111 #:use-module (gnu packages mail)
112 #:use-module (gnu packages multiprecision)
64fce637 113 #:use-module (gnu packages music)
b29909b4
TGR
114 #:use-module (gnu packages ncurses)
115 #:use-module (gnu packages nettle)
ba5dd105 116 #:use-module (gnu packages networking)
5fc9b6c1 117 #:use-module (gnu packages ninja)
aff0cce9 118 #:use-module (gnu packages nss)
b29909b4 119 #:use-module (gnu packages openldap)
b645146f 120 #:use-module (gnu packages password-utils)
de1215e2 121 #:use-module (gnu packages pcre)
b29909b4 122 #:use-module (gnu packages pdf)
27477d2d 123 #:use-module (gnu packages perl)
f70d8383 124 #:use-module (gnu packages photo)
995b7261 125 #:use-module (gnu packages pkg-config)
b29909b4
TGR
126 #:use-module (gnu packages polkit)
127 #:use-module (gnu packages popt)
7d3bb433 128 #:use-module (gnu packages pretty-print)
23a22af6 129 #:use-module (gnu packages pulseaudio)
995b7261 130 #:use-module (gnu packages python)
00014781
RW
131 #:use-module (gnu packages python-crypto)
132 #:use-module (gnu packages python-web)
44d10b1f 133 #:use-module (gnu packages python-xyz)
cce0da5e 134 #:use-module (gnu packages rdesktop)
b29909b4 135 #:use-module (gnu packages readline)
a76d0f03 136 #:use-module (gnu packages ruby)
ec47c07d 137 #:use-module (gnu packages rust)
b29909b4 138 #:use-module (gnu packages samba)
75016d07 139 #:use-module (gnu packages scanner)
240cee8a 140 #:use-module (gnu packages selinux)
c27e02bf 141 #:use-module (gnu packages slang)
b29909b4
TGR
142 #:use-module (gnu packages speech)
143 #:use-module (gnu packages spice)
cd0322a3 144 #:use-module (gnu packages sqlite)
4a1bf090 145 #:use-module (gnu packages ssh)
8f9ac901 146 #:use-module (gnu packages tex)
33dc54b0 147 #:use-module (gnu packages time)
a7fd7b68 148 #:use-module (gnu packages tls)
3c5dbd2b 149 #:use-module (gnu packages version-control)
b29909b4 150 #:use-module (gnu packages video)
59132b80 151 #:use-module (gnu packages virtualization)
f2b96b3a 152 #:use-module (gnu packages vpn)
a18f8eaf 153 #:use-module (gnu packages web)
b29909b4
TGR
154 #:use-module (gnu packages web)
155 #:use-module (gnu packages webkit)
156 #:use-module (gnu packages xdisorg)
157 #:use-module (gnu packages xiph)
158 #:use-module (gnu packages xml)
d633f2f6 159 #:use-module (gnu packages xorg)
b29909b4 160 #:use-module (gnu packages xorg)
a76d0f03 161 #:use-module (gnu artwork)
b29909b4
TGR
162 #:use-module (guix build-system cmake)
163 #:use-module (guix build-system glib-or-gtk)
164 #:use-module (guix build-system gnu)
165 #:use-module (guix build-system meson)
08be02be 166 #:use-module (guix build-system python)
b29909b4
TGR
167 #:use-module (guix build-system trivial)
168 #:use-module (guix download)
169 #:use-module (guix git-download)
170 #:use-module ((guix licenses) #:prefix license:)
171 #:use-module (guix packages)
172 #:use-module (guix utils)
a76d0f03 173 #:use-module (guix gexp)
4e3fdeb7 174 #:use-module (ice-9 match)
c024ae36 175 #:use-module (srfi srfi-1))
85f5dc19
AE
176
177(define-public brasero
178 (package
179 (name "brasero")
e2bf423a 180 (version "3.12.2")
85f5dc19
AE
181 (source (origin
182 (method url-fetch)
e8627cd9
DH
183 (uri (string-append "mirror://gnome/sources/" name "/"
184 (version-major+minor version) "/"
185 name "-" version ".tar.xz"))
85f5dc19
AE
186 (sha256
187 (base32
e2bf423a 188 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
1c40e3b7 189 (build-system glib-or-gtk-build-system)
e8627cd9
DH
190 (arguments
191 `(#:configure-flags (list
192 (string-append "--with-girdir="
193 (assoc-ref %outputs "out")
194 "/share/gir-1.0")
195 (string-append "--with-typelibdir="
196 (assoc-ref %outputs "out")
ce426deb
TD
197 "/lib/girepository-1.0"))
198 #:phases
199 (modify-phases %standard-phases
200 (add-before 'configure 'embed-growisofs
201 (lambda* (#:key inputs #:allow-other-keys)
202 (substitute* "plugins/growisofs/burn-growisofs.c"
203 (("\"growisofs") (string-append "\"" (which "growisofs"))))
e2bf423a 204 #t)))))
85f5dc19
AE
205 (propagated-inputs
206 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
207 (native-inputs
208 `(("intltool" ,intltool)
426adbe8 209 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 210 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 211 ("pkg-config" ,pkg-config)))
85f5dc19 212 (inputs
ce426deb
TD
213 `(("dvd+rw-tools" ,dvd+rw-tools)
214 ("glib" ,glib)
85f5dc19
AE
215 ("gnome-doc-utils" ,gnome-doc-utils)
216 ("gstreamer" ,gstreamer)
217 ("gst-plugins-base" ,gst-plugins-base)
218 ("gtk+" ,gtk+)
85f5dc19
AE
219 ("itstool" ,itstool)
220 ("libcanberra" ,libcanberra)
221 ("libice" ,libice)
222 ("libnotify" ,libnotify)
223 ("libsm" ,libsm)
e8627cd9
DH
224 ("libxml2" ,libxml2)
225 ("nettle" ,nettle)
226 ("totem-pl-parser" ,totem-pl-parser)))
85f5dc19
AE
227 (home-page "https://projects.gnome.org/brasero/")
228 (synopsis "CD/DVD burning tool for Gnome")
229 (description "Brasero is an application to burn CD/DVD for the Gnome
230Desktop. It is designed to be as simple as possible and has some unique
231features to enable users to create their discs easily and quickly.")
1dd26275 232 (license license:gpl2+)))
995b7261 233
d61a894b
CB
234(define-public deja-dup
235 (package
236 (name "deja-dup")
237 (version "34.3")
238 (source (origin
239 (method url-fetch)
240 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
241 (sha256
242 (base32
243 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
244 (patches
245 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
246 (build-system glib-or-gtk-build-system)
247 (arguments
248 `(#:modules ((guix build gnu-build-system)
249 ((guix build cmake-build-system) #:prefix cmake:)
250 (guix build glib-or-gtk-build-system)
251 (guix build utils))
252 #:imported-modules (,@%glib-or-gtk-build-system-modules
253 (guix build cmake-build-system))
254 #:test-target "test"
255 #:configure-flags (list (string-append
256 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
257 (string-append
258 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
259 #:phases
260 (modify-phases %standard-phases
261 (add-after 'unpack 'patch-lockfile-deletion
262 (lambda rest
263 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
264 (("/bin/rm")
265 (which "rm")))))
266 (replace 'configure
267 (assoc-ref cmake:%standard-phases 'configure))
268 (delete 'check) ;; Fails due to issues with DBus
269 (add-after 'install 'wrap-deja-dup
270 (lambda* (#:key inputs outputs #:allow-other-keys)
271 (let ((python (assoc-ref inputs "python"))
272 (python-path (getenv "PYTHONPATH"))
273 (duplicity (assoc-ref inputs "duplicity"))
274 (out (assoc-ref outputs "out")))
275 (for-each
276 (lambda (program)
277 (wrap-program program
278 `("PATH" ":" prefix (,(string-append python "/bin")
279 ,(string-append duplicity "/bin"))))
280 (wrap-program program
281 `("PYTHONPATH" ":" prefix (,python-path))))
282
283 (find-files (string-append out "/bin")))
284 #t))))))
285 (inputs
286 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
287 ("gobject-introspection" ,gobject-introspection)
288 ("duplicity" ,duplicity)
61506fe5 289 ("python" ,python-2)
d61a894b
CB
290 ("python-pygobject" ,python2-pygobject)
291 ("gtk+" ,gtk+)
292 ("libnotify" ,libnotify)
293 ("libpeas" ,libpeas)
294 ("libsecret" ,libsecret)
295 ("packagekit" ,packagekit)))
296 (native-inputs
297 `(("pkg-config" ,pkg-config)
298 ("vala" ,vala)
299 ("gettext" ,gettext-minimal)
300 ("itstool" ,itstool)
301 ("intltool" ,intltool)
c69959f0 302 ("cmake" ,cmake-minimal)))
d61a894b
CB
303 (home-page "https://launchpad.net/deja-dup")
304 (synopsis "Simple backup tool, for regular encrypted backups")
305 (description
306 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
307uses duplicity as the backend, which supports incremental backups and storage
308either on a local, or remote machine via a number of methods.")
309 (license license:gpl3+)))
310
a56be436
RJ
311(define-public dia
312 ;; This version from GNOME's repository includes fixes for compiling with
313 ;; recent versions of the build tools. The latest activity on the
314 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
315 ;; fixes in 2016.
316 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
317 (package
318 (name "dia")
319 (version (string-append "0.97.2-" (string-take commit 7)))
320 (source (origin
321 (method git-fetch)
322 (uri (git-reference
323 (url "https://git.gnome.org/browse/dia")
324 (commit commit)))
325 (file-name (string-append name "-" version "-checkout"))
326 (sha256
327 (base32
328 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
329 (build-system gnu-build-system)
330 (inputs
331 `(("glib" ,glib "bin")
332 ("pango" ,pango)
333 ("gdk-pixbuf" ,gdk-pixbuf)
334 ("gtk+" ,gtk+-2)
335 ("libxml2" ,libxml2)
336 ("freetype" ,freetype)
337 ("libart-lgpl" ,libart-lgpl)))
338 (native-inputs
339 `(("intltool" ,intltool)
340 ("pkg-config" ,pkg-config)
341 ("automake" ,automake)
342 ("autoconf" ,autoconf)
343 ("libtool" ,libtool)
344 ("perl" ,perl)
345 ("python-wrapper" ,python-wrapper)))
346 (arguments
347 `(#:phases
348 (modify-phases %standard-phases
d10092b8 349 (add-after 'unpack 'run-autogen
a56be436
RJ
350 (lambda _
351 (system* "sh" "autogen.sh"))))))
352 (home-page "https://wiki.gnome.org/Apps/Dia")
353 (synopsis "Diagram creation for GNOME")
354 (description "Dia can be used to draw different types of diagrams, and
355includes support for UML static structure diagrams (class diagrams), entity
356relationship modeling, and network diagrams. The program supports various file
357formats like PNG, SVG, PDF and EPS.")
358 (license license:gpl2+))))
359
adc5cb1b
KK
360(define-public libgdata
361 (package
362 (name "libgdata")
363 (version "0.16.1")
364 (source (origin
365 (method url-fetch)
366 (uri (string-append "mirror://gnome/sources/" name "/"
367 (version-major+minor version) "/"
368 name "-" version ".tar.xz"))
369 (sha256
370 (base32
371 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
372 (patches
373 (search-patches "libgdata-fix-tests.patch"
374 "libgdata-glib-duplicate-tests.patch"))))
375 (build-system gnu-build-system)
376 (arguments
377 '(#:phases
378 (modify-phases %standard-phases
448052b7
TGR
379 (add-before 'check 'disable-failing-tests
380 (lambda _
381 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
382 ;; They have been removed in libgdata 0.17.6, so just do the same.
383 (substitute* "gdata/tests/Makefile"
384 (("picasaweb\\$\\(EXEEXT\\) ") ""))
adc5cb1b
KK
385 #t)))))
386 (native-inputs
387 `(("glib:bin" ,glib "bin")
388 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
389 ("intltool" ,intltool)
390 ("pkg-config" ,pkg-config)
391 ("uhttpmock" ,uhttpmock)))
392 (inputs
393 `(("cyrus-sasl" ,cyrus-sasl)
394 ("glib" ,glib)
395 ("glib-networking" ,glib-networking)
396 ("json-glib" ,json-glib)
397 ("libsoup" ,libsoup)))
398 (propagated-inputs
399 `(("gcr" ,gcr)
14c297fd 400 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
adc5cb1b
KK
401 ("liboauth" ,liboauth)
402 ("libxml2" ,libxml2)))
403 (home-page "https://wiki.gnome.org/Projects/libgdata")
404 (synopsis "Library for accessing online service APIs")
405 (description
406 "libgdata is a GLib-based library for accessing online service APIs using
407the GData protocol — most notably, Google's services. It provides APIs to
408access the common Google services, and has full asynchronous support.")
409 (license license:lgpl2.1+)))
410
94e10cf4
KK
411(define-public libgxps
412 (package
413 (name "libgxps")
66470a5a 414 (version "0.3.1")
94e10cf4
KK
415 (source (origin
416 (method url-fetch)
7f10628c 417 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
418 (version-major+minor version) "/"
419 name "-" version ".tar.xz"))
420 (sha256
421 (base32
66470a5a 422 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
b6b3e512 423 (build-system meson-build-system)
94e10cf4
KK
424 (native-inputs
425 `(("gobject-introspection" ,gobject-introspection)
426 ("pkg-config" ,pkg-config)))
427 (inputs
c8d62d93 428 `(("gtk+" ,gtk+)
b6b3e512 429 ("libjpeg" ,libjpeg-turbo)
94e10cf4
KK
430 ("lcms" ,lcms)
431 ("libtiff" ,libtiff)
432 ("nettle" ,nettle)))
c8d62d93
MB
433 (propagated-inputs
434 ;; In Requires of libgxps.pc.
435 `(("cairo" ,cairo)
436 ("glib" ,glib)
437 ("libarchive" ,libarchive)))
94e10cf4
KK
438 (home-page "https://wiki.gnome.org/Projects/libgxps")
439 (synopsis "GObject-based library for handling and rendering XPS documents")
440 (description
441 "libgxps is a GObject-based library for handling and rendering XPS
442documents. This package also contains binaries that can convert XPS documents
443to other formats.")
444 (license license:lgpl2.1+)))
445
7aab13f1
ML
446(define-public gnome-common
447 (package
448 (name "gnome-common")
af83490d 449 (version "3.18.0")
7aab13f1
ML
450 (source
451 (origin
452 (method url-fetch)
453 (uri (string-append "mirror://gnome/sources/" name "/"
454 (version-major+minor version) "/"
455 name "-" version ".tar.xz"))
456 (sha256
457 (base32
af83490d 458 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
459 (build-system gnu-build-system)
460 (home-page "https://www.gnome.org/")
461 (synopsis "Bootstrap GNOME modules built from Git")
462 (description "gnome-common contains various files needed to bootstrap
463GNOME modules built from Git. It contains a common \"autogen.sh\" script that
464can be used to configure a source directory checked out from Git and some
465commonly used macros.")
466 (license license:gpl2+)))
467
9cc98f8a
CR
468(define-public gnome-desktop
469 (package
470 (name "gnome-desktop")
3387ee41 471 (version "3.30.2")
9cc98f8a
CR
472 (source
473 (origin
474 (method url-fetch)
b38e45d8
EB
475 (uri (string-append "mirror://gnome/sources/" name "/"
476 (version-major+minor version) "/"
9cc98f8a
CR
477 name "-" version ".tar.xz"))
478 (sha256
479 (base32
3387ee41 480 "0k6iccfj9naw42dl2mgljfvk12dmvg06plg86qd81nksrf9ycxal"))))
9cc98f8a 481 (build-system gnu-build-system)
a0fe7c06
CB
482 (arguments
483 '(#:phases
484 (modify-phases %standard-phases
485 (add-before 'configure 'patch-path
486 (lambda* (#:key inputs #:allow-other-keys)
487 (let ((libc (assoc-ref inputs "libc")))
488 (substitute* "libgnome-desktop/gnome-languages.c"
489 (("\"locale\"")
490 (string-append "\"" libc "/bin/locale\"")))
491 #t))))))
9cc98f8a 492 (native-inputs
a8340482
SB
493 `(("gobject-introspection" ,gobject-introspection)
494 ("itstool" ,itstool)
bcb354ad
SB
495 ("intltool" ,intltool)
496 ("pkg-config" ,pkg-config)
497 ("xmllint" ,libxml2)))
a8340482
SB
498 (propagated-inputs
499 ;; Required by gnome-desktop-3.0.pc.
500 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
501 ("gtk+" ,gtk+)))
9cc98f8a
CR
502 (inputs
503 `(("gdk-pixbuf" ,gdk-pixbuf)
504 ("glib" ,glib)
9cc98f8a 505 ("iso-codes" ,iso-codes)
9863ce20 506 ("libseccomp" ,libseccomp)
9cc98f8a
CR
507 ("libx11" ,libx11)
508 ("libxext" ,libxext)
509 ("libxkbfile" ,libxkbfile)
510 ("libxrandr" ,libxrandr)
511 ("xkeyboard-config" ,xkeyboard-config)))
512 (home-page "https://www.gnome.org/")
513 (synopsis
35b9e423 514 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
515 (description
516 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
517on the desktop, but that cannot live in the platform for various reasons.
518There is no API or ABI guarantee, although we are doing our best to provide
519stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
520
521The gnome-about program helps find which version of GNOME is installed.")
522 ; Some bits under the LGPL.
1dd26275 523 (license license:gpl2+)))
9cc98f8a 524
995b7261
AE
525(define-public gnome-doc-utils
526 (package
527 (name "gnome-doc-utils")
528 (version "0.20.10")
529 (source
530 (origin
531 (method url-fetch)
b38e45d8
EB
532 (uri (string-append "mirror://gnome/sources/" name "/"
533 (version-major+minor version) "/"
995b7261
AE
534 name "-" version ".tar.xz"))
535 (sha256
536 (base32
537 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
538 (build-system gnu-build-system)
c4c4cc05 539 (native-inputs
995b7261 540 `(("intltool" ,intltool)
b4ce6300 541 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 542 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
543 ("libxml2" ,libxml2)
544 ("libxslt" ,libxslt)
545 ("pkg-config" ,pkg-config)
546 ("python-2" ,python-2)))
995b7261
AE
547 (home-page "https://wiki.gnome.org/GnomeDocUtils")
548 (synopsis
549 "Documentation utilities for the Gnome project")
550 (description
551 "Gnome-doc-utils is a collection of documentation utilities for the
552Gnome project. It includes xml2po tool which makes it easier to translate
553and keep up to date translations of documentation.")
1dd26275 554 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 555
6c4f7022
DC
556(define-public gnome-disk-utility
557 (package
558 (name "gnome-disk-utility")
0dd65d5a 559 (version "3.30.2")
6c4f7022
DC
560 (source (origin
561 (method url-fetch)
562 (uri (string-append "mirror://gnome/sources/" name "/"
563 (version-major+minor version) "/"
564 name "-" version ".tar.xz"))
565 (sha256
566 (base32
0dd65d5a 567 "1365fabz3q7n3bl775z82m1nzg18birxxyd7l2ssbbkqrx3h7wgi"))))
4b9a65bf 568 (build-system meson-build-system)
6c4f7022
DC
569 (native-inputs
570 `(("glib:bin" ,glib "bin")
4b9a65bf 571 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6c4f7022
DC
572 ("intltool" ,intltool)
573 ("pkg-config" ,pkg-config)
574 ("docbook-xml" ,docbook-xml)
575 ("docbook-xsl" ,docbook-xsl)
576 ("libxml2" ,libxml2)
577 ("libxslt" ,libxslt)))
578 (inputs
579 `(("glib" ,glib)
580 ("appstream-glib" ,appstream-glib)
581 ("gnome-settings-daemon" ,gnome-settings-daemon)
582 ("gtk+" ,gtk+)
583 ("libcanberra" ,libcanberra)
584 ("libdvdread" ,libdvdread)
585 ("libnotify" ,libnotify)
586 ("libpwquality" ,libpwquality)
587 ("libsecret" ,libsecret)
588 ("udisks" ,udisks)))
589 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
590 (synopsis "Disk management utility for GNOME")
591 (description "Disk management utility for GNOME.")
592 (license license:gpl2+)))
593
8ff49011
RW
594(define-public gcr
595 (package
596 (name "gcr")
0daf0efb 597 (version "3.28.0")
8ff49011 598 (source (origin
0daf0efb
RW
599 (method url-fetch)
600 (uri (string-append "mirror://gnome/sources/" name "/"
601 (version-major+minor version) "/"
602 name "-" version ".tar.xz"))
603 (sha256
604 (base32
605 "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m"))))
8ff49011
RW
606 (build-system gnu-build-system)
607 (arguments
0daf0efb
RW
608 '(#:phases
609 (modify-phases %standard-phases
610 ;; These fail because /var/lib/dbus/machine-id is not present in the
611 ;; build environment.
612 (add-after 'unpack 'disable-failing-tests
613 (lambda _
614 (substitute* "gcr/test-system-prompt.c"
615 (("g_test_add") "//")
616 (("return.*") "return 0;"))
617 #t))
618 (add-before 'check 'pre-check
619 (lambda _
620 ;; Some tests expect to write to $HOME.
621 (setenv "HOME" "/tmp")
622 #t)))))
8ff49011
RW
623 (inputs
624 `(("dbus" ,dbus)
0daf0efb 625 ("gnupg" ,gnupg) ;called as a child process during tests
8ff49011
RW
626 ("libgcrypt" ,libgcrypt)))
627 (native-inputs
0daf0efb 628 `(("python" ,python-2) ;for tests
8ff49011
RW
629 ("pkg-config" ,pkg-config)
630 ("glib" ,glib "bin")
2af4f5b0
SB
631 ("gobject-introspection" ,gobject-introspection)
632 ("intltool" ,intltool)
0daf0efb 633 ("libxml2" ,libxml2)
2af4f5b0 634 ("xsltproc" ,libxslt)))
8ff49011
RW
635 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
636 (propagated-inputs
637 `(("p11-kit" ,p11-kit)
638 ("glib" ,glib)
639 ("gtk+" ,gtk+)))
f032d0be 640 (home-page "https://www.gnome.org")
8ff49011
RW
641 (synopsis "Libraries for displaying certificates and accessing key stores")
642 (description
643 "The GCR package contains libraries used for displaying certificates and
644accessing key stores. It also provides the viewer for crypto files on the
645GNOME Desktop.")
646 (license license:lgpl2.1+)))
647
c1354b90
LC
648(define-public libgnome-keyring
649 (package
650 (name "libgnome-keyring")
5e8aec2c 651 (version "3.12.0")
c1354b90
LC
652 (source (origin
653 (method url-fetch)
b38e45d8
EB
654 (uri (string-append "mirror://gnome/sources/" name "/"
655 (version-major+minor version) "/"
656 name "-" version ".tar.xz"))
c1354b90
LC
657 (sha256
658 (base32
5e8aec2c 659 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 660 (build-system gnu-build-system)
c1354b90 661 (inputs
c4c4cc05 662 `(("libgcrypt" ,libgcrypt)
c1354b90 663 ("dbus" ,dbus)))
c4c4cc05
JD
664 (native-inputs
665 `(("pkg-config" ,pkg-config)
426adbe8 666 ("glib" ,glib "bin")
c4c4cc05 667 ("intltool" ,intltool)))
c1354b90
LC
668 (propagated-inputs
669 ;; Referred to in .h files and .pc.
670 `(("glib" ,glib)))
f032d0be 671 (home-page "https://www.gnome.org")
c1354b90
LC
672 (synopsis "Accessing passwords from the GNOME keyring")
673 (description
674 "Client library to access passwords from the GNOME keyring.")
675
676 ;; Though a couple of files are LGPLv2.1+.
1dd26275 677 (license license:lgpl2.0+)))
c1354b90 678
e99a3d6f
RW
679(define-public gnome-keyring
680 (package
681 (name "gnome-keyring")
ab35cc6e 682 (version "3.28.2")
e99a3d6f
RW
683 (source (origin
684 (method url-fetch)
685 (uri (string-append "mirror://gnome/sources/" name "/"
686 (version-major+minor version) "/"
687 name "-" version ".tar.xz"))
688 (sha256
689 (base32
ab35cc6e 690 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
e99a3d6f
RW
691 (build-system gnu-build-system)
692 (arguments
693 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
694 ;not exist
695 #:configure-flags
696 (list
697 (string-append "--with-pkcs11-config="
698 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
699 (string-append "--with-pkcs11-modules="
700 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
701 #:phases
702 (modify-phases %standard-phases
ab35cc6e
RW
703 (add-after 'unpack 'fix-/bin/sh-reference
704 (lambda _
705 (substitute* "po/Makefile.in.in"
706 (("/bin/sh") (which "sh")))
707 #t))
e99a3d6f
RW
708 (add-before
709 'configure 'fix-docbook
710 (lambda* (#:key inputs #:allow-other-keys)
711 (substitute* "docs/Makefile.am"
712 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
713 (string-append (assoc-ref inputs "docbook-xsl")
714 "/xml/xsl/docbook-xsl-"
715 ,(package-version docbook-xsl)
716 "/manpages/docbook.xsl")))
717 (setenv "XML_CATALOG_FILES"
718 (string-append (assoc-ref inputs "docbook-xml")
6915da22 719 "/xml/dtd/docbook/catalog.xml"))
6915da22
LC
720 ;; Rerun the whole thing to avoid version mismatch ("This is
721 ;; Automake 1.15.1, but the definition used by this
722 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
723 ;; use 'autoreconf' because it insists on running 'libtoolize'.
724 (invoke "autoconf")
725 (invoke "aclocal")
726 (invoke "automake" "-ac"))))))
e99a3d6f
RW
727 (inputs
728 `(("libgcrypt" ,libgcrypt)
1a0b2d82 729 ("linux-pam" ,linux-pam)
ab35cc6e 730 ("openssh" ,openssh)
e99a3d6f
RW
731 ("dbus" ,dbus)
732 ("gcr" ,gcr)))
733 (native-inputs
734 `(("pkg-config" ,pkg-config)
735 ("glib" ,glib "bin")
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")
e644f9fa 3243 (version "3.28.1")
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
e644f9fa
RW
3252 "0z9dip9p0iav646cmxisii5sbkdr9hmaklc5fzvschpbjkhphksr"))))
3253 (build-system meson-build-system)
23a22af6 3254 (arguments
e644f9fa
RW
3255 `(#:glib-or-gtk? #t
3256 #:configure-flags
3257 (list (string-append "-Dudev_dir="
3258 (assoc-ref %outputs "out")
4d0e085b
RW
3259 "/lib/udev/rules.d/")
3260 ;; Otherwise, the RUNPATH will lack the final path component.
3261 (string-append "-Dc_link_args=-Wl,-rpath="
3262 (assoc-ref %outputs "out")
3263 "/lib/gnome-settings-daemon-3.0"))
e644f9fa 3264 ;; Color management test can't reach the colord system service.
23a22af6
AW
3265 #:tests? #f))
3266 (native-inputs
e644f9fa
RW
3267 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3268 ("pkg-config" ,pkg-config)
23a22af6
AW
3269 ("intltool" ,intltool)
3270 ("xsltproc" ,libxslt)
3271 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3272 ("docbook-xml" ,docbook-xml-4.2)
3273 ("docbook-xsl" ,docbook-xsl)))
3274 (inputs
e644f9fa
RW
3275 `(("alsa-lib" ,alsa-lib)
3276 ("colord" ,colord)
ea226291 3277 ("libgudev" ,libgudev)
23a22af6
AW
3278 ("upower" ,upower)
3279 ("polkit" ,polkit)
3280 ("pulseaudio" ,pulseaudio)
3281 ("libcanberra" ,libcanberra)
3282 ("libx11" ,libx11)
3283 ("libxtst" ,libxtst)
3284 ("lcms" ,lcms)
3285 ("libnotify" ,libnotify)
3286 ("geoclue" ,geoclue)
3287 ("geocode-glib" ,geocode-glib)
3288 ("libgweather" ,libgweather)
3289 ("gnome-desktop" ,gnome-desktop)
3290 ("nss" ,nss)
3291 ("cups" ,cups)
ec2b1921
AW
3292 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3293 ("libwacom" ,libwacom)
3294 ("librsvg" ,librsvg)
eee7878f 3295 ("xf86-input-wacom" ,xf86-input-wacom)
e644f9fa 3296 ("wayland" ,wayland)
eee7878f 3297 ("network-manager" ,network-manager)))
f032d0be 3298 (home-page "https://www.gnome.org")
23a22af6
AW
3299 (synopsis "GNOME settings daemon")
3300 (description
3301 "This package contains the daemon responsible for setting the various
3302parameters of a GNOME session and the applications that run under it. It
3303handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3304settings, themes, mouse settings, and startup of other daemons.")
3305 (license license:gpl2+)))
1e7464a9
DH
3306
3307(define-public totem-pl-parser
3308 (package
3309 (name "totem-pl-parser")
1e9b19dd 3310 (version "3.26.1")
1e7464a9
DH
3311 (source (origin
3312 (method url-fetch)
e980cbe9
MW
3313 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3314 (version-major+minor version) "/"
1e7464a9
DH
3315 "totem-pl-parser-" version ".tar.xz"))
3316 (sha256
3317 (base32
1e9b19dd
RW
3318 "0k5pnka907invgds48d73c1xx1a366v5dcld3gr2l1dgmjwc9qka"))))
3319 (build-system meson-build-system)
1e7464a9
DH
3320 (arguments
3321 ;; FIXME: Tests require gvfs.
3322 `(#:tests? #f))
3323 (native-inputs
3324 `(("intltool" ,intltool)
3325 ("glib" ,glib "bin")
4d6d8281 3326 ("gobject-introspection" ,gobject-introspection)
1e7464a9 3327 ("pkg-config" ,pkg-config)))
22a6ad6a 3328 (propagated-inputs
1e7464a9
DH
3329 `(("glib" ,glib)
3330 ("gmime" ,gmime)
1e9b19dd
RW
3331 ("libarchive" ,libarchive)
3332 ("libgcrypt" ,libgcrypt)
22a6ad6a
MW
3333 ("libxml2" ,libxml2)))
3334 (inputs
1e9b19dd 3335 `(("nettle" ,nettle)
22a6ad6a 3336 ("libsoup" ,libsoup)))
1e7464a9
DH
3337 (home-page "https://projects.gnome.org/totem")
3338 (synopsis "Library to parse and save media playlists for GNOME")
3339 (description "Totem-pl-parser is a GObjects-based library to parse and save
3340playlists in a variety of formats.")
3341 (license license:lgpl2.0+)))
3342
6b888eff
SB
3343(define-public aisleriot
3344 (package
3345 (name "aisleriot")
39c0a3fd 3346 (version "3.22.8")
6b888eff
SB
3347 (source (origin
3348 (method url-fetch)
e43f622a 3349 (uri (string-append "mirror://gnome/sources/aisleriot/"
6b888eff 3350 (version-major+minor version) "/"
e43f622a 3351 "aisleriot-" version ".tar.xz"))
6b888eff
SB
3352 (sha256
3353 (base32
39c0a3fd 3354 "15pm39679ymxki07sb5nvhycz4z53zwbvascyp5wm4864bn98815"))))
6b888eff
SB
3355 (build-system glib-or-gtk-build-system)
3356 (arguments
3357 '(#:configure-flags
3358 '("--with-platform=gtk-only"
3359 "--with-card-theme-formats=svg")))
3360 (native-inputs
3361 `(("desktop-file-utils" ,desktop-file-utils)
3362 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3363 ("intltool" ,intltool)
3364 ("itstool" ,itstool)
3365 ("pkg-config" ,pkg-config)
3366 ("xmllint" ,libxml2)))
3367 (inputs
3368 `(("gtk+" ,gtk+)
226e57d6 3369 ("guile" ,guile-2.2)
6b888eff
SB
3370 ("libcanberra" ,libcanberra)
3371 ("librsvg" ,librsvg)))
3372 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3373 (synopsis "Solitaire card games")
3374 (description
3375 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3376which are easy to play with the aid of a mouse.")
3377 (license license:gpl3+)))
4a79e256
SB
3378
3379(define-public devhelp
3380 (package
3381 (name "devhelp")
5dd12afc 3382 (version "3.28.1")
4a79e256
SB
3383 (source (origin
3384 (method url-fetch)
3385 (uri (string-append "mirror://gnome/sources/" name "/"
3386 (version-major+minor version) "/"
3387 name "-" version ".tar.xz"))
3388 (sha256
3389 (base32
5dd12afc 3390 "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s"))))
4a79e256
SB
3391 (build-system glib-or-gtk-build-system)
3392 (native-inputs
3393 `(("intltool" ,intltool)
5dd12afc 3394 ("itstool" ,itstool)
4a79e256
SB
3395 ("pkg-config" ,pkg-config)))
3396 (inputs
3397 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3398 ("webkitgtk" ,webkitgtk)))
3399 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3400 (synopsis "API documentation browser for GNOME")
3401 (description
3402 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3403natively with GTK-Doc (the API reference system developed for GTK+ and used
3404throughout GNOME for API documentation).")
3405 (license license:gpl2+)))
ba421ab7
MW
3406
3407(define-public cogl
3408 (package
3409 (name "cogl")
6a55accc 3410 (version "1.22.2")
ba421ab7
MW
3411 (source
3412 (origin
3413 (method url-fetch)
3414 (uri (string-append "mirror://gnome/sources/" name "/"
3415 (version-major+minor version) "/"
3416 name "-" version ".tar.xz"))
3417 (sha256
3418 (base32
6a55accc 3419 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
a88d5a0c
MW
3420 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3421 ;; cogl, corresponding changes may be appropriate in mutter as well.
ba421ab7
MW
3422 (build-system gnu-build-system)
3423 (native-inputs
3424 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3425 ("gobject-introspection" ,gobject-introspection)
3426 ;;("xorg-server" ,xorg-server) ; for the test suite
3427 ("pkg-config" ,pkg-config)))
3428 (propagated-inputs
3429 `(("glib" ,glib)
3430 ("gdk-pixbuf" ,gdk-pixbuf)
3431 ("libx11" ,libx11)
3432 ("libxext" ,libxext)
3433 ("libxfixes" ,libxfixes)
3434 ("libxdamage" ,libxdamage)
3435 ("libxcomposite" ,libxcomposite)
3436 ("libxrandr" ,libxrandr)))
3437 (inputs
3438 `(("mesa" ,mesa)
3439 ("cairo" ,cairo)
3440 ("pango" ,pango)
3441 ("gstreamer" ,gstreamer)
31860852
KK
3442 ("gst-plugins-base" ,gst-plugins-base)
3443 ("wayland" ,wayland)))
ba421ab7
MW
3444 (arguments
3445 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
3446 "--enable-wayland-egl-platform"
3447 "--enable-wayland-egl-server"
3448
ba421ab7
MW
3449 ;; Arrange to pass an absolute file name to
3450 ;; dlopen for libGL.so.
3451 (string-append "--with-gl-libname="
3452 (assoc-ref %build-inputs "mesa")
3453 "/lib/libGL.so"))
3454 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3455 ;; _FontTransOpen: Unable to Parse address
3456 ;; ${prefix}/share/fonts/X11/misc/
3457 #:tests? #f
3458 #; #:phases
3459 #;
3460 (modify-phases %standard-phases
3461 (add-before 'check 'start-xorg-server
3462 (lambda* (#:key inputs #:allow-other-keys)
3463 ;; The test suite requires a running X server.
3464 (system (format #f "~a/bin/Xvfb :1 &"
3465 (assoc-ref inputs "xorg-server")))
3466 (setenv "DISPLAY" ":1")
3467 #t)))))
3468 (home-page "http://www.cogl3d.org")
3469 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3470 (description
3471 "Cogl is a small library for using 3D graphics hardware to draw pretty
3472pictures. The API departs from the flat state machine style of OpenGL and is
3473designed to make it easy to write orthogonal components that can render
3474without stepping on each others toes.")
3475 (license (list license:expat ; most of the code
3476 license:bsd-3 ; cogl/cogl-point-in-poly.c
3477 license:sgifreeb2.0 ; cogl-path/tesselator/
3478 license:asl2.0)))) ; examples/android/
fb182b8a
MW
3479
3480(define-public clutter
3481 (package
3482 (name "clutter")
6a88e4ee 3483 (version "1.26.2")
fb182b8a
MW
3484 (source
3485 (origin
3486 (method url-fetch)
3487 (uri (string-append "mirror://gnome/sources/" name "/"
3488 (version-major+minor version) "/"
3489 name "-" version ".tar.xz"))
3490 (sha256
3491 (base32
6a88e4ee 3492 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
3493 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3494 ;; to clutter, corresponding changes may be appropriate in mutter as well.
fb182b8a 3495 (build-system gnu-build-system)
600233bd
LC
3496 (outputs '("out"
3497 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
3498 (native-inputs
3499 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3500 ("gobject-introspection" ,gobject-introspection)
3501 ("pkg-config" ,pkg-config)
3502 ("xsltproc" ,libxslt)))
3503 (propagated-inputs
3504 `(("cogl" ,cogl)
3505 ("cairo" ,cairo)
3506 ("atk" ,atk)
3507 ("gtk+" ,gtk+)
3508 ("json-glib" ,json-glib)
3509 ("glib" ,glib)
3510 ("libxcomposite" ,libxcomposite)
3511 ("libxdamage" ,libxdamage)
3512 ("libxext" ,libxext)
3513 ("xinput" ,xinput)))
3514 (inputs
3515 `(("libxkbcommon" ,libxkbcommon)
3516 ("udev" ,eudev)))
3517 (arguments
600233bd
LC
3518 `(#:configure-flags (list "--enable-x11-backend=yes"
3519
3520 ;; This produces share/doc/{clutter,cally}.
3521 (string-append "--with-html-dir="
3522 (assoc-ref %outputs "doc")
3523 "/share/doc"))
fb182b8a
MW
3524 ;; XXX FIXME: Get test suite working. It would probably fail in the
3525 ;; same way the cogl tests fail, since clutter is based on cogl.
3526 #:tests? #f))
3527 (home-page "http://www.clutter-project.org")
476af713 3528 (synopsis "OpenGL-based interactive canvas library")
fb182b8a 3529 (description
476af713 3530 "Clutter is an OpenGL-based interactive canvas library, designed for
fb182b8a
MW
3531creating fast, mainly 2D single window applications such as media box UIs,
3532presentations, kiosk style applications and so on.")
3533 (license license:lgpl2.0+)))
bf7f17ba
MW
3534
3535(define-public clutter-gtk
3536 (package
3537 (name "clutter-gtk")
5d1a3219 3538 (version "1.8.4")
bf7f17ba
MW
3539 (source
3540 (origin
3541 (method url-fetch)
3542 (uri (string-append "mirror://gnome/sources/" name "/"
3543 (version-major+minor version) "/"
3544 name "-" version ".tar.xz"))
3545 (sha256
3546 (base32
5d1a3219 3547 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
bf7f17ba
MW
3548 (build-system gnu-build-system)
3549 (native-inputs
3550 `(("pkg-config" ,pkg-config)
3551 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
3552 (propagated-inputs
3553 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
3554 `(("clutter" ,clutter)
3555 ("gtk+" ,gtk+)))
3556 (home-page "http://www.clutter-project.org")
476af713 3557 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
bf7f17ba 3558 (description
476af713 3559 "Clutter is an OpenGL-based interactive canvas library, designed for
bf7f17ba
MW
3560creating fast, mainly 2D single window applications such as media box UIs,
3561presentations, kiosk style applications and so on.")
3562 (license license:lgpl2.0+)))
86d6a893
MW
3563
3564(define-public clutter-gst
3565 (package
3566 (name "clutter-gst")
ba07ac19 3567 (version "3.0.27")
86d6a893
MW
3568 (source
3569 (origin
3570 (method url-fetch)
f010f89b 3571 (uri (string-append "mirror://gnome/sources/clutter-gst/"
86d6a893 3572 (version-major+minor version) "/"
f010f89b 3573 "clutter-gst-" version ".tar.xz"))
86d6a893 3574 (sha256
ba07ac19 3575 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
86d6a893
MW
3576 (build-system gnu-build-system)
3577 (native-inputs
ba07ac19 3578 `(("glib:bin" ,glib "bin") ; for glib-mkenums
86d6a893
MW
3579 ("pkg-config" ,pkg-config)
3580 ("gobject-introspection" ,gobject-introspection)))
3581 (inputs
3582 `(("clutter" ,clutter)
3583 ("gstreamer" ,gstreamer)
3584 ("gst-plugins-base" ,gst-plugins-base)))
3585 (home-page "http://www.clutter-project.org")
3586 (synopsis "Integration library for using GStreamer with Clutter")
3587 (description
3588 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3589It provides a GStreamer sink to upload frames to GL and an actor that
476af713
TGR
3590implements the ClutterGstPlayer interface using playbin. Clutter is an
3591OpenGL-based interactive canvas library.")
86d6a893 3592 (license license:lgpl2.0+)))
607a04ae 3593
30dc88d9
LC
3594(define-public libchamplain
3595 (package
3596 (name "libchamplain")
5564b2c5 3597 (version "0.12.16")
30dc88d9
LC
3598 (source (origin
3599 (method url-fetch)
3600 (uri (string-append
3601 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3602 version ".tar.xz"))
3603 (sha256
3604 (base32
5564b2c5 3605 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
30dc88d9 3606 (build-system gnu-build-system)
f7c6833f
LF
3607 (arguments '(#:configure-flags '("--enable-vala")))
3608 (native-inputs
3609 `(("gobject-introspection" ,gobject-introspection)
3610 ("pkg-config" ,pkg-config)
3611 ("vala" ,vala)))
30dc88d9
LC
3612 (propagated-inputs
3613 `(("libsoup" ,libsoup)
3614 ("sqlite" ,sqlite)
3615 ("clutter" ,clutter)
3616 ("clutter-gtk" ,clutter-gtk)
3617 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3618 ("cairo" ,cairo)
3619 ("gtk+3" ,gtk+)
3620 ("glib" ,glib)))
f032d0be 3621 (home-page "https://projects.gnome.org/libchamplain/")
30dc88d9
LC
3622 (synopsis "C library providing a ClutterActor to display maps")
3623 (description
3624 "libchamplain is a C library providing a ClutterActor to display maps.
3625It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3626and Perl bindings are also available. It supports numerous free map sources
3627such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3628 (license license:lgpl2.1+)))
3629
607a04ae
MW
3630(define-public gom
3631 (package
3632 (name "gom")
0510440b 3633 (version "0.3.2")
607a04ae
MW
3634 (source
3635 (origin
3636 (method url-fetch)
6c8a0b6f 3637 (uri (string-append "mirror://gnome/sources/gom/"
607a04ae 3638 (version-major+minor version) "/"
6c8a0b6f 3639 "gom-" version ".tar.xz"))
607a04ae
MW
3640 (sha256
3641 (base32
0510440b 3642 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
3643 (build-system gnu-build-system)
3644 (native-inputs
3645 `(("intltool" ,intltool)
3646 ("pkg-config" ,pkg-config)
3647 ("gobject-introspection" ,gobject-introspection)))
3648 (inputs
3649 `(("glib" ,glib)
3650 ("gdk-pixbuf" ,gdk-pixbuf)
3651 ("sqlite" ,sqlite)))
3652 ;; XXX TODO: Figure out how to run the test suite.
3653 (arguments `(#:tests? #f))
3654 (home-page "https://wiki.gnome.org/Projects/Gom")
3655 (synopsis "Object mapper from GObjects to SQLite")
3656 (description
3657 "Gom provides an object mapper from GObjects to SQLite. It helps you
3658write applications that need to store structured data as well as make complex
3659queries upon that data.")
3660 (license license:lgpl2.1+)))
b7a3cf11 3661
865aacc9 3662(define-public libgnome-games-support
f09520db 3663 (package
865aacc9 3664 (name "libgnome-games-support")
dd7a2446 3665 (version "1.4.1")
f09520db
SB
3666 (source (origin
3667 (method url-fetch)
3668 (uri (string-append "mirror://gnome/sources/" name "/"
3669 (version-major+minor version) "/"
3670 name "-" version ".tar.xz"))
3671 (sha256
3672 (base32
dd7a2446 3673 "1j7lfcnc29lgn8ppn13wkn9w2y1n3lsapagwp91zh3bf0h2h4hv1"))))
f09520db
SB
3674 (build-system gnu-build-system)
3675 (arguments
3676 '(#:phases
3677 (modify-phases %standard-phases
3678 (add-before 'check 'pre-check
3679 (lambda _
865aacc9 3680 ;; Tests require a writable HOME.
f09520db
SB
3681 (setenv "HOME" (getcwd))
3682 #t)))))
3683 (native-inputs
3684 `(("intltool" ,intltool)
3685 ("pkg-config" ,pkg-config)
3686 ("vala" ,vala)))
3687 (propagated-inputs
865aacc9 3688 ;; Required by libgnome-games-support-1.0.pc
f09520db
SB
3689 `(("gtk+" ,gtk+)
3690 ("libgee" ,libgee)))
3691 (home-page "https://www.gnome.org/")
3692 (synopsis "Useful functionality shared among GNOME games")
3693 (description
865aacc9 3694 "libgnome-games-support is a small library intended for internal use by
f09520db
SB
3695GNOME Games, but it may be used by others.")
3696 (license license:lgpl3+)))
3697
b7a3cf11
SB
3698(define-public gnome-klotski
3699 (package
3700 (name "gnome-klotski")
36828576 3701 (version "3.22.3")
b7a3cf11
SB
3702 (source (origin
3703 (method url-fetch)
3704 (uri (string-append "mirror://gnome/sources/" name "/"
3705 (version-major+minor version) "/"
3706 name "-" version ".tar.xz"))
3707 (sha256
3708 (base32
36828576 3709 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
b7a3cf11
SB
3710 (build-system glib-or-gtk-build-system)
3711 (native-inputs
3712 `(("desktop-file-utils" ,desktop-file-utils)
3713 ("intltool" ,intltool)
3714 ("itstool" ,itstool)
bcb354ad
SB
3715 ("pkg-config" ,pkg-config)
3716 ("xmllint" ,libxml2)))
b7a3cf11
SB
3717 (inputs
3718 `(("gtk+" ,gtk+)
f4eae76f 3719 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
3720 ("librsvg" ,librsvg)))
3721 (home-page "https://wiki.gnome.org/Apps/Klotski")
3722 (synopsis "Sliding block puzzles")
3723 (description
3724 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3725the patterned block to the area bordered by green markers. To do so, you will
3726need to slide other blocks out of the way. Complete each puzzle in as few moves
3727as possible!")
3728 (license license:gpl2+)))
8d4791bf
MW
3729
3730(define-public grilo
3731 (package
3732 (name "grilo")
99dd2af9 3733 (version "0.3.3")
8d4791bf
MW
3734 (source
3735 (origin
3736 (method url-fetch)
3737 (uri (string-append "mirror://gnome/sources/" name "/"
3738 (version-major+minor version) "/"
3739 name "-" version ".tar.xz"))
3740 (sha256
3741 (base32
99dd2af9 3742 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
8d4791bf
MW
3743 (build-system gnu-build-system)
3744 (native-inputs
3745 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3746 ("intltool" ,intltool)
3747 ("pkg-config" ,pkg-config)
3748 ("gobject-introspection" ,gobject-introspection)))
3749 (inputs
6d7273a0
KK
3750 `(("cyrus-sasl" ,cyrus-sasl)
3751 ("glib" ,glib)
8d4791bf
MW
3752 ("gtk+" ,gtk+)
3753 ("libxml2" ,libxml2)
6d7273a0 3754 ("liboauth" ,liboauth)
8d4791bf 3755 ("libsoup" ,libsoup)
e7305878 3756 ("nettle" ,nettle)
8d4791bf
MW
3757 ("totem-pl-parser" ,totem-pl-parser)))
3758 (arguments
3759 `(#:phases
3760 (modify-phases %standard-phases
3761 (add-after 'unpack 'fix-introspection-install-dir
3762 (lambda* (#:key outputs #:allow-other-keys)
3763 (let ((out (assoc-ref outputs "out")))
3764 (substitute* '("src/Makefile.in"
3765 "libs/pls/Makefile.in"
3766 "libs/net/Makefile.in")
3767 (("@INTROSPECTION_GIRDIR@")
3768 (string-append out "/share/gir-1.0/"))
3769 (("@INTROSPECTION_TYPELIBDIR@")
8c52aab4
MW
3770 (string-append out "/lib/girepository-1.0/")))
3771 #t))))))
8d4791bf
MW
3772 (native-search-paths
3773 (list (search-path-specification
3774 (variable "GRL_PLUGIN_PATH")
3775 (files (list (string-append "lib/grilo-"
3776 (version-major+minor version)))))))
f032d0be 3777 (home-page "https://live.gnome.org/Grilo")
8d4791bf
MW
3778 (synopsis "Framework for discovering and browsing media")
3779 (description
3780 "Grilo is a framework focused on making media discovery and browsing easy
3781for application developers.")
3782 (license license:lgpl2.1+)))
7b212526
MW
3783
3784(define-public grilo-plugins
3785 (package
3786 (name "grilo-plugins")
22753632 3787 (version "0.3.3")
7b212526
MW
3788 (source
3789 (origin
3790 (method url-fetch)
3791 (uri (string-append "mirror://gnome/sources/" name "/"
3792 (version-major+minor version) "/"
3793 name "-" version ".tar.xz"))
3794 (sha256
3795 (base32
22753632 3796 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
7b212526
MW
3797 (build-system gnu-build-system)
3798 (native-inputs
3799 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3800 ("intltool" ,intltool)
3801 ("itstool" ,itstool)
3802 ("pkg-config" ,pkg-config)))
3803 (inputs
3804 `(("grilo" ,grilo)
924ae80f 3805 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
7b212526
MW
3806 ("glib" ,glib)
3807 ("libxml2" ,libxml2)
3808 ("sqlite" ,sqlite)
3809 ("gom" ,gom)
3810 ;; XXX TODO: Add oauth
3811 ;; XXX TODO: Add goa
3812 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3813 ;; XXX TODO: Add lua (needs help finding it)
3814 ("json-glib" ,json-glib)
3815 ("avahi" ,avahi)
3816 ("gmime" ,gmime)
3817 ("libsoup" ,libsoup)
3818 ("libarchive" ,libarchive)
3819 ("totem-pl-parser" ,totem-pl-parser)))
3820 (arguments
3821 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3822 %output
3823 "/lib/grilo-"
3824 ,(version-major+minor version)))
3825 ;; XXX FIXME: Try to get the test suite working. It appears to require
3826 ;; a working system dbus. Inside the build container, all tests fail
3827 ;; with: "assertion failed: (source)". Outside of the build container,
3828 ;; most tests succeed.
3829 #:tests? #f))
f032d0be 3830 (home-page "https://live.gnome.org/Grilo")
7b212526
MW
3831 (synopsis "Plugins for the Grilo media discovery library")
3832 (description
3833 "Grilo is a framework focused on making media discovery and browsing easy
3834for application developers.")
3835 (license license:lgpl2.1+)))
4e3fc547
MW
3836
3837(define-public totem
3838 (package
3839 (name "totem")
0e091b3e 3840 (version "3.26.2")
4e3fc547
MW
3841 (source
3842 (origin
3843 (method url-fetch)
3844 (uri (string-append "mirror://gnome/sources/" name "/"
3845 (version-major+minor version) "/"
3846 name "-" version ".tar.xz"))
3847 (sha256
3848 (base32
0e091b3e 3849 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
81382e3f
MB
3850 (patches (search-patches "totem-meson-easy-codec.patch"
3851 "totem-meson-compat.patch"))))
7ad81b8b 3852 (build-system meson-build-system)
4e3fc547
MW
3853 (native-inputs
3854 `(("pkg-config" ,pkg-config)
3855 ("desktop-file-utils" ,desktop-file-utils)
3856 ("gobject-introspection" ,gobject-introspection)
7ad81b8b
LC
3857 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3858 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
4e3fc547 3859 ("intltool" ,intltool)
bcb354ad
SB
3860 ("itstool" ,itstool)
3861 ("xmllint" ,libxml2)))
4e3fc547
MW
3862 (propagated-inputs
3863 `(("dconf" ,dconf)))
3864 (inputs
3865 `(("gtk+" ,gtk+)
3866 ("gdk-pixbuf" ,gdk-pixbuf)
3867 ("atk" ,atk)
3868 ("cairo" ,cairo)
3869 ("dbus-glib" ,dbus-glib)
3870 ("clutter" ,clutter)
3871 ("clutter-gtk" ,clutter-gtk)
3872 ("clutter-gst" ,clutter-gst)
6a6db57f 3873 ("xorgproto" ,xorgproto)
4e3fc547
MW
3874 ("libxxf86vm" ,libxxf86vm)
3875 ("libxtst" ,libxtst)
3876 ("libxrandr" ,libxrandr)
3877 ("libxml2" ,libxml2)
3878 ("libsoup" ,libsoup)
3879 ("libpeas" ,libpeas)
3880 ("librsvg" ,librsvg)
3881 ("lirc" ,lirc)
3882 ("gnome-desktop" ,gnome-desktop)
3883 ("gstreamer" ,gstreamer)
3884 ("gst-plugins-base" ,gst-plugins-base)
3885 ("gst-plugins-good" ,gst-plugins-good)
3886 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3887 ("adwaita-icon-theme" ,adwaita-icon-theme)
3888 ;; XXX We use python-2 because libxml2 because itstool (which needs
3889 ;; libxml) currently uses python-2.
3890 ("python" ,python-2)
3891 ("python-pygobject" ,python2-pygobject)
3892 ;; XXX TODO pylint needed for python support
3893 ("totem-pl-parser" ,totem-pl-parser)
3894 ("grilo" ,grilo)
3895 ("grilo-plugins" ,grilo-plugins)
3896 ("nettle" ,nettle)
3897 ("vala" ,vala)))
3898 (arguments
7ad81b8b
LC
3899 `(#:glib-or-gtk? #t
3900
a97bfa46
AVY
3901 ;; Disable parallel builds until
3902 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3903 ;; fixed. Try enabling it when updating this package in case
3904 ;; upstream has fixed it.
3905 #:parallel-build? #f
3906
7ad81b8b 3907 ;; Disable automatic GStreamer plugin installation via PackageKit and
ec5c24f9 3908 ;; all that.
7ad81b8b 3909 #:configure-flags '("-D" "enable-easy-codec-installation=no"
a388c951
LC
3910
3911 ;; Do not build .a files for the plugins, it's
3912 ;; completely useless. This saves 2 MiB.
7ad81b8b 3913 "--default-library" "shared")
ec5c24f9
LC
3914
3915 #:phases
4e3fc547 3916 (modify-phases %standard-phases
6368eb39
DM
3917 (add-before
3918 'install 'disable-cache-generation
3919 (lambda _
3920 (setenv "DESTDIR" "/")
3921 #t))
4e3fc547
MW
3922 (add-after
3923 'install 'wrap-totem
3924 (lambda* (#:key inputs outputs #:allow-other-keys)
3925 (let ((out (assoc-ref outputs "out"))
3926 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3927 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3928 (wrap-program (string-append out "/bin/totem")
3929 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
39c853bd
AW
3930 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3931 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3932 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4e3fc547
MW
3933 #t)))))
3934 (home-page "https://wiki.gnome.org/Apps/Videos")
3935 (synopsis "Simple media player for GNOME based on GStreamer")
3936 (description "Totem is a simple yet featureful media player for GNOME
3937which can read a large number of file formats.")
3938 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3939 ;; to be used and distributed together with GStreamer and Totem. See
3940 ;; file://COPYING in the source distribution for details.
3941 (license license:gpl2+)))
f0afb0c8
DH
3942
3943(define-public rhythmbox
3944 (package
3945 (name "rhythmbox")
8190e1ed 3946 (version "3.4.3")
f0afb0c8
DH
3947 (source (origin
3948 (method url-fetch)
3949 (uri (string-append "mirror://gnome/sources/" name "/"
3950 (version-major+minor version) "/"
3951 name "-" version ".tar.xz"))
3952 (sha256
3953 (base32
8190e1ed 3954 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
f0afb0c8
DH
3955 (build-system glib-or-gtk-build-system)
3956 (arguments
3957 `(#:configure-flags
3958 (list "--enable-lirc"
3959 "--enable-python"
3960 "--enable-vala"
3961 "--with-brasero"
3962 "--with-gudev"
3963 "--with-libsecret")
3964 #:phases
3965 (modify-phases %standard-phases
3966 (add-after
3967 'install 'wrap-rhythmbox
3968 (lambda* (#:key inputs outputs #:allow-other-keys)
3969 (let ((out (assoc-ref outputs "out"))
3970 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3971 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
3972 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3973 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
3974 (wrap-program (string-append out "/bin/rhythmbox")
3975 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3976 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
3977 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3978 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
3979 #t)))))
3980 (propagated-inputs
3981 `(("dconf" ,dconf)))
3982 (native-inputs
bcb354ad
SB
3983 `(("itstool" ,itstool)
3984 ("intltool" ,intltool)
f0afb0c8
DH
3985 ("glib" ,glib "bin")
3986 ("gobject-introspection" ,gobject-introspection)
3987 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
3988 ("pkg-config" ,pkg-config)
3989 ("xmllint" ,libxml2)))
f0afb0c8
DH
3990 (inputs
3991 `(("json-glib" ,json-glib)
3992 ("tdb" ,tdb)
3993 ("gnome-desktop" ,gnome-desktop)
3994 ("python" ,python)
3995 ("python-pygobject" ,python2-pygobject)
3996 ("vala" ,vala)
3997 ("gmime" ,gmime)
3998 ("nettle" ,nettle)
f0afb0c8
DH
3999 ("adwaita-icon-theme" ,adwaita-icon-theme)
4000 ("grilo" ,grilo)
4001 ("grilo-plugins" ,grilo-plugins)
4002 ("gstreamer" ,gstreamer)
4003 ("gst-plugins-base" ,gst-plugins-base)
4004 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 4005 ("totem-pl-parser" ,totem-pl-parser)
ea226291 4006 ("libgudev" ,libgudev)
f0afb0c8
DH
4007 ;;("libmtp" ,libmtp) FIXME: Not detected
4008 ("libsecret" ,libsecret)
4009 ("libsoup" ,libsoup)
4010 ("libnotify" ,libnotify)
4011 ("libpeas" ,libpeas)
4012 ("lirc" ,lirc)
4013 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4014 ;;("clutter" ,clutter)
4015 ;;("clutter-gtk" ,clutter-gtk)
4016 ;;("clutter-gst" ,clutter-gst)
4017 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4018 ("atk" ,atk)
4019 ("pango" ,pango)
4020 ("gtk+" ,gtk+)
4021 ;; TODO:
4022 ;; * libgpod
4023 ;; * mx
f0afb0c8
DH
4024 ("brasero" ,brasero)))
4025 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4026 (synopsis "Music player for GNOME")
4027 (description "Rhythmbox is a music playing application for GNOME. It
4028supports playlists, song ratings, and any codecs installed through gstreamer.")
4029 (license license:gpl2+)))
f70d8383
DH
4030
4031(define-public eog
4032 (package
4033 (name "eog")
61fb581f 4034 (version "3.28.2")
f70d8383
DH
4035 (source (origin
4036 (method url-fetch)
4037 (uri (string-append "mirror://gnome/sources/" name "/"
4038 (version-major+minor version) "/"
4039 name "-" version ".tar.xz"))
4040 (sha256
4041 (base32
61fb581f
RW
4042 "1gasrfqi7qrzdq1idh29r0n6ikkqjb6pbp7a8k5krfz5hkhyfin0"))))
4043 (build-system meson-build-system)
f70d8383 4044 (arguments
34c44a34
RW
4045 `(#:configure-flags
4046 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4047 (list (string-append "-Dc_link_args=-Wl,-rpath="
4048 (assoc-ref %outputs "out") "/lib/eog"))
4049 #:phases
f70d8383 4050 (modify-phases %standard-phases
61fb581f
RW
4051 (add-after 'install 'wrap-eog
4052 (lambda* (#:key outputs #:allow-other-keys)
4053 (let ((out (assoc-ref outputs "out"))
4054 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4055 (wrap-program (string-append out "/bin/eog")
4056 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4057 #t)))))
f70d8383
DH
4058 (propagated-inputs
4059 `(("dconf" ,dconf)))
4060 (native-inputs
4061 `(("intltool" ,intltool)
b3546174 4062 ("itstool" ,itstool)
f70d8383 4063 ("glib" ,glib "bin")
61fb581f 4064 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
f70d8383 4065 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
4066 ("pkg-config" ,pkg-config)
4067 ("xmllint" ,libxml2)))
f70d8383
DH
4068 (inputs
4069 `(("gnome-desktop" ,gnome-desktop)
4070 ("shared-mime-info" ,shared-mime-info)
4071 ("adwaita-icon-theme" ,adwaita-icon-theme)
4072 ("exempi" ,exempi)
4073 ("lcms" ,lcms)
4074 ("libexif" ,libexif)
4075 ("libpeas" ,libpeas)
4076 ("libjpeg" ,libjpeg)
4077 ("librsvg" ,librsvg)
4078 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4079 ("gtk+" ,gtk+)))
4080 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4081 (synopsis "GNOME image viewer")
4082 (description "Eye of GNOME is the GNOME image viewer. It
4083supports image conversion, rotation, and slideshows.")
4084 (license license:gpl2+)))
41af5e7b 4085
0c3f8cb8
LC
4086(define-public eog-plugins
4087 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4088 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4089 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4090 ;; 'XDG_DATA_DIRS' appropriately set.
4091 (package
4092 (name "eog-plugins")
5fed63dd 4093 (version "3.26.3")
0c3f8cb8
LC
4094 (source (origin
4095 (method url-fetch)
f3b88ed2 4096 (uri (string-append "mirror://gnome/sources/eog-plugins/"
0c3f8cb8 4097 (version-major+minor version) "/"
f3b88ed2 4098 "eog-plugins-" version ".tar.xz"))
0c3f8cb8
LC
4099 (sha256
4100 (base32
5fed63dd 4101 "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3"))))
0c3f8cb8
LC
4102 (build-system gnu-build-system)
4103 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4104 (synopsis "Extensions for the Eye of GNOME image viewer")
4105 (native-inputs
4106 `(("pkg-config" ,pkg-config)
4107 ("gettext" ,gnu-gettext)))
4108 (inputs
4109 `(("eog" ,eog)
4110 ("glib" ,glib)
4111 ("gtk+" ,gtk+)
4112 ("libpeas" ,libpeas)
4113 ("libexif" ,libexif)
4114 ("libchamplain" ,libchamplain)))
4115 (description
4116 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4117notably:
4118
4119@itemize
4120@item @dfn{EXIF Display}, which displays camera (EXIF) information;
4121@item @dfn{Map}, which displays a map of where the picture was taken on the
4122side panel;
4123@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4124@end itemize\n")
4125
4126 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4127 ;; long suspicious byte stream that goes to a
4128 ;; ".gresource.eog_postasa_plugin" ELF section.
4129 (license license:gpl2+)))
4130
41af5e7b
SB
4131(define-public libgudev
4132 (package
4133 (name "libgudev")
b78f5118 4134 (version "232")
41af5e7b
SB
4135 (source (origin
4136 (method url-fetch)
4137 (uri (string-append "mirror://gnome/sources/" name "/"
4138 version "/" name "-" version ".tar.xz"))
4139 (sha256
4140 (base32
b78f5118 4141 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
41af5e7b 4142 (build-system gnu-build-system)
b78f5118
RW
4143 (arguments
4144 '(#:configure-flags
4145 ;; umockdev depends on libgudev.
4146 (list "--disable-umockdev")))
41af5e7b
SB
4147 (native-inputs
4148 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4149 ("gobject-introspection" ,gobject-introspection)
4150 ("pkg-config" ,pkg-config)))
4151 (propagated-inputs
4152 `(("glib" ,glib))) ; required by gudev-1.0.pc
4153 (inputs
4154 `(("udev" ,eudev)))
4155 (home-page "https://wiki.gnome.org/Projects/libgudev")
4156 (synopsis "GObject bindings for libudev")
4157 (description
4158 "This library provides GObject bindings for libudev. It was originally
4159part of udev-extras, then udev, then systemd. It's now a project on its own.")
4160 (license license:lgpl2.1+)))
3dc8828f
SB
4161
4162(define-public gvfs
4163 (package
4164 (name "gvfs")
0ab9f949 4165 (version "1.36.2")
3dc8828f
SB
4166 (source (origin
4167 (method url-fetch)
4168 (uri (string-append "mirror://gnome/sources/" name "/"
4169 (version-major+minor version) "/"
4170 name "-" version ".tar.xz"))
4171 (sha256
4172 (base32
0ab9f949 4173 "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4"))))
3dc8828f
SB
4174 (build-system gnu-build-system)
4175 (arguments
0ab9f949
RW
4176 '(#:tests? #f ; XXX: requiring `pidof'
4177 #:phases
4178 (modify-phases %standard-phases
4179 (add-after 'unpack 'remove-broken-autogen-script
4180 (lambda _ (delete-file "autogen.sh") #t)))))
3dc8828f
SB
4181 (native-inputs
4182 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
0ab9f949
RW
4183 ("autoconf" ,autoconf)
4184 ("automake" ,automake)
4185 ("gettext" ,gettext-minimal)
4186 ("gtk-doc" ,gtk-doc)
4187 ("libtool" ,libtool)
3dc8828f
SB
4188 ("pkg-config" ,pkg-config)
4189 ("xsltproc" ,libxslt)))
4190 (inputs
4191 `(("avahi" ,avahi)
4192 ("docbook-xml" ,docbook-xml-4.2)
4193 ("docbook-xsl" ,docbook-xsl)
4194 ("dbus" ,dbus)
4195 ("fuse" ,fuse)
24a78aa6 4196 ("gcr" ,gcr)
3dc8828f
SB
4197 ("glib" ,glib)
4198 ("libarchive" ,libarchive)
4199 ("libbluray" ,libbluray)
8852ca24 4200 ("libcap" ,libcap)
3dc8828f
SB
4201 ("libcdio-paranoia" ,libcdio-paranoia)
4202 ("libgcrypt" ,libgcrypt)
4203 ("libgphoto2" ,libgphoto2)
4204 ("libgudev" ,libgudev)
0ab9f949 4205 ("libimobiledevice" ,libimobiledevice)
3dc8828f
SB
4206 ("libmtp" ,libmtp)
4207 ("libsecret" ,libsecret)
4208 ("libsmbclient" ,samba)
4209 ("libsoup" ,libsoup)
4210 ("libxml2" ,libxml2)
4211 ("nettle" ,nettle) ; XXX: required by libarchive.pc
8852ca24 4212 ("polkit" ,polkit)
3dc8828f
SB
4213 ("udisks" ,udisks)))
4214 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 4215 (synopsis "Userspace virtual file system for GIO")
3dc8828f 4216 (description
8f65585b 4217 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
4218abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4219to all applications using the GIO API. It also supports exposing the GVFS
4220mounts to non-GIO applications using FUSE.
4221
4222GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4223DAV, and others.")
4224 (license license:lgpl2.0+)))
7c88b6bd
AW
4225
4226(define-public gusb
4227 (package
4228 (name "gusb")
536b3274 4229 (version "0.3.0")
7c88b6bd
AW
4230 (source (origin
4231 (method url-fetch)
4232 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
536b3274 4233 version ".tar.gz"))
7c88b6bd
AW
4234 (sha256
4235 (base32
536b3274
MB
4236 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4237 (build-system meson-build-system)
7c88b6bd 4238 (native-inputs
536b3274 4239 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
4240 ("pkg-config" ,pkg-config)
4241 ("vala" ,vala)
7c88b6bd
AW
4242 ("gtk-doc" ,gtk-doc)))
4243 (propagated-inputs
4244 ;; Both of these are required by gusb.pc.
4245 `(("glib" ,glib)
4246 ("libusb" ,libusb)))
4247 (arguments
536b3274 4248 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 4249 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 4250 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
4251 (description
4252 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4253asynchronous control, bulk and interrupt transfers with proper cancellation
4254and integration into a mainloop. This makes it easy to integrate low level
4255USB transfers with your high-level application or system daemon.")
4256 (license license:lgpl2.1+)))
0abe1d86
AW
4257
4258(define-public simple-scan
4259 (package
4260 (name "simple-scan")
baca5333 4261 (version "3.24.1")
0abe1d86
AW
4262 (source (origin
4263 (method url-fetch)
4264 (uri (string-append "https://launchpad.net/simple-scan/"
4265 (version-major+minor version) "/"
4266 version "/+download/simple-scan-"
4267 version ".tar.xz"))
4268 (sha256
4269 (base32
baca5333 4270 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
0abe1d86
AW
4271 (build-system glib-or-gtk-build-system)
4272 (inputs
4273 `(("gtk" ,gtk+)
4274 ("zlib" ,zlib)
4275 ("cairo" ,cairo)
4276 ("gdk-pixbuf" ,gdk-pixbuf)
4277 ("gusb" ,gusb)
4c928743 4278 ("libsane" ,sane-backends)))
0abe1d86 4279 (native-inputs
b94a6ca0 4280 `(("gettext" ,gettext-minimal)
0abe1d86
AW
4281 ("itstool" ,itstool)
4282 ("colord" ,colord)
4283 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4284 ("pkg-config" ,pkg-config)
bcb354ad
SB
4285 ("vala" ,vala)
4286 ("xmllint" ,libxml2)))
fb9ca511
TGR
4287 (arguments
4288 '(#:configure-flags '("--disable-packagekit")
4289 #:phases
4290 (modify-phases %standard-phases
4291 (add-after 'unpack 'clean
4292 (lambda _
4293 ;; Remove a left-over reference to PackageKit.
4294
4295 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4296
4297 ;; There are some generated C files erroneously
4298 ;; included in the source distribution, and this
4299 ;; one breaks the build by referring to a
4300 ;; non-existent header (packagekit.h)
4301 (delete-file "src/ui.c"))))))
0abe1d86
AW
4302 (home-page "https://launchpad.net/simple-scan")
4303 (synopsis "Document and image scanner")
4304 (description "Simple Scan is an easy-to-use application, designed to let
4305users connect their scanner and quickly have the image/document in an
4306appropriate format. Simple Scan is basically a frontend for SANE - which is
4307the same backend as XSANE uses. This means that all existing scanners will
4308work and the interface is well tested.")
4309 (license license:gpl3+)))
7549f984 4310
ab466d79
RW
4311(define-public eolie
4312 (package
4313 (name "eolie")
1d7cf144 4314 (version "0.9.62")
ab466d79
RW
4315 (source (origin
4316 (method url-fetch)
00014781 4317 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
1d7cf144 4318 "uploads/bb4aad19272cc636bd17f2f6602127fe/"
00014781 4319 "eolie-" version ".tar.xz"))
ab466d79
RW
4320 (sha256
4321 (base32
1d7cf144 4322 "06v76hg87fnhw45dil5vvl20myvaa38n1jqsl0lmkkq6af4mk8wx"))))
00014781 4323 (build-system meson-build-system)
ab466d79 4324 (arguments
00014781
RW
4325 `(#:glib-or-gtk? #t
4326 #:phases
ab466d79
RW
4327 (modify-phases %standard-phases
4328 (add-after 'wrap 'wrap-more
4329 (lambda* (#:key inputs outputs #:allow-other-keys)
4330 (let* ((out (assoc-ref outputs "out"))
4331 ;; These libraries must be on LD_LIBRARY_PATH.
4332 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4333 "atk" "gtk+" "gsettings-desktop-schemas"
4334 "gobject-introspection"))
4335 (path (string-join
4336 (map (lambda (lib)
4337 (string-append (assoc-ref inputs lib) "/lib"))
4338 libs)
4339 ":")))
4340 (wrap-program (string-append out "/bin/eolie")
4341 `("LD_LIBRARY_PATH" ":" prefix (,path))
4342 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4343 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4344 #t)))))
4345 (native-inputs
f85ca6ed 4346 `(("intltool" ,intltool)
ab466d79 4347 ("itstool" ,itstool)
d95f1041 4348 ("pkg-config" ,pkg-config)
d95f1041 4349 ("python" ,python)
00014781 4350 ("glib:bin" ,glib "bin")
d95f1041 4351 ("gtk+" ,gtk+ "bin")))
ab466d79
RW
4352 (inputs
4353 `(("gobject-introspection" ,gobject-introspection)
4354 ("glib-networking" ,glib-networking)
4355 ("cairo" ,cairo)
4356 ("gtk+" ,gtk+)
4357 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4358 ("python" ,python-wrapper)
d72f76df 4359 ("python-dateutil" ,python-dateutil)
00014781 4360 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
4361 ("python-pygobject" ,python-pygobject)
4362 ("python-pycairo" ,python-pycairo)
00014781 4363 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
4364 ("libsecret" ,libsecret)
4365 ("gtkspell3" ,gtkspell3)
4366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 4367 ("webkitgtk" ,webkitgtk)))
166b2c97 4368 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
4369 (synopsis "Web browser for GNOME")
4370 (description
4371 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4372a secret password store, an adblocker, and a modern UI.")
4373 (license license:gpl3+)))
4374
7549f984
SB
4375(define-public epiphany
4376 (package
4377 (name "epiphany")
0e4d4d98 4378 (version "3.28.3.1")
7549f984
SB
4379 (source (origin
4380 (method url-fetch)
dd3266ec 4381 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 4382 (version-major+minor version) "/"
dd3266ec 4383 "epiphany-" version ".tar.xz"))
7549f984
SB
4384 (sha256
4385 (base32
0e4d4d98 4386 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
fc5c5b92
R
4387
4388 (build-system meson-build-system)
7549f984
SB
4389 (arguments
4390 ;; FIXME: tests run under Xvfb, but fail with:
4391 ;; /src/bookmarks/ephy-bookmarks/create:
4392 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4393 ;; subsystem
4394 ;; FAIL
6f48d9db 4395 '(#:tests? #f
e19f9c24
LF
4396 #:glib-or-gtk? #t
4397 #:configure-flags
4398 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4399 (list (string-append "-Dc_link_args=-Wl,-rpath="
4400 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
4401 (propagated-inputs
4402 `(("dconf" ,dconf)))
7549f984 4403 (native-inputs
fc5c5b92
R
4404 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4405 ("glib:bin" ,glib "bin") ; for glib-mkenums
4406 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4407 ("intltool" ,intltool)
7549f984 4408 ("itstool" ,itstool)
bcb354ad
SB
4409 ("pkg-config" ,pkg-config)
4410 ("xmllint" ,libxml2)))
7549f984
SB
4411 (inputs
4412 `(("avahi" ,avahi)
4413 ("gcr" ,gcr)
fc5c5b92 4414 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
4415 ("glib-networking" ,glib-networking)
4416 ("gnome-desktop" ,gnome-desktop)
4417 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 4418 ("json-glib" ,json-glib)
7549f984
SB
4419 ("iso-codes" ,iso-codes)
4420 ("libnotify" ,libnotify)
4421 ("libsecret" ,libsecret)
7549f984 4422 ("libxslt" ,libxslt)
fc5c5b92 4423 ("nettle" ,nettle) ; for hogweed
7549f984 4424 ("sqlite" ,sqlite)
f85ca6ed 4425 ("webkitgtk" ,webkitgtk)))
7549f984
SB
4426 (home-page "https://wiki.gnome.org/Apps/Web")
4427 (synopsis "GNOME web browser")
4428 (description
4429 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4430principles are simplicity and standards compliance.")
4431 (license license:gpl2+)))
a3856b2c
SB
4432
4433(define-public d-feet
4434 (package
4435 (name "d-feet")
458e9221 4436 (version "0.3.14")
a3856b2c
SB
4437 (source (origin
4438 (method url-fetch)
4439 (uri (string-append "mirror://gnome/sources/" name "/"
4440 (version-major+minor version) "/"
4441 name "-" version ".tar.xz"))
4442 (sha256
4443 (base32
458e9221 4444 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
4445 (build-system glib-or-gtk-build-system)
4446 (arguments
4447 '(#:out-of-source? #f ; tests need to run in the source directory.
4448 #:phases
4449 (modify-phases %standard-phases
4450 (add-before
4451 'check 'pre-check
86aff791 4452 (lambda _
a3856b2c
SB
4453 ;; The test suite requires a running X server.
4454 (system "Xvfb :1 &")
4455 (setenv "DISPLAY" ":1")
4456 ;; Don't fail on missing '/etc/machine-id'.
4457 (setenv "DBUS_FATAL_WARNINGS" "0")
4458 ;; tests.py and window.py don't meet E402:
4459 ;; E402 module level import not at top of file
4460 (substitute* "src/tests/Makefile"
86aff791
MW
4461 (("--ignore=E123") "--ignore=E123,E402"))
4462 #t))
a3856b2c
SB
4463 (add-after
4464 'install 'wrap-program
4465 (lambda* (#:key outputs #:allow-other-keys)
4466 (let ((prog (string-append (assoc-ref outputs "out")
4467 "/bin/d-feet")))
4468 (wrap-program prog
4469 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
4470 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4471 #t))))))
a3856b2c
SB
4472 (native-inputs
4473 `(("intltool" ,intltool)
4474 ("itstool" ,itstool)
4475 ("pkg-config" ,pkg-config)
4476 ("python-pep8" ,python-pep8)
4477 ("xmllint" ,libxml2)
4478 ("xorg-server" ,xorg-server)))
4479 (inputs
4480 `(("gobject-introspection" ,gobject-introspection)
4481 ("gtk+" ,gtk+)
4482 ("python" ,python-wrapper)
458e9221 4483 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
4484 ("python-pygobject" ,python-pygobject)))
4485 (home-page "https://wiki.gnome.org/Apps/DFeet")
4486 (synopsis "D-Bus debugger")
4487 (description
4488 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4489of running programs and invoke methods on those interfaces.")
4490 (license license:gpl2+)))
c3b97bd9
SB
4491
4492(define-public yelp-xsl
4493 (package
4494 (name "yelp-xsl")
7c213900 4495 (version "3.28.0")
c3b97bd9
SB
4496 (source (origin
4497 (method url-fetch)
4498 (uri (string-append "mirror://gnome/sources/" name "/"
4499 (version-major+minor version) "/"
4500 name "-" version ".tar.xz"))
4501 (sha256
4502 (base32
7c213900 4503 "14rznm1qpsnmkwksnkd5j7zplakl01kvrcw0fdmd5gdc65xz9kcc"))))
c3b97bd9
SB
4504 (build-system gnu-build-system)
4505 (native-inputs
4506 `(("intltool" ,intltool)
4507 ("itstool" ,itstool)
4508 ("xmllint" ,libxml2)))
4509 (home-page "https://wiki.gnome.org/Apps/Yelp")
4510 (synopsis "XSL stylesheets for Yelp")
4511 (description
4512 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4513to format Docbook and Mallard documents.")
4514 (license license:gpl2+)))
de3d612a
SB
4515
4516(define-public yelp
4517 (package
4518 (name "yelp")
ef7f084f 4519 (version "3.28.1")
de3d612a
SB
4520 (source (origin
4521 (method url-fetch)
4522 (uri (string-append "mirror://gnome/sources/" name "/"
4523 (version-major+minor version) "/"
4524 name "-" version ".tar.xz"))
4525 (sha256
4526 (base32
ef7f084f 4527 "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8"))))
de3d612a
SB
4528 (build-system glib-or-gtk-build-system)
4529 (native-inputs
4530 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4531 ("intltool" ,intltool)
4532 ("itstool" ,itstool)
4533 ("pkg-config" ,pkg-config)))
4534 (propagated-inputs
4535 `(("dconf" ,dconf)))
4536 (inputs
ad1b7d8b
SB
4537 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4538 ("libxslt" ,libxslt)
de3d612a 4539 ("sqlite" ,sqlite)
4c28ca1d
SB
4540 ("webkitgtk" ,webkitgtk)
4541 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
4542 (home-page "https://wiki.gnome.org/Apps/Yelp")
4543 (synopsis "GNOME help browser")
4544 (description
4545 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4546man, info, and HTML documents. It can locate documents according to the
4547freedesktop.org help system specification.")
4548 (license license:gpl2+)))
122d0d10
SB
4549
4550(define-public yelp-tools
4551 (package
4552 (name "yelp-tools")
2089bca5 4553 (version "3.28.0")
122d0d10
SB
4554 (source (origin
4555 (method url-fetch)
4556 (uri (string-append "mirror://gnome/sources/" name "/"
4557 (version-major+minor version) "/"
4558 name "-" version ".tar.xz"))
4559 (sha256
4560 (base32
2089bca5 4561 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
4562 (build-system gnu-build-system)
4563 (native-inputs
4564 `(("pkg-config" ,pkg-config)))
4565 (propagated-inputs
4566 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4567 `(("itstool" ,itstool)
4568 ("xmllint" ,libxml2)
4569 ("xsltproc" ,libxslt)))
4570 (inputs
4571 `(("yelp-xsl" ,yelp-xsl)))
4572 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4573 (synopsis "Yelp documentation tools")
4574 (description
4575 "Yelp-tools is a collection of scripts and build utilities to help create,
4576manage, and publish documentation for Yelp and the web. Most of the heavy
4577lifting is done by packages like yelp-xsl and itstool. This package just
4578wraps things up in a developer-friendly way.")
4579 (license license:gpl2+)))
af8f9f23
RW
4580
4581(define-public libgee
4582 (package
4583 (name "libgee")
b1be07cf 4584 (version "0.20.1")
af8f9f23
RW
4585 (source (origin
4586 (method url-fetch)
4587 (uri (string-append "mirror://gnome/sources/" name "/"
4588 (version-major+minor version) "/"
4589 name "-" version ".tar.xz"))
4590 (sha256
4591 (base32
b1be07cf 4592 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
af8f9f23
RW
4593 (build-system gnu-build-system)
4594 (arguments
4595 `(#:phases
4596 (modify-phases %standard-phases
4597 (add-after 'unpack 'fix-introspection-install-dir
4598 (lambda* (#:key outputs #:allow-other-keys)
4599 (let ((out (assoc-ref outputs "out")))
4600 (substitute* "gee/Makefile.in"
4601 (("@INTROSPECTION_GIRDIR@")
4602 (string-append out "/share/gir-1.0/"))
4603 (("@INTROSPECTION_TYPELIBDIR@")
4604 (string-append out "/lib/girepository-1.0/")))))))))
4605 (native-inputs
4606 `(("glib" ,glib "bin")
4607 ("pkg-config" ,pkg-config)))
4608 (inputs
4609 `(("glib" ,glib)
4610 ("gobject-introspection" ,gobject-introspection)))
4611 (home-page "https://wiki.gnome.org/Projects/Libgee")
4612 (synopsis "GObject collection library")
4613 (description
4614 "Libgee is a utility library providing GObject-based interfaces and
4615classes for commonly used data structures.")
4616 (license license:lgpl2.1+)))
b0f9c4b8
RW
4617
4618(define-public gexiv2
4619 (package
4620 (name "gexiv2")
adf0b482 4621 (version "0.10.10")
b0f9c4b8
RW
4622 (source (origin
4623 (method url-fetch)
4624 (uri (string-append "mirror://gnome/sources/" name "/"
4625 (version-major+minor version) "/"
4626 name "-" version ".tar.xz"))
4627 (sha256
4628 (base32
adf0b482 4629 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
51c482e4 4630 (build-system meson-build-system)
094aaa1a
LC
4631 (arguments
4632 ;; On 32-bit platforms, the test fails with a rounding error:
4633 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=775249>. Just skip it for
4634 ;; now.
4635 (if (and (not (%current-target-system))
4636 (member (%current-system) '("i686-linux" "armhf-linux")))
4637 '(#:tests? #f)
4638 '()))
b0f9c4b8
RW
4639 (native-inputs
4640 `(("glib" ,glib "bin")
4641 ("pkg-config" ,pkg-config)))
4642 (propagated-inputs
4643 ;; Listed in "Requires" section of gexiv2.pc
4644 `(("exiv2" ,exiv2)))
4645 (inputs
4646 `(("glib" ,glib)
4647 ("gobject-introspection" ,gobject-introspection)))
4648 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4649 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4650 (description
4651 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4652allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4653metadata in photo and video files of various formats.")
4654 (license license:gpl2+)))
fed5a689
RW
4655
4656(define-public shotwell
4657 (package
4658 (name "shotwell")
e266043e 4659 (version "0.28.4")
fed5a689
RW
4660 (source (origin
4661 (method url-fetch)
4662 (uri (string-append "mirror://gnome/sources/" name "/"
4663 (version-major+minor version) "/"
4664 name "-" version ".tar.xz"))
4665 (sha256
4666 (base32
e266043e 4667 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
fed5a689 4668 (build-system glib-or-gtk-build-system)
735b8db6
TGR
4669 (propagated-inputs
4670 `(("dconf" ,dconf)))
fed5a689
RW
4671 (native-inputs
4672 `(("pkg-config" ,pkg-config)
f819c21d 4673 ("itstool" ,itstool)
b94a6ca0 4674 ("gettext" ,gettext-minimal)
77e9c993 4675 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
735b8db6
TGR
4676 ("itstool" ,itstool)
4677 ("vala" ,vala)))
fed5a689 4678 (inputs
735b8db6
TGR
4679 `(("glib:bin" ,glib "bin")
4680 ("gstreamer" ,gstreamer)
fed5a689 4681 ("gst-plugins-base" ,gst-plugins-base)
dfb0323d 4682 ("libgdata" ,libgdata)
fed5a689
RW
4683 ("libgee" ,libgee)
4684 ("gexiv2" ,gexiv2)
4685 ("libraw" ,libraw)
4686 ("json-glib" ,json-glib)
7108425c 4687 ("webkitgtk" ,webkitgtk)
fed5a689
RW
4688 ("sqlite" ,sqlite)
4689 ("libsoup" ,libsoup)
4690 ("libxml2" ,libxml2)
fed5a689 4691 ("libgudev" ,libgudev)
522fc32e
LF
4692 ("libgphoto2" ,libgphoto2)
4693 ("gcr" ,gcr)))
fed5a689
RW
4694 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4695 (synopsis "Photo manager for GNOME 3")
4696 (description
4697 "Shotwell is a digital photo manager designed for the GNOME desktop
4698environment. It allows you to import photos from disk or camera, organize
4699them by keywords and events, view them in full-window or fullscreen mode, and
4700share them with others via social networking and more.")
4701 (license license:lgpl2.1+)))
293ff8b2
DT
4702
4703(define-public file-roller
4704 (package
4705 (name "file-roller")
0a500745 4706 (version "3.28.0")
293ff8b2
DT
4707 (source (origin
4708 (method url-fetch)
4709 (uri (string-append "mirror://gnome/sources/" name "/"
4710 (version-major+minor version) "/"
4711 name "-" version ".tar.xz"))
4712 (sha256
4713 (base32
0a500745
RW
4714 "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1"))))
4715 (build-system meson-build-system)
293ff8b2 4716 (native-inputs
0a500745
RW
4717 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4718 ("intltool" ,intltool)
4719 ("pkg-config" ,pkg-config)
4720 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4721 ("glib:bin" ,glib "bin")))
293ff8b2
DT
4722 ;; TODO: Add libnautilus.
4723 (inputs
4724 `(("gtk+" ,gtk+)
4725 ("gdk-pixbuf" ,gdk-pixbuf)
4726 ("json-glib" ,json-glib)
4727 ("libarchive" ,libarchive)
4728 ("libnotify" ,libnotify)
4729 ("nettle" ,nettle)
4730 ("itstool" ,itstool)
4731 ("libxml2" ,libxml2)))
4732 (synopsis "Graphical archive manager for GNOME")
4733 (description "File Roller is an archive manager for the GNOME desktop
4734environment that allows users to view, unpack, and create compressed archives
4735such as gzip tarballs.")
4736 (home-page "http://fileroller.sourceforge.net/")
4737 (license license:gpl2+)))
7ce49365
SB
4738
4739(define-public gnome-session
4740 (package
4741 (name "gnome-session")
df278071 4742 (version "3.28.1")
7ce49365
SB
4743 (source (origin
4744 (method url-fetch)
4745 (uri (string-append "mirror://gnome/sources/" name "/"
4746 (version-major+minor version) "/"
4747 name "-" version ".tar.xz"))
4748 (sha256
4749 (base32
df278071 4750 "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq"))))
2914af3c 4751 (arguments
df278071
RW
4752 '(#:glib-or-gtk? #t
4753 #:phases
2914af3c
AW
4754 (modify-phases %standard-phases
4755 (add-before 'configure 'pre-configure
4756 (lambda* (#:key outputs #:allow-other-keys)
4757 ;; Use elogind instead of systemd.
df278071
RW
4758 (substitute* "meson.build"
4759 (("libsystemd-login") "libelogind")
4760 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
4761 (substitute* "gnome-session/gsm-systemd.c"
4762 (("#include <systemd/sd-login.h>")
4763 "#include <elogind/sd-login.h>"))
df278071 4764 ;; Remove uses of the systemd daemon.
803ab416
SB
4765 (substitute* "gnome-session/gsm-autostart-app.c"
4766 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
4767 #t))
4768 (add-after 'install 'wrap-gnome-session
4769 (lambda* (#:key inputs outputs #:allow-other-keys)
4770 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4771 (let ((glib (assoc-ref inputs "glib:bin"))
4772 (out (assoc-ref outputs "out")))
4773 (wrap-program (string-append out "/bin/gnome-session")
4774 `("PATH" ":" prefix (,(string-append glib "/bin"))))
1d7bff4b
TS
4775 #t)))
4776 (add-after 'install 'add-absolute-paths-to-desktop-files
4777 (lambda* (#:key outputs #:allow-other-keys)
4778 (let* ((out (assoc-ref outputs "out")))
4779 (substitute* (map (lambda (x)
4780 (string-append out "/share/xsessions/" x))
4781 '("gnome.desktop" "gnome-xorg.desktop"))
4782 (("gnome-session") (string-append out "/bin/gnome-session")))
a0d7baaf 4783 #t))))
6cbc8d57 4784
2914af3c 4785 #:configure-flags
df278071
RW
4786 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4787 "-Dman=false" ; FIXME: disabled because of docbook validation error
4788 "-Dsystemd_journal=false")))
4789 (build-system meson-build-system)
7ce49365
SB
4790 (native-inputs
4791 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4792 ("pkg-config" ,pkg-config)
4793 ("intltool" ,intltool)
df278071
RW
4794 ("xsltproc" ,libxslt)
4795 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4796 ("docbook-xsl" ,docbook-xsl)
4797 ("docbook-xml" ,docbook-xml)
4798 ("xmlto" ,xmlto)))
7ce49365 4799 (inputs
2914af3c
AW
4800 `(("elogind" ,elogind)
4801 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 4802 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
4803 ("gtk+" ,gtk+)
4804 ("json-glib" ,json-glib)
4805 ("libsm" ,libsm)
4806 ("libxcomposite" ,libxcomposite)
4807 ("libxtst" ,libxtst)
4808 ("mesa" ,mesa)
4809 ("upower" ,upower)
4810 ("xtrans" ,xtrans)))
4811 (synopsis "Session manager for GNOME")
4812 (description
4813 "This package contains the GNOME session manager, as well as a
4814configuration program to choose applications starting on login.")
4815 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4816 (license license:gpl2+)))
f47ba77e
SB
4817
4818(define-public gjs
4819 (package
4820 (name "gjs")
72717817 4821 (version "1.52.3")
f47ba77e
SB
4822 (source (origin
4823 (method url-fetch)
4824 (uri (string-append "mirror://gnome/sources/" name "/"
4825 (version-major+minor version) "/"
4826 name "-" version ".tar.xz"))
4827 (sha256
4828 (base32
72717817 4829 "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff"))))
f47ba77e
SB
4830 (build-system gnu-build-system)
4831 (arguments
4832 '(#:phases
4833 (modify-phases %standard-phases
4834 (add-before
4835 'check 'pre-check
4836 (lambda _
fc119619
MW
4837 ;; The test suite requires a running X server.
4838 (system "Xvfb :1 &")
4839 (setenv "DISPLAY" ":1")
4840
f47ba77e
SB
4841 ;; For the missing /etc/machine-id.
4842 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 4843
144f94d0
KK
4844 ;; Our mozjs-38 package does not compile the required Intl API
4845 ;; support for these failing tests.
4846 (substitute* "installed-tests/js/testLocale.js"
4847 ((".*toBeDefined.*") "")
4848 ((".*expect\\(datestr\\).*") ""))
f47ba77e
SB
4849 #t)))))
4850 (native-inputs
8a831c6f 4851 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
4852 ("pkg-config" ,pkg-config)
4853 ("xmllint" ,libxml2)
4854 ;; For testing
4855 ("dbus-launch" ,dbus)
4856 ("uuidgen" ,util-linux)
ebebee94 4857 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
4858 (propagated-inputs
4859 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
4860 `(("cairo" ,cairo)
4861 ("gobject-introspection" ,gobject-introspection)
72717817 4862 ("mozjs" ,mozjs-52)))
f47ba77e
SB
4863 (inputs
4864 `(("gtk+" ,gtk+)
4865 ("readline" ,readline)))
4866 (synopsis "Javascript bindings for GNOME")
f032d0be 4867 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
4868 (description
4869 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4870javascript engine and the GObject introspection framework.")
4871 (license license:gpl2+)))
329d731b
DH
4872
4873(define-public gedit
4874 (package
4875 (name "gedit")
6a29c8d3 4876 (version "3.28.1")
329d731b
DH
4877 (source (origin
4878 (method url-fetch)
4879 (uri (string-append "mirror://gnome/sources/" name "/"
4880 (version-major+minor version) "/"
4881 name "-" version ".tar.xz"))
4882 (sha256
4883 (base32
6a29c8d3 4884 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
329d731b
DH
4885 (build-system glib-or-gtk-build-system)
4886 (arguments
0d2df50c 4887 `(#:phases
329d731b
DH
4888 (modify-phases %standard-phases
4889 (add-after
4890 'install 'wrap-gedit
4891 (lambda* (#:key inputs outputs #:allow-other-keys)
4892 (let ((out (assoc-ref outputs "out"))
4893 (gtksourceview (assoc-ref inputs "gtksourceview"))
afc25242
SB
4894 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4895 (python-path (getenv "PYTHONPATH")))
329d731b 4896 (wrap-program (string-append out "/bin/gedit")
afc25242 4897 ;; For plugins.
329d731b 4898 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
afc25242 4899 `("PYTHONPATH" ":" prefix (,python-path))
329d731b
DH
4900 ;; For language-specs.
4901 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4902 "/share")))))
4903 #t)))))
4904 (propagated-inputs
4905 `(("dconf" ,dconf)))
4906 (native-inputs
4907 `(("intltool" ,intltool)
b3546174 4908 ("itstool" ,itstool)
329d731b
DH
4909 ("gobject-introspection" ,gobject-introspection)
4910 ("pkg-config" ,pkg-config)))
4911 (inputs
4912 `(("glib" ,glib)
0d2df50c 4913 ("gspell" ,gspell)
329d731b 4914 ("gtk+" ,gtk+)
b54c2289 4915 ("gtksourceview" ,gtksourceview-3)
329d731b
DH
4916 ("libpeas" ,libpeas)
4917 ("libxml2" ,libxml2)
329d731b
DH
4918 ("iso-codes" ,iso-codes)
4919 ("python-pygobject" ,python-pygobject)
4920 ("python" ,python)
4921 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4922 ("libx11" ,libx11)
4923 ("vala" ,vala)
4924 ("adwaita-icon-theme" ,adwaita-icon-theme)
4925 ("libsoup" ,libsoup)
4926 ("gnome-desktop" ,gnome-desktop)))
4927 (home-page "https://wiki.gnome.org/Apps/Gedit")
4928 (synopsis "GNOME text editor")
4929 (description "While aiming at simplicity and ease of use, gedit is a
4930powerful general purpose text editor.")
4931 (license license:gpl2+)))
b7179363
SB
4932
4933(define-public zenity
4934 (package
4935 (name "zenity")
f8e2b577 4936 (version "3.28.1")
b7179363
SB
4937 (source (origin
4938 (method url-fetch)
4939 (uri (string-append "mirror://gnome/sources/" name "/"
4940 (version-major+minor version) "/"
4941 name "-" version ".tar.xz"))
4942 (sha256
4943 (base32
f8e2b577 4944 "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv"))))
b7179363
SB
4945 (build-system gnu-build-system)
4946 (native-inputs
b94a6ca0 4947 `(("gettext" ,gettext-minimal)
b7179363
SB
4948 ("itstool" ,itstool)
4949 ("pkg-config" ,pkg-config)))
4950 (inputs
4951 `(("libnotify" ,libnotify)
4952 ("webkitgtk" ,webkitgtk)))
4953 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 4954 (home-page "https://www.gnome.org")
b7179363
SB
4955 (description
4956 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4957to display dialog boxes from the commandline and shell scripts.")
4958 (license license:lgpl2.0+)))
60c3627c
SB
4959
4960(define-public mutter
4961 (package
4962 (name "mutter")
5055d385 4963 (version "3.28.2")
60c3627c 4964 (source (origin
86c44e72
KK
4965 (method url-fetch)
4966 (uri (string-append "mirror://gnome/sources/" name "/"
4967 (version-major+minor version) "/"
4968 name "-" version ".tar.xz"))
60c3627c
SB
4969 (sha256
4970 (base32
5055d385 4971 "0ighs1zvlssgq16v1h3vg280za7y448snq65gc5m1zmqqawqkymg"))))
86c44e72
KK
4972 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4973 ;; versions of cogl and clutter. As a result, many of the inputs,
4974 ;; propagated-inputs, and configure flags used in cogl and clutter are
4975 ;; needed here as well.
60c3627c
SB
4976 (build-system gnu-build-system)
4977 (arguments
4978 '(#:configure-flags
4979 ;; XXX: build fails with [-Werror]:
4980 ;; backends/meta-cursor-renderer.c:112:5: error:
4981 ;; implicit declaration of function ?roundf?
a88d5a0c
MW
4982 (list "--enable-compile-warnings=minimum"
4983
86c44e72 4984 "--enable-native-backend"
a88d5a0c
MW
4985
4986 ;; The following flags are needed for the bundled clutter
4987 "--enable-x11-backend=yes"
4988
d633f2f6
RH
4989 (string-append "--with-xwayland-path="
4990 (assoc-ref %build-inputs "xorg-server-xwayland")
4991 "/bin/Xwayland")
4992
a88d5a0c
MW
4993 ;; the remaining flags are needed for the bundled cogl
4994 "--enable-cogl-gst"
4995 (string-append "--with-gl-libname="
4996 (assoc-ref %build-inputs "mesa")
f23052a6
DC
4997 "/lib/libGL.so"))
4998 #:phases
4999 (modify-phases %standard-phases
86c44e72
KK
5000 ;; Replace references to systemd libraries to elogind references.
5001 (add-before 'configure 'use-elogind
5002 (lambda _
5003 (substitute* (list "configure"
5004 "src/backends/native/meta-launcher.c"
5005 "src/core/main.c")
5006 (("systemd") "elogind"))
5007 #t)))))
60c3627c
SB
5008 (native-inputs
5009 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5010 ("gobject-introspection" ,gobject-introspection)
5011 ("intltool" ,intltool)
f23052a6
DC
5012 ("pkg-config" ,pkg-config)
5013 ;; For git build
5014 ("autoconf" ,autoconf)
5015 ("automake" ,automake)
5016 ("libtool" ,libtool)))
60c3627c 5017 (propagated-inputs
a88d5a0c
MW
5018 `(;; libmutter.pc refers to these:
5019 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5020 ("gtk+" ,gtk+)
5021 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5022 ("atk" ,atk)
5023 ("cairo" ,cairo)
5024 ("gdk-pixbuf" ,gdk-pixbuf)
5025 ("glib" ,glib)
60c3627c 5026 ("gtk+" ,gtk+)
a88d5a0c
MW
5027 ("json-glib" ,json-glib)
5028 ("libinput" ,libinput)
5029 ("libx11" ,libx11)
5030 ("libxcomposite" ,libxcomposite)
5031 ("libxdamage" ,libxdamage)
5032 ("libxext" ,libxext)
5033 ("libxfixes" ,libxfixes)
5034 ("libxkbcommon" ,libxkbcommon)
5035 ("libxrandr" ,libxrandr)
5036 ("mesa" ,mesa)
5037 ("pango" ,pango)
5038 ("udev" ,eudev)
a88d5a0c 5039 ("xinput" ,xinput)))
60c3627c 5040 (inputs
86c44e72
KK
5041 `(("elogind" ,elogind)
5042 ("gnome-desktop" ,gnome-desktop)
60c3627c 5043 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 5044 ("libgudev" ,libgudev)
60c3627c
SB
5045 ("libice" ,libice)
5046 ("libsm" ,libsm)
60c3627c 5047 ("libxkbfile" ,libxkbfile)
a88d5a0c 5048 ("libxrandr" ,libxrandr)
86c44e72 5049 ("libxtst" ,libxtst)
60c3627c
SB
5050 ("startup-notification" ,startup-notification)
5051 ("upower-glib" ,upower)
5052 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 5053 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
5054 ("zenity" ,zenity)))
5055 (synopsis "Window and compositing manager")
f032d0be 5056 (home-page "https://www.gnome.org")
60c3627c
SB
5057 (description
5058 "Mutter is a window and compositing manager that displays and manages your
5059desktop via OpenGL. Mutter combines a sophisticated display engine using the
5060Clutter toolkit with solid window-management logic inherited from the Metacity
5061window manager.")
86c44e72 5062 (license license:gpl2+)))
685cee87
SB
5063
5064(define-public gnome-online-accounts
5065 (package
5066 (name "gnome-online-accounts")
fc984c85 5067 (version "3.28.0")
685cee87
SB
5068 (source (origin
5069 (method url-fetch)
5070 (uri (string-append "mirror://gnome/sources/" name "/"
5071 (version-major+minor version) "/"
5072 name "-" version ".tar.xz"))
5073 (sha256
5074 (base32
fc984c85 5075 "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47"))))
14c297fd 5076 (outputs '("out" "lib"))
685cee87 5077 (build-system glib-or-gtk-build-system)
14c297fd
TS
5078 (arguments
5079 `(#:configure-flags
5080 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5081 #:phases
5082 (modify-phases %standard-phases
5083 (add-before 'configure 'patch-libgoa-output
5084 (lambda* (#:key outputs #:allow-other-keys)
5085 (let ((lib (assoc-ref outputs "lib")))
5086 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5087 (("@prefix@") lib)
5088 (("@exec_prefix@") lib)
5089 (("@libdir@") (string-append lib "/lib"))
5090 (("@includedir@") (string-append lib "/include"))
5091 (("@datadir@") (string-append lib "/share")))
5092 #t))))))
685cee87
SB
5093 (native-inputs
5094 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5095 ("gobject-introspection" ,gobject-introspection)
5096 ("intltool" ,intltool)
5097 ("pkg-config" ,pkg-config)
5098 ("xsltproc" ,libxslt)))
5099 (propagated-inputs
5100 `(("glib" ,glib) ; required by goa-1.0.pc
5101 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5102 (inputs
5103 `(("docbook-xsl" ,docbook-xsl)
5104 ("json-glib" ,json-glib)
5105 ("libsecret" ,libsecret)
5106 ("rest" ,rest)
685cee87
SB
5107 ("webkitgtk" ,webkitgtk)))
5108 (synopsis "Single sign-on framework for GNOME")
5109 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5110 (description
5111 "GNOME Online Accounts provides interfaces so that applications and
5112libraries in GNOME can access the user's online accounts. It has providers for
5113Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5114Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5115 (license license:lgpl2.0+)))
df217748
SB
5116
5117(define-public evolution-data-server
5118 (package
5119 (name "evolution-data-server")
bb10e7c8 5120 (version "3.28.3")
df217748
SB
5121 (source (origin
5122 (method url-fetch)
5123 (uri (string-append "mirror://gnome/sources/" name "/"
5124 (version-major+minor version) "/"
5125 name "-" version ".tar.xz"))
5126 (sha256
5127 (base32
bb10e7c8 5128 "11sq795115vrcgxl9svscm6wg8isjj784c3d84qzb6z47zq92zj3"))))
da43d1cb 5129 (outputs '("out" "libedataserverui"))
743aebd7 5130 (build-system cmake-build-system)
df217748 5131 (arguments
743aebd7 5132 '(;; XXX FIXME: 11/85 tests are failing.
df217748
SB
5133 #:tests? #f
5134 #:configure-flags
ac033c7b
MB
5135 (let* ((lib (string-append (assoc-ref %outputs "out")
5136 "/lib"))
5137 (runpaths (map (lambda (s) (string-append
5138 lib "/evolution-data-server/" s))
5139 '("addressbook-backends" "calendar-backends"
5140 "camel-providers" "credential-modules"
5141 "registry-modules"))))
5142 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5143 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5144 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5145 "-DENABLE_VALA_BINDINGS=ON"
5146 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
c97f2f70
MW
5147 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5148 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5149 ;; evolution-data-server has been updated to qualify ICU types
5150 ;; explicitly, as required by ICU 61 and later. See:
5151 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5152 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
ac033c7b
MB
5153 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5154 (string-append lib "/evolution-data-server;")
5155 (string-join runpaths ";"))
5156 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
5157 #:phases
5158 (modify-phases %standard-phases
743aebd7 5159 (add-after 'unpack 'patch-paths
df217748
SB
5160 (lambda _
5161 (substitute* "tests/test-server-utils/e-test-server-utils.c"
5162 (("/bin/rm") (which "rm")))
ac033c7b
MB
5163 #t))
5164 (add-before 'configure 'dont-override-rpath
5165 (lambda _
5166 (substitute* "CMakeLists.txt"
5167 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5168 ;; Remove it so the configure flag is respected.
5169 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
da43d1cb 5170 #t))
da43d1cb
TS
5171 (add-after 'install 'split
5172 (lambda* (#:key outputs #:allow-other-keys)
5173 (let ((out (assoc-ref outputs "out"))
5174 (libedsui (assoc-ref outputs "libedataserverui")))
5175 (for-each (lambda (file)
5176 (mkdir-p (dirname (string-append libedsui file)))
5177 (rename-file (string-append out file)
5178 (string-append libedsui file)))
5179 '("/lib/pkgconfig/libedataserverui-1.2.pc"
5180 "/lib/libedataserverui-1.2.so"
5181 "/lib/libedataserverui-1.2.so.2"
5182 "/lib/libedataserverui-1.2.so.2.0.0"
5183 "/lib/girepository-1.0/EDataServerUI-1.2.typelib"
5184 "/include/evolution-data-server/libedataserverui"
5185 "/share/gir-1.0/EDataServerUI-1.2.gir"
5186 "/share/vala/vapi/libedataserverui-1.2.vapi"
5187 "/share/vala/vapi/libedataserverui-1.2.deps"))
5188 (substitute* (string-append libedsui "/lib/pkgconfig/"
5189 "libedataserverui-1.2.pc")
5190 ((out) libedsui))
5191 #t))))))
df217748
SB
5192 (native-inputs
5193 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5194 ("gobject-introspection" ,gobject-introspection)
5195 ("gperf" ,gperf)
5196 ("intltool" ,intltool)
5197 ("pkg-config" ,pkg-config)
a73c1cf8 5198 ("vala" ,vala)
743aebd7 5199 ("python" ,python-wrapper)))
df217748
SB
5200 (propagated-inputs
5201 ;; These are all in the Requires field of .pc files.
5202 `(("gtk+" ,gtk+)
5203 ("libical" ,libical)
5204 ("libsecret" ,libsecret)
5205 ("libsoup" ,libsoup)
5206 ("nss" ,nss)
5207 ("sqlite" ,sqlite)))
5208 (inputs
5209 `(("bdb" ,bdb)
5210 ("gcr" ,gcr)
14c297fd 5211 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 5212 ("json-glib" ,json-glib)
743aebd7
MB
5213 ("libgweather" ,libgweather)
5214 ("mit-krb5" ,mit-krb5)
891199c6
MW
5215 ("openldap" ,openldap)
5216 ("webkitgtk" ,webkitgtk)))
df217748
SB
5217 (synopsis "Store address books and calendars")
5218 (home-page "https://wiki.gnome.org/Apps/Evolution")
5219 (description
5220 "This package provides a unified backend for programs that work with
5221contacts, tasks, and calendar information. It was originally developed for
5222Evolution (hence the name), but is now used by other packages as well.")
5223 (license license:lgpl2.0)))
bd7dfafa
SB
5224
5225(define-public caribou
5226 (package
5227 (name "caribou")
fe964bb5 5228 (version "0.4.21")
bd7dfafa
SB
5229 (source (origin
5230 (method url-fetch)
5231 (uri (string-append "mirror://gnome/sources/" name "/"
5232 (version-major+minor version) "/"
5233 name "-" version ".tar.xz"))
5234 (sha256
5235 (base32
fe964bb5 5236 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
5237 (build-system glib-or-gtk-build-system)
5238 (arguments
5239 '(#:phases
5240 (modify-phases %standard-phases
5241 (add-before
5242 'build 'pre-build
5243 (lambda* (#:key outputs #:allow-other-keys)
5244 (let ((out (assoc-ref outputs "out")))
5245 ;; Use absolute shared library path in Caribou-1.0.typelib.
5246 (substitute* "libcaribou/Makefile"
5247 (("--shared-library=libcaribou.so")
5248 (string-append "--shared-library="
5249 out "/lib/libcaribou.so")))
5250 #t)))
5251 (add-after 'install 'wrap-programs
5252 (lambda* (#:key outputs #:allow-other-keys)
5253 (let* ((out (assoc-ref outputs "out"))
5254 (python-path (getenv "PYTHONPATH"))
5255 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5256 (for-each
5257 (lambda (prog)
5258 (wrap-program prog
5259 `("PYTHONPATH" ":" prefix (,python-path))
5260 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5261 (list (string-append out "/bin/caribou-preferences")
5262 (string-append out "/libexec/antler-keyboard"))))
5263 #t)))))
5264 (native-inputs
5265 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5266 ("gobject-introspection" ,gobject-introspection)
5267 ("intltool" ,intltool)
5268 ("pkg-config" ,pkg-config)
5269 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5270 ("vala" ,vala)
5271 ("xsltproc" ,libxslt)))
5272 (propagated-inputs
5273 ;; caribou-1.0.pc refers to all these.
5274 `(("libgee" ,libgee)
5275 ("libxklavier" ,libxklavier)
5276 ("libxtst" ,libxtst)
5277 ("gtk+" ,gtk+)))
5278 (inputs
5279 `(("clutter" ,clutter)
5280 ("dconf" ,dconf)
5281 ("gtk+-2" ,gtk+-2)
5282 ("python-pygobject" ,python2-pygobject)))
5283 (synopsis "Text entry and UI navigation application")
5284 (home-page "https://wiki.gnome.org/Projects/Caribou")
5285 (description
5286 "Caribou is an input assistive technology intended for switch and pointer
5287users.")
5288 (license license:lgpl2.1)))
ba5dd105 5289
ba5dd105
SB
5290(define-public network-manager
5291 (package
5292 (name "network-manager")
45f80fce 5293 (version "1.10.10")
ba5dd105
SB
5294 (source (origin
5295 (method url-fetch)
5296 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5297 (version-major+minor version) "/"
5298 "NetworkManager-" version ".tar.xz"))
5299 (sha256
5300 (base32
45f80fce 5301 "1jn3g0f2x1irc88awqp8m3gnpdx1whqqqbdgkbgr4x55s702jki4"))
fd070f35
CM
5302 (snippet
5303 '(begin
5304 (use-modules (guix build utils))
5305 (substitute* "configure"
5306 ;; Replace libsystemd-login with libelogind.
5307 (("libsystemd-login") "libelogind"))
5308 (substitute* "src/devices/wwan/nm-modem-manager.c"
5309 (("systemd") "elogind"))
5310 (substitute* "src/nm-session-monitor.c"
5311 (("systemd") "elogind"))
5312 (substitute* "./src/nm-logging.c"
6cbee49d
MW
5313 (("systemd") "elogind"))
5314 #t))))
ba5dd105
SB
5315 (build-system gnu-build-system)
5316 (outputs '("out"
5317 "doc")) ; 8 MiB of gtk-doc HTML
5318 (arguments
5319 '(#:configure-flags
5320 (let ((out (assoc-ref %outputs "out"))
5321 (doc (assoc-ref %outputs "doc"))
5322 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5323 "/sbin/dhclient")))
59e80445 5324 (list "--with-systemd-logind=yes" ;In Guix System, this is provided by elogind.
fd070f35
CM
5325 "--with-consolekit=no"
5326 "--with-crypto=gnutls"
ba5dd105
SB
5327 "--disable-config-plugin-ibft"
5328 "--sysconfdir=/etc"
5329 "--localstatedir=/var"
5330 (string-append "--with-udev-dir="
5331 out "/lib/udev")
5332 (string-append "--with-dbus-sys-dir="
5333 out "/etc/dbus-1/system.d")
5334 (string-append "--with-html-dir="
5335 doc "/share/gtk-doc/html")
5336 (string-append "--with-dhclient=" dhclient)))
5337 #:phases
5338 (modify-phases %standard-phases
b4f59d87
AW
5339 (add-before 'configure 'pre-configure
5340 (lambda _
5341 ;; These tests try to test aspects of network-manager's
5342 ;; functionality within restricted containers, but they don't
5343 ;; cope with being already in the Guix build jail as that jail
5344 ;; lacks some features that they would like to proxy over (like
5345 ;; a /sys mount).
d04687dc
HG
5346 (substitute* '("Makefile.in")
5347 (("src/platform/tests/test-address-linux") " ")
5348 (("src/platform/tests/test-cleanup-linux") " ")
5349 (("src/platform/tests/test-link-linux") " ")
5350 (("src/platform/tests/test-route-linux") " ")
5351 (("src/devices/tests/test-arping") " ")
5352 (("src/devices/tests/test-lldp") " ")
5353 (("src/tests/test-route-manager-linux") " "))
b4f59d87 5354 #t))
45f80fce
RW
5355 (add-after 'unpack 'delete-failing-tests
5356 (lambda _
5357 ;; FIXME: These four tests fail for unknown reasons.
5358 ;; ERROR:libnm-core/tests/test-general.c:5842:
5359 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5360 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5361 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5362 ;; ERROR:libnm-core/tests/test-setting.c:907:
5363 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5364 ;; NetworkManager:ERROR:src/platform/tests/test-nmp-object.c:397:
5365 ;; test_cache_link: assertion failed: (nmp_object_is_visible (obj_new))
5366 (substitute* "Makefile.in"
5367 (("libnm-core/tests/test-general") " ")
5368 (("libnm-core/tests/test-keyfile") " ")
5369 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " ")
5370 (("src/platform/tests/test-nmp-object") " "))
5371 #t))
ba5dd105
SB
5372 (add-before 'check 'pre-check
5373 (lambda _
5374 ;; For the missing /etc/machine-id.
5375 (setenv "DBUS_FATAL_WARNINGS" "0")
5376 #t))
5377 (replace 'install
5378 (lambda _
45f80fce
RW
5379 (invoke "make"
5380 "sysconfdir=/tmp"
5381 "rundir=/tmp"
5382 "statedir=/tmp"
5383 "nmstatedir=/tmp/nm"
5384 "install")
5385 #t)))))
b93502d6
DC
5386 (propagated-inputs
5387 `(("glib" ,glib)))
ba5dd105
SB
5388 (native-inputs
5389 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5390 ("gobject-introspection" ,gobject-introspection)
d04687dc 5391 ("docbook-xsl" ,docbook-xsl)
ba5dd105 5392 ("intltool" ,intltool)
d04687dc
HG
5393 ("libxslt" ,libxslt)
5394 ("libxml2" ,libxml2)
ba5dd105
SB
5395 ("pkg-config" ,pkg-config)
5396 ;; For testing.
5397 ("python" ,python-wrapper)
5398 ("python-dbus" ,python-dbus)
5399 ("python-pygobject" ,python-pygobject)))
5400 (inputs
856ca567
KK
5401 `(("curl" ,curl)
5402 ("cyrus-sasl" ,cyrus-sasl)
5403 ("dbus-glib" ,dbus-glib)
ba5dd105 5404 ("dnsmasq" ,dnsmasq)
856ca567 5405 ("eudev" ,eudev)
ba5dd105
SB
5406 ("gnutls" ,gnutls)
5407 ("iptables" ,iptables)
5408 ("isc-dhcp" ,isc-dhcp)
d04687dc 5409 ("jansson" ,jansson)
ba5dd105
SB
5410 ("libgcrypt" ,libgcrypt)
5411 ("libgudev" ,libgudev)
5412 ("libndp" ,libndp)
5413 ("libnl" ,libnl)
5414 ("libsoup" ,libsoup)
142bdcbc 5415 ("modem-manager" ,modem-manager)
c27e02bf 5416 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
5417 ("polkit" ,polkit)
5418 ("ppp" ,ppp)
5419 ("readline" ,readline)
fd070f35
CM
5420 ("util-linux" ,util-linux)
5421 ("elogind" ,elogind)))
ba5dd105 5422 (synopsis "Network connection manager")
f032d0be 5423 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
5424 (description
5425 "NetworkManager is a system network service that manages your network
5426devices and connections, attempting to keep active network connectivity when
5427available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5428devices, and provides VPN integration with a variety of different VPN
5429services.")
29d2f451
LC
5430 (license license:gpl2+)
5431 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 5432
f2b96b3a
LC
5433(define-public network-manager-openvpn
5434 (package
5435 (name "network-manager-openvpn")
0310eb96 5436 (version "1.8.4")
f2b96b3a
LC
5437 (source (origin
5438 (method url-fetch)
5439 (uri (string-append
5440 "mirror://gnome/sources/NetworkManager-openvpn/"
5441 (version-major+minor version)
5442 "/NetworkManager-openvpn-" version ".tar.xz"))
5443 (sha256
5444 (base32
0310eb96 5445 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
f2b96b3a
LC
5446 (build-system gnu-build-system)
5447 (arguments
5448 '(#:configure-flags '("--enable-absolute-paths")))
5449 (native-inputs
5450 `(("pkg-config" ,pkg-config)
5451 ("intltool" ,intltool)))
5452 (inputs
5453 `(("gtk+" ,gtk+)
5454 ("openvpn" ,openvpn)
5455 ("network-manager" ,network-manager)
5456 ("network-manager-applet" ,network-manager-applet) ;for libnma
5457 ("libsecret" ,libsecret)))
5458 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5459 (synopsis "OpenVPN plug-in for NetworkManager")
5460 (description
5461 "This extension of NetworkManager allows it to take care of connections
5462to virtual private networks (VPNs) via OpenVPN.")
5463 (license license:gpl2+)
5464 (properties `((upstream-name . "NetworkManager-openvpn")))))
5465
e5e1df4d
DC
5466(define-public mobile-broadband-provider-info
5467 (package
5468 (name "mobile-broadband-provider-info")
310c89e3 5469 (version "20190116")
e5e1df4d
DC
5470 (source (origin
5471 (method url-fetch)
5472 (uri (string-append
5473 "mirror://gnome/sources/"
5474 "mobile-broadband-provider-info/" version "/"
5475 "mobile-broadband-provider-info-" version ".tar.xz"))
5476 (sha256
5477 (base32
310c89e3 5478 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
5479 (build-system gnu-build-system)
5480 (arguments
310c89e3 5481 `(#:tests? #f)) ; no tests
e5e1df4d
DC
5482 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5483 (synopsis "Database of broadband connection configuration")
5484 (description "Database of broadband connection configuration.")
5485 (license license:public-domain)))
5486
4d62a9d3
SB
5487(define-public network-manager-applet
5488 (package
5489 (name "network-manager-applet")
9f475e3c 5490 (version "1.8.14")
4d62a9d3
SB
5491 (source (origin
5492 (method url-fetch)
5493 (uri (string-append "mirror://gnome/sources/" name "/"
5494 (version-major+minor version) "/"
5495 name "-" version ".tar.xz"))
5496 (sha256
5497 (base32
9f475e3c 5498 "1js0i2kwfklahsn77qgxzdscy33drrlym3mrj1qhlw0zf8ri56ya"))))
4d62a9d3 5499 (build-system glib-or-gtk-build-system)
3e9c80b2
FP
5500 (arguments '(#:configure-flags '("--disable-migration")
5501 #:phases
5502 (modify-phases %standard-phases
5503 (add-after 'unpack 'patch-source
5504 (lambda* (#:key inputs #:allow-other-keys)
5505 (let ((mbpi (assoc-ref inputs
5506 "mobile-broadband-provider-info"))
5507 (iso-codes (assoc-ref inputs "iso-codes")))
5508 (substitute* "src/libnma/nma-mobile-providers.c"
5509 (("(g_build_filename \\()dirs\\[i\\].*,\
5510 (MOBILE_BROADBAND_PROVIDER_INFO.*)" all start end)
5511 (string-append start "\"" mbpi "/share\", " end)))
5512 (substitute* "src/libnma/nma-mobile-providers.c"
5513 (("(g_build_filename \\()dirs\\[i\\].*,\
5514 (ISO_3166_COUNTRY_CODES.*)" all start end)
5515 (string-append start "\"" iso-codes
5516 "/share\", " end)))
5517 #t))))))
4d62a9d3
SB
5518 (native-inputs
5519 `(("intltool" ,intltool)
5520 ("gobject-introspection" ,gobject-introspection)
5521 ("pkg-config" ,pkg-config)))
5522 (propagated-inputs
5523 ;; libnm-gtk.pc refers to all these.
5524 `(("dbus-glib" ,dbus-glib)
5525 ("gtk+" ,gtk+)
5526 ("network-manager" ,network-manager)))
5527 (inputs
5528 `(("iso-codes" ,iso-codes)
5529 ("libgudev" ,libgudev)
5530 ("libnotify" ,libnotify)
2116bfb3 5531 ("libsecret" ,libsecret)
240cee8a
KK
5532 ("libselinux" ,libselinux)
5533 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
5534 ("modem-manager" ,modem-manager)
5535 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 5536 (synopsis "Applet for managing network connections")
f032d0be 5537 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
5538 (description
5539 "This package contains a systray applet for NetworkManager. It displays
5540the available networks and allows users to easily switch between them.")
5541 (license license:gpl2+)))
56196594
RW
5542
5543(define-public libxml++
5544 (package
5545 (name "libxml++")
8344a85e 5546 (version "3.0.1")
56196594
RW
5547 (source (origin
5548 (method url-fetch)
5549 (uri (string-append "mirror://gnome/sources/" name "/"
5550 (version-major+minor version) "/"
5551 name "-" version ".tar.xz"))
5552 (sha256
5553 (base32
8344a85e 5554 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
5555 (build-system gnu-build-system)
5556 ;; libxml++-3.0.pc refers to all these.
5557 (propagated-inputs
5558 `(("libxml2" ,libxml2)
5559 ("glibmm" ,glibmm)))
5560 (native-inputs
5561 `(("perl" ,perl)
5562 ("pkg-config" ,pkg-config)))
5563 (home-page "http://libxmlplusplus.sourceforge.net/")
5564 (synopsis "C++ wrapper for XML parser library libxml2")
5565 (description
5566 "This package provides a C++ wrapper for the XML parser library
5567libxml2.")
5568 (license license:lgpl2.1+)))
df12f04a 5569
b61d9627
AW
5570(define-public libxml++-2
5571 (package
5572 (inherit libxml++)
5573 (name "libxml++")
5574 (version "2.40.1")
5575 (source (origin
5576 (method url-fetch)
5577 (uri (string-append "mirror://gnome/sources/" name "/"
5578 (version-major+minor version) "/"
5579 name "-" version ".tar.xz"))
5580 (sha256
5581 (base32
5582 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5583
df12f04a
SB
5584(define-public gdm
5585 (package
5586 (name "gdm")
0a76f2bd 5587 (version "3.28.2")
df12f04a
SB
5588 (source (origin
5589 (method url-fetch)
5590 (uri (string-append "mirror://gnome/sources/" name "/"
5591 (version-major+minor version) "/"
5592 name "-" version ".tar.xz"))
feccc810 5593 (patches (search-patches "gdm-CVE-2018-14424.patch"))
df12f04a
SB
5594 (sha256
5595 (base32
0a76f2bd 5596 "0wdm1503x66n1crdlmzmincbd2hccpxsdgjsl5anx3yjpdzs0hb0"))))
957dbc0a 5597 (build-system glib-or-gtk-build-system)
df12f04a
SB
5598 (arguments
5599 '(#:configure-flags
af37e6bb 5600 `("--without-plymouth"
957dbc0a 5601 "--disable-systemd-journal"
51bc8357
TS
5602
5603 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5604 ;; instead of having to replace it (i.e., stopping the mingetty
5605 ;; service for TTY 1 before starting GDM).
5606 "--with-initial-vt=7"
5607
89c86562
TS
5608 ;; Use '/etc/environment' for locale settings instead of the
5609 ;; systemd-specific '/etc/locale.conf'.
5610 "--with-lang-file=/etc/environment"
5611
af37e6bb
AW
5612 "--localstatedir=/var"
5613 ,(string-append "--with-default-path="
5614 (string-join '("/run/setuid-programs"
5615 "/run/current-system/profile/bin"
5616 "/run/current-system/profile/sbin")
957dbc0a
AW
5617 ":"))
5618 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5619 ;; XDG_DATA_DIRS so that it finds its schemas.
5620 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
5621 #:phases
5622 (modify-phases %standard-phases
5623 (add-before
5624 'configure 'pre-configure
e8c6e771 5625 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
5626 ;; We don't have <systemd/sd-daemon.h>.
5627 (substitute* '("common/gdm-log.c"
5628 "daemon/gdm-server.c"
5629 "daemon/gdm-session-worker.c"
5630 "daemon/gdm-session-worker-job.c")
5631 (("#include <systemd/sd-daemon\\.h>") ""))
5632 ;; Use elogind for sd-login.
5633 (substitute* '("common/gdm-common.c"
5634 "daemon/gdm-manager.c"
5635 "libgdm/gdm-user-switching.c")
5636 (("#include <systemd/sd-login\\.h>")
5637 "#include <elogind/sd-login.h>"))
957dbc0a
AW
5638 ;; Check for elogind.
5639 (substitute* '("configure")
5640 (("libsystemd")
5641 "libelogind"))
af37e6bb
AW
5642 ;; Look for system-installed sessions in
5643 ;; /run/current-system/profile/share.
5644 (substitute* '("libgdm/gdm-sessions.c"
5645 "daemon/gdm-session.c"
5646 "daemon/gdm-display.c"
5647 "daemon/gdm-launch-environment.c")
5648 (("DATADIR \"/x")
5649 "\"/run/current-system/profile/share/x")
5650 (("DATADIR \"/wayland")
5651 "\"/run/current-system/profile/share/wayland")
5652 (("DATADIR \"/gnome")
5653 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 5654 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 5655 "GDM_DBUS_DAEMON"
c9ff92b5 5656 "GDM_X_SERVER"
41fa9f18 5657 "GDM_X_SESSION"
c9ff92b5
TS
5658 ;; XXX: Remove this once GNOME Shell is
5659 ;; a dependency of GDM.
5660 "XDG_DATA_DIRS")))
5661 (substitute* "daemon/gdm-session.c"
5662 (("set_up_session_environment \\(self\\);")
5663 (apply string-append
5664 "set_up_session_environment (self);\n"
5665 (map (lambda (name)
5666 (string-append
5667 "gdm_session_set_environment_variable "
5668 "(self, \"" name "\","
5669 "g_getenv (\"" name "\"));\n"))
5670 propagate)))))
a430a350
TS
5671 ;; Find the configuration file using an environment variable.
5672 (substitute* '("common/gdm-settings.c")
e0e6756f 5673 (("GDM_CUSTOM_CONF")
e57c2adb
TS
5674 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5675 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5676 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
5677 ;; Use service-supplied path to X.
5678 (substitute* '("daemon/gdm-server.c")
5679 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5680 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5681 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
5682 (("\"dbus-daemon\"")
5683 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 5684 (("X_SERVER")
41fa9f18
TS
5685 "g_getenv (\"GDM_X_SERVER\")")
5686 (("GDMCONFDIR \"/Xsession\"")
5687 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
5688 ;; Use an absolute path for GNOME Session.
5689 (substitute* "daemon/gdm-launch-environment.c"
5690 (("\"gnome-session\"")
5691 (string-append "\"" (assoc-ref inputs "gnome-session")
5692 "/bin/gnome-session\"")))
e8c6e771
TS
5693 ;; Do not automatically select the placeholder session.
5694 (substitute* "daemon/gdm-session.c"
5695 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5696 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5697 "(g_strcmp0(search_dirs[i], \""
5698 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5699 "\") == 0 && "
5700 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5701 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5702 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 5703 #t))
8caa4589
TS
5704 ;; GDM requires that there be at least one desktop entry
5705 ;; file. This phase installs a hidden one that simply
5706 ;; fails. This enables users to use GDM with a
5707 ;; '~/.xsession' script with no other desktop entry files.
5708 ;; See <https://bugs.gnu.org/35068>.
5709 (add-after 'install 'install-placeholder-desktop-entry
5710 (lambda* (#:key inputs outputs #:allow-other-keys)
5711 (let* ((out (assoc-ref outputs "out"))
5712 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5713 (fail (string-append sessions "/fail.desktop")))
5714 (mkdir-p sessions)
5715 (with-output-to-file fail
5716 (lambda ()
5717 (for-each
5718 display
5719 '("[Desktop Entry]\n"
5720 "Encoding=UTF-8\n"
5721 "Type=Application\n"
5722 "Name=Fail\n"
5723 "Comment=This session fails immediately.\n"
5724 "NoDisplay=true\n"
5725 "Exec=false\n"))))
5726 #t)))
69544798
TS
5727 ;; GDM needs GNOME Session to run these applications. We link
5728 ;; their autostart files in `share/gdm/greeter/autostart'
5729 ;; because GDM explicitly tells GNOME Session to look there.
5730 ;;
5731 ;; XXX: GNOME Shell should be linked here too, but currently
5732 ;; GNOME Shell depends on GDM.
5733 (add-after 'install 'link-autostart-files
5734 (lambda* (#:key inputs outputs #:allow-other-keys)
5735 (let* ((out (assoc-ref outputs "out"))
5736 (autostart (string-append out "/share/gdm/"
5737 "greeter/autostart"))
5738 (settings (assoc-ref inputs "gnome-settings-daemon")))
5739 (mkdir-p autostart)
5740 (with-directory-excursion autostart
5741 (for-each (lambda (desktop)
5742 (symlink desktop (basename desktop)))
5743 (find-files (string-append settings "/etc/xdg"))))
5744 #t))))))
df12f04a
SB
5745 (native-inputs
5746 `(("dconf" ,dconf)
5747 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5748 ("gobject-introspection" ,gobject-introspection)
5749 ("intltool" ,intltool)
5750 ("itstool" ,itstool)
5751 ("pkg-config" ,pkg-config)
5752 ("xmllint" ,libxml2)))
5753 (inputs
5754 `(("accountsservice" ,accountsservice)
5755 ("check" ,check) ; for testing
5756 ("elogind" ,elogind)
def6d6b6 5757 ("gnome-session" ,gnome-session)
69544798 5758 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
5759 ("gtk+" ,gtk+)
5760 ("iso-codes" ,iso-codes)
5761 ("libcanberra" ,libcanberra)
5762 ("linux-pam" ,linux-pam)))
5763 (synopsis "Display manager for GNOME")
f032d0be 5764 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
5765 (description
5766 "GNOME Display Manager is a system service that is responsible for
5767providing graphical log-ins and managing local and remote displays.")
5768 (license license:gpl2+)))
8e1dd04f
SB
5769
5770(define-public libgtop
5771 (package
5772 (name "libgtop")
4f80158d 5773 (version "2.38.0")
8e1dd04f
SB
5774 (source (origin
5775 (method url-fetch)
5776 (uri (string-append "mirror://gnome/sources/" name "/"
5777 (version-major+minor version) "/"
5778 name "-" version ".tar.xz"))
5779 (sha256
5780 (base32
4f80158d 5781 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
8e1dd04f
SB
5782 (build-system gnu-build-system)
5783 (native-inputs
5784 `(("gobject-introspection" ,gobject-introspection)
5785 ("intltool" ,intltool)
5786 ("perl" ,perl)
5787 ("pkg-config" ,pkg-config)))
5788 (propagated-inputs
5789 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5790 (synopsis "Portable system access library")
5791 (home-page "https://www.gnome.org/")
5792 (description
5793 "LibGTop is a library to get system specific data such as CPU and memory
5794usage and information about running processes.")
5795 (license license:gpl2+)))
b96c4260
SB
5796
5797(define-public gnome-bluetooth
5798 (package
5799 (name "gnome-bluetooth")
fd3b1171 5800 (version "3.28.0")
b96c4260
SB
5801 (source (origin
5802 (method url-fetch)
5803 (uri (string-append "mirror://gnome/sources/" name "/"
5804 (version-major+minor version) "/"
5805 name "-" version ".tar.xz"))
5806 (sha256
5807 (base32
fd3b1171
RW
5808 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5809 (build-system meson-build-system)
b96c4260
SB
5810 (native-inputs
5811 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 5812 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
5813 ("gobject-introspection" ,gobject-introspection)
5814 ("intltool" ,intltool)
5815 ("pkg-config" ,pkg-config)
5816 ("xmllint" ,libxml2)))
5817 (propagated-inputs
5818 ;; gnome-bluetooth-1.0.pc refers to all these.
5819 `(("gtk+" ,gtk+)
5820 ("udev" ,eudev)))
5821 (inputs
5822 `(("libcanberra" ,libcanberra)
5823 ("libnotify" ,libnotify)))
5824 (synopsis "GNOME Bluetooth subsystem")
5825 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5826 (description
5827 "This package contains tools for managing and manipulating Bluetooth
5828devices using the GNOME desktop.")
5829 (license license:lgpl2.1+)))
b645146f
SB
5830
5831(define-public gnome-control-center
5832 (package
5833 (name "gnome-control-center")
59dac026 5834 (version "3.28.2")
b645146f
SB
5835 (source (origin
5836 (method url-fetch)
5837 (uri (string-append "mirror://gnome/sources/" name "/"
5838 (version-major+minor version) "/"
5839 name "-" version ".tar.xz"))
5840 (sha256
5841 (base32
59dac026
RW
5842 "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz"))))
5843 (build-system meson-build-system)
b645146f 5844 (arguments
59dac026
RW
5845 '(#:glib-or-gtk? #t
5846 #:configure-flags
5847 (list "-Dcheese=false")
5848 #:phases
b645146f
SB
5849 (modify-phases %standard-phases
5850 (add-before 'configure 'patch-paths
5851 (lambda* (#:key inputs #:allow-other-keys)
5852 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 5853 (tzdata (assoc-ref inputs "tzdata"))
341225ac
LC
5854 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
5855 (nm-applet (assoc-ref inputs "network-manager-applet")))
b645146f
SB
5856 (substitute* "panels/datetime/tz.h"
5857 (("/usr/share/zoneinfo/zone.tab")
5858 (string-append tzdata "/share/zoneinfo/zone.tab")))
5859 (substitute* "panels/datetime/test-endianess.c"
5860 (("/usr/share/locale")
5861 (string-append libc "/share/locale")))
1df38cfc
LC
5862 (substitute* "panels/region/cc-region-panel.c"
5863 (("\"gkbd-keyboard-display")
5864 (string-append "\"" libgnomekbd
5865 "/bin/gkbd-keyboard-display")))
341225ac
LC
5866 (substitute* '("panels/network/net-device-wifi.c"
5867 "panels/network/net-device.c"
5868 "panels/network/connection-editor/net-connection-editor.c")
5869 (("\"nm-connection-editor")
5870 (string-append "\"" nm-applet
5871 "/bin/nm-connection-editor")))
1acd107c
FP
5872 (substitute* '("panels/user-accounts/run-passwd.c")
5873 (("/usr/bin/passwd")
5874 "/run/setuid-programs/passwd"))
b645146f
SB
5875 #t))))))
5876 (native-inputs
5877 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 5878 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
5879 ("intltool" ,intltool)
5880 ("pkg-config" ,pkg-config)
5881 ("xsltproc" ,libxslt)))
5882 (inputs
5883 `(("accountsservice" ,accountsservice)
5884 ("clutter-gtk" ,clutter-gtk)
5885 ("colord-gtk" ,colord-gtk)
5886 ("cups" ,cups)
5887 ("dconf" ,dconf)
5888 ("docbook-xsl" ,docbook-xsl)
3446ffb5 5889 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
5890 ("gnome-bluetooth" ,gnome-bluetooth)
5891 ("gnome-desktop" ,gnome-desktop)
5892 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 5893 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
b645146f
SB
5894 ("gnome-settings-daemon" ,gnome-settings-daemon)
5895 ("grilo" ,grilo)
5896 ("ibus" ,ibus)
5897 ("libcanberra" ,libcanberra)
1df38cfc 5898 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
5899 ("libgudev" ,libgudev)
5900 ("libgtop" ,libgtop)
5901 ("libpwquality" ,libpwquality)
5902 ("libsoup" ,libsoup)
5903 ("libxml2" ,libxml2)
5904 ("libwacom" ,libwacom)
5905 ("mesa" ,mesa)
5906 ("mit-krb5" ,mit-krb5)
5907 ("modem-manager" ,modem-manager)
5908 ("network-manager-applet" ,network-manager-applet)
5909 ("polkit" ,polkit)
5910 ("pulseaudio" ,pulseaudio)
5911 ("smbclient" ,samba)
5912 ("tzdata" ,tzdata)
5913 ("upower" ,upower)))
5914 (synopsis "Utilities to configure the GNOME desktop")
5915 (home-page "https://www.gnome.org/")
5916 (description
5917 "This package contains configuration applets for the GNOME desktop,
5918allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5919properties, sound setup, desktop theme and background, user interface
5920properties, screen resolution, and other GNOME parameters.")
5921 (license license:gpl2+)))
a4df5756
SB
5922
5923(define-public gnome-shell
5924 (package
5925 (name "gnome-shell")
2b0c755d 5926 (version "3.28.2")
a4df5756
SB
5927 (source (origin
5928 (method url-fetch)
5929 (uri (string-append "mirror://gnome/sources/" name "/"
5930 (version-major+minor version) "/"
5931 name "-" version ".tar.xz"))
5932 (sha256
5933 (base32
2b0c755d 5934 "1b9n89ij2g5nqaqp7a13jnqcd8qa2v9p55rbi71al3xvqk091ri7"))
a76d0f03
LC
5935 (patches (search-patches "gnome-shell-theme.patch"))
5936 (modules '((guix build utils)))
5937 (snippet
5938 #~(begin
a76d0f03
LC
5939 ;; Copy images for use on the GDM log-in screen.
5940 (copy-file #$(file-append %artwork-repository
5941 "/slim/0.x/background.png")
5942 "data/theme/guix-background.png")
45fef894
LC
5943 (copy-file #$(file-append %artwork-repository
5944 "/logo/Guix-horizontal-white.svg")
5945 "data/theme/guix-logo.svg")
a76d0f03 5946 #t))))
2b0c755d 5947 (build-system meson-build-system)
a4df5756 5948 (arguments
08185081
MB
5949 `(#:glib-or-gtk? #t
5950 #:disallowed-references ((,glib "bin")
11e1df56
LC
5951 ,inkscape ,libxslt
5952 ,ruby-sass)
2b0c755d
RW
5953 #:configure-flags
5954 (list "-Dsystemd=false"
5955 ;; Otherwise, the RUNPATH will lack the final path component.
5956 (string-append "-Dc_link_args=-Wl,-rpath="
5957 (assoc-ref %outputs "out")
5958 "/lib/gnome-shell"))
11e1df56 5959
08185081 5960 #:modules ((guix build meson-build-system)
11e1df56
LC
5961 (guix build utils)
5962 (srfi srfi-1))
5963
2b0c755d 5964 #:phases
a4df5756 5965 (modify-phases %standard-phases
2b0c755d 5966 (add-after 'unpack 'fix-keysdir
a4df5756
SB
5967 (lambda* (#:key outputs #:allow-other-keys)
5968 (let* ((out (assoc-ref outputs "out"))
5969 (keysdir (string-append
5970 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
5971 (substitute* "meson.build"
5972 (("keysdir =.*")
5973 (string-append "keysdir = '" keysdir "'\n")))
5974 #t)))
ebfe259f
MB
5975 (add-before 'configure 'convert-logo-to-png
5976 (lambda* (#:key inputs #:allow-other-keys)
5977 ;; Convert the logo from SVG to PNG.
5978 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
5979 "data/theme/guix-logo.svg")))
ba00235a 5980 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
5981 (lambda* (#:key inputs #:allow-other-keys)
5982 (substitute* "js/misc/ibusManager.js"
5983 (("'ibus-daemon'")
5984 (string-append "'" (assoc-ref inputs "ibus")
5985 "/bin/ibus-daemon'")))
d6fda4d3
LC
5986 (substitute* "js/ui/status/keyboard.js"
5987 (("'gkbd-keyboard-display'")
5988 (string-append "'" (assoc-ref inputs "libgnomekbd")
5989 "/bin/gkbd-keyboard-display'")))
2472cdec 5990 #t))
2b0c755d
RW
5991 (add-before 'check 'pre-check
5992 (lambda* (#:key inputs #:allow-other-keys)
5993 ;; Tests require a running X server.
5994 (system "Xvfb :1 &")
5995 (setenv "DISPLAY" ":1")
5996 #t))
5997 (add-after 'install 'wrap-programs
5998 (lambda* (#:key inputs outputs #:allow-other-keys)
5999 (let ((out (assoc-ref outputs "out"))
6000 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6001 (python-path (getenv "PYTHONPATH")))
6002 (wrap-program (string-append out "/bin/gnome-shell")
6003 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6004 ;; FIXME: gnome-shell loads these libraries with unqualified
6005 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6006 ;; alternative might be to patch gnome-shell.
6007 `("LD_LIBRARY_PATH" ":" prefix
6008 ,(map (lambda (pkg)
6009 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
6010 '("gdk-pixbuf"
6011 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
6012 (for-each
6013 (lambda (prog)
6014 (wrap-program (string-append out "/bin/" prog)
6015 `("PYTHONPATH" ":" prefix (,python-path))
6016 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6017 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 6018 #t)))
11e1df56
LC
6019 (replace 'glib-or-gtk-wrap
6020 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6021 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6022 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6023 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6024 ;; phase. Fix that since we don't need these.
6025 (wrap #:inputs (fold alist-delete inputs
6026 '("inkscape" "intltool" "glib:bin"))
6027 #:outputs outputs)))))))
a4df5756
SB
6028 (native-inputs
6029 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 6030 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 6031 ("gobject-introspection" ,gobject-introspection)
ebfe259f 6032 ("inkscape" ,inkscape)
a4df5756
SB
6033 ("intltool" ,intltool)
6034 ("pkg-config" ,pkg-config)
6035 ("python" ,python)
2b0c755d
RW
6036 ("ruby-sass" ,ruby-sass)
6037 ("sassc" ,sassc)
a76d0f03 6038 ("xsltproc" ,libxslt)
2b0c755d 6039 ;; For tests
0b4504f6 6040 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
6041 (inputs
6042 `(("accountsservice" ,accountsservice)
6043 ("caribou" ,caribou)
6044 ("docbook-xsl" ,docbook-xsl)
6045 ("evolution-data-server" ,evolution-data-server)
6046 ("gcr" ,gcr)
6047 ("gdm" ,gdm)
c5db31d4 6048 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
6049 ("gjs" ,gjs)
6050 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
6051 ("gnome-desktop" ,gnome-desktop)
6052 ("gnome-settings-daemon" ,gnome-settings-daemon)
6053 ("gst-plugins-base" ,gst-plugins-base)
6054 ("ibus" ,ibus)
6055 ("libcanberra" ,libcanberra)
6056 ("libcroco" ,libcroco)
d6fda4d3 6057 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
6058 ("libgweather" ,libgweather)
6059 ("libsoup" ,libsoup)
6060 ("mesa-headers" ,mesa-headers)
6061 ("mutter" ,mutter)
6062 ("network-manager-applet" ,network-manager-applet)
6063 ("polkit" ,polkit)
6064 ("pulseaudio" ,pulseaudio)
6065 ("python-pygobject" ,python-pygobject)
6066 ("startup-notification" ,startup-notification)
6067 ("telepathy-logger" ,telepathy-logger)
6068 ("upower" ,upower)
30e760f0
MB
6069 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6070 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6071 ("librsvg" ,librsvg)
2b0c755d 6072 ("geoclue" ,geoclue)))
a4df5756
SB
6073 (synopsis "Desktop shell for GNOME")
6074 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6075 (description
6076 "GNOME Shell provides core user interface functions for the GNOME desktop,
6077like switching to windows and launching applications.")
6078 (license license:gpl2+)))
c3f29bc9
RS
6079
6080(define-public gtk-vnc
6081 (package
6082 (name "gtk-vnc")
965ff023 6083 (version "0.9.0")
c3f29bc9
RS
6084 (source
6085 (origin
6086 (method url-fetch)
6087 (uri (string-append "mirror://gnome/sources/" name "/"
6088 (version-major+minor version) "/"
6089 name "-" version ".tar.xz"))
6090 (sha256
6091 (base32
965ff023 6092 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
6093 (build-system gnu-build-system)
6094 (arguments
6095 '(#:configure-flags '("--with-gtk=3.0")))
6096 (propagated-inputs
6097 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6098 (inputs
6099 `(("cyrus-sasl" ,cyrus-sasl)
6100 ("gnutls" ,gnutls)
6101 ("libgcrypt" ,libgcrypt)
6102 ("pulseaudio" ,pulseaudio)))
6103 (native-inputs
6104 `(("glib:bin" ,glib "bin")
6105 ("gobject-introspection" ,gobject-introspection)
6106 ("intltool" ,intltool)
6107 ("pkg-config" ,pkg-config)
2f17e939 6108 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
6109 ("vala" ,vala)))
6110 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6111 (synopsis "VNC viewer widget for GTK+")
6112 (description
6113 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6114applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6115GTK-VNC implements client side RFB protocol and authentication extensions such
6116as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6117 (license license:lgpl2.1+)))
8b877545 6118
dc69fe18
MW
6119(define-public gnome-autoar
6120 (package
6121 (name "gnome-autoar")
c7da8510 6122 (version "0.2.3")
dc69fe18
MW
6123 (source (origin
6124 (method url-fetch)
6125 (uri (string-append "mirror://gnome/sources/" name "/"
6126 (version-major+minor version) "/"
6127 name "-" version ".tar.xz"))
6128 (sha256
6129 (base32
c7da8510 6130 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
6131 (build-system glib-or-gtk-build-system)
6132 (native-inputs
6133 `(("gnome-common" ,gnome-common)
6134 ("gobject-introspection" ,gobject-introspection)
6135 ("pkg-config" ,pkg-config)))
6136 (propagated-inputs
6137 `(("libarchive" ,libarchive))) ; XXX document why
6138 (inputs
6139 `(("gtk+" ,gtk+)
6140 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
6141 (synopsis "Archives integration support for GNOME")
6142 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6143 (description
6144 "GNOME Autoar is a library which makes creating and extracting archives
6145easy, safe, and automatic.")
6146 (license license:lgpl2.1+)))
6147
b64e217f
MW
6148(define-public tracker
6149 (package
6150 (name "tracker")
c8bdf589 6151 (version "2.0.4")
b64e217f
MW
6152 (source (origin
6153 (method url-fetch)
6154 (uri (string-append "mirror://gnome/sources/" name "/"
6155 (version-major+minor version) "/"
6156 name "-" version ".tar.xz"))
6157 (sha256
6158 (base32
c8bdf589 6159 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
b64e217f 6160 (build-system glib-or-gtk-build-system)
c8bdf589
RW
6161 (arguments
6162 `(#:phases
6163 (modify-phases %standard-phases
6164 (add-after 'unpack 'disable-broken-tests
6165 (lambda _
6166 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6167 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6168 (substitute* "tests/libtracker-miner/Makefile.in"
6169 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6170 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6171 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6172 (substitute* "tests/libtracker-fts/Makefile.in"
6173 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6174 (substitute* "tests/libtracker-data/Makefile.in"
6175 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6176 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6177 (("tracker-backup\\$\\(EXEEXT\\)") "")
6178 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6179 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6180 ;; These fail because the SPARQL backend could not be loaded.
6181 ;; That's because /etc/machine-id is missing, but
6182 ;; DBUS_FATAL_WARNINGS does not help here.
6183 (substitute* "tests/libtracker-sparql/Makefile.in"
6184 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6185 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6186 (substitute* "tests/tracker-steroids/Makefile.in"
6187 (("tracker-test\\$\\(EXEEXT\\)") ""))
6188 #t))
6189 ;; Two tests fail if LANG is not set.
6190 (add-before 'check 'pre-check
6191 (lambda _
6192 (setenv "LANG" "en_US.UTF-8")
6193 ;; For the missing /etc/machine-id.
6194 (setenv "DBUS_FATAL_WARNINGS" "0")
6195 #t)))))
b64e217f
MW
6196 (native-inputs
6197 `(("gnome-common" ,gnome-common)
6198 ("gobject-introspection" ,gobject-introspection)
6199 ("intltool" ,intltool)
6200 ("pkg-config" ,pkg-config)
6201 ("vala" ,vala)))
6202 (inputs
6203 `(("gtk+" ,gtk+)
6204 ("dbus" ,dbus)
6205 ("gstreamer" ,gstreamer)
6206 ("gst-plugins-base" ,gst-plugins-base)
44ed6284 6207 ("sqlite" ,sqlite)
b64e217f 6208 ("nettle" ,nettle) ; XXX why is this needed?
c8bdf589 6209 ("python" ,python)
b64e217f
MW
6210 ("poppler" ,poppler)
6211 ("libgsf" ,libgsf)
6212 ("libexif" ,libexif)
6213 ("libpng" ,libpng)
6214 ("libtiff" ,libtiff)
6215 ("libvorbis" ,libvorbis)
6216 ("flac" ,flac)
6217 ("totem-pl-parser" ,totem-pl-parser)
6218 ("zlib" ,zlib)
6219 ("exempi" ,exempi)
6220 ("libxml2" ,libxml2)
6221 ("upower" ,upower)
b64e217f
MW
6222 ("libunistring" ,libunistring)
6223 ("giflib" ,giflib)
0ef48cd9 6224 ("json-glib" ,json-glib)
b64e217f
MW
6225 ("openjpeg" ,openjpeg-1)
6226 ("libosinfo" ,libosinfo)
6227 ("libcue" ,libcue)
6228 ("libseccomp" ,libseccomp)
0ef48cd9 6229 ("libsoup" ,libsoup)
b64e217f 6230 ("libuuid" ,util-linux)))
b64e217f
MW
6231 (synopsis "Metadata database, indexer and search tool")
6232 (home-page "https://wiki.gnome.org/Projects/Tracker")
6233 (description
6234 "Tracker is an advanced framework for first class objects with associated
6235metadata and tags. It provides a one stop solution for all metadata, tags,
6236shared object databases, search tools and indexing.")
6237 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6238 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6239 (license (list license:gpl2+
6240 license:lgpl2.1+
6241 license:lgpl2.0+))))
6242
8b877545
RS
6243(define-public nautilus
6244 (package
6245 (name "nautilus")
caf6c363 6246 (version "3.28.1")
8b877545
RS
6247 (source (origin
6248 (method url-fetch)
6249 (uri (string-append "mirror://gnome/sources/" name "/"
6250 (version-major+minor version) "/"
6251 name "-" version ".tar.xz"))
6252 (sha256
6253 (base32
caf6c363 6254 "19dhpa2ylrg8d5274lahy7xqr2p9z3jnq1h4qmsh95czkpy7is4w"))))
35e2d0cf 6255 (build-system meson-build-system)
8b877545 6256 (arguments
35e2d0cf 6257 '(#:glib-or-gtk? #t
8b877545
RS
6258 ;; XXX: FAIL: check-nautilus
6259 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6260 #:tests? #f))
6261 (native-inputs
35e2d0cf
R
6262 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6263 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6264 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
6265 ("gobject-introspection" ,gobject-introspection)
6266 ("intltool" ,intltool)
6267 ("pkg-config" ,pkg-config)))
8b877545 6268 (inputs
8b877545 6269 `(("dconf" ,dconf)
caf6c363 6270 ("gexiv2" ,gexiv2)
dd05e731 6271 ("gvfs" ,gvfs)
8b877545
RS
6272 ("exempi" ,exempi)
6273 ("gnome-desktop" ,gnome-desktop)
09d88905 6274 ("gnome-autoar" ,gnome-autoar)
35e2d0cf
R
6275 ("libselinux" ,libselinux)
6276 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
09d88905 6277 ("tracker" ,tracker)
ce6027bf
SB
6278 ;; XXX: gtk+ is required by libnautilus-extension.pc
6279 ;;
6280 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6281 ;; package. See:
6282 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6283 ("gtk+" ,gtk+)
8b877545
RS
6284 ("libexif" ,libexif)
6285 ("libxml2" ,libxml2)))
6286 (synopsis "File manager for GNOME")
6287 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6288 (description
6289 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6290design and behaviour, giving the user a simple way to navigate and manage its
6291files.")
6292 (license license:gpl2+)))
3c697ffd
JR
6293
6294(define-public baobab
6295 (package
6296 (name "baobab")
d233d373 6297 (version "3.28.0")
3c697ffd
JR
6298 (source (origin
6299 (method url-fetch)
6300 (uri (string-append
6301 "mirror://gnome/sources/" name "/"
6302 (version-major+minor version) "/"
6303 name "-" version ".tar.xz"))
6304 (sha256
6305 (base32
d233d373
RJ
6306 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
6307 (build-system meson-build-system)
6308 (arguments
6309 '(#:glib-or-gtk? #t))
3c697ffd
JR
6310 (native-inputs
6311 `(("intltool" ,intltool)
6312 ("pkg-config" ,pkg-config)
d233d373
RJ
6313 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6314 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
6315 ("itstool" ,itstool)
6316 ("xmllint" ,libxml2)
6317 ("glib" ,glib "bin")
6318 ("vala" ,vala)))
6319 (inputs
6320 `(("gtk+" ,gtk+)))
6321 (synopsis "Disk usage analyzer for GNOME")
6322 (description
6323 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6324usage in the GNOME desktop environment. It can easily scan device volumes or
6325a specific user-requested directory branch (local or remote). Once the scan
6326is complete it provides a graphical representation of each selected folder.")
6327 (home-page "https://wiki.gnome.org/Apps/Baobab")
6328 (license license:gpl2+)))
dc050251 6329
fdba447c
RS
6330(define-public gnome-backgrounds
6331 (package
6332 (name "gnome-backgrounds")
9ca381f0 6333 (version "3.28.0")
fdba447c
RS
6334 (source
6335 (origin
6336 (method url-fetch)
6337 (uri (string-append "mirror://gnome/sources/" name "/"
6338 (version-major+minor version) "/"
6339 name "-" version ".tar.xz"))
6340 (sha256
6341 (base32
9ca381f0
RW
6342 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6343 (build-system meson-build-system)
fdba447c
RS
6344 (native-inputs
6345 `(("intltool" ,intltool)))
6346 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6347 (synopsis "Background images for the GNOME desktop")
6348 (description
6349 "GNOME backgrounds package contains a collection of graphics files which
6350can be used as backgrounds in the GNOME Desktop environment. Additionally,
6351the package creates the proper framework and directory structure so that you
6352can add your own files to the collection.")
6353 (license (list license:gpl2+
6354 license:cc-by2.0
6355 license:cc-by-sa2.0
6356 license:cc-by-sa3.0))))
6357
b784b1a9
RS
6358(define-public gnome-screenshot
6359 (package
6360 (name "gnome-screenshot")
8356aefa 6361 (version "3.26.0")
b784b1a9
RS
6362 (source
6363 (origin
6364 (method url-fetch)
6365 (uri (string-append "mirror://gnome/sources/" name "/"
6366 (version-major+minor version) "/"
6367 name "-" version ".tar.xz"))
6368 (sha256
6369 (base32
8356aefa
RW
6370 "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v"))))
6371 (build-system meson-build-system)
b784b1a9
RS
6372 (native-inputs
6373 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
6374 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6375 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 6376 ("intltool" ,intltool)
8356aefa 6377 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
6378 ("pkg-config" ,pkg-config)))
6379 (inputs
6380 `(("gtk+" ,gtk+)
6381 ("libcanberra" ,libcanberra)
6382 ("libx11" ,libx11)
6383 ("libxext" ,libxext)))
6384 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6385 (synopsis "Take pictures of your screen")
6386 (description
6387 "GNOME Screenshot is a utility used for taking screenshots of the entire
6388screen, a window or a user defined area of the screen, with optional
6389beautifying border effects.")
6390 (license license:gpl2+)))
6391
66d59111
RS
6392(define-public dconf-editor
6393 (package
6394 (name "dconf-editor")
294ff39d 6395 (version "3.28.0")
66d59111
RS
6396 (source
6397 (origin
6398 (method url-fetch)
6399 (uri (string-append "mirror://gnome/sources/" name "/"
6400 (version-major+minor version) "/"
6401 name "-" version ".tar.xz"))
6402 (sha256
6403 (base32
294ff39d
RW
6404 "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5"))))
6405 (build-system meson-build-system)
66d59111
RS
6406 (native-inputs
6407 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 6408 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 6409 ("intltool" ,intltool)
294ff39d
RW
6410 ("pkg-config" ,pkg-config)
6411 ("vala" ,vala)))
66d59111
RS
6412 (inputs
6413 `(("dconf" ,dconf)
6414 ("gtk+" ,gtk+)
6415 ("libxml2" ,libxml2)))
6416 (home-page "https://git.gnome.org/browse/dconf-editor")
6417 (synopsis "Graphical editor for GNOME's dconf configuration system")
6418 (description
6419 "Dconf-editor is a graphical tool for browsing and editing the dconf
6420configuration system for GNOME. It allows users to configure desktop
6421software that do not provide their own configuration interface.")
6422 (license license:lgpl2.1+)))
6423
96d36f38
AW
6424(define-public gnome-default-applications
6425 (package
6426 (name "gnome-default-applications")
6427 (version "0")
6428 (build-system trivial-build-system)
6429 (source #f)
6430 (propagated-inputs
8ad4f0aa
LC
6431 `(("nautilus" ,nautilus)
6432 ("evince" ,evince)))
96d36f38
AW
6433 (arguments
6434 `(#:modules ((guix build utils))
6435 #:builder
6436 (begin
6437 (use-modules (guix build utils))
6438 (let* ((out (assoc-ref %outputs "out"))
6439 (apps (string-append out "/share/applications")))
6440 (mkdir-p apps)
6441 (call-with-output-file (string-append apps "/defaults.list")
6442 (lambda (port)
6443 (format port "[Default Applications]\n")
8ad4f0aa
LC
6444 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6445 (format port "application/pdf=evince.desktop\n")
6446 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
6447 #t))))
6448 (synopsis "Default MIME type associations for the GNOME desktop")
6449 (description
6450 "Given many installed packages which might handle a given MIME type, a
6451user running the GNOME desktop probably has some preferences: for example,
6452that folders be opened by default by the Nautilus file manager, not the Baobab
6453disk usage analyzer. This package establishes that set of default MIME type
6454associations for GNOME.")
6455 (license license:gpl3+)
6456 (home-page #f)))
6457
dc050251
SB
6458(define-public gnome
6459 (package
6460 (name "gnome")
6461 (version (package-version gnome-shell))
6462 (source #f)
6463 (build-system trivial-build-system)
e3cfef22 6464 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251
SB
6465 (propagated-inputs
6466 ;; TODO: Add more packages according to:
6467 ;; <https://packages.debian.org/jessie/gnome-core>.
6468 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 6469 ("baobab" ,baobab)
0bd3597b 6470 ("font-cantarell" ,font-cantarell)
a9dbefdc 6471 ("font-dejavu" ,font-dejavu)
dc050251
SB
6472 ("at-spi2-core" ,at-spi2-core)
6473 ("dbus" ,dbus)
6474 ("dconf" ,dconf)
72360453 6475 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
6476 ("eog" ,eog)
6477 ("epiphany" ,epiphany)
6478 ("evince" ,evince)
71d9b980 6479 ("file-roller" ,file-roller)
dc050251
SB
6480 ("gedit" ,gedit)
6481 ("glib-networking" ,glib-networking)
05f651c4 6482 ("gnome-backgrounds" ,gnome-backgrounds)
63ad9b80
AW
6483 ("gnome-bluetooth" ,gnome-bluetooth)
6484 ("gnome-calculator" ,gnome-calculator)
dc050251 6485 ("gnome-control-center" ,gnome-control-center)
63ad9b80 6486 ("gnome-disk-utility" ,gnome-disk-utility)
96d36f38 6487 ("gnome-default-applications" ,gnome-default-applications)
dc050251 6488 ("gnome-keyring" ,gnome-keyring)
63ad9b80 6489 ("gnome-online-accounts" ,gnome-online-accounts)
dc050251
SB
6490 ("gnome-session" ,gnome-session)
6491 ("gnome-settings-daemon" ,gnome-settings-daemon)
6492 ("gnome-shell" ,gnome-shell)
63ad9b80 6493 ("gnome-system-monitor" ,gnome-system-monitor)
dc050251
SB
6494 ("gnome-terminal" ,gnome-terminal)
6495 ("gnome-themes-standard" ,gnome-themes-standard)
2999dcd5
AW
6496 ("gst-plugins-base" ,gst-plugins-base)
6497 ("gst-plugins-good" ,gst-plugins-good)
63ad9b80 6498 ("gucharmap" ,gucharmap)
05f651c4 6499 ("gvfs" ,gvfs)
dc050251
SB
6500 ("hicolor-icon-theme" ,hicolor-icon-theme)
6501 ("nautilus" ,nautilus)
69308043 6502 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
6503 ("pulseaudio" ,pulseaudio)
6504 ("shared-mime-info" ,shared-mime-info)
f6f4370f 6505 ("system-config-printer" ,system-config-printer)
dc050251 6506 ("totem" ,totem)
c20cd0d2 6507 ("xdg-user-dirs" ,xdg-user-dirs)
dc050251
SB
6508 ("yelp" ,yelp)
6509 ("zenity" ,zenity)))
fe4e698d 6510 (synopsis "The GNU desktop environment")
dc050251
SB
6511 (home-page "https://www.gnome.org/")
6512 (description
fe4e698d
LC
6513 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6514applications for browsing the web, editing text and images, creating
6515documents and diagrams, playing media, scanning, and much more.")
dc050251 6516 (license license:gpl2+)))
4a526711
DT
6517
6518(define-public byzanz
6519 ;; The last stable release of Byzanz was in 2011, but there have been many
6520 ;; useful commits made to the Byzanz repository since then that it would be
6521 ;; silly to use such an old release.
6522 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6523 (package
6524 (name "byzanz")
6525 (version (string-append "0.2-1." (string-take commit 7)))
6526 (source (origin
6527 (method git-fetch)
6528 (uri (git-reference
5f13bf09 6529 (url "https://git.gnome.org/browse/byzanz")
4a526711 6530 (commit commit)))
5a6527e4 6531 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
6532 (sha256
6533 (base32
6534 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6535 (build-system glib-or-gtk-build-system)
6536 (arguments
6537 '(#:phases
6538 (modify-phases %standard-phases
189be331 6539 (replace 'bootstrap
4a526711
DT
6540 (lambda _
6541 ;; The build system cleverly detects that we're not building from
6542 ;; a release tarball and turns on -Werror for GCC.
6543 ;; Unsurprisingly, there is a warning during compilation that
6544 ;; causes the build to fail unnecessarily, so we remove the flag.
6545 (substitute* '("configure.ac")
6546 (("-Werror") ""))
6547 ;; The autogen.sh script in gnome-common will run ./configure
6548 ;; by default, which is problematic because source shebangs
6549 ;; have not yet been patched.
6550 (setenv "NOCONFIGURE" "t")
6551 (zero? (system* "sh" "autogen.sh")))))))
6552 (native-inputs
6553 `(("autoconf" ,autoconf)
6554 ("automake" ,automake)
6555 ("gnome-common" ,gnome-common)
6556 ("intltool" ,intltool)
6557 ("libtool" ,libtool)
6558 ("pkg-config" ,pkg-config)
6559 ("which" ,which)))
6560 (inputs
6561 `(("glib" ,glib)
6562 ("gstreamer" ,gstreamer)
6563 ("gst-plugins-base" ,gst-plugins-base)
6564 ("gtk+" ,gtk+)))
6565 (synopsis "Desktop recording program")
6566 (description "Byzanz is a simple desktop recording program with a
6567command-line interface. It can record part or all of an X display for a
6568specified duration and save it as a GIF encoded animated image file.")
6569 (home-page "https://git.gnome.org/browse/byzanz")
6570 (license license:gpl2+))))
3a9a4c51 6571
0ec171ec
MS
6572(define-public gsound
6573 (package
6574 (name "gsound")
6575 (version "1.0.2")
6576 (source (origin
6577 (method url-fetch)
6578 (uri (string-append "mirror://gnome/sources/" name "/"
6579 (version-major+minor version) "/"
6580 name "-" version ".tar.xz"))
6581 (sha256
6582 (base32
6583 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6584 (build-system glib-or-gtk-build-system)
6585 (native-inputs
6586 `(("pkg-config" ,pkg-config)
6587 ("gobject-introspection" ,gobject-introspection)
6588 ("vala" ,vala)))
6589 (inputs
6590 `(("glib" ,glib)
6591 ("libcanberra" ,libcanberra)))
6592 (home-page "https://wiki.gnome.org/Projects/GSound")
6593 (synopsis "GObject wrapper for libcanberra")
6594 (description
6595 "GSound is a small library for playing system sounds. It's designed to be
6596used via GObject Introspection, and is a thin wrapper around the libcanberra C
6597library.")
6598 (license license:lgpl2.1+)))
6599
3a9a4c51
RS
6600(define-public libzapojit
6601 (package
6602 (name "libzapojit")
6603 (version "0.0.3")
6604 (source (origin
6605 (method url-fetch)
6606 (uri (string-append "mirror://gnome/sources/" name "/"
6607 (version-major+minor version) "/"
6608 name "-" version ".tar.xz"))
6609 (sha256
6610 (base32
6611 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6612 (build-system gnu-build-system)
6613 (native-inputs
6614 `(("gobject-introspection" ,gobject-introspection)
6615 ("intltool" ,intltool)
6616 ("pkg-config" ,pkg-config)))
6617 (inputs
14c297fd 6618 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
6619 ("json-glib" ,json-glib)
6620 ("rest" ,rest)))
6621 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6622 (synopsis "Library for accessing SkyDrive and Hotmail")
6623 (description
6624 "Libzapojit is a GLib-based library for accessing online service APIs of
6625Microsoft SkyDrive and Hotmail, using their REST protocols.")
6626 (license license:lgpl2.1+)))
9365ee1c 6627
60e2a9ae
MS
6628(define-public gnome-clocks
6629 (package
6630 (name "gnome-clocks")
80d1e4c0 6631 (version "3.28.0")
60e2a9ae
MS
6632 (source (origin
6633 (method url-fetch)
6634 (uri (string-append "mirror://gnome/sources/" name "/"
6635 (version-major+minor version) "/"
6636 name "-" version ".tar.xz"))
6637 (sha256
6638 (base32
80d1e4c0 6639 "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl"))))
60e2a9ae
MS
6640 (build-system meson-build-system)
6641 (arguments
6642 '(#:glib-or-gtk? #t))
6643 (native-inputs
6644 `(("vala" ,vala)
6645 ("pkg-config" ,pkg-config)
6646 ("glib" ,glib "bin") ; for glib-compile-resources
6647 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6648 ("desktop-file-utils" ,desktop-file-utils)
6649 ("gettext" ,gettext-minimal)
6650 ("itstool" ,itstool)))
6651 (inputs
6652 `(("glib" ,glib)
6653 ("gtk+" ,gtk+)
6654 ("gsound" ,gsound)
6655 ("geoclue" ,geoclue)
6656 ("geocode-glib" ,geocode-glib)
6657 ("libgweather" ,libgweather)
6658 ("gnome-desktop" ,gnome-desktop)))
6659 (home-page "https://wiki.gnome.org/Apps/Clocks")
6660 (synopsis "GNOME's clock application")
6661 (description
6662 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6663desktop. It supports world clock, stop watch, alarms, and count down timer.")
6664 (license license:gpl3+)))
6665
3c474897
KY
6666(define-public gnome-calendar
6667 (package
6668 (name "gnome-calendar")
a286b5eb 6669 (version "3.28.2")
3c474897
KY
6670 (source (origin
6671 (method url-fetch)
6672 (uri (string-append "mirror://gnome/sources/" name "/"
6673 (version-major+minor version) "/"
6674 name "-" version ".tar.xz"))
6675 (sha256
6676 (base32
a286b5eb 6677 "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw"))))
a49d3e37
MS
6678 (build-system meson-build-system)
6679 (arguments
6680 '(#:glib-or-gtk? #t
6681 ;; gnome-calendar has to be installed before the tests can be run
6682 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6683 #:tests? #f))
3c474897 6684 (native-inputs
a49d3e37
MS
6685 `(("gettext" ,gettext-minimal)
6686 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6687 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
6688 ("pkg-config" ,pkg-config)))
6689 (inputs
a49d3e37 6690 `(("evolution-data-server" ,evolution-data-server)
14c297fd 6691 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
6692 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6693 ("libdazzle" ,libdazzle)
571fb008 6694 ("libedataserverui" ,evolution-data-server "libedataserverui")
a286b5eb
RW
6695 ("libgweather" ,libgweather)
6696 ("geoclue" ,geoclue)))
3c474897
KY
6697 (home-page "https://wiki.gnome.org/Apps/Calendar")
6698 (synopsis "GNOME's calendar application")
6699 (description
6700 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 6701desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
6702 (license license:gpl3+)))
6703
57b14665
MS
6704(define-public gnome-todo
6705 (package
6706 (name "gnome-todo")
9f3c6c88 6707 (version "3.28.1")
57b14665
MS
6708 (source (origin
6709 (method url-fetch)
6710 (uri (string-append "mirror://gnome/sources/" name "/"
6711 (version-major+minor version) "/"
6712 name "-" version ".tar.xz"))
6713 (sha256
6714 (base32
9f3c6c88 6715 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
6716 (build-system meson-build-system)
6717 (arguments
6718 '(#:glib-or-gtk? #t
6719 #:phases (modify-phases %standard-phases
6720 (add-after
6721 'install 'wrap-gnome-todo
6722 (lambda* (#:key inputs outputs #:allow-other-keys)
6723 (let ((out (assoc-ref outputs "out"))
6724 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6725 (python-path (getenv "PYTHONPATH")))
6726 (wrap-program (string-append out "/bin/gnome-todo")
6727 ;; XXX: gi plugins are broken.
6728 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6729 ;; For plugins.
6730 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6731 `("PYTHONPATH" ":" prefix (,python-path))))
6732 #t)))))
6733 (native-inputs
6734 `(("gettext" ,gettext-minimal)
6735 ("gobject-introspection" ,gobject-introspection)
6736 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6737 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6738 ("pkg-config" ,pkg-config)))
6739 (inputs
6740 `(("rest" ,rest) ; For Todoist plugin
6741 ("json-glib" ,json-glib) ; For Todoist plugin
da43d1cb 6742 ("libedataserverui" ,evolution-data-server "libedataserverui")
57b14665
MS
6743 ("libical" ,libical)
6744 ("libpeas" ,libpeas)
6745 ("python-pygobject" ,python-pygobject)
6746 ("evolution-data-server" ,evolution-data-server)
14c297fd 6747 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
6748 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6749 (home-page "https://wiki.gnome.org/Apps/Todo")
6750 (synopsis "GNOME's ToDo Application")
6751 (description
6752 "GNOME To Do is a simplistic personal task manager designed to perfectly
6753fit the GNOME desktop.")
6754 (license license:gpl3+)))
6755
ab179eaf
SB
6756(define-public gnome-dictionary
6757 (package
6758 (name "gnome-dictionary")
cf81ddef 6759 (version "3.26.1")
ab179eaf
SB
6760 (source (origin
6761 (method url-fetch)
6762 (uri (string-append "mirror://gnome/sources/" name "/"
6763 (version-major+minor version) "/"
6764 name "-" version ".tar.xz"))
6765 (sha256
6766 (base32
cf81ddef
LC
6767 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6768 (build-system meson-build-system)
2776b5d5
MB
6769 (arguments '(#:glib-or-gtk? #t
6770 #:phases (modify-phases %standard-phases
6771 (add-after 'unpack 'patch-install-script
6772 (lambda _
6773 ;; This script attempts to compile glib schemas
6774 ;; and create an empty MIME database. We do
6775 ;; that elsewhere, so prevent it from running.
6776 (substitute* "build-aux/post-install.sh"
6777 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6778 #t)))))
ab179eaf
SB
6779 (native-inputs
6780 `(("glib:bin" ,glib "bin")
6781 ("gobject-introspection" ,gobject-introspection)
6782 ("intltool" ,intltool)
6783 ("itstool" ,itstool)
6784 ("pkg-config" ,pkg-config)
6785 ("xmllint" ,libxml2)))
6786 (inputs
6787 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6788 ("gtk+" ,gtk+)))
6789 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6790 (synopsis "Look up words in dictionary sources")
6791 (description
6792 "GNOME Dictionary can look for the definition or translation of a word in
6793existing databases over the internet.")
6794 (license license:gpl3+)))
6795
d13f3a03 6796(define-public gnome-tweaks
9365ee1c 6797 (package
d13f3a03
RW
6798 (name "gnome-tweaks")
6799 (version "3.28.1")
9365ee1c
JN
6800 (source (origin
6801 (method url-fetch)
d13f3a03 6802 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 6803 (version-major+minor version) "/"
d13f3a03
RW
6804 "gnome-tweaks-" version ".tar.xz"))
6805 (patches
6806 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
6807 (sha256
6808 (base32
d13f3a03
RW
6809 "1p5xydr0haz4389h6dvvbna6i1mipdzvmlfksnv0jqfvfs9sy6fp"))))
6810 (build-system meson-build-system)
9365ee1c 6811 (arguments
d13f3a03
RW
6812 `(#:glib-or-gtk? #t
6813 #:configure-flags '("-Dlocalstatedir=/tmp"
6814 "-Dsysconfdir=/tmp")
9365ee1c 6815 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
6816 ,@%meson-build-system-modules)
6817 #:phases
6818 (modify-phases %standard-phases
6819 (add-after 'install 'wrap
6820 (@@ (guix build python-build-system) wrap))
6821 (add-after 'wrap 'wrap-gi-typelib
6822 (lambda* (#:key inputs outputs #:allow-other-keys)
6823 (let ((out (assoc-ref outputs "out"))
6824 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6825 (wrap-program (string-append out "/bin/gnome-tweaks")
6826 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6827 #t)))))
9365ee1c 6828 (native-inputs
c7fc414e
RH
6829 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6830 ("intltool" ,intltool)
9365ee1c
JN
6831 ("pkg-config" ,pkg-config)))
6832 (inputs
c7fc414e
RH
6833 `(("gnome-desktop" ,gnome-desktop)
6834 ("gtk+" ,gtk+)
9365ee1c
JN
6835 ("gobject-introspection" ,gobject-introspection)
6836 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
6837 ("libnotify" ,libnotify)
6838 ("libsoup" ,libsoup)
6839 ("nautilus" ,nautilus)
6840 ("python" ,python)
6841 ("python-pygobject" ,python-pygobject)))
9365ee1c 6842 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 6843 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 6844 (description
d13f3a03 6845 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
6846GNOME 3. This includes things like the fonts used in user interface elements,
6847alternative user interface themes, changes in window management behavior,
6848GNOME Shell appearance and extension, etc.")
6849 (license license:gpl3+)))
813f814a 6850
d13f3a03
RW
6851;; This package has been renamed by upstream.
6852(define-public gnome-tweak-tool
6853 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
6854
32ac717c
DT
6855(define-public gnome-shell-extensions
6856 (package
6857 (name "gnome-shell-extensions")
100f625b 6858 (version "3.28.1")
32ac717c
DT
6859 (source (origin
6860 (method url-fetch)
6861 (uri (string-append "mirror://gnome/sources/" name "/"
6862 (version-major+minor version) "/"
6863 name "-" version ".tar.xz"))
6864 (sha256
6865 (base32
100f625b
RW
6866 "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9"))))
6867 (build-system meson-build-system)
32ac717c 6868 (arguments
100f625b 6869 '(#:configure-flags '("-Dextension_set=all")))
32ac717c
DT
6870 (native-inputs
6871 `(("intltool" ,intltool)
6872 ("pkg-config" ,pkg-config)))
6873 (propagated-inputs
6874 `(("glib" ,glib)
6875 ("glib" ,glib "bin")))
6876 (synopsis "Extensions for GNOME Shell")
6877 (description "GNOME Shell extensions modify and extend GNOME Shell
6878functionality and behavior.")
6879 (home-page "https://extensions.gnome.org/")
6880 (license license:gpl3+)))
6881
a7a31827
GL
6882(define-public numix-theme
6883 (package
6884 (name "numix-theme")
6885 (version "2.6.7")
6886 (source (origin
6887 (method git-fetch)
6888 (uri (git-reference
6889 (url "https://github.com/numixproject/numix-gtk-theme.git")
6890 (commit version)))
6891 (file-name (git-file-name name version))
6892 (sha256
6893 (base32
6894 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
6895 (build-system gnu-build-system)
6896 (arguments
6897 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
6898 #:phases
6899 (modify-phases %standard-phases
6900 (delete 'configure)
6901 (delete 'check))))
6902 (native-inputs
6903 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
6904 ("gnome-shell" ,gnome-shell)
6905 ("gtk+" ,gtk+)
6906 ("xmllint" ,libxml2)
6907 ("ruby-sass" ,ruby-sass)))
6908 (synopsis "Flat theme with light and dark elements")
6909 (description "Numix is a modern flat theme with a combination of light and
6910dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
6911 (home-page "https://numixproject.github.io")
6912 (license license:gpl3+)))
6913
813f814a
DT
6914(define-public arc-theme
6915 (package
6916 (name "arc-theme")
a18f8eaf 6917 (version "20181022")
813f814a 6918 (source (origin
a18f8eaf
BH
6919 (method git-fetch)
6920 (uri (git-reference
6921 (url "https://github.com/NicoHood/arc-theme.git")
6922 (commit version)))
6923 (file-name (git-file-name name version))
813f814a
DT
6924 (sha256
6925 (base32
a18f8eaf 6926 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
813f814a 6927 (build-system gnu-build-system)
d88884fa
EF
6928 (arguments
6929 '(#:phases
6930 (modify-phases %standard-phases
6931 ;; autogen.sh calls configure at the end of the script.
6932 (replace 'bootstrap
6933 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
6934 (native-inputs
6935 `(("autoconf" ,autoconf)
6936 ("automake" ,automake)
a18f8eaf
BH
6937 ("glib" ,glib "bin") ; for glib-compile-resources
6938 ("gnome-shell" ,gnome-shell)
6939 ("gtk+" ,gtk+)
6940 ("inkscape" ,inkscape)
6941 ("optipng" ,optipng)
6942 ("pkg-config" ,pkg-config)
6943 ("sassc" ,sassc)))
813f814a
DT
6944 (synopsis "A flat GTK+ theme with transparent elements")
6945 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
69462, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6947like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6948 (home-page "https://github.com/horst3180/arc-theme")
6949 ;; No "or later" language found.
a18f8eaf 6950 (license license:gpl3+)))
9987c57c 6951
d935e6a1 6952(define-public faba-icon-theme
9987c57c 6953 (package
d935e6a1 6954 (name "faba-icon-theme")
2eee7ee3 6955 (version "4.3")
d935e6a1
BT
6956 (source
6957 (origin
6958 (method url-fetch)
6959 (uri (string-append "https://github.com/moka-project/"
6960 name "/archive/v" version ".tar.gz"))
6961 (file-name (string-append name "-" version ".tar.gz"))
6962 (sha256
6963 (base32
2eee7ee3 6964 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
f6a9b345 6965 (build-system meson-build-system)
9987c57c 6966 (arguments
82da291a 6967 `(#:phases
9987c57c 6968 (modify-phases %standard-phases
82da291a 6969 (add-before 'configure 'disable-post-install
9987c57c 6970 (lambda _
82da291a
JL
6971 (substitute* "meson.build"
6972 (("meson.add_install_script.*") "")))))))
9987c57c
DT
6973 (native-inputs
6974 `(("autoconf" ,autoconf)
6975 ("automake" ,automake)))
d935e6a1
BT
6976 (synopsis "Faba icon theme")
6977 (description
6978 "Faba is a minimal icon set used as a basis for other themes such as
6979Moka")
6980 (home-page "https://snwh.org/moka")
6981 (license (list license:lgpl3+
6982 license:cc-by-sa4.0))))
6983
9987c57c
DT
6984(define-public moka-icon-theme
6985 (package
8b0e4177 6986 (inherit faba-icon-theme)
9987c57c 6987 (name "moka-icon-theme")
105a3625 6988 (version "5.4.0")
9987c57c
DT
6989 (source (origin
6990 (method url-fetch)
6991 (uri (string-append "https://github.com/moka-project"
6992 "/moka-icon-theme/archive/v"
6993 version ".tar.gz"))
6994 (file-name (string-append name "-" version ".tar.gz"))
6995 (sha256
6996 (base32
105a3625 6997 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
550281fb
BT
6998 (propagated-inputs
6999 ;; Moka is based on Faba by using it as a fallback icon set instead of
7000 ;; bundling it, so we need to add it as a propagated input.
7001 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
7002 (synopsis "Moka icon theme")
7003 (description "Moka is a stylized desktop icon set, designed to be clear,
7004simple and consistent.")
fedde43b
BT
7005 (license (list license:gpl3+
7006 license:cc-by-sa4.0))))
6fd8f8d6
DT
7007
7008(define-public arc-icon-theme
7009 (package
7010 (name "arc-icon-theme")
c4180240 7011 (version "20161122")
6fd8f8d6
DT
7012 (source (origin
7013 (method url-fetch)
7014 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7015 "/archive/" version ".tar.gz"))
7016 (file-name (string-append name "-" version ".tar.gz"))
7017 (sha256
7018 (base32
c4180240 7019 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6fd8f8d6 7020 (build-system gnu-build-system)
9e1ede95
JL
7021 (arguments
7022 `(#:phases
7023 (modify-phases %standard-phases
7024 (add-after 'unpack 'disable-configure-during-bootstrap
7025 (lambda _
7026 (substitute* "autogen.sh"
7027 (("^\"\\$srcdir/configure\".*") ""))
7028 #t)))))
6fd8f8d6
DT
7029 (native-inputs
7030 `(("autoconf" ,autoconf)
7031 ("automake" ,automake)))
7032 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7033 (propagated-inputs
7034 `(("moka-icon-theme" ,moka-icon-theme)))
7035 (synopsis "Arc icon theme")
7036 (description "The Arc icon theme provides a set of icons matching the
7037style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7038the Moka icon theme.")
7039 (home-page "https://github.com/horst3180/arc-icon-theme")
7040 (license license:gpl3+)))
6064a4e8
LF
7041
7042(define-public folks
7043 (package
7044 (name "folks")
d23495fa 7045 (version "0.11.4")
6064a4e8
LF
7046 (source (origin
7047 (method url-fetch)
7048 (uri (string-append
e5f4796e 7049 "mirror://gnome/sources/folks/"
6064a4e8 7050 (version-major+minor version) "/"
e5f4796e 7051 "folks-" version ".tar.xz"))
6064a4e8
LF
7052 (sha256
7053 (base32
d23495fa 7054 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
7055 (build-system glib-or-gtk-build-system)
7056 (inputs
7057 `(("bdb" ,bdb)
7058 ("dbus-glib" ,dbus-glib)
7059 ("evolution-data-server" ,evolution-data-server)
7060 ("glib" ,glib)
7061 ("libgee" ,libgee)
7062 ("telepathy-glib" ,telepathy-glib)))
7063 (native-inputs
7064 `(("gobject-introspection" ,gobject-introspection)
7065 ("intltool" ,intltool)
7066 ("pkg-config" ,pkg-config)
7067 ("vala" ,vala)))
7068 (synopsis "Library to aggregate data about people")
7069 (description "Libfolks is a library that aggregates information about people
7070from multiple sources (e.g., Telepathy connection managers for IM contacts,
7071Evolution Data Server for local contacts, libsocialweb for web service contacts,
7072etc.) to create metacontacts. It's written in Vala, which generates C code when
7073compiled.")
7074 (home-page "https://wiki.gnome.org/Projects/Folks")
7075 (license license:lgpl2.1+)))
01ea778f
LF
7076
7077(define-public gfbgraph
7078 (package
7079 (name "gfbgraph")
7080 (version "0.2.3")
7081 (source (origin
7082 (method url-fetch)
7083 (uri (string-append
7084 "mirror://gnome/sources/" name "/"
7085 (version-major+minor version) "/"
7086 name "-" version ".tar.xz"))
7087 (sha256
7088 (base32
7089 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7090 (build-system glib-or-gtk-build-system)
7091 (arguments
7092 `(#:tests? #f ; Tests appear to require the network.
7093 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7094 #:configure-flags '("--disable-gtk-doc"
7095 "--disable-static"
7096 "--enable-introspection")))
7097 (native-inputs
7098 `(("pkg-config" ,pkg-config)
7099 ("gobject-introspection" ,gobject-introspection)))
7100 (inputs
7101 `(("json-glib" ,json-glib)
14c297fd 7102 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
7103 ("rest" ,rest)))
7104 (synopsis "GLib/GObject wrapper for the Facebook API")
7105 (description "This library allows you to use the Facebook API from
7106GLib/GObject code.")
7107 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7108 (license license:lgpl2.1+)))
3920868c 7109
7110(define-public libgnomekbd
7111 (package
7112 (name "libgnomekbd")
4a3f6e02 7113 (version "3.26.0")
3920868c 7114 (source (origin
7115 (method url-fetch)
7116 (uri (string-append "mirror://gnome/sources/" name "/"
7117 (version-major+minor version) "/"
7118 name "-" version ".tar.xz"))
7119 (sha256
7120 (base32
4a3f6e02 7121 "0xc8jrc44x2h24v28wv36k70k7bwxy6p2vsvxvvia1n3ay642fza"))))
3920868c 7122 (build-system gnu-build-system)
7123 (native-inputs
7124 `(("pkg-config" ,pkg-config)
7125 ("glib" ,glib "bin")
7126 ("intltool" ,intltool)))
7127 (propagated-inputs
7128 ;; Referred to in .h files and .pc.
7129 `(("glib" ,glib)
7130 ("gtk+" ,gtk+)
7131 ("libxklavier" ,libxklavier)))
7132 (home-page "https://www.gnome.org")
7133 (synopsis "GNOME keyboard configuration library")
7134 (description
7135 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7136environment, which can notably display keyboard layouts.")
7137 (license license:lgpl2.0+)))
85327d0d 7138
7139;;; This package is no longer maintained:
7140;;; https://wiki.gnome.org/Attic/LibUnique
7141;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7142;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7143(define-public libunique
7144 (package
7145 (name "libunique")
7146 (version "3.0.2")
7147 (source (origin
7148 (method url-fetch)
7149 (uri (string-append "mirror://gnome/sources/" name "/"
7150 (version-major+minor version) "/"
7151 name "-" version ".tar.xz"))
7152 (sha256
7153 (base32
7154 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7155 (build-system glib-or-gtk-build-system)
7156 (arguments
7157 `(#:configure-flags '("--disable-static"
7158 "--disable-dbus" ; use gdbus
7159 "--enable-introspection")))
7160 (native-inputs
7161 `(("pkg-config" ,pkg-config)
7162 ("gobject-introspection" ,gobject-introspection)
7163 ("glib:bin" ,glib "bin")
7164 ("gtk-doc" ,gtk-doc)))
7165 (propagated-inputs
7166 ;; Referred to in .h files and .pc.
7167 `(("gtk+" ,gtk+)))
7168 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7169 (synopsis "Library for writing single instance applications")
7170 (description
7171 "Libunique is a library for writing single instance applications. If you
7172launch a single instance application twice, the second instance will either just
7173quit or will send a message to the running instance. Libunique makes it easy to
7174write this kind of application, by providing a base class, taking care of all
7175the IPC machinery needed to send messages to a running instance, and also
7176handling the startup notification side.")
7177 (license license:lgpl2.1+)))
54021cd8
RS
7178
7179(define-public gnome-calculator
7180 (package
7181 (name "gnome-calculator")
112e9083 7182 (version "3.28.2")
54021cd8
RS
7183 (source
7184 (origin
7185 (method url-fetch)
7186 (uri (string-append "mirror://gnome/sources/" name "/"
7187 (version-major+minor version) "/"
7188 name "-" version ".tar.xz"))
7189 (sha256
7190 (base32
112e9083 7191 "0izsrqc9fm2lh25jr3nzi94p5hh2d3cklxqczbq16by85wr1xm5s"))))
54021cd8
RS
7192 (build-system glib-or-gtk-build-system)
7193 (native-inputs
7194 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7195 ("intltool" ,intltool)
7196 ("itstool" ,itstool)
7197 ("pkg-config" ,pkg-config)))
7198 (inputs
112e9083
RW
7199 `(("glib" ,glib)
7200 ("gtksourceview" ,gtksourceview-3)
54021cd8 7201 ("libsoup" ,libsoup)
112e9083 7202 ("libxml2" ,libxml2)
2c2da7ec 7203 ("mpc" ,mpc)
54021cd8
RS
7204 ("mpfr" ,mpfr)))
7205 (home-page "https://wiki.gnome.org/Apps/Calculator")
7206 (synopsis "Desktop calculator")
7207 (description
7208 "Calculator is an application that solves mathematical equations and
7209is suitable as a default application in a Desktop environment.")
7210 (license license:gpl3)))
0bd69759
RS
7211
7212(define-public xpad
7213 (package
7214 (name "xpad")
c85626bb 7215 (version "5.1.0")
0bd69759
RS
7216 (source
7217 (origin
7218 (method url-fetch)
08fda9c6
R
7219 (uri (string-append "https://launchpad.net/xpad/trunk/"
7220 version "/+download/"
0bd69759
RS
7221 name "-" version ".tar.bz2"))
7222 (sha256
7223 (base32
c85626bb 7224 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
7225 (build-system gnu-build-system)
7226 (native-inputs
08fda9c6
R
7227 `(("autoconf" ,autoconf)
7228 ("automake" ,automake)
7229 ("gtk+:bin" ,gtk+ "bin")
7230 ("intltool" ,intltool)
0bd69759
RS
7231 ("pkg-config" ,pkg-config)))
7232 (inputs
08fda9c6 7233 `(("gtksourceview" ,gtksourceview)
0bd69759
RS
7234 ("libsm" ,libsm)))
7235 (home-page "https://wiki.gnome.org/Apps/Xpad")
7236 (synopsis "Virtual sticky note")
7237 (description
7238 "Xpad is a sticky note that strives to be simple, fault tolerant,
7239and customizable. Xpad consists of independent pad windows, each is
7240basically a text box in which notes can be written.")
7241 (license license:gpl3+)))
3ad7dce1
RS
7242
7243(define-public gucharmap
c60063ea
RW
7244 (let ((unicode-files
7245 '(("Blocks.txt"
7246 "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
7247 ("DerivedAge.txt"
7248 "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
7249 ("NamesList.txt"
7250 "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
7251 ("Scripts.txt"
7252 "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
7253 ("UnicodeData.txt"
7254 "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
7255 ("Unihan.zip"
7256 "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
7257 (package
7258 (name "gucharmap")
7259 (version "10.0.4")
7260 (source
7261 (origin
7262 (method url-fetch)
7263 (uri (string-append "mirror://gnome/sources/" name "/"
7264 (version-major+minor version) "/"
7265 name "-" version ".tar.xz"))
7266 (sha256
7267 (base32
7268 "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
7269 (build-system glib-or-gtk-build-system)
7270 (arguments
7271 `(#:modules ((ice-9 match)
7272 (guix build glib-or-gtk-build-system)
7273 (guix build utils))
7274 #:configure-flags
7275 (list "--with-unicode-data=../unicode-data")
7276 #:phases
7277 (modify-phases %standard-phases
7278 (add-after 'unpack 'prepare-unicode-data
7279 (lambda* (#:key inputs #:allow-other-keys)
7280 (mkdir-p "../unicode-data")
7281 (with-directory-excursion "../unicode-data"
7282 (for-each (match-lambda
7283 ((file _)
7284 (install-file (assoc-ref inputs file) ".")))
7285 ',unicode-files))
7286 #t)))))
7287 (native-inputs
7288 `(("desktop-file-utils" ,desktop-file-utils)
7289 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7290 ("gobject-introspection" ,gobject-introspection)
7291 ("intltool" ,intltool)
7292 ("itstool" ,itstool)
7293 ("pkg-config" ,pkg-config)
7294 ,@(map (match-lambda
7295 ((file hash)
7296 `(,file
7297 ,(origin
7298 (method url-fetch)
7299 (uri (string-append
7300 "http://www.unicode.org/Public/10.0.0/ucd/"
7301 file))
7302 (sha256 (base32 hash))))))
7303 unicode-files)
7304 ("unzip" ,unzip)))
7305 (inputs
7306 `(("gtk+" ,gtk+)
7307 ("xmllint" ,libxml2)))
7308 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7309 (synopsis "Unicode character picker and font browser")
7310 (description
7311 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
7312characters and categories for the installed fonts, and to examine their
7313detailed properties. It is an easy way to find the character you might
7314only know by its Unicode name or code point.")
c60063ea 7315 (license license:gpl3+))))
04ce840a
RS
7316
7317(define-public bluefish
7318 (package
7319 (name "bluefish")
ea8afaf3 7320 (version "2.2.10")
04ce840a
RS
7321 (source
7322 (origin
7323 (method url-fetch)
7324 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7325 name "-" version ".tar.gz"))
7326 (sha256
7327 (base32
ea8afaf3 7328 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
7329 (build-system gnu-build-system)
7330 (native-inputs
7331 `(("desktop-file-utils" ,desktop-file-utils)
7332 ("intltool" ,intltool)
7333 ("pkg-config" ,pkg-config)))
7334 (inputs
7335 `(("enchant" ,enchant)
7336 ("gtk+" ,gtk+)
7337 ("python" ,python-2)
7338 ("xmllint" ,libxml2)
7339 ("gucharmap" ,gucharmap)))
7340 (home-page "http://bluefish.openoffice.nl")
7341 (synopsis "Web development studio")
7342 (description
7343 "Bluefish is an editor targeted towards programmers and web developers,
7344with many options to write web sites, scripts and other code.
7345Bluefish supports many programming and markup languages.")
7346 (license license:gpl3+)))
1f6a73ee
RS
7347
7348(define-public gnome-system-monitor
7349 (package
7350 (name "gnome-system-monitor")
85fb3df3 7351 (version "3.30.0")
1f6a73ee
RS
7352 (source
7353 (origin
7354 (method url-fetch)
7355 (uri (string-append "mirror://gnome/sources/" name "/"
7356 (version-major+minor version) "/"
7357 name "-" version ".tar.xz"))
7358 (sha256
7359 (base32
85fb3df3
RW
7360 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7361 (build-system meson-build-system)
7362 (arguments
7363 '(#:glib-or-gtk? #t
7364 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
7365 (native-inputs
7366 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 7367 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
7368 ("intltool" ,intltool)
7369 ("itstool" ,itstool)
7370 ("libgtop" ,libgtop)
4985d9aa 7371 ("polkit" ,polkit)
1f6a73ee
RS
7372 ("pkg-config" ,pkg-config)))
7373 (inputs
7374 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7375 ("gtk+" ,gtk+)
7376 ("gtkmm" ,gtkmm)
7377 ("librsvg" ,librsvg)
4985d9aa
RW
7378 ("libxml2" ,libxml2)
7379 ("libwnck" ,libwnck)))
1f6a73ee
RS
7380 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7381 (synopsis "Process viewer and system resource monitor for GNOME")
7382 (description
7383 "GNOME System Monitor is a GNOME process viewer and system monitor with
7384an attractive, easy-to-use interface. It has features, such as a tree view
7385for process dependencies, icons for processes, the ability to hide processes,
7386graphical time histories of CPU/memory/swap usage and the ability to
7387kill/reinice processes.")
7388 (license license:gpl2+)))
3e00ac47
SB
7389
7390(define-public python-pyatspi
7391 (package
7392 (name "python-pyatspi")
84548bd7 7393 (version "2.26.0")
3e00ac47
SB
7394 (source (origin
7395 (method url-fetch)
7396 (uri (string-append
7397 "mirror://gnome/sources/pyatspi/"
7398 (version-major+minor version)
7399 "/pyatspi-" version ".tar.xz"))
7400 (sha256
7401 (base32
84548bd7 7402 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))))
3e00ac47
SB
7403 (build-system gnu-build-system)
7404 (native-inputs
7405 `(("pkg-config" ,pkg-config)))
7406 (inputs
7407 `(("python" ,python)
7408 ("python-pygobject" ,python-pygobject)))
7409 (synopsis "Python client bindings for D-Bus AT-SPI")
7410 (home-page "https://wiki.linuxfoundation.org/accessibility\
7411/atk/at-spi/at-spi_on_d-bus")
7412 (description
7413 "This package includes a python client library for the AT-SPI D-Bus
7414accessibility infrastructure.")
7415 (license license:lgpl2.0)
7416 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
7417
7418(define-public orca
7419 (package
7420 (name "orca")
870a4e70 7421 (version "3.28.1")
53201c0d
SB
7422 (source (origin
7423 (method url-fetch)
7424 (uri (string-append
7425 "mirror://gnome/sources/" name "/"
7426 (version-major+minor version) "/"
7427 name "-" version ".tar.xz"))
7428 (sha256
7429 (base32
870a4e70 7430 "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g"))))
53201c0d
SB
7431 (build-system glib-or-gtk-build-system)
7432 (arguments
7433 '(#:phases
7434 (modify-phases %standard-phases
7435 (add-before 'configure 'qualify-xkbcomp
7436 (lambda* (#:key inputs #:allow-other-keys)
7437 (let ((xkbcomp (string-append
7438 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7439 (substitute* "src/orca/orca.py"
7440 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7441 #t))
7442 (add-after 'install 'wrap-orca
7443 (lambda* (#:key outputs #:allow-other-keys)
7444 (let* ((out (assoc-ref outputs "out"))
7445 (prog (string-append out "/bin/orca")))
7446 (wrap-program prog
7447 `("GI_TYPELIB_PATH" ":" prefix
7448 (,(getenv "GI_TYPELIB_PATH")))
7449 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7450 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7451 `("PYTHONPATH" ":" prefix
7452 (,(getenv "PYTHONPATH")))))
7453 #t)))))
7454 (native-inputs
7455 `(("intltool" ,intltool)
7456 ("itstool" ,itstool)
7457 ("pkg-config" ,pkg-config)
7458 ("xmllint" ,libxml2)))
7459 (inputs
7460 `(("at-spi2-atk" ,at-spi2-atk)
7461 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7462 ("gstreamer" ,gstreamer)
7463 ("gst-plugins-base" ,gst-plugins-base)
7464 ("gst-plugins-good" ,gst-plugins-good)
7465 ("gtk+" ,gtk+)
7466 ("python" ,python)
7467 ("python-pygobject" ,python-pygobject)
7468 ("python-pyatspi" ,python-pyatspi)
7469 ("python-speechd" ,speech-dispatcher)
7470 ("xkbcomp" ,xkbcomp)))
7471 (synopsis
7472 "Screen reader for individuals who are blind or visually impaired")
7473 (home-page "https://wiki.gnome.org/Projects/Orca")
7474 (description
7475 "Orca is a screen reader that provides access to the graphical desktop
7476via speech and refreshable braille. Orca works with applications and toolkits
7477that support the Assistive Technology Service Provider Interface (AT-SPI).")
7478 (license license:lgpl2.1+)))
411ba511
LC
7479
7480(define-public gspell
7481 (package
7482 (name "gspell")
9b1bb757 7483 (version "1.8.1")
411ba511
LC
7484 (source (origin
7485 (method url-fetch)
7486 (uri (string-append "mirror://gnome/sources/" name "/"
7487 (version-major+minor version) "/"
7488 name "-" version ".tar.xz"))
7489 (sha256
7490 (base32
9b1bb757 7491 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
411ba511
LC
7492 (patches (search-patches "gspell-dash-test.patch"))))
7493 (build-system glib-or-gtk-build-system)
7494 (arguments
7495 '(#:phases
7496 (modify-phases %standard-phases
7497 (add-before 'check 'pre-check
7498 (lambda* (#:key inputs #:allow-other-keys)
7499 ;; Tests require a running X server.
7500 (system "Xvfb :1 &")
7501 (setenv "DISPLAY" ":1")
7502
7503 ;; For the missing /etc/machine-id.
7504 (setenv "DBUS_FATAL_WARNINGS" "0")
7505
7506 ;; Allow Enchant and its Aspell backend to find the en_US
7507 ;; dictionary.
7508 (setenv "ASPELL_DICT_DIR"
7509 (string-append (assoc-ref inputs "aspell-dict-en")
7510 "/lib/aspell"))
7511 #t)))))
7512 (inputs
eccd35be 7513 `(("gtk+" ,gtk+)
a801ae4c
TGR
7514 ("glib" ,glib)
7515 ("iso-codes" ,iso-codes)))
411ba511
LC
7516 (native-inputs
7517 `(("glib" ,glib "bin")
7518 ("pkg-config" ,pkg-config)
7519 ("xmllint" ,libxml2)
7520
7521 ;; For tests.
a801ae4c
TGR
7522 ("aspell-dict-en" ,aspell-dict-en)
7523 ("xorg-server" ,xorg-server)))
eccd35be 7524 (propagated-inputs
9b1bb757 7525 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
7526 (home-page "https://wiki.gnome.org/Projects/gspell")
7527 (synopsis "GNOME's alternative spell checker")
7528 (description
7529 "gspell provides a flexible API to add spell-checking to a GTK+
7530application. It provides a GObject API, spell-checking to text entries and
7531text views, and buttons to choose the language.")
7532 (license license:gpl2+)))
d1d739fa
CM
7533
7534(define-public gnome-planner
7535 (package
7536 (name "gnome-planner")
7537 (version "0.14.6")
7538 (source (origin
7539 (method url-fetch)
7540 (uri (string-append "mirror://gnome/sources/planner/"
7541 (version-major+minor version) "/planner-"
7542 version ".tar.xz"))
7543 (sha256
7544 (base32
7545 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7546 (build-system glib-or-gtk-build-system)
7547 (arguments
7548 ;; Disable the Python bindings because the Planner program functions
7549 ;; without them, and (as of 2017-06-13) we have not packaged all of
7550 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
7551 `(#:configure-flags
7552 (list "--disable-python"
7553 ,@(if (string=? "aarch64-linux" (%current-system))
7554 '("--build=aarch64-unknown-linux-gnu")
7555 '()))))
d1d739fa
CM
7556 (inputs
7557 `(("libgnomecanvas" ,libgnomecanvas)
7558 ("libgnomeui" ,libgnomeui)
7559 ("libglade" ,libglade)
7560 ("gnome-vfs" ,gnome-vfs)
7561 ("gconf" ,gconf)
7562 ("libxml2" ,libxml2)
7563 ("libxslt" ,libxslt)
7564 ("gtk+" ,gtk+)
7565 ("glib" ,glib)))
7566 (native-inputs
7567 `(("intltool" ,intltool)
7568 ("scrollkeeper" ,scrollkeeper)
7569 ("pkg-config" ,pkg-config)))
7570 (home-page "https://wiki.gnome.org/Apps/Planner")
7571 (synopsis "Project management software for the GNOME desktop")
7572 (description
7573 "GNOME Planner is a project management tool based on the Work Breakdown
7574Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7575the resources, tasks, and constraints that you define, Planner generates
7576various views into a project. For example, Planner can show a Gantt chart of
7577the project. It can show a detailed summary of tasks including their
7578duration, cost, and current progress. It can also show a report of resource
7579utilization that highlights under-utilized and over-utilized resources. These
7580views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 7581 (license license:gpl2+)))
64fce637
RS
7582
7583(define-public lollypop
7584 (package
7585 (name "lollypop")
b98eace8 7586 (version "0.9.521")
64fce637
RS
7587 (source
7588 (origin
7589 (method url-fetch)
b98eace8
CB
7590 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7591 "e4df2ed75c5ed71d64afcc668e579b2a/"
64fce637
RS
7592 name "-" version ".tar.xz"))
7593 (sha256
7594 (base32
b98eace8 7595 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
aa498fc0 7596 (build-system meson-build-system)
64fce637
RS
7597 (arguments
7598 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
7599 ,@%meson-build-system-modules)
7600 #:glib-or-gtk? #t
5fc9b6c1
EF
7601 #:tests? #f ; no test suite
7602 #:phases
7603 (modify-phases %standard-phases
5fc9b6c1
EF
7604 (add-after 'install 'wrap-program
7605 (lambda* (#:key outputs #:allow-other-keys)
7606 (let ((out (assoc-ref outputs "out"))
7607 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7608 (wrap-program (string-append out "/bin/lollypop")
7609 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7610 #t))
7611 (add-after 'install 'wrap
7612 (@@ (guix build python-build-system) wrap)))))
64fce637
RS
7613 (native-inputs
7614 `(("intltool" ,intltool)
7615 ("itstool" ,itstool)
aa498fc0
TD
7616 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7617 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
7618 ("pkg-config" ,pkg-config)))
7619 (inputs
7620 `(("gobject-introspection" ,gobject-introspection)
5fc9b6c1 7621 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
7622 ("libnotify" ,libnotify)
7623 ("libsecret" ,libsecret)
7624 ("libsoup" ,libsoup)
7625 ("python" ,python)
7626 ("python-beautifulsoup4" ,python-beautifulsoup4)
7627 ("python-gst" ,python-gst)
7628 ("python-pycairo" ,python-pycairo)
7629 ("python-pygobject" ,python-pygobject)
7630 ("python-pylast" ,python-pylast)
7631 ("totem-pl-parser" ,totem-pl-parser)
7632 ("webkitgtk" ,webkitgtk)))
7633 (propagated-inputs
7634 `(;; gst-plugins-base is required to start Lollypop,
7635 ;; the others are required to play streaming.
64fce637
RS
7636 ("gst-plugins-good" ,gst-plugins-good)
7637 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 7638 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
7639 (synopsis "GNOME music playing application")
7640 (description
7641 "Lollypop is a music player designed to play well with GNOME desktop.
7642Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7643from artists and tracks from the web. It also fetches cover artworks
7644automatically and it can stream songs from online music services and charts.")
7645 (license license:gpl3+)))
d831d49d
AW
7646
7647(define-public gnome-video-effects
7648 (package
7649 (name "gnome-video-effects")
7650 (version "0.4.3")
7651 (source (origin
7652 (method url-fetch)
7653 (uri (string-append "mirror://gnome/sources/" name "/"
7654 (version-major+minor version) "/" name "-"
7655 version ".tar.xz"))
7656 (sha256
7657 (base32
7658 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7659 (build-system glib-or-gtk-build-system)
7660 (arguments
7661 `(#:out-of-source? #f))
7662 (native-inputs
7663 `(("glib:bin" ,glib "bin")
7664 ("intltool" ,intltool)
7665 ("gettext" ,gettext-minimal)
7666 ("pkg-config" ,pkg-config)))
7667 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7668 (synopsis "Video effects for Cheese and other GNOME applications")
7669 (description
7670 "A collection of GStreamer video filters and effects to be used in
7671photo-booth-like software, such as Cheese.")
7672 (license license:gpl2+)))
3511c780
AW
7673
7674(define-public cheese
7675 (package
7676 (name "cheese")
4b3480d6 7677 (version "3.28.0")
3511c780
AW
7678 (source (origin
7679 (method url-fetch)
7680 (uri (string-append "mirror://gnome/sources/" name "/"
7681 (version-major+minor version) "/" name "-"
7682 version ".tar.xz"))
7683 (sha256
7684 (base32
4b3480d6 7685 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
3511c780
AW
7686 (arguments
7687 ;; Tests require GDK.
7688 `(#:tests? #f
7689 #:phases
7690 (modify-phases %standard-phases
7691 (add-before 'install 'skip-gtk-update-icon-cache
7692 (lambda _
7693 ;; Don't create 'icon-theme.cache'
7694 (substitute* "Makefile"
7695 (("gtk-update-icon-cache") (which "true")))
7696 #t))
7697 (add-after 'install 'wrap-cheese
7698 (lambda* (#:key inputs outputs #:allow-other-keys)
7699 (let ((out (assoc-ref outputs "out"))
7700 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7701 (wrap-program (string-append out "/bin/cheese")
7702 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7703 #t)))))
7704 (build-system glib-or-gtk-build-system)
7705 (native-inputs
7706 `(("glib:bin" ,glib "bin")
7707 ("intltool" ,intltool)
7708 ("itstool" ,itstool)
7709 ("libxml2" ,libxml2)
7710 ("pkg-config" ,pkg-config)
7711 ("vala" ,vala)))
7712 (propagated-inputs
6a19f03e
RW
7713 `(("gnome-video-effects" ,gnome-video-effects)
7714 ("clutter" ,clutter)
3511c780
AW
7715 ("clutter-gst" ,clutter-gst)
7716 ("clutter-gtk" ,clutter-gtk)
6a19f03e 7717 ("libcanberra" ,libcanberra)
3511c780
AW
7718 ("gdk-pixbuf" ,gdk-pixbuf)
7719 ("glib" ,glib)
6a19f03e
RW
7720 ("gstreamer" ,gstreamer)))
7721 (inputs
7722 `(("gnome-desktop" ,gnome-desktop)
3511c780 7723 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
7724 ("gst-plugins-base" ,gst-plugins-base)
7725 ("gst-plugins-bad" ,gst-plugins-bad)
7726 ("gtk+" ,gtk+)
3511c780
AW
7727 ("libx11" ,libx11)
7728 ("libxtst" ,libxtst)))
7729 (home-page "https://wiki.gnome.org/Apps/Cheese")
7730 (synopsis "Webcam photo booth software for GNOME")
7731 (description
7732 "Cheese uses your webcam to take photos and videos. Cheese can also
7733apply fancy special effects and lets you share the fun with others.")
7734 (license license:gpl2+)))
3c5dbd2b 7735
7736(define-public sound-juicer
7737 (package
7738 (name "sound-juicer")
7739 (version "3.24.0")
7740 (source
7741 (origin
7742 (method url-fetch)
7743 (uri (string-append "mirror://gnome/sources/" name "/"
7744 (version-major+minor version) "/"
7745 name "-" version ".tar.xz"))
7746 (sha256
7747 (base32
7748 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7749 (build-system glib-or-gtk-build-system)
7750 (native-inputs
7751 `(("desktop-file-utils" ,desktop-file-utils)
7752 ("intltool" ,intltool)
7753 ("itstool" ,itstool)
7754 ("pkg-config" ,pkg-config)
7755 ("xmllint" ,libxml2)))
7756 (inputs
7757 `(("gtk+" ,gtk+)
7758 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7759 ("gstreamer" ,gstreamer)
7760 ("gst-plugins-base" ,gst-plugins-base)
7761 ("gst-plugins-good" ,gst-plugins-good)
7762 ("iso-codes" ,iso-codes)
7763 ("libbrasero-media3" ,brasero)
7764 ("libcanberra" ,libcanberra)
7765 ("libdiscid" ,libdiscid)
7766 ("libmusicbrainz" ,libmusicbrainz)
7767 ("neon" ,neon)))
7768 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7769 (synopsis "Audio music cd ripper")
7770 (description "Sound Juicer extracts audio from compact discs and convert it
7771into audio files that a personal computer or digital audio player can play.
7772It supports ripping to any audio codec supported by a GStreamer plugin, such as
7773mp3, Ogg Vorbis and FLAC")
7774 (license license:gpl2+)))
4e3fdeb7 7775
0d3f1708
CB
7776(define-public soundconverter
7777 (package
7778 (name "soundconverter")
fa75a213 7779 (version "3.0.1")
0d3f1708
CB
7780 (source
7781 (origin
7782 (method url-fetch)
7783 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7784 version "/+download/"
7785 "soundconverter-" version ".tar.xz"))
7786
7787 (sha256
fa75a213 7788 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
7789 (patches
7790 (search-patches
7791 "soundconverter-remove-gconf-dependency.patch"))))
7792 (build-system glib-or-gtk-build-system)
7793 (arguments
7794 `(#:imported-modules ((guix build python-build-system)
7795 (guix build glib-or-gtk-build-system)
7796 ,@%gnu-build-system-modules)
7797
7798 #:modules ((guix build glib-or-gtk-build-system)
7799 (guix build utils)
7800 ((guix build gnu-build-system) #:prefix gnu:)
7801 ((guix build python-build-system) #:prefix python:))
7802
7803 #:phases
7804 (modify-phases %standard-phases
0d3f1708
CB
7805 (add-after 'install 'wrap-soundconverter-for-python
7806 (assoc-ref python:%standard-phases 'wrap))
7807 (add-after 'install 'wrap-soundconverter
7808 (lambda* (#:key inputs outputs #:allow-other-keys)
7809 (let ((out (assoc-ref outputs "out"))
7810 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7811 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7812 (wrap-program (string-append out "/bin/soundconverter")
7813 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7814 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7815 #t)))))
7816 (native-inputs
7817 `(("intltool" ,intltool)
7818 ("pkg-config" ,pkg-config)
7819 ("glib:bin" ,glib "bin")))
7820 (inputs
7821 `(("gtk+" ,gtk+)
7822 ("python" ,python)
7823 ("python-pygobject" ,python-pygobject)
7824 ("gstreamer" ,gstreamer)
7825 ("gst-plugins-base" ,gst-plugins-base)))
7826 (home-page "http://soundconverter.org/")
7827 (synopsis "Convert between audio formats with a graphical interface")
7828 (description
7829 "SoundConverter supports converting between many audio formats including
7830Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7831configurable file renaming. ")
7832 (license license:gpl3)))
7833
4e3fdeb7 7834(define-public workrave
89f2d736
TGR
7835 (package
7836 (name "workrave")
c2e50474 7837 (version "1.10.23")
89f2d736
TGR
7838 (source
7839 (origin
7840 (method git-fetch)
7841 (uri (git-reference
7842 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
7843 (commit (string-append "v" (string-map
7844 (match-lambda (#\. #\_) (chr chr))
7845 version)))))
89f2d736
TGR
7846 (file-name (git-file-name name version))
7847 (sha256
c2e50474 7848 (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw"))))
89f2d736
TGR
7849 (build-system glib-or-gtk-build-system)
7850 (propagated-inputs `(("glib" ,glib)
7851 ("gtk+" ,gtk+)
7852 ("gdk-pixbuf" ,gdk-pixbuf)
7853 ("gtkmm" ,gtkmm)
7854 ("glibmm" ,glibmm)
7855 ("libx11" ,libx11)
7856 ("libxtst" ,libxtst)
7857 ("dconf" ,dconf)
7858 ("libice" ,libice)))
7859 (inputs `(("libsm" ,libsm)
7860 ("python-cheetah" ,python2-cheetah)))
7861 (native-inputs `(("glib" ,glib "bin")
7862 ("pkg-config" ,pkg-config)
7863 ("gettext" ,gnu-gettext)
7864 ("autoconf" ,autoconf)
7865 ("autoconf-archive" , autoconf-archive)
7866 ("automake" ,automake)
7867 ("libtool" ,libtool)
7868 ("intltool" ,intltool)
7869 ("libxscrnsaver" ,libxscrnsaver)
7870 ("gobject-introspection" ,gobject-introspection)
7871 ("python2" ,python-2)))
7872 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7873 (description
7874 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
7875repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7876micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
7877 (home-page "http://www.workrave.org")
7878 (license license:gpl3+)))
312afa7d
LC
7879
7880(define-public ghex
7881 (package
7882 (name "ghex")
7883 (version "3.18.3")
7884 (source (origin
7885 (method url-fetch)
2fbab848 7886 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 7887 (version-major+minor version) "/"
2fbab848 7888 "ghex-" version ".tar.xz"))
312afa7d
LC
7889 (sha256
7890 (base32
7891 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7892 (build-system glib-or-gtk-build-system)
7893 (native-inputs
7894 `(("pkg-config" ,pkg-config)
7895 ("gnome-common" ,gnome-common)
7896 ("which" ,which)
7897 ("intltool" ,intltool)
7898 ("yelp-tools" ,yelp-tools)
2fbab848 7899 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
7900 (inputs
7901 `(("atk" ,atk)
7902 ("gtk" ,gtk+)))
7903 (synopsis "GNOME hexadecimal editor")
7904 (description "The GHex program can view and edit files in two ways:
7905hexadecimal or ASCII. It is useful for editing binary files in general.")
7906 (home-page "https://wiki.gnome.org/Apps/Ghex")
7907 (license license:gpl2)))
4b2ed6c2
RW
7908
7909(define-public libdazzle
7910 (package
7911 (name "libdazzle")
7912 (version "3.28.5")
7913 (source (origin
7914 (method url-fetch)
687b4909 7915 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 7916 (version-major+minor version) "/"
687b4909 7917 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
7918 (sha256
7919 (base32
7920 "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg"))))
7921 (build-system meson-build-system)
7922 (arguments
7923 `(#:phases
7924 (modify-phases %standard-phases
7925 (add-after 'unpack 'disable-failing-test
7926 (lambda _
7927 ;; Disable failing test.
7928 (substitute* "tests/meson.build"
7929 (("test\\('test-application") "#"))
7930 #t))
7931 (add-before 'check 'pre-check
7932 (lambda _
7933 ;; Tests require a running X server.
7934 (system "Xvfb :1 &")
7935 (setenv "DISPLAY" ":1")
7936 #t)))))
7937 (native-inputs
687b4909 7938 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 7939 ("pkg-config" ,pkg-config)
687b4909 7940 ;; For tests.
4b2ed6c2
RW
7941 ("xorg-server" ,xorg-server)))
7942 (inputs
7943 `(("glib" ,glib)
7944 ("gobject-introspection" ,gobject-introspection)
7945 ("gtk+" ,gtk+)
7946 ("vala" ,vala)))
7947 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7948 (synopsis "Companion library to GObject and Gtk+")
7949 (description "The libdazzle library is a companion library to GObject and
7950Gtk+. It provides various features that the authors wish were in the
7951underlying library but cannot for various reasons. In most cases, they are
7952wildly out of scope for those libraries. In other cases, they are not quite
7953generic enough to work for everyone.")
7954 (license license:gpl3+)))
7d3bb433
RW
7955
7956(define-public evolution
7957 (package
7958 (name "evolution")
7959 (version "3.28.1")
7960 (source (origin
7961 (method url-fetch)
7962 (uri (string-append "mirror://gnome/sources/evolution/"
7963 (version-major+minor version) "/"
7964 "evolution-" version ".tar.xz"))
7965 (sha256
7966 (base32
7967 "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
7968 (build-system cmake-build-system)
7969 (arguments
7970 `(#:configure-flags
7971 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
7972 "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
7973 ; in four years and cannot be built.
7974 (native-inputs
7975 `(("glib" ,glib "bin") ; glib-mkenums
7976 ("pkg-config" ,pkg-config)
7977 ("intltool" ,intltool)
7978 ("itstool" ,itstool)))
7979 (inputs
7980 `(("enchant" ,enchant)
7981 ("evolution-data-server" ,evolution-data-server) ; must be the same version
7982 ("gcr" ,gcr)
7983 ("gnome-autoar" ,gnome-autoar)
7984 ("gnome-desktop" ,gnome-desktop)
7985 ("gtkspell3" ,gtkspell3)
7986 ("highlight" ,highlight)
7987 ("libcanberra" ,libcanberra)
da43d1cb 7988 ("libedataserverui" ,evolution-data-server "libedataserverui")
7d3bb433
RW
7989 ("libgweather" ,libgweather)
7990 ("libnotify" ,libnotify)
7991 ("libsoup" ,libsoup)
7992 ("nss" ,nss)
7993 ("openldap" ,openldap)
7994 ("webkitgtk" ,webkitgtk)
7995 ("ytnef" ,ytnef)))
7996 (home-page "https://gitlab.gnome.org/GNOME/evolution")
7997 (synopsis "Manage your email, contacts and schedule")
7998 (description "Evolution is a personal information management application
7999that provides integrated mail, calendaring and address book
8000functionality.")
8001 ;; See COPYING for details.
23dbe621 8002 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 8003 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 8004 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
8005
8006(define-public gthumb
8007 (package
8008 (name "gthumb")
8009 (version "3.8.0")
8010 (source (origin
8011 (method url-fetch)
8012 (uri (string-append "mirror://gnome/sources/gthumb/"
8013 (version-major+minor version) "/"
8014 "gthumb-" version ".tar.xz"))
8015 (sha256
8016 (base32
8017 "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f"))))
8018 (build-system meson-build-system)
8019 (arguments
8020 `(#:glib-or-gtk? #t
8021 #:configure-flags
8022 ;; Ensure the RUNPATH contains all installed library locations.
8023 (list (string-append "-Dc_link_args=-Wl,-rpath="
8024 (assoc-ref %outputs "out")
8025 "/lib/gthumb/extensions")
8026 (string-append "-Dcpp_link_args=-Wl,-rpath="
8027 (assoc-ref %outputs "out")
8028 "/lib/gthumb/extensions"))))
8029 (native-inputs
8030 `(("pkg-config" ,pkg-config)
8031 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8032 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8033 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8034 ("intltool" ,intltool)
8035 ("itstool" ,itstool)))
8036 (inputs
8037 `(("exiv2" ,exiv2)
8038 ("gtk" ,gtk+)
8039 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8040 ("gstreamer" ,gstreamer)
8041 ("clutter" ,clutter)
8042 ("clutter-gst" ,clutter-gst)
8043 ("clutter-gtk" ,clutter-gtk)
8044 ("libjpeg" ,libjpeg)
8045 ("libtiff" ,libtiff)
8046 ("libraw" ,libraw)))
8047 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8048 (synopsis "GNOME image viewer and browser")
8049 (description "GThumb is an image viewer, browser, organizer, editor and
8050advanced image management tool")
8051 (license license:gpl2+)))
08be02be
AT
8052
8053(define-public terminator
8054 (package
8055 (name "terminator")
8056 (version "1.91")
8057 (source (origin
8058 (method url-fetch)
8059 (uri (string-append "https://launchpad.net/" name "/"
8060 "gtk3/" version "/" "+download/"
8061 name "-" version ".tar.gz"))
8062 (sha256
8063 (base32
8064 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8065 (build-system python-build-system)
8066 (native-inputs
8067 `(("intltool" ,intltool)
8068 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8069 ("gettext" ,gettext-minimal)
8070 ("pkg-config" ,pkg-config)))
8071 (inputs
8072 `(("cairo" ,cairo)
8073 ("gobject-introspection" ,gobject-introspection)
8074 ("python2-pycairo" ,python2-pycairo)
8075 ("python2-pygobject" ,python2-pygobject)
8076 ("python2-psutil" ,python2-psutil)
8077 ("vte" ,vte)))
8078 (arguments
8079 `(#:python ,python-2 ;Python 3 not supported
8080 #:phases
8081 (modify-phases %standard-phases
8082 (add-after
8083 'install 'wrap-program
8084 (lambda* (#:key outputs #:allow-other-keys)
8085 (let ((prog (string-append (assoc-ref outputs "out")
8086 "/bin/terminator")))
8087 (wrap-program prog
8088 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8089 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8090 #t))))))
8091 (home-page "https://gnometerminator.blogspot.com/")
8092 (synopsis "Store and run multiple GNOME terminals in one window")
8093 (description
8094 "Terminator allows you to run multiple GNOME terminals in a grid and
8095+tabs, and it supports drag and drop re-ordering of terminals.")
8096 (license license:gpl2)))