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