gnu: gedit: Update to 3.32.2.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
CommitLineData
995b7261 1;;; GNU Guix --- Functional package management for GNU
109da1c0 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
44a06c94 3;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
29a7c98a 4;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
7108425c 5;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
58d32305 6;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
8b877545 7;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
7aab13f1 8;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
63ad9b80 9;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
1e7464a9 10;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
7d3bb433 11;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
64a153bd 12;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
293ff8b2 13;;; Copyright © 2015 David Thompson <davet@gnu.org>
0528f70d 14;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
35e2d0cf 15;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
3c697ffd 16;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
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")
b0f24a82 4339 (version "3.32.2")
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
b0f24a82 4347 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
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")
644b60d4 4685 (version "3.32.3")
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
644b60d4 4693 "0gx386k1p78ppjhvdanv99hfiwana0ccn9d499qrp0rvlicnijrw"))))
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")
4c96e5d1 5028 (version "3.32.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
4c96e5d1 5036 "0irm72cf8222h93skivn0nn0ckahiiiimy4rb9r3ccjvhi3hiaqw"))))
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)
4c96e5d1 5041 ("itstool" ,itstool)
0a500745
RW
5042 ("pkg-config" ,pkg-config)
5043 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5044 ("glib:bin" ,glib "bin")))
293ff8b2
DT
5045 ;; TODO: Add libnautilus.
5046 (inputs
5047 `(("gtk+" ,gtk+)
5048 ("gdk-pixbuf" ,gdk-pixbuf)
5049 ("json-glib" ,json-glib)
5050 ("libarchive" ,libarchive)
5051 ("libnotify" ,libnotify)
4c96e5d1 5052 ("nettle" ,nettle)
293ff8b2
DT
5053 ("libxml2" ,libxml2)))
5054 (synopsis "Graphical archive manager for GNOME")
5055 (description "File Roller is an archive manager for the GNOME desktop
5056environment that allows users to view, unpack, and create compressed archives
5057such as gzip tarballs.")
5058 (home-page "http://fileroller.sourceforge.net/")
5059 (license license:gpl2+)))
7ce49365
SB
5060
5061(define-public gnome-session
5062 (package
5063 (name "gnome-session")
da886d6f 5064 (version "3.30.1")
7ce49365
SB
5065 (source (origin
5066 (method url-fetch)
5067 (uri (string-append "mirror://gnome/sources/" name "/"
5068 (version-major+minor version) "/"
5069 name "-" version ".tar.xz"))
5070 (sha256
5071 (base32
da886d6f 5072 "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa"))))
2914af3c 5073 (arguments
df278071
RW
5074 '(#:glib-or-gtk? #t
5075 #:phases
2914af3c
AW
5076 (modify-phases %standard-phases
5077 (add-before 'configure 'pre-configure
5078 (lambda* (#:key outputs #:allow-other-keys)
5079 ;; Use elogind instead of systemd.
df278071
RW
5080 (substitute* "meson.build"
5081 (("libsystemd-login") "libelogind")
5082 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
5083 (substitute* "gnome-session/gsm-systemd.c"
5084 (("#include <systemd/sd-login.h>")
5085 "#include <elogind/sd-login.h>"))
df278071 5086 ;; Remove uses of the systemd daemon.
803ab416
SB
5087 (substitute* "gnome-session/gsm-autostart-app.c"
5088 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
5089 #t))
5090 (add-after 'install 'wrap-gnome-session
5091 (lambda* (#:key inputs outputs #:allow-other-keys)
5092 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5093 (let ((glib (assoc-ref inputs "glib:bin"))
5094 (out (assoc-ref outputs "out")))
5095 (wrap-program (string-append out "/bin/gnome-session")
5096 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5097 #t))))
6cbc8d57 5098
2914af3c 5099 #:configure-flags
df278071
RW
5100 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5101 "-Dman=false" ; FIXME: disabled because of docbook validation error
5102 "-Dsystemd_journal=false")))
5103 (build-system meson-build-system)
7ce49365
SB
5104 (native-inputs
5105 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5106 ("pkg-config" ,pkg-config)
5107 ("intltool" ,intltool)
df278071
RW
5108 ("xsltproc" ,libxslt)
5109 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5110 ("docbook-xsl" ,docbook-xsl)
5111 ("docbook-xml" ,docbook-xml)
5112 ("xmlto" ,xmlto)))
7ce49365 5113 (inputs
2914af3c
AW
5114 `(("elogind" ,elogind)
5115 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 5116 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
5117 ("gtk+" ,gtk+)
5118 ("json-glib" ,json-glib)
5119 ("libsm" ,libsm)
5120 ("libxcomposite" ,libxcomposite)
5121 ("libxtst" ,libxtst)
5122 ("mesa" ,mesa)
5123 ("upower" ,upower)
5124 ("xtrans" ,xtrans)))
5125 (synopsis "Session manager for GNOME")
5126 (description
5127 "This package contains the GNOME session manager, as well as a
5128configuration program to choose applications starting on login.")
5129 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5130 (license license:gpl2+)))
f47ba77e
SB
5131
5132(define-public gjs
5133 (package
5134 (name "gjs")
d054fbf5 5135 (version "1.56.2")
f47ba77e
SB
5136 (source (origin
5137 (method url-fetch)
5138 (uri (string-append "mirror://gnome/sources/" name "/"
5139 (version-major+minor version) "/"
5140 name "-" version ".tar.xz"))
5141 (sha256
5142 (base32
d054fbf5 5143 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
f47ba77e
SB
5144 (build-system gnu-build-system)
5145 (arguments
5146 '(#:phases
5147 (modify-phases %standard-phases
5148 (add-before
5149 'check 'pre-check
5150 (lambda _
fc119619
MW
5151 ;; The test suite requires a running X server.
5152 (system "Xvfb :1 &")
5153 (setenv "DISPLAY" ":1")
5154
f47ba77e
SB
5155 ;; For the missing /etc/machine-id.
5156 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 5157
144f94d0
KK
5158 ;; Our mozjs-38 package does not compile the required Intl API
5159 ;; support for these failing tests.
5160 (substitute* "installed-tests/js/testLocale.js"
5161 ((".*toBeDefined.*") "")
5162 ((".*expect\\(datestr\\).*") ""))
d054fbf5
KK
5163 (substitute* "installed-tests/scripts/testCommandLine.sh"
5164 (("Valentín") "")
5165 (("☭") ""))
f47ba77e
SB
5166 #t)))))
5167 (native-inputs
8a831c6f 5168 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
5169 ("pkg-config" ,pkg-config)
5170 ("xmllint" ,libxml2)
5171 ;; For testing
5172 ("dbus-launch" ,dbus)
5173 ("uuidgen" ,util-linux)
ebebee94 5174 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
5175 (propagated-inputs
5176 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
5177 `(("cairo" ,cairo)
5178 ("gobject-introspection" ,gobject-introspection)
d054fbf5 5179 ("mozjs" ,mozjs-60)))
f47ba77e
SB
5180 (inputs
5181 `(("gtk+" ,gtk+)
5182 ("readline" ,readline)))
5183 (synopsis "Javascript bindings for GNOME")
f032d0be 5184 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
5185 (description
5186 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5187javascript engine and the GObject introspection framework.")
5188 (license license:gpl2+)))
329d731b
DH
5189
5190(define-public gedit
5191 (package
5192 (name "gedit")
480c9226 5193 (version "3.32.2")
329d731b
DH
5194 (source (origin
5195 (method url-fetch)
5196 (uri (string-append "mirror://gnome/sources/" name "/"
5197 (version-major+minor version) "/"
5198 name "-" version ".tar.xz"))
5199 (sha256
5200 (base32
480c9226
KK
5201 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
5202 (build-system meson-build-system)
329d731b 5203 (arguments
480c9226
KK
5204 `(#:glib-or-gtk? #t
5205 #:configure-flags
5206 ;; Otherwise, the RUNPATH will lack the final path component.
5207 (list (string-append "-Dc_link_args=-Wl,-rpath="
5208 (assoc-ref %outputs "out") "/lib/gedit"))
5209 #:phases
329d731b 5210 (modify-phases %standard-phases
480c9226
KK
5211 (add-after 'unpack 'skip-gtk-update-icon-cache
5212 ;; Don't create 'icon-theme.cache'.
5213 (lambda _
5214 (substitute* "build-aux/meson/post_install.py"
5215 (("gtk-update-icon-cache") (which "true")))
5216 #t))
5217 (add-after 'unpack 'patch-libgd-fetch
5218 (lambda* (#:key inputs #:allow-other-keys)
5219 (let ((libgd (assoc-ref inputs "libgd")))
5220 ;; Calling git is unnecessary because libgd is fetched as a
5221 ;; native input to this package.
5222 (substitute* "meson.build"
5223 ((".*git.*") ""))
5224 (copy-recursively libgd "subprojects/libgd")
5225 #t)))
5226 (add-after 'install 'wrap-gedit
5227 (lambda* (#:key inputs outputs #:allow-other-keys)
5228 (let ((out (assoc-ref outputs "out"))
5229 (gtksourceview (assoc-ref inputs "gtksourceview"))
5230 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5231 (python-path (getenv "PYTHONPATH")))
5232 (wrap-program (string-append out "/bin/gedit")
5233 ;; For plugins.
5234 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5235 `("PYTHONPATH" ":" prefix (,python-path))
5236 ;; For language-specs.
5237 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5238 "/share")))))
5239 #t)))))
329d731b
DH
5240 (propagated-inputs
5241 `(("dconf" ,dconf)))
5242 (native-inputs
480c9226
KK
5243 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5244 ("intltool" ,intltool)
b3546174 5245 ("itstool" ,itstool)
480c9226 5246 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
329d731b 5247 ("gobject-introspection" ,gobject-introspection)
480c9226
KK
5248 ("libgd"
5249 ,(origin
5250 (method git-fetch)
5251 (uri (git-reference
5252 (url "https://gitlab.gnome.org/GNOME/libgd")
5253 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5254 (file-name (git-file-name "libgd" version))
5255 (sha256
5256 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
329d731b
DH
5257 ("pkg-config" ,pkg-config)))
5258 (inputs
5259 `(("glib" ,glib)
0d2df50c 5260 ("gspell" ,gspell)
329d731b 5261 ("gtk+" ,gtk+)
480c9226 5262 ("gtksourceview" ,gtksourceview)
329d731b
DH
5263 ("libpeas" ,libpeas)
5264 ("libxml2" ,libxml2)
329d731b
DH
5265 ("iso-codes" ,iso-codes)
5266 ("python-pygobject" ,python-pygobject)
5267 ("python" ,python)
5268 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5269 ("libx11" ,libx11)
5270 ("vala" ,vala)
5271 ("adwaita-icon-theme" ,adwaita-icon-theme)
5272 ("libsoup" ,libsoup)
5273 ("gnome-desktop" ,gnome-desktop)))
5274 (home-page "https://wiki.gnome.org/Apps/Gedit")
5275 (synopsis "GNOME text editor")
5276 (description "While aiming at simplicity and ease of use, gedit is a
5277powerful general purpose text editor.")
5278 (license license:gpl2+)))
b7179363
SB
5279
5280(define-public zenity
5281 (package
5282 (name "zenity")
4f581bd0 5283 (version "3.32.0")
b7179363
SB
5284 (source (origin
5285 (method url-fetch)
5958df04 5286 (uri (string-append "mirror://gnome/sources/zenity/"
b7179363 5287 (version-major+minor version) "/"
5958df04 5288 "zenity-" version ".tar.xz"))
b7179363
SB
5289 (sha256
5290 (base32
4f581bd0 5291 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
b7179363
SB
5292 (build-system gnu-build-system)
5293 (native-inputs
b94a6ca0 5294 `(("gettext" ,gettext-minimal)
b7179363
SB
5295 ("itstool" ,itstool)
5296 ("pkg-config" ,pkg-config)))
5297 (inputs
5298 `(("libnotify" ,libnotify)
5299 ("webkitgtk" ,webkitgtk)))
5300 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 5301 (home-page "https://www.gnome.org")
b7179363
SB
5302 (description
5303 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5304to display dialog boxes from the commandline and shell scripts.")
5305 (license license:lgpl2.0+)))
60c3627c
SB
5306
5307(define-public mutter
5308 (package
5309 (name "mutter")
e402eae6 5310 (version "3.30.2")
60c3627c 5311 (source (origin
86c44e72
KK
5312 (method url-fetch)
5313 (uri (string-append "mirror://gnome/sources/" name "/"
5314 (version-major+minor version) "/"
5315 name "-" version ".tar.xz"))
60c3627c
SB
5316 (sha256
5317 (base32
e402eae6 5318 "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z"))))
86c44e72
KK
5319 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5320 ;; versions of cogl and clutter. As a result, many of the inputs,
5321 ;; propagated-inputs, and configure flags used in cogl and clutter are
5322 ;; needed here as well.
60c3627c
SB
5323 (build-system gnu-build-system)
5324 (arguments
5325 '(#:configure-flags
5326 ;; XXX: build fails with [-Werror]:
5327 ;; backends/meta-cursor-renderer.c:112:5: error:
5328 ;; implicit declaration of function ?roundf?
a88d5a0c
MW
5329 (list "--enable-compile-warnings=minimum"
5330
86c44e72 5331 "--enable-native-backend"
a88d5a0c
MW
5332
5333 ;; The following flags are needed for the bundled clutter
5334 "--enable-x11-backend=yes"
5335
d633f2f6
RH
5336 (string-append "--with-xwayland-path="
5337 (assoc-ref %build-inputs "xorg-server-xwayland")
5338 "/bin/Xwayland")
5339
a88d5a0c
MW
5340 ;; the remaining flags are needed for the bundled cogl
5341 "--enable-cogl-gst"
5342 (string-append "--with-gl-libname="
5343 (assoc-ref %build-inputs "mesa")
f23052a6
DC
5344 "/lib/libGL.so"))
5345 #:phases
5346 (modify-phases %standard-phases
86c44e72
KK
5347 ;; Replace references to systemd libraries to elogind references.
5348 (add-before 'configure 'use-elogind
5349 (lambda _
5350 (substitute* (list "configure"
5351 "src/backends/native/meta-launcher.c"
5352 "src/core/main.c")
5353 (("systemd") "elogind"))
5354 #t)))))
60c3627c
SB
5355 (native-inputs
5356 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5357 ("gobject-introspection" ,gobject-introspection)
5358 ("intltool" ,intltool)
f23052a6
DC
5359 ("pkg-config" ,pkg-config)
5360 ;; For git build
5361 ("autoconf" ,autoconf)
5362 ("automake" ,automake)
5363 ("libtool" ,libtool)))
60c3627c 5364 (propagated-inputs
a88d5a0c
MW
5365 `(;; libmutter.pc refers to these:
5366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5367 ("gtk+" ,gtk+)
5368 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5369 ("atk" ,atk)
5370 ("cairo" ,cairo)
5371 ("gdk-pixbuf" ,gdk-pixbuf)
5372 ("glib" ,glib)
a88d5a0c
MW
5373 ("json-glib" ,json-glib)
5374 ("libinput" ,libinput)
5375 ("libx11" ,libx11)
5376 ("libxcomposite" ,libxcomposite)
5377 ("libxdamage" ,libxdamage)
5378 ("libxext" ,libxext)
5379 ("libxfixes" ,libxfixes)
5380 ("libxkbcommon" ,libxkbcommon)
5381 ("libxrandr" ,libxrandr)
5382 ("mesa" ,mesa)
5383 ("pango" ,pango)
5384 ("udev" ,eudev)
a88d5a0c 5385 ("xinput" ,xinput)))
60c3627c 5386 (inputs
86c44e72
KK
5387 `(("elogind" ,elogind)
5388 ("gnome-desktop" ,gnome-desktop)
60c3627c 5389 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 5390 ("libgudev" ,libgudev)
60c3627c
SB
5391 ("libice" ,libice)
5392 ("libsm" ,libsm)
60c3627c 5393 ("libxkbfile" ,libxkbfile)
a88d5a0c 5394 ("libxrandr" ,libxrandr)
86c44e72 5395 ("libxtst" ,libxtst)
60c3627c
SB
5396 ("startup-notification" ,startup-notification)
5397 ("upower-glib" ,upower)
5398 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 5399 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
5400 ("zenity" ,zenity)))
5401 (synopsis "Window and compositing manager")
f032d0be 5402 (home-page "https://www.gnome.org")
60c3627c
SB
5403 (description
5404 "Mutter is a window and compositing manager that displays and manages your
5405desktop via OpenGL. Mutter combines a sophisticated display engine using the
5406Clutter toolkit with solid window-management logic inherited from the Metacity
5407window manager.")
86c44e72 5408 (license license:gpl2+)))
685cee87
SB
5409
5410(define-public gnome-online-accounts
5411 (package
5412 (name "gnome-online-accounts")
d29298ef 5413 (version "3.30.2")
685cee87
SB
5414 (source (origin
5415 (method url-fetch)
5416 (uri (string-append "mirror://gnome/sources/" name "/"
5417 (version-major+minor version) "/"
5418 name "-" version ".tar.xz"))
5419 (sha256
5420 (base32
d29298ef 5421 "1p1gdgryziklrgngn6m13xnvfx4gb01h723nndfi9944r24fbiq5"))))
14c297fd 5422 (outputs '("out" "lib"))
685cee87 5423 (build-system glib-or-gtk-build-system)
14c297fd
TS
5424 (arguments
5425 `(#:configure-flags
5426 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5427 #:phases
5428 (modify-phases %standard-phases
5429 (add-before 'configure 'patch-libgoa-output
5430 (lambda* (#:key outputs #:allow-other-keys)
5431 (let ((lib (assoc-ref outputs "lib")))
5432 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5433 (("@prefix@") lib)
5434 (("@exec_prefix@") lib)
5435 (("@libdir@") (string-append lib "/lib"))
5436 (("@includedir@") (string-append lib "/include"))
5437 (("@datadir@") (string-append lib "/share")))
7555d539
MB
5438 ;; Make sure gobject-introspection knows about the output
5439 ;; too (see <https://bugs.gnu.org/36535>).
5440 (setenv "outputs" "out lib")
14c297fd 5441 #t))))))
685cee87
SB
5442 (native-inputs
5443 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5444 ("gobject-introspection" ,gobject-introspection)
5445 ("intltool" ,intltool)
5446 ("pkg-config" ,pkg-config)
5447 ("xsltproc" ,libxslt)))
5448 (propagated-inputs
5449 `(("glib" ,glib) ; required by goa-1.0.pc
5450 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5451 (inputs
5452 `(("docbook-xsl" ,docbook-xsl)
5453 ("json-glib" ,json-glib)
5454 ("libsecret" ,libsecret)
5455 ("rest" ,rest)
685cee87
SB
5456 ("webkitgtk" ,webkitgtk)))
5457 (synopsis "Single sign-on framework for GNOME")
5458 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5459 (description
5460 "GNOME Online Accounts provides interfaces so that applications and
5461libraries in GNOME can access the user's online accounts. It has providers for
5462Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5463Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5464 (license license:lgpl2.0+)))
df217748
SB
5465
5466(define-public evolution-data-server
5467 (package
5468 (name "evolution-data-server")
68c3ca93 5469 (version "3.30.5")
df217748
SB
5470 (source (origin
5471 (method url-fetch)
5472 (uri (string-append "mirror://gnome/sources/" name "/"
5473 (version-major+minor version) "/"
5474 name "-" version ".tar.xz"))
e1f174ae 5475 (patches (search-patches "evolution-data-server-locales.patch"))
df217748
SB
5476 (sha256
5477 (base32
68c3ca93 5478 "1s952wyhgcbmq9nfgk75v15zdy1h3wy5p5rmkqibaavmc0pk3mli"))))
743aebd7 5479 (build-system cmake-build-system)
df217748 5480 (arguments
b468eedc
RW
5481 '(#:configure-flags
5482 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5483 (runpaths (map (lambda (s)
5484 (string-append lib "/evolution-data-server/" s))
ac033c7b
MB
5485 '("addressbook-backends" "calendar-backends"
5486 "camel-providers" "credential-modules"
5487 "registry-modules"))))
5488 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5489 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5490 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5491 "-DENABLE_VALA_BINDINGS=ON"
ac033c7b
MB
5492 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5493 (string-append lib "/evolution-data-server;")
5494 (string-join runpaths ";"))
5495 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
5496 #:phases
5497 (modify-phases %standard-phases
b468eedc
RW
5498 (add-after 'unpack 'disable-failing-tests
5499 (lambda _
5500 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5501 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5502 (delete-file-recursively "tests/book-migration")
5503 (substitute* "tests/CMakeLists.txt"
5504 (("add_subdirectory\\(book-migration\\)") ""))
5505 ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris:
5506 ;; assertion failed (uris->data == expected_uri):
5507 ;; ("" == "file:///tests/libedata-cal/components/event-1.ics")
5508 (substitute* "tests/libedata-cal/CMakeLists.txt"
5509 (("test-cal-meta-backend") ""))
5510 #t))
743aebd7 5511 (add-after 'unpack 'patch-paths
df217748 5512 (lambda _
b468eedc
RW
5513 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5514 "tests/libedata-book/data-test-utils.c"
5515 "tests/libedata-book/test-book-cache-utils.c"
5516 "tests/libedata-cal/test-cal-cache-utils.c")
df217748 5517 (("/bin/rm") (which "rm")))
ac033c7b
MB
5518 #t))
5519 (add-before 'configure 'dont-override-rpath
5520 (lambda _
5521 (substitute* "CMakeLists.txt"
5522 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5523 ;; Remove it so the configure flag is respected.
5524 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
b63c06f1 5525 #t)))))
df217748
SB
5526 (native-inputs
5527 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5528 ("gobject-introspection" ,gobject-introspection)
5529 ("gperf" ,gperf)
5530 ("intltool" ,intltool)
5531 ("pkg-config" ,pkg-config)
a73c1cf8 5532 ("vala" ,vala)
743aebd7 5533 ("python" ,python-wrapper)))
df217748
SB
5534 (propagated-inputs
5535 ;; These are all in the Requires field of .pc files.
5536 `(("gtk+" ,gtk+)
5537 ("libical" ,libical)
5538 ("libsecret" ,libsecret)
5539 ("libsoup" ,libsoup)
5540 ("nss" ,nss)
5541 ("sqlite" ,sqlite)))
5542 (inputs
5543 `(("bdb" ,bdb)
5544 ("gcr" ,gcr)
14c297fd 5545 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 5546 ("json-glib" ,json-glib)
b468eedc 5547 ("libcanberra" ,libcanberra)
743aebd7
MB
5548 ("libgweather" ,libgweather)
5549 ("mit-krb5" ,mit-krb5)
891199c6
MW
5550 ("openldap" ,openldap)
5551 ("webkitgtk" ,webkitgtk)))
df217748
SB
5552 (synopsis "Store address books and calendars")
5553 (home-page "https://wiki.gnome.org/Apps/Evolution")
5554 (description
5555 "This package provides a unified backend for programs that work with
5556contacts, tasks, and calendar information. It was originally developed for
5557Evolution (hence the name), but is now used by other packages as well.")
5558 (license license:lgpl2.0)))
bd7dfafa
SB
5559
5560(define-public caribou
5561 (package
5562 (name "caribou")
fe964bb5 5563 (version "0.4.21")
bd7dfafa
SB
5564 (source (origin
5565 (method url-fetch)
5566 (uri (string-append "mirror://gnome/sources/" name "/"
5567 (version-major+minor version) "/"
5568 name "-" version ".tar.xz"))
5569 (sha256
5570 (base32
fe964bb5 5571 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
5572 (build-system glib-or-gtk-build-system)
5573 (arguments
5574 '(#:phases
5575 (modify-phases %standard-phases
5576 (add-before
5577 'build 'pre-build
5578 (lambda* (#:key outputs #:allow-other-keys)
5579 (let ((out (assoc-ref outputs "out")))
5580 ;; Use absolute shared library path in Caribou-1.0.typelib.
5581 (substitute* "libcaribou/Makefile"
5582 (("--shared-library=libcaribou.so")
5583 (string-append "--shared-library="
5584 out "/lib/libcaribou.so")))
5585 #t)))
5586 (add-after 'install 'wrap-programs
5587 (lambda* (#:key outputs #:allow-other-keys)
5588 (let* ((out (assoc-ref outputs "out"))
5589 (python-path (getenv "PYTHONPATH"))
5590 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5591 (for-each
5592 (lambda (prog)
5593 (wrap-program prog
5594 `("PYTHONPATH" ":" prefix (,python-path))
5595 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5596 (list (string-append out "/bin/caribou-preferences")
5597 (string-append out "/libexec/antler-keyboard"))))
5598 #t)))))
5599 (native-inputs
5600 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5601 ("gobject-introspection" ,gobject-introspection)
5602 ("intltool" ,intltool)
5603 ("pkg-config" ,pkg-config)
5604 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5605 ("vala" ,vala)
5606 ("xsltproc" ,libxslt)))
5607 (propagated-inputs
5608 ;; caribou-1.0.pc refers to all these.
5609 `(("libgee" ,libgee)
5610 ("libxklavier" ,libxklavier)
5611 ("libxtst" ,libxtst)
5612 ("gtk+" ,gtk+)))
5613 (inputs
5614 `(("clutter" ,clutter)
5615 ("dconf" ,dconf)
5616 ("gtk+-2" ,gtk+-2)
5617 ("python-pygobject" ,python2-pygobject)))
5618 (synopsis "Text entry and UI navigation application")
5619 (home-page "https://wiki.gnome.org/Projects/Caribou")
5620 (description
5621 "Caribou is an input assistive technology intended for switch and pointer
5622users.")
5623 (license license:lgpl2.1)))
ba5dd105 5624
ba5dd105
SB
5625(define-public network-manager
5626 (package
5627 (name "network-manager")
02710a9b 5628 (version "1.14.4")
ba5dd105
SB
5629 (source (origin
5630 (method url-fetch)
5631 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5632 (version-major+minor version) "/"
5633 "NetworkManager-" version ".tar.xz"))
7d1861e2 5634 (patches (search-patches "nm-plugin-path.patch"))
ba5dd105
SB
5635 (sha256
5636 (base32
02710a9b
RW
5637 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5638 (modules '((guix build utils)))
fd070f35 5639 (snippet
02710a9b
RW
5640 '(begin
5641 (substitute* "src/devices/wwan/nm-modem-manager.c"
5642 (("systemd") "elogind"))
5643 #t))))
ba5dd105
SB
5644 (build-system gnu-build-system)
5645 (outputs '("out"
5646 "doc")) ; 8 MiB of gtk-doc HTML
5647 (arguments
5648 '(#:configure-flags
5649 (let ((out (assoc-ref %outputs "out"))
5650 (doc (assoc-ref %outputs "doc"))
5651 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5652 "/sbin/dhclient")))
02710a9b
RW
5653 (list "--with-libnm-glib" ; needed by network-manager-applet
5654 "--with-systemd-journal=no"
5655 "--with-session-tracking=elogind"
5656 "--with-suspend-resume=elogind"
fd070f35
CM
5657 "--with-consolekit=no"
5658 "--with-crypto=gnutls"
ba5dd105
SB
5659 "--disable-config-plugin-ibft"
5660 "--sysconfdir=/etc"
5661 "--localstatedir=/var"
5662 (string-append "--with-udev-dir="
5663 out "/lib/udev")
5664 (string-append "--with-dbus-sys-dir="
5665 out "/etc/dbus-1/system.d")
5666 (string-append "--with-html-dir="
5667 doc "/share/gtk-doc/html")
5668 (string-append "--with-dhclient=" dhclient)))
5669 #:phases
5670 (modify-phases %standard-phases
02710a9b
RW
5671 ;; This bare "ls" invocation breaks some tests.
5672 (add-after 'unpack 'patch-ls-invocation
5673 (lambda _
5674 (substitute* "build-aux/ltmain.sh"
5675 (("`ls -")
5676 (string-append "`" (which "ls") " -")))
5677 #t))
b4f59d87
AW
5678 (add-before 'configure 'pre-configure
5679 (lambda _
5680 ;; These tests try to test aspects of network-manager's
5681 ;; functionality within restricted containers, but they don't
5682 ;; cope with being already in the Guix build jail as that jail
5683 ;; lacks some features that they would like to proxy over (like
5684 ;; a /sys mount).
d04687dc
HG
5685 (substitute* '("Makefile.in")
5686 (("src/platform/tests/test-address-linux") " ")
5687 (("src/platform/tests/test-cleanup-linux") " ")
5688 (("src/platform/tests/test-link-linux") " ")
5689 (("src/platform/tests/test-route-linux") " ")
02710a9b 5690 (("src/devices/tests/test-acd") "")
d04687dc
HG
5691 (("src/devices/tests/test-arping") " ")
5692 (("src/devices/tests/test-lldp") " ")
5693 (("src/tests/test-route-manager-linux") " "))
b4f59d87 5694 #t))
45f80fce
RW
5695 (add-after 'unpack 'delete-failing-tests
5696 (lambda _
02710a9b 5697 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
5698 ;; ERROR:libnm-core/tests/test-general.c:5842:
5699 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5700 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5701 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5702 ;; ERROR:libnm-core/tests/test-setting.c:907:
5703 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
5704 (substitute* "Makefile.in"
5705 (("libnm-core/tests/test-general") " ")
5706 (("libnm-core/tests/test-keyfile") " ")
02710a9b 5707 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 5708 #t))
ba5dd105
SB
5709 (add-before 'check 'pre-check
5710 (lambda _
5711 ;; For the missing /etc/machine-id.
5712 (setenv "DBUS_FATAL_WARNINGS" "0")
5713 #t))
5714 (replace 'install
5715 (lambda _
45f80fce
RW
5716 (invoke "make"
5717 "sysconfdir=/tmp"
5718 "rundir=/tmp"
5719 "statedir=/tmp"
5720 "nmstatedir=/tmp/nm"
5721 "install")
5722 #t)))))
b93502d6
DC
5723 (propagated-inputs
5724 `(("glib" ,glib)))
ba5dd105
SB
5725 (native-inputs
5726 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5727 ("gobject-introspection" ,gobject-introspection)
d04687dc 5728 ("docbook-xsl" ,docbook-xsl)
ba5dd105 5729 ("intltool" ,intltool)
d04687dc
HG
5730 ("libxslt" ,libxslt)
5731 ("libxml2" ,libxml2)
ba5dd105
SB
5732 ("pkg-config" ,pkg-config)
5733 ;; For testing.
5734 ("python" ,python-wrapper)
5735 ("python-dbus" ,python-dbus)
5736 ("python-pygobject" ,python-pygobject)))
5737 (inputs
02710a9b
RW
5738 `(("coreutils" ,coreutils) ; for ls
5739 ("curl" ,curl)
856ca567
KK
5740 ("cyrus-sasl" ,cyrus-sasl)
5741 ("dbus-glib" ,dbus-glib)
ba5dd105 5742 ("dnsmasq" ,dnsmasq)
856ca567 5743 ("eudev" ,eudev)
ba5dd105
SB
5744 ("gnutls" ,gnutls)
5745 ("iptables" ,iptables)
5746 ("isc-dhcp" ,isc-dhcp)
d04687dc 5747 ("jansson" ,jansson)
ba5dd105
SB
5748 ("libgcrypt" ,libgcrypt)
5749 ("libgudev" ,libgudev)
5750 ("libndp" ,libndp)
5751 ("libnl" ,libnl)
5752 ("libsoup" ,libsoup)
142bdcbc 5753 ("modem-manager" ,modem-manager)
c27e02bf 5754 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
5755 ("polkit" ,polkit)
5756 ("ppp" ,ppp)
5757 ("readline" ,readline)
fd070f35
CM
5758 ("util-linux" ,util-linux)
5759 ("elogind" ,elogind)))
ba5dd105 5760 (synopsis "Network connection manager")
f032d0be 5761 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
5762 (description
5763 "NetworkManager is a system network service that manages your network
5764devices and connections, attempting to keep active network connectivity when
5765available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5766devices, and provides VPN integration with a variety of different VPN
5767services.")
29d2f451
LC
5768 (license license:gpl2+)
5769 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 5770
f2b96b3a
LC
5771(define-public network-manager-openvpn
5772 (package
5773 (name "network-manager-openvpn")
be1c4b07 5774 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
7d87eede 5775 (version "1.8.10")
f2b96b3a
LC
5776 (source (origin
5777 (method url-fetch)
5778 (uri (string-append
5779 "mirror://gnome/sources/NetworkManager-openvpn/"
5780 (version-major+minor version)
5781 "/NetworkManager-openvpn-" version ".tar.xz"))
5782 (sha256
5783 (base32
7d87eede 5784 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
f2b96b3a
LC
5785 (build-system gnu-build-system)
5786 (arguments
633422b0
JL
5787 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5788 #:phases
5789 (modify-phases %standard-phases
5790 (add-after 'configure 'patch-path
5791 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5792 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
5793 "/sbin/openvpn"))
5794 (modprobe (string-append (assoc-ref inputs "kmod")
5795 "/bin/modprobe"))
5796 (pretty-ovpn (string-append "\"" ovpn "\"")))
5797 (for-each
5798 (lambda (file)
5799 (substitute* file
5800 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
5801 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
5802 (("\"/sbin/openvpn\"") pretty-ovpn)
5803 (("/sbin/modprobe") modprobe)))
5804 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
5805 #t)))))
f2b96b3a
LC
5806 (native-inputs
5807 `(("pkg-config" ,pkg-config)
5808 ("intltool" ,intltool)))
5809 (inputs
5810 `(("gtk+" ,gtk+)
633422b0 5811 ("kmod" ,kmod)
f2b96b3a
LC
5812 ("openvpn" ,openvpn)
5813 ("network-manager" ,network-manager)
5814 ("network-manager-applet" ,network-manager-applet) ;for libnma
5815 ("libsecret" ,libsecret)))
5816 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5817 (synopsis "OpenVPN plug-in for NetworkManager")
5818 (description
5819 "This extension of NetworkManager allows it to take care of connections
5820to virtual private networks (VPNs) via OpenVPN.")
5821 (license license:gpl2+)
5822 (properties `((upstream-name . "NetworkManager-openvpn")))))
5823
d376129f
JL
5824(define-public network-manager-vpnc
5825 (package
5826 (name "network-manager-vpnc")
5827 (version "1.2.6")
5828 (source (origin
5829 (method url-fetch)
5830 (uri (string-append
5831 "mirror://gnome/sources/NetworkManager-vpnc/"
5832 (version-major+minor version)
5833 "/NetworkManager-vpnc-" version ".tar.xz"))
5834 (sha256
5835 (base32
5836 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
5837 (build-system gnu-build-system)
5838 (arguments
5839 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5840 #:phases
5841 (modify-phases %standard-phases
5842 (add-after 'configure 'patch-path
5843 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5844 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
5845 "/sbin/vpnc"))
5846 (modprobe (string-append (assoc-ref inputs "kmod")
5847 "/bin/modprobe"))
5848 (pretty-ovpn (string-append "\"" vpnc "\"")))
5849 (substitute* "src/nm-vpnc-service.c"
5850 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
5851 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
5852 (("\"/sbin/vpnc\"") pretty-ovpn)
5853 (("/sbin/modprobe") modprobe)))
5854 #t)))))
5855 (native-inputs
5856 `(("pkg-config" ,pkg-config)
5857 ("intltool" ,intltool)))
5858 (inputs
5859 `(("gtk+" ,gtk+)
5860 ("kmod" ,kmod)
5861 ("vpnc" ,vpnc)
5862 ("network-manager" ,network-manager)
5863 ("network-manager-applet" ,network-manager-applet) ;for libnma
5864 ("libsecret" ,libsecret)))
5865 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5866 (synopsis "VPNC plug-in for NetworkManager")
5867 (description
5868 "Support for configuring virtual private networks based on VPNC.
5869Compatible with Cisco VPN concentrators configured to use IPsec.")
5870 (license license:gpl2+)
5871 (properties `((upstream-name . "NetworkManager-vpnc")))))
5872
8378c87a
EF
5873(define-public network-manager-openconnect
5874 (package
5875 (name "network-manager-openconnect")
5876 (version "1.2.6")
5877 (source (origin
5878 (method url-fetch)
5879 (uri (string-append
5880 "mirror://gnome/sources/NetworkManager-openconnect/"
5881 (version-major+minor version)
5882 "/NetworkManager-openconnect-" version ".tar.xz"))
5883 (sha256
5884 (base32
5885 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
5886 (build-system gnu-build-system)
5887 (arguments
5888 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5889 #:phases
5890 (modify-phases %standard-phases
5891 (add-after 'configure 'patch-path
5892 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5893 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
5894 "/sbin/openconnect"))
5895 (modprobe (string-append (assoc-ref inputs "kmod")
5896 "/bin/modprobe"))
5897 (pretty-ovpn (string-append "\"" openconnect "\"")))
5898 (substitute* "src/nm-openconnect-service.c"
5899 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
5900 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
5901 (("/sbin/modprobe") modprobe)))
5902 #t)))))
5903 (native-inputs
5904 `(("intltool" ,intltool)
5905 ("network-manager-applet" ,network-manager-applet) ;for libnma
5906 ("pkg-config" ,pkg-config)))
5907 (inputs
5908 `(("gcr" ,gcr)
5909 ("gtk+" ,gtk+)
5910 ("kmod" ,kmod)
5911 ("libsecret" ,libsecret)
5912 ("libxml2" ,libxml2)
5913 ("network-manager" ,network-manager)
5914 ("openconnect" ,openconnect)))
5915 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5916 (synopsis "OpenConnect plug-in for NetworkManager")
5917 (description
5918 "This extension of NetworkManager allows it to take care of connections
5919to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
5920Cisco's AnyConnect SSL VPN.")
5921 (license license:gpl2+)
e52b9534
LC
5922 (properties `((upstream-name . "NetworkManager-openconnect")
5923
5924 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
5925 ;; file refers to account "nm-openconnect". Specify it here
5926 ;; so that 'network-manager-service-type' creates it.
5927 (user-accounts . ("nm-openconnect"))))))
8378c87a 5928
e5e1df4d
DC
5929(define-public mobile-broadband-provider-info
5930 (package
5931 (name "mobile-broadband-provider-info")
310c89e3 5932 (version "20190116")
e5e1df4d
DC
5933 (source (origin
5934 (method url-fetch)
5935 (uri (string-append
5936 "mirror://gnome/sources/"
5937 "mobile-broadband-provider-info/" version "/"
5938 "mobile-broadband-provider-info-" version ".tar.xz"))
5939 (sha256
5940 (base32
310c89e3 5941 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
5942 (build-system gnu-build-system)
5943 (arguments
310c89e3 5944 `(#:tests? #f)) ; no tests
e5e1df4d
DC
5945 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5946 (synopsis "Database of broadband connection configuration")
5947 (description "Database of broadband connection configuration.")
5948 (license license:public-domain)))
5949
4d62a9d3
SB
5950(define-public network-manager-applet
5951 (package
5952 (name "network-manager-applet")
8fc3a337 5953 (version "1.8.24")
4d62a9d3
SB
5954 (source (origin
5955 (method url-fetch)
3df63444 5956 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
4d62a9d3 5957 (version-major+minor version) "/"
3df63444 5958 "network-manager-applet-" version ".tar.xz"))
4d62a9d3
SB
5959 (sha256
5960 (base32
8fc3a337 5961 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
cd7f718e
RW
5962 (build-system meson-build-system)
5963 (arguments
be1c4b07
TGR
5964 '(#:configure-flags
5965 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
5966 (list "-Dlibnm_gtk=true")
5967 #:glib-or-gtk? #t))
4d62a9d3
SB
5968 (native-inputs
5969 `(("intltool" ,intltool)
cd7f718e 5970 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 5971 ("gobject-introspection" ,gobject-introspection)
cd7f718e 5972 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
5973 ("pkg-config" ,pkg-config)))
5974 (propagated-inputs
5975 ;; libnm-gtk.pc refers to all these.
5976 `(("dbus-glib" ,dbus-glib)
5977 ("gtk+" ,gtk+)
5978 ("network-manager" ,network-manager)))
5979 (inputs
cd7f718e
RW
5980 `(("gcr" ,gcr)
5981 ("iso-codes" ,iso-codes)
4d62a9d3
SB
5982 ("libgudev" ,libgudev)
5983 ("libnotify" ,libnotify)
2116bfb3 5984 ("libsecret" ,libsecret)
240cee8a
KK
5985 ("libselinux" ,libselinux)
5986 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
5987 ("modem-manager" ,modem-manager)
5988 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 5989 (synopsis "Applet for managing network connections")
f032d0be 5990 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
5991 (description
5992 "This package contains a systray applet for NetworkManager. It displays
5993the available networks and allows users to easily switch between them.")
5994 (license license:gpl2+)))
56196594
RW
5995
5996(define-public libxml++
5997 (package
5998 (name "libxml++")
8344a85e 5999 (version "3.0.1")
56196594
RW
6000 (source (origin
6001 (method url-fetch)
6002 (uri (string-append "mirror://gnome/sources/" name "/"
6003 (version-major+minor version) "/"
6004 name "-" version ".tar.xz"))
6005 (sha256
6006 (base32
8344a85e 6007 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
6008 (build-system gnu-build-system)
6009 ;; libxml++-3.0.pc refers to all these.
6010 (propagated-inputs
6011 `(("libxml2" ,libxml2)
6012 ("glibmm" ,glibmm)))
6013 (native-inputs
6014 `(("perl" ,perl)
6015 ("pkg-config" ,pkg-config)))
6016 (home-page "http://libxmlplusplus.sourceforge.net/")
6017 (synopsis "C++ wrapper for XML parser library libxml2")
6018 (description
6019 "This package provides a C++ wrapper for the XML parser library
6020libxml2.")
6021 (license license:lgpl2.1+)))
df12f04a 6022
b61d9627
AW
6023(define-public libxml++-2
6024 (package
6025 (inherit libxml++)
6026 (name "libxml++")
6027 (version "2.40.1")
6028 (source (origin
6029 (method url-fetch)
6030 (uri (string-append "mirror://gnome/sources/" name "/"
6031 (version-major+minor version) "/"
6032 name "-" version ".tar.xz"))
6033 (sha256
6034 (base32
6035 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6036
df12f04a
SB
6037(define-public gdm
6038 (package
6039 (name "gdm")
7734b4a2 6040 (version "3.30.3")
df12f04a
SB
6041 (source (origin
6042 (method url-fetch)
6043 (uri (string-append "mirror://gnome/sources/" name "/"
6044 (version-major+minor version) "/"
6045 name "-" version ".tar.xz"))
6046 (sha256
6047 (base32
7734b4a2 6048 "15f7lz7z75krgbq8vb800afj96h8mw2fpy1s28za2911x5vgq0ak"))))
957dbc0a 6049 (build-system glib-or-gtk-build-system)
df12f04a
SB
6050 (arguments
6051 '(#:configure-flags
af37e6bb 6052 `("--without-plymouth"
957dbc0a 6053 "--disable-systemd-journal"
51bc8357
TS
6054
6055 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6056 ;; instead of having to replace it (i.e., stopping the mingetty
6057 ;; service for TTY 1 before starting GDM).
6058 "--with-initial-vt=7"
6059
89c86562
TS
6060 ;; Use '/etc/environment' for locale settings instead of the
6061 ;; systemd-specific '/etc/locale.conf'.
6062 "--with-lang-file=/etc/environment"
6063
b74ef0ba
RW
6064 ,(string-append "--with-udevdir="
6065 (assoc-ref %outputs "out") "/lib/udev")
6066
af37e6bb
AW
6067 "--localstatedir=/var"
6068 ,(string-append "--with-default-path="
6069 (string-join '("/run/setuid-programs"
6070 "/run/current-system/profile/bin"
6071 "/run/current-system/profile/sbin")
957dbc0a
AW
6072 ":"))
6073 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6074 ;; XDG_DATA_DIRS so that it finds its schemas.
6075 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
6076 #:phases
6077 (modify-phases %standard-phases
6078 (add-before
6079 'configure 'pre-configure
e8c6e771 6080 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
6081 ;; We don't have <systemd/sd-daemon.h>.
6082 (substitute* '("common/gdm-log.c"
6083 "daemon/gdm-server.c"
6084 "daemon/gdm-session-worker.c"
6085 "daemon/gdm-session-worker-job.c")
6086 (("#include <systemd/sd-daemon\\.h>") ""))
6087 ;; Use elogind for sd-login.
6088 (substitute* '("common/gdm-common.c"
6089 "daemon/gdm-manager.c"
6090 "libgdm/gdm-user-switching.c")
6091 (("#include <systemd/sd-login\\.h>")
6092 "#include <elogind/sd-login.h>"))
957dbc0a
AW
6093 ;; Check for elogind.
6094 (substitute* '("configure")
6095 (("libsystemd")
6096 "libelogind"))
af37e6bb
AW
6097 ;; Look for system-installed sessions in
6098 ;; /run/current-system/profile/share.
6099 (substitute* '("libgdm/gdm-sessions.c"
6100 "daemon/gdm-session.c"
6101 "daemon/gdm-display.c"
6102 "daemon/gdm-launch-environment.c")
6103 (("DATADIR \"/x")
6104 "\"/run/current-system/profile/share/x")
6105 (("DATADIR \"/wayland")
6106 "\"/run/current-system/profile/share/wayland")
6107 (("DATADIR \"/gnome")
6108 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 6109 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 6110 "GDM_DBUS_DAEMON"
c9ff92b5 6111 "GDM_X_SERVER"
41fa9f18 6112 "GDM_X_SESSION"
c9ff92b5
TS
6113 ;; XXX: Remove this once GNOME Shell is
6114 ;; a dependency of GDM.
6115 "XDG_DATA_DIRS")))
6116 (substitute* "daemon/gdm-session.c"
6117 (("set_up_session_environment \\(self\\);")
6118 (apply string-append
6119 "set_up_session_environment (self);\n"
6120 (map (lambda (name)
6121 (string-append
6122 "gdm_session_set_environment_variable "
6123 "(self, \"" name "\","
6124 "g_getenv (\"" name "\"));\n"))
6125 propagate)))))
a430a350
TS
6126 ;; Find the configuration file using an environment variable.
6127 (substitute* '("common/gdm-settings.c")
e0e6756f 6128 (("GDM_CUSTOM_CONF")
e57c2adb
TS
6129 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6130 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6131 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
6132 ;; Use service-supplied path to X.
6133 (substitute* '("daemon/gdm-server.c")
6134 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6135 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6136 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
6137 (("\"dbus-daemon\"")
6138 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 6139 (("X_SERVER")
41fa9f18
TS
6140 "g_getenv (\"GDM_X_SERVER\")")
6141 (("GDMCONFDIR \"/Xsession\"")
6142 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
6143 ;; Use an absolute path for GNOME Session.
6144 (substitute* "daemon/gdm-launch-environment.c"
6145 (("\"gnome-session\"")
6146 (string-append "\"" (assoc-ref inputs "gnome-session")
6147 "/bin/gnome-session\"")))
e8c6e771
TS
6148 ;; Do not automatically select the placeholder session.
6149 (substitute* "daemon/gdm-session.c"
6150 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6151 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6152 "(g_strcmp0(search_dirs[i], \""
6153 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6154 "\") == 0 && "
6155 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6156 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6157 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 6158 #t))
8caa4589
TS
6159 ;; GDM requires that there be at least one desktop entry
6160 ;; file. This phase installs a hidden one that simply
6161 ;; fails. This enables users to use GDM with a
6162 ;; '~/.xsession' script with no other desktop entry files.
6163 ;; See <https://bugs.gnu.org/35068>.
6164 (add-after 'install 'install-placeholder-desktop-entry
6165 (lambda* (#:key inputs outputs #:allow-other-keys)
6166 (let* ((out (assoc-ref outputs "out"))
6167 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6168 (fail (string-append sessions "/fail.desktop")))
6169 (mkdir-p sessions)
6170 (with-output-to-file fail
6171 (lambda ()
6172 (for-each
6173 display
6174 '("[Desktop Entry]\n"
6175 "Encoding=UTF-8\n"
6176 "Type=Application\n"
6177 "Name=Fail\n"
6178 "Comment=This session fails immediately.\n"
6179 "NoDisplay=true\n"
6180 "Exec=false\n"))))
6181 #t)))
69544798
TS
6182 ;; GDM needs GNOME Session to run these applications. We link
6183 ;; their autostart files in `share/gdm/greeter/autostart'
6184 ;; because GDM explicitly tells GNOME Session to look there.
6185 ;;
6186 ;; XXX: GNOME Shell should be linked here too, but currently
6187 ;; GNOME Shell depends on GDM.
6188 (add-after 'install 'link-autostart-files
6189 (lambda* (#:key inputs outputs #:allow-other-keys)
6190 (let* ((out (assoc-ref outputs "out"))
6191 (autostart (string-append out "/share/gdm/"
6192 "greeter/autostart"))
6193 (settings (assoc-ref inputs "gnome-settings-daemon")))
6194 (mkdir-p autostart)
6195 (with-directory-excursion autostart
6196 (for-each (lambda (desktop)
6197 (symlink desktop (basename desktop)))
6198 (find-files (string-append settings "/etc/xdg"))))
6199 #t))))))
df12f04a
SB
6200 (native-inputs
6201 `(("dconf" ,dconf)
6202 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6203 ("gobject-introspection" ,gobject-introspection)
6204 ("intltool" ,intltool)
6205 ("itstool" ,itstool)
6206 ("pkg-config" ,pkg-config)
6207 ("xmllint" ,libxml2)))
6208 (inputs
6209 `(("accountsservice" ,accountsservice)
6210 ("check" ,check) ; for testing
6211 ("elogind" ,elogind)
def6d6b6 6212 ("gnome-session" ,gnome-session)
69544798 6213 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
6214 ("gtk+" ,gtk+)
6215 ("iso-codes" ,iso-codes)
6216 ("libcanberra" ,libcanberra)
6217 ("linux-pam" ,linux-pam)))
6218 (synopsis "Display manager for GNOME")
f032d0be 6219 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
6220 (description
6221 "GNOME Display Manager is a system service that is responsible for
6222providing graphical log-ins and managing local and remote displays.")
6223 (license license:gpl2+)))
8e1dd04f
SB
6224
6225(define-public libgtop
6226 (package
6227 (name "libgtop")
015fc036 6228 (version "2.40.0")
8e1dd04f
SB
6229 (source (origin
6230 (method url-fetch)
59487fc2 6231 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 6232 (version-major+minor version) "/"
59487fc2 6233 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
6234 (sha256
6235 (base32
015fc036 6236 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
6237 (build-system gnu-build-system)
6238 (native-inputs
6239 `(("gobject-introspection" ,gobject-introspection)
6240 ("intltool" ,intltool)
6241 ("perl" ,perl)
6242 ("pkg-config" ,pkg-config)))
6243 (propagated-inputs
6244 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6245 (synopsis "Portable system access library")
6246 (home-page "https://www.gnome.org/")
6247 (description
6248 "LibGTop is a library to get system specific data such as CPU and memory
6249usage and information about running processes.")
6250 (license license:gpl2+)))
b96c4260
SB
6251
6252(define-public gnome-bluetooth
6253 (package
6254 (name "gnome-bluetooth")
fd3b1171 6255 (version "3.28.0")
b96c4260
SB
6256 (source (origin
6257 (method url-fetch)
6258 (uri (string-append "mirror://gnome/sources/" name "/"
6259 (version-major+minor version) "/"
6260 name "-" version ".tar.xz"))
6261 (sha256
6262 (base32
fd3b1171
RW
6263 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
6264 (build-system meson-build-system)
b96c4260
SB
6265 (native-inputs
6266 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 6267 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
6268 ("gobject-introspection" ,gobject-introspection)
6269 ("intltool" ,intltool)
6270 ("pkg-config" ,pkg-config)
6271 ("xmllint" ,libxml2)))
6272 (propagated-inputs
6273 ;; gnome-bluetooth-1.0.pc refers to all these.
6274 `(("gtk+" ,gtk+)
6275 ("udev" ,eudev)))
6276 (inputs
6277 `(("libcanberra" ,libcanberra)
6278 ("libnotify" ,libnotify)))
6279 (synopsis "GNOME Bluetooth subsystem")
6280 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6281 (description
6282 "This package contains tools for managing and manipulating Bluetooth
6283devices using the GNOME desktop.")
6284 (license license:lgpl2.1+)))
b645146f
SB
6285
6286(define-public gnome-control-center
6287 (package
6288 (name "gnome-control-center")
982c0b36 6289 (version "3.30.3")
b645146f
SB
6290 (source (origin
6291 (method url-fetch)
6292 (uri (string-append "mirror://gnome/sources/" name "/"
6293 (version-major+minor version) "/"
6294 name "-" version ".tar.xz"))
6295 (sha256
6296 (base32
982c0b36
KK
6297 "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r"))
6298 (patches
0de9a1be 6299 (search-patches "gnome-control-center-udisks.patch"))))
59dac026 6300 (build-system meson-build-system)
b645146f 6301 (arguments
59dac026
RW
6302 '(#:glib-or-gtk? #t
6303 #:configure-flags
64c70430
KK
6304 (list "-Dcheese=false"
6305 (string-append "-Dgnome_session_libexecdir="
6306 (assoc-ref %build-inputs "gnome-session")
6307 "/libexec"))
59dac026 6308 #:phases
b645146f
SB
6309 (modify-phases %standard-phases
6310 (add-before 'configure 'patch-paths
6311 (lambda* (#:key inputs #:allow-other-keys)
6312 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 6313 (tzdata (assoc-ref inputs "tzdata"))
341225ac 6314 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
6315 (nm-applet (assoc-ref inputs "network-manager-applet"))
6316 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
6317 (substitute* "panels/datetime/tz.h"
6318 (("/usr/share/zoneinfo/zone.tab")
6319 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 6320 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
6321 (("/usr/share/locale")
6322 (string-append libc "/share/locale")))
1df38cfc
LC
6323 (substitute* "panels/region/cc-region-panel.c"
6324 (("\"gkbd-keyboard-display")
6325 (string-append "\"" libgnomekbd
6326 "/bin/gkbd-keyboard-display")))
341225ac
LC
6327 (substitute* '("panels/network/net-device-wifi.c"
6328 "panels/network/net-device.c"
6329 "panels/network/connection-editor/net-connection-editor.c")
6330 (("\"nm-connection-editor")
6331 (string-append "\"" nm-applet
6332 "/bin/nm-connection-editor")))
1acd107c
FP
6333 (substitute* '("panels/user-accounts/run-passwd.c")
6334 (("/usr/bin/passwd")
6335 "/run/setuid-programs/passwd"))
64c70430
KK
6336 (substitute* "panels/info/cc-info-overview-panel.c"
6337 (("DATADIR \"/gnome/gnome-version.xml\"")
6338 (string-append "\"" gnome-desktop
6339 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
6340 #t))))))
6341 (native-inputs
6342 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 6343 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
6344 ("intltool" ,intltool)
6345 ("pkg-config" ,pkg-config)
6346 ("xsltproc" ,libxslt)))
6347 (inputs
6348 `(("accountsservice" ,accountsservice)
6349 ("clutter-gtk" ,clutter-gtk)
6350 ("colord-gtk" ,colord-gtk)
6351 ("cups" ,cups)
6352 ("dconf" ,dconf)
6353 ("docbook-xsl" ,docbook-xsl)
3446ffb5 6354 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
6355 ("gnome-bluetooth" ,gnome-bluetooth)
6356 ("gnome-desktop" ,gnome-desktop)
6357 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 6358 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 6359 ("gnome-session" ,gnome-session)
b645146f
SB
6360 ("gnome-settings-daemon" ,gnome-settings-daemon)
6361 ("grilo" ,grilo)
6362 ("ibus" ,ibus)
6363 ("libcanberra" ,libcanberra)
1df38cfc 6364 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
6365 ("libgudev" ,libgudev)
6366 ("libgtop" ,libgtop)
6367 ("libpwquality" ,libpwquality)
982c0b36 6368 ("libsecret" ,libsecret)
b645146f
SB
6369 ("libsoup" ,libsoup)
6370 ("libxml2" ,libxml2)
6371 ("libwacom" ,libwacom)
6372 ("mesa" ,mesa)
6373 ("mit-krb5" ,mit-krb5)
6374 ("modem-manager" ,modem-manager)
6375 ("network-manager-applet" ,network-manager-applet)
6376 ("polkit" ,polkit)
6377 ("pulseaudio" ,pulseaudio)
6378 ("smbclient" ,samba)
6379 ("tzdata" ,tzdata)
982c0b36 6380 ("udisks" ,udisks)
b645146f
SB
6381 ("upower" ,upower)))
6382 (synopsis "Utilities to configure the GNOME desktop")
6383 (home-page "https://www.gnome.org/")
6384 (description
6385 "This package contains configuration applets for the GNOME desktop,
6386allowing to set accessibility configuration, desktop fonts, keyboard and mouse
6387properties, sound setup, desktop theme and background, user interface
6388properties, screen resolution, and other GNOME parameters.")
6389 (license license:gpl2+)))
a4df5756
SB
6390
6391(define-public gnome-shell
6392 (package
6393 (name "gnome-shell")
bd0dc2df 6394 (version "3.30.2")
a4df5756
SB
6395 (source (origin
6396 (method url-fetch)
6397 (uri (string-append "mirror://gnome/sources/" name "/"
6398 (version-major+minor version) "/"
6399 name "-" version ".tar.xz"))
6400 (sha256
6401 (base32
bd0dc2df 6402 "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2"))
a76d0f03
LC
6403 (patches (search-patches "gnome-shell-theme.patch"))
6404 (modules '((guix build utils)))
6405 (snippet
6406 #~(begin
a76d0f03
LC
6407 ;; Copy images for use on the GDM log-in screen.
6408 (copy-file #$(file-append %artwork-repository
6409 "/slim/0.x/background.png")
6410 "data/theme/guix-background.png")
45fef894
LC
6411 (copy-file #$(file-append %artwork-repository
6412 "/logo/Guix-horizontal-white.svg")
6413 "data/theme/guix-logo.svg")
a76d0f03 6414 #t))))
2b0c755d 6415 (build-system meson-build-system)
a4df5756 6416 (arguments
08185081
MB
6417 `(#:glib-or-gtk? #t
6418 #:disallowed-references ((,glib "bin")
11e1df56
LC
6419 ,inkscape ,libxslt
6420 ,ruby-sass)
2b0c755d
RW
6421 #:configure-flags
6422 (list "-Dsystemd=false"
6423 ;; Otherwise, the RUNPATH will lack the final path component.
6424 (string-append "-Dc_link_args=-Wl,-rpath="
6425 (assoc-ref %outputs "out")
6426 "/lib/gnome-shell"))
11e1df56 6427
08185081 6428 #:modules ((guix build meson-build-system)
11e1df56
LC
6429 (guix build utils)
6430 (srfi srfi-1))
6431
2b0c755d 6432 #:phases
a4df5756 6433 (modify-phases %standard-phases
2b0c755d 6434 (add-after 'unpack 'fix-keysdir
a4df5756
SB
6435 (lambda* (#:key outputs #:allow-other-keys)
6436 (let* ((out (assoc-ref outputs "out"))
6437 (keysdir (string-append
6438 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
6439 (substitute* "meson.build"
6440 (("keysdir =.*")
6441 (string-append "keysdir = '" keysdir "'\n")))
6442 #t)))
ebfe259f
MB
6443 (add-before 'configure 'convert-logo-to-png
6444 (lambda* (#:key inputs #:allow-other-keys)
6445 ;; Convert the logo from SVG to PNG.
6446 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
6447 "data/theme/guix-logo.svg")))
ba00235a 6448 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
6449 (lambda* (#:key inputs #:allow-other-keys)
6450 (substitute* "js/misc/ibusManager.js"
6451 (("'ibus-daemon'")
6452 (string-append "'" (assoc-ref inputs "ibus")
6453 "/bin/ibus-daemon'")))
d6fda4d3
LC
6454 (substitute* "js/ui/status/keyboard.js"
6455 (("'gkbd-keyboard-display'")
6456 (string-append "'" (assoc-ref inputs "libgnomekbd")
6457 "/bin/gkbd-keyboard-display'")))
2472cdec 6458 #t))
2b0c755d
RW
6459 (add-before 'check 'pre-check
6460 (lambda* (#:key inputs #:allow-other-keys)
6461 ;; Tests require a running X server.
6462 (system "Xvfb :1 &")
6463 (setenv "DISPLAY" ":1")
6464 #t))
6465 (add-after 'install 'wrap-programs
6466 (lambda* (#:key inputs outputs #:allow-other-keys)
6467 (let ((out (assoc-ref outputs "out"))
6468 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6469 (python-path (getenv "PYTHONPATH")))
6470 (wrap-program (string-append out "/bin/gnome-shell")
6471 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6472 ;; FIXME: gnome-shell loads these libraries with unqualified
6473 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6474 ;; alternative might be to patch gnome-shell.
6475 `("LD_LIBRARY_PATH" ":" prefix
6476 ,(map (lambda (pkg)
6477 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
6478 '("gdk-pixbuf"
6479 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
6480 (for-each
6481 (lambda (prog)
6482 (wrap-program (string-append out "/bin/" prog)
6483 `("PYTHONPATH" ":" prefix (,python-path))
6484 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6485 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 6486 #t)))
11e1df56
LC
6487 (replace 'glib-or-gtk-wrap
6488 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6489 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6490 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6491 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6492 ;; phase. Fix that since we don't need these.
6493 (wrap #:inputs (fold alist-delete inputs
6494 '("inkscape" "intltool" "glib:bin"))
6495 #:outputs outputs)))))))
a4df5756
SB
6496 (native-inputs
6497 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 6498 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 6499 ("gobject-introspection" ,gobject-introspection)
ebfe259f 6500 ("inkscape" ,inkscape)
a4df5756
SB
6501 ("intltool" ,intltool)
6502 ("pkg-config" ,pkg-config)
6503 ("python" ,python)
2b0c755d
RW
6504 ("ruby-sass" ,ruby-sass)
6505 ("sassc" ,sassc)
a76d0f03 6506 ("xsltproc" ,libxslt)
2b0c755d 6507 ;; For tests
0b4504f6 6508 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
6509 (inputs
6510 `(("accountsservice" ,accountsservice)
6511 ("caribou" ,caribou)
6512 ("docbook-xsl" ,docbook-xsl)
6513 ("evolution-data-server" ,evolution-data-server)
6514 ("gcr" ,gcr)
6515 ("gdm" ,gdm)
c5db31d4 6516 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
6517 ("gjs" ,gjs)
6518 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
6519 ("gnome-desktop" ,gnome-desktop)
6520 ("gnome-settings-daemon" ,gnome-settings-daemon)
6521 ("gst-plugins-base" ,gst-plugins-base)
6522 ("ibus" ,ibus)
6523 ("libcanberra" ,libcanberra)
6524 ("libcroco" ,libcroco)
d6fda4d3 6525 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
6526 ("libgweather" ,libgweather)
6527 ("libsoup" ,libsoup)
6528 ("mesa-headers" ,mesa-headers)
6529 ("mutter" ,mutter)
6530 ("network-manager-applet" ,network-manager-applet)
6531 ("polkit" ,polkit)
6532 ("pulseaudio" ,pulseaudio)
6533 ("python-pygobject" ,python-pygobject)
6534 ("startup-notification" ,startup-notification)
6535 ("telepathy-logger" ,telepathy-logger)
6536 ("upower" ,upower)
30e760f0
MB
6537 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6538 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6539 ("librsvg" ,librsvg)
2b0c755d 6540 ("geoclue" ,geoclue)))
a4df5756
SB
6541 (synopsis "Desktop shell for GNOME")
6542 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6543 (description
6544 "GNOME Shell provides core user interface functions for the GNOME desktop,
6545like switching to windows and launching applications.")
6546 (license license:gpl2+)))
c3f29bc9
RS
6547
6548(define-public gtk-vnc
6549 (package
6550 (name "gtk-vnc")
965ff023 6551 (version "0.9.0")
c3f29bc9
RS
6552 (source
6553 (origin
6554 (method url-fetch)
6555 (uri (string-append "mirror://gnome/sources/" name "/"
6556 (version-major+minor version) "/"
6557 name "-" version ".tar.xz"))
6558 (sha256
6559 (base32
965ff023 6560 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
6561 (build-system gnu-build-system)
6562 (arguments
6563 '(#:configure-flags '("--with-gtk=3.0")))
6564 (propagated-inputs
6565 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6566 (inputs
6567 `(("cyrus-sasl" ,cyrus-sasl)
6568 ("gnutls" ,gnutls)
6569 ("libgcrypt" ,libgcrypt)
6570 ("pulseaudio" ,pulseaudio)))
6571 (native-inputs
6572 `(("glib:bin" ,glib "bin")
6573 ("gobject-introspection" ,gobject-introspection)
6574 ("intltool" ,intltool)
6575 ("pkg-config" ,pkg-config)
2f17e939 6576 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
6577 ("vala" ,vala)))
6578 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6579 (synopsis "VNC viewer widget for GTK+")
6580 (description
6581 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6582applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6583GTK-VNC implements client side RFB protocol and authentication extensions such
6584as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6585 (license license:lgpl2.1+)))
8b877545 6586
dc69fe18
MW
6587(define-public gnome-autoar
6588 (package
6589 (name "gnome-autoar")
c7da8510 6590 (version "0.2.3")
dc69fe18
MW
6591 (source (origin
6592 (method url-fetch)
6593 (uri (string-append "mirror://gnome/sources/" name "/"
6594 (version-major+minor version) "/"
6595 name "-" version ".tar.xz"))
6596 (sha256
6597 (base32
c7da8510 6598 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
6599 (build-system glib-or-gtk-build-system)
6600 (native-inputs
6601 `(("gnome-common" ,gnome-common)
6602 ("gobject-introspection" ,gobject-introspection)
6603 ("pkg-config" ,pkg-config)))
6604 (propagated-inputs
6605 `(("libarchive" ,libarchive))) ; XXX document why
6606 (inputs
0a6e9e13 6607 `(("gtk+" ,gtk+)))
dc69fe18
MW
6608 (synopsis "Archives integration support for GNOME")
6609 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6610 (description
6611 "GNOME Autoar is a library which makes creating and extracting archives
6612easy, safe, and automatic.")
6613 (license license:lgpl2.1+)))
6614
b64e217f
MW
6615(define-public tracker
6616 (package
6617 (name "tracker")
c8bdf589 6618 (version "2.0.4")
b64e217f
MW
6619 (source (origin
6620 (method url-fetch)
b5b0fd23 6621 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 6622 (version-major+minor version) "/"
b5b0fd23 6623 "tracker-" version ".tar.xz"))
b64e217f
MW
6624 (sha256
6625 (base32
c8bdf589 6626 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
b64e217f 6627 (build-system glib-or-gtk-build-system)
c8bdf589
RW
6628 (arguments
6629 `(#:phases
6630 (modify-phases %standard-phases
6631 (add-after 'unpack 'disable-broken-tests
6632 (lambda _
6633 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6634 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6635 (substitute* "tests/libtracker-miner/Makefile.in"
6636 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6637 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6638 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6639 (substitute* "tests/libtracker-fts/Makefile.in"
6640 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6641 (substitute* "tests/libtracker-data/Makefile.in"
6642 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6643 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6644 (("tracker-backup\\$\\(EXEEXT\\)") "")
6645 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6646 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6647 ;; These fail because the SPARQL backend could not be loaded.
6648 ;; That's because /etc/machine-id is missing, but
6649 ;; DBUS_FATAL_WARNINGS does not help here.
6650 (substitute* "tests/libtracker-sparql/Makefile.in"
6651 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6652 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6653 (substitute* "tests/tracker-steroids/Makefile.in"
6654 (("tracker-test\\$\\(EXEEXT\\)") ""))
6655 #t))
6656 ;; Two tests fail if LANG is not set.
6657 (add-before 'check 'pre-check
6658 (lambda _
6659 (setenv "LANG" "en_US.UTF-8")
6660 ;; For the missing /etc/machine-id.
6661 (setenv "DBUS_FATAL_WARNINGS" "0")
6662 #t)))))
b64e217f
MW
6663 (native-inputs
6664 `(("gnome-common" ,gnome-common)
6665 ("gobject-introspection" ,gobject-introspection)
6666 ("intltool" ,intltool)
6667 ("pkg-config" ,pkg-config)
6668 ("vala" ,vala)))
6669 (inputs
6670 `(("gtk+" ,gtk+)
6671 ("dbus" ,dbus)
6672 ("gstreamer" ,gstreamer)
6673 ("gst-plugins-base" ,gst-plugins-base)
44ed6284 6674 ("sqlite" ,sqlite)
c8bdf589 6675 ("python" ,python)
b64e217f
MW
6676 ("poppler" ,poppler)
6677 ("libgsf" ,libgsf)
6678 ("libexif" ,libexif)
6679 ("libpng" ,libpng)
6680 ("libtiff" ,libtiff)
6681 ("libvorbis" ,libvorbis)
6682 ("flac" ,flac)
6683 ("totem-pl-parser" ,totem-pl-parser)
6684 ("zlib" ,zlib)
6685 ("exempi" ,exempi)
6686 ("libxml2" ,libxml2)
6687 ("upower" ,upower)
b64e217f
MW
6688 ("libunistring" ,libunistring)
6689 ("giflib" ,giflib)
0ef48cd9 6690 ("json-glib" ,json-glib)
b64e217f
MW
6691 ("openjpeg" ,openjpeg-1)
6692 ("libosinfo" ,libosinfo)
6693 ("libcue" ,libcue)
6694 ("libseccomp" ,libseccomp)
0ef48cd9 6695 ("libsoup" ,libsoup)
b64e217f 6696 ("libuuid" ,util-linux)))
b64e217f
MW
6697 (synopsis "Metadata database, indexer and search tool")
6698 (home-page "https://wiki.gnome.org/Projects/Tracker")
6699 (description
6700 "Tracker is an advanced framework for first class objects with associated
6701metadata and tags. It provides a one stop solution for all metadata, tags,
6702shared object databases, search tools and indexing.")
6703 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6704 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6705 (license (list license:gpl2+
6706 license:lgpl2.1+
6707 license:lgpl2.0+))))
6708
8b877545
RS
6709(define-public nautilus
6710 (package
6711 (name "nautilus")
c71bb3f2 6712 (version "3.30.5")
8b877545
RS
6713 (source (origin
6714 (method url-fetch)
6715 (uri (string-append "mirror://gnome/sources/" name "/"
6716 (version-major+minor version) "/"
6717 name "-" version ".tar.xz"))
6718 (sha256
6719 (base32
c71bb3f2 6720 "144r4py9b8w9ycsg6fggjg05kwvymh003qsb3h6apgpch5y3zgnv"))))
35e2d0cf 6721 (build-system meson-build-system)
8b877545 6722 (arguments
35e2d0cf 6723 '(#:glib-or-gtk? #t
8b877545
RS
6724 ;; XXX: FAIL: check-nautilus
6725 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6726 #:tests? #f))
6727 (native-inputs
35e2d0cf
R
6728 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6729 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6730 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
6731 ("gobject-introspection" ,gobject-introspection)
6732 ("intltool" ,intltool)
6733 ("pkg-config" ,pkg-config)))
8b877545 6734 (inputs
8b877545 6735 `(("dconf" ,dconf)
caf6c363 6736 ("gexiv2" ,gexiv2)
dd05e731 6737 ("gvfs" ,gvfs)
8b877545
RS
6738 ("exempi" ,exempi)
6739 ("gnome-desktop" ,gnome-desktop)
09d88905 6740 ("gnome-autoar" ,gnome-autoar)
ec66ebd4 6741 ("libseccomp" ,libseccomp)
35e2d0cf 6742 ("libselinux" ,libselinux)
09d88905 6743 ("tracker" ,tracker)
ce6027bf
SB
6744 ;; XXX: gtk+ is required by libnautilus-extension.pc
6745 ;;
6746 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6747 ;; package. See:
6748 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6749 ("gtk+" ,gtk+)
8b877545
RS
6750 ("libexif" ,libexif)
6751 ("libxml2" ,libxml2)))
6752 (synopsis "File manager for GNOME")
6753 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6754 (description
6755 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6756design and behaviour, giving the user a simple way to navigate and manage its
6757files.")
6758 (license license:gpl2+)))
3c697ffd
JR
6759
6760(define-public baobab
6761 (package
6762 (name "baobab")
e0c5f20c 6763 (version "3.32.0")
3c697ffd
JR
6764 (source (origin
6765 (method url-fetch)
6766 (uri (string-append
6767 "mirror://gnome/sources/" name "/"
6768 (version-major+minor version) "/"
6769 name "-" version ".tar.xz"))
6770 (sha256
6771 (base32
e0c5f20c 6772 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
d233d373
RJ
6773 (build-system meson-build-system)
6774 (arguments
6775 '(#:glib-or-gtk? #t))
3c697ffd
JR
6776 (native-inputs
6777 `(("intltool" ,intltool)
6778 ("pkg-config" ,pkg-config)
d233d373
RJ
6779 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6780 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
6781 ("itstool" ,itstool)
6782 ("xmllint" ,libxml2)
6783 ("glib" ,glib "bin")
6784 ("vala" ,vala)))
6785 (inputs
6786 `(("gtk+" ,gtk+)))
6787 (synopsis "Disk usage analyzer for GNOME")
6788 (description
6789 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6790usage in the GNOME desktop environment. It can easily scan device volumes or
6791a specific user-requested directory branch (local or remote). Once the scan
6792is complete it provides a graphical representation of each selected folder.")
6793 (home-page "https://wiki.gnome.org/Apps/Baobab")
6794 (license license:gpl2+)))
dc050251 6795
fdba447c
RS
6796(define-public gnome-backgrounds
6797 (package
6798 (name "gnome-backgrounds")
29b85910 6799 (version "3.30.0")
fdba447c
RS
6800 (source
6801 (origin
6802 (method url-fetch)
6803 (uri (string-append "mirror://gnome/sources/" name "/"
6804 (version-major+minor version) "/"
6805 name "-" version ".tar.xz"))
6806 (sha256
6807 (base32
29b85910 6808 "1179jrl16bp9gqabqhw7nnfp8qzf5y1vf9fi45bni6rfmwm3mrpc"))))
9ca381f0 6809 (build-system meson-build-system)
fdba447c
RS
6810 (native-inputs
6811 `(("intltool" ,intltool)))
6812 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6813 (synopsis "Background images for the GNOME desktop")
6814 (description
6815 "GNOME backgrounds package contains a collection of graphics files which
6816can be used as backgrounds in the GNOME Desktop environment. Additionally,
6817the package creates the proper framework and directory structure so that you
6818can add your own files to the collection.")
6819 (license (list license:gpl2+
6820 license:cc-by2.0
6821 license:cc-by-sa2.0
6822 license:cc-by-sa3.0))))
6823
b784b1a9
RS
6824(define-public gnome-screenshot
6825 (package
6826 (name "gnome-screenshot")
676e7cb4 6827 (version "3.30.0")
b784b1a9
RS
6828 (source
6829 (origin
6830 (method url-fetch)
6831 (uri (string-append "mirror://gnome/sources/" name "/"
6832 (version-major+minor version) "/"
6833 name "-" version ".tar.xz"))
6834 (sha256
6835 (base32
676e7cb4 6836 "06dx3svxq6sar4913mrz5lzb7hmc66wck138vmyxj8x8iv1iw0w8"))))
8356aefa 6837 (build-system meson-build-system)
b784b1a9
RS
6838 (native-inputs
6839 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
6840 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6841 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 6842 ("intltool" ,intltool)
8356aefa 6843 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
6844 ("pkg-config" ,pkg-config)))
6845 (inputs
6846 `(("gtk+" ,gtk+)
6847 ("libcanberra" ,libcanberra)
6848 ("libx11" ,libx11)
6849 ("libxext" ,libxext)))
676e7cb4 6850 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
6851 (synopsis "Take pictures of your screen")
6852 (description
6853 "GNOME Screenshot is a utility used for taking screenshots of the entire
6854screen, a window or a user defined area of the screen, with optional
6855beautifying border effects.")
6856 (license license:gpl2+)))
6857
66d59111
RS
6858(define-public dconf-editor
6859 (package
6860 (name "dconf-editor")
bc09c416 6861 (version "3.30.2")
66d59111
RS
6862 (source
6863 (origin
6864 (method url-fetch)
6865 (uri (string-append "mirror://gnome/sources/" name "/"
6866 (version-major+minor version) "/"
6867 name "-" version ".tar.xz"))
6868 (sha256
6869 (base32
bc09c416 6870 "06f736spn20s7qjsz00xw44v8r8bjhyrz1v3bix6v416jc5jp6ia"))))
294ff39d 6871 (build-system meson-build-system)
86f2124b
LC
6872 (arguments
6873 '(#:phases (modify-phases %standard-phases
6874 (add-before 'configure 'set-glib-minimum-version
6875 (lambda _
6876 ;; Change the minimum required GLib version so that
6877 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
6878 ;; do that, it complains that "55" is not an even
6879 ;; number. See <https://bugs.gnu.org/37503>.
6880 (substitute* "editor/meson.build"
6881 (("2\\.55\\.1") "2.60.0"))
6882 #t)))))
66d59111
RS
6883 (native-inputs
6884 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 6885 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 6886 ("intltool" ,intltool)
294ff39d
RW
6887 ("pkg-config" ,pkg-config)
6888 ("vala" ,vala)))
66d59111
RS
6889 (inputs
6890 `(("dconf" ,dconf)
6891 ("gtk+" ,gtk+)
6892 ("libxml2" ,libxml2)))
6893 (home-page "https://git.gnome.org/browse/dconf-editor")
6894 (synopsis "Graphical editor for GNOME's dconf configuration system")
6895 (description
6896 "Dconf-editor is a graphical tool for browsing and editing the dconf
6897configuration system for GNOME. It allows users to configure desktop
6898software that do not provide their own configuration interface.")
6899 (license license:lgpl2.1+)))
6900
96d36f38
AW
6901(define-public gnome-default-applications
6902 (package
6903 (name "gnome-default-applications")
6904 (version "0")
6905 (build-system trivial-build-system)
6906 (source #f)
6907 (propagated-inputs
8ad4f0aa
LC
6908 `(("nautilus" ,nautilus)
6909 ("evince" ,evince)))
96d36f38
AW
6910 (arguments
6911 `(#:modules ((guix build utils))
6912 #:builder
6913 (begin
6914 (use-modules (guix build utils))
6915 (let* ((out (assoc-ref %outputs "out"))
6916 (apps (string-append out "/share/applications")))
6917 (mkdir-p apps)
6918 (call-with-output-file (string-append apps "/defaults.list")
6919 (lambda (port)
6920 (format port "[Default Applications]\n")
8ad4f0aa
LC
6921 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6922 (format port "application/pdf=evince.desktop\n")
6923 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
6924 #t))))
6925 (synopsis "Default MIME type associations for the GNOME desktop")
6926 (description
6927 "Given many installed packages which might handle a given MIME type, a
6928user running the GNOME desktop probably has some preferences: for example,
6929that folders be opened by default by the Nautilus file manager, not the Baobab
6930disk usage analyzer. This package establishes that set of default MIME type
6931associations for GNOME.")
6932 (license license:gpl3+)
6933 (home-page #f)))
6934
dc050251
SB
6935(define-public gnome
6936 (package
6937 (name "gnome")
6938 (version (package-version gnome-shell))
6939 (source #f)
6940 (build-system trivial-build-system)
e3cfef22 6941 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251
SB
6942 (propagated-inputs
6943 ;; TODO: Add more packages according to:
6944 ;; <https://packages.debian.org/jessie/gnome-core>.
6945 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 6946 ("baobab" ,baobab)
0bd3597b 6947 ("font-cantarell" ,font-cantarell)
a9dbefdc 6948 ("font-dejavu" ,font-dejavu)
dc050251
SB
6949 ("at-spi2-core" ,at-spi2-core)
6950 ("dbus" ,dbus)
6951 ("dconf" ,dconf)
72360453 6952 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
6953 ("eog" ,eog)
6954 ("epiphany" ,epiphany)
6955 ("evince" ,evince)
71d9b980 6956 ("file-roller" ,file-roller)
dc050251
SB
6957 ("gedit" ,gedit)
6958 ("glib-networking" ,glib-networking)
05f651c4 6959 ("gnome-backgrounds" ,gnome-backgrounds)
63ad9b80
AW
6960 ("gnome-bluetooth" ,gnome-bluetooth)
6961 ("gnome-calculator" ,gnome-calculator)
dc050251 6962 ("gnome-control-center" ,gnome-control-center)
63ad9b80 6963 ("gnome-disk-utility" ,gnome-disk-utility)
96d36f38 6964 ("gnome-default-applications" ,gnome-default-applications)
dc050251 6965 ("gnome-keyring" ,gnome-keyring)
63ad9b80 6966 ("gnome-online-accounts" ,gnome-online-accounts)
56987d78 6967 ("gnome-screenshot" ,gnome-screenshot)
dc050251
SB
6968 ("gnome-session" ,gnome-session)
6969 ("gnome-settings-daemon" ,gnome-settings-daemon)
6970 ("gnome-shell" ,gnome-shell)
63ad9b80 6971 ("gnome-system-monitor" ,gnome-system-monitor)
dc050251
SB
6972 ("gnome-terminal" ,gnome-terminal)
6973 ("gnome-themes-standard" ,gnome-themes-standard)
2999dcd5
AW
6974 ("gst-plugins-base" ,gst-plugins-base)
6975 ("gst-plugins-good" ,gst-plugins-good)
63ad9b80 6976 ("gucharmap" ,gucharmap)
05f651c4 6977 ("gvfs" ,gvfs)
dc050251
SB
6978 ("hicolor-icon-theme" ,hicolor-icon-theme)
6979 ("nautilus" ,nautilus)
69308043 6980 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
6981 ("pulseaudio" ,pulseaudio)
6982 ("shared-mime-info" ,shared-mime-info)
f6f4370f 6983 ("system-config-printer" ,system-config-printer)
dc050251 6984 ("totem" ,totem)
c20cd0d2 6985 ("xdg-user-dirs" ,xdg-user-dirs)
dc050251
SB
6986 ("yelp" ,yelp)
6987 ("zenity" ,zenity)))
fe4e698d 6988 (synopsis "The GNU desktop environment")
dc050251
SB
6989 (home-page "https://www.gnome.org/")
6990 (description
fe4e698d
LC
6991 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6992applications for browsing the web, editing text and images, creating
6993documents and diagrams, playing media, scanning, and much more.")
dc050251 6994 (license license:gpl2+)))
4a526711
DT
6995
6996(define-public byzanz
6997 ;; The last stable release of Byzanz was in 2011, but there have been many
6998 ;; useful commits made to the Byzanz repository since then that it would be
6999 ;; silly to use such an old release.
7000 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7001 (package
7002 (name "byzanz")
7003 (version (string-append "0.2-1." (string-take commit 7)))
7004 (source (origin
7005 (method git-fetch)
7006 (uri (git-reference
5f13bf09 7007 (url "https://git.gnome.org/browse/byzanz")
4a526711 7008 (commit commit)))
5a6527e4 7009 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
7010 (sha256
7011 (base32
7012 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7013 (build-system glib-or-gtk-build-system)
7014 (arguments
7015 '(#:phases
7016 (modify-phases %standard-phases
189be331 7017 (replace 'bootstrap
4a526711
DT
7018 (lambda _
7019 ;; The build system cleverly detects that we're not building from
7020 ;; a release tarball and turns on -Werror for GCC.
7021 ;; Unsurprisingly, there is a warning during compilation that
7022 ;; causes the build to fail unnecessarily, so we remove the flag.
7023 (substitute* '("configure.ac")
7024 (("-Werror") ""))
7025 ;; The autogen.sh script in gnome-common will run ./configure
7026 ;; by default, which is problematic because source shebangs
7027 ;; have not yet been patched.
7028 (setenv "NOCONFIGURE" "t")
7029 (zero? (system* "sh" "autogen.sh")))))))
7030 (native-inputs
7031 `(("autoconf" ,autoconf)
7032 ("automake" ,automake)
7033 ("gnome-common" ,gnome-common)
7034 ("intltool" ,intltool)
7035 ("libtool" ,libtool)
7036 ("pkg-config" ,pkg-config)
7037 ("which" ,which)))
7038 (inputs
7039 `(("glib" ,glib)
7040 ("gstreamer" ,gstreamer)
7041 ("gst-plugins-base" ,gst-plugins-base)
7042 ("gtk+" ,gtk+)))
7043 (synopsis "Desktop recording program")
7044 (description "Byzanz is a simple desktop recording program with a
7045command-line interface. It can record part or all of an X display for a
7046specified duration and save it as a GIF encoded animated image file.")
7047 (home-page "https://git.gnome.org/browse/byzanz")
7048 (license license:gpl2+))))
3a9a4c51 7049
0ec171ec
MS
7050(define-public gsound
7051 (package
7052 (name "gsound")
7053 (version "1.0.2")
7054 (source (origin
7055 (method url-fetch)
7056 (uri (string-append "mirror://gnome/sources/" name "/"
7057 (version-major+minor version) "/"
7058 name "-" version ".tar.xz"))
7059 (sha256
7060 (base32
7061 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7062 (build-system glib-or-gtk-build-system)
7063 (native-inputs
7064 `(("pkg-config" ,pkg-config)
7065 ("gobject-introspection" ,gobject-introspection)
7066 ("vala" ,vala)))
7067 (inputs
7068 `(("glib" ,glib)
7069 ("libcanberra" ,libcanberra)))
7070 (home-page "https://wiki.gnome.org/Projects/GSound")
7071 (synopsis "GObject wrapper for libcanberra")
7072 (description
7073 "GSound is a small library for playing system sounds. It's designed to be
7074used via GObject Introspection, and is a thin wrapper around the libcanberra C
7075library.")
7076 (license license:lgpl2.1+)))
7077
3a9a4c51
RS
7078(define-public libzapojit
7079 (package
7080 (name "libzapojit")
7081 (version "0.0.3")
7082 (source (origin
7083 (method url-fetch)
7084 (uri (string-append "mirror://gnome/sources/" name "/"
7085 (version-major+minor version) "/"
7086 name "-" version ".tar.xz"))
7087 (sha256
7088 (base32
7089 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7090 (build-system gnu-build-system)
7091 (native-inputs
7092 `(("gobject-introspection" ,gobject-introspection)
7093 ("intltool" ,intltool)
7094 ("pkg-config" ,pkg-config)))
7095 (inputs
14c297fd 7096 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
7097 ("json-glib" ,json-glib)
7098 ("rest" ,rest)))
7099 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7100 (synopsis "Library for accessing SkyDrive and Hotmail")
7101 (description
7102 "Libzapojit is a GLib-based library for accessing online service APIs of
7103Microsoft SkyDrive and Hotmail, using their REST protocols.")
7104 (license license:lgpl2.1+)))
9365ee1c 7105
60e2a9ae
MS
7106(define-public gnome-clocks
7107 (package
7108 (name "gnome-clocks")
757f863b 7109 (version "3.30.1")
60e2a9ae
MS
7110 (source (origin
7111 (method url-fetch)
7112 (uri (string-append "mirror://gnome/sources/" name "/"
7113 (version-major+minor version) "/"
7114 name "-" version ".tar.xz"))
7115 (sha256
7116 (base32
757f863b 7117 "009fr6zwv37wryi0c0syi4i7pxpdbn3gliws68l99cjsbn2qd6pc"))))
60e2a9ae
MS
7118 (build-system meson-build-system)
7119 (arguments
7120 '(#:glib-or-gtk? #t))
7121 (native-inputs
7122 `(("vala" ,vala)
7123 ("pkg-config" ,pkg-config)
7124 ("glib" ,glib "bin") ; for glib-compile-resources
7125 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7126 ("desktop-file-utils" ,desktop-file-utils)
7127 ("gettext" ,gettext-minimal)
7128 ("itstool" ,itstool)))
7129 (inputs
7130 `(("glib" ,glib)
7131 ("gtk+" ,gtk+)
7132 ("gsound" ,gsound)
7133 ("geoclue" ,geoclue)
7134 ("geocode-glib" ,geocode-glib)
7135 ("libgweather" ,libgweather)
7136 ("gnome-desktop" ,gnome-desktop)))
7137 (home-page "https://wiki.gnome.org/Apps/Clocks")
7138 (synopsis "GNOME's clock application")
7139 (description
7140 "GNOME Clocks is a simple clocks application designed to fit the GNOME
7141desktop. It supports world clock, stop watch, alarms, and count down timer.")
7142 (license license:gpl3+)))
7143
3c474897
KY
7144(define-public gnome-calendar
7145 (package
7146 (name "gnome-calendar")
496d7ccd 7147 (version "3.30.1")
3c474897
KY
7148 (source (origin
7149 (method url-fetch)
7150 (uri (string-append "mirror://gnome/sources/" name "/"
7151 (version-major+minor version) "/"
7152 name "-" version ".tar.xz"))
7153 (sha256
7154 (base32
496d7ccd 7155 "1avi7a29y8d8kzwslp51nwy6s692alms7917454j0xpfc6hnw62s"))))
a49d3e37
MS
7156 (build-system meson-build-system)
7157 (arguments
7158 '(#:glib-or-gtk? #t
7159 ;; gnome-calendar has to be installed before the tests can be run
7160 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
7161 #:tests? #f))
3c474897 7162 (native-inputs
a49d3e37
MS
7163 `(("gettext" ,gettext-minimal)
7164 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
7165 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
7166 ("pkg-config" ,pkg-config)))
7167 (inputs
a49d3e37 7168 `(("evolution-data-server" ,evolution-data-server)
14c297fd 7169 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
7170 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7171 ("libdazzle" ,libdazzle)
b63c06f1 7172 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
7173 ("libgweather" ,libgweather)
7174 ("geoclue" ,geoclue)))
3c474897
KY
7175 (home-page "https://wiki.gnome.org/Apps/Calendar")
7176 (synopsis "GNOME's calendar application")
7177 (description
7178 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 7179desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
7180 (license license:gpl3+)))
7181
57b14665
MS
7182(define-public gnome-todo
7183 (package
7184 (name "gnome-todo")
9f3c6c88 7185 (version "3.28.1")
57b14665
MS
7186 (source (origin
7187 (method url-fetch)
7188 (uri (string-append "mirror://gnome/sources/" name "/"
7189 (version-major+minor version) "/"
7190 name "-" version ".tar.xz"))
7191 (sha256
7192 (base32
9f3c6c88 7193 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
7194 (build-system meson-build-system)
7195 (arguments
7196 '(#:glib-or-gtk? #t
7197 #:phases (modify-phases %standard-phases
7198 (add-after
7199 'install 'wrap-gnome-todo
7200 (lambda* (#:key inputs outputs #:allow-other-keys)
7201 (let ((out (assoc-ref outputs "out"))
7202 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7203 (python-path (getenv "PYTHONPATH")))
7204 (wrap-program (string-append out "/bin/gnome-todo")
7205 ;; XXX: gi plugins are broken.
7206 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
7207 ;; For plugins.
7208 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7209 `("PYTHONPATH" ":" prefix (,python-path))))
7210 #t)))))
7211 (native-inputs
7212 `(("gettext" ,gettext-minimal)
7213 ("gobject-introspection" ,gobject-introspection)
7214 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7215 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7216 ("pkg-config" ,pkg-config)))
7217 (inputs
7218 `(("rest" ,rest) ; For Todoist plugin
7219 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 7220 ("libedataserverui" ,evolution-data-server)
57b14665
MS
7221 ("libical" ,libical)
7222 ("libpeas" ,libpeas)
7223 ("python-pygobject" ,python-pygobject)
7224 ("evolution-data-server" ,evolution-data-server)
14c297fd 7225 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
7226 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
7227 (home-page "https://wiki.gnome.org/Apps/Todo")
7228 (synopsis "GNOME's ToDo Application")
7229 (description
7230 "GNOME To Do is a simplistic personal task manager designed to perfectly
7231fit the GNOME desktop.")
7232 (license license:gpl3+)))
7233
ab179eaf
SB
7234(define-public gnome-dictionary
7235 (package
7236 (name "gnome-dictionary")
cf81ddef 7237 (version "3.26.1")
ab179eaf
SB
7238 (source (origin
7239 (method url-fetch)
7240 (uri (string-append "mirror://gnome/sources/" name "/"
7241 (version-major+minor version) "/"
7242 name "-" version ".tar.xz"))
7243 (sha256
7244 (base32
cf81ddef
LC
7245 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
7246 (build-system meson-build-system)
2776b5d5
MB
7247 (arguments '(#:glib-or-gtk? #t
7248 #:phases (modify-phases %standard-phases
7249 (add-after 'unpack 'patch-install-script
7250 (lambda _
7251 ;; This script attempts to compile glib schemas
7252 ;; and create an empty MIME database. We do
7253 ;; that elsewhere, so prevent it from running.
7254 (substitute* "build-aux/post-install.sh"
7255 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
7256 #t)))))
ab179eaf
SB
7257 (native-inputs
7258 `(("glib:bin" ,glib "bin")
7259 ("gobject-introspection" ,gobject-introspection)
7260 ("intltool" ,intltool)
7261 ("itstool" ,itstool)
7262 ("pkg-config" ,pkg-config)
7263 ("xmllint" ,libxml2)))
7264 (inputs
7265 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7266 ("gtk+" ,gtk+)))
7267 (home-page "https://wiki.gnome.org/Apps/Dictionary")
7268 (synopsis "Look up words in dictionary sources")
7269 (description
7270 "GNOME Dictionary can look for the definition or translation of a word in
7271existing databases over the internet.")
7272 (license license:gpl3+)))
7273
d13f3a03 7274(define-public gnome-tweaks
9365ee1c 7275 (package
d13f3a03 7276 (name "gnome-tweaks")
9d4d439b 7277 (version "3.30.2")
9365ee1c
JN
7278 (source (origin
7279 (method url-fetch)
d13f3a03 7280 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 7281 (version-major+minor version) "/"
d13f3a03
RW
7282 "gnome-tweaks-" version ".tar.xz"))
7283 (patches
7284 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
7285 (sha256
7286 (base32
9d4d439b 7287 "0j63siy1i5pl2g6di1r9vjn54m9ahh42wj20j6689pza2lamay1z"))))
d13f3a03 7288 (build-system meson-build-system)
9365ee1c 7289 (arguments
d13f3a03
RW
7290 `(#:glib-or-gtk? #t
7291 #:configure-flags '("-Dlocalstatedir=/tmp"
7292 "-Dsysconfdir=/tmp")
9365ee1c 7293 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
7294 ,@%meson-build-system-modules)
7295 #:phases
7296 (modify-phases %standard-phases
7297 (add-after 'install 'wrap
7298 (@@ (guix build python-build-system) wrap))
7299 (add-after 'wrap 'wrap-gi-typelib
7300 (lambda* (#:key inputs outputs #:allow-other-keys)
7301 (let ((out (assoc-ref outputs "out"))
7302 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7303 (wrap-program (string-append out "/bin/gnome-tweaks")
7304 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7305 #t)))))
9365ee1c 7306 (native-inputs
c7fc414e
RH
7307 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7308 ("intltool" ,intltool)
9365ee1c
JN
7309 ("pkg-config" ,pkg-config)))
7310 (inputs
c7fc414e
RH
7311 `(("gnome-desktop" ,gnome-desktop)
7312 ("gtk+" ,gtk+)
9365ee1c
JN
7313 ("gobject-introspection" ,gobject-introspection)
7314 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
7315 ("libnotify" ,libnotify)
7316 ("libsoup" ,libsoup)
7317 ("nautilus" ,nautilus)
7318 ("python" ,python)
7319 ("python-pygobject" ,python-pygobject)))
9365ee1c 7320 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 7321 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 7322 (description
d13f3a03 7323 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
7324GNOME 3. This includes things like the fonts used in user interface elements,
7325alternative user interface themes, changes in window management behavior,
7326GNOME Shell appearance and extension, etc.")
7327 (license license:gpl3+)))
813f814a 7328
d13f3a03
RW
7329;; This package has been renamed by upstream.
7330(define-public gnome-tweak-tool
7331 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7332
32ac717c
DT
7333(define-public gnome-shell-extensions
7334 (package
7335 (name "gnome-shell-extensions")
2aabc647 7336 (version "3.30.1")
32ac717c
DT
7337 (source (origin
7338 (method url-fetch)
7339 (uri (string-append "mirror://gnome/sources/" name "/"
7340 (version-major+minor version) "/"
7341 name "-" version ".tar.xz"))
7342 (sha256
7343 (base32
2aabc647 7344 "1grxn4f5x754r172wmnf0h0xpy69afmj359zsj1rwgqlzw4i4c5p"))))
100f625b 7345 (build-system meson-build-system)
32ac717c 7346 (arguments
100f625b 7347 '(#:configure-flags '("-Dextension_set=all")))
32ac717c
DT
7348 (native-inputs
7349 `(("intltool" ,intltool)
7350 ("pkg-config" ,pkg-config)))
7351 (propagated-inputs
7352 `(("glib" ,glib)
7353 ("glib" ,glib "bin")))
7354 (synopsis "Extensions for GNOME Shell")
7355 (description "GNOME Shell extensions modify and extend GNOME Shell
7356functionality and behavior.")
7357 (home-page "https://extensions.gnome.org/")
7358 (license license:gpl3+)))
7359
813f814a
DT
7360(define-public arc-theme
7361 (package
7362 (name "arc-theme")
37781323 7363 (version "20190917")
813f814a 7364 (source (origin
a18f8eaf
BH
7365 (method git-fetch)
7366 (uri (git-reference
7367 (url "https://github.com/NicoHood/arc-theme.git")
7368 (commit version)))
7369 (file-name (git-file-name name version))
813f814a
DT
7370 (sha256
7371 (base32
37781323 7372 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
813f814a 7373 (build-system gnu-build-system)
d88884fa
EF
7374 (arguments
7375 '(#:phases
7376 (modify-phases %standard-phases
7377 ;; autogen.sh calls configure at the end of the script.
7378 (replace 'bootstrap
7379 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
7380 (native-inputs
7381 `(("autoconf" ,autoconf)
7382 ("automake" ,automake)
a18f8eaf
BH
7383 ("glib" ,glib "bin") ; for glib-compile-resources
7384 ("gnome-shell" ,gnome-shell)
7385 ("gtk+" ,gtk+)
7386 ("inkscape" ,inkscape)
7387 ("optipng" ,optipng)
7388 ("pkg-config" ,pkg-config)
7389 ("sassc" ,sassc)))
813f814a
DT
7390 (synopsis "A flat GTK+ theme with transparent elements")
7391 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
73922, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7393like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7394 (home-page "https://github.com/horst3180/arc-theme")
7395 ;; No "or later" language found.
a18f8eaf 7396 (license license:gpl3+)))
9987c57c 7397
d935e6a1 7398(define-public faba-icon-theme
9987c57c 7399 (package
d935e6a1 7400 (name "faba-icon-theme")
2eee7ee3 7401 (version "4.3")
d935e6a1
BT
7402 (source
7403 (origin
757e4027
TGR
7404 (method git-fetch)
7405 (uri (git-reference
7406 (url "https://github.com/snwh/faba-icon-theme.git")
7407 (commit (string-append "v" version))))
7408 (file-name (git-file-name name version))
d935e6a1 7409 (sha256
757e4027 7410 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
f6a9b345 7411 (build-system meson-build-system)
9987c57c 7412 (arguments
82da291a 7413 `(#:phases
9987c57c 7414 (modify-phases %standard-phases
82da291a 7415 (add-before 'configure 'disable-post-install
9987c57c 7416 (lambda _
82da291a
JL
7417 (substitute* "meson.build"
7418 (("meson.add_install_script.*") "")))))))
9987c57c
DT
7419 (native-inputs
7420 `(("autoconf" ,autoconf)
7421 ("automake" ,automake)))
d935e6a1
BT
7422 (synopsis "Faba icon theme")
7423 (description
7424 "Faba is a minimal icon set used as a basis for other themes such as
7425Moka")
7426 (home-page "https://snwh.org/moka")
7427 (license (list license:lgpl3+
7428 license:cc-by-sa4.0))))
7429
9987c57c
DT
7430(define-public moka-icon-theme
7431 (package
8b0e4177 7432 (inherit faba-icon-theme)
9987c57c 7433 (name "moka-icon-theme")
105a3625 7434 (version "5.4.0")
8c3f2170
TGR
7435 (source
7436 (origin
7437 (method git-fetch)
7438 (uri (git-reference
7439 (url "https://github.com/snwh/moka-icon-theme.git")
7440 (commit (string-append "v" version))))
7441 (file-name (git-file-name name version))
7442 (sha256
7443 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
550281fb
BT
7444 (propagated-inputs
7445 ;; Moka is based on Faba by using it as a fallback icon set instead of
7446 ;; bundling it, so we need to add it as a propagated input.
7447 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
7448 (synopsis "Moka icon theme")
7449 (description "Moka is a stylized desktop icon set, designed to be clear,
7450simple and consistent.")
fedde43b
BT
7451 (license (list license:gpl3+
7452 license:cc-by-sa4.0))))
6fd8f8d6
DT
7453
7454(define-public arc-icon-theme
7455 (package
7456 (name "arc-icon-theme")
c4180240 7457 (version "20161122")
bbf66cbf
TGR
7458 (source
7459 (origin
7460 (method git-fetch)
7461 (uri (git-reference
7462 (url "https://github.com/horst3180/arc-icon-theme.git")
7463 (commit version)))
7464 (file-name (git-file-name name version))
7465 (sha256
7466 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
6fd8f8d6 7467 (build-system gnu-build-system)
9e1ede95
JL
7468 (arguments
7469 `(#:phases
7470 (modify-phases %standard-phases
7471 (add-after 'unpack 'disable-configure-during-bootstrap
7472 (lambda _
7473 (substitute* "autogen.sh"
7474 (("^\"\\$srcdir/configure\".*") ""))
7475 #t)))))
6fd8f8d6
DT
7476 (native-inputs
7477 `(("autoconf" ,autoconf)
7478 ("automake" ,automake)))
7479 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7480 (propagated-inputs
7481 `(("moka-icon-theme" ,moka-icon-theme)))
7482 (synopsis "Arc icon theme")
7483 (description "The Arc icon theme provides a set of icons matching the
7484style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7485the Moka icon theme.")
7486 (home-page "https://github.com/horst3180/arc-icon-theme")
7487 (license license:gpl3+)))
6064a4e8
LF
7488
7489(define-public folks
7490 (package
7491 (name "folks")
d23495fa 7492 (version "0.11.4")
6064a4e8
LF
7493 (source (origin
7494 (method url-fetch)
7495 (uri (string-append
e5f4796e 7496 "mirror://gnome/sources/folks/"
6064a4e8 7497 (version-major+minor version) "/"
e5f4796e 7498 "folks-" version ".tar.xz"))
6064a4e8
LF
7499 (sha256
7500 (base32
d23495fa 7501 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
7502 (build-system glib-or-gtk-build-system)
7503 (inputs
7504 `(("bdb" ,bdb)
7505 ("dbus-glib" ,dbus-glib)
7506 ("evolution-data-server" ,evolution-data-server)
7507 ("glib" ,glib)
7508 ("libgee" ,libgee)
7509 ("telepathy-glib" ,telepathy-glib)))
7510 (native-inputs
7511 `(("gobject-introspection" ,gobject-introspection)
7512 ("intltool" ,intltool)
7513 ("pkg-config" ,pkg-config)
7514 ("vala" ,vala)))
7515 (synopsis "Library to aggregate data about people")
7516 (description "Libfolks is a library that aggregates information about people
7517from multiple sources (e.g., Telepathy connection managers for IM contacts,
7518Evolution Data Server for local contacts, libsocialweb for web service contacts,
7519etc.) to create metacontacts. It's written in Vala, which generates C code when
7520compiled.")
7521 (home-page "https://wiki.gnome.org/Projects/Folks")
7522 (license license:lgpl2.1+)))
01ea778f
LF
7523
7524(define-public gfbgraph
7525 (package
7526 (name "gfbgraph")
7527 (version "0.2.3")
7528 (source (origin
7529 (method url-fetch)
7530 (uri (string-append
237d4cf7 7531 "mirror://gnome/sources/gfbgraph/"
01ea778f 7532 (version-major+minor version) "/"
237d4cf7 7533 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
7534 (sha256
7535 (base32
7536 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7537 (build-system glib-or-gtk-build-system)
7538 (arguments
7539 `(#:tests? #f ; Tests appear to require the network.
7540 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7541 #:configure-flags '("--disable-gtk-doc"
7542 "--disable-static"
7543 "--enable-introspection")))
7544 (native-inputs
7545 `(("pkg-config" ,pkg-config)
7546 ("gobject-introspection" ,gobject-introspection)))
7547 (inputs
7548 `(("json-glib" ,json-glib)
14c297fd 7549 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
7550 ("rest" ,rest)))
7551 (synopsis "GLib/GObject wrapper for the Facebook API")
7552 (description "This library allows you to use the Facebook API from
7553GLib/GObject code.")
7554 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7555 (license license:lgpl2.1+)))
3920868c 7556
7557(define-public libgnomekbd
7558 (package
7559 (name "libgnomekbd")
70f2b0f9 7560 (version "3.26.1")
3920868c 7561 (source (origin
7562 (method url-fetch)
d47fa82d 7563 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 7564 (version-major+minor version) "/"
d47fa82d 7565 "libgnomekbd-" version ".tar.xz"))
3920868c 7566 (sha256
7567 (base32
70f2b0f9 7568 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 7569 (build-system gnu-build-system)
7570 (native-inputs
7571 `(("pkg-config" ,pkg-config)
7572 ("glib" ,glib "bin")
7573 ("intltool" ,intltool)))
7574 (propagated-inputs
7575 ;; Referred to in .h files and .pc.
7576 `(("glib" ,glib)
7577 ("gtk+" ,gtk+)
7578 ("libxklavier" ,libxklavier)))
7579 (home-page "https://www.gnome.org")
7580 (synopsis "GNOME keyboard configuration library")
7581 (description
7582 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7583environment, which can notably display keyboard layouts.")
7584 (license license:lgpl2.0+)))
85327d0d 7585
7586;;; This package is no longer maintained:
7587;;; https://wiki.gnome.org/Attic/LibUnique
7588;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7589;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7590(define-public libunique
7591 (package
7592 (name "libunique")
7593 (version "3.0.2")
7594 (source (origin
7595 (method url-fetch)
7596 (uri (string-append "mirror://gnome/sources/" name "/"
7597 (version-major+minor version) "/"
7598 name "-" version ".tar.xz"))
7599 (sha256
7600 (base32
7601 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7602 (build-system glib-or-gtk-build-system)
7603 (arguments
7604 `(#:configure-flags '("--disable-static"
7605 "--disable-dbus" ; use gdbus
7606 "--enable-introspection")))
7607 (native-inputs
7608 `(("pkg-config" ,pkg-config)
7609 ("gobject-introspection" ,gobject-introspection)
7610 ("glib:bin" ,glib "bin")
7611 ("gtk-doc" ,gtk-doc)))
7612 (propagated-inputs
7613 ;; Referred to in .h files and .pc.
7614 `(("gtk+" ,gtk+)))
7615 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7616 (synopsis "Library for writing single instance applications")
7617 (description
7618 "Libunique is a library for writing single instance applications. If you
7619launch a single instance application twice, the second instance will either just
7620quit or will send a message to the running instance. Libunique makes it easy to
7621write this kind of application, by providing a base class, taking care of all
7622the IPC machinery needed to send messages to a running instance, and also
7623handling the startup notification side.")
7624 (license license:lgpl2.1+)))
54021cd8
RS
7625
7626(define-public gnome-calculator
7627 (package
7628 (name "gnome-calculator")
07ace641 7629 (version "3.32.2")
54021cd8
RS
7630 (source
7631 (origin
7632 (method url-fetch)
7633 (uri (string-append "mirror://gnome/sources/" name "/"
7634 (version-major+minor version) "/"
7635 name "-" version ".tar.xz"))
7636 (sha256
7637 (base32
07ace641 7638 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
7639 (build-system meson-build-system)
7640 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
7641 (native-inputs
7642 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 7643 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
7644 ("intltool" ,intltool)
7645 ("itstool" ,itstool)
2d475910 7646 ("vala" ,vala)
54021cd8
RS
7647 ("pkg-config" ,pkg-config)))
7648 (inputs
112e9083 7649 `(("glib" ,glib)
07ace641 7650 ("gtksourceview" ,gtksourceview)
54021cd8 7651 ("libsoup" ,libsoup)
112e9083 7652 ("libxml2" ,libxml2)
2c2da7ec 7653 ("mpc" ,mpc)
54021cd8
RS
7654 ("mpfr" ,mpfr)))
7655 (home-page "https://wiki.gnome.org/Apps/Calculator")
7656 (synopsis "Desktop calculator")
7657 (description
7658 "Calculator is an application that solves mathematical equations and
7659is suitable as a default application in a Desktop environment.")
7660 (license license:gpl3)))
0bd69759
RS
7661
7662(define-public xpad
7663 (package
7664 (name "xpad")
c85626bb 7665 (version "5.1.0")
0bd69759
RS
7666 (source
7667 (origin
7668 (method url-fetch)
08fda9c6
R
7669 (uri (string-append "https://launchpad.net/xpad/trunk/"
7670 version "/+download/"
0bd69759
RS
7671 name "-" version ".tar.bz2"))
7672 (sha256
7673 (base32
c85626bb 7674 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
7675 (build-system gnu-build-system)
7676 (native-inputs
08fda9c6
R
7677 `(("autoconf" ,autoconf)
7678 ("automake" ,automake)
7679 ("gtk+:bin" ,gtk+ "bin")
7680 ("intltool" ,intltool)
0bd69759
RS
7681 ("pkg-config" ,pkg-config)))
7682 (inputs
c72647fb 7683 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
7684 ("libsm" ,libsm)))
7685 (home-page "https://wiki.gnome.org/Apps/Xpad")
7686 (synopsis "Virtual sticky note")
7687 (description
7688 "Xpad is a sticky note that strives to be simple, fault tolerant,
7689and customizable. Xpad consists of independent pad windows, each is
7690basically a text box in which notes can be written.")
7691 (license license:gpl3+)))
3ad7dce1
RS
7692
7693(define-public gucharmap
c60063ea
RW
7694 (let ((unicode-files
7695 '(("Blocks.txt"
1f8b5515 7696 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 7697 ("DerivedAge.txt"
1f8b5515 7698 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 7699 ("NamesList.txt"
1f8b5515 7700 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 7701 ("Scripts.txt"
1f8b5515 7702 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 7703 ("UnicodeData.txt"
1f8b5515 7704 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 7705 ("Unihan.zip"
1f8b5515 7706 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
7707 (package
7708 (name "gucharmap")
1f8b5515 7709 (version "12.0.1")
c60063ea
RW
7710 (source
7711 (origin
7712 (method url-fetch)
7713 (uri (string-append "mirror://gnome/sources/" name "/"
7714 (version-major+minor version) "/"
7715 name "-" version ".tar.xz"))
7716 (sha256
7717 (base32
1f8b5515 7718 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
7719 (build-system glib-or-gtk-build-system)
7720 (arguments
7721 `(#:modules ((ice-9 match)
7722 (guix build glib-or-gtk-build-system)
7723 (guix build utils))
7724 #:configure-flags
7725 (list "--with-unicode-data=../unicode-data")
7726 #:phases
7727 (modify-phases %standard-phases
7728 (add-after 'unpack 'prepare-unicode-data
7729 (lambda* (#:key inputs #:allow-other-keys)
7730 (mkdir-p "../unicode-data")
7731 (with-directory-excursion "../unicode-data"
7732 (for-each (match-lambda
7733 ((file _)
7734 (install-file (assoc-ref inputs file) ".")))
7735 ',unicode-files))
7736 #t)))))
7737 (native-inputs
7738 `(("desktop-file-utils" ,desktop-file-utils)
7739 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7740 ("gobject-introspection" ,gobject-introspection)
7741 ("intltool" ,intltool)
7742 ("itstool" ,itstool)
7743 ("pkg-config" ,pkg-config)
7744 ,@(map (match-lambda
7745 ((file hash)
7746 `(,file
7747 ,(origin
7748 (method url-fetch)
7749 (uri (string-append
1f8b5515 7750 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
7751 file))
7752 (sha256 (base32 hash))))))
7753 unicode-files)
7754 ("unzip" ,unzip)))
7755 (inputs
7756 `(("gtk+" ,gtk+)
7757 ("xmllint" ,libxml2)))
7758 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7759 (synopsis "Unicode character picker and font browser")
7760 (description
7761 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
7762characters and categories for the installed fonts, and to examine their
7763detailed properties. It is an easy way to find the character you might
7764only know by its Unicode name or code point.")
c60063ea 7765 (license license:gpl3+))))
04ce840a
RS
7766
7767(define-public bluefish
7768 (package
7769 (name "bluefish")
ea8afaf3 7770 (version "2.2.10")
04ce840a
RS
7771 (source
7772 (origin
7773 (method url-fetch)
7774 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7775 name "-" version ".tar.gz"))
7776 (sha256
7777 (base32
ea8afaf3 7778 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
7779 (build-system gnu-build-system)
7780 (native-inputs
7781 `(("desktop-file-utils" ,desktop-file-utils)
7782 ("intltool" ,intltool)
7783 ("pkg-config" ,pkg-config)))
7784 (inputs
7785 `(("enchant" ,enchant)
7786 ("gtk+" ,gtk+)
7787 ("python" ,python-2)
7788 ("xmllint" ,libxml2)
7789 ("gucharmap" ,gucharmap)))
7790 (home-page "http://bluefish.openoffice.nl")
7791 (synopsis "Web development studio")
7792 (description
7793 "Bluefish is an editor targeted towards programmers and web developers,
7794with many options to write web sites, scripts and other code.
7795Bluefish supports many programming and markup languages.")
7796 (license license:gpl3+)))
1f6a73ee
RS
7797
7798(define-public gnome-system-monitor
7799 (package
7800 (name "gnome-system-monitor")
85fb3df3 7801 (version "3.30.0")
1f6a73ee
RS
7802 (source
7803 (origin
7804 (method url-fetch)
7805 (uri (string-append "mirror://gnome/sources/" name "/"
7806 (version-major+minor version) "/"
7807 name "-" version ".tar.xz"))
7808 (sha256
7809 (base32
85fb3df3
RW
7810 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7811 (build-system meson-build-system)
7812 (arguments
7813 '(#:glib-or-gtk? #t
7814 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
7815 (native-inputs
7816 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 7817 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
7818 ("intltool" ,intltool)
7819 ("itstool" ,itstool)
7820 ("libgtop" ,libgtop)
4985d9aa 7821 ("polkit" ,polkit)
1f6a73ee
RS
7822 ("pkg-config" ,pkg-config)))
7823 (inputs
7824 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7825 ("gtk+" ,gtk+)
7826 ("gtkmm" ,gtkmm)
7827 ("librsvg" ,librsvg)
4985d9aa
RW
7828 ("libxml2" ,libxml2)
7829 ("libwnck" ,libwnck)))
1f6a73ee
RS
7830 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7831 (synopsis "Process viewer and system resource monitor for GNOME")
7832 (description
7833 "GNOME System Monitor is a GNOME process viewer and system monitor with
7834an attractive, easy-to-use interface. It has features, such as a tree view
7835for process dependencies, icons for processes, the ability to hide processes,
7836graphical time histories of CPU/memory/swap usage and the ability to
7837kill/reinice processes.")
7838 (license license:gpl2+)))
3e00ac47
SB
7839
7840(define-public python-pyatspi
7841 (package
7842 (name "python-pyatspi")
84548bd7 7843 (version "2.26.0")
3e00ac47
SB
7844 (source (origin
7845 (method url-fetch)
7846 (uri (string-append
7847 "mirror://gnome/sources/pyatspi/"
7848 (version-major+minor version)
7849 "/pyatspi-" version ".tar.xz"))
7850 (sha256
7851 (base32
b95af3f6
JL
7852 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7853 ;; Patch from upstream, fixed in newer versions.
7854 (patches (search-patches "python-pyatspi-python-37.patch"))))
3e00ac47 7855 (build-system gnu-build-system)
b95af3f6
JL
7856 (arguments
7857 `(#:phases
7858 (modify-phases %standard-phases
7859 (add-before 'build 'fix-atk-load
7860 (lambda _
7861 (substitute* "pyatspi/__init__.py"
7862 (("from gi.repository import Atspi")
7863 "gi.require_version('Gtk', '3.0')
7864from gi.repository import Gtk
7865from gi.repository import Atspi"))
7866 #t)))))
3e00ac47
SB
7867 (native-inputs
7868 `(("pkg-config" ,pkg-config)))
7869 (inputs
7870 `(("python" ,python)
7871 ("python-pygobject" ,python-pygobject)))
7872 (synopsis "Python client bindings for D-Bus AT-SPI")
7873 (home-page "https://wiki.linuxfoundation.org/accessibility\
7874/atk/at-spi/at-spi_on_d-bus")
7875 (description
7876 "This package includes a python client library for the AT-SPI D-Bus
7877accessibility infrastructure.")
7878 (license license:lgpl2.0)
7879 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
7880
7881(define-public orca
7882 (package
7883 (name "orca")
ef9b7d4c 7884 (version "3.30.2")
53201c0d
SB
7885 (source (origin
7886 (method url-fetch)
7887 (uri (string-append
7888 "mirror://gnome/sources/" name "/"
7889 (version-major+minor version) "/"
7890 name "-" version ".tar.xz"))
7891 (sha256
7892 (base32
ef9b7d4c 7893 "17asibc46i5gr2fw04jvvdi85zzmxwlnhyq7r6cr3m5prrdr8a53"))))
53201c0d
SB
7894 (build-system glib-or-gtk-build-system)
7895 (arguments
7896 '(#:phases
7897 (modify-phases %standard-phases
7898 (add-before 'configure 'qualify-xkbcomp
7899 (lambda* (#:key inputs #:allow-other-keys)
7900 (let ((xkbcomp (string-append
7901 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7902 (substitute* "src/orca/orca.py"
7903 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7904 #t))
7905 (add-after 'install 'wrap-orca
7906 (lambda* (#:key outputs #:allow-other-keys)
7907 (let* ((out (assoc-ref outputs "out"))
7908 (prog (string-append out "/bin/orca")))
7909 (wrap-program prog
7910 `("GI_TYPELIB_PATH" ":" prefix
7911 (,(getenv "GI_TYPELIB_PATH")))
7912 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7913 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7914 `("PYTHONPATH" ":" prefix
7915 (,(getenv "PYTHONPATH")))))
7916 #t)))))
7917 (native-inputs
7918 `(("intltool" ,intltool)
7919 ("itstool" ,itstool)
7920 ("pkg-config" ,pkg-config)
7921 ("xmllint" ,libxml2)))
7922 (inputs
7923 `(("at-spi2-atk" ,at-spi2-atk)
7924 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7925 ("gstreamer" ,gstreamer)
7926 ("gst-plugins-base" ,gst-plugins-base)
7927 ("gst-plugins-good" ,gst-plugins-good)
7928 ("gtk+" ,gtk+)
7929 ("python" ,python)
7930 ("python-pygobject" ,python-pygobject)
7931 ("python-pyatspi" ,python-pyatspi)
7932 ("python-speechd" ,speech-dispatcher)
7933 ("xkbcomp" ,xkbcomp)))
7934 (synopsis
7935 "Screen reader for individuals who are blind or visually impaired")
7936 (home-page "https://wiki.gnome.org/Projects/Orca")
7937 (description
7938 "Orca is a screen reader that provides access to the graphical desktop
7939via speech and refreshable braille. Orca works with applications and toolkits
7940that support the Assistive Technology Service Provider Interface (AT-SPI).")
7941 (license license:lgpl2.1+)))
411ba511
LC
7942
7943(define-public gspell
7944 (package
7945 (name "gspell")
7a6bbe9b 7946 (version "1.8.2")
411ba511
LC
7947 (source (origin
7948 (method url-fetch)
7949 (uri (string-append "mirror://gnome/sources/" name "/"
7950 (version-major+minor version) "/"
7951 name "-" version ".tar.xz"))
7952 (sha256
7953 (base32
7a6bbe9b 7954 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
411ba511
LC
7955 (patches (search-patches "gspell-dash-test.patch"))))
7956 (build-system glib-or-gtk-build-system)
7957 (arguments
7958 '(#:phases
7959 (modify-phases %standard-phases
7960 (add-before 'check 'pre-check
7961 (lambda* (#:key inputs #:allow-other-keys)
7962 ;; Tests require a running X server.
7963 (system "Xvfb :1 &")
7964 (setenv "DISPLAY" ":1")
7965
7966 ;; For the missing /etc/machine-id.
7967 (setenv "DBUS_FATAL_WARNINGS" "0")
7968
7969 ;; Allow Enchant and its Aspell backend to find the en_US
7970 ;; dictionary.
7971 (setenv "ASPELL_DICT_DIR"
7972 (string-append (assoc-ref inputs "aspell-dict-en")
7973 "/lib/aspell"))
7974 #t)))))
7975 (inputs
eccd35be 7976 `(("gtk+" ,gtk+)
a801ae4c
TGR
7977 ("glib" ,glib)
7978 ("iso-codes" ,iso-codes)))
411ba511
LC
7979 (native-inputs
7980 `(("glib" ,glib "bin")
7981 ("pkg-config" ,pkg-config)
7982 ("xmllint" ,libxml2)
7983
7984 ;; For tests.
a801ae4c 7985 ("aspell-dict-en" ,aspell-dict-en)
ff337525 7986 ("xorg-server" ,xorg-server-for-tests)))
eccd35be 7987 (propagated-inputs
9b1bb757 7988 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
7989 (home-page "https://wiki.gnome.org/Projects/gspell")
7990 (synopsis "GNOME's alternative spell checker")
7991 (description
7992 "gspell provides a flexible API to add spell-checking to a GTK+
7993application. It provides a GObject API, spell-checking to text entries and
7994text views, and buttons to choose the language.")
7995 (license license:gpl2+)))
d1d739fa
CM
7996
7997(define-public gnome-planner
7998 (package
7999 (name "gnome-planner")
8000 (version "0.14.6")
8001 (source (origin
8002 (method url-fetch)
8003 (uri (string-append "mirror://gnome/sources/planner/"
8004 (version-major+minor version) "/planner-"
8005 version ".tar.xz"))
8006 (sha256
8007 (base32
8008 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8009 (build-system glib-or-gtk-build-system)
8010 (arguments
8011 ;; Disable the Python bindings because the Planner program functions
8012 ;; without them, and (as of 2017-06-13) we have not packaged all of
8013 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
8014 `(#:configure-flags
8015 (list "--disable-python"
8016 ,@(if (string=? "aarch64-linux" (%current-system))
8017 '("--build=aarch64-unknown-linux-gnu")
8018 '()))))
d1d739fa
CM
8019 (inputs
8020 `(("libgnomecanvas" ,libgnomecanvas)
8021 ("libgnomeui" ,libgnomeui)
8022 ("libglade" ,libglade)
8023 ("gnome-vfs" ,gnome-vfs)
8024 ("gconf" ,gconf)
8025 ("libxml2" ,libxml2)
8026 ("libxslt" ,libxslt)
8027 ("gtk+" ,gtk+)
8028 ("glib" ,glib)))
8029 (native-inputs
8030 `(("intltool" ,intltool)
8031 ("scrollkeeper" ,scrollkeeper)
8032 ("pkg-config" ,pkg-config)))
8033 (home-page "https://wiki.gnome.org/Apps/Planner")
8034 (synopsis "Project management software for the GNOME desktop")
8035 (description
8036 "GNOME Planner is a project management tool based on the Work Breakdown
8037Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8038the resources, tasks, and constraints that you define, Planner generates
8039various views into a project. For example, Planner can show a Gantt chart of
8040the project. It can show a detailed summary of tasks including their
8041duration, cost, and current progress. It can also show a report of resource
8042utilization that highlights under-utilized and over-utilized resources. These
8043views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 8044 (license license:gpl2+)))
64fce637
RS
8045
8046(define-public lollypop
8047 (package
8048 (name "lollypop")
ca32627a 8049 (version "1.2.7")
64fce637
RS
8050 (source
8051 (origin
8052 (method url-fetch)
b98eace8 8053 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
ca32627a 8054 "08f973788c7ca46d9285eec2ac818edb/"
3275d43d 8055 "lollypop-" version ".tar.xz"))
64fce637 8056 (sha256
ca32627a 8057 (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j"))))
aa498fc0 8058 (build-system meson-build-system)
64fce637
RS
8059 (arguments
8060 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
8061 ,@%meson-build-system-modules)
8062 #:glib-or-gtk? #t
5fc9b6c1
EF
8063 #:tests? #f ; no test suite
8064 #:phases
8065 (modify-phases %standard-phases
5fc9b6c1
EF
8066 (add-after 'install 'wrap-program
8067 (lambda* (#:key outputs #:allow-other-keys)
8068 (let ((out (assoc-ref outputs "out"))
8069 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8070 (wrap-program (string-append out "/bin/lollypop")
8071 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8072 #t))
8ac8b3b3
TGR
8073 (add-after 'install 'wrap-python
8074 (@@ (guix build python-build-system) wrap))
8075 (add-after 'install 'wrap-glib-or-gtk
8076 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
64fce637
RS
8077 (native-inputs
8078 `(("intltool" ,intltool)
8079 ("itstool" ,itstool)
aa498fc0
TD
8080 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8081 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
8082 ("pkg-config" ,pkg-config)))
8083 (inputs
8084 `(("gobject-introspection" ,gobject-introspection)
8ac8b3b3 8085 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5fc9b6c1 8086 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
8087 ("libnotify" ,libnotify)
8088 ("libsecret" ,libsecret)
8089 ("libsoup" ,libsoup)
8090 ("python" ,python)
8091 ("python-beautifulsoup4" ,python-beautifulsoup4)
8092 ("python-gst" ,python-gst)
d029afdd 8093 ("python-pil" ,python-pillow)
64fce637 8094 ("python-pycairo" ,python-pycairo)
7460f346 8095 ("python-pygobject" ,python-pygobject-3.34)
64fce637
RS
8096 ("python-pylast" ,python-pylast)
8097 ("totem-pl-parser" ,totem-pl-parser)
8098 ("webkitgtk" ,webkitgtk)))
8099 (propagated-inputs
8100 `(;; gst-plugins-base is required to start Lollypop,
8101 ;; the others are required to play streaming.
64fce637
RS
8102 ("gst-plugins-good" ,gst-plugins-good)
8103 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 8104 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
8105 (synopsis "GNOME music playing application")
8106 (description
8107 "Lollypop is a music player designed to play well with GNOME desktop.
8108Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
8109from artists and tracks from the web. It also fetches cover artworks
8110automatically and it can stream songs from online music services and charts.")
8111 (license license:gpl3+)))
d831d49d
AW
8112
8113(define-public gnome-video-effects
8114 (package
8115 (name "gnome-video-effects")
8116 (version "0.4.3")
8117 (source (origin
8118 (method url-fetch)
8119 (uri (string-append "mirror://gnome/sources/" name "/"
8120 (version-major+minor version) "/" name "-"
8121 version ".tar.xz"))
8122 (sha256
8123 (base32
8124 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
8125 (build-system glib-or-gtk-build-system)
8126 (arguments
8127 `(#:out-of-source? #f))
8128 (native-inputs
8129 `(("glib:bin" ,glib "bin")
8130 ("intltool" ,intltool)
8131 ("gettext" ,gettext-minimal)
8132 ("pkg-config" ,pkg-config)))
8133 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
8134 (synopsis "Video effects for Cheese and other GNOME applications")
8135 (description
8136 "A collection of GStreamer video filters and effects to be used in
8137photo-booth-like software, such as Cheese.")
8138 (license license:gpl2+)))
3511c780
AW
8139
8140(define-public cheese
8141 (package
8142 (name "cheese")
00b14dbb 8143 (version "3.30.0")
3511c780
AW
8144 (source (origin
8145 (method url-fetch)
8146 (uri (string-append "mirror://gnome/sources/" name "/"
8147 (version-major+minor version) "/" name "-"
8148 version ".tar.xz"))
8149 (sha256
8150 (base32
00b14dbb 8151 "0zz2bgjaf2lsmfs3zn24925vbjb0rycr39i288brlbzixrpcyljr"))))
3511c780
AW
8152 (arguments
8153 ;; Tests require GDK.
8154 `(#:tests? #f
8155 #:phases
8156 (modify-phases %standard-phases
8157 (add-before 'install 'skip-gtk-update-icon-cache
8158 (lambda _
8159 ;; Don't create 'icon-theme.cache'
8160 (substitute* "Makefile"
8161 (("gtk-update-icon-cache") (which "true")))
8162 #t))
8163 (add-after 'install 'wrap-cheese
8164 (lambda* (#:key inputs outputs #:allow-other-keys)
8165 (let ((out (assoc-ref outputs "out"))
8166 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8167 (wrap-program (string-append out "/bin/cheese")
8168 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8169 #t)))))
8170 (build-system glib-or-gtk-build-system)
8171 (native-inputs
8172 `(("glib:bin" ,glib "bin")
8173 ("intltool" ,intltool)
8174 ("itstool" ,itstool)
8175 ("libxml2" ,libxml2)
8176 ("pkg-config" ,pkg-config)
8177 ("vala" ,vala)))
8178 (propagated-inputs
6a19f03e
RW
8179 `(("gnome-video-effects" ,gnome-video-effects)
8180 ("clutter" ,clutter)
3511c780
AW
8181 ("clutter-gst" ,clutter-gst)
8182 ("clutter-gtk" ,clutter-gtk)
6a19f03e 8183 ("libcanberra" ,libcanberra)
3511c780
AW
8184 ("gdk-pixbuf" ,gdk-pixbuf)
8185 ("glib" ,glib)
6a19f03e
RW
8186 ("gstreamer" ,gstreamer)))
8187 (inputs
8188 `(("gnome-desktop" ,gnome-desktop)
3511c780 8189 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
8190 ("gst-plugins-base" ,gst-plugins-base)
8191 ("gst-plugins-bad" ,gst-plugins-bad)
8192 ("gtk+" ,gtk+)
3511c780
AW
8193 ("libx11" ,libx11)
8194 ("libxtst" ,libxtst)))
8195 (home-page "https://wiki.gnome.org/Apps/Cheese")
8196 (synopsis "Webcam photo booth software for GNOME")
8197 (description
8198 "Cheese uses your webcam to take photos and videos. Cheese can also
8199apply fancy special effects and lets you share the fun with others.")
8200 (license license:gpl2+)))
3c5dbd2b 8201
8202(define-public sound-juicer
8203 (package
8204 (name "sound-juicer")
8205 (version "3.24.0")
8206 (source
8207 (origin
8208 (method url-fetch)
8209 (uri (string-append "mirror://gnome/sources/" name "/"
8210 (version-major+minor version) "/"
8211 name "-" version ".tar.xz"))
8212 (sha256
8213 (base32
8214 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
8215 (build-system glib-or-gtk-build-system)
8216 (native-inputs
8217 `(("desktop-file-utils" ,desktop-file-utils)
8218 ("intltool" ,intltool)
8219 ("itstool" ,itstool)
8220 ("pkg-config" ,pkg-config)
8221 ("xmllint" ,libxml2)))
8222 (inputs
8223 `(("gtk+" ,gtk+)
8224 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8225 ("gstreamer" ,gstreamer)
8226 ("gst-plugins-base" ,gst-plugins-base)
8227 ("gst-plugins-good" ,gst-plugins-good)
8228 ("iso-codes" ,iso-codes)
8229 ("libbrasero-media3" ,brasero)
8230 ("libcanberra" ,libcanberra)
8231 ("libdiscid" ,libdiscid)
8232 ("libmusicbrainz" ,libmusicbrainz)
8233 ("neon" ,neon)))
8234 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
8235 (synopsis "Audio music cd ripper")
8236 (description "Sound Juicer extracts audio from compact discs and convert it
8237into audio files that a personal computer or digital audio player can play.
8238It supports ripping to any audio codec supported by a GStreamer plugin, such as
8239mp3, Ogg Vorbis and FLAC")
8240 (license license:gpl2+)))
4e3fdeb7 8241
0d3f1708
CB
8242(define-public soundconverter
8243 (package
8244 (name "soundconverter")
fa75a213 8245 (version "3.0.1")
0d3f1708
CB
8246 (source
8247 (origin
8248 (method url-fetch)
8249 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
8250 version "/+download/"
8251 "soundconverter-" version ".tar.xz"))
8252
8253 (sha256
fa75a213 8254 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
8255 (patches
8256 (search-patches
8257 "soundconverter-remove-gconf-dependency.patch"))))
8258 (build-system glib-or-gtk-build-system)
8259 (arguments
8260 `(#:imported-modules ((guix build python-build-system)
8261 (guix build glib-or-gtk-build-system)
8262 ,@%gnu-build-system-modules)
8263
8264 #:modules ((guix build glib-or-gtk-build-system)
8265 (guix build utils)
8266 ((guix build gnu-build-system) #:prefix gnu:)
8267 ((guix build python-build-system) #:prefix python:))
8268
8269 #:phases
8270 (modify-phases %standard-phases
0d3f1708
CB
8271 (add-after 'install 'wrap-soundconverter-for-python
8272 (assoc-ref python:%standard-phases 'wrap))
8273 (add-after 'install 'wrap-soundconverter
8274 (lambda* (#:key inputs outputs #:allow-other-keys)
8275 (let ((out (assoc-ref outputs "out"))
8276 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8277 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8278 (wrap-program (string-append out "/bin/soundconverter")
8279 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8280 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8281 #t)))))
8282 (native-inputs
8283 `(("intltool" ,intltool)
8284 ("pkg-config" ,pkg-config)
8285 ("glib:bin" ,glib "bin")))
8286 (inputs
8287 `(("gtk+" ,gtk+)
8288 ("python" ,python)
8289 ("python-pygobject" ,python-pygobject)
8290 ("gstreamer" ,gstreamer)
8291 ("gst-plugins-base" ,gst-plugins-base)))
8292 (home-page "http://soundconverter.org/")
8293 (synopsis "Convert between audio formats with a graphical interface")
8294 (description
8295 "SoundConverter supports converting between many audio formats including
8296Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
8297configurable file renaming. ")
8298 (license license:gpl3)))
8299
4e3fdeb7 8300(define-public workrave
89f2d736
TGR
8301 (package
8302 (name "workrave")
aa51d92c 8303 (version "1.10.34")
89f2d736
TGR
8304 (source
8305 (origin
8306 (method git-fetch)
8307 (uri (git-reference
8308 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
8309 (commit (string-append "v" (string-map
8310 (match-lambda (#\. #\_) (chr chr))
8311 version)))))
89f2d736
TGR
8312 (file-name (git-file-name name version))
8313 (sha256
aa51d92c 8314 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 8315 (build-system glib-or-gtk-build-system)
d1c96847
MC
8316 (inputs `(("glib" ,glib)
8317 ("gtk+" ,gtk+)
8318 ("gdk-pixbuf" ,gdk-pixbuf)
8319 ("gtkmm" ,gtkmm)
8320 ("glibmm" ,glibmm)
8321 ("libx11" ,libx11)
8322 ("libxtst" ,libxtst)
8323 ("dconf" ,dconf)
8324 ("libice" ,libice)
8325 ("libsm" ,libsm)
8326 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 8327 (native-inputs `(("boost" ,boost)
89f2d736
TGR
8328 ("pkg-config" ,pkg-config)
8329 ("gettext" ,gnu-gettext)
8330 ("autoconf" ,autoconf)
8331 ("autoconf-archive" , autoconf-archive)
8332 ("automake" ,automake)
8333 ("libtool" ,libtool)
8334 ("intltool" ,intltool)
89f2d736 8335 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
8336 ("python3" ,python-3)
8337 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
8338 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8339 (description
8340 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
8341repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8342micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
8343 (home-page "http://www.workrave.org")
8344 (license license:gpl3+)))
312afa7d
LC
8345
8346(define-public ghex
8347 (package
8348 (name "ghex")
8349 (version "3.18.3")
8350 (source (origin
8351 (method url-fetch)
2fbab848 8352 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 8353 (version-major+minor version) "/"
2fbab848 8354 "ghex-" version ".tar.xz"))
312afa7d
LC
8355 (sha256
8356 (base32
8357 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
8358 (build-system glib-or-gtk-build-system)
8359 (native-inputs
8360 `(("pkg-config" ,pkg-config)
8361 ("gnome-common" ,gnome-common)
8362 ("which" ,which)
8363 ("intltool" ,intltool)
8364 ("yelp-tools" ,yelp-tools)
2fbab848 8365 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
8366 (inputs
8367 `(("atk" ,atk)
8368 ("gtk" ,gtk+)))
8369 (synopsis "GNOME hexadecimal editor")
8370 (description "The GHex program can view and edit files in two ways:
8371hexadecimal or ASCII. It is useful for editing binary files in general.")
8372 (home-page "https://wiki.gnome.org/Apps/Ghex")
8373 (license license:gpl2)))
4b2ed6c2
RW
8374
8375(define-public libdazzle
8376 (package
8377 (name "libdazzle")
64fa66ba 8378 (version "3.33.90")
4b2ed6c2
RW
8379 (source (origin
8380 (method url-fetch)
687b4909 8381 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 8382 (version-major+minor version) "/"
687b4909 8383 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
8384 (sha256
8385 (base32
64fa66ba 8386 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
8387 (build-system meson-build-system)
8388 (arguments
8389 `(#:phases
8390 (modify-phases %standard-phases
4b2ed6c2
RW
8391 (add-before 'check 'pre-check
8392 (lambda _
8393 ;; Tests require a running X server.
8394 (system "Xvfb :1 &")
8395 (setenv "DISPLAY" ":1")
8396 #t)))))
8397 (native-inputs
687b4909 8398 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 8399 ("pkg-config" ,pkg-config)
687b4909 8400 ;; For tests.
ff337525 8401 ("xorg-server" ,xorg-server-for-tests)))
4b2ed6c2
RW
8402 (inputs
8403 `(("glib" ,glib)
8404 ("gobject-introspection" ,gobject-introspection)
8405 ("gtk+" ,gtk+)
8406 ("vala" ,vala)))
8407 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8408 (synopsis "Companion library to GObject and Gtk+")
8409 (description "The libdazzle library is a companion library to GObject and
8410Gtk+. It provides various features that the authors wish were in the
8411underlying library but cannot for various reasons. In most cases, they are
8412wildly out of scope for those libraries. In other cases, they are not quite
8413generic enough to work for everyone.")
8414 (license license:gpl3+)))
7d3bb433
RW
8415
8416(define-public evolution
8417 (package
8418 (name "evolution")
5229bea1 8419 (version "3.30.5")
7d3bb433
RW
8420 (source (origin
8421 (method url-fetch)
8422 (uri (string-append "mirror://gnome/sources/evolution/"
8423 (version-major+minor version) "/"
8424 "evolution-" version ".tar.xz"))
8425 (sha256
8426 (base32
5229bea1 8427 "1hhxj3rh921pp3l3c5k33bdypcas1p66krzs65k1qn82c5fpgl2h"))))
7d3bb433
RW
8428 (build-system cmake-build-system)
8429 (arguments
5229bea1
KK
8430 `(#:imported-modules (,@%cmake-build-system-modules
8431 (guix build glib-or-gtk-build-system))
8432 #:modules ((guix build cmake-build-system)
8433 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8434 (guix build utils))
8435 #:configure-flags
7d3bb433 8436 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 8437 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 8438 ; in four years and cannot be built.
5229bea1
KK
8439 #:phases
8440 (modify-phases %standard-phases
8441 ;; The build system attempts to install user interface modules to the
8442 ;; output directory of the "evolution-data-server" package. This
8443 ;; change redirects that change.
8444 (add-after 'unpack 'patch-ui-module-dir
8445 (lambda* (#:key outputs #:allow-other-keys)
8446 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
8447 (("\\$\\{edsuimoduledir\\}")
8448 (string-append (assoc-ref outputs "out")
8449 "/lib/evolution-data-server/ui-modules")))
8450 #t))
8451 (add-after 'install 'glib-or-gtk-compile-schemas
8452 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
8453 (add-after 'install 'glib-or-gtk-wrap
8454 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 8455 (native-inputs
ad6e168b 8456 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
8457 ("pkg-config" ,pkg-config)
8458 ("intltool" ,intltool)
8459 ("itstool" ,itstool)))
8460 (inputs
8461 `(("enchant" ,enchant)
8462 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8463 ("gcr" ,gcr)
ad6e168b 8464 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
8465 ("gnome-autoar" ,gnome-autoar)
8466 ("gnome-desktop" ,gnome-desktop)
8467 ("gtkspell3" ,gtkspell3)
8468 ("highlight" ,highlight)
8469 ("libcanberra" ,libcanberra)
b63c06f1 8470 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
8471 ("libgweather" ,libgweather)
8472 ("libnotify" ,libnotify)
8473 ("libsoup" ,libsoup)
8474 ("nss" ,nss)
8475 ("openldap" ,openldap)
8476 ("webkitgtk" ,webkitgtk)
8477 ("ytnef" ,ytnef)))
8478 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8479 (synopsis "Manage your email, contacts and schedule")
8480 (description "Evolution is a personal information management application
8481that provides integrated mail, calendaring and address book
8482functionality.")
8483 ;; See COPYING for details.
23dbe621 8484 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 8485 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 8486 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
8487
8488(define-public gthumb
8489 (package
8490 (name "gthumb")
8280676b 8491 (version "3.8.2")
169d63f5
AT
8492 (source (origin
8493 (method url-fetch)
8494 (uri (string-append "mirror://gnome/sources/gthumb/"
8495 (version-major+minor version) "/"
8496 "gthumb-" version ".tar.xz"))
8497 (sha256
8498 (base32
8280676b 8499 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
169d63f5
AT
8500 (build-system meson-build-system)
8501 (arguments
8502 `(#:glib-or-gtk? #t
8503 #:configure-flags
8504 ;; Ensure the RUNPATH contains all installed library locations.
8505 (list (string-append "-Dc_link_args=-Wl,-rpath="
8506 (assoc-ref %outputs "out")
8507 "/lib/gthumb/extensions")
8508 (string-append "-Dcpp_link_args=-Wl,-rpath="
8509 (assoc-ref %outputs "out")
8510 "/lib/gthumb/extensions"))))
8511 (native-inputs
8512 `(("pkg-config" ,pkg-config)
8513 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8514 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8515 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8516 ("intltool" ,intltool)
8517 ("itstool" ,itstool)))
8518 (inputs
8519 `(("exiv2" ,exiv2)
8520 ("gtk" ,gtk+)
8521 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8522 ("gstreamer" ,gstreamer)
8523 ("clutter" ,clutter)
8524 ("clutter-gst" ,clutter-gst)
8525 ("clutter-gtk" ,clutter-gtk)
8526 ("libjpeg" ,libjpeg)
8527 ("libtiff" ,libtiff)
8528 ("libraw" ,libraw)))
8529 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8530 (synopsis "GNOME image viewer and browser")
8531 (description "GThumb is an image viewer, browser, organizer, editor and
8532advanced image management tool")
8533 (license license:gpl2+)))
08be02be
AT
8534
8535(define-public terminator
8536 (package
8537 (name "terminator")
8538 (version "1.91")
8539 (source (origin
8540 (method url-fetch)
8541 (uri (string-append "https://launchpad.net/" name "/"
8542 "gtk3/" version "/" "+download/"
8543 name "-" version ".tar.gz"))
8544 (sha256
8545 (base32
8546 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8547 (build-system python-build-system)
8548 (native-inputs
8549 `(("intltool" ,intltool)
8550 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8551 ("gettext" ,gettext-minimal)
8552 ("pkg-config" ,pkg-config)))
8553 (inputs
8554 `(("cairo" ,cairo)
8555 ("gobject-introspection" ,gobject-introspection)
96681d4b 8556 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
8557 ("python2-pycairo" ,python2-pycairo)
8558 ("python2-pygobject" ,python2-pygobject)
8559 ("python2-psutil" ,python2-psutil)
8560 ("vte" ,vte)))
8561 (arguments
96681d4b
TGR
8562 `(#:python ,python-2 ; Python 3 isn't supported
8563 #:imported-modules ((guix build glib-or-gtk-build-system)
8564 ,@%python-build-system-modules)
8565 #:modules ((guix build python-build-system)
8566 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8567 (guix build utils))
08be02be
AT
8568 #:phases
8569 (modify-phases %standard-phases
8570 (add-after
8571 'install 'wrap-program
8572 (lambda* (#:key outputs #:allow-other-keys)
8573 (let ((prog (string-append (assoc-ref outputs "out")
8574 "/bin/terminator")))
8575 (wrap-program prog
8576 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8577 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
8578 #t)))
8579 (add-after 'wrap-program 'glib-or-gtk-wrap
8580 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
8581 (home-page "https://gnometerminator.blogspot.com/")
8582 (synopsis "Store and run multiple GNOME terminals in one window")
8583 (description
8584 "Terminator allows you to run multiple GNOME terminals in a grid and
8585+tabs, and it supports drag and drop re-ordering of terminals.")
8586 (license license:gpl2)))
213315d4
JF
8587
8588(define-public libhandy
8589 (package
8590 (name "libhandy")
d41ee146 8591 (version "0.0.11")
213315d4
JF
8592 (source
8593 (origin
8594 (method git-fetch)
8595 (uri (git-reference
8596 (url "https://source.puri.sm/Librem5/libhandy")
8597 (commit (string-append "v" version))))
8598 (file-name (git-file-name name version))
8599 (sha256
d41ee146 8600 (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0"))))
213315d4
JF
8601 (build-system meson-build-system)
8602 (arguments
8603 `(#:configure-flags
8604 '("-Dglade_catalog=disabled"
8605 "-Dgtk_doc=true")
8606 #:phases
8607 (modify-phases %standard-phases
213315d4
JF
8608 (add-before 'check 'pre-check
8609 (lambda _
8610 ;; Tests require a running X server.
8611 (system "Xvfb :1 &")
8612 (setenv "DISPLAY" ":1")
8613 #t)))))
8614 (inputs
8615 `(("gtk+" ,gtk+)))
8616 (native-inputs
8617 `(("glib:bin" ,glib "bin")
8618 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
8619 ("vala" ,vala)
8620 ("gtk-doc" ,gtk-doc)
8621 ("pkg-config" ,pkg-config)
8622 ("gettext" ,gettext-minimal)
d41ee146
TGR
8623
8624 ;; Test suite dependencies.
ff337525 8625 ("xorg-server" ,xorg-server-for-tests)
d41ee146 8626 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
8627 (home-page "https://source.puri.sm/Librem5/libhandy")
8628 (synopsis "Library full of GTK+ widgets for mobile phones")
8629 (description "The aim of the handy library is to help with developing user
8630intefaces for mobile devices using GTK+.")
8631 (license license:lgpl2.1+)))
a830d14d
GL
8632
8633(define-public libgit2-glib
8634 (package
8635 (name "libgit2-glib")
8636 (version "0.28.0.1")
8637 (source (origin
8638 (method url-fetch)
8639 (uri (string-append "mirror://gnome/sources/" name "/"
8640 (version-major+minor version) "/"
8641 name "-" version ".tar.xz"))
8642 (sha256
8643 (base32
8644 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
8645 (build-system meson-build-system)
8646 (native-inputs
8647 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
8648 ("gobject-introspection" ,gobject-introspection)
8649 ("intltool" ,intltool)
8650 ("libssh2" ,libssh2)
8651 ("pkg-config" ,pkg-config)
8652 ("python-pygobject" ,python-pygobject)
8653 ("python-wrapper" ,python-wrapper)
8654 ("vala" ,vala)))
8655 (inputs
8656 `(("glib" ,glib)
8657 ("libgit2" ,libgit2)))
8658 (synopsis "GLib wrapper around the libgit2 Git access library")
8659 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
8660access library. It only implements the core plumbing functions, not really the
8661higher level porcelain stuff.")
8662 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
8663 (license license:gpl2+)))
93beace0 8664
08db81c9
LP
8665(define-public gitg
8666 (package
8667 (name "gitg")
8668 (version "3.32.1")
8669 (source (origin
8670 (method url-fetch)
8671 (uri (string-append "mirror://gnome/sources/" name "/"
8672 (version-major+minor version) "/"
8673 name "-" version ".tar.xz"))
8674 (sha256
8675 (base32
8676 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
8677 (build-system meson-build-system)
8678 (arguments
8679 `(#:glib-or-gtk? #t
8680 #:phases
8681 (modify-phases %standard-phases
8682 (add-after 'unpack 'disable-post-install-partially
8683 (lambda _
8684 (substitute* "meson_post_install.py"
8685 (("'python'") ; there are no python sources to compile
8686 (string-append "'" (which "true") "'"))
8687 (("gtk-update-icon-cache") (which "true")))
8688 #t))
8689 (add-after 'unpack 'fix-test-sources
8690 (lambda _
8691 (substitute* "tests/libgitg/test-commit.vala"
8692 (("/bin/bash") (which "bash")))
8693 #t))
8694 (add-after 'glib-or-gtk-wrap 'wrap-typelib
8695 (lambda* (#:key outputs #:allow-other-keys)
8696 (let ((prog (string-append (assoc-ref outputs "out")
8697 "/bin/gitg")))
8698 (wrap-program prog
8699 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8700 #t))))))
8701 (inputs
8702 `(("glib" ,glib)
8703 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8704 ("gtk+" ,gtk+)
8705 ("gtkspell3" ,gtkspell3)
8706 ("gtksourceview" ,gtksourceview-3)
8707 ("json-glib" ,json-glib)
8708 ("libdazzle" ,libdazzle)
8709 ("libgee" ,libgee)
8710 ("libgit2" ,libgit2) ; propagated by libgit2-glib
8711 ("libgit2-glib" ,libgit2-glib)
8712 ("libpeas" ,libpeas)
8713 ("libsecret" ,libsecret)
8714 ("libsoup" ,libsoup)
8715 ("libxml2" ,libxml2)))
8716 (native-inputs
8717 `(("glib:bin" ,glib "bin")
8718 ("gtk+:bin" ,gtk+ "bin")
8719 ("gobject-introspection" ,gobject-introspection)
8720 ("intltool" ,intltool)
8721 ("pkg-config" ,pkg-config)
8722 ("vala" ,vala)))
8723 (synopsis "Graphical user interface for git")
8724 (description
8725 "gitg is a graphical user interface for git. It aims at being a small,
8726fast and convenient tool to visualize the history of git repositories.
8727Besides visualization, gitg also provides several utilities to manage your
8728repository and commit your work.")
8729 (home-page "https://wiki.gnome.org/Apps/Gitg")
8730 (license license:gpl2+)))
8731
93beace0
DW
8732(define-public gnome-mahjongg
8733 (package
8734 (name "gnome-mahjongg")
8735 (version "3.35.1")
8736 (source (origin
8737 (method git-fetch)
8738 (uri (git-reference
8739 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
8740 (commit version)))
8741 (file-name (git-file-name name version))
8742 (sha256
8743 (base32
8744 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
8745 (build-system meson-build-system)
8746 (arguments
8747 `(#:glib-or-gtk? #t))
8748 (native-inputs
8749 `(("appstream-glib" ,appstream-glib)
8750 ("gettext" ,gettext-minimal)
8751 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
8752 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
8753 ("itstool" ,itstool)
8754 ("pkg-config" ,pkg-config)
8755 ("vala" ,vala)))
8756 (propagated-inputs
8757 `(("dconf" ,dconf)))
8758 (inputs
8759 `(("glib" ,glib)
8760 ("gtk+" ,gtk+)
8761 ("librsvg" ,librsvg)))
8762 (synopsis "Mahjongg tile-matching game")
8763 (description "GNOME Mahjongg is a game based on the classic Chinese
8764tile-matching game Mahjong. It features multiple board layouts, tile themes,
8765and a high score table.")
8766 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
8767 (license license:gpl2+)))