gnu: libgdata: Update to 0.17.9.
[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)
c69959f0 302 ("cmake" ,cmake-minimal)))
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
d0b19e44
RW
360;; This is the unstable release, but it is required for the current stable
361;; release of gvfs (1.38.1).
adc5cb1b
KK
362(define-public libgdata
363 (package
364 (name "libgdata")
d0b19e44 365 (version "0.17.9")
adc5cb1b
KK
366 (source (origin
367 (method url-fetch)
368 (uri (string-append "mirror://gnome/sources/" name "/"
369 (version-major+minor version) "/"
370 name "-" version ".tar.xz"))
371 (sha256
372 (base32
d0b19e44 373 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
adc5cb1b
KK
374 (build-system gnu-build-system)
375 (arguments
376 '(#:phases
377 (modify-phases %standard-phases
448052b7
TGR
378 (add-before 'check 'disable-failing-tests
379 (lambda _
380 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
381 ;; They have been removed in libgdata 0.17.6, so just do the same.
382 (substitute* "gdata/tests/Makefile"
383 (("picasaweb\\$\\(EXEEXT\\) ") ""))
adc5cb1b
KK
384 #t)))))
385 (native-inputs
386 `(("glib:bin" ,glib "bin")
387 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
388 ("intltool" ,intltool)
389 ("pkg-config" ,pkg-config)
390 ("uhttpmock" ,uhttpmock)))
391 (inputs
392 `(("cyrus-sasl" ,cyrus-sasl)
d0b19e44 393 ("glib-networking" ,glib-networking)))
adc5cb1b
KK
394 (propagated-inputs
395 `(("gcr" ,gcr)
d0b19e44 396 ("glib" ,glib)
14c297fd 397 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
d0b19e44 398 ("json-glib" ,json-glib)
adc5cb1b 399 ("liboauth" ,liboauth)
d0b19e44 400 ("libsoup" ,libsoup)
adc5cb1b
KK
401 ("libxml2" ,libxml2)))
402 (home-page "https://wiki.gnome.org/Projects/libgdata")
403 (synopsis "Library for accessing online service APIs")
404 (description
405 "libgdata is a GLib-based library for accessing online service APIs using
406the GData protocol — most notably, Google's services. It provides APIs to
407access the common Google services, and has full asynchronous support.")
408 (license license:lgpl2.1+)))
409
94e10cf4
KK
410(define-public libgxps
411 (package
412 (name "libgxps")
66470a5a 413 (version "0.3.1")
94e10cf4
KK
414 (source (origin
415 (method url-fetch)
7f10628c 416 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
417 (version-major+minor version) "/"
418 name "-" version ".tar.xz"))
419 (sha256
420 (base32
66470a5a 421 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
b6b3e512 422 (build-system meson-build-system)
94e10cf4
KK
423 (native-inputs
424 `(("gobject-introspection" ,gobject-introspection)
425 ("pkg-config" ,pkg-config)))
426 (inputs
c8d62d93 427 `(("gtk+" ,gtk+)
b6b3e512 428 ("libjpeg" ,libjpeg-turbo)
94e10cf4
KK
429 ("lcms" ,lcms)
430 ("libtiff" ,libtiff)
431 ("nettle" ,nettle)))
c8d62d93
MB
432 (propagated-inputs
433 ;; In Requires of libgxps.pc.
434 `(("cairo" ,cairo)
435 ("glib" ,glib)
436 ("libarchive" ,libarchive)))
94e10cf4
KK
437 (home-page "https://wiki.gnome.org/Projects/libgxps")
438 (synopsis "GObject-based library for handling and rendering XPS documents")
439 (description
440 "libgxps is a GObject-based library for handling and rendering XPS
441documents. This package also contains binaries that can convert XPS documents
442to other formats.")
443 (license license:lgpl2.1+)))
444
7aab13f1
ML
445(define-public gnome-common
446 (package
447 (name "gnome-common")
af83490d 448 (version "3.18.0")
7aab13f1
ML
449 (source
450 (origin
451 (method url-fetch)
452 (uri (string-append "mirror://gnome/sources/" name "/"
453 (version-major+minor version) "/"
454 name "-" version ".tar.xz"))
455 (sha256
456 (base32
af83490d 457 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
458 (build-system gnu-build-system)
459 (home-page "https://www.gnome.org/")
460 (synopsis "Bootstrap GNOME modules built from Git")
461 (description "gnome-common contains various files needed to bootstrap
462GNOME modules built from Git. It contains a common \"autogen.sh\" script that
463can be used to configure a source directory checked out from Git and some
464commonly used macros.")
465 (license license:gpl2+)))
466
9cc98f8a
CR
467(define-public gnome-desktop
468 (package
469 (name "gnome-desktop")
3387ee41 470 (version "3.30.2")
9cc98f8a
CR
471 (source
472 (origin
473 (method url-fetch)
b38e45d8
EB
474 (uri (string-append "mirror://gnome/sources/" name "/"
475 (version-major+minor version) "/"
9cc98f8a
CR
476 name "-" version ".tar.xz"))
477 (sha256
478 (base32
3387ee41 479 "0k6iccfj9naw42dl2mgljfvk12dmvg06plg86qd81nksrf9ycxal"))))
9cc98f8a 480 (build-system gnu-build-system)
a0fe7c06
CB
481 (arguments
482 '(#:phases
483 (modify-phases %standard-phases
484 (add-before 'configure 'patch-path
485 (lambda* (#:key inputs #:allow-other-keys)
486 (let ((libc (assoc-ref inputs "libc")))
487 (substitute* "libgnome-desktop/gnome-languages.c"
488 (("\"locale\"")
489 (string-append "\"" libc "/bin/locale\"")))
490 #t))))))
9cc98f8a 491 (native-inputs
a8340482
SB
492 `(("gobject-introspection" ,gobject-introspection)
493 ("itstool" ,itstool)
bcb354ad
SB
494 ("intltool" ,intltool)
495 ("pkg-config" ,pkg-config)
496 ("xmllint" ,libxml2)))
a8340482
SB
497 (propagated-inputs
498 ;; Required by gnome-desktop-3.0.pc.
499 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
500 ("gtk+" ,gtk+)))
9cc98f8a
CR
501 (inputs
502 `(("gdk-pixbuf" ,gdk-pixbuf)
503 ("glib" ,glib)
9cc98f8a 504 ("iso-codes" ,iso-codes)
9863ce20 505 ("libseccomp" ,libseccomp)
9cc98f8a
CR
506 ("libx11" ,libx11)
507 ("libxext" ,libxext)
508 ("libxkbfile" ,libxkbfile)
509 ("libxrandr" ,libxrandr)
510 ("xkeyboard-config" ,xkeyboard-config)))
511 (home-page "https://www.gnome.org/")
512 (synopsis
35b9e423 513 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
514 (description
515 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
516on the desktop, but that cannot live in the platform for various reasons.
517There is no API or ABI guarantee, although we are doing our best to provide
518stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
519
520The gnome-about program helps find which version of GNOME is installed.")
521 ; Some bits under the LGPL.
1dd26275 522 (license license:gpl2+)))
9cc98f8a 523
995b7261
AE
524(define-public gnome-doc-utils
525 (package
526 (name "gnome-doc-utils")
527 (version "0.20.10")
528 (source
529 (origin
530 (method url-fetch)
b38e45d8
EB
531 (uri (string-append "mirror://gnome/sources/" name "/"
532 (version-major+minor version) "/"
995b7261
AE
533 name "-" version ".tar.xz"))
534 (sha256
535 (base32
536 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
537 (build-system gnu-build-system)
c4c4cc05 538 (native-inputs
995b7261 539 `(("intltool" ,intltool)
b4ce6300 540 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 541 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
542 ("libxml2" ,libxml2)
543 ("libxslt" ,libxslt)
544 ("pkg-config" ,pkg-config)
545 ("python-2" ,python-2)))
995b7261
AE
546 (home-page "https://wiki.gnome.org/GnomeDocUtils")
547 (synopsis
548 "Documentation utilities for the Gnome project")
549 (description
550 "Gnome-doc-utils is a collection of documentation utilities for the
551Gnome project. It includes xml2po tool which makes it easier to translate
552and keep up to date translations of documentation.")
1dd26275 553 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 554
6c4f7022
DC
555(define-public gnome-disk-utility
556 (package
557 (name "gnome-disk-utility")
0dd65d5a 558 (version "3.30.2")
6c4f7022
DC
559 (source (origin
560 (method url-fetch)
561 (uri (string-append "mirror://gnome/sources/" name "/"
562 (version-major+minor version) "/"
563 name "-" version ".tar.xz"))
564 (sha256
565 (base32
0dd65d5a 566 "1365fabz3q7n3bl775z82m1nzg18birxxyd7l2ssbbkqrx3h7wgi"))))
4b9a65bf 567 (build-system meson-build-system)
6c4f7022
DC
568 (native-inputs
569 `(("glib:bin" ,glib "bin")
4b9a65bf 570 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6c4f7022
DC
571 ("intltool" ,intltool)
572 ("pkg-config" ,pkg-config)
573 ("docbook-xml" ,docbook-xml)
574 ("docbook-xsl" ,docbook-xsl)
575 ("libxml2" ,libxml2)
576 ("libxslt" ,libxslt)))
577 (inputs
578 `(("glib" ,glib)
579 ("appstream-glib" ,appstream-glib)
580 ("gnome-settings-daemon" ,gnome-settings-daemon)
581 ("gtk+" ,gtk+)
582 ("libcanberra" ,libcanberra)
583 ("libdvdread" ,libdvdread)
584 ("libnotify" ,libnotify)
585 ("libpwquality" ,libpwquality)
586 ("libsecret" ,libsecret)
587 ("udisks" ,udisks)))
588 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
589 (synopsis "Disk management utility for GNOME")
590 (description "Disk management utility for GNOME.")
591 (license license:gpl2+)))
592
8ff49011
RW
593(define-public gcr
594 (package
595 (name "gcr")
0daf0efb 596 (version "3.28.0")
8ff49011 597 (source (origin
0daf0efb
RW
598 (method url-fetch)
599 (uri (string-append "mirror://gnome/sources/" name "/"
600 (version-major+minor version) "/"
601 name "-" version ".tar.xz"))
602 (sha256
603 (base32
604 "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m"))))
8ff49011
RW
605 (build-system gnu-build-system)
606 (arguments
0daf0efb
RW
607 '(#:phases
608 (modify-phases %standard-phases
609 ;; These fail because /var/lib/dbus/machine-id is not present in the
610 ;; build environment.
611 (add-after 'unpack 'disable-failing-tests
612 (lambda _
613 (substitute* "gcr/test-system-prompt.c"
614 (("g_test_add") "//")
615 (("return.*") "return 0;"))
616 #t))
617 (add-before 'check 'pre-check
618 (lambda _
619 ;; Some tests expect to write to $HOME.
620 (setenv "HOME" "/tmp")
621 #t)))))
8ff49011
RW
622 (inputs
623 `(("dbus" ,dbus)
0daf0efb 624 ("gnupg" ,gnupg) ;called as a child process during tests
8ff49011
RW
625 ("libgcrypt" ,libgcrypt)))
626 (native-inputs
0daf0efb 627 `(("python" ,python-2) ;for tests
8ff49011
RW
628 ("pkg-config" ,pkg-config)
629 ("glib" ,glib "bin")
2af4f5b0
SB
630 ("gobject-introspection" ,gobject-introspection)
631 ("intltool" ,intltool)
0daf0efb 632 ("libxml2" ,libxml2)
2af4f5b0 633 ("xsltproc" ,libxslt)))
8ff49011
RW
634 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
635 (propagated-inputs
636 `(("p11-kit" ,p11-kit)
637 ("glib" ,glib)
638 ("gtk+" ,gtk+)))
f032d0be 639 (home-page "https://www.gnome.org")
8ff49011
RW
640 (synopsis "Libraries for displaying certificates and accessing key stores")
641 (description
642 "The GCR package contains libraries used for displaying certificates and
643accessing key stores. It also provides the viewer for crypto files on the
644GNOME Desktop.")
645 (license license:lgpl2.1+)))
646
c1354b90
LC
647(define-public libgnome-keyring
648 (package
649 (name "libgnome-keyring")
5e8aec2c 650 (version "3.12.0")
c1354b90
LC
651 (source (origin
652 (method url-fetch)
b38e45d8
EB
653 (uri (string-append "mirror://gnome/sources/" name "/"
654 (version-major+minor version) "/"
655 name "-" version ".tar.xz"))
c1354b90
LC
656 (sha256
657 (base32
5e8aec2c 658 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 659 (build-system gnu-build-system)
c1354b90 660 (inputs
c4c4cc05 661 `(("libgcrypt" ,libgcrypt)
c1354b90 662 ("dbus" ,dbus)))
c4c4cc05
JD
663 (native-inputs
664 `(("pkg-config" ,pkg-config)
426adbe8 665 ("glib" ,glib "bin")
c4c4cc05 666 ("intltool" ,intltool)))
c1354b90
LC
667 (propagated-inputs
668 ;; Referred to in .h files and .pc.
669 `(("glib" ,glib)))
f032d0be 670 (home-page "https://www.gnome.org")
c1354b90
LC
671 (synopsis "Accessing passwords from the GNOME keyring")
672 (description
673 "Client library to access passwords from the GNOME keyring.")
674
675 ;; Though a couple of files are LGPLv2.1+.
1dd26275 676 (license license:lgpl2.0+)))
c1354b90 677
e99a3d6f
RW
678(define-public gnome-keyring
679 (package
680 (name "gnome-keyring")
ab35cc6e 681 (version "3.28.2")
e99a3d6f
RW
682 (source (origin
683 (method url-fetch)
684 (uri (string-append "mirror://gnome/sources/" name "/"
685 (version-major+minor version) "/"
686 name "-" version ".tar.xz"))
687 (sha256
688 (base32
ab35cc6e 689 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
e99a3d6f
RW
690 (build-system gnu-build-system)
691 (arguments
692 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
693 ;not exist
694 #:configure-flags
695 (list
696 (string-append "--with-pkcs11-config="
697 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
698 (string-append "--with-pkcs11-modules="
699 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
700 #:phases
701 (modify-phases %standard-phases
ab35cc6e
RW
702 (add-after 'unpack 'fix-/bin/sh-reference
703 (lambda _
704 (substitute* "po/Makefile.in.in"
705 (("/bin/sh") (which "sh")))
706 #t))
5120f24f
RW
707 (add-after 'unpack 'fix-docbook
708 (lambda* (#:key inputs #:allow-other-keys)
709 (substitute* "docs/Makefile.am"
710 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
711 (string-append (assoc-ref inputs "docbook-xsl")
712 "/xml/xsl/docbook-xsl-"
713 ,(package-version docbook-xsl)
714 "/manpages/docbook.xsl")))
715 (setenv "XML_CATALOG_FILES"
716 (string-append (assoc-ref inputs "docbook-xml")
717 "/xml/dtd/docbook/catalog.xml"))
718 ;; Rerun the whole thing to avoid version mismatch ("This is
719 ;; Automake 1.15.1, but the definition used by this
720 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
721 ;; use 'autoreconf' because it insists on running 'libtoolize'.
722 (invoke "autoconf")
723 (invoke "aclocal")
724 (invoke "automake" "-ac"))))))
e99a3d6f
RW
725 (inputs
726 `(("libgcrypt" ,libgcrypt)
1a0b2d82 727 ("linux-pam" ,linux-pam)
ab35cc6e 728 ("openssh" ,openssh)
e99a3d6f
RW
729 ("dbus" ,dbus)
730 ("gcr" ,gcr)))
731 (native-inputs
732 `(("pkg-config" ,pkg-config)
733 ("glib" ,glib "bin")
5120f24f 734 ("glib" ,glib) ; for m4 macros
e99a3d6f
RW
735 ("python" ,python-2) ;for tests
736 ("intltool" ,intltool)
737 ("autoconf" ,autoconf)
738 ("automake" ,automake)
739 ("libxslt" ,libxslt) ;for documentation
740 ("docbook-xml" ,docbook-xml-4.2)
741 ("docbook-xsl" ,docbook-xsl)))
f032d0be 742 (home-page "https://www.gnome.org")
e99a3d6f
RW
743 (synopsis "Daemon to store passwords and encryption keys")
744 (description
745 "gnome-keyring is a program that keeps passwords and other secrets for
746users. It is run as a daemon in the session, similar to ssh-agent, and other
747applications locate it via an environment variable or D-Bus.
748
749The program can manage several keyrings, each with its own master password,
750and there is also a session keyring which is never stored to disk, but
751forgotten when the session ends.")
752 (license license:lgpl2.1+)))
753
c1354b90
LC
754(define-public evince
755 (package
756 (name "evince")
2dfc16d1 757 (version "3.30.2")
c1354b90
LC
758 (source (origin
759 (method url-fetch)
b38e45d8
EB
760 (uri (string-append "mirror://gnome/sources/" name "/"
761 (version-major+minor version) "/"
762 name "-" version ".tar.xz"))
c1354b90
LC
763 (sha256
764 (base32
2dfc16d1 765 "0k7jln6dpg4bpv61niicjzkzyq6fhb3yfld7pc8ck71c8pmvsnx9"))))
121de2e1 766 (build-system glib-or-gtk-build-system)
c1354b90
LC
767 (arguments
768 `(#:configure-flags '("--disable-nautilus")
554b2dac
SB
769 #:phases
770 (modify-phases %standard-phases
771 (add-before 'install 'skip-gtk-update-icon-cache
772 ;; Don't create 'icon-theme.cache'.
773 (lambda _
774 (substitute* "data/Makefile"
775 (("gtk-update-icon-cache") "true"))
776 #t)))))
c1354b90 777 (inputs
9a096881
KK
778 `(("libarchive" ,libarchive)
779 ("libgxps" ,libgxps)
780 ("libspectre" ,libspectre)
c769cf9f 781 ("djvulibre" ,djvulibre)
c1354b90
LC
782 ("ghostscript" ,ghostscript)
783 ("poppler" ,poppler)
c769cf9f
SB
784 ("libtiff" ,libtiff)
785 ;; TODO:
c769cf9f
SB
786 ;; Build libkpathsea as a shared library for DVI support.
787 ;; ("libkpathsea" ,texlive-bin)
788 ("gnome-desktop" ,gnome-desktop)
c1354b90 789 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2dfc16d1 790 ("gspell" ,gspell)
c1354b90 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")
10ff872f 831 (version "3.28.1")
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
10ff872f 840 "0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq"))))
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")
412e5302 929 (version "3.30.1")
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
412e5302 937 "1kp1lis3dr16jmlgycz1b29jsr6ir8wmqj6laqwlhs663cmjlxbd"))))
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
f67417a1
MB
1322 (package
1323 (name "librsvg")
1324 (version "2.40.20")
1325 (source (origin
1326 (method url-fetch)
1327 (uri (string-append "mirror://gnome/sources/" name "/"
1328 (version-major+minor version) "/"
1329 name "-" version ".tar.xz"))
1330 (sha256
1331 (base32
1332 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1333 (build-system gnu-build-system)
1334 (arguments
1335 `(#:configure-flags
1336 (list "--disable-static"
1337 "--enable-vala") ; needed for e.g. gnome-mines
1338 #:phases
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))
1353 (add-before 'check 'remove-failing-tests
1354 (lambda _
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"
1359 ;; This test fails on armhf:
1360 "svg1.1/masking-mask-01-b.svg"
1361 ;; This test fails on aarch64:
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")
d19db454 1904 (version "2.18.8")
5698b8b8
JD
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
d19db454 1912 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
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")
36053d7f 1935 (version "2.18.6")
5698b8b8
JD
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
36053d7f 1943 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
5698b8b8
JD
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")
6cc6e3e5 2008 (version "3.30.0")
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 2015 (base32
6cc6e3e5 2016 "0f9lvhm3w25046dqq8xyg7nzggxpmdriwrb661nng05a8qk0svdc"))))
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")
0db6bafb 2216 (version "3.30")
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
0db6bafb 2225 "1sbj1czlx1fakm72dwgbn0bwm12j838yaky4mkf6hf8j8afnxmzp"))))
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")
91185fe8 2252 (version "0.42.3")
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
91185fe8 2260 "0zaq9009wqk5aah131m426a2ia0scwpjpl4npf8p7p43wv8kvisz"))))
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")
5f36c5eb 2299 (version "0.54.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
5f36c5eb 2307 "0d1q2nc7lic4zax6csy7xdxq8hxjsf7m7dq6a21s1w8s2fslhzaj"))))
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")
fd0557f8 2840 (version "3.30.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
fd0557f8 2849 "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x"))))
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")
f7a584f4 2871 (version "3.30.1.1")
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
f7a584f4 2880 "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z"))))
8c0fab36 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")
b3f95507 2909 (version "3.30.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
b3f95507 2918 "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f"))))
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")
1d7cb36e 2944 (version "3.30.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
1d7cb36e 2953 "0f2y76gs72sw5l5lkkkvxzsvvwm0sg83h7nl8lk5kz1v1rrc47vb"))))
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")
2fbe8cdb 3242 (version "3.30.1.2")
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
2fbe8cdb 3251 "079dh609rvpwfyzg4m898q8km9g7x04hg18rwwb1izj1dr7zdp2w"))))
e644f9fa 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"
4333 "gobject-introspection"))
4334 (path (string-join
4335 (map (lambda (lib)
4336 (string-append (assoc-ref inputs lib) "/lib"))
4337 libs)
4338 ":")))
4339 (wrap-program (string-append out "/bin/eolie")
4340 `("LD_LIBRARY_PATH" ":" prefix (,path))
4341 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4342 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4343 #t)))))
4344 (native-inputs
f85ca6ed 4345 `(("intltool" ,intltool)
ab466d79 4346 ("itstool" ,itstool)
d95f1041 4347 ("pkg-config" ,pkg-config)
d95f1041 4348 ("python" ,python)
00014781 4349 ("glib:bin" ,glib "bin")
d95f1041 4350 ("gtk+" ,gtk+ "bin")))
ab466d79
RW
4351 (inputs
4352 `(("gobject-introspection" ,gobject-introspection)
4353 ("glib-networking" ,glib-networking)
4354 ("cairo" ,cairo)
4355 ("gtk+" ,gtk+)
4356 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4357 ("python" ,python-wrapper)
d72f76df 4358 ("python-dateutil" ,python-dateutil)
00014781 4359 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
4360 ("python-pygobject" ,python-pygobject)
4361 ("python-pycairo" ,python-pycairo)
00014781 4362 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
4363 ("libsecret" ,libsecret)
4364 ("gtkspell3" ,gtkspell3)
4365 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 4366 ("webkitgtk" ,webkitgtk)))
166b2c97 4367 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
4368 (synopsis "Web browser for GNOME")
4369 (description
4370 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4371a secret password store, an adblocker, and a modern UI.")
4372 (license license:gpl3+)))
4373
7549f984
SB
4374(define-public epiphany
4375 (package
4376 (name "epiphany")
0e4d4d98 4377 (version "3.28.3.1")
7549f984
SB
4378 (source (origin
4379 (method url-fetch)
dd3266ec 4380 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 4381 (version-major+minor version) "/"
dd3266ec 4382 "epiphany-" version ".tar.xz"))
7549f984
SB
4383 (sha256
4384 (base32
0e4d4d98 4385 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
fc5c5b92
R
4386
4387 (build-system meson-build-system)
7549f984
SB
4388 (arguments
4389 ;; FIXME: tests run under Xvfb, but fail with:
4390 ;; /src/bookmarks/ephy-bookmarks/create:
4391 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4392 ;; subsystem
4393 ;; FAIL
6f48d9db 4394 '(#:tests? #f
e19f9c24
LF
4395 #:glib-or-gtk? #t
4396 #:configure-flags
4397 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4398 (list (string-append "-Dc_link_args=-Wl,-rpath="
4399 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
4400 (propagated-inputs
4401 `(("dconf" ,dconf)))
7549f984 4402 (native-inputs
fc5c5b92
R
4403 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4404 ("glib:bin" ,glib "bin") ; for glib-mkenums
4405 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4406 ("intltool" ,intltool)
7549f984 4407 ("itstool" ,itstool)
bcb354ad
SB
4408 ("pkg-config" ,pkg-config)
4409 ("xmllint" ,libxml2)))
7549f984
SB
4410 (inputs
4411 `(("avahi" ,avahi)
4412 ("gcr" ,gcr)
fc5c5b92 4413 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
4414 ("glib-networking" ,glib-networking)
4415 ("gnome-desktop" ,gnome-desktop)
4416 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 4417 ("json-glib" ,json-glib)
7549f984
SB
4418 ("iso-codes" ,iso-codes)
4419 ("libnotify" ,libnotify)
4420 ("libsecret" ,libsecret)
7549f984 4421 ("libxslt" ,libxslt)
fc5c5b92 4422 ("nettle" ,nettle) ; for hogweed
7549f984 4423 ("sqlite" ,sqlite)
f85ca6ed 4424 ("webkitgtk" ,webkitgtk)))
7549f984
SB
4425 (home-page "https://wiki.gnome.org/Apps/Web")
4426 (synopsis "GNOME web browser")
4427 (description
4428 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4429principles are simplicity and standards compliance.")
4430 (license license:gpl2+)))
a3856b2c
SB
4431
4432(define-public d-feet
4433 (package
4434 (name "d-feet")
458e9221 4435 (version "0.3.14")
a3856b2c
SB
4436 (source (origin
4437 (method url-fetch)
4438 (uri (string-append "mirror://gnome/sources/" name "/"
4439 (version-major+minor version) "/"
4440 name "-" version ".tar.xz"))
4441 (sha256
4442 (base32
458e9221 4443 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
4444 (build-system glib-or-gtk-build-system)
4445 (arguments
4446 '(#:out-of-source? #f ; tests need to run in the source directory.
4447 #:phases
4448 (modify-phases %standard-phases
4449 (add-before
4450 'check 'pre-check
86aff791 4451 (lambda _
a3856b2c
SB
4452 ;; The test suite requires a running X server.
4453 (system "Xvfb :1 &")
4454 (setenv "DISPLAY" ":1")
4455 ;; Don't fail on missing '/etc/machine-id'.
4456 (setenv "DBUS_FATAL_WARNINGS" "0")
4457 ;; tests.py and window.py don't meet E402:
4458 ;; E402 module level import not at top of file
4459 (substitute* "src/tests/Makefile"
86aff791
MW
4460 (("--ignore=E123") "--ignore=E123,E402"))
4461 #t))
a3856b2c
SB
4462 (add-after
4463 'install 'wrap-program
4464 (lambda* (#:key outputs #:allow-other-keys)
4465 (let ((prog (string-append (assoc-ref outputs "out")
4466 "/bin/d-feet")))
4467 (wrap-program prog
4468 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
4469 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4470 #t))))))
a3856b2c
SB
4471 (native-inputs
4472 `(("intltool" ,intltool)
4473 ("itstool" ,itstool)
4474 ("pkg-config" ,pkg-config)
4475 ("python-pep8" ,python-pep8)
4476 ("xmllint" ,libxml2)
4477 ("xorg-server" ,xorg-server)))
4478 (inputs
4479 `(("gobject-introspection" ,gobject-introspection)
4480 ("gtk+" ,gtk+)
4481 ("python" ,python-wrapper)
458e9221 4482 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
4483 ("python-pygobject" ,python-pygobject)))
4484 (home-page "https://wiki.gnome.org/Apps/DFeet")
4485 (synopsis "D-Bus debugger")
4486 (description
4487 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4488of running programs and invoke methods on those interfaces.")
4489 (license license:gpl2+)))
c3b97bd9
SB
4490
4491(define-public yelp-xsl
4492 (package
4493 (name "yelp-xsl")
7c213900 4494 (version "3.28.0")
c3b97bd9
SB
4495 (source (origin
4496 (method url-fetch)
4497 (uri (string-append "mirror://gnome/sources/" name "/"
4498 (version-major+minor version) "/"
4499 name "-" version ".tar.xz"))
4500 (sha256
4501 (base32
7c213900 4502 "14rznm1qpsnmkwksnkd5j7zplakl01kvrcw0fdmd5gdc65xz9kcc"))))
c3b97bd9
SB
4503 (build-system gnu-build-system)
4504 (native-inputs
4505 `(("intltool" ,intltool)
4506 ("itstool" ,itstool)
4507 ("xmllint" ,libxml2)))
4508 (home-page "https://wiki.gnome.org/Apps/Yelp")
4509 (synopsis "XSL stylesheets for Yelp")
4510 (description
4511 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4512to format Docbook and Mallard documents.")
4513 (license license:gpl2+)))
de3d612a
SB
4514
4515(define-public yelp
4516 (package
4517 (name "yelp")
ef7f084f 4518 (version "3.28.1")
de3d612a
SB
4519 (source (origin
4520 (method url-fetch)
4521 (uri (string-append "mirror://gnome/sources/" name "/"
4522 (version-major+minor version) "/"
4523 name "-" version ".tar.xz"))
4524 (sha256
4525 (base32
ef7f084f 4526 "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8"))))
de3d612a
SB
4527 (build-system glib-or-gtk-build-system)
4528 (native-inputs
4529 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4530 ("intltool" ,intltool)
4531 ("itstool" ,itstool)
4532 ("pkg-config" ,pkg-config)))
4533 (propagated-inputs
4534 `(("dconf" ,dconf)))
4535 (inputs
ad1b7d8b
SB
4536 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4537 ("libxslt" ,libxslt)
de3d612a 4538 ("sqlite" ,sqlite)
4c28ca1d
SB
4539 ("webkitgtk" ,webkitgtk)
4540 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
4541 (home-page "https://wiki.gnome.org/Apps/Yelp")
4542 (synopsis "GNOME help browser")
4543 (description
4544 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4545man, info, and HTML documents. It can locate documents according to the
4546freedesktop.org help system specification.")
4547 (license license:gpl2+)))
122d0d10
SB
4548
4549(define-public yelp-tools
4550 (package
4551 (name "yelp-tools")
2089bca5 4552 (version "3.28.0")
122d0d10
SB
4553 (source (origin
4554 (method url-fetch)
4555 (uri (string-append "mirror://gnome/sources/" name "/"
4556 (version-major+minor version) "/"
4557 name "-" version ".tar.xz"))
4558 (sha256
4559 (base32
2089bca5 4560 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
4561 (build-system gnu-build-system)
4562 (native-inputs
4563 `(("pkg-config" ,pkg-config)))
4564 (propagated-inputs
4565 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4566 `(("itstool" ,itstool)
4567 ("xmllint" ,libxml2)
4568 ("xsltproc" ,libxslt)))
4569 (inputs
4570 `(("yelp-xsl" ,yelp-xsl)))
4571 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4572 (synopsis "Yelp documentation tools")
4573 (description
4574 "Yelp-tools is a collection of scripts and build utilities to help create,
4575manage, and publish documentation for Yelp and the web. Most of the heavy
4576lifting is done by packages like yelp-xsl and itstool. This package just
4577wraps things up in a developer-friendly way.")
4578 (license license:gpl2+)))
af8f9f23
RW
4579
4580(define-public libgee
4581 (package
4582 (name "libgee")
b1be07cf 4583 (version "0.20.1")
af8f9f23
RW
4584 (source (origin
4585 (method url-fetch)
4586 (uri (string-append "mirror://gnome/sources/" name "/"
4587 (version-major+minor version) "/"
4588 name "-" version ".tar.xz"))
4589 (sha256
4590 (base32
b1be07cf 4591 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
af8f9f23
RW
4592 (build-system gnu-build-system)
4593 (arguments
4594 `(#:phases
4595 (modify-phases %standard-phases
4596 (add-after 'unpack 'fix-introspection-install-dir
4597 (lambda* (#:key outputs #:allow-other-keys)
4598 (let ((out (assoc-ref outputs "out")))
4599 (substitute* "gee/Makefile.in"
4600 (("@INTROSPECTION_GIRDIR@")
4601 (string-append out "/share/gir-1.0/"))
4602 (("@INTROSPECTION_TYPELIBDIR@")
4603 (string-append out "/lib/girepository-1.0/")))))))))
4604 (native-inputs
4605 `(("glib" ,glib "bin")
4606 ("pkg-config" ,pkg-config)))
4607 (inputs
4608 `(("glib" ,glib)
4609 ("gobject-introspection" ,gobject-introspection)))
4610 (home-page "https://wiki.gnome.org/Projects/Libgee")
4611 (synopsis "GObject collection library")
4612 (description
4613 "Libgee is a utility library providing GObject-based interfaces and
4614classes for commonly used data structures.")
4615 (license license:lgpl2.1+)))
b0f9c4b8
RW
4616
4617(define-public gexiv2
4618 (package
4619 (name "gexiv2")
adf0b482 4620 (version "0.10.10")
b0f9c4b8
RW
4621 (source (origin
4622 (method url-fetch)
4623 (uri (string-append "mirror://gnome/sources/" name "/"
4624 (version-major+minor version) "/"
4625 name "-" version ".tar.xz"))
4626 (sha256
4627 (base32
adf0b482 4628 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
51c482e4 4629 (build-system meson-build-system)
094aaa1a
LC
4630 (arguments
4631 ;; On 32-bit platforms, the test fails with a rounding error:
4632 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=775249>. Just skip it for
4633 ;; now.
4634 (if (and (not (%current-target-system))
4635 (member (%current-system) '("i686-linux" "armhf-linux")))
4636 '(#:tests? #f)
4637 '()))
b0f9c4b8
RW
4638 (native-inputs
4639 `(("glib" ,glib "bin")
4640 ("pkg-config" ,pkg-config)))
4641 (propagated-inputs
4642 ;; Listed in "Requires" section of gexiv2.pc
4643 `(("exiv2" ,exiv2)))
4644 (inputs
4645 `(("glib" ,glib)
4646 ("gobject-introspection" ,gobject-introspection)))
4647 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4648 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4649 (description
4650 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4651allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4652metadata in photo and video files of various formats.")
4653 (license license:gpl2+)))
fed5a689
RW
4654
4655(define-public shotwell
4656 (package
4657 (name "shotwell")
e266043e 4658 (version "0.28.4")
fed5a689
RW
4659 (source (origin
4660 (method url-fetch)
4661 (uri (string-append "mirror://gnome/sources/" name "/"
4662 (version-major+minor version) "/"
4663 name "-" version ".tar.xz"))
4664 (sha256
4665 (base32
e266043e 4666 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
fed5a689 4667 (build-system glib-or-gtk-build-system)
735b8db6
TGR
4668 (propagated-inputs
4669 `(("dconf" ,dconf)))
fed5a689
RW
4670 (native-inputs
4671 `(("pkg-config" ,pkg-config)
f819c21d 4672 ("itstool" ,itstool)
b94a6ca0 4673 ("gettext" ,gettext-minimal)
77e9c993 4674 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
735b8db6
TGR
4675 ("itstool" ,itstool)
4676 ("vala" ,vala)))
fed5a689 4677 (inputs
735b8db6
TGR
4678 `(("glib:bin" ,glib "bin")
4679 ("gstreamer" ,gstreamer)
fed5a689 4680 ("gst-plugins-base" ,gst-plugins-base)
dfb0323d 4681 ("libgdata" ,libgdata)
fed5a689
RW
4682 ("libgee" ,libgee)
4683 ("gexiv2" ,gexiv2)
4684 ("libraw" ,libraw)
4685 ("json-glib" ,json-glib)
7108425c 4686 ("webkitgtk" ,webkitgtk)
fed5a689
RW
4687 ("sqlite" ,sqlite)
4688 ("libsoup" ,libsoup)
4689 ("libxml2" ,libxml2)
fed5a689 4690 ("libgudev" ,libgudev)
522fc32e
LF
4691 ("libgphoto2" ,libgphoto2)
4692 ("gcr" ,gcr)))
fed5a689
RW
4693 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4694 (synopsis "Photo manager for GNOME 3")
4695 (description
4696 "Shotwell is a digital photo manager designed for the GNOME desktop
4697environment. It allows you to import photos from disk or camera, organize
4698them by keywords and events, view them in full-window or fullscreen mode, and
4699share them with others via social networking and more.")
4700 (license license:lgpl2.1+)))
293ff8b2
DT
4701
4702(define-public file-roller
4703 (package
4704 (name "file-roller")
0a500745 4705 (version "3.28.0")
293ff8b2
DT
4706 (source (origin
4707 (method url-fetch)
4708 (uri (string-append "mirror://gnome/sources/" name "/"
4709 (version-major+minor version) "/"
4710 name "-" version ".tar.xz"))
4711 (sha256
4712 (base32
0a500745
RW
4713 "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1"))))
4714 (build-system meson-build-system)
293ff8b2 4715 (native-inputs
0a500745
RW
4716 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4717 ("intltool" ,intltool)
4718 ("pkg-config" ,pkg-config)
4719 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4720 ("glib:bin" ,glib "bin")))
293ff8b2
DT
4721 ;; TODO: Add libnautilus.
4722 (inputs
4723 `(("gtk+" ,gtk+)
4724 ("gdk-pixbuf" ,gdk-pixbuf)
4725 ("json-glib" ,json-glib)
4726 ("libarchive" ,libarchive)
4727 ("libnotify" ,libnotify)
4728 ("nettle" ,nettle)
4729 ("itstool" ,itstool)
4730 ("libxml2" ,libxml2)))
4731 (synopsis "Graphical archive manager for GNOME")
4732 (description "File Roller is an archive manager for the GNOME desktop
4733environment that allows users to view, unpack, and create compressed archives
4734such as gzip tarballs.")
4735 (home-page "http://fileroller.sourceforge.net/")
4736 (license license:gpl2+)))
7ce49365
SB
4737
4738(define-public gnome-session
4739 (package
4740 (name "gnome-session")
df278071 4741 (version "3.28.1")
7ce49365
SB
4742 (source (origin
4743 (method url-fetch)
4744 (uri (string-append "mirror://gnome/sources/" name "/"
4745 (version-major+minor version) "/"
4746 name "-" version ".tar.xz"))
4747 (sha256
4748 (base32
df278071 4749 "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq"))))
2914af3c 4750 (arguments
df278071
RW
4751 '(#:glib-or-gtk? #t
4752 #:phases
2914af3c
AW
4753 (modify-phases %standard-phases
4754 (add-before 'configure 'pre-configure
4755 (lambda* (#:key outputs #:allow-other-keys)
4756 ;; Use elogind instead of systemd.
df278071
RW
4757 (substitute* "meson.build"
4758 (("libsystemd-login") "libelogind")
4759 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
4760 (substitute* "gnome-session/gsm-systemd.c"
4761 (("#include <systemd/sd-login.h>")
4762 "#include <elogind/sd-login.h>"))
df278071 4763 ;; Remove uses of the systemd daemon.
803ab416
SB
4764 (substitute* "gnome-session/gsm-autostart-app.c"
4765 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
4766 #t))
4767 (add-after 'install 'wrap-gnome-session
4768 (lambda* (#:key inputs outputs #:allow-other-keys)
4769 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4770 (let ((glib (assoc-ref inputs "glib:bin"))
4771 (out (assoc-ref outputs "out")))
4772 (wrap-program (string-append out "/bin/gnome-session")
4773 `("PATH" ":" prefix (,(string-append glib "/bin"))))
1d7bff4b
TS
4774 #t)))
4775 (add-after 'install 'add-absolute-paths-to-desktop-files
4776 (lambda* (#:key outputs #:allow-other-keys)
4777 (let* ((out (assoc-ref outputs "out")))
4778 (substitute* (map (lambda (x)
4779 (string-append out "/share/xsessions/" x))
4780 '("gnome.desktop" "gnome-xorg.desktop"))
4781 (("gnome-session") (string-append out "/bin/gnome-session")))
a0d7baaf 4782 #t))))
6cbc8d57 4783
2914af3c 4784 #:configure-flags
df278071
RW
4785 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4786 "-Dman=false" ; FIXME: disabled because of docbook validation error
4787 "-Dsystemd_journal=false")))
4788 (build-system meson-build-system)
7ce49365
SB
4789 (native-inputs
4790 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4791 ("pkg-config" ,pkg-config)
4792 ("intltool" ,intltool)
df278071
RW
4793 ("xsltproc" ,libxslt)
4794 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4795 ("docbook-xsl" ,docbook-xsl)
4796 ("docbook-xml" ,docbook-xml)
4797 ("xmlto" ,xmlto)))
7ce49365 4798 (inputs
2914af3c
AW
4799 `(("elogind" ,elogind)
4800 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 4801 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
4802 ("gtk+" ,gtk+)
4803 ("json-glib" ,json-glib)
4804 ("libsm" ,libsm)
4805 ("libxcomposite" ,libxcomposite)
4806 ("libxtst" ,libxtst)
4807 ("mesa" ,mesa)
4808 ("upower" ,upower)
4809 ("xtrans" ,xtrans)))
4810 (synopsis "Session manager for GNOME")
4811 (description
4812 "This package contains the GNOME session manager, as well as a
4813configuration program to choose applications starting on login.")
4814 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4815 (license license:gpl2+)))
f47ba77e
SB
4816
4817(define-public gjs
4818 (package
4819 (name "gjs")
72717817 4820 (version "1.52.3")
f47ba77e
SB
4821 (source (origin
4822 (method url-fetch)
4823 (uri (string-append "mirror://gnome/sources/" name "/"
4824 (version-major+minor version) "/"
4825 name "-" version ".tar.xz"))
4826 (sha256
4827 (base32
72717817 4828 "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff"))))
f47ba77e
SB
4829 (build-system gnu-build-system)
4830 (arguments
4831 '(#:phases
4832 (modify-phases %standard-phases
4833 (add-before
4834 'check 'pre-check
4835 (lambda _
fc119619
MW
4836 ;; The test suite requires a running X server.
4837 (system "Xvfb :1 &")
4838 (setenv "DISPLAY" ":1")
4839
f47ba77e
SB
4840 ;; For the missing /etc/machine-id.
4841 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 4842
144f94d0
KK
4843 ;; Our mozjs-38 package does not compile the required Intl API
4844 ;; support for these failing tests.
4845 (substitute* "installed-tests/js/testLocale.js"
4846 ((".*toBeDefined.*") "")
4847 ((".*expect\\(datestr\\).*") ""))
f47ba77e
SB
4848 #t)))))
4849 (native-inputs
8a831c6f 4850 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
4851 ("pkg-config" ,pkg-config)
4852 ("xmllint" ,libxml2)
4853 ;; For testing
4854 ("dbus-launch" ,dbus)
4855 ("uuidgen" ,util-linux)
ebebee94 4856 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
4857 (propagated-inputs
4858 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
4859 `(("cairo" ,cairo)
4860 ("gobject-introspection" ,gobject-introspection)
72717817 4861 ("mozjs" ,mozjs-52)))
f47ba77e
SB
4862 (inputs
4863 `(("gtk+" ,gtk+)
4864 ("readline" ,readline)))
4865 (synopsis "Javascript bindings for GNOME")
f032d0be 4866 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
4867 (description
4868 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4869javascript engine and the GObject introspection framework.")
4870 (license license:gpl2+)))
329d731b
DH
4871
4872(define-public gedit
4873 (package
4874 (name "gedit")
6a29c8d3 4875 (version "3.28.1")
329d731b
DH
4876 (source (origin
4877 (method url-fetch)
4878 (uri (string-append "mirror://gnome/sources/" name "/"
4879 (version-major+minor version) "/"
4880 name "-" version ".tar.xz"))
4881 (sha256
4882 (base32
6a29c8d3 4883 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
329d731b
DH
4884 (build-system glib-or-gtk-build-system)
4885 (arguments
0d2df50c 4886 `(#:phases
329d731b
DH
4887 (modify-phases %standard-phases
4888 (add-after
4889 'install 'wrap-gedit
4890 (lambda* (#:key inputs outputs #:allow-other-keys)
4891 (let ((out (assoc-ref outputs "out"))
4892 (gtksourceview (assoc-ref inputs "gtksourceview"))
afc25242
SB
4893 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4894 (python-path (getenv "PYTHONPATH")))
329d731b 4895 (wrap-program (string-append out "/bin/gedit")
afc25242 4896 ;; For plugins.
329d731b 4897 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
afc25242 4898 `("PYTHONPATH" ":" prefix (,python-path))
329d731b
DH
4899 ;; For language-specs.
4900 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4901 "/share")))))
4902 #t)))))
4903 (propagated-inputs
4904 `(("dconf" ,dconf)))
4905 (native-inputs
4906 `(("intltool" ,intltool)
b3546174 4907 ("itstool" ,itstool)
329d731b
DH
4908 ("gobject-introspection" ,gobject-introspection)
4909 ("pkg-config" ,pkg-config)))
4910 (inputs
4911 `(("glib" ,glib)
0d2df50c 4912 ("gspell" ,gspell)
329d731b 4913 ("gtk+" ,gtk+)
b54c2289 4914 ("gtksourceview" ,gtksourceview-3)
329d731b
DH
4915 ("libpeas" ,libpeas)
4916 ("libxml2" ,libxml2)
329d731b
DH
4917 ("iso-codes" ,iso-codes)
4918 ("python-pygobject" ,python-pygobject)
4919 ("python" ,python)
4920 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4921 ("libx11" ,libx11)
4922 ("vala" ,vala)
4923 ("adwaita-icon-theme" ,adwaita-icon-theme)
4924 ("libsoup" ,libsoup)
4925 ("gnome-desktop" ,gnome-desktop)))
4926 (home-page "https://wiki.gnome.org/Apps/Gedit")
4927 (synopsis "GNOME text editor")
4928 (description "While aiming at simplicity and ease of use, gedit is a
4929powerful general purpose text editor.")
4930 (license license:gpl2+)))
b7179363
SB
4931
4932(define-public zenity
4933 (package
4934 (name "zenity")
f8e2b577 4935 (version "3.28.1")
b7179363
SB
4936 (source (origin
4937 (method url-fetch)
4938 (uri (string-append "mirror://gnome/sources/" name "/"
4939 (version-major+minor version) "/"
4940 name "-" version ".tar.xz"))
4941 (sha256
4942 (base32
f8e2b577 4943 "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv"))))
b7179363
SB
4944 (build-system gnu-build-system)
4945 (native-inputs
b94a6ca0 4946 `(("gettext" ,gettext-minimal)
b7179363
SB
4947 ("itstool" ,itstool)
4948 ("pkg-config" ,pkg-config)))
4949 (inputs
4950 `(("libnotify" ,libnotify)
4951 ("webkitgtk" ,webkitgtk)))
4952 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 4953 (home-page "https://www.gnome.org")
b7179363
SB
4954 (description
4955 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4956to display dialog boxes from the commandline and shell scripts.")
4957 (license license:lgpl2.0+)))
60c3627c
SB
4958
4959(define-public mutter
4960 (package
4961 (name "mutter")
5055d385 4962 (version "3.28.2")
60c3627c 4963 (source (origin
86c44e72
KK
4964 (method url-fetch)
4965 (uri (string-append "mirror://gnome/sources/" name "/"
4966 (version-major+minor version) "/"
4967 name "-" version ".tar.xz"))
60c3627c
SB
4968 (sha256
4969 (base32
5055d385 4970 "0ighs1zvlssgq16v1h3vg280za7y448snq65gc5m1zmqqawqkymg"))))
86c44e72
KK
4971 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4972 ;; versions of cogl and clutter. As a result, many of the inputs,
4973 ;; propagated-inputs, and configure flags used in cogl and clutter are
4974 ;; needed here as well.
60c3627c
SB
4975 (build-system gnu-build-system)
4976 (arguments
4977 '(#:configure-flags
4978 ;; XXX: build fails with [-Werror]:
4979 ;; backends/meta-cursor-renderer.c:112:5: error:
4980 ;; implicit declaration of function ?roundf?
a88d5a0c
MW
4981 (list "--enable-compile-warnings=minimum"
4982
86c44e72 4983 "--enable-native-backend"
a88d5a0c
MW
4984
4985 ;; The following flags are needed for the bundled clutter
4986 "--enable-x11-backend=yes"
4987
d633f2f6
RH
4988 (string-append "--with-xwayland-path="
4989 (assoc-ref %build-inputs "xorg-server-xwayland")
4990 "/bin/Xwayland")
4991
a88d5a0c
MW
4992 ;; the remaining flags are needed for the bundled cogl
4993 "--enable-cogl-gst"
4994 (string-append "--with-gl-libname="
4995 (assoc-ref %build-inputs "mesa")
f23052a6
DC
4996 "/lib/libGL.so"))
4997 #:phases
4998 (modify-phases %standard-phases
86c44e72
KK
4999 ;; Replace references to systemd libraries to elogind references.
5000 (add-before 'configure 'use-elogind
5001 (lambda _
5002 (substitute* (list "configure"
5003 "src/backends/native/meta-launcher.c"
5004 "src/core/main.c")
5005 (("systemd") "elogind"))
5006 #t)))))
60c3627c
SB
5007 (native-inputs
5008 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5009 ("gobject-introspection" ,gobject-introspection)
5010 ("intltool" ,intltool)
f23052a6
DC
5011 ("pkg-config" ,pkg-config)
5012 ;; For git build
5013 ("autoconf" ,autoconf)
5014 ("automake" ,automake)
5015 ("libtool" ,libtool)))
60c3627c 5016 (propagated-inputs
a88d5a0c
MW
5017 `(;; libmutter.pc refers to these:
5018 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5019 ("gtk+" ,gtk+)
5020 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5021 ("atk" ,atk)
5022 ("cairo" ,cairo)
5023 ("gdk-pixbuf" ,gdk-pixbuf)
5024 ("glib" ,glib)
60c3627c 5025 ("gtk+" ,gtk+)
a88d5a0c
MW
5026 ("json-glib" ,json-glib)
5027 ("libinput" ,libinput)
5028 ("libx11" ,libx11)
5029 ("libxcomposite" ,libxcomposite)
5030 ("libxdamage" ,libxdamage)
5031 ("libxext" ,libxext)
5032 ("libxfixes" ,libxfixes)
5033 ("libxkbcommon" ,libxkbcommon)
5034 ("libxrandr" ,libxrandr)
5035 ("mesa" ,mesa)
5036 ("pango" ,pango)
5037 ("udev" ,eudev)
a88d5a0c 5038 ("xinput" ,xinput)))
60c3627c 5039 (inputs
86c44e72
KK
5040 `(("elogind" ,elogind)
5041 ("gnome-desktop" ,gnome-desktop)
60c3627c 5042 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 5043 ("libgudev" ,libgudev)
60c3627c
SB
5044 ("libice" ,libice)
5045 ("libsm" ,libsm)
60c3627c 5046 ("libxkbfile" ,libxkbfile)
a88d5a0c 5047 ("libxrandr" ,libxrandr)
86c44e72 5048 ("libxtst" ,libxtst)
60c3627c
SB
5049 ("startup-notification" ,startup-notification)
5050 ("upower-glib" ,upower)
5051 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 5052 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
5053 ("zenity" ,zenity)))
5054 (synopsis "Window and compositing manager")
f032d0be 5055 (home-page "https://www.gnome.org")
60c3627c
SB
5056 (description
5057 "Mutter is a window and compositing manager that displays and manages your
5058desktop via OpenGL. Mutter combines a sophisticated display engine using the
5059Clutter toolkit with solid window-management logic inherited from the Metacity
5060window manager.")
86c44e72 5061 (license license:gpl2+)))
685cee87
SB
5062
5063(define-public gnome-online-accounts
5064 (package
5065 (name "gnome-online-accounts")
fc984c85 5066 (version "3.28.0")
685cee87
SB
5067 (source (origin
5068 (method url-fetch)
5069 (uri (string-append "mirror://gnome/sources/" name "/"
5070 (version-major+minor version) "/"
5071 name "-" version ".tar.xz"))
5072 (sha256
5073 (base32
fc984c85 5074 "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47"))))
14c297fd 5075 (outputs '("out" "lib"))
685cee87 5076 (build-system glib-or-gtk-build-system)
14c297fd
TS
5077 (arguments
5078 `(#:configure-flags
5079 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5080 #:phases
5081 (modify-phases %standard-phases
5082 (add-before 'configure 'patch-libgoa-output
5083 (lambda* (#:key outputs #:allow-other-keys)
5084 (let ((lib (assoc-ref outputs "lib")))
5085 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5086 (("@prefix@") lib)
5087 (("@exec_prefix@") lib)
5088 (("@libdir@") (string-append lib "/lib"))
5089 (("@includedir@") (string-append lib "/include"))
5090 (("@datadir@") (string-append lib "/share")))
5091 #t))))))
685cee87
SB
5092 (native-inputs
5093 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5094 ("gobject-introspection" ,gobject-introspection)
5095 ("intltool" ,intltool)
5096 ("pkg-config" ,pkg-config)
5097 ("xsltproc" ,libxslt)))
5098 (propagated-inputs
5099 `(("glib" ,glib) ; required by goa-1.0.pc
5100 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5101 (inputs
5102 `(("docbook-xsl" ,docbook-xsl)
5103 ("json-glib" ,json-glib)
5104 ("libsecret" ,libsecret)
5105 ("rest" ,rest)
685cee87
SB
5106 ("webkitgtk" ,webkitgtk)))
5107 (synopsis "Single sign-on framework for GNOME")
5108 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5109 (description
5110 "GNOME Online Accounts provides interfaces so that applications and
5111libraries in GNOME can access the user's online accounts. It has providers for
5112Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5113Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5114 (license license:lgpl2.0+)))
df217748
SB
5115
5116(define-public evolution-data-server
5117 (package
5118 (name "evolution-data-server")
bb10e7c8 5119 (version "3.28.3")
df217748
SB
5120 (source (origin
5121 (method url-fetch)
5122 (uri (string-append "mirror://gnome/sources/" name "/"
5123 (version-major+minor version) "/"
5124 name "-" version ".tar.xz"))
5125 (sha256
5126 (base32
bb10e7c8 5127 "11sq795115vrcgxl9svscm6wg8isjj784c3d84qzb6z47zq92zj3"))))
da43d1cb 5128 (outputs '("out" "libedataserverui"))
743aebd7 5129 (build-system cmake-build-system)
df217748 5130 (arguments
743aebd7 5131 '(;; XXX FIXME: 11/85 tests are failing.
df217748
SB
5132 #:tests? #f
5133 #:configure-flags
ac033c7b
MB
5134 (let* ((lib (string-append (assoc-ref %outputs "out")
5135 "/lib"))
5136 (runpaths (map (lambda (s) (string-append
5137 lib "/evolution-data-server/" s))
5138 '("addressbook-backends" "calendar-backends"
5139 "camel-providers" "credential-modules"
5140 "registry-modules"))))
5141 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5142 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5143 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5144 "-DENABLE_VALA_BINDINGS=ON"
5145 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
c97f2f70
MW
5146 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5147 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5148 ;; evolution-data-server has been updated to qualify ICU types
5149 ;; explicitly, as required by ICU 61 and later. See:
5150 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5151 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
ac033c7b
MB
5152 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5153 (string-append lib "/evolution-data-server;")
5154 (string-join runpaths ";"))
5155 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
5156 #:phases
5157 (modify-phases %standard-phases
743aebd7 5158 (add-after 'unpack 'patch-paths
df217748
SB
5159 (lambda _
5160 (substitute* "tests/test-server-utils/e-test-server-utils.c"
5161 (("/bin/rm") (which "rm")))
ac033c7b
MB
5162 #t))
5163 (add-before 'configure 'dont-override-rpath
5164 (lambda _
5165 (substitute* "CMakeLists.txt"
5166 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5167 ;; Remove it so the configure flag is respected.
5168 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
da43d1cb 5169 #t))
da43d1cb
TS
5170 (add-after 'install 'split
5171 (lambda* (#:key outputs #:allow-other-keys)
5172 (let ((out (assoc-ref outputs "out"))
5173 (libedsui (assoc-ref outputs "libedataserverui")))
5174 (for-each (lambda (file)
5175 (mkdir-p (dirname (string-append libedsui file)))
5176 (rename-file (string-append out file)
5177 (string-append libedsui file)))
5178 '("/lib/pkgconfig/libedataserverui-1.2.pc"
5179 "/lib/libedataserverui-1.2.so"
5180 "/lib/libedataserverui-1.2.so.2"
5181 "/lib/libedataserverui-1.2.so.2.0.0"
5182 "/lib/girepository-1.0/EDataServerUI-1.2.typelib"
5183 "/include/evolution-data-server/libedataserverui"
5184 "/share/gir-1.0/EDataServerUI-1.2.gir"
5185 "/share/vala/vapi/libedataserverui-1.2.vapi"
5186 "/share/vala/vapi/libedataserverui-1.2.deps"))
5187 (substitute* (string-append libedsui "/lib/pkgconfig/"
5188 "libedataserverui-1.2.pc")
5189 ((out) libedsui))
5190 #t))))))
df217748
SB
5191 (native-inputs
5192 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5193 ("gobject-introspection" ,gobject-introspection)
5194 ("gperf" ,gperf)
5195 ("intltool" ,intltool)
5196 ("pkg-config" ,pkg-config)
a73c1cf8 5197 ("vala" ,vala)
743aebd7 5198 ("python" ,python-wrapper)))
df217748
SB
5199 (propagated-inputs
5200 ;; These are all in the Requires field of .pc files.
5201 `(("gtk+" ,gtk+)
5202 ("libical" ,libical)
5203 ("libsecret" ,libsecret)
5204 ("libsoup" ,libsoup)
5205 ("nss" ,nss)
5206 ("sqlite" ,sqlite)))
5207 (inputs
5208 `(("bdb" ,bdb)
5209 ("gcr" ,gcr)
14c297fd 5210 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 5211 ("json-glib" ,json-glib)
743aebd7
MB
5212 ("libgweather" ,libgweather)
5213 ("mit-krb5" ,mit-krb5)
891199c6
MW
5214 ("openldap" ,openldap)
5215 ("webkitgtk" ,webkitgtk)))
df217748
SB
5216 (synopsis "Store address books and calendars")
5217 (home-page "https://wiki.gnome.org/Apps/Evolution")
5218 (description
5219 "This package provides a unified backend for programs that work with
5220contacts, tasks, and calendar information. It was originally developed for
5221Evolution (hence the name), but is now used by other packages as well.")
5222 (license license:lgpl2.0)))
bd7dfafa
SB
5223
5224(define-public caribou
5225 (package
5226 (name "caribou")
fe964bb5 5227 (version "0.4.21")
bd7dfafa
SB
5228 (source (origin
5229 (method url-fetch)
5230 (uri (string-append "mirror://gnome/sources/" name "/"
5231 (version-major+minor version) "/"
5232 name "-" version ".tar.xz"))
5233 (sha256
5234 (base32
fe964bb5 5235 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
5236 (build-system glib-or-gtk-build-system)
5237 (arguments
5238 '(#:phases
5239 (modify-phases %standard-phases
5240 (add-before
5241 'build 'pre-build
5242 (lambda* (#:key outputs #:allow-other-keys)
5243 (let ((out (assoc-ref outputs "out")))
5244 ;; Use absolute shared library path in Caribou-1.0.typelib.
5245 (substitute* "libcaribou/Makefile"
5246 (("--shared-library=libcaribou.so")
5247 (string-append "--shared-library="
5248 out "/lib/libcaribou.so")))
5249 #t)))
5250 (add-after 'install 'wrap-programs
5251 (lambda* (#:key outputs #:allow-other-keys)
5252 (let* ((out (assoc-ref outputs "out"))
5253 (python-path (getenv "PYTHONPATH"))
5254 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5255 (for-each
5256 (lambda (prog)
5257 (wrap-program prog
5258 `("PYTHONPATH" ":" prefix (,python-path))
5259 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5260 (list (string-append out "/bin/caribou-preferences")
5261 (string-append out "/libexec/antler-keyboard"))))
5262 #t)))))
5263 (native-inputs
5264 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5265 ("gobject-introspection" ,gobject-introspection)
5266 ("intltool" ,intltool)
5267 ("pkg-config" ,pkg-config)
5268 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5269 ("vala" ,vala)
5270 ("xsltproc" ,libxslt)))
5271 (propagated-inputs
5272 ;; caribou-1.0.pc refers to all these.
5273 `(("libgee" ,libgee)
5274 ("libxklavier" ,libxklavier)
5275 ("libxtst" ,libxtst)
5276 ("gtk+" ,gtk+)))
5277 (inputs
5278 `(("clutter" ,clutter)
5279 ("dconf" ,dconf)
5280 ("gtk+-2" ,gtk+-2)
5281 ("python-pygobject" ,python2-pygobject)))
5282 (synopsis "Text entry and UI navigation application")
5283 (home-page "https://wiki.gnome.org/Projects/Caribou")
5284 (description
5285 "Caribou is an input assistive technology intended for switch and pointer
5286users.")
5287 (license license:lgpl2.1)))
ba5dd105 5288
ba5dd105
SB
5289(define-public network-manager
5290 (package
5291 (name "network-manager")
02710a9b 5292 (version "1.14.4")
ba5dd105
SB
5293 (source (origin
5294 (method url-fetch)
5295 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5296 (version-major+minor version) "/"
5297 "NetworkManager-" version ".tar.xz"))
5298 (sha256
5299 (base32
02710a9b
RW
5300 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5301 (modules '((guix build utils)))
fd070f35 5302 (snippet
02710a9b
RW
5303 '(begin
5304 (substitute* "src/devices/wwan/nm-modem-manager.c"
5305 (("systemd") "elogind"))
5306 #t))))
ba5dd105
SB
5307 (build-system gnu-build-system)
5308 (outputs '("out"
5309 "doc")) ; 8 MiB of gtk-doc HTML
5310 (arguments
5311 '(#:configure-flags
5312 (let ((out (assoc-ref %outputs "out"))
5313 (doc (assoc-ref %outputs "doc"))
5314 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5315 "/sbin/dhclient")))
02710a9b
RW
5316 (list "--with-libnm-glib" ; needed by network-manager-applet
5317 "--with-systemd-journal=no"
5318 "--with-session-tracking=elogind"
5319 "--with-suspend-resume=elogind"
fd070f35
CM
5320 "--with-consolekit=no"
5321 "--with-crypto=gnutls"
ba5dd105
SB
5322 "--disable-config-plugin-ibft"
5323 "--sysconfdir=/etc"
5324 "--localstatedir=/var"
5325 (string-append "--with-udev-dir="
5326 out "/lib/udev")
5327 (string-append "--with-dbus-sys-dir="
5328 out "/etc/dbus-1/system.d")
5329 (string-append "--with-html-dir="
5330 doc "/share/gtk-doc/html")
5331 (string-append "--with-dhclient=" dhclient)))
5332 #:phases
5333 (modify-phases %standard-phases
02710a9b
RW
5334 ;; This bare "ls" invocation breaks some tests.
5335 (add-after 'unpack 'patch-ls-invocation
5336 (lambda _
5337 (substitute* "build-aux/ltmain.sh"
5338 (("`ls -")
5339 (string-append "`" (which "ls") " -")))
5340 #t))
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") " ")
02710a9b 5353 (("src/devices/tests/test-acd") "")
d04687dc
HG
5354 (("src/devices/tests/test-arping") " ")
5355 (("src/devices/tests/test-lldp") " ")
5356 (("src/tests/test-route-manager-linux") " "))
b4f59d87 5357 #t))
45f80fce
RW
5358 (add-after 'unpack 'delete-failing-tests
5359 (lambda _
02710a9b 5360 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
5361 ;; ERROR:libnm-core/tests/test-general.c:5842:
5362 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5363 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5364 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5365 ;; ERROR:libnm-core/tests/test-setting.c:907:
5366 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
5367 (substitute* "Makefile.in"
5368 (("libnm-core/tests/test-general") " ")
5369 (("libnm-core/tests/test-keyfile") " ")
02710a9b 5370 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 5371 #t))
ba5dd105
SB
5372 (add-before 'check 'pre-check
5373 (lambda _
5374 ;; For the missing /etc/machine-id.
5375 (setenv "DBUS_FATAL_WARNINGS" "0")
5376 #t))
5377 (replace 'install
5378 (lambda _
45f80fce
RW
5379 (invoke "make"
5380 "sysconfdir=/tmp"
5381 "rundir=/tmp"
5382 "statedir=/tmp"
5383 "nmstatedir=/tmp/nm"
5384 "install")
5385 #t)))))
b93502d6
DC
5386 (propagated-inputs
5387 `(("glib" ,glib)))
ba5dd105
SB
5388 (native-inputs
5389 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5390 ("gobject-introspection" ,gobject-introspection)
d04687dc 5391 ("docbook-xsl" ,docbook-xsl)
ba5dd105 5392 ("intltool" ,intltool)
d04687dc
HG
5393 ("libxslt" ,libxslt)
5394 ("libxml2" ,libxml2)
ba5dd105
SB
5395 ("pkg-config" ,pkg-config)
5396 ;; For testing.
5397 ("python" ,python-wrapper)
5398 ("python-dbus" ,python-dbus)
5399 ("python-pygobject" ,python-pygobject)))
5400 (inputs
02710a9b
RW
5401 `(("coreutils" ,coreutils) ; for ls
5402 ("curl" ,curl)
856ca567
KK
5403 ("cyrus-sasl" ,cyrus-sasl)
5404 ("dbus-glib" ,dbus-glib)
ba5dd105 5405 ("dnsmasq" ,dnsmasq)
856ca567 5406 ("eudev" ,eudev)
ba5dd105
SB
5407 ("gnutls" ,gnutls)
5408 ("iptables" ,iptables)
5409 ("isc-dhcp" ,isc-dhcp)
d04687dc 5410 ("jansson" ,jansson)
ba5dd105
SB
5411 ("libgcrypt" ,libgcrypt)
5412 ("libgudev" ,libgudev)
5413 ("libndp" ,libndp)
5414 ("libnl" ,libnl)
5415 ("libsoup" ,libsoup)
142bdcbc 5416 ("modem-manager" ,modem-manager)
c27e02bf 5417 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
5418 ("polkit" ,polkit)
5419 ("ppp" ,ppp)
5420 ("readline" ,readline)
fd070f35
CM
5421 ("util-linux" ,util-linux)
5422 ("elogind" ,elogind)))
ba5dd105 5423 (synopsis "Network connection manager")
f032d0be 5424 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
5425 (description
5426 "NetworkManager is a system network service that manages your network
5427devices and connections, attempting to keep active network connectivity when
5428available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5429devices, and provides VPN integration with a variety of different VPN
5430services.")
29d2f451
LC
5431 (license license:gpl2+)
5432 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 5433
f2b96b3a
LC
5434(define-public network-manager-openvpn
5435 (package
5436 (name "network-manager-openvpn")
0310eb96 5437 (version "1.8.4")
f2b96b3a
LC
5438 (source (origin
5439 (method url-fetch)
5440 (uri (string-append
5441 "mirror://gnome/sources/NetworkManager-openvpn/"
5442 (version-major+minor version)
5443 "/NetworkManager-openvpn-" version ".tar.xz"))
5444 (sha256
5445 (base32
0310eb96 5446 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
f2b96b3a
LC
5447 (build-system gnu-build-system)
5448 (arguments
5449 '(#:configure-flags '("--enable-absolute-paths")))
5450 (native-inputs
5451 `(("pkg-config" ,pkg-config)
5452 ("intltool" ,intltool)))
5453 (inputs
5454 `(("gtk+" ,gtk+)
5455 ("openvpn" ,openvpn)
5456 ("network-manager" ,network-manager)
5457 ("network-manager-applet" ,network-manager-applet) ;for libnma
5458 ("libsecret" ,libsecret)))
5459 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5460 (synopsis "OpenVPN plug-in for NetworkManager")
5461 (description
5462 "This extension of NetworkManager allows it to take care of connections
5463to virtual private networks (VPNs) via OpenVPN.")
5464 (license license:gpl2+)
5465 (properties `((upstream-name . "NetworkManager-openvpn")))))
5466
e5e1df4d
DC
5467(define-public mobile-broadband-provider-info
5468 (package
5469 (name "mobile-broadband-provider-info")
310c89e3 5470 (version "20190116")
e5e1df4d
DC
5471 (source (origin
5472 (method url-fetch)
5473 (uri (string-append
5474 "mirror://gnome/sources/"
5475 "mobile-broadband-provider-info/" version "/"
5476 "mobile-broadband-provider-info-" version ".tar.xz"))
5477 (sha256
5478 (base32
310c89e3 5479 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
5480 (build-system gnu-build-system)
5481 (arguments
310c89e3 5482 `(#:tests? #f)) ; no tests
e5e1df4d
DC
5483 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5484 (synopsis "Database of broadband connection configuration")
5485 (description "Database of broadband connection configuration.")
5486 (license license:public-domain)))
5487
4d62a9d3
SB
5488(define-public network-manager-applet
5489 (package
5490 (name "network-manager-applet")
8c6d7b61 5491 (version "1.8.18")
4d62a9d3
SB
5492 (source (origin
5493 (method url-fetch)
5494 (uri (string-append "mirror://gnome/sources/" name "/"
5495 (version-major+minor version) "/"
5496 name "-" version ".tar.xz"))
5497 (sha256
5498 (base32
8c6d7b61 5499 "0y31g0lxr93370xi74hbpvcy9m81n5wdkdhq8xy2nqp0y4219p13"))))
cd7f718e
RW
5500 (build-system meson-build-system)
5501 (arguments
5502 '(#:glib-or-gtk? #t))
4d62a9d3
SB
5503 (native-inputs
5504 `(("intltool" ,intltool)
cd7f718e 5505 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 5506 ("gobject-introspection" ,gobject-introspection)
cd7f718e 5507 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
5508 ("pkg-config" ,pkg-config)))
5509 (propagated-inputs
5510 ;; libnm-gtk.pc refers to all these.
5511 `(("dbus-glib" ,dbus-glib)
5512 ("gtk+" ,gtk+)
5513 ("network-manager" ,network-manager)))
5514 (inputs
cd7f718e
RW
5515 `(("gcr" ,gcr)
5516 ("iso-codes" ,iso-codes)
4d62a9d3
SB
5517 ("libgudev" ,libgudev)
5518 ("libnotify" ,libnotify)
2116bfb3 5519 ("libsecret" ,libsecret)
240cee8a
KK
5520 ("libselinux" ,libselinux)
5521 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
5522 ("modem-manager" ,modem-manager)
5523 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 5524 (synopsis "Applet for managing network connections")
f032d0be 5525 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
5526 (description
5527 "This package contains a systray applet for NetworkManager. It displays
5528the available networks and allows users to easily switch between them.")
5529 (license license:gpl2+)))
56196594
RW
5530
5531(define-public libxml++
5532 (package
5533 (name "libxml++")
8344a85e 5534 (version "3.0.1")
56196594
RW
5535 (source (origin
5536 (method url-fetch)
5537 (uri (string-append "mirror://gnome/sources/" name "/"
5538 (version-major+minor version) "/"
5539 name "-" version ".tar.xz"))
5540 (sha256
5541 (base32
8344a85e 5542 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
5543 (build-system gnu-build-system)
5544 ;; libxml++-3.0.pc refers to all these.
5545 (propagated-inputs
5546 `(("libxml2" ,libxml2)
5547 ("glibmm" ,glibmm)))
5548 (native-inputs
5549 `(("perl" ,perl)
5550 ("pkg-config" ,pkg-config)))
5551 (home-page "http://libxmlplusplus.sourceforge.net/")
5552 (synopsis "C++ wrapper for XML parser library libxml2")
5553 (description
5554 "This package provides a C++ wrapper for the XML parser library
5555libxml2.")
5556 (license license:lgpl2.1+)))
df12f04a 5557
b61d9627
AW
5558(define-public libxml++-2
5559 (package
5560 (inherit libxml++)
5561 (name "libxml++")
5562 (version "2.40.1")
5563 (source (origin
5564 (method url-fetch)
5565 (uri (string-append "mirror://gnome/sources/" name "/"
5566 (version-major+minor version) "/"
5567 name "-" version ".tar.xz"))
5568 (sha256
5569 (base32
5570 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5571
df12f04a
SB
5572(define-public gdm
5573 (package
5574 (name "gdm")
b74ef0ba 5575 (version "3.30.2")
df12f04a
SB
5576 (source (origin
5577 (method url-fetch)
5578 (uri (string-append "mirror://gnome/sources/" name "/"
5579 (version-major+minor version) "/"
5580 name "-" version ".tar.xz"))
5581 (sha256
5582 (base32
b74ef0ba 5583 "1handy65r1n0zby09jr492b3643wszzigdkxp7q2ypgxb3hyv45y"))))
957dbc0a 5584 (build-system glib-or-gtk-build-system)
df12f04a
SB
5585 (arguments
5586 '(#:configure-flags
af37e6bb 5587 `("--without-plymouth"
957dbc0a 5588 "--disable-systemd-journal"
51bc8357
TS
5589
5590 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5591 ;; instead of having to replace it (i.e., stopping the mingetty
5592 ;; service for TTY 1 before starting GDM).
5593 "--with-initial-vt=7"
5594
89c86562
TS
5595 ;; Use '/etc/environment' for locale settings instead of the
5596 ;; systemd-specific '/etc/locale.conf'.
5597 "--with-lang-file=/etc/environment"
5598
b74ef0ba
RW
5599 ,(string-append "--with-udevdir="
5600 (assoc-ref %outputs "out") "/lib/udev")
5601
af37e6bb
AW
5602 "--localstatedir=/var"
5603 ,(string-append "--with-default-path="
5604 (string-join '("/run/setuid-programs"
5605 "/run/current-system/profile/bin"
5606 "/run/current-system/profile/sbin")
957dbc0a
AW
5607 ":"))
5608 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5609 ;; XDG_DATA_DIRS so that it finds its schemas.
5610 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
5611 #:phases
5612 (modify-phases %standard-phases
5613 (add-before
5614 'configure 'pre-configure
e8c6e771 5615 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
5616 ;; We don't have <systemd/sd-daemon.h>.
5617 (substitute* '("common/gdm-log.c"
5618 "daemon/gdm-server.c"
5619 "daemon/gdm-session-worker.c"
5620 "daemon/gdm-session-worker-job.c")
5621 (("#include <systemd/sd-daemon\\.h>") ""))
5622 ;; Use elogind for sd-login.
5623 (substitute* '("common/gdm-common.c"
5624 "daemon/gdm-manager.c"
5625 "libgdm/gdm-user-switching.c")
5626 (("#include <systemd/sd-login\\.h>")
5627 "#include <elogind/sd-login.h>"))
957dbc0a
AW
5628 ;; Check for elogind.
5629 (substitute* '("configure")
5630 (("libsystemd")
5631 "libelogind"))
af37e6bb
AW
5632 ;; Look for system-installed sessions in
5633 ;; /run/current-system/profile/share.
5634 (substitute* '("libgdm/gdm-sessions.c"
5635 "daemon/gdm-session.c"
5636 "daemon/gdm-display.c"
5637 "daemon/gdm-launch-environment.c")
5638 (("DATADIR \"/x")
5639 "\"/run/current-system/profile/share/x")
5640 (("DATADIR \"/wayland")
5641 "\"/run/current-system/profile/share/wayland")
5642 (("DATADIR \"/gnome")
5643 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 5644 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 5645 "GDM_DBUS_DAEMON"
c9ff92b5 5646 "GDM_X_SERVER"
41fa9f18 5647 "GDM_X_SESSION"
c9ff92b5
TS
5648 ;; XXX: Remove this once GNOME Shell is
5649 ;; a dependency of GDM.
5650 "XDG_DATA_DIRS")))
5651 (substitute* "daemon/gdm-session.c"
5652 (("set_up_session_environment \\(self\\);")
5653 (apply string-append
5654 "set_up_session_environment (self);\n"
5655 (map (lambda (name)
5656 (string-append
5657 "gdm_session_set_environment_variable "
5658 "(self, \"" name "\","
5659 "g_getenv (\"" name "\"));\n"))
5660 propagate)))))
a430a350
TS
5661 ;; Find the configuration file using an environment variable.
5662 (substitute* '("common/gdm-settings.c")
e0e6756f 5663 (("GDM_CUSTOM_CONF")
e57c2adb
TS
5664 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5665 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5666 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
5667 ;; Use service-supplied path to X.
5668 (substitute* '("daemon/gdm-server.c")
5669 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5670 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5671 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
5672 (("\"dbus-daemon\"")
5673 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 5674 (("X_SERVER")
41fa9f18
TS
5675 "g_getenv (\"GDM_X_SERVER\")")
5676 (("GDMCONFDIR \"/Xsession\"")
5677 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
5678 ;; Use an absolute path for GNOME Session.
5679 (substitute* "daemon/gdm-launch-environment.c"
5680 (("\"gnome-session\"")
5681 (string-append "\"" (assoc-ref inputs "gnome-session")
5682 "/bin/gnome-session\"")))
e8c6e771
TS
5683 ;; Do not automatically select the placeholder session.
5684 (substitute* "daemon/gdm-session.c"
5685 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5686 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5687 "(g_strcmp0(search_dirs[i], \""
5688 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5689 "\") == 0 && "
5690 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5691 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5692 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 5693 #t))
8caa4589
TS
5694 ;; GDM requires that there be at least one desktop entry
5695 ;; file. This phase installs a hidden one that simply
5696 ;; fails. This enables users to use GDM with a
5697 ;; '~/.xsession' script with no other desktop entry files.
5698 ;; See <https://bugs.gnu.org/35068>.
5699 (add-after 'install 'install-placeholder-desktop-entry
5700 (lambda* (#:key inputs outputs #:allow-other-keys)
5701 (let* ((out (assoc-ref outputs "out"))
5702 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5703 (fail (string-append sessions "/fail.desktop")))
5704 (mkdir-p sessions)
5705 (with-output-to-file fail
5706 (lambda ()
5707 (for-each
5708 display
5709 '("[Desktop Entry]\n"
5710 "Encoding=UTF-8\n"
5711 "Type=Application\n"
5712 "Name=Fail\n"
5713 "Comment=This session fails immediately.\n"
5714 "NoDisplay=true\n"
5715 "Exec=false\n"))))
5716 #t)))
69544798
TS
5717 ;; GDM needs GNOME Session to run these applications. We link
5718 ;; their autostart files in `share/gdm/greeter/autostart'
5719 ;; because GDM explicitly tells GNOME Session to look there.
5720 ;;
5721 ;; XXX: GNOME Shell should be linked here too, but currently
5722 ;; GNOME Shell depends on GDM.
5723 (add-after 'install 'link-autostart-files
5724 (lambda* (#:key inputs outputs #:allow-other-keys)
5725 (let* ((out (assoc-ref outputs "out"))
5726 (autostart (string-append out "/share/gdm/"
5727 "greeter/autostart"))
5728 (settings (assoc-ref inputs "gnome-settings-daemon")))
5729 (mkdir-p autostart)
5730 (with-directory-excursion autostart
5731 (for-each (lambda (desktop)
5732 (symlink desktop (basename desktop)))
5733 (find-files (string-append settings "/etc/xdg"))))
5734 #t))))))
df12f04a
SB
5735 (native-inputs
5736 `(("dconf" ,dconf)
5737 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5738 ("gobject-introspection" ,gobject-introspection)
5739 ("intltool" ,intltool)
5740 ("itstool" ,itstool)
5741 ("pkg-config" ,pkg-config)
5742 ("xmllint" ,libxml2)))
5743 (inputs
5744 `(("accountsservice" ,accountsservice)
5745 ("check" ,check) ; for testing
5746 ("elogind" ,elogind)
def6d6b6 5747 ("gnome-session" ,gnome-session)
69544798 5748 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
5749 ("gtk+" ,gtk+)
5750 ("iso-codes" ,iso-codes)
5751 ("libcanberra" ,libcanberra)
5752 ("linux-pam" ,linux-pam)))
5753 (synopsis "Display manager for GNOME")
f032d0be 5754 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
5755 (description
5756 "GNOME Display Manager is a system service that is responsible for
5757providing graphical log-ins and managing local and remote displays.")
5758 (license license:gpl2+)))
8e1dd04f
SB
5759
5760(define-public libgtop
5761 (package
5762 (name "libgtop")
4f80158d 5763 (version "2.38.0")
8e1dd04f
SB
5764 (source (origin
5765 (method url-fetch)
5766 (uri (string-append "mirror://gnome/sources/" name "/"
5767 (version-major+minor version) "/"
5768 name "-" version ".tar.xz"))
5769 (sha256
5770 (base32
4f80158d 5771 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
8e1dd04f
SB
5772 (build-system gnu-build-system)
5773 (native-inputs
5774 `(("gobject-introspection" ,gobject-introspection)
5775 ("intltool" ,intltool)
5776 ("perl" ,perl)
5777 ("pkg-config" ,pkg-config)))
5778 (propagated-inputs
5779 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5780 (synopsis "Portable system access library")
5781 (home-page "https://www.gnome.org/")
5782 (description
5783 "LibGTop is a library to get system specific data such as CPU and memory
5784usage and information about running processes.")
5785 (license license:gpl2+)))
b96c4260
SB
5786
5787(define-public gnome-bluetooth
5788 (package
5789 (name "gnome-bluetooth")
fd3b1171 5790 (version "3.28.0")
b96c4260
SB
5791 (source (origin
5792 (method url-fetch)
5793 (uri (string-append "mirror://gnome/sources/" name "/"
5794 (version-major+minor version) "/"
5795 name "-" version ".tar.xz"))
5796 (sha256
5797 (base32
fd3b1171
RW
5798 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5799 (build-system meson-build-system)
b96c4260
SB
5800 (native-inputs
5801 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 5802 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
5803 ("gobject-introspection" ,gobject-introspection)
5804 ("intltool" ,intltool)
5805 ("pkg-config" ,pkg-config)
5806 ("xmllint" ,libxml2)))
5807 (propagated-inputs
5808 ;; gnome-bluetooth-1.0.pc refers to all these.
5809 `(("gtk+" ,gtk+)
5810 ("udev" ,eudev)))
5811 (inputs
5812 `(("libcanberra" ,libcanberra)
5813 ("libnotify" ,libnotify)))
5814 (synopsis "GNOME Bluetooth subsystem")
5815 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5816 (description
5817 "This package contains tools for managing and manipulating Bluetooth
5818devices using the GNOME desktop.")
5819 (license license:lgpl2.1+)))
b645146f
SB
5820
5821(define-public gnome-control-center
5822 (package
5823 (name "gnome-control-center")
59dac026 5824 (version "3.28.2")
b645146f
SB
5825 (source (origin
5826 (method url-fetch)
5827 (uri (string-append "mirror://gnome/sources/" name "/"
5828 (version-major+minor version) "/"
5829 name "-" version ".tar.xz"))
5830 (sha256
5831 (base32
59dac026
RW
5832 "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz"))))
5833 (build-system meson-build-system)
b645146f 5834 (arguments
59dac026
RW
5835 '(#:glib-or-gtk? #t
5836 #:configure-flags
5837 (list "-Dcheese=false")
5838 #:phases
b645146f
SB
5839 (modify-phases %standard-phases
5840 (add-before 'configure 'patch-paths
5841 (lambda* (#:key inputs #:allow-other-keys)
5842 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 5843 (tzdata (assoc-ref inputs "tzdata"))
341225ac
LC
5844 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
5845 (nm-applet (assoc-ref inputs "network-manager-applet")))
b645146f
SB
5846 (substitute* "panels/datetime/tz.h"
5847 (("/usr/share/zoneinfo/zone.tab")
5848 (string-append tzdata "/share/zoneinfo/zone.tab")))
5849 (substitute* "panels/datetime/test-endianess.c"
5850 (("/usr/share/locale")
5851 (string-append libc "/share/locale")))
1df38cfc
LC
5852 (substitute* "panels/region/cc-region-panel.c"
5853 (("\"gkbd-keyboard-display")
5854 (string-append "\"" libgnomekbd
5855 "/bin/gkbd-keyboard-display")))
341225ac
LC
5856 (substitute* '("panels/network/net-device-wifi.c"
5857 "panels/network/net-device.c"
5858 "panels/network/connection-editor/net-connection-editor.c")
5859 (("\"nm-connection-editor")
5860 (string-append "\"" nm-applet
5861 "/bin/nm-connection-editor")))
1acd107c
FP
5862 (substitute* '("panels/user-accounts/run-passwd.c")
5863 (("/usr/bin/passwd")
5864 "/run/setuid-programs/passwd"))
b645146f
SB
5865 #t))))))
5866 (native-inputs
5867 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 5868 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
5869 ("intltool" ,intltool)
5870 ("pkg-config" ,pkg-config)
5871 ("xsltproc" ,libxslt)))
5872 (inputs
5873 `(("accountsservice" ,accountsservice)
5874 ("clutter-gtk" ,clutter-gtk)
5875 ("colord-gtk" ,colord-gtk)
5876 ("cups" ,cups)
5877 ("dconf" ,dconf)
5878 ("docbook-xsl" ,docbook-xsl)
3446ffb5 5879 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
5880 ("gnome-bluetooth" ,gnome-bluetooth)
5881 ("gnome-desktop" ,gnome-desktop)
5882 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 5883 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
b645146f
SB
5884 ("gnome-settings-daemon" ,gnome-settings-daemon)
5885 ("grilo" ,grilo)
5886 ("ibus" ,ibus)
5887 ("libcanberra" ,libcanberra)
1df38cfc 5888 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
5889 ("libgudev" ,libgudev)
5890 ("libgtop" ,libgtop)
5891 ("libpwquality" ,libpwquality)
5892 ("libsoup" ,libsoup)
5893 ("libxml2" ,libxml2)
5894 ("libwacom" ,libwacom)
5895 ("mesa" ,mesa)
5896 ("mit-krb5" ,mit-krb5)
5897 ("modem-manager" ,modem-manager)
5898 ("network-manager-applet" ,network-manager-applet)
5899 ("polkit" ,polkit)
5900 ("pulseaudio" ,pulseaudio)
5901 ("smbclient" ,samba)
5902 ("tzdata" ,tzdata)
5903 ("upower" ,upower)))
5904 (synopsis "Utilities to configure the GNOME desktop")
5905 (home-page "https://www.gnome.org/")
5906 (description
5907 "This package contains configuration applets for the GNOME desktop,
5908allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5909properties, sound setup, desktop theme and background, user interface
5910properties, screen resolution, and other GNOME parameters.")
5911 (license license:gpl2+)))
a4df5756
SB
5912
5913(define-public gnome-shell
5914 (package
5915 (name "gnome-shell")
2b0c755d 5916 (version "3.28.2")
a4df5756
SB
5917 (source (origin
5918 (method url-fetch)
5919 (uri (string-append "mirror://gnome/sources/" name "/"
5920 (version-major+minor version) "/"
5921 name "-" version ".tar.xz"))
5922 (sha256
5923 (base32
2b0c755d 5924 "1b9n89ij2g5nqaqp7a13jnqcd8qa2v9p55rbi71al3xvqk091ri7"))
a76d0f03
LC
5925 (patches (search-patches "gnome-shell-theme.patch"))
5926 (modules '((guix build utils)))
5927 (snippet
5928 #~(begin
a76d0f03
LC
5929 ;; Copy images for use on the GDM log-in screen.
5930 (copy-file #$(file-append %artwork-repository
5931 "/slim/0.x/background.png")
5932 "data/theme/guix-background.png")
45fef894
LC
5933 (copy-file #$(file-append %artwork-repository
5934 "/logo/Guix-horizontal-white.svg")
5935 "data/theme/guix-logo.svg")
a76d0f03 5936 #t))))
2b0c755d 5937 (build-system meson-build-system)
a4df5756 5938 (arguments
08185081
MB
5939 `(#:glib-or-gtk? #t
5940 #:disallowed-references ((,glib "bin")
11e1df56
LC
5941 ,inkscape ,libxslt
5942 ,ruby-sass)
2b0c755d
RW
5943 #:configure-flags
5944 (list "-Dsystemd=false"
5945 ;; Otherwise, the RUNPATH will lack the final path component.
5946 (string-append "-Dc_link_args=-Wl,-rpath="
5947 (assoc-ref %outputs "out")
5948 "/lib/gnome-shell"))
11e1df56 5949
08185081 5950 #:modules ((guix build meson-build-system)
11e1df56
LC
5951 (guix build utils)
5952 (srfi srfi-1))
5953
2b0c755d 5954 #:phases
a4df5756 5955 (modify-phases %standard-phases
2b0c755d 5956 (add-after 'unpack 'fix-keysdir
a4df5756
SB
5957 (lambda* (#:key outputs #:allow-other-keys)
5958 (let* ((out (assoc-ref outputs "out"))
5959 (keysdir (string-append
5960 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
5961 (substitute* "meson.build"
5962 (("keysdir =.*")
5963 (string-append "keysdir = '" keysdir "'\n")))
5964 #t)))
ebfe259f
MB
5965 (add-before 'configure 'convert-logo-to-png
5966 (lambda* (#:key inputs #:allow-other-keys)
5967 ;; Convert the logo from SVG to PNG.
5968 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
5969 "data/theme/guix-logo.svg")))
ba00235a 5970 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
5971 (lambda* (#:key inputs #:allow-other-keys)
5972 (substitute* "js/misc/ibusManager.js"
5973 (("'ibus-daemon'")
5974 (string-append "'" (assoc-ref inputs "ibus")
5975 "/bin/ibus-daemon'")))
d6fda4d3
LC
5976 (substitute* "js/ui/status/keyboard.js"
5977 (("'gkbd-keyboard-display'")
5978 (string-append "'" (assoc-ref inputs "libgnomekbd")
5979 "/bin/gkbd-keyboard-display'")))
2472cdec 5980 #t))
2b0c755d
RW
5981 (add-before 'check 'pre-check
5982 (lambda* (#:key inputs #:allow-other-keys)
5983 ;; Tests require a running X server.
5984 (system "Xvfb :1 &")
5985 (setenv "DISPLAY" ":1")
5986 #t))
5987 (add-after 'install 'wrap-programs
5988 (lambda* (#:key inputs outputs #:allow-other-keys)
5989 (let ((out (assoc-ref outputs "out"))
5990 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5991 (python-path (getenv "PYTHONPATH")))
5992 (wrap-program (string-append out "/bin/gnome-shell")
5993 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5994 ;; FIXME: gnome-shell loads these libraries with unqualified
5995 ;; names only, so they need to be on LD_LIBRARY_PATH. The
5996 ;; alternative might be to patch gnome-shell.
5997 `("LD_LIBRARY_PATH" ":" prefix
5998 ,(map (lambda (pkg)
5999 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
6000 '("gdk-pixbuf"
6001 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
6002 (for-each
6003 (lambda (prog)
6004 (wrap-program (string-append out "/bin/" prog)
6005 `("PYTHONPATH" ":" prefix (,python-path))
6006 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6007 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 6008 #t)))
11e1df56
LC
6009 (replace 'glib-or-gtk-wrap
6010 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6011 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6012 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6013 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6014 ;; phase. Fix that since we don't need these.
6015 (wrap #:inputs (fold alist-delete inputs
6016 '("inkscape" "intltool" "glib:bin"))
6017 #:outputs outputs)))))))
a4df5756
SB
6018 (native-inputs
6019 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 6020 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 6021 ("gobject-introspection" ,gobject-introspection)
ebfe259f 6022 ("inkscape" ,inkscape)
a4df5756
SB
6023 ("intltool" ,intltool)
6024 ("pkg-config" ,pkg-config)
6025 ("python" ,python)
2b0c755d
RW
6026 ("ruby-sass" ,ruby-sass)
6027 ("sassc" ,sassc)
a76d0f03 6028 ("xsltproc" ,libxslt)
2b0c755d 6029 ;; For tests
0b4504f6 6030 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
6031 (inputs
6032 `(("accountsservice" ,accountsservice)
6033 ("caribou" ,caribou)
6034 ("docbook-xsl" ,docbook-xsl)
6035 ("evolution-data-server" ,evolution-data-server)
6036 ("gcr" ,gcr)
6037 ("gdm" ,gdm)
c5db31d4 6038 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
6039 ("gjs" ,gjs)
6040 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
6041 ("gnome-desktop" ,gnome-desktop)
6042 ("gnome-settings-daemon" ,gnome-settings-daemon)
6043 ("gst-plugins-base" ,gst-plugins-base)
6044 ("ibus" ,ibus)
6045 ("libcanberra" ,libcanberra)
6046 ("libcroco" ,libcroco)
d6fda4d3 6047 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
6048 ("libgweather" ,libgweather)
6049 ("libsoup" ,libsoup)
6050 ("mesa-headers" ,mesa-headers)
6051 ("mutter" ,mutter)
6052 ("network-manager-applet" ,network-manager-applet)
6053 ("polkit" ,polkit)
6054 ("pulseaudio" ,pulseaudio)
6055 ("python-pygobject" ,python-pygobject)
6056 ("startup-notification" ,startup-notification)
6057 ("telepathy-logger" ,telepathy-logger)
6058 ("upower" ,upower)
30e760f0
MB
6059 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6060 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6061 ("librsvg" ,librsvg)
2b0c755d 6062 ("geoclue" ,geoclue)))
a4df5756
SB
6063 (synopsis "Desktop shell for GNOME")
6064 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6065 (description
6066 "GNOME Shell provides core user interface functions for the GNOME desktop,
6067like switching to windows and launching applications.")
6068 (license license:gpl2+)))
c3f29bc9
RS
6069
6070(define-public gtk-vnc
6071 (package
6072 (name "gtk-vnc")
965ff023 6073 (version "0.9.0")
c3f29bc9
RS
6074 (source
6075 (origin
6076 (method url-fetch)
6077 (uri (string-append "mirror://gnome/sources/" name "/"
6078 (version-major+minor version) "/"
6079 name "-" version ".tar.xz"))
6080 (sha256
6081 (base32
965ff023 6082 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
6083 (build-system gnu-build-system)
6084 (arguments
6085 '(#:configure-flags '("--with-gtk=3.0")))
6086 (propagated-inputs
6087 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6088 (inputs
6089 `(("cyrus-sasl" ,cyrus-sasl)
6090 ("gnutls" ,gnutls)
6091 ("libgcrypt" ,libgcrypt)
6092 ("pulseaudio" ,pulseaudio)))
6093 (native-inputs
6094 `(("glib:bin" ,glib "bin")
6095 ("gobject-introspection" ,gobject-introspection)
6096 ("intltool" ,intltool)
6097 ("pkg-config" ,pkg-config)
2f17e939 6098 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
6099 ("vala" ,vala)))
6100 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6101 (synopsis "VNC viewer widget for GTK+")
6102 (description
6103 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6104applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6105GTK-VNC implements client side RFB protocol and authentication extensions such
6106as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6107 (license license:lgpl2.1+)))
8b877545 6108
dc69fe18
MW
6109(define-public gnome-autoar
6110 (package
6111 (name "gnome-autoar")
c7da8510 6112 (version "0.2.3")
dc69fe18
MW
6113 (source (origin
6114 (method url-fetch)
6115 (uri (string-append "mirror://gnome/sources/" name "/"
6116 (version-major+minor version) "/"
6117 name "-" version ".tar.xz"))
6118 (sha256
6119 (base32
c7da8510 6120 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
6121 (build-system glib-or-gtk-build-system)
6122 (native-inputs
6123 `(("gnome-common" ,gnome-common)
6124 ("gobject-introspection" ,gobject-introspection)
6125 ("pkg-config" ,pkg-config)))
6126 (propagated-inputs
6127 `(("libarchive" ,libarchive))) ; XXX document why
6128 (inputs
6129 `(("gtk+" ,gtk+)
6130 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
6131 (synopsis "Archives integration support for GNOME")
6132 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6133 (description
6134 "GNOME Autoar is a library which makes creating and extracting archives
6135easy, safe, and automatic.")
6136 (license license:lgpl2.1+)))
6137
b64e217f
MW
6138(define-public tracker
6139 (package
6140 (name "tracker")
c8bdf589 6141 (version "2.0.4")
b64e217f
MW
6142 (source (origin
6143 (method url-fetch)
6144 (uri (string-append "mirror://gnome/sources/" name "/"
6145 (version-major+minor version) "/"
6146 name "-" version ".tar.xz"))
6147 (sha256
6148 (base32
c8bdf589 6149 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
b64e217f 6150 (build-system glib-or-gtk-build-system)
c8bdf589
RW
6151 (arguments
6152 `(#:phases
6153 (modify-phases %standard-phases
6154 (add-after 'unpack 'disable-broken-tests
6155 (lambda _
6156 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6157 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6158 (substitute* "tests/libtracker-miner/Makefile.in"
6159 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6160 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6161 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6162 (substitute* "tests/libtracker-fts/Makefile.in"
6163 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6164 (substitute* "tests/libtracker-data/Makefile.in"
6165 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6166 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6167 (("tracker-backup\\$\\(EXEEXT\\)") "")
6168 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6169 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6170 ;; These fail because the SPARQL backend could not be loaded.
6171 ;; That's because /etc/machine-id is missing, but
6172 ;; DBUS_FATAL_WARNINGS does not help here.
6173 (substitute* "tests/libtracker-sparql/Makefile.in"
6174 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6175 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6176 (substitute* "tests/tracker-steroids/Makefile.in"
6177 (("tracker-test\\$\\(EXEEXT\\)") ""))
6178 #t))
6179 ;; Two tests fail if LANG is not set.
6180 (add-before 'check 'pre-check
6181 (lambda _
6182 (setenv "LANG" "en_US.UTF-8")
6183 ;; For the missing /etc/machine-id.
6184 (setenv "DBUS_FATAL_WARNINGS" "0")
6185 #t)))))
b64e217f
MW
6186 (native-inputs
6187 `(("gnome-common" ,gnome-common)
6188 ("gobject-introspection" ,gobject-introspection)
6189 ("intltool" ,intltool)
6190 ("pkg-config" ,pkg-config)
6191 ("vala" ,vala)))
6192 (inputs
6193 `(("gtk+" ,gtk+)
6194 ("dbus" ,dbus)
6195 ("gstreamer" ,gstreamer)
6196 ("gst-plugins-base" ,gst-plugins-base)
44ed6284 6197 ("sqlite" ,sqlite)
b64e217f 6198 ("nettle" ,nettle) ; XXX why is this needed?
c8bdf589 6199 ("python" ,python)
b64e217f
MW
6200 ("poppler" ,poppler)
6201 ("libgsf" ,libgsf)
6202 ("libexif" ,libexif)
6203 ("libpng" ,libpng)
6204 ("libtiff" ,libtiff)
6205 ("libvorbis" ,libvorbis)
6206 ("flac" ,flac)
6207 ("totem-pl-parser" ,totem-pl-parser)
6208 ("zlib" ,zlib)
6209 ("exempi" ,exempi)
6210 ("libxml2" ,libxml2)
6211 ("upower" ,upower)
b64e217f
MW
6212 ("libunistring" ,libunistring)
6213 ("giflib" ,giflib)
0ef48cd9 6214 ("json-glib" ,json-glib)
b64e217f
MW
6215 ("openjpeg" ,openjpeg-1)
6216 ("libosinfo" ,libosinfo)
6217 ("libcue" ,libcue)
6218 ("libseccomp" ,libseccomp)
0ef48cd9 6219 ("libsoup" ,libsoup)
b64e217f 6220 ("libuuid" ,util-linux)))
b64e217f
MW
6221 (synopsis "Metadata database, indexer and search tool")
6222 (home-page "https://wiki.gnome.org/Projects/Tracker")
6223 (description
6224 "Tracker is an advanced framework for first class objects with associated
6225metadata and tags. It provides a one stop solution for all metadata, tags,
6226shared object databases, search tools and indexing.")
6227 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6228 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6229 (license (list license:gpl2+
6230 license:lgpl2.1+
6231 license:lgpl2.0+))))
6232
8b877545
RS
6233(define-public nautilus
6234 (package
6235 (name "nautilus")
caf6c363 6236 (version "3.28.1")
8b877545
RS
6237 (source (origin
6238 (method url-fetch)
6239 (uri (string-append "mirror://gnome/sources/" name "/"
6240 (version-major+minor version) "/"
6241 name "-" version ".tar.xz"))
6242 (sha256
6243 (base32
caf6c363 6244 "19dhpa2ylrg8d5274lahy7xqr2p9z3jnq1h4qmsh95czkpy7is4w"))))
35e2d0cf 6245 (build-system meson-build-system)
8b877545 6246 (arguments
35e2d0cf 6247 '(#:glib-or-gtk? #t
8b877545
RS
6248 ;; XXX: FAIL: check-nautilus
6249 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6250 #:tests? #f))
6251 (native-inputs
35e2d0cf
R
6252 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6253 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6254 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
6255 ("gobject-introspection" ,gobject-introspection)
6256 ("intltool" ,intltool)
6257 ("pkg-config" ,pkg-config)))
8b877545 6258 (inputs
8b877545 6259 `(("dconf" ,dconf)
caf6c363 6260 ("gexiv2" ,gexiv2)
dd05e731 6261 ("gvfs" ,gvfs)
8b877545
RS
6262 ("exempi" ,exempi)
6263 ("gnome-desktop" ,gnome-desktop)
09d88905 6264 ("gnome-autoar" ,gnome-autoar)
35e2d0cf
R
6265 ("libselinux" ,libselinux)
6266 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
09d88905 6267 ("tracker" ,tracker)
ce6027bf
SB
6268 ;; XXX: gtk+ is required by libnautilus-extension.pc
6269 ;;
6270 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6271 ;; package. See:
6272 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6273 ("gtk+" ,gtk+)
8b877545
RS
6274 ("libexif" ,libexif)
6275 ("libxml2" ,libxml2)))
6276 (synopsis "File manager for GNOME")
6277 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6278 (description
6279 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6280design and behaviour, giving the user a simple way to navigate and manage its
6281files.")
6282 (license license:gpl2+)))
3c697ffd
JR
6283
6284(define-public baobab
6285 (package
6286 (name "baobab")
d233d373 6287 (version "3.28.0")
3c697ffd
JR
6288 (source (origin
6289 (method url-fetch)
6290 (uri (string-append
6291 "mirror://gnome/sources/" name "/"
6292 (version-major+minor version) "/"
6293 name "-" version ".tar.xz"))
6294 (sha256
6295 (base32
d233d373
RJ
6296 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
6297 (build-system meson-build-system)
6298 (arguments
6299 '(#:glib-or-gtk? #t))
3c697ffd
JR
6300 (native-inputs
6301 `(("intltool" ,intltool)
6302 ("pkg-config" ,pkg-config)
d233d373
RJ
6303 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6304 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
6305 ("itstool" ,itstool)
6306 ("xmllint" ,libxml2)
6307 ("glib" ,glib "bin")
6308 ("vala" ,vala)))
6309 (inputs
6310 `(("gtk+" ,gtk+)))
6311 (synopsis "Disk usage analyzer for GNOME")
6312 (description
6313 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6314usage in the GNOME desktop environment. It can easily scan device volumes or
6315a specific user-requested directory branch (local or remote). Once the scan
6316is complete it provides a graphical representation of each selected folder.")
6317 (home-page "https://wiki.gnome.org/Apps/Baobab")
6318 (license license:gpl2+)))
dc050251 6319
fdba447c
RS
6320(define-public gnome-backgrounds
6321 (package
6322 (name "gnome-backgrounds")
9ca381f0 6323 (version "3.28.0")
fdba447c
RS
6324 (source
6325 (origin
6326 (method url-fetch)
6327 (uri (string-append "mirror://gnome/sources/" name "/"
6328 (version-major+minor version) "/"
6329 name "-" version ".tar.xz"))
6330 (sha256
6331 (base32
9ca381f0
RW
6332 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6333 (build-system meson-build-system)
fdba447c
RS
6334 (native-inputs
6335 `(("intltool" ,intltool)))
6336 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6337 (synopsis "Background images for the GNOME desktop")
6338 (description
6339 "GNOME backgrounds package contains a collection of graphics files which
6340can be used as backgrounds in the GNOME Desktop environment. Additionally,
6341the package creates the proper framework and directory structure so that you
6342can add your own files to the collection.")
6343 (license (list license:gpl2+
6344 license:cc-by2.0
6345 license:cc-by-sa2.0
6346 license:cc-by-sa3.0))))
6347
b784b1a9
RS
6348(define-public gnome-screenshot
6349 (package
6350 (name "gnome-screenshot")
8356aefa 6351 (version "3.26.0")
b784b1a9
RS
6352 (source
6353 (origin
6354 (method url-fetch)
6355 (uri (string-append "mirror://gnome/sources/" name "/"
6356 (version-major+minor version) "/"
6357 name "-" version ".tar.xz"))
6358 (sha256
6359 (base32
8356aefa
RW
6360 "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v"))))
6361 (build-system meson-build-system)
b784b1a9
RS
6362 (native-inputs
6363 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
6364 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6365 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 6366 ("intltool" ,intltool)
8356aefa 6367 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
6368 ("pkg-config" ,pkg-config)))
6369 (inputs
6370 `(("gtk+" ,gtk+)
6371 ("libcanberra" ,libcanberra)
6372 ("libx11" ,libx11)
6373 ("libxext" ,libxext)))
6374 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6375 (synopsis "Take pictures of your screen")
6376 (description
6377 "GNOME Screenshot is a utility used for taking screenshots of the entire
6378screen, a window or a user defined area of the screen, with optional
6379beautifying border effects.")
6380 (license license:gpl2+)))
6381
66d59111
RS
6382(define-public dconf-editor
6383 (package
6384 (name "dconf-editor")
294ff39d 6385 (version "3.28.0")
66d59111
RS
6386 (source
6387 (origin
6388 (method url-fetch)
6389 (uri (string-append "mirror://gnome/sources/" name "/"
6390 (version-major+minor version) "/"
6391 name "-" version ".tar.xz"))
6392 (sha256
6393 (base32
294ff39d
RW
6394 "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5"))))
6395 (build-system meson-build-system)
66d59111
RS
6396 (native-inputs
6397 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 6398 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 6399 ("intltool" ,intltool)
294ff39d
RW
6400 ("pkg-config" ,pkg-config)
6401 ("vala" ,vala)))
66d59111
RS
6402 (inputs
6403 `(("dconf" ,dconf)
6404 ("gtk+" ,gtk+)
6405 ("libxml2" ,libxml2)))
6406 (home-page "https://git.gnome.org/browse/dconf-editor")
6407 (synopsis "Graphical editor for GNOME's dconf configuration system")
6408 (description
6409 "Dconf-editor is a graphical tool for browsing and editing the dconf
6410configuration system for GNOME. It allows users to configure desktop
6411software that do not provide their own configuration interface.")
6412 (license license:lgpl2.1+)))
6413
96d36f38
AW
6414(define-public gnome-default-applications
6415 (package
6416 (name "gnome-default-applications")
6417 (version "0")
6418 (build-system trivial-build-system)
6419 (source #f)
6420 (propagated-inputs
8ad4f0aa
LC
6421 `(("nautilus" ,nautilus)
6422 ("evince" ,evince)))
96d36f38
AW
6423 (arguments
6424 `(#:modules ((guix build utils))
6425 #:builder
6426 (begin
6427 (use-modules (guix build utils))
6428 (let* ((out (assoc-ref %outputs "out"))
6429 (apps (string-append out "/share/applications")))
6430 (mkdir-p apps)
6431 (call-with-output-file (string-append apps "/defaults.list")
6432 (lambda (port)
6433 (format port "[Default Applications]\n")
8ad4f0aa
LC
6434 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6435 (format port "application/pdf=evince.desktop\n")
6436 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
6437 #t))))
6438 (synopsis "Default MIME type associations for the GNOME desktop")
6439 (description
6440 "Given many installed packages which might handle a given MIME type, a
6441user running the GNOME desktop probably has some preferences: for example,
6442that folders be opened by default by the Nautilus file manager, not the Baobab
6443disk usage analyzer. This package establishes that set of default MIME type
6444associations for GNOME.")
6445 (license license:gpl3+)
6446 (home-page #f)))
6447
dc050251
SB
6448(define-public gnome
6449 (package
6450 (name "gnome")
6451 (version (package-version gnome-shell))
6452 (source #f)
6453 (build-system trivial-build-system)
e3cfef22 6454 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251
SB
6455 (propagated-inputs
6456 ;; TODO: Add more packages according to:
6457 ;; <https://packages.debian.org/jessie/gnome-core>.
6458 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 6459 ("baobab" ,baobab)
0bd3597b 6460 ("font-cantarell" ,font-cantarell)
a9dbefdc 6461 ("font-dejavu" ,font-dejavu)
dc050251
SB
6462 ("at-spi2-core" ,at-spi2-core)
6463 ("dbus" ,dbus)
6464 ("dconf" ,dconf)
72360453 6465 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
6466 ("eog" ,eog)
6467 ("epiphany" ,epiphany)
6468 ("evince" ,evince)
71d9b980 6469 ("file-roller" ,file-roller)
dc050251
SB
6470 ("gedit" ,gedit)
6471 ("glib-networking" ,glib-networking)
05f651c4 6472 ("gnome-backgrounds" ,gnome-backgrounds)
63ad9b80
AW
6473 ("gnome-bluetooth" ,gnome-bluetooth)
6474 ("gnome-calculator" ,gnome-calculator)
dc050251 6475 ("gnome-control-center" ,gnome-control-center)
63ad9b80 6476 ("gnome-disk-utility" ,gnome-disk-utility)
96d36f38 6477 ("gnome-default-applications" ,gnome-default-applications)
dc050251 6478 ("gnome-keyring" ,gnome-keyring)
63ad9b80 6479 ("gnome-online-accounts" ,gnome-online-accounts)
dc050251
SB
6480 ("gnome-session" ,gnome-session)
6481 ("gnome-settings-daemon" ,gnome-settings-daemon)
6482 ("gnome-shell" ,gnome-shell)
63ad9b80 6483 ("gnome-system-monitor" ,gnome-system-monitor)
dc050251
SB
6484 ("gnome-terminal" ,gnome-terminal)
6485 ("gnome-themes-standard" ,gnome-themes-standard)
2999dcd5
AW
6486 ("gst-plugins-base" ,gst-plugins-base)
6487 ("gst-plugins-good" ,gst-plugins-good)
63ad9b80 6488 ("gucharmap" ,gucharmap)
05f651c4 6489 ("gvfs" ,gvfs)
dc050251
SB
6490 ("hicolor-icon-theme" ,hicolor-icon-theme)
6491 ("nautilus" ,nautilus)
69308043 6492 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
6493 ("pulseaudio" ,pulseaudio)
6494 ("shared-mime-info" ,shared-mime-info)
f6f4370f 6495 ("system-config-printer" ,system-config-printer)
dc050251 6496 ("totem" ,totem)
c20cd0d2 6497 ("xdg-user-dirs" ,xdg-user-dirs)
dc050251
SB
6498 ("yelp" ,yelp)
6499 ("zenity" ,zenity)))
fe4e698d 6500 (synopsis "The GNU desktop environment")
dc050251
SB
6501 (home-page "https://www.gnome.org/")
6502 (description
fe4e698d
LC
6503 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6504applications for browsing the web, editing text and images, creating
6505documents and diagrams, playing media, scanning, and much more.")
dc050251 6506 (license license:gpl2+)))
4a526711
DT
6507
6508(define-public byzanz
6509 ;; The last stable release of Byzanz was in 2011, but there have been many
6510 ;; useful commits made to the Byzanz repository since then that it would be
6511 ;; silly to use such an old release.
6512 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6513 (package
6514 (name "byzanz")
6515 (version (string-append "0.2-1." (string-take commit 7)))
6516 (source (origin
6517 (method git-fetch)
6518 (uri (git-reference
5f13bf09 6519 (url "https://git.gnome.org/browse/byzanz")
4a526711 6520 (commit commit)))
5a6527e4 6521 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
6522 (sha256
6523 (base32
6524 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6525 (build-system glib-or-gtk-build-system)
6526 (arguments
6527 '(#:phases
6528 (modify-phases %standard-phases
189be331 6529 (replace 'bootstrap
4a526711
DT
6530 (lambda _
6531 ;; The build system cleverly detects that we're not building from
6532 ;; a release tarball and turns on -Werror for GCC.
6533 ;; Unsurprisingly, there is a warning during compilation that
6534 ;; causes the build to fail unnecessarily, so we remove the flag.
6535 (substitute* '("configure.ac")
6536 (("-Werror") ""))
6537 ;; The autogen.sh script in gnome-common will run ./configure
6538 ;; by default, which is problematic because source shebangs
6539 ;; have not yet been patched.
6540 (setenv "NOCONFIGURE" "t")
6541 (zero? (system* "sh" "autogen.sh")))))))
6542 (native-inputs
6543 `(("autoconf" ,autoconf)
6544 ("automake" ,automake)
6545 ("gnome-common" ,gnome-common)
6546 ("intltool" ,intltool)
6547 ("libtool" ,libtool)
6548 ("pkg-config" ,pkg-config)
6549 ("which" ,which)))
6550 (inputs
6551 `(("glib" ,glib)
6552 ("gstreamer" ,gstreamer)
6553 ("gst-plugins-base" ,gst-plugins-base)
6554 ("gtk+" ,gtk+)))
6555 (synopsis "Desktop recording program")
6556 (description "Byzanz is a simple desktop recording program with a
6557command-line interface. It can record part or all of an X display for a
6558specified duration and save it as a GIF encoded animated image file.")
6559 (home-page "https://git.gnome.org/browse/byzanz")
6560 (license license:gpl2+))))
3a9a4c51 6561
0ec171ec
MS
6562(define-public gsound
6563 (package
6564 (name "gsound")
6565 (version "1.0.2")
6566 (source (origin
6567 (method url-fetch)
6568 (uri (string-append "mirror://gnome/sources/" name "/"
6569 (version-major+minor version) "/"
6570 name "-" version ".tar.xz"))
6571 (sha256
6572 (base32
6573 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6574 (build-system glib-or-gtk-build-system)
6575 (native-inputs
6576 `(("pkg-config" ,pkg-config)
6577 ("gobject-introspection" ,gobject-introspection)
6578 ("vala" ,vala)))
6579 (inputs
6580 `(("glib" ,glib)
6581 ("libcanberra" ,libcanberra)))
6582 (home-page "https://wiki.gnome.org/Projects/GSound")
6583 (synopsis "GObject wrapper for libcanberra")
6584 (description
6585 "GSound is a small library for playing system sounds. It's designed to be
6586used via GObject Introspection, and is a thin wrapper around the libcanberra C
6587library.")
6588 (license license:lgpl2.1+)))
6589
3a9a4c51
RS
6590(define-public libzapojit
6591 (package
6592 (name "libzapojit")
6593 (version "0.0.3")
6594 (source (origin
6595 (method url-fetch)
6596 (uri (string-append "mirror://gnome/sources/" name "/"
6597 (version-major+minor version) "/"
6598 name "-" version ".tar.xz"))
6599 (sha256
6600 (base32
6601 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6602 (build-system gnu-build-system)
6603 (native-inputs
6604 `(("gobject-introspection" ,gobject-introspection)
6605 ("intltool" ,intltool)
6606 ("pkg-config" ,pkg-config)))
6607 (inputs
14c297fd 6608 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
6609 ("json-glib" ,json-glib)
6610 ("rest" ,rest)))
6611 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6612 (synopsis "Library for accessing SkyDrive and Hotmail")
6613 (description
6614 "Libzapojit is a GLib-based library for accessing online service APIs of
6615Microsoft SkyDrive and Hotmail, using their REST protocols.")
6616 (license license:lgpl2.1+)))
9365ee1c 6617
60e2a9ae
MS
6618(define-public gnome-clocks
6619 (package
6620 (name "gnome-clocks")
80d1e4c0 6621 (version "3.28.0")
60e2a9ae
MS
6622 (source (origin
6623 (method url-fetch)
6624 (uri (string-append "mirror://gnome/sources/" name "/"
6625 (version-major+minor version) "/"
6626 name "-" version ".tar.xz"))
6627 (sha256
6628 (base32
80d1e4c0 6629 "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl"))))
60e2a9ae
MS
6630 (build-system meson-build-system)
6631 (arguments
6632 '(#:glib-or-gtk? #t))
6633 (native-inputs
6634 `(("vala" ,vala)
6635 ("pkg-config" ,pkg-config)
6636 ("glib" ,glib "bin") ; for glib-compile-resources
6637 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6638 ("desktop-file-utils" ,desktop-file-utils)
6639 ("gettext" ,gettext-minimal)
6640 ("itstool" ,itstool)))
6641 (inputs
6642 `(("glib" ,glib)
6643 ("gtk+" ,gtk+)
6644 ("gsound" ,gsound)
6645 ("geoclue" ,geoclue)
6646 ("geocode-glib" ,geocode-glib)
6647 ("libgweather" ,libgweather)
6648 ("gnome-desktop" ,gnome-desktop)))
6649 (home-page "https://wiki.gnome.org/Apps/Clocks")
6650 (synopsis "GNOME's clock application")
6651 (description
6652 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6653desktop. It supports world clock, stop watch, alarms, and count down timer.")
6654 (license license:gpl3+)))
6655
3c474897
KY
6656(define-public gnome-calendar
6657 (package
6658 (name "gnome-calendar")
a286b5eb 6659 (version "3.28.2")
3c474897
KY
6660 (source (origin
6661 (method url-fetch)
6662 (uri (string-append "mirror://gnome/sources/" name "/"
6663 (version-major+minor version) "/"
6664 name "-" version ".tar.xz"))
6665 (sha256
6666 (base32
a286b5eb 6667 "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw"))))
a49d3e37
MS
6668 (build-system meson-build-system)
6669 (arguments
6670 '(#:glib-or-gtk? #t
6671 ;; gnome-calendar has to be installed before the tests can be run
6672 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6673 #:tests? #f))
3c474897 6674 (native-inputs
a49d3e37
MS
6675 `(("gettext" ,gettext-minimal)
6676 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6677 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
6678 ("pkg-config" ,pkg-config)))
6679 (inputs
a49d3e37 6680 `(("evolution-data-server" ,evolution-data-server)
14c297fd 6681 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
6682 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6683 ("libdazzle" ,libdazzle)
571fb008 6684 ("libedataserverui" ,evolution-data-server "libedataserverui")
a286b5eb
RW
6685 ("libgweather" ,libgweather)
6686 ("geoclue" ,geoclue)))
3c474897
KY
6687 (home-page "https://wiki.gnome.org/Apps/Calendar")
6688 (synopsis "GNOME's calendar application")
6689 (description
6690 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 6691desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
6692 (license license:gpl3+)))
6693
57b14665
MS
6694(define-public gnome-todo
6695 (package
6696 (name "gnome-todo")
9f3c6c88 6697 (version "3.28.1")
57b14665
MS
6698 (source (origin
6699 (method url-fetch)
6700 (uri (string-append "mirror://gnome/sources/" name "/"
6701 (version-major+minor version) "/"
6702 name "-" version ".tar.xz"))
6703 (sha256
6704 (base32
9f3c6c88 6705 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
6706 (build-system meson-build-system)
6707 (arguments
6708 '(#:glib-or-gtk? #t
6709 #:phases (modify-phases %standard-phases
6710 (add-after
6711 'install 'wrap-gnome-todo
6712 (lambda* (#:key inputs outputs #:allow-other-keys)
6713 (let ((out (assoc-ref outputs "out"))
6714 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6715 (python-path (getenv "PYTHONPATH")))
6716 (wrap-program (string-append out "/bin/gnome-todo")
6717 ;; XXX: gi plugins are broken.
6718 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6719 ;; For plugins.
6720 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6721 `("PYTHONPATH" ":" prefix (,python-path))))
6722 #t)))))
6723 (native-inputs
6724 `(("gettext" ,gettext-minimal)
6725 ("gobject-introspection" ,gobject-introspection)
6726 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6727 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6728 ("pkg-config" ,pkg-config)))
6729 (inputs
6730 `(("rest" ,rest) ; For Todoist plugin
6731 ("json-glib" ,json-glib) ; For Todoist plugin
da43d1cb 6732 ("libedataserverui" ,evolution-data-server "libedataserverui")
57b14665
MS
6733 ("libical" ,libical)
6734 ("libpeas" ,libpeas)
6735 ("python-pygobject" ,python-pygobject)
6736 ("evolution-data-server" ,evolution-data-server)
14c297fd 6737 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
6738 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6739 (home-page "https://wiki.gnome.org/Apps/Todo")
6740 (synopsis "GNOME's ToDo Application")
6741 (description
6742 "GNOME To Do is a simplistic personal task manager designed to perfectly
6743fit the GNOME desktop.")
6744 (license license:gpl3+)))
6745
ab179eaf
SB
6746(define-public gnome-dictionary
6747 (package
6748 (name "gnome-dictionary")
cf81ddef 6749 (version "3.26.1")
ab179eaf
SB
6750 (source (origin
6751 (method url-fetch)
6752 (uri (string-append "mirror://gnome/sources/" name "/"
6753 (version-major+minor version) "/"
6754 name "-" version ".tar.xz"))
6755 (sha256
6756 (base32
cf81ddef
LC
6757 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6758 (build-system meson-build-system)
2776b5d5
MB
6759 (arguments '(#:glib-or-gtk? #t
6760 #:phases (modify-phases %standard-phases
6761 (add-after 'unpack 'patch-install-script
6762 (lambda _
6763 ;; This script attempts to compile glib schemas
6764 ;; and create an empty MIME database. We do
6765 ;; that elsewhere, so prevent it from running.
6766 (substitute* "build-aux/post-install.sh"
6767 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6768 #t)))))
ab179eaf
SB
6769 (native-inputs
6770 `(("glib:bin" ,glib "bin")
6771 ("gobject-introspection" ,gobject-introspection)
6772 ("intltool" ,intltool)
6773 ("itstool" ,itstool)
6774 ("pkg-config" ,pkg-config)
6775 ("xmllint" ,libxml2)))
6776 (inputs
6777 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6778 ("gtk+" ,gtk+)))
6779 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6780 (synopsis "Look up words in dictionary sources")
6781 (description
6782 "GNOME Dictionary can look for the definition or translation of a word in
6783existing databases over the internet.")
6784 (license license:gpl3+)))
6785
d13f3a03 6786(define-public gnome-tweaks
9365ee1c 6787 (package
d13f3a03
RW
6788 (name "gnome-tweaks")
6789 (version "3.28.1")
9365ee1c
JN
6790 (source (origin
6791 (method url-fetch)
d13f3a03 6792 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 6793 (version-major+minor version) "/"
d13f3a03
RW
6794 "gnome-tweaks-" version ".tar.xz"))
6795 (patches
6796 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
6797 (sha256
6798 (base32
d13f3a03
RW
6799 "1p5xydr0haz4389h6dvvbna6i1mipdzvmlfksnv0jqfvfs9sy6fp"))))
6800 (build-system meson-build-system)
9365ee1c 6801 (arguments
d13f3a03
RW
6802 `(#:glib-or-gtk? #t
6803 #:configure-flags '("-Dlocalstatedir=/tmp"
6804 "-Dsysconfdir=/tmp")
9365ee1c 6805 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
6806 ,@%meson-build-system-modules)
6807 #:phases
6808 (modify-phases %standard-phases
6809 (add-after 'install 'wrap
6810 (@@ (guix build python-build-system) wrap))
6811 (add-after 'wrap 'wrap-gi-typelib
6812 (lambda* (#:key inputs outputs #:allow-other-keys)
6813 (let ((out (assoc-ref outputs "out"))
6814 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6815 (wrap-program (string-append out "/bin/gnome-tweaks")
6816 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6817 #t)))))
9365ee1c 6818 (native-inputs
c7fc414e
RH
6819 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6820 ("intltool" ,intltool)
9365ee1c
JN
6821 ("pkg-config" ,pkg-config)))
6822 (inputs
c7fc414e
RH
6823 `(("gnome-desktop" ,gnome-desktop)
6824 ("gtk+" ,gtk+)
9365ee1c
JN
6825 ("gobject-introspection" ,gobject-introspection)
6826 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
6827 ("libnotify" ,libnotify)
6828 ("libsoup" ,libsoup)
6829 ("nautilus" ,nautilus)
6830 ("python" ,python)
6831 ("python-pygobject" ,python-pygobject)))
9365ee1c 6832 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 6833 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 6834 (description
d13f3a03 6835 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
6836GNOME 3. This includes things like the fonts used in user interface elements,
6837alternative user interface themes, changes in window management behavior,
6838GNOME Shell appearance and extension, etc.")
6839 (license license:gpl3+)))
813f814a 6840
d13f3a03
RW
6841;; This package has been renamed by upstream.
6842(define-public gnome-tweak-tool
6843 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
6844
32ac717c
DT
6845(define-public gnome-shell-extensions
6846 (package
6847 (name "gnome-shell-extensions")
100f625b 6848 (version "3.28.1")
32ac717c
DT
6849 (source (origin
6850 (method url-fetch)
6851 (uri (string-append "mirror://gnome/sources/" name "/"
6852 (version-major+minor version) "/"
6853 name "-" version ".tar.xz"))
6854 (sha256
6855 (base32
100f625b
RW
6856 "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9"))))
6857 (build-system meson-build-system)
32ac717c 6858 (arguments
100f625b 6859 '(#:configure-flags '("-Dextension_set=all")))
32ac717c
DT
6860 (native-inputs
6861 `(("intltool" ,intltool)
6862 ("pkg-config" ,pkg-config)))
6863 (propagated-inputs
6864 `(("glib" ,glib)
6865 ("glib" ,glib "bin")))
6866 (synopsis "Extensions for GNOME Shell")
6867 (description "GNOME Shell extensions modify and extend GNOME Shell
6868functionality and behavior.")
6869 (home-page "https://extensions.gnome.org/")
6870 (license license:gpl3+)))
6871
a7a31827
GL
6872(define-public numix-theme
6873 (package
6874 (name "numix-theme")
6875 (version "2.6.7")
6876 (source (origin
6877 (method git-fetch)
6878 (uri (git-reference
6879 (url "https://github.com/numixproject/numix-gtk-theme.git")
6880 (commit version)))
6881 (file-name (git-file-name name version))
6882 (sha256
6883 (base32
6884 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
6885 (build-system gnu-build-system)
6886 (arguments
6887 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
6888 #:phases
6889 (modify-phases %standard-phases
6890 (delete 'configure)
6891 (delete 'check))))
6892 (native-inputs
6893 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
6894 ("gnome-shell" ,gnome-shell)
6895 ("gtk+" ,gtk+)
6896 ("xmllint" ,libxml2)
6897 ("ruby-sass" ,ruby-sass)))
6898 (synopsis "Flat theme with light and dark elements")
6899 (description "Numix is a modern flat theme with a combination of light and
6900dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
6901 (home-page "https://numixproject.github.io")
6902 (license license:gpl3+)))
6903
813f814a
DT
6904(define-public arc-theme
6905 (package
6906 (name "arc-theme")
a18f8eaf 6907 (version "20181022")
813f814a 6908 (source (origin
a18f8eaf
BH
6909 (method git-fetch)
6910 (uri (git-reference
6911 (url "https://github.com/NicoHood/arc-theme.git")
6912 (commit version)))
6913 (file-name (git-file-name name version))
813f814a
DT
6914 (sha256
6915 (base32
a18f8eaf 6916 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
813f814a 6917 (build-system gnu-build-system)
d88884fa
EF
6918 (arguments
6919 '(#:phases
6920 (modify-phases %standard-phases
6921 ;; autogen.sh calls configure at the end of the script.
6922 (replace 'bootstrap
6923 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
6924 (native-inputs
6925 `(("autoconf" ,autoconf)
6926 ("automake" ,automake)
a18f8eaf
BH
6927 ("glib" ,glib "bin") ; for glib-compile-resources
6928 ("gnome-shell" ,gnome-shell)
6929 ("gtk+" ,gtk+)
6930 ("inkscape" ,inkscape)
6931 ("optipng" ,optipng)
6932 ("pkg-config" ,pkg-config)
6933 ("sassc" ,sassc)))
813f814a
DT
6934 (synopsis "A flat GTK+ theme with transparent elements")
6935 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
69362, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6937like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6938 (home-page "https://github.com/horst3180/arc-theme")
6939 ;; No "or later" language found.
a18f8eaf 6940 (license license:gpl3+)))
9987c57c 6941
d935e6a1 6942(define-public faba-icon-theme
9987c57c 6943 (package
d935e6a1 6944 (name "faba-icon-theme")
2eee7ee3 6945 (version "4.3")
d935e6a1
BT
6946 (source
6947 (origin
6948 (method url-fetch)
6949 (uri (string-append "https://github.com/moka-project/"
6950 name "/archive/v" version ".tar.gz"))
6951 (file-name (string-append name "-" version ".tar.gz"))
6952 (sha256
6953 (base32
2eee7ee3 6954 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
f6a9b345 6955 (build-system meson-build-system)
9987c57c 6956 (arguments
82da291a 6957 `(#:phases
9987c57c 6958 (modify-phases %standard-phases
82da291a 6959 (add-before 'configure 'disable-post-install
9987c57c 6960 (lambda _
82da291a
JL
6961 (substitute* "meson.build"
6962 (("meson.add_install_script.*") "")))))))
9987c57c
DT
6963 (native-inputs
6964 `(("autoconf" ,autoconf)
6965 ("automake" ,automake)))
d935e6a1
BT
6966 (synopsis "Faba icon theme")
6967 (description
6968 "Faba is a minimal icon set used as a basis for other themes such as
6969Moka")
6970 (home-page "https://snwh.org/moka")
6971 (license (list license:lgpl3+
6972 license:cc-by-sa4.0))))
6973
9987c57c
DT
6974(define-public moka-icon-theme
6975 (package
8b0e4177 6976 (inherit faba-icon-theme)
9987c57c 6977 (name "moka-icon-theme")
105a3625 6978 (version "5.4.0")
9987c57c
DT
6979 (source (origin
6980 (method url-fetch)
6981 (uri (string-append "https://github.com/moka-project"
6982 "/moka-icon-theme/archive/v"
6983 version ".tar.gz"))
6984 (file-name (string-append name "-" version ".tar.gz"))
6985 (sha256
6986 (base32
105a3625 6987 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
550281fb
BT
6988 (propagated-inputs
6989 ;; Moka is based on Faba by using it as a fallback icon set instead of
6990 ;; bundling it, so we need to add it as a propagated input.
6991 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
6992 (synopsis "Moka icon theme")
6993 (description "Moka is a stylized desktop icon set, designed to be clear,
6994simple and consistent.")
fedde43b
BT
6995 (license (list license:gpl3+
6996 license:cc-by-sa4.0))))
6fd8f8d6
DT
6997
6998(define-public arc-icon-theme
6999 (package
7000 (name "arc-icon-theme")
c4180240 7001 (version "20161122")
6fd8f8d6
DT
7002 (source (origin
7003 (method url-fetch)
7004 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7005 "/archive/" version ".tar.gz"))
7006 (file-name (string-append name "-" version ".tar.gz"))
7007 (sha256
7008 (base32
c4180240 7009 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6fd8f8d6 7010 (build-system gnu-build-system)
9e1ede95
JL
7011 (arguments
7012 `(#:phases
7013 (modify-phases %standard-phases
7014 (add-after 'unpack 'disable-configure-during-bootstrap
7015 (lambda _
7016 (substitute* "autogen.sh"
7017 (("^\"\\$srcdir/configure\".*") ""))
7018 #t)))))
6fd8f8d6
DT
7019 (native-inputs
7020 `(("autoconf" ,autoconf)
7021 ("automake" ,automake)))
7022 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7023 (propagated-inputs
7024 `(("moka-icon-theme" ,moka-icon-theme)))
7025 (synopsis "Arc icon theme")
7026 (description "The Arc icon theme provides a set of icons matching the
7027style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7028the Moka icon theme.")
7029 (home-page "https://github.com/horst3180/arc-icon-theme")
7030 (license license:gpl3+)))
6064a4e8
LF
7031
7032(define-public folks
7033 (package
7034 (name "folks")
d23495fa 7035 (version "0.11.4")
6064a4e8
LF
7036 (source (origin
7037 (method url-fetch)
7038 (uri (string-append
e5f4796e 7039 "mirror://gnome/sources/folks/"
6064a4e8 7040 (version-major+minor version) "/"
e5f4796e 7041 "folks-" version ".tar.xz"))
6064a4e8
LF
7042 (sha256
7043 (base32
d23495fa 7044 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
7045 (build-system glib-or-gtk-build-system)
7046 (inputs
7047 `(("bdb" ,bdb)
7048 ("dbus-glib" ,dbus-glib)
7049 ("evolution-data-server" ,evolution-data-server)
7050 ("glib" ,glib)
7051 ("libgee" ,libgee)
7052 ("telepathy-glib" ,telepathy-glib)))
7053 (native-inputs
7054 `(("gobject-introspection" ,gobject-introspection)
7055 ("intltool" ,intltool)
7056 ("pkg-config" ,pkg-config)
7057 ("vala" ,vala)))
7058 (synopsis "Library to aggregate data about people")
7059 (description "Libfolks is a library that aggregates information about people
7060from multiple sources (e.g., Telepathy connection managers for IM contacts,
7061Evolution Data Server for local contacts, libsocialweb for web service contacts,
7062etc.) to create metacontacts. It's written in Vala, which generates C code when
7063compiled.")
7064 (home-page "https://wiki.gnome.org/Projects/Folks")
7065 (license license:lgpl2.1+)))
01ea778f
LF
7066
7067(define-public gfbgraph
7068 (package
7069 (name "gfbgraph")
7070 (version "0.2.3")
7071 (source (origin
7072 (method url-fetch)
7073 (uri (string-append
7074 "mirror://gnome/sources/" name "/"
7075 (version-major+minor version) "/"
7076 name "-" version ".tar.xz"))
7077 (sha256
7078 (base32
7079 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7080 (build-system glib-or-gtk-build-system)
7081 (arguments
7082 `(#:tests? #f ; Tests appear to require the network.
7083 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7084 #:configure-flags '("--disable-gtk-doc"
7085 "--disable-static"
7086 "--enable-introspection")))
7087 (native-inputs
7088 `(("pkg-config" ,pkg-config)
7089 ("gobject-introspection" ,gobject-introspection)))
7090 (inputs
7091 `(("json-glib" ,json-glib)
14c297fd 7092 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
7093 ("rest" ,rest)))
7094 (synopsis "GLib/GObject wrapper for the Facebook API")
7095 (description "This library allows you to use the Facebook API from
7096GLib/GObject code.")
7097 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7098 (license license:lgpl2.1+)))
3920868c 7099
7100(define-public libgnomekbd
7101 (package
7102 (name "libgnomekbd")
4a3f6e02 7103 (version "3.26.0")
3920868c 7104 (source (origin
7105 (method url-fetch)
7106 (uri (string-append "mirror://gnome/sources/" name "/"
7107 (version-major+minor version) "/"
7108 name "-" version ".tar.xz"))
7109 (sha256
7110 (base32
4a3f6e02 7111 "0xc8jrc44x2h24v28wv36k70k7bwxy6p2vsvxvvia1n3ay642fza"))))
3920868c 7112 (build-system gnu-build-system)
7113 (native-inputs
7114 `(("pkg-config" ,pkg-config)
7115 ("glib" ,glib "bin")
7116 ("intltool" ,intltool)))
7117 (propagated-inputs
7118 ;; Referred to in .h files and .pc.
7119 `(("glib" ,glib)
7120 ("gtk+" ,gtk+)
7121 ("libxklavier" ,libxklavier)))
7122 (home-page "https://www.gnome.org")
7123 (synopsis "GNOME keyboard configuration library")
7124 (description
7125 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7126environment, which can notably display keyboard layouts.")
7127 (license license:lgpl2.0+)))
85327d0d 7128
7129;;; This package is no longer maintained:
7130;;; https://wiki.gnome.org/Attic/LibUnique
7131;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7132;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7133(define-public libunique
7134 (package
7135 (name "libunique")
7136 (version "3.0.2")
7137 (source (origin
7138 (method url-fetch)
7139 (uri (string-append "mirror://gnome/sources/" name "/"
7140 (version-major+minor version) "/"
7141 name "-" version ".tar.xz"))
7142 (sha256
7143 (base32
7144 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7145 (build-system glib-or-gtk-build-system)
7146 (arguments
7147 `(#:configure-flags '("--disable-static"
7148 "--disable-dbus" ; use gdbus
7149 "--enable-introspection")))
7150 (native-inputs
7151 `(("pkg-config" ,pkg-config)
7152 ("gobject-introspection" ,gobject-introspection)
7153 ("glib:bin" ,glib "bin")
7154 ("gtk-doc" ,gtk-doc)))
7155 (propagated-inputs
7156 ;; Referred to in .h files and .pc.
7157 `(("gtk+" ,gtk+)))
7158 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7159 (synopsis "Library for writing single instance applications")
7160 (description
7161 "Libunique is a library for writing single instance applications. If you
7162launch a single instance application twice, the second instance will either just
7163quit or will send a message to the running instance. Libunique makes it easy to
7164write this kind of application, by providing a base class, taking care of all
7165the IPC machinery needed to send messages to a running instance, and also
7166handling the startup notification side.")
7167 (license license:lgpl2.1+)))
54021cd8
RS
7168
7169(define-public gnome-calculator
7170 (package
7171 (name "gnome-calculator")
2d475910 7172 (version "3.30.1")
54021cd8
RS
7173 (source
7174 (origin
7175 (method url-fetch)
7176 (uri (string-append "mirror://gnome/sources/" name "/"
7177 (version-major+minor version) "/"
7178 name "-" version ".tar.xz"))
7179 (sha256
7180 (base32
2d475910
RW
7181 "0qkzcmj51cjmljxl1nc84h6jgq1a51xj4g6jwh3ymgm19m3sqypc"))))
7182 (build-system meson-build-system)
7183 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
7184 (native-inputs
7185 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 7186 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
7187 ("intltool" ,intltool)
7188 ("itstool" ,itstool)
2d475910 7189 ("vala" ,vala)
54021cd8
RS
7190 ("pkg-config" ,pkg-config)))
7191 (inputs
112e9083
RW
7192 `(("glib" ,glib)
7193 ("gtksourceview" ,gtksourceview-3)
54021cd8 7194 ("libsoup" ,libsoup)
112e9083 7195 ("libxml2" ,libxml2)
2c2da7ec 7196 ("mpc" ,mpc)
54021cd8
RS
7197 ("mpfr" ,mpfr)))
7198 (home-page "https://wiki.gnome.org/Apps/Calculator")
7199 (synopsis "Desktop calculator")
7200 (description
7201 "Calculator is an application that solves mathematical equations and
7202is suitable as a default application in a Desktop environment.")
7203 (license license:gpl3)))
0bd69759
RS
7204
7205(define-public xpad
7206 (package
7207 (name "xpad")
c85626bb 7208 (version "5.1.0")
0bd69759
RS
7209 (source
7210 (origin
7211 (method url-fetch)
08fda9c6
R
7212 (uri (string-append "https://launchpad.net/xpad/trunk/"
7213 version "/+download/"
0bd69759
RS
7214 name "-" version ".tar.bz2"))
7215 (sha256
7216 (base32
c85626bb 7217 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
7218 (build-system gnu-build-system)
7219 (native-inputs
08fda9c6
R
7220 `(("autoconf" ,autoconf)
7221 ("automake" ,automake)
7222 ("gtk+:bin" ,gtk+ "bin")
7223 ("intltool" ,intltool)
0bd69759
RS
7224 ("pkg-config" ,pkg-config)))
7225 (inputs
08fda9c6 7226 `(("gtksourceview" ,gtksourceview)
0bd69759
RS
7227 ("libsm" ,libsm)))
7228 (home-page "https://wiki.gnome.org/Apps/Xpad")
7229 (synopsis "Virtual sticky note")
7230 (description
7231 "Xpad is a sticky note that strives to be simple, fault tolerant,
7232and customizable. Xpad consists of independent pad windows, each is
7233basically a text box in which notes can be written.")
7234 (license license:gpl3+)))
3ad7dce1
RS
7235
7236(define-public gucharmap
c60063ea
RW
7237 (let ((unicode-files
7238 '(("Blocks.txt"
7239 "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
7240 ("DerivedAge.txt"
7241 "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
7242 ("NamesList.txt"
7243 "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
7244 ("Scripts.txt"
7245 "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
7246 ("UnicodeData.txt"
7247 "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
7248 ("Unihan.zip"
7249 "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
7250 (package
7251 (name "gucharmap")
7252 (version "10.0.4")
7253 (source
7254 (origin
7255 (method url-fetch)
7256 (uri (string-append "mirror://gnome/sources/" name "/"
7257 (version-major+minor version) "/"
7258 name "-" version ".tar.xz"))
7259 (sha256
7260 (base32
7261 "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
7262 (build-system glib-or-gtk-build-system)
7263 (arguments
7264 `(#:modules ((ice-9 match)
7265 (guix build glib-or-gtk-build-system)
7266 (guix build utils))
7267 #:configure-flags
7268 (list "--with-unicode-data=../unicode-data")
7269 #:phases
7270 (modify-phases %standard-phases
7271 (add-after 'unpack 'prepare-unicode-data
7272 (lambda* (#:key inputs #:allow-other-keys)
7273 (mkdir-p "../unicode-data")
7274 (with-directory-excursion "../unicode-data"
7275 (for-each (match-lambda
7276 ((file _)
7277 (install-file (assoc-ref inputs file) ".")))
7278 ',unicode-files))
7279 #t)))))
7280 (native-inputs
7281 `(("desktop-file-utils" ,desktop-file-utils)
7282 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7283 ("gobject-introspection" ,gobject-introspection)
7284 ("intltool" ,intltool)
7285 ("itstool" ,itstool)
7286 ("pkg-config" ,pkg-config)
7287 ,@(map (match-lambda
7288 ((file hash)
7289 `(,file
7290 ,(origin
7291 (method url-fetch)
7292 (uri (string-append
7293 "http://www.unicode.org/Public/10.0.0/ucd/"
7294 file))
7295 (sha256 (base32 hash))))))
7296 unicode-files)
7297 ("unzip" ,unzip)))
7298 (inputs
7299 `(("gtk+" ,gtk+)
7300 ("xmllint" ,libxml2)))
7301 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7302 (synopsis "Unicode character picker and font browser")
7303 (description
7304 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
7305characters and categories for the installed fonts, and to examine their
7306detailed properties. It is an easy way to find the character you might
7307only know by its Unicode name or code point.")
c60063ea 7308 (license license:gpl3+))))
04ce840a
RS
7309
7310(define-public bluefish
7311 (package
7312 (name "bluefish")
ea8afaf3 7313 (version "2.2.10")
04ce840a
RS
7314 (source
7315 (origin
7316 (method url-fetch)
7317 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7318 name "-" version ".tar.gz"))
7319 (sha256
7320 (base32
ea8afaf3 7321 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
7322 (build-system gnu-build-system)
7323 (native-inputs
7324 `(("desktop-file-utils" ,desktop-file-utils)
7325 ("intltool" ,intltool)
7326 ("pkg-config" ,pkg-config)))
7327 (inputs
7328 `(("enchant" ,enchant)
7329 ("gtk+" ,gtk+)
7330 ("python" ,python-2)
7331 ("xmllint" ,libxml2)
7332 ("gucharmap" ,gucharmap)))
7333 (home-page "http://bluefish.openoffice.nl")
7334 (synopsis "Web development studio")
7335 (description
7336 "Bluefish is an editor targeted towards programmers and web developers,
7337with many options to write web sites, scripts and other code.
7338Bluefish supports many programming and markup languages.")
7339 (license license:gpl3+)))
1f6a73ee
RS
7340
7341(define-public gnome-system-monitor
7342 (package
7343 (name "gnome-system-monitor")
85fb3df3 7344 (version "3.30.0")
1f6a73ee
RS
7345 (source
7346 (origin
7347 (method url-fetch)
7348 (uri (string-append "mirror://gnome/sources/" name "/"
7349 (version-major+minor version) "/"
7350 name "-" version ".tar.xz"))
7351 (sha256
7352 (base32
85fb3df3
RW
7353 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7354 (build-system meson-build-system)
7355 (arguments
7356 '(#:glib-or-gtk? #t
7357 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
7358 (native-inputs
7359 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 7360 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
7361 ("intltool" ,intltool)
7362 ("itstool" ,itstool)
7363 ("libgtop" ,libgtop)
4985d9aa 7364 ("polkit" ,polkit)
1f6a73ee
RS
7365 ("pkg-config" ,pkg-config)))
7366 (inputs
7367 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7368 ("gtk+" ,gtk+)
7369 ("gtkmm" ,gtkmm)
7370 ("librsvg" ,librsvg)
4985d9aa
RW
7371 ("libxml2" ,libxml2)
7372 ("libwnck" ,libwnck)))
1f6a73ee
RS
7373 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7374 (synopsis "Process viewer and system resource monitor for GNOME")
7375 (description
7376 "GNOME System Monitor is a GNOME process viewer and system monitor with
7377an attractive, easy-to-use interface. It has features, such as a tree view
7378for process dependencies, icons for processes, the ability to hide processes,
7379graphical time histories of CPU/memory/swap usage and the ability to
7380kill/reinice processes.")
7381 (license license:gpl2+)))
3e00ac47
SB
7382
7383(define-public python-pyatspi
7384 (package
7385 (name "python-pyatspi")
84548bd7 7386 (version "2.26.0")
3e00ac47
SB
7387 (source (origin
7388 (method url-fetch)
7389 (uri (string-append
7390 "mirror://gnome/sources/pyatspi/"
7391 (version-major+minor version)
7392 "/pyatspi-" version ".tar.xz"))
7393 (sha256
7394 (base32
84548bd7 7395 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))))
3e00ac47
SB
7396 (build-system gnu-build-system)
7397 (native-inputs
7398 `(("pkg-config" ,pkg-config)))
7399 (inputs
7400 `(("python" ,python)
7401 ("python-pygobject" ,python-pygobject)))
7402 (synopsis "Python client bindings for D-Bus AT-SPI")
7403 (home-page "https://wiki.linuxfoundation.org/accessibility\
7404/atk/at-spi/at-spi_on_d-bus")
7405 (description
7406 "This package includes a python client library for the AT-SPI D-Bus
7407accessibility infrastructure.")
7408 (license license:lgpl2.0)
7409 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
7410
7411(define-public orca
7412 (package
7413 (name "orca")
870a4e70 7414 (version "3.28.1")
53201c0d
SB
7415 (source (origin
7416 (method url-fetch)
7417 (uri (string-append
7418 "mirror://gnome/sources/" name "/"
7419 (version-major+minor version) "/"
7420 name "-" version ".tar.xz"))
7421 (sha256
7422 (base32
870a4e70 7423 "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g"))))
53201c0d
SB
7424 (build-system glib-or-gtk-build-system)
7425 (arguments
7426 '(#:phases
7427 (modify-phases %standard-phases
7428 (add-before 'configure 'qualify-xkbcomp
7429 (lambda* (#:key inputs #:allow-other-keys)
7430 (let ((xkbcomp (string-append
7431 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7432 (substitute* "src/orca/orca.py"
7433 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7434 #t))
7435 (add-after 'install 'wrap-orca
7436 (lambda* (#:key outputs #:allow-other-keys)
7437 (let* ((out (assoc-ref outputs "out"))
7438 (prog (string-append out "/bin/orca")))
7439 (wrap-program prog
7440 `("GI_TYPELIB_PATH" ":" prefix
7441 (,(getenv "GI_TYPELIB_PATH")))
7442 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7443 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7444 `("PYTHONPATH" ":" prefix
7445 (,(getenv "PYTHONPATH")))))
7446 #t)))))
7447 (native-inputs
7448 `(("intltool" ,intltool)
7449 ("itstool" ,itstool)
7450 ("pkg-config" ,pkg-config)
7451 ("xmllint" ,libxml2)))
7452 (inputs
7453 `(("at-spi2-atk" ,at-spi2-atk)
7454 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7455 ("gstreamer" ,gstreamer)
7456 ("gst-plugins-base" ,gst-plugins-base)
7457 ("gst-plugins-good" ,gst-plugins-good)
7458 ("gtk+" ,gtk+)
7459 ("python" ,python)
7460 ("python-pygobject" ,python-pygobject)
7461 ("python-pyatspi" ,python-pyatspi)
7462 ("python-speechd" ,speech-dispatcher)
7463 ("xkbcomp" ,xkbcomp)))
7464 (synopsis
7465 "Screen reader for individuals who are blind or visually impaired")
7466 (home-page "https://wiki.gnome.org/Projects/Orca")
7467 (description
7468 "Orca is a screen reader that provides access to the graphical desktop
7469via speech and refreshable braille. Orca works with applications and toolkits
7470that support the Assistive Technology Service Provider Interface (AT-SPI).")
7471 (license license:lgpl2.1+)))
411ba511
LC
7472
7473(define-public gspell
7474 (package
7475 (name "gspell")
9b1bb757 7476 (version "1.8.1")
411ba511
LC
7477 (source (origin
7478 (method url-fetch)
7479 (uri (string-append "mirror://gnome/sources/" name "/"
7480 (version-major+minor version) "/"
7481 name "-" version ".tar.xz"))
7482 (sha256
7483 (base32
9b1bb757 7484 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
411ba511
LC
7485 (patches (search-patches "gspell-dash-test.patch"))))
7486 (build-system glib-or-gtk-build-system)
7487 (arguments
7488 '(#:phases
7489 (modify-phases %standard-phases
7490 (add-before 'check 'pre-check
7491 (lambda* (#:key inputs #:allow-other-keys)
7492 ;; Tests require a running X server.
7493 (system "Xvfb :1 &")
7494 (setenv "DISPLAY" ":1")
7495
7496 ;; For the missing /etc/machine-id.
7497 (setenv "DBUS_FATAL_WARNINGS" "0")
7498
7499 ;; Allow Enchant and its Aspell backend to find the en_US
7500 ;; dictionary.
7501 (setenv "ASPELL_DICT_DIR"
7502 (string-append (assoc-ref inputs "aspell-dict-en")
7503 "/lib/aspell"))
7504 #t)))))
7505 (inputs
eccd35be 7506 `(("gtk+" ,gtk+)
a801ae4c
TGR
7507 ("glib" ,glib)
7508 ("iso-codes" ,iso-codes)))
411ba511
LC
7509 (native-inputs
7510 `(("glib" ,glib "bin")
7511 ("pkg-config" ,pkg-config)
7512 ("xmllint" ,libxml2)
7513
7514 ;; For tests.
a801ae4c
TGR
7515 ("aspell-dict-en" ,aspell-dict-en)
7516 ("xorg-server" ,xorg-server)))
eccd35be 7517 (propagated-inputs
9b1bb757 7518 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
7519 (home-page "https://wiki.gnome.org/Projects/gspell")
7520 (synopsis "GNOME's alternative spell checker")
7521 (description
7522 "gspell provides a flexible API to add spell-checking to a GTK+
7523application. It provides a GObject API, spell-checking to text entries and
7524text views, and buttons to choose the language.")
7525 (license license:gpl2+)))
d1d739fa
CM
7526
7527(define-public gnome-planner
7528 (package
7529 (name "gnome-planner")
7530 (version "0.14.6")
7531 (source (origin
7532 (method url-fetch)
7533 (uri (string-append "mirror://gnome/sources/planner/"
7534 (version-major+minor version) "/planner-"
7535 version ".tar.xz"))
7536 (sha256
7537 (base32
7538 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7539 (build-system glib-or-gtk-build-system)
7540 (arguments
7541 ;; Disable the Python bindings because the Planner program functions
7542 ;; without them, and (as of 2017-06-13) we have not packaged all of
7543 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
7544 `(#:configure-flags
7545 (list "--disable-python"
7546 ,@(if (string=? "aarch64-linux" (%current-system))
7547 '("--build=aarch64-unknown-linux-gnu")
7548 '()))))
d1d739fa
CM
7549 (inputs
7550 `(("libgnomecanvas" ,libgnomecanvas)
7551 ("libgnomeui" ,libgnomeui)
7552 ("libglade" ,libglade)
7553 ("gnome-vfs" ,gnome-vfs)
7554 ("gconf" ,gconf)
7555 ("libxml2" ,libxml2)
7556 ("libxslt" ,libxslt)
7557 ("gtk+" ,gtk+)
7558 ("glib" ,glib)))
7559 (native-inputs
7560 `(("intltool" ,intltool)
7561 ("scrollkeeper" ,scrollkeeper)
7562 ("pkg-config" ,pkg-config)))
7563 (home-page "https://wiki.gnome.org/Apps/Planner")
7564 (synopsis "Project management software for the GNOME desktop")
7565 (description
7566 "GNOME Planner is a project management tool based on the Work Breakdown
7567Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7568the resources, tasks, and constraints that you define, Planner generates
7569various views into a project. For example, Planner can show a Gantt chart of
7570the project. It can show a detailed summary of tasks including their
7571duration, cost, and current progress. It can also show a report of resource
7572utilization that highlights under-utilized and over-utilized resources. These
7573views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 7574 (license license:gpl2+)))
64fce637
RS
7575
7576(define-public lollypop
7577 (package
7578 (name "lollypop")
b98eace8 7579 (version "0.9.521")
64fce637
RS
7580 (source
7581 (origin
7582 (method url-fetch)
b98eace8
CB
7583 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7584 "e4df2ed75c5ed71d64afcc668e579b2a/"
64fce637
RS
7585 name "-" version ".tar.xz"))
7586 (sha256
7587 (base32
b98eace8 7588 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
aa498fc0 7589 (build-system meson-build-system)
64fce637
RS
7590 (arguments
7591 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
7592 ,@%meson-build-system-modules)
7593 #:glib-or-gtk? #t
5fc9b6c1
EF
7594 #:tests? #f ; no test suite
7595 #:phases
7596 (modify-phases %standard-phases
5fc9b6c1
EF
7597 (add-after 'install 'wrap-program
7598 (lambda* (#:key outputs #:allow-other-keys)
7599 (let ((out (assoc-ref outputs "out"))
7600 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7601 (wrap-program (string-append out "/bin/lollypop")
7602 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7603 #t))
7604 (add-after 'install 'wrap
7605 (@@ (guix build python-build-system) wrap)))))
64fce637
RS
7606 (native-inputs
7607 `(("intltool" ,intltool)
7608 ("itstool" ,itstool)
aa498fc0
TD
7609 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7610 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
7611 ("pkg-config" ,pkg-config)))
7612 (inputs
7613 `(("gobject-introspection" ,gobject-introspection)
5fc9b6c1 7614 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
7615 ("libnotify" ,libnotify)
7616 ("libsecret" ,libsecret)
7617 ("libsoup" ,libsoup)
7618 ("python" ,python)
7619 ("python-beautifulsoup4" ,python-beautifulsoup4)
7620 ("python-gst" ,python-gst)
7621 ("python-pycairo" ,python-pycairo)
7622 ("python-pygobject" ,python-pygobject)
7623 ("python-pylast" ,python-pylast)
7624 ("totem-pl-parser" ,totem-pl-parser)
7625 ("webkitgtk" ,webkitgtk)))
7626 (propagated-inputs
7627 `(;; gst-plugins-base is required to start Lollypop,
7628 ;; the others are required to play streaming.
64fce637
RS
7629 ("gst-plugins-good" ,gst-plugins-good)
7630 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 7631 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
7632 (synopsis "GNOME music playing application")
7633 (description
7634 "Lollypop is a music player designed to play well with GNOME desktop.
7635Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7636from artists and tracks from the web. It also fetches cover artworks
7637automatically and it can stream songs from online music services and charts.")
7638 (license license:gpl3+)))
d831d49d
AW
7639
7640(define-public gnome-video-effects
7641 (package
7642 (name "gnome-video-effects")
7643 (version "0.4.3")
7644 (source (origin
7645 (method url-fetch)
7646 (uri (string-append "mirror://gnome/sources/" name "/"
7647 (version-major+minor version) "/" name "-"
7648 version ".tar.xz"))
7649 (sha256
7650 (base32
7651 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7652 (build-system glib-or-gtk-build-system)
7653 (arguments
7654 `(#:out-of-source? #f))
7655 (native-inputs
7656 `(("glib:bin" ,glib "bin")
7657 ("intltool" ,intltool)
7658 ("gettext" ,gettext-minimal)
7659 ("pkg-config" ,pkg-config)))
7660 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7661 (synopsis "Video effects for Cheese and other GNOME applications")
7662 (description
7663 "A collection of GStreamer video filters and effects to be used in
7664photo-booth-like software, such as Cheese.")
7665 (license license:gpl2+)))
3511c780
AW
7666
7667(define-public cheese
7668 (package
7669 (name "cheese")
4b3480d6 7670 (version "3.28.0")
3511c780
AW
7671 (source (origin
7672 (method url-fetch)
7673 (uri (string-append "mirror://gnome/sources/" name "/"
7674 (version-major+minor version) "/" name "-"
7675 version ".tar.xz"))
7676 (sha256
7677 (base32
4b3480d6 7678 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
3511c780
AW
7679 (arguments
7680 ;; Tests require GDK.
7681 `(#:tests? #f
7682 #:phases
7683 (modify-phases %standard-phases
7684 (add-before 'install 'skip-gtk-update-icon-cache
7685 (lambda _
7686 ;; Don't create 'icon-theme.cache'
7687 (substitute* "Makefile"
7688 (("gtk-update-icon-cache") (which "true")))
7689 #t))
7690 (add-after 'install 'wrap-cheese
7691 (lambda* (#:key inputs outputs #:allow-other-keys)
7692 (let ((out (assoc-ref outputs "out"))
7693 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7694 (wrap-program (string-append out "/bin/cheese")
7695 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7696 #t)))))
7697 (build-system glib-or-gtk-build-system)
7698 (native-inputs
7699 `(("glib:bin" ,glib "bin")
7700 ("intltool" ,intltool)
7701 ("itstool" ,itstool)
7702 ("libxml2" ,libxml2)
7703 ("pkg-config" ,pkg-config)
7704 ("vala" ,vala)))
7705 (propagated-inputs
6a19f03e
RW
7706 `(("gnome-video-effects" ,gnome-video-effects)
7707 ("clutter" ,clutter)
3511c780
AW
7708 ("clutter-gst" ,clutter-gst)
7709 ("clutter-gtk" ,clutter-gtk)
6a19f03e 7710 ("libcanberra" ,libcanberra)
3511c780
AW
7711 ("gdk-pixbuf" ,gdk-pixbuf)
7712 ("glib" ,glib)
6a19f03e
RW
7713 ("gstreamer" ,gstreamer)))
7714 (inputs
7715 `(("gnome-desktop" ,gnome-desktop)
3511c780 7716 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
7717 ("gst-plugins-base" ,gst-plugins-base)
7718 ("gst-plugins-bad" ,gst-plugins-bad)
7719 ("gtk+" ,gtk+)
3511c780
AW
7720 ("libx11" ,libx11)
7721 ("libxtst" ,libxtst)))
7722 (home-page "https://wiki.gnome.org/Apps/Cheese")
7723 (synopsis "Webcam photo booth software for GNOME")
7724 (description
7725 "Cheese uses your webcam to take photos and videos. Cheese can also
7726apply fancy special effects and lets you share the fun with others.")
7727 (license license:gpl2+)))
3c5dbd2b 7728
7729(define-public sound-juicer
7730 (package
7731 (name "sound-juicer")
7732 (version "3.24.0")
7733 (source
7734 (origin
7735 (method url-fetch)
7736 (uri (string-append "mirror://gnome/sources/" name "/"
7737 (version-major+minor version) "/"
7738 name "-" version ".tar.xz"))
7739 (sha256
7740 (base32
7741 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7742 (build-system glib-or-gtk-build-system)
7743 (native-inputs
7744 `(("desktop-file-utils" ,desktop-file-utils)
7745 ("intltool" ,intltool)
7746 ("itstool" ,itstool)
7747 ("pkg-config" ,pkg-config)
7748 ("xmllint" ,libxml2)))
7749 (inputs
7750 `(("gtk+" ,gtk+)
7751 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7752 ("gstreamer" ,gstreamer)
7753 ("gst-plugins-base" ,gst-plugins-base)
7754 ("gst-plugins-good" ,gst-plugins-good)
7755 ("iso-codes" ,iso-codes)
7756 ("libbrasero-media3" ,brasero)
7757 ("libcanberra" ,libcanberra)
7758 ("libdiscid" ,libdiscid)
7759 ("libmusicbrainz" ,libmusicbrainz)
7760 ("neon" ,neon)))
7761 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7762 (synopsis "Audio music cd ripper")
7763 (description "Sound Juicer extracts audio from compact discs and convert it
7764into audio files that a personal computer or digital audio player can play.
7765It supports ripping to any audio codec supported by a GStreamer plugin, such as
7766mp3, Ogg Vorbis and FLAC")
7767 (license license:gpl2+)))
4e3fdeb7 7768
0d3f1708
CB
7769(define-public soundconverter
7770 (package
7771 (name "soundconverter")
fa75a213 7772 (version "3.0.1")
0d3f1708
CB
7773 (source
7774 (origin
7775 (method url-fetch)
7776 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7777 version "/+download/"
7778 "soundconverter-" version ".tar.xz"))
7779
7780 (sha256
fa75a213 7781 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
7782 (patches
7783 (search-patches
7784 "soundconverter-remove-gconf-dependency.patch"))))
7785 (build-system glib-or-gtk-build-system)
7786 (arguments
7787 `(#:imported-modules ((guix build python-build-system)
7788 (guix build glib-or-gtk-build-system)
7789 ,@%gnu-build-system-modules)
7790
7791 #:modules ((guix build glib-or-gtk-build-system)
7792 (guix build utils)
7793 ((guix build gnu-build-system) #:prefix gnu:)
7794 ((guix build python-build-system) #:prefix python:))
7795
7796 #:phases
7797 (modify-phases %standard-phases
0d3f1708
CB
7798 (add-after 'install 'wrap-soundconverter-for-python
7799 (assoc-ref python:%standard-phases 'wrap))
7800 (add-after 'install 'wrap-soundconverter
7801 (lambda* (#:key inputs outputs #:allow-other-keys)
7802 (let ((out (assoc-ref outputs "out"))
7803 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7804 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7805 (wrap-program (string-append out "/bin/soundconverter")
7806 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7807 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7808 #t)))))
7809 (native-inputs
7810 `(("intltool" ,intltool)
7811 ("pkg-config" ,pkg-config)
7812 ("glib:bin" ,glib "bin")))
7813 (inputs
7814 `(("gtk+" ,gtk+)
7815 ("python" ,python)
7816 ("python-pygobject" ,python-pygobject)
7817 ("gstreamer" ,gstreamer)
7818 ("gst-plugins-base" ,gst-plugins-base)))
7819 (home-page "http://soundconverter.org/")
7820 (synopsis "Convert between audio formats with a graphical interface")
7821 (description
7822 "SoundConverter supports converting between many audio formats including
7823Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7824configurable file renaming. ")
7825 (license license:gpl3)))
7826
4e3fdeb7 7827(define-public workrave
89f2d736
TGR
7828 (package
7829 (name "workrave")
c2e50474 7830 (version "1.10.23")
89f2d736
TGR
7831 (source
7832 (origin
7833 (method git-fetch)
7834 (uri (git-reference
7835 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
7836 (commit (string-append "v" (string-map
7837 (match-lambda (#\. #\_) (chr chr))
7838 version)))))
89f2d736
TGR
7839 (file-name (git-file-name name version))
7840 (sha256
c2e50474 7841 (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw"))))
89f2d736
TGR
7842 (build-system glib-or-gtk-build-system)
7843 (propagated-inputs `(("glib" ,glib)
7844 ("gtk+" ,gtk+)
7845 ("gdk-pixbuf" ,gdk-pixbuf)
7846 ("gtkmm" ,gtkmm)
7847 ("glibmm" ,glibmm)
7848 ("libx11" ,libx11)
7849 ("libxtst" ,libxtst)
7850 ("dconf" ,dconf)
7851 ("libice" ,libice)))
7852 (inputs `(("libsm" ,libsm)
7853 ("python-cheetah" ,python2-cheetah)))
7854 (native-inputs `(("glib" ,glib "bin")
7855 ("pkg-config" ,pkg-config)
7856 ("gettext" ,gnu-gettext)
7857 ("autoconf" ,autoconf)
7858 ("autoconf-archive" , autoconf-archive)
7859 ("automake" ,automake)
7860 ("libtool" ,libtool)
7861 ("intltool" ,intltool)
7862 ("libxscrnsaver" ,libxscrnsaver)
7863 ("gobject-introspection" ,gobject-introspection)
7864 ("python2" ,python-2)))
7865 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7866 (description
7867 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
7868repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7869micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
7870 (home-page "http://www.workrave.org")
7871 (license license:gpl3+)))
312afa7d
LC
7872
7873(define-public ghex
7874 (package
7875 (name "ghex")
7876 (version "3.18.3")
7877 (source (origin
7878 (method url-fetch)
2fbab848 7879 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 7880 (version-major+minor version) "/"
2fbab848 7881 "ghex-" version ".tar.xz"))
312afa7d
LC
7882 (sha256
7883 (base32
7884 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7885 (build-system glib-or-gtk-build-system)
7886 (native-inputs
7887 `(("pkg-config" ,pkg-config)
7888 ("gnome-common" ,gnome-common)
7889 ("which" ,which)
7890 ("intltool" ,intltool)
7891 ("yelp-tools" ,yelp-tools)
2fbab848 7892 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
7893 (inputs
7894 `(("atk" ,atk)
7895 ("gtk" ,gtk+)))
7896 (synopsis "GNOME hexadecimal editor")
7897 (description "The GHex program can view and edit files in two ways:
7898hexadecimal or ASCII. It is useful for editing binary files in general.")
7899 (home-page "https://wiki.gnome.org/Apps/Ghex")
7900 (license license:gpl2)))
4b2ed6c2
RW
7901
7902(define-public libdazzle
7903 (package
7904 (name "libdazzle")
817b3fd1 7905 (version "3.30.2")
4b2ed6c2
RW
7906 (source (origin
7907 (method url-fetch)
687b4909 7908 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 7909 (version-major+minor version) "/"
687b4909 7910 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
7911 (sha256
7912 (base32
817b3fd1 7913 "1m9n1gcxndly24rjkxzvmx02a2rkb6ad4cy7p6ncanm1kyp0wxvq"))))
4b2ed6c2
RW
7914 (build-system meson-build-system)
7915 (arguments
7916 `(#:phases
7917 (modify-phases %standard-phases
7918 (add-after 'unpack 'disable-failing-test
7919 (lambda _
7920 ;; Disable failing test.
7921 (substitute* "tests/meson.build"
7922 (("test\\('test-application") "#"))
7923 #t))
7924 (add-before 'check 'pre-check
7925 (lambda _
7926 ;; Tests require a running X server.
7927 (system "Xvfb :1 &")
7928 (setenv "DISPLAY" ":1")
7929 #t)))))
7930 (native-inputs
687b4909 7931 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 7932 ("pkg-config" ,pkg-config)
687b4909 7933 ;; For tests.
4b2ed6c2
RW
7934 ("xorg-server" ,xorg-server)))
7935 (inputs
7936 `(("glib" ,glib)
7937 ("gobject-introspection" ,gobject-introspection)
7938 ("gtk+" ,gtk+)
7939 ("vala" ,vala)))
7940 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7941 (synopsis "Companion library to GObject and Gtk+")
7942 (description "The libdazzle library is a companion library to GObject and
7943Gtk+. It provides various features that the authors wish were in the
7944underlying library but cannot for various reasons. In most cases, they are
7945wildly out of scope for those libraries. In other cases, they are not quite
7946generic enough to work for everyone.")
7947 (license license:gpl3+)))
7d3bb433
RW
7948
7949(define-public evolution
7950 (package
7951 (name "evolution")
7952 (version "3.28.1")
7953 (source (origin
7954 (method url-fetch)
7955 (uri (string-append "mirror://gnome/sources/evolution/"
7956 (version-major+minor version) "/"
7957 "evolution-" version ".tar.xz"))
7958 (sha256
7959 (base32
7960 "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
7961 (build-system cmake-build-system)
7962 (arguments
7963 `(#:configure-flags
7964 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
7965 "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
7966 ; in four years and cannot be built.
7967 (native-inputs
7968 `(("glib" ,glib "bin") ; glib-mkenums
7969 ("pkg-config" ,pkg-config)
7970 ("intltool" ,intltool)
7971 ("itstool" ,itstool)))
7972 (inputs
7973 `(("enchant" ,enchant)
7974 ("evolution-data-server" ,evolution-data-server) ; must be the same version
7975 ("gcr" ,gcr)
7976 ("gnome-autoar" ,gnome-autoar)
7977 ("gnome-desktop" ,gnome-desktop)
7978 ("gtkspell3" ,gtkspell3)
7979 ("highlight" ,highlight)
7980 ("libcanberra" ,libcanberra)
da43d1cb 7981 ("libedataserverui" ,evolution-data-server "libedataserverui")
7d3bb433
RW
7982 ("libgweather" ,libgweather)
7983 ("libnotify" ,libnotify)
7984 ("libsoup" ,libsoup)
7985 ("nss" ,nss)
7986 ("openldap" ,openldap)
7987 ("webkitgtk" ,webkitgtk)
7988 ("ytnef" ,ytnef)))
7989 (home-page "https://gitlab.gnome.org/GNOME/evolution")
7990 (synopsis "Manage your email, contacts and schedule")
7991 (description "Evolution is a personal information management application
7992that provides integrated mail, calendaring and address book
7993functionality.")
7994 ;; See COPYING for details.
23dbe621 7995 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 7996 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 7997 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
7998
7999(define-public gthumb
8000 (package
8001 (name "gthumb")
8002 (version "3.8.0")
8003 (source (origin
8004 (method url-fetch)
8005 (uri (string-append "mirror://gnome/sources/gthumb/"
8006 (version-major+minor version) "/"
8007 "gthumb-" version ".tar.xz"))
8008 (sha256
8009 (base32
8010 "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f"))))
8011 (build-system meson-build-system)
8012 (arguments
8013 `(#:glib-or-gtk? #t
8014 #:configure-flags
8015 ;; Ensure the RUNPATH contains all installed library locations.
8016 (list (string-append "-Dc_link_args=-Wl,-rpath="
8017 (assoc-ref %outputs "out")
8018 "/lib/gthumb/extensions")
8019 (string-append "-Dcpp_link_args=-Wl,-rpath="
8020 (assoc-ref %outputs "out")
8021 "/lib/gthumb/extensions"))))
8022 (native-inputs
8023 `(("pkg-config" ,pkg-config)
8024 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8025 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8026 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8027 ("intltool" ,intltool)
8028 ("itstool" ,itstool)))
8029 (inputs
8030 `(("exiv2" ,exiv2)
8031 ("gtk" ,gtk+)
8032 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8033 ("gstreamer" ,gstreamer)
8034 ("clutter" ,clutter)
8035 ("clutter-gst" ,clutter-gst)
8036 ("clutter-gtk" ,clutter-gtk)
8037 ("libjpeg" ,libjpeg)
8038 ("libtiff" ,libtiff)
8039 ("libraw" ,libraw)))
8040 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8041 (synopsis "GNOME image viewer and browser")
8042 (description "GThumb is an image viewer, browser, organizer, editor and
8043advanced image management tool")
8044 (license license:gpl2+)))
08be02be
AT
8045
8046(define-public terminator
8047 (package
8048 (name "terminator")
8049 (version "1.91")
8050 (source (origin
8051 (method url-fetch)
8052 (uri (string-append "https://launchpad.net/" name "/"
8053 "gtk3/" version "/" "+download/"
8054 name "-" version ".tar.gz"))
8055 (sha256
8056 (base32
8057 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8058 (build-system python-build-system)
8059 (native-inputs
8060 `(("intltool" ,intltool)
8061 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8062 ("gettext" ,gettext-minimal)
8063 ("pkg-config" ,pkg-config)))
8064 (inputs
8065 `(("cairo" ,cairo)
8066 ("gobject-introspection" ,gobject-introspection)
8067 ("python2-pycairo" ,python2-pycairo)
8068 ("python2-pygobject" ,python2-pygobject)
8069 ("python2-psutil" ,python2-psutil)
8070 ("vte" ,vte)))
8071 (arguments
8072 `(#:python ,python-2 ;Python 3 not supported
8073 #:phases
8074 (modify-phases %standard-phases
8075 (add-after
8076 'install 'wrap-program
8077 (lambda* (#:key outputs #:allow-other-keys)
8078 (let ((prog (string-append (assoc-ref outputs "out")
8079 "/bin/terminator")))
8080 (wrap-program prog
8081 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8082 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8083 #t))))))
8084 (home-page "https://gnometerminator.blogspot.com/")
8085 (synopsis "Store and run multiple GNOME terminals in one window")
8086 (description
8087 "Terminator allows you to run multiple GNOME terminals in a grid and
8088+tabs, and it supports drag and drop re-ordering of terminals.")
8089 (license license:gpl2)))