gnu: gdm: Add links to required login-session files.
[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>
14e2f61a 11;;; Copyright © 2015, 2016, 2017, 2018 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>
4a78fd46 22;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
e5e1df4d 23;;; Copyright © 2016 David Craven <david@craven.ch>
0e588d2f 24;;; Copyright © 2016, 2017, 2018 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>
d935e6a1 30;;; Copyright © 2017 Brendan Tildesley <brendan.tildesley@openmailbox.org>
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>
995b7261
AE
36;;;
37;;; This file is part of GNU Guix.
38;;;
39;;; GNU Guix is free software; you can redistribute it and/or modify it
40;;; under the terms of the GNU General Public License as published by
41;;; the Free Software Foundation; either version 3 of the License, or (at
42;;; your option) any later version.
43;;;
44;;; GNU Guix is distributed in the hope that it will be useful, but
45;;; WITHOUT ANY WARRANTY; without even the implied warranty of
46;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47;;; GNU General Public License for more details.
48;;;
49;;; You should have received a copy of the GNU General Public License
50;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
51
52(define-module (gnu packages gnome)
ed19903d 53 #:use-module (gnu packages)
ba5dd105 54 #:use-module (gnu packages admin)
411ba511 55 #:use-module (gnu packages aspell)
75016d07 56 #:use-module (gnu packages autotools)
7b212526 57 #:use-module (gnu packages avahi)
b29909b4 58 #:use-module (gnu packages backup)
6a180f6f 59 #:use-module (gnu packages base)
5698b8b8 60 #:use-module (gnu packages bison)
5fc9b6c1 61 #:use-module (gnu packages build-tools)
df217748 62 #:use-module (gnu packages calendar)
b29909b4 63 #:use-module (gnu packages cdrom)
df12f04a 64 #:use-module (gnu packages check)
d61a894b 65 #:use-module (gnu packages cmake)
b29909b4 66 #:use-module (gnu packages compression)
23a22af6 67 #:use-module (gnu packages cups)
6e1bb642 68 #:use-module (gnu packages curl)
c3f29bc9 69 #:use-module (gnu packages cyrus-sasl)
6e1bb642 70 #:use-module (gnu packages databases)
255d1bbe 71 #:use-module (gnu packages dbm)
c769cf9f 72 #:use-module (gnu packages djvu)
ba5dd105 73 #:use-module (gnu packages dns)
b4ce6300 74 #:use-module (gnu packages docbook)
b29909b4 75 #:use-module (gnu packages documentation)
329d731b 76 #:use-module (gnu packages enchant)
b29909b4
TGR
77 #:use-module (gnu packages flex)
78 #:use-module (gnu packages fonts)
a56be436 79 #:use-module (gnu packages fontutils)
b29909b4 80 #:use-module (gnu packages freedesktop)
dfc407f3 81 #:use-module (gnu packages game-development)
90387432 82 #:use-module (gnu packages gcc)
fed5a689 83 #:use-module (gnu packages gettext)
b29909b4
TGR
84 #:use-module (gnu packages ghostscript)
85 #:use-module (gnu packages gl)
995b7261 86 #:use-module (gnu packages glib)
c1354b90 87 #:use-module (gnu packages gnupg)
23a22af6 88 #:use-module (gnu packages gnuzilla)
b29909b4
TGR
89 #:use-module (gnu packages gperf)
90 #:use-module (gnu packages graphviz)
85f5dc19 91 #:use-module (gnu packages gstreamer)
d9c1a22b 92 #:use-module (gnu packages gtk)
6b888eff 93 #:use-module (gnu packages guile)
b645146f 94 #:use-module (gnu packages ibus)
b29909b4
TGR
95 #:use-module (gnu packages image)
96 #:use-module (gnu packages imagemagick)
97 #:use-module (gnu packages inkscape)
9cc98f8a 98 #:use-module (gnu packages iso-codes)
b29909b4 99 #:use-module (gnu packages kerberos)
85f5dc19 100 #:use-module (gnu packages libcanberra)
b64e217f 101 #:use-module (gnu packages libunistring)
75016d07 102 #:use-module (gnu packages libusb)
b29909b4 103 #:use-module (gnu packages linux)
4e3fc547 104 #:use-module (gnu packages lirc)
7b212526 105 #:use-module (gnu packages lua)
b29909b4
TGR
106 #:use-module (gnu packages mail)
107 #:use-module (gnu packages multiprecision)
64fce637 108 #:use-module (gnu packages music)
b29909b4
TGR
109 #:use-module (gnu packages ncurses)
110 #:use-module (gnu packages nettle)
ba5dd105 111 #:use-module (gnu packages networking)
5fc9b6c1 112 #:use-module (gnu packages ninja)
b29909b4 113 #:use-module (gnu packages openldap)
b645146f 114 #:use-module (gnu packages password-utils)
de1215e2 115 #:use-module (gnu packages pcre)
b29909b4 116 #:use-module (gnu packages pdf)
27477d2d 117 #:use-module (gnu packages perl)
f70d8383 118 #:use-module (gnu packages photo)
995b7261 119 #:use-module (gnu packages pkg-config)
b29909b4
TGR
120 #:use-module (gnu packages polkit)
121 #:use-module (gnu packages popt)
23a22af6 122 #:use-module (gnu packages pulseaudio)
995b7261 123 #:use-module (gnu packages python)
00014781
RW
124 #:use-module (gnu packages python-crypto)
125 #:use-module (gnu packages python-web)
44d10b1f 126 #:use-module (gnu packages python-xyz)
cce0da5e 127 #:use-module (gnu packages rdesktop)
b29909b4 128 #:use-module (gnu packages readline)
a76d0f03 129 #:use-module (gnu packages ruby)
b29909b4 130 #:use-module (gnu packages samba)
75016d07 131 #:use-module (gnu packages scanner)
240cee8a 132 #:use-module (gnu packages selinux)
c27e02bf 133 #:use-module (gnu packages slang)
b29909b4
TGR
134 #:use-module (gnu packages speech)
135 #:use-module (gnu packages spice)
cd0322a3 136 #:use-module (gnu packages sqlite)
4a1bf090 137 #:use-module (gnu packages ssh)
8f9ac901 138 #:use-module (gnu packages tex)
33dc54b0 139 #:use-module (gnu packages time)
a7fd7b68 140 #:use-module (gnu packages tls)
3c5dbd2b 141 #:use-module (gnu packages version-control)
b29909b4 142 #:use-module (gnu packages video)
59132b80 143 #:use-module (gnu packages virtualization)
f2b96b3a 144 #:use-module (gnu packages vpn)
a18f8eaf 145 #:use-module (gnu packages web)
b29909b4
TGR
146 #:use-module (gnu packages web)
147 #:use-module (gnu packages webkit)
148 #:use-module (gnu packages xdisorg)
149 #:use-module (gnu packages xiph)
150 #:use-module (gnu packages xml)
d633f2f6 151 #:use-module (gnu packages xorg)
b29909b4 152 #:use-module (gnu packages xorg)
a76d0f03 153 #:use-module (gnu artwork)
b29909b4
TGR
154 #:use-module (guix build-system cmake)
155 #:use-module (guix build-system glib-or-gtk)
156 #:use-module (guix build-system gnu)
157 #:use-module (guix build-system meson)
158 #:use-module (guix build-system trivial)
159 #:use-module (guix download)
160 #:use-module (guix git-download)
161 #:use-module ((guix licenses) #:prefix license:)
162 #:use-module (guix packages)
163 #:use-module (guix utils)
a76d0f03 164 #:use-module (guix gexp)
4e3fdeb7 165 #:use-module (ice-9 match)
c024ae36 166 #:use-module (srfi srfi-1))
85f5dc19
AE
167
168(define-public brasero
169 (package
170 (name "brasero")
e2bf423a 171 (version "3.12.2")
85f5dc19
AE
172 (source (origin
173 (method url-fetch)
e8627cd9
DH
174 (uri (string-append "mirror://gnome/sources/" name "/"
175 (version-major+minor version) "/"
176 name "-" version ".tar.xz"))
85f5dc19
AE
177 (sha256
178 (base32
e2bf423a 179 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
1c40e3b7 180 (build-system glib-or-gtk-build-system)
e8627cd9
DH
181 (arguments
182 `(#:configure-flags (list
183 (string-append "--with-girdir="
184 (assoc-ref %outputs "out")
185 "/share/gir-1.0")
186 (string-append "--with-typelibdir="
187 (assoc-ref %outputs "out")
ce426deb
TD
188 "/lib/girepository-1.0"))
189 #:phases
190 (modify-phases %standard-phases
191 (add-before 'configure 'embed-growisofs
192 (lambda* (#:key inputs #:allow-other-keys)
193 (substitute* "plugins/growisofs/burn-growisofs.c"
194 (("\"growisofs") (string-append "\"" (which "growisofs"))))
e2bf423a 195 #t)))))
85f5dc19
AE
196 (propagated-inputs
197 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
198 (native-inputs
199 `(("intltool" ,intltool)
426adbe8 200 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 201 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 202 ("pkg-config" ,pkg-config)))
85f5dc19 203 (inputs
ce426deb
TD
204 `(("dvd+rw-tools" ,dvd+rw-tools)
205 ("glib" ,glib)
85f5dc19
AE
206 ("gnome-doc-utils" ,gnome-doc-utils)
207 ("gstreamer" ,gstreamer)
208 ("gst-plugins-base" ,gst-plugins-base)
209 ("gtk+" ,gtk+)
85f5dc19
AE
210 ("itstool" ,itstool)
211 ("libcanberra" ,libcanberra)
212 ("libice" ,libice)
213 ("libnotify" ,libnotify)
214 ("libsm" ,libsm)
e8627cd9
DH
215 ("libxml2" ,libxml2)
216 ("nettle" ,nettle)
217 ("totem-pl-parser" ,totem-pl-parser)))
85f5dc19
AE
218 (home-page "https://projects.gnome.org/brasero/")
219 (synopsis "CD/DVD burning tool for Gnome")
220 (description "Brasero is an application to burn CD/DVD for the Gnome
221Desktop. It is designed to be as simple as possible and has some unique
222features to enable users to create their discs easily and quickly.")
1dd26275 223 (license license:gpl2+)))
995b7261 224
d61a894b
CB
225(define-public deja-dup
226 (package
227 (name "deja-dup")
228 (version "34.3")
229 (source (origin
230 (method url-fetch)
231 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
232 (sha256
233 (base32
234 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
235 (patches
236 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
237 (build-system glib-or-gtk-build-system)
238 (arguments
239 `(#:modules ((guix build gnu-build-system)
240 ((guix build cmake-build-system) #:prefix cmake:)
241 (guix build glib-or-gtk-build-system)
242 (guix build utils))
243 #:imported-modules (,@%glib-or-gtk-build-system-modules
244 (guix build cmake-build-system))
245 #:test-target "test"
246 #:configure-flags (list (string-append
247 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
248 (string-append
249 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
250 #:phases
251 (modify-phases %standard-phases
252 (add-after 'unpack 'patch-lockfile-deletion
253 (lambda rest
254 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
255 (("/bin/rm")
256 (which "rm")))))
257 (replace 'configure
258 (assoc-ref cmake:%standard-phases 'configure))
259 (delete 'check) ;; Fails due to issues with DBus
260 (add-after 'install 'wrap-deja-dup
261 (lambda* (#:key inputs outputs #:allow-other-keys)
262 (let ((python (assoc-ref inputs "python"))
263 (python-path (getenv "PYTHONPATH"))
264 (duplicity (assoc-ref inputs "duplicity"))
265 (out (assoc-ref outputs "out")))
266 (for-each
267 (lambda (program)
268 (wrap-program program
269 `("PATH" ":" prefix (,(string-append python "/bin")
270 ,(string-append duplicity "/bin"))))
271 (wrap-program program
272 `("PYTHONPATH" ":" prefix (,python-path))))
273
274 (find-files (string-append out "/bin")))
275 #t))))))
276 (inputs
277 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
278 ("gobject-introspection" ,gobject-introspection)
279 ("duplicity" ,duplicity)
280 ("python" ,python2-minimal)
281 ("python-pygobject" ,python2-pygobject)
282 ("gtk+" ,gtk+)
283 ("libnotify" ,libnotify)
284 ("libpeas" ,libpeas)
285 ("libsecret" ,libsecret)
286 ("packagekit" ,packagekit)))
287 (native-inputs
288 `(("pkg-config" ,pkg-config)
289 ("vala" ,vala)
290 ("gettext" ,gettext-minimal)
291 ("itstool" ,itstool)
292 ("intltool" ,intltool)
c695fb76 293 ("cmake" ,cmake)))
d61a894b
CB
294 (home-page "https://launchpad.net/deja-dup")
295 (synopsis "Simple backup tool, for regular encrypted backups")
296 (description
297 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
298uses duplicity as the backend, which supports incremental backups and storage
299either on a local, or remote machine via a number of methods.")
300 (license license:gpl3+)))
301
a56be436
RJ
302(define-public dia
303 ;; This version from GNOME's repository includes fixes for compiling with
304 ;; recent versions of the build tools. The latest activity on the
305 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
306 ;; fixes in 2016.
307 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
308 (package
309 (name "dia")
310 (version (string-append "0.97.2-" (string-take commit 7)))
311 (source (origin
312 (method git-fetch)
313 (uri (git-reference
314 (url "https://git.gnome.org/browse/dia")
315 (commit commit)))
316 (file-name (string-append name "-" version "-checkout"))
317 (sha256
318 (base32
319 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
320 (build-system gnu-build-system)
321 (inputs
322 `(("glib" ,glib "bin")
323 ("pango" ,pango)
324 ("gdk-pixbuf" ,gdk-pixbuf)
325 ("gtk+" ,gtk+-2)
326 ("libxml2" ,libxml2)
327 ("freetype" ,freetype)
328 ("libart-lgpl" ,libart-lgpl)))
329 (native-inputs
330 `(("intltool" ,intltool)
331 ("pkg-config" ,pkg-config)
332 ("automake" ,automake)
333 ("autoconf" ,autoconf)
334 ("libtool" ,libtool)
335 ("perl" ,perl)
336 ("python-wrapper" ,python-wrapper)))
337 (arguments
338 `(#:phases
339 (modify-phases %standard-phases
d10092b8 340 (add-after 'unpack 'run-autogen
a56be436
RJ
341 (lambda _
342 (system* "sh" "autogen.sh"))))))
343 (home-page "https://wiki.gnome.org/Apps/Dia")
344 (synopsis "Diagram creation for GNOME")
345 (description "Dia can be used to draw different types of diagrams, and
346includes support for UML static structure diagrams (class diagrams), entity
347relationship modeling, and network diagrams. The program supports various file
348formats like PNG, SVG, PDF and EPS.")
349 (license license:gpl2+))))
350
adc5cb1b
KK
351(define-public libgdata
352 (package
353 (name "libgdata")
354 (version "0.16.1")
355 (source (origin
356 (method url-fetch)
357 (uri (string-append "mirror://gnome/sources/" name "/"
358 (version-major+minor version) "/"
359 name "-" version ".tar.xz"))
360 (sha256
361 (base32
362 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
363 (patches
364 (search-patches "libgdata-fix-tests.patch"
365 "libgdata-glib-duplicate-tests.patch"))))
366 (build-system gnu-build-system)
367 (arguments
368 '(#:phases
369 (modify-phases %standard-phases
448052b7
TGR
370 (add-before 'check 'disable-failing-tests
371 (lambda _
372 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
373 ;; They have been removed in libgdata 0.17.6, so just do the same.
374 (substitute* "gdata/tests/Makefile"
375 (("picasaweb\\$\\(EXEEXT\\) ") ""))
adc5cb1b
KK
376 #t)))))
377 (native-inputs
378 `(("glib:bin" ,glib "bin")
379 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
380 ("intltool" ,intltool)
381 ("pkg-config" ,pkg-config)
382 ("uhttpmock" ,uhttpmock)))
383 (inputs
384 `(("cyrus-sasl" ,cyrus-sasl)
385 ("glib" ,glib)
386 ("glib-networking" ,glib-networking)
387 ("json-glib" ,json-glib)
388 ("libsoup" ,libsoup)))
389 (propagated-inputs
390 `(("gcr" ,gcr)
391 ("gnome-online-accounts" ,gnome-online-accounts)
392 ("liboauth" ,liboauth)
393 ("libxml2" ,libxml2)))
394 (home-page "https://wiki.gnome.org/Projects/libgdata")
395 (synopsis "Library for accessing online service APIs")
396 (description
397 "libgdata is a GLib-based library for accessing online service APIs using
398the GData protocol — most notably, Google's services. It provides APIs to
399access the common Google services, and has full asynchronous support.")
400 (license license:lgpl2.1+)))
401
94e10cf4
KK
402(define-public libgxps
403 (package
404 (name "libgxps")
66470a5a 405 (version "0.3.1")
94e10cf4
KK
406 (source (origin
407 (method url-fetch)
7f10628c 408 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
409 (version-major+minor version) "/"
410 name "-" version ".tar.xz"))
411 (sha256
412 (base32
66470a5a 413 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
b6b3e512 414 (build-system meson-build-system)
94e10cf4
KK
415 (native-inputs
416 `(("gobject-introspection" ,gobject-introspection)
417 ("pkg-config" ,pkg-config)))
418 (inputs
c8d62d93 419 `(("gtk+" ,gtk+)
b6b3e512 420 ("libjpeg" ,libjpeg-turbo)
94e10cf4
KK
421 ("lcms" ,lcms)
422 ("libtiff" ,libtiff)
423 ("nettle" ,nettle)))
c8d62d93
MB
424 (propagated-inputs
425 ;; In Requires of libgxps.pc.
426 `(("cairo" ,cairo)
427 ("glib" ,glib)
428 ("libarchive" ,libarchive)))
94e10cf4
KK
429 (home-page "https://wiki.gnome.org/Projects/libgxps")
430 (synopsis "GObject-based library for handling and rendering XPS documents")
431 (description
432 "libgxps is a GObject-based library for handling and rendering XPS
433documents. This package also contains binaries that can convert XPS documents
434to other formats.")
435 (license license:lgpl2.1+)))
436
7aab13f1
ML
437(define-public gnome-common
438 (package
439 (name "gnome-common")
af83490d 440 (version "3.18.0")
7aab13f1
ML
441 (source
442 (origin
443 (method url-fetch)
444 (uri (string-append "mirror://gnome/sources/" name "/"
445 (version-major+minor version) "/"
446 name "-" version ".tar.xz"))
447 (sha256
448 (base32
af83490d 449 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
450 (build-system gnu-build-system)
451 (home-page "https://www.gnome.org/")
452 (synopsis "Bootstrap GNOME modules built from Git")
453 (description "gnome-common contains various files needed to bootstrap
454GNOME modules built from Git. It contains a common \"autogen.sh\" script that
455can be used to configure a source directory checked out from Git and some
456commonly used macros.")
457 (license license:gpl2+)))
458
9cc98f8a
CR
459(define-public gnome-desktop
460 (package
461 (name "gnome-desktop")
7a0d78fc 462 (version "3.24.2")
9cc98f8a
CR
463 (source
464 (origin
465 (method url-fetch)
b38e45d8
EB
466 (uri (string-append "mirror://gnome/sources/" name "/"
467 (version-major+minor version) "/"
9cc98f8a
CR
468 name "-" version ".tar.xz"))
469 (sha256
470 (base32
7a0d78fc 471 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
9cc98f8a 472 (build-system gnu-build-system)
a0fe7c06
CB
473 (arguments
474 '(#:phases
475 (modify-phases %standard-phases
476 (add-before 'configure 'patch-path
477 (lambda* (#:key inputs #:allow-other-keys)
478 (let ((libc (assoc-ref inputs "libc")))
479 (substitute* "libgnome-desktop/gnome-languages.c"
480 (("\"locale\"")
481 (string-append "\"" libc "/bin/locale\"")))
482 #t))))))
9cc98f8a 483 (native-inputs
a8340482
SB
484 `(("gobject-introspection" ,gobject-introspection)
485 ("itstool" ,itstool)
bcb354ad
SB
486 ("intltool" ,intltool)
487 ("pkg-config" ,pkg-config)
488 ("xmllint" ,libxml2)))
a8340482
SB
489 (propagated-inputs
490 ;; Required by gnome-desktop-3.0.pc.
491 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
492 ("gtk+" ,gtk+)))
9cc98f8a
CR
493 (inputs
494 `(("gdk-pixbuf" ,gdk-pixbuf)
495 ("glib" ,glib)
9cc98f8a 496 ("iso-codes" ,iso-codes)
9cc98f8a
CR
497 ("libx11" ,libx11)
498 ("libxext" ,libxext)
499 ("libxkbfile" ,libxkbfile)
500 ("libxrandr" ,libxrandr)
501 ("xkeyboard-config" ,xkeyboard-config)))
502 (home-page "https://www.gnome.org/")
503 (synopsis
35b9e423 504 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
505 (description
506 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
507on the desktop, but that cannot live in the platform for various reasons.
508There is no API or ABI guarantee, although we are doing our best to provide
509stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
510
511The gnome-about program helps find which version of GNOME is installed.")
512 ; Some bits under the LGPL.
1dd26275 513 (license license:gpl2+)))
9cc98f8a 514
995b7261
AE
515(define-public gnome-doc-utils
516 (package
517 (name "gnome-doc-utils")
518 (version "0.20.10")
519 (source
520 (origin
521 (method url-fetch)
b38e45d8
EB
522 (uri (string-append "mirror://gnome/sources/" name "/"
523 (version-major+minor version) "/"
995b7261
AE
524 name "-" version ".tar.xz"))
525 (sha256
526 (base32
527 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
528 (build-system gnu-build-system)
c4c4cc05 529 (native-inputs
995b7261 530 `(("intltool" ,intltool)
b4ce6300 531 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 532 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
533 ("libxml2" ,libxml2)
534 ("libxslt" ,libxslt)
535 ("pkg-config" ,pkg-config)
536 ("python-2" ,python-2)))
995b7261
AE
537 (home-page "https://wiki.gnome.org/GnomeDocUtils")
538 (synopsis
539 "Documentation utilities for the Gnome project")
540 (description
541 "Gnome-doc-utils is a collection of documentation utilities for the
542Gnome project. It includes xml2po tool which makes it easier to translate
543and keep up to date translations of documentation.")
1dd26275 544 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 545
6c4f7022
DC
546(define-public gnome-disk-utility
547 (package
548 (name "gnome-disk-utility")
f9036105 549 (version "3.28.3")
6c4f7022
DC
550 (source (origin
551 (method url-fetch)
552 (uri (string-append "mirror://gnome/sources/" name "/"
553 (version-major+minor version) "/"
554 name "-" version ".tar.xz"))
555 (sha256
556 (base32
f9036105 557 "11ajz4cbsdns81kihd6242b6pwxbw8bkr9qqkf4qnb4kp363a38m"))))
4b9a65bf 558 (build-system meson-build-system)
6c4f7022
DC
559 (native-inputs
560 `(("glib:bin" ,glib "bin")
4b9a65bf 561 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6c4f7022
DC
562 ("intltool" ,intltool)
563 ("pkg-config" ,pkg-config)
564 ("docbook-xml" ,docbook-xml)
565 ("docbook-xsl" ,docbook-xsl)
566 ("libxml2" ,libxml2)
567 ("libxslt" ,libxslt)))
568 (inputs
569 `(("glib" ,glib)
570 ("appstream-glib" ,appstream-glib)
571 ("gnome-settings-daemon" ,gnome-settings-daemon)
572 ("gtk+" ,gtk+)
573 ("libcanberra" ,libcanberra)
574 ("libdvdread" ,libdvdread)
575 ("libnotify" ,libnotify)
576 ("libpwquality" ,libpwquality)
577 ("libsecret" ,libsecret)
578 ("udisks" ,udisks)))
579 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
580 (synopsis "Disk management utility for GNOME")
581 (description "Disk management utility for GNOME.")
582 (license license:gpl2+)))
583
8ff49011
RW
584(define-public gcr
585 (package
586 (name "gcr")
6983ba56 587 (version "3.20.0")
8ff49011
RW
588 (source (origin
589 (method url-fetch)
590 (uri (string-append "mirror://gnome/sources/" name "/"
591 (version-major+minor version) "/"
592 name "-" version ".tar.xz"))
593 (sha256
594 (base32
85c77480
KK
595 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
596 (patches
597 (search-patches "gcr-disable-failing-tests.patch"
598 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
8ff49011
RW
599 (build-system gnu-build-system)
600 (arguments
85c77480 601 '(#:phases (modify-phases %standard-phases
8ff49011
RW
602 (add-before
603 'check 'pre-check
604 (lambda* (#:key inputs #:allow-other-keys)
605 (substitute* "build/tap-driver"
606 (("/usr/bin/env python") (which "python"))))))))
607 (inputs
608 `(("dbus" ,dbus)
609 ("gnupg" ,gnupg) ;called as a child process during tests
610 ("libgcrypt" ,libgcrypt)))
611 (native-inputs
612 `(("python" ,python-2) ;for tests
613 ("pkg-config" ,pkg-config)
614 ("glib" ,glib "bin")
2af4f5b0
SB
615 ("gobject-introspection" ,gobject-introspection)
616 ("intltool" ,intltool)
617 ("xsltproc" ,libxslt)))
8ff49011
RW
618 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
619 (propagated-inputs
620 `(("p11-kit" ,p11-kit)
621 ("glib" ,glib)
622 ("gtk+" ,gtk+)))
f032d0be 623 (home-page "https://www.gnome.org")
8ff49011
RW
624 (synopsis "Libraries for displaying certificates and accessing key stores")
625 (description
626 "The GCR package contains libraries used for displaying certificates and
627accessing key stores. It also provides the viewer for crypto files on the
628GNOME Desktop.")
629 (license license:lgpl2.1+)))
630
c1354b90
LC
631(define-public libgnome-keyring
632 (package
633 (name "libgnome-keyring")
5e8aec2c 634 (version "3.12.0")
c1354b90
LC
635 (source (origin
636 (method url-fetch)
b38e45d8
EB
637 (uri (string-append "mirror://gnome/sources/" name "/"
638 (version-major+minor version) "/"
639 name "-" version ".tar.xz"))
c1354b90
LC
640 (sha256
641 (base32
5e8aec2c 642 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 643 (build-system gnu-build-system)
c1354b90 644 (inputs
c4c4cc05 645 `(("libgcrypt" ,libgcrypt)
c1354b90 646 ("dbus" ,dbus)))
c4c4cc05
JD
647 (native-inputs
648 `(("pkg-config" ,pkg-config)
426adbe8 649 ("glib" ,glib "bin")
c4c4cc05 650 ("intltool" ,intltool)))
c1354b90
LC
651 (propagated-inputs
652 ;; Referred to in .h files and .pc.
653 `(("glib" ,glib)))
f032d0be 654 (home-page "https://www.gnome.org")
c1354b90
LC
655 (synopsis "Accessing passwords from the GNOME keyring")
656 (description
657 "Client library to access passwords from the GNOME keyring.")
658
659 ;; Though a couple of files are LGPLv2.1+.
1dd26275 660 (license license:lgpl2.0+)))
c1354b90 661
e99a3d6f
RW
662(define-public gnome-keyring
663 (package
664 (name "gnome-keyring")
d95d6d93 665 (version "3.20.1")
e99a3d6f
RW
666 (source (origin
667 (method url-fetch)
668 (uri (string-append "mirror://gnome/sources/" name "/"
669 (version-major+minor version) "/"
670 name "-" version ".tar.xz"))
671 (sha256
672 (base32
d95d6d93 673 "134ci3mn6jjap59z3lrvyiip7zf2nlw5xvanr44yajs57xr4x5lp"))))
e99a3d6f
RW
674 (build-system gnu-build-system)
675 (arguments
676 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
677 ;not exist
678 #:configure-flags
679 (list
680 (string-append "--with-pkcs11-config="
681 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
682 (string-append "--with-pkcs11-modules="
683 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
684 #:phases
685 (modify-phases %standard-phases
686 (add-before
687 'check 'pre-check
688 (lambda* (#:key inputs #:allow-other-keys)
689 (substitute* "build/tap-driver"
690 (("/usr/bin/env python") (which "python")))))
691 (add-before
692 'configure 'fix-docbook
693 (lambda* (#:key inputs #:allow-other-keys)
694 (substitute* "docs/Makefile.am"
695 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
696 (string-append (assoc-ref inputs "docbook-xsl")
697 "/xml/xsl/docbook-xsl-"
698 ,(package-version docbook-xsl)
699 "/manpages/docbook.xsl")))
700 (setenv "XML_CATALOG_FILES"
701 (string-append (assoc-ref inputs "docbook-xml")
6915da22
LC
702 "/xml/dtd/docbook/catalog.xml"))
703
704 ;; Rerun the whole thing to avoid version mismatch ("This is
705 ;; Automake 1.15.1, but the definition used by this
706 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
707 ;; use 'autoreconf' because it insists on running 'libtoolize'.
708 (invoke "autoconf")
709 (invoke "aclocal")
710 (invoke "automake" "-ac"))))))
e99a3d6f
RW
711 (inputs
712 `(("libgcrypt" ,libgcrypt)
1a0b2d82 713 ("linux-pam" ,linux-pam)
e99a3d6f
RW
714 ("dbus" ,dbus)
715 ("gcr" ,gcr)))
716 (native-inputs
717 `(("pkg-config" ,pkg-config)
718 ("glib" ,glib "bin")
719 ("python" ,python-2) ;for tests
720 ("intltool" ,intltool)
721 ("autoconf" ,autoconf)
722 ("automake" ,automake)
723 ("libxslt" ,libxslt) ;for documentation
724 ("docbook-xml" ,docbook-xml-4.2)
725 ("docbook-xsl" ,docbook-xsl)))
f032d0be 726 (home-page "https://www.gnome.org")
e99a3d6f
RW
727 (synopsis "Daemon to store passwords and encryption keys")
728 (description
729 "gnome-keyring is a program that keeps passwords and other secrets for
730users. It is run as a daemon in the session, similar to ssh-agent, and other
731applications locate it via an environment variable or D-Bus.
732
733The program can manage several keyrings, each with its own master password,
734and there is also a session keyring which is never stored to disk, but
735forgotten when the session ends.")
736 (license license:lgpl2.1+)))
737
c1354b90
LC
738(define-public evince
739 (package
740 (name "evince")
87bcd9bf 741 (version "3.28.2")
c1354b90
LC
742 (source (origin
743 (method url-fetch)
b38e45d8
EB
744 (uri (string-append "mirror://gnome/sources/" name "/"
745 (version-major+minor version) "/"
746 name "-" version ".tar.xz"))
c1354b90
LC
747 (sha256
748 (base32
87bcd9bf 749 "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89"))))
121de2e1 750 (build-system glib-or-gtk-build-system)
c1354b90
LC
751 (arguments
752 `(#:configure-flags '("--disable-nautilus")
554b2dac
SB
753 #:phases
754 (modify-phases %standard-phases
755 (add-before 'install 'skip-gtk-update-icon-cache
756 ;; Don't create 'icon-theme.cache'.
757 (lambda _
758 (substitute* "data/Makefile"
759 (("gtk-update-icon-cache") "true"))
760 #t)))))
c1354b90 761 (inputs
9a096881
KK
762 `(("libarchive" ,libarchive)
763 ("libgxps" ,libgxps)
764 ("libspectre" ,libspectre)
c769cf9f 765 ("djvulibre" ,djvulibre)
c1354b90
LC
766 ("ghostscript" ,ghostscript)
767 ("poppler" ,poppler)
c769cf9f
SB
768 ("libtiff" ,libtiff)
769 ;; TODO:
c769cf9f
SB
770 ;; Build libkpathsea as a shared library for DVI support.
771 ;; ("libkpathsea" ,texlive-bin)
772 ("gnome-desktop" ,gnome-desktop)
c1354b90
LC
773 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
774 ("libgnome-keyring" ,libgnome-keyring)
c769cf9f 775 ("adwaita-icon-theme" ,adwaita-icon-theme)
c1354b90
LC
776 ("gdk-pixbuf" ,gdk-pixbuf)
777 ("atk" ,atk)
778 ("pango" ,pango)
779 ("gtk+" ,gtk+)
780 ("glib" ,glib)
781 ("libxml2" ,libxml2)
c1354b90
LC
782 ("libsm" ,libsm)
783 ("libice" ,libice)
96e42467 784 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
785 ("dconf" ,dconf)
786 ("libcanberra" ,libcanberra)
c769cf9f 787 ("libsecret" ,libsecret)
a271096b
LC
788
789 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
790 ;; propagated from there.
791 ("nettle" ,nettle)
792
c1354b90
LC
793 ;; For tests.
794 ("dogtail" ,python2-dogtail)))
96e42467 795 (native-inputs
bcb354ad
SB
796 `(("itstool" ,itstool)
797 ("intltool" ,intltool)
426adbe8 798 ("glib" ,glib "bin")
bcb354ad
SB
799 ("pkg-config" ,pkg-config)
800 ("xmllint" ,libxml2)))
c1354b90 801 (home-page
f032d0be 802 "https://www.gnome.org/projects/evince/")
c1354b90
LC
803 (synopsis "GNOME's document viewer")
804 (description
805 "Evince is a document viewer for multiple document formats. It
806currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
807of Evince is to replace the multiple document viewers that exist
96e42467 808on the GNOME Desktop with a single simple application.")
1dd26275 809 (license license:gpl2+)))
c1354b90 810
22e32e69
AE
811(define-public gsettings-desktop-schemas
812 (package
813 (name "gsettings-desktop-schemas")
f97e96ae 814 (version "3.24.1")
22e32e69
AE
815 (source
816 (origin
817 (method url-fetch)
818 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 819 (version-major+minor version) "/"
22e32e69
AE
820 name "-" version ".tar.xz"))
821 (sha256
822 (base32
f97e96ae 823 "19zfqy58missq5cck13ip8j824hb9whqg2c4cr6hgrlxkwqgm8vn"))))
22e32e69
AE
824 (build-system gnu-build-system)
825 (inputs
c4c4cc05
JD
826 `(("glib" ,glib)))
827 (native-inputs
828 `(("intltool" ,intltool)
426adbe8 829 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
7211944a 830 ("gobject-introspection" ,gobject-introspection)
22e32e69
AE
831 ("pkg-config" ,pkg-config)))
832 (home-page "https://launchpad.net/gsettings-desktop-schemas")
833 (synopsis
834 "GNOME settings for various desktop components")
835 (description
836 "Gsettings-desktop-schemas contains a collection of GSettings schemas
837for settings shared by various components of the GNOME desktop.")
1dd26275 838 (license license:lgpl2.1+)))
22e32e69 839
27477d2d
AE
840(define-public icon-naming-utils
841 (package
842 (name "icon-naming-utils")
843 (version "0.8.90")
844 (source
845 (origin
846 (method url-fetch)
5cc3096c 847 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
27477d2d
AE
848 version ".tar.bz2"))
849 (sha256
850 (base32
851 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
852 (build-system gnu-build-system)
853 (inputs
854 `(("perl" ,perl)
855 ("perl-xml-simple" ,perl-xml-simple)))
f4e97277
SB
856 (arguments
857 '(#:phases
dc1d3cde
KK
858 (modify-phases %standard-phases
859 (add-after 'install 'set-load-paths
860 ;; Tell 'icon-name-mapping' where XML::Simple is.
861 (lambda* (#:key outputs #:allow-other-keys)
862 (let* ((out (assoc-ref outputs "out"))
863 (prog (string-append out "/libexec/icon-name-mapping")))
864 (wrap-program
865 prog
866 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
867 #t)))))
27477d2d
AE
868 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
869 (synopsis
870 "Utility to implement the Freedesktop Icon Naming Specification")
871 (description
872 "To help with the transition to the Freedesktop Icon Naming
873Specification, the icon naming utility maps the icon names used by the
874GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 875 (license license:lgpl2.1+)))
27477d2d 876
7d3f3651
AE
877(define-public gnome-icon-theme
878 (package
879 (name "gnome-icon-theme")
b32f58dd 880 (version "3.12.0")
7d3f3651
AE
881 (source
882 (origin
883 (method url-fetch)
884 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 885 (version-major+minor version) "/"
7d3f3651
AE
886 name "-" version ".tar.xz"))
887 (sha256
888 (base32
b32f58dd 889 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
7d3f3651 890 (build-system gnu-build-system)
5613c27d
SB
891 (arguments
892 '(#:configure-flags
893 ;; Don't create 'icon-theme.cache'.
894 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
895 (true (string-append coreutils "/bin/true")))
896 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
c4c4cc05 897 (native-inputs
5613c27d 898 `(("icon-naming-utils" ,icon-naming-utils)
73b6cf42
SB
899 ("intltool" ,intltool)
900 ("pkg-config" ,pkg-config)))
f032d0be 901 (home-page "https://art.gnome.org/")
7d3f3651
AE
902 (synopsis
903 "GNOME icon theme")
904 (description
905 "Icons for the GNOME desktop.")
1dd26275 906 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 907
14eeefa2
SB
908;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
909(define-public adwaita-icon-theme
910 (package (inherit gnome-icon-theme)
911 (name "adwaita-icon-theme")
41775ab1 912 (version "3.26.1")
14eeefa2
SB
913 (source (origin
914 (method url-fetch)
915 (uri (string-append "mirror://gnome/sources/" name "/"
916 (version-major+minor version) "/"
917 name "-" version ".tar.xz"))
918 (sha256
919 (base32
41775ab1 920 "17fpahgh5dyckgz7rwqvzgnhx53cx9kr2xw0szprc6bnqy977fi8"))))
5613c27d
SB
921 (native-inputs
922 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
14eeefa2 923
ae792dba
RW
924(define-public tango-icon-theme
925 (package
926 (name "tango-icon-theme")
927 (version "0.8.90")
928 (source (origin
929 (method url-fetch)
930 (uri (string-append "http://tango.freedesktop.org/releases/"
931 "tango-icon-theme-" version ".tar.bz2"))
932 (sha256
933 (base32
934 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
935 (build-system gnu-build-system)
936 (native-inputs
937 `(("icon-naming-utils" ,icon-naming-utils)
938 ("intltool" ,intltool)
939 ("imagemagick" ,imagemagick)
940 ("pkg-config" ,pkg-config)))
941 (home-page "http://tango-project.org/")
942 (synopsis "Tango icon theme")
943 (description "This is an icon theme that follows the Tango visual
944guidelines.")
945 (license license:public-domain)))
946
9167f8e6
LC
947(define-public shared-mime-info
948 (package
949 (name "shared-mime-info")
d577e00f 950 (version "1.9")
9167f8e6
LC
951 (source (origin
952 (method url-fetch)
5cc3096c 953 (uri (string-append "https://freedesktop.org/~hadess/"
b38e45d8 954 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
955 (sha256
956 (base32
d577e00f 957 "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw"))))
9167f8e6
LC
958 (build-system gnu-build-system)
959 (arguments
960 ;; The build system appears not to be parallel-safe.
961 '(#:parallel-build? #f))
962 (inputs
963 `(("glib" ,glib)
c4c4cc05 964 ("libxml2" ,libxml2)))
9167f8e6 965 (native-inputs
c4c4cc05
JD
966 `(("intltool" ,intltool)
967 ("pkg-config" ,pkg-config)))
57e7d748 968 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
9167f8e6
LC
969 (synopsis "Database of common MIME types")
970 (description
971 "The shared-mime-info package contains the core database of common types
972and the update-mime-database command used to extend it. It requires glib2 to
973be installed for building the update command. Additionally, it uses intltool
974for translations, though this is only a dependency for the maintainers. This
975database is translated at Transifex.")
1dd26275 976 (license license:gpl2+)))
9167f8e6 977
dd1fcddc
CB
978(define-public system-config-printer
979 (package
980 (name "system-config-printer")
981 (version "1.5.11")
982 (source (origin
983 (method url-fetch)
984 (uri (string-append
985 "https://github.com/zdohnal/system-config-printer/releases/"
986 "download/" version
987 "/system-config-printer-" version ".tar.xz"))
988 (sha256
989 (base32
990 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
991 (build-system glib-or-gtk-build-system)
992 (arguments
993 `(#:imported-modules ((guix build python-build-system)
994 ,@%glib-or-gtk-build-system-modules)
995 #:phases
996 (modify-phases %standard-phases
997 (add-after 'unpack 'patch-Makefile.am
998 (lambda _
999 ;; The Makefile generates some scripts, so set a valid shebang
1000 (substitute* "Makefile.am"
1001 (("/bin/bash") (which "bash")))
1002 (delete-file "configure")
1003 #t))
1004 (add-after 'unpack 'patch-docbook-xml
1005 (lambda* (#:key inputs #:allow-other-keys)
1006 ;; Modify the man XML otherwise xmlto tries to access the network
1007 (substitute* "man/system-config-printer.xml"
1008 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1009 (string-append (assoc-ref inputs "docbook-xml")
1010 "/xml/dtd/docbook/")))
1011 #t))
1012 (add-after 'install 'wrap-for-python
1013 (@@ (guix build python-build-system) wrap))
1014 (add-after 'install 'wrap
1015 (lambda* (#:key outputs #:allow-other-keys)
1016 (let ((out (assoc-ref outputs "out"))
1017 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1018 (for-each
1019 (lambda (program)
1020 (wrap-program program
1021 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1022 (map (lambda (name)
1023 (string-append out "/bin/" name))
1024 '("system-config-printer"
1025 "system-config-printer-applet"
1026 "install-printerdriver"
1027 "scp-dbus-service"))))
1028 #t)))))
1029 (inputs
1030 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1031 ("gobject-introspection" ,gobject-introspection)
1032 ("python" ,python)
1033 ("cups" ,cups)
1034 ("python-dbus" ,python-dbus)
1035 ("python-pygobject" ,python-pygobject)
1036 ("python-pycups" ,python-pycups)
1037 ("python-requests" ,python-requests)
1038 ("python-pycairo" ,python-pycairo)
1039 ("libnotify" ,libnotify)
1040 ("packagekit" ,packagekit)))
1041 (native-inputs
1042 `(("pkg-config" ,pkg-config)
1043 ("desktop-file-utils" ,desktop-file-utils)
1044 ("glib" ,glib)
1045 ("autoconf" ,autoconf)
1046 ("automake" ,automake)
1047 ("intltool" ,intltool)
1048 ("xmlto" ,xmlto)
1049 ("docbook-xml" ,docbook-xml-4.1.2)
1050 ("docbook-xsl" ,docbook-xsl)
1051 ("libxml2" ,libxml2)))
1052 (home-page "https://github.com/zdohnal/system-config-printer")
1053 (synopsis "CUPS administration tool")
1054 (description
1055 "system-config-printer is a CUPS administration tool. It's written in
1056Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1057configuring CUPS.")
1058 (license license:gpl2+)))
1059
bef4dd92
AE
1060(define-public hicolor-icon-theme
1061 (package
1062 (name "hicolor-icon-theme")
851cb6dd 1063 (version "0.17")
bef4dd92
AE
1064 (source
1065 (origin
1066 (method url-fetch)
5cc3096c 1067 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
b62a0070 1068 "hicolor-icon-theme-" version ".tar.xz"))
bef4dd92
AE
1069 (sha256
1070 (base32
851cb6dd 1071 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
bef4dd92
AE
1072 (build-system gnu-build-system)
1073 (arguments
1074 `(#:tests? #f)) ; no check target
57e7d748 1075 (home-page "https://icon-theme.freedesktop.org/releases/")
bef4dd92
AE
1076 (synopsis
1077 "Freedesktop icon theme")
1078 (description
1079 "Freedesktop icon theme.")
1dd26275 1080 (license license:gpl2)))
bef4dd92 1081
d9c1a22b
AE
1082(define-public libnotify
1083 (package
1084 (name "libnotify")
195bfa68 1085 (version "0.7.7")
d9c1a22b
AE
1086 (source
1087 (origin
1088 (method url-fetch)
1089 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1090 (version-major+minor version) "/"
d9c1a22b
AE
1091 name "-" version ".tar.xz"))
1092 (sha256
1093 (base32
195bfa68 1094 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
d9c1a22b
AE
1095 (build-system gnu-build-system)
1096 (inputs
1097 `(("gdk-pixbuf" ,gdk-pixbuf)
1098 ("glib" ,glib)
1099 ("gtk+" ,gtk+)
c4c4cc05
JD
1100 ("libpng" ,libpng)))
1101 (native-inputs
426adbe8 1102 `(("pkg-config" ,pkg-config)
277a7d82
JN
1103 ("glib" ,glib "bin")
1104 ("gobject-introspection" ,gobject-introspection)))
d9c1a22b
AE
1105 (home-page "https://developer-next.gnome.org/libnotify/")
1106 (synopsis
1107 "GNOME desktop notification library")
1108 (description
1109 "Libnotify is a library that sends desktop notifications to a
35b9e423 1110notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
1111notifications can be used to inform the user about an event or display
1112some form of information without getting in the user's way.")
1dd26275 1113 (license license:lgpl2.1+)))
7a8605ce
CR
1114
1115(define-public libpeas
1116 (package
1117 (name "libpeas")
db122a9b 1118 (version "1.22.0")
7a8605ce
CR
1119 (source
1120 (origin
1121 (method url-fetch)
1122 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1123 (version-major+minor version) "/"
7a8605ce
CR
1124 name "-" version ".tar.xz"))
1125 (sha256
1126 (base32
db122a9b 1127 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
7a8605ce 1128 (build-system gnu-build-system)
7a8605ce 1129 (inputs
2ed6522a
SB
1130 `(("gtk+" ,gtk+)
1131 ("glade" ,glade3)
2ed6522a
SB
1132 ("python" ,python)
1133 ("python-pygobject" ,python-pygobject)))
141aed80
LC
1134 (native-inputs
1135 `(("pkg-config" ,pkg-config)
93622993 1136 ("glib:bin" ,glib "bin")
141aed80
LC
1137 ("gobject-introspection" ,gobject-introspection)
1138 ("intltool" ,intltool)))
55b7bbd8
LC
1139 (propagated-inputs
1140 ;; The .pc file "Requires" gobject-introspection.
1141 `(("gobject-introspection" ,gobject-introspection)))
7a8605ce
CR
1142 (home-page "https://wiki.gnome.org/Libpeas")
1143 (synopsis "GObject plugin system")
1144 (description
d1e4ad1b
TGR
1145 "Libpeas is a gobject-based plugin engine, targeted at giving every
1146application the chance to assume its own extensibility. It also has a set of
1147features including, but not limited to: multiple extension points; on-demand
1148(lazy) programming language support for C, Python and JS; simplicity of the
1149API.")
1dd26275 1150 (license license:lgpl2.0+)))
ed19903d
JD
1151
1152(define-public gtkglext
1153 (package
1154 (name "gtkglext")
1155 (version "1.2.0")
1156 (source (origin
1157 (method url-fetch)
0f971a04 1158 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
ed19903d
JD
1159 version "/gtkglext-" version ".tar.gz"))
1160 (sha256
1161 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
fc1adab1
AK
1162 (patches (search-patches
1163 "gtkglext-disable-disable-deprecated.patch"))))
ed19903d 1164 (build-system gnu-build-system)
14e2f61a
RW
1165 (arguments
1166 `(#:phases
1167 (modify-phases %standard-phases
1168 ;; Fix a collision between a local variable and a definition from
1169 ;; glibc's string.h.
1170 (add-after 'unpack 'fix-collision
1171 (lambda _
1172 (substitute* "gdk/gdkglshapes.c"
1173 ((" index") " triangle_index"))
1174 #t)))))
ed19903d
JD
1175 (inputs `(("gtk+" ,gtk+-2)
1176 ("mesa" ,mesa)
cc8b02f4 1177 ("glu" ,glu)
ed19903d
JD
1178 ("libx11" ,libx11)
1179 ("libxt" ,libxt)))
426adbe8
LC
1180 (native-inputs `(("pkg-config" ,pkg-config)
1181 ("glib" ,glib "bin")))
a83b6a06 1182 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 1183 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 1184 (synopsis "OpenGL extension to GTK+")
35b9e423 1185 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
1186additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1187API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 1188 (license license:lgpl2.1+)))
3600420e
JD
1189
1190(define-public glade3
1191 (package
1192 (name "glade")
ac25f597 1193 (version "3.20.2")
b38e45d8
EB
1194 (source (origin
1195 (method url-fetch)
1196 (uri (string-append "mirror://gnome/sources/" name "/"
1197 (version-major+minor version) "/"
f5ca44b8 1198 name "-" version ".tar.xz"))
3600420e 1199 (sha256
f714d9fe 1200 (base32
ac25f597 1201 "1vdbqqvf6nrkqml4awrq4pzfwsm5v39wdzg943nys6lmf1am9l87"))))
6983ba56 1202 (build-system glib-or-gtk-build-system)
f5ca44b8
RW
1203 (arguments
1204 `(#:tests? #f ; needs X, GL, and software rendering
1205 #:phases
1206 (modify-phases %standard-phases
1207 (add-before 'configure 'fix-docbook
1208 (lambda* (#:key inputs #:allow-other-keys)
1209 (substitute* "man/Makefile.in"
1210 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1211 (string-append (assoc-ref inputs "docbook-xsl")
1212 "/xml/xsl/docbook-xsl-"
1213 ,(package-version docbook-xsl)
1214 "/manpages/docbook.xsl")))
1215 #t)))))
3600420e 1216 (inputs
f5ca44b8 1217 `(("gtk+" ,gtk+)
3600420e
JD
1218 ("libxml2" ,libxml2)))
1219 (native-inputs
1220 `(("intltool" ,intltool)
f5ca44b8
RW
1221 ("itstool" ,itstool)
1222 ("libxslt" ,libxslt) ;for xsltproc
1223 ("docbook-xml" ,docbook-xml-4.2)
1224 ("docbook-xsl" ,docbook-xsl)
1225 ("python" ,python-2)
3600420e
JD
1226 ("pkg-config" ,pkg-config)))
1227 (home-page "https://glade.gnome.org")
1228 (synopsis "GTK+ rapid application development tool")
1229 (description "Glade is a rapid application development (RAD) tool to
1230enable quick & easy development of user interfaces for the GTK+ toolkit and
1231the GNOME desktop environment.")
1dd26275
LC
1232 (license license:lgpl2.0+)))
1233
1234(define-public libcroco
1235 (package
1236 (name "libcroco")
15d34a18 1237 (version "0.6.12")
1dd26275
LC
1238 (source (origin
1239 (method url-fetch)
b38e45d8
EB
1240 (uri (string-append "mirror://gnome/sources/" name "/"
1241 (version-major+minor version) "/"
1242 name "-" version ".tar.xz"))
15d34a18
MB
1243 (patches
1244 (search-patches "libcroco-CVE-2017-7960.patch"
1245 "libcroco-CVE-2017-7961.patch"))
1dd26275
LC
1246 (sha256
1247 (base32
15d34a18 1248 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1dd26275
LC
1249 (build-system gnu-build-system)
1250 (native-inputs
1251 `(("pkg-config" ,pkg-config)))
1252 (inputs
1253 `(("glib" ,glib)
1254 ("libxml2" ,libxml2)
1255 ("zlib" ,zlib)))
1256 (home-page "https://github.com/GNOME/libcroco")
1257 (synopsis "CSS2 parsing and manipulation library")
1258 (description
1259 "Libcroco is a standalone CSS2 parsing and manipulation library.
1260The parser provides a low level event driven SAC-like API and a CSS object
1261model like API. Libcroco provides a CSS2 selection engine and an experimental
1262XML/CSS rendering engine.")
1263
1264 ;; LGPLv2.1-only.
1265 (license license:lgpl2.1)))
25178594
LC
1266
1267(define-public libgsf
1268 (package
1269 (name "libgsf")
16b1effb 1270 (version "1.14.44")
25178594
LC
1271 (source (origin
1272 (method url-fetch)
b38e45d8
EB
1273 (uri (string-append "mirror://gnome/sources/" name "/"
1274 (version-major+minor version) "/"
1275 name "-" version ".tar.xz"))
25178594
LC
1276 (sha256
1277 (base32
16b1effb 1278 "1ppzfk3zmmgrg9jh8vc4dacddbfngjslq2wpj94pcr3i0c8dxgk8"))))
25178594
LC
1279 (build-system gnu-build-system)
1280 (native-inputs
1281 `(("intltool" ,intltool)
1282 ("pkg-config" ,pkg-config)))
1283 (inputs
1284 `(("python" ,python)
1285 ("zlib" ,zlib)
1286 ("bzip2" ,bzip2)))
1287 (propagated-inputs
1288 `(("gdk-pixbuf" ,gdk-pixbuf)
1289 ("glib" ,glib)
1290 ("libxml2" ,libxml2)))
f032d0be 1291 (home-page "https://www.gnome.org/projects/libgsf")
25178594
LC
1292 (synopsis "GNOME's Structured File Library")
1293 (description
1294 "Libgsf aims to provide an efficient extensible I/O abstraction for
1295dealing with different structured file formats.")
1296
1297 ;; LGPLv2.1-only.
1298 (license license:lgpl2.1)))
63016e7c
LC
1299
1300(define-public librsvg
1301 (package
1302 (name "librsvg")
e1454e0e 1303 (version "2.40.20")
63016e7c
LC
1304 (source (origin
1305 (method url-fetch)
b38e45d8
EB
1306 (uri (string-append "mirror://gnome/sources/" name "/"
1307 (version-major+minor version) "/"
1308 name "-" version ".tar.xz"))
63016e7c
LC
1309 (sha256
1310 (base32
e1454e0e 1311 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
63016e7c
LC
1312 (build-system gnu-build-system)
1313 (arguments
ce2df078 1314 `(#:phases
b6239e45
EF
1315 (modify-phases %standard-phases
1316 (add-before 'configure 'pre-configure
1317 (lambda* (#:key inputs #:allow-other-keys)
1318 (substitute* "gdk-pixbuf-loader/Makefile.in"
1319 ;; By default the gdk-pixbuf loader is installed under
1320 ;; gdk-pixbuf's prefix. Work around that.
1321 (("gdk_pixbuf_moduledir = .*$")
1322 (string-append "gdk_pixbuf_moduledir = "
1323 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1324 "loaders\n"))
1325 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1326 (("gdk_pixbuf_cache_file = .*$")
1327 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1328 #t))
64a153bd 1329 (add-after 'unpack 'remove-failing-tests
b6239e45 1330 (lambda _
64a153bd
MW
1331 (with-directory-excursion "tests/fixtures/reftests"
1332 (for-each delete-file
1333 '(;; This test fails on i686:
1334 "svg1.1/masking-path-04-b.svg"
1335 "svg1.1/masking-path-04-b-ref.png"
1336 ;; This test fails on armhf:
1337 "svg1.1/masking-mask-01-b.svg"
1338 "svg1.1/masking-mask-01-b-ref.png"
1339 ;; This test fails on aarch64:
1340 "bugs/777834-empty-text-children.svg"
1341 "bugs/777834-empty-text-children-ref.png")))
b6239e45 1342 #t)))))
63016e7c
LC
1343 (native-inputs
1344 `(("pkg-config" ,pkg-config)
44add1ce 1345 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
1346 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1347 (inputs
1348 `(("pango" ,pango)
1349 ("libcroco" ,libcroco)
1350 ("bzip2" ,bzip2)
1351 ("libgsf" ,libgsf)
1352 ("libxml2" ,libxml2)))
1353 (propagated-inputs
1354 ;; librsvg-2.0.pc refers to all of that.
1355 `(("cairo" ,cairo)
1356 ("gdk-pixbuf" ,gdk-pixbuf)
1357 ("glib" ,glib)))
1358 (home-page "https://wiki.gnome.org/LibRsvg")
1359 (synopsis "Render SVG files using Cairo")
1360 (description
35b9e423 1361 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c
LC
1362library.")
1363 (license license:lgpl2.0+)))
5698b8b8
JD
1364
1365(define-public libidl
1366 (package
1367 (name "libidl")
1368 (version "0.8.14")
1369 (source (origin
1370 (method url-fetch)
1371 (uri (let ((upstream-name "libIDL"))
b38e45d8
EB
1372 (string-append "mirror://gnome/sources/" upstream-name "/"
1373 (version-major+minor version) "/"
1374 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
1375 (sha256
1376 (base32
1377 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1378 (build-system gnu-build-system)
1379 (inputs `(("glib" ,glib)))
1380 (native-inputs
1381 `(("pkg-config" ,pkg-config)
b3546174 1382 ("flex" ,flex)
5698b8b8
JD
1383 ("bison" ,bison)))
1384 (home-page "http://freecode.com/projects/libidl")
1385 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 1386 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
1387Definition Language (idl) files, which is a specification for defining
1388portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 1389GNOME project, and the primary means of libidl distribution). However, the
2e6ecc5c 1390functionality was designed to be as reusable and portable as possible.")
5698b8b8
JD
1391 (license license:lgpl2.0+)))
1392
1393
1394(define-public orbit2
1395 (package
1396 (name "orbit2")
1397 (version "2.14.19")
1398 (source (origin
1399 (method url-fetch)
2e6ecc5c 1400 (uri (let ((upstream-name "ORBit2"))
a124bbd2 1401 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
1402 (version-major+minor version) "/"
1403 upstream-name "-" version ".tar.bz2")))
5698b8b8 1404 (sha256
a124bbd2
SB
1405 (base32
1406 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
5698b8b8
JD
1407 (build-system gnu-build-system)
1408 (arguments
a124bbd2 1409 `(#:configure-flags
8aad2e32
LC
1410 '(;; We don't need static libraries, plus they don't build reproducibly
1411 ;; (non-deterministic ordering of .o files in the archive.)
1412 "--disable-static"
1413
1414 ;; The programmer kindly gives us a hook to turn off deprecation
1415 ;; warnings ...
1416 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
a124bbd2
SB
1417 ;; ... which they then completly ignore !!
1418 #:phases
dc1d3cde
KK
1419 (modify-phases %standard-phases
1420 (add-before 'configure 'ignore-deprecations
1421 (lambda _
1422 (substitute* "linc2/src/Makefile.in"
1423 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1424 #t)))))
5698b8b8
JD
1425 (inputs `(("glib" ,glib)
1426 ("libidl" ,libidl)))
1427 (native-inputs
1428 `(("pkg-config" ,pkg-config)))
1429 (home-page "https://projects.gnome.org/orbit2/")
1430 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 1431 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2e6ecc5c 1432featuring mature C, C++ and Python bindings.")
a124bbd2
SB
1433 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1434 ;; a version. SOME of the code files have licence notices for GPLv2+.
1435 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
892307ae
LC
1436 (license license:gpl2+)
1437 (properties `((upstream-name . "ORBit2")))))
5698b8b8
JD
1438
1439
1440(define-public libbonobo
1441 (package
1442 (name "libbonobo")
1443 (version "2.32.1")
1444 (source (origin
1445 (method url-fetch)
5becd025 1446 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 1447 (version-major+minor version)
5becd025 1448 "/" name "-" version ".tar.bz2"))
5698b8b8 1449 (sha256
f1fc45a9 1450 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
fc1adab1
AK
1451 (patches (search-patches
1452 "libbonobo-activation-test-race.patch"))))
5698b8b8
JD
1453 (build-system gnu-build-system)
1454 (arguments
1455 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
1456 `(#:configure-flags
1457 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1458 ;; ... which they then completly ignore !!
1459 #:phases
dc1d3cde
KK
1460 (modify-phases %standard-phases
1461 (add-before 'configure 'ignore-deprecations
1462 (lambda _
1463 (substitute* "activation-server/Makefile.in"
1464 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
994b5b1d
LC
1465 #t)))
1466
1467 ;; There's apparently a race condition between the server stub
1468 ;; generation and linking of the example under 'samples/echo' that can
1469 ;; lead do undefined references when building in parallel, as reported
1470 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1471 ;; Thus, disable parallel builds.
1472 #:parallel-build? #f))
5698b8b8
JD
1473 (inputs `(("popt" ,popt)
1474 ("libxml2" ,libxml2)))
1475 ;; The following are Required by the .pc file
44add1ce 1476 (propagated-inputs
5698b8b8
JD
1477 `(("glib" ,glib)
1478 ("orbit2" ,orbit2)))
1479 (native-inputs
1480 `(("intltool" ,intltool)
1481 ("pkg-config" ,pkg-config)
221ed17a 1482 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1483 ("flex" ,flex)
1484 ("bison" ,bison)))
1485 (home-page "https://developer.gnome.org/libbonobo/")
1486 (synopsis "Framework for creating reusable components for use in GNOME applications")
1487 (description "Bonobo is a framework for creating reusable components for
2e6ecc5c 1488use in GNOME applications, built on top of CORBA.")
5698b8b8
JD
1489 ;; Licence not explicitly stated. Source files contain no licence notices.
1490 ;; Tarball contains text of both GPLv2 and LGPLv2
1491 ;; GPLv2 covers both conditions
1492 (license license:gpl2+)))
1493
1494
1495(define-public gconf
1496 (package
1497 (name "gconf")
1498 (version "3.2.6")
1499 (source (origin
1500 (method url-fetch)
a124bbd2
SB
1501 (uri
1502 (let ((upstream-name "GConf"))
1503 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
1504 (version-major+minor version) "/"
1505 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
1506 (sha256
1507 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1508 (build-system gnu-build-system)
2e88d113 1509 (inputs `(("dbus-glib" ,dbus-glib)
5698b8b8 1510 ("libxml2" ,libxml2)))
2e6ecc5c
AE
1511 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1512 ("orbit2" ,orbit2)))
5698b8b8
JD
1513 (native-inputs
1514 `(("intltool" ,intltool)
221ed17a 1515 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1516 ("pkg-config" ,pkg-config)))
1517 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
1518 (synopsis "Store application preferences")
1519 (description "Gconf is a system for storing application preferences. It
1520is intended for user preferences; not arbitrary data storage.")
29d2f451
LC
1521 (license license:lgpl2.0+)
1522 (properties '((upstream-name . "GConf")))))
5698b8b8
JD
1523
1524
1525(define-public gnome-mime-data
1526 (package
1527 (name "gnome-mime-data")
1528 (version "2.18.0")
1529 (source (origin
1530 (method url-fetch)
b38e45d8
EB
1531 (uri (string-append "mirror://gnome/sources/" name "/"
1532 (version-major+minor version) "/"
1533 name "-" version ".tar.bz2"))
5698b8b8
JD
1534 (sha256
1535 (base32
1536 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1537 (build-system gnu-build-system)
1538 (native-inputs
1539 `(("perl" ,perl)
1540 ("intltool" ,intltool)))
3e6add96
LC
1541 (arguments
1542 '(#:phases (modify-phases %standard-phases
1543 (add-after 'configure 'use-our-intltool
1544 (lambda _
1545 ;; Do not use the bundled intltool commands, which lack
1546 ;; the "dotless @INC" fixes of our 'intltool' package.
1547 (substitute* (find-files "." "^Makefile$")
1548 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1549 (string-append "INTLTOOL_" tool " = intltool-"
1550 (string-downcase tool) "\n")))
1551 #t)))))
f032d0be 1552 (home-page "https://www.gnome.org")
35b9e423 1553 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
1554 (description "GNOME Mime Data is a module which contains the base MIME
1555and Application database for GNOME. The data stored by this module is
1556designed to be accessed through the MIME functions in GnomeVFS.")
1557 (license license:gpl2+)))
1558
1559
1560(define-public gnome-vfs
1561 (package
1562 (name "gnome-vfs")
1563 (version "2.24.4")
1564 (source (origin
1565 (method url-fetch)
b38e45d8
EB
1566 (uri (string-append "mirror://gnome/sources/" name "/"
1567 (version-major+minor version) "/"
1568 name "-" version ".tar.bz2"))
5698b8b8 1569 (sha256
9e12bc34
MW
1570 (base32
1571 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
5698b8b8
JD
1572 (build-system gnu-build-system)
1573 (arguments
db5127d8 1574 `(#:phases
dc1d3cde
KK
1575 (modify-phases %standard-phases
1576 (add-before 'configure 'ignore-deprecations
1577 (lambda _
1578 (substitute* '("libgnomevfs/Makefile.in"
1579 "daemon/Makefile.in")
1580 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1581 #t))
1582 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1583 (lambda _
1584 (substitute* "test/test-async-cancel.c"
1585 (("EXIT_FAILURE") "77"))
1586 #t)))))
2e6ecc5c 1587 (inputs `(("libxml2" ,libxml2)
5698b8b8 1588 ("dbus-glib" ,dbus-glib)
5698b8b8
JD
1589 ("gconf" ,gconf)
1590 ("gnome-mime-data" ,gnome-mime-data)
1591 ("zlib" ,zlib)))
1592 (native-inputs
221ed17a
EB
1593 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1594 ("intltool" ,intltool)
5698b8b8
JD
1595 ("pkg-config" ,pkg-config)))
1596 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 1597 (synopsis "Access files and folders in GNOME applications")
9e12bc34
MW
1598 (description
1599 "GnomeVFS is the core library used to access files and folders in GNOME
1600applications. It provides a file system abstraction which allows applications
1601to access local and remote files with a single consistent API.")
5698b8b8
JD
1602 (license license:lgpl2.0+)))
1603
1604
1605
1606(define-public libgnome
1607 (package
1608 (name "libgnome")
1609 (version "2.32.1")
1610 (source (origin
1611 (method url-fetch)
b38e45d8
EB
1612 (uri (string-append "mirror://gnome/sources/" name "/"
1613 (version-major+minor version) "/"
1614 name "-" version ".tar.bz2"))
5698b8b8
JD
1615 (sha256
1616 (base32
17c3eea7
LC
1617 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1618 (patches (search-patches "libgnome-encoding.patch"))))
5698b8b8
JD
1619 (build-system gnu-build-system)
1620 (arguments
1621 `(#:phases
dc1d3cde
KK
1622 (modify-phases %standard-phases
1623 (add-before 'configure 'enable-deprecated
1624 (lambda _
1625 (substitute* "libgnome/Makefile.in"
1626 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1627 #t)))))
25338e9f 1628 (inputs `(("libxml2" ,libxml2)))
5698b8b8 1629 (native-inputs
221ed17a
EB
1630 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1631 ("intltool" ,intltool)
5698b8b8
JD
1632 ("pkg-config" ,pkg-config)))
1633 ;; The following are listed as Required in the .pc file
1634 ;; (except for libcanberra -- which seems to be oversight on the part
1635 ;; of the upstream developers -- anything that links against libgnome,
1636 ;; must also link against libcanberra
1637 (propagated-inputs
1638 `(("libcanberra" ,libcanberra)
1639 ("libbonobo" ,libbonobo)
1640 ("gconf" ,gconf)
a640d3d5
LC
1641 ("gnome-vfs" ,gnome-vfs)
1642 ("popt" ,popt))) ;gnome-program.h includes popt.h
5698b8b8
JD
1643 (home-page "https://developer.gnome.org/libgnome/")
1644 (synopsis "Useful routines for building applications")
1645 (description "The libgnome library provides a number of useful routines
1646for building modern applications, including session management, activation of
1647files and URIs, and displaying help.")
1648 (license license:lgpl2.0+)))
1649
1650
1651(define-public libart-lgpl
1652 (package
1653 (name "libart-lgpl")
76c9b6aa 1654 (version "2.3.21")
5698b8b8
JD
1655 (source (origin
1656 (method url-fetch)
1657 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
1658 (string-append "mirror://gnome/sources/" upstream-name "/"
1659 (version-major+minor version) "/"
1660 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
1661 (sha256
1662 (base32
76c9b6aa 1663 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
1664 (build-system gnu-build-system)
1665 (native-inputs
1666 `(("pkg-config" ,pkg-config)))
1667 (home-page "https://people.gnome.org/~mathieu/libart")
1668 (synopsis "2D drawing library")
2e6ecc5c 1669 (description "Libart is a 2D drawing library intended as a
5698b8b8
JD
1670high-quality vector-based 2D library with antialiasing and alpha composition.")
1671 (license license:lgpl2.0+)))
1672
1673
1674
1675(define-public libgnomecanvas
1676 (package
1677 (name "libgnomecanvas")
1678 (version "2.30.3")
1679 (source (origin
1680 (method url-fetch)
b38e45d8
EB
1681 (uri (string-append "mirror://gnome/sources/" name "/"
1682 (version-major+minor version) "/"
1683 name "-" version ".tar.gz"))
5698b8b8
JD
1684 (sha256
1685 (base32
1686 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1687 (build-system gnu-build-system)
1688 ;; Mentioned as Required in the .pc file
1689 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1690 ("gtk+" ,gtk+-2)))
1691 (native-inputs
1692 `(("intltool" ,intltool)
221ed17a 1693 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1694 ("pkg-config" ,pkg-config)))
1695 (home-page "https://developer.gnome.org/libgnomecanvas/")
1696 (synopsis "Flexible widget for creating interactive structured graphics")
1697 (description "The GnomeCanvas widget provides a flexible widget for
1698creating interactive structured graphics.")
1699 (license license:lgpl2.0+)))
1700
eadc734e
RW
1701(define-public libgnomecanvasmm
1702 (package
1703 (name "libgnomecanvasmm")
1704 (version "2.26.0")
1705 (source (origin
1706 (method url-fetch)
1707 (uri (string-append "mirror://gnome/sources/" name "/"
1708 (version-major+minor version) "/"
1709 name "-" version ".tar.bz2"))
1710 (sha256
1711 (base32
1712 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1713 (build-system gnu-build-system)
6e4512c4
SB
1714 (arguments
1715 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
eadc734e
RW
1716 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1717 (native-inputs
1718 `(("gtkmm-2" ,gtkmm-2)
1719 ("pkg-config" ,pkg-config)))
8e933cb3 1720 (home-page "https://gtkmm.org")
eadc734e
RW
1721 (synopsis "C++ bindings to the GNOME Canvas library")
1722 (description "C++ bindings to the GNOME Canvas library.")
1723 (license license:lgpl2.0+)))
1724
5698b8b8
JD
1725(define-public libgnomeui
1726 (package
1727 (name "libgnomeui")
1728 (version "2.24.5")
1729 (source (origin
1730 (method url-fetch)
b38e45d8
EB
1731 (uri (string-append "mirror://gnome/sources/" name "/"
1732 (version-major+minor version) "/"
1733 name "-" version ".tar.bz2"))
8fa1872a 1734 (patches (search-patches "libgnomeui-utf8.patch"))
5698b8b8
JD
1735 (sha256
1736 (base32
1737 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1738 (build-system gnu-build-system)
1739 ;; Mentioned as Required in the .pc file
0a38a497
AE
1740 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1741 ("libgnome" ,libgnome)
1742 ("libgnomecanvas" ,libgnomecanvas)
5698b8b8 1743 ("libgnome-keyring" ,libgnome-keyring)))
0a38a497 1744 (inputs `(("libjpeg" ,libjpeg)
5698b8b8
JD
1745 ("popt" ,popt)
1746 ("libbonobo" ,libbonobo)
1747 ("libxml2" ,libxml2)
1748 ("libglade" ,libglade)))
1749 (native-inputs
221ed17a
EB
1750 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1751 ("intltool" ,intltool)
5698b8b8
JD
1752 ("pkg-config" ,pkg-config)))
1753 (home-page "https://developer.gnome.org/libgnomeui/")
1754 (synopsis "Additional widgets for applications")
35b9e423 1755 (description "The libgnomeui library provides additional widgets for
e881752c
AK
1756applications. Many of the widgets from libgnomeui have already been
1757ported to GTK+.")
5698b8b8
JD
1758 (license license:lgpl2.0+)))
1759
1760(define-public libglade
1761 (package
1762 (name "libglade")
1763 (version "2.6.4")
1764 (source (origin
1765 (method url-fetch)
b38e45d8
EB
1766 (uri (string-append "mirror://gnome/sources/" name "/"
1767 (version-major+minor version) "/"
1768 name "-" version ".tar.bz2"))
5698b8b8
JD
1769 (sha256
1770 (base32
1771 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1772 (build-system gnu-build-system)
1773 (inputs
92dcc23d
AE
1774 `(("python" ,python))) ;; needed for the optional libglade-convert program
1775 (propagated-inputs
5698b8b8 1776 `(("gtk+-2" ,gtk+-2)
92dcc23d 1777 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
5698b8b8
JD
1778 (native-inputs
1779 `(("pkg-config" ,pkg-config)))
1780 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
1781 (synopsis "Load glade interfaces and access the glade built widgets")
1782 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
1783graphical interfaces described in glade files and for accessing the
1784widgets built in the loading process.")
1785 (license license:gpl2+))) ; This is correct. GPL not LGPL
1786
1787(define-public libgnomeprint
eb497b66
LC
1788 ;; This library has been deprecated since 2006; see
1789 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
1790 (package
1791 (name "libgnomeprint")
1792 (version "2.8.2")
1793 (source (origin
1794 (method url-fetch)
b38e45d8
EB
1795 (uri (string-append "mirror://gnome/sources/" name "/"
1796 (version-major+minor version) "/"
1797 name "-" version ".tar.bz2"))
5698b8b8
JD
1798 (sha256
1799 (base32
6983ba56 1800 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
5698b8b8
JD
1801 (build-system gnu-build-system)
1802 (inputs
1803 `(("popt" ,popt)
1804 ("libart-lgpl" ,libart-lgpl)
1805 ("gtk+" ,gtk+-2)
44add1ce 1806 ("libxml2" ,libxml2)))
5698b8b8
JD
1807 (native-inputs
1808 `(("intltool" ,intltool)
221ed17a 1809 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1810 ("pkg-config" ,pkg-config)))
1811 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 1812 (synopsis "Printing framework for GNOME")
eb497b66
LC
1813 (description
1814 "GNOME-print was a printing framework for GNOME. It has been deprecated
1815since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
1816 (license license:lgpl2.0+)))
1817
1818
1819(define-public libgnomeprintui
eb497b66 1820 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
1821 (package
1822 (name "libgnomeprintui")
1823 (version "2.8.2")
1824 (source (origin
1825 (method url-fetch)
b38e45d8
EB
1826 (uri (string-append "mirror://gnome/sources/" name "/"
1827 (version-major+minor version) "/"
1828 name "-" version ".tar.bz2"))
5698b8b8
JD
1829 (sha256
1830 (base32
1831 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1832 (build-system gnu-build-system)
1833 ;; Mentioned as Required in the .pc file
1834 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1835 (inputs `(("gtk+" ,gtk+-2)
1836 ("glib" ,glib)
1837 ("gnome-icon-theme" ,gnome-icon-theme)
1838 ("libgnomecanvas" ,libgnomecanvas)
2e6ecc5c 1839 ("libxml2" ,libxml2)))
5698b8b8
JD
1840 (native-inputs
1841 `(("intltool" ,intltool)
1842 ("pkg-config" ,pkg-config)))
1843 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1844 (synopsis "Printing framework for GNOME")
eb497b66 1845 (description (package-description libgnomeprint))
5698b8b8
JD
1846 (license license:lgpl2.0+)))
1847
5698b8b8
JD
1848(define-public libbonoboui
1849 (package
1850 (name "libbonoboui")
1851 (version "2.24.5")
1852 (source (origin
1853 (method url-fetch)
b38e45d8
EB
1854 (uri (string-append "mirror://gnome/sources/" name "/"
1855 (version-major+minor version) "/"
1856 name "-" version ".tar.bz2"))
5698b8b8
JD
1857 (sha256
1858 (base32
1859 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1860 (build-system gnu-build-system)
1861 (arguments
1862 `(#:phases
dc1d3cde
KK
1863 (modify-phases %standard-phases
1864 (add-before 'check 'start-xserver
1865 (lambda* (#:key inputs #:allow-other-keys)
1866 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1867 (disp ":1"))
1868
1869 (setenv "HOME" (getcwd))
1870 (setenv "DISPLAY" disp)
1871 ;; There must be a running X server and make check doesn't start one.
1872 ;; Therefore we must do it.
1873 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
5698b8b8
JD
1874 ;; Mentioned as Required by the .pc file
1875 (propagated-inputs `(("libxml2" ,libxml2)))
1876 (inputs
1877 `(("popt" ,popt)
1878 ("pangox-compat" ,pangox-compat)
1879 ("libgnome" ,libgnome)
1880 ("libgnomecanvas" ,libgnomecanvas)
1881 ("libglade" ,libglade)))
1882 (native-inputs
221ed17a
EB
1883 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1884 ("intltool" ,intltool)
5698b8b8
JD
1885 ("xorg-server" ,xorg-server) ; For running the tests
1886 ("pkg-config" ,pkg-config)))
1887 (home-page "https://developer.gnome.org/libbonoboui/")
1888 (synopsis "Some user interface controls using Bonobo")
1889 (description "The Bonobo UI library provides a number of user interface
1890controls using the Bonobo component framework.")
1891 (license license:lgpl2.0+)))
1892
fecbf86e
SB
1893(define-public libwnck
1894 (package
1895 (name "libwnck")
ad9b8987 1896 (version "3.24.1")
fecbf86e
SB
1897 (source (origin
1898 (method url-fetch)
1899 (uri (string-append "mirror://gnome/sources/" name "/"
1900 (version-major+minor version) "/"
1901 name "-" version ".tar.xz"))
1902 (sha256
ad9b8987
KK
1903 (base32
1904 "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg"))))
fecbf86e
SB
1905 (build-system gnu-build-system)
1906 (native-inputs
1907 `(("pkg-config" ,pkg-config)
1908 ("intltool" ,intltool)))
1909 (propagated-inputs
427476d5
SB
1910 `(("gtk+" ,gtk+)
1911 ("libxres" ,libxres)
1912 ("startup-notification" ,startup-notification)))
fecbf86e
SB
1913 (home-page "https://developer.gnome.org/libwnck/")
1914 (synopsis "Window Navigator Construction Kit")
1915 (description
1916 "Libwnck is the Window Navigator Construction Kit, a library for use in
1917writing pagers, tasklists, and more generally applications that are dealing
1918with window management. It tries hard to respect the Extended Window Manager
1919Hints specification (EWMH).")
1920 (license license:lgpl2.0+)))
1921
1922;; stable version for gtk2, required by xfwm4.
dbb7a081 1923(define-public libwnck-2
fecbf86e
SB
1924 (package (inherit libwnck)
1925 (name "libwnck")
1926 (version "2.30.7")
1927 (source (origin
1928 (method url-fetch)
1929 (uri (string-append "mirror://gnome/sources/" name "/"
1930 (version-major+minor version) "/"
1931 name "-" version ".tar.xz"))
1932 (sha256
1933 (base32
1934 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1935 (propagated-inputs
427476d5
SB
1936 `(("gtk+" ,gtk+-2)
1937 ("libxres" ,libxres)
1938 ("startup-notification" ,startup-notification)))))
b804c61e
JD
1939
1940(define-public goffice
1941 (package
1942 (name "goffice")
0528f70d 1943 (version "0.10.44")
b804c61e
JD
1944 (source (origin
1945 (method url-fetch)
b38e45d8
EB
1946 (uri (string-append "mirror://gnome/sources/" name "/"
1947 (version-major+minor version) "/"
1948 name "-" version ".tar.xz"))
b804c61e 1949 (sha256
0528f70d 1950 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
b804c61e 1951 (build-system gnu-build-system)
72a06d3e 1952 (outputs '("out"
0528f70d 1953 "doc")) ;4.0 MiB of gtk-doc
72a06d3e
LC
1954 (arguments
1955 '(#:configure-flags (list (string-append "--with-html-dir="
1956 (assoc-ref %outputs "doc")
1957 "/share/gtk-doc/html"))))
b804c61e
JD
1958 (inputs
1959 `(("gtk+" ,gtk+)
1960 ("libgsf" ,libgsf)
1961 ("librsvg" ,librsvg)
1962 ("libxslt" ,libxslt)
1963 ("libxml2" ,libxml2)))
1964 (native-inputs
1965 `(("intltool" ,intltool)
f280cdb1 1966 ("glib" ,glib "bin")
b804c61e
JD
1967 ("pkg-config" ,pkg-config)))
1968 (home-page "https://developer.gnome.org/goffice/")
1969 (synopsis "Document-centric objects and utilities")
1970 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 1971 (license
b804c61e
JD
1972 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1973 ;; Note: NOT LGPL
1974 (list license:gpl2 license:gpl3))))
1975
c024ae36
RW
1976(define-public goffice-0.8
1977 (package (inherit goffice)
1978 (version "0.8.17")
1979 (source (origin
1980 (method url-fetch)
1981 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1982 (version-major+minor version) "/"
1983 (package-name goffice) "-" version ".tar.xz"))
1984 (sha256
1985 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1986 (arguments
1987 `(#:phases
dc1d3cde
KK
1988 (modify-phases %standard-phases
1989 (add-after 'unpack 'fix-pcre-check
1990 (lambda _
1991 ;; Only glib.h can be included directly. See
1992 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1993 (substitute* "configure"
1994 (("glib/gregex\\.h") "glib.h")) #t)))
72a06d3e
LC
1995
1996 ,@(package-arguments goffice)))
c024ae36
RW
1997 (propagated-inputs
1998 ;; libgoffice-0.8.pc mentions libgsf-1
1999 `(("libgsf" ,libgsf)))
2000 (inputs
2001 `(("gtk" ,gtk+-2)
2002 ,@(alist-delete "gtk" (package-inputs goffice))))))
2003
b804c61e
JD
2004(define-public gnumeric
2005 (package
2006 (name "gnumeric")
d655f39c 2007 (version "1.12.36")
b804c61e
JD
2008 (source (origin
2009 (method url-fetch)
b38e45d8
EB
2010 (uri (string-append "mirror://gnome/sources/" name "/"
2011 (version-major+minor version) "/"
2012 name "-" version ".tar.xz"))
b804c61e
JD
2013 (sha256
2014 (base32
d655f39c 2015 "0j28qpbz9a9p80x27kcwxl5n1hf36nn2fa7dxwrbhcdx4rgy5grw"))))
bd1b1e05 2016 (build-system glib-or-gtk-build-system)
b804c61e
JD
2017 (arguments
2018 `(;; The gnumeric developers don't worry much about failing tests.
2019 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 2020 #:tests? #f
b804c61e 2021 #:phases
7bcbd40d
EF
2022 (modify-phases %standard-phases
2023 (add-before
2024 'configure 'pre-conf
2025 (lambda* (#:key outputs #:allow-other-keys)
2026 ;; Make install tries to write into the directory of goffice
2027 ;; I am informed that this only affects the possibility to embed a
2028 ;; spreadsheet inside an Abiword document. So presumably when we
2029 ;; package Abiword we'll have to refer it to this directory.
2030 (substitute* "configure"
2031 (("^GOFFICE_PLUGINS_DIR=.*")
2032 (string-append "GOFFICE_PLUGINS_DIR="
2033 (assoc-ref outputs "out")
2034 "/goffice/plugins"))))))))
b804c61e
JD
2035 (inputs
2036 `(("glib" ,glib)
2037 ("gtk+" ,gtk+)
2038 ("goffice" ,goffice)
2039 ("libgsf" ,libgsf)
7bcbd40d 2040 ("librsvg" ,librsvg)
b804c61e 2041 ("libxml2" ,libxml2)
7bcbd40d 2042 ("libxslt" ,libxslt)
2e4c5457 2043 ("python" ,python-2)
6983ba56 2044 ("python2-pygobject" ,python2-pygobject)
b804c61e
JD
2045 ("zlib" ,zlib)))
2046 (native-inputs
6983ba56 2047 `(("bison" ,bison)
1ed398d1 2048 ("docbook-xml" ,docbook-xml)
6983ba56 2049 ("intltool" ,intltool)
1ed398d1 2050 ("itstool" ,itstool)
b9663471 2051 ("glib:bin" ,glib "bin")
b804c61e
JD
2052 ("pkg-config" ,pkg-config)))
2053 (home-page "http://www.gnumeric.org")
66672a45
LC
2054 (synopsis "Spreadsheet application")
2055 (description
2056 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2057interoperable with other spreadsheet applications. It has a vast array of
2058features beyond typical spreadsheet functionality, such as support for linear
2059and non-linear solvers, statistical analysis, and telecommunication
2060engineering.")
2061 (license
b804c61e
JD
2062 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2063 (list license:gpl2 license:gpl3))))
6f885c05
FB
2064
2065(define-public gnome-themes-standard
2066 (package
2067 (name "gnome-themes-standard")
0b7b8fb0 2068 (version "3.22.3")
6f885c05
FB
2069 (source
2070 (origin
2071 (method url-fetch)
2e6ecc5c 2072 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
2073 (version-major+minor version) "/" name "-"
2074 version ".tar.xz"))
2075 (sha256
2076 (base32
0b7b8fb0 2077 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
6f885c05 2078 (build-system gnu-build-system)
8ac70c7f
SB
2079 (arguments
2080 '(#:configure-flags
2081 ;; Don't create 'icon-theme.cache'.
2082 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2083 (true (string-append coreutils "/bin/true")))
2084 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
6f885c05
FB
2085 (inputs
2086 `(("gtk+" ,gtk+)
2087 ("gtk+-2" ,gtk+-2)
2088 ("librsvg" ,librsvg)
2089 ("libxml2" ,libxml2)
2090 ("glib" ,glib)))
2091 (native-inputs
2092 `(("intltool" ,intltool)
2093 ("glib:bin" ,glib "bin")
2094 ("pkg-config" ,pkg-config)))
6f885c05
FB
2095 (home-page "https://launchpad.net/gnome-themes-standard")
2096 (synopsis "Default GNOME 3 themes")
2097 (description
2098 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2099 (license license:lgpl2.1+)))
5a659a48 2100
df90c701
RW
2101(define-public seahorse
2102 (package
2103 (name "seahorse")
6983ba56 2104 (version "3.20.0")
df90c701
RW
2105 (source
2106 (origin
2107 (method url-fetch)
2108 (uri (string-append "mirror://gnome/sources/" name "/"
2109 (version-major+minor version) "/" name "-"
2110 version ".tar.xz"))
2111 (sha256
2112 (base32
6983ba56 2113 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
df90c701
RW
2114 (build-system glib-or-gtk-build-system)
2115 (inputs
2116 `(("gtk+" ,gtk+)
2117 ("gcr" ,gcr)
34b979b9 2118 ("gnupg" ,gnupg)
df90c701 2119 ("gpgme" ,gpgme)
34b979b9 2120 ("openldap" ,openldap)
4a1bf090 2121 ("openssh" ,openssh)
34b979b9
EF
2122 ("libsecret" ,libsecret)
2123 ("libsoup" ,libsoup)))
df90c701
RW
2124 (native-inputs
2125 `(("intltool" ,intltool)
2126 ("glib:bin" ,glib "bin")
2127 ("itstool" ,itstool)
bcb354ad
SB
2128 ("pkg-config" ,pkg-config)
2129 ("xmllint" ,libxml2)))
df90c701
RW
2130 (home-page "https://launchpad.net/gnome-themes-standard")
2131 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2132 (description
2133 "Seahorse is a GNOME application for managing encryption keys and
2134passwords in the GNOME keyring.")
2135 (license license:gpl2+)))
2136
5a659a48
SB
2137(define-public vala
2138 (package
2139 (name "vala")
8f1022d0 2140 (version "0.40.9")
5a659a48
SB
2141 (source (origin
2142 (method url-fetch)
2143 (uri (string-append "mirror://gnome/sources/" name "/"
2144 (version-major+minor version) "/"
2145 name "-" version ".tar.xz"))
2146 (sha256
2147 (base32
8f1022d0 2148 "0yvaijkpahzz26sa37cyzbj75a9vbcbgvxbqzzb7hbcvfy009zy7"))))
5a659a48 2149 (build-system gnu-build-system)
1ea90625
SB
2150 (arguments
2151 '(#:phases
2152 (modify-phases %standard-phases
f4925a4f 2153 (add-before 'check 'pre-check
1ea90625
SB
2154 (lambda _
2155 (setenv "CC" "gcc")
8839b6be
RW
2156 (substitute* "valadoc/tests/testrunner.sh"
2157 (("export PKG_CONFIG_PATH=" m)
2158 (string-append m "$PKG_CONFIG_PATH:")))
f4925a4f
SB
2159 ;; For missing '/etc/machine-id'.
2160 (setenv "DBUS_FATAL_WARNINGS" "0")
8839b6be 2161 #t)))))
5a659a48
SB
2162 (native-inputs
2163 `(("pkg-config" ,pkg-config)
2164 ("flex" ,flex)
2165 ("bison" ,bison)
2166 ("xsltproc" ,libxslt)
8839b6be
RW
2167 ("grep" ,grep)
2168 ("sed" ,sed)
5a659a48
SB
2169 ("dbus" ,dbus) ; for dbus tests
2170 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
8839b6be
RW
2171 (inputs
2172 `(("graphviz" ,graphviz)))
5a659a48 2173 (propagated-inputs
8839b6be 2174 `(("glib" ,glib))) ; required by libvala-0.40.pc
f032d0be 2175 (home-page "https://live.gnome.org/Vala/")
5a659a48
SB
2176 (synopsis "Compiler for the GObject type system")
2177 (description
2178 "Vala is a programming language that aims to bring modern programming
2179language features to GNOME developers without imposing any additional runtime
2180requirements and without using a different ABI compared to applications and
2181libraries written in C.")
2182 (license license:lgpl2.1+)))
ea57378f
SB
2183
2184(define-public vte
2185 (package
2186 (name "vte")
80746f97 2187 (version "0.52.2")
ea57378f
SB
2188 (source (origin
2189 (method url-fetch)
2190 (uri (string-append "mirror://gnome/sources/" name "/"
2191 (version-major+minor version) "/"
2192 name "-" version ".tar.xz"))
2193 (sha256
2194 (base32
80746f97 2195 "1br6kg0wzf1wmww1hadihhcpqbamalqmbppfdzjvzk1ayp75f9hg"))))
ea57378f
SB
2196 (build-system gnu-build-system)
2197 (native-inputs
2198 `(("pkg-config" ,pkg-config)
2199 ("intltool" ,intltool)
2200 ("vala" ,vala)
2201 ("gobject-introspection" ,gobject-introspection)
2202 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
73f0e1ab 2203 ("gperf" ,gperf)
ea57378f
SB
2204 ("xmllint" ,libxml2)))
2205 (propagated-inputs
302393bc 2206 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
de1215e2
MW
2207 ("gnutls" ,gnutls) ;ditto
2208 ("pcre2" ,pcre2))) ;ditto
f032d0be 2209 (home-page "https://www.gnome.org/")
ea57378f
SB
2210 (synopsis "Virtual Terminal Emulator")
2211 (description
2212 "VTE is a library (libvte) implementing a terminal emulator widget for
2213GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2214gnome-terminal, but can also be used to embed a console/terminal in games,
2215editors, IDEs, etc.")
2216 (license license:lgpl2.1+)))
2217
c44fb4df
MO
2218(define-public vte-ng
2219 (package
2220 (inherit vte)
2221 (name "vte-ng")
b069c30b 2222 (version "0.54.2.a")
afd90f8d 2223 (home-page "https://github.com/thestinger/vte-ng")
6bc00737
MB
2224 (source (origin
2225 (method git-fetch)
2226 (uri (git-reference (url home-page) (commit version)))
2227 (file-name (git-file-name name version))
2228 (sha256
2229 (base32
b069c30b 2230 "1r7d9m07cpdr4f7rw3yx33hmp4jmsk0dn5byq5wgksb2qjbc4ags"))))
c44fb4df
MO
2231 (native-inputs
2232 `(("gtk-doc" ,gtk-doc)
011b858b 2233 ("gperf" ,gperf)
c44fb4df
MO
2234 ("autoconf" ,autoconf)
2235 ("automake" ,automake)
2236 ("libtool" ,libtool)
2237 ,@(package-native-inputs vte)))
c44fb4df 2238 (arguments
76c6bdc0
MB
2239 `(#:phases (modify-phases %standard-phases
2240 (replace 'bootstrap
c44fb4df
MO
2241 (lambda _
2242 (setenv "NOCONFIGURE" "true")
e1d887fb 2243 (invoke "sh" "autogen.sh"))))))
c44fb4df
MO
2244 (synopsis "Enhanced VTE terminal widget")
2245 (description
2246 "VTE is a library (libvte) implementing a terminal emulator widget for
2247GTK+, this fork provides additional functions exposed for keyboard text
2248selection and URL hints.")))
2249
2776d72c
EF
2250;; provides vte 2.90, required for some terminal emulators
2251;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2252;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2253;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2254;; pantheon-terminal, roxterm are not currently packaged
2255(define-public vte-0.36
2256 (package (inherit vte)
2257 (name "vte")
2258 (version "0.36.5")
2259 (source (origin
2260 (method url-fetch)
2261 (uri (string-append "mirror://gnome/sources/" name "/"
2262 (version-major+minor version) "/"
2263 name "-" version ".tar.xz"))
2264 (sha256
2265 (base32
2266 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2267 (propagated-inputs
2268 `(("gtk" ,gtk+)
2269 ("ncurses" ,ncurses)))))
2270
ea57378f
SB
2271;; stable version for gtk2, required by xfce4-terminal.
2272(define-public vte/gtk+-2
2273 (package (inherit vte)
2274 (name "vte")
2275 (version "0.28.2")
2276 (source (origin
2277 (method url-fetch)
2278 (uri (string-append "mirror://gnome/sources/" name "/"
2279 (version-major+minor version) "/"
2280 name "-" version ".tar.xz"))
2281 (sha256
2282 (base32
7d48938a
EF
2283 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2284 (patches (search-patches
2285 "vte-CVE-2012-2738-pt1.patch"
2286 "vte-CVE-2012-2738-pt2.patch"))))
ea57378f
SB
2287 (arguments
2288 '(#:configure-flags '("--disable-python")))
2289 (native-inputs
2290 `(("pkg-config" ,pkg-config)
2291 ("intltool" ,intltool)
2292 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2293 (propagated-inputs
2294 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2295 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20 2296
cce0da5e
TD
2297(define-public vinagre
2298 (package
2299 (name "vinagre")
2300 (version "3.22.0")
2301 (source (origin
2302 (method url-fetch)
2303 (uri (string-append "mirror://gnome/sources/" name "/"
2304 (version-major+minor version) "/"
2305 name "-" version ".tar.xz"))
684f97f8
EF
2306 (patches (search-patches "vinagre-newer-freerdp.patch"
2307 "vinagre-newer-rdp-parameters.patch"))
cce0da5e
TD
2308 (sha256
2309 (base32
2310 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2311 (build-system glib-or-gtk-build-system)
684f97f8
EF
2312 (arguments
2313 '(#:phases
2314 (modify-phases %standard-phases
1839768c
EF
2315 (add-before 'install 'skip-gtk-update-icon-cache
2316 (lambda _
2317 ;; Don't create 'icon-theme.cache'
2318 (substitute* (find-files "." "^Makefile$")
2319 (("gtk-update-icon-cache") (which "true")))
2320 #t))
684f97f8
EF
2321 (add-after 'unpack 'patch-configure
2322 (lambda _
2323 (substitute* "configure"
2324 (("freerdp") "freerdp2"))
2325 #t)))))
cce0da5e
TD
2326 (native-inputs
2327 `(("pkg-config" ,pkg-config)
2328 ("intltool" ,intltool)
2329 ("itstool" ,itstool)
1839768c 2330 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
cce0da5e
TD
2331 (inputs
2332 `(("libxml2" ,libxml2)
2333 ("gtk-vnc" ,gtk-vnc)
2334 ("gnome-keyring" ,gnome-keyring)
2335 ("libsecret" ,libsecret)
2336 ("freerdp" ,freerdp)
2337 ("spice" ,spice)
2338 ("spice-gtk" ,spice-gtk)
2339 ("telepathy-glib" ,telepathy-glib)
2340 ("vte" ,vte)))
cce0da5e
TD
2341 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2342 (synopsis "Remote desktop viewer for GNOME")
2343 (description "Vinagre is a remote display client supporting the VNC, SPICE
2344and RDP protocols.")
2345 (license license:gpl3+)))
2346
b47e1b20
FB
2347(define-public dconf
2348 (package
2349 (name "dconf")
35fa923d 2350 (version "0.28.0")
b47e1b20
FB
2351 (source (origin
2352 (method url-fetch)
2353 (uri (string-append
2e6ecc5c 2354 "mirror://gnome/sources/" name "/"
b47e1b20
FB
2355 (version-major+minor version) "/"
2356 name "-" version ".tar.xz"))
2357 (sha256
f05c809f 2358 (base32
35fa923d
MB
2359 "0hn7v6769xabqz7kvyb2hfm19h46z1whkair7ff752zmbs3b7lv1"))))
2360 (build-system meson-build-system)
bc036f4c
MB
2361 (propagated-inputs
2362 ;; In Requires of dconf.pc.
2363 `(("glib" ,glib)))
b47e1b20
FB
2364 (inputs
2365 `(("gtk+" ,gtk+)
bc036f4c 2366 ("dbus" ,dbus)))
b47e1b20 2367 (native-inputs
bc036f4c
MB
2368 `(("libxslt" ,libxslt) ;for xsltproc
2369 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
b47e1b20
FB
2370 ("docbook-xml" ,docbook-xml-4.2)
2371 ("docbook-xsl" ,docbook-xsl)
35fa923d 2372 ("glib:bin" ,glib "bin")
03676d6f 2373 ("gtk-doc" ,gtk-doc)
35fa923d
MB
2374 ("pkg-config" ,pkg-config)
2375 ("vala" ,vala)))
b47e1b20
FB
2376 (arguments
2377 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2378 ; or /etc/machine-id.
35fa923d
MB
2379 #:glib-or-gtk? #t
2380 #:configure-flags '("-Denable-gtk-doc=true")))
b47e1b20
FB
2381 (home-page "https://developer.gnome.org/dconf")
2382 (synopsis "Low-level GNOME configuration system")
2383 (description "Dconf is a low-level configuration system. Its main purpose
2384is to provide a backend to GSettings on platforms that don't already have
2385configuration storage systems.")
e20e6b40 2386 (license license:lgpl2.1+)))
109da1c0
AE
2387
2388(define-public json-glib
2389 (package
2390 (name "json-glib")
4115e8ea 2391 (version "1.4.4")
109da1c0
AE
2392 (source (origin
2393 (method url-fetch)
2394 (uri (string-append "mirror://gnome/sources/" name "/"
2395 (version-major+minor version) "/"
2396 name "-" version ".tar.xz"))
2397 (sha256
2398 (base32
4115e8ea 2399 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
98afa184 2400 (build-system meson-build-system)
109da1c0 2401 (native-inputs
98afa184
MB
2402 `(("gettext" ,gettext-minimal)
2403 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
2404 ("gobject-introspection" ,gobject-introspection)
2405 ("pkg-config" ,pkg-config)))
2406 (propagated-inputs
88c6b580 2407 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
2408 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2409 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
2410 (description
2411 "JSON-GLib is a C library based on GLib providing serialization and
2412deserialization support for the JavaScript Object Notation (JSON) format
2413described by RFC 4627. It provides parser and generator GObject classes and
2414various wrappers for the complex data types employed by JSON, such as arrays
2415and objects.")
109da1c0 2416 (license license:lgpl2.1+)))
6f96a359
SB
2417
2418(define-public libxklavier
2419 (package
2420 (name "libxklavier")
2421 (version "5.3")
2422 (source (origin
2423 (method url-fetch)
2424 (uri (string-append "mirror://gnome/sources/" name "/"
2425 version "/" name "-" version ".tar.xz"))
2426 (sha256
2427 (base32
2428 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2429 (build-system gnu-build-system)
2430 (arguments
2431 '(#:configure-flags
2432 (list (string-append "--with-xkb-base="
2433 (assoc-ref %build-inputs "xkeyboard-config")
b19d6805 2434 "/share/X11/xkb"))))
6f96a359
SB
2435 (native-inputs
2436 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2437 ("gobject-introspection" ,gobject-introspection)
2438 ("pkg-config" ,pkg-config)))
2439 (propagated-inputs
2440 ;; Required by libxklavier.pc.
2441 `(("glib" ,glib)
2442 ("libxml2" ,libxml2)))
2443 (inputs
2444 `(("iso-codes" ,iso-codes)
2445 ("libxi" ,libxi)
2446 ("libxkbfile" ,libxkbfile)
2447 ("xkbcomp" ,xkbcomp)
2448 ("xkeyboard-config" ,xkeyboard-config)))
57e7d748 2449 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
6f96a359
SB
2450 (synopsis "High-level API for X Keyboard Extension")
2451 (description
2452 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
2453Extension known as XKB. This library is intended to support XFree86 and other
2454commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
2455indicators etc).")
2456 (license license:lgpl2.0+)))
619936a4
LC
2457
2458(define-public python2-rsvg
2459 ;; XXX: This is actually a subset of gnome-python-desktop.
2460 (package
2461 (name "python2-rsvg")
2462 (version "2.32.0")
2463 (source
2464 (origin
2465 (method url-fetch)
2466 (uri (string-append
2467 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2468 version ".tar.bz2"))
2469 (sha256
2470 (base32
2471 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2472 (build-system gnu-build-system)
2473 (native-inputs
2474 `(("pkg-config" ,pkg-config)))
2475 (inputs
2476 `(("python" ,python-2)
2477 ("python2-pygtk" ,python2-pygtk)
2478 ("librsvg" ,librsvg)))
f032d0be 2479 (home-page "https://www.gnome.org")
619936a4
LC
2480 (synopsis "Python bindings to librsvg")
2481 (description
2482 "This packages provides Python bindings to librsvg, the SVG rendering
2483library.")
2484
2485 ;; This is the license of the rsvg bindings. The license of each module
2486 ;; of gnome-python-desktop is given in 'COPYING'.
2487 (license license:lgpl2.1+)))
a31a6d22 2488
f2ca414a
SB
2489(define-public glib-networking
2490 (package
2491 (name "glib-networking")
65211552 2492 (version "2.58.0")
f2ca414a
SB
2493 (source (origin
2494 (method url-fetch)
2495 (uri (string-append "mirror://gnome/sources/glib-networking/"
2496 (version-major+minor version) "/"
2497 name "-" version ".tar.xz"))
2498 (sha256
2499 (base32
1262be5c
EF
2500 "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx"))
2501 (patches (search-patches "glib-networking-connection.patch"))))
65211552 2502 (build-system meson-build-system)
f2ca414a 2503 (arguments
65211552
MB
2504 `(#:configure-flags '("-Dlibproxy_support=false")
2505 #:phases (modify-phases %standard-phases
2506 (add-before 'check 'disable-TLSv1.3
2507 (lambda _
2508 ;; XXX: One test fails when TLS 1.3 is enabled, fixed in 2.60.0:
2509 ;; <https://gitlab.com/gnutls/gnutls/issues/615>.
2510 (setenv "G_TLS_GNUTLS_PRIORITY" "NORMAL:-VERS-TLS1.3")
2511 #t)))))
f2ca414a
SB
2512 (native-inputs
2513 `(("pkg-config" ,pkg-config)
2514 ("intltool" ,intltool)))
2515 (inputs
2516 `(("glib" ,glib)
2517 ("gnutls" ,gnutls)
2518 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2519 ("p11-kit" ,p11-kit)))
f032d0be 2520 (home-page "https://www.gnome.org")
f2ca414a
SB
2521 (synopsis "Network-related GIO modules")
2522 (description
2523 "This package contains various network related extensions for the GIO
2524library.")
2525 (license license:lgpl2.0+)))
2526
ca649680 2527(define-public rest
4510b2da 2528 (package
ca649680 2529 (name "rest")
a4194d16 2530 (version "0.8.1")
4510b2da
SB
2531 (source (origin
2532 (method url-fetch)
2533 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
2534 (version-major+minor version) "/"
2535 name "-" version ".tar.xz"))
4510b2da
SB
2536 (sha256
2537 (base32
a4194d16 2538 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4510b2da
SB
2539 (build-system gnu-build-system)
2540 (arguments
2541 '(#:tests? #f ; tests require internet connection
2542 #:configure-flags
2543 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2544 (native-inputs
2545 `(("glib-mkenums" ,glib "bin")
2546 ("gobject-introspection" ,gobject-introspection)
2547 ("pkg-config" ,pkg-config)))
2548 (propagated-inputs
2549 ;; rest-0.7.pc refers to all these.
2550 `(("glib" ,glib)
2551 ("libsoup" ,libsoup)
2552 ("libxml2" ,libxml2)))
24d6cc1d 2553 (home-page "https://www.gtk.org/")
4510b2da
SB
2554 (synopsis "RESTful web api query library")
2555 (description
2556 "This library was designed to make it easier to access web services that
2557claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2558libxml to ease remote use of the RESTful API.")
2559 (license license:lgpl2.1+)))
2560
6e1bb642
SB
2561(define-public libsoup
2562 (package
2563 (name "libsoup")
00815eea 2564 (version "2.64.2")
6e1bb642
SB
2565 (source (origin
2566 (method url-fetch)
2567 (uri (string-append "mirror://gnome/sources/libsoup/"
2568 (version-major+minor version) "/"
2569 name "-" version ".tar.xz"))
2570 (sha256
2571 (base32
00815eea 2572 "1il6lyrmfi0hfh3ysw8w1qzc1rdz0igkb7dv6d8g5mmilnac3pbm"))))
6e1bb642
SB
2573 (build-system gnu-build-system)
2574 (outputs '("out" "doc"))
2575 (arguments
2deb146f
LC
2576 `(#:modules ((guix build utils)
2577 (guix build gnu-build-system)
2578 (ice-9 popen))
2579
2580 #:configure-flags
6e1bb642
SB
2581 (list (string-append "--with-html-dir="
2582 (assoc-ref %outputs "doc")
ffaf5cbd
MB
2583 "/share/gtk-doc/html")
2584 (string-append "--with-apache-module-dir="
2585 (assoc-ref %build-inputs "httpd")
2586 "/modules"))
6e1bb642
SB
2587 #:phases
2588 (modify-phases %standard-phases
3a4de6b2 2589 (add-before 'configure 'disable-unconnected-socket-test
26c228f9
LC
2590 ;; This test fails due to missing /etc/nsswitch.conf
2591 ;; in the build environment.
2592 (lambda _
2593 (substitute* "tests/socket-test.c"
2594 ((".*/sockets/unconnected.*") ""))
2595 #t))
907f939b 2596 (add-before 'check 'pre-check
26c228f9
LC
2597 (lambda _
2598 ;; The 'check-local' target runs 'env LANG=C sort -u',
2599 ;; unset 'LC_ALL' to make 'LANG' working.
2600 (unsetenv "LC_ALL")
26c228f9
LC
2601 ;; HTTPD in Guix uses mod_event and does not build prefork.
2602 (substitute* "tests/httpd.conf"
2603 (("^LoadModule mpm_prefork_module.*$") "\n"))
2deb146f
LC
2604
2605 ;; Generate a self-signed certificate that has "localhost" as its
2606 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2607 ;; 3.5.12, tests such as "ssl-tests" fail:
2608 ;;
2609 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2610 ;;
2611 ;; 'certtool' is interactive so we have to pipe it the answers.
2612 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2613 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2614 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2615 (for-each (lambda (line)
2616 (display line pipe)
2617 (newline pipe))
2618 '("" ;Common name
2619 "" ;UID
2620 "Guix" ;Organizational unit name
2621 "GNU" ;Organization name
2622 "" ;Locality name
2623 "" ;State or province
2624 "" ;Country
2625 "" ;subject's domain component (DC)
2626 "" ;E-mail
2627 "" ;serial number
2628 "-1" ;expiration time
2629 "N" ;belong to authority?
2630 "N" ;web client certificate?
2631 "N" ;IPsec IKE?
2632 "Y" ;web server certificate?
2633 "localhost" ;dnsName of subject
2634 "" ;dnsName of subject (end)
2635 "" ;URI of subject
2636 "127.0.0.1" ;IP address of subject
2637 "" ;signing?
06f5bc4e
MB
2638 "" ;encryption (RSA)?
2639 "" ;data encryption?
2deb146f
LC
2640 "" ;sign OCSP requests?
2641 "" ;sign code?
2642 "" ;time stamping?
2643 "" ;email protection?
2644 "" ;URI of the CRL distribution point
2645 "y" ;above info OK?
2646 ))
2647 (close-pipe pipe))
26c228f9 2648 #t))
fd730590 2649 (replace 'install
26c228f9 2650 (lambda _
4bd9f465
MW
2651 (invoke "make"
2652 ;; Install vala bindings into $out.
2653 (string-append "vapidir=" %output
2654 "/share/vala/vapi")
2655 "install"))))))
6e1bb642 2656 (native-inputs
26c228f9 2657 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6e1bb642
SB
2658 ("gobject-introspection" ,gobject-introspection)
2659 ("intltool" ,intltool)
2660 ("pkg-config" ,pkg-config)
2661 ("python" ,python-wrapper)
fd730590 2662 ("vala" ,vala)
6e1bb642
SB
2663 ;; These are needed for the tests.
2664 ;; FIXME: Add PHP once available.
2665 ("curl" ,curl)
2deb146f 2666 ("gnutls" ,gnutls) ;for 'certtool'
6e1bb642
SB
2667 ("httpd" ,httpd)))
2668 (propagated-inputs
2669 ;; libsoup-2.4.pc refers to all these.
2670 `(("glib" ,glib)
2671 ("libxml2" ,libxml2)))
2672 (inputs
2673 `(("glib-networking" ,glib-networking)
249846bf 2674 ("libpsl" ,libpsl)
6e1bb642
SB
2675 ("sqlite" ,sqlite)))
2676 (home-page "https://live.gnome.org/LibSoup/")
2677 (synopsis "GLib-based HTTP Library")
2678 (description
2679 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2680and the GLib main loop, to integrate well with GNOME applications.")
2681 (license license:lgpl2.0+)))
2682
bba229a3
SB
2683(define-public libsecret
2684 (package
2685 (name "libsecret")
ac277bc7 2686 (version "0.18.7")
bba229a3
SB
2687 (source (origin
2688 (method url-fetch)
2689 (uri (string-append
896dcbc7
EF
2690 "mirror://gnome/sources/libsecret/"
2691 (version-major+minor version) "/"
bba229a3
SB
2692 name "-" version ".tar.xz"))
2693 (sha256
2694 (base32
ac277bc7 2695 "11ylmcfx6ff7xd1gpi58i2nbma83lz2xg0g2dq23w6snqhgzwrhd"))))
bba229a3
SB
2696 (build-system gnu-build-system)
2697 (outputs '("out" "doc"))
2698 (arguments
2699 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
2700 #:configure-flags
2701 (list (string-append "--with-html-dir="
2702 (assoc-ref %outputs "doc")
2703 "/share/gtk-doc/html"))))
2704 (native-inputs
c06ef010
MB
2705 `(("gettext" ,gettext-minimal)
2706 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
bba229a3 2707 ("gobject-introspection" ,gobject-introspection)
bba229a3
SB
2708 ("pkg-config" ,pkg-config)
2709 ("vala" ,vala)
2710 ("xsltproc" ,libxslt)))
2711 ;; These are needed for the tests.
2712 ;; FIXME: Add gjs once available.
2713 ;("dbus" ,dbus)
2714 ;("python2" ,python-2)
2715 ;("python2-dbus" ,python2-dbus)
2716 ;("python2-pygobject" ,python2-pygobject)
2717 ;("python2-pygobject-2" ,python2-pygobject-2)))
2718 (propagated-inputs
2719 `(("glib" ,glib))) ; required by libsecret-1.pc
2720 (inputs
2721 `(("docbook-xsl" ,docbook-xsl)
2722 ("libgcrypt" ,libgcrypt)
2723 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2724 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2725 (synopsis "GObject bindings for \"Secret Service\" API")
2726 (description
2727 "Libsecret is a GObject based library for storing and retrieving passwords
2728and other secrets. It communicates with the \"Secret Service\" using DBus.")
2729 (license license:lgpl2.1+)))
2730
b6821ee0 2731(define-public five-or-more
2732 (package
2733 (name "five-or-more")
2524a2a1 2734 (version "3.26.0")
b6821ee0 2735 (source
2736 (origin
2737 (method url-fetch)
2738 (uri (string-append "mirror://gnome/sources/" name "/"
2739 (version-major+minor version) "/"
2740 name "-" version ".tar.xz"))
2741 (sha256
2742 (base32
2524a2a1 2743 "0wkp08xsqr9p9cgdfghi424diajs016b2h4bsfcr5y9xc3rgf93w"))))
b6821ee0 2744 (build-system glib-or-gtk-build-system)
2745 (native-inputs
2746 `(("pkg-config" ,pkg-config)
2747 ("desktop-file-utils" ,desktop-file-utils)
2748 ("intltool" ,intltool)
2749 ("itstool" ,itstool)
2750 ("xmllint" ,libxml2)))
2751 (inputs
2752 `(("gtk+" ,gtk+)
2753 ("librsvg" ,librsvg)))
2754 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2755 (synopsis "Logic puzzle game")
2756 (description "Five or More is a game where you try to align
2757 five or more objects of the same color and shape causing them to disappear.
2758 On every turn more objects will appear, until the board is full.
2759 Try to last as long as possible.")
2760 (license license:gpl2+)))
2761
a31a6d22
SB
2762(define-public gnome-mines
2763 (package
2764 (name "gnome-mines")
55ed15ba 2765 (version "3.26.0")
a31a6d22
SB
2766 (source
2767 (origin
2768 (method url-fetch)
2769 (uri (string-append "mirror://gnome/sources/" name "/"
2770 (version-major+minor version) "/"
2771 name "-" version ".tar.xz"))
2772 (sha256
2773 (base32
55ed15ba 2774 "1sfxdvns8nppdagnhpd9vd7n77sk5rdji3kdqnc78c2p1npiw11b"))))
a31a6d22
SB
2775 (build-system glib-or-gtk-build-system)
2776 (arguments
2777 '(#:phases
2778 (modify-phases %standard-phases
f8503e2b 2779 (add-before 'configure 'patch-/bin/true
a31a6d22
SB
2780 (lambda _
2781 (substitute* "configure"
6983ba56 2782 (("/bin/true") (which "true"))))))))
a31a6d22
SB
2783 (native-inputs
2784 `(("pkg-config" ,pkg-config)
2785 ("desktop-file-utils" ,desktop-file-utils)
2786 ("intltool" ,intltool)
bcb354ad
SB
2787 ("itstool" ,itstool)
2788 ("xmllint" ,libxml2)))
a31a6d22
SB
2789 (inputs
2790 `(("gtk+" ,gtk+)
73992962 2791 ("libgnome-games-support" ,libgnome-games-support)
a31a6d22
SB
2792 ("librsvg" ,librsvg)))
2793 (home-page "https://wiki.gnome.org/Apps/Mines")
2794 (synopsis "Minesweeper game")
2795 (description
2796 "Mines (previously gnomine) is a puzzle game where you locate mines
2797floating in an ocean using only your brain and a little bit of luck.")
2798 (license license:gpl2+)))
88f70665 2799
dfc407f3
KY
2800(define-public gnome-sudoku
2801 (package
2802 (name "gnome-sudoku")
7d20d983 2803 (version "3.28.0")
dfc407f3
KY
2804 (source
2805 (origin
2806 (method url-fetch)
2807 (uri (string-append "mirror://gnome/sources/" name "/"
2808 (version-major+minor version) "/"
2809 name "-" version ".tar.xz"))
2810 (sha256
2811 (base32
7d20d983 2812 "07b4lzniaf3gjsss6zl1lslv18smwc4nrijykvn2z90f423q2xav"))))
dfc407f3
KY
2813 (build-system glib-or-gtk-build-system)
2814 (native-inputs
2815 `(("pkg-config" ,pkg-config)
2816 ("desktop-file-utils" ,desktop-file-utils)
2817 ("intltool" ,intltool)
2818 ("itstool" ,itstool)
2819 ("xmllint" ,libxml2)))
2820 (inputs
2821 `(("gtk+" ,gtk+)
2822 ("json-glib" ,json-glib)
2823 ("libgee" ,libgee)
2824 ("librsvg" ,librsvg)
2825 ("qqwing" ,qqwing)))
2826 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2827 (synopsis "Japanese logic game")
2828 (description
2829 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2830GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2831possible while still providing features that make playing difficult Sudoku
2832more fun.")
2833 (license license:gpl2+)))
2834
88f70665
AW
2835(define-public gnome-terminal
2836 (package
2837 (name "gnome-terminal")
9cf329ae 2838 (version "3.28.2")
88f70665
AW
2839 (source
2840 (origin
2841 (method url-fetch)
2842 (uri (string-append "mirror://gnome/sources/" name "/"
2843 (version-major+minor version) "/"
2844 name "-" version ".tar.xz"))
2845 (sha256
2846 (base32
9cf329ae 2847 "0ybjansg6lr279191w8z8r45gy4rxwzw1ajm98cgkv0fk2jdr0x2"))))
88f70665
AW
2848 (build-system glib-or-gtk-build-system)
2849 (arguments
2850 '(#:configure-flags
2851 (list "--disable-migration" "--disable-search-provider"
2852 "--without-nautilus-extension")
2853 #:phases
2854 (modify-phases %standard-phases
3a4de6b2 2855 (add-before 'configure 'patch-/bin/true
88f70665
AW
2856 (lambda _
2857 (substitute* "configure"
2858 (("/bin/true") (which "true"))))))))
2859 (native-inputs
2860 `(("pkg-config" ,pkg-config)
2861 ("desktop-file-utils" ,desktop-file-utils)
2862 ("intltool" ,intltool)
bcb354ad
SB
2863 ("itstool" ,itstool)
2864 ("xmllint" ,libxml2)))
68702167
MW
2865 (propagated-inputs
2866 `(("dconf" ,dconf)))
88f70665
AW
2867 (inputs
2868 `(("gtk+" ,gtk+)
2869 ("vte" ,vte)
2870 ("gnutls" ,gnutls)
88f70665
AW
2871 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2872 ("util-linux" ,util-linux)
2873 ("vala" ,vala)))
2874 (home-page "https://wiki.gnome.org/Apps/Terminal")
2875 (synopsis "Terminal emulator")
2876 (description
2877 "GNOME Terminal is a terminal emulator application for accessing a
2878UNIX shell environment which can be used to run programs available on
2879your system.
2880
2881It supports several profiles, multiple tabs and implements several
2882keyboard shortcuts.")
2883 (license license:gpl3+)))
75016d07
AW
2884
2885(define-public colord
2886 (package
2887 (name "colord")
2888 (version "1.1.8")
2889 (source
2890 (origin
2891 (method url-fetch)
5cc3096c 2892 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
75016d07
AW
2893 name "-" version ".tar.xz"))
2894 (sha256
2895 (base32
2896 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2897 (build-system glib-or-gtk-build-system)
2898 (arguments
2899 '(;; The tests want to run valgrind. Punt for now.
2900 #:tests? #f
2901 #:configure-flags (list "--localstatedir=/var"
2902 ;; GUSB not packaged yet.
2903 "--disable-gusb"
2904 ;; No dep on systemd.
2905 "--disable-systemd-login"
2906 ;; Wants to install to global completion dir;
2907 ;; punt.
2908 "--disable-bash-completion"
2909 ;; colord-gtk not packaged yet.
2910 "--disable-session-example"
2911 "--with-daemon-user=colord"
2912 "--enable-sane"
2913 (string-append "--with-udevrulesdir="
2914 (assoc-ref %outputs "out")
2915 "/lib/udev/rules.d"))
2916 #:phases
2917 (modify-phases %standard-phases
3a4de6b2 2918 (add-before 'configure 'patch-/bin/true
75016d07
AW
2919 (lambda _
2920 (substitute* "configure"
2921 (("/bin/true") (which "true")))
2922 (substitute* "src/Makefile.in"
2923 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
b19d6805 2924 "if test -w $(DESTDIR)$(localstatedir);")))))))
75016d07
AW
2925 (native-inputs
2926 `(("pkg-config" ,pkg-config)
2927 ("gobject-introspection" ,gobject-introspection)
2928 ("libtool" ,libtool)
2929 ("intltool" ,intltool)))
65cb2d61
SB
2930 (propagated-inputs
2931 ;; colord.pc refers to all these.
2932 `(("glib" ,glib)
2933 ("udev" ,eudev)
2934 ("lcms" ,lcms)))
75016d07 2935 (inputs
65cb2d61 2936 `(("dbus-glib" ,dbus-glib)
80c7dd1a 2937 ("libgudev" ,libgudev)
75016d07 2938 ("libusb" ,libusb)
75016d07
AW
2939 ("sqlite" ,sqlite)
2940 ("polkit" ,polkit)
4c928743 2941 ("sane-backends" ,sane-backends)))
57e7d748 2942 (home-page "https://www.freedesktop.org/software/colord/")
75016d07
AW
2943 (synopsis "Color management service")
2944 (description "Colord is a system service that makes it easy to manage,
2945install and generate color profiles to accurately color manage input and
2946output devices.")
2947 (license license:gpl2+)))
7b2abd00
AW
2948
2949(define-public geoclue
2950 (package
2951 (name "geoclue")
b433c7b3 2952 (version "2.4.8")
7b2abd00
AW
2953 (source
2954 (origin
2955 (method url-fetch)
5cc3096c 2956 (uri (string-append "https://www.freedesktop.org/software/" name
7b2abd00
AW
2957 "/releases/" (version-major+minor version) "/"
2958 name "-" version ".tar.xz"))
2959 (sha256
2960 (base32
b433c7b3 2961 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
fc1adab1 2962 (patches (search-patches "geoclue-config.patch"))))
7b2abd00
AW
2963 (build-system glib-or-gtk-build-system)
2964 (arguments
2965 '(;; The tests want to run the system bus.
2966 #:tests? #f
2967 #:configure-flags (list ;; Disable bits requiring ModemManager.
2968 "--disable-3g-source"
2969 "--disable-cdma-source"
2970 "--disable-modem-gps-source"
2971 "--with-dbus-service-user=geoclue")
2972 #:phases
2973 (modify-phases %standard-phases
3a4de6b2 2974 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
2975 (lambda _
2976 (substitute* "configure"
e3eb53e7
MW
2977 (("/bin/true") (which "true")))
2978 #t)))))
7b2abd00
AW
2979 (native-inputs
2980 `(("pkg-config" ,pkg-config)
758798a9 2981 ("gobject-introspection" ,gobject-introspection)
7b2abd00
AW
2982 ("intltool" ,intltool)))
2983 (inputs
54e911bc
SB
2984 `(("avahi" ,avahi)
2985 ("glib" ,glib)
7b2abd00
AW
2986 ("json-glib" ,json-glib)
2987 ("libsoup" ,libsoup)))
99adfd7d 2988 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
7b2abd00
AW
2989 (synopsis "Geolocation service")
2990 (description "Geoclue is a D-Bus service that provides location
2991information. The primary goal of the Geoclue project is to make creating
2992location-aware applications as simple as possible, while the secondary goal is
2993to ensure that no application can access location information without explicit
e881752c 2994permission from user.")
7b2abd00 2995 (license license:gpl2+)))
2bfe7437
AW
2996
2997(define-public geocode-glib
2998 (package
2999 (name "geocode-glib")
3ffd46bd 3000 (version "3.20.1")
2bfe7437
AW
3001 (source (origin
3002 (method url-fetch)
3003 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3004 (version-major+minor version) "/"
3005 name "-" version ".tar.xz"))
3006 (sha256
3007 (base32
3ffd46bd 3008 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2bfe7437
AW
3009 (build-system gnu-build-system)
3010 (arguments
3011 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
3012 ;; work for the builder. Punt.
a124bbd2 3013 #:tests? #f))
2bfe7437
AW
3014 (native-inputs
3015 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3016 ("gobject-introspection" ,gobject-introspection)
3017 ("pkg-config" ,pkg-config)
3018 ("json-glib" ,json-glib)))
3019 (propagated-inputs
3020 ;; geocode-glib-1.0.pc refers to GIO.
3021 `(("glib" ,glib)))
3022 (inputs
3023 `(("libsoup" ,libsoup)))
3024 (home-page "https://github.com/GNOME/geocode-glib/")
3025 (synopsis "Geocoding and reverse-geocoding library")
3026 (description
3027 "geocode-glib is a convenience library for geocoding (finding longitude,
3028and latitude from an address) and reverse geocoding (finding an address from
3029coordinates) using the Nominatim service. geocode-glib caches requests for
3030faster results and to avoid unnecessary server load.")
3031 (license license:lgpl2.0+)))
a1d5bb0e
AW
3032
3033(define-public upower
3034 (package
3035 (name "upower")
9ec54965 3036 (version "0.99.8")
a1d5bb0e
AW
3037 (source (origin
3038 (method url-fetch)
9ec54965
MB
3039 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3040 "uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/"
3041 "upower-" version ".tar.xz"))
a1d5bb0e
AW
3042 (sha256
3043 (base32
9ec54965 3044 "00lzr0vyxz5lvmgya48gdb2cdgmfdim4b34jlfdyqakk1i9sl8xv"))
fc1adab1 3045 (patches (search-patches "upower-builddir.patch"))))
a1d5bb0e
AW
3046 (build-system glib-or-gtk-build-system)
3047 (arguments
3048 '( ;; The tests want to contact the system bus, which can't be done in the
3049 ;; build environment. The integration test can run, but the last of
3050 ;; the up-self-tests doesn't. Disable tests for now.
3051 #:tests? #f
3052 #:configure-flags (list "--localstatedir=/var"
3053 (string-append "--with-udevrulesdir="
3054 (assoc-ref %outputs "out")
9ec54965 3055 "/lib/udev/rules.d"))))
a1d5bb0e 3056 (native-inputs
ebeabe2d
SB
3057 `(("gobject-introspection" ,gobject-introspection)
3058 ("pkg-config" ,pkg-config)
a1d5bb0e 3059 ("intltool" ,intltool)
55409295
LC
3060 ("python" ,python)
3061
3062 ;; For man pages.
3063 ("libxslt" ,libxslt) ;for 'xsltproc'
3064 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3065 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 3066 (inputs
ea226291
SB
3067 `(("dbus-glib" ,dbus-glib)
3068 ("libgudev" ,libgudev)
a1d5bb0e 3069 ("libusb" ,libusb)))
d7a503fc
MB
3070 (propagated-inputs
3071 ;; In Requires of upower-glib.pc.
3072 `(("glib" ,glib)))
57e7d748 3073 (home-page "https://upower.freedesktop.org/")
a1d5bb0e
AW
3074 (synopsis "System daemon for managing power devices")
3075 (description
3076 "UPower is an abstraction for enumerating power devices,
3077listening to device events and querying history and statistics. Any
3078application or service on the system can access the org.freedesktop.UPower
3079service via the system message bus.")
3080 (license license:gpl2+)))
6a180f6f
AW
3081
3082(define-public libgweather
3083 (package
3084 (name "libgweather")
47aba9dd 3085 (version "3.26.1")
6a180f6f
AW
3086 (source (origin
3087 (method url-fetch)
3088 (uri (string-append "mirror://gnome/sources/" name "/"
3089 (version-major+minor version) "/"
3090 name "-" version ".tar.xz"))
3091 (sha256
3092 (base32
47aba9dd 3093 "1f64ix7acj0j0qvxwxaazii2bhsjgh5ang1kw14fkg25ndq899zw"))))
6a180f6f
AW
3094 (build-system gnu-build-system)
3095 (arguments
b6072e6b
SB
3096 `(#:configure-flags
3097 `(,(string-append "--with-zoneinfo-dir="
3098 (assoc-ref %build-inputs "tzdata")
3099 "/share/zoneinfo"))
3100 #:phases
3101 (modify-phases %standard-phases
8b8dfa7f
LC
3102 (add-before 'check 'pre-check
3103 (lambda* (#:key inputs #:allow-other-keys)
3104 (substitute* "data/check-timezones.sh"
3105 (("/usr/share/zoneinfo/zone.tab")
3106 (string-append (assoc-ref inputs "tzdata")
3107 "/share/zoneinfo/zone.tab")))
1d3fcf94
MS
3108 #t))
3109 (replace 'install
3110 (lambda _
3111 (zero?
3112 (system* "make"
3113 ;; Install vala bindings into $out.
3114 (string-append "vapidir=" %output
3115 "/share/vala/vapi")
3116 "install")))))))
6a180f6f
AW
3117 (native-inputs
3118 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 3119 ("gobject-introspection" ,gobject-introspection)
6a180f6f 3120 ("pkg-config" ,pkg-config)
1d3fcf94 3121 ("vala" ,vala)
6a180f6f
AW
3122 ("intltool" ,intltool)))
3123 (propagated-inputs
3124 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3125 ;; libsoup.
3126 `(("gtk+" ,gtk+)
3127 ("gdk-pixbuf" ,gdk-pixbuf)
3128 ("libxml2" ,libxml2)
3129 ("libsoup" ,libsoup)))
3130 (inputs
3131 `(("tzdata" ,tzdata)
3132 ("geocode-glib" ,geocode-glib)))
3133 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3134 (synopsis "Location, time zone, and weather library for GNOME")
3135 (description
3136 "libgweather is a library to access weather information from online
3137services for numerous locations.")
3138 (license license:gpl2+)))
23a22af6
AW
3139
3140(define-public gnome-settings-daemon
3141 (package
3142 (name "gnome-settings-daemon")
bd38e6a5 3143 (version "3.24.3")
23a22af6
AW
3144 (source
3145 (origin
3146 (method url-fetch)
3147 (uri (string-append "mirror://gnome/sources/" name "/"
3148 (version-major+minor version) "/"
3149 name "-" version ".tar.xz"))
3150 (sha256
3151 (base32
bd38e6a5 3152 "14w5jhpq02mbcxvn41qcj3cjfqdr3sgzl96c6glwpdrjphw61i38"))))
23a22af6
AW
3153 (build-system glib-or-gtk-build-system)
3154 (arguments
eee7878f 3155 `(;; Color management test can't reach the colord system service.
23a22af6
AW
3156 #:tests? #f))
3157 (native-inputs
3158 `(("pkg-config" ,pkg-config)
3159 ("intltool" ,intltool)
3160 ("xsltproc" ,libxslt)
3161 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3162 ("docbook-xml" ,docbook-xml-4.2)
3163 ("docbook-xsl" ,docbook-xsl)))
3164 (inputs
3165 `(("colord" ,colord)
ea226291 3166 ("libgudev" ,libgudev)
23a22af6
AW
3167 ("upower" ,upower)
3168 ("polkit" ,polkit)
3169 ("pulseaudio" ,pulseaudio)
3170 ("libcanberra" ,libcanberra)
3171 ("libx11" ,libx11)
3172 ("libxtst" ,libxtst)
3173 ("lcms" ,lcms)
3174 ("libnotify" ,libnotify)
3175 ("geoclue" ,geoclue)
3176 ("geocode-glib" ,geocode-glib)
3177 ("libgweather" ,libgweather)
3178 ("gnome-desktop" ,gnome-desktop)
3179 ("nss" ,nss)
3180 ("cups" ,cups)
ec2b1921
AW
3181 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3182 ("libwacom" ,libwacom)
3183 ("librsvg" ,librsvg)
eee7878f
CM
3184 ("xf86-input-wacom" ,xf86-input-wacom)
3185 ("network-manager" ,network-manager)))
f032d0be 3186 (home-page "https://www.gnome.org")
23a22af6
AW
3187 (synopsis "GNOME settings daemon")
3188 (description
3189 "This package contains the daemon responsible for setting the various
3190parameters of a GNOME session and the applications that run under it. It
3191handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3192settings, themes, mouse settings, and startup of other daemons.")
3193 (license license:gpl2+)))
1e7464a9
DH
3194
3195(define-public totem-pl-parser
3196 (package
3197 (name "totem-pl-parser")
7c94a359 3198 (version "3.10.8")
1e7464a9
DH
3199 (source (origin
3200 (method url-fetch)
e980cbe9
MW
3201 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3202 (version-major+minor version) "/"
1e7464a9
DH
3203 "totem-pl-parser-" version ".tar.xz"))
3204 (sha256
3205 (base32
7c94a359 3206 "0ayxg0gfs5h5jhr811ja5hxlhryklzp6jlal2ach9wym2c3hmigz"))))
1e7464a9
DH
3207 (build-system gnu-build-system)
3208 (arguments
3209 ;; FIXME: Tests require gvfs.
3210 `(#:tests? #f))
3211 (native-inputs
3212 `(("intltool" ,intltool)
3213 ("glib" ,glib "bin")
4d6d8281 3214 ("gobject-introspection" ,gobject-introspection)
1e7464a9 3215 ("pkg-config" ,pkg-config)))
22a6ad6a 3216 (propagated-inputs
1e7464a9
DH
3217 `(("glib" ,glib)
3218 ("gmime" ,gmime)
22a6ad6a
MW
3219 ("libxml2" ,libxml2)))
3220 (inputs
3221 `(("libarchive" ,libarchive)
1e7464a9
DH
3222 ("libgcrypt" ,libgcrypt)
3223 ("nettle" ,nettle)
22a6ad6a 3224 ("libsoup" ,libsoup)))
1e7464a9
DH
3225 (home-page "https://projects.gnome.org/totem")
3226 (synopsis "Library to parse and save media playlists for GNOME")
3227 (description "Totem-pl-parser is a GObjects-based library to parse and save
3228playlists in a variety of formats.")
3229 (license license:lgpl2.0+)))
3230
6b888eff
SB
3231(define-public aisleriot
3232 (package
3233 (name "aisleriot")
491883a6 3234 (version "3.22.5")
6b888eff
SB
3235 (source (origin
3236 (method url-fetch)
3237 (uri (string-append "mirror://gnome/sources/" name "/"
3238 (version-major+minor version) "/"
3239 name "-" version ".tar.xz"))
3240 (sha256
3241 (base32
491883a6 3242 "0rl39psr5xi584310pyrgw36ini4wn7yr2m1q5118w3a3v1dkhzh"))))
6b888eff
SB
3243 (build-system glib-or-gtk-build-system)
3244 (arguments
3245 '(#:configure-flags
3246 '("--with-platform=gtk-only"
3247 "--with-card-theme-formats=svg")))
3248 (native-inputs
3249 `(("desktop-file-utils" ,desktop-file-utils)
3250 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3251 ("intltool" ,intltool)
3252 ("itstool" ,itstool)
3253 ("pkg-config" ,pkg-config)
3254 ("xmllint" ,libxml2)))
3255 (inputs
3256 `(("gtk+" ,gtk+)
226e57d6 3257 ("guile" ,guile-2.2)
6b888eff
SB
3258 ("libcanberra" ,libcanberra)
3259 ("librsvg" ,librsvg)))
3260 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3261 (synopsis "Solitaire card games")
3262 (description
3263 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3264which are easy to play with the aid of a mouse.")
3265 (license license:gpl3+)))
4a79e256
SB
3266
3267(define-public devhelp
3268 (package
3269 (name "devhelp")
8c2dcedd 3270 (version "3.26.0")
4a79e256
SB
3271 (source (origin
3272 (method url-fetch)
3273 (uri (string-append "mirror://gnome/sources/" name "/"
3274 (version-major+minor version) "/"
3275 name "-" version ".tar.xz"))
3276 (sha256
3277 (base32
8c2dcedd 3278 "0f4fmkqzn95zmc2paljma33fkj74qj1m6n23qrc5hfwmgx7p3wkb"))))
4a79e256
SB
3279 (build-system glib-or-gtk-build-system)
3280 (native-inputs
3281 `(("intltool" ,intltool)
3282 ("pkg-config" ,pkg-config)))
3283 (inputs
3284 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3285 ("webkitgtk" ,webkitgtk)))
3286 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3287 (synopsis "API documentation browser for GNOME")
3288 (description
3289 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3290natively with GTK-Doc (the API reference system developed for GTK+ and used
3291throughout GNOME for API documentation).")
3292 (license license:gpl2+)))
ba421ab7
MW
3293
3294(define-public cogl
3295 (package
3296 (name "cogl")
6a55accc 3297 (version "1.22.2")
ba421ab7
MW
3298 (source
3299 (origin
3300 (method url-fetch)
3301 (uri (string-append "mirror://gnome/sources/" name "/"
3302 (version-major+minor version) "/"
3303 name "-" version ".tar.xz"))
3304 (sha256
3305 (base32
6a55accc 3306 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
a88d5a0c
MW
3307 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3308 ;; cogl, corresponding changes may be appropriate in mutter as well.
ba421ab7
MW
3309 (build-system gnu-build-system)
3310 (native-inputs
3311 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3312 ("gobject-introspection" ,gobject-introspection)
3313 ;;("xorg-server" ,xorg-server) ; for the test suite
3314 ("pkg-config" ,pkg-config)))
3315 (propagated-inputs
3316 `(("glib" ,glib)
3317 ("gdk-pixbuf" ,gdk-pixbuf)
3318 ("libx11" ,libx11)
3319 ("libxext" ,libxext)
3320 ("libxfixes" ,libxfixes)
3321 ("libxdamage" ,libxdamage)
3322 ("libxcomposite" ,libxcomposite)
3323 ("libxrandr" ,libxrandr)))
3324 (inputs
3325 `(("mesa" ,mesa)
3326 ("cairo" ,cairo)
3327 ("pango" ,pango)
3328 ("gstreamer" ,gstreamer)
31860852
KK
3329 ("gst-plugins-base" ,gst-plugins-base)
3330 ("wayland" ,wayland)))
ba421ab7
MW
3331 (arguments
3332 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
3333 "--enable-wayland-egl-platform"
3334 "--enable-wayland-egl-server"
3335
ba421ab7
MW
3336 ;; Arrange to pass an absolute file name to
3337 ;; dlopen for libGL.so.
3338 (string-append "--with-gl-libname="
3339 (assoc-ref %build-inputs "mesa")
3340 "/lib/libGL.so"))
3341 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3342 ;; _FontTransOpen: Unable to Parse address
3343 ;; ${prefix}/share/fonts/X11/misc/
3344 #:tests? #f
3345 #; #:phases
3346 #;
3347 (modify-phases %standard-phases
3348 (add-before 'check 'start-xorg-server
3349 (lambda* (#:key inputs #:allow-other-keys)
3350 ;; The test suite requires a running X server.
3351 (system (format #f "~a/bin/Xvfb :1 &"
3352 (assoc-ref inputs "xorg-server")))
3353 (setenv "DISPLAY" ":1")
3354 #t)))))
3355 (home-page "http://www.cogl3d.org")
3356 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3357 (description
3358 "Cogl is a small library for using 3D graphics hardware to draw pretty
3359pictures. The API departs from the flat state machine style of OpenGL and is
3360designed to make it easy to write orthogonal components that can render
3361without stepping on each others toes.")
3362 (license (list license:expat ; most of the code
3363 license:bsd-3 ; cogl/cogl-point-in-poly.c
3364 license:sgifreeb2.0 ; cogl-path/tesselator/
3365 license:asl2.0)))) ; examples/android/
fb182b8a
MW
3366
3367(define-public clutter
3368 (package
3369 (name "clutter")
6a88e4ee 3370 (version "1.26.2")
fb182b8a
MW
3371 (source
3372 (origin
3373 (method url-fetch)
3374 (uri (string-append "mirror://gnome/sources/" name "/"
3375 (version-major+minor version) "/"
3376 name "-" version ".tar.xz"))
3377 (sha256
3378 (base32
6a88e4ee 3379 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
3380 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3381 ;; to clutter, corresponding changes may be appropriate in mutter as well.
fb182b8a 3382 (build-system gnu-build-system)
600233bd
LC
3383 (outputs '("out"
3384 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
3385 (native-inputs
3386 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3387 ("gobject-introspection" ,gobject-introspection)
3388 ("pkg-config" ,pkg-config)
3389 ("xsltproc" ,libxslt)))
3390 (propagated-inputs
3391 `(("cogl" ,cogl)
3392 ("cairo" ,cairo)
3393 ("atk" ,atk)
3394 ("gtk+" ,gtk+)
3395 ("json-glib" ,json-glib)
3396 ("glib" ,glib)
3397 ("libxcomposite" ,libxcomposite)
3398 ("libxdamage" ,libxdamage)
3399 ("libxext" ,libxext)
3400 ("xinput" ,xinput)))
3401 (inputs
3402 `(("libxkbcommon" ,libxkbcommon)
3403 ("udev" ,eudev)))
3404 (arguments
600233bd
LC
3405 `(#:configure-flags (list "--enable-x11-backend=yes"
3406
3407 ;; This produces share/doc/{clutter,cally}.
3408 (string-append "--with-html-dir="
3409 (assoc-ref %outputs "doc")
3410 "/share/doc"))
fb182b8a
MW
3411 ;; XXX FIXME: Get test suite working. It would probably fail in the
3412 ;; same way the cogl tests fail, since clutter is based on cogl.
3413 #:tests? #f))
3414 (home-page "http://www.clutter-project.org")
3415 (synopsis "Open GL based interactive canvas library")
3416 (description
3417 "Clutter is an Open GL based interactive canvas library, designed for
3418creating fast, mainly 2D single window applications such as media box UIs,
3419presentations, kiosk style applications and so on.")
3420 (license license:lgpl2.0+)))
bf7f17ba
MW
3421
3422(define-public clutter-gtk
3423 (package
3424 (name "clutter-gtk")
5d1a3219 3425 (version "1.8.4")
bf7f17ba
MW
3426 (source
3427 (origin
3428 (method url-fetch)
3429 (uri (string-append "mirror://gnome/sources/" name "/"
3430 (version-major+minor version) "/"
3431 name "-" version ".tar.xz"))
3432 (sha256
3433 (base32
5d1a3219 3434 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
bf7f17ba
MW
3435 (build-system gnu-build-system)
3436 (native-inputs
3437 `(("pkg-config" ,pkg-config)
3438 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
3439 (propagated-inputs
3440 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
3441 `(("clutter" ,clutter)
3442 ("gtk+" ,gtk+)))
3443 (home-page "http://www.clutter-project.org")
3444 (synopsis "Open GL based interactive canvas library GTK+ widget")
3445 (description
3446 "Clutter is an Open GL based interactive canvas library, designed for
3447creating fast, mainly 2D single window applications such as media box UIs,
3448presentations, kiosk style applications and so on.")
3449 (license license:lgpl2.0+)))
86d6a893
MW
3450
3451(define-public clutter-gst
3452 (package
3453 (name "clutter-gst")
a2b9cfa5 3454 (version "3.0.26")
86d6a893
MW
3455 (source
3456 (origin
3457 (method url-fetch)
3458 (uri (string-append "mirror://gnome/sources/" name "/"
3459 (version-major+minor version) "/"
3460 name "-" version ".tar.xz"))
3461 (sha256
3462 (base32
a2b9cfa5 3463 "0fnblqm4igdx4rn3681bp1gm1y2i00if3iblhlm0zv6ck9nqlqfq"))))
86d6a893
MW
3464 (build-system gnu-build-system)
3465 (native-inputs
3466 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3467 ("pkg-config" ,pkg-config)
3468 ("gobject-introspection" ,gobject-introspection)))
3469 (inputs
3470 `(("clutter" ,clutter)
3471 ("gstreamer" ,gstreamer)
3472 ("gst-plugins-base" ,gst-plugins-base)))
3473 (home-page "http://www.clutter-project.org")
3474 (synopsis "Integration library for using GStreamer with Clutter")
3475 (description
3476 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3477It provides a GStreamer sink to upload frames to GL and an actor that
3478implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3479GL based interactive canvas library.")
3480 (license license:lgpl2.0+)))
607a04ae 3481
30dc88d9
LC
3482(define-public libchamplain
3483 (package
3484 (name "libchamplain")
5564b2c5 3485 (version "0.12.16")
30dc88d9
LC
3486 (source (origin
3487 (method url-fetch)
3488 (uri (string-append
3489 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3490 version ".tar.xz"))
3491 (sha256
3492 (base32
5564b2c5 3493 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
30dc88d9 3494 (build-system gnu-build-system)
f7c6833f
LF
3495 (arguments '(#:configure-flags '("--enable-vala")))
3496 (native-inputs
3497 `(("gobject-introspection" ,gobject-introspection)
3498 ("pkg-config" ,pkg-config)
3499 ("vala" ,vala)))
30dc88d9
LC
3500 (propagated-inputs
3501 `(("libsoup" ,libsoup)
3502 ("sqlite" ,sqlite)
3503 ("clutter" ,clutter)
3504 ("clutter-gtk" ,clutter-gtk)
3505 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3506 ("cairo" ,cairo)
3507 ("gtk+3" ,gtk+)
3508 ("glib" ,glib)))
f032d0be 3509 (home-page "https://projects.gnome.org/libchamplain/")
30dc88d9
LC
3510 (synopsis "C library providing a ClutterActor to display maps")
3511 (description
3512 "libchamplain is a C library providing a ClutterActor to display maps.
3513It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3514and Perl bindings are also available. It supports numerous free map sources
3515such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3516 (license license:lgpl2.1+)))
3517
607a04ae
MW
3518(define-public gom
3519 (package
3520 (name "gom")
0510440b 3521 (version "0.3.2")
607a04ae
MW
3522 (source
3523 (origin
3524 (method url-fetch)
3525 (uri (string-append "mirror://gnome/sources/" name "/"
3526 (version-major+minor version) "/"
3527 name "-" version ".tar.xz"))
3528 (sha256
3529 (base32
0510440b 3530 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
3531 (build-system gnu-build-system)
3532 (native-inputs
3533 `(("intltool" ,intltool)
3534 ("pkg-config" ,pkg-config)
3535 ("gobject-introspection" ,gobject-introspection)))
3536 (inputs
3537 `(("glib" ,glib)
3538 ("gdk-pixbuf" ,gdk-pixbuf)
3539 ("sqlite" ,sqlite)))
3540 ;; XXX TODO: Figure out how to run the test suite.
3541 (arguments `(#:tests? #f))
3542 (home-page "https://wiki.gnome.org/Projects/Gom")
3543 (synopsis "Object mapper from GObjects to SQLite")
3544 (description
3545 "Gom provides an object mapper from GObjects to SQLite. It helps you
3546write applications that need to store structured data as well as make complex
3547queries upon that data.")
3548 (license license:lgpl2.1+)))
b7a3cf11 3549
865aacc9 3550(define-public libgnome-games-support
f09520db 3551 (package
865aacc9 3552 (name "libgnome-games-support")
da40501b 3553 (version "1.2.3")
f09520db
SB
3554 (source (origin
3555 (method url-fetch)
3556 (uri (string-append "mirror://gnome/sources/" name "/"
3557 (version-major+minor version) "/"
3558 name "-" version ".tar.xz"))
3559 (sha256
3560 (base32
da40501b 3561 "1vwad7kqy7yd6wqyr71nq0blh7m53r3lz6ya16dmh942kd0w48v1"))))
f09520db
SB
3562 (build-system gnu-build-system)
3563 (arguments
3564 '(#:phases
3565 (modify-phases %standard-phases
3566 (add-before 'check 'pre-check
3567 (lambda _
865aacc9 3568 ;; Tests require a writable HOME.
f09520db
SB
3569 (setenv "HOME" (getcwd))
3570 #t)))))
3571 (native-inputs
3572 `(("intltool" ,intltool)
3573 ("pkg-config" ,pkg-config)
3574 ("vala" ,vala)))
3575 (propagated-inputs
865aacc9 3576 ;; Required by libgnome-games-support-1.0.pc
f09520db
SB
3577 `(("gtk+" ,gtk+)
3578 ("libgee" ,libgee)))
3579 (home-page "https://www.gnome.org/")
3580 (synopsis "Useful functionality shared among GNOME games")
3581 (description
865aacc9 3582 "libgnome-games-support is a small library intended for internal use by
f09520db
SB
3583GNOME Games, but it may be used by others.")
3584 (license license:lgpl3+)))
3585
b7a3cf11
SB
3586(define-public gnome-klotski
3587 (package
3588 (name "gnome-klotski")
36828576 3589 (version "3.22.3")
b7a3cf11
SB
3590 (source (origin
3591 (method url-fetch)
3592 (uri (string-append "mirror://gnome/sources/" name "/"
3593 (version-major+minor version) "/"
3594 name "-" version ".tar.xz"))
3595 (sha256
3596 (base32
36828576 3597 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
b7a3cf11
SB
3598 (build-system glib-or-gtk-build-system)
3599 (native-inputs
3600 `(("desktop-file-utils" ,desktop-file-utils)
3601 ("intltool" ,intltool)
3602 ("itstool" ,itstool)
bcb354ad
SB
3603 ("pkg-config" ,pkg-config)
3604 ("xmllint" ,libxml2)))
b7a3cf11
SB
3605 (inputs
3606 `(("gtk+" ,gtk+)
f4eae76f 3607 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
3608 ("librsvg" ,librsvg)))
3609 (home-page "https://wiki.gnome.org/Apps/Klotski")
3610 (synopsis "Sliding block puzzles")
3611 (description
3612 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3613the patterned block to the area bordered by green markers. To do so, you will
3614need to slide other blocks out of the way. Complete each puzzle in as few moves
3615as possible!")
3616 (license license:gpl2+)))
8d4791bf
MW
3617
3618(define-public grilo
3619 (package
3620 (name "grilo")
99dd2af9 3621 (version "0.3.3")
8d4791bf
MW
3622 (source
3623 (origin
3624 (method url-fetch)
3625 (uri (string-append "mirror://gnome/sources/" name "/"
3626 (version-major+minor version) "/"
3627 name "-" version ".tar.xz"))
3628 (sha256
3629 (base32
99dd2af9 3630 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
8d4791bf
MW
3631 (build-system gnu-build-system)
3632 (native-inputs
3633 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3634 ("intltool" ,intltool)
3635 ("pkg-config" ,pkg-config)
3636 ("gobject-introspection" ,gobject-introspection)))
3637 (inputs
6d7273a0
KK
3638 `(("cyrus-sasl" ,cyrus-sasl)
3639 ("glib" ,glib)
8d4791bf
MW
3640 ("gtk+" ,gtk+)
3641 ("libxml2" ,libxml2)
6d7273a0 3642 ("liboauth" ,liboauth)
8d4791bf 3643 ("libsoup" ,libsoup)
e7305878 3644 ("nettle" ,nettle)
8d4791bf
MW
3645 ("totem-pl-parser" ,totem-pl-parser)))
3646 (arguments
3647 `(#:phases
3648 (modify-phases %standard-phases
3649 (add-after 'unpack 'fix-introspection-install-dir
3650 (lambda* (#:key outputs #:allow-other-keys)
3651 (let ((out (assoc-ref outputs "out")))
3652 (substitute* '("src/Makefile.in"
3653 "libs/pls/Makefile.in"
3654 "libs/net/Makefile.in")
3655 (("@INTROSPECTION_GIRDIR@")
3656 (string-append out "/share/gir-1.0/"))
3657 (("@INTROSPECTION_TYPELIBDIR@")
8c52aab4
MW
3658 (string-append out "/lib/girepository-1.0/")))
3659 #t))))))
8d4791bf
MW
3660 (native-search-paths
3661 (list (search-path-specification
3662 (variable "GRL_PLUGIN_PATH")
3663 (files (list (string-append "lib/grilo-"
3664 (version-major+minor version)))))))
f032d0be 3665 (home-page "https://live.gnome.org/Grilo")
8d4791bf
MW
3666 (synopsis "Framework for discovering and browsing media")
3667 (description
3668 "Grilo is a framework focused on making media discovery and browsing easy
3669for application developers.")
3670 (license license:lgpl2.1+)))
7b212526
MW
3671
3672(define-public grilo-plugins
3673 (package
3674 (name "grilo-plugins")
22753632 3675 (version "0.3.3")
7b212526
MW
3676 (source
3677 (origin
3678 (method url-fetch)
3679 (uri (string-append "mirror://gnome/sources/" name "/"
3680 (version-major+minor version) "/"
3681 name "-" version ".tar.xz"))
3682 (sha256
3683 (base32
22753632 3684 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
7b212526
MW
3685 (build-system gnu-build-system)
3686 (native-inputs
3687 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3688 ("intltool" ,intltool)
3689 ("itstool" ,itstool)
3690 ("pkg-config" ,pkg-config)))
3691 (inputs
3692 `(("grilo" ,grilo)
924ae80f 3693 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
7b212526
MW
3694 ("glib" ,glib)
3695 ("libxml2" ,libxml2)
3696 ("sqlite" ,sqlite)
3697 ("gom" ,gom)
3698 ;; XXX TODO: Add oauth
3699 ;; XXX TODO: Add goa
3700 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3701 ;; XXX TODO: Add lua (needs help finding it)
3702 ("json-glib" ,json-glib)
3703 ("avahi" ,avahi)
3704 ("gmime" ,gmime)
3705 ("libsoup" ,libsoup)
3706 ("libarchive" ,libarchive)
3707 ("totem-pl-parser" ,totem-pl-parser)))
3708 (arguments
3709 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3710 %output
3711 "/lib/grilo-"
3712 ,(version-major+minor version)))
3713 ;; XXX FIXME: Try to get the test suite working. It appears to require
3714 ;; a working system dbus. Inside the build container, all tests fail
3715 ;; with: "assertion failed: (source)". Outside of the build container,
3716 ;; most tests succeed.
3717 #:tests? #f))
f032d0be 3718 (home-page "https://live.gnome.org/Grilo")
7b212526
MW
3719 (synopsis "Plugins for the Grilo media discovery library")
3720 (description
3721 "Grilo is a framework focused on making media discovery and browsing easy
3722for application developers.")
3723 (license license:lgpl2.1+)))
4e3fc547
MW
3724
3725(define-public totem
3726 (package
3727 (name "totem")
0e091b3e 3728 (version "3.26.2")
4e3fc547
MW
3729 (source
3730 (origin
3731 (method url-fetch)
3732 (uri (string-append "mirror://gnome/sources/" name "/"
3733 (version-major+minor version) "/"
3734 name "-" version ".tar.xz"))
3735 (sha256
3736 (base32
0e091b3e 3737 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
7ad81b8b
LC
3738 (patches (search-patches "totem-meson-easy-codec.patch"))))
3739 (build-system meson-build-system)
4e3fc547
MW
3740 (native-inputs
3741 `(("pkg-config" ,pkg-config)
3742 ("desktop-file-utils" ,desktop-file-utils)
3743 ("gobject-introspection" ,gobject-introspection)
7ad81b8b
LC
3744 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3745 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
4e3fc547 3746 ("intltool" ,intltool)
bcb354ad
SB
3747 ("itstool" ,itstool)
3748 ("xmllint" ,libxml2)))
4e3fc547
MW
3749 (propagated-inputs
3750 `(("dconf" ,dconf)))
3751 (inputs
3752 `(("gtk+" ,gtk+)
3753 ("gdk-pixbuf" ,gdk-pixbuf)
3754 ("atk" ,atk)
3755 ("cairo" ,cairo)
3756 ("dbus-glib" ,dbus-glib)
3757 ("clutter" ,clutter)
3758 ("clutter-gtk" ,clutter-gtk)
3759 ("clutter-gst" ,clutter-gst)
6a6db57f 3760 ("xorgproto" ,xorgproto)
4e3fc547
MW
3761 ("libxxf86vm" ,libxxf86vm)
3762 ("libxtst" ,libxtst)
3763 ("libxrandr" ,libxrandr)
3764 ("libxml2" ,libxml2)
3765 ("libsoup" ,libsoup)
3766 ("libpeas" ,libpeas)
3767 ("librsvg" ,librsvg)
3768 ("lirc" ,lirc)
3769 ("gnome-desktop" ,gnome-desktop)
3770 ("gstreamer" ,gstreamer)
3771 ("gst-plugins-base" ,gst-plugins-base)
3772 ("gst-plugins-good" ,gst-plugins-good)
3773 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3774 ("adwaita-icon-theme" ,adwaita-icon-theme)
3775 ;; XXX We use python-2 because libxml2 because itstool (which needs
3776 ;; libxml) currently uses python-2.
3777 ("python" ,python-2)
3778 ("python-pygobject" ,python2-pygobject)
3779 ;; XXX TODO pylint needed for python support
3780 ("totem-pl-parser" ,totem-pl-parser)
3781 ("grilo" ,grilo)
3782 ("grilo-plugins" ,grilo-plugins)
3783 ("nettle" ,nettle)
3784 ("vala" ,vala)))
3785 (arguments
7ad81b8b
LC
3786 `(#:glib-or-gtk? #t
3787
a97bfa46
AVY
3788 ;; Disable parallel builds until
3789 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3790 ;; fixed. Try enabling it when updating this package in case
3791 ;; upstream has fixed it.
3792 #:parallel-build? #f
3793
7ad81b8b 3794 ;; Disable automatic GStreamer plugin installation via PackageKit and
ec5c24f9 3795 ;; all that.
7ad81b8b 3796 #:configure-flags '("-D" "enable-easy-codec-installation=no"
a388c951
LC
3797
3798 ;; Do not build .a files for the plugins, it's
3799 ;; completely useless. This saves 2 MiB.
7ad81b8b 3800 "--default-library" "shared")
ec5c24f9
LC
3801
3802 #:phases
4e3fc547 3803 (modify-phases %standard-phases
6368eb39
DM
3804 (add-before
3805 'install 'disable-cache-generation
3806 (lambda _
3807 (setenv "DESTDIR" "/")
3808 #t))
4e3fc547
MW
3809 (add-after
3810 'install 'wrap-totem
3811 (lambda* (#:key inputs outputs #:allow-other-keys)
3812 (let ((out (assoc-ref outputs "out"))
3813 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3814 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3815 (wrap-program (string-append out "/bin/totem")
3816 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
39c853bd
AW
3817 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3818 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3819 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4e3fc547
MW
3820 #t)))))
3821 (home-page "https://wiki.gnome.org/Apps/Videos")
3822 (synopsis "Simple media player for GNOME based on GStreamer")
3823 (description "Totem is a simple yet featureful media player for GNOME
3824which can read a large number of file formats.")
3825 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3826 ;; to be used and distributed together with GStreamer and Totem. See
3827 ;; file://COPYING in the source distribution for details.
3828 (license license:gpl2+)))
f0afb0c8
DH
3829
3830(define-public rhythmbox
3831 (package
3832 (name "rhythmbox")
778c4a2f 3833 (version "3.4.2")
f0afb0c8
DH
3834 (source (origin
3835 (method url-fetch)
3836 (uri (string-append "mirror://gnome/sources/" name "/"
3837 (version-major+minor version) "/"
3838 name "-" version ".tar.xz"))
aa758763
CB
3839 (patches
3840 (list
3841 ;; fmradio: Fix build with GStreamer master
3842 (origin
3843 (method url-fetch)
3844 (uri (string-append
3845 "https://gitlab.gnome.org/GNOME/rhythmbox/commit/"
3846 "b182c6b9e1d09e601bac0b703cc5f8b159ebbc3a.patch"))
3847 (sha256
3848 (base32
e1d97c4e 3849 "06n87xgf927djmv1vshal84nqx7g8nwgljza3g2vydhy7g2n1csq")))))
f0afb0c8
DH
3850 (sha256
3851 (base32
778c4a2f 3852 "0hzcns8gf5yb0rm4ss8jd8qzarcaplp5cylk6plwilsqfvxj4xn2"))))
f0afb0c8
DH
3853 (build-system glib-or-gtk-build-system)
3854 (arguments
3855 `(#:configure-flags
3856 (list "--enable-lirc"
3857 "--enable-python"
3858 "--enable-vala"
3859 "--with-brasero"
3860 "--with-gudev"
3861 "--with-libsecret")
3862 #:phases
3863 (modify-phases %standard-phases
3864 (add-after
3865 'install 'wrap-rhythmbox
3866 (lambda* (#:key inputs outputs #:allow-other-keys)
3867 (let ((out (assoc-ref outputs "out"))
3868 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3869 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
3870 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3871 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
3872 (wrap-program (string-append out "/bin/rhythmbox")
3873 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3874 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
3875 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3876 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
3877 #t)))))
3878 (propagated-inputs
3879 `(("dconf" ,dconf)))
3880 (native-inputs
bcb354ad
SB
3881 `(("itstool" ,itstool)
3882 ("intltool" ,intltool)
f0afb0c8
DH
3883 ("glib" ,glib "bin")
3884 ("gobject-introspection" ,gobject-introspection)
3885 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
3886 ("pkg-config" ,pkg-config)
3887 ("xmllint" ,libxml2)))
f0afb0c8
DH
3888 (inputs
3889 `(("json-glib" ,json-glib)
3890 ("tdb" ,tdb)
3891 ("gnome-desktop" ,gnome-desktop)
3892 ("python" ,python)
3893 ("python-pygobject" ,python2-pygobject)
3894 ("vala" ,vala)
3895 ("gmime" ,gmime)
3896 ("nettle" ,nettle)
f0afb0c8
DH
3897 ("adwaita-icon-theme" ,adwaita-icon-theme)
3898 ("grilo" ,grilo)
3899 ("grilo-plugins" ,grilo-plugins)
3900 ("gstreamer" ,gstreamer)
3901 ("gst-plugins-base" ,gst-plugins-base)
3902 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 3903 ("totem-pl-parser" ,totem-pl-parser)
ea226291 3904 ("libgudev" ,libgudev)
f0afb0c8
DH
3905 ;;("libmtp" ,libmtp) FIXME: Not detected
3906 ("libsecret" ,libsecret)
3907 ("libsoup" ,libsoup)
3908 ("libnotify" ,libnotify)
3909 ("libpeas" ,libpeas)
3910 ("lirc" ,lirc)
3911 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3912 ;;("clutter" ,clutter)
3913 ;;("clutter-gtk" ,clutter-gtk)
3914 ;;("clutter-gst" ,clutter-gst)
3915 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3916 ("atk" ,atk)
3917 ("pango" ,pango)
3918 ("gtk+" ,gtk+)
3919 ;; TODO:
3920 ;; * libgpod
3921 ;; * mx
f0afb0c8
DH
3922 ("brasero" ,brasero)))
3923 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3924 (synopsis "Music player for GNOME")
3925 (description "Rhythmbox is a music playing application for GNOME. It
3926supports playlists, song ratings, and any codecs installed through gstreamer.")
3927 (license license:gpl2+)))
f70d8383
DH
3928
3929(define-public eog
3930 (package
3931 (name "eog")
9bc646d0 3932 (version "3.26.2")
f70d8383
DH
3933 (source (origin
3934 (method url-fetch)
3935 (uri (string-append "mirror://gnome/sources/" name "/"
3936 (version-major+minor version) "/"
3937 name "-" version ".tar.xz"))
3938 (sha256
3939 (base32
9bc646d0 3940 "1b87i31mxzayd3knn9zg00y816d093qrbyx556w8a03xz96ksgmm"))))
f70d8383
DH
3941 (build-system glib-or-gtk-build-system)
3942 (arguments
3943 `(#:phases
3944 (modify-phases %standard-phases
3945 (add-after
3946 'install 'wrap-eog
3947 (lambda* (#:key outputs #:allow-other-keys)
3948 (let ((out (assoc-ref outputs "out"))
3949 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3950 (wrap-program (string-append out "/bin/eog")
3951 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3952 #t)))))
3953 (propagated-inputs
3954 `(("dconf" ,dconf)))
3955 (native-inputs
3956 `(("intltool" ,intltool)
b3546174 3957 ("itstool" ,itstool)
f70d8383
DH
3958 ("glib" ,glib "bin")
3959 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
3960 ("pkg-config" ,pkg-config)
3961 ("xmllint" ,libxml2)))
f70d8383
DH
3962 (inputs
3963 `(("gnome-desktop" ,gnome-desktop)
3964 ("shared-mime-info" ,shared-mime-info)
3965 ("adwaita-icon-theme" ,adwaita-icon-theme)
3966 ("exempi" ,exempi)
3967 ("lcms" ,lcms)
3968 ("libexif" ,libexif)
3969 ("libpeas" ,libpeas)
3970 ("libjpeg" ,libjpeg)
3971 ("librsvg" ,librsvg)
3972 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3973 ("gtk+" ,gtk+)))
3974 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3975 (synopsis "GNOME image viewer")
3976 (description "Eye of GNOME is the GNOME image viewer. It
3977supports image conversion, rotation, and slideshows.")
3978 (license license:gpl2+)))
41af5e7b 3979
0c3f8cb8
LC
3980(define-public eog-plugins
3981 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
3982 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
3983 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
3984 ;; 'XDG_DATA_DIRS' appropriately set.
3985 (package
3986 (name "eog-plugins")
1a4e5530 3987 (version "3.26.2")
0c3f8cb8
LC
3988 (source (origin
3989 (method url-fetch)
3990 (uri (string-append "mirror://gnome/sources/" name "/"
3991 (version-major+minor version) "/"
3992 name "-" version ".tar.xz"))
3993 (sha256
3994 (base32
1a4e5530 3995 "1w8zw7kwfvlwlyb1k1inqdvbwnzq959sqawlmnwfb8ykn98hbk8y"))))
0c3f8cb8
LC
3996 (build-system gnu-build-system)
3997 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
3998 (synopsis "Extensions for the Eye of GNOME image viewer")
3999 (native-inputs
4000 `(("pkg-config" ,pkg-config)
4001 ("gettext" ,gnu-gettext)))
4002 (inputs
4003 `(("eog" ,eog)
4004 ("glib" ,glib)
4005 ("gtk+" ,gtk+)
4006 ("libpeas" ,libpeas)
4007 ("libexif" ,libexif)
4008 ("libchamplain" ,libchamplain)))
4009 (description
4010 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4011notably:
4012
4013@itemize
4014@item @dfn{EXIF Display}, which displays camera (EXIF) information;
4015@item @dfn{Map}, which displays a map of where the picture was taken on the
4016side panel;
4017@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4018@end itemize\n")
4019
4020 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4021 ;; long suspicious byte stream that goes to a
4022 ;; ".gresource.eog_postasa_plugin" ELF section.
4023 (license license:gpl2+)))
4024
41af5e7b
SB
4025(define-public libgudev
4026 (package
4027 (name "libgudev")
4028 (version "230")
4029 (source (origin
4030 (method url-fetch)
4031 (uri (string-append "mirror://gnome/sources/" name "/"
4032 version "/" name "-" version ".tar.xz"))
4033 (sha256
4034 (base32
4035 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
4036 (build-system gnu-build-system)
4037 (native-inputs
4038 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4039 ("gobject-introspection" ,gobject-introspection)
4040 ("pkg-config" ,pkg-config)))
4041 (propagated-inputs
4042 `(("glib" ,glib))) ; required by gudev-1.0.pc
4043 (inputs
4044 `(("udev" ,eudev)))
4045 (home-page "https://wiki.gnome.org/Projects/libgudev")
4046 (synopsis "GObject bindings for libudev")
4047 (description
4048 "This library provides GObject bindings for libudev. It was originally
4049part of udev-extras, then udev, then systemd. It's now a project on its own.")
4050 (license license:lgpl2.1+)))
3dc8828f
SB
4051
4052(define-public gvfs
4053 (package
4054 (name "gvfs")
8e8fefb6 4055 (version "1.32.1")
3dc8828f
SB
4056 (source (origin
4057 (method url-fetch)
4058 (uri (string-append "mirror://gnome/sources/" name "/"
4059 (version-major+minor version) "/"
4060 name "-" version ".tar.xz"))
4061 (sha256
4062 (base32
8e8fefb6 4063 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
3dc8828f
SB
4064 (build-system gnu-build-system)
4065 (arguments
4066 '(#:tests? #f)) ; XXX: requiring `pidof'
4067 (native-inputs
4068 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4069 ("intltool" ,intltool)
4070 ("pkg-config" ,pkg-config)
4071 ("xsltproc" ,libxslt)))
4072 (inputs
4073 `(("avahi" ,avahi)
4074 ("docbook-xml" ,docbook-xml-4.2)
4075 ("docbook-xsl" ,docbook-xsl)
4076 ("dbus" ,dbus)
4077 ("fuse" ,fuse)
24a78aa6 4078 ("gcr" ,gcr)
3dc8828f
SB
4079 ("glib" ,glib)
4080 ("libarchive" ,libarchive)
4081 ("libbluray" ,libbluray)
8852ca24 4082 ("libcap" ,libcap)
3dc8828f
SB
4083 ("libcdio-paranoia" ,libcdio-paranoia)
4084 ("libgcrypt" ,libgcrypt)
4085 ("libgphoto2" ,libgphoto2)
4086 ("libgudev" ,libgudev)
4087 ("libmtp" ,libmtp)
4088 ("libsecret" ,libsecret)
4089 ("libsmbclient" ,samba)
4090 ("libsoup" ,libsoup)
4091 ("libxml2" ,libxml2)
4092 ("nettle" ,nettle) ; XXX: required by libarchive.pc
8852ca24 4093 ("polkit" ,polkit)
3dc8828f
SB
4094 ("udisks" ,udisks)))
4095 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 4096 (synopsis "Userspace virtual file system for GIO")
3dc8828f 4097 (description
8f65585b 4098 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
4099abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4100to all applications using the GIO API. It also supports exposing the GVFS
4101mounts to non-GIO applications using FUSE.
4102
4103GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4104DAV, and others.")
4105 (license license:lgpl2.0+)))
7c88b6bd
AW
4106
4107(define-public gusb
4108 (package
4109 (name "gusb")
536b3274 4110 (version "0.3.0")
7c88b6bd
AW
4111 (source (origin
4112 (method url-fetch)
4113 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
536b3274 4114 version ".tar.gz"))
7c88b6bd
AW
4115 (sha256
4116 (base32
536b3274
MB
4117 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4118 (build-system meson-build-system)
7c88b6bd 4119 (native-inputs
536b3274 4120 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
4121 ("pkg-config" ,pkg-config)
4122 ("vala" ,vala)
7c88b6bd
AW
4123 ("gtk-doc" ,gtk-doc)))
4124 (propagated-inputs
4125 ;; Both of these are required by gusb.pc.
4126 `(("glib" ,glib)
4127 ("libusb" ,libusb)))
4128 (arguments
536b3274 4129 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 4130 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 4131 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
4132 (description
4133 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4134asynchronous control, bulk and interrupt transfers with proper cancellation
4135and integration into a mainloop. This makes it easy to integrate low level
4136USB transfers with your high-level application or system daemon.")
4137 (license license:lgpl2.1+)))
0abe1d86
AW
4138
4139(define-public simple-scan
4140 (package
4141 (name "simple-scan")
baca5333 4142 (version "3.24.1")
0abe1d86
AW
4143 (source (origin
4144 (method url-fetch)
4145 (uri (string-append "https://launchpad.net/simple-scan/"
4146 (version-major+minor version) "/"
4147 version "/+download/simple-scan-"
4148 version ".tar.xz"))
4149 (sha256
4150 (base32
baca5333 4151 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
0abe1d86
AW
4152 (build-system glib-or-gtk-build-system)
4153 (inputs
4154 `(("gtk" ,gtk+)
4155 ("zlib" ,zlib)
4156 ("cairo" ,cairo)
4157 ("gdk-pixbuf" ,gdk-pixbuf)
4158 ("gusb" ,gusb)
4c928743 4159 ("libsane" ,sane-backends)))
0abe1d86 4160 (native-inputs
b94a6ca0 4161 `(("gettext" ,gettext-minimal)
0abe1d86
AW
4162 ("itstool" ,itstool)
4163 ("colord" ,colord)
4164 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4165 ("pkg-config" ,pkg-config)
bcb354ad
SB
4166 ("vala" ,vala)
4167 ("xmllint" ,libxml2)))
fb9ca511
TGR
4168 (arguments
4169 '(#:configure-flags '("--disable-packagekit")
4170 #:phases
4171 (modify-phases %standard-phases
4172 (add-after 'unpack 'clean
4173 (lambda _
4174 ;; Remove a left-over reference to PackageKit.
4175
4176 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4177
4178 ;; There are some generated C files erroneously
4179 ;; included in the source distribution, and this
4180 ;; one breaks the build by referring to a
4181 ;; non-existent header (packagekit.h)
4182 (delete-file "src/ui.c"))))))
0abe1d86
AW
4183 (home-page "https://launchpad.net/simple-scan")
4184 (synopsis "Document and image scanner")
4185 (description "Simple Scan is an easy-to-use application, designed to let
4186users connect their scanner and quickly have the image/document in an
4187appropriate format. Simple Scan is basically a frontend for SANE - which is
4188the same backend as XSANE uses. This means that all existing scanners will
4189work and the interface is well tested.")
4190 (license license:gpl3+)))
7549f984 4191
ab466d79
RW
4192(define-public eolie
4193 (package
4194 (name "eolie")
e6b65bd2 4195 (version "0.9.45")
ab466d79
RW
4196 (source (origin
4197 (method url-fetch)
00014781 4198 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
e6b65bd2 4199 "uploads/020f3f686e2b938731752a1d9f5bfa7e/"
00014781 4200 "eolie-" version ".tar.xz"))
ab466d79
RW
4201 (sha256
4202 (base32
e6b65bd2 4203 "0371p7g13r0b7zjc48fdcil43ddwpmyvkd2a4vv6ifsqmny6kl42"))))
00014781 4204 (build-system meson-build-system)
ab466d79 4205 (arguments
00014781
RW
4206 `(#:glib-or-gtk? #t
4207 #:phases
ab466d79
RW
4208 (modify-phases %standard-phases
4209 (add-after 'wrap 'wrap-more
4210 (lambda* (#:key inputs outputs #:allow-other-keys)
4211 (let* ((out (assoc-ref outputs "out"))
4212 ;; These libraries must be on LD_LIBRARY_PATH.
4213 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4214 "atk" "gtk+" "gsettings-desktop-schemas"
84b33436 4215 "gcc:lib" ; needed b/c webkitgtk is built with gcc-7
ab466d79
RW
4216 "gobject-introspection"))
4217 (path (string-join
4218 (map (lambda (lib)
4219 (string-append (assoc-ref inputs lib) "/lib"))
4220 libs)
4221 ":")))
4222 (wrap-program (string-append out "/bin/eolie")
4223 `("LD_LIBRARY_PATH" ":" prefix (,path))
4224 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4225 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4226 #t)))))
4227 (native-inputs
84b33436
MW
4228 `(("gcc:lib" ,gcc-7 "lib") ; needed because webkitgtk is built with gcc-7
4229 ("intltool" ,intltool)
ab466d79 4230 ("itstool" ,itstool)
d95f1041 4231 ("pkg-config" ,pkg-config)
d95f1041 4232 ("python" ,python)
00014781 4233 ("glib:bin" ,glib "bin")
d95f1041 4234 ("gtk+" ,gtk+ "bin")))
ab466d79
RW
4235 (inputs
4236 `(("gobject-introspection" ,gobject-introspection)
4237 ("glib-networking" ,glib-networking)
4238 ("cairo" ,cairo)
4239 ("gtk+" ,gtk+)
4240 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4241 ("python" ,python-wrapper)
d72f76df 4242 ("python-dateutil" ,python-dateutil)
00014781 4243 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
4244 ("python-pygobject" ,python-pygobject)
4245 ("python-pycairo" ,python-pycairo)
00014781 4246 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
4247 ("libsecret" ,libsecret)
4248 ("gtkspell3" ,gtkspell3)
4249 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
84b33436 4250 ("webkitgtk" ,webkitgtk-2.22)))
166b2c97 4251 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
4252 (synopsis "Web browser for GNOME")
4253 (description
4254 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4255a secret password store, an adblocker, and a modern UI.")
4256 (license license:gpl3+)))
4257
7549f984
SB
4258(define-public epiphany
4259 (package
4260 (name "epiphany")
0e4d4d98 4261 (version "3.28.3.1")
7549f984
SB
4262 (source (origin
4263 (method url-fetch)
4264 (uri (string-append "mirror://gnome/sources/" name "/"
4265 (version-major+minor version) "/"
4266 name "-" version ".tar.xz"))
4267 (sha256
4268 (base32
0e4d4d98 4269 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
fc5c5b92
R
4270
4271 (build-system meson-build-system)
7549f984
SB
4272 (arguments
4273 ;; FIXME: tests run under Xvfb, but fail with:
4274 ;; /src/bookmarks/ephy-bookmarks/create:
4275 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4276 ;; subsystem
4277 ;; FAIL
6f48d9db 4278 '(#:tests? #f
e19f9c24
LF
4279 #:glib-or-gtk? #t
4280 #:configure-flags
4281 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4282 (list (string-append "-Dc_link_args=-Wl,-rpath="
4283 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
4284 (propagated-inputs
4285 `(("dconf" ,dconf)))
7549f984 4286 (native-inputs
fc5c5b92 4287 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
480d39a6 4288 ("gcc" ,gcc-7) ; needed because webkitgtk-2.22 is compiled with gcc-7
fc5c5b92
R
4289 ("glib:bin" ,glib "bin") ; for glib-mkenums
4290 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4291 ("intltool" ,intltool)
7549f984 4292 ("itstool" ,itstool)
bcb354ad
SB
4293 ("pkg-config" ,pkg-config)
4294 ("xmllint" ,libxml2)))
7549f984
SB
4295 (inputs
4296 `(("avahi" ,avahi)
4297 ("gcr" ,gcr)
fc5c5b92 4298 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
4299 ("glib-networking" ,glib-networking)
4300 ("gnome-desktop" ,gnome-desktop)
4301 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 4302 ("json-glib" ,json-glib)
7549f984
SB
4303 ("iso-codes" ,iso-codes)
4304 ("libnotify" ,libnotify)
4305 ("libsecret" ,libsecret)
7549f984 4306 ("libxslt" ,libxslt)
fc5c5b92 4307 ("nettle" ,nettle) ; for hogweed
7549f984 4308 ("sqlite" ,sqlite)
480d39a6 4309 ("webkitgtk" ,webkitgtk-2.22)))
7549f984
SB
4310 (home-page "https://wiki.gnome.org/Apps/Web")
4311 (synopsis "GNOME web browser")
4312 (description
4313 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4314principles are simplicity and standards compliance.")
4315 (license license:gpl2+)))
a3856b2c
SB
4316
4317(define-public d-feet
4318 (package
4319 (name "d-feet")
7d04b13c 4320 (version "0.3.11")
a3856b2c
SB
4321 (source (origin
4322 (method url-fetch)
4323 (uri (string-append "mirror://gnome/sources/" name "/"
4324 (version-major+minor version) "/"
4325 name "-" version ".tar.xz"))
4326 (sha256
4327 (base32
7d04b13c 4328 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
a3856b2c
SB
4329 (build-system glib-or-gtk-build-system)
4330 (arguments
4331 '(#:out-of-source? #f ; tests need to run in the source directory.
4332 #:phases
4333 (modify-phases %standard-phases
4334 (add-before
4335 'check 'pre-check
86aff791 4336 (lambda _
a3856b2c
SB
4337 ;; The test suite requires a running X server.
4338 (system "Xvfb :1 &")
4339 (setenv "DISPLAY" ":1")
4340 ;; Don't fail on missing '/etc/machine-id'.
4341 (setenv "DBUS_FATAL_WARNINGS" "0")
4342 ;; tests.py and window.py don't meet E402:
4343 ;; E402 module level import not at top of file
4344 (substitute* "src/tests/Makefile"
86aff791
MW
4345 (("--ignore=E123") "--ignore=E123,E402"))
4346 #t))
a3856b2c
SB
4347 (add-after
4348 'install 'wrap-program
4349 (lambda* (#:key outputs #:allow-other-keys)
4350 (let ((prog (string-append (assoc-ref outputs "out")
4351 "/bin/d-feet")))
4352 (wrap-program prog
4353 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
4354 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4355 #t))))))
a3856b2c
SB
4356 (native-inputs
4357 `(("intltool" ,intltool)
4358 ("itstool" ,itstool)
4359 ("pkg-config" ,pkg-config)
4360 ("python-pep8" ,python-pep8)
4361 ("xmllint" ,libxml2)
4362 ("xorg-server" ,xorg-server)))
4363 (inputs
4364 `(("gobject-introspection" ,gobject-introspection)
4365 ("gtk+" ,gtk+)
4366 ("python" ,python-wrapper)
4367 ("python-pygobject" ,python-pygobject)))
4368 (home-page "https://wiki.gnome.org/Apps/DFeet")
4369 (synopsis "D-Bus debugger")
4370 (description
4371 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4372of running programs and invoke methods on those interfaces.")
4373 (license license:gpl2+)))
c3b97bd9
SB
4374
4375(define-public yelp-xsl
4376 (package
4377 (name "yelp-xsl")
27ad5743 4378 (version "3.20.1")
c3b97bd9
SB
4379 (source (origin
4380 (method url-fetch)
4381 (uri (string-append "mirror://gnome/sources/" name "/"
4382 (version-major+minor version) "/"
4383 name "-" version ".tar.xz"))
4384 (sha256
4385 (base32
27ad5743 4386 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
c3b97bd9
SB
4387 (build-system gnu-build-system)
4388 (native-inputs
4389 `(("intltool" ,intltool)
4390 ("itstool" ,itstool)
4391 ("xmllint" ,libxml2)))
4392 (home-page "https://wiki.gnome.org/Apps/Yelp")
4393 (synopsis "XSL stylesheets for Yelp")
4394 (description
4395 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4396to format Docbook and Mallard documents.")
4397 (license license:gpl2+)))
de3d612a
SB
4398
4399(define-public yelp
4400 (package
4401 (name "yelp")
491cc0dc 4402 (version "3.22.0")
de3d612a
SB
4403 (source (origin
4404 (method url-fetch)
4405 (uri (string-append "mirror://gnome/sources/" name "/"
4406 (version-major+minor version) "/"
4407 name "-" version ".tar.xz"))
4408 (sha256
4409 (base32
491cc0dc 4410 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
de3d612a
SB
4411 (build-system glib-or-gtk-build-system)
4412 (native-inputs
4413 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4414 ("intltool" ,intltool)
4415 ("itstool" ,itstool)
4416 ("pkg-config" ,pkg-config)))
4417 (propagated-inputs
4418 `(("dconf" ,dconf)))
4419 (inputs
ad1b7d8b
SB
4420 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4421 ("libxslt" ,libxslt)
de3d612a 4422 ("sqlite" ,sqlite)
4c28ca1d
SB
4423 ("webkitgtk" ,webkitgtk)
4424 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
4425 (home-page "https://wiki.gnome.org/Apps/Yelp")
4426 (synopsis "GNOME help browser")
4427 (description
4428 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4429man, info, and HTML documents. It can locate documents according to the
4430freedesktop.org help system specification.")
4431 (license license:gpl2+)))
122d0d10
SB
4432
4433(define-public yelp-tools
4434 (package
4435 (name "yelp-tools")
50695955 4436 (version "3.18.0")
122d0d10
SB
4437 (source (origin
4438 (method url-fetch)
4439 (uri (string-append "mirror://gnome/sources/" name "/"
4440 (version-major+minor version) "/"
4441 name "-" version ".tar.xz"))
4442 (sha256
4443 (base32
50695955 4444 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
122d0d10
SB
4445 (build-system gnu-build-system)
4446 (native-inputs
4447 `(("pkg-config" ,pkg-config)))
4448 (propagated-inputs
4449 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4450 `(("itstool" ,itstool)
4451 ("xmllint" ,libxml2)
4452 ("xsltproc" ,libxslt)))
4453 (inputs
4454 `(("yelp-xsl" ,yelp-xsl)))
4455 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4456 (synopsis "Yelp documentation tools")
4457 (description
4458 "Yelp-tools is a collection of scripts and build utilities to help create,
4459manage, and publish documentation for Yelp and the web. Most of the heavy
4460lifting is done by packages like yelp-xsl and itstool. This package just
4461wraps things up in a developer-friendly way.")
4462 (license license:gpl2+)))
af8f9f23
RW
4463
4464(define-public libgee
4465 (package
4466 (name "libgee")
b1be07cf 4467 (version "0.20.1")
af8f9f23
RW
4468 (source (origin
4469 (method url-fetch)
4470 (uri (string-append "mirror://gnome/sources/" name "/"
4471 (version-major+minor version) "/"
4472 name "-" version ".tar.xz"))
4473 (sha256
4474 (base32
b1be07cf 4475 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
af8f9f23
RW
4476 (build-system gnu-build-system)
4477 (arguments
4478 `(#:phases
4479 (modify-phases %standard-phases
4480 (add-after 'unpack 'fix-introspection-install-dir
4481 (lambda* (#:key outputs #:allow-other-keys)
4482 (let ((out (assoc-ref outputs "out")))
4483 (substitute* "gee/Makefile.in"
4484 (("@INTROSPECTION_GIRDIR@")
4485 (string-append out "/share/gir-1.0/"))
4486 (("@INTROSPECTION_TYPELIBDIR@")
4487 (string-append out "/lib/girepository-1.0/")))))))))
4488 (native-inputs
4489 `(("glib" ,glib "bin")
4490 ("pkg-config" ,pkg-config)))
4491 (inputs
4492 `(("glib" ,glib)
4493 ("gobject-introspection" ,gobject-introspection)))
4494 (home-page "https://wiki.gnome.org/Projects/Libgee")
4495 (synopsis "GObject collection library")
4496 (description
4497 "Libgee is a utility library providing GObject-based interfaces and
4498classes for commonly used data structures.")
4499 (license license:lgpl2.1+)))
b0f9c4b8
RW
4500
4501(define-public gexiv2
4502 (package
4503 (name "gexiv2")
adf0b482 4504 (version "0.10.10")
b0f9c4b8
RW
4505 (source (origin
4506 (method url-fetch)
4507 (uri (string-append "mirror://gnome/sources/" name "/"
4508 (version-major+minor version) "/"
4509 name "-" version ".tar.xz"))
4510 (sha256
4511 (base32
adf0b482 4512 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
51c482e4 4513 (build-system meson-build-system)
b0f9c4b8
RW
4514 (native-inputs
4515 `(("glib" ,glib "bin")
4516 ("pkg-config" ,pkg-config)))
4517 (propagated-inputs
4518 ;; Listed in "Requires" section of gexiv2.pc
4519 `(("exiv2" ,exiv2)))
4520 (inputs
4521 `(("glib" ,glib)
4522 ("gobject-introspection" ,gobject-introspection)))
4523 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4524 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4525 (description
4526 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4527allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4528metadata in photo and video files of various formats.")
4529 (license license:gpl2+)))
fed5a689
RW
4530
4531(define-public shotwell
4532 (package
4533 (name "shotwell")
e266043e 4534 (version "0.28.4")
fed5a689
RW
4535 (source (origin
4536 (method url-fetch)
4537 (uri (string-append "mirror://gnome/sources/" name "/"
4538 (version-major+minor version) "/"
4539 name "-" version ".tar.xz"))
4540 (sha256
4541 (base32
e266043e 4542 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
fed5a689 4543 (build-system glib-or-gtk-build-system)
735b8db6
TGR
4544 (propagated-inputs
4545 `(("dconf" ,dconf)))
fed5a689
RW
4546 (native-inputs
4547 `(("pkg-config" ,pkg-config)
f819c21d 4548 ("itstool" ,itstool)
b94a6ca0 4549 ("gettext" ,gettext-minimal)
77e9c993 4550 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
735b8db6
TGR
4551 ("itstool" ,itstool)
4552 ("vala" ,vala)))
fed5a689 4553 (inputs
735b8db6
TGR
4554 `(("glib:bin" ,glib "bin")
4555 ("gstreamer" ,gstreamer)
fed5a689 4556 ("gst-plugins-base" ,gst-plugins-base)
dfb0323d 4557 ("libgdata" ,libgdata)
fed5a689
RW
4558 ("libgee" ,libgee)
4559 ("gexiv2" ,gexiv2)
4560 ("libraw" ,libraw)
4561 ("json-glib" ,json-glib)
7108425c 4562 ("webkitgtk" ,webkitgtk)
fed5a689
RW
4563 ("sqlite" ,sqlite)
4564 ("libsoup" ,libsoup)
4565 ("libxml2" ,libxml2)
fed5a689 4566 ("libgudev" ,libgudev)
522fc32e
LF
4567 ("libgphoto2" ,libgphoto2)
4568 ("gcr" ,gcr)))
fed5a689
RW
4569 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4570 (synopsis "Photo manager for GNOME 3")
4571 (description
4572 "Shotwell is a digital photo manager designed for the GNOME desktop
4573environment. It allows you to import photos from disk or camera, organize
4574them by keywords and events, view them in full-window or fullscreen mode, and
4575share them with others via social networking and more.")
4576 (license license:lgpl2.1+)))
293ff8b2
DT
4577
4578(define-public file-roller
4579 (package
4580 (name "file-roller")
1b59d45e 4581 (version "3.26.2")
293ff8b2
DT
4582 (source (origin
4583 (method url-fetch)
4584 (uri (string-append "mirror://gnome/sources/" name "/"
4585 (version-major+minor version) "/"
4586 name "-" version ".tar.xz"))
4587 (sha256
4588 (base32
1b59d45e 4589 "19d8pc5z2xzhnicgaysxmwx3ghwzl4cw8kygd6nsw69g3j77nrry"))))
293ff8b2 4590 (build-system glib-or-gtk-build-system)
c282c55d
SB
4591 (arguments
4592 '(#:phases
4593 (modify-phases %standard-phases
4594 (add-before 'install 'skip-gtk-update-icon-cache
4595 (lambda _
4596 ;; Don't create 'icon-theme.cache'
4597 (substitute* (find-files "data" "^Makefile$")
4598 (("gtk-update-icon-cache") (which "true")))
4599 #t)))))
293ff8b2
DT
4600 (native-inputs
4601 `(("intltool" ,intltool)
4602 ("pkg-config" ,pkg-config)))
4603 ;; TODO: Add libnautilus.
4604 (inputs
4605 `(("gtk+" ,gtk+)
4606 ("gdk-pixbuf" ,gdk-pixbuf)
4607 ("json-glib" ,json-glib)
4608 ("libarchive" ,libarchive)
4609 ("libnotify" ,libnotify)
4610 ("nettle" ,nettle)
4611 ("itstool" ,itstool)
4612 ("libxml2" ,libxml2)))
4613 (synopsis "Graphical archive manager for GNOME")
4614 (description "File Roller is an archive manager for the GNOME desktop
4615environment that allows users to view, unpack, and create compressed archives
4616such as gzip tarballs.")
4617 (home-page "http://fileroller.sourceforge.net/")
4618 (license license:gpl2+)))
7ce49365
SB
4619
4620(define-public gnome-session
4621 (package
4622 (name "gnome-session")
17cf06c3 4623 (version "3.24.1")
7ce49365
SB
4624 (source (origin
4625 (method url-fetch)
4626 (uri (string-append "mirror://gnome/sources/" name "/"
4627 (version-major+minor version) "/"
4628 name "-" version ".tar.xz"))
4629 (sha256
4630 (base32
17cf06c3 4631 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
2914af3c
AW
4632 (arguments
4633 '(#:phases
4634 (modify-phases %standard-phases
4635 (add-before 'configure 'pre-configure
4636 (lambda* (#:key outputs #:allow-other-keys)
4637 ;; Use elogind instead of systemd.
4638 (substitute* "configure"
4639 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4640 "libelogind")
4641 (("systemd") "elogind"))
4642 (substitute* "gnome-session/gsm-systemd.c"
4643 (("#include <systemd/sd-login.h>")
4644 "#include <elogind/sd-login.h>"))
4645 ;; Remove uses of the systemd journal.
4646 (substitute* "gnome-session/main.c"
4647 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4648 (substitute* "gnome-session/gsm-manager.c"
4649 (("#ifdef HAVE_SYSTEMD") "#if 0"))
803ab416
SB
4650 (substitute* "gnome-session/gsm-autostart-app.c"
4651 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
4652 #t))
4653 (add-after 'install 'wrap-gnome-session
4654 (lambda* (#:key inputs outputs #:allow-other-keys)
4655 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4656 (let ((glib (assoc-ref inputs "glib:bin"))
4657 (out (assoc-ref outputs "out")))
4658 (wrap-program (string-append out "/bin/gnome-session")
4659 `("PATH" ":" prefix (,(string-append glib "/bin"))))
1d7bff4b
TS
4660 #t)))
4661 (add-after 'install 'add-absolute-paths-to-desktop-files
4662 (lambda* (#:key outputs #:allow-other-keys)
4663 (let* ((out (assoc-ref outputs "out")))
4664 (substitute* (map (lambda (x)
4665 (string-append out "/share/xsessions/" x))
4666 '("gnome.desktop" "gnome-xorg.desktop"))
4667 (("gnome-session") (string-append out "/bin/gnome-session")))
a0d7baaf 4668 #t))))
6cbc8d57 4669
2914af3c
AW
4670 #:configure-flags
4671 '("--enable-elogind")))
ba3cb5ab 4672 (build-system glib-or-gtk-build-system)
7ce49365
SB
4673 (native-inputs
4674 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4675 ("pkg-config" ,pkg-config)
4676 ("intltool" ,intltool)
4677 ("xsltproc" ,libxslt)))
4678 (inputs
2914af3c
AW
4679 `(("elogind" ,elogind)
4680 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 4681 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
4682 ("gtk+" ,gtk+)
4683 ("json-glib" ,json-glib)
4684 ("libsm" ,libsm)
4685 ("libxcomposite" ,libxcomposite)
4686 ("libxtst" ,libxtst)
4687 ("mesa" ,mesa)
4688 ("upower" ,upower)
4689 ("xtrans" ,xtrans)))
4690 (synopsis "Session manager for GNOME")
4691 (description
4692 "This package contains the GNOME session manager, as well as a
4693configuration program to choose applications starting on login.")
4694 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4695 (license license:gpl2+)))
f47ba77e
SB
4696
4697(define-public gjs
4698 (package
4699 (name "gjs")
9d086c07 4700 (version "1.48.6")
f47ba77e
SB
4701 (source (origin
4702 (method url-fetch)
4703 (uri (string-append "mirror://gnome/sources/" name "/"
4704 (version-major+minor version) "/"
4705 name "-" version ".tar.xz"))
4706 (sha256
4707 (base32
9d086c07 4708 "04nkig077r7xq55dxg9v46w8i7p8zkkdyja92yv81grq9fx6apz8"))))
f47ba77e
SB
4709 (build-system gnu-build-system)
4710 (arguments
4711 '(#:phases
4712 (modify-phases %standard-phases
4713 (add-before
4714 'check 'pre-check
4715 (lambda _
fc119619
MW
4716 ;; The test suite requires a running X server.
4717 (system "Xvfb :1 &")
4718 (setenv "DISPLAY" ":1")
4719
f47ba77e
SB
4720 ;; For the missing /etc/machine-id.
4721 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 4722
144f94d0
KK
4723 ;; Our mozjs-38 package does not compile the required Intl API
4724 ;; support for these failing tests.
4725 (substitute* "installed-tests/js/testLocale.js"
4726 ((".*toBeDefined.*") "")
4727 ((".*expect\\(datestr\\).*") ""))
f47ba77e
SB
4728 #t)))))
4729 (native-inputs
8a831c6f 4730 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
4731 ("pkg-config" ,pkg-config)
4732 ("xmllint" ,libxml2)
4733 ;; For testing
4734 ("dbus-launch" ,dbus)
4735 ("uuidgen" ,util-linux)
4736 ("xvfb" ,xorg-server)))
4737 (propagated-inputs
4738 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
4739 `(("cairo" ,cairo)
4740 ("gobject-introspection" ,gobject-introspection)
4741 ("mozjs" ,mozjs-38)))
f47ba77e
SB
4742 (inputs
4743 `(("gtk+" ,gtk+)
4744 ("readline" ,readline)))
4745 (synopsis "Javascript bindings for GNOME")
f032d0be 4746 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
4747 (description
4748 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4749javascript engine and the GObject introspection framework.")
4750 (license license:gpl2+)))
329d731b
DH
4751
4752(define-public gedit
4753 (package
4754 (name "gedit")
6a29c8d3 4755 (version "3.28.1")
329d731b
DH
4756 (source (origin
4757 (method url-fetch)
4758 (uri (string-append "mirror://gnome/sources/" name "/"
4759 (version-major+minor version) "/"
4760 name "-" version ".tar.xz"))
4761 (sha256
4762 (base32
6a29c8d3 4763 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
329d731b
DH
4764 (build-system glib-or-gtk-build-system)
4765 (arguments
0d2df50c 4766 `(#:phases
329d731b
DH
4767 (modify-phases %standard-phases
4768 (add-after
4769 'install 'wrap-gedit
4770 (lambda* (#:key inputs outputs #:allow-other-keys)
4771 (let ((out (assoc-ref outputs "out"))
4772 (gtksourceview (assoc-ref inputs "gtksourceview"))
afc25242
SB
4773 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4774 (python-path (getenv "PYTHONPATH")))
329d731b 4775 (wrap-program (string-append out "/bin/gedit")
afc25242 4776 ;; For plugins.
329d731b 4777 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
afc25242 4778 `("PYTHONPATH" ":" prefix (,python-path))
329d731b
DH
4779 ;; For language-specs.
4780 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4781 "/share")))))
4782 #t)))))
4783 (propagated-inputs
4784 `(("dconf" ,dconf)))
4785 (native-inputs
4786 `(("intltool" ,intltool)
b3546174 4787 ("itstool" ,itstool)
329d731b
DH
4788 ("gobject-introspection" ,gobject-introspection)
4789 ("pkg-config" ,pkg-config)))
4790 (inputs
4791 `(("glib" ,glib)
0d2df50c 4792 ("gspell" ,gspell)
329d731b
DH
4793 ("gtk+" ,gtk+)
4794 ("gtksourceview" ,gtksourceview)
4795 ("libpeas" ,libpeas)
4796 ("libxml2" ,libxml2)
329d731b
DH
4797 ("iso-codes" ,iso-codes)
4798 ("python-pygobject" ,python-pygobject)
4799 ("python" ,python)
4800 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4801 ("libx11" ,libx11)
4802 ("vala" ,vala)
4803 ("adwaita-icon-theme" ,adwaita-icon-theme)
4804 ("libsoup" ,libsoup)
4805 ("gnome-desktop" ,gnome-desktop)))
4806 (home-page "https://wiki.gnome.org/Apps/Gedit")
4807 (synopsis "GNOME text editor")
4808 (description "While aiming at simplicity and ease of use, gedit is a
4809powerful general purpose text editor.")
4810 (license license:gpl2+)))
b7179363
SB
4811
4812(define-public zenity
4813 (package
4814 (name "zenity")
380cb96e 4815 (version "3.24.0")
b7179363
SB
4816 (source (origin
4817 (method url-fetch)
4818 (uri (string-append "mirror://gnome/sources/" name "/"
4819 (version-major+minor version) "/"
4820 name "-" version ".tar.xz"))
4821 (sha256
4822 (base32
380cb96e 4823 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
b7179363
SB
4824 (build-system gnu-build-system)
4825 (native-inputs
b94a6ca0 4826 `(("gettext" ,gettext-minimal)
b7179363
SB
4827 ("itstool" ,itstool)
4828 ("pkg-config" ,pkg-config)))
4829 (inputs
4830 `(("libnotify" ,libnotify)
4831 ("webkitgtk" ,webkitgtk)))
4832 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 4833 (home-page "https://www.gnome.org")
b7179363
SB
4834 (description
4835 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4836to display dialog boxes from the commandline and shell scripts.")
4837 (license license:lgpl2.0+)))
60c3627c
SB
4838
4839(define-public mutter
4840 (package
4841 (name "mutter")
a51fc34c 4842 (version "3.24.4")
60c3627c 4843 (source (origin
86c44e72
KK
4844 (method url-fetch)
4845 (uri (string-append "mirror://gnome/sources/" name "/"
4846 (version-major+minor version) "/"
4847 name "-" version ".tar.xz"))
60c3627c
SB
4848 (sha256
4849 (base32
a51fc34c 4850 "1slspy5krbqfvnma72lvdnxjf8ag2cvxssa8bvi7y3xxy7xv603k"))))
86c44e72
KK
4851 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4852 ;; versions of cogl and clutter. As a result, many of the inputs,
4853 ;; propagated-inputs, and configure flags used in cogl and clutter are
4854 ;; needed here as well.
60c3627c
SB
4855 (build-system gnu-build-system)
4856 (arguments
4857 '(#:configure-flags
4858 ;; XXX: build fails with [-Werror]:
4859 ;; backends/meta-cursor-renderer.c:112:5: error:
4860 ;; implicit declaration of function ?roundf?
a88d5a0c
MW
4861 (list "--enable-compile-warnings=minimum"
4862
86c44e72 4863 "--enable-native-backend"
a88d5a0c
MW
4864
4865 ;; The following flags are needed for the bundled clutter
4866 "--enable-x11-backend=yes"
4867
d633f2f6
RH
4868 (string-append "--with-xwayland-path="
4869 (assoc-ref %build-inputs "xorg-server-xwayland")
4870 "/bin/Xwayland")
4871
a88d5a0c
MW
4872 ;; the remaining flags are needed for the bundled cogl
4873 "--enable-cogl-gst"
4874 (string-append "--with-gl-libname="
4875 (assoc-ref %build-inputs "mesa")
f23052a6
DC
4876 "/lib/libGL.so"))
4877 #:phases
4878 (modify-phases %standard-phases
86c44e72
KK
4879 ;; Replace references to systemd libraries to elogind references.
4880 (add-before 'configure 'use-elogind
4881 (lambda _
4882 (substitute* (list "configure"
4883 "src/backends/native/meta-launcher.c"
4884 "src/core/main.c")
4885 (("systemd") "elogind"))
4886 #t)))))
60c3627c
SB
4887 (native-inputs
4888 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4889 ("gobject-introspection" ,gobject-introspection)
4890 ("intltool" ,intltool)
f23052a6
DC
4891 ("pkg-config" ,pkg-config)
4892 ;; For git build
4893 ("autoconf" ,autoconf)
4894 ("automake" ,automake)
4895 ("libtool" ,libtool)))
60c3627c 4896 (propagated-inputs
a88d5a0c
MW
4897 `(;; libmutter.pc refers to these:
4898 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4899 ("gtk+" ,gtk+)
4900 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4901 ("atk" ,atk)
4902 ("cairo" ,cairo)
4903 ("gdk-pixbuf" ,gdk-pixbuf)
4904 ("glib" ,glib)
60c3627c 4905 ("gtk+" ,gtk+)
a88d5a0c
MW
4906 ("json-glib" ,json-glib)
4907 ("libinput" ,libinput)
4908 ("libx11" ,libx11)
4909 ("libxcomposite" ,libxcomposite)
4910 ("libxdamage" ,libxdamage)
4911 ("libxext" ,libxext)
4912 ("libxfixes" ,libxfixes)
4913 ("libxkbcommon" ,libxkbcommon)
4914 ("libxrandr" ,libxrandr)
4915 ("mesa" ,mesa)
4916 ("pango" ,pango)
4917 ("udev" ,eudev)
a88d5a0c 4918 ("xinput" ,xinput)))
60c3627c 4919 (inputs
86c44e72
KK
4920 `(("elogind" ,elogind)
4921 ("gnome-desktop" ,gnome-desktop)
60c3627c 4922 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 4923 ("libgudev" ,libgudev)
60c3627c
SB
4924 ("libice" ,libice)
4925 ("libsm" ,libsm)
60c3627c 4926 ("libxkbfile" ,libxkbfile)
a88d5a0c 4927 ("libxrandr" ,libxrandr)
86c44e72 4928 ("libxtst" ,libxtst)
60c3627c
SB
4929 ("startup-notification" ,startup-notification)
4930 ("upower-glib" ,upower)
4931 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 4932 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
4933 ("zenity" ,zenity)))
4934 (synopsis "Window and compositing manager")
f032d0be 4935 (home-page "https://www.gnome.org")
60c3627c
SB
4936 (description
4937 "Mutter is a window and compositing manager that displays and manages your
4938desktop via OpenGL. Mutter combines a sophisticated display engine using the
4939Clutter toolkit with solid window-management logic inherited from the Metacity
4940window manager.")
86c44e72 4941 (license license:gpl2+)))
685cee87
SB
4942
4943(define-public gnome-online-accounts
4944 (package
4945 (name "gnome-online-accounts")
ae8e71ee 4946 (version "3.26.2")
685cee87
SB
4947 (source (origin
4948 (method url-fetch)
4949 (uri (string-append "mirror://gnome/sources/" name "/"
4950 (version-major+minor version) "/"
4951 name "-" version ".tar.xz"))
4952 (sha256
4953 (base32
ae8e71ee 4954 "1l8p1ghknmkmjpnpl7jr53j66qbzpikickzbmrz0aczyhq6pdy29"))))
685cee87
SB
4955 (build-system glib-or-gtk-build-system)
4956 (native-inputs
4957 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4958 ("gobject-introspection" ,gobject-introspection)
4959 ("intltool" ,intltool)
4960 ("pkg-config" ,pkg-config)
4961 ("xsltproc" ,libxslt)))
4962 (propagated-inputs
4963 `(("glib" ,glib) ; required by goa-1.0.pc
4964 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4965 (inputs
4966 `(("docbook-xsl" ,docbook-xsl)
4967 ("json-glib" ,json-glib)
4968 ("libsecret" ,libsecret)
4969 ("rest" ,rest)
685cee87
SB
4970 ("webkitgtk" ,webkitgtk)))
4971 (synopsis "Single sign-on framework for GNOME")
4972 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4973 (description
4974 "GNOME Online Accounts provides interfaces so that applications and
4975libraries in GNOME can access the user's online accounts. It has providers for
4976Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4977Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4978 (license license:lgpl2.0+)))
df217748
SB
4979
4980(define-public evolution-data-server
4981 (package
4982 (name "evolution-data-server")
891199c6 4983 (version "3.28.1")
df217748
SB
4984 (source (origin
4985 (method url-fetch)
4986 (uri (string-append "mirror://gnome/sources/" name "/"
4987 (version-major+minor version) "/"
4988 name "-" version ".tar.xz"))
4989 (sha256
4990 (base32
891199c6 4991 "12b9lfgwd57rzn9394xrbvl9ym5aqldpz9v7c9a421dsv8dgq13b"))))
743aebd7 4992 (build-system cmake-build-system)
df217748 4993 (arguments
743aebd7 4994 '(;; XXX FIXME: 11/85 tests are failing.
df217748
SB
4995 #:tests? #f
4996 #:configure-flags
ac033c7b
MB
4997 (let* ((lib (string-append (assoc-ref %outputs "out")
4998 "/lib"))
4999 (runpaths (map (lambda (s) (string-append
5000 lib "/evolution-data-server/" s))
5001 '("addressbook-backends" "calendar-backends"
5002 "camel-providers" "credential-modules"
5003 "registry-modules"))))
5004 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5005 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5006 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5007 "-DENABLE_VALA_BINDINGS=ON"
5008 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
c97f2f70
MW
5009 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5010 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5011 ;; evolution-data-server has been updated to qualify ICU types
5012 ;; explicitly, as required by ICU 61 and later. See:
5013 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5014 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
ac033c7b
MB
5015 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5016 (string-append lib "/evolution-data-server;")
5017 (string-join runpaths ";"))
5018 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
5019 #:phases
5020 (modify-phases %standard-phases
743aebd7 5021 (add-after 'unpack 'patch-paths
df217748
SB
5022 (lambda _
5023 (substitute* "tests/test-server-utils/e-test-server-utils.c"
5024 (("/bin/rm") (which "rm")))
ac033c7b
MB
5025 #t))
5026 (add-before 'configure 'dont-override-rpath
5027 (lambda _
5028 (substitute* "CMakeLists.txt"
5029 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5030 ;; Remove it so the configure flag is respected.
5031 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5032 #t)))))
df217748
SB
5033 (native-inputs
5034 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5035 ("gobject-introspection" ,gobject-introspection)
5036 ("gperf" ,gperf)
5037 ("intltool" ,intltool)
5038 ("pkg-config" ,pkg-config)
a73c1cf8 5039 ("vala" ,vala)
743aebd7 5040 ("python" ,python-wrapper)))
df217748
SB
5041 (propagated-inputs
5042 ;; These are all in the Requires field of .pc files.
5043 `(("gtk+" ,gtk+)
5044 ("libical" ,libical)
5045 ("libsecret" ,libsecret)
5046 ("libsoup" ,libsoup)
5047 ("nss" ,nss)
5048 ("sqlite" ,sqlite)))
5049 (inputs
5050 `(("bdb" ,bdb)
5051 ("gcr" ,gcr)
5052 ("gnome-online-accounts" ,gnome-online-accounts)
891199c6 5053 ("json-glib" ,json-glib)
743aebd7
MB
5054 ("libgweather" ,libgweather)
5055 ("mit-krb5" ,mit-krb5)
891199c6
MW
5056 ("openldap" ,openldap)
5057 ("webkitgtk" ,webkitgtk)))
df217748
SB
5058 (synopsis "Store address books and calendars")
5059 (home-page "https://wiki.gnome.org/Apps/Evolution")
5060 (description
5061 "This package provides a unified backend for programs that work with
5062contacts, tasks, and calendar information. It was originally developed for
5063Evolution (hence the name), but is now used by other packages as well.")
5064 (license license:lgpl2.0)))
bd7dfafa
SB
5065
5066(define-public caribou
5067 (package
5068 (name "caribou")
fe964bb5 5069 (version "0.4.21")
bd7dfafa
SB
5070 (source (origin
5071 (method url-fetch)
5072 (uri (string-append "mirror://gnome/sources/" name "/"
5073 (version-major+minor version) "/"
5074 name "-" version ".tar.xz"))
5075 (sha256
5076 (base32
fe964bb5 5077 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
5078 (build-system glib-or-gtk-build-system)
5079 (arguments
5080 '(#:phases
5081 (modify-phases %standard-phases
5082 (add-before
5083 'build 'pre-build
5084 (lambda* (#:key outputs #:allow-other-keys)
5085 (let ((out (assoc-ref outputs "out")))
5086 ;; Use absolute shared library path in Caribou-1.0.typelib.
5087 (substitute* "libcaribou/Makefile"
5088 (("--shared-library=libcaribou.so")
5089 (string-append "--shared-library="
5090 out "/lib/libcaribou.so")))
5091 #t)))
5092 (add-after 'install 'wrap-programs
5093 (lambda* (#:key outputs #:allow-other-keys)
5094 (let* ((out (assoc-ref outputs "out"))
5095 (python-path (getenv "PYTHONPATH"))
5096 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5097 (for-each
5098 (lambda (prog)
5099 (wrap-program prog
5100 `("PYTHONPATH" ":" prefix (,python-path))
5101 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5102 (list (string-append out "/bin/caribou-preferences")
5103 (string-append out "/libexec/antler-keyboard"))))
5104 #t)))))
5105 (native-inputs
5106 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5107 ("gobject-introspection" ,gobject-introspection)
5108 ("intltool" ,intltool)
5109 ("pkg-config" ,pkg-config)
5110 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5111 ("vala" ,vala)
5112 ("xsltproc" ,libxslt)))
5113 (propagated-inputs
5114 ;; caribou-1.0.pc refers to all these.
5115 `(("libgee" ,libgee)
5116 ("libxklavier" ,libxklavier)
5117 ("libxtst" ,libxtst)
5118 ("gtk+" ,gtk+)))
5119 (inputs
5120 `(("clutter" ,clutter)
5121 ("dconf" ,dconf)
5122 ("gtk+-2" ,gtk+-2)
5123 ("python-pygobject" ,python2-pygobject)))
5124 (synopsis "Text entry and UI navigation application")
5125 (home-page "https://wiki.gnome.org/Projects/Caribou")
5126 (description
5127 "Caribou is an input assistive technology intended for switch and pointer
5128users.")
5129 (license license:lgpl2.1)))
ba5dd105 5130
ba5dd105
SB
5131(define-public network-manager
5132 (package
5133 (name "network-manager")
40a17c3b 5134 (version "1.8.4")
ba5dd105
SB
5135 (source (origin
5136 (method url-fetch)
5137 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5138 (version-major+minor version) "/"
5139 "NetworkManager-" version ".tar.xz"))
5140 (sha256
5141 (base32
40a17c3b 5142 "04lj081a5cdkhcnj1xs77chhy08d2h0648kmj1csxp46cfrjwpk2"))
fd070f35
CM
5143 (snippet
5144 '(begin
5145 (use-modules (guix build utils))
5146 (substitute* "configure"
5147 ;; Replace libsystemd-login with libelogind.
5148 (("libsystemd-login") "libelogind"))
5149 (substitute* "src/devices/wwan/nm-modem-manager.c"
5150 (("systemd") "elogind"))
5151 (substitute* "src/nm-session-monitor.c"
5152 (("systemd") "elogind"))
5153 (substitute* "./src/nm-logging.c"
6cbee49d
MW
5154 (("systemd") "elogind"))
5155 #t))))
ba5dd105
SB
5156 (build-system gnu-build-system)
5157 (outputs '("out"
5158 "doc")) ; 8 MiB of gtk-doc HTML
5159 (arguments
5160 '(#:configure-flags
5161 (let ((out (assoc-ref %outputs "out"))
5162 (doc (assoc-ref %outputs "doc"))
5163 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5164 "/sbin/dhclient")))
fd070f35
CM
5165 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
5166 "--with-consolekit=no"
5167 "--with-crypto=gnutls"
ba5dd105
SB
5168 "--disable-config-plugin-ibft"
5169 "--sysconfdir=/etc"
5170 "--localstatedir=/var"
5171 (string-append "--with-udev-dir="
5172 out "/lib/udev")
5173 (string-append "--with-dbus-sys-dir="
5174 out "/etc/dbus-1/system.d")
5175 (string-append "--with-html-dir="
5176 doc "/share/gtk-doc/html")
5177 (string-append "--with-dhclient=" dhclient)))
5178 #:phases
5179 (modify-phases %standard-phases
b4f59d87
AW
5180 (add-before 'configure 'pre-configure
5181 (lambda _
5182 ;; These tests try to test aspects of network-manager's
5183 ;; functionality within restricted containers, but they don't
5184 ;; cope with being already in the Guix build jail as that jail
5185 ;; lacks some features that they would like to proxy over (like
5186 ;; a /sys mount).
d04687dc
HG
5187 (substitute* '("Makefile.in")
5188 (("src/platform/tests/test-address-linux") " ")
5189 (("src/platform/tests/test-cleanup-linux") " ")
5190 (("src/platform/tests/test-link-linux") " ")
5191 (("src/platform/tests/test-route-linux") " ")
5192 (("src/devices/tests/test-arping") " ")
5193 (("src/devices/tests/test-lldp") " ")
5194 (("src/tests/test-route-manager-linux") " "))
b4f59d87 5195 #t))
ba5dd105
SB
5196 (add-before 'check 'pre-check
5197 (lambda _
5198 ;; For the missing /etc/machine-id.
5199 (setenv "DBUS_FATAL_WARNINGS" "0")
5200 #t))
5201 (replace 'install
5202 (lambda _
5203 (zero? (system* "make"
5204 "sysconfdir=/tmp"
142bdcbc
SB
5205 "rundir=/tmp"
5206 "statedir=/tmp"
d04687dc 5207 "nmstatedir=/tmp/nm"
ba5dd105 5208 "install")))))))
b93502d6
DC
5209 (propagated-inputs
5210 `(("glib" ,glib)))
ba5dd105
SB
5211 (native-inputs
5212 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5213 ("gobject-introspection" ,gobject-introspection)
d04687dc 5214 ("docbook-xsl" ,docbook-xsl)
ba5dd105 5215 ("intltool" ,intltool)
d04687dc
HG
5216 ("libxslt" ,libxslt)
5217 ("libxml2" ,libxml2)
ba5dd105
SB
5218 ("pkg-config" ,pkg-config)
5219 ;; For testing.
5220 ("python" ,python-wrapper)
5221 ("python-dbus" ,python-dbus)
5222 ("python-pygobject" ,python-pygobject)))
5223 (inputs
856ca567
KK
5224 `(("curl" ,curl)
5225 ("cyrus-sasl" ,cyrus-sasl)
5226 ("dbus-glib" ,dbus-glib)
ba5dd105 5227 ("dnsmasq" ,dnsmasq)
856ca567 5228 ("eudev" ,eudev)
ba5dd105
SB
5229 ("gnutls" ,gnutls)
5230 ("iptables" ,iptables)
5231 ("isc-dhcp" ,isc-dhcp)
d04687dc 5232 ("jansson" ,jansson)
ba5dd105
SB
5233 ("libgcrypt" ,libgcrypt)
5234 ("libgudev" ,libgudev)
5235 ("libndp" ,libndp)
5236 ("libnl" ,libnl)
5237 ("libsoup" ,libsoup)
142bdcbc 5238 ("modem-manager" ,modem-manager)
c27e02bf 5239 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
5240 ("polkit" ,polkit)
5241 ("ppp" ,ppp)
5242 ("readline" ,readline)
fd070f35
CM
5243 ("util-linux" ,util-linux)
5244 ("elogind" ,elogind)))
ba5dd105 5245 (synopsis "Network connection manager")
f032d0be 5246 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
5247 (description
5248 "NetworkManager is a system network service that manages your network
5249devices and connections, attempting to keep active network connectivity when
5250available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5251devices, and provides VPN integration with a variety of different VPN
5252services.")
29d2f451
LC
5253 (license license:gpl2+)
5254 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 5255
f2b96b3a
LC
5256(define-public network-manager-openvpn
5257 (package
5258 (name "network-manager-openvpn")
3d9637a9 5259 (version "1.8.0")
f2b96b3a
LC
5260 (source (origin
5261 (method url-fetch)
5262 (uri (string-append
5263 "mirror://gnome/sources/NetworkManager-openvpn/"
5264 (version-major+minor version)
5265 "/NetworkManager-openvpn-" version ".tar.xz"))
5266 (sha256
5267 (base32
3d9637a9 5268 "1973n89g66a3jfx8r45a811fga4kadh6r1w35cb25cz1mlii2vhn"))))
f2b96b3a
LC
5269 (build-system gnu-build-system)
5270 (arguments
5271 '(#:configure-flags '("--enable-absolute-paths")))
5272 (native-inputs
5273 `(("pkg-config" ,pkg-config)
5274 ("intltool" ,intltool)))
5275 (inputs
5276 `(("gtk+" ,gtk+)
5277 ("openvpn" ,openvpn)
5278 ("network-manager" ,network-manager)
5279 ("network-manager-applet" ,network-manager-applet) ;for libnma
5280 ("libsecret" ,libsecret)))
5281 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5282 (synopsis "OpenVPN plug-in for NetworkManager")
5283 (description
5284 "This extension of NetworkManager allows it to take care of connections
5285to virtual private networks (VPNs) via OpenVPN.")
5286 (license license:gpl2+)
5287 (properties `((upstream-name . "NetworkManager-openvpn")))))
5288
e5e1df4d
DC
5289(define-public mobile-broadband-provider-info
5290 (package
5291 (name "mobile-broadband-provider-info")
22345a8e 5292 (version "20170310")
e5e1df4d
DC
5293 (source (origin
5294 (method url-fetch)
5295 (uri (string-append
5296 "mirror://gnome/sources/"
5297 "mobile-broadband-provider-info/" version "/"
5298 "mobile-broadband-provider-info-" version ".tar.xz"))
5299 (sha256
5300 (base32
22345a8e 5301 "0fxm11x8k9hxjg8l5inaldfmmjnwkay3ibjv899jra03bv4h6kql"))))
e5e1df4d
DC
5302 (build-system gnu-build-system)
5303 (arguments
5304 `(#:tests? #f)) ; No tests
5305 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5306 (synopsis "Database of broadband connection configuration")
5307 (description "Database of broadband connection configuration.")
5308 (license license:public-domain)))
5309
4d62a9d3
SB
5310(define-public network-manager-applet
5311 (package
5312 (name "network-manager-applet")
40a17c3b 5313 (version "1.8.4")
4d62a9d3
SB
5314 (source (origin
5315 (method url-fetch)
5316 (uri (string-append "mirror://gnome/sources/" name "/"
5317 (version-major+minor version) "/"
5318 name "-" version ".tar.xz"))
5319 (sha256
5320 (base32
40a17c3b 5321 "0ag3pvjp58ykrzsjfbdxi0j5xd2i796jk7nns67zy03xwg9i0l0h"))))
4d62a9d3 5322 (build-system glib-or-gtk-build-system)
240cee8a 5323 (arguments '(#:configure-flags '("--disable-migration")))
4d62a9d3
SB
5324 (native-inputs
5325 `(("intltool" ,intltool)
5326 ("gobject-introspection" ,gobject-introspection)
5327 ("pkg-config" ,pkg-config)))
5328 (propagated-inputs
5329 ;; libnm-gtk.pc refers to all these.
5330 `(("dbus-glib" ,dbus-glib)
5331 ("gtk+" ,gtk+)
5332 ("network-manager" ,network-manager)))
5333 (inputs
5334 `(("iso-codes" ,iso-codes)
5335 ("libgudev" ,libgudev)
5336 ("libnotify" ,libnotify)
2116bfb3 5337 ("libsecret" ,libsecret)
240cee8a
KK
5338 ("libselinux" ,libselinux)
5339 ("jansson" ,jansson) ; for team support
5340 ("modem-manager" ,modem-manager)))
4d62a9d3 5341 (synopsis "Applet for managing network connections")
f032d0be 5342 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
5343 (description
5344 "This package contains a systray applet for NetworkManager. It displays
5345the available networks and allows users to easily switch between them.")
5346 (license license:gpl2+)))
56196594
RW
5347
5348(define-public libxml++
5349 (package
5350 (name "libxml++")
8344a85e 5351 (version "3.0.1")
56196594
RW
5352 (source (origin
5353 (method url-fetch)
5354 (uri (string-append "mirror://gnome/sources/" name "/"
5355 (version-major+minor version) "/"
5356 name "-" version ".tar.xz"))
5357 (sha256
5358 (base32
8344a85e 5359 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
5360 (build-system gnu-build-system)
5361 ;; libxml++-3.0.pc refers to all these.
5362 (propagated-inputs
5363 `(("libxml2" ,libxml2)
5364 ("glibmm" ,glibmm)))
5365 (native-inputs
5366 `(("perl" ,perl)
5367 ("pkg-config" ,pkg-config)))
5368 (home-page "http://libxmlplusplus.sourceforge.net/")
5369 (synopsis "C++ wrapper for XML parser library libxml2")
5370 (description
5371 "This package provides a C++ wrapper for the XML parser library
5372libxml2.")
5373 (license license:lgpl2.1+)))
df12f04a 5374
b61d9627
AW
5375(define-public libxml++-2
5376 (package
5377 (inherit libxml++)
5378 (name "libxml++")
5379 (version "2.40.1")
5380 (source (origin
5381 (method url-fetch)
5382 (uri (string-append "mirror://gnome/sources/" name "/"
5383 (version-major+minor version) "/"
5384 name "-" version ".tar.xz"))
5385 (sha256
5386 (base32
5387 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5388
df12f04a
SB
5389(define-public gdm
5390 (package
5391 (name "gdm")
0438f1d8 5392 (version "3.26.2.1")
df12f04a
SB
5393 (source (origin
5394 (method url-fetch)
5395 (uri (string-append "mirror://gnome/sources/" name "/"
5396 (version-major+minor version) "/"
5397 name "-" version ".tar.xz"))
feccc810 5398 (patches (search-patches "gdm-CVE-2018-14424.patch"))
df12f04a
SB
5399 (sha256
5400 (base32
0438f1d8 5401 "0mxdal6hh345xk2xqmw5192jgpprkbcv1d4bwmnl4arcc00cpp8p"))))
957dbc0a 5402 (build-system glib-or-gtk-build-system)
df12f04a
SB
5403 (arguments
5404 '(#:configure-flags
af37e6bb 5405 `("--without-plymouth"
957dbc0a 5406 "--disable-systemd-journal"
51bc8357
TS
5407
5408 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5409 ;; instead of having to replace it (i.e., stopping the mingetty
5410 ;; service for TTY 1 before starting GDM).
5411 "--with-initial-vt=7"
5412
5413 ;; By default, GDM expects distributions to install a custom Xsession
5414 ;; script. It provides a generic one if --enable-gdm-xsession is set.
5415 "--enable-gdm-xsession"
5416
89c86562
TS
5417 ;; Use '/etc/environment' for locale settings instead of the
5418 ;; systemd-specific '/etc/locale.conf'.
5419 "--with-lang-file=/etc/environment"
5420
af37e6bb
AW
5421 "--localstatedir=/var"
5422 ,(string-append "--with-default-path="
5423 (string-join '("/run/setuid-programs"
5424 "/run/current-system/profile/bin"
5425 "/run/current-system/profile/sbin")
957dbc0a
AW
5426 ":"))
5427 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5428 ;; XDG_DATA_DIRS so that it finds its schemas.
5429 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
5430 #:phases
5431 (modify-phases %standard-phases
5432 (add-before
5433 'configure 'pre-configure
5434 (lambda _
5435 ;; We don't have <systemd/sd-daemon.h>.
5436 (substitute* '("common/gdm-log.c"
5437 "daemon/gdm-server.c"
5438 "daemon/gdm-session-worker.c"
5439 "daemon/gdm-session-worker-job.c")
5440 (("#include <systemd/sd-daemon\\.h>") ""))
5441 ;; Use elogind for sd-login.
5442 (substitute* '("common/gdm-common.c"
5443 "daemon/gdm-manager.c"
5444 "libgdm/gdm-user-switching.c")
5445 (("#include <systemd/sd-login\\.h>")
5446 "#include <elogind/sd-login.h>"))
957dbc0a
AW
5447 ;; Check for elogind.
5448 (substitute* '("configure")
5449 (("libsystemd")
5450 "libelogind"))
af37e6bb
AW
5451 ;; Look for system-installed sessions in
5452 ;; /run/current-system/profile/share.
5453 (substitute* '("libgdm/gdm-sessions.c"
5454 "daemon/gdm-session.c"
5455 "daemon/gdm-display.c"
5456 "daemon/gdm-launch-environment.c")
5457 (("DATADIR \"/x")
5458 "\"/run/current-system/profile/share/x")
5459 (("DATADIR \"/wayland")
5460 "\"/run/current-system/profile/share/wayland")
5461 (("DATADIR \"/gnome")
5462 "\"/run/current-system/profile/share/gnome"))
e0e6756f
AW
5463 (substitute* '("daemon/gdm-session.c")
5464 (("set_up_session_environment \\(self\\);")
5465 (string-append
5466 "set_up_session_environment (self);\n"
5467 ;; Propagate GDM_X_SERVER environment variable (which is set
5468 ;; by the GDM service, as it's a function of what X modules
5469 ;; the user decides to have available) down to worker
5470 ;; processes.
5471 "gdm_session_set_environment_variable (self, \"GDM_X_SERVER\",\n"
5472 " g_getenv (\"GDM_X_SERVER\"));\n"
e57c2adb
TS
5473 ;; Propagate the GDM_CUSTOM_CONF environment variable.
5474 "gdm_session_set_environment_variable (self, \"GDM_CUSTOM_CONF\",\n"
5475 " g_getenv (\"GDM_CUSTOM_CONF\"));\n"
92deb5cc
TS
5476 ;; The session bus (which GDM will initialize from the this
5477 ;; session environment) needs to know where to find the system
5478 ;; service files.
5479 "gdm_session_set_environment_variable (self, \"XDG_DATA_DIRS\",\n"
5480 " \"/run/current-system/profile/share\");\n"
e0e6756f
AW
5481 )))
5482 ;; Look for custom GDM conf in /run/current-system.
950d8e5d 5483 (substitute* '("common/gdm-settings-desktop-backend.c")
e0e6756f 5484 (("GDM_CUSTOM_CONF")
e57c2adb
TS
5485 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5486 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5487 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
5488 ;; Use service-supplied path to X.
5489 (substitute* '("daemon/gdm-server.c")
5490 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5491 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5492 (substitute* '("daemon/gdm-x-session.c")
5493 (("X_SERVER")
5494 "g_getenv (\"GDM_X_SERVER\")"))
69544798
TS
5495 #t))
5496 ;; GDM needs GNOME Session to run these applications. We link
5497 ;; their autostart files in `share/gdm/greeter/autostart'
5498 ;; because GDM explicitly tells GNOME Session to look there.
5499 ;;
5500 ;; XXX: GNOME Shell should be linked here too, but currently
5501 ;; GNOME Shell depends on GDM.
5502 (add-after 'install 'link-autostart-files
5503 (lambda* (#:key inputs outputs #:allow-other-keys)
5504 (let* ((out (assoc-ref outputs "out"))
5505 (autostart (string-append out "/share/gdm/"
5506 "greeter/autostart"))
5507 (settings (assoc-ref inputs "gnome-settings-daemon")))
5508 (mkdir-p autostart)
5509 (with-directory-excursion autostart
5510 (for-each (lambda (desktop)
5511 (symlink desktop (basename desktop)))
5512 (find-files (string-append settings "/etc/xdg"))))
5513 #t))))))
df12f04a
SB
5514 (native-inputs
5515 `(("dconf" ,dconf)
5516 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5517 ("gobject-introspection" ,gobject-introspection)
5518 ("intltool" ,intltool)
5519 ("itstool" ,itstool)
5520 ("pkg-config" ,pkg-config)
5521 ("xmllint" ,libxml2)))
5522 (inputs
5523 `(("accountsservice" ,accountsservice)
5524 ("check" ,check) ; for testing
5525 ("elogind" ,elogind)
69544798 5526 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
5527 ("gtk+" ,gtk+)
5528 ("iso-codes" ,iso-codes)
5529 ("libcanberra" ,libcanberra)
5530 ("linux-pam" ,linux-pam)))
5531 (synopsis "Display manager for GNOME")
f032d0be 5532 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
5533 (description
5534 "GNOME Display Manager is a system service that is responsible for
5535providing graphical log-ins and managing local and remote displays.")
5536 (license license:gpl2+)))
8e1dd04f
SB
5537
5538(define-public libgtop
5539 (package
5540 (name "libgtop")
4f80158d 5541 (version "2.38.0")
8e1dd04f
SB
5542 (source (origin
5543 (method url-fetch)
5544 (uri (string-append "mirror://gnome/sources/" name "/"
5545 (version-major+minor version) "/"
5546 name "-" version ".tar.xz"))
5547 (sha256
5548 (base32
4f80158d 5549 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
8e1dd04f
SB
5550 (build-system gnu-build-system)
5551 (native-inputs
5552 `(("gobject-introspection" ,gobject-introspection)
5553 ("intltool" ,intltool)
5554 ("perl" ,perl)
5555 ("pkg-config" ,pkg-config)))
5556 (propagated-inputs
5557 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5558 (synopsis "Portable system access library")
5559 (home-page "https://www.gnome.org/")
5560 (description
5561 "LibGTop is a library to get system specific data such as CPU and memory
5562usage and information about running processes.")
5563 (license license:gpl2+)))
b96c4260
SB
5564
5565(define-public gnome-bluetooth
5566 (package
5567 (name "gnome-bluetooth")
f8cb2fbf 5568 (version "3.20.1")
b96c4260
SB
5569 (source (origin
5570 (method url-fetch)
5571 (uri (string-append "mirror://gnome/sources/" name "/"
5572 (version-major+minor version) "/"
5573 name "-" version ".tar.xz"))
5574 (sha256
5575 (base32
f8cb2fbf 5576 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
b96c4260
SB
5577 (build-system glib-or-gtk-build-system)
5578 (native-inputs
5579 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5580 ("gobject-introspection" ,gobject-introspection)
5581 ("intltool" ,intltool)
5582 ("pkg-config" ,pkg-config)
5583 ("xmllint" ,libxml2)))
5584 (propagated-inputs
5585 ;; gnome-bluetooth-1.0.pc refers to all these.
5586 `(("gtk+" ,gtk+)
5587 ("udev" ,eudev)))
5588 (inputs
5589 `(("libcanberra" ,libcanberra)
5590 ("libnotify" ,libnotify)))
5591 (synopsis "GNOME Bluetooth subsystem")
5592 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5593 (description
5594 "This package contains tools for managing and manipulating Bluetooth
5595devices using the GNOME desktop.")
5596 (license license:lgpl2.1+)))
b645146f
SB
5597
5598(define-public gnome-control-center
5599 (package
5600 (name "gnome-control-center")
cd5db771 5601 (version "3.24.3")
b645146f
SB
5602 (source (origin
5603 (method url-fetch)
5604 (uri (string-append "mirror://gnome/sources/" name "/"
5605 (version-major+minor version) "/"
5606 name "-" version ".tar.xz"))
5607 (sha256
5608 (base32
cd5db771 5609 "18ncjqjj93a39sla2zjr9i6pw59yh87p4jla899lmvi2qajd5923"))))
b645146f
SB
5610 (build-system glib-or-gtk-build-system)
5611 (arguments
5612 '(#:phases
5613 (modify-phases %standard-phases
5614 (add-before 'configure 'patch-paths
5615 (lambda* (#:key inputs #:allow-other-keys)
5616 (let ((libc (assoc-ref inputs "libc"))
5617 (tzdata (assoc-ref inputs "tzdata")))
5618 (substitute* "panels/datetime/tz.h"
5619 (("/usr/share/zoneinfo/zone.tab")
5620 (string-append tzdata "/share/zoneinfo/zone.tab")))
5621 (substitute* "panels/datetime/test-endianess.c"
5622 (("/usr/share/locale")
5623 (string-append libc "/share/locale")))
5624 #t))))))
5625 (native-inputs
5626 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5627 ("intltool" ,intltool)
5628 ("pkg-config" ,pkg-config)
5629 ("xsltproc" ,libxslt)))
5630 (inputs
5631 `(("accountsservice" ,accountsservice)
5632 ("clutter-gtk" ,clutter-gtk)
5633 ("colord-gtk" ,colord-gtk)
5634 ("cups" ,cups)
5635 ("dconf" ,dconf)
5636 ("docbook-xsl" ,docbook-xsl)
3446ffb5 5637 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
5638 ("gnome-bluetooth" ,gnome-bluetooth)
5639 ("gnome-desktop" ,gnome-desktop)
5640 ("gnome-online-accounts" ,gnome-online-accounts)
5641 ("gnome-settings-daemon" ,gnome-settings-daemon)
5642 ("grilo" ,grilo)
5643 ("ibus" ,ibus)
5644 ("libcanberra" ,libcanberra)
5645 ("libgudev" ,libgudev)
5646 ("libgtop" ,libgtop)
5647 ("libpwquality" ,libpwquality)
5648 ("libsoup" ,libsoup)
5649 ("libxml2" ,libxml2)
5650 ("libwacom" ,libwacom)
5651 ("mesa" ,mesa)
5652 ("mit-krb5" ,mit-krb5)
5653 ("modem-manager" ,modem-manager)
5654 ("network-manager-applet" ,network-manager-applet)
5655 ("polkit" ,polkit)
5656 ("pulseaudio" ,pulseaudio)
5657 ("smbclient" ,samba)
5658 ("tzdata" ,tzdata)
5659 ("upower" ,upower)))
5660 (synopsis "Utilities to configure the GNOME desktop")
5661 (home-page "https://www.gnome.org/")
5662 (description
5663 "This package contains configuration applets for the GNOME desktop,
5664allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5665properties, sound setup, desktop theme and background, user interface
5666properties, screen resolution, and other GNOME parameters.")
5667 (license license:gpl2+)))
a4df5756
SB
5668
5669(define-public gnome-shell
5670 (package
5671 (name "gnome-shell")
1f9c2351 5672 (version "3.24.3")
a4df5756
SB
5673 (source (origin
5674 (method url-fetch)
5675 (uri (string-append "mirror://gnome/sources/" name "/"
5676 (version-major+minor version) "/"
5677 name "-" version ".tar.xz"))
5678 (sha256
5679 (base32
a76d0f03
LC
5680 "1f20x36ymkp1j667hb7s7byly2gqc4m0anldy3qwp38vm8437caq"))
5681 (patches (search-patches "gnome-shell-theme.patch"))
5682 (modules '((guix build utils)))
5683 (snippet
5684 #~(begin
5685 ;; CSS files have to be regenerated from the .scss source
5686 ;; that 'gnome-shell-theme.patch' modifies.
5687 (for-each delete-file
5688 (find-files "data/theme"
5689 "^gnome-shell.*\\.css$"))
5690
5691 ;; Copy images for use on the GDM log-in screen.
5692 (copy-file #$(file-append %artwork-repository
5693 "/slim/0.x/background.png")
5694 "data/theme/guix-background.png")
5695 (invoke #+(file-append inkscape "/bin/inkscape")
5696 "--export-png=data/theme/guix-logo.png"
5697 #$(file-append %artwork-repository
5698 "/logo/Guix-horizontal-white.svg"))
5699 #t))))
a4df5756
SB
5700 (build-system glib-or-gtk-build-system)
5701 (arguments
5702 '(#:phases
5703 (modify-phases %standard-phases
a76d0f03
LC
5704 (add-before 'build 'rebuild-css
5705 (lambda _
5706 ;; Rebuild the CSS files from the .scss files that our patch
5707 ;; modifies.
5708 (invoke "make" "-C" "data"
5709 "theme/gnome-shell.css"
5710 "theme/gnome-shell-high-contrast.css")))
a4df5756
SB
5711 (replace 'install
5712 (lambda* (#:key outputs #:allow-other-keys)
5713 (let* ((out (assoc-ref outputs "out"))
5714 (keysdir (string-append
5715 out "/share/gnome-control-center/keybindings")))
5716 (zero? (system* "make"
5717 (string-append "keysdir=" keysdir)
5718 "install")))))
5719 (add-after
5720 'install 'wrap-programs
5721 (lambda* (#:key outputs #:allow-other-keys)
5722 (let ((out (assoc-ref outputs "out"))
5723 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5724 (python-path (getenv "PYTHONPATH")))
5725 (wrap-program (string-append out "/bin/gnome-shell")
5726 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5727 (for-each
5728 (lambda (prog)
5729 (wrap-program (string-append out "/bin/" prog)
5730 `("PYTHONPATH" ":" prefix (,python-path))
5731 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5732 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5733 #t))))))
5734 (native-inputs
5735 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5736 ("gobject-introspection" ,gobject-introspection)
5737 ("intltool" ,intltool)
5738 ("pkg-config" ,pkg-config)
5739 ("python" ,python)
a76d0f03
LC
5740 ("xsltproc" ,libxslt)
5741 ("ruby-sass" ,ruby-sass)))
a4df5756
SB
5742 (inputs
5743 `(("accountsservice" ,accountsservice)
5744 ("caribou" ,caribou)
5745 ("docbook-xsl" ,docbook-xsl)
5746 ("evolution-data-server" ,evolution-data-server)
5747 ("gcr" ,gcr)
5748 ("gdm" ,gdm)
5749 ("gjs" ,gjs)
5750 ("gnome-bluetooth" ,gnome-bluetooth)
5751 ("gnome-control-center" ,gnome-control-center)
5752 ("gnome-desktop" ,gnome-desktop)
5753 ("gnome-settings-daemon" ,gnome-settings-daemon)
5754 ("gst-plugins-base" ,gst-plugins-base)
5755 ("ibus" ,ibus)
5756 ("libcanberra" ,libcanberra)
5757 ("libcroco" ,libcroco)
5758 ("libgweather" ,libgweather)
5759 ("libsoup" ,libsoup)
5760 ("mesa-headers" ,mesa-headers)
5761 ("mutter" ,mutter)
5762 ("network-manager-applet" ,network-manager-applet)
5763 ("polkit" ,polkit)
5764 ("pulseaudio" ,pulseaudio)
5765 ("python-pygobject" ,python-pygobject)
5766 ("startup-notification" ,startup-notification)
5767 ("telepathy-logger" ,telepathy-logger)
5768 ("upower" ,upower)
30e760f0
MB
5769 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5770 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5771 ("librsvg" ,librsvg)
5772 ("geoclue" ,geoclue)
a4df5756
SB
5773 ;; XXX: required by libgjs.la.
5774 ("readline" ,readline)))
5775 (synopsis "Desktop shell for GNOME")
5776 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5777 (description
5778 "GNOME Shell provides core user interface functions for the GNOME desktop,
5779like switching to windows and launching applications.")
5780 (license license:gpl2+)))
c3f29bc9
RS
5781
5782(define-public gtk-vnc
5783 (package
5784 (name "gtk-vnc")
965ff023 5785 (version "0.9.0")
c3f29bc9
RS
5786 (source
5787 (origin
5788 (method url-fetch)
5789 (uri (string-append "mirror://gnome/sources/" name "/"
5790 (version-major+minor version) "/"
5791 name "-" version ".tar.xz"))
5792 (sha256
5793 (base32
965ff023 5794 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
5795 (build-system gnu-build-system)
5796 (arguments
5797 '(#:configure-flags '("--with-gtk=3.0")))
5798 (propagated-inputs
5799 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5800 (inputs
5801 `(("cyrus-sasl" ,cyrus-sasl)
5802 ("gnutls" ,gnutls)
5803 ("libgcrypt" ,libgcrypt)
5804 ("pulseaudio" ,pulseaudio)))
5805 (native-inputs
5806 `(("glib:bin" ,glib "bin")
5807 ("gobject-introspection" ,gobject-introspection)
5808 ("intltool" ,intltool)
5809 ("pkg-config" ,pkg-config)
2f17e939 5810 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
5811 ("vala" ,vala)))
5812 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5813 (synopsis "VNC viewer widget for GTK+")
5814 (description
5815 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5816applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5817GTK-VNC implements client side RFB protocol and authentication extensions such
5818as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5819 (license license:lgpl2.1+)))
8b877545 5820
dc69fe18
MW
5821(define-public gnome-autoar
5822 (package
5823 (name "gnome-autoar")
c7da8510 5824 (version "0.2.3")
dc69fe18
MW
5825 (source (origin
5826 (method url-fetch)
5827 (uri (string-append "mirror://gnome/sources/" name "/"
5828 (version-major+minor version) "/"
5829 name "-" version ".tar.xz"))
5830 (sha256
5831 (base32
c7da8510 5832 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
5833 (build-system glib-or-gtk-build-system)
5834 (native-inputs
5835 `(("gnome-common" ,gnome-common)
5836 ("gobject-introspection" ,gobject-introspection)
5837 ("pkg-config" ,pkg-config)))
5838 (propagated-inputs
5839 `(("libarchive" ,libarchive))) ; XXX document why
5840 (inputs
5841 `(("gtk+" ,gtk+)
5842 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5843 (synopsis "Archives integration support for GNOME")
5844 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5845 (description
5846 "GNOME Autoar is a library which makes creating and extracting archives
5847easy, safe, and automatic.")
5848 (license license:lgpl2.1+)))
5849
b64e217f
MW
5850(define-public tracker
5851 (package
5852 (name "tracker")
8fc5cdc6 5853 (version "1.12.3")
b64e217f
MW
5854 (source (origin
5855 (method url-fetch)
5856 (uri (string-append "mirror://gnome/sources/" name "/"
5857 (version-major+minor version) "/"
5858 name "-" version ".tar.xz"))
5859 (sha256
5860 (base32
8fc5cdc6 5861 "1mpq418lzba7fad0w0m3bnxvz3khf461b5zya8zmq5n1g0w99ki3"))))
b64e217f
MW
5862 (build-system glib-or-gtk-build-system)
5863 (native-inputs
5864 `(("gnome-common" ,gnome-common)
5865 ("gobject-introspection" ,gobject-introspection)
5866 ("intltool" ,intltool)
5867 ("pkg-config" ,pkg-config)
5868 ("vala" ,vala)))
5869 (inputs
5870 `(("gtk+" ,gtk+)
5871 ("dbus" ,dbus)
5872 ("gstreamer" ,gstreamer)
5873 ("gst-plugins-base" ,gst-plugins-base)
44ed6284 5874 ("sqlite" ,sqlite)
b64e217f
MW
5875 ("nettle" ,nettle) ; XXX why is this needed?
5876 ("poppler" ,poppler)
5877 ("libgsf" ,libgsf)
5878 ("libexif" ,libexif)
5879 ("libpng" ,libpng)
5880 ("libtiff" ,libtiff)
5881 ("libvorbis" ,libvorbis)
5882 ("flac" ,flac)
5883 ("totem-pl-parser" ,totem-pl-parser)
5884 ("zlib" ,zlib)
5885 ("exempi" ,exempi)
5886 ("libxml2" ,libxml2)
5887 ("upower" ,upower)
b64e217f
MW
5888 ("libunistring" ,libunistring)
5889 ("giflib" ,giflib)
0ef48cd9 5890 ("json-glib" ,json-glib)
b64e217f
MW
5891 ("openjpeg" ,openjpeg-1)
5892 ("libosinfo" ,libosinfo)
5893 ("libcue" ,libcue)
5894 ("libseccomp" ,libseccomp)
0ef48cd9 5895 ("libsoup" ,libsoup)
b64e217f
MW
5896 ("libuuid" ,util-linux)))
5897 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5898 (synopsis "Metadata database, indexer and search tool")
5899 (home-page "https://wiki.gnome.org/Projects/Tracker")
5900 (description
5901 "Tracker is an advanced framework for first class objects with associated
5902metadata and tags. It provides a one stop solution for all metadata, tags,
5903shared object databases, search tools and indexing.")
5904 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5905 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5906 (license (list license:gpl2+
5907 license:lgpl2.1+
5908 license:lgpl2.0+))))
5909
8b877545
RS
5910(define-public nautilus
5911 (package
5912 (name "nautilus")
35e2d0cf 5913 (version "3.26.2")
8b877545
RS
5914 (source (origin
5915 (method url-fetch)
5916 (uri (string-append "mirror://gnome/sources/" name "/"
5917 (version-major+minor version) "/"
5918 name "-" version ".tar.xz"))
5919 (sha256
5920 (base32
35e2d0cf
R
5921 "1d0l4vgcjqj4671hb6s2a56baqlasbxn3wl6vfrpdsk5qq299jbr"))))
5922 (build-system meson-build-system)
8b877545 5923 (arguments
35e2d0cf 5924 '(#:glib-or-gtk? #t
8b877545
RS
5925 ;; XXX: FAIL: check-nautilus
5926 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5927 #:tests? #f))
5928 (native-inputs
35e2d0cf
R
5929 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5930 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5931 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
5932 ("gobject-introspection" ,gobject-introspection)
5933 ("intltool" ,intltool)
5934 ("pkg-config" ,pkg-config)))
8b877545 5935 (inputs
8b877545 5936 `(("dconf" ,dconf)
dd05e731 5937 ("gvfs" ,gvfs)
8b877545
RS
5938 ("exempi" ,exempi)
5939 ("gnome-desktop" ,gnome-desktop)
09d88905 5940 ("gnome-autoar" ,gnome-autoar)
35e2d0cf
R
5941 ("libselinux" ,libselinux)
5942 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
09d88905 5943 ("tracker" ,tracker)
ce6027bf
SB
5944 ;; XXX: gtk+ is required by libnautilus-extension.pc
5945 ;;
5946 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5947 ;; package. See:
5948 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5949 ("gtk+" ,gtk+)
8b877545
RS
5950 ("libexif" ,libexif)
5951 ("libxml2" ,libxml2)))
5952 (synopsis "File manager for GNOME")
5953 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5954 (description
5955 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5956design and behaviour, giving the user a simple way to navigate and manage its
5957files.")
5958 (license license:gpl2+)))
3c697ffd
JR
5959
5960(define-public baobab
5961 (package
5962 (name "baobab")
d233d373 5963 (version "3.28.0")
3c697ffd
JR
5964 (source (origin
5965 (method url-fetch)
5966 (uri (string-append
5967 "mirror://gnome/sources/" name "/"
5968 (version-major+minor version) "/"
5969 name "-" version ".tar.xz"))
5970 (sha256
5971 (base32
d233d373
RJ
5972 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
5973 (build-system meson-build-system)
5974 (arguments
5975 '(#:glib-or-gtk? #t))
3c697ffd
JR
5976 (native-inputs
5977 `(("intltool" ,intltool)
5978 ("pkg-config" ,pkg-config)
d233d373
RJ
5979 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5980 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
5981 ("itstool" ,itstool)
5982 ("xmllint" ,libxml2)
5983 ("glib" ,glib "bin")
5984 ("vala" ,vala)))
5985 (inputs
5986 `(("gtk+" ,gtk+)))
5987 (synopsis "Disk usage analyzer for GNOME")
5988 (description
5989 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5990usage in the GNOME desktop environment. It can easily scan device volumes or
5991a specific user-requested directory branch (local or remote). Once the scan
5992is complete it provides a graphical representation of each selected folder.")
5993 (home-page "https://wiki.gnome.org/Apps/Baobab")
5994 (license license:gpl2+)))
dc050251 5995
fdba447c
RS
5996(define-public gnome-backgrounds
5997 (package
5998 (name "gnome-backgrounds")
9ca381f0 5999 (version "3.28.0")
fdba447c
RS
6000 (source
6001 (origin
6002 (method url-fetch)
6003 (uri (string-append "mirror://gnome/sources/" name "/"
6004 (version-major+minor version) "/"
6005 name "-" version ".tar.xz"))
6006 (sha256
6007 (base32
9ca381f0
RW
6008 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6009 (build-system meson-build-system)
fdba447c
RS
6010 (native-inputs
6011 `(("intltool" ,intltool)))
6012 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6013 (synopsis "Background images for the GNOME desktop")
6014 (description
6015 "GNOME backgrounds package contains a collection of graphics files which
6016can be used as backgrounds in the GNOME Desktop environment. Additionally,
6017the package creates the proper framework and directory structure so that you
6018can add your own files to the collection.")
6019 (license (list license:gpl2+
6020 license:cc-by2.0
6021 license:cc-by-sa2.0
6022 license:cc-by-sa3.0))))
6023
b784b1a9
RS
6024(define-public gnome-screenshot
6025 (package
6026 (name "gnome-screenshot")
efa355bc 6027 (version "3.22.0")
b784b1a9
RS
6028 (source
6029 (origin
6030 (method url-fetch)
6031 (uri (string-append "mirror://gnome/sources/" name "/"
6032 (version-major+minor version) "/"
6033 name "-" version ".tar.xz"))
6034 (sha256
6035 (base32
efa355bc 6036 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
b784b1a9
RS
6037 (build-system glib-or-gtk-build-system)
6038 (native-inputs
6039 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6040 ("intltool" ,intltool)
6041 ("pkg-config" ,pkg-config)))
6042 (inputs
6043 `(("gtk+" ,gtk+)
6044 ("libcanberra" ,libcanberra)
6045 ("libx11" ,libx11)
6046 ("libxext" ,libxext)))
6047 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6048 (synopsis "Take pictures of your screen")
6049 (description
6050 "GNOME Screenshot is a utility used for taking screenshots of the entire
6051screen, a window or a user defined area of the screen, with optional
6052beautifying border effects.")
6053 (license license:gpl2+)))
6054
66d59111
RS
6055(define-public dconf-editor
6056 (package
6057 (name "dconf-editor")
92c93927 6058 (version "3.26.2")
66d59111
RS
6059 (source
6060 (origin
6061 (method url-fetch)
6062 (uri (string-append "mirror://gnome/sources/" name "/"
6063 (version-major+minor version) "/"
6064 name "-" version ".tar.xz"))
6065 (sha256
6066 (base32
92c93927 6067 "1lcarg8igsqpq4iv5834mf9kz4cmfhfw11bwy3x7v7f497z57d18"))))
66d59111 6068 (build-system glib-or-gtk-build-system)
d25c1836
SB
6069 (arguments
6070 '(#:phases
6071 (modify-phases %standard-phases
6072 (add-before 'install 'skip-gtk-update-icon-cache
6073 (lambda _
6074 ;; Don't create 'icon-theme.cache'.
6075 (substitute* "editor/Makefile"
6076 (("gtk-update-icon-cache") "true"))
6077 #t)))))
66d59111
RS
6078 (native-inputs
6079 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6080 ("intltool" ,intltool)
6081 ("pkg-config" ,pkg-config)))
6082 (inputs
6083 `(("dconf" ,dconf)
6084 ("gtk+" ,gtk+)
6085 ("libxml2" ,libxml2)))
6086 (home-page "https://git.gnome.org/browse/dconf-editor")
6087 (synopsis "Graphical editor for GNOME's dconf configuration system")
6088 (description
6089 "Dconf-editor is a graphical tool for browsing and editing the dconf
6090configuration system for GNOME. It allows users to configure desktop
6091software that do not provide their own configuration interface.")
6092 (license license:lgpl2.1+)))
6093
96d36f38
AW
6094(define-public gnome-default-applications
6095 (package
6096 (name "gnome-default-applications")
6097 (version "0")
6098 (build-system trivial-build-system)
6099 (source #f)
6100 (propagated-inputs
8ad4f0aa
LC
6101 `(("nautilus" ,nautilus)
6102 ("evince" ,evince)))
96d36f38
AW
6103 (arguments
6104 `(#:modules ((guix build utils))
6105 #:builder
6106 (begin
6107 (use-modules (guix build utils))
6108 (let* ((out (assoc-ref %outputs "out"))
6109 (apps (string-append out "/share/applications")))
6110 (mkdir-p apps)
6111 (call-with-output-file (string-append apps "/defaults.list")
6112 (lambda (port)
6113 (format port "[Default Applications]\n")
8ad4f0aa
LC
6114 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6115 (format port "application/pdf=evince.desktop\n")
6116 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
6117 #t))))
6118 (synopsis "Default MIME type associations for the GNOME desktop")
6119 (description
6120 "Given many installed packages which might handle a given MIME type, a
6121user running the GNOME desktop probably has some preferences: for example,
6122that folders be opened by default by the Nautilus file manager, not the Baobab
6123disk usage analyzer. This package establishes that set of default MIME type
6124associations for GNOME.")
6125 (license license:gpl3+)
6126 (home-page #f)))
6127
dc050251
SB
6128(define-public gnome
6129 (package
6130 (name "gnome")
6131 (version (package-version gnome-shell))
6132 (source #f)
6133 (build-system trivial-build-system)
e3cfef22 6134 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251
SB
6135 (propagated-inputs
6136 ;; TODO: Add more packages according to:
6137 ;; <https://packages.debian.org/jessie/gnome-core>.
6138 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 6139 ("baobab" ,baobab)
0bd3597b 6140 ("font-cantarell" ,font-cantarell)
a9dbefdc 6141 ("font-dejavu" ,font-dejavu)
dc050251
SB
6142 ("at-spi2-core" ,at-spi2-core)
6143 ("dbus" ,dbus)
6144 ("dconf" ,dconf)
72360453 6145 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
6146 ("eog" ,eog)
6147 ("epiphany" ,epiphany)
6148 ("evince" ,evince)
71d9b980 6149 ("file-roller" ,file-roller)
dc050251
SB
6150 ("gedit" ,gedit)
6151 ("glib-networking" ,glib-networking)
05f651c4 6152 ("gnome-backgrounds" ,gnome-backgrounds)
63ad9b80
AW
6153 ("gnome-bluetooth" ,gnome-bluetooth)
6154 ("gnome-calculator" ,gnome-calculator)
dc050251 6155 ("gnome-control-center" ,gnome-control-center)
63ad9b80 6156 ("gnome-disk-utility" ,gnome-disk-utility)
96d36f38 6157 ("gnome-default-applications" ,gnome-default-applications)
dc050251 6158 ("gnome-keyring" ,gnome-keyring)
63ad9b80 6159 ("gnome-online-accounts" ,gnome-online-accounts)
dc050251
SB
6160 ("gnome-session" ,gnome-session)
6161 ("gnome-settings-daemon" ,gnome-settings-daemon)
6162 ("gnome-shell" ,gnome-shell)
63ad9b80 6163 ("gnome-system-monitor" ,gnome-system-monitor)
dc050251
SB
6164 ("gnome-terminal" ,gnome-terminal)
6165 ("gnome-themes-standard" ,gnome-themes-standard)
2999dcd5
AW
6166 ("gst-plugins-base" ,gst-plugins-base)
6167 ("gst-plugins-good" ,gst-plugins-good)
63ad9b80 6168 ("gucharmap" ,gucharmap)
05f651c4 6169 ("gvfs" ,gvfs)
dc050251
SB
6170 ("hicolor-icon-theme" ,hicolor-icon-theme)
6171 ("nautilus" ,nautilus)
69308043 6172 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
6173 ("pulseaudio" ,pulseaudio)
6174 ("shared-mime-info" ,shared-mime-info)
f6f4370f 6175 ("system-config-printer" ,system-config-printer)
dc050251 6176 ("totem" ,totem)
c20cd0d2 6177 ("xdg-user-dirs" ,xdg-user-dirs)
dc050251
SB
6178 ("yelp" ,yelp)
6179 ("zenity" ,zenity)))
fe4e698d 6180 (synopsis "The GNU desktop environment")
dc050251
SB
6181 (home-page "https://www.gnome.org/")
6182 (description
fe4e698d
LC
6183 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6184applications for browsing the web, editing text and images, creating
6185documents and diagrams, playing media, scanning, and much more.")
dc050251 6186 (license license:gpl2+)))
4a526711
DT
6187
6188(define-public byzanz
6189 ;; The last stable release of Byzanz was in 2011, but there have been many
6190 ;; useful commits made to the Byzanz repository since then that it would be
6191 ;; silly to use such an old release.
6192 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6193 (package
6194 (name "byzanz")
6195 (version (string-append "0.2-1." (string-take commit 7)))
6196 (source (origin
6197 (method git-fetch)
6198 (uri (git-reference
5f13bf09 6199 (url "https://git.gnome.org/browse/byzanz")
4a526711 6200 (commit commit)))
5a6527e4 6201 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
6202 (sha256
6203 (base32
6204 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6205 (build-system glib-or-gtk-build-system)
6206 (arguments
6207 '(#:phases
6208 (modify-phases %standard-phases
189be331 6209 (replace 'bootstrap
4a526711
DT
6210 (lambda _
6211 ;; The build system cleverly detects that we're not building from
6212 ;; a release tarball and turns on -Werror for GCC.
6213 ;; Unsurprisingly, there is a warning during compilation that
6214 ;; causes the build to fail unnecessarily, so we remove the flag.
6215 (substitute* '("configure.ac")
6216 (("-Werror") ""))
6217 ;; The autogen.sh script in gnome-common will run ./configure
6218 ;; by default, which is problematic because source shebangs
6219 ;; have not yet been patched.
6220 (setenv "NOCONFIGURE" "t")
6221 (zero? (system* "sh" "autogen.sh")))))))
6222 (native-inputs
6223 `(("autoconf" ,autoconf)
6224 ("automake" ,automake)
6225 ("gnome-common" ,gnome-common)
6226 ("intltool" ,intltool)
6227 ("libtool" ,libtool)
6228 ("pkg-config" ,pkg-config)
6229 ("which" ,which)))
6230 (inputs
6231 `(("glib" ,glib)
6232 ("gstreamer" ,gstreamer)
6233 ("gst-plugins-base" ,gst-plugins-base)
6234 ("gtk+" ,gtk+)))
6235 (synopsis "Desktop recording program")
6236 (description "Byzanz is a simple desktop recording program with a
6237command-line interface. It can record part or all of an X display for a
6238specified duration and save it as a GIF encoded animated image file.")
6239 (home-page "https://git.gnome.org/browse/byzanz")
6240 (license license:gpl2+))))
3a9a4c51 6241
0ec171ec
MS
6242(define-public gsound
6243 (package
6244 (name "gsound")
6245 (version "1.0.2")
6246 (source (origin
6247 (method url-fetch)
6248 (uri (string-append "mirror://gnome/sources/" name "/"
6249 (version-major+minor version) "/"
6250 name "-" version ".tar.xz"))
6251 (sha256
6252 (base32
6253 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6254 (build-system glib-or-gtk-build-system)
6255 (native-inputs
6256 `(("pkg-config" ,pkg-config)
6257 ("gobject-introspection" ,gobject-introspection)
6258 ("vala" ,vala)))
6259 (inputs
6260 `(("glib" ,glib)
6261 ("libcanberra" ,libcanberra)))
6262 (home-page "https://wiki.gnome.org/Projects/GSound")
6263 (synopsis "GObject wrapper for libcanberra")
6264 (description
6265 "GSound is a small library for playing system sounds. It's designed to be
6266used via GObject Introspection, and is a thin wrapper around the libcanberra C
6267library.")
6268 (license license:lgpl2.1+)))
6269
3a9a4c51
RS
6270(define-public libzapojit
6271 (package
6272 (name "libzapojit")
6273 (version "0.0.3")
6274 (source (origin
6275 (method url-fetch)
6276 (uri (string-append "mirror://gnome/sources/" name "/"
6277 (version-major+minor version) "/"
6278 name "-" version ".tar.xz"))
6279 (sha256
6280 (base32
6281 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6282 (build-system gnu-build-system)
6283 (native-inputs
6284 `(("gobject-introspection" ,gobject-introspection)
6285 ("intltool" ,intltool)
6286 ("pkg-config" ,pkg-config)))
6287 (inputs
6288 `(("gnome-online-accounts" ,gnome-online-accounts)
6289 ("json-glib" ,json-glib)
6290 ("rest" ,rest)))
6291 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6292 (synopsis "Library for accessing SkyDrive and Hotmail")
6293 (description
6294 "Libzapojit is a GLib-based library for accessing online service APIs of
6295Microsoft SkyDrive and Hotmail, using their REST protocols.")
6296 (license license:lgpl2.1+)))
9365ee1c 6297
60e2a9ae
MS
6298(define-public gnome-clocks
6299 (package
6300 (name "gnome-clocks")
b39e6121 6301 (version "3.26.1")
60e2a9ae
MS
6302 (source (origin
6303 (method url-fetch)
6304 (uri (string-append "mirror://gnome/sources/" name "/"
6305 (version-major+minor version) "/"
6306 name "-" version ".tar.xz"))
6307 (sha256
6308 (base32
b39e6121 6309 "1xqirnf7xkiv5vj3ng4slpyh50ihn625vhdgskfzx83a3pgxin1b"))))
60e2a9ae
MS
6310 (build-system meson-build-system)
6311 (arguments
6312 '(#:glib-or-gtk? #t))
6313 (native-inputs
6314 `(("vala" ,vala)
6315 ("pkg-config" ,pkg-config)
6316 ("glib" ,glib "bin") ; for glib-compile-resources
6317 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6318 ("desktop-file-utils" ,desktop-file-utils)
6319 ("gettext" ,gettext-minimal)
6320 ("itstool" ,itstool)))
6321 (inputs
6322 `(("glib" ,glib)
6323 ("gtk+" ,gtk+)
6324 ("gsound" ,gsound)
6325 ("geoclue" ,geoclue)
6326 ("geocode-glib" ,geocode-glib)
6327 ("libgweather" ,libgweather)
6328 ("gnome-desktop" ,gnome-desktop)))
6329 (home-page "https://wiki.gnome.org/Apps/Clocks")
6330 (synopsis "GNOME's clock application")
6331 (description
6332 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6333desktop. It supports world clock, stop watch, alarms, and count down timer.")
6334 (license license:gpl3+)))
6335
3c474897
KY
6336(define-public gnome-calendar
6337 (package
6338 (name "gnome-calendar")
4c8413cd 6339 (version "3.26.3")
3c474897
KY
6340 (source (origin
6341 (method url-fetch)
6342 (uri (string-append "mirror://gnome/sources/" name "/"
6343 (version-major+minor version) "/"
6344 name "-" version ".tar.xz"))
6345 (sha256
6346 (base32
4c8413cd 6347 "1clnfvvsaqw9vpxrs6qrxzmgpaw9x2nkjik2x2vwvm07pdvhddxn"))))
a49d3e37
MS
6348 (build-system meson-build-system)
6349 (arguments
6350 '(#:glib-or-gtk? #t
6351 ;; gnome-calendar has to be installed before the tests can be run
6352 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6353 #:tests? #f))
3c474897 6354 (native-inputs
a49d3e37
MS
6355 `(("gettext" ,gettext-minimal)
6356 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6357 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
6358 ("pkg-config" ,pkg-config)))
6359 (inputs
a49d3e37 6360 `(("evolution-data-server" ,evolution-data-server)
4b8aae41
MW
6361 ("gnome-online-accounts" ,gnome-online-accounts)
6362 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3c474897
KY
6363 (home-page "https://wiki.gnome.org/Apps/Calendar")
6364 (synopsis "GNOME's calendar application")
6365 (description
6366 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 6367desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
6368 (license license:gpl3+)))
6369
57b14665
MS
6370(define-public gnome-todo
6371 (package
6372 (name "gnome-todo")
52995941 6373 (version "3.26.2")
57b14665
MS
6374 (source (origin
6375 (method url-fetch)
6376 (uri (string-append "mirror://gnome/sources/" name "/"
6377 (version-major+minor version) "/"
6378 name "-" version ".tar.xz"))
5de561a7 6379 (patches (search-patches "gnome-todo-libical-compat.patch"))
57b14665
MS
6380 (sha256
6381 (base32
52995941 6382 "106xx1w18pxjmj5k0k2qjzi6b3c3kaz7b5kyrpknykibnr401ff9"))))
57b14665
MS
6383 (build-system meson-build-system)
6384 (arguments
6385 '(#:glib-or-gtk? #t
6386 #:phases (modify-phases %standard-phases
6387 (add-after
6388 'install 'wrap-gnome-todo
6389 (lambda* (#:key inputs outputs #:allow-other-keys)
6390 (let ((out (assoc-ref outputs "out"))
6391 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6392 (python-path (getenv "PYTHONPATH")))
6393 (wrap-program (string-append out "/bin/gnome-todo")
6394 ;; XXX: gi plugins are broken.
6395 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6396 ;; For plugins.
6397 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6398 `("PYTHONPATH" ":" prefix (,python-path))))
6399 #t)))))
6400 (native-inputs
6401 `(("gettext" ,gettext-minimal)
6402 ("gobject-introspection" ,gobject-introspection)
6403 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6404 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6405 ("pkg-config" ,pkg-config)))
6406 (inputs
6407 `(("rest" ,rest) ; For Todoist plugin
6408 ("json-glib" ,json-glib) ; For Todoist plugin
6409 ("libical" ,libical)
6410 ("libpeas" ,libpeas)
6411 ("python-pygobject" ,python-pygobject)
6412 ("evolution-data-server" ,evolution-data-server)
6413 ("gnome-online-accounts" ,gnome-online-accounts)
6414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6415 (home-page "https://wiki.gnome.org/Apps/Todo")
6416 (synopsis "GNOME's ToDo Application")
6417 (description
6418 "GNOME To Do is a simplistic personal task manager designed to perfectly
6419fit the GNOME desktop.")
6420 (license license:gpl3+)))
6421
ab179eaf
SB
6422(define-public gnome-dictionary
6423 (package
6424 (name "gnome-dictionary")
cf81ddef 6425 (version "3.26.1")
ab179eaf
SB
6426 (source (origin
6427 (method url-fetch)
6428 (uri (string-append "mirror://gnome/sources/" name "/"
6429 (version-major+minor version) "/"
6430 name "-" version ".tar.xz"))
6431 (sha256
6432 (base32
cf81ddef
LC
6433 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6434 (build-system meson-build-system)
2776b5d5
MB
6435 (arguments '(#:glib-or-gtk? #t
6436 #:phases (modify-phases %standard-phases
6437 (add-after 'unpack 'patch-install-script
6438 (lambda _
6439 ;; This script attempts to compile glib schemas
6440 ;; and create an empty MIME database. We do
6441 ;; that elsewhere, so prevent it from running.
6442 (substitute* "build-aux/post-install.sh"
6443 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6444 #t)))))
ab179eaf
SB
6445 (native-inputs
6446 `(("glib:bin" ,glib "bin")
6447 ("gobject-introspection" ,gobject-introspection)
6448 ("intltool" ,intltool)
6449 ("itstool" ,itstool)
6450 ("pkg-config" ,pkg-config)
6451 ("xmllint" ,libxml2)))
6452 (inputs
6453 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6454 ("gtk+" ,gtk+)))
6455 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6456 (synopsis "Look up words in dictionary sources")
6457 (description
6458 "GNOME Dictionary can look for the definition or translation of a word in
6459existing databases over the internet.")
6460 (license license:gpl3+)))
6461
9365ee1c
JN
6462(define-public gnome-tweak-tool
6463 (package
6464 (name "gnome-tweak-tool")
c7fc414e 6465 (version "3.26.4")
9365ee1c
JN
6466 (source (origin
6467 (method url-fetch)
6468 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
6469 (version-major+minor version) "/"
6470 "gnome-tweak-tool-" version ".tar.xz"))
6471 (patches (list
6472 (search-patch "gnome-tweak-tool-search-paths.patch")))
6473 (sha256
6474 (base32
c7fc414e 6475 "1pq5a0kzh1sz7s7ax5c7p6212k9d51nk5bfvjfyqn99cs928187x"))))
7ef335b0 6476 (build-system glib-or-gtk-build-system)
9365ee1c
JN
6477 (arguments
6478 `(#:configure-flags '("--localstatedir=/tmp"
6479 "--sysconfdir=/tmp")
6480 #:imported-modules ((guix build python-build-system)
7ef335b0 6481 ,@%glib-or-gtk-build-system-modules)
9365ee1c 6482 #:phases (modify-phases %standard-phases
c7fc414e
RH
6483 (delete 'configure)
6484 (replace 'build
6485 (lambda* (#:key outputs #:allow-other-keys)
6486 (invoke "meson" "build"
6487 "--prefix" (assoc-ref outputs "out"))))
6488 (replace 'check
6489 (lambda _ (invoke "ninja" "-C" "build" "test")))
6490 (replace 'install
6491 (lambda* (#:key outputs #:allow-other-keys)
6492 (invoke "ninja" "-C" "build" "install")))
9af6bce1
CB
6493 (add-after 'install 'wrap-program
6494 (lambda* (#:key outputs #:allow-other-keys)
6495 (let ((out (assoc-ref outputs "out"))
6496 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6497 (wrap-program (string-append out "/bin/gnome-tweak-tool")
6498 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6499 #t))
9365ee1c
JN
6500 (add-after 'install 'wrap
6501 (@@ (guix build python-build-system) wrap)))))
6502 (native-inputs
c7fc414e
RH
6503 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6504 ("intltool" ,intltool)
6505 ("meson" ,meson-for-build)
6506 ("ninja" ,ninja)
9365ee1c
JN
6507 ("pkg-config" ,pkg-config)))
6508 (inputs
c7fc414e
RH
6509 `(("gnome-desktop" ,gnome-desktop)
6510 ("gtk+" ,gtk+)
9365ee1c
JN
6511 ("gobject-introspection" ,gobject-introspection)
6512 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
6513 ("libnotify" ,libnotify)
6514 ("libsoup" ,libsoup)
6515 ("nautilus" ,nautilus)
6516 ("python" ,python)
6517 ("python-pygobject" ,python-pygobject)))
9365ee1c
JN
6518 (synopsis "Customize advanced GNOME 3 options")
6519 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
6520 (description
6521 "GNOME Tweak Tool allows adjusting advanced configuration settings in
6522GNOME 3. This includes things like the fonts used in user interface elements,
6523alternative user interface themes, changes in window management behavior,
6524GNOME Shell appearance and extension, etc.")
6525 (license license:gpl3+)))
813f814a 6526
32ac717c
DT
6527(define-public gnome-shell-extensions
6528 (package
6529 (name "gnome-shell-extensions")
9c2d0a1a 6530 (version "3.24.3")
32ac717c
DT
6531 (source (origin
6532 (method url-fetch)
6533 (uri (string-append "mirror://gnome/sources/" name "/"
6534 (version-major+minor version) "/"
6535 name "-" version ".tar.xz"))
6536 (sha256
6537 (base32
9c2d0a1a 6538 "0y8anpp9ymp0lxn15w63ra6zxxf8nvbl48xqkvqdjzida73fyz9w"))))
32ac717c
DT
6539 (build-system gnu-build-system)
6540 (arguments
6541 '(#:configure-flags '("--enable-extensions=all")))
6542 (native-inputs
6543 `(("intltool" ,intltool)
6544 ("pkg-config" ,pkg-config)))
6545 (propagated-inputs
6546 `(("glib" ,glib)
6547 ("glib" ,glib "bin")))
6548 (synopsis "Extensions for GNOME Shell")
6549 (description "GNOME Shell extensions modify and extend GNOME Shell
6550functionality and behavior.")
6551 (home-page "https://extensions.gnome.org/")
6552 (license license:gpl3+)))
6553
813f814a
DT
6554(define-public arc-theme
6555 (package
6556 (name "arc-theme")
a18f8eaf 6557 (version "20181022")
813f814a 6558 (source (origin
a18f8eaf
BH
6559 (method git-fetch)
6560 (uri (git-reference
6561 (url "https://github.com/NicoHood/arc-theme.git")
6562 (commit version)))
6563 (file-name (git-file-name name version))
813f814a
DT
6564 (sha256
6565 (base32
a18f8eaf 6566 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
813f814a 6567 (build-system gnu-build-system)
d88884fa
EF
6568 (arguments
6569 '(#:phases
6570 (modify-phases %standard-phases
6571 ;; autogen.sh calls configure at the end of the script.
6572 (replace 'bootstrap
6573 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
6574 (native-inputs
6575 `(("autoconf" ,autoconf)
6576 ("automake" ,automake)
a18f8eaf
BH
6577 ("glib" ,glib "bin") ; for glib-compile-resources
6578 ("gnome-shell" ,gnome-shell)
6579 ("gtk+" ,gtk+)
6580 ("inkscape" ,inkscape)
6581 ("optipng" ,optipng)
6582 ("pkg-config" ,pkg-config)
6583 ("sassc" ,sassc)))
813f814a
DT
6584 (synopsis "A flat GTK+ theme with transparent elements")
6585 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
65862, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6587like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6588 (home-page "https://github.com/horst3180/arc-theme")
6589 ;; No "or later" language found.
a18f8eaf 6590 (license license:gpl3+)))
9987c57c 6591
d935e6a1 6592(define-public faba-icon-theme
9987c57c 6593 (package
d935e6a1 6594 (name "faba-icon-theme")
2eee7ee3 6595 (version "4.3")
d935e6a1
BT
6596 (source
6597 (origin
6598 (method url-fetch)
6599 (uri (string-append "https://github.com/moka-project/"
6600 name "/archive/v" version ".tar.gz"))
6601 (file-name (string-append name "-" version ".tar.gz"))
6602 (sha256
6603 (base32
2eee7ee3 6604 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
f6a9b345 6605 (build-system meson-build-system)
9987c57c 6606 (arguments
82da291a 6607 `(#:phases
9987c57c 6608 (modify-phases %standard-phases
82da291a 6609 (add-before 'configure 'disable-post-install
9987c57c 6610 (lambda _
82da291a
JL
6611 (substitute* "meson.build"
6612 (("meson.add_install_script.*") "")))))))
9987c57c
DT
6613 (native-inputs
6614 `(("autoconf" ,autoconf)
6615 ("automake" ,automake)))
d935e6a1
BT
6616 (synopsis "Faba icon theme")
6617 (description
6618 "Faba is a minimal icon set used as a basis for other themes such as
6619Moka")
6620 (home-page "https://snwh.org/moka")
6621 (license (list license:lgpl3+
6622 license:cc-by-sa4.0))))
6623
9987c57c
DT
6624(define-public moka-icon-theme
6625 (package
8b0e4177 6626 (inherit faba-icon-theme)
9987c57c 6627 (name "moka-icon-theme")
105a3625 6628 (version "5.4.0")
9987c57c
DT
6629 (source (origin
6630 (method url-fetch)
6631 (uri (string-append "https://github.com/moka-project"
6632 "/moka-icon-theme/archive/v"
6633 version ".tar.gz"))
6634 (file-name (string-append name "-" version ".tar.gz"))
6635 (sha256
6636 (base32
105a3625 6637 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
550281fb
BT
6638 (propagated-inputs
6639 ;; Moka is based on Faba by using it as a fallback icon set instead of
6640 ;; bundling it, so we need to add it as a propagated input.
6641 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
6642 (synopsis "Moka icon theme")
6643 (description "Moka is a stylized desktop icon set, designed to be clear,
6644simple and consistent.")
fedde43b
BT
6645 (license (list license:gpl3+
6646 license:cc-by-sa4.0))))
6fd8f8d6
DT
6647
6648(define-public arc-icon-theme
6649 (package
6650 (name "arc-icon-theme")
c4180240 6651 (version "20161122")
6fd8f8d6
DT
6652 (source (origin
6653 (method url-fetch)
6654 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6655 "/archive/" version ".tar.gz"))
6656 (file-name (string-append name "-" version ".tar.gz"))
6657 (sha256
6658 (base32
c4180240 6659 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6fd8f8d6 6660 (build-system gnu-build-system)
9e1ede95
JL
6661 (arguments
6662 `(#:phases
6663 (modify-phases %standard-phases
6664 (add-after 'unpack 'disable-configure-during-bootstrap
6665 (lambda _
6666 (substitute* "autogen.sh"
6667 (("^\"\\$srcdir/configure\".*") ""))
6668 #t)))))
6fd8f8d6
DT
6669 (native-inputs
6670 `(("autoconf" ,autoconf)
6671 ("automake" ,automake)))
6672 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
6673 (propagated-inputs
6674 `(("moka-icon-theme" ,moka-icon-theme)))
6675 (synopsis "Arc icon theme")
6676 (description "The Arc icon theme provides a set of icons matching the
6677style of the Arc GTK theme. Icons missing from the Arc theme are provided by
6678the Moka icon theme.")
6679 (home-page "https://github.com/horst3180/arc-icon-theme")
6680 (license license:gpl3+)))
6064a4e8
LF
6681
6682(define-public folks
6683 (package
6684 (name "folks")
6685 (version "0.11.2")
6686 (source (origin
6687 (method url-fetch)
6688 (uri (string-append
6689 "mirror://gnome/sources/" name "/"
6690 (version-major+minor version) "/"
6691 name "-" version ".tar.xz"))
6692 (sha256
6693 (base32
6694 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
6695 (build-system glib-or-gtk-build-system)
6696 (inputs
6697 `(("bdb" ,bdb)
6698 ("dbus-glib" ,dbus-glib)
6699 ("evolution-data-server" ,evolution-data-server)
6700 ("glib" ,glib)
6701 ("libgee" ,libgee)
6702 ("telepathy-glib" ,telepathy-glib)))
6703 (native-inputs
6704 `(("gobject-introspection" ,gobject-introspection)
6705 ("intltool" ,intltool)
6706 ("pkg-config" ,pkg-config)
6707 ("vala" ,vala)))
6708 (synopsis "Library to aggregate data about people")
6709 (description "Libfolks is a library that aggregates information about people
6710from multiple sources (e.g., Telepathy connection managers for IM contacts,
6711Evolution Data Server for local contacts, libsocialweb for web service contacts,
6712etc.) to create metacontacts. It's written in Vala, which generates C code when
6713compiled.")
6714 (home-page "https://wiki.gnome.org/Projects/Folks")
6715 (license license:lgpl2.1+)))
01ea778f
LF
6716
6717(define-public gfbgraph
6718 (package
6719 (name "gfbgraph")
6720 (version "0.2.3")
6721 (source (origin
6722 (method url-fetch)
6723 (uri (string-append
6724 "mirror://gnome/sources/" name "/"
6725 (version-major+minor version) "/"
6726 name "-" version ".tar.xz"))
6727 (sha256
6728 (base32
6729 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
6730 (build-system glib-or-gtk-build-system)
6731 (arguments
6732 `(#:tests? #f ; Tests appear to require the network.
6733 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
6734 #:configure-flags '("--disable-gtk-doc"
6735 "--disable-static"
6736 "--enable-introspection")))
6737 (native-inputs
6738 `(("pkg-config" ,pkg-config)
6739 ("gobject-introspection" ,gobject-introspection)))
6740 (inputs
6741 `(("json-glib" ,json-glib)
6742 ("gnome-online-accounts" ,gnome-online-accounts)
6743 ("rest" ,rest)))
6744 (synopsis "GLib/GObject wrapper for the Facebook API")
6745 (description "This library allows you to use the Facebook API from
6746GLib/GObject code.")
6747 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
6748 (license license:lgpl2.1+)))
3920868c 6749
6750(define-public libgnomekbd
6751 (package
6752 (name "libgnomekbd")
47b93ae5 6753 (version "3.22.0.1")
3920868c 6754 (source (origin
6755 (method url-fetch)
6756 (uri (string-append "mirror://gnome/sources/" name "/"
6757 (version-major+minor version) "/"
6758 name "-" version ".tar.xz"))
6759 (sha256
6760 (base32
47b93ae5 6761 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
3920868c 6762 (build-system gnu-build-system)
6763 (native-inputs
6764 `(("pkg-config" ,pkg-config)
6765 ("glib" ,glib "bin")
6766 ("intltool" ,intltool)))
6767 (propagated-inputs
6768 ;; Referred to in .h files and .pc.
6769 `(("glib" ,glib)
6770 ("gtk+" ,gtk+)
6771 ("libxklavier" ,libxklavier)))
6772 (home-page "https://www.gnome.org")
6773 (synopsis "GNOME keyboard configuration library")
6774 (description
6775 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
6776environment, which can notably display keyboard layouts.")
6777 (license license:lgpl2.0+)))
85327d0d 6778
6779;;; This package is no longer maintained:
6780;;; https://wiki.gnome.org/Attic/LibUnique
6781;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
6782;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
6783(define-public libunique
6784 (package
6785 (name "libunique")
6786 (version "3.0.2")
6787 (source (origin
6788 (method url-fetch)
6789 (uri (string-append "mirror://gnome/sources/" name "/"
6790 (version-major+minor version) "/"
6791 name "-" version ".tar.xz"))
6792 (sha256
6793 (base32
6794 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6795 (build-system glib-or-gtk-build-system)
6796 (arguments
6797 `(#:configure-flags '("--disable-static"
6798 "--disable-dbus" ; use gdbus
6799 "--enable-introspection")))
6800 (native-inputs
6801 `(("pkg-config" ,pkg-config)
6802 ("gobject-introspection" ,gobject-introspection)
6803 ("glib:bin" ,glib "bin")
6804 ("gtk-doc" ,gtk-doc)))
6805 (propagated-inputs
6806 ;; Referred to in .h files and .pc.
6807 `(("gtk+" ,gtk+)))
6808 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6809 (synopsis "Library for writing single instance applications")
6810 (description
6811 "Libunique is a library for writing single instance applications. If you
6812launch a single instance application twice, the second instance will either just
6813quit or will send a message to the running instance. Libunique makes it easy to
6814write this kind of application, by providing a base class, taking care of all
6815the IPC machinery needed to send messages to a running instance, and also
6816handling the startup notification side.")
6817 (license license:lgpl2.1+)))
54021cd8
RS
6818
6819(define-public gnome-calculator
6820 (package
6821 (name "gnome-calculator")
31d9e454 6822 (version "3.26.0")
54021cd8
RS
6823 (source
6824 (origin
6825 (method url-fetch)
6826 (uri (string-append "mirror://gnome/sources/" name "/"
6827 (version-major+minor version) "/"
6828 name "-" version ".tar.xz"))
6829 (sha256
6830 (base32
31d9e454 6831 "1iv3b3mvqxm17r5gv15dyq6gz08w0ljhzgbf22xnnfnpzhvmn8b2"))))
54021cd8
RS
6832 (build-system glib-or-gtk-build-system)
6833 (native-inputs
6834 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6835 ("intltool" ,intltool)
6836 ("itstool" ,itstool)
6837 ("pkg-config" ,pkg-config)))
6838 (inputs
6839 `(("gtksourceview" ,gtksourceview)
6840 ("libsoup" ,libsoup)
2c2da7ec 6841 ("mpc" ,mpc)
54021cd8
RS
6842 ("mpfr" ,mpfr)))
6843 (home-page "https://wiki.gnome.org/Apps/Calculator")
6844 (synopsis "Desktop calculator")
6845 (description
6846 "Calculator is an application that solves mathematical equations and
6847is suitable as a default application in a Desktop environment.")
6848 (license license:gpl3)))
0bd69759
RS
6849
6850(define-public xpad
6851 (package
6852 (name "xpad")
c85626bb 6853 (version "5.1.0")
0bd69759
RS
6854 (source
6855 (origin
6856 (method url-fetch)
08fda9c6
R
6857 (uri (string-append "https://launchpad.net/xpad/trunk/"
6858 version "/+download/"
0bd69759
RS
6859 name "-" version ".tar.bz2"))
6860 (sha256
6861 (base32
c85626bb 6862 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
6863 (build-system gnu-build-system)
6864 (native-inputs
08fda9c6
R
6865 `(("autoconf" ,autoconf)
6866 ("automake" ,automake)
6867 ("gtk+:bin" ,gtk+ "bin")
6868 ("intltool" ,intltool)
0bd69759
RS
6869 ("pkg-config" ,pkg-config)))
6870 (inputs
08fda9c6 6871 `(("gtksourceview" ,gtksourceview)
0bd69759
RS
6872 ("libsm" ,libsm)))
6873 (home-page "https://wiki.gnome.org/Apps/Xpad")
6874 (synopsis "Virtual sticky note")
6875 (description
6876 "Xpad is a sticky note that strives to be simple, fault tolerant,
6877and customizable. Xpad consists of independent pad windows, each is
6878basically a text box in which notes can be written.")
6879 (license license:gpl3+)))
3ad7dce1
RS
6880
6881(define-public gucharmap
6882 (package
6883 (name "gucharmap")
6884 (version "3.18.0")
6885 (source
6886 (origin
6887 (method url-fetch)
6888 (uri (string-append "mirror://gnome/sources/" name "/"
6889 (version-major+minor version) "/"
6890 name "-" version ".tar.xz"))
6891 (sha256
6892 (base32
6893 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
aa29f8fb 6894 (build-system glib-or-gtk-build-system)
3ad7dce1
RS
6895 (native-inputs
6896 `(("desktop-file-utils" ,desktop-file-utils)
6897 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
6898 ("gobject-introspection" ,gobject-introspection)
6899 ("intltool" ,intltool)
6900 ("itstool" ,itstool)
6901 ("pkg-config" ,pkg-config)))
6902 (inputs
6903 `(("gtk+" ,gtk+)
6904 ("xmllint" ,libxml2)))
6905 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
6906 (synopsis "Unicode character picker and font browser")
6907 (description
6908 "This program allows you to browse through all the available Unicode
6909characters and categories for the installed fonts, and to examine their
6910detailed properties. It is an easy way to find the character you might
6911only know by its Unicode name or code point.")
6912 (license license:gpl3+)))
04ce840a
RS
6913
6914(define-public bluefish
6915 (package
6916 (name "bluefish")
ea8afaf3 6917 (version "2.2.10")
04ce840a
RS
6918 (source
6919 (origin
6920 (method url-fetch)
6921 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
6922 name "-" version ".tar.gz"))
6923 (sha256
6924 (base32
ea8afaf3 6925 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
6926 (build-system gnu-build-system)
6927 (native-inputs
6928 `(("desktop-file-utils" ,desktop-file-utils)
6929 ("intltool" ,intltool)
6930 ("pkg-config" ,pkg-config)))
6931 (inputs
6932 `(("enchant" ,enchant)
6933 ("gtk+" ,gtk+)
6934 ("python" ,python-2)
6935 ("xmllint" ,libxml2)
6936 ("gucharmap" ,gucharmap)))
6937 (home-page "http://bluefish.openoffice.nl")
6938 (synopsis "Web development studio")
6939 (description
6940 "Bluefish is an editor targeted towards programmers and web developers,
6941with many options to write web sites, scripts and other code.
6942Bluefish supports many programming and markup languages.")
6943 (license license:gpl3+)))
1f6a73ee
RS
6944
6945(define-public gnome-system-monitor
6946 (package
6947 (name "gnome-system-monitor")
a5a22d7b 6948 (version "3.26.0")
1f6a73ee
RS
6949 (source
6950 (origin
6951 (method url-fetch)
6952 (uri (string-append "mirror://gnome/sources/" name "/"
6953 (version-major+minor version) "/"
6954 name "-" version ".tar.xz"))
6955 (sha256
6956 (base32
a5a22d7b 6957 "1cz6s0cvagj422f9dc231nvg8jsfkva5s81skpq4q5jyrb1ahj7q"))))
1f6a73ee
RS
6958 (build-system glib-or-gtk-build-system)
6959 (native-inputs
6960 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6961 ("intltool" ,intltool)
6962 ("itstool" ,itstool)
6963 ("libgtop" ,libgtop)
6964 ("pkg-config" ,pkg-config)))
6965 (inputs
6966 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6967 ("gtk+" ,gtk+)
6968 ("gtkmm" ,gtkmm)
6969 ("librsvg" ,librsvg)
6970 ("libxml2" ,libxml2)))
6971 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6972 (synopsis "Process viewer and system resource monitor for GNOME")
6973 (description
6974 "GNOME System Monitor is a GNOME process viewer and system monitor with
6975an attractive, easy-to-use interface. It has features, such as a tree view
6976for process dependencies, icons for processes, the ability to hide processes,
6977graphical time histories of CPU/memory/swap usage and the ability to
6978kill/reinice processes.")
6979 (license license:gpl2+)))
3e00ac47
SB
6980
6981(define-public python-pyatspi
6982 (package
6983 (name "python-pyatspi")
6984 (version "2.24.0")
6985 (source (origin
6986 (method url-fetch)
6987 (uri (string-append
6988 "mirror://gnome/sources/pyatspi/"
6989 (version-major+minor version)
6990 "/pyatspi-" version ".tar.xz"))
6991 (sha256
6992 (base32
6993 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6994 (build-system gnu-build-system)
6995 (native-inputs
6996 `(("pkg-config" ,pkg-config)))
6997 (inputs
6998 `(("python" ,python)
6999 ("python-pygobject" ,python-pygobject)))
7000 (synopsis "Python client bindings for D-Bus AT-SPI")
7001 (home-page "https://wiki.linuxfoundation.org/accessibility\
7002/atk/at-spi/at-spi_on_d-bus")
7003 (description
7004 "This package includes a python client library for the AT-SPI D-Bus
7005accessibility infrastructure.")
7006 (license license:lgpl2.0)
7007 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
7008
7009(define-public orca
7010 (package
7011 (name "orca")
f51ea1cd 7012 (version "3.26.0")
53201c0d
SB
7013 (source (origin
7014 (method url-fetch)
7015 (uri (string-append
7016 "mirror://gnome/sources/" name "/"
7017 (version-major+minor version) "/"
7018 name "-" version ".tar.xz"))
7019 (sha256
7020 (base32
f51ea1cd 7021 "0xk5k9cbswymma60nrfj00dl97wypx59c107fb1hwi75gm0i07a7"))))
53201c0d
SB
7022 (build-system glib-or-gtk-build-system)
7023 (arguments
7024 '(#:phases
7025 (modify-phases %standard-phases
7026 (add-before 'configure 'qualify-xkbcomp
7027 (lambda* (#:key inputs #:allow-other-keys)
7028 (let ((xkbcomp (string-append
7029 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7030 (substitute* "src/orca/orca.py"
7031 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7032 #t))
7033 (add-after 'install 'wrap-orca
7034 (lambda* (#:key outputs #:allow-other-keys)
7035 (let* ((out (assoc-ref outputs "out"))
7036 (prog (string-append out "/bin/orca")))
7037 (wrap-program prog
7038 `("GI_TYPELIB_PATH" ":" prefix
7039 (,(getenv "GI_TYPELIB_PATH")))
7040 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7041 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7042 `("PYTHONPATH" ":" prefix
7043 (,(getenv "PYTHONPATH")))))
7044 #t)))))
7045 (native-inputs
7046 `(("intltool" ,intltool)
7047 ("itstool" ,itstool)
7048 ("pkg-config" ,pkg-config)
7049 ("xmllint" ,libxml2)))
7050 (inputs
7051 `(("at-spi2-atk" ,at-spi2-atk)
7052 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7053 ("gstreamer" ,gstreamer)
7054 ("gst-plugins-base" ,gst-plugins-base)
7055 ("gst-plugins-good" ,gst-plugins-good)
7056 ("gtk+" ,gtk+)
7057 ("python" ,python)
7058 ("python-pygobject" ,python-pygobject)
7059 ("python-pyatspi" ,python-pyatspi)
7060 ("python-speechd" ,speech-dispatcher)
7061 ("xkbcomp" ,xkbcomp)))
7062 (synopsis
7063 "Screen reader for individuals who are blind or visually impaired")
7064 (home-page "https://wiki.gnome.org/Projects/Orca")
7065 (description
7066 "Orca is a screen reader that provides access to the graphical desktop
7067via speech and refreshable braille. Orca works with applications and toolkits
7068that support the Assistive Technology Service Provider Interface (AT-SPI).")
7069 (license license:lgpl2.1+)))
411ba511
LC
7070
7071(define-public gspell
7072 (package
7073 (name "gspell")
9b1bb757 7074 (version "1.8.1")
411ba511
LC
7075 (source (origin
7076 (method url-fetch)
7077 (uri (string-append "mirror://gnome/sources/" name "/"
7078 (version-major+minor version) "/"
7079 name "-" version ".tar.xz"))
7080 (sha256
7081 (base32
9b1bb757 7082 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
411ba511
LC
7083 (patches (search-patches "gspell-dash-test.patch"))))
7084 (build-system glib-or-gtk-build-system)
7085 (arguments
7086 '(#:phases
7087 (modify-phases %standard-phases
7088 (add-before 'check 'pre-check
7089 (lambda* (#:key inputs #:allow-other-keys)
7090 ;; Tests require a running X server.
7091 (system "Xvfb :1 &")
7092 (setenv "DISPLAY" ":1")
7093
7094 ;; For the missing /etc/machine-id.
7095 (setenv "DBUS_FATAL_WARNINGS" "0")
7096
7097 ;; Allow Enchant and its Aspell backend to find the en_US
7098 ;; dictionary.
7099 (setenv "ASPELL_DICT_DIR"
7100 (string-append (assoc-ref inputs "aspell-dict-en")
7101 "/lib/aspell"))
7102 #t)))))
7103 (inputs
eccd35be 7104 `(("gtk+" ,gtk+)
a801ae4c
TGR
7105 ("glib" ,glib)
7106 ("iso-codes" ,iso-codes)))
411ba511
LC
7107 (native-inputs
7108 `(("glib" ,glib "bin")
7109 ("pkg-config" ,pkg-config)
7110 ("xmllint" ,libxml2)
7111
7112 ;; For tests.
a801ae4c
TGR
7113 ("aspell-dict-en" ,aspell-dict-en)
7114 ("xorg-server" ,xorg-server)))
eccd35be 7115 (propagated-inputs
9b1bb757 7116 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
7117 (home-page "https://wiki.gnome.org/Projects/gspell")
7118 (synopsis "GNOME's alternative spell checker")
7119 (description
7120 "gspell provides a flexible API to add spell-checking to a GTK+
7121application. It provides a GObject API, spell-checking to text entries and
7122text views, and buttons to choose the language.")
7123 (license license:gpl2+)))
d1d739fa
CM
7124
7125(define-public gnome-planner
7126 (package
7127 (name "gnome-planner")
7128 (version "0.14.6")
7129 (source (origin
7130 (method url-fetch)
7131 (uri (string-append "mirror://gnome/sources/planner/"
7132 (version-major+minor version) "/planner-"
7133 version ".tar.xz"))
7134 (sha256
7135 (base32
7136 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7137 (build-system glib-or-gtk-build-system)
7138 (arguments
7139 ;; Disable the Python bindings because the Planner program functions
7140 ;; without them, and (as of 2017-06-13) we have not packaged all of
7141 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
7142 `(#:configure-flags
7143 (list "--disable-python"
7144 ,@(if (string=? "aarch64-linux" (%current-system))
7145 '("--build=aarch64-unknown-linux-gnu")
7146 '()))))
d1d739fa
CM
7147 (inputs
7148 `(("libgnomecanvas" ,libgnomecanvas)
7149 ("libgnomeui" ,libgnomeui)
7150 ("libglade" ,libglade)
7151 ("gnome-vfs" ,gnome-vfs)
7152 ("gconf" ,gconf)
7153 ("libxml2" ,libxml2)
7154 ("libxslt" ,libxslt)
7155 ("gtk+" ,gtk+)
7156 ("glib" ,glib)))
7157 (native-inputs
7158 `(("intltool" ,intltool)
7159 ("scrollkeeper" ,scrollkeeper)
7160 ("pkg-config" ,pkg-config)))
7161 (home-page "https://wiki.gnome.org/Apps/Planner")
7162 (synopsis "Project management software for the GNOME desktop")
7163 (description
7164 "GNOME Planner is a project management tool based on the Work Breakdown
7165Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7166the resources, tasks, and constraints that you define, Planner generates
7167various views into a project. For example, Planner can show a Gantt chart of
7168the project. It can show a detailed summary of tasks including their
7169duration, cost, and current progress. It can also show a report of resource
7170utilization that highlights under-utilized and over-utilized resources. These
7171views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 7172 (license license:gpl2+)))
64fce637
RS
7173
7174(define-public lollypop
7175 (package
7176 (name "lollypop")
b98eace8 7177 (version "0.9.521")
64fce637
RS
7178 (source
7179 (origin
7180 (method url-fetch)
b98eace8
CB
7181 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7182 "e4df2ed75c5ed71d64afcc668e579b2a/"
64fce637
RS
7183 name "-" version ".tar.xz"))
7184 (sha256
7185 (base32
b98eace8 7186 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
aa498fc0 7187 (build-system meson-build-system)
64fce637
RS
7188 (arguments
7189 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
7190 ,@%meson-build-system-modules)
7191 #:glib-or-gtk? #t
5fc9b6c1
EF
7192 #:tests? #f ; no test suite
7193 #:phases
7194 (modify-phases %standard-phases
5fc9b6c1
EF
7195 (add-after 'install 'wrap-program
7196 (lambda* (#:key outputs #:allow-other-keys)
7197 (let ((out (assoc-ref outputs "out"))
7198 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7199 (wrap-program (string-append out "/bin/lollypop")
7200 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7201 #t))
7202 (add-after 'install 'wrap
7203 (@@ (guix build python-build-system) wrap)))))
64fce637
RS
7204 (native-inputs
7205 `(("intltool" ,intltool)
7206 ("itstool" ,itstool)
aa498fc0
TD
7207 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7208 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
7209 ("pkg-config" ,pkg-config)))
7210 (inputs
7211 `(("gobject-introspection" ,gobject-introspection)
5fc9b6c1 7212 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
7213 ("libnotify" ,libnotify)
7214 ("libsecret" ,libsecret)
7215 ("libsoup" ,libsoup)
7216 ("python" ,python)
7217 ("python-beautifulsoup4" ,python-beautifulsoup4)
7218 ("python-gst" ,python-gst)
7219 ("python-pycairo" ,python-pycairo)
7220 ("python-pygobject" ,python-pygobject)
7221 ("python-pylast" ,python-pylast)
7222 ("totem-pl-parser" ,totem-pl-parser)
7223 ("webkitgtk" ,webkitgtk)))
7224 (propagated-inputs
7225 `(;; gst-plugins-base is required to start Lollypop,
7226 ;; the others are required to play streaming.
64fce637
RS
7227 ("gst-plugins-good" ,gst-plugins-good)
7228 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 7229 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
7230 (synopsis "GNOME music playing application")
7231 (description
7232 "Lollypop is a music player designed to play well with GNOME desktop.
7233Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7234from artists and tracks from the web. It also fetches cover artworks
7235automatically and it can stream songs from online music services and charts.")
7236 (license license:gpl3+)))
d831d49d
AW
7237
7238(define-public gnome-video-effects
7239 (package
7240 (name "gnome-video-effects")
7241 (version "0.4.3")
7242 (source (origin
7243 (method url-fetch)
7244 (uri (string-append "mirror://gnome/sources/" name "/"
7245 (version-major+minor version) "/" name "-"
7246 version ".tar.xz"))
7247 (sha256
7248 (base32
7249 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7250 (build-system glib-or-gtk-build-system)
7251 (arguments
7252 `(#:out-of-source? #f))
7253 (native-inputs
7254 `(("glib:bin" ,glib "bin")
7255 ("intltool" ,intltool)
7256 ("gettext" ,gettext-minimal)
7257 ("pkg-config" ,pkg-config)))
7258 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7259 (synopsis "Video effects for Cheese and other GNOME applications")
7260 (description
7261 "A collection of GStreamer video filters and effects to be used in
7262photo-booth-like software, such as Cheese.")
7263 (license license:gpl2+)))
3511c780
AW
7264
7265(define-public cheese
7266 (package
7267 (name "cheese")
4b3480d6 7268 (version "3.28.0")
3511c780
AW
7269 (source (origin
7270 (method url-fetch)
7271 (uri (string-append "mirror://gnome/sources/" name "/"
7272 (version-major+minor version) "/" name "-"
7273 version ".tar.xz"))
7274 (sha256
7275 (base32
4b3480d6 7276 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
3511c780
AW
7277 (arguments
7278 ;; Tests require GDK.
7279 `(#:tests? #f
7280 #:phases
7281 (modify-phases %standard-phases
7282 (add-before 'install 'skip-gtk-update-icon-cache
7283 (lambda _
7284 ;; Don't create 'icon-theme.cache'
7285 (substitute* "Makefile"
7286 (("gtk-update-icon-cache") (which "true")))
7287 #t))
7288 (add-after 'install 'wrap-cheese
7289 (lambda* (#:key inputs outputs #:allow-other-keys)
7290 (let ((out (assoc-ref outputs "out"))
7291 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7292 (wrap-program (string-append out "/bin/cheese")
7293 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7294 #t)))))
7295 (build-system glib-or-gtk-build-system)
7296 (native-inputs
7297 `(("glib:bin" ,glib "bin")
7298 ("intltool" ,intltool)
7299 ("itstool" ,itstool)
7300 ("libxml2" ,libxml2)
7301 ("pkg-config" ,pkg-config)
7302 ("vala" ,vala)))
7303 (propagated-inputs
7304 `(("gnome-video-effects" ,gnome-video-effects)))
7305 (inputs
7306 `(("clutter" ,clutter)
7307 ("clutter-gst" ,clutter-gst)
7308 ("clutter-gtk" ,clutter-gtk)
7309 ("gdk-pixbuf" ,gdk-pixbuf)
7310 ("glib" ,glib)
7311 ("gnome-desktop" ,gnome-desktop)
7312 ("gobject-introspection" ,gobject-introspection)
7313 ("gstreamer" ,gstreamer)
7314 ("gst-plugins-base" ,gst-plugins-base)
7315 ("gst-plugins-bad" ,gst-plugins-bad)
7316 ("gtk+" ,gtk+)
7317 ("libcanberra" ,libcanberra)
7318 ("libx11" ,libx11)
7319 ("libxtst" ,libxtst)))
7320 (home-page "https://wiki.gnome.org/Apps/Cheese")
7321 (synopsis "Webcam photo booth software for GNOME")
7322 (description
7323 "Cheese uses your webcam to take photos and videos. Cheese can also
7324apply fancy special effects and lets you share the fun with others.")
7325 (license license:gpl2+)))
3c5dbd2b 7326
7327(define-public sound-juicer
7328 (package
7329 (name "sound-juicer")
7330 (version "3.24.0")
7331 (source
7332 (origin
7333 (method url-fetch)
7334 (uri (string-append "mirror://gnome/sources/" name "/"
7335 (version-major+minor version) "/"
7336 name "-" version ".tar.xz"))
7337 (sha256
7338 (base32
7339 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7340 (build-system glib-or-gtk-build-system)
7341 (native-inputs
7342 `(("desktop-file-utils" ,desktop-file-utils)
7343 ("intltool" ,intltool)
7344 ("itstool" ,itstool)
7345 ("pkg-config" ,pkg-config)
7346 ("xmllint" ,libxml2)))
7347 (inputs
7348 `(("gtk+" ,gtk+)
7349 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7350 ("gstreamer" ,gstreamer)
7351 ("gst-plugins-base" ,gst-plugins-base)
7352 ("gst-plugins-good" ,gst-plugins-good)
7353 ("iso-codes" ,iso-codes)
7354 ("libbrasero-media3" ,brasero)
7355 ("libcanberra" ,libcanberra)
7356 ("libdiscid" ,libdiscid)
7357 ("libmusicbrainz" ,libmusicbrainz)
7358 ("neon" ,neon)))
7359 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7360 (synopsis "Audio music cd ripper")
7361 (description "Sound Juicer extracts audio from compact discs and convert it
7362into audio files that a personal computer or digital audio player can play.
7363It supports ripping to any audio codec supported by a GStreamer plugin, such as
7364mp3, Ogg Vorbis and FLAC")
7365 (license license:gpl2+)))
4e3fdeb7 7366
0d3f1708
CB
7367(define-public soundconverter
7368 (package
7369 (name "soundconverter")
7370 (version "3.0.0")
7371 (source
7372 (origin
7373 (method url-fetch)
7374 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7375 version "/+download/"
7376 "soundconverter-" version ".tar.xz"))
7377
7378 (sha256
7379 (base32
7380 "1wrxf5py54xplrf97qp24pzbis0cvax5c6k0c7vr3z3ry8r7gd7c"))
7381 (patches
7382 (search-patches
7383 "soundconverter-remove-gconf-dependency.patch"))))
7384 (build-system glib-or-gtk-build-system)
7385 (arguments
7386 `(#:imported-modules ((guix build python-build-system)
7387 (guix build glib-or-gtk-build-system)
7388 ,@%gnu-build-system-modules)
7389
7390 #:modules ((guix build glib-or-gtk-build-system)
7391 (guix build utils)
7392 ((guix build gnu-build-system) #:prefix gnu:)
7393 ((guix build python-build-system) #:prefix python:))
7394
7395 #:phases
7396 (modify-phases %standard-phases
7397 (add-after 'unpack 'fix-POTFILES.in
7398 (lambda _
7399 (substitute* "po/POTFILES.in"
7400 ;; This file doesn't exist, so without removing it, the 'check
7401 ;; phase fails for the po directory
7402 (("soundconverter/gconfstore\\.py") ""))))
7403 (add-after 'install 'wrap-soundconverter-for-python
7404 (assoc-ref python:%standard-phases 'wrap))
7405 (add-after 'install 'wrap-soundconverter
7406 (lambda* (#:key inputs outputs #:allow-other-keys)
7407 (let ((out (assoc-ref outputs "out"))
7408 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7409 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7410 (wrap-program (string-append out "/bin/soundconverter")
7411 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7412 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7413 #t)))))
7414 (native-inputs
7415 `(("intltool" ,intltool)
7416 ("pkg-config" ,pkg-config)
7417 ("glib:bin" ,glib "bin")))
7418 (inputs
7419 `(("gtk+" ,gtk+)
7420 ("python" ,python)
7421 ("python-pygobject" ,python-pygobject)
7422 ("gstreamer" ,gstreamer)
7423 ("gst-plugins-base" ,gst-plugins-base)))
7424 (home-page "http://soundconverter.org/")
7425 (synopsis "Convert between audio formats with a graphical interface")
7426 (description
7427 "SoundConverter supports converting between many audio formats including
7428Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7429configurable file renaming. ")
7430 (license license:gpl3)))
7431
4e3fdeb7 7432(define-public workrave
1302837f 7433 (let ((commit "v1_10_21"))
4e3fdeb7
JL
7434 (package
7435 (name "workrave")
7436 (version (string-map (match-lambda
7437 (#\_ #\.)
7438 (chr chr))
7439 (string-drop commit 1)))
7440 (source (origin
7441 (method git-fetch)
7442 (uri (git-reference
7443 (url "https://github.com/rcaelers/workrave.git")
7444 (commit commit)))
1302837f 7445 (file-name (git-file-name name version))
4e3fdeb7
JL
7446 (sha256
7447 (base32
1302837f 7448 "150qca8c552fakjlzkgarsxgp87l1xcwn19svqsa9d0cygqxjgia"))))
4e3fdeb7 7449 (build-system glib-or-gtk-build-system)
4e3fdeb7
JL
7450 (propagated-inputs `(("glib" ,glib)
7451 ("gtk+" ,gtk+)
7452 ("gdk-pixbuf" ,gdk-pixbuf)
7453 ("gtkmm" ,gtkmm)
7454 ("glibmm" ,glibmm)
7455 ("libx11" ,libx11)
7456 ("libxtst" ,libxtst)
7457 ("dconf" ,dconf)
7458 ("libice" ,libice)))
de99ba7e 7459 (inputs `(("libsm" ,libsm)
4e3fdeb7
JL
7460 ("python-cheetah" ,python2-cheetah)))
7461 (native-inputs `(("glib" ,glib "bin")
7462 ("pkg-config" ,pkg-config)
7463 ("gettext" ,gnu-gettext)
7464 ("autoconf" ,autoconf)
7465 ("autoconf-archive" , autoconf-archive)
7466 ("automake" ,automake)
7467 ("libtool" ,libtool)
7468 ("intltool" ,intltool)
7469 ("libxscrnsaver" ,libxscrnsaver)
7470 ("gobject-introspection" ,gobject-introspection)
7471 ("python2" ,python-2)))
7472 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
cc00249b
TGR
7473 (description
7474 "Workrave is a program that assists in the recovery and prevention of
7475repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7476micro-pauses and rest breaks, and restricts you to your daily limit.")
4e3fdeb7
JL
7477 (home-page "http://www.workrave.org")
7478 (license license:gpl3+))))
312afa7d
LC
7479
7480(define-public ghex
7481 (package
7482 (name "ghex")
7483 (version "3.18.3")
7484 (source (origin
7485 (method url-fetch)
7486 (uri (string-append "mirror://gnome/sources/" name "/"
7487 (version-major+minor version) "/"
7488 name "-" version ".tar.xz"))
7489 (sha256
7490 (base32
7491 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7492 (build-system glib-or-gtk-build-system)
7493 (native-inputs
7494 `(("pkg-config" ,pkg-config)
7495 ("gnome-common" ,gnome-common)
7496 ("which" ,which)
7497 ("intltool" ,intltool)
7498 ("yelp-tools" ,yelp-tools)
7499 ("desktop-file-utils" ,desktop-file-utils))) ;for 'desktop-file-validate'
7500 (inputs
7501 `(("atk" ,atk)
7502 ("gtk" ,gtk+)))
7503 (synopsis "GNOME hexadecimal editor")
7504 (description "The GHex program can view and edit files in two ways:
7505hexadecimal or ASCII. It is useful for editing binary files in general.")
7506 (home-page "https://wiki.gnome.org/Apps/Ghex")
7507 (license license:gpl2)))
4b2ed6c2
RW
7508
7509(define-public libdazzle
7510 (package
7511 (name "libdazzle")
7512 (version "3.28.5")
7513 (source (origin
7514 (method url-fetch)
7515 (uri (string-append "mirror://gnome/sources/" name "/"
7516 (version-major+minor version) "/"
7517 name "-" version ".tar.xz"))
7518 (sha256
7519 (base32
7520 "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg"))))
7521 (build-system meson-build-system)
7522 (arguments
7523 `(#:phases
7524 (modify-phases %standard-phases
7525 (add-after 'unpack 'disable-failing-test
7526 (lambda _
7527 ;; Disable failing test.
7528 (substitute* "tests/meson.build"
7529 (("test\\('test-application") "#"))
7530 #t))
7531 (add-before 'check 'pre-check
7532 (lambda _
7533 ;; Tests require a running X server.
7534 (system "Xvfb :1 &")
7535 (setenv "DISPLAY" ":1")
7536 #t)))))
7537 (native-inputs
7538 `(("glib" ,glib "bin") ; glib-compile-resources
7539 ("pkg-config" ,pkg-config)
7540 ;; For tests
7541 ("xorg-server" ,xorg-server)))
7542 (inputs
7543 `(("glib" ,glib)
7544 ("gobject-introspection" ,gobject-introspection)
7545 ("gtk+" ,gtk+)
7546 ("vala" ,vala)))
7547 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7548 (synopsis "Companion library to GObject and Gtk+")
7549 (description "The libdazzle library is a companion library to GObject and
7550Gtk+. It provides various features that the authors wish were in the
7551underlying library but cannot for various reasons. In most cases, they are
7552wildly out of scope for those libraries. In other cases, they are not quite
7553generic enough to work for everyone.")
7554 (license license:gpl3+)))