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