gnu: gnome-mines: Update to 3.32.2.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
CommitLineData
995b7261 1;;; GNU Guix --- Functional package management for GNU
109da1c0 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
44a06c94 3;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
29a7c98a 4;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
7108425c 5;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
58d32305 6;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
8b877545 7;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
7aab13f1 8;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
63ad9b80 9;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
1e7464a9 10;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
7d3bb433 11;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
64a153bd 12;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
293ff8b2 13;;; Copyright © 2015 David Thompson <davet@gnu.org>
0528f70d 14;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
35e2d0cf 15;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
3c697ffd 16;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
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")
b3f95507 3193 (version "3.30.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
b3f95507 3202 "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f"))))
dfc407f3
KY
3203 (build-system glib-or-gtk-build-system)
3204 (native-inputs
3205 `(("pkg-config" ,pkg-config)
3206 ("desktop-file-utils" ,desktop-file-utils)
3207 ("intltool" ,intltool)
3208 ("itstool" ,itstool)
3209 ("xmllint" ,libxml2)))
3210 (inputs
3211 `(("gtk+" ,gtk+)
3212 ("json-glib" ,json-glib)
3213 ("libgee" ,libgee)
3214 ("librsvg" ,librsvg)
3215 ("qqwing" ,qqwing)))
3216 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3217 (synopsis "Japanese logic game")
3218 (description
3219 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3220GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3221possible while still providing features that make playing difficult Sudoku
3222more fun.")
3223 (license license:gpl2+)))
3224
88f70665
AW
3225(define-public gnome-terminal
3226 (package
3227 (name "gnome-terminal")
50888342 3228 (version "3.30.3")
88f70665
AW
3229 (source
3230 (origin
3231 (method url-fetch)
3232 (uri (string-append "mirror://gnome/sources/" name "/"
3233 (version-major+minor version) "/"
3234 name "-" version ".tar.xz"))
3235 (sha256
3236 (base32
50888342 3237 "0bar8qazk39acsif31h8i408nl82mzdcdg6p7ymak4l9pxyscxf8"))))
88f70665
AW
3238 (build-system glib-or-gtk-build-system)
3239 (arguments
3240 '(#:configure-flags
3241 (list "--disable-migration" "--disable-search-provider"
3242 "--without-nautilus-extension")
3243 #:phases
3244 (modify-phases %standard-phases
3a4de6b2 3245 (add-before 'configure 'patch-/bin/true
88f70665
AW
3246 (lambda _
3247 (substitute* "configure"
3248 (("/bin/true") (which "true"))))))))
3249 (native-inputs
3250 `(("pkg-config" ,pkg-config)
3251 ("desktop-file-utils" ,desktop-file-utils)
3252 ("intltool" ,intltool)
bcb354ad
SB
3253 ("itstool" ,itstool)
3254 ("xmllint" ,libxml2)))
68702167
MW
3255 (propagated-inputs
3256 `(("dconf" ,dconf)))
88f70665
AW
3257 (inputs
3258 `(("gtk+" ,gtk+)
3259 ("vte" ,vte)
3260 ("gnutls" ,gnutls)
88f70665
AW
3261 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3262 ("util-linux" ,util-linux)
3263 ("vala" ,vala)))
3264 (home-page "https://wiki.gnome.org/Apps/Terminal")
3265 (synopsis "Terminal emulator")
3266 (description
3267 "GNOME Terminal is a terminal emulator application for accessing a
3268UNIX shell environment which can be used to run programs available on
3269your system.
3270
3271It supports several profiles, multiple tabs and implements several
3272keyboard shortcuts.")
3273 (license license:gpl3+)))
75016d07
AW
3274
3275(define-public colord
3276 (package
3277 (name "colord")
f98be942 3278 (version "1.4.4")
75016d07
AW
3279 (source
3280 (origin
3281 (method url-fetch)
5cc3096c 3282 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
d21778aa 3283 "colord-" version ".tar.xz"))
75016d07 3284 (sha256
f98be942 3285 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
a68544a8 3286 (build-system meson-build-system)
75016d07 3287 (arguments
a68544a8
RW
3288 '(;; FIXME: One test fails:
3289 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3290 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3291 ;; application/x-zerosize
75016d07 3292 #:tests? #f
a68544a8
RW
3293 #:glib-or-gtk? #t
3294 #:configure-flags (list "-Dlocalstatedir=/var"
75016d07 3295 ;; No dep on systemd.
a68544a8 3296 "-Dsystemd=false"
75016d07
AW
3297 ;; Wants to install to global completion dir;
3298 ;; punt.
a68544a8 3299 "-Dbash_completion=false"
a68544a8
RW
3300 "-Ddaemon_user=colord"
3301 "-Dsane=true"
dac26e22 3302 "-Dvapi=true"
6f20e2dc 3303 ;; Requires spotread.
a68544a8 3304 "-Dargyllcms_sensor=false"
6f20e2dc 3305 ;; TODO: Requires docbook2x.
a68544a8 3306 "-Dman=false")
75016d07
AW
3307 #:phases
3308 (modify-phases %standard-phases
a68544a8
RW
3309 (add-before 'configure 'patch-build-system
3310 (lambda* (#:key outputs #:allow-other-keys)
3311 (substitute* "rules/meson.build"
3312 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3313 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
2a1f3e3f
LC
3314 #t))
3315 (add-before 'configure 'set-sqlite3-file-name
3316 (lambda* (#:key inputs #:allow-other-keys)
3317 ;; "colormgr dump" works by invoking the "sqlite3" command.
3318 ;; Record its absolute file name.
3319 (let ((sqlite (assoc-ref inputs "sqlite")))
3320 (substitute* "client/cd-util.c"
3321 (("\"sqlite3\"")
3322 (string-append "\"" sqlite "/bin/sqlite3\"")))
3323 #t))))))
75016d07 3324 (native-inputs
6f20e2dc 3325 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
75016d07 3326 ("gobject-introspection" ,gobject-introspection)
a68544a8 3327 ("gtk-doc" ,gtk-doc)
6f20e2dc 3328 ("intltool" ,intltool)
75016d07 3329 ("libtool" ,libtool)
dac26e22
TGR
3330 ("pkg-config" ,pkg-config)
3331 ("vala" ,vala)))
65cb2d61
SB
3332 (propagated-inputs
3333 ;; colord.pc refers to all these.
3334 `(("glib" ,glib)
6f20e2dc
TGR
3335 ("lcms" ,lcms)
3336 ("udev" ,eudev)))
75016d07 3337 (inputs
65cb2d61 3338 `(("dbus-glib" ,dbus-glib)
a68544a8 3339 ("gusb" ,gusb)
80c7dd1a 3340 ("libgudev" ,libgudev)
75016d07 3341 ("libusb" ,libusb)
75016d07 3342 ("polkit" ,polkit)
a68544a8 3343 ("python" ,python-wrapper)
6f20e2dc 3344 ("sqlite" ,sqlite)
4c928743 3345 ("sane-backends" ,sane-backends)))
57e7d748 3346 (home-page "https://www.freedesktop.org/software/colord/")
75016d07
AW
3347 (synopsis "Color management service")
3348 (description "Colord is a system service that makes it easy to manage,
3349install and generate color profiles to accurately color manage input and
3350output devices.")
3351 (license license:gpl2+)))
7b2abd00
AW
3352
3353(define-public geoclue
3354 (package
3355 (name "geoclue")
b433c7b3 3356 (version "2.4.8")
7b2abd00
AW
3357 (source
3358 (origin
3359 (method url-fetch)
5cc3096c 3360 (uri (string-append "https://www.freedesktop.org/software/" name
7b2abd00
AW
3361 "/releases/" (version-major+minor version) "/"
3362 name "-" version ".tar.xz"))
3363 (sha256
3364 (base32
b433c7b3 3365 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
fc1adab1 3366 (patches (search-patches "geoclue-config.patch"))))
7b2abd00
AW
3367 (build-system glib-or-gtk-build-system)
3368 (arguments
3369 '(;; The tests want to run the system bus.
3370 #:tests? #f
3371 #:configure-flags (list ;; Disable bits requiring ModemManager.
3372 "--disable-3g-source"
3373 "--disable-cdma-source"
3374 "--disable-modem-gps-source"
3375 "--with-dbus-service-user=geoclue")
3376 #:phases
3377 (modify-phases %standard-phases
3a4de6b2 3378 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
3379 (lambda _
3380 (substitute* "configure"
e3eb53e7
MW
3381 (("/bin/true") (which "true")))
3382 #t)))))
7b2abd00
AW
3383 (native-inputs
3384 `(("pkg-config" ,pkg-config)
758798a9 3385 ("gobject-introspection" ,gobject-introspection)
7b2abd00
AW
3386 ("intltool" ,intltool)))
3387 (inputs
54e911bc
SB
3388 `(("avahi" ,avahi)
3389 ("glib" ,glib)
7b2abd00
AW
3390 ("json-glib" ,json-glib)
3391 ("libsoup" ,libsoup)))
99adfd7d 3392 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
7b2abd00
AW
3393 (synopsis "Geolocation service")
3394 (description "Geoclue is a D-Bus service that provides location
3395information. The primary goal of the Geoclue project is to make creating
3396location-aware applications as simple as possible, while the secondary goal is
3397to ensure that no application can access location information without explicit
e881752c 3398permission from user.")
7b2abd00 3399 (license license:gpl2+)))
2bfe7437
AW
3400
3401(define-public geocode-glib
3402 (package
3403 (name "geocode-glib")
65de725f 3404 (version "3.26.1")
2bfe7437
AW
3405 (source (origin
3406 (method url-fetch)
3407 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3408 (version-major+minor version) "/"
d485cdc0 3409 "geocode-glib-" version ".tar.xz"))
2bfe7437
AW
3410 (sha256
3411 (base32
65de725f 3412 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
a7dd0c02 3413 (build-system meson-build-system)
2bfe7437 3414 (arguments
a7dd0c02
RW
3415 `(#:phases
3416 (modify-phases %standard-phases
3417 ;; The tests require a bunch of locales.
3418 (add-before 'check 'set-locales
3419 (lambda* (#:key inputs #:allow-other-keys)
3420 (setenv "GUIX_LOCPATH"
3421 (string-append (assoc-ref inputs "glibc-locales")
3422 "/lib/locale"))
3423 #t)))))
2bfe7437
AW
3424 (native-inputs
3425 `(("glib:bin" ,glib "bin") ; for glib-mkenums
a7dd0c02
RW
3426 ("glibc-locales" ,glibc-locales) ; for tests
3427 ("gettext" ,gettext-minimal)
2bfe7437 3428 ("gobject-introspection" ,gobject-introspection)
a7dd0c02 3429 ("gtk-doc" ,gtk-doc)
2bfe7437
AW
3430 ("pkg-config" ,pkg-config)
3431 ("json-glib" ,json-glib)))
3432 (propagated-inputs
3433 ;; geocode-glib-1.0.pc refers to GIO.
3434 `(("glib" ,glib)))
3435 (inputs
3436 `(("libsoup" ,libsoup)))
3437 (home-page "https://github.com/GNOME/geocode-glib/")
3438 (synopsis "Geocoding and reverse-geocoding library")
3439 (description
3440 "geocode-glib is a convenience library for geocoding (finding longitude,
3441and latitude from an address) and reverse geocoding (finding an address from
3442coordinates) using the Nominatim service. geocode-glib caches requests for
3443faster results and to avoid unnecessary server load.")
3444 (license license:lgpl2.0+)))
a1d5bb0e
AW
3445
3446(define-public upower
3447 (package
3448 (name "upower")
4088d809 3449 (version "0.99.10")
a1d5bb0e
AW
3450 (source (origin
3451 (method url-fetch)
9ec54965 3452 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
4088d809 3453 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
9ec54965 3454 "upower-" version ".tar.xz"))
a1d5bb0e
AW
3455 (sha256
3456 (base32
4088d809 3457 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
fc1adab1 3458 (patches (search-patches "upower-builddir.patch"))))
a1d5bb0e
AW
3459 (build-system glib-or-gtk-build-system)
3460 (arguments
3461 '( ;; The tests want to contact the system bus, which can't be done in the
3462 ;; build environment. The integration test can run, but the last of
3463 ;; the up-self-tests doesn't. Disable tests for now.
3464 #:tests? #f
3465 #:configure-flags (list "--localstatedir=/var"
3466 (string-append "--with-udevrulesdir="
3467 (assoc-ref %outputs "out")
9ec54965 3468 "/lib/udev/rules.d"))))
a1d5bb0e 3469 (native-inputs
ebeabe2d
SB
3470 `(("gobject-introspection" ,gobject-introspection)
3471 ("pkg-config" ,pkg-config)
a1d5bb0e 3472 ("intltool" ,intltool)
55409295
LC
3473 ("python" ,python)
3474
3475 ;; For man pages.
3476 ("libxslt" ,libxslt) ;for 'xsltproc'
3477 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3478 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 3479 (inputs
ea226291
SB
3480 `(("dbus-glib" ,dbus-glib)
3481 ("libgudev" ,libgudev)
a1d5bb0e 3482 ("libusb" ,libusb)))
d7a503fc
MB
3483 (propagated-inputs
3484 ;; In Requires of upower-glib.pc.
3485 `(("glib" ,glib)))
57e7d748 3486 (home-page "https://upower.freedesktop.org/")
a1d5bb0e
AW
3487 (synopsis "System daemon for managing power devices")
3488 (description
3489 "UPower is an abstraction for enumerating power devices,
3490listening to device events and querying history and statistics. Any
3491application or service on the system can access the org.freedesktop.UPower
3492service via the system message bus.")
3493 (license license:gpl2+)))
6a180f6f
AW
3494
3495(define-public libgweather
3496 (package
3497 (name "libgweather")
794ce8ea 3498 (version "3.28.3")
6a180f6f
AW
3499 (source (origin
3500 (method url-fetch)
3501 (uri (string-append "mirror://gnome/sources/" name "/"
3502 (version-major+minor version) "/"
3503 name "-" version ".tar.xz"))
3504 (sha256
3505 (base32
794ce8ea 3506 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
cf6cbc34 3507 (build-system meson-build-system)
6a180f6f 3508 (arguments
cf6cbc34
RW
3509 `(#:tests? #f ; one of two tests requires network access
3510 #:configure-flags
3511 `(,(string-append "-Dzoneinfo_dir="
b6072e6b 3512 (assoc-ref %build-inputs "tzdata")
cf6cbc34 3513 "/share/zoneinfo"))))
6a180f6f
AW
3514 (native-inputs
3515 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 3516 ("gobject-introspection" ,gobject-introspection)
6a180f6f 3517 ("pkg-config" ,pkg-config)
1d3fcf94 3518 ("vala" ,vala)
6a180f6f
AW
3519 ("intltool" ,intltool)))
3520 (propagated-inputs
3521 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3522 ;; libsoup.
3523 `(("gtk+" ,gtk+)
3524 ("gdk-pixbuf" ,gdk-pixbuf)
3525 ("libxml2" ,libxml2)
cf6cbc34 3526 ("libsoup" ,libsoup)
6a180f6f 3527 ("geocode-glib" ,geocode-glib)))
cf6cbc34
RW
3528 (inputs
3529 `(("tzdata" ,tzdata)))
6a180f6f
AW
3530 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3531 (synopsis "Location, time zone, and weather library for GNOME")
3532 (description
3533 "libgweather is a library to access weather information from online
3534services for numerous locations.")
3535 (license license:gpl2+)))
23a22af6
AW
3536
3537(define-public gnome-settings-daemon
3538 (package
3539 (name "gnome-settings-daemon")
4be0719f 3540 (version "3.32.1")
23a22af6
AW
3541 (source
3542 (origin
3543 (method url-fetch)
3544 (uri (string-append "mirror://gnome/sources/" name "/"
3545 (version-major+minor version) "/"
3546 name "-" version ".tar.xz"))
3547 (sha256
3548 (base32
4be0719f 3549 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
e644f9fa 3550 (build-system meson-build-system)
23a22af6 3551 (arguments
e644f9fa
RW
3552 `(#:glib-or-gtk? #t
3553 #:configure-flags
3554 (list (string-append "-Dudev_dir="
3555 (assoc-ref %outputs "out")
4d0e085b
RW
3556 "/lib/udev/rules.d/")
3557 ;; Otherwise, the RUNPATH will lack the final path component.
3558 (string-append "-Dc_link_args=-Wl,-rpath="
3559 (assoc-ref %outputs "out")
3560 "/lib/gnome-settings-daemon-3.0"))
e644f9fa 3561 ;; Color management test can't reach the colord system service.
23a22af6
AW
3562 #:tests? #f))
3563 (native-inputs
e644f9fa
RW
3564 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3565 ("pkg-config" ,pkg-config)
23a22af6
AW
3566 ("intltool" ,intltool)
3567 ("xsltproc" ,libxslt)
3568 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3569 ("docbook-xml" ,docbook-xml-4.2)
3570 ("docbook-xsl" ,docbook-xsl)))
3571 (inputs
e644f9fa
RW
3572 `(("alsa-lib" ,alsa-lib)
3573 ("colord" ,colord)
ea226291 3574 ("libgudev" ,libgudev)
23a22af6
AW
3575 ("upower" ,upower)
3576 ("polkit" ,polkit)
3577 ("pulseaudio" ,pulseaudio)
3578 ("libcanberra" ,libcanberra)
3579 ("libx11" ,libx11)
3580 ("libxtst" ,libxtst)
3581 ("lcms" ,lcms)
3582 ("libnotify" ,libnotify)
3583 ("geoclue" ,geoclue)
3584 ("geocode-glib" ,geocode-glib)
3585 ("libgweather" ,libgweather)
3586 ("gnome-desktop" ,gnome-desktop)
3587 ("nss" ,nss)
3588 ("cups" ,cups)
ec2b1921
AW
3589 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3590 ("libwacom" ,libwacom)
3591 ("librsvg" ,librsvg)
eee7878f 3592 ("xf86-input-wacom" ,xf86-input-wacom)
e644f9fa 3593 ("wayland" ,wayland)
eee7878f 3594 ("network-manager" ,network-manager)))
f032d0be 3595 (home-page "https://www.gnome.org")
23a22af6
AW
3596 (synopsis "GNOME settings daemon")
3597 (description
3598 "This package contains the daemon responsible for setting the various
3599parameters of a GNOME session and the applications that run under it. It
3600handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3601settings, themes, mouse settings, and startup of other daemons.")
3602 (license license:gpl2+)))
1e7464a9
DH
3603
3604(define-public totem-pl-parser
3605 (package
3606 (name "totem-pl-parser")
77425f04 3607 (version "3.26.3")
1e7464a9
DH
3608 (source (origin
3609 (method url-fetch)
e980cbe9
MW
3610 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3611 (version-major+minor version) "/"
1e7464a9
DH
3612 "totem-pl-parser-" version ".tar.xz"))
3613 (sha256
3614 (base32
77425f04 3615 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
1e9b19dd 3616 (build-system meson-build-system)
1e7464a9
DH
3617 (arguments
3618 ;; FIXME: Tests require gvfs.
3619 `(#:tests? #f))
3620 (native-inputs
3621 `(("intltool" ,intltool)
3622 ("glib" ,glib "bin")
4d6d8281 3623 ("gobject-introspection" ,gobject-introspection)
1e7464a9 3624 ("pkg-config" ,pkg-config)))
22a6ad6a 3625 (propagated-inputs
1e7464a9
DH
3626 `(("glib" ,glib)
3627 ("gmime" ,gmime)
1e9b19dd
RW
3628 ("libarchive" ,libarchive)
3629 ("libgcrypt" ,libgcrypt)
22a6ad6a
MW
3630 ("libxml2" ,libxml2)))
3631 (inputs
0a6e9e13 3632 `(("libsoup" ,libsoup)))
1e7464a9
DH
3633 (home-page "https://projects.gnome.org/totem")
3634 (synopsis "Library to parse and save media playlists for GNOME")
3635 (description "Totem-pl-parser is a GObjects-based library to parse and save
3636playlists in a variety of formats.")
3637 (license license:lgpl2.0+)))
3638
6b888eff
SB
3639(define-public aisleriot
3640 (package
3641 (name "aisleriot")
36ed9b46 3642 (version "3.22.9")
6b888eff
SB
3643 (source (origin
3644 (method url-fetch)
e43f622a 3645 (uri (string-append "mirror://gnome/sources/aisleriot/"
6b888eff 3646 (version-major+minor version) "/"
e43f622a 3647 "aisleriot-" version ".tar.xz"))
6b888eff
SB
3648 (sha256
3649 (base32
36ed9b46 3650 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
6b888eff
SB
3651 (build-system glib-or-gtk-build-system)
3652 (arguments
3653 '(#:configure-flags
3654 '("--with-platform=gtk-only"
3655 "--with-card-theme-formats=svg")))
3656 (native-inputs
3657 `(("desktop-file-utils" ,desktop-file-utils)
3658 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3659 ("intltool" ,intltool)
3660 ("itstool" ,itstool)
3661 ("pkg-config" ,pkg-config)
3662 ("xmllint" ,libxml2)))
3663 (inputs
3664 `(("gtk+" ,gtk+)
226e57d6 3665 ("guile" ,guile-2.2)
6b888eff
SB
3666 ("libcanberra" ,libcanberra)
3667 ("librsvg" ,librsvg)))
3668 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3669 (synopsis "Solitaire card games")
3670 (description
3671 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3672which are easy to play with the aid of a mouse.")
3673 (license license:gpl3+)))
4a79e256 3674
f828d05b
KK
3675(define-public amtk
3676 (package
3677 (name "amtk")
09c4e43f 3678 (version "5.0.1")
f828d05b
KK
3679 (source (origin
3680 (method url-fetch)
bf92ba6b 3681 (uri (string-append "mirror://gnome/sources/amtk/"
f828d05b 3682 (version-major+minor version) "/"
bf92ba6b 3683 "amtk-" version ".tar.xz"))
f828d05b
KK
3684 (sha256
3685 (base32
09c4e43f 3686 "09yy95w1s83c43mh9vha1jbb780yighf5pd2j0ygjmc68sjg871d"))))
f828d05b
KK
3687 (build-system gnu-build-system)
3688 (arguments
3689 '(#:configure-flags '("--enable-gtk-doc")))
3690 (native-inputs
3691 `(("gobject-introspection" ,gobject-introspection)
09c4e43f 3692 ("glib:bin" ,glib "bin") ; for glib-mkenums
f828d05b
KK
3693 ("gtk-doc" ,gtk-doc)
3694 ("pkg-config" ,pkg-config)))
3695 (inputs
3696 `(("glib" ,glib)
3697 ("gtk+" ,gtk+)))
3698 (home-page "https://wiki.gnome.org/Projects/Amtk")
3699 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
3700 (description
3701 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
3702It is a basic GtkUIManager replacement based on GAction. It is suitable for
3703both a traditional UI or a modern UI with a GtkHeaderBar.")
3704 (license license:lgpl2.1+)))
3705
4a79e256
SB
3706(define-public devhelp
3707 (package
3708 (name "devhelp")
11d28bd9 3709 (version "3.30.1")
4a79e256
SB
3710 (source (origin
3711 (method url-fetch)
3712 (uri (string-append "mirror://gnome/sources/" name "/"
3713 (version-major+minor version) "/"
3714 name "-" version ".tar.xz"))
3715 (sha256
3716 (base32
11d28bd9
KK
3717 "036sddvhs0blqpc2ixmjdl9vxynvkn5jpgn0jxr1fxcm4rh3q07a"))))
3718 (build-system meson-build-system)
35407f94
EF
3719 (arguments
3720 '(#:phases
3721 (modify-phases %standard-phases
3722 (add-after 'unpack 'skip-gtk-update-icon-cache
3723 ;; Don't create 'icon-theme.cache'.
3724 (lambda _
3725 (substitute* "meson_post_install.py"
3726 (("gtk-update-icon-cache") "true"))
3727 #t)))))
4a79e256
SB
3728 (native-inputs
3729 `(("intltool" ,intltool)
5dd12afc 3730 ("itstool" ,itstool)
11d28bd9
KK
3731 ("gobject-introspection" ,gobject-introspection)
3732 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4a79e256
SB
3733 ("pkg-config" ,pkg-config)))
3734 (inputs
11d28bd9
KK
3735 `(("amtk" ,amtk)
3736 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4a79e256
SB
3737 ("webkitgtk" ,webkitgtk)))
3738 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3739 (synopsis "API documentation browser for GNOME")
3740 (description
3741 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3742natively with GTK-Doc (the API reference system developed for GTK+ and used
3743throughout GNOME for API documentation).")
3744 (license license:gpl2+)))
ba421ab7
MW
3745
3746(define-public cogl
3747 (package
3748 (name "cogl")
54c69ae1 3749 (version "1.22.4")
ba421ab7
MW
3750 (source
3751 (origin
3752 (method url-fetch)
5754f0cf 3753 (uri (string-append "mirror://gnome/sources/cogl/"
ba421ab7 3754 (version-major+minor version) "/"
5754f0cf 3755 "cogl-" version ".tar.xz"))
ba421ab7 3756 (sha256
54c69ae1 3757 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
a88d5a0c
MW
3758 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3759 ;; cogl, corresponding changes may be appropriate in mutter as well.
ba421ab7
MW
3760 (build-system gnu-build-system)
3761 (native-inputs
3762 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3763 ("gobject-introspection" ,gobject-introspection)
3764 ;;("xorg-server" ,xorg-server) ; for the test suite
3765 ("pkg-config" ,pkg-config)))
3766 (propagated-inputs
3767 `(("glib" ,glib)
3768 ("gdk-pixbuf" ,gdk-pixbuf)
3769 ("libx11" ,libx11)
3770 ("libxext" ,libxext)
3771 ("libxfixes" ,libxfixes)
3772 ("libxdamage" ,libxdamage)
3773 ("libxcomposite" ,libxcomposite)
3774 ("libxrandr" ,libxrandr)))
3775 (inputs
3776 `(("mesa" ,mesa)
3777 ("cairo" ,cairo)
3778 ("pango" ,pango)
3779 ("gstreamer" ,gstreamer)
31860852
KK
3780 ("gst-plugins-base" ,gst-plugins-base)
3781 ("wayland" ,wayland)))
ba421ab7
MW
3782 (arguments
3783 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
3784 "--enable-wayland-egl-platform"
3785 "--enable-wayland-egl-server"
3786
ba421ab7
MW
3787 ;; Arrange to pass an absolute file name to
3788 ;; dlopen for libGL.so.
3789 (string-append "--with-gl-libname="
3790 (assoc-ref %build-inputs "mesa")
3791 "/lib/libGL.so"))
3792 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3793 ;; _FontTransOpen: Unable to Parse address
3794 ;; ${prefix}/share/fonts/X11/misc/
3795 #:tests? #f
3796 #; #:phases
3797 #;
3798 (modify-phases %standard-phases
3799 (add-before 'check 'start-xorg-server
3800 (lambda* (#:key inputs #:allow-other-keys)
3801 ;; The test suite requires a running X server.
3802 (system (format #f "~a/bin/Xvfb :1 &"
3803 (assoc-ref inputs "xorg-server")))
3804 (setenv "DISPLAY" ":1")
3805 #t)))))
3806 (home-page "http://www.cogl3d.org")
3807 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3808 (description
3809 "Cogl is a small library for using 3D graphics hardware to draw pretty
3810pictures. The API departs from the flat state machine style of OpenGL and is
3811designed to make it easy to write orthogonal components that can render
3812without stepping on each others toes.")
3813 (license (list license:expat ; most of the code
3814 license:bsd-3 ; cogl/cogl-point-in-poly.c
3815 license:sgifreeb2.0 ; cogl-path/tesselator/
3816 license:asl2.0)))) ; examples/android/
fb182b8a
MW
3817
3818(define-public clutter
3819 (package
3820 (name "clutter")
6a88e4ee 3821 (version "1.26.2")
fb182b8a
MW
3822 (source
3823 (origin
3824 (method url-fetch)
3825 (uri (string-append "mirror://gnome/sources/" name "/"
3826 (version-major+minor version) "/"
3827 name "-" version ".tar.xz"))
3828 (sha256
3829 (base32
6a88e4ee 3830 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
3831 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3832 ;; to clutter, corresponding changes may be appropriate in mutter as well.
fb182b8a 3833 (build-system gnu-build-system)
600233bd
LC
3834 (outputs '("out"
3835 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
3836 (native-inputs
3837 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3838 ("gobject-introspection" ,gobject-introspection)
3839 ("pkg-config" ,pkg-config)
3840 ("xsltproc" ,libxslt)))
3841 (propagated-inputs
3842 `(("cogl" ,cogl)
3843 ("cairo" ,cairo)
3844 ("atk" ,atk)
3845 ("gtk+" ,gtk+)
3846 ("json-glib" ,json-glib)
3847 ("glib" ,glib)
3848 ("libxcomposite" ,libxcomposite)
3849 ("libxdamage" ,libxdamage)
3850 ("libxext" ,libxext)
3851 ("xinput" ,xinput)))
3852 (inputs
3853 `(("libxkbcommon" ,libxkbcommon)
3854 ("udev" ,eudev)))
3855 (arguments
600233bd
LC
3856 `(#:configure-flags (list "--enable-x11-backend=yes"
3857
3858 ;; This produces share/doc/{clutter,cally}.
3859 (string-append "--with-html-dir="
3860 (assoc-ref %outputs "doc")
3861 "/share/doc"))
fb182b8a
MW
3862 ;; XXX FIXME: Get test suite working. It would probably fail in the
3863 ;; same way the cogl tests fail, since clutter is based on cogl.
3864 #:tests? #f))
3865 (home-page "http://www.clutter-project.org")
476af713 3866 (synopsis "OpenGL-based interactive canvas library")
fb182b8a 3867 (description
476af713 3868 "Clutter is an OpenGL-based interactive canvas library, designed for
fb182b8a
MW
3869creating fast, mainly 2D single window applications such as media box UIs,
3870presentations, kiosk style applications and so on.")
3871 (license license:lgpl2.0+)))
bf7f17ba
MW
3872
3873(define-public clutter-gtk
3874 (package
3875 (name "clutter-gtk")
5d1a3219 3876 (version "1.8.4")
bf7f17ba
MW
3877 (source
3878 (origin
3879 (method url-fetch)
3880 (uri (string-append "mirror://gnome/sources/" name "/"
3881 (version-major+minor version) "/"
3882 name "-" version ".tar.xz"))
3883 (sha256
3884 (base32
5d1a3219 3885 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
bf7f17ba
MW
3886 (build-system gnu-build-system)
3887 (native-inputs
3888 `(("pkg-config" ,pkg-config)
3889 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
3890 (propagated-inputs
3891 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
3892 `(("clutter" ,clutter)
3893 ("gtk+" ,gtk+)))
3894 (home-page "http://www.clutter-project.org")
476af713 3895 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
bf7f17ba 3896 (description
476af713 3897 "Clutter is an OpenGL-based interactive canvas library, designed for
bf7f17ba
MW
3898creating fast, mainly 2D single window applications such as media box UIs,
3899presentations, kiosk style applications and so on.")
3900 (license license:lgpl2.0+)))
86d6a893
MW
3901
3902(define-public clutter-gst
3903 (package
3904 (name "clutter-gst")
ba07ac19 3905 (version "3.0.27")
86d6a893
MW
3906 (source
3907 (origin
3908 (method url-fetch)
f010f89b 3909 (uri (string-append "mirror://gnome/sources/clutter-gst/"
86d6a893 3910 (version-major+minor version) "/"
f010f89b 3911 "clutter-gst-" version ".tar.xz"))
86d6a893 3912 (sha256
ba07ac19 3913 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
86d6a893
MW
3914 (build-system gnu-build-system)
3915 (native-inputs
ba07ac19 3916 `(("glib:bin" ,glib "bin") ; for glib-mkenums
86d6a893
MW
3917 ("pkg-config" ,pkg-config)
3918 ("gobject-introspection" ,gobject-introspection)))
3919 (inputs
3920 `(("clutter" ,clutter)
3921 ("gstreamer" ,gstreamer)
3922 ("gst-plugins-base" ,gst-plugins-base)))
3923 (home-page "http://www.clutter-project.org")
3924 (synopsis "Integration library for using GStreamer with Clutter")
3925 (description
3926 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3927It provides a GStreamer sink to upload frames to GL and an actor that
476af713
TGR
3928implements the ClutterGstPlayer interface using playbin. Clutter is an
3929OpenGL-based interactive canvas library.")
86d6a893 3930 (license license:lgpl2.0+)))
607a04ae 3931
30dc88d9
LC
3932(define-public libchamplain
3933 (package
3934 (name "libchamplain")
5564b2c5 3935 (version "0.12.16")
30dc88d9
LC
3936 (source (origin
3937 (method url-fetch)
3938 (uri (string-append
3939 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3940 version ".tar.xz"))
3941 (sha256
3942 (base32
5564b2c5 3943 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
30dc88d9 3944 (build-system gnu-build-system)
f7c6833f
LF
3945 (arguments '(#:configure-flags '("--enable-vala")))
3946 (native-inputs
3947 `(("gobject-introspection" ,gobject-introspection)
3948 ("pkg-config" ,pkg-config)
3949 ("vala" ,vala)))
30dc88d9
LC
3950 (propagated-inputs
3951 `(("libsoup" ,libsoup)
3952 ("sqlite" ,sqlite)
3953 ("clutter" ,clutter)
3954 ("clutter-gtk" ,clutter-gtk)
3955 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3956 ("cairo" ,cairo)
3957 ("gtk+3" ,gtk+)
3958 ("glib" ,glib)))
f032d0be 3959 (home-page "https://projects.gnome.org/libchamplain/")
30dc88d9
LC
3960 (synopsis "C library providing a ClutterActor to display maps")
3961 (description
3962 "libchamplain is a C library providing a ClutterActor to display maps.
3963It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3964and Perl bindings are also available. It supports numerous free map sources
3965such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3966 (license license:lgpl2.1+)))
3967
607a04ae
MW
3968(define-public gom
3969 (package
3970 (name "gom")
0510440b 3971 (version "0.3.2")
607a04ae
MW
3972 (source
3973 (origin
3974 (method url-fetch)
6c8a0b6f 3975 (uri (string-append "mirror://gnome/sources/gom/"
607a04ae 3976 (version-major+minor version) "/"
6c8a0b6f 3977 "gom-" version ".tar.xz"))
607a04ae
MW
3978 (sha256
3979 (base32
0510440b 3980 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
3981 (build-system gnu-build-system)
3982 (native-inputs
3983 `(("intltool" ,intltool)
3984 ("pkg-config" ,pkg-config)
3985 ("gobject-introspection" ,gobject-introspection)))
3986 (inputs
3987 `(("glib" ,glib)
3988 ("gdk-pixbuf" ,gdk-pixbuf)
3989 ("sqlite" ,sqlite)))
3990 ;; XXX TODO: Figure out how to run the test suite.
3991 (arguments `(#:tests? #f))
3992 (home-page "https://wiki.gnome.org/Projects/Gom")
3993 (synopsis "Object mapper from GObjects to SQLite")
3994 (description
3995 "Gom provides an object mapper from GObjects to SQLite. It helps you
3996write applications that need to store structured data as well as make complex
3997queries upon that data.")
3998 (license license:lgpl2.1+)))
b7a3cf11 3999
865aacc9 4000(define-public libgnome-games-support
f09520db 4001 (package
865aacc9 4002 (name "libgnome-games-support")
4c6d15cf 4003 (version "1.4.4")
f09520db
SB
4004 (source (origin
4005 (method url-fetch)
2d8dca9d 4006 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
f09520db 4007 (version-major+minor version) "/"
2d8dca9d 4008 "libgnome-games-support-" version ".tar.xz"))
f09520db
SB
4009 (sha256
4010 (base32
4c6d15cf 4011 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
f09520db
SB
4012 (build-system gnu-build-system)
4013 (arguments
4014 '(#:phases
4015 (modify-phases %standard-phases
4016 (add-before 'check 'pre-check
4017 (lambda _
865aacc9 4018 ;; Tests require a writable HOME.
f09520db
SB
4019 (setenv "HOME" (getcwd))
4020 #t)))))
4021 (native-inputs
4022 `(("intltool" ,intltool)
4023 ("pkg-config" ,pkg-config)
4024 ("vala" ,vala)))
4025 (propagated-inputs
865aacc9 4026 ;; Required by libgnome-games-support-1.0.pc
f09520db
SB
4027 `(("gtk+" ,gtk+)
4028 ("libgee" ,libgee)))
4029 (home-page "https://www.gnome.org/")
4030 (synopsis "Useful functionality shared among GNOME games")
4031 (description
865aacc9 4032 "libgnome-games-support is a small library intended for internal use by
f09520db
SB
4033GNOME Games, but it may be used by others.")
4034 (license license:lgpl3+)))
4035
b7a3cf11
SB
4036(define-public gnome-klotski
4037 (package
4038 (name "gnome-klotski")
36828576 4039 (version "3.22.3")
b7a3cf11
SB
4040 (source (origin
4041 (method url-fetch)
4042 (uri (string-append "mirror://gnome/sources/" name "/"
4043 (version-major+minor version) "/"
4044 name "-" version ".tar.xz"))
4045 (sha256
4046 (base32
36828576 4047 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
b7a3cf11
SB
4048 (build-system glib-or-gtk-build-system)
4049 (native-inputs
4050 `(("desktop-file-utils" ,desktop-file-utils)
4051 ("intltool" ,intltool)
4052 ("itstool" ,itstool)
bcb354ad
SB
4053 ("pkg-config" ,pkg-config)
4054 ("xmllint" ,libxml2)))
b7a3cf11
SB
4055 (inputs
4056 `(("gtk+" ,gtk+)
f4eae76f 4057 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
4058 ("librsvg" ,librsvg)))
4059 (home-page "https://wiki.gnome.org/Apps/Klotski")
4060 (synopsis "Sliding block puzzles")
4061 (description
4062 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4063the patterned block to the area bordered by green markers. To do so, you will
4064need to slide other blocks out of the way. Complete each puzzle in as few moves
4065as possible!")
4066 (license license:gpl2+)))
8d4791bf
MW
4067
4068(define-public grilo
4069 (package
4070 (name "grilo")
d48d4c98 4071 (version "0.3.9")
8d4791bf
MW
4072 (source
4073 (origin
4074 (method url-fetch)
4075 (uri (string-append "mirror://gnome/sources/" name "/"
4076 (version-major+minor version) "/"
4077 name "-" version ".tar.xz"))
4078 (sha256
4079 (base32
d48d4c98
KK
4080 "1wnabc69730jsv8dljj5ik8g7p581nw60mw1mkgamkzjcb6821bk"))))
4081 (build-system meson-build-system)
8d4791bf
MW
4082 (native-inputs
4083 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4084 ("intltool" ,intltool)
4085 ("pkg-config" ,pkg-config)
d48d4c98
KK
4086 ("gobject-introspection" ,gobject-introspection)
4087 ("gtk-doc" ,gtk-doc)
4088 ("vala" ,vala)))
8d4791bf 4089 (inputs
6d7273a0
KK
4090 `(("cyrus-sasl" ,cyrus-sasl)
4091 ("glib" ,glib)
8d4791bf
MW
4092 ("gtk+" ,gtk+)
4093 ("libxml2" ,libxml2)
6d7273a0 4094 ("liboauth" ,liboauth)
8d4791bf
MW
4095 ("libsoup" ,libsoup)
4096 ("totem-pl-parser" ,totem-pl-parser)))
8d4791bf
MW
4097 (native-search-paths
4098 (list (search-path-specification
4099 (variable "GRL_PLUGIN_PATH")
4100 (files (list (string-append "lib/grilo-"
4101 (version-major+minor version)))))))
d48d4c98 4102 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
8d4791bf
MW
4103 (synopsis "Framework for discovering and browsing media")
4104 (description
4105 "Grilo is a framework focused on making media discovery and browsing easy
4106for application developers.")
4107 (license license:lgpl2.1+)))
7b212526
MW
4108
4109(define-public grilo-plugins
4110 (package
4111 (name "grilo-plugins")
22753632 4112 (version "0.3.3")
7b212526
MW
4113 (source
4114 (origin
4115 (method url-fetch)
4116 (uri (string-append "mirror://gnome/sources/" name "/"
4117 (version-major+minor version) "/"
4118 name "-" version ".tar.xz"))
4119 (sha256
4120 (base32
22753632 4121 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
7b212526
MW
4122 (build-system gnu-build-system)
4123 (native-inputs
4124 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4125 ("intltool" ,intltool)
4126 ("itstool" ,itstool)
4127 ("pkg-config" ,pkg-config)))
4128 (inputs
4129 `(("grilo" ,grilo)
4130 ("glib" ,glib)
4131 ("libxml2" ,libxml2)
4132 ("sqlite" ,sqlite)
4133 ("gom" ,gom)
4134 ;; XXX TODO: Add oauth
4135 ;; XXX TODO: Add goa
4136 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
4137 ;; XXX TODO: Add lua (needs help finding it)
4138 ("json-glib" ,json-glib)
4139 ("avahi" ,avahi)
4140 ("gmime" ,gmime)
4141 ("libsoup" ,libsoup)
4142 ("libarchive" ,libarchive)
4143 ("totem-pl-parser" ,totem-pl-parser)))
4144 (arguments
4145 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
4146 %output
4147 "/lib/grilo-"
4148 ,(version-major+minor version)))
4149 ;; XXX FIXME: Try to get the test suite working. It appears to require
4150 ;; a working system dbus. Inside the build container, all tests fail
4151 ;; with: "assertion failed: (source)". Outside of the build container,
4152 ;; most tests succeed.
4153 #:tests? #f))
f032d0be 4154 (home-page "https://live.gnome.org/Grilo")
7b212526
MW
4155 (synopsis "Plugins for the Grilo media discovery library")
4156 (description
4157 "Grilo is a framework focused on making media discovery and browsing easy
4158for application developers.")
4159 (license license:lgpl2.1+)))
4e3fc547
MW
4160
4161(define-public totem
4162 (package
4163 (name "totem")
995ef5ea 4164 (version "3.32.1")
4e3fc547
MW
4165 (source
4166 (origin
4167 (method url-fetch)
4168 (uri (string-append "mirror://gnome/sources/" name "/"
4169 (version-major+minor version) "/"
4170 name "-" version ".tar.xz"))
4171 (sha256
4172 (base32
995ef5ea 4173 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
7ad81b8b 4174 (build-system meson-build-system)
4e3fc547
MW
4175 (native-inputs
4176 `(("pkg-config" ,pkg-config)
4177 ("desktop-file-utils" ,desktop-file-utils)
4178 ("gobject-introspection" ,gobject-introspection)
7ad81b8b 4179 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4e3fc547 4180 ("intltool" ,intltool)
bcb354ad 4181 ("itstool" ,itstool)
995ef5ea
KK
4182 ("xmllint" ,libxml2)
4183 ("python-pylint" ,python-pylint)
4184 ("xorg-server" ,xorg-server-for-tests)))
4e3fc547
MW
4185 (propagated-inputs
4186 `(("dconf" ,dconf)))
4187 (inputs
4188 `(("gtk+" ,gtk+)
4189 ("gdk-pixbuf" ,gdk-pixbuf)
4190 ("atk" ,atk)
4191 ("cairo" ,cairo)
4192 ("dbus-glib" ,dbus-glib)
4193 ("clutter" ,clutter)
4194 ("clutter-gtk" ,clutter-gtk)
4195 ("clutter-gst" ,clutter-gst)
6a6db57f 4196 ("xorgproto" ,xorgproto)
4e3fc547
MW
4197 ("libxxf86vm" ,libxxf86vm)
4198 ("libxtst" ,libxtst)
4199 ("libxrandr" ,libxrandr)
4200 ("libxml2" ,libxml2)
4201 ("libsoup" ,libsoup)
4202 ("libpeas" ,libpeas)
4203 ("librsvg" ,librsvg)
4204 ("lirc" ,lirc)
4205 ("gnome-desktop" ,gnome-desktop)
4206 ("gstreamer" ,gstreamer)
4207 ("gst-plugins-base" ,gst-plugins-base)
4208 ("gst-plugins-good" ,gst-plugins-good)
4209 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4210 ("adwaita-icon-theme" ,adwaita-icon-theme)
d7b63ba9 4211 ("python" ,python)
995ef5ea 4212 ("python-pygobject" ,python-pygobject)
4e3fc547
MW
4213 ("totem-pl-parser" ,totem-pl-parser)
4214 ("grilo" ,grilo)
4215 ("grilo-plugins" ,grilo-plugins)
4e3fc547
MW
4216 ("vala" ,vala)))
4217 (arguments
7ad81b8b
LC
4218 `(#:glib-or-gtk? #t
4219
4220 ;; Disable automatic GStreamer plugin installation via PackageKit and
ec5c24f9 4221 ;; all that.
7ad81b8b 4222 #:configure-flags '("-D" "enable-easy-codec-installation=no"
a388c951
LC
4223
4224 ;; Do not build .a files for the plugins, it's
4225 ;; completely useless. This saves 2 MiB.
7ad81b8b 4226 "--default-library" "shared")
ec5c24f9 4227 #:phases
4e3fc547 4228 (modify-phases %standard-phases
d51b19ad
EF
4229 (add-after 'unpack 'skip-gtk-update-icon-cache
4230 ;; Don't create 'icon-theme.cache'.
4231 (lambda _
4232 (substitute* "meson_post_install.py"
4233 (("gtk-update-icon-cache") "true"))
4234 #t))
6368eb39
DM
4235 (add-before
4236 'install 'disable-cache-generation
4237 (lambda _
4238 (setenv "DESTDIR" "/")
4239 #t))
995ef5ea
KK
4240 (add-before
4241 'check 'pre-check
4242 (lambda _
4243 ;; Tests require a running X server.
4244 (system "Xvfb :1 &")
4245 (setenv "DISPLAY" ":1")
4246 #t))
4e3fc547
MW
4247 (add-after
4248 'install 'wrap-totem
4249 (lambda* (#:key inputs outputs #:allow-other-keys)
4250 (let ((out (assoc-ref outputs "out"))
4251 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4252 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4253 (wrap-program (string-append out "/bin/totem")
4254 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
39c853bd
AW
4255 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4256 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4257 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4e3fc547
MW
4258 #t)))))
4259 (home-page "https://wiki.gnome.org/Apps/Videos")
4260 (synopsis "Simple media player for GNOME based on GStreamer")
4261 (description "Totem is a simple yet featureful media player for GNOME
4262which can read a large number of file formats.")
4263 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4264 ;; to be used and distributed together with GStreamer and Totem. See
4265 ;; file://COPYING in the source distribution for details.
4266 (license license:gpl2+)))
f0afb0c8
DH
4267
4268(define-public rhythmbox
4269 (package
4270 (name "rhythmbox")
8190e1ed 4271 (version "3.4.3")
f0afb0c8
DH
4272 (source (origin
4273 (method url-fetch)
4274 (uri (string-append "mirror://gnome/sources/" name "/"
4275 (version-major+minor version) "/"
4276 name "-" version ".tar.xz"))
4277 (sha256
4278 (base32
8190e1ed 4279 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
f0afb0c8
DH
4280 (build-system glib-or-gtk-build-system)
4281 (arguments
4282 `(#:configure-flags
4283 (list "--enable-lirc"
4284 "--enable-python"
4285 "--enable-vala"
4286 "--with-brasero"
4287 "--with-gudev"
4288 "--with-libsecret")
4289 #:phases
4290 (modify-phases %standard-phases
4291 (add-after
4292 'install 'wrap-rhythmbox
4293 (lambda* (#:key inputs outputs #:allow-other-keys)
4294 (let ((out (assoc-ref outputs "out"))
4295 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4296 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
4297 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4298 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
4299 (wrap-program (string-append out "/bin/rhythmbox")
4300 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4301 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
4302 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4303 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
4304 #t)))))
4305 (propagated-inputs
4306 `(("dconf" ,dconf)))
4307 (native-inputs
bcb354ad
SB
4308 `(("itstool" ,itstool)
4309 ("intltool" ,intltool)
f0afb0c8
DH
4310 ("glib" ,glib "bin")
4311 ("gobject-introspection" ,gobject-introspection)
4312 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
4313 ("pkg-config" ,pkg-config)
4314 ("xmllint" ,libxml2)))
f0afb0c8
DH
4315 (inputs
4316 `(("json-glib" ,json-glib)
4317 ("tdb" ,tdb)
4318 ("gnome-desktop" ,gnome-desktop)
4319 ("python" ,python)
4320 ("python-pygobject" ,python2-pygobject)
4321 ("vala" ,vala)
4322 ("gmime" ,gmime)
f0afb0c8
DH
4323 ("adwaita-icon-theme" ,adwaita-icon-theme)
4324 ("grilo" ,grilo)
4325 ("grilo-plugins" ,grilo-plugins)
4326 ("gstreamer" ,gstreamer)
4327 ("gst-plugins-base" ,gst-plugins-base)
4328 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 4329 ("totem-pl-parser" ,totem-pl-parser)
ea226291 4330 ("libgudev" ,libgudev)
f0afb0c8
DH
4331 ;;("libmtp" ,libmtp) FIXME: Not detected
4332 ("libsecret" ,libsecret)
4333 ("libsoup" ,libsoup)
4334 ("libnotify" ,libnotify)
4335 ("libpeas" ,libpeas)
4336 ("lirc" ,lirc)
4337 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4338 ;;("clutter" ,clutter)
4339 ;;("clutter-gtk" ,clutter-gtk)
4340 ;;("clutter-gst" ,clutter-gst)
4341 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4342 ("atk" ,atk)
4343 ("pango" ,pango)
4344 ("gtk+" ,gtk+)
4345 ;; TODO:
4346 ;; * libgpod
4347 ;; * mx
f0afb0c8
DH
4348 ("brasero" ,brasero)))
4349 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4350 (synopsis "Music player for GNOME")
4351 (description "Rhythmbox is a music playing application for GNOME. It
4352supports playlists, song ratings, and any codecs installed through gstreamer.")
4353 (license license:gpl2+)))
f70d8383
DH
4354
4355(define-public eog
4356 (package
4357 (name "eog")
b0f24a82 4358 (version "3.32.2")
f70d8383
DH
4359 (source (origin
4360 (method url-fetch)
4361 (uri (string-append "mirror://gnome/sources/" name "/"
4362 (version-major+minor version) "/"
4363 name "-" version ".tar.xz"))
4364 (sha256
4365 (base32
b0f24a82 4366 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
61fb581f 4367 (build-system meson-build-system)
f70d8383 4368 (arguments
34c44a34
RW
4369 `(#:configure-flags
4370 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4371 (list (string-append "-Dc_link_args=-Wl,-rpath="
4372 (assoc-ref %outputs "out") "/lib/eog"))
4373 #:phases
f70d8383 4374 (modify-phases %standard-phases
7a034665
EF
4375 (add-after 'unpack 'skip-gtk-update-icon-cache
4376 ;; Don't create 'icon-theme.cache'.
4377 (lambda _
4378 (substitute* "meson_post_install.py"
4379 (("gtk-update-icon-cache") "true"))
4380 #t))
61fb581f
RW
4381 (add-after 'install 'wrap-eog
4382 (lambda* (#:key outputs #:allow-other-keys)
4383 (let ((out (assoc-ref outputs "out"))
4384 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4385 (wrap-program (string-append out "/bin/eog")
4386 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4387 #t)))))
f70d8383
DH
4388 (propagated-inputs
4389 `(("dconf" ,dconf)))
4390 (native-inputs
4391 `(("intltool" ,intltool)
b3546174 4392 ("itstool" ,itstool)
f70d8383
DH
4393 ("glib" ,glib "bin")
4394 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
4395 ("pkg-config" ,pkg-config)
4396 ("xmllint" ,libxml2)))
f70d8383
DH
4397 (inputs
4398 `(("gnome-desktop" ,gnome-desktop)
4399 ("shared-mime-info" ,shared-mime-info)
4400 ("adwaita-icon-theme" ,adwaita-icon-theme)
4401 ("exempi" ,exempi)
4402 ("lcms" ,lcms)
4403 ("libexif" ,libexif)
4404 ("libpeas" ,libpeas)
4405 ("libjpeg" ,libjpeg)
4406 ("librsvg" ,librsvg)
4407 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4408 ("gtk+" ,gtk+)))
4409 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4410 (synopsis "GNOME image viewer")
4411 (description "Eye of GNOME is the GNOME image viewer. It
4412supports image conversion, rotation, and slideshows.")
4413 (license license:gpl2+)))
41af5e7b 4414
0c3f8cb8
LC
4415(define-public eog-plugins
4416 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4417 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4418 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4419 ;; 'XDG_DATA_DIRS' appropriately set.
4420 (package
4421 (name "eog-plugins")
54b74cc6 4422 (version "3.26.4")
0c3f8cb8
LC
4423 (source (origin
4424 (method url-fetch)
f3b88ed2 4425 (uri (string-append "mirror://gnome/sources/eog-plugins/"
0c3f8cb8 4426 (version-major+minor version) "/"
f3b88ed2 4427 "eog-plugins-" version ".tar.xz"))
0c3f8cb8
LC
4428 (sha256
4429 (base32
54b74cc6 4430 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
0c3f8cb8
LC
4431 (build-system gnu-build-system)
4432 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4433 (synopsis "Extensions for the Eye of GNOME image viewer")
4434 (native-inputs
4435 `(("pkg-config" ,pkg-config)
4436 ("gettext" ,gnu-gettext)))
4437 (inputs
4438 `(("eog" ,eog)
4439 ("glib" ,glib)
4440 ("gtk+" ,gtk+)
4441 ("libpeas" ,libpeas)
4442 ("libexif" ,libexif)
4443 ("libchamplain" ,libchamplain)))
4444 (description
4445 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4446notably:
4447
4448@itemize
4449@item @dfn{EXIF Display}, which displays camera (EXIF) information;
4450@item @dfn{Map}, which displays a map of where the picture was taken on the
4451side panel;
4452@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4453@end itemize\n")
4454
4455 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4456 ;; long suspicious byte stream that goes to a
4457 ;; ".gresource.eog_postasa_plugin" ELF section.
4458 (license license:gpl2+)))
4459
41af5e7b
SB
4460(define-public libgudev
4461 (package
4462 (name "libgudev")
b78f5118 4463 (version "232")
41af5e7b
SB
4464 (source (origin
4465 (method url-fetch)
4466 (uri (string-append "mirror://gnome/sources/" name "/"
4467 version "/" name "-" version ".tar.xz"))
4468 (sha256
4469 (base32
b78f5118 4470 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
41af5e7b 4471 (build-system gnu-build-system)
b78f5118
RW
4472 (arguments
4473 '(#:configure-flags
4474 ;; umockdev depends on libgudev.
4475 (list "--disable-umockdev")))
41af5e7b
SB
4476 (native-inputs
4477 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4478 ("gobject-introspection" ,gobject-introspection)
4479 ("pkg-config" ,pkg-config)))
4480 (propagated-inputs
4481 `(("glib" ,glib))) ; required by gudev-1.0.pc
4482 (inputs
4483 `(("udev" ,eudev)))
4484 (home-page "https://wiki.gnome.org/Projects/libgudev")
4485 (synopsis "GObject bindings for libudev")
4486 (description
4487 "This library provides GObject bindings for libudev. It was originally
4488part of udev-extras, then udev, then systemd. It's now a project on its own.")
4489 (license license:lgpl2.1+)))
3dc8828f
SB
4490
4491(define-public gvfs
4492 (package
4493 (name "gvfs")
12fe4846 4494 (version "1.40.1")
3dc8828f
SB
4495 (source (origin
4496 (method url-fetch)
1d68eb32 4497 (uri (string-append "mirror://gnome/sources/gvfs/"
3dc8828f 4498 (version-major+minor version) "/"
1d68eb32 4499 "gvfs-" version ".tar.xz"))
3dc8828f
SB
4500 (sha256
4501 (base32
12fe4846 4502 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
e762d943 4503 (build-system meson-build-system)
3dc8828f 4504 (arguments
e762d943
RW
4505 '(#:glib-or-gtk? #t
4506 #:configure-flags
4507 (list "-Dsystemduserunitdir=no"
4508 "-Dtmpfilesdir=no"
4509 ;; Otherwise, the RUNPATH will lack the final path component.
4510 (string-append "-Dc_link_args=-Wl,-rpath="
4511 (assoc-ref %outputs "out") "/lib/gvfs"))))
3dc8828f
SB
4512 (native-inputs
4513 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
0ab9f949
RW
4514 ("gettext" ,gettext-minimal)
4515 ("gtk-doc" ,gtk-doc)
3dc8828f
SB
4516 ("pkg-config" ,pkg-config)
4517 ("xsltproc" ,libxslt)))
4518 (inputs
4519 `(("avahi" ,avahi)
4520 ("docbook-xml" ,docbook-xml-4.2)
4521 ("docbook-xsl" ,docbook-xsl)
4522 ("dbus" ,dbus)
e762d943 4523 ("elogind" ,elogind)
3dc8828f 4524 ("fuse" ,fuse)
24a78aa6 4525 ("gcr" ,gcr)
3dc8828f 4526 ("glib" ,glib)
e762d943 4527 ("gnome-online-accounts" ,gnome-online-accounts)
3dc8828f
SB
4528 ("libarchive" ,libarchive)
4529 ("libbluray" ,libbluray)
8852ca24 4530 ("libcap" ,libcap)
3dc8828f
SB
4531 ("libcdio-paranoia" ,libcdio-paranoia)
4532 ("libgcrypt" ,libgcrypt)
e762d943 4533 ("libgdata" ,libgdata)
3dc8828f
SB
4534 ("libgphoto2" ,libgphoto2)
4535 ("libgudev" ,libgudev)
0ab9f949 4536 ("libimobiledevice" ,libimobiledevice)
3dc8828f 4537 ("libmtp" ,libmtp)
e762d943 4538 ("libnfs" ,libnfs)
3dc8828f
SB
4539 ("libsecret" ,libsecret)
4540 ("libsmbclient" ,samba)
4541 ("libsoup" ,libsoup)
4542 ("libxml2" ,libxml2)
e762d943 4543 ("openssh" ,openssh)
8852ca24 4544 ("polkit" ,polkit)
3dc8828f
SB
4545 ("udisks" ,udisks)))
4546 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 4547 (synopsis "Userspace virtual file system for GIO")
3dc8828f 4548 (description
8f65585b 4549 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
4550abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4551to all applications using the GIO API. It also supports exposing the GVFS
4552mounts to non-GIO applications using FUSE.
4553
4554GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4555DAV, and others.")
4556 (license license:lgpl2.0+)))
7c88b6bd
AW
4557
4558(define-public gusb
4559 (package
4560 (name "gusb")
536b3274 4561 (version "0.3.0")
7c88b6bd 4562 (source (origin
bbfb36f9
EF
4563 (method git-fetch)
4564 (uri (git-reference
4565 (url "https://github.com/hughsie/libgusb.git")
4566 (commit version)))
4567 (file-name (git-file-name name version))
7c88b6bd
AW
4568 (sha256
4569 (base32
bbfb36f9 4570 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
536b3274 4571 (build-system meson-build-system)
7c88b6bd 4572 (native-inputs
536b3274 4573 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
4574 ("pkg-config" ,pkg-config)
4575 ("vala" ,vala)
7c88b6bd
AW
4576 ("gtk-doc" ,gtk-doc)))
4577 (propagated-inputs
4578 ;; Both of these are required by gusb.pc.
4579 `(("glib" ,glib)
4580 ("libusb" ,libusb)))
4581 (arguments
536b3274 4582 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 4583 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 4584 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
4585 (description
4586 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4587asynchronous control, bulk and interrupt transfers with proper cancellation
4588and integration into a mainloop. This makes it easy to integrate low level
4589USB transfers with your high-level application or system daemon.")
4590 (license license:lgpl2.1+)))
0abe1d86
AW
4591
4592(define-public simple-scan
4593 (package
4594 (name "simple-scan")
4afb7dd9 4595 (version "3.34.2")
d9f6d587
TGR
4596 (source
4597 (origin
4598 (method url-fetch)
4599 (uri (string-append "mirror://gnome/sources/simple-scan/"
4600 (version-major+minor version) "/"
4601 "simple-scan-" version ".tar.xz"))
4602 (sha256
4afb7dd9 4603 (base32 "1fk3g4f9slckqfwm576jrjq1d1qihw0dlgzdf00ns7qbhzb0kxsp"))))
d9f6d587
TGR
4604 (build-system meson-build-system)
4605 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
4606 (arguments
4607 '(#:glib-or-gtk? #t))
0abe1d86
AW
4608 (inputs
4609 `(("gtk" ,gtk+)
4610 ("zlib" ,zlib)
4611 ("cairo" ,cairo)
c501f592 4612 ("colord" ,colord)
0abe1d86
AW
4613 ("gdk-pixbuf" ,gdk-pixbuf)
4614 ("gusb" ,gusb)
4c928743 4615 ("libsane" ,sane-backends)))
0abe1d86 4616 (native-inputs
b94a6ca0 4617 `(("gettext" ,gettext-minimal)
0abe1d86 4618 ("itstool" ,itstool)
c501f592 4619 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
0abe1d86 4620 ("pkg-config" ,pkg-config)
bcb354ad
SB
4621 ("vala" ,vala)
4622 ("xmllint" ,libxml2)))
dff0eedb 4623 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
0abe1d86 4624 (synopsis "Document and image scanner")
d9f6d587
TGR
4625 (description
4626 "Document Scanner is an easy-to-use application that lets you connect your
4627scanner and quickly capture images and documents in an appropriate format. It
4628supports any scanner for which a suitable SANE driver is available, which is
4629almost all of them.")
0abe1d86 4630 (license license:gpl3+)))
7549f984 4631
ab466d79
RW
4632(define-public eolie
4633 (package
4634 (name "eolie")
fa8ef3ed 4635 (version "0.9.63")
ab466d79
RW
4636 (source (origin
4637 (method url-fetch)
00014781 4638 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
fa8ef3ed 4639 "uploads/d42b466752729a0d3fa828a721e25043/"
00014781 4640 "eolie-" version ".tar.xz"))
ab466d79
RW
4641 (sha256
4642 (base32
fa8ef3ed 4643 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
00014781 4644 (build-system meson-build-system)
ab466d79 4645 (arguments
00014781
RW
4646 `(#:glib-or-gtk? #t
4647 #:phases
ab466d79 4648 (modify-phases %standard-phases
f0c68100
EF
4649 (add-after 'unpack 'skip-gtk-update-icon-cache
4650 ;; Don't create 'icon-theme.cache'.
4651 (lambda _
4652 (substitute* "meson_post_install.py"
4653 (("gtk-update-icon-cache") "true"))
4654 #t))
ab466d79
RW
4655 (add-after 'wrap 'wrap-more
4656 (lambda* (#:key inputs outputs #:allow-other-keys)
4657 (let* ((out (assoc-ref outputs "out"))
4658 ;; These libraries must be on LD_LIBRARY_PATH.
4659 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4660 "atk" "gtk+" "gsettings-desktop-schemas"
4661 "gobject-introspection"))
4662 (path (string-join
4663 (map (lambda (lib)
4664 (string-append (assoc-ref inputs lib) "/lib"))
4665 libs)
4666 ":")))
4667 (wrap-program (string-append out "/bin/eolie")
4668 `("LD_LIBRARY_PATH" ":" prefix (,path))
4669 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4670 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4671 #t)))))
4672 (native-inputs
f85ca6ed 4673 `(("intltool" ,intltool)
ab466d79 4674 ("itstool" ,itstool)
d95f1041 4675 ("pkg-config" ,pkg-config)
d95f1041 4676 ("python" ,python)
f0c68100 4677 ("glib:bin" ,glib "bin")))
ab466d79
RW
4678 (inputs
4679 `(("gobject-introspection" ,gobject-introspection)
4680 ("glib-networking" ,glib-networking)
4681 ("cairo" ,cairo)
4682 ("gtk+" ,gtk+)
4683 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4684 ("python" ,python-wrapper)
d72f76df 4685 ("python-dateutil" ,python-dateutil)
00014781 4686 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
4687 ("python-pygobject" ,python-pygobject)
4688 ("python-pycairo" ,python-pycairo)
00014781 4689 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
4690 ("libsecret" ,libsecret)
4691 ("gtkspell3" ,gtkspell3)
4692 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 4693 ("webkitgtk" ,webkitgtk)))
166b2c97 4694 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
4695 (synopsis "Web browser for GNOME")
4696 (description
4697 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4698a secret password store, an adblocker, and a modern UI.")
4699 (license license:gpl3+)))
4700
7549f984
SB
4701(define-public epiphany
4702 (package
4703 (name "epiphany")
644b60d4 4704 (version "3.32.3")
7549f984
SB
4705 (source (origin
4706 (method url-fetch)
dd3266ec 4707 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 4708 (version-major+minor version) "/"
dd3266ec 4709 "epiphany-" version ".tar.xz"))
7549f984
SB
4710 (sha256
4711 (base32
644b60d4 4712 "0gx386k1p78ppjhvdanv99hfiwana0ccn9d499qrp0rvlicnijrw"))))
fc5c5b92
R
4713
4714 (build-system meson-build-system)
7549f984
SB
4715 (arguments
4716 ;; FIXME: tests run under Xvfb, but fail with:
4717 ;; /src/bookmarks/ephy-bookmarks/create:
4718 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4719 ;; subsystem
4720 ;; FAIL
6f48d9db 4721 '(#:tests? #f
e19f9c24 4722 #:glib-or-gtk? #t
bb7ff88f
EF
4723 #:phases
4724 (modify-phases %standard-phases
4725 (add-after 'unpack 'skip-gtk-update-icon-cache
4726 ;; Don't create 'icon-theme.cache'.
4727 (lambda _
4728 (substitute* "post_install.py"
4729 (("gtk-update-icon-cache") "true"))
4730 #t)))
e19f9c24
LF
4731 #:configure-flags
4732 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4733 (list (string-append "-Dc_link_args=-Wl,-rpath="
4734 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
4735 (propagated-inputs
4736 `(("dconf" ,dconf)))
7549f984 4737 (native-inputs
fc5c5b92
R
4738 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4739 ("glib:bin" ,glib "bin") ; for glib-mkenums
fc5c5b92 4740 ("intltool" ,intltool)
7549f984 4741 ("itstool" ,itstool)
bcb354ad
SB
4742 ("pkg-config" ,pkg-config)
4743 ("xmllint" ,libxml2)))
7549f984
SB
4744 (inputs
4745 `(("avahi" ,avahi)
4746 ("gcr" ,gcr)
fc5c5b92 4747 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
4748 ("glib-networking" ,glib-networking)
4749 ("gnome-desktop" ,gnome-desktop)
4750 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 4751 ("json-glib" ,json-glib)
7549f984 4752 ("iso-codes" ,iso-codes)
8748e29c 4753 ("libdazzle" ,libdazzle)
7549f984
SB
4754 ("libnotify" ,libnotify)
4755 ("libsecret" ,libsecret)
7549f984 4756 ("libxslt" ,libxslt)
fc5c5b92 4757 ("nettle" ,nettle) ; for hogweed
7549f984 4758 ("sqlite" ,sqlite)
f85ca6ed 4759 ("webkitgtk" ,webkitgtk)))
7549f984
SB
4760 (home-page "https://wiki.gnome.org/Apps/Web")
4761 (synopsis "GNOME web browser")
4762 (description
4763 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4764principles are simplicity and standards compliance.")
4765 (license license:gpl2+)))
a3856b2c
SB
4766
4767(define-public d-feet
4768 (package
4769 (name "d-feet")
458e9221 4770 (version "0.3.14")
a3856b2c
SB
4771 (source (origin
4772 (method url-fetch)
4773 (uri (string-append "mirror://gnome/sources/" name "/"
4774 (version-major+minor version) "/"
4775 name "-" version ".tar.xz"))
4776 (sha256
4777 (base32
458e9221 4778 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
4779 (build-system glib-or-gtk-build-system)
4780 (arguments
4781 '(#:out-of-source? #f ; tests need to run in the source directory.
4782 #:phases
4783 (modify-phases %standard-phases
4784 (add-before
4785 'check 'pre-check
86aff791 4786 (lambda _
a3856b2c
SB
4787 ;; The test suite requires a running X server.
4788 (system "Xvfb :1 &")
4789 (setenv "DISPLAY" ":1")
4790 ;; Don't fail on missing '/etc/machine-id'.
4791 (setenv "DBUS_FATAL_WARNINGS" "0")
4792 ;; tests.py and window.py don't meet E402:
4793 ;; E402 module level import not at top of file
4794 (substitute* "src/tests/Makefile"
86aff791
MW
4795 (("--ignore=E123") "--ignore=E123,E402"))
4796 #t))
a3856b2c
SB
4797 (add-after
4798 'install 'wrap-program
4799 (lambda* (#:key outputs #:allow-other-keys)
4800 (let ((prog (string-append (assoc-ref outputs "out")
4801 "/bin/d-feet")))
4802 (wrap-program prog
4803 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
4804 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4805 #t))))))
a3856b2c
SB
4806 (native-inputs
4807 `(("intltool" ,intltool)
4808 ("itstool" ,itstool)
4809 ("pkg-config" ,pkg-config)
4810 ("python-pep8" ,python-pep8)
4811 ("xmllint" ,libxml2)
ff337525 4812 ("xorg-server" ,xorg-server-for-tests)))
a3856b2c
SB
4813 (inputs
4814 `(("gobject-introspection" ,gobject-introspection)
4815 ("gtk+" ,gtk+)
4816 ("python" ,python-wrapper)
458e9221 4817 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
4818 ("python-pygobject" ,python-pygobject)))
4819 (home-page "https://wiki.gnome.org/Apps/DFeet")
4820 (synopsis "D-Bus debugger")
4821 (description
4822 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4823of running programs and invoke methods on those interfaces.")
4824 (license license:gpl2+)))
c3b97bd9
SB
4825
4826(define-public yelp-xsl
4827 (package
4828 (name "yelp-xsl")
b3640e79 4829 (version "3.32.1")
c3b97bd9
SB
4830 (source (origin
4831 (method url-fetch)
4832 (uri (string-append "mirror://gnome/sources/" name "/"
4833 (version-major+minor version) "/"
4834 name "-" version ".tar.xz"))
4835 (sha256
4836 (base32
b3640e79 4837 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
c3b97bd9
SB
4838 (build-system gnu-build-system)
4839 (native-inputs
4840 `(("intltool" ,intltool)
4841 ("itstool" ,itstool)
4842 ("xmllint" ,libxml2)))
4843 (home-page "https://wiki.gnome.org/Apps/Yelp")
4844 (synopsis "XSL stylesheets for Yelp")
4845 (description
4846 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4847to format Docbook and Mallard documents.")
4848 (license license:gpl2+)))
de3d612a
SB
4849
4850(define-public yelp
4851 (package
4852 (name "yelp")
9d029b7f 4853 (version "3.30.0")
de3d612a
SB
4854 (source (origin
4855 (method url-fetch)
4856 (uri (string-append "mirror://gnome/sources/" name "/"
4857 (version-major+minor version) "/"
4858 name "-" version ".tar.xz"))
4859 (sha256
4860 (base32
9d029b7f 4861 "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4"))))
de3d612a
SB
4862 (build-system glib-or-gtk-build-system)
4863 (native-inputs
4864 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4865 ("intltool" ,intltool)
4866 ("itstool" ,itstool)
4867 ("pkg-config" ,pkg-config)))
4868 (propagated-inputs
4869 `(("dconf" ,dconf)))
4870 (inputs
ad1b7d8b
SB
4871 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4872 ("libxslt" ,libxslt)
de3d612a 4873 ("sqlite" ,sqlite)
4c28ca1d
SB
4874 ("webkitgtk" ,webkitgtk)
4875 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
4876 (home-page "https://wiki.gnome.org/Apps/Yelp")
4877 (synopsis "GNOME help browser")
4878 (description
4879 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4880man, info, and HTML documents. It can locate documents according to the
4881freedesktop.org help system specification.")
4882 (license license:gpl2+)))
122d0d10
SB
4883
4884(define-public yelp-tools
4885 (package
4886 (name "yelp-tools")
2089bca5 4887 (version "3.28.0")
122d0d10
SB
4888 (source (origin
4889 (method url-fetch)
4890 (uri (string-append "mirror://gnome/sources/" name "/"
4891 (version-major+minor version) "/"
4892 name "-" version ".tar.xz"))
4893 (sha256
4894 (base32
2089bca5 4895 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
4896 (build-system gnu-build-system)
4897 (native-inputs
4898 `(("pkg-config" ,pkg-config)))
4899 (propagated-inputs
4900 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4901 `(("itstool" ,itstool)
4902 ("xmllint" ,libxml2)
4903 ("xsltproc" ,libxslt)))
4904 (inputs
4905 `(("yelp-xsl" ,yelp-xsl)))
4906 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4907 (synopsis "Yelp documentation tools")
4908 (description
4909 "Yelp-tools is a collection of scripts and build utilities to help create,
4910manage, and publish documentation for Yelp and the web. Most of the heavy
4911lifting is done by packages like yelp-xsl and itstool. This package just
4912wraps things up in a developer-friendly way.")
4913 (license license:gpl2+)))
af8f9f23 4914
4ed041d9
MB
4915(define-public yelp-tools/fixed
4916 ;; This variant fixes a python-libxml2 crash when processing UTF-8
4917 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
4918 ;; the next rebuild cycle.
4919 (hidden-package
4920 (package/inherit
4921 yelp-tools
4922 (propagated-inputs
4923 `(("itstool" ,itstool/fixed)
4924 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
4925
af8f9f23
RW
4926(define-public libgee
4927 (package
4928 (name "libgee")
4c2c5ae6 4929 (version "0.20.2")
af8f9f23
RW
4930 (source (origin
4931 (method url-fetch)
84a1b007 4932 (uri (string-append "mirror://gnome/sources/libgee/"
af8f9f23 4933 (version-major+minor version) "/"
84a1b007 4934 "libgee-" version ".tar.xz"))
af8f9f23
RW
4935 (sha256
4936 (base32
4c2c5ae6 4937 "0g1mhl7nidg82v4cikkk8dakzc18hg7wv0dsf2pbyijzfm5mq0wy"))))
af8f9f23
RW
4938 (build-system gnu-build-system)
4939 (arguments
4940 `(#:phases
4941 (modify-phases %standard-phases
4942 (add-after 'unpack 'fix-introspection-install-dir
4943 (lambda* (#:key outputs #:allow-other-keys)
4944 (let ((out (assoc-ref outputs "out")))
4945 (substitute* "gee/Makefile.in"
4946 (("@INTROSPECTION_GIRDIR@")
4947 (string-append out "/share/gir-1.0/"))
4948 (("@INTROSPECTION_TYPELIBDIR@")
4949 (string-append out "/lib/girepository-1.0/")))))))))
4950 (native-inputs
4951 `(("glib" ,glib "bin")
4952 ("pkg-config" ,pkg-config)))
4953 (inputs
4954 `(("glib" ,glib)
4955 ("gobject-introspection" ,gobject-introspection)))
4956 (home-page "https://wiki.gnome.org/Projects/Libgee")
4957 (synopsis "GObject collection library")
4958 (description
4959 "Libgee is a utility library providing GObject-based interfaces and
4960classes for commonly used data structures.")
4961 (license license:lgpl2.1+)))
b0f9c4b8
RW
4962
4963(define-public gexiv2
4964 (package
4965 (name "gexiv2")
b1a8b408 4966 (version "0.12.0")
b0f9c4b8
RW
4967 (source (origin
4968 (method url-fetch)
4969 (uri (string-append "mirror://gnome/sources/" name "/"
4970 (version-major+minor version) "/"
4971 name "-" version ".tar.xz"))
4972 (sha256
4973 (base32
b1a8b408 4974 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
51c482e4 4975 (build-system meson-build-system)
b0f9c4b8 4976 (native-inputs
b1a8b408
KK
4977 `(("gcr" ,gcr)
4978 ("glib" ,glib "bin")
4979 ("pkg-config" ,pkg-config)
4980 ("vala" ,vala)))
b0f9c4b8
RW
4981 (propagated-inputs
4982 ;; Listed in "Requires" section of gexiv2.pc
4983 `(("exiv2" ,exiv2)))
4984 (inputs
4985 `(("glib" ,glib)
4986 ("gobject-introspection" ,gobject-introspection)))
4987 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4988 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4989 (description
4990 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4991allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4992metadata in photo and video files of various formats.")
4993 (license license:gpl2+)))
fed5a689
RW
4994
4995(define-public shotwell
4996 (package
4997 (name "shotwell")
a1c6fb52 4998 (version "0.30.7")
fed5a689
RW
4999 (source (origin
5000 (method url-fetch)
5497d682 5001 (uri (string-append "mirror://gnome/sources/shotwell/"
fed5a689 5002 (version-major+minor version) "/"
5497d682 5003 "shotwell-" version ".tar.xz"))
fed5a689
RW
5004 (sha256
5005 (base32
a1c6fb52 5006 "1m9i8r4gyd2hzlxjjwfyck4kz7gdg2vz2k6l6d0ga9hdfq2l4p9l"))))
3b79afa6
KK
5007 (build-system meson-build-system)
5008 (arguments
5009 '(#:glib-or-gtk? #t))
735b8db6
TGR
5010 (propagated-inputs
5011 `(("dconf" ,dconf)))
fed5a689 5012 (native-inputs
3b79afa6 5013 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b94a6ca0 5014 ("gettext" ,gettext-minimal)
77e9c993 5015 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
735b8db6 5016 ("itstool" ,itstool)
3b79afa6 5017 ("pkg-config" ,pkg-config)
735b8db6 5018 ("vala" ,vala)))
fed5a689 5019 (inputs
735b8db6
TGR
5020 `(("glib:bin" ,glib "bin")
5021 ("gstreamer" ,gstreamer)
fed5a689 5022 ("gst-plugins-base" ,gst-plugins-base)
dfb0323d 5023 ("libgdata" ,libgdata)
fed5a689
RW
5024 ("libgee" ,libgee)
5025 ("gexiv2" ,gexiv2)
5026 ("libraw" ,libraw)
5027 ("json-glib" ,json-glib)
7108425c 5028 ("webkitgtk" ,webkitgtk)
fed5a689
RW
5029 ("sqlite" ,sqlite)
5030 ("libsoup" ,libsoup)
5031 ("libxml2" ,libxml2)
fed5a689 5032 ("libgudev" ,libgudev)
522fc32e
LF
5033 ("libgphoto2" ,libgphoto2)
5034 ("gcr" ,gcr)))
fed5a689
RW
5035 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5036 (synopsis "Photo manager for GNOME 3")
5037 (description
5038 "Shotwell is a digital photo manager designed for the GNOME desktop
5039environment. It allows you to import photos from disk or camera, organize
5040them by keywords and events, view them in full-window or fullscreen mode, and
5041share them with others via social networking and more.")
5042 (license license:lgpl2.1+)))
293ff8b2
DT
5043
5044(define-public file-roller
5045 (package
5046 (name "file-roller")
4c96e5d1 5047 (version "3.32.1")
293ff8b2
DT
5048 (source (origin
5049 (method url-fetch)
5050 (uri (string-append "mirror://gnome/sources/" name "/"
5051 (version-major+minor version) "/"
5052 name "-" version ".tar.xz"))
5053 (sha256
5054 (base32
4c96e5d1 5055 "0irm72cf8222h93skivn0nn0ckahiiiimy4rb9r3ccjvhi3hiaqw"))))
0a500745 5056 (build-system meson-build-system)
293ff8b2 5057 (native-inputs
0a500745
RW
5058 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5059 ("intltool" ,intltool)
4c96e5d1 5060 ("itstool" ,itstool)
0a500745
RW
5061 ("pkg-config" ,pkg-config)
5062 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5063 ("glib:bin" ,glib "bin")))
293ff8b2
DT
5064 ;; TODO: Add libnautilus.
5065 (inputs
5066 `(("gtk+" ,gtk+)
5067 ("gdk-pixbuf" ,gdk-pixbuf)
5068 ("json-glib" ,json-glib)
5069 ("libarchive" ,libarchive)
5070 ("libnotify" ,libnotify)
4c96e5d1 5071 ("nettle" ,nettle)
293ff8b2
DT
5072 ("libxml2" ,libxml2)))
5073 (synopsis "Graphical archive manager for GNOME")
5074 (description "File Roller is an archive manager for the GNOME desktop
5075environment that allows users to view, unpack, and create compressed archives
5076such as gzip tarballs.")
5077 (home-page "http://fileroller.sourceforge.net/")
5078 (license license:gpl2+)))
7ce49365
SB
5079
5080(define-public gnome-session
5081 (package
5082 (name "gnome-session")
da886d6f 5083 (version "3.30.1")
7ce49365
SB
5084 (source (origin
5085 (method url-fetch)
5086 (uri (string-append "mirror://gnome/sources/" name "/"
5087 (version-major+minor version) "/"
5088 name "-" version ".tar.xz"))
5089 (sha256
5090 (base32
da886d6f 5091 "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa"))))
2914af3c 5092 (arguments
df278071
RW
5093 '(#:glib-or-gtk? #t
5094 #:phases
2914af3c
AW
5095 (modify-phases %standard-phases
5096 (add-before 'configure 'pre-configure
5097 (lambda* (#:key outputs #:allow-other-keys)
5098 ;; Use elogind instead of systemd.
df278071
RW
5099 (substitute* "meson.build"
5100 (("libsystemd-login") "libelogind")
5101 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
5102 (substitute* "gnome-session/gsm-systemd.c"
5103 (("#include <systemd/sd-login.h>")
5104 "#include <elogind/sd-login.h>"))
df278071 5105 ;; Remove uses of the systemd daemon.
803ab416
SB
5106 (substitute* "gnome-session/gsm-autostart-app.c"
5107 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
5108 #t))
5109 (add-after 'install 'wrap-gnome-session
5110 (lambda* (#:key inputs outputs #:allow-other-keys)
5111 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5112 (let ((glib (assoc-ref inputs "glib:bin"))
5113 (out (assoc-ref outputs "out")))
5114 (wrap-program (string-append out "/bin/gnome-session")
5115 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5116 #t))))
6cbc8d57 5117
2914af3c 5118 #:configure-flags
df278071
RW
5119 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5120 "-Dman=false" ; FIXME: disabled because of docbook validation error
5121 "-Dsystemd_journal=false")))
5122 (build-system meson-build-system)
7ce49365
SB
5123 (native-inputs
5124 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5125 ("pkg-config" ,pkg-config)
5126 ("intltool" ,intltool)
df278071
RW
5127 ("xsltproc" ,libxslt)
5128 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5129 ("docbook-xsl" ,docbook-xsl)
5130 ("docbook-xml" ,docbook-xml)
5131 ("xmlto" ,xmlto)))
7ce49365 5132 (inputs
2914af3c
AW
5133 `(("elogind" ,elogind)
5134 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 5135 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
5136 ("gtk+" ,gtk+)
5137 ("json-glib" ,json-glib)
5138 ("libsm" ,libsm)
5139 ("libxcomposite" ,libxcomposite)
5140 ("libxtst" ,libxtst)
5141 ("mesa" ,mesa)
5142 ("upower" ,upower)
5143 ("xtrans" ,xtrans)))
5144 (synopsis "Session manager for GNOME")
5145 (description
5146 "This package contains the GNOME session manager, as well as a
5147configuration program to choose applications starting on login.")
5148 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5149 (license license:gpl2+)))
f47ba77e
SB
5150
5151(define-public gjs
5152 (package
5153 (name "gjs")
d054fbf5 5154 (version "1.56.2")
f47ba77e
SB
5155 (source (origin
5156 (method url-fetch)
5157 (uri (string-append "mirror://gnome/sources/" name "/"
5158 (version-major+minor version) "/"
5159 name "-" version ".tar.xz"))
5160 (sha256
5161 (base32
d054fbf5 5162 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
f47ba77e
SB
5163 (build-system gnu-build-system)
5164 (arguments
5165 '(#:phases
5166 (modify-phases %standard-phases
5167 (add-before
5168 'check 'pre-check
5169 (lambda _
fc119619
MW
5170 ;; The test suite requires a running X server.
5171 (system "Xvfb :1 &")
5172 (setenv "DISPLAY" ":1")
5173
f47ba77e
SB
5174 ;; For the missing /etc/machine-id.
5175 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 5176
144f94d0
KK
5177 ;; Our mozjs-38 package does not compile the required Intl API
5178 ;; support for these failing tests.
5179 (substitute* "installed-tests/js/testLocale.js"
5180 ((".*toBeDefined.*") "")
5181 ((".*expect\\(datestr\\).*") ""))
d054fbf5
KK
5182 (substitute* "installed-tests/scripts/testCommandLine.sh"
5183 (("Valentín") "")
5184 (("☭") ""))
f47ba77e
SB
5185 #t)))))
5186 (native-inputs
8a831c6f 5187 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
5188 ("pkg-config" ,pkg-config)
5189 ("xmllint" ,libxml2)
5190 ;; For testing
5191 ("dbus-launch" ,dbus)
5192 ("uuidgen" ,util-linux)
ebebee94 5193 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
5194 (propagated-inputs
5195 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
5196 `(("cairo" ,cairo)
5197 ("gobject-introspection" ,gobject-introspection)
d054fbf5 5198 ("mozjs" ,mozjs-60)))
f47ba77e
SB
5199 (inputs
5200 `(("gtk+" ,gtk+)
5201 ("readline" ,readline)))
5202 (synopsis "Javascript bindings for GNOME")
f032d0be 5203 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
5204 (description
5205 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5206javascript engine and the GObject introspection framework.")
5207 (license license:gpl2+)))
329d731b
DH
5208
5209(define-public gedit
5210 (package
5211 (name "gedit")
480c9226 5212 (version "3.32.2")
329d731b
DH
5213 (source (origin
5214 (method url-fetch)
5215 (uri (string-append "mirror://gnome/sources/" name "/"
5216 (version-major+minor version) "/"
5217 name "-" version ".tar.xz"))
5218 (sha256
5219 (base32
480c9226
KK
5220 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
5221 (build-system meson-build-system)
329d731b 5222 (arguments
480c9226
KK
5223 `(#:glib-or-gtk? #t
5224 #:configure-flags
5225 ;; Otherwise, the RUNPATH will lack the final path component.
5226 (list (string-append "-Dc_link_args=-Wl,-rpath="
5227 (assoc-ref %outputs "out") "/lib/gedit"))
5228 #:phases
329d731b 5229 (modify-phases %standard-phases
480c9226
KK
5230 (add-after 'unpack 'skip-gtk-update-icon-cache
5231 ;; Don't create 'icon-theme.cache'.
5232 (lambda _
5233 (substitute* "build-aux/meson/post_install.py"
5234 (("gtk-update-icon-cache") (which "true")))
5235 #t))
5236 (add-after 'unpack 'patch-libgd-fetch
5237 (lambda* (#:key inputs #:allow-other-keys)
5238 (let ((libgd (assoc-ref inputs "libgd")))
5239 ;; Calling git is unnecessary because libgd is fetched as a
5240 ;; native input to this package.
5241 (substitute* "meson.build"
5242 ((".*git.*") ""))
5243 (copy-recursively libgd "subprojects/libgd")
5244 #t)))
5245 (add-after 'install 'wrap-gedit
5246 (lambda* (#:key inputs outputs #:allow-other-keys)
5247 (let ((out (assoc-ref outputs "out"))
5248 (gtksourceview (assoc-ref inputs "gtksourceview"))
5249 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5250 (python-path (getenv "PYTHONPATH")))
5251 (wrap-program (string-append out "/bin/gedit")
5252 ;; For plugins.
5253 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5254 `("PYTHONPATH" ":" prefix (,python-path))
5255 ;; For language-specs.
5256 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5257 "/share")))))
5258 #t)))))
329d731b
DH
5259 (propagated-inputs
5260 `(("dconf" ,dconf)))
5261 (native-inputs
480c9226
KK
5262 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5263 ("intltool" ,intltool)
b3546174 5264 ("itstool" ,itstool)
480c9226 5265 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
329d731b 5266 ("gobject-introspection" ,gobject-introspection)
480c9226
KK
5267 ("libgd"
5268 ,(origin
5269 (method git-fetch)
5270 (uri (git-reference
5271 (url "https://gitlab.gnome.org/GNOME/libgd")
5272 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5273 (file-name (git-file-name "libgd" version))
5274 (sha256
5275 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
329d731b
DH
5276 ("pkg-config" ,pkg-config)))
5277 (inputs
5278 `(("glib" ,glib)
0d2df50c 5279 ("gspell" ,gspell)
329d731b 5280 ("gtk+" ,gtk+)
480c9226 5281 ("gtksourceview" ,gtksourceview)
329d731b
DH
5282 ("libpeas" ,libpeas)
5283 ("libxml2" ,libxml2)
329d731b
DH
5284 ("iso-codes" ,iso-codes)
5285 ("python-pygobject" ,python-pygobject)
5286 ("python" ,python)
5287 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5288 ("libx11" ,libx11)
5289 ("vala" ,vala)
5290 ("adwaita-icon-theme" ,adwaita-icon-theme)
5291 ("libsoup" ,libsoup)
5292 ("gnome-desktop" ,gnome-desktop)))
5293 (home-page "https://wiki.gnome.org/Apps/Gedit")
5294 (synopsis "GNOME text editor")
5295 (description "While aiming at simplicity and ease of use, gedit is a
5296powerful general purpose text editor.")
5297 (license license:gpl2+)))
b7179363
SB
5298
5299(define-public zenity
5300 (package
5301 (name "zenity")
4f581bd0 5302 (version "3.32.0")
b7179363
SB
5303 (source (origin
5304 (method url-fetch)
5958df04 5305 (uri (string-append "mirror://gnome/sources/zenity/"
b7179363 5306 (version-major+minor version) "/"
5958df04 5307 "zenity-" version ".tar.xz"))
b7179363
SB
5308 (sha256
5309 (base32
4f581bd0 5310 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
b7179363
SB
5311 (build-system gnu-build-system)
5312 (native-inputs
b94a6ca0 5313 `(("gettext" ,gettext-minimal)
b7179363
SB
5314 ("itstool" ,itstool)
5315 ("pkg-config" ,pkg-config)))
5316 (inputs
5317 `(("libnotify" ,libnotify)
5318 ("webkitgtk" ,webkitgtk)))
5319 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 5320 (home-page "https://www.gnome.org")
b7179363
SB
5321 (description
5322 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5323to display dialog boxes from the commandline and shell scripts.")
5324 (license license:lgpl2.0+)))
60c3627c
SB
5325
5326(define-public mutter
5327 (package
5328 (name "mutter")
edf43f68 5329 (version "3.32.2")
60c3627c 5330 (source (origin
86c44e72
KK
5331 (method url-fetch)
5332 (uri (string-append "mirror://gnome/sources/" name "/"
5333 (version-major+minor version) "/"
5334 name "-" version ".tar.xz"))
60c3627c
SB
5335 (sha256
5336 (base32
edf43f68 5337 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
86c44e72
KK
5338 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5339 ;; versions of cogl and clutter. As a result, many of the inputs,
5340 ;; propagated-inputs, and configure flags used in cogl and clutter are
5341 ;; needed here as well.
edf43f68 5342 (build-system meson-build-system)
60c3627c 5343 (arguments
edf43f68
KK
5344 '(;; XXX: All mutter tests fail with the following error:
5345 ;; Settings schema 'org.gnome.mutter' is not installed
5346 #:tests? #f
5347 #:glib-or-gtk? #t
5348 #:configure-flags
5349 ;; Otherwise, the RUNPATH will lack the final path component.
5350 (list (string-append "-Dc_link_args=-Wl,-rpath="
5351 (assoc-ref %outputs "out") "/lib:"
5352 (assoc-ref %outputs "out") "/lib/mutter-4")
a88d5a0c
MW
5353
5354 ;; The following flags are needed for the bundled clutter
edf43f68 5355 (string-append "-Dxwayland_path="
d633f2f6
RH
5356 (assoc-ref %build-inputs "xorg-server-xwayland")
5357 "/bin/Xwayland")
5358
a88d5a0c 5359 ;; the remaining flags are needed for the bundled cogl
edf43f68 5360 (string-append "-Dopengl_libname="
a88d5a0c 5361 (assoc-ref %build-inputs "mesa")
f23052a6
DC
5362 "/lib/libGL.so"))
5363 #:phases
5364 (modify-phases %standard-phases
edf43f68
KK
5365 (add-after 'unpack 'disable-werror
5366 (lambda _
5367 ;; XXX: build fails with [-Werror]:
5368 ;; backends/meta-cursor-renderer.c:112:5: error:
5369 ;; implicit declaration of function ?roundf?
5370 (substitute* "meson.build"
5371 (("'-Werror=.*',") ""))
5372 #t))
86c44e72
KK
5373 ;; Replace references to systemd libraries to elogind references.
5374 (add-before 'configure 'use-elogind
5375 (lambda _
edf43f68 5376 (substitute* (list "meson.build"
86c44e72
KK
5377 "src/backends/native/meta-launcher.c"
5378 "src/core/main.c")
5379 (("systemd") "elogind"))
5380 #t)))))
60c3627c
SB
5381 (native-inputs
5382 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5383 ("gobject-introspection" ,gobject-introspection)
5384 ("intltool" ,intltool)
f23052a6 5385 ("pkg-config" ,pkg-config)
edf43f68 5386 ("xorg-server" ,xorg-server-for-tests)
f23052a6
DC
5387 ;; For git build
5388 ("autoconf" ,autoconf)
5389 ("automake" ,automake)
5390 ("libtool" ,libtool)))
60c3627c 5391 (propagated-inputs
a88d5a0c
MW
5392 `(;; libmutter.pc refers to these:
5393 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5394 ("gtk+" ,gtk+)
5395 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5396 ("atk" ,atk)
5397 ("cairo" ,cairo)
5398 ("gdk-pixbuf" ,gdk-pixbuf)
5399 ("glib" ,glib)
a88d5a0c
MW
5400 ("json-glib" ,json-glib)
5401 ("libinput" ,libinput)
5402 ("libx11" ,libx11)
5403 ("libxcomposite" ,libxcomposite)
5404 ("libxdamage" ,libxdamage)
5405 ("libxext" ,libxext)
5406 ("libxfixes" ,libxfixes)
5407 ("libxkbcommon" ,libxkbcommon)
5408 ("libxrandr" ,libxrandr)
5409 ("mesa" ,mesa)
5410 ("pango" ,pango)
5411 ("udev" ,eudev)
a88d5a0c 5412 ("xinput" ,xinput)))
60c3627c 5413 (inputs
86c44e72
KK
5414 `(("elogind" ,elogind)
5415 ("gnome-desktop" ,gnome-desktop)
edf43f68 5416 ("gnome-settings-daemon" ,gnome-settings-daemon)
60c3627c 5417 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 5418 ("libgudev" ,libgudev)
60c3627c
SB
5419 ("libice" ,libice)
5420 ("libsm" ,libsm)
edf43f68 5421 ("libwacom" ,libwacom)
60c3627c 5422 ("libxkbfile" ,libxkbfile)
a88d5a0c 5423 ("libxrandr" ,libxrandr)
86c44e72 5424 ("libxtst" ,libxtst)
edf43f68 5425 ("pipewire" ,pipewire)
60c3627c
SB
5426 ("startup-notification" ,startup-notification)
5427 ("upower-glib" ,upower)
5428 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 5429 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
5430 ("zenity" ,zenity)))
5431 (synopsis "Window and compositing manager")
f032d0be 5432 (home-page "https://www.gnome.org")
60c3627c
SB
5433 (description
5434 "Mutter is a window and compositing manager that displays and manages your
5435desktop via OpenGL. Mutter combines a sophisticated display engine using the
5436Clutter toolkit with solid window-management logic inherited from the Metacity
5437window manager.")
86c44e72 5438 (license license:gpl2+)))
685cee87
SB
5439
5440(define-public gnome-online-accounts
5441 (package
5442 (name "gnome-online-accounts")
ebb2873d 5443 (version "3.32.0")
685cee87
SB
5444 (source (origin
5445 (method url-fetch)
5446 (uri (string-append "mirror://gnome/sources/" name "/"
5447 (version-major+minor version) "/"
5448 name "-" version ".tar.xz"))
5449 (sha256
5450 (base32
ebb2873d 5451 "1anlx0rb2hafg9929pgfms25mdz23sd0vdva06h6zlf8f5byc68w"))))
14c297fd 5452 (outputs '("out" "lib"))
685cee87 5453 (build-system glib-or-gtk-build-system)
14c297fd
TS
5454 (arguments
5455 `(#:configure-flags
5456 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5457 #:phases
5458 (modify-phases %standard-phases
5459 (add-before 'configure 'patch-libgoa-output
5460 (lambda* (#:key outputs #:allow-other-keys)
5461 (let ((lib (assoc-ref outputs "lib")))
5462 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5463 (("@prefix@") lib)
5464 (("@exec_prefix@") lib)
5465 (("@libdir@") (string-append lib "/lib"))
5466 (("@includedir@") (string-append lib "/include"))
5467 (("@datadir@") (string-append lib "/share")))
7555d539
MB
5468 ;; Make sure gobject-introspection knows about the output
5469 ;; too (see <https://bugs.gnu.org/36535>).
5470 (setenv "outputs" "out lib")
14c297fd 5471 #t))))))
685cee87
SB
5472 (native-inputs
5473 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5474 ("gobject-introspection" ,gobject-introspection)
5475 ("intltool" ,intltool)
5476 ("pkg-config" ,pkg-config)
ebb2873d 5477 ("vala" ,vala)
685cee87
SB
5478 ("xsltproc" ,libxslt)))
5479 (propagated-inputs
5480 `(("glib" ,glib) ; required by goa-1.0.pc
5481 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5482 (inputs
5483 `(("docbook-xsl" ,docbook-xsl)
5484 ("json-glib" ,json-glib)
5485 ("libsecret" ,libsecret)
5486 ("rest" ,rest)
685cee87
SB
5487 ("webkitgtk" ,webkitgtk)))
5488 (synopsis "Single sign-on framework for GNOME")
5489 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5490 (description
5491 "GNOME Online Accounts provides interfaces so that applications and
5492libraries in GNOME can access the user's online accounts. It has providers for
5493Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5494Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5495 (license license:lgpl2.0+)))
df217748
SB
5496
5497(define-public evolution-data-server
5498 (package
5499 (name "evolution-data-server")
2196a8d4 5500 (version "3.32.4")
df217748
SB
5501 (source (origin
5502 (method url-fetch)
5503 (uri (string-append "mirror://gnome/sources/" name "/"
5504 (version-major+minor version) "/"
5505 name "-" version ".tar.xz"))
e1f174ae 5506 (patches (search-patches "evolution-data-server-locales.patch"))
df217748
SB
5507 (sha256
5508 (base32
2196a8d4 5509 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
743aebd7 5510 (build-system cmake-build-system)
df217748 5511 (arguments
b468eedc
RW
5512 '(#:configure-flags
5513 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5514 (runpaths (map (lambda (s)
5515 (string-append lib "/evolution-data-server/" s))
ac033c7b
MB
5516 '("addressbook-backends" "calendar-backends"
5517 "camel-providers" "credential-modules"
5518 "registry-modules"))))
5519 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5520 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5521 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5522 "-DENABLE_VALA_BINDINGS=ON"
ac033c7b
MB
5523 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5524 (string-append lib "/evolution-data-server;")
5525 (string-join runpaths ";"))
5526 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
5527 #:phases
5528 (modify-phases %standard-phases
b468eedc
RW
5529 (add-after 'unpack 'disable-failing-tests
5530 (lambda _
5531 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5532 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5533 (delete-file-recursively "tests/book-migration")
5534 (substitute* "tests/CMakeLists.txt"
5535 (("add_subdirectory\\(book-migration\\)") ""))
2196a8d4
KK
5536 ;; tests/libebook/client/test-book-client-view-operations:8077):
5537 ;; e-data-server-WARNING **:
5538 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
5539 ;; runtime check failed:
5540 ;; (!g_main_context_pending (closure->main_context))
5541 (substitute* "tests/libebook/client/CMakeLists.txt"
5542 (("test-book-client-view-operations") ""))
b468eedc 5543 #t))
743aebd7 5544 (add-after 'unpack 'patch-paths
df217748 5545 (lambda _
b468eedc
RW
5546 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5547 "tests/libedata-book/data-test-utils.c"
5548 "tests/libedata-book/test-book-cache-utils.c"
5549 "tests/libedata-cal/test-cal-cache-utils.c")
df217748 5550 (("/bin/rm") (which "rm")))
ac033c7b
MB
5551 #t))
5552 (add-before 'configure 'dont-override-rpath
5553 (lambda _
5554 (substitute* "CMakeLists.txt"
5555 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5556 ;; Remove it so the configure flag is respected.
5557 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
b63c06f1 5558 #t)))))
df217748
SB
5559 (native-inputs
5560 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5561 ("gobject-introspection" ,gobject-introspection)
5562 ("gperf" ,gperf)
5563 ("intltool" ,intltool)
5564 ("pkg-config" ,pkg-config)
a73c1cf8 5565 ("vala" ,vala)
743aebd7 5566 ("python" ,python-wrapper)))
df217748
SB
5567 (propagated-inputs
5568 ;; These are all in the Requires field of .pc files.
5569 `(("gtk+" ,gtk+)
5570 ("libical" ,libical)
5571 ("libsecret" ,libsecret)
5572 ("libsoup" ,libsoup)
5573 ("nss" ,nss)
5574 ("sqlite" ,sqlite)))
5575 (inputs
5576 `(("bdb" ,bdb)
5577 ("gcr" ,gcr)
14c297fd 5578 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 5579 ("json-glib" ,json-glib)
b468eedc 5580 ("libcanberra" ,libcanberra)
743aebd7
MB
5581 ("libgweather" ,libgweather)
5582 ("mit-krb5" ,mit-krb5)
891199c6
MW
5583 ("openldap" ,openldap)
5584 ("webkitgtk" ,webkitgtk)))
df217748
SB
5585 (synopsis "Store address books and calendars")
5586 (home-page "https://wiki.gnome.org/Apps/Evolution")
5587 (description
5588 "This package provides a unified backend for programs that work with
5589contacts, tasks, and calendar information. It was originally developed for
5590Evolution (hence the name), but is now used by other packages as well.")
5591 (license license:lgpl2.0)))
bd7dfafa
SB
5592
5593(define-public caribou
5594 (package
5595 (name "caribou")
fe964bb5 5596 (version "0.4.21")
bd7dfafa
SB
5597 (source (origin
5598 (method url-fetch)
5599 (uri (string-append "mirror://gnome/sources/" name "/"
5600 (version-major+minor version) "/"
5601 name "-" version ".tar.xz"))
5602 (sha256
5603 (base32
fe964bb5 5604 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
5605 (build-system glib-or-gtk-build-system)
5606 (arguments
5607 '(#:phases
5608 (modify-phases %standard-phases
5609 (add-before
5610 'build 'pre-build
5611 (lambda* (#:key outputs #:allow-other-keys)
5612 (let ((out (assoc-ref outputs "out")))
5613 ;; Use absolute shared library path in Caribou-1.0.typelib.
5614 (substitute* "libcaribou/Makefile"
5615 (("--shared-library=libcaribou.so")
5616 (string-append "--shared-library="
5617 out "/lib/libcaribou.so")))
5618 #t)))
5619 (add-after 'install 'wrap-programs
5620 (lambda* (#:key outputs #:allow-other-keys)
5621 (let* ((out (assoc-ref outputs "out"))
5622 (python-path (getenv "PYTHONPATH"))
5623 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5624 (for-each
5625 (lambda (prog)
5626 (wrap-program prog
5627 `("PYTHONPATH" ":" prefix (,python-path))
5628 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5629 (list (string-append out "/bin/caribou-preferences")
5630 (string-append out "/libexec/antler-keyboard"))))
5631 #t)))))
5632 (native-inputs
5633 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5634 ("gobject-introspection" ,gobject-introspection)
5635 ("intltool" ,intltool)
5636 ("pkg-config" ,pkg-config)
5637 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5638 ("vala" ,vala)
5639 ("xsltproc" ,libxslt)))
5640 (propagated-inputs
5641 ;; caribou-1.0.pc refers to all these.
5642 `(("libgee" ,libgee)
5643 ("libxklavier" ,libxklavier)
5644 ("libxtst" ,libxtst)
5645 ("gtk+" ,gtk+)))
5646 (inputs
5647 `(("clutter" ,clutter)
5648 ("dconf" ,dconf)
5649 ("gtk+-2" ,gtk+-2)
5650 ("python-pygobject" ,python2-pygobject)))
5651 (synopsis "Text entry and UI navigation application")
5652 (home-page "https://wiki.gnome.org/Projects/Caribou")
5653 (description
5654 "Caribou is an input assistive technology intended for switch and pointer
5655users.")
5656 (license license:lgpl2.1)))
ba5dd105 5657
ba5dd105
SB
5658(define-public network-manager
5659 (package
5660 (name "network-manager")
02710a9b 5661 (version "1.14.4")
ba5dd105
SB
5662 (source (origin
5663 (method url-fetch)
5664 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5665 (version-major+minor version) "/"
5666 "NetworkManager-" version ".tar.xz"))
7d1861e2 5667 (patches (search-patches "nm-plugin-path.patch"))
ba5dd105
SB
5668 (sha256
5669 (base32
02710a9b
RW
5670 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5671 (modules '((guix build utils)))
fd070f35 5672 (snippet
02710a9b
RW
5673 '(begin
5674 (substitute* "src/devices/wwan/nm-modem-manager.c"
5675 (("systemd") "elogind"))
5676 #t))))
ba5dd105
SB
5677 (build-system gnu-build-system)
5678 (outputs '("out"
5679 "doc")) ; 8 MiB of gtk-doc HTML
5680 (arguments
5681 '(#:configure-flags
5682 (let ((out (assoc-ref %outputs "out"))
5683 (doc (assoc-ref %outputs "doc"))
5684 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5685 "/sbin/dhclient")))
02710a9b
RW
5686 (list "--with-libnm-glib" ; needed by network-manager-applet
5687 "--with-systemd-journal=no"
5688 "--with-session-tracking=elogind"
5689 "--with-suspend-resume=elogind"
fd070f35
CM
5690 "--with-consolekit=no"
5691 "--with-crypto=gnutls"
ba5dd105
SB
5692 "--disable-config-plugin-ibft"
5693 "--sysconfdir=/etc"
5694 "--localstatedir=/var"
5695 (string-append "--with-udev-dir="
5696 out "/lib/udev")
5697 (string-append "--with-dbus-sys-dir="
5698 out "/etc/dbus-1/system.d")
5699 (string-append "--with-html-dir="
5700 doc "/share/gtk-doc/html")
5701 (string-append "--with-dhclient=" dhclient)))
5702 #:phases
5703 (modify-phases %standard-phases
02710a9b
RW
5704 ;; This bare "ls" invocation breaks some tests.
5705 (add-after 'unpack 'patch-ls-invocation
5706 (lambda _
5707 (substitute* "build-aux/ltmain.sh"
5708 (("`ls -")
5709 (string-append "`" (which "ls") " -")))
5710 #t))
b4f59d87
AW
5711 (add-before 'configure 'pre-configure
5712 (lambda _
5713 ;; These tests try to test aspects of network-manager's
5714 ;; functionality within restricted containers, but they don't
5715 ;; cope with being already in the Guix build jail as that jail
5716 ;; lacks some features that they would like to proxy over (like
5717 ;; a /sys mount).
d04687dc
HG
5718 (substitute* '("Makefile.in")
5719 (("src/platform/tests/test-address-linux") " ")
5720 (("src/platform/tests/test-cleanup-linux") " ")
5721 (("src/platform/tests/test-link-linux") " ")
5722 (("src/platform/tests/test-route-linux") " ")
02710a9b 5723 (("src/devices/tests/test-acd") "")
d04687dc
HG
5724 (("src/devices/tests/test-arping") " ")
5725 (("src/devices/tests/test-lldp") " ")
5726 (("src/tests/test-route-manager-linux") " "))
b4f59d87 5727 #t))
45f80fce
RW
5728 (add-after 'unpack 'delete-failing-tests
5729 (lambda _
02710a9b 5730 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
5731 ;; ERROR:libnm-core/tests/test-general.c:5842:
5732 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5733 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5734 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5735 ;; ERROR:libnm-core/tests/test-setting.c:907:
5736 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
5737 (substitute* "Makefile.in"
5738 (("libnm-core/tests/test-general") " ")
5739 (("libnm-core/tests/test-keyfile") " ")
02710a9b 5740 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 5741 #t))
ba5dd105
SB
5742 (add-before 'check 'pre-check
5743 (lambda _
5744 ;; For the missing /etc/machine-id.
5745 (setenv "DBUS_FATAL_WARNINGS" "0")
5746 #t))
5747 (replace 'install
5748 (lambda _
45f80fce
RW
5749 (invoke "make"
5750 "sysconfdir=/tmp"
5751 "rundir=/tmp"
5752 "statedir=/tmp"
5753 "nmstatedir=/tmp/nm"
5754 "install")
5755 #t)))))
b93502d6
DC
5756 (propagated-inputs
5757 `(("glib" ,glib)))
ba5dd105
SB
5758 (native-inputs
5759 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5760 ("gobject-introspection" ,gobject-introspection)
d04687dc 5761 ("docbook-xsl" ,docbook-xsl)
ba5dd105 5762 ("intltool" ,intltool)
d04687dc
HG
5763 ("libxslt" ,libxslt)
5764 ("libxml2" ,libxml2)
ba5dd105
SB
5765 ("pkg-config" ,pkg-config)
5766 ;; For testing.
5767 ("python" ,python-wrapper)
5768 ("python-dbus" ,python-dbus)
5769 ("python-pygobject" ,python-pygobject)))
5770 (inputs
02710a9b
RW
5771 `(("coreutils" ,coreutils) ; for ls
5772 ("curl" ,curl)
856ca567
KK
5773 ("cyrus-sasl" ,cyrus-sasl)
5774 ("dbus-glib" ,dbus-glib)
ba5dd105 5775 ("dnsmasq" ,dnsmasq)
856ca567 5776 ("eudev" ,eudev)
ba5dd105
SB
5777 ("gnutls" ,gnutls)
5778 ("iptables" ,iptables)
5779 ("isc-dhcp" ,isc-dhcp)
d04687dc 5780 ("jansson" ,jansson)
ba5dd105
SB
5781 ("libgcrypt" ,libgcrypt)
5782 ("libgudev" ,libgudev)
5783 ("libndp" ,libndp)
5784 ("libnl" ,libnl)
5785 ("libsoup" ,libsoup)
142bdcbc 5786 ("modem-manager" ,modem-manager)
c27e02bf 5787 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
5788 ("polkit" ,polkit)
5789 ("ppp" ,ppp)
5790 ("readline" ,readline)
fd070f35
CM
5791 ("util-linux" ,util-linux)
5792 ("elogind" ,elogind)))
ba5dd105 5793 (synopsis "Network connection manager")
f032d0be 5794 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
5795 (description
5796 "NetworkManager is a system network service that manages your network
5797devices and connections, attempting to keep active network connectivity when
5798available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5799devices, and provides VPN integration with a variety of different VPN
5800services.")
29d2f451
LC
5801 (license license:gpl2+)
5802 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 5803
f2b96b3a
LC
5804(define-public network-manager-openvpn
5805 (package
5806 (name "network-manager-openvpn")
be1c4b07 5807 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
7d87eede 5808 (version "1.8.10")
f2b96b3a
LC
5809 (source (origin
5810 (method url-fetch)
5811 (uri (string-append
5812 "mirror://gnome/sources/NetworkManager-openvpn/"
5813 (version-major+minor version)
5814 "/NetworkManager-openvpn-" version ".tar.xz"))
5815 (sha256
5816 (base32
7d87eede 5817 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
f2b96b3a
LC
5818 (build-system gnu-build-system)
5819 (arguments
633422b0
JL
5820 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5821 #:phases
5822 (modify-phases %standard-phases
5823 (add-after 'configure 'patch-path
5824 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5825 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
5826 "/sbin/openvpn"))
5827 (modprobe (string-append (assoc-ref inputs "kmod")
5828 "/bin/modprobe"))
5829 (pretty-ovpn (string-append "\"" ovpn "\"")))
5830 (for-each
5831 (lambda (file)
5832 (substitute* file
5833 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
5834 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
5835 (("\"/sbin/openvpn\"") pretty-ovpn)
5836 (("/sbin/modprobe") modprobe)))
5837 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
5838 #t)))))
f2b96b3a
LC
5839 (native-inputs
5840 `(("pkg-config" ,pkg-config)
5841 ("intltool" ,intltool)))
5842 (inputs
5843 `(("gtk+" ,gtk+)
633422b0 5844 ("kmod" ,kmod)
f2b96b3a
LC
5845 ("openvpn" ,openvpn)
5846 ("network-manager" ,network-manager)
5847 ("network-manager-applet" ,network-manager-applet) ;for libnma
5848 ("libsecret" ,libsecret)))
5849 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5850 (synopsis "OpenVPN plug-in for NetworkManager")
5851 (description
5852 "This extension of NetworkManager allows it to take care of connections
5853to virtual private networks (VPNs) via OpenVPN.")
5854 (license license:gpl2+)
5855 (properties `((upstream-name . "NetworkManager-openvpn")))))
5856
d376129f
JL
5857(define-public network-manager-vpnc
5858 (package
5859 (name "network-manager-vpnc")
5860 (version "1.2.6")
5861 (source (origin
5862 (method url-fetch)
5863 (uri (string-append
5864 "mirror://gnome/sources/NetworkManager-vpnc/"
5865 (version-major+minor version)
5866 "/NetworkManager-vpnc-" version ".tar.xz"))
5867 (sha256
5868 (base32
5869 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
5870 (build-system gnu-build-system)
5871 (arguments
5872 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5873 #:phases
5874 (modify-phases %standard-phases
5875 (add-after 'configure 'patch-path
5876 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5877 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
5878 "/sbin/vpnc"))
5879 (modprobe (string-append (assoc-ref inputs "kmod")
5880 "/bin/modprobe"))
5881 (pretty-ovpn (string-append "\"" vpnc "\"")))
5882 (substitute* "src/nm-vpnc-service.c"
5883 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
5884 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
5885 (("\"/sbin/vpnc\"") pretty-ovpn)
5886 (("/sbin/modprobe") modprobe)))
5887 #t)))))
5888 (native-inputs
5889 `(("pkg-config" ,pkg-config)
5890 ("intltool" ,intltool)))
5891 (inputs
5892 `(("gtk+" ,gtk+)
5893 ("kmod" ,kmod)
5894 ("vpnc" ,vpnc)
5895 ("network-manager" ,network-manager)
5896 ("network-manager-applet" ,network-manager-applet) ;for libnma
5897 ("libsecret" ,libsecret)))
5898 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5899 (synopsis "VPNC plug-in for NetworkManager")
5900 (description
5901 "Support for configuring virtual private networks based on VPNC.
5902Compatible with Cisco VPN concentrators configured to use IPsec.")
5903 (license license:gpl2+)
5904 (properties `((upstream-name . "NetworkManager-vpnc")))))
5905
8378c87a
EF
5906(define-public network-manager-openconnect
5907 (package
5908 (name "network-manager-openconnect")
5909 (version "1.2.6")
5910 (source (origin
5911 (method url-fetch)
5912 (uri (string-append
5913 "mirror://gnome/sources/NetworkManager-openconnect/"
5914 (version-major+minor version)
5915 "/NetworkManager-openconnect-" version ".tar.xz"))
5916 (sha256
5917 (base32
5918 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
5919 (build-system gnu-build-system)
5920 (arguments
5921 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5922 #:phases
5923 (modify-phases %standard-phases
5924 (add-after 'configure 'patch-path
5925 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5926 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
5927 "/sbin/openconnect"))
5928 (modprobe (string-append (assoc-ref inputs "kmod")
5929 "/bin/modprobe"))
5930 (pretty-ovpn (string-append "\"" openconnect "\"")))
5931 (substitute* "src/nm-openconnect-service.c"
5932 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
5933 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
5934 (("/sbin/modprobe") modprobe)))
5935 #t)))))
5936 (native-inputs
5937 `(("intltool" ,intltool)
5938 ("network-manager-applet" ,network-manager-applet) ;for libnma
5939 ("pkg-config" ,pkg-config)))
5940 (inputs
5941 `(("gcr" ,gcr)
5942 ("gtk+" ,gtk+)
5943 ("kmod" ,kmod)
5944 ("libsecret" ,libsecret)
5945 ("libxml2" ,libxml2)
5946 ("network-manager" ,network-manager)
5947 ("openconnect" ,openconnect)))
5948 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5949 (synopsis "OpenConnect plug-in for NetworkManager")
5950 (description
5951 "This extension of NetworkManager allows it to take care of connections
5952to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
5953Cisco's AnyConnect SSL VPN.")
5954 (license license:gpl2+)
e52b9534
LC
5955 (properties `((upstream-name . "NetworkManager-openconnect")
5956
5957 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
5958 ;; file refers to account "nm-openconnect". Specify it here
5959 ;; so that 'network-manager-service-type' creates it.
5960 (user-accounts . ("nm-openconnect"))))))
8378c87a 5961
e5e1df4d
DC
5962(define-public mobile-broadband-provider-info
5963 (package
5964 (name "mobile-broadband-provider-info")
310c89e3 5965 (version "20190116")
e5e1df4d
DC
5966 (source (origin
5967 (method url-fetch)
5968 (uri (string-append
5969 "mirror://gnome/sources/"
5970 "mobile-broadband-provider-info/" version "/"
5971 "mobile-broadband-provider-info-" version ".tar.xz"))
5972 (sha256
5973 (base32
310c89e3 5974 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
5975 (build-system gnu-build-system)
5976 (arguments
310c89e3 5977 `(#:tests? #f)) ; no tests
e5e1df4d
DC
5978 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5979 (synopsis "Database of broadband connection configuration")
5980 (description "Database of broadband connection configuration.")
5981 (license license:public-domain)))
5982
4d62a9d3
SB
5983(define-public network-manager-applet
5984 (package
5985 (name "network-manager-applet")
8fc3a337 5986 (version "1.8.24")
4d62a9d3
SB
5987 (source (origin
5988 (method url-fetch)
3df63444 5989 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
4d62a9d3 5990 (version-major+minor version) "/"
3df63444 5991 "network-manager-applet-" version ".tar.xz"))
4d62a9d3
SB
5992 (sha256
5993 (base32
8fc3a337 5994 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
cd7f718e
RW
5995 (build-system meson-build-system)
5996 (arguments
be1c4b07
TGR
5997 '(#:configure-flags
5998 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
5999 (list "-Dlibnm_gtk=true")
6000 #:glib-or-gtk? #t))
4d62a9d3
SB
6001 (native-inputs
6002 `(("intltool" ,intltool)
cd7f718e 6003 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 6004 ("gobject-introspection" ,gobject-introspection)
cd7f718e 6005 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
6006 ("pkg-config" ,pkg-config)))
6007 (propagated-inputs
6008 ;; libnm-gtk.pc refers to all these.
6009 `(("dbus-glib" ,dbus-glib)
6010 ("gtk+" ,gtk+)
6011 ("network-manager" ,network-manager)))
6012 (inputs
cd7f718e
RW
6013 `(("gcr" ,gcr)
6014 ("iso-codes" ,iso-codes)
4d62a9d3
SB
6015 ("libgudev" ,libgudev)
6016 ("libnotify" ,libnotify)
2116bfb3 6017 ("libsecret" ,libsecret)
240cee8a
KK
6018 ("libselinux" ,libselinux)
6019 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
6020 ("modem-manager" ,modem-manager)
6021 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 6022 (synopsis "Applet for managing network connections")
f032d0be 6023 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
6024 (description
6025 "This package contains a systray applet for NetworkManager. It displays
6026the available networks and allows users to easily switch between them.")
6027 (license license:gpl2+)))
56196594
RW
6028
6029(define-public libxml++
6030 (package
6031 (name "libxml++")
8344a85e 6032 (version "3.0.1")
56196594
RW
6033 (source (origin
6034 (method url-fetch)
6035 (uri (string-append "mirror://gnome/sources/" name "/"
6036 (version-major+minor version) "/"
6037 name "-" version ".tar.xz"))
6038 (sha256
6039 (base32
8344a85e 6040 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
6041 (build-system gnu-build-system)
6042 ;; libxml++-3.0.pc refers to all these.
6043 (propagated-inputs
6044 `(("libxml2" ,libxml2)
6045 ("glibmm" ,glibmm)))
6046 (native-inputs
6047 `(("perl" ,perl)
6048 ("pkg-config" ,pkg-config)))
6049 (home-page "http://libxmlplusplus.sourceforge.net/")
6050 (synopsis "C++ wrapper for XML parser library libxml2")
6051 (description
6052 "This package provides a C++ wrapper for the XML parser library
6053libxml2.")
6054 (license license:lgpl2.1+)))
df12f04a 6055
b61d9627
AW
6056(define-public libxml++-2
6057 (package
6058 (inherit libxml++)
6059 (name "libxml++")
6060 (version "2.40.1")
6061 (source (origin
6062 (method url-fetch)
6063 (uri (string-append "mirror://gnome/sources/" name "/"
6064 (version-major+minor version) "/"
6065 name "-" version ".tar.xz"))
6066 (sha256
6067 (base32
6068 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6069
df12f04a
SB
6070(define-public gdm
6071 (package
6072 (name "gdm")
7734b4a2 6073 (version "3.30.3")
df12f04a
SB
6074 (source (origin
6075 (method url-fetch)
6076 (uri (string-append "mirror://gnome/sources/" name "/"
6077 (version-major+minor version) "/"
6078 name "-" version ".tar.xz"))
6079 (sha256
6080 (base32
7734b4a2 6081 "15f7lz7z75krgbq8vb800afj96h8mw2fpy1s28za2911x5vgq0ak"))))
957dbc0a 6082 (build-system glib-or-gtk-build-system)
df12f04a
SB
6083 (arguments
6084 '(#:configure-flags
af37e6bb 6085 `("--without-plymouth"
957dbc0a 6086 "--disable-systemd-journal"
51bc8357
TS
6087
6088 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6089 ;; instead of having to replace it (i.e., stopping the mingetty
6090 ;; service for TTY 1 before starting GDM).
6091 "--with-initial-vt=7"
6092
89c86562
TS
6093 ;; Use '/etc/environment' for locale settings instead of the
6094 ;; systemd-specific '/etc/locale.conf'.
6095 "--with-lang-file=/etc/environment"
6096
b74ef0ba
RW
6097 ,(string-append "--with-udevdir="
6098 (assoc-ref %outputs "out") "/lib/udev")
6099
af37e6bb
AW
6100 "--localstatedir=/var"
6101 ,(string-append "--with-default-path="
6102 (string-join '("/run/setuid-programs"
6103 "/run/current-system/profile/bin"
6104 "/run/current-system/profile/sbin")
957dbc0a
AW
6105 ":"))
6106 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6107 ;; XDG_DATA_DIRS so that it finds its schemas.
6108 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
6109 #:phases
6110 (modify-phases %standard-phases
6111 (add-before
6112 'configure 'pre-configure
e8c6e771 6113 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
6114 ;; We don't have <systemd/sd-daemon.h>.
6115 (substitute* '("common/gdm-log.c"
6116 "daemon/gdm-server.c"
6117 "daemon/gdm-session-worker.c"
6118 "daemon/gdm-session-worker-job.c")
6119 (("#include <systemd/sd-daemon\\.h>") ""))
6120 ;; Use elogind for sd-login.
6121 (substitute* '("common/gdm-common.c"
6122 "daemon/gdm-manager.c"
6123 "libgdm/gdm-user-switching.c")
6124 (("#include <systemd/sd-login\\.h>")
6125 "#include <elogind/sd-login.h>"))
957dbc0a
AW
6126 ;; Check for elogind.
6127 (substitute* '("configure")
6128 (("libsystemd")
6129 "libelogind"))
af37e6bb
AW
6130 ;; Look for system-installed sessions in
6131 ;; /run/current-system/profile/share.
6132 (substitute* '("libgdm/gdm-sessions.c"
6133 "daemon/gdm-session.c"
6134 "daemon/gdm-display.c"
6135 "daemon/gdm-launch-environment.c")
6136 (("DATADIR \"/x")
6137 "\"/run/current-system/profile/share/x")
6138 (("DATADIR \"/wayland")
6139 "\"/run/current-system/profile/share/wayland")
6140 (("DATADIR \"/gnome")
6141 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 6142 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 6143 "GDM_DBUS_DAEMON"
c9ff92b5 6144 "GDM_X_SERVER"
41fa9f18 6145 "GDM_X_SESSION"
c9ff92b5
TS
6146 ;; XXX: Remove this once GNOME Shell is
6147 ;; a dependency of GDM.
6148 "XDG_DATA_DIRS")))
6149 (substitute* "daemon/gdm-session.c"
6150 (("set_up_session_environment \\(self\\);")
6151 (apply string-append
6152 "set_up_session_environment (self);\n"
6153 (map (lambda (name)
6154 (string-append
6155 "gdm_session_set_environment_variable "
6156 "(self, \"" name "\","
6157 "g_getenv (\"" name "\"));\n"))
6158 propagate)))))
a430a350
TS
6159 ;; Find the configuration file using an environment variable.
6160 (substitute* '("common/gdm-settings.c")
e0e6756f 6161 (("GDM_CUSTOM_CONF")
e57c2adb
TS
6162 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6163 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6164 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
6165 ;; Use service-supplied path to X.
6166 (substitute* '("daemon/gdm-server.c")
6167 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6168 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6169 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
6170 (("\"dbus-daemon\"")
6171 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 6172 (("X_SERVER")
41fa9f18
TS
6173 "g_getenv (\"GDM_X_SERVER\")")
6174 (("GDMCONFDIR \"/Xsession\"")
6175 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
6176 ;; Use an absolute path for GNOME Session.
6177 (substitute* "daemon/gdm-launch-environment.c"
6178 (("\"gnome-session\"")
6179 (string-append "\"" (assoc-ref inputs "gnome-session")
6180 "/bin/gnome-session\"")))
e8c6e771
TS
6181 ;; Do not automatically select the placeholder session.
6182 (substitute* "daemon/gdm-session.c"
6183 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6184 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6185 "(g_strcmp0(search_dirs[i], \""
6186 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6187 "\") == 0 && "
6188 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6189 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6190 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 6191 #t))
8caa4589
TS
6192 ;; GDM requires that there be at least one desktop entry
6193 ;; file. This phase installs a hidden one that simply
6194 ;; fails. This enables users to use GDM with a
6195 ;; '~/.xsession' script with no other desktop entry files.
6196 ;; See <https://bugs.gnu.org/35068>.
6197 (add-after 'install 'install-placeholder-desktop-entry
6198 (lambda* (#:key inputs outputs #:allow-other-keys)
6199 (let* ((out (assoc-ref outputs "out"))
6200 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6201 (fail (string-append sessions "/fail.desktop")))
6202 (mkdir-p sessions)
6203 (with-output-to-file fail
6204 (lambda ()
6205 (for-each
6206 display
6207 '("[Desktop Entry]\n"
6208 "Encoding=UTF-8\n"
6209 "Type=Application\n"
6210 "Name=Fail\n"
6211 "Comment=This session fails immediately.\n"
6212 "NoDisplay=true\n"
6213 "Exec=false\n"))))
6214 #t)))
69544798
TS
6215 ;; GDM needs GNOME Session to run these applications. We link
6216 ;; their autostart files in `share/gdm/greeter/autostart'
6217 ;; because GDM explicitly tells GNOME Session to look there.
6218 ;;
6219 ;; XXX: GNOME Shell should be linked here too, but currently
6220 ;; GNOME Shell depends on GDM.
6221 (add-after 'install 'link-autostart-files
6222 (lambda* (#:key inputs outputs #:allow-other-keys)
6223 (let* ((out (assoc-ref outputs "out"))
6224 (autostart (string-append out "/share/gdm/"
6225 "greeter/autostart"))
6226 (settings (assoc-ref inputs "gnome-settings-daemon")))
6227 (mkdir-p autostart)
6228 (with-directory-excursion autostart
6229 (for-each (lambda (desktop)
6230 (symlink desktop (basename desktop)))
6231 (find-files (string-append settings "/etc/xdg"))))
6232 #t))))))
df12f04a
SB
6233 (native-inputs
6234 `(("dconf" ,dconf)
6235 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6236 ("gobject-introspection" ,gobject-introspection)
6237 ("intltool" ,intltool)
6238 ("itstool" ,itstool)
6239 ("pkg-config" ,pkg-config)
6240 ("xmllint" ,libxml2)))
6241 (inputs
6242 `(("accountsservice" ,accountsservice)
6243 ("check" ,check) ; for testing
6244 ("elogind" ,elogind)
def6d6b6 6245 ("gnome-session" ,gnome-session)
69544798 6246 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
6247 ("gtk+" ,gtk+)
6248 ("iso-codes" ,iso-codes)
6249 ("libcanberra" ,libcanberra)
6250 ("linux-pam" ,linux-pam)))
6251 (synopsis "Display manager for GNOME")
f032d0be 6252 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
6253 (description
6254 "GNOME Display Manager is a system service that is responsible for
6255providing graphical log-ins and managing local and remote displays.")
6256 (license license:gpl2+)))
8e1dd04f
SB
6257
6258(define-public libgtop
6259 (package
6260 (name "libgtop")
015fc036 6261 (version "2.40.0")
8e1dd04f
SB
6262 (source (origin
6263 (method url-fetch)
59487fc2 6264 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 6265 (version-major+minor version) "/"
59487fc2 6266 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
6267 (sha256
6268 (base32
015fc036 6269 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
6270 (build-system gnu-build-system)
6271 (native-inputs
6272 `(("gobject-introspection" ,gobject-introspection)
6273 ("intltool" ,intltool)
6274 ("perl" ,perl)
6275 ("pkg-config" ,pkg-config)))
6276 (propagated-inputs
6277 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6278 (synopsis "Portable system access library")
6279 (home-page "https://www.gnome.org/")
6280 (description
6281 "LibGTop is a library to get system specific data such as CPU and memory
6282usage and information about running processes.")
6283 (license license:gpl2+)))
b96c4260
SB
6284
6285(define-public gnome-bluetooth
6286 (package
6287 (name "gnome-bluetooth")
723afae6 6288 (version "3.32.1")
b96c4260
SB
6289 (source (origin
6290 (method url-fetch)
6291 (uri (string-append "mirror://gnome/sources/" name "/"
6292 (version-major+minor version) "/"
6293 name "-" version ".tar.xz"))
6294 (sha256
6295 (base32
723afae6 6296 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
fd3b1171 6297 (build-system meson-build-system)
b96c4260
SB
6298 (native-inputs
6299 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 6300 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
6301 ("gobject-introspection" ,gobject-introspection)
6302 ("intltool" ,intltool)
6303 ("pkg-config" ,pkg-config)
6304 ("xmllint" ,libxml2)))
6305 (propagated-inputs
6306 ;; gnome-bluetooth-1.0.pc refers to all these.
723afae6
KK
6307 `(("glib" ,glib)
6308 ("gtk+" ,gtk+)))
b96c4260 6309 (inputs
723afae6
KK
6310 `(("eudev" ,eudev)
6311 ("libcanberra" ,libcanberra)
b96c4260
SB
6312 ("libnotify" ,libnotify)))
6313 (synopsis "GNOME Bluetooth subsystem")
6314 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6315 (description
6316 "This package contains tools for managing and manipulating Bluetooth
6317devices using the GNOME desktop.")
6318 (license license:lgpl2.1+)))
b645146f
SB
6319
6320(define-public gnome-control-center
6321 (package
6322 (name "gnome-control-center")
a6938bac 6323 (version "3.32.2")
b645146f
SB
6324 (source (origin
6325 (method url-fetch)
6326 (uri (string-append "mirror://gnome/sources/" name "/"
6327 (version-major+minor version) "/"
6328 name "-" version ".tar.xz"))
6329 (sha256
6330 (base32
a6938bac 6331 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
59dac026 6332 (build-system meson-build-system)
b645146f 6333 (arguments
59dac026
RW
6334 '(#:glib-or-gtk? #t
6335 #:configure-flags
64c70430
KK
6336 (list "-Dcheese=false"
6337 (string-append "-Dgnome_session_libexecdir="
6338 (assoc-ref %build-inputs "gnome-session")
6339 "/libexec"))
59dac026 6340 #:phases
b645146f
SB
6341 (modify-phases %standard-phases
6342 (add-before 'configure 'patch-paths
6343 (lambda* (#:key inputs #:allow-other-keys)
6344 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 6345 (tzdata (assoc-ref inputs "tzdata"))
341225ac 6346 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
6347 (nm-applet (assoc-ref inputs "network-manager-applet"))
6348 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
6349 (substitute* "panels/datetime/tz.h"
6350 (("/usr/share/zoneinfo/zone.tab")
6351 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 6352 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
6353 (("/usr/share/locale")
6354 (string-append libc "/share/locale")))
1df38cfc
LC
6355 (substitute* "panels/region/cc-region-panel.c"
6356 (("\"gkbd-keyboard-display")
6357 (string-append "\"" libgnomekbd
6358 "/bin/gkbd-keyboard-display")))
341225ac
LC
6359 (substitute* '("panels/network/net-device-wifi.c"
6360 "panels/network/net-device.c"
6361 "panels/network/connection-editor/net-connection-editor.c")
6362 (("\"nm-connection-editor")
6363 (string-append "\"" nm-applet
6364 "/bin/nm-connection-editor")))
1acd107c
FP
6365 (substitute* '("panels/user-accounts/run-passwd.c")
6366 (("/usr/bin/passwd")
6367 "/run/setuid-programs/passwd"))
64c70430
KK
6368 (substitute* "panels/info/cc-info-overview-panel.c"
6369 (("DATADIR \"/gnome/gnome-version.xml\"")
6370 (string-append "\"" gnome-desktop
6371 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
6372 #t))))))
6373 (native-inputs
6374 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 6375 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
6376 ("intltool" ,intltool)
6377 ("pkg-config" ,pkg-config)
a6938bac
KK
6378 ("xsltproc" ,libxslt)
6379 ;; For tests
6380 ("hicolor-icon-theme" ,hicolor-icon-theme)
6381 ("python-dbusmock" ,python-dbusmock)
6382 ("xorg-server" ,xorg-server-for-tests)))
b645146f
SB
6383 (inputs
6384 `(("accountsservice" ,accountsservice)
6385 ("clutter-gtk" ,clutter-gtk)
6386 ("colord-gtk" ,colord-gtk)
6387 ("cups" ,cups)
6388 ("dconf" ,dconf)
6389 ("docbook-xsl" ,docbook-xsl)
3446ffb5 6390 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
6391 ("gnome-bluetooth" ,gnome-bluetooth)
6392 ("gnome-desktop" ,gnome-desktop)
6393 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 6394 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 6395 ("gnome-session" ,gnome-session)
b645146f
SB
6396 ("gnome-settings-daemon" ,gnome-settings-daemon)
6397 ("grilo" ,grilo)
a6938bac 6398 ("gsound" ,gsound)
b645146f
SB
6399 ("ibus" ,ibus)
6400 ("libcanberra" ,libcanberra)
1df38cfc 6401 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
6402 ("libgudev" ,libgudev)
6403 ("libgtop" ,libgtop)
6404 ("libpwquality" ,libpwquality)
982c0b36 6405 ("libsecret" ,libsecret)
b645146f
SB
6406 ("libsoup" ,libsoup)
6407 ("libxml2" ,libxml2)
6408 ("libwacom" ,libwacom)
6409 ("mesa" ,mesa)
6410 ("mit-krb5" ,mit-krb5)
6411 ("modem-manager" ,modem-manager)
6412 ("network-manager-applet" ,network-manager-applet)
6413 ("polkit" ,polkit)
6414 ("pulseaudio" ,pulseaudio)
6415 ("smbclient" ,samba)
6416 ("tzdata" ,tzdata)
982c0b36 6417 ("udisks" ,udisks)
b645146f
SB
6418 ("upower" ,upower)))
6419 (synopsis "Utilities to configure the GNOME desktop")
6420 (home-page "https://www.gnome.org/")
6421 (description
6422 "This package contains configuration applets for the GNOME desktop,
6423allowing to set accessibility configuration, desktop fonts, keyboard and mouse
6424properties, sound setup, desktop theme and background, user interface
6425properties, screen resolution, and other GNOME parameters.")
6426 (license license:gpl2+)))
a4df5756
SB
6427
6428(define-public gnome-shell
6429 (package
6430 (name "gnome-shell")
bd0dc2df 6431 (version "3.30.2")
a4df5756
SB
6432 (source (origin
6433 (method url-fetch)
6434 (uri (string-append "mirror://gnome/sources/" name "/"
6435 (version-major+minor version) "/"
6436 name "-" version ".tar.xz"))
6437 (sha256
6438 (base32
bd0dc2df 6439 "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2"))
a76d0f03
LC
6440 (patches (search-patches "gnome-shell-theme.patch"))
6441 (modules '((guix build utils)))
6442 (snippet
6443 #~(begin
a76d0f03
LC
6444 ;; Copy images for use on the GDM log-in screen.
6445 (copy-file #$(file-append %artwork-repository
6446 "/slim/0.x/background.png")
6447 "data/theme/guix-background.png")
45fef894
LC
6448 (copy-file #$(file-append %artwork-repository
6449 "/logo/Guix-horizontal-white.svg")
6450 "data/theme/guix-logo.svg")
a76d0f03 6451 #t))))
2b0c755d 6452 (build-system meson-build-system)
a4df5756 6453 (arguments
08185081
MB
6454 `(#:glib-or-gtk? #t
6455 #:disallowed-references ((,glib "bin")
11e1df56
LC
6456 ,inkscape ,libxslt
6457 ,ruby-sass)
2b0c755d
RW
6458 #:configure-flags
6459 (list "-Dsystemd=false"
6460 ;; Otherwise, the RUNPATH will lack the final path component.
6461 (string-append "-Dc_link_args=-Wl,-rpath="
6462 (assoc-ref %outputs "out")
6463 "/lib/gnome-shell"))
11e1df56 6464
08185081 6465 #:modules ((guix build meson-build-system)
11e1df56
LC
6466 (guix build utils)
6467 (srfi srfi-1))
6468
2b0c755d 6469 #:phases
a4df5756 6470 (modify-phases %standard-phases
2b0c755d 6471 (add-after 'unpack 'fix-keysdir
a4df5756
SB
6472 (lambda* (#:key outputs #:allow-other-keys)
6473 (let* ((out (assoc-ref outputs "out"))
6474 (keysdir (string-append
6475 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
6476 (substitute* "meson.build"
6477 (("keysdir =.*")
6478 (string-append "keysdir = '" keysdir "'\n")))
6479 #t)))
ebfe259f
MB
6480 (add-before 'configure 'convert-logo-to-png
6481 (lambda* (#:key inputs #:allow-other-keys)
6482 ;; Convert the logo from SVG to PNG.
6483 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
6484 "data/theme/guix-logo.svg")))
ba00235a 6485 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
6486 (lambda* (#:key inputs #:allow-other-keys)
6487 (substitute* "js/misc/ibusManager.js"
6488 (("'ibus-daemon'")
6489 (string-append "'" (assoc-ref inputs "ibus")
6490 "/bin/ibus-daemon'")))
d6fda4d3
LC
6491 (substitute* "js/ui/status/keyboard.js"
6492 (("'gkbd-keyboard-display'")
6493 (string-append "'" (assoc-ref inputs "libgnomekbd")
6494 "/bin/gkbd-keyboard-display'")))
2472cdec 6495 #t))
2b0c755d
RW
6496 (add-before 'check 'pre-check
6497 (lambda* (#:key inputs #:allow-other-keys)
6498 ;; Tests require a running X server.
6499 (system "Xvfb :1 &")
6500 (setenv "DISPLAY" ":1")
6501 #t))
6502 (add-after 'install 'wrap-programs
6503 (lambda* (#:key inputs outputs #:allow-other-keys)
6504 (let ((out (assoc-ref outputs "out"))
6505 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6506 (python-path (getenv "PYTHONPATH")))
6507 (wrap-program (string-append out "/bin/gnome-shell")
6508 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6509 ;; FIXME: gnome-shell loads these libraries with unqualified
6510 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6511 ;; alternative might be to patch gnome-shell.
6512 `("LD_LIBRARY_PATH" ":" prefix
6513 ,(map (lambda (pkg)
6514 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
6515 '("gdk-pixbuf"
6516 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
6517 (for-each
6518 (lambda (prog)
6519 (wrap-program (string-append out "/bin/" prog)
6520 `("PYTHONPATH" ":" prefix (,python-path))
6521 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6522 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 6523 #t)))
11e1df56
LC
6524 (replace 'glib-or-gtk-wrap
6525 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6526 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6527 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6528 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6529 ;; phase. Fix that since we don't need these.
6530 (wrap #:inputs (fold alist-delete inputs
6531 '("inkscape" "intltool" "glib:bin"))
6532 #:outputs outputs)))))))
a4df5756
SB
6533 (native-inputs
6534 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 6535 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 6536 ("gobject-introspection" ,gobject-introspection)
ebfe259f 6537 ("inkscape" ,inkscape)
a4df5756
SB
6538 ("intltool" ,intltool)
6539 ("pkg-config" ,pkg-config)
6540 ("python" ,python)
2b0c755d
RW
6541 ("ruby-sass" ,ruby-sass)
6542 ("sassc" ,sassc)
a76d0f03 6543 ("xsltproc" ,libxslt)
2b0c755d 6544 ;; For tests
0b4504f6 6545 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
6546 (inputs
6547 `(("accountsservice" ,accountsservice)
6548 ("caribou" ,caribou)
6549 ("docbook-xsl" ,docbook-xsl)
6550 ("evolution-data-server" ,evolution-data-server)
6551 ("gcr" ,gcr)
6552 ("gdm" ,gdm)
c5db31d4 6553 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
6554 ("gjs" ,gjs)
6555 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
6556 ("gnome-desktop" ,gnome-desktop)
6557 ("gnome-settings-daemon" ,gnome-settings-daemon)
6558 ("gst-plugins-base" ,gst-plugins-base)
6559 ("ibus" ,ibus)
6560 ("libcanberra" ,libcanberra)
6561 ("libcroco" ,libcroco)
d6fda4d3 6562 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
6563 ("libgweather" ,libgweather)
6564 ("libsoup" ,libsoup)
6565 ("mesa-headers" ,mesa-headers)
6566 ("mutter" ,mutter)
6567 ("network-manager-applet" ,network-manager-applet)
6568 ("polkit" ,polkit)
6569 ("pulseaudio" ,pulseaudio)
6570 ("python-pygobject" ,python-pygobject)
6571 ("startup-notification" ,startup-notification)
6572 ("telepathy-logger" ,telepathy-logger)
6573 ("upower" ,upower)
30e760f0
MB
6574 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6575 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6576 ("librsvg" ,librsvg)
2b0c755d 6577 ("geoclue" ,geoclue)))
a4df5756
SB
6578 (synopsis "Desktop shell for GNOME")
6579 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6580 (description
6581 "GNOME Shell provides core user interface functions for the GNOME desktop,
6582like switching to windows and launching applications.")
6583 (license license:gpl2+)))
c3f29bc9
RS
6584
6585(define-public gtk-vnc
6586 (package
6587 (name "gtk-vnc")
965ff023 6588 (version "0.9.0")
c3f29bc9
RS
6589 (source
6590 (origin
6591 (method url-fetch)
6592 (uri (string-append "mirror://gnome/sources/" name "/"
6593 (version-major+minor version) "/"
6594 name "-" version ".tar.xz"))
6595 (sha256
6596 (base32
965ff023 6597 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
6598 (build-system gnu-build-system)
6599 (arguments
6600 '(#:configure-flags '("--with-gtk=3.0")))
6601 (propagated-inputs
6602 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6603 (inputs
6604 `(("cyrus-sasl" ,cyrus-sasl)
6605 ("gnutls" ,gnutls)
6606 ("libgcrypt" ,libgcrypt)
6607 ("pulseaudio" ,pulseaudio)))
6608 (native-inputs
6609 `(("glib:bin" ,glib "bin")
6610 ("gobject-introspection" ,gobject-introspection)
6611 ("intltool" ,intltool)
6612 ("pkg-config" ,pkg-config)
2f17e939 6613 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
6614 ("vala" ,vala)))
6615 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6616 (synopsis "VNC viewer widget for GTK+")
6617 (description
6618 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6619applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6620GTK-VNC implements client side RFB protocol and authentication extensions such
6621as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6622 (license license:lgpl2.1+)))
8b877545 6623
dc69fe18
MW
6624(define-public gnome-autoar
6625 (package
6626 (name "gnome-autoar")
c7da8510 6627 (version "0.2.3")
dc69fe18
MW
6628 (source (origin
6629 (method url-fetch)
6630 (uri (string-append "mirror://gnome/sources/" name "/"
6631 (version-major+minor version) "/"
6632 name "-" version ".tar.xz"))
6633 (sha256
6634 (base32
c7da8510 6635 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
6636 (build-system glib-or-gtk-build-system)
6637 (native-inputs
6638 `(("gnome-common" ,gnome-common)
6639 ("gobject-introspection" ,gobject-introspection)
6640 ("pkg-config" ,pkg-config)))
6641 (propagated-inputs
6642 `(("libarchive" ,libarchive))) ; XXX document why
6643 (inputs
0a6e9e13 6644 `(("gtk+" ,gtk+)))
dc69fe18
MW
6645 (synopsis "Archives integration support for GNOME")
6646 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6647 (description
6648 "GNOME Autoar is a library which makes creating and extracting archives
6649easy, safe, and automatic.")
6650 (license license:lgpl2.1+)))
6651
b64e217f
MW
6652(define-public tracker
6653 (package
6654 (name "tracker")
5ada561c 6655 (version "2.2.2")
b64e217f
MW
6656 (source (origin
6657 (method url-fetch)
b5b0fd23 6658 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 6659 (version-major+minor version) "/"
b5b0fd23 6660 "tracker-" version ".tar.xz"))
b64e217f
MW
6661 (sha256
6662 (base32
5ada561c
KK
6663 "1rp2c6k7ajcm553p9kpni87zgi9aplm3s01rl7pk575az5i399y6"))))
6664 (build-system meson-build-system)
c8bdf589 6665 (arguments
5ada561c
KK
6666 `(#:glib-or-gtk? #t
6667 #:configure-flags
6668 ;; Otherwise, the RUNPATH will lack the final path component.
6669 (list (string-append "-Dc_link_args=-Wl,-rpath="
6670 (assoc-ref %outputs "out") "/lib:"
6671 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
6672 #:phases
c8bdf589
RW
6673 (modify-phases %standard-phases
6674 (add-after 'unpack 'disable-broken-tests
6675 (lambda _
c8bdf589
RW
6676 ;; These fail because the SPARQL backend could not be loaded.
6677 ;; That's because /etc/machine-id is missing, but
6678 ;; DBUS_FATAL_WARNINGS does not help here.
5ada561c
KK
6679 (substitute* "tests/libtracker-sparql/meson.build"
6680 (("'sparql',") ""))
6681 (substitute* "tests/tracker-steroids/meson.build"
6682 (("test\\(.*") ""))
c8bdf589
RW
6683 #t))
6684 ;; Two tests fail if LANG is not set.
6685 (add-before 'check 'pre-check
6686 (lambda _
6687 (setenv "LANG" "en_US.UTF-8")
6688 ;; For the missing /etc/machine-id.
6689 (setenv "DBUS_FATAL_WARNINGS" "0")
6690 #t)))))
b64e217f 6691 (native-inputs
5ada561c
KK
6692 `(("glib:bin" ,glib "bin")
6693 ("gnome-common" ,gnome-common)
b64e217f 6694 ("gobject-introspection" ,gobject-introspection)
5ada561c 6695 ("python-pygobject" ,python-pygobject)
b64e217f
MW
6696 ("intltool" ,intltool)
6697 ("pkg-config" ,pkg-config)
6698 ("vala" ,vala)))
6699 (inputs
6700 `(("gtk+" ,gtk+)
6701 ("dbus" ,dbus)
44ed6284 6702 ("sqlite" ,sqlite)
c8bdf589 6703 ("python" ,python)
b64e217f 6704 ("poppler" ,poppler)
b64e217f
MW
6705 ("libpng" ,libpng)
6706 ("libtiff" ,libtiff)
b64e217f 6707 ("zlib" ,zlib)
b64e217f 6708 ("libxml2" ,libxml2)
b64e217f 6709 ("libunistring" ,libunistring)
0ef48cd9 6710 ("json-glib" ,json-glib)
b64e217f 6711 ("openjpeg" ,openjpeg-1)
b64e217f 6712 ("libseccomp" ,libseccomp)
0ef48cd9 6713 ("libsoup" ,libsoup)
5ada561c
KK
6714 ("libuuid" ,util-linux)
6715 ("network-manager" ,network-manager)))
b64e217f
MW
6716 (synopsis "Metadata database, indexer and search tool")
6717 (home-page "https://wiki.gnome.org/Projects/Tracker")
6718 (description
6719 "Tracker is an advanced framework for first class objects with associated
6720metadata and tags. It provides a one stop solution for all metadata, tags,
6721shared object databases, search tools and indexing.")
6722 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6723 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6724 (license (list license:gpl2+
6725 license:lgpl2.1+
6726 license:lgpl2.0+))))
6727
03be9874
KK
6728(define-public tracker-miners
6729 (package
6730 (name "tracker-miners")
6731 (version "2.2.2")
6732 (source (origin
6733 (method url-fetch)
6734 (uri (string-append "mirror://gnome/sources/tracker-miners/"
6735 (version-major+minor version)
6736 "/tracker-miners-" version ".tar.xz"))
6737 (sha256
6738 (base32
6739 "0kk5xaajamb8jlm6cfdbc2m3axzr6bnph84m7697xmb0pkg8hdiw"))))
6740 (build-system meson-build-system)
6741 (arguments
6742 `(#:glib-or-gtk? #t
6743 #:configure-flags
6744 (list "-Dminer_rss=false" ; libgrss is required.
6745 ;; Ensure the RUNPATH contains all installed library locations.
6746 (string-append "-Dc_link_args=-Wl,-rpath="
6747 (assoc-ref %outputs "out")
6748 "/lib/tracker-miners-2.0")
6749 ;; TODO: Enable functional tests. Currently, the following error
6750 ;; appears:
6751 ;; Exception: The functional tests require DConf to be the default
6752 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
6753 "-Dfunctional_tests=false")))
6754 (native-inputs
6755 `(("dbus" ,dbus)
6756 ("intltool" ,intltool)
6757 ("glib:bin" ,glib "bin")
6758 ("gobject-introspection" ,gobject-introspection)
6759 ("pkg-config" ,pkg-config)
6760 ("python-pygobject" ,python-pygobject)))
6761 (inputs
6762 `(("exempi" ,exempi)
6763 ("ffmpeg" ,ffmpeg)
6764 ("flac" ,flac)
6765 ("giflib" ,giflib)
6766 ("glib" ,glib)
6767 ("gstreamer" ,gstreamer)
6768 ("icu4c" ,icu4c)
6769 ("libcue" ,libcue)
6770 ("libexif" ,libexif)
6771 ("libgsf" ,libgsf)
6772 ("libgxps" ,libgxps)
6773 ("libiptcdata" ,libiptcdata)
6774 ("libjpeg" ,libjpeg)
6775 ("libosinfo" ,libosinfo)
6776 ("libpng" ,libpng)
6777 ("libseccomp" ,libseccomp)
6778 ("libtiff" ,libtiff)
6779 ("libvorbis" ,libvorbis)
6780 ("libxml2" ,libxml2)
6781 ("poppler" ,poppler)
6782 ("taglib" ,taglib)
6783 ("totem-pl-parser" ,totem-pl-parser)
6784 ("tracker" ,tracker)
6785 ("upower" ,upower)
6786 ("zlib" ,zlib)))
6787 (synopsis "Metadata database, indexer and search tool")
6788 (home-page "https://wiki.gnome.org/Projects/Tracker")
6789 (description
6790 "Tracker is an advanced framework for first class objects with associated
6791metadata and tags. It provides a one stop solution for all metadata, tags,
6792shared object databases, search tools and indexing.")
6793 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6794 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6795 (license (list license:gpl2+
6796 license:lgpl2.1+
6797 license:lgpl2.0+))))
6798
8b877545
RS
6799(define-public nautilus
6800 (package
6801 (name "nautilus")
3cafb9d4 6802 (version "3.32.1")
8b877545
RS
6803 (source (origin
6804 (method url-fetch)
6805 (uri (string-append "mirror://gnome/sources/" name "/"
6806 (version-major+minor version) "/"
6807 name "-" version ".tar.xz"))
6808 (sha256
6809 (base32
3cafb9d4 6810 "0vmrvimv4183l3ij4kv0ir2c9rfzk7gh3xc2pa4wkqq9kn7h6m7s"))))
35e2d0cf 6811 (build-system meson-build-system)
8b877545 6812 (arguments
35e2d0cf 6813 '(#:glib-or-gtk? #t
8b877545
RS
6814 ;; XXX: FAIL: check-nautilus
6815 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6816 #:tests? #f))
6817 (native-inputs
35e2d0cf
R
6818 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6819 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6820 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
6821 ("gobject-introspection" ,gobject-introspection)
6822 ("intltool" ,intltool)
6823 ("pkg-config" ,pkg-config)))
8b877545 6824 (inputs
8b877545 6825 `(("dconf" ,dconf)
caf6c363 6826 ("gexiv2" ,gexiv2)
dd05e731 6827 ("gvfs" ,gvfs)
8b877545
RS
6828 ("exempi" ,exempi)
6829 ("gnome-desktop" ,gnome-desktop)
09d88905 6830 ("gnome-autoar" ,gnome-autoar)
3cafb9d4 6831 ("gst-plugins-base" ,gst-plugins-base)
ec66ebd4 6832 ("libseccomp" ,libseccomp)
35e2d0cf 6833 ("libselinux" ,libselinux)
09d88905 6834 ("tracker" ,tracker)
3cafb9d4 6835 ("tracker-miners" ,tracker-miners)
ce6027bf
SB
6836 ;; XXX: gtk+ is required by libnautilus-extension.pc
6837 ;;
6838 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6839 ;; package. See:
6840 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6841 ("gtk+" ,gtk+)
8b877545
RS
6842 ("libexif" ,libexif)
6843 ("libxml2" ,libxml2)))
6844 (synopsis "File manager for GNOME")
6845 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6846 (description
6847 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6848design and behaviour, giving the user a simple way to navigate and manage its
6849files.")
6850 (license license:gpl2+)))
3c697ffd
JR
6851
6852(define-public baobab
6853 (package
6854 (name "baobab")
e0c5f20c 6855 (version "3.32.0")
3c697ffd
JR
6856 (source (origin
6857 (method url-fetch)
6858 (uri (string-append
6859 "mirror://gnome/sources/" name "/"
6860 (version-major+minor version) "/"
6861 name "-" version ".tar.xz"))
6862 (sha256
6863 (base32
e0c5f20c 6864 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
d233d373
RJ
6865 (build-system meson-build-system)
6866 (arguments
6867 '(#:glib-or-gtk? #t))
3c697ffd
JR
6868 (native-inputs
6869 `(("intltool" ,intltool)
6870 ("pkg-config" ,pkg-config)
d233d373
RJ
6871 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6872 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
6873 ("itstool" ,itstool)
6874 ("xmllint" ,libxml2)
6875 ("glib" ,glib "bin")
6876 ("vala" ,vala)))
6877 (inputs
6878 `(("gtk+" ,gtk+)))
6879 (synopsis "Disk usage analyzer for GNOME")
6880 (description
6881 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6882usage in the GNOME desktop environment. It can easily scan device volumes or
6883a specific user-requested directory branch (local or remote). Once the scan
6884is complete it provides a graphical representation of each selected folder.")
6885 (home-page "https://wiki.gnome.org/Apps/Baobab")
6886 (license license:gpl2+)))
dc050251 6887
fdba447c
RS
6888(define-public gnome-backgrounds
6889 (package
6890 (name "gnome-backgrounds")
e04e8a8c 6891 (version "3.32.0")
fdba447c
RS
6892 (source
6893 (origin
6894 (method url-fetch)
6895 (uri (string-append "mirror://gnome/sources/" name "/"
6896 (version-major+minor version) "/"
6897 name "-" version ".tar.xz"))
6898 (sha256
6899 (base32
e04e8a8c 6900 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
9ca381f0 6901 (build-system meson-build-system)
fdba447c
RS
6902 (native-inputs
6903 `(("intltool" ,intltool)))
e04e8a8c 6904 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
fdba447c
RS
6905 (synopsis "Background images for the GNOME desktop")
6906 (description
6907 "GNOME backgrounds package contains a collection of graphics files which
6908can be used as backgrounds in the GNOME Desktop environment. Additionally,
6909the package creates the proper framework and directory structure so that you
6910can add your own files to the collection.")
6911 (license (list license:gpl2+
6912 license:cc-by2.0
6913 license:cc-by-sa2.0
6914 license:cc-by-sa3.0))))
6915
b784b1a9
RS
6916(define-public gnome-screenshot
6917 (package
6918 (name "gnome-screenshot")
6acf4033 6919 (version "3.32.0")
b784b1a9
RS
6920 (source
6921 (origin
6922 (method url-fetch)
6923 (uri (string-append "mirror://gnome/sources/" name "/"
6924 (version-major+minor version) "/"
6925 name "-" version ".tar.xz"))
6926 (sha256
6927 (base32
6acf4033 6928 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
8356aefa 6929 (build-system meson-build-system)
b784b1a9
RS
6930 (native-inputs
6931 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
6932 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6933 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 6934 ("intltool" ,intltool)
8356aefa 6935 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
6936 ("pkg-config" ,pkg-config)))
6937 (inputs
6938 `(("gtk+" ,gtk+)
6939 ("libcanberra" ,libcanberra)
6940 ("libx11" ,libx11)
6941 ("libxext" ,libxext)))
676e7cb4 6942 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
6943 (synopsis "Take pictures of your screen")
6944 (description
6945 "GNOME Screenshot is a utility used for taking screenshots of the entire
6946screen, a window or a user defined area of the screen, with optional
6947beautifying border effects.")
6948 (license license:gpl2+)))
6949
66d59111
RS
6950(define-public dconf-editor
6951 (package
6952 (name "dconf-editor")
66261451 6953 (version "3.32.0")
66d59111
RS
6954 (source
6955 (origin
6956 (method url-fetch)
6957 (uri (string-append "mirror://gnome/sources/" name "/"
6958 (version-major+minor version) "/"
6959 name "-" version ".tar.xz"))
6960 (sha256
6961 (base32
66261451 6962 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
294ff39d 6963 (build-system meson-build-system)
86f2124b
LC
6964 (arguments
6965 '(#:phases (modify-phases %standard-phases
6966 (add-before 'configure 'set-glib-minimum-version
6967 (lambda _
6968 ;; Change the minimum required GLib version so that
6969 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
6970 ;; do that, it complains that "55" is not an even
6971 ;; number. See <https://bugs.gnu.org/37503>.
6972 (substitute* "editor/meson.build"
6973 (("2\\.55\\.1") "2.60.0"))
6974 #t)))))
66d59111
RS
6975 (native-inputs
6976 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 6977 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 6978 ("intltool" ,intltool)
294ff39d
RW
6979 ("pkg-config" ,pkg-config)
6980 ("vala" ,vala)))
66d59111
RS
6981 (inputs
6982 `(("dconf" ,dconf)
6983 ("gtk+" ,gtk+)
6984 ("libxml2" ,libxml2)))
6985 (home-page "https://git.gnome.org/browse/dconf-editor")
6986 (synopsis "Graphical editor for GNOME's dconf configuration system")
6987 (description
6988 "Dconf-editor is a graphical tool for browsing and editing the dconf
6989configuration system for GNOME. It allows users to configure desktop
6990software that do not provide their own configuration interface.")
6991 (license license:lgpl2.1+)))
6992
96d36f38
AW
6993(define-public gnome-default-applications
6994 (package
6995 (name "gnome-default-applications")
6996 (version "0")
6997 (build-system trivial-build-system)
6998 (source #f)
6999 (propagated-inputs
8ad4f0aa
LC
7000 `(("nautilus" ,nautilus)
7001 ("evince" ,evince)))
96d36f38
AW
7002 (arguments
7003 `(#:modules ((guix build utils))
7004 #:builder
7005 (begin
7006 (use-modules (guix build utils))
7007 (let* ((out (assoc-ref %outputs "out"))
7008 (apps (string-append out "/share/applications")))
7009 (mkdir-p apps)
7010 (call-with-output-file (string-append apps "/defaults.list")
7011 (lambda (port)
7012 (format port "[Default Applications]\n")
8ad4f0aa
LC
7013 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7014 (format port "application/pdf=evince.desktop\n")
7015 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
7016 #t))))
7017 (synopsis "Default MIME type associations for the GNOME desktop")
7018 (description
7019 "Given many installed packages which might handle a given MIME type, a
7020user running the GNOME desktop probably has some preferences: for example,
7021that folders be opened by default by the Nautilus file manager, not the Baobab
7022disk usage analyzer. This package establishes that set of default MIME type
7023associations for GNOME.")
7024 (license license:gpl3+)
7025 (home-page #f)))
7026
dc050251
SB
7027(define-public gnome
7028 (package
7029 (name "gnome")
7030 (version (package-version gnome-shell))
7031 (source #f)
7032 (build-system trivial-build-system)
e3cfef22 7033 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251
SB
7034 (propagated-inputs
7035 ;; TODO: Add more packages according to:
7036 ;; <https://packages.debian.org/jessie/gnome-core>.
7037 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 7038 ("baobab" ,baobab)
0bd3597b 7039 ("font-cantarell" ,font-cantarell)
a9dbefdc 7040 ("font-dejavu" ,font-dejavu)
dc050251
SB
7041 ("at-spi2-core" ,at-spi2-core)
7042 ("dbus" ,dbus)
7043 ("dconf" ,dconf)
72360453 7044 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
7045 ("eog" ,eog)
7046 ("epiphany" ,epiphany)
7047 ("evince" ,evince)
71d9b980 7048 ("file-roller" ,file-roller)
dc050251
SB
7049 ("gedit" ,gedit)
7050 ("glib-networking" ,glib-networking)
05f651c4 7051 ("gnome-backgrounds" ,gnome-backgrounds)
63ad9b80
AW
7052 ("gnome-bluetooth" ,gnome-bluetooth)
7053 ("gnome-calculator" ,gnome-calculator)
dc050251 7054 ("gnome-control-center" ,gnome-control-center)
63ad9b80 7055 ("gnome-disk-utility" ,gnome-disk-utility)
96d36f38 7056 ("gnome-default-applications" ,gnome-default-applications)
dc050251 7057 ("gnome-keyring" ,gnome-keyring)
63ad9b80 7058 ("gnome-online-accounts" ,gnome-online-accounts)
56987d78 7059 ("gnome-screenshot" ,gnome-screenshot)
dc050251
SB
7060 ("gnome-session" ,gnome-session)
7061 ("gnome-settings-daemon" ,gnome-settings-daemon)
7062 ("gnome-shell" ,gnome-shell)
63ad9b80 7063 ("gnome-system-monitor" ,gnome-system-monitor)
dc050251
SB
7064 ("gnome-terminal" ,gnome-terminal)
7065 ("gnome-themes-standard" ,gnome-themes-standard)
2999dcd5
AW
7066 ("gst-plugins-base" ,gst-plugins-base)
7067 ("gst-plugins-good" ,gst-plugins-good)
63ad9b80 7068 ("gucharmap" ,gucharmap)
05f651c4 7069 ("gvfs" ,gvfs)
dc050251
SB
7070 ("hicolor-icon-theme" ,hicolor-icon-theme)
7071 ("nautilus" ,nautilus)
69308043 7072 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
7073 ("pulseaudio" ,pulseaudio)
7074 ("shared-mime-info" ,shared-mime-info)
f6f4370f 7075 ("system-config-printer" ,system-config-printer)
dc050251 7076 ("totem" ,totem)
c20cd0d2 7077 ("xdg-user-dirs" ,xdg-user-dirs)
dc050251
SB
7078 ("yelp" ,yelp)
7079 ("zenity" ,zenity)))
fe4e698d 7080 (synopsis "The GNU desktop environment")
dc050251
SB
7081 (home-page "https://www.gnome.org/")
7082 (description
fe4e698d
LC
7083 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7084applications for browsing the web, editing text and images, creating
7085documents and diagrams, playing media, scanning, and much more.")
dc050251 7086 (license license:gpl2+)))
4a526711
DT
7087
7088(define-public byzanz
7089 ;; The last stable release of Byzanz was in 2011, but there have been many
7090 ;; useful commits made to the Byzanz repository since then that it would be
7091 ;; silly to use such an old release.
7092 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7093 (package
7094 (name "byzanz")
7095 (version (string-append "0.2-1." (string-take commit 7)))
7096 (source (origin
7097 (method git-fetch)
7098 (uri (git-reference
5f13bf09 7099 (url "https://git.gnome.org/browse/byzanz")
4a526711 7100 (commit commit)))
5a6527e4 7101 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
7102 (sha256
7103 (base32
7104 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7105 (build-system glib-or-gtk-build-system)
7106 (arguments
7107 '(#:phases
7108 (modify-phases %standard-phases
189be331 7109 (replace 'bootstrap
4a526711
DT
7110 (lambda _
7111 ;; The build system cleverly detects that we're not building from
7112 ;; a release tarball and turns on -Werror for GCC.
7113 ;; Unsurprisingly, there is a warning during compilation that
7114 ;; causes the build to fail unnecessarily, so we remove the flag.
7115 (substitute* '("configure.ac")
7116 (("-Werror") ""))
7117 ;; The autogen.sh script in gnome-common will run ./configure
7118 ;; by default, which is problematic because source shebangs
7119 ;; have not yet been patched.
7120 (setenv "NOCONFIGURE" "t")
7121 (zero? (system* "sh" "autogen.sh")))))))
7122 (native-inputs
7123 `(("autoconf" ,autoconf)
7124 ("automake" ,automake)
7125 ("gnome-common" ,gnome-common)
7126 ("intltool" ,intltool)
7127 ("libtool" ,libtool)
7128 ("pkg-config" ,pkg-config)
7129 ("which" ,which)))
7130 (inputs
7131 `(("glib" ,glib)
7132 ("gstreamer" ,gstreamer)
7133 ("gst-plugins-base" ,gst-plugins-base)
7134 ("gtk+" ,gtk+)))
7135 (synopsis "Desktop recording program")
7136 (description "Byzanz is a simple desktop recording program with a
7137command-line interface. It can record part or all of an X display for a
7138specified duration and save it as a GIF encoded animated image file.")
7139 (home-page "https://git.gnome.org/browse/byzanz")
7140 (license license:gpl2+))))
3a9a4c51 7141
0ec171ec
MS
7142(define-public gsound
7143 (package
7144 (name "gsound")
7145 (version "1.0.2")
7146 (source (origin
7147 (method url-fetch)
7148 (uri (string-append "mirror://gnome/sources/" name "/"
7149 (version-major+minor version) "/"
7150 name "-" version ".tar.xz"))
7151 (sha256
7152 (base32
7153 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7154 (build-system glib-or-gtk-build-system)
7155 (native-inputs
7156 `(("pkg-config" ,pkg-config)
7157 ("gobject-introspection" ,gobject-introspection)
7158 ("vala" ,vala)))
7159 (inputs
7160 `(("glib" ,glib)
7161 ("libcanberra" ,libcanberra)))
7162 (home-page "https://wiki.gnome.org/Projects/GSound")
7163 (synopsis "GObject wrapper for libcanberra")
7164 (description
7165 "GSound is a small library for playing system sounds. It's designed to be
7166used via GObject Introspection, and is a thin wrapper around the libcanberra C
7167library.")
7168 (license license:lgpl2.1+)))
7169
3a9a4c51
RS
7170(define-public libzapojit
7171 (package
7172 (name "libzapojit")
7173 (version "0.0.3")
7174 (source (origin
7175 (method url-fetch)
7176 (uri (string-append "mirror://gnome/sources/" name "/"
7177 (version-major+minor version) "/"
7178 name "-" version ".tar.xz"))
7179 (sha256
7180 (base32
7181 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7182 (build-system gnu-build-system)
7183 (native-inputs
7184 `(("gobject-introspection" ,gobject-introspection)
7185 ("intltool" ,intltool)
7186 ("pkg-config" ,pkg-config)))
7187 (inputs
14c297fd 7188 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
7189 ("json-glib" ,json-glib)
7190 ("rest" ,rest)))
7191 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7192 (synopsis "Library for accessing SkyDrive and Hotmail")
7193 (description
7194 "Libzapojit is a GLib-based library for accessing online service APIs of
7195Microsoft SkyDrive and Hotmail, using their REST protocols.")
7196 (license license:lgpl2.1+)))
9365ee1c 7197
60e2a9ae
MS
7198(define-public gnome-clocks
7199 (package
7200 (name "gnome-clocks")
c76d0dbc 7201 (version "3.32.0")
60e2a9ae
MS
7202 (source (origin
7203 (method url-fetch)
7204 (uri (string-append "mirror://gnome/sources/" name "/"
7205 (version-major+minor version) "/"
7206 name "-" version ".tar.xz"))
7207 (sha256
7208 (base32
c76d0dbc 7209 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
60e2a9ae
MS
7210 (build-system meson-build-system)
7211 (arguments
7212 '(#:glib-or-gtk? #t))
7213 (native-inputs
7214 `(("vala" ,vala)
7215 ("pkg-config" ,pkg-config)
7216 ("glib" ,glib "bin") ; for glib-compile-resources
7217 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7218 ("desktop-file-utils" ,desktop-file-utils)
7219 ("gettext" ,gettext-minimal)
7220 ("itstool" ,itstool)))
7221 (inputs
7222 `(("glib" ,glib)
7223 ("gtk+" ,gtk+)
7224 ("gsound" ,gsound)
7225 ("geoclue" ,geoclue)
7226 ("geocode-glib" ,geocode-glib)
7227 ("libgweather" ,libgweather)
7228 ("gnome-desktop" ,gnome-desktop)))
7229 (home-page "https://wiki.gnome.org/Apps/Clocks")
7230 (synopsis "GNOME's clock application")
7231 (description
7232 "GNOME Clocks is a simple clocks application designed to fit the GNOME
7233desktop. It supports world clock, stop watch, alarms, and count down timer.")
7234 (license license:gpl3+)))
7235
3c474897
KY
7236(define-public gnome-calendar
7237 (package
7238 (name "gnome-calendar")
339b59bf 7239 (version "3.32.2")
3c474897
KY
7240 (source (origin
7241 (method url-fetch)
7242 (uri (string-append "mirror://gnome/sources/" name "/"
7243 (version-major+minor version) "/"
7244 name "-" version ".tar.xz"))
7245 (sha256
7246 (base32
339b59bf 7247 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
a49d3e37
MS
7248 (build-system meson-build-system)
7249 (arguments
7250 '(#:glib-or-gtk? #t
7251 ;; gnome-calendar has to be installed before the tests can be run
7252 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
7253 #:tests? #f))
3c474897 7254 (native-inputs
a49d3e37
MS
7255 `(("gettext" ,gettext-minimal)
7256 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
7257 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
7258 ("pkg-config" ,pkg-config)))
7259 (inputs
a49d3e37 7260 `(("evolution-data-server" ,evolution-data-server)
14c297fd 7261 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
7262 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7263 ("libdazzle" ,libdazzle)
b63c06f1 7264 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
7265 ("libgweather" ,libgweather)
7266 ("geoclue" ,geoclue)))
3c474897
KY
7267 (home-page "https://wiki.gnome.org/Apps/Calendar")
7268 (synopsis "GNOME's calendar application")
7269 (description
7270 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 7271desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
7272 (license license:gpl3+)))
7273
57b14665
MS
7274(define-public gnome-todo
7275 (package
7276 (name "gnome-todo")
9f3c6c88 7277 (version "3.28.1")
57b14665
MS
7278 (source (origin
7279 (method url-fetch)
7280 (uri (string-append "mirror://gnome/sources/" name "/"
7281 (version-major+minor version) "/"
7282 name "-" version ".tar.xz"))
7283 (sha256
7284 (base32
9f3c6c88 7285 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
7286 (build-system meson-build-system)
7287 (arguments
7288 '(#:glib-or-gtk? #t
7289 #:phases (modify-phases %standard-phases
7290 (add-after
7291 'install 'wrap-gnome-todo
7292 (lambda* (#:key inputs outputs #:allow-other-keys)
7293 (let ((out (assoc-ref outputs "out"))
7294 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7295 (python-path (getenv "PYTHONPATH")))
7296 (wrap-program (string-append out "/bin/gnome-todo")
7297 ;; XXX: gi plugins are broken.
7298 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
7299 ;; For plugins.
7300 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7301 `("PYTHONPATH" ":" prefix (,python-path))))
7302 #t)))))
7303 (native-inputs
7304 `(("gettext" ,gettext-minimal)
7305 ("gobject-introspection" ,gobject-introspection)
7306 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7307 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7308 ("pkg-config" ,pkg-config)))
7309 (inputs
7310 `(("rest" ,rest) ; For Todoist plugin
7311 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 7312 ("libedataserverui" ,evolution-data-server)
57b14665
MS
7313 ("libical" ,libical)
7314 ("libpeas" ,libpeas)
7315 ("python-pygobject" ,python-pygobject)
7316 ("evolution-data-server" ,evolution-data-server)
14c297fd 7317 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
7318 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
7319 (home-page "https://wiki.gnome.org/Apps/Todo")
7320 (synopsis "GNOME's ToDo Application")
7321 (description
7322 "GNOME To Do is a simplistic personal task manager designed to perfectly
7323fit the GNOME desktop.")
7324 (license license:gpl3+)))
7325
ab179eaf
SB
7326(define-public gnome-dictionary
7327 (package
7328 (name "gnome-dictionary")
cf81ddef 7329 (version "3.26.1")
ab179eaf
SB
7330 (source (origin
7331 (method url-fetch)
7332 (uri (string-append "mirror://gnome/sources/" name "/"
7333 (version-major+minor version) "/"
7334 name "-" version ".tar.xz"))
7335 (sha256
7336 (base32
cf81ddef
LC
7337 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
7338 (build-system meson-build-system)
2776b5d5
MB
7339 (arguments '(#:glib-or-gtk? #t
7340 #:phases (modify-phases %standard-phases
7341 (add-after 'unpack 'patch-install-script
7342 (lambda _
7343 ;; This script attempts to compile glib schemas
7344 ;; and create an empty MIME database. We do
7345 ;; that elsewhere, so prevent it from running.
7346 (substitute* "build-aux/post-install.sh"
7347 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
7348 #t)))))
ab179eaf
SB
7349 (native-inputs
7350 `(("glib:bin" ,glib "bin")
7351 ("gobject-introspection" ,gobject-introspection)
7352 ("intltool" ,intltool)
7353 ("itstool" ,itstool)
7354 ("pkg-config" ,pkg-config)
7355 ("xmllint" ,libxml2)))
7356 (inputs
7357 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7358 ("gtk+" ,gtk+)))
7359 (home-page "https://wiki.gnome.org/Apps/Dictionary")
7360 (synopsis "Look up words in dictionary sources")
7361 (description
7362 "GNOME Dictionary can look for the definition or translation of a word in
7363existing databases over the internet.")
7364 (license license:gpl3+)))
7365
d13f3a03 7366(define-public gnome-tweaks
9365ee1c 7367 (package
d13f3a03 7368 (name "gnome-tweaks")
652af676 7369 (version "3.32.0")
9365ee1c
JN
7370 (source (origin
7371 (method url-fetch)
d13f3a03 7372 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 7373 (version-major+minor version) "/"
d13f3a03
RW
7374 "gnome-tweaks-" version ".tar.xz"))
7375 (patches
7376 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
7377 (sha256
7378 (base32
652af676 7379 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
d13f3a03 7380 (build-system meson-build-system)
9365ee1c 7381 (arguments
d13f3a03
RW
7382 `(#:glib-or-gtk? #t
7383 #:configure-flags '("-Dlocalstatedir=/tmp"
7384 "-Dsysconfdir=/tmp")
9365ee1c 7385 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
7386 ,@%meson-build-system-modules)
7387 #:phases
7388 (modify-phases %standard-phases
7389 (add-after 'install 'wrap
7390 (@@ (guix build python-build-system) wrap))
7391 (add-after 'wrap 'wrap-gi-typelib
7392 (lambda* (#:key inputs outputs #:allow-other-keys)
7393 (let ((out (assoc-ref outputs "out"))
7394 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7395 (wrap-program (string-append out "/bin/gnome-tweaks")
7396 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7397 #t)))))
9365ee1c 7398 (native-inputs
c7fc414e
RH
7399 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7400 ("intltool" ,intltool)
9365ee1c
JN
7401 ("pkg-config" ,pkg-config)))
7402 (inputs
c7fc414e
RH
7403 `(("gnome-desktop" ,gnome-desktop)
7404 ("gtk+" ,gtk+)
9365ee1c
JN
7405 ("gobject-introspection" ,gobject-introspection)
7406 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
7407 ("libnotify" ,libnotify)
7408 ("libsoup" ,libsoup)
7409 ("nautilus" ,nautilus)
7410 ("python" ,python)
7411 ("python-pygobject" ,python-pygobject)))
9365ee1c 7412 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 7413 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 7414 (description
d13f3a03 7415 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
7416GNOME 3. This includes things like the fonts used in user interface elements,
7417alternative user interface themes, changes in window management behavior,
7418GNOME Shell appearance and extension, etc.")
7419 (license license:gpl3+)))
813f814a 7420
d13f3a03
RW
7421;; This package has been renamed by upstream.
7422(define-public gnome-tweak-tool
7423 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7424
32ac717c
DT
7425(define-public gnome-shell-extensions
7426 (package
7427 (name "gnome-shell-extensions")
ae4c05e0 7428 (version "3.32.1")
32ac717c
DT
7429 (source (origin
7430 (method url-fetch)
7431 (uri (string-append "mirror://gnome/sources/" name "/"
7432 (version-major+minor version) "/"
7433 name "-" version ".tar.xz"))
7434 (sha256
7435 (base32
ae4c05e0 7436 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
100f625b 7437 (build-system meson-build-system)
32ac717c 7438 (arguments
100f625b 7439 '(#:configure-flags '("-Dextension_set=all")))
32ac717c
DT
7440 (native-inputs
7441 `(("intltool" ,intltool)
7442 ("pkg-config" ,pkg-config)))
7443 (propagated-inputs
7444 `(("glib" ,glib)
7445 ("glib" ,glib "bin")))
7446 (synopsis "Extensions for GNOME Shell")
7447 (description "GNOME Shell extensions modify and extend GNOME Shell
7448functionality and behavior.")
7449 (home-page "https://extensions.gnome.org/")
7450 (license license:gpl3+)))
7451
813f814a
DT
7452(define-public arc-theme
7453 (package
7454 (name "arc-theme")
37781323 7455 (version "20190917")
813f814a 7456 (source (origin
a18f8eaf
BH
7457 (method git-fetch)
7458 (uri (git-reference
7459 (url "https://github.com/NicoHood/arc-theme.git")
7460 (commit version)))
7461 (file-name (git-file-name name version))
813f814a
DT
7462 (sha256
7463 (base32
37781323 7464 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
813f814a 7465 (build-system gnu-build-system)
d88884fa
EF
7466 (arguments
7467 '(#:phases
7468 (modify-phases %standard-phases
7469 ;; autogen.sh calls configure at the end of the script.
7470 (replace 'bootstrap
7471 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
7472 (native-inputs
7473 `(("autoconf" ,autoconf)
7474 ("automake" ,automake)
a18f8eaf
BH
7475 ("glib" ,glib "bin") ; for glib-compile-resources
7476 ("gnome-shell" ,gnome-shell)
7477 ("gtk+" ,gtk+)
7478 ("inkscape" ,inkscape)
7479 ("optipng" ,optipng)
7480 ("pkg-config" ,pkg-config)
7481 ("sassc" ,sassc)))
813f814a
DT
7482 (synopsis "A flat GTK+ theme with transparent elements")
7483 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
74842, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7485like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7486 (home-page "https://github.com/horst3180/arc-theme")
7487 ;; No "or later" language found.
a18f8eaf 7488 (license license:gpl3+)))
9987c57c 7489
d935e6a1 7490(define-public faba-icon-theme
9987c57c 7491 (package
d935e6a1 7492 (name "faba-icon-theme")
2eee7ee3 7493 (version "4.3")
d935e6a1
BT
7494 (source
7495 (origin
757e4027
TGR
7496 (method git-fetch)
7497 (uri (git-reference
7498 (url "https://github.com/snwh/faba-icon-theme.git")
7499 (commit (string-append "v" version))))
7500 (file-name (git-file-name name version))
d935e6a1 7501 (sha256
757e4027 7502 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
f6a9b345 7503 (build-system meson-build-system)
9987c57c 7504 (arguments
82da291a 7505 `(#:phases
9987c57c 7506 (modify-phases %standard-phases
82da291a 7507 (add-before 'configure 'disable-post-install
9987c57c 7508 (lambda _
82da291a
JL
7509 (substitute* "meson.build"
7510 (("meson.add_install_script.*") "")))))))
9987c57c
DT
7511 (native-inputs
7512 `(("autoconf" ,autoconf)
7513 ("automake" ,automake)))
d935e6a1
BT
7514 (synopsis "Faba icon theme")
7515 (description
7516 "Faba is a minimal icon set used as a basis for other themes such as
7517Moka")
7518 (home-page "https://snwh.org/moka")
7519 (license (list license:lgpl3+
7520 license:cc-by-sa4.0))))
7521
9987c57c
DT
7522(define-public moka-icon-theme
7523 (package
8b0e4177 7524 (inherit faba-icon-theme)
9987c57c 7525 (name "moka-icon-theme")
105a3625 7526 (version "5.4.0")
8c3f2170
TGR
7527 (source
7528 (origin
7529 (method git-fetch)
7530 (uri (git-reference
7531 (url "https://github.com/snwh/moka-icon-theme.git")
7532 (commit (string-append "v" version))))
7533 (file-name (git-file-name name version))
7534 (sha256
7535 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
550281fb
BT
7536 (propagated-inputs
7537 ;; Moka is based on Faba by using it as a fallback icon set instead of
7538 ;; bundling it, so we need to add it as a propagated input.
7539 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
7540 (synopsis "Moka icon theme")
7541 (description "Moka is a stylized desktop icon set, designed to be clear,
7542simple and consistent.")
fedde43b
BT
7543 (license (list license:gpl3+
7544 license:cc-by-sa4.0))))
6fd8f8d6
DT
7545
7546(define-public arc-icon-theme
7547 (package
7548 (name "arc-icon-theme")
c4180240 7549 (version "20161122")
bbf66cbf
TGR
7550 (source
7551 (origin
7552 (method git-fetch)
7553 (uri (git-reference
7554 (url "https://github.com/horst3180/arc-icon-theme.git")
7555 (commit version)))
7556 (file-name (git-file-name name version))
7557 (sha256
7558 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
6fd8f8d6 7559 (build-system gnu-build-system)
9e1ede95
JL
7560 (arguments
7561 `(#:phases
7562 (modify-phases %standard-phases
7563 (add-after 'unpack 'disable-configure-during-bootstrap
7564 (lambda _
7565 (substitute* "autogen.sh"
7566 (("^\"\\$srcdir/configure\".*") ""))
7567 #t)))))
6fd8f8d6
DT
7568 (native-inputs
7569 `(("autoconf" ,autoconf)
7570 ("automake" ,automake)))
7571 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7572 (propagated-inputs
7573 `(("moka-icon-theme" ,moka-icon-theme)))
7574 (synopsis "Arc icon theme")
7575 (description "The Arc icon theme provides a set of icons matching the
7576style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7577the Moka icon theme.")
7578 (home-page "https://github.com/horst3180/arc-icon-theme")
7579 (license license:gpl3+)))
6064a4e8
LF
7580
7581(define-public folks
7582 (package
7583 (name "folks")
d23495fa 7584 (version "0.11.4")
6064a4e8
LF
7585 (source (origin
7586 (method url-fetch)
7587 (uri (string-append
e5f4796e 7588 "mirror://gnome/sources/folks/"
6064a4e8 7589 (version-major+minor version) "/"
e5f4796e 7590 "folks-" version ".tar.xz"))
6064a4e8
LF
7591 (sha256
7592 (base32
d23495fa 7593 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
7594 (build-system glib-or-gtk-build-system)
7595 (inputs
7596 `(("bdb" ,bdb)
7597 ("dbus-glib" ,dbus-glib)
7598 ("evolution-data-server" ,evolution-data-server)
7599 ("glib" ,glib)
7600 ("libgee" ,libgee)
7601 ("telepathy-glib" ,telepathy-glib)))
7602 (native-inputs
7603 `(("gobject-introspection" ,gobject-introspection)
7604 ("intltool" ,intltool)
7605 ("pkg-config" ,pkg-config)
7606 ("vala" ,vala)))
7607 (synopsis "Library to aggregate data about people")
7608 (description "Libfolks is a library that aggregates information about people
7609from multiple sources (e.g., Telepathy connection managers for IM contacts,
7610Evolution Data Server for local contacts, libsocialweb for web service contacts,
7611etc.) to create metacontacts. It's written in Vala, which generates C code when
7612compiled.")
7613 (home-page "https://wiki.gnome.org/Projects/Folks")
7614 (license license:lgpl2.1+)))
01ea778f
LF
7615
7616(define-public gfbgraph
7617 (package
7618 (name "gfbgraph")
7619 (version "0.2.3")
7620 (source (origin
7621 (method url-fetch)
7622 (uri (string-append
237d4cf7 7623 "mirror://gnome/sources/gfbgraph/"
01ea778f 7624 (version-major+minor version) "/"
237d4cf7 7625 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
7626 (sha256
7627 (base32
7628 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7629 (build-system glib-or-gtk-build-system)
7630 (arguments
7631 `(#:tests? #f ; Tests appear to require the network.
7632 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7633 #:configure-flags '("--disable-gtk-doc"
7634 "--disable-static"
7635 "--enable-introspection")))
7636 (native-inputs
7637 `(("pkg-config" ,pkg-config)
7638 ("gobject-introspection" ,gobject-introspection)))
7639 (inputs
7640 `(("json-glib" ,json-glib)
14c297fd 7641 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
7642 ("rest" ,rest)))
7643 (synopsis "GLib/GObject wrapper for the Facebook API")
7644 (description "This library allows you to use the Facebook API from
7645GLib/GObject code.")
7646 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7647 (license license:lgpl2.1+)))
3920868c 7648
7649(define-public libgnomekbd
7650 (package
7651 (name "libgnomekbd")
70f2b0f9 7652 (version "3.26.1")
3920868c 7653 (source (origin
7654 (method url-fetch)
d47fa82d 7655 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 7656 (version-major+minor version) "/"
d47fa82d 7657 "libgnomekbd-" version ".tar.xz"))
3920868c 7658 (sha256
7659 (base32
70f2b0f9 7660 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 7661 (build-system gnu-build-system)
7662 (native-inputs
7663 `(("pkg-config" ,pkg-config)
7664 ("glib" ,glib "bin")
7665 ("intltool" ,intltool)))
7666 (propagated-inputs
7667 ;; Referred to in .h files and .pc.
7668 `(("glib" ,glib)
7669 ("gtk+" ,gtk+)
7670 ("libxklavier" ,libxklavier)))
7671 (home-page "https://www.gnome.org")
7672 (synopsis "GNOME keyboard configuration library")
7673 (description
7674 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7675environment, which can notably display keyboard layouts.")
7676 (license license:lgpl2.0+)))
85327d0d 7677
7678;;; This package is no longer maintained:
7679;;; https://wiki.gnome.org/Attic/LibUnique
7680;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7681;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7682(define-public libunique
7683 (package
7684 (name "libunique")
7685 (version "3.0.2")
7686 (source (origin
7687 (method url-fetch)
7688 (uri (string-append "mirror://gnome/sources/" name "/"
7689 (version-major+minor version) "/"
7690 name "-" version ".tar.xz"))
7691 (sha256
7692 (base32
7693 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7694 (build-system glib-or-gtk-build-system)
7695 (arguments
7696 `(#:configure-flags '("--disable-static"
7697 "--disable-dbus" ; use gdbus
7698 "--enable-introspection")))
7699 (native-inputs
7700 `(("pkg-config" ,pkg-config)
7701 ("gobject-introspection" ,gobject-introspection)
7702 ("glib:bin" ,glib "bin")
7703 ("gtk-doc" ,gtk-doc)))
7704 (propagated-inputs
7705 ;; Referred to in .h files and .pc.
7706 `(("gtk+" ,gtk+)))
7707 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7708 (synopsis "Library for writing single instance applications")
7709 (description
7710 "Libunique is a library for writing single instance applications. If you
7711launch a single instance application twice, the second instance will either just
7712quit or will send a message to the running instance. Libunique makes it easy to
7713write this kind of application, by providing a base class, taking care of all
7714the IPC machinery needed to send messages to a running instance, and also
7715handling the startup notification side.")
7716 (license license:lgpl2.1+)))
54021cd8
RS
7717
7718(define-public gnome-calculator
7719 (package
7720 (name "gnome-calculator")
07ace641 7721 (version "3.32.2")
54021cd8
RS
7722 (source
7723 (origin
7724 (method url-fetch)
7725 (uri (string-append "mirror://gnome/sources/" name "/"
7726 (version-major+minor version) "/"
7727 name "-" version ".tar.xz"))
7728 (sha256
7729 (base32
07ace641 7730 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
7731 (build-system meson-build-system)
7732 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
7733 (native-inputs
7734 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 7735 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
7736 ("intltool" ,intltool)
7737 ("itstool" ,itstool)
2d475910 7738 ("vala" ,vala)
54021cd8
RS
7739 ("pkg-config" ,pkg-config)))
7740 (inputs
112e9083 7741 `(("glib" ,glib)
07ace641 7742 ("gtksourceview" ,gtksourceview)
54021cd8 7743 ("libsoup" ,libsoup)
112e9083 7744 ("libxml2" ,libxml2)
2c2da7ec 7745 ("mpc" ,mpc)
54021cd8
RS
7746 ("mpfr" ,mpfr)))
7747 (home-page "https://wiki.gnome.org/Apps/Calculator")
7748 (synopsis "Desktop calculator")
7749 (description
7750 "Calculator is an application that solves mathematical equations and
7751is suitable as a default application in a Desktop environment.")
7752 (license license:gpl3)))
0bd69759
RS
7753
7754(define-public xpad
7755 (package
7756 (name "xpad")
c85626bb 7757 (version "5.1.0")
0bd69759
RS
7758 (source
7759 (origin
7760 (method url-fetch)
08fda9c6
R
7761 (uri (string-append "https://launchpad.net/xpad/trunk/"
7762 version "/+download/"
0bd69759
RS
7763 name "-" version ".tar.bz2"))
7764 (sha256
7765 (base32
c85626bb 7766 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
7767 (build-system gnu-build-system)
7768 (native-inputs
08fda9c6
R
7769 `(("autoconf" ,autoconf)
7770 ("automake" ,automake)
7771 ("gtk+:bin" ,gtk+ "bin")
7772 ("intltool" ,intltool)
0bd69759
RS
7773 ("pkg-config" ,pkg-config)))
7774 (inputs
c72647fb 7775 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
7776 ("libsm" ,libsm)))
7777 (home-page "https://wiki.gnome.org/Apps/Xpad")
7778 (synopsis "Virtual sticky note")
7779 (description
7780 "Xpad is a sticky note that strives to be simple, fault tolerant,
7781and customizable. Xpad consists of independent pad windows, each is
7782basically a text box in which notes can be written.")
7783 (license license:gpl3+)))
3ad7dce1
RS
7784
7785(define-public gucharmap
c60063ea
RW
7786 (let ((unicode-files
7787 '(("Blocks.txt"
1f8b5515 7788 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 7789 ("DerivedAge.txt"
1f8b5515 7790 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 7791 ("NamesList.txt"
1f8b5515 7792 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 7793 ("Scripts.txt"
1f8b5515 7794 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 7795 ("UnicodeData.txt"
1f8b5515 7796 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 7797 ("Unihan.zip"
1f8b5515 7798 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
7799 (package
7800 (name "gucharmap")
1f8b5515 7801 (version "12.0.1")
c60063ea
RW
7802 (source
7803 (origin
7804 (method url-fetch)
7805 (uri (string-append "mirror://gnome/sources/" name "/"
7806 (version-major+minor version) "/"
7807 name "-" version ".tar.xz"))
7808 (sha256
7809 (base32
1f8b5515 7810 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
7811 (build-system glib-or-gtk-build-system)
7812 (arguments
7813 `(#:modules ((ice-9 match)
7814 (guix build glib-or-gtk-build-system)
7815 (guix build utils))
7816 #:configure-flags
7817 (list "--with-unicode-data=../unicode-data")
7818 #:phases
7819 (modify-phases %standard-phases
7820 (add-after 'unpack 'prepare-unicode-data
7821 (lambda* (#:key inputs #:allow-other-keys)
7822 (mkdir-p "../unicode-data")
7823 (with-directory-excursion "../unicode-data"
7824 (for-each (match-lambda
7825 ((file _)
7826 (install-file (assoc-ref inputs file) ".")))
7827 ',unicode-files))
7828 #t)))))
7829 (native-inputs
7830 `(("desktop-file-utils" ,desktop-file-utils)
7831 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7832 ("gobject-introspection" ,gobject-introspection)
7833 ("intltool" ,intltool)
7834 ("itstool" ,itstool)
7835 ("pkg-config" ,pkg-config)
7836 ,@(map (match-lambda
7837 ((file hash)
7838 `(,file
7839 ,(origin
7840 (method url-fetch)
7841 (uri (string-append
1f8b5515 7842 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
7843 file))
7844 (sha256 (base32 hash))))))
7845 unicode-files)
7846 ("unzip" ,unzip)))
7847 (inputs
7848 `(("gtk+" ,gtk+)
7849 ("xmllint" ,libxml2)))
7850 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7851 (synopsis "Unicode character picker and font browser")
7852 (description
7853 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
7854characters and categories for the installed fonts, and to examine their
7855detailed properties. It is an easy way to find the character you might
7856only know by its Unicode name or code point.")
c60063ea 7857 (license license:gpl3+))))
04ce840a
RS
7858
7859(define-public bluefish
7860 (package
7861 (name "bluefish")
ea8afaf3 7862 (version "2.2.10")
04ce840a
RS
7863 (source
7864 (origin
7865 (method url-fetch)
7866 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7867 name "-" version ".tar.gz"))
7868 (sha256
7869 (base32
ea8afaf3 7870 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
7871 (build-system gnu-build-system)
7872 (native-inputs
7873 `(("desktop-file-utils" ,desktop-file-utils)
7874 ("intltool" ,intltool)
7875 ("pkg-config" ,pkg-config)))
7876 (inputs
7877 `(("enchant" ,enchant)
7878 ("gtk+" ,gtk+)
7879 ("python" ,python-2)
7880 ("xmllint" ,libxml2)
7881 ("gucharmap" ,gucharmap)))
7882 (home-page "http://bluefish.openoffice.nl")
7883 (synopsis "Web development studio")
7884 (description
7885 "Bluefish is an editor targeted towards programmers and web developers,
7886with many options to write web sites, scripts and other code.
7887Bluefish supports many programming and markup languages.")
7888 (license license:gpl3+)))
1f6a73ee
RS
7889
7890(define-public gnome-system-monitor
7891 (package
7892 (name "gnome-system-monitor")
083cffaf 7893 (version "3.32.1")
1f6a73ee
RS
7894 (source
7895 (origin
7896 (method url-fetch)
7897 (uri (string-append "mirror://gnome/sources/" name "/"
7898 (version-major+minor version) "/"
7899 name "-" version ".tar.xz"))
7900 (sha256
7901 (base32
083cffaf 7902 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
85fb3df3
RW
7903 (build-system meson-build-system)
7904 (arguments
7905 '(#:glib-or-gtk? #t
7906 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
7907 (native-inputs
7908 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 7909 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
7910 ("intltool" ,intltool)
7911 ("itstool" ,itstool)
7912 ("libgtop" ,libgtop)
4985d9aa 7913 ("polkit" ,polkit)
1f6a73ee
RS
7914 ("pkg-config" ,pkg-config)))
7915 (inputs
7916 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7917 ("gtk+" ,gtk+)
7918 ("gtkmm" ,gtkmm)
7919 ("librsvg" ,librsvg)
4985d9aa
RW
7920 ("libxml2" ,libxml2)
7921 ("libwnck" ,libwnck)))
1f6a73ee
RS
7922 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7923 (synopsis "Process viewer and system resource monitor for GNOME")
7924 (description
7925 "GNOME System Monitor is a GNOME process viewer and system monitor with
7926an attractive, easy-to-use interface. It has features, such as a tree view
7927for process dependencies, icons for processes, the ability to hide processes,
7928graphical time histories of CPU/memory/swap usage and the ability to
7929kill/reinice processes.")
7930 (license license:gpl2+)))
3e00ac47
SB
7931
7932(define-public python-pyatspi
7933 (package
7934 (name "python-pyatspi")
84548bd7 7935 (version "2.26.0")
3e00ac47
SB
7936 (source (origin
7937 (method url-fetch)
7938 (uri (string-append
7939 "mirror://gnome/sources/pyatspi/"
7940 (version-major+minor version)
7941 "/pyatspi-" version ".tar.xz"))
7942 (sha256
7943 (base32
b95af3f6
JL
7944 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7945 ;; Patch from upstream, fixed in newer versions.
7946 (patches (search-patches "python-pyatspi-python-37.patch"))))
3e00ac47 7947 (build-system gnu-build-system)
b95af3f6
JL
7948 (arguments
7949 `(#:phases
7950 (modify-phases %standard-phases
7951 (add-before 'build 'fix-atk-load
7952 (lambda _
7953 (substitute* "pyatspi/__init__.py"
7954 (("from gi.repository import Atspi")
7955 "gi.require_version('Gtk', '3.0')
7956from gi.repository import Gtk
7957from gi.repository import Atspi"))
7958 #t)))))
3e00ac47
SB
7959 (native-inputs
7960 `(("pkg-config" ,pkg-config)))
7961 (inputs
7962 `(("python" ,python)
7963 ("python-pygobject" ,python-pygobject)))
7964 (synopsis "Python client bindings for D-Bus AT-SPI")
7965 (home-page "https://wiki.linuxfoundation.org/accessibility\
7966/atk/at-spi/at-spi_on_d-bus")
7967 (description
7968 "This package includes a python client library for the AT-SPI D-Bus
7969accessibility infrastructure.")
7970 (license license:lgpl2.0)
7971 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
7972
7973(define-public orca
7974 (package
7975 (name "orca")
ef9b7d4c 7976 (version "3.30.2")
53201c0d
SB
7977 (source (origin
7978 (method url-fetch)
7979 (uri (string-append
7980 "mirror://gnome/sources/" name "/"
7981 (version-major+minor version) "/"
7982 name "-" version ".tar.xz"))
7983 (sha256
7984 (base32
ef9b7d4c 7985 "17asibc46i5gr2fw04jvvdi85zzmxwlnhyq7r6cr3m5prrdr8a53"))))
53201c0d
SB
7986 (build-system glib-or-gtk-build-system)
7987 (arguments
7988 '(#:phases
7989 (modify-phases %standard-phases
7990 (add-before 'configure 'qualify-xkbcomp
7991 (lambda* (#:key inputs #:allow-other-keys)
7992 (let ((xkbcomp (string-append
7993 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7994 (substitute* "src/orca/orca.py"
7995 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7996 #t))
7997 (add-after 'install 'wrap-orca
7998 (lambda* (#:key outputs #:allow-other-keys)
7999 (let* ((out (assoc-ref outputs "out"))
8000 (prog (string-append out "/bin/orca")))
8001 (wrap-program prog
8002 `("GI_TYPELIB_PATH" ":" prefix
8003 (,(getenv "GI_TYPELIB_PATH")))
8004 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8005 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8006 `("PYTHONPATH" ":" prefix
8007 (,(getenv "PYTHONPATH")))))
8008 #t)))))
8009 (native-inputs
8010 `(("intltool" ,intltool)
8011 ("itstool" ,itstool)
8012 ("pkg-config" ,pkg-config)
8013 ("xmllint" ,libxml2)))
8014 (inputs
8015 `(("at-spi2-atk" ,at-spi2-atk)
8016 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8017 ("gstreamer" ,gstreamer)
8018 ("gst-plugins-base" ,gst-plugins-base)
8019 ("gst-plugins-good" ,gst-plugins-good)
8020 ("gtk+" ,gtk+)
8021 ("python" ,python)
8022 ("python-pygobject" ,python-pygobject)
8023 ("python-pyatspi" ,python-pyatspi)
8024 ("python-speechd" ,speech-dispatcher)
8025 ("xkbcomp" ,xkbcomp)))
8026 (synopsis
8027 "Screen reader for individuals who are blind or visually impaired")
8028 (home-page "https://wiki.gnome.org/Projects/Orca")
8029 (description
8030 "Orca is a screen reader that provides access to the graphical desktop
8031via speech and refreshable braille. Orca works with applications and toolkits
8032that support the Assistive Technology Service Provider Interface (AT-SPI).")
8033 (license license:lgpl2.1+)))
411ba511
LC
8034
8035(define-public gspell
8036 (package
8037 (name "gspell")
7a6bbe9b 8038 (version "1.8.2")
411ba511
LC
8039 (source (origin
8040 (method url-fetch)
8041 (uri (string-append "mirror://gnome/sources/" name "/"
8042 (version-major+minor version) "/"
8043 name "-" version ".tar.xz"))
8044 (sha256
8045 (base32
7a6bbe9b 8046 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
411ba511
LC
8047 (patches (search-patches "gspell-dash-test.patch"))))
8048 (build-system glib-or-gtk-build-system)
8049 (arguments
8050 '(#:phases
8051 (modify-phases %standard-phases
8052 (add-before 'check 'pre-check
8053 (lambda* (#:key inputs #:allow-other-keys)
8054 ;; Tests require a running X server.
8055 (system "Xvfb :1 &")
8056 (setenv "DISPLAY" ":1")
8057
8058 ;; For the missing /etc/machine-id.
8059 (setenv "DBUS_FATAL_WARNINGS" "0")
8060
8061 ;; Allow Enchant and its Aspell backend to find the en_US
8062 ;; dictionary.
8063 (setenv "ASPELL_DICT_DIR"
8064 (string-append (assoc-ref inputs "aspell-dict-en")
8065 "/lib/aspell"))
8066 #t)))))
8067 (inputs
eccd35be 8068 `(("gtk+" ,gtk+)
a801ae4c
TGR
8069 ("glib" ,glib)
8070 ("iso-codes" ,iso-codes)))
411ba511
LC
8071 (native-inputs
8072 `(("glib" ,glib "bin")
8073 ("pkg-config" ,pkg-config)
8074 ("xmllint" ,libxml2)
8075
8076 ;; For tests.
a801ae4c 8077 ("aspell-dict-en" ,aspell-dict-en)
ff337525 8078 ("xorg-server" ,xorg-server-for-tests)))
eccd35be 8079 (propagated-inputs
9b1bb757 8080 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
8081 (home-page "https://wiki.gnome.org/Projects/gspell")
8082 (synopsis "GNOME's alternative spell checker")
8083 (description
8084 "gspell provides a flexible API to add spell-checking to a GTK+
8085application. It provides a GObject API, spell-checking to text entries and
8086text views, and buttons to choose the language.")
8087 (license license:gpl2+)))
d1d739fa
CM
8088
8089(define-public gnome-planner
8090 (package
8091 (name "gnome-planner")
8092 (version "0.14.6")
8093 (source (origin
8094 (method url-fetch)
8095 (uri (string-append "mirror://gnome/sources/planner/"
8096 (version-major+minor version) "/planner-"
8097 version ".tar.xz"))
8098 (sha256
8099 (base32
8100 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8101 (build-system glib-or-gtk-build-system)
8102 (arguments
8103 ;; Disable the Python bindings because the Planner program functions
8104 ;; without them, and (as of 2017-06-13) we have not packaged all of
8105 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
8106 `(#:configure-flags
8107 (list "--disable-python"
8108 ,@(if (string=? "aarch64-linux" (%current-system))
8109 '("--build=aarch64-unknown-linux-gnu")
8110 '()))))
d1d739fa
CM
8111 (inputs
8112 `(("libgnomecanvas" ,libgnomecanvas)
8113 ("libgnomeui" ,libgnomeui)
8114 ("libglade" ,libglade)
8115 ("gnome-vfs" ,gnome-vfs)
8116 ("gconf" ,gconf)
8117 ("libxml2" ,libxml2)
8118 ("libxslt" ,libxslt)
8119 ("gtk+" ,gtk+)
8120 ("glib" ,glib)))
8121 (native-inputs
8122 `(("intltool" ,intltool)
8123 ("scrollkeeper" ,scrollkeeper)
8124 ("pkg-config" ,pkg-config)))
8125 (home-page "https://wiki.gnome.org/Apps/Planner")
8126 (synopsis "Project management software for the GNOME desktop")
8127 (description
8128 "GNOME Planner is a project management tool based on the Work Breakdown
8129Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8130the resources, tasks, and constraints that you define, Planner generates
8131various views into a project. For example, Planner can show a Gantt chart of
8132the project. It can show a detailed summary of tasks including their
8133duration, cost, and current progress. It can also show a report of resource
8134utilization that highlights under-utilized and over-utilized resources. These
8135views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 8136 (license license:gpl2+)))
64fce637
RS
8137
8138(define-public lollypop
8139 (package
8140 (name "lollypop")
ca32627a 8141 (version "1.2.7")
64fce637
RS
8142 (source
8143 (origin
8144 (method url-fetch)
b98eace8 8145 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
ca32627a 8146 "08f973788c7ca46d9285eec2ac818edb/"
3275d43d 8147 "lollypop-" version ".tar.xz"))
64fce637 8148 (sha256
ca32627a 8149 (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j"))))
aa498fc0 8150 (build-system meson-build-system)
64fce637
RS
8151 (arguments
8152 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
8153 ,@%meson-build-system-modules)
8154 #:glib-or-gtk? #t
5fc9b6c1
EF
8155 #:tests? #f ; no test suite
8156 #:phases
8157 (modify-phases %standard-phases
5fc9b6c1
EF
8158 (add-after 'install 'wrap-program
8159 (lambda* (#:key outputs #:allow-other-keys)
8160 (let ((out (assoc-ref outputs "out"))
8161 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8162 (wrap-program (string-append out "/bin/lollypop")
8163 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8164 #t))
8ac8b3b3
TGR
8165 (add-after 'install 'wrap-python
8166 (@@ (guix build python-build-system) wrap))
8167 (add-after 'install 'wrap-glib-or-gtk
8168 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
64fce637
RS
8169 (native-inputs
8170 `(("intltool" ,intltool)
8171 ("itstool" ,itstool)
aa498fc0
TD
8172 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8173 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
8174 ("pkg-config" ,pkg-config)))
8175 (inputs
8176 `(("gobject-introspection" ,gobject-introspection)
8ac8b3b3 8177 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5fc9b6c1 8178 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
8179 ("libnotify" ,libnotify)
8180 ("libsecret" ,libsecret)
8181 ("libsoup" ,libsoup)
8182 ("python" ,python)
8183 ("python-beautifulsoup4" ,python-beautifulsoup4)
8184 ("python-gst" ,python-gst)
d029afdd 8185 ("python-pil" ,python-pillow)
64fce637 8186 ("python-pycairo" ,python-pycairo)
7460f346 8187 ("python-pygobject" ,python-pygobject-3.34)
64fce637
RS
8188 ("python-pylast" ,python-pylast)
8189 ("totem-pl-parser" ,totem-pl-parser)
8190 ("webkitgtk" ,webkitgtk)))
8191 (propagated-inputs
8192 `(;; gst-plugins-base is required to start Lollypop,
8193 ;; the others are required to play streaming.
64fce637
RS
8194 ("gst-plugins-good" ,gst-plugins-good)
8195 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 8196 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
8197 (synopsis "GNOME music playing application")
8198 (description
8199 "Lollypop is a music player designed to play well with GNOME desktop.
8200Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
8201from artists and tracks from the web. It also fetches cover artworks
8202automatically and it can stream songs from online music services and charts.")
8203 (license license:gpl3+)))
d831d49d
AW
8204
8205(define-public gnome-video-effects
8206 (package
8207 (name "gnome-video-effects")
8208 (version "0.4.3")
8209 (source (origin
8210 (method url-fetch)
8211 (uri (string-append "mirror://gnome/sources/" name "/"
8212 (version-major+minor version) "/" name "-"
8213 version ".tar.xz"))
8214 (sha256
8215 (base32
8216 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
8217 (build-system glib-or-gtk-build-system)
8218 (arguments
8219 `(#:out-of-source? #f))
8220 (native-inputs
8221 `(("glib:bin" ,glib "bin")
8222 ("intltool" ,intltool)
8223 ("gettext" ,gettext-minimal)
8224 ("pkg-config" ,pkg-config)))
8225 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
8226 (synopsis "Video effects for Cheese and other GNOME applications")
8227 (description
8228 "A collection of GStreamer video filters and effects to be used in
8229photo-booth-like software, such as Cheese.")
8230 (license license:gpl2+)))
3511c780
AW
8231
8232(define-public cheese
8233 (package
8234 (name "cheese")
00b14dbb 8235 (version "3.30.0")
3511c780
AW
8236 (source (origin
8237 (method url-fetch)
8238 (uri (string-append "mirror://gnome/sources/" name "/"
8239 (version-major+minor version) "/" name "-"
8240 version ".tar.xz"))
8241 (sha256
8242 (base32
00b14dbb 8243 "0zz2bgjaf2lsmfs3zn24925vbjb0rycr39i288brlbzixrpcyljr"))))
3511c780
AW
8244 (arguments
8245 ;; Tests require GDK.
8246 `(#:tests? #f
8247 #:phases
8248 (modify-phases %standard-phases
8249 (add-before 'install 'skip-gtk-update-icon-cache
8250 (lambda _
8251 ;; Don't create 'icon-theme.cache'
8252 (substitute* "Makefile"
8253 (("gtk-update-icon-cache") (which "true")))
8254 #t))
8255 (add-after 'install 'wrap-cheese
8256 (lambda* (#:key inputs outputs #:allow-other-keys)
8257 (let ((out (assoc-ref outputs "out"))
8258 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8259 (wrap-program (string-append out "/bin/cheese")
8260 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8261 #t)))))
8262 (build-system glib-or-gtk-build-system)
8263 (native-inputs
8264 `(("glib:bin" ,glib "bin")
8265 ("intltool" ,intltool)
8266 ("itstool" ,itstool)
8267 ("libxml2" ,libxml2)
8268 ("pkg-config" ,pkg-config)
8269 ("vala" ,vala)))
8270 (propagated-inputs
6a19f03e
RW
8271 `(("gnome-video-effects" ,gnome-video-effects)
8272 ("clutter" ,clutter)
3511c780
AW
8273 ("clutter-gst" ,clutter-gst)
8274 ("clutter-gtk" ,clutter-gtk)
6a19f03e 8275 ("libcanberra" ,libcanberra)
3511c780
AW
8276 ("gdk-pixbuf" ,gdk-pixbuf)
8277 ("glib" ,glib)
6a19f03e
RW
8278 ("gstreamer" ,gstreamer)))
8279 (inputs
8280 `(("gnome-desktop" ,gnome-desktop)
3511c780 8281 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
8282 ("gst-plugins-base" ,gst-plugins-base)
8283 ("gst-plugins-bad" ,gst-plugins-bad)
8284 ("gtk+" ,gtk+)
3511c780
AW
8285 ("libx11" ,libx11)
8286 ("libxtst" ,libxtst)))
8287 (home-page "https://wiki.gnome.org/Apps/Cheese")
8288 (synopsis "Webcam photo booth software for GNOME")
8289 (description
8290 "Cheese uses your webcam to take photos and videos. Cheese can also
8291apply fancy special effects and lets you share the fun with others.")
8292 (license license:gpl2+)))
3c5dbd2b 8293
8294(define-public sound-juicer
8295 (package
8296 (name "sound-juicer")
8297 (version "3.24.0")
8298 (source
8299 (origin
8300 (method url-fetch)
8301 (uri (string-append "mirror://gnome/sources/" name "/"
8302 (version-major+minor version) "/"
8303 name "-" version ".tar.xz"))
8304 (sha256
8305 (base32
8306 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
8307 (build-system glib-or-gtk-build-system)
8308 (native-inputs
8309 `(("desktop-file-utils" ,desktop-file-utils)
8310 ("intltool" ,intltool)
8311 ("itstool" ,itstool)
8312 ("pkg-config" ,pkg-config)
8313 ("xmllint" ,libxml2)))
8314 (inputs
8315 `(("gtk+" ,gtk+)
8316 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8317 ("gstreamer" ,gstreamer)
8318 ("gst-plugins-base" ,gst-plugins-base)
8319 ("gst-plugins-good" ,gst-plugins-good)
8320 ("iso-codes" ,iso-codes)
8321 ("libbrasero-media3" ,brasero)
8322 ("libcanberra" ,libcanberra)
8323 ("libdiscid" ,libdiscid)
8324 ("libmusicbrainz" ,libmusicbrainz)
8325 ("neon" ,neon)))
8326 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
8327 (synopsis "Audio music cd ripper")
8328 (description "Sound Juicer extracts audio from compact discs and convert it
8329into audio files that a personal computer or digital audio player can play.
8330It supports ripping to any audio codec supported by a GStreamer plugin, such as
8331mp3, Ogg Vorbis and FLAC")
8332 (license license:gpl2+)))
4e3fdeb7 8333
0d3f1708
CB
8334(define-public soundconverter
8335 (package
8336 (name "soundconverter")
fa75a213 8337 (version "3.0.1")
0d3f1708
CB
8338 (source
8339 (origin
8340 (method url-fetch)
8341 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
8342 version "/+download/"
8343 "soundconverter-" version ".tar.xz"))
8344
8345 (sha256
fa75a213 8346 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
8347 (patches
8348 (search-patches
8349 "soundconverter-remove-gconf-dependency.patch"))))
8350 (build-system glib-or-gtk-build-system)
8351 (arguments
8352 `(#:imported-modules ((guix build python-build-system)
8353 (guix build glib-or-gtk-build-system)
8354 ,@%gnu-build-system-modules)
8355
8356 #:modules ((guix build glib-or-gtk-build-system)
8357 (guix build utils)
8358 ((guix build gnu-build-system) #:prefix gnu:)
8359 ((guix build python-build-system) #:prefix python:))
8360
8361 #:phases
8362 (modify-phases %standard-phases
0d3f1708
CB
8363 (add-after 'install 'wrap-soundconverter-for-python
8364 (assoc-ref python:%standard-phases 'wrap))
8365 (add-after 'install 'wrap-soundconverter
8366 (lambda* (#:key inputs outputs #:allow-other-keys)
8367 (let ((out (assoc-ref outputs "out"))
8368 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8369 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8370 (wrap-program (string-append out "/bin/soundconverter")
8371 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8372 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8373 #t)))))
8374 (native-inputs
8375 `(("intltool" ,intltool)
8376 ("pkg-config" ,pkg-config)
8377 ("glib:bin" ,glib "bin")))
8378 (inputs
8379 `(("gtk+" ,gtk+)
8380 ("python" ,python)
8381 ("python-pygobject" ,python-pygobject)
8382 ("gstreamer" ,gstreamer)
8383 ("gst-plugins-base" ,gst-plugins-base)))
8384 (home-page "http://soundconverter.org/")
8385 (synopsis "Convert between audio formats with a graphical interface")
8386 (description
8387 "SoundConverter supports converting between many audio formats including
8388Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
8389configurable file renaming. ")
8390 (license license:gpl3)))
8391
4e3fdeb7 8392(define-public workrave
89f2d736
TGR
8393 (package
8394 (name "workrave")
aa51d92c 8395 (version "1.10.34")
89f2d736
TGR
8396 (source
8397 (origin
8398 (method git-fetch)
8399 (uri (git-reference
8400 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
8401 (commit (string-append "v" (string-map
8402 (match-lambda (#\. #\_) (chr chr))
8403 version)))))
89f2d736
TGR
8404 (file-name (git-file-name name version))
8405 (sha256
aa51d92c 8406 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 8407 (build-system glib-or-gtk-build-system)
d1c96847
MC
8408 (inputs `(("glib" ,glib)
8409 ("gtk+" ,gtk+)
8410 ("gdk-pixbuf" ,gdk-pixbuf)
8411 ("gtkmm" ,gtkmm)
8412 ("glibmm" ,glibmm)
8413 ("libx11" ,libx11)
8414 ("libxtst" ,libxtst)
8415 ("dconf" ,dconf)
8416 ("libice" ,libice)
8417 ("libsm" ,libsm)
8418 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 8419 (native-inputs `(("boost" ,boost)
89f2d736
TGR
8420 ("pkg-config" ,pkg-config)
8421 ("gettext" ,gnu-gettext)
8422 ("autoconf" ,autoconf)
8423 ("autoconf-archive" , autoconf-archive)
8424 ("automake" ,automake)
8425 ("libtool" ,libtool)
8426 ("intltool" ,intltool)
89f2d736 8427 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
8428 ("python3" ,python-3)
8429 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
8430 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8431 (description
8432 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
8433repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8434micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
8435 (home-page "http://www.workrave.org")
8436 (license license:gpl3+)))
312afa7d
LC
8437
8438(define-public ghex
8439 (package
8440 (name "ghex")
8441 (version "3.18.3")
8442 (source (origin
8443 (method url-fetch)
2fbab848 8444 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 8445 (version-major+minor version) "/"
2fbab848 8446 "ghex-" version ".tar.xz"))
312afa7d
LC
8447 (sha256
8448 (base32
8449 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
8450 (build-system glib-or-gtk-build-system)
8451 (native-inputs
8452 `(("pkg-config" ,pkg-config)
8453 ("gnome-common" ,gnome-common)
8454 ("which" ,which)
8455 ("intltool" ,intltool)
8456 ("yelp-tools" ,yelp-tools)
2fbab848 8457 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
8458 (inputs
8459 `(("atk" ,atk)
8460 ("gtk" ,gtk+)))
8461 (synopsis "GNOME hexadecimal editor")
8462 (description "The GHex program can view and edit files in two ways:
8463hexadecimal or ASCII. It is useful for editing binary files in general.")
8464 (home-page "https://wiki.gnome.org/Apps/Ghex")
8465 (license license:gpl2)))
4b2ed6c2
RW
8466
8467(define-public libdazzle
8468 (package
8469 (name "libdazzle")
64fa66ba 8470 (version "3.33.90")
4b2ed6c2
RW
8471 (source (origin
8472 (method url-fetch)
687b4909 8473 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 8474 (version-major+minor version) "/"
687b4909 8475 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
8476 (sha256
8477 (base32
64fa66ba 8478 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
8479 (build-system meson-build-system)
8480 (arguments
8481 `(#:phases
8482 (modify-phases %standard-phases
4b2ed6c2
RW
8483 (add-before 'check 'pre-check
8484 (lambda _
8485 ;; Tests require a running X server.
8486 (system "Xvfb :1 &")
8487 (setenv "DISPLAY" ":1")
8488 #t)))))
8489 (native-inputs
687b4909 8490 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 8491 ("pkg-config" ,pkg-config)
687b4909 8492 ;; For tests.
ff337525 8493 ("xorg-server" ,xorg-server-for-tests)))
4b2ed6c2
RW
8494 (inputs
8495 `(("glib" ,glib)
8496 ("gobject-introspection" ,gobject-introspection)
8497 ("gtk+" ,gtk+)
8498 ("vala" ,vala)))
8499 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8500 (synopsis "Companion library to GObject and Gtk+")
8501 (description "The libdazzle library is a companion library to GObject and
8502Gtk+. It provides various features that the authors wish were in the
8503underlying library but cannot for various reasons. In most cases, they are
8504wildly out of scope for those libraries. In other cases, they are not quite
8505generic enough to work for everyone.")
8506 (license license:gpl3+)))
7d3bb433
RW
8507
8508(define-public evolution
8509 (package
8510 (name "evolution")
06141f83 8511 (version "3.32.4")
7d3bb433
RW
8512 (source (origin
8513 (method url-fetch)
8514 (uri (string-append "mirror://gnome/sources/evolution/"
8515 (version-major+minor version) "/"
8516 "evolution-" version ".tar.xz"))
8517 (sha256
8518 (base32
06141f83 8519 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
7d3bb433
RW
8520 (build-system cmake-build-system)
8521 (arguments
5229bea1
KK
8522 `(#:imported-modules (,@%cmake-build-system-modules
8523 (guix build glib-or-gtk-build-system))
8524 #:modules ((guix build cmake-build-system)
8525 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8526 (guix build utils))
8527 #:configure-flags
7d3bb433 8528 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 8529 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 8530 ; in four years and cannot be built.
5229bea1
KK
8531 #:phases
8532 (modify-phases %standard-phases
8533 ;; The build system attempts to install user interface modules to the
8534 ;; output directory of the "evolution-data-server" package. This
8535 ;; change redirects that change.
8536 (add-after 'unpack 'patch-ui-module-dir
8537 (lambda* (#:key outputs #:allow-other-keys)
8538 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
8539 (("\\$\\{edsuimoduledir\\}")
8540 (string-append (assoc-ref outputs "out")
8541 "/lib/evolution-data-server/ui-modules")))
8542 #t))
8543 (add-after 'install 'glib-or-gtk-compile-schemas
8544 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
8545 (add-after 'install 'glib-or-gtk-wrap
8546 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 8547 (native-inputs
ad6e168b 8548 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
8549 ("pkg-config" ,pkg-config)
8550 ("intltool" ,intltool)
8551 ("itstool" ,itstool)))
8552 (inputs
8553 `(("enchant" ,enchant)
8554 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8555 ("gcr" ,gcr)
ad6e168b 8556 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
8557 ("gnome-autoar" ,gnome-autoar)
8558 ("gnome-desktop" ,gnome-desktop)
8559 ("gtkspell3" ,gtkspell3)
8560 ("highlight" ,highlight)
8561 ("libcanberra" ,libcanberra)
b63c06f1 8562 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
8563 ("libgweather" ,libgweather)
8564 ("libnotify" ,libnotify)
8565 ("libsoup" ,libsoup)
8566 ("nss" ,nss)
8567 ("openldap" ,openldap)
8568 ("webkitgtk" ,webkitgtk)
8569 ("ytnef" ,ytnef)))
8570 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8571 (synopsis "Manage your email, contacts and schedule")
8572 (description "Evolution is a personal information management application
8573that provides integrated mail, calendaring and address book
8574functionality.")
8575 ;; See COPYING for details.
23dbe621 8576 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 8577 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 8578 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
8579
8580(define-public gthumb
8581 (package
8582 (name "gthumb")
8280676b 8583 (version "3.8.2")
169d63f5
AT
8584 (source (origin
8585 (method url-fetch)
8586 (uri (string-append "mirror://gnome/sources/gthumb/"
8587 (version-major+minor version) "/"
8588 "gthumb-" version ".tar.xz"))
8589 (sha256
8590 (base32
8280676b 8591 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
169d63f5
AT
8592 (build-system meson-build-system)
8593 (arguments
8594 `(#:glib-or-gtk? #t
8595 #:configure-flags
8596 ;; Ensure the RUNPATH contains all installed library locations.
8597 (list (string-append "-Dc_link_args=-Wl,-rpath="
8598 (assoc-ref %outputs "out")
8599 "/lib/gthumb/extensions")
8600 (string-append "-Dcpp_link_args=-Wl,-rpath="
8601 (assoc-ref %outputs "out")
8602 "/lib/gthumb/extensions"))))
8603 (native-inputs
8604 `(("pkg-config" ,pkg-config)
8605 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8606 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8607 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8608 ("intltool" ,intltool)
8609 ("itstool" ,itstool)))
8610 (inputs
8611 `(("exiv2" ,exiv2)
8612 ("gtk" ,gtk+)
8613 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8614 ("gstreamer" ,gstreamer)
8615 ("clutter" ,clutter)
8616 ("clutter-gst" ,clutter-gst)
8617 ("clutter-gtk" ,clutter-gtk)
8618 ("libjpeg" ,libjpeg)
8619 ("libtiff" ,libtiff)
8620 ("libraw" ,libraw)))
8621 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8622 (synopsis "GNOME image viewer and browser")
8623 (description "GThumb is an image viewer, browser, organizer, editor and
8624advanced image management tool")
8625 (license license:gpl2+)))
08be02be
AT
8626
8627(define-public terminator
8628 (package
8629 (name "terminator")
8630 (version "1.91")
8631 (source (origin
8632 (method url-fetch)
8633 (uri (string-append "https://launchpad.net/" name "/"
8634 "gtk3/" version "/" "+download/"
8635 name "-" version ".tar.gz"))
8636 (sha256
8637 (base32
8638 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8639 (build-system python-build-system)
8640 (native-inputs
8641 `(("intltool" ,intltool)
8642 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8643 ("gettext" ,gettext-minimal)
8644 ("pkg-config" ,pkg-config)))
8645 (inputs
8646 `(("cairo" ,cairo)
8647 ("gobject-introspection" ,gobject-introspection)
96681d4b 8648 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
8649 ("python2-pycairo" ,python2-pycairo)
8650 ("python2-pygobject" ,python2-pygobject)
8651 ("python2-psutil" ,python2-psutil)
8652 ("vte" ,vte)))
8653 (arguments
96681d4b
TGR
8654 `(#:python ,python-2 ; Python 3 isn't supported
8655 #:imported-modules ((guix build glib-or-gtk-build-system)
8656 ,@%python-build-system-modules)
8657 #:modules ((guix build python-build-system)
8658 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8659 (guix build utils))
08be02be
AT
8660 #:phases
8661 (modify-phases %standard-phases
8662 (add-after
8663 'install 'wrap-program
8664 (lambda* (#:key outputs #:allow-other-keys)
8665 (let ((prog (string-append (assoc-ref outputs "out")
8666 "/bin/terminator")))
8667 (wrap-program prog
8668 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8669 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
8670 #t)))
8671 (add-after 'wrap-program 'glib-or-gtk-wrap
8672 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
8673 (home-page "https://gnometerminator.blogspot.com/")
8674 (synopsis "Store and run multiple GNOME terminals in one window")
8675 (description
8676 "Terminator allows you to run multiple GNOME terminals in a grid and
8677+tabs, and it supports drag and drop re-ordering of terminals.")
8678 (license license:gpl2)))
213315d4
JF
8679
8680(define-public libhandy
8681 (package
8682 (name "libhandy")
d41ee146 8683 (version "0.0.11")
213315d4
JF
8684 (source
8685 (origin
8686 (method git-fetch)
8687 (uri (git-reference
8688 (url "https://source.puri.sm/Librem5/libhandy")
8689 (commit (string-append "v" version))))
8690 (file-name (git-file-name name version))
8691 (sha256
d41ee146 8692 (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0"))))
213315d4
JF
8693 (build-system meson-build-system)
8694 (arguments
8695 `(#:configure-flags
8696 '("-Dglade_catalog=disabled"
8697 "-Dgtk_doc=true")
8698 #:phases
8699 (modify-phases %standard-phases
213315d4
JF
8700 (add-before 'check 'pre-check
8701 (lambda _
8702 ;; Tests require a running X server.
8703 (system "Xvfb :1 &")
8704 (setenv "DISPLAY" ":1")
8705 #t)))))
8706 (inputs
8707 `(("gtk+" ,gtk+)))
8708 (native-inputs
8709 `(("glib:bin" ,glib "bin")
8710 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
8711 ("vala" ,vala)
8712 ("gtk-doc" ,gtk-doc)
8713 ("pkg-config" ,pkg-config)
8714 ("gettext" ,gettext-minimal)
d41ee146
TGR
8715
8716 ;; Test suite dependencies.
ff337525 8717 ("xorg-server" ,xorg-server-for-tests)
d41ee146 8718 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
8719 (home-page "https://source.puri.sm/Librem5/libhandy")
8720 (synopsis "Library full of GTK+ widgets for mobile phones")
8721 (description "The aim of the handy library is to help with developing user
8722intefaces for mobile devices using GTK+.")
8723 (license license:lgpl2.1+)))
a830d14d
GL
8724
8725(define-public libgit2-glib
8726 (package
8727 (name "libgit2-glib")
8728 (version "0.28.0.1")
8729 (source (origin
8730 (method url-fetch)
8731 (uri (string-append "mirror://gnome/sources/" name "/"
8732 (version-major+minor version) "/"
8733 name "-" version ".tar.xz"))
8734 (sha256
8735 (base32
8736 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
8737 (build-system meson-build-system)
8738 (native-inputs
8739 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
8740 ("gobject-introspection" ,gobject-introspection)
8741 ("intltool" ,intltool)
8742 ("libssh2" ,libssh2)
8743 ("pkg-config" ,pkg-config)
8744 ("python-pygobject" ,python-pygobject)
8745 ("python-wrapper" ,python-wrapper)
8746 ("vala" ,vala)))
8747 (inputs
8748 `(("glib" ,glib)
8749 ("libgit2" ,libgit2)))
8750 (synopsis "GLib wrapper around the libgit2 Git access library")
8751 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
8752access library. It only implements the core plumbing functions, not really the
8753higher level porcelain stuff.")
8754 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
8755 (license license:gpl2+)))
93beace0 8756
08db81c9
LP
8757(define-public gitg
8758 (package
8759 (name "gitg")
8760 (version "3.32.1")
8761 (source (origin
8762 (method url-fetch)
8763 (uri (string-append "mirror://gnome/sources/" name "/"
8764 (version-major+minor version) "/"
8765 name "-" version ".tar.xz"))
8766 (sha256
8767 (base32
8768 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
8769 (build-system meson-build-system)
8770 (arguments
8771 `(#:glib-or-gtk? #t
8772 #:phases
8773 (modify-phases %standard-phases
8774 (add-after 'unpack 'disable-post-install-partially
8775 (lambda _
8776 (substitute* "meson_post_install.py"
8777 (("'python'") ; there are no python sources to compile
8778 (string-append "'" (which "true") "'"))
8779 (("gtk-update-icon-cache") (which "true")))
8780 #t))
8781 (add-after 'unpack 'fix-test-sources
8782 (lambda _
8783 (substitute* "tests/libgitg/test-commit.vala"
8784 (("/bin/bash") (which "bash")))
8785 #t))
8786 (add-after 'glib-or-gtk-wrap 'wrap-typelib
8787 (lambda* (#:key outputs #:allow-other-keys)
8788 (let ((prog (string-append (assoc-ref outputs "out")
8789 "/bin/gitg")))
8790 (wrap-program prog
8791 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8792 #t))))))
8793 (inputs
8794 `(("glib" ,glib)
8795 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8796 ("gtk+" ,gtk+)
8797 ("gtkspell3" ,gtkspell3)
8798 ("gtksourceview" ,gtksourceview-3)
8799 ("json-glib" ,json-glib)
8800 ("libdazzle" ,libdazzle)
8801 ("libgee" ,libgee)
8802 ("libgit2" ,libgit2) ; propagated by libgit2-glib
8803 ("libgit2-glib" ,libgit2-glib)
8804 ("libpeas" ,libpeas)
8805 ("libsecret" ,libsecret)
8806 ("libsoup" ,libsoup)
8807 ("libxml2" ,libxml2)))
8808 (native-inputs
8809 `(("glib:bin" ,glib "bin")
8810 ("gtk+:bin" ,gtk+ "bin")
8811 ("gobject-introspection" ,gobject-introspection)
8812 ("intltool" ,intltool)
8813 ("pkg-config" ,pkg-config)
8814 ("vala" ,vala)))
8815 (synopsis "Graphical user interface for git")
8816 (description
8817 "gitg is a graphical user interface for git. It aims at being a small,
8818fast and convenient tool to visualize the history of git repositories.
8819Besides visualization, gitg also provides several utilities to manage your
8820repository and commit your work.")
8821 (home-page "https://wiki.gnome.org/Apps/Gitg")
8822 (license license:gpl2+)))
8823
93beace0
DW
8824(define-public gnome-mahjongg
8825 (package
8826 (name "gnome-mahjongg")
8827 (version "3.35.1")
8828 (source (origin
8829 (method git-fetch)
8830 (uri (git-reference
8831 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
8832 (commit version)))
8833 (file-name (git-file-name name version))
8834 (sha256
8835 (base32
8836 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
8837 (build-system meson-build-system)
8838 (arguments
8839 `(#:glib-or-gtk? #t))
8840 (native-inputs
8841 `(("appstream-glib" ,appstream-glib)
8842 ("gettext" ,gettext-minimal)
8843 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
8844 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
8845 ("itstool" ,itstool)
8846 ("pkg-config" ,pkg-config)
8847 ("vala" ,vala)))
8848 (propagated-inputs
8849 `(("dconf" ,dconf)))
8850 (inputs
8851 `(("glib" ,glib)
8852 ("gtk+" ,gtk+)
8853 ("librsvg" ,librsvg)))
8854 (synopsis "Mahjongg tile-matching game")
8855 (description "GNOME Mahjongg is a game based on the classic Chinese
8856tile-matching game Mahjong. It features multiple board layouts, tile themes,
8857and a high score table.")
8858 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
8859 (license license:gpl2+)))