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