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