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