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