gnu: guix: Fix source checksum.
[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>
633422b0 40;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
213315d4 41;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
aa51d92c 42;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
ad6e168b 43;;; Copyright © 2019 Martin Becze <mjbecze@riseup.net>
995b7261
AE
44;;;
45;;; This file is part of GNU Guix.
46;;;
47;;; GNU Guix is free software; you can redistribute it and/or modify it
48;;; under the terms of the GNU General Public License as published by
49;;; the Free Software Foundation; either version 3 of the License, or (at
50;;; your option) any later version.
51;;;
52;;; GNU Guix is distributed in the hope that it will be useful, but
53;;; WITHOUT ANY WARRANTY; without even the implied warranty of
54;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55;;; GNU General Public License for more details.
56;;;
57;;; You should have received a copy of the GNU General Public License
58;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
59
60(define-module (gnu packages gnome)
ed19903d 61 #:use-module (gnu packages)
ba5dd105 62 #:use-module (gnu packages admin)
411ba511 63 #:use-module (gnu packages aspell)
75016d07 64 #:use-module (gnu packages autotools)
7b212526 65 #:use-module (gnu packages avahi)
b29909b4 66 #:use-module (gnu packages backup)
6a180f6f 67 #:use-module (gnu packages base)
1e33331c 68 #:use-module (gnu packages bash)
5698b8b8 69 #:use-module (gnu packages bison)
aa51d92c 70 #:use-module (gnu packages boost)
5fc9b6c1 71 #:use-module (gnu packages build-tools)
df217748 72 #:use-module (gnu packages calendar)
b29909b4 73 #:use-module (gnu packages cdrom)
df12f04a 74 #:use-module (gnu packages check)
d61a894b 75 #:use-module (gnu packages cmake)
b29909b4 76 #:use-module (gnu packages compression)
23a22af6 77 #:use-module (gnu packages cups)
6e1bb642 78 #:use-module (gnu packages curl)
c3f29bc9 79 #:use-module (gnu packages cyrus-sasl)
6e1bb642 80 #:use-module (gnu packages databases)
255d1bbe 81 #:use-module (gnu packages dbm)
c769cf9f 82 #:use-module (gnu packages djvu)
ba5dd105 83 #:use-module (gnu packages dns)
b4ce6300 84 #:use-module (gnu packages docbook)
b29909b4 85 #:use-module (gnu packages documentation)
329d731b 86 #:use-module (gnu packages enchant)
b29909b4
TGR
87 #:use-module (gnu packages flex)
88 #:use-module (gnu packages fonts)
e762d943 89 #:use-module (gnu packages file-systems)
a56be436 90 #:use-module (gnu packages fontutils)
b29909b4 91 #:use-module (gnu packages freedesktop)
dfc407f3 92 #:use-module (gnu packages game-development)
fed5a689 93 #:use-module (gnu packages gettext)
b29909b4
TGR
94 #:use-module (gnu packages ghostscript)
95 #:use-module (gnu packages gl)
995b7261 96 #:use-module (gnu packages glib)
c1354b90 97 #:use-module (gnu packages gnupg)
23a22af6 98 #:use-module (gnu packages gnuzilla)
b29909b4
TGR
99 #:use-module (gnu packages gperf)
100 #:use-module (gnu packages graphviz)
85f5dc19 101 #:use-module (gnu packages gstreamer)
d9c1a22b 102 #:use-module (gnu packages gtk)
6b888eff 103 #:use-module (gnu packages guile)
b645146f 104 #:use-module (gnu packages ibus)
b29909b4
TGR
105 #:use-module (gnu packages image)
106 #:use-module (gnu packages imagemagick)
107 #:use-module (gnu packages inkscape)
9cc98f8a 108 #:use-module (gnu packages iso-codes)
b29909b4 109 #:use-module (gnu packages kerberos)
85f5dc19 110 #:use-module (gnu packages libcanberra)
b64e217f 111 #:use-module (gnu packages libunistring)
75016d07 112 #:use-module (gnu packages libusb)
b29909b4 113 #:use-module (gnu packages linux)
4e3fc547 114 #:use-module (gnu packages lirc)
7b212526 115 #:use-module (gnu packages lua)
b29909b4
TGR
116 #:use-module (gnu packages mail)
117 #:use-module (gnu packages multiprecision)
64fce637 118 #:use-module (gnu packages music)
b29909b4
TGR
119 #:use-module (gnu packages ncurses)
120 #:use-module (gnu packages nettle)
ba5dd105 121 #:use-module (gnu packages networking)
5fc9b6c1 122 #:use-module (gnu packages ninja)
aff0cce9 123 #:use-module (gnu packages nss)
b29909b4 124 #:use-module (gnu packages openldap)
b645146f 125 #:use-module (gnu packages password-utils)
de1215e2 126 #:use-module (gnu packages pcre)
b29909b4 127 #:use-module (gnu packages pdf)
27477d2d 128 #:use-module (gnu packages perl)
f70d8383 129 #:use-module (gnu packages photo)
995b7261 130 #:use-module (gnu packages pkg-config)
b29909b4
TGR
131 #:use-module (gnu packages polkit)
132 #:use-module (gnu packages popt)
7d3bb433 133 #:use-module (gnu packages pretty-print)
23a22af6 134 #:use-module (gnu packages pulseaudio)
995b7261 135 #:use-module (gnu packages python)
00014781
RW
136 #:use-module (gnu packages python-crypto)
137 #:use-module (gnu packages python-web)
44d10b1f 138 #:use-module (gnu packages python-xyz)
cce0da5e 139 #:use-module (gnu packages rdesktop)
b29909b4 140 #:use-module (gnu packages readline)
a76d0f03 141 #:use-module (gnu packages ruby)
ec47c07d 142 #:use-module (gnu packages rust)
b29909b4 143 #:use-module (gnu packages samba)
75016d07 144 #:use-module (gnu packages scanner)
240cee8a 145 #:use-module (gnu packages selinux)
c27e02bf 146 #:use-module (gnu packages slang)
b29909b4
TGR
147 #:use-module (gnu packages speech)
148 #:use-module (gnu packages spice)
cd0322a3 149 #:use-module (gnu packages sqlite)
4a1bf090 150 #:use-module (gnu packages ssh)
8f9ac901 151 #:use-module (gnu packages tex)
33dc54b0 152 #:use-module (gnu packages time)
a7fd7b68 153 #:use-module (gnu packages tls)
3c5dbd2b 154 #:use-module (gnu packages version-control)
b29909b4 155 #:use-module (gnu packages video)
59132b80 156 #:use-module (gnu packages virtualization)
f2b96b3a 157 #:use-module (gnu packages vpn)
a18f8eaf 158 #:use-module (gnu packages web)
b29909b4
TGR
159 #:use-module (gnu packages web)
160 #:use-module (gnu packages webkit)
161 #:use-module (gnu packages xdisorg)
162 #:use-module (gnu packages xiph)
163 #:use-module (gnu packages xml)
d633f2f6 164 #:use-module (gnu packages xorg)
b29909b4 165 #:use-module (gnu packages xorg)
a76d0f03 166 #:use-module (gnu artwork)
b29909b4
TGR
167 #:use-module (guix build-system cmake)
168 #:use-module (guix build-system glib-or-gtk)
169 #:use-module (guix build-system gnu)
170 #:use-module (guix build-system meson)
08be02be 171 #:use-module (guix build-system python)
b29909b4
TGR
172 #:use-module (guix build-system trivial)
173 #:use-module (guix download)
174 #:use-module (guix git-download)
175 #:use-module ((guix licenses) #:prefix license:)
176 #:use-module (guix packages)
177 #:use-module (guix utils)
a76d0f03 178 #:use-module (guix gexp)
4e3fdeb7 179 #:use-module (ice-9 match)
c024ae36 180 #:use-module (srfi srfi-1))
85f5dc19
AE
181
182(define-public brasero
183 (package
184 (name "brasero")
e2bf423a 185 (version "3.12.2")
85f5dc19
AE
186 (source (origin
187 (method url-fetch)
e8627cd9
DH
188 (uri (string-append "mirror://gnome/sources/" name "/"
189 (version-major+minor version) "/"
190 name "-" version ".tar.xz"))
85f5dc19
AE
191 (sha256
192 (base32
e2bf423a 193 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
1c40e3b7 194 (build-system glib-or-gtk-build-system)
e8627cd9
DH
195 (arguments
196 `(#:configure-flags (list
197 (string-append "--with-girdir="
198 (assoc-ref %outputs "out")
199 "/share/gir-1.0")
200 (string-append "--with-typelibdir="
201 (assoc-ref %outputs "out")
ce426deb
TD
202 "/lib/girepository-1.0"))
203 #:phases
204 (modify-phases %standard-phases
205 (add-before 'configure 'embed-growisofs
206 (lambda* (#:key inputs #:allow-other-keys)
207 (substitute* "plugins/growisofs/burn-growisofs.c"
208 (("\"growisofs") (string-append "\"" (which "growisofs"))))
e2bf423a 209 #t)))))
85f5dc19
AE
210 (propagated-inputs
211 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
212 (native-inputs
213 `(("intltool" ,intltool)
426adbe8 214 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 215 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 216 ("pkg-config" ,pkg-config)))
85f5dc19 217 (inputs
ce426deb
TD
218 `(("dvd+rw-tools" ,dvd+rw-tools)
219 ("glib" ,glib)
85f5dc19
AE
220 ("gnome-doc-utils" ,gnome-doc-utils)
221 ("gstreamer" ,gstreamer)
222 ("gst-plugins-base" ,gst-plugins-base)
223 ("gtk+" ,gtk+)
85f5dc19
AE
224 ("itstool" ,itstool)
225 ("libcanberra" ,libcanberra)
226 ("libice" ,libice)
227 ("libnotify" ,libnotify)
228 ("libsm" ,libsm)
e8627cd9 229 ("libxml2" ,libxml2)
e8627cd9 230 ("totem-pl-parser" ,totem-pl-parser)))
85f5dc19
AE
231 (home-page "https://projects.gnome.org/brasero/")
232 (synopsis "CD/DVD burning tool for Gnome")
233 (description "Brasero is an application to burn CD/DVD for the Gnome
234Desktop. It is designed to be as simple as possible and has some unique
235features to enable users to create their discs easily and quickly.")
1dd26275 236 (license license:gpl2+)))
995b7261 237
d61a894b
CB
238(define-public deja-dup
239 (package
240 (name "deja-dup")
241 (version "34.3")
242 (source (origin
243 (method url-fetch)
244 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
245 (sha256
246 (base32
247 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
248 (patches
249 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
250 (build-system glib-or-gtk-build-system)
251 (arguments
252 `(#:modules ((guix build gnu-build-system)
253 ((guix build cmake-build-system) #:prefix cmake:)
254 (guix build glib-or-gtk-build-system)
255 (guix build utils))
256 #:imported-modules (,@%glib-or-gtk-build-system-modules
257 (guix build cmake-build-system))
258 #:test-target "test"
259 #:configure-flags (list (string-append
260 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
261 (string-append
262 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
263 #:phases
264 (modify-phases %standard-phases
265 (add-after 'unpack 'patch-lockfile-deletion
266 (lambda rest
267 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
268 (("/bin/rm")
269 (which "rm")))))
270 (replace 'configure
271 (assoc-ref cmake:%standard-phases 'configure))
272 (delete 'check) ;; Fails due to issues with DBus
273 (add-after 'install 'wrap-deja-dup
274 (lambda* (#:key inputs outputs #:allow-other-keys)
275 (let ((python (assoc-ref inputs "python"))
276 (python-path (getenv "PYTHONPATH"))
277 (duplicity (assoc-ref inputs "duplicity"))
278 (out (assoc-ref outputs "out")))
279 (for-each
280 (lambda (program)
281 (wrap-program program
282 `("PATH" ":" prefix (,(string-append python "/bin")
283 ,(string-append duplicity "/bin"))))
284 (wrap-program program
285 `("PYTHONPATH" ":" prefix (,python-path))))
286
287 (find-files (string-append out "/bin")))
288 #t))))))
289 (inputs
290 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
291 ("gobject-introspection" ,gobject-introspection)
292 ("duplicity" ,duplicity)
61506fe5 293 ("python" ,python-2)
d61a894b
CB
294 ("python-pygobject" ,python2-pygobject)
295 ("gtk+" ,gtk+)
296 ("libnotify" ,libnotify)
297 ("libpeas" ,libpeas)
298 ("libsecret" ,libsecret)
299 ("packagekit" ,packagekit)))
300 (native-inputs
301 `(("pkg-config" ,pkg-config)
302 ("vala" ,vala)
303 ("gettext" ,gettext-minimal)
304 ("itstool" ,itstool)
305 ("intltool" ,intltool)
c69959f0 306 ("cmake" ,cmake-minimal)))
d61a894b
CB
307 (home-page "https://launchpad.net/deja-dup")
308 (synopsis "Simple backup tool, for regular encrypted backups")
309 (description
310 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
311uses duplicity as the backend, which supports incremental backups and storage
312either on a local, or remote machine via a number of methods.")
313 (license license:gpl3+)))
314
a56be436
RJ
315(define-public dia
316 ;; This version from GNOME's repository includes fixes for compiling with
317 ;; recent versions of the build tools. The latest activity on the
318 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
319 ;; fixes in 2016.
320 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
321 (package
322 (name "dia")
323 (version (string-append "0.97.2-" (string-take commit 7)))
324 (source (origin
325 (method git-fetch)
326 (uri (git-reference
327 (url "https://git.gnome.org/browse/dia")
328 (commit commit)))
329 (file-name (string-append name "-" version "-checkout"))
330 (sha256
331 (base32
332 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
333 (build-system gnu-build-system)
334 (inputs
335 `(("glib" ,glib "bin")
336 ("pango" ,pango)
337 ("gdk-pixbuf" ,gdk-pixbuf)
338 ("gtk+" ,gtk+-2)
339 ("libxml2" ,libxml2)
340 ("freetype" ,freetype)
341 ("libart-lgpl" ,libart-lgpl)))
342 (native-inputs
343 `(("intltool" ,intltool)
344 ("pkg-config" ,pkg-config)
345 ("automake" ,automake)
346 ("autoconf" ,autoconf)
347 ("libtool" ,libtool)
348 ("perl" ,perl)
349 ("python-wrapper" ,python-wrapper)))
350 (arguments
351 `(#:phases
352 (modify-phases %standard-phases
d10092b8 353 (add-after 'unpack 'run-autogen
a56be436
RJ
354 (lambda _
355 (system* "sh" "autogen.sh"))))))
356 (home-page "https://wiki.gnome.org/Apps/Dia")
357 (synopsis "Diagram creation for GNOME")
358 (description "Dia can be used to draw different types of diagrams, and
359includes support for UML static structure diagrams (class diagrams), entity
360relationship modeling, and network diagrams. The program supports various file
361formats like PNG, SVG, PDF and EPS.")
362 (license license:gpl2+))))
363
d0b19e44
RW
364;; This is the unstable release, but it is required for the current stable
365;; release of gvfs (1.38.1).
adc5cb1b
KK
366(define-public libgdata
367 (package
368 (name "libgdata")
d0b19e44 369 (version "0.17.9")
adc5cb1b
KK
370 (source (origin
371 (method url-fetch)
372 (uri (string-append "mirror://gnome/sources/" name "/"
373 (version-major+minor version) "/"
374 name "-" version ".tar.xz"))
375 (sha256
376 (base32
d0b19e44 377 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
adc5cb1b
KK
378 (build-system gnu-build-system)
379 (arguments
380 '(#:phases
381 (modify-phases %standard-phases
448052b7
TGR
382 (add-before 'check 'disable-failing-tests
383 (lambda _
384 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
385 ;; They have been removed in libgdata 0.17.6, so just do the same.
386 (substitute* "gdata/tests/Makefile"
387 (("picasaweb\\$\\(EXEEXT\\) ") ""))
adc5cb1b
KK
388 #t)))))
389 (native-inputs
390 `(("glib:bin" ,glib "bin")
391 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
392 ("intltool" ,intltool)
393 ("pkg-config" ,pkg-config)
394 ("uhttpmock" ,uhttpmock)))
395 (inputs
396 `(("cyrus-sasl" ,cyrus-sasl)
d0b19e44 397 ("glib-networking" ,glib-networking)))
adc5cb1b
KK
398 (propagated-inputs
399 `(("gcr" ,gcr)
d0b19e44 400 ("glib" ,glib)
14c297fd 401 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
d0b19e44 402 ("json-glib" ,json-glib)
adc5cb1b 403 ("liboauth" ,liboauth)
d0b19e44 404 ("libsoup" ,libsoup)
adc5cb1b
KK
405 ("libxml2" ,libxml2)))
406 (home-page "https://wiki.gnome.org/Projects/libgdata")
407 (synopsis "Library for accessing online service APIs")
408 (description
409 "libgdata is a GLib-based library for accessing online service APIs using
410the GData protocol — most notably, Google's services. It provides APIs to
411access the common Google services, and has full asynchronous support.")
412 (license license:lgpl2.1+)))
413
94e10cf4
KK
414(define-public libgxps
415 (package
416 (name "libgxps")
66470a5a 417 (version "0.3.1")
94e10cf4
KK
418 (source (origin
419 (method url-fetch)
7f10628c 420 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
421 (version-major+minor version) "/"
422 name "-" version ".tar.xz"))
423 (sha256
424 (base32
66470a5a 425 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
b6b3e512 426 (build-system meson-build-system)
94e10cf4
KK
427 (native-inputs
428 `(("gobject-introspection" ,gobject-introspection)
429 ("pkg-config" ,pkg-config)))
430 (inputs
c8d62d93 431 `(("gtk+" ,gtk+)
b6b3e512 432 ("libjpeg" ,libjpeg-turbo)
94e10cf4 433 ("lcms" ,lcms)
0a6e9e13 434 ("libtiff" ,libtiff)))
c8d62d93
MB
435 (propagated-inputs
436 ;; In Requires of libgxps.pc.
437 `(("cairo" ,cairo)
438 ("glib" ,glib)
439 ("libarchive" ,libarchive)))
94e10cf4
KK
440 (home-page "https://wiki.gnome.org/Projects/libgxps")
441 (synopsis "GObject-based library for handling and rendering XPS documents")
442 (description
443 "libgxps is a GObject-based library for handling and rendering XPS
444documents. This package also contains binaries that can convert XPS documents
445to other formats.")
446 (license license:lgpl2.1+)))
447
7aab13f1
ML
448(define-public gnome-common
449 (package
450 (name "gnome-common")
af83490d 451 (version "3.18.0")
7aab13f1
ML
452 (source
453 (origin
454 (method url-fetch)
455 (uri (string-append "mirror://gnome/sources/" name "/"
456 (version-major+minor version) "/"
457 name "-" version ".tar.xz"))
458 (sha256
459 (base32
af83490d 460 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
461 (build-system gnu-build-system)
462 (home-page "https://www.gnome.org/")
463 (synopsis "Bootstrap GNOME modules built from Git")
464 (description "gnome-common contains various files needed to bootstrap
465GNOME modules built from Git. It contains a common \"autogen.sh\" script that
466can be used to configure a source directory checked out from Git and some
467commonly used macros.")
468 (license license:gpl2+)))
469
9cc98f8a
CR
470(define-public gnome-desktop
471 (package
472 (name "gnome-desktop")
3387ee41 473 (version "3.30.2")
9cc98f8a
CR
474 (source
475 (origin
476 (method url-fetch)
b38e45d8
EB
477 (uri (string-append "mirror://gnome/sources/" name "/"
478 (version-major+minor version) "/"
9cc98f8a
CR
479 name "-" version ".tar.xz"))
480 (sha256
481 (base32
3387ee41 482 "0k6iccfj9naw42dl2mgljfvk12dmvg06plg86qd81nksrf9ycxal"))))
9cc98f8a 483 (build-system gnu-build-system)
a0fe7c06
CB
484 (arguments
485 '(#:phases
486 (modify-phases %standard-phases
487 (add-before 'configure 'patch-path
488 (lambda* (#:key inputs #:allow-other-keys)
489 (let ((libc (assoc-ref inputs "libc")))
490 (substitute* "libgnome-desktop/gnome-languages.c"
491 (("\"locale\"")
492 (string-append "\"" libc "/bin/locale\"")))
493 #t))))))
9cc98f8a 494 (native-inputs
a8340482
SB
495 `(("gobject-introspection" ,gobject-introspection)
496 ("itstool" ,itstool)
bcb354ad
SB
497 ("intltool" ,intltool)
498 ("pkg-config" ,pkg-config)
499 ("xmllint" ,libxml2)))
a8340482
SB
500 (propagated-inputs
501 ;; Required by gnome-desktop-3.0.pc.
502 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
503 ("gtk+" ,gtk+)))
9cc98f8a
CR
504 (inputs
505 `(("gdk-pixbuf" ,gdk-pixbuf)
506 ("glib" ,glib)
9cc98f8a 507 ("iso-codes" ,iso-codes)
9863ce20 508 ("libseccomp" ,libseccomp)
9cc98f8a
CR
509 ("libx11" ,libx11)
510 ("libxext" ,libxext)
511 ("libxkbfile" ,libxkbfile)
512 ("libxrandr" ,libxrandr)
513 ("xkeyboard-config" ,xkeyboard-config)))
514 (home-page "https://www.gnome.org/")
515 (synopsis
35b9e423 516 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
517 (description
518 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
519on the desktop, but that cannot live in the platform for various reasons.
520There is no API or ABI guarantee, although we are doing our best to provide
521stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
522
523The gnome-about program helps find which version of GNOME is installed.")
524 ; Some bits under the LGPL.
1dd26275 525 (license license:gpl2+)))
9cc98f8a 526
995b7261
AE
527(define-public gnome-doc-utils
528 (package
529 (name "gnome-doc-utils")
530 (version "0.20.10")
531 (source
532 (origin
533 (method url-fetch)
b38e45d8
EB
534 (uri (string-append "mirror://gnome/sources/" name "/"
535 (version-major+minor version) "/"
995b7261
AE
536 name "-" version ".tar.xz"))
537 (sha256
538 (base32
539 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
540 (build-system gnu-build-system)
c4c4cc05 541 (native-inputs
995b7261 542 `(("intltool" ,intltool)
b4ce6300 543 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 544 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
545 ("libxml2" ,libxml2)
546 ("libxslt" ,libxslt)
547 ("pkg-config" ,pkg-config)
548 ("python-2" ,python-2)))
995b7261
AE
549 (home-page "https://wiki.gnome.org/GnomeDocUtils")
550 (synopsis
551 "Documentation utilities for the Gnome project")
552 (description
553 "Gnome-doc-utils is a collection of documentation utilities for the
554Gnome project. It includes xml2po tool which makes it easier to translate
555and keep up to date translations of documentation.")
1dd26275 556 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 557
6c4f7022
DC
558(define-public gnome-disk-utility
559 (package
560 (name "gnome-disk-utility")
0dd65d5a 561 (version "3.30.2")
6c4f7022
DC
562 (source (origin
563 (method url-fetch)
564 (uri (string-append "mirror://gnome/sources/" name "/"
565 (version-major+minor version) "/"
566 name "-" version ".tar.xz"))
567 (sha256
568 (base32
0dd65d5a 569 "1365fabz3q7n3bl775z82m1nzg18birxxyd7l2ssbbkqrx3h7wgi"))))
4b9a65bf 570 (build-system meson-build-system)
6c4f7022
DC
571 (native-inputs
572 `(("glib:bin" ,glib "bin")
4b9a65bf 573 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6c4f7022
DC
574 ("intltool" ,intltool)
575 ("pkg-config" ,pkg-config)
576 ("docbook-xml" ,docbook-xml)
577 ("docbook-xsl" ,docbook-xsl)
578 ("libxml2" ,libxml2)
579 ("libxslt" ,libxslt)))
580 (inputs
581 `(("glib" ,glib)
582 ("appstream-glib" ,appstream-glib)
583 ("gnome-settings-daemon" ,gnome-settings-daemon)
584 ("gtk+" ,gtk+)
585 ("libcanberra" ,libcanberra)
586 ("libdvdread" ,libdvdread)
587 ("libnotify" ,libnotify)
588 ("libpwquality" ,libpwquality)
589 ("libsecret" ,libsecret)
590 ("udisks" ,udisks)))
591 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
592 (synopsis "Disk management utility for GNOME")
593 (description "Disk management utility for GNOME.")
594 (license license:gpl2+)))
595
8ff49011
RW
596(define-public gcr
597 (package
598 (name "gcr")
bea6b829 599 (version "3.28.1")
8ff49011 600 (source (origin
0daf0efb
RW
601 (method url-fetch)
602 (uri (string-append "mirror://gnome/sources/" name "/"
603 (version-major+minor version) "/"
604 name "-" version ".tar.xz"))
605 (sha256
606 (base32
bea6b829 607 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
03ecf85a
MB
608 (patches
609 (list
610 ;; This patch solves an ordering issue that showed up when
611 ;; running the test suite against newer Glib 2.60. See
612 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
613 (origin
614 (method url-fetch)
615 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
616 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
617 (file-name "gcr-hashtable-ordering.patch")
618 (sha256
619 (base32
620 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
8ff49011
RW
621 (build-system gnu-build-system)
622 (arguments
0daf0efb
RW
623 '(#:phases
624 (modify-phases %standard-phases
625 ;; These fail because /var/lib/dbus/machine-id is not present in the
626 ;; build environment.
627 (add-after 'unpack 'disable-failing-tests
628 (lambda _
629 (substitute* "gcr/test-system-prompt.c"
630 (("g_test_add") "//")
631 (("return.*") "return 0;"))
632 #t))
633 (add-before 'check 'pre-check
634 (lambda _
635 ;; Some tests expect to write to $HOME.
636 (setenv "HOME" "/tmp")
637 #t)))))
8ff49011
RW
638 (inputs
639 `(("dbus" ,dbus)
0daf0efb 640 ("gnupg" ,gnupg) ;called as a child process during tests
8ff49011
RW
641 ("libgcrypt" ,libgcrypt)))
642 (native-inputs
0daf0efb 643 `(("python" ,python-2) ;for tests
8ff49011
RW
644 ("pkg-config" ,pkg-config)
645 ("glib" ,glib "bin")
2af4f5b0
SB
646 ("gobject-introspection" ,gobject-introspection)
647 ("intltool" ,intltool)
0daf0efb 648 ("libxml2" ,libxml2)
bea6b829 649 ("vala" ,vala)
2af4f5b0 650 ("xsltproc" ,libxslt)))
8ff49011
RW
651 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
652 (propagated-inputs
653 `(("p11-kit" ,p11-kit)
654 ("glib" ,glib)
655 ("gtk+" ,gtk+)))
f032d0be 656 (home-page "https://www.gnome.org")
8ff49011
RW
657 (synopsis "Libraries for displaying certificates and accessing key stores")
658 (description
659 "The GCR package contains libraries used for displaying certificates and
660accessing key stores. It also provides the viewer for crypto files on the
661GNOME Desktop.")
662 (license license:lgpl2.1+)))
663
c1354b90
LC
664(define-public libgnome-keyring
665 (package
666 (name "libgnome-keyring")
5e8aec2c 667 (version "3.12.0")
c1354b90
LC
668 (source (origin
669 (method url-fetch)
b38e45d8
EB
670 (uri (string-append "mirror://gnome/sources/" name "/"
671 (version-major+minor version) "/"
672 name "-" version ".tar.xz"))
c1354b90
LC
673 (sha256
674 (base32
5e8aec2c 675 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 676 (build-system gnu-build-system)
c1354b90 677 (inputs
c4c4cc05 678 `(("libgcrypt" ,libgcrypt)
c1354b90 679 ("dbus" ,dbus)))
c4c4cc05
JD
680 (native-inputs
681 `(("pkg-config" ,pkg-config)
426adbe8 682 ("glib" ,glib "bin")
c4c4cc05 683 ("intltool" ,intltool)))
c1354b90
LC
684 (propagated-inputs
685 ;; Referred to in .h files and .pc.
686 `(("glib" ,glib)))
f032d0be 687 (home-page "https://www.gnome.org")
c1354b90
LC
688 (synopsis "Accessing passwords from the GNOME keyring")
689 (description
690 "Client library to access passwords from the GNOME keyring.")
691
692 ;; Though a couple of files are LGPLv2.1+.
1dd26275 693 (license license:lgpl2.0+)))
c1354b90 694
e99a3d6f
RW
695(define-public gnome-keyring
696 (package
697 (name "gnome-keyring")
ab35cc6e 698 (version "3.28.2")
e99a3d6f
RW
699 (source (origin
700 (method url-fetch)
701 (uri (string-append "mirror://gnome/sources/" name "/"
702 (version-major+minor version) "/"
703 name "-" version ".tar.xz"))
704 (sha256
705 (base32
ab35cc6e 706 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
e99a3d6f
RW
707 (build-system gnu-build-system)
708 (arguments
709 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
710 ;not exist
711 #:configure-flags
712 (list
713 (string-append "--with-pkcs11-config="
714 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
715 (string-append "--with-pkcs11-modules="
716 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
717 #:phases
718 (modify-phases %standard-phases
ab35cc6e
RW
719 (add-after 'unpack 'fix-/bin/sh-reference
720 (lambda _
721 (substitute* "po/Makefile.in.in"
722 (("/bin/sh") (which "sh")))
723 #t))
5120f24f
RW
724 (add-after 'unpack 'fix-docbook
725 (lambda* (#:key inputs #:allow-other-keys)
726 (substitute* "docs/Makefile.am"
727 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
728 (string-append (assoc-ref inputs "docbook-xsl")
729 "/xml/xsl/docbook-xsl-"
730 ,(package-version docbook-xsl)
731 "/manpages/docbook.xsl")))
732 (setenv "XML_CATALOG_FILES"
733 (string-append (assoc-ref inputs "docbook-xml")
734 "/xml/dtd/docbook/catalog.xml"))
735 ;; Rerun the whole thing to avoid version mismatch ("This is
736 ;; Automake 1.15.1, but the definition used by this
737 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
738 ;; use 'autoreconf' because it insists on running 'libtoolize'.
739 (invoke "autoconf")
740 (invoke "aclocal")
741 (invoke "automake" "-ac"))))))
e99a3d6f
RW
742 (inputs
743 `(("libgcrypt" ,libgcrypt)
1a0b2d82 744 ("linux-pam" ,linux-pam)
ab35cc6e 745 ("openssh" ,openssh)
e99a3d6f
RW
746 ("dbus" ,dbus)
747 ("gcr" ,gcr)))
748 (native-inputs
749 `(("pkg-config" ,pkg-config)
750 ("glib" ,glib "bin")
5120f24f 751 ("glib" ,glib) ; for m4 macros
e99a3d6f
RW
752 ("python" ,python-2) ;for tests
753 ("intltool" ,intltool)
754 ("autoconf" ,autoconf)
755 ("automake" ,automake)
756 ("libxslt" ,libxslt) ;for documentation
757 ("docbook-xml" ,docbook-xml-4.2)
758 ("docbook-xsl" ,docbook-xsl)))
f032d0be 759 (home-page "https://www.gnome.org")
e99a3d6f
RW
760 (synopsis "Daemon to store passwords and encryption keys")
761 (description
762 "gnome-keyring is a program that keeps passwords and other secrets for
763users. It is run as a daemon in the session, similar to ssh-agent, and other
764applications locate it via an environment variable or D-Bus.
765
766The program can manage several keyrings, each with its own master password,
767and there is also a session keyring which is never stored to disk, but
768forgotten when the session ends.")
769 (license license:lgpl2.1+)))
770
c1354b90
LC
771(define-public evince
772 (package
773 (name "evince")
2dfc16d1 774 (version "3.30.2")
c1354b90
LC
775 (source (origin
776 (method url-fetch)
b38e45d8
EB
777 (uri (string-append "mirror://gnome/sources/" name "/"
778 (version-major+minor version) "/"
779 name "-" version ".tar.xz"))
c1354b90
LC
780 (sha256
781 (base32
2dfc16d1 782 "0k7jln6dpg4bpv61niicjzkzyq6fhb3yfld7pc8ck71c8pmvsnx9"))))
121de2e1 783 (build-system glib-or-gtk-build-system)
c1354b90
LC
784 (arguments
785 `(#:configure-flags '("--disable-nautilus")
554b2dac
SB
786 #:phases
787 (modify-phases %standard-phases
788 (add-before 'install 'skip-gtk-update-icon-cache
789 ;; Don't create 'icon-theme.cache'.
790 (lambda _
791 (substitute* "data/Makefile"
792 (("gtk-update-icon-cache") "true"))
793 #t)))))
c1354b90 794 (inputs
9a096881
KK
795 `(("libarchive" ,libarchive)
796 ("libgxps" ,libgxps)
797 ("libspectre" ,libspectre)
c769cf9f 798 ("djvulibre" ,djvulibre)
c1354b90
LC
799 ("ghostscript" ,ghostscript)
800 ("poppler" ,poppler)
c769cf9f
SB
801 ("libtiff" ,libtiff)
802 ;; TODO:
c769cf9f
SB
803 ;; Build libkpathsea as a shared library for DVI support.
804 ;; ("libkpathsea" ,texlive-bin)
805 ("gnome-desktop" ,gnome-desktop)
c1354b90 806 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2dfc16d1 807 ("gspell" ,gspell)
c1354b90 808 ("libgnome-keyring" ,libgnome-keyring)
c769cf9f 809 ("adwaita-icon-theme" ,adwaita-icon-theme)
c1354b90
LC
810 ("gdk-pixbuf" ,gdk-pixbuf)
811 ("atk" ,atk)
812 ("pango" ,pango)
813 ("gtk+" ,gtk+)
814 ("glib" ,glib)
815 ("libxml2" ,libxml2)
c1354b90
LC
816 ("libsm" ,libsm)
817 ("libice" ,libice)
96e42467 818 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
819 ("dconf" ,dconf)
820 ("libcanberra" ,libcanberra)
c769cf9f 821 ("libsecret" ,libsecret)
a271096b 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")
18138ab9 980 (version "1.10")
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
18138ab9 987 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
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)
3a2efbc8 2170 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
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 2430 (arguments
7f486d25
MC
2431 ;; Disable -Werror and such, to avoid build failures on compilation
2432 ;; warnings.
2433 '(#:configure-flags '("--enable-compile-warnings=minimum")
2434 #:phases
684f97f8 2435 (modify-phases %standard-phases
1839768c
EF
2436 (add-before 'install 'skip-gtk-update-icon-cache
2437 (lambda _
2438 ;; Don't create 'icon-theme.cache'
2439 (substitute* (find-files "." "^Makefile$")
2440 (("gtk-update-icon-cache") (which "true")))
2441 #t))
684f97f8
EF
2442 (add-after 'unpack 'patch-configure
2443 (lambda _
2444 (substitute* "configure"
2445 (("freerdp") "freerdp2"))
2446 #t)))))
cce0da5e
TD
2447 (native-inputs
2448 `(("pkg-config" ,pkg-config)
2449 ("intltool" ,intltool)
2450 ("itstool" ,itstool)
1839768c 2451 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
cce0da5e
TD
2452 (inputs
2453 `(("libxml2" ,libxml2)
2454 ("gtk-vnc" ,gtk-vnc)
2455 ("gnome-keyring" ,gnome-keyring)
2456 ("libsecret" ,libsecret)
2457 ("freerdp" ,freerdp)
2458 ("spice" ,spice)
2459 ("spice-gtk" ,spice-gtk)
2460 ("telepathy-glib" ,telepathy-glib)
2461 ("vte" ,vte)))
cce0da5e
TD
2462 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2463 (synopsis "Remote desktop viewer for GNOME")
2464 (description "Vinagre is a remote display client supporting the VNC, SPICE
2465and RDP protocols.")
2466 (license license:gpl3+)))
2467
b47e1b20
FB
2468(define-public dconf
2469 (package
2470 (name "dconf")
1e33331c 2471 (version "0.32.0")
b47e1b20
FB
2472 (source (origin
2473 (method url-fetch)
2474 (uri (string-append
2e6ecc5c 2475 "mirror://gnome/sources/" name "/"
b47e1b20
FB
2476 (version-major+minor version) "/"
2477 name "-" version ".tar.xz"))
2478 (sha256
f05c809f 2479 (base32
1e33331c 2480 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
35fa923d 2481 (build-system meson-build-system)
bc036f4c
MB
2482 (propagated-inputs
2483 ;; In Requires of dconf.pc.
2484 `(("glib" ,glib)))
b47e1b20
FB
2485 (inputs
2486 `(("gtk+" ,gtk+)
bc036f4c 2487 ("dbus" ,dbus)))
b47e1b20 2488 (native-inputs
1e33331c
MB
2489 `(("bash-completion" ,bash-completion)
2490 ("libxslt" ,libxslt) ;for xsltproc
bc036f4c 2491 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
b47e1b20
FB
2492 ("docbook-xml" ,docbook-xml-4.2)
2493 ("docbook-xsl" ,docbook-xsl)
35fa923d 2494 ("glib:bin" ,glib "bin")
03676d6f 2495 ("gtk-doc" ,gtk-doc)
35fa923d
MB
2496 ("pkg-config" ,pkg-config)
2497 ("vala" ,vala)))
b47e1b20
FB
2498 (arguments
2499 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2500 ; or /etc/machine-id.
35fa923d
MB
2501 #:glib-or-gtk? #t
2502 #:configure-flags '("-Denable-gtk-doc=true")))
b47e1b20
FB
2503 (home-page "https://developer.gnome.org/dconf")
2504 (synopsis "Low-level GNOME configuration system")
2505 (description "Dconf is a low-level configuration system. Its main purpose
2506is to provide a backend to GSettings on platforms that don't already have
2507configuration storage systems.")
e20e6b40 2508 (license license:lgpl2.1+)))
109da1c0
AE
2509
2510(define-public json-glib
2511 (package
2512 (name "json-glib")
4115e8ea 2513 (version "1.4.4")
109da1c0
AE
2514 (source (origin
2515 (method url-fetch)
2516 (uri (string-append "mirror://gnome/sources/" name "/"
2517 (version-major+minor version) "/"
2518 name "-" version ".tar.xz"))
2519 (sha256
2520 (base32
4115e8ea 2521 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
98afa184 2522 (build-system meson-build-system)
109da1c0 2523 (native-inputs
98afa184
MB
2524 `(("gettext" ,gettext-minimal)
2525 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
2526 ("gobject-introspection" ,gobject-introspection)
2527 ("pkg-config" ,pkg-config)))
2528 (propagated-inputs
88c6b580 2529 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
2530 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2531 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
2532 (description
2533 "JSON-GLib is a C library based on GLib providing serialization and
2534deserialization support for the JavaScript Object Notation (JSON) format
2535described by RFC 4627. It provides parser and generator GObject classes and
2536various wrappers for the complex data types employed by JSON, such as arrays
2537and objects.")
109da1c0 2538 (license license:lgpl2.1+)))
6f96a359
SB
2539
2540(define-public libxklavier
2541 (package
2542 (name "libxklavier")
5f39050b 2543 (version "5.4")
6f96a359 2544 (source (origin
5f39050b 2545 ;; Note: There's no tarball at ftp.gnome.org for this version.
2546 (method git-fetch)
2547 (uri (git-reference
2548 (url "https://anongit.freedesktop.org/git/libxklavier")
2549 (commit (string-append "libxklavier-" version))))
6f96a359
SB
2550 (sha256
2551 (base32
5f39050b 2552 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
2553 (file-name (git-file-name name version))))
6f96a359
SB
2554 (build-system gnu-build-system)
2555 (arguments
5f39050b 2556 '(#:phases
2557 (modify-phases %standard-phases
2558 (add-after 'unpack 'no-configure
2559 (lambda* _
2560 (setenv "NOCONFIGURE" "1")
2561 #t)))
2562 #:configure-flags
6f96a359
SB
2563 (list (string-append "--with-xkb-base="
2564 (assoc-ref %build-inputs "xkeyboard-config")
5f39050b 2565 "/share/X11/xkb")
2566 "--disable-xmodmap-support")))
6f96a359
SB
2567 (native-inputs
2568 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2569 ("gobject-introspection" ,gobject-introspection)
5f39050b 2570 ("pkg-config" ,pkg-config)
2571 ("gtk-doc" ,gtk-doc)
2572 ("intltool" ,intltool)
2573 ("which" ,which)
2574 ("autoconf" ,autoconf)
2575 ("automake" ,automake)
2576 ("libtool" ,libtool)))
6f96a359
SB
2577 (propagated-inputs
2578 ;; Required by libxklavier.pc.
2579 `(("glib" ,glib)
2580 ("libxml2" ,libxml2)))
2581 (inputs
2582 `(("iso-codes" ,iso-codes)
2583 ("libxi" ,libxi)
2584 ("libxkbfile" ,libxkbfile)
2585 ("xkbcomp" ,xkbcomp)
2586 ("xkeyboard-config" ,xkeyboard-config)))
57e7d748 2587 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
6f96a359
SB
2588 (synopsis "High-level API for X Keyboard Extension")
2589 (description
2590 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
2591Extension known as XKB. This library is intended to support XFree86 and other
2592commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
2593indicators etc).")
2594 (license license:lgpl2.0+)))
619936a4
LC
2595
2596(define-public python2-rsvg
2597 ;; XXX: This is actually a subset of gnome-python-desktop.
2598 (package
2599 (name "python2-rsvg")
2600 (version "2.32.0")
2601 (source
2602 (origin
2603 (method url-fetch)
2604 (uri (string-append
2605 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2606 version ".tar.bz2"))
2607 (sha256
2608 (base32
2609 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2610 (build-system gnu-build-system)
2611 (native-inputs
2612 `(("pkg-config" ,pkg-config)))
2613 (inputs
2614 `(("python" ,python-2)
2615 ("python2-pygtk" ,python2-pygtk)
2616 ("librsvg" ,librsvg)))
f032d0be 2617 (home-page "https://www.gnome.org")
619936a4
LC
2618 (synopsis "Python bindings to librsvg")
2619 (description
3ad75446 2620 "This package provides Python bindings to librsvg, the SVG rendering
619936a4
LC
2621library.")
2622
2623 ;; This is the license of the rsvg bindings. The license of each module
2624 ;; of gnome-python-desktop is given in 'COPYING'.
2625 (license license:lgpl2.1+)))
a31a6d22 2626
f2ca414a
SB
2627(define-public glib-networking
2628 (package
2629 (name "glib-networking")
0d75c64d 2630 (version "2.60.3")
f2ca414a
SB
2631 (source (origin
2632 (method url-fetch)
2633 (uri (string-append "mirror://gnome/sources/glib-networking/"
2634 (version-major+minor version) "/"
fb8fe1e8 2635 "glib-networking-" version ".tar.xz"))
f2ca414a
SB
2636 (sha256
2637 (base32
0d75c64d 2638 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
65211552 2639 (build-system meson-build-system)
f2ca414a 2640 (arguments
0d75c64d 2641 `(#:configure-flags '("-Dlibproxy_support=false")))
f2ca414a
SB
2642 (native-inputs
2643 `(("pkg-config" ,pkg-config)
2644 ("intltool" ,intltool)))
2645 (inputs
2646 `(("glib" ,glib)
2647 ("gnutls" ,gnutls)
4b8f1313 2648 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
f032d0be 2649 (home-page "https://www.gnome.org")
f2ca414a
SB
2650 (synopsis "Network-related GIO modules")
2651 (description
2652 "This package contains various network related extensions for the GIO
2653library.")
2654 (license license:lgpl2.0+)))
2655
ca649680 2656(define-public rest
4510b2da 2657 (package
ca649680 2658 (name "rest")
a4194d16 2659 (version "0.8.1")
4510b2da
SB
2660 (source (origin
2661 (method url-fetch)
2662 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
2663 (version-major+minor version) "/"
2664 name "-" version ".tar.xz"))
4510b2da
SB
2665 (sha256
2666 (base32
a4194d16 2667 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4510b2da
SB
2668 (build-system gnu-build-system)
2669 (arguments
2670 '(#:tests? #f ; tests require internet connection
2671 #:configure-flags
2672 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2673 (native-inputs
2674 `(("glib-mkenums" ,glib "bin")
2675 ("gobject-introspection" ,gobject-introspection)
2676 ("pkg-config" ,pkg-config)))
2677 (propagated-inputs
2678 ;; rest-0.7.pc refers to all these.
2679 `(("glib" ,glib)
2680 ("libsoup" ,libsoup)
2681 ("libxml2" ,libxml2)))
24d6cc1d 2682 (home-page "https://www.gtk.org/")
4510b2da
SB
2683 (synopsis "RESTful web api query library")
2684 (description
2685 "This library was designed to make it easier to access web services that
2686claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2687libxml to ease remote use of the RESTful API.")
2688 (license license:lgpl2.1+)))
2689
6e1bb642
SB
2690(define-public libsoup
2691 (package
2692 (name "libsoup")
b1d81ba0 2693 (version "2.66.2")
6e1bb642
SB
2694 (source (origin
2695 (method url-fetch)
2696 (uri (string-append "mirror://gnome/sources/libsoup/"
2697 (version-major+minor version) "/"
c1b79b36 2698 "libsoup-" version ".tar.xz"))
6e1bb642
SB
2699 (sha256
2700 (base32
b1d81ba0 2701 "0amfw1yvy1kjrg41rfh2vvrw5gkwnyckqbw1fab50hm6xc1acbmx"))))
eccaa8bf 2702 (build-system meson-build-system)
6e1bb642
SB
2703 (outputs '("out" "doc"))
2704 (arguments
2deb146f 2705 `(#:modules ((guix build utils)
eccaa8bf 2706 (guix build meson-build-system)
2deb146f
LC
2707 (ice-9 popen))
2708
eccaa8bf 2709 #:configure-flags '("-Ddoc=true")
6e1bb642
SB
2710 #:phases
2711 (modify-phases %standard-phases
eccaa8bf 2712 (add-after 'unpack 'adjust-tests
26c228f9 2713 (lambda _
eccaa8bf
MB
2714 ;; This test fails due to missing /etc/nsswitch.conf
2715 ;; in the build environment.
26c228f9
LC
2716 (substitute* "tests/socket-test.c"
2717 ((".*/sockets/unconnected.*") ""))
2deb146f
LC
2718
2719 ;; Generate a self-signed certificate that has "localhost" as its
2720 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2721 ;; 3.5.12, tests such as "ssl-tests" fail:
2722 ;;
2723 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2724 ;;
2725 ;; 'certtool' is interactive so we have to pipe it the answers.
2726 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2727 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2728 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2729 (for-each (lambda (line)
2730 (display line pipe)
2731 (newline pipe))
2732 '("" ;Common name
2733 "" ;UID
2734 "Guix" ;Organizational unit name
2735 "GNU" ;Organization name
2736 "" ;Locality name
2737 "" ;State or province
2738 "" ;Country
2739 "" ;subject's domain component (DC)
2740 "" ;E-mail
2741 "" ;serial number
2742 "-1" ;expiration time
2743 "N" ;belong to authority?
2744 "N" ;web client certificate?
2745 "N" ;IPsec IKE?
2746 "Y" ;web server certificate?
2747 "localhost" ;dnsName of subject
2748 "" ;dnsName of subject (end)
2749 "" ;URI of subject
2750 "127.0.0.1" ;IP address of subject
2751 "" ;signing?
06f5bc4e
MB
2752 "" ;encryption (RSA)?
2753 "" ;data encryption?
2deb146f
LC
2754 "" ;sign OCSP requests?
2755 "" ;sign code?
2756 "" ;time stamping?
2757 "" ;email protection?
2758 "" ;URI of the CRL distribution point
2759 "y" ;above info OK?
2760 ))
2761 (close-pipe pipe))
26c228f9 2762 #t))
eccaa8bf
MB
2763 (add-after 'install 'move-doc
2764 (lambda* (#:key outputs #:allow-other-keys)
2765 (let ((out (assoc-ref outputs "out"))
2766 (doc (assoc-ref outputs "doc")))
2767 (mkdir-p (string-append doc "/share"))
2768 (copy-recursively (string-append out "/share/gtk-doc")
2769 (string-append doc "/share/gtk-doc"))
2770 (delete-file-recursively (string-append out "/share/gtk-doc"))
2771 #t))))))
6e1bb642 2772 (native-inputs
26c228f9 2773 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6e1bb642 2774 ("gobject-introspection" ,gobject-introspection)
eccaa8bf 2775 ("gtk-doc" ,gtk-doc)
6e1bb642
SB
2776 ("intltool" ,intltool)
2777 ("pkg-config" ,pkg-config)
2778 ("python" ,python-wrapper)
fd730590 2779 ("vala" ,vala)
6e1bb642
SB
2780 ;; These are needed for the tests.
2781 ;; FIXME: Add PHP once available.
2782 ("curl" ,curl)
2deb146f 2783 ("gnutls" ,gnutls) ;for 'certtool'
6e1bb642
SB
2784 ("httpd" ,httpd)))
2785 (propagated-inputs
2786 ;; libsoup-2.4.pc refers to all these.
2787 `(("glib" ,glib)
249846bf 2788 ("libpsl" ,libpsl)
eccaa8bf 2789 ("libxml2" ,libxml2)
6e1bb642 2790 ("sqlite" ,sqlite)))
eccaa8bf
MB
2791 (inputs
2792 `(("glib-networking" ,glib-networking)
2793 ("mit-krb5" ,mit-krb5)))
6e1bb642
SB
2794 (home-page "https://live.gnome.org/LibSoup/")
2795 (synopsis "GLib-based HTTP Library")
2796 (description
2797 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2798and the GLib main loop, to integrate well with GNOME applications.")
2799 (license license:lgpl2.0+)))
2800
bba229a3
SB
2801(define-public libsecret
2802 (package
2803 (name "libsecret")
b243d2f7 2804 (version "0.19.1")
bba229a3
SB
2805 (source (origin
2806 (method url-fetch)
2807 (uri (string-append
896dcbc7
EF
2808 "mirror://gnome/sources/libsecret/"
2809 (version-major+minor version) "/"
0ada4e29 2810 "libsecret-" version ".tar.xz"))
bba229a3
SB
2811 (sha256
2812 (base32
b243d2f7 2813 "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5"))))
bba229a3
SB
2814 (build-system gnu-build-system)
2815 (outputs '("out" "doc"))
2816 (arguments
2817 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
2818 #:configure-flags
2819 (list (string-append "--with-html-dir="
2820 (assoc-ref %outputs "doc")
2821 "/share/gtk-doc/html"))))
2822 (native-inputs
c06ef010
MB
2823 `(("gettext" ,gettext-minimal)
2824 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
bba229a3 2825 ("gobject-introspection" ,gobject-introspection)
bba229a3
SB
2826 ("pkg-config" ,pkg-config)
2827 ("vala" ,vala)
2828 ("xsltproc" ,libxslt)))
2829 ;; These are needed for the tests.
2830 ;; FIXME: Add gjs once available.
2831 ;("dbus" ,dbus)
2832 ;("python2" ,python-2)
2833 ;("python2-dbus" ,python2-dbus)
2834 ;("python2-pygobject" ,python2-pygobject)
2835 ;("python2-pygobject-2" ,python2-pygobject-2)))
2836 (propagated-inputs
2837 `(("glib" ,glib))) ; required by libsecret-1.pc
2838 (inputs
2839 `(("docbook-xsl" ,docbook-xsl)
2840 ("libgcrypt" ,libgcrypt)
2841 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2842 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2843 (synopsis "GObject bindings for \"Secret Service\" API")
2844 (description
2845 "Libsecret is a GObject based library for storing and retrieving passwords
2846and other secrets. It communicates with the \"Secret Service\" using DBus.")
2847 (license license:lgpl2.1+)))
2848
b6821ee0 2849(define-public five-or-more
2850 (package
2851 (name "five-or-more")
fd0557f8 2852 (version "3.30.0")
b6821ee0 2853 (source
2854 (origin
2855 (method url-fetch)
2856 (uri (string-append "mirror://gnome/sources/" name "/"
2857 (version-major+minor version) "/"
2858 name "-" version ".tar.xz"))
2859 (sha256
2860 (base32
fd0557f8 2861 "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x"))))
b6821ee0 2862 (build-system glib-or-gtk-build-system)
2863 (native-inputs
2864 `(("pkg-config" ,pkg-config)
2865 ("desktop-file-utils" ,desktop-file-utils)
2866 ("intltool" ,intltool)
2867 ("itstool" ,itstool)
2868 ("xmllint" ,libxml2)))
2869 (inputs
2870 `(("gtk+" ,gtk+)
2871 ("librsvg" ,librsvg)))
2872 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2873 (synopsis "Logic puzzle game")
2874 (description "Five or More is a game where you try to align
2875 five or more objects of the same color and shape causing them to disappear.
2876 On every turn more objects will appear, until the board is full.
2877 Try to last as long as possible.")
2878 (license license:gpl2+)))
2879
a31a6d22
SB
2880(define-public gnome-mines
2881 (package
2882 (name "gnome-mines")
f7a584f4 2883 (version "3.30.1.1")
a31a6d22
SB
2884 (source
2885 (origin
2886 (method url-fetch)
2887 (uri (string-append "mirror://gnome/sources/" name "/"
2888 (version-major+minor version) "/"
2889 name "-" version ".tar.xz"))
2890 (sha256
2891 (base32
f7a584f4 2892 "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z"))))
8c0fab36 2893 (build-system meson-build-system)
a31a6d22 2894 (arguments
8c0fab36 2895 `(#:phases
a31a6d22 2896 (modify-phases %standard-phases
8c0fab36 2897 (delete 'bootstrap))))
a31a6d22 2898 (native-inputs
8c0fab36
RW
2899 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
2900 ("pkg-config" ,pkg-config)
a31a6d22
SB
2901 ("desktop-file-utils" ,desktop-file-utils)
2902 ("intltool" ,intltool)
bcb354ad 2903 ("itstool" ,itstool)
8c0fab36
RW
2904 ("vala" ,vala)
2905 ("yelp" ,yelp)
2906 ("appstream-glib" ,appstream-glib)))
a31a6d22
SB
2907 (inputs
2908 `(("gtk+" ,gtk+)
73992962 2909 ("libgnome-games-support" ,libgnome-games-support)
a31a6d22
SB
2910 ("librsvg" ,librsvg)))
2911 (home-page "https://wiki.gnome.org/Apps/Mines")
2912 (synopsis "Minesweeper game")
2913 (description
2914 "Mines (previously gnomine) is a puzzle game where you locate mines
2915floating in an ocean using only your brain and a little bit of luck.")
2916 (license license:gpl2+)))
88f70665 2917
dfc407f3
KY
2918(define-public gnome-sudoku
2919 (package
2920 (name "gnome-sudoku")
b3f95507 2921 (version "3.30.0")
dfc407f3
KY
2922 (source
2923 (origin
2924 (method url-fetch)
2925 (uri (string-append "mirror://gnome/sources/" name "/"
2926 (version-major+minor version) "/"
2927 name "-" version ".tar.xz"))
2928 (sha256
2929 (base32
b3f95507 2930 "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f"))))
dfc407f3
KY
2931 (build-system glib-or-gtk-build-system)
2932 (native-inputs
2933 `(("pkg-config" ,pkg-config)
2934 ("desktop-file-utils" ,desktop-file-utils)
2935 ("intltool" ,intltool)
2936 ("itstool" ,itstool)
2937 ("xmllint" ,libxml2)))
2938 (inputs
2939 `(("gtk+" ,gtk+)
2940 ("json-glib" ,json-glib)
2941 ("libgee" ,libgee)
2942 ("librsvg" ,librsvg)
2943 ("qqwing" ,qqwing)))
2944 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2945 (synopsis "Japanese logic game")
2946 (description
2947 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2948GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2949possible while still providing features that make playing difficult Sudoku
2950more fun.")
2951 (license license:gpl2+)))
2952
88f70665
AW
2953(define-public gnome-terminal
2954 (package
2955 (name "gnome-terminal")
50888342 2956 (version "3.30.3")
88f70665
AW
2957 (source
2958 (origin
2959 (method url-fetch)
2960 (uri (string-append "mirror://gnome/sources/" name "/"
2961 (version-major+minor version) "/"
2962 name "-" version ".tar.xz"))
2963 (sha256
2964 (base32
50888342 2965 "0bar8qazk39acsif31h8i408nl82mzdcdg6p7ymak4l9pxyscxf8"))))
88f70665
AW
2966 (build-system glib-or-gtk-build-system)
2967 (arguments
2968 '(#:configure-flags
2969 (list "--disable-migration" "--disable-search-provider"
2970 "--without-nautilus-extension")
2971 #:phases
2972 (modify-phases %standard-phases
3a4de6b2 2973 (add-before 'configure 'patch-/bin/true
88f70665
AW
2974 (lambda _
2975 (substitute* "configure"
2976 (("/bin/true") (which "true"))))))))
2977 (native-inputs
2978 `(("pkg-config" ,pkg-config)
2979 ("desktop-file-utils" ,desktop-file-utils)
2980 ("intltool" ,intltool)
bcb354ad
SB
2981 ("itstool" ,itstool)
2982 ("xmllint" ,libxml2)))
68702167
MW
2983 (propagated-inputs
2984 `(("dconf" ,dconf)))
88f70665
AW
2985 (inputs
2986 `(("gtk+" ,gtk+)
2987 ("vte" ,vte)
2988 ("gnutls" ,gnutls)
88f70665
AW
2989 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2990 ("util-linux" ,util-linux)
2991 ("vala" ,vala)))
2992 (home-page "https://wiki.gnome.org/Apps/Terminal")
2993 (synopsis "Terminal emulator")
2994 (description
2995 "GNOME Terminal is a terminal emulator application for accessing a
2996UNIX shell environment which can be used to run programs available on
2997your system.
2998
2999It supports several profiles, multiple tabs and implements several
3000keyboard shortcuts.")
3001 (license license:gpl3+)))
75016d07
AW
3002
3003(define-public colord
3004 (package
3005 (name "colord")
a68544a8 3006 (version "1.4.3")
75016d07
AW
3007 (source
3008 (origin
3009 (method url-fetch)
5cc3096c 3010 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
75016d07
AW
3011 name "-" version ".tar.xz"))
3012 (sha256
3013 (base32
a68544a8
RW
3014 "1xwxahg9mgmapc16xkb4kgmc40zpadrwav33xqmn6cgaw6g6d3ls"))))
3015 (build-system meson-build-system)
75016d07 3016 (arguments
a68544a8
RW
3017 '(;; FIXME: One test fails:
3018 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3019 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3020 ;; application/x-zerosize
75016d07 3021 #:tests? #f
a68544a8
RW
3022 #:glib-or-gtk? #t
3023 #:configure-flags (list "-Dlocalstatedir=/var"
75016d07 3024 ;; No dep on systemd.
a68544a8 3025 "-Dsystemd=false"
75016d07
AW
3026 ;; Wants to install to global completion dir;
3027 ;; punt.
a68544a8 3028 "-Dbash_completion=false"
75016d07 3029 ;; colord-gtk not packaged yet.
a68544a8
RW
3030 "-Dsession_example=false"
3031 "-Ddaemon_user=colord"
3032 "-Dsane=true"
3033 ;; Requires spotread
3034 "-Dargyllcms_sensor=false"
3035 ;; TODO: Requires docbook2x
3036 "-Dman=false")
75016d07
AW
3037 #:phases
3038 (modify-phases %standard-phases
a68544a8
RW
3039 (add-before 'configure 'patch-build-system
3040 (lambda* (#:key outputs #:allow-other-keys)
3041 (substitute* "rules/meson.build"
3042 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3043 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3044 #t)))))
75016d07
AW
3045 (native-inputs
3046 `(("pkg-config" ,pkg-config)
a68544a8 3047 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
75016d07 3048 ("gobject-introspection" ,gobject-introspection)
a68544a8 3049 ("gtk-doc" ,gtk-doc)
75016d07
AW
3050 ("libtool" ,libtool)
3051 ("intltool" ,intltool)))
65cb2d61
SB
3052 (propagated-inputs
3053 ;; colord.pc refers to all these.
3054 `(("glib" ,glib)
3055 ("udev" ,eudev)
3056 ("lcms" ,lcms)))
75016d07 3057 (inputs
65cb2d61 3058 `(("dbus-glib" ,dbus-glib)
a68544a8 3059 ("gusb" ,gusb)
80c7dd1a 3060 ("libgudev" ,libgudev)
75016d07 3061 ("libusb" ,libusb)
75016d07
AW
3062 ("sqlite" ,sqlite)
3063 ("polkit" ,polkit)
a68544a8 3064 ("python" ,python-wrapper)
4c928743 3065 ("sane-backends" ,sane-backends)))
57e7d748 3066 (home-page "https://www.freedesktop.org/software/colord/")
75016d07
AW
3067 (synopsis "Color management service")
3068 (description "Colord is a system service that makes it easy to manage,
3069install and generate color profiles to accurately color manage input and
3070output devices.")
3071 (license license:gpl2+)))
7b2abd00
AW
3072
3073(define-public geoclue
3074 (package
3075 (name "geoclue")
b433c7b3 3076 (version "2.4.8")
7b2abd00
AW
3077 (source
3078 (origin
3079 (method url-fetch)
5cc3096c 3080 (uri (string-append "https://www.freedesktop.org/software/" name
7b2abd00
AW
3081 "/releases/" (version-major+minor version) "/"
3082 name "-" version ".tar.xz"))
3083 (sha256
3084 (base32
b433c7b3 3085 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
fc1adab1 3086 (patches (search-patches "geoclue-config.patch"))))
7b2abd00
AW
3087 (build-system glib-or-gtk-build-system)
3088 (arguments
3089 '(;; The tests want to run the system bus.
3090 #:tests? #f
3091 #:configure-flags (list ;; Disable bits requiring ModemManager.
3092 "--disable-3g-source"
3093 "--disable-cdma-source"
3094 "--disable-modem-gps-source"
3095 "--with-dbus-service-user=geoclue")
3096 #:phases
3097 (modify-phases %standard-phases
3a4de6b2 3098 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
3099 (lambda _
3100 (substitute* "configure"
e3eb53e7
MW
3101 (("/bin/true") (which "true")))
3102 #t)))))
7b2abd00
AW
3103 (native-inputs
3104 `(("pkg-config" ,pkg-config)
758798a9 3105 ("gobject-introspection" ,gobject-introspection)
7b2abd00
AW
3106 ("intltool" ,intltool)))
3107 (inputs
54e911bc
SB
3108 `(("avahi" ,avahi)
3109 ("glib" ,glib)
7b2abd00
AW
3110 ("json-glib" ,json-glib)
3111 ("libsoup" ,libsoup)))
99adfd7d 3112 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
7b2abd00
AW
3113 (synopsis "Geolocation service")
3114 (description "Geoclue is a D-Bus service that provides location
3115information. The primary goal of the Geoclue project is to make creating
3116location-aware applications as simple as possible, while the secondary goal is
3117to ensure that no application can access location information without explicit
e881752c 3118permission from user.")
7b2abd00 3119 (license license:gpl2+)))
2bfe7437
AW
3120
3121(define-public geocode-glib
3122 (package
3123 (name "geocode-glib")
65de725f 3124 (version "3.26.1")
2bfe7437
AW
3125 (source (origin
3126 (method url-fetch)
3127 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3128 (version-major+minor version) "/"
d485cdc0 3129 "geocode-glib-" version ".tar.xz"))
2bfe7437
AW
3130 (sha256
3131 (base32
65de725f 3132 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
a7dd0c02 3133 (build-system meson-build-system)
2bfe7437 3134 (arguments
a7dd0c02
RW
3135 `(#:phases
3136 (modify-phases %standard-phases
3137 ;; The tests require a bunch of locales.
3138 (add-before 'check 'set-locales
3139 (lambda* (#:key inputs #:allow-other-keys)
3140 (setenv "GUIX_LOCPATH"
3141 (string-append (assoc-ref inputs "glibc-locales")
3142 "/lib/locale"))
3143 #t)))))
2bfe7437
AW
3144 (native-inputs
3145 `(("glib:bin" ,glib "bin") ; for glib-mkenums
a7dd0c02
RW
3146 ("glibc-locales" ,glibc-locales) ; for tests
3147 ("gettext" ,gettext-minimal)
2bfe7437 3148 ("gobject-introspection" ,gobject-introspection)
a7dd0c02 3149 ("gtk-doc" ,gtk-doc)
2bfe7437
AW
3150 ("pkg-config" ,pkg-config)
3151 ("json-glib" ,json-glib)))
3152 (propagated-inputs
3153 ;; geocode-glib-1.0.pc refers to GIO.
3154 `(("glib" ,glib)))
3155 (inputs
3156 `(("libsoup" ,libsoup)))
3157 (home-page "https://github.com/GNOME/geocode-glib/")
3158 (synopsis "Geocoding and reverse-geocoding library")
3159 (description
3160 "geocode-glib is a convenience library for geocoding (finding longitude,
3161and latitude from an address) and reverse geocoding (finding an address from
3162coordinates) using the Nominatim service. geocode-glib caches requests for
3163faster results and to avoid unnecessary server load.")
3164 (license license:lgpl2.0+)))
a1d5bb0e
AW
3165
3166(define-public upower
3167 (package
3168 (name "upower")
4088d809 3169 (version "0.99.10")
a1d5bb0e
AW
3170 (source (origin
3171 (method url-fetch)
9ec54965 3172 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
4088d809 3173 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
9ec54965 3174 "upower-" version ".tar.xz"))
a1d5bb0e
AW
3175 (sha256
3176 (base32
4088d809 3177 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
fc1adab1 3178 (patches (search-patches "upower-builddir.patch"))))
a1d5bb0e
AW
3179 (build-system glib-or-gtk-build-system)
3180 (arguments
3181 '( ;; The tests want to contact the system bus, which can't be done in the
3182 ;; build environment. The integration test can run, but the last of
3183 ;; the up-self-tests doesn't. Disable tests for now.
3184 #:tests? #f
3185 #:configure-flags (list "--localstatedir=/var"
3186 (string-append "--with-udevrulesdir="
3187 (assoc-ref %outputs "out")
9ec54965 3188 "/lib/udev/rules.d"))))
a1d5bb0e 3189 (native-inputs
ebeabe2d
SB
3190 `(("gobject-introspection" ,gobject-introspection)
3191 ("pkg-config" ,pkg-config)
a1d5bb0e 3192 ("intltool" ,intltool)
55409295
LC
3193 ("python" ,python)
3194
3195 ;; For man pages.
3196 ("libxslt" ,libxslt) ;for 'xsltproc'
3197 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3198 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 3199 (inputs
ea226291
SB
3200 `(("dbus-glib" ,dbus-glib)
3201 ("libgudev" ,libgudev)
a1d5bb0e 3202 ("libusb" ,libusb)))
d7a503fc
MB
3203 (propagated-inputs
3204 ;; In Requires of upower-glib.pc.
3205 `(("glib" ,glib)))
57e7d748 3206 (home-page "https://upower.freedesktop.org/")
a1d5bb0e
AW
3207 (synopsis "System daemon for managing power devices")
3208 (description
3209 "UPower is an abstraction for enumerating power devices,
3210listening to device events and querying history and statistics. Any
3211application or service on the system can access the org.freedesktop.UPower
3212service via the system message bus.")
3213 (license license:gpl2+)))
6a180f6f
AW
3214
3215(define-public libgweather
3216 (package
3217 (name "libgweather")
794ce8ea 3218 (version "3.28.3")
6a180f6f
AW
3219 (source (origin
3220 (method url-fetch)
3221 (uri (string-append "mirror://gnome/sources/" name "/"
3222 (version-major+minor version) "/"
3223 name "-" version ".tar.xz"))
3224 (sha256
3225 (base32
794ce8ea 3226 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
cf6cbc34 3227 (build-system meson-build-system)
6a180f6f 3228 (arguments
cf6cbc34
RW
3229 `(#:tests? #f ; one of two tests requires network access
3230 #:configure-flags
3231 `(,(string-append "-Dzoneinfo_dir="
b6072e6b 3232 (assoc-ref %build-inputs "tzdata")
cf6cbc34 3233 "/share/zoneinfo"))))
6a180f6f
AW
3234 (native-inputs
3235 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 3236 ("gobject-introspection" ,gobject-introspection)
6a180f6f 3237 ("pkg-config" ,pkg-config)
1d3fcf94 3238 ("vala" ,vala)
6a180f6f
AW
3239 ("intltool" ,intltool)))
3240 (propagated-inputs
3241 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3242 ;; libsoup.
3243 `(("gtk+" ,gtk+)
3244 ("gdk-pixbuf" ,gdk-pixbuf)
3245 ("libxml2" ,libxml2)
cf6cbc34 3246 ("libsoup" ,libsoup)
6a180f6f 3247 ("geocode-glib" ,geocode-glib)))
cf6cbc34
RW
3248 (inputs
3249 `(("tzdata" ,tzdata)))
6a180f6f
AW
3250 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3251 (synopsis "Location, time zone, and weather library for GNOME")
3252 (description
3253 "libgweather is a library to access weather information from online
3254services for numerous locations.")
3255 (license license:gpl2+)))
23a22af6
AW
3256
3257(define-public gnome-settings-daemon
3258 (package
3259 (name "gnome-settings-daemon")
90fdc80f 3260 (version "3.30.2")
23a22af6
AW
3261 (source
3262 (origin
3263 (method url-fetch)
3264 (uri (string-append "mirror://gnome/sources/" name "/"
3265 (version-major+minor version) "/"
3266 name "-" version ".tar.xz"))
3267 (sha256
3268 (base32
90fdc80f 3269 "0c663csa3gnsr6wm0xfll6aani45snkdj7zjwjfzcwfh8w4a3z12"))))
e644f9fa 3270 (build-system meson-build-system)
23a22af6 3271 (arguments
e644f9fa
RW
3272 `(#:glib-or-gtk? #t
3273 #:configure-flags
3274 (list (string-append "-Dudev_dir="
3275 (assoc-ref %outputs "out")
4d0e085b
RW
3276 "/lib/udev/rules.d/")
3277 ;; Otherwise, the RUNPATH will lack the final path component.
3278 (string-append "-Dc_link_args=-Wl,-rpath="
3279 (assoc-ref %outputs "out")
3280 "/lib/gnome-settings-daemon-3.0"))
e644f9fa 3281 ;; Color management test can't reach the colord system service.
23a22af6
AW
3282 #:tests? #f))
3283 (native-inputs
e644f9fa
RW
3284 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3285 ("pkg-config" ,pkg-config)
23a22af6
AW
3286 ("intltool" ,intltool)
3287 ("xsltproc" ,libxslt)
3288 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3289 ("docbook-xml" ,docbook-xml-4.2)
3290 ("docbook-xsl" ,docbook-xsl)))
3291 (inputs
e644f9fa
RW
3292 `(("alsa-lib" ,alsa-lib)
3293 ("colord" ,colord)
ea226291 3294 ("libgudev" ,libgudev)
23a22af6
AW
3295 ("upower" ,upower)
3296 ("polkit" ,polkit)
3297 ("pulseaudio" ,pulseaudio)
3298 ("libcanberra" ,libcanberra)
3299 ("libx11" ,libx11)
3300 ("libxtst" ,libxtst)
3301 ("lcms" ,lcms)
3302 ("libnotify" ,libnotify)
3303 ("geoclue" ,geoclue)
3304 ("geocode-glib" ,geocode-glib)
3305 ("libgweather" ,libgweather)
3306 ("gnome-desktop" ,gnome-desktop)
3307 ("nss" ,nss)
3308 ("cups" ,cups)
ec2b1921
AW
3309 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3310 ("libwacom" ,libwacom)
3311 ("librsvg" ,librsvg)
eee7878f 3312 ("xf86-input-wacom" ,xf86-input-wacom)
e644f9fa 3313 ("wayland" ,wayland)
eee7878f 3314 ("network-manager" ,network-manager)))
f032d0be 3315 (home-page "https://www.gnome.org")
23a22af6
AW
3316 (synopsis "GNOME settings daemon")
3317 (description
3318 "This package contains the daemon responsible for setting the various
3319parameters of a GNOME session and the applications that run under it. It
3320handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3321settings, themes, mouse settings, and startup of other daemons.")
3322 (license license:gpl2+)))
1e7464a9
DH
3323
3324(define-public totem-pl-parser
3325 (package
3326 (name "totem-pl-parser")
77425f04 3327 (version "3.26.3")
1e7464a9
DH
3328 (source (origin
3329 (method url-fetch)
e980cbe9
MW
3330 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3331 (version-major+minor version) "/"
1e7464a9
DH
3332 "totem-pl-parser-" version ".tar.xz"))
3333 (sha256
3334 (base32
77425f04 3335 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
1e9b19dd 3336 (build-system meson-build-system)
1e7464a9
DH
3337 (arguments
3338 ;; FIXME: Tests require gvfs.
3339 `(#:tests? #f))
3340 (native-inputs
3341 `(("intltool" ,intltool)
3342 ("glib" ,glib "bin")
4d6d8281 3343 ("gobject-introspection" ,gobject-introspection)
1e7464a9 3344 ("pkg-config" ,pkg-config)))
22a6ad6a 3345 (propagated-inputs
1e7464a9
DH
3346 `(("glib" ,glib)
3347 ("gmime" ,gmime)
1e9b19dd
RW
3348 ("libarchive" ,libarchive)
3349 ("libgcrypt" ,libgcrypt)
22a6ad6a
MW
3350 ("libxml2" ,libxml2)))
3351 (inputs
0a6e9e13 3352 `(("libsoup" ,libsoup)))
1e7464a9
DH
3353 (home-page "https://projects.gnome.org/totem")
3354 (synopsis "Library to parse and save media playlists for GNOME")
3355 (description "Totem-pl-parser is a GObjects-based library to parse and save
3356playlists in a variety of formats.")
3357 (license license:lgpl2.0+)))
3358
6b888eff
SB
3359(define-public aisleriot
3360 (package
3361 (name "aisleriot")
36ed9b46 3362 (version "3.22.9")
6b888eff
SB
3363 (source (origin
3364 (method url-fetch)
e43f622a 3365 (uri (string-append "mirror://gnome/sources/aisleriot/"
6b888eff 3366 (version-major+minor version) "/"
e43f622a 3367 "aisleriot-" version ".tar.xz"))
6b888eff
SB
3368 (sha256
3369 (base32
36ed9b46 3370 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
6b888eff
SB
3371 (build-system glib-or-gtk-build-system)
3372 (arguments
3373 '(#:configure-flags
3374 '("--with-platform=gtk-only"
3375 "--with-card-theme-formats=svg")))
3376 (native-inputs
3377 `(("desktop-file-utils" ,desktop-file-utils)
3378 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3379 ("intltool" ,intltool)
3380 ("itstool" ,itstool)
3381 ("pkg-config" ,pkg-config)
3382 ("xmllint" ,libxml2)))
3383 (inputs
3384 `(("gtk+" ,gtk+)
226e57d6 3385 ("guile" ,guile-2.2)
6b888eff
SB
3386 ("libcanberra" ,libcanberra)
3387 ("librsvg" ,librsvg)))
3388 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3389 (synopsis "Solitaire card games")
3390 (description
3391 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3392which are easy to play with the aid of a mouse.")
3393 (license license:gpl3+)))
4a79e256 3394
f828d05b
KK
3395(define-public amtk
3396 (package
3397 (name "amtk")
3398 (version "5.0.0")
3399 (source (origin
3400 (method url-fetch)
3401 (uri (string-append "mirror://gnome/sources/" name "/"
3402 (version-major+minor version) "/"
3403 name "-" version ".tar.xz"))
3404 (sha256
3405 (base32
3406 "1zriix7bdwcg0868mfc7jy6zbwjwdmjwbh0ah6dbddrhiabrda8j"))))
3407 (build-system gnu-build-system)
3408 (arguments
3409 '(#:configure-flags '("--enable-gtk-doc")))
3410 (native-inputs
3411 `(("gobject-introspection" ,gobject-introspection)
3412 ("glib:bin" ,glib "bin") ; for glib-mkenums
3413 ("gtk-doc" ,gtk-doc)
3414 ("pkg-config" ,pkg-config)))
3415 (inputs
3416 `(("glib" ,glib)
3417 ("gtk+" ,gtk+)))
3418 (home-page "https://wiki.gnome.org/Projects/Amtk")
3419 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
3420 (description
3421 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
3422It is a basic GtkUIManager replacement based on GAction. It is suitable for
3423both a traditional UI or a modern UI with a GtkHeaderBar.")
3424 (license license:lgpl2.1+)))
3425
4a79e256
SB
3426(define-public devhelp
3427 (package
3428 (name "devhelp")
11d28bd9 3429 (version "3.30.1")
4a79e256
SB
3430 (source (origin
3431 (method url-fetch)
3432 (uri (string-append "mirror://gnome/sources/" name "/"
3433 (version-major+minor version) "/"
3434 name "-" version ".tar.xz"))
3435 (sha256
3436 (base32
11d28bd9
KK
3437 "036sddvhs0blqpc2ixmjdl9vxynvkn5jpgn0jxr1fxcm4rh3q07a"))))
3438 (build-system meson-build-system)
4a79e256
SB
3439 (native-inputs
3440 `(("intltool" ,intltool)
5dd12afc 3441 ("itstool" ,itstool)
11d28bd9
KK
3442 ("gobject-introspection" ,gobject-introspection)
3443 ("glib:bin" ,glib "bin") ; for glib-mkmenus
3444 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4a79e256
SB
3445 ("pkg-config" ,pkg-config)))
3446 (inputs
11d28bd9
KK
3447 `(("amtk" ,amtk)
3448 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4a79e256
SB
3449 ("webkitgtk" ,webkitgtk)))
3450 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3451 (synopsis "API documentation browser for GNOME")
3452 (description
3453 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3454natively with GTK-Doc (the API reference system developed for GTK+ and used
3455throughout GNOME for API documentation).")
3456 (license license:gpl2+)))
ba421ab7
MW
3457
3458(define-public cogl
3459 (package
3460 (name "cogl")
54c69ae1 3461 (version "1.22.4")
ba421ab7
MW
3462 (source
3463 (origin
3464 (method url-fetch)
5754f0cf 3465 (uri (string-append "mirror://gnome/sources/cogl/"
ba421ab7 3466 (version-major+minor version) "/"
5754f0cf 3467 "cogl-" version ".tar.xz"))
ba421ab7 3468 (sha256
54c69ae1 3469 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
a88d5a0c
MW
3470 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3471 ;; cogl, corresponding changes may be appropriate in mutter as well.
ba421ab7
MW
3472 (build-system gnu-build-system)
3473 (native-inputs
3474 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3475 ("gobject-introspection" ,gobject-introspection)
3476 ;;("xorg-server" ,xorg-server) ; for the test suite
3477 ("pkg-config" ,pkg-config)))
3478 (propagated-inputs
3479 `(("glib" ,glib)
3480 ("gdk-pixbuf" ,gdk-pixbuf)
3481 ("libx11" ,libx11)
3482 ("libxext" ,libxext)
3483 ("libxfixes" ,libxfixes)
3484 ("libxdamage" ,libxdamage)
3485 ("libxcomposite" ,libxcomposite)
3486 ("libxrandr" ,libxrandr)))
3487 (inputs
3488 `(("mesa" ,mesa)
3489 ("cairo" ,cairo)
3490 ("pango" ,pango)
3491 ("gstreamer" ,gstreamer)
31860852
KK
3492 ("gst-plugins-base" ,gst-plugins-base)
3493 ("wayland" ,wayland)))
ba421ab7
MW
3494 (arguments
3495 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
3496 "--enable-wayland-egl-platform"
3497 "--enable-wayland-egl-server"
3498
ba421ab7
MW
3499 ;; Arrange to pass an absolute file name to
3500 ;; dlopen for libGL.so.
3501 (string-append "--with-gl-libname="
3502 (assoc-ref %build-inputs "mesa")
3503 "/lib/libGL.so"))
3504 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3505 ;; _FontTransOpen: Unable to Parse address
3506 ;; ${prefix}/share/fonts/X11/misc/
3507 #:tests? #f
3508 #; #:phases
3509 #;
3510 (modify-phases %standard-phases
3511 (add-before 'check 'start-xorg-server
3512 (lambda* (#:key inputs #:allow-other-keys)
3513 ;; The test suite requires a running X server.
3514 (system (format #f "~a/bin/Xvfb :1 &"
3515 (assoc-ref inputs "xorg-server")))
3516 (setenv "DISPLAY" ":1")
3517 #t)))))
3518 (home-page "http://www.cogl3d.org")
3519 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3520 (description
3521 "Cogl is a small library for using 3D graphics hardware to draw pretty
3522pictures. The API departs from the flat state machine style of OpenGL and is
3523designed to make it easy to write orthogonal components that can render
3524without stepping on each others toes.")
3525 (license (list license:expat ; most of the code
3526 license:bsd-3 ; cogl/cogl-point-in-poly.c
3527 license:sgifreeb2.0 ; cogl-path/tesselator/
3528 license:asl2.0)))) ; examples/android/
fb182b8a
MW
3529
3530(define-public clutter
3531 (package
3532 (name "clutter")
6a88e4ee 3533 (version "1.26.2")
fb182b8a
MW
3534 (source
3535 (origin
3536 (method url-fetch)
3537 (uri (string-append "mirror://gnome/sources/" name "/"
3538 (version-major+minor version) "/"
3539 name "-" version ".tar.xz"))
3540 (sha256
3541 (base32
6a88e4ee 3542 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
3543 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3544 ;; to clutter, corresponding changes may be appropriate in mutter as well.
fb182b8a 3545 (build-system gnu-build-system)
600233bd
LC
3546 (outputs '("out"
3547 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
3548 (native-inputs
3549 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3550 ("gobject-introspection" ,gobject-introspection)
3551 ("pkg-config" ,pkg-config)
3552 ("xsltproc" ,libxslt)))
3553 (propagated-inputs
3554 `(("cogl" ,cogl)
3555 ("cairo" ,cairo)
3556 ("atk" ,atk)
3557 ("gtk+" ,gtk+)
3558 ("json-glib" ,json-glib)
3559 ("glib" ,glib)
3560 ("libxcomposite" ,libxcomposite)
3561 ("libxdamage" ,libxdamage)
3562 ("libxext" ,libxext)
3563 ("xinput" ,xinput)))
3564 (inputs
3565 `(("libxkbcommon" ,libxkbcommon)
3566 ("udev" ,eudev)))
3567 (arguments
600233bd
LC
3568 `(#:configure-flags (list "--enable-x11-backend=yes"
3569
3570 ;; This produces share/doc/{clutter,cally}.
3571 (string-append "--with-html-dir="
3572 (assoc-ref %outputs "doc")
3573 "/share/doc"))
fb182b8a
MW
3574 ;; XXX FIXME: Get test suite working. It would probably fail in the
3575 ;; same way the cogl tests fail, since clutter is based on cogl.
3576 #:tests? #f))
3577 (home-page "http://www.clutter-project.org")
476af713 3578 (synopsis "OpenGL-based interactive canvas library")
fb182b8a 3579 (description
476af713 3580 "Clutter is an OpenGL-based interactive canvas library, designed for
fb182b8a
MW
3581creating fast, mainly 2D single window applications such as media box UIs,
3582presentations, kiosk style applications and so on.")
3583 (license license:lgpl2.0+)))
bf7f17ba
MW
3584
3585(define-public clutter-gtk
3586 (package
3587 (name "clutter-gtk")
5d1a3219 3588 (version "1.8.4")
bf7f17ba
MW
3589 (source
3590 (origin
3591 (method url-fetch)
3592 (uri (string-append "mirror://gnome/sources/" name "/"
3593 (version-major+minor version) "/"
3594 name "-" version ".tar.xz"))
3595 (sha256
3596 (base32
5d1a3219 3597 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
bf7f17ba
MW
3598 (build-system gnu-build-system)
3599 (native-inputs
3600 `(("pkg-config" ,pkg-config)
3601 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
3602 (propagated-inputs
3603 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
3604 `(("clutter" ,clutter)
3605 ("gtk+" ,gtk+)))
3606 (home-page "http://www.clutter-project.org")
476af713 3607 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
bf7f17ba 3608 (description
476af713 3609 "Clutter is an OpenGL-based interactive canvas library, designed for
bf7f17ba
MW
3610creating fast, mainly 2D single window applications such as media box UIs,
3611presentations, kiosk style applications and so on.")
3612 (license license:lgpl2.0+)))
86d6a893
MW
3613
3614(define-public clutter-gst
3615 (package
3616 (name "clutter-gst")
ba07ac19 3617 (version "3.0.27")
86d6a893
MW
3618 (source
3619 (origin
3620 (method url-fetch)
f010f89b 3621 (uri (string-append "mirror://gnome/sources/clutter-gst/"
86d6a893 3622 (version-major+minor version) "/"
f010f89b 3623 "clutter-gst-" version ".tar.xz"))
86d6a893 3624 (sha256
ba07ac19 3625 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
86d6a893
MW
3626 (build-system gnu-build-system)
3627 (native-inputs
ba07ac19 3628 `(("glib:bin" ,glib "bin") ; for glib-mkenums
86d6a893
MW
3629 ("pkg-config" ,pkg-config)
3630 ("gobject-introspection" ,gobject-introspection)))
3631 (inputs
3632 `(("clutter" ,clutter)
3633 ("gstreamer" ,gstreamer)
3634 ("gst-plugins-base" ,gst-plugins-base)))
3635 (home-page "http://www.clutter-project.org")
3636 (synopsis "Integration library for using GStreamer with Clutter")
3637 (description
3638 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3639It provides a GStreamer sink to upload frames to GL and an actor that
476af713
TGR
3640implements the ClutterGstPlayer interface using playbin. Clutter is an
3641OpenGL-based interactive canvas library.")
86d6a893 3642 (license license:lgpl2.0+)))
607a04ae 3643
30dc88d9
LC
3644(define-public libchamplain
3645 (package
3646 (name "libchamplain")
5564b2c5 3647 (version "0.12.16")
30dc88d9
LC
3648 (source (origin
3649 (method url-fetch)
3650 (uri (string-append
3651 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3652 version ".tar.xz"))
3653 (sha256
3654 (base32
5564b2c5 3655 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
30dc88d9 3656 (build-system gnu-build-system)
f7c6833f
LF
3657 (arguments '(#:configure-flags '("--enable-vala")))
3658 (native-inputs
3659 `(("gobject-introspection" ,gobject-introspection)
3660 ("pkg-config" ,pkg-config)
3661 ("vala" ,vala)))
30dc88d9
LC
3662 (propagated-inputs
3663 `(("libsoup" ,libsoup)
3664 ("sqlite" ,sqlite)
3665 ("clutter" ,clutter)
3666 ("clutter-gtk" ,clutter-gtk)
3667 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3668 ("cairo" ,cairo)
3669 ("gtk+3" ,gtk+)
3670 ("glib" ,glib)))
f032d0be 3671 (home-page "https://projects.gnome.org/libchamplain/")
30dc88d9
LC
3672 (synopsis "C library providing a ClutterActor to display maps")
3673 (description
3674 "libchamplain is a C library providing a ClutterActor to display maps.
3675It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3676and Perl bindings are also available. It supports numerous free map sources
3677such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3678 (license license:lgpl2.1+)))
3679
607a04ae
MW
3680(define-public gom
3681 (package
3682 (name "gom")
0510440b 3683 (version "0.3.2")
607a04ae
MW
3684 (source
3685 (origin
3686 (method url-fetch)
6c8a0b6f 3687 (uri (string-append "mirror://gnome/sources/gom/"
607a04ae 3688 (version-major+minor version) "/"
6c8a0b6f 3689 "gom-" version ".tar.xz"))
607a04ae
MW
3690 (sha256
3691 (base32
0510440b 3692 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
3693 (build-system gnu-build-system)
3694 (native-inputs
3695 `(("intltool" ,intltool)
3696 ("pkg-config" ,pkg-config)
3697 ("gobject-introspection" ,gobject-introspection)))
3698 (inputs
3699 `(("glib" ,glib)
3700 ("gdk-pixbuf" ,gdk-pixbuf)
3701 ("sqlite" ,sqlite)))
3702 ;; XXX TODO: Figure out how to run the test suite.
3703 (arguments `(#:tests? #f))
3704 (home-page "https://wiki.gnome.org/Projects/Gom")
3705 (synopsis "Object mapper from GObjects to SQLite")
3706 (description
3707 "Gom provides an object mapper from GObjects to SQLite. It helps you
3708write applications that need to store structured data as well as make complex
3709queries upon that data.")
3710 (license license:lgpl2.1+)))
b7a3cf11 3711
865aacc9 3712(define-public libgnome-games-support
f09520db 3713 (package
865aacc9 3714 (name "libgnome-games-support")
4c6d15cf 3715 (version "1.4.4")
f09520db
SB
3716 (source (origin
3717 (method url-fetch)
2d8dca9d 3718 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
f09520db 3719 (version-major+minor version) "/"
2d8dca9d 3720 "libgnome-games-support-" version ".tar.xz"))
f09520db
SB
3721 (sha256
3722 (base32
4c6d15cf 3723 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
f09520db
SB
3724 (build-system gnu-build-system)
3725 (arguments
3726 '(#:phases
3727 (modify-phases %standard-phases
3728 (add-before 'check 'pre-check
3729 (lambda _
865aacc9 3730 ;; Tests require a writable HOME.
f09520db
SB
3731 (setenv "HOME" (getcwd))
3732 #t)))))
3733 (native-inputs
3734 `(("intltool" ,intltool)
3735 ("pkg-config" ,pkg-config)
3736 ("vala" ,vala)))
3737 (propagated-inputs
865aacc9 3738 ;; Required by libgnome-games-support-1.0.pc
f09520db
SB
3739 `(("gtk+" ,gtk+)
3740 ("libgee" ,libgee)))
3741 (home-page "https://www.gnome.org/")
3742 (synopsis "Useful functionality shared among GNOME games")
3743 (description
865aacc9 3744 "libgnome-games-support is a small library intended for internal use by
f09520db
SB
3745GNOME Games, but it may be used by others.")
3746 (license license:lgpl3+)))
3747
b7a3cf11
SB
3748(define-public gnome-klotski
3749 (package
3750 (name "gnome-klotski")
36828576 3751 (version "3.22.3")
b7a3cf11
SB
3752 (source (origin
3753 (method url-fetch)
3754 (uri (string-append "mirror://gnome/sources/" name "/"
3755 (version-major+minor version) "/"
3756 name "-" version ".tar.xz"))
3757 (sha256
3758 (base32
36828576 3759 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
b7a3cf11
SB
3760 (build-system glib-or-gtk-build-system)
3761 (native-inputs
3762 `(("desktop-file-utils" ,desktop-file-utils)
3763 ("intltool" ,intltool)
3764 ("itstool" ,itstool)
bcb354ad
SB
3765 ("pkg-config" ,pkg-config)
3766 ("xmllint" ,libxml2)))
b7a3cf11
SB
3767 (inputs
3768 `(("gtk+" ,gtk+)
f4eae76f 3769 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
3770 ("librsvg" ,librsvg)))
3771 (home-page "https://wiki.gnome.org/Apps/Klotski")
3772 (synopsis "Sliding block puzzles")
3773 (description
3774 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3775the patterned block to the area bordered by green markers. To do so, you will
3776need to slide other blocks out of the way. Complete each puzzle in as few moves
3777as possible!")
3778 (license license:gpl2+)))
8d4791bf
MW
3779
3780(define-public grilo
3781 (package
3782 (name "grilo")
99dd2af9 3783 (version "0.3.3")
8d4791bf
MW
3784 (source
3785 (origin
3786 (method url-fetch)
3787 (uri (string-append "mirror://gnome/sources/" name "/"
3788 (version-major+minor version) "/"
3789 name "-" version ".tar.xz"))
3790 (sha256
3791 (base32
99dd2af9 3792 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
8d4791bf
MW
3793 (build-system gnu-build-system)
3794 (native-inputs
3795 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3796 ("intltool" ,intltool)
3797 ("pkg-config" ,pkg-config)
3798 ("gobject-introspection" ,gobject-introspection)))
3799 (inputs
6d7273a0
KK
3800 `(("cyrus-sasl" ,cyrus-sasl)
3801 ("glib" ,glib)
8d4791bf
MW
3802 ("gtk+" ,gtk+)
3803 ("libxml2" ,libxml2)
6d7273a0 3804 ("liboauth" ,liboauth)
8d4791bf
MW
3805 ("libsoup" ,libsoup)
3806 ("totem-pl-parser" ,totem-pl-parser)))
3807 (arguments
3808 `(#:phases
3809 (modify-phases %standard-phases
3810 (add-after 'unpack 'fix-introspection-install-dir
3811 (lambda* (#:key outputs #:allow-other-keys)
3812 (let ((out (assoc-ref outputs "out")))
3813 (substitute* '("src/Makefile.in"
3814 "libs/pls/Makefile.in"
3815 "libs/net/Makefile.in")
3816 (("@INTROSPECTION_GIRDIR@")
3817 (string-append out "/share/gir-1.0/"))
3818 (("@INTROSPECTION_TYPELIBDIR@")
8c52aab4
MW
3819 (string-append out "/lib/girepository-1.0/")))
3820 #t))))))
8d4791bf
MW
3821 (native-search-paths
3822 (list (search-path-specification
3823 (variable "GRL_PLUGIN_PATH")
3824 (files (list (string-append "lib/grilo-"
3825 (version-major+minor version)))))))
f032d0be 3826 (home-page "https://live.gnome.org/Grilo")
8d4791bf
MW
3827 (synopsis "Framework for discovering and browsing media")
3828 (description
3829 "Grilo is a framework focused on making media discovery and browsing easy
3830for application developers.")
3831 (license license:lgpl2.1+)))
7b212526
MW
3832
3833(define-public grilo-plugins
3834 (package
3835 (name "grilo-plugins")
22753632 3836 (version "0.3.3")
7b212526
MW
3837 (source
3838 (origin
3839 (method url-fetch)
3840 (uri (string-append "mirror://gnome/sources/" name "/"
3841 (version-major+minor version) "/"
3842 name "-" version ".tar.xz"))
3843 (sha256
3844 (base32
22753632 3845 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
7b212526
MW
3846 (build-system gnu-build-system)
3847 (native-inputs
3848 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3849 ("intltool" ,intltool)
3850 ("itstool" ,itstool)
3851 ("pkg-config" ,pkg-config)))
3852 (inputs
3853 `(("grilo" ,grilo)
3854 ("glib" ,glib)
3855 ("libxml2" ,libxml2)
3856 ("sqlite" ,sqlite)
3857 ("gom" ,gom)
3858 ;; XXX TODO: Add oauth
3859 ;; XXX TODO: Add goa
3860 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3861 ;; XXX TODO: Add lua (needs help finding it)
3862 ("json-glib" ,json-glib)
3863 ("avahi" ,avahi)
3864 ("gmime" ,gmime)
3865 ("libsoup" ,libsoup)
3866 ("libarchive" ,libarchive)
3867 ("totem-pl-parser" ,totem-pl-parser)))
3868 (arguments
3869 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3870 %output
3871 "/lib/grilo-"
3872 ,(version-major+minor version)))
3873 ;; XXX FIXME: Try to get the test suite working. It appears to require
3874 ;; a working system dbus. Inside the build container, all tests fail
3875 ;; with: "assertion failed: (source)". Outside of the build container,
3876 ;; most tests succeed.
3877 #:tests? #f))
f032d0be 3878 (home-page "https://live.gnome.org/Grilo")
7b212526
MW
3879 (synopsis "Plugins for the Grilo media discovery library")
3880 (description
3881 "Grilo is a framework focused on making media discovery and browsing easy
3882for application developers.")
3883 (license license:lgpl2.1+)))
4e3fc547
MW
3884
3885(define-public totem
3886 (package
3887 (name "totem")
77425f04 3888 (version "3.30.0")
4e3fc547
MW
3889 (source
3890 (origin
3891 (method url-fetch)
3892 (uri (string-append "mirror://gnome/sources/" name "/"
3893 (version-major+minor version) "/"
3894 name "-" version ".tar.xz"))
3895 (sha256
3896 (base32
77425f04 3897 "0rahkybxbmxhlmrrgrzxny1xm7wycx7ib4blxp1i2l1q3i8s84b0"))
81382e3f
MB
3898 (patches (search-patches "totem-meson-easy-codec.patch"
3899 "totem-meson-compat.patch"))))
7ad81b8b 3900 (build-system meson-build-system)
4e3fc547
MW
3901 (native-inputs
3902 `(("pkg-config" ,pkg-config)
3903 ("desktop-file-utils" ,desktop-file-utils)
3904 ("gobject-introspection" ,gobject-introspection)
7ad81b8b
LC
3905 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3906 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
4e3fc547 3907 ("intltool" ,intltool)
bcb354ad
SB
3908 ("itstool" ,itstool)
3909 ("xmllint" ,libxml2)))
4e3fc547
MW
3910 (propagated-inputs
3911 `(("dconf" ,dconf)))
3912 (inputs
3913 `(("gtk+" ,gtk+)
3914 ("gdk-pixbuf" ,gdk-pixbuf)
3915 ("atk" ,atk)
3916 ("cairo" ,cairo)
3917 ("dbus-glib" ,dbus-glib)
3918 ("clutter" ,clutter)
3919 ("clutter-gtk" ,clutter-gtk)
3920 ("clutter-gst" ,clutter-gst)
6a6db57f 3921 ("xorgproto" ,xorgproto)
4e3fc547
MW
3922 ("libxxf86vm" ,libxxf86vm)
3923 ("libxtst" ,libxtst)
3924 ("libxrandr" ,libxrandr)
3925 ("libxml2" ,libxml2)
3926 ("libsoup" ,libsoup)
3927 ("libpeas" ,libpeas)
3928 ("librsvg" ,librsvg)
3929 ("lirc" ,lirc)
3930 ("gnome-desktop" ,gnome-desktop)
3931 ("gstreamer" ,gstreamer)
3932 ("gst-plugins-base" ,gst-plugins-base)
3933 ("gst-plugins-good" ,gst-plugins-good)
3934 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3935 ("adwaita-icon-theme" ,adwaita-icon-theme)
d7b63ba9 3936 ("python" ,python)
4e3fc547
MW
3937 ("python-pygobject" ,python2-pygobject)
3938 ;; XXX TODO pylint needed for python support
3939 ("totem-pl-parser" ,totem-pl-parser)
3940 ("grilo" ,grilo)
3941 ("grilo-plugins" ,grilo-plugins)
4e3fc547
MW
3942 ("vala" ,vala)))
3943 (arguments
7ad81b8b
LC
3944 `(#:glib-or-gtk? #t
3945
a97bfa46
AVY
3946 ;; Disable parallel builds until
3947 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3948 ;; fixed. Try enabling it when updating this package in case
3949 ;; upstream has fixed it.
3950 #:parallel-build? #f
3951
7ad81b8b 3952 ;; Disable automatic GStreamer plugin installation via PackageKit and
ec5c24f9 3953 ;; all that.
7ad81b8b 3954 #:configure-flags '("-D" "enable-easy-codec-installation=no"
a388c951
LC
3955
3956 ;; Do not build .a files for the plugins, it's
3957 ;; completely useless. This saves 2 MiB.
7ad81b8b 3958 "--default-library" "shared")
ec5c24f9
LC
3959
3960 #:phases
4e3fc547 3961 (modify-phases %standard-phases
6368eb39
DM
3962 (add-before
3963 'install 'disable-cache-generation
3964 (lambda _
3965 (setenv "DESTDIR" "/")
3966 #t))
4e3fc547
MW
3967 (add-after
3968 'install 'wrap-totem
3969 (lambda* (#:key inputs outputs #:allow-other-keys)
3970 (let ((out (assoc-ref outputs "out"))
3971 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3972 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3973 (wrap-program (string-append out "/bin/totem")
3974 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
39c853bd
AW
3975 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3976 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3977 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4e3fc547
MW
3978 #t)))))
3979 (home-page "https://wiki.gnome.org/Apps/Videos")
3980 (synopsis "Simple media player for GNOME based on GStreamer")
3981 (description "Totem is a simple yet featureful media player for GNOME
3982which can read a large number of file formats.")
3983 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3984 ;; to be used and distributed together with GStreamer and Totem. See
3985 ;; file://COPYING in the source distribution for details.
3986 (license license:gpl2+)))
f0afb0c8
DH
3987
3988(define-public rhythmbox
3989 (package
3990 (name "rhythmbox")
8190e1ed 3991 (version "3.4.3")
f0afb0c8
DH
3992 (source (origin
3993 (method url-fetch)
3994 (uri (string-append "mirror://gnome/sources/" name "/"
3995 (version-major+minor version) "/"
3996 name "-" version ".tar.xz"))
3997 (sha256
3998 (base32
8190e1ed 3999 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
f0afb0c8
DH
4000 (build-system glib-or-gtk-build-system)
4001 (arguments
4002 `(#:configure-flags
4003 (list "--enable-lirc"
4004 "--enable-python"
4005 "--enable-vala"
4006 "--with-brasero"
4007 "--with-gudev"
4008 "--with-libsecret")
4009 #:phases
4010 (modify-phases %standard-phases
4011 (add-after
4012 'install 'wrap-rhythmbox
4013 (lambda* (#:key inputs outputs #:allow-other-keys)
4014 (let ((out (assoc-ref outputs "out"))
4015 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4016 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
4017 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4018 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
4019 (wrap-program (string-append out "/bin/rhythmbox")
4020 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4021 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
4022 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4023 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
4024 #t)))))
4025 (propagated-inputs
4026 `(("dconf" ,dconf)))
4027 (native-inputs
bcb354ad
SB
4028 `(("itstool" ,itstool)
4029 ("intltool" ,intltool)
f0afb0c8
DH
4030 ("glib" ,glib "bin")
4031 ("gobject-introspection" ,gobject-introspection)
4032 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
4033 ("pkg-config" ,pkg-config)
4034 ("xmllint" ,libxml2)))
f0afb0c8
DH
4035 (inputs
4036 `(("json-glib" ,json-glib)
4037 ("tdb" ,tdb)
4038 ("gnome-desktop" ,gnome-desktop)
4039 ("python" ,python)
4040 ("python-pygobject" ,python2-pygobject)
4041 ("vala" ,vala)
4042 ("gmime" ,gmime)
f0afb0c8
DH
4043 ("adwaita-icon-theme" ,adwaita-icon-theme)
4044 ("grilo" ,grilo)
4045 ("grilo-plugins" ,grilo-plugins)
4046 ("gstreamer" ,gstreamer)
4047 ("gst-plugins-base" ,gst-plugins-base)
4048 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 4049 ("totem-pl-parser" ,totem-pl-parser)
ea226291 4050 ("libgudev" ,libgudev)
f0afb0c8
DH
4051 ;;("libmtp" ,libmtp) FIXME: Not detected
4052 ("libsecret" ,libsecret)
4053 ("libsoup" ,libsoup)
4054 ("libnotify" ,libnotify)
4055 ("libpeas" ,libpeas)
4056 ("lirc" ,lirc)
4057 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4058 ;;("clutter" ,clutter)
4059 ;;("clutter-gtk" ,clutter-gtk)
4060 ;;("clutter-gst" ,clutter-gst)
4061 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4062 ("atk" ,atk)
4063 ("pango" ,pango)
4064 ("gtk+" ,gtk+)
4065 ;; TODO:
4066 ;; * libgpod
4067 ;; * mx
f0afb0c8
DH
4068 ("brasero" ,brasero)))
4069 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4070 (synopsis "Music player for GNOME")
4071 (description "Rhythmbox is a music playing application for GNOME. It
4072supports playlists, song ratings, and any codecs installed through gstreamer.")
4073 (license license:gpl2+)))
f70d8383
DH
4074
4075(define-public eog
4076 (package
4077 (name "eog")
ec7d4bc7 4078 (version "3.28.4")
f70d8383
DH
4079 (source (origin
4080 (method url-fetch)
4081 (uri (string-append "mirror://gnome/sources/" name "/"
4082 (version-major+minor version) "/"
4083 name "-" version ".tar.xz"))
4084 (sha256
4085 (base32
ec7d4bc7 4086 "1wrq3l3z0x6q0hnc1vqr2hnyb1b14qw6aqvc5dldfgbs0yys6p55"))))
61fb581f 4087 (build-system meson-build-system)
f70d8383 4088 (arguments
34c44a34
RW
4089 `(#:configure-flags
4090 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4091 (list (string-append "-Dc_link_args=-Wl,-rpath="
4092 (assoc-ref %outputs "out") "/lib/eog"))
4093 #:phases
f70d8383 4094 (modify-phases %standard-phases
61fb581f
RW
4095 (add-after 'install 'wrap-eog
4096 (lambda* (#:key outputs #:allow-other-keys)
4097 (let ((out (assoc-ref outputs "out"))
4098 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4099 (wrap-program (string-append out "/bin/eog")
4100 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4101 #t)))))
f70d8383
DH
4102 (propagated-inputs
4103 `(("dconf" ,dconf)))
4104 (native-inputs
4105 `(("intltool" ,intltool)
b3546174 4106 ("itstool" ,itstool)
f70d8383 4107 ("glib" ,glib "bin")
61fb581f 4108 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
f70d8383 4109 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
4110 ("pkg-config" ,pkg-config)
4111 ("xmllint" ,libxml2)))
f70d8383
DH
4112 (inputs
4113 `(("gnome-desktop" ,gnome-desktop)
4114 ("shared-mime-info" ,shared-mime-info)
4115 ("adwaita-icon-theme" ,adwaita-icon-theme)
4116 ("exempi" ,exempi)
4117 ("lcms" ,lcms)
4118 ("libexif" ,libexif)
4119 ("libpeas" ,libpeas)
4120 ("libjpeg" ,libjpeg)
4121 ("librsvg" ,librsvg)
4122 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4123 ("gtk+" ,gtk+)))
4124 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4125 (synopsis "GNOME image viewer")
4126 (description "Eye of GNOME is the GNOME image viewer. It
4127supports image conversion, rotation, and slideshows.")
4128 (license license:gpl2+)))
41af5e7b 4129
0c3f8cb8
LC
4130(define-public eog-plugins
4131 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4132 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4133 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4134 ;; 'XDG_DATA_DIRS' appropriately set.
4135 (package
4136 (name "eog-plugins")
5fed63dd 4137 (version "3.26.3")
0c3f8cb8
LC
4138 (source (origin
4139 (method url-fetch)
f3b88ed2 4140 (uri (string-append "mirror://gnome/sources/eog-plugins/"
0c3f8cb8 4141 (version-major+minor version) "/"
f3b88ed2 4142 "eog-plugins-" version ".tar.xz"))
0c3f8cb8
LC
4143 (sha256
4144 (base32
5fed63dd 4145 "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3"))))
0c3f8cb8
LC
4146 (build-system gnu-build-system)
4147 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4148 (synopsis "Extensions for the Eye of GNOME image viewer")
4149 (native-inputs
4150 `(("pkg-config" ,pkg-config)
4151 ("gettext" ,gnu-gettext)))
4152 (inputs
4153 `(("eog" ,eog)
4154 ("glib" ,glib)
4155 ("gtk+" ,gtk+)
4156 ("libpeas" ,libpeas)
4157 ("libexif" ,libexif)
4158 ("libchamplain" ,libchamplain)))
4159 (description
4160 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4161notably:
4162
4163@itemize
4164@item @dfn{EXIF Display}, which displays camera (EXIF) information;
4165@item @dfn{Map}, which displays a map of where the picture was taken on the
4166side panel;
4167@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4168@end itemize\n")
4169
4170 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4171 ;; long suspicious byte stream that goes to a
4172 ;; ".gresource.eog_postasa_plugin" ELF section.
4173 (license license:gpl2+)))
4174
41af5e7b
SB
4175(define-public libgudev
4176 (package
4177 (name "libgudev")
b78f5118 4178 (version "232")
41af5e7b
SB
4179 (source (origin
4180 (method url-fetch)
4181 (uri (string-append "mirror://gnome/sources/" name "/"
4182 version "/" name "-" version ".tar.xz"))
4183 (sha256
4184 (base32
b78f5118 4185 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
41af5e7b 4186 (build-system gnu-build-system)
b78f5118
RW
4187 (arguments
4188 '(#:configure-flags
4189 ;; umockdev depends on libgudev.
4190 (list "--disable-umockdev")))
41af5e7b
SB
4191 (native-inputs
4192 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4193 ("gobject-introspection" ,gobject-introspection)
4194 ("pkg-config" ,pkg-config)))
4195 (propagated-inputs
4196 `(("glib" ,glib))) ; required by gudev-1.0.pc
4197 (inputs
4198 `(("udev" ,eudev)))
4199 (home-page "https://wiki.gnome.org/Projects/libgudev")
4200 (synopsis "GObject bindings for libudev")
4201 (description
4202 "This library provides GObject bindings for libudev. It was originally
4203part of udev-extras, then udev, then systemd. It's now a project on its own.")
4204 (license license:lgpl2.1+)))
3dc8828f
SB
4205
4206(define-public gvfs
4207 (package
4208 (name "gvfs")
12fe4846 4209 (version "1.40.1")
3dc8828f
SB
4210 (source (origin
4211 (method url-fetch)
1d68eb32 4212 (uri (string-append "mirror://gnome/sources/gvfs/"
3dc8828f 4213 (version-major+minor version) "/"
1d68eb32 4214 "gvfs-" version ".tar.xz"))
3dc8828f
SB
4215 (sha256
4216 (base32
12fe4846 4217 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
e762d943 4218 (build-system meson-build-system)
3dc8828f 4219 (arguments
e762d943
RW
4220 '(#:glib-or-gtk? #t
4221 #:configure-flags
4222 (list "-Dsystemduserunitdir=no"
4223 "-Dtmpfilesdir=no"
4224 ;; Otherwise, the RUNPATH will lack the final path component.
4225 (string-append "-Dc_link_args=-Wl,-rpath="
4226 (assoc-ref %outputs "out") "/lib/gvfs"))))
3dc8828f
SB
4227 (native-inputs
4228 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
0ab9f949
RW
4229 ("gettext" ,gettext-minimal)
4230 ("gtk-doc" ,gtk-doc)
3dc8828f
SB
4231 ("pkg-config" ,pkg-config)
4232 ("xsltproc" ,libxslt)))
4233 (inputs
4234 `(("avahi" ,avahi)
4235 ("docbook-xml" ,docbook-xml-4.2)
4236 ("docbook-xsl" ,docbook-xsl)
4237 ("dbus" ,dbus)
e762d943 4238 ("elogind" ,elogind)
3dc8828f 4239 ("fuse" ,fuse)
24a78aa6 4240 ("gcr" ,gcr)
3dc8828f 4241 ("glib" ,glib)
e762d943 4242 ("gnome-online-accounts" ,gnome-online-accounts)
3dc8828f
SB
4243 ("libarchive" ,libarchive)
4244 ("libbluray" ,libbluray)
8852ca24 4245 ("libcap" ,libcap)
3dc8828f
SB
4246 ("libcdio-paranoia" ,libcdio-paranoia)
4247 ("libgcrypt" ,libgcrypt)
e762d943 4248 ("libgdata" ,libgdata)
3dc8828f
SB
4249 ("libgphoto2" ,libgphoto2)
4250 ("libgudev" ,libgudev)
0ab9f949 4251 ("libimobiledevice" ,libimobiledevice)
3dc8828f 4252 ("libmtp" ,libmtp)
e762d943 4253 ("libnfs" ,libnfs)
3dc8828f
SB
4254 ("libsecret" ,libsecret)
4255 ("libsmbclient" ,samba)
4256 ("libsoup" ,libsoup)
4257 ("libxml2" ,libxml2)
e762d943 4258 ("openssh" ,openssh)
8852ca24 4259 ("polkit" ,polkit)
3dc8828f
SB
4260 ("udisks" ,udisks)))
4261 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 4262 (synopsis "Userspace virtual file system for GIO")
3dc8828f 4263 (description
8f65585b 4264 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
4265abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4266to all applications using the GIO API. It also supports exposing the GVFS
4267mounts to non-GIO applications using FUSE.
4268
4269GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4270DAV, and others.")
4271 (license license:lgpl2.0+)))
7c88b6bd
AW
4272
4273(define-public gusb
4274 (package
4275 (name "gusb")
536b3274 4276 (version "0.3.0")
7c88b6bd
AW
4277 (source (origin
4278 (method url-fetch)
4279 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
536b3274 4280 version ".tar.gz"))
7c88b6bd
AW
4281 (sha256
4282 (base32
536b3274
MB
4283 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4284 (build-system meson-build-system)
7c88b6bd 4285 (native-inputs
536b3274 4286 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
4287 ("pkg-config" ,pkg-config)
4288 ("vala" ,vala)
7c88b6bd
AW
4289 ("gtk-doc" ,gtk-doc)))
4290 (propagated-inputs
4291 ;; Both of these are required by gusb.pc.
4292 `(("glib" ,glib)
4293 ("libusb" ,libusb)))
4294 (arguments
536b3274 4295 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 4296 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 4297 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
4298 (description
4299 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4300asynchronous control, bulk and interrupt transfers with proper cancellation
4301and integration into a mainloop. This makes it easy to integrate low level
4302USB transfers with your high-level application or system daemon.")
4303 (license license:lgpl2.1+)))
0abe1d86
AW
4304
4305(define-public simple-scan
4306 (package
4307 (name "simple-scan")
baca5333 4308 (version "3.24.1")
0abe1d86
AW
4309 (source (origin
4310 (method url-fetch)
4311 (uri (string-append "https://launchpad.net/simple-scan/"
4312 (version-major+minor version) "/"
4313 version "/+download/simple-scan-"
4314 version ".tar.xz"))
4315 (sha256
4316 (base32
baca5333 4317 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
0abe1d86
AW
4318 (build-system glib-or-gtk-build-system)
4319 (inputs
4320 `(("gtk" ,gtk+)
4321 ("zlib" ,zlib)
4322 ("cairo" ,cairo)
4323 ("gdk-pixbuf" ,gdk-pixbuf)
4324 ("gusb" ,gusb)
4c928743 4325 ("libsane" ,sane-backends)))
0abe1d86 4326 (native-inputs
b94a6ca0 4327 `(("gettext" ,gettext-minimal)
0abe1d86
AW
4328 ("itstool" ,itstool)
4329 ("colord" ,colord)
4330 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4331 ("pkg-config" ,pkg-config)
bcb354ad
SB
4332 ("vala" ,vala)
4333 ("xmllint" ,libxml2)))
fb9ca511
TGR
4334 (arguments
4335 '(#:configure-flags '("--disable-packagekit")
4336 #:phases
4337 (modify-phases %standard-phases
4338 (add-after 'unpack 'clean
4339 (lambda _
4340 ;; Remove a left-over reference to PackageKit.
4341
4342 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4343
4344 ;; There are some generated C files erroneously
4345 ;; included in the source distribution, and this
4346 ;; one breaks the build by referring to a
4347 ;; non-existent header (packagekit.h)
4348 (delete-file "src/ui.c"))))))
0abe1d86
AW
4349 (home-page "https://launchpad.net/simple-scan")
4350 (synopsis "Document and image scanner")
4351 (description "Simple Scan is an easy-to-use application, designed to let
4352users connect their scanner and quickly have the image/document in an
4353appropriate format. Simple Scan is basically a frontend for SANE - which is
4354the same backend as XSANE uses. This means that all existing scanners will
4355work and the interface is well tested.")
4356 (license license:gpl3+)))
7549f984 4357
ab466d79
RW
4358(define-public eolie
4359 (package
4360 (name "eolie")
fa8ef3ed 4361 (version "0.9.63")
ab466d79
RW
4362 (source (origin
4363 (method url-fetch)
00014781 4364 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
fa8ef3ed 4365 "uploads/d42b466752729a0d3fa828a721e25043/"
00014781 4366 "eolie-" version ".tar.xz"))
ab466d79
RW
4367 (sha256
4368 (base32
fa8ef3ed 4369 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
00014781 4370 (build-system meson-build-system)
ab466d79 4371 (arguments
00014781
RW
4372 `(#:glib-or-gtk? #t
4373 #:phases
ab466d79
RW
4374 (modify-phases %standard-phases
4375 (add-after 'wrap 'wrap-more
4376 (lambda* (#:key inputs outputs #:allow-other-keys)
4377 (let* ((out (assoc-ref outputs "out"))
4378 ;; These libraries must be on LD_LIBRARY_PATH.
4379 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4380 "atk" "gtk+" "gsettings-desktop-schemas"
4381 "gobject-introspection"))
4382 (path (string-join
4383 (map (lambda (lib)
4384 (string-append (assoc-ref inputs lib) "/lib"))
4385 libs)
4386 ":")))
4387 (wrap-program (string-append out "/bin/eolie")
4388 `("LD_LIBRARY_PATH" ":" prefix (,path))
4389 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4390 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4391 #t)))))
4392 (native-inputs
f85ca6ed 4393 `(("intltool" ,intltool)
ab466d79 4394 ("itstool" ,itstool)
d95f1041 4395 ("pkg-config" ,pkg-config)
d95f1041 4396 ("python" ,python)
00014781 4397 ("glib:bin" ,glib "bin")
d95f1041 4398 ("gtk+" ,gtk+ "bin")))
ab466d79
RW
4399 (inputs
4400 `(("gobject-introspection" ,gobject-introspection)
4401 ("glib-networking" ,glib-networking)
4402 ("cairo" ,cairo)
4403 ("gtk+" ,gtk+)
4404 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4405 ("python" ,python-wrapper)
d72f76df 4406 ("python-dateutil" ,python-dateutil)
00014781 4407 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
4408 ("python-pygobject" ,python-pygobject)
4409 ("python-pycairo" ,python-pycairo)
00014781 4410 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
4411 ("libsecret" ,libsecret)
4412 ("gtkspell3" ,gtkspell3)
4413 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 4414 ("webkitgtk" ,webkitgtk)))
166b2c97 4415 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
4416 (synopsis "Web browser for GNOME")
4417 (description
4418 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4419a secret password store, an adblocker, and a modern UI.")
4420 (license license:gpl3+)))
4421
7549f984
SB
4422(define-public epiphany
4423 (package
4424 (name "epiphany")
f37dfe1e 4425 (version "3.30.4")
7549f984
SB
4426 (source (origin
4427 (method url-fetch)
dd3266ec 4428 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 4429 (version-major+minor version) "/"
dd3266ec 4430 "epiphany-" version ".tar.xz"))
7549f984
SB
4431 (sha256
4432 (base32
f37dfe1e 4433 "0nk0krzrfck6hhfs52f4sjmj93yjyvabm72bq8i8f9l1pass5vgd"))))
fc5c5b92
R
4434
4435 (build-system meson-build-system)
7549f984
SB
4436 (arguments
4437 ;; FIXME: tests run under Xvfb, but fail with:
4438 ;; /src/bookmarks/ephy-bookmarks/create:
4439 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4440 ;; subsystem
4441 ;; FAIL
6f48d9db 4442 '(#:tests? #f
e19f9c24
LF
4443 #:glib-or-gtk? #t
4444 #:configure-flags
4445 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4446 (list (string-append "-Dc_link_args=-Wl,-rpath="
4447 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
4448 (propagated-inputs
4449 `(("dconf" ,dconf)))
7549f984 4450 (native-inputs
fc5c5b92
R
4451 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4452 ("glib:bin" ,glib "bin") ; for glib-mkenums
4453 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4454 ("intltool" ,intltool)
7549f984 4455 ("itstool" ,itstool)
bcb354ad
SB
4456 ("pkg-config" ,pkg-config)
4457 ("xmllint" ,libxml2)))
7549f984
SB
4458 (inputs
4459 `(("avahi" ,avahi)
4460 ("gcr" ,gcr)
fc5c5b92 4461 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
4462 ("glib-networking" ,glib-networking)
4463 ("gnome-desktop" ,gnome-desktop)
4464 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 4465 ("json-glib" ,json-glib)
7549f984 4466 ("iso-codes" ,iso-codes)
8748e29c 4467 ("libdazzle" ,libdazzle)
7549f984
SB
4468 ("libnotify" ,libnotify)
4469 ("libsecret" ,libsecret)
7549f984 4470 ("libxslt" ,libxslt)
fc5c5b92 4471 ("nettle" ,nettle) ; for hogweed
7549f984 4472 ("sqlite" ,sqlite)
f85ca6ed 4473 ("webkitgtk" ,webkitgtk)))
7549f984
SB
4474 (home-page "https://wiki.gnome.org/Apps/Web")
4475 (synopsis "GNOME web browser")
4476 (description
4477 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4478principles are simplicity and standards compliance.")
4479 (license license:gpl2+)))
a3856b2c
SB
4480
4481(define-public d-feet
4482 (package
4483 (name "d-feet")
458e9221 4484 (version "0.3.14")
a3856b2c
SB
4485 (source (origin
4486 (method url-fetch)
4487 (uri (string-append "mirror://gnome/sources/" name "/"
4488 (version-major+minor version) "/"
4489 name "-" version ".tar.xz"))
4490 (sha256
4491 (base32
458e9221 4492 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
4493 (build-system glib-or-gtk-build-system)
4494 (arguments
4495 '(#:out-of-source? #f ; tests need to run in the source directory.
4496 #:phases
4497 (modify-phases %standard-phases
4498 (add-before
4499 'check 'pre-check
86aff791 4500 (lambda _
a3856b2c
SB
4501 ;; The test suite requires a running X server.
4502 (system "Xvfb :1 &")
4503 (setenv "DISPLAY" ":1")
4504 ;; Don't fail on missing '/etc/machine-id'.
4505 (setenv "DBUS_FATAL_WARNINGS" "0")
4506 ;; tests.py and window.py don't meet E402:
4507 ;; E402 module level import not at top of file
4508 (substitute* "src/tests/Makefile"
86aff791
MW
4509 (("--ignore=E123") "--ignore=E123,E402"))
4510 #t))
a3856b2c
SB
4511 (add-after
4512 'install 'wrap-program
4513 (lambda* (#:key outputs #:allow-other-keys)
4514 (let ((prog (string-append (assoc-ref outputs "out")
4515 "/bin/d-feet")))
4516 (wrap-program prog
4517 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
4518 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4519 #t))))))
a3856b2c
SB
4520 (native-inputs
4521 `(("intltool" ,intltool)
4522 ("itstool" ,itstool)
4523 ("pkg-config" ,pkg-config)
4524 ("python-pep8" ,python-pep8)
4525 ("xmllint" ,libxml2)
4526 ("xorg-server" ,xorg-server)))
4527 (inputs
4528 `(("gobject-introspection" ,gobject-introspection)
4529 ("gtk+" ,gtk+)
4530 ("python" ,python-wrapper)
458e9221 4531 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
4532 ("python-pygobject" ,python-pygobject)))
4533 (home-page "https://wiki.gnome.org/Apps/DFeet")
4534 (synopsis "D-Bus debugger")
4535 (description
4536 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4537of running programs and invoke methods on those interfaces.")
4538 (license license:gpl2+)))
c3b97bd9
SB
4539
4540(define-public yelp-xsl
4541 (package
4542 (name "yelp-xsl")
b3640e79 4543 (version "3.32.1")
c3b97bd9
SB
4544 (source (origin
4545 (method url-fetch)
4546 (uri (string-append "mirror://gnome/sources/" name "/"
4547 (version-major+minor version) "/"
4548 name "-" version ".tar.xz"))
4549 (sha256
4550 (base32
b3640e79 4551 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
c3b97bd9
SB
4552 (build-system gnu-build-system)
4553 (native-inputs
4554 `(("intltool" ,intltool)
4555 ("itstool" ,itstool)
4556 ("xmllint" ,libxml2)))
4557 (home-page "https://wiki.gnome.org/Apps/Yelp")
4558 (synopsis "XSL stylesheets for Yelp")
4559 (description
4560 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4561to format Docbook and Mallard documents.")
4562 (license license:gpl2+)))
de3d612a
SB
4563
4564(define-public yelp
4565 (package
4566 (name "yelp")
9d029b7f 4567 (version "3.30.0")
de3d612a
SB
4568 (source (origin
4569 (method url-fetch)
4570 (uri (string-append "mirror://gnome/sources/" name "/"
4571 (version-major+minor version) "/"
4572 name "-" version ".tar.xz"))
4573 (sha256
4574 (base32
9d029b7f 4575 "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4"))))
de3d612a
SB
4576 (build-system glib-or-gtk-build-system)
4577 (native-inputs
4578 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4579 ("intltool" ,intltool)
4580 ("itstool" ,itstool)
4581 ("pkg-config" ,pkg-config)))
4582 (propagated-inputs
4583 `(("dconf" ,dconf)))
4584 (inputs
ad1b7d8b
SB
4585 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4586 ("libxslt" ,libxslt)
de3d612a 4587 ("sqlite" ,sqlite)
4c28ca1d
SB
4588 ("webkitgtk" ,webkitgtk)
4589 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
4590 (home-page "https://wiki.gnome.org/Apps/Yelp")
4591 (synopsis "GNOME help browser")
4592 (description
4593 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4594man, info, and HTML documents. It can locate documents according to the
4595freedesktop.org help system specification.")
4596 (license license:gpl2+)))
122d0d10
SB
4597
4598(define-public yelp-tools
4599 (package
4600 (name "yelp-tools")
2089bca5 4601 (version "3.28.0")
122d0d10
SB
4602 (source (origin
4603 (method url-fetch)
4604 (uri (string-append "mirror://gnome/sources/" name "/"
4605 (version-major+minor version) "/"
4606 name "-" version ".tar.xz"))
4607 (sha256
4608 (base32
2089bca5 4609 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
4610 (build-system gnu-build-system)
4611 (native-inputs
4612 `(("pkg-config" ,pkg-config)))
4613 (propagated-inputs
4614 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4615 `(("itstool" ,itstool)
4616 ("xmllint" ,libxml2)
4617 ("xsltproc" ,libxslt)))
4618 (inputs
4619 `(("yelp-xsl" ,yelp-xsl)))
4620 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4621 (synopsis "Yelp documentation tools")
4622 (description
4623 "Yelp-tools is a collection of scripts and build utilities to help create,
4624manage, and publish documentation for Yelp and the web. Most of the heavy
4625lifting is done by packages like yelp-xsl and itstool. This package just
4626wraps things up in a developer-friendly way.")
4627 (license license:gpl2+)))
af8f9f23 4628
4ed041d9
MB
4629(define-public yelp-tools/fixed
4630 ;; This variant fixes a python-libxml2 crash when processing UTF-8
4631 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
4632 ;; the next rebuild cycle.
4633 (hidden-package
4634 (package/inherit
4635 yelp-tools
4636 (propagated-inputs
4637 `(("itstool" ,itstool/fixed)
4638 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
4639
af8f9f23
RW
4640(define-public libgee
4641 (package
4642 (name "libgee")
4c2c5ae6 4643 (version "0.20.2")
af8f9f23
RW
4644 (source (origin
4645 (method url-fetch)
84a1b007 4646 (uri (string-append "mirror://gnome/sources/libgee/"
af8f9f23 4647 (version-major+minor version) "/"
84a1b007 4648 "libgee-" version ".tar.xz"))
af8f9f23
RW
4649 (sha256
4650 (base32
4c2c5ae6 4651 "0g1mhl7nidg82v4cikkk8dakzc18hg7wv0dsf2pbyijzfm5mq0wy"))))
af8f9f23
RW
4652 (build-system gnu-build-system)
4653 (arguments
4654 `(#:phases
4655 (modify-phases %standard-phases
4656 (add-after 'unpack 'fix-introspection-install-dir
4657 (lambda* (#:key outputs #:allow-other-keys)
4658 (let ((out (assoc-ref outputs "out")))
4659 (substitute* "gee/Makefile.in"
4660 (("@INTROSPECTION_GIRDIR@")
4661 (string-append out "/share/gir-1.0/"))
4662 (("@INTROSPECTION_TYPELIBDIR@")
4663 (string-append out "/lib/girepository-1.0/")))))))))
4664 (native-inputs
4665 `(("glib" ,glib "bin")
4666 ("pkg-config" ,pkg-config)))
4667 (inputs
4668 `(("glib" ,glib)
4669 ("gobject-introspection" ,gobject-introspection)))
4670 (home-page "https://wiki.gnome.org/Projects/Libgee")
4671 (synopsis "GObject collection library")
4672 (description
4673 "Libgee is a utility library providing GObject-based interfaces and
4674classes for commonly used data structures.")
4675 (license license:lgpl2.1+)))
b0f9c4b8
RW
4676
4677(define-public gexiv2
4678 (package
4679 (name "gexiv2")
b1a8b408 4680 (version "0.12.0")
b0f9c4b8
RW
4681 (source (origin
4682 (method url-fetch)
4683 (uri (string-append "mirror://gnome/sources/" name "/"
4684 (version-major+minor version) "/"
4685 name "-" version ".tar.xz"))
4686 (sha256
4687 (base32
b1a8b408 4688 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
51c482e4 4689 (build-system meson-build-system)
b0f9c4b8 4690 (native-inputs
b1a8b408
KK
4691 `(("gcr" ,gcr)
4692 ("glib" ,glib "bin")
4693 ("pkg-config" ,pkg-config)
4694 ("vala" ,vala)))
b0f9c4b8
RW
4695 (propagated-inputs
4696 ;; Listed in "Requires" section of gexiv2.pc
4697 `(("exiv2" ,exiv2)))
4698 (inputs
4699 `(("glib" ,glib)
4700 ("gobject-introspection" ,gobject-introspection)))
4701 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4702 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4703 (description
4704 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4705allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4706metadata in photo and video files of various formats.")
4707 (license license:gpl2+)))
fed5a689
RW
4708
4709(define-public shotwell
4710 (package
4711 (name "shotwell")
3b79afa6 4712 (version "0.30.4")
fed5a689
RW
4713 (source (origin
4714 (method url-fetch)
4715 (uri (string-append "mirror://gnome/sources/" name "/"
4716 (version-major+minor version) "/"
4717 name "-" version ".tar.xz"))
4718 (sha256
4719 (base32
3b79afa6
KK
4720 "1yiz3j0y2yg6985y3alb3hpkfbv68n8ibys5gpwcjdhmhf3czg5p"))))
4721 (build-system meson-build-system)
4722 (arguments
4723 '(#:glib-or-gtk? #t))
735b8db6
TGR
4724 (propagated-inputs
4725 `(("dconf" ,dconf)))
fed5a689 4726 (native-inputs
3b79afa6 4727 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b94a6ca0 4728 ("gettext" ,gettext-minimal)
77e9c993 4729 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
735b8db6 4730 ("itstool" ,itstool)
3b79afa6 4731 ("pkg-config" ,pkg-config)
735b8db6 4732 ("vala" ,vala)))
fed5a689 4733 (inputs
735b8db6
TGR
4734 `(("glib:bin" ,glib "bin")
4735 ("gstreamer" ,gstreamer)
fed5a689 4736 ("gst-plugins-base" ,gst-plugins-base)
dfb0323d 4737 ("libgdata" ,libgdata)
fed5a689
RW
4738 ("libgee" ,libgee)
4739 ("gexiv2" ,gexiv2)
4740 ("libraw" ,libraw)
4741 ("json-glib" ,json-glib)
7108425c 4742 ("webkitgtk" ,webkitgtk)
fed5a689
RW
4743 ("sqlite" ,sqlite)
4744 ("libsoup" ,libsoup)
4745 ("libxml2" ,libxml2)
fed5a689 4746 ("libgudev" ,libgudev)
522fc32e
LF
4747 ("libgphoto2" ,libgphoto2)
4748 ("gcr" ,gcr)))
fed5a689
RW
4749 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4750 (synopsis "Photo manager for GNOME 3")
4751 (description
4752 "Shotwell is a digital photo manager designed for the GNOME desktop
4753environment. It allows you to import photos from disk or camera, organize
4754them by keywords and events, view them in full-window or fullscreen mode, and
4755share them with others via social networking and more.")
4756 (license license:lgpl2.1+)))
293ff8b2
DT
4757
4758(define-public file-roller
4759 (package
4760 (name "file-roller")
976e7801 4761 (version "3.30.1")
293ff8b2
DT
4762 (source (origin
4763 (method url-fetch)
4764 (uri (string-append "mirror://gnome/sources/" name "/"
4765 (version-major+minor version) "/"
4766 name "-" version ".tar.xz"))
4767 (sha256
4768 (base32
976e7801 4769 "0kiragsqyixyx15747b71qc4nw8y4jx9d55wgg612xb0hp5l9pj1"))))
0a500745 4770 (build-system meson-build-system)
293ff8b2 4771 (native-inputs
0a500745
RW
4772 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4773 ("intltool" ,intltool)
4774 ("pkg-config" ,pkg-config)
4775 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4776 ("glib:bin" ,glib "bin")))
293ff8b2
DT
4777 ;; TODO: Add libnautilus.
4778 (inputs
4779 `(("gtk+" ,gtk+)
4780 ("gdk-pixbuf" ,gdk-pixbuf)
4781 ("json-glib" ,json-glib)
4782 ("libarchive" ,libarchive)
4783 ("libnotify" ,libnotify)
293ff8b2
DT
4784 ("itstool" ,itstool)
4785 ("libxml2" ,libxml2)))
4786 (synopsis "Graphical archive manager for GNOME")
4787 (description "File Roller is an archive manager for the GNOME desktop
4788environment that allows users to view, unpack, and create compressed archives
4789such as gzip tarballs.")
4790 (home-page "http://fileroller.sourceforge.net/")
4791 (license license:gpl2+)))
7ce49365
SB
4792
4793(define-public gnome-session
4794 (package
4795 (name "gnome-session")
da886d6f 4796 (version "3.30.1")
7ce49365
SB
4797 (source (origin
4798 (method url-fetch)
4799 (uri (string-append "mirror://gnome/sources/" name "/"
4800 (version-major+minor version) "/"
4801 name "-" version ".tar.xz"))
4802 (sha256
4803 (base32
da886d6f 4804 "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa"))))
2914af3c 4805 (arguments
df278071
RW
4806 '(#:glib-or-gtk? #t
4807 #:phases
2914af3c
AW
4808 (modify-phases %standard-phases
4809 (add-before 'configure 'pre-configure
4810 (lambda* (#:key outputs #:allow-other-keys)
4811 ;; Use elogind instead of systemd.
df278071
RW
4812 (substitute* "meson.build"
4813 (("libsystemd-login") "libelogind")
4814 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
4815 (substitute* "gnome-session/gsm-systemd.c"
4816 (("#include <systemd/sd-login.h>")
4817 "#include <elogind/sd-login.h>"))
df278071 4818 ;; Remove uses of the systemd daemon.
803ab416
SB
4819 (substitute* "gnome-session/gsm-autostart-app.c"
4820 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
4821 #t))
4822 (add-after 'install 'wrap-gnome-session
4823 (lambda* (#:key inputs outputs #:allow-other-keys)
4824 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4825 (let ((glib (assoc-ref inputs "glib:bin"))
4826 (out (assoc-ref outputs "out")))
4827 (wrap-program (string-append out "/bin/gnome-session")
4828 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4829 #t))))
6cbc8d57 4830
2914af3c 4831 #:configure-flags
df278071
RW
4832 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4833 "-Dman=false" ; FIXME: disabled because of docbook validation error
4834 "-Dsystemd_journal=false")))
4835 (build-system meson-build-system)
7ce49365
SB
4836 (native-inputs
4837 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4838 ("pkg-config" ,pkg-config)
4839 ("intltool" ,intltool)
df278071
RW
4840 ("xsltproc" ,libxslt)
4841 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4842 ("docbook-xsl" ,docbook-xsl)
4843 ("docbook-xml" ,docbook-xml)
4844 ("xmlto" ,xmlto)))
7ce49365 4845 (inputs
2914af3c
AW
4846 `(("elogind" ,elogind)
4847 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 4848 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
4849 ("gtk+" ,gtk+)
4850 ("json-glib" ,json-glib)
4851 ("libsm" ,libsm)
4852 ("libxcomposite" ,libxcomposite)
4853 ("libxtst" ,libxtst)
4854 ("mesa" ,mesa)
4855 ("upower" ,upower)
4856 ("xtrans" ,xtrans)))
4857 (synopsis "Session manager for GNOME")
4858 (description
4859 "This package contains the GNOME session manager, as well as a
4860configuration program to choose applications starting on login.")
4861 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4862 (license license:gpl2+)))
f47ba77e
SB
4863
4864(define-public gjs
4865 (package
4866 (name "gjs")
d054fbf5 4867 (version "1.56.2")
f47ba77e
SB
4868 (source (origin
4869 (method url-fetch)
4870 (uri (string-append "mirror://gnome/sources/" name "/"
4871 (version-major+minor version) "/"
4872 name "-" version ".tar.xz"))
4873 (sha256
4874 (base32
d054fbf5 4875 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
f47ba77e
SB
4876 (build-system gnu-build-system)
4877 (arguments
4878 '(#:phases
4879 (modify-phases %standard-phases
4880 (add-before
4881 'check 'pre-check
4882 (lambda _
fc119619
MW
4883 ;; The test suite requires a running X server.
4884 (system "Xvfb :1 &")
4885 (setenv "DISPLAY" ":1")
4886
f47ba77e
SB
4887 ;; For the missing /etc/machine-id.
4888 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 4889
144f94d0
KK
4890 ;; Our mozjs-38 package does not compile the required Intl API
4891 ;; support for these failing tests.
4892 (substitute* "installed-tests/js/testLocale.js"
4893 ((".*toBeDefined.*") "")
4894 ((".*expect\\(datestr\\).*") ""))
d054fbf5
KK
4895 (substitute* "installed-tests/scripts/testCommandLine.sh"
4896 (("Valentín") "")
4897 (("☭") ""))
f47ba77e
SB
4898 #t)))))
4899 (native-inputs
8a831c6f 4900 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
4901 ("pkg-config" ,pkg-config)
4902 ("xmllint" ,libxml2)
4903 ;; For testing
4904 ("dbus-launch" ,dbus)
4905 ("uuidgen" ,util-linux)
ebebee94 4906 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
4907 (propagated-inputs
4908 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
4909 `(("cairo" ,cairo)
4910 ("gobject-introspection" ,gobject-introspection)
d054fbf5 4911 ("mozjs" ,mozjs-60)))
f47ba77e
SB
4912 (inputs
4913 `(("gtk+" ,gtk+)
4914 ("readline" ,readline)))
4915 (synopsis "Javascript bindings for GNOME")
f032d0be 4916 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
4917 (description
4918 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4919javascript engine and the GObject introspection framework.")
4920 (license license:gpl2+)))
329d731b
DH
4921
4922(define-public gedit
4923 (package
4924 (name "gedit")
42f95e34 4925 (version "3.30.2")
329d731b
DH
4926 (source (origin
4927 (method url-fetch)
4928 (uri (string-append "mirror://gnome/sources/" name "/"
4929 (version-major+minor version) "/"
4930 name "-" version ".tar.xz"))
4931 (sha256
4932 (base32
42f95e34 4933 "0qwig35hzvjaqic9x92jcpmycnvcybsbnbiw6rppryx0arwb3wza"))))
329d731b
DH
4934 (build-system glib-or-gtk-build-system)
4935 (arguments
0d2df50c 4936 `(#:phases
329d731b
DH
4937 (modify-phases %standard-phases
4938 (add-after
4939 'install 'wrap-gedit
4940 (lambda* (#:key inputs outputs #:allow-other-keys)
4941 (let ((out (assoc-ref outputs "out"))
4942 (gtksourceview (assoc-ref inputs "gtksourceview"))
afc25242
SB
4943 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4944 (python-path (getenv "PYTHONPATH")))
329d731b 4945 (wrap-program (string-append out "/bin/gedit")
afc25242 4946 ;; For plugins.
329d731b 4947 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
afc25242 4948 `("PYTHONPATH" ":" prefix (,python-path))
329d731b
DH
4949 ;; For language-specs.
4950 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4951 "/share")))))
4952 #t)))))
4953 (propagated-inputs
4954 `(("dconf" ,dconf)))
4955 (native-inputs
4956 `(("intltool" ,intltool)
b3546174 4957 ("itstool" ,itstool)
329d731b
DH
4958 ("gobject-introspection" ,gobject-introspection)
4959 ("pkg-config" ,pkg-config)))
4960 (inputs
4961 `(("glib" ,glib)
0d2df50c 4962 ("gspell" ,gspell)
329d731b 4963 ("gtk+" ,gtk+)
b54c2289 4964 ("gtksourceview" ,gtksourceview-3)
329d731b
DH
4965 ("libpeas" ,libpeas)
4966 ("libxml2" ,libxml2)
329d731b
DH
4967 ("iso-codes" ,iso-codes)
4968 ("python-pygobject" ,python-pygobject)
4969 ("python" ,python)
4970 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4971 ("libx11" ,libx11)
4972 ("vala" ,vala)
4973 ("adwaita-icon-theme" ,adwaita-icon-theme)
4974 ("libsoup" ,libsoup)
4975 ("gnome-desktop" ,gnome-desktop)))
4976 (home-page "https://wiki.gnome.org/Apps/Gedit")
4977 (synopsis "GNOME text editor")
4978 (description "While aiming at simplicity and ease of use, gedit is a
4979powerful general purpose text editor.")
4980 (license license:gpl2+)))
b7179363
SB
4981
4982(define-public zenity
4983 (package
4984 (name "zenity")
235743a6 4985 (version "3.30.0")
b7179363
SB
4986 (source (origin
4987 (method url-fetch)
4988 (uri (string-append "mirror://gnome/sources/" name "/"
4989 (version-major+minor version) "/"
4990 name "-" version ".tar.xz"))
4991 (sha256
4992 (base32
235743a6 4993 "1wipnp46pd238z9ck5rsckbaw7yla6c936fswq5w94k4c6bgcplr"))))
b7179363
SB
4994 (build-system gnu-build-system)
4995 (native-inputs
b94a6ca0 4996 `(("gettext" ,gettext-minimal)
b7179363
SB
4997 ("itstool" ,itstool)
4998 ("pkg-config" ,pkg-config)))
4999 (inputs
5000 `(("libnotify" ,libnotify)
5001 ("webkitgtk" ,webkitgtk)))
5002 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 5003 (home-page "https://www.gnome.org")
b7179363
SB
5004 (description
5005 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5006to display dialog boxes from the commandline and shell scripts.")
5007 (license license:lgpl2.0+)))
60c3627c
SB
5008
5009(define-public mutter
5010 (package
5011 (name "mutter")
e402eae6 5012 (version "3.30.2")
60c3627c 5013 (source (origin
86c44e72
KK
5014 (method url-fetch)
5015 (uri (string-append "mirror://gnome/sources/" name "/"
5016 (version-major+minor version) "/"
5017 name "-" version ".tar.xz"))
60c3627c
SB
5018 (sha256
5019 (base32
e402eae6 5020 "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z"))))
86c44e72
KK
5021 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5022 ;; versions of cogl and clutter. As a result, many of the inputs,
5023 ;; propagated-inputs, and configure flags used in cogl and clutter are
5024 ;; needed here as well.
60c3627c
SB
5025 (build-system gnu-build-system)
5026 (arguments
5027 '(#:configure-flags
5028 ;; XXX: build fails with [-Werror]:
5029 ;; backends/meta-cursor-renderer.c:112:5: error:
5030 ;; implicit declaration of function ?roundf?
a88d5a0c
MW
5031 (list "--enable-compile-warnings=minimum"
5032
86c44e72 5033 "--enable-native-backend"
a88d5a0c
MW
5034
5035 ;; The following flags are needed for the bundled clutter
5036 "--enable-x11-backend=yes"
5037
d633f2f6
RH
5038 (string-append "--with-xwayland-path="
5039 (assoc-ref %build-inputs "xorg-server-xwayland")
5040 "/bin/Xwayland")
5041
a88d5a0c
MW
5042 ;; the remaining flags are needed for the bundled cogl
5043 "--enable-cogl-gst"
5044 (string-append "--with-gl-libname="
5045 (assoc-ref %build-inputs "mesa")
f23052a6
DC
5046 "/lib/libGL.so"))
5047 #:phases
5048 (modify-phases %standard-phases
86c44e72
KK
5049 ;; Replace references to systemd libraries to elogind references.
5050 (add-before 'configure 'use-elogind
5051 (lambda _
5052 (substitute* (list "configure"
5053 "src/backends/native/meta-launcher.c"
5054 "src/core/main.c")
5055 (("systemd") "elogind"))
5056 #t)))))
60c3627c
SB
5057 (native-inputs
5058 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5059 ("gobject-introspection" ,gobject-introspection)
5060 ("intltool" ,intltool)
f23052a6
DC
5061 ("pkg-config" ,pkg-config)
5062 ;; For git build
5063 ("autoconf" ,autoconf)
5064 ("automake" ,automake)
5065 ("libtool" ,libtool)))
60c3627c 5066 (propagated-inputs
a88d5a0c
MW
5067 `(;; libmutter.pc refers to these:
5068 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5069 ("gtk+" ,gtk+)
5070 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5071 ("atk" ,atk)
5072 ("cairo" ,cairo)
5073 ("gdk-pixbuf" ,gdk-pixbuf)
5074 ("glib" ,glib)
a88d5a0c
MW
5075 ("json-glib" ,json-glib)
5076 ("libinput" ,libinput)
5077 ("libx11" ,libx11)
5078 ("libxcomposite" ,libxcomposite)
5079 ("libxdamage" ,libxdamage)
5080 ("libxext" ,libxext)
5081 ("libxfixes" ,libxfixes)
5082 ("libxkbcommon" ,libxkbcommon)
5083 ("libxrandr" ,libxrandr)
5084 ("mesa" ,mesa)
5085 ("pango" ,pango)
5086 ("udev" ,eudev)
a88d5a0c 5087 ("xinput" ,xinput)))
60c3627c 5088 (inputs
86c44e72
KK
5089 `(("elogind" ,elogind)
5090 ("gnome-desktop" ,gnome-desktop)
60c3627c 5091 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 5092 ("libgudev" ,libgudev)
60c3627c
SB
5093 ("libice" ,libice)
5094 ("libsm" ,libsm)
60c3627c 5095 ("libxkbfile" ,libxkbfile)
a88d5a0c 5096 ("libxrandr" ,libxrandr)
86c44e72 5097 ("libxtst" ,libxtst)
60c3627c
SB
5098 ("startup-notification" ,startup-notification)
5099 ("upower-glib" ,upower)
5100 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 5101 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
5102 ("zenity" ,zenity)))
5103 (synopsis "Window and compositing manager")
f032d0be 5104 (home-page "https://www.gnome.org")
60c3627c
SB
5105 (description
5106 "Mutter is a window and compositing manager that displays and manages your
5107desktop via OpenGL. Mutter combines a sophisticated display engine using the
5108Clutter toolkit with solid window-management logic inherited from the Metacity
5109window manager.")
86c44e72 5110 (license license:gpl2+)))
685cee87
SB
5111
5112(define-public gnome-online-accounts
5113 (package
5114 (name "gnome-online-accounts")
d29298ef 5115 (version "3.30.2")
685cee87
SB
5116 (source (origin
5117 (method url-fetch)
5118 (uri (string-append "mirror://gnome/sources/" name "/"
5119 (version-major+minor version) "/"
5120 name "-" version ".tar.xz"))
5121 (sha256
5122 (base32
d29298ef 5123 "1p1gdgryziklrgngn6m13xnvfx4gb01h723nndfi9944r24fbiq5"))))
14c297fd 5124 (outputs '("out" "lib"))
685cee87 5125 (build-system glib-or-gtk-build-system)
14c297fd
TS
5126 (arguments
5127 `(#:configure-flags
5128 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5129 #:phases
5130 (modify-phases %standard-phases
5131 (add-before 'configure 'patch-libgoa-output
5132 (lambda* (#:key outputs #:allow-other-keys)
5133 (let ((lib (assoc-ref outputs "lib")))
5134 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5135 (("@prefix@") lib)
5136 (("@exec_prefix@") lib)
5137 (("@libdir@") (string-append lib "/lib"))
5138 (("@includedir@") (string-append lib "/include"))
5139 (("@datadir@") (string-append lib "/share")))
7555d539
MB
5140 ;; Make sure gobject-introspection knows about the output
5141 ;; too (see <https://bugs.gnu.org/36535>).
5142 (setenv "outputs" "out lib")
14c297fd 5143 #t))))))
685cee87
SB
5144 (native-inputs
5145 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5146 ("gobject-introspection" ,gobject-introspection)
5147 ("intltool" ,intltool)
5148 ("pkg-config" ,pkg-config)
5149 ("xsltproc" ,libxslt)))
5150 (propagated-inputs
5151 `(("glib" ,glib) ; required by goa-1.0.pc
5152 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5153 (inputs
5154 `(("docbook-xsl" ,docbook-xsl)
5155 ("json-glib" ,json-glib)
5156 ("libsecret" ,libsecret)
5157 ("rest" ,rest)
685cee87
SB
5158 ("webkitgtk" ,webkitgtk)))
5159 (synopsis "Single sign-on framework for GNOME")
5160 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5161 (description
5162 "GNOME Online Accounts provides interfaces so that applications and
5163libraries in GNOME can access the user's online accounts. It has providers for
5164Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5165Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5166 (license license:lgpl2.0+)))
df217748
SB
5167
5168(define-public evolution-data-server
5169 (package
5170 (name "evolution-data-server")
68c3ca93 5171 (version "3.30.5")
df217748
SB
5172 (source (origin
5173 (method url-fetch)
5174 (uri (string-append "mirror://gnome/sources/" name "/"
5175 (version-major+minor version) "/"
5176 name "-" version ".tar.xz"))
e1f174ae 5177 (patches (search-patches "evolution-data-server-locales.patch"))
df217748
SB
5178 (sha256
5179 (base32
68c3ca93 5180 "1s952wyhgcbmq9nfgk75v15zdy1h3wy5p5rmkqibaavmc0pk3mli"))))
743aebd7 5181 (build-system cmake-build-system)
df217748 5182 (arguments
b468eedc
RW
5183 '(#:configure-flags
5184 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5185 (runpaths (map (lambda (s)
5186 (string-append lib "/evolution-data-server/" s))
ac033c7b
MB
5187 '("addressbook-backends" "calendar-backends"
5188 "camel-providers" "credential-modules"
5189 "registry-modules"))))
5190 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5191 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5192 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5193 "-DENABLE_VALA_BINDINGS=ON"
ac033c7b
MB
5194 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5195 (string-append lib "/evolution-data-server;")
5196 (string-join runpaths ";"))
5197 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
5198 #:phases
5199 (modify-phases %standard-phases
b468eedc
RW
5200 (add-after 'unpack 'disable-failing-tests
5201 (lambda _
5202 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5203 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5204 (delete-file-recursively "tests/book-migration")
5205 (substitute* "tests/CMakeLists.txt"
5206 (("add_subdirectory\\(book-migration\\)") ""))
5207 ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris:
5208 ;; assertion failed (uris->data == expected_uri):
5209 ;; ("" == "file:///tests/libedata-cal/components/event-1.ics")
5210 (substitute* "tests/libedata-cal/CMakeLists.txt"
5211 (("test-cal-meta-backend") ""))
5212 #t))
743aebd7 5213 (add-after 'unpack 'patch-paths
df217748 5214 (lambda _
b468eedc
RW
5215 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5216 "tests/libedata-book/data-test-utils.c"
5217 "tests/libedata-book/test-book-cache-utils.c"
5218 "tests/libedata-cal/test-cal-cache-utils.c")
df217748 5219 (("/bin/rm") (which "rm")))
ac033c7b
MB
5220 #t))
5221 (add-before 'configure 'dont-override-rpath
5222 (lambda _
5223 (substitute* "CMakeLists.txt"
5224 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5225 ;; Remove it so the configure flag is respected.
5226 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
b63c06f1 5227 #t)))))
df217748
SB
5228 (native-inputs
5229 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5230 ("gobject-introspection" ,gobject-introspection)
5231 ("gperf" ,gperf)
5232 ("intltool" ,intltool)
5233 ("pkg-config" ,pkg-config)
a73c1cf8 5234 ("vala" ,vala)
743aebd7 5235 ("python" ,python-wrapper)))
df217748
SB
5236 (propagated-inputs
5237 ;; These are all in the Requires field of .pc files.
5238 `(("gtk+" ,gtk+)
5239 ("libical" ,libical)
5240 ("libsecret" ,libsecret)
5241 ("libsoup" ,libsoup)
5242 ("nss" ,nss)
5243 ("sqlite" ,sqlite)))
5244 (inputs
5245 `(("bdb" ,bdb)
5246 ("gcr" ,gcr)
14c297fd 5247 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 5248 ("json-glib" ,json-glib)
b468eedc 5249 ("libcanberra" ,libcanberra)
743aebd7
MB
5250 ("libgweather" ,libgweather)
5251 ("mit-krb5" ,mit-krb5)
891199c6
MW
5252 ("openldap" ,openldap)
5253 ("webkitgtk" ,webkitgtk)))
df217748
SB
5254 (synopsis "Store address books and calendars")
5255 (home-page "https://wiki.gnome.org/Apps/Evolution")
5256 (description
5257 "This package provides a unified backend for programs that work with
5258contacts, tasks, and calendar information. It was originally developed for
5259Evolution (hence the name), but is now used by other packages as well.")
5260 (license license:lgpl2.0)))
bd7dfafa
SB
5261
5262(define-public caribou
5263 (package
5264 (name "caribou")
fe964bb5 5265 (version "0.4.21")
bd7dfafa
SB
5266 (source (origin
5267 (method url-fetch)
5268 (uri (string-append "mirror://gnome/sources/" name "/"
5269 (version-major+minor version) "/"
5270 name "-" version ".tar.xz"))
5271 (sha256
5272 (base32
fe964bb5 5273 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
5274 (build-system glib-or-gtk-build-system)
5275 (arguments
5276 '(#:phases
5277 (modify-phases %standard-phases
5278 (add-before
5279 'build 'pre-build
5280 (lambda* (#:key outputs #:allow-other-keys)
5281 (let ((out (assoc-ref outputs "out")))
5282 ;; Use absolute shared library path in Caribou-1.0.typelib.
5283 (substitute* "libcaribou/Makefile"
5284 (("--shared-library=libcaribou.so")
5285 (string-append "--shared-library="
5286 out "/lib/libcaribou.so")))
5287 #t)))
5288 (add-after 'install 'wrap-programs
5289 (lambda* (#:key outputs #:allow-other-keys)
5290 (let* ((out (assoc-ref outputs "out"))
5291 (python-path (getenv "PYTHONPATH"))
5292 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5293 (for-each
5294 (lambda (prog)
5295 (wrap-program prog
5296 `("PYTHONPATH" ":" prefix (,python-path))
5297 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5298 (list (string-append out "/bin/caribou-preferences")
5299 (string-append out "/libexec/antler-keyboard"))))
5300 #t)))))
5301 (native-inputs
5302 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5303 ("gobject-introspection" ,gobject-introspection)
5304 ("intltool" ,intltool)
5305 ("pkg-config" ,pkg-config)
5306 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5307 ("vala" ,vala)
5308 ("xsltproc" ,libxslt)))
5309 (propagated-inputs
5310 ;; caribou-1.0.pc refers to all these.
5311 `(("libgee" ,libgee)
5312 ("libxklavier" ,libxklavier)
5313 ("libxtst" ,libxtst)
5314 ("gtk+" ,gtk+)))
5315 (inputs
5316 `(("clutter" ,clutter)
5317 ("dconf" ,dconf)
5318 ("gtk+-2" ,gtk+-2)
5319 ("python-pygobject" ,python2-pygobject)))
5320 (synopsis "Text entry and UI navigation application")
5321 (home-page "https://wiki.gnome.org/Projects/Caribou")
5322 (description
5323 "Caribou is an input assistive technology intended for switch and pointer
5324users.")
5325 (license license:lgpl2.1)))
ba5dd105 5326
ba5dd105
SB
5327(define-public network-manager
5328 (package
5329 (name "network-manager")
02710a9b 5330 (version "1.14.4")
ba5dd105
SB
5331 (source (origin
5332 (method url-fetch)
5333 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5334 (version-major+minor version) "/"
5335 "NetworkManager-" version ".tar.xz"))
7d1861e2 5336 (patches (search-patches "nm-plugin-path.patch"))
ba5dd105
SB
5337 (sha256
5338 (base32
02710a9b
RW
5339 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5340 (modules '((guix build utils)))
fd070f35 5341 (snippet
02710a9b
RW
5342 '(begin
5343 (substitute* "src/devices/wwan/nm-modem-manager.c"
5344 (("systemd") "elogind"))
5345 #t))))
ba5dd105
SB
5346 (build-system gnu-build-system)
5347 (outputs '("out"
5348 "doc")) ; 8 MiB of gtk-doc HTML
5349 (arguments
5350 '(#:configure-flags
5351 (let ((out (assoc-ref %outputs "out"))
5352 (doc (assoc-ref %outputs "doc"))
5353 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5354 "/sbin/dhclient")))
02710a9b
RW
5355 (list "--with-libnm-glib" ; needed by network-manager-applet
5356 "--with-systemd-journal=no"
5357 "--with-session-tracking=elogind"
5358 "--with-suspend-resume=elogind"
fd070f35
CM
5359 "--with-consolekit=no"
5360 "--with-crypto=gnutls"
ba5dd105
SB
5361 "--disable-config-plugin-ibft"
5362 "--sysconfdir=/etc"
5363 "--localstatedir=/var"
5364 (string-append "--with-udev-dir="
5365 out "/lib/udev")
5366 (string-append "--with-dbus-sys-dir="
5367 out "/etc/dbus-1/system.d")
5368 (string-append "--with-html-dir="
5369 doc "/share/gtk-doc/html")
5370 (string-append "--with-dhclient=" dhclient)))
5371 #:phases
5372 (modify-phases %standard-phases
02710a9b
RW
5373 ;; This bare "ls" invocation breaks some tests.
5374 (add-after 'unpack 'patch-ls-invocation
5375 (lambda _
5376 (substitute* "build-aux/ltmain.sh"
5377 (("`ls -")
5378 (string-append "`" (which "ls") " -")))
5379 #t))
b4f59d87
AW
5380 (add-before 'configure 'pre-configure
5381 (lambda _
5382 ;; These tests try to test aspects of network-manager's
5383 ;; functionality within restricted containers, but they don't
5384 ;; cope with being already in the Guix build jail as that jail
5385 ;; lacks some features that they would like to proxy over (like
5386 ;; a /sys mount).
d04687dc
HG
5387 (substitute* '("Makefile.in")
5388 (("src/platform/tests/test-address-linux") " ")
5389 (("src/platform/tests/test-cleanup-linux") " ")
5390 (("src/platform/tests/test-link-linux") " ")
5391 (("src/platform/tests/test-route-linux") " ")
02710a9b 5392 (("src/devices/tests/test-acd") "")
d04687dc
HG
5393 (("src/devices/tests/test-arping") " ")
5394 (("src/devices/tests/test-lldp") " ")
5395 (("src/tests/test-route-manager-linux") " "))
b4f59d87 5396 #t))
45f80fce
RW
5397 (add-after 'unpack 'delete-failing-tests
5398 (lambda _
02710a9b 5399 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
5400 ;; ERROR:libnm-core/tests/test-general.c:5842:
5401 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5402 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5403 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5404 ;; ERROR:libnm-core/tests/test-setting.c:907:
5405 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
5406 (substitute* "Makefile.in"
5407 (("libnm-core/tests/test-general") " ")
5408 (("libnm-core/tests/test-keyfile") " ")
02710a9b 5409 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 5410 #t))
ba5dd105
SB
5411 (add-before 'check 'pre-check
5412 (lambda _
5413 ;; For the missing /etc/machine-id.
5414 (setenv "DBUS_FATAL_WARNINGS" "0")
5415 #t))
5416 (replace 'install
5417 (lambda _
45f80fce
RW
5418 (invoke "make"
5419 "sysconfdir=/tmp"
5420 "rundir=/tmp"
5421 "statedir=/tmp"
5422 "nmstatedir=/tmp/nm"
5423 "install")
5424 #t)))))
b93502d6
DC
5425 (propagated-inputs
5426 `(("glib" ,glib)))
ba5dd105
SB
5427 (native-inputs
5428 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5429 ("gobject-introspection" ,gobject-introspection)
d04687dc 5430 ("docbook-xsl" ,docbook-xsl)
ba5dd105 5431 ("intltool" ,intltool)
d04687dc
HG
5432 ("libxslt" ,libxslt)
5433 ("libxml2" ,libxml2)
ba5dd105
SB
5434 ("pkg-config" ,pkg-config)
5435 ;; For testing.
5436 ("python" ,python-wrapper)
5437 ("python-dbus" ,python-dbus)
5438 ("python-pygobject" ,python-pygobject)))
5439 (inputs
02710a9b
RW
5440 `(("coreutils" ,coreutils) ; for ls
5441 ("curl" ,curl)
856ca567
KK
5442 ("cyrus-sasl" ,cyrus-sasl)
5443 ("dbus-glib" ,dbus-glib)
ba5dd105 5444 ("dnsmasq" ,dnsmasq)
856ca567 5445 ("eudev" ,eudev)
ba5dd105
SB
5446 ("gnutls" ,gnutls)
5447 ("iptables" ,iptables)
5448 ("isc-dhcp" ,isc-dhcp)
d04687dc 5449 ("jansson" ,jansson)
ba5dd105
SB
5450 ("libgcrypt" ,libgcrypt)
5451 ("libgudev" ,libgudev)
5452 ("libndp" ,libndp)
5453 ("libnl" ,libnl)
5454 ("libsoup" ,libsoup)
142bdcbc 5455 ("modem-manager" ,modem-manager)
c27e02bf 5456 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
5457 ("polkit" ,polkit)
5458 ("ppp" ,ppp)
5459 ("readline" ,readline)
fd070f35
CM
5460 ("util-linux" ,util-linux)
5461 ("elogind" ,elogind)))
ba5dd105 5462 (synopsis "Network connection manager")
f032d0be 5463 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
5464 (description
5465 "NetworkManager is a system network service that manages your network
5466devices and connections, attempting to keep active network connectivity when
5467available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5468devices, and provides VPN integration with a variety of different VPN
5469services.")
29d2f451
LC
5470 (license license:gpl2+)
5471 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 5472
f2b96b3a
LC
5473(define-public network-manager-openvpn
5474 (package
5475 (name "network-manager-openvpn")
0310eb96 5476 (version "1.8.4")
f2b96b3a
LC
5477 (source (origin
5478 (method url-fetch)
5479 (uri (string-append
5480 "mirror://gnome/sources/NetworkManager-openvpn/"
5481 (version-major+minor version)
5482 "/NetworkManager-openvpn-" version ".tar.xz"))
5483 (sha256
5484 (base32
0310eb96 5485 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
f2b96b3a
LC
5486 (build-system gnu-build-system)
5487 (arguments
633422b0
JL
5488 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5489 #:phases
5490 (modify-phases %standard-phases
5491 (add-after 'configure 'patch-path
5492 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5493 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
5494 "/sbin/openvpn"))
5495 (modprobe (string-append (assoc-ref inputs "kmod")
5496 "/bin/modprobe"))
5497 (pretty-ovpn (string-append "\"" ovpn "\"")))
5498 (for-each
5499 (lambda (file)
5500 (substitute* file
5501 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
5502 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
5503 (("\"/sbin/openvpn\"") pretty-ovpn)
5504 (("/sbin/modprobe") modprobe)))
5505 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
5506 #t)))))
f2b96b3a
LC
5507 (native-inputs
5508 `(("pkg-config" ,pkg-config)
5509 ("intltool" ,intltool)))
5510 (inputs
5511 `(("gtk+" ,gtk+)
633422b0 5512 ("kmod" ,kmod)
f2b96b3a
LC
5513 ("openvpn" ,openvpn)
5514 ("network-manager" ,network-manager)
5515 ("network-manager-applet" ,network-manager-applet) ;for libnma
5516 ("libsecret" ,libsecret)))
5517 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5518 (synopsis "OpenVPN plug-in for NetworkManager")
5519 (description
5520 "This extension of NetworkManager allows it to take care of connections
5521to virtual private networks (VPNs) via OpenVPN.")
5522 (license license:gpl2+)
5523 (properties `((upstream-name . "NetworkManager-openvpn")))))
5524
d376129f
JL
5525(define-public network-manager-vpnc
5526 (package
5527 (name "network-manager-vpnc")
5528 (version "1.2.6")
5529 (source (origin
5530 (method url-fetch)
5531 (uri (string-append
5532 "mirror://gnome/sources/NetworkManager-vpnc/"
5533 (version-major+minor version)
5534 "/NetworkManager-vpnc-" version ".tar.xz"))
5535 (sha256
5536 (base32
5537 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
5538 (build-system gnu-build-system)
5539 (arguments
5540 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5541 #:phases
5542 (modify-phases %standard-phases
5543 (add-after 'configure 'patch-path
5544 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5545 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
5546 "/sbin/vpnc"))
5547 (modprobe (string-append (assoc-ref inputs "kmod")
5548 "/bin/modprobe"))
5549 (pretty-ovpn (string-append "\"" vpnc "\"")))
5550 (substitute* "src/nm-vpnc-service.c"
5551 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
5552 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
5553 (("\"/sbin/vpnc\"") pretty-ovpn)
5554 (("/sbin/modprobe") modprobe)))
5555 #t)))))
5556 (native-inputs
5557 `(("pkg-config" ,pkg-config)
5558 ("intltool" ,intltool)))
5559 (inputs
5560 `(("gtk+" ,gtk+)
5561 ("kmod" ,kmod)
5562 ("vpnc" ,vpnc)
5563 ("network-manager" ,network-manager)
5564 ("network-manager-applet" ,network-manager-applet) ;for libnma
5565 ("libsecret" ,libsecret)))
5566 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5567 (synopsis "VPNC plug-in for NetworkManager")
5568 (description
5569 "Support for configuring virtual private networks based on VPNC.
5570Compatible with Cisco VPN concentrators configured to use IPsec.")
5571 (license license:gpl2+)
5572 (properties `((upstream-name . "NetworkManager-vpnc")))))
5573
8378c87a
EF
5574(define-public network-manager-openconnect
5575 (package
5576 (name "network-manager-openconnect")
5577 (version "1.2.6")
5578 (source (origin
5579 (method url-fetch)
5580 (uri (string-append
5581 "mirror://gnome/sources/NetworkManager-openconnect/"
5582 (version-major+minor version)
5583 "/NetworkManager-openconnect-" version ".tar.xz"))
5584 (sha256
5585 (base32
5586 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
5587 (build-system gnu-build-system)
5588 (arguments
5589 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5590 #:phases
5591 (modify-phases %standard-phases
5592 (add-after 'configure 'patch-path
5593 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5594 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
5595 "/sbin/openconnect"))
5596 (modprobe (string-append (assoc-ref inputs "kmod")
5597 "/bin/modprobe"))
5598 (pretty-ovpn (string-append "\"" openconnect "\"")))
5599 (substitute* "src/nm-openconnect-service.c"
5600 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
5601 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
5602 (("/sbin/modprobe") modprobe)))
5603 #t)))))
5604 (native-inputs
5605 `(("intltool" ,intltool)
5606 ("network-manager-applet" ,network-manager-applet) ;for libnma
5607 ("pkg-config" ,pkg-config)))
5608 (inputs
5609 `(("gcr" ,gcr)
5610 ("gtk+" ,gtk+)
5611 ("kmod" ,kmod)
5612 ("libsecret" ,libsecret)
5613 ("libxml2" ,libxml2)
5614 ("network-manager" ,network-manager)
5615 ("openconnect" ,openconnect)))
5616 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5617 (synopsis "OpenConnect plug-in for NetworkManager")
5618 (description
5619 "This extension of NetworkManager allows it to take care of connections
5620to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
5621Cisco's AnyConnect SSL VPN.")
5622 (license license:gpl2+)
5623 (properties `((upstream-name . "NetworkManager-openconnect")))))
5624
e5e1df4d
DC
5625(define-public mobile-broadband-provider-info
5626 (package
5627 (name "mobile-broadband-provider-info")
310c89e3 5628 (version "20190116")
e5e1df4d
DC
5629 (source (origin
5630 (method url-fetch)
5631 (uri (string-append
5632 "mirror://gnome/sources/"
5633 "mobile-broadband-provider-info/" version "/"
5634 "mobile-broadband-provider-info-" version ".tar.xz"))
5635 (sha256
5636 (base32
310c89e3 5637 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
5638 (build-system gnu-build-system)
5639 (arguments
310c89e3 5640 `(#:tests? #f)) ; no tests
e5e1df4d
DC
5641 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5642 (synopsis "Database of broadband connection configuration")
5643 (description "Database of broadband connection configuration.")
5644 (license license:public-domain)))
5645
4d62a9d3
SB
5646(define-public network-manager-applet
5647 (package
5648 (name "network-manager-applet")
8c6d7b61 5649 (version "1.8.18")
4d62a9d3
SB
5650 (source (origin
5651 (method url-fetch)
5652 (uri (string-append "mirror://gnome/sources/" name "/"
5653 (version-major+minor version) "/"
5654 name "-" version ".tar.xz"))
5655 (sha256
5656 (base32
8c6d7b61 5657 "0y31g0lxr93370xi74hbpvcy9m81n5wdkdhq8xy2nqp0y4219p13"))))
cd7f718e
RW
5658 (build-system meson-build-system)
5659 (arguments
5660 '(#:glib-or-gtk? #t))
4d62a9d3
SB
5661 (native-inputs
5662 `(("intltool" ,intltool)
cd7f718e 5663 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 5664 ("gobject-introspection" ,gobject-introspection)
cd7f718e 5665 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
5666 ("pkg-config" ,pkg-config)))
5667 (propagated-inputs
5668 ;; libnm-gtk.pc refers to all these.
5669 `(("dbus-glib" ,dbus-glib)
5670 ("gtk+" ,gtk+)
5671 ("network-manager" ,network-manager)))
5672 (inputs
cd7f718e
RW
5673 `(("gcr" ,gcr)
5674 ("iso-codes" ,iso-codes)
4d62a9d3
SB
5675 ("libgudev" ,libgudev)
5676 ("libnotify" ,libnotify)
2116bfb3 5677 ("libsecret" ,libsecret)
240cee8a
KK
5678 ("libselinux" ,libselinux)
5679 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
5680 ("modem-manager" ,modem-manager)
5681 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 5682 (synopsis "Applet for managing network connections")
f032d0be 5683 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
5684 (description
5685 "This package contains a systray applet for NetworkManager. It displays
5686the available networks and allows users to easily switch between them.")
5687 (license license:gpl2+)))
56196594
RW
5688
5689(define-public libxml++
5690 (package
5691 (name "libxml++")
8344a85e 5692 (version "3.0.1")
56196594
RW
5693 (source (origin
5694 (method url-fetch)
5695 (uri (string-append "mirror://gnome/sources/" name "/"
5696 (version-major+minor version) "/"
5697 name "-" version ".tar.xz"))
5698 (sha256
5699 (base32
8344a85e 5700 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
5701 (build-system gnu-build-system)
5702 ;; libxml++-3.0.pc refers to all these.
5703 (propagated-inputs
5704 `(("libxml2" ,libxml2)
5705 ("glibmm" ,glibmm)))
5706 (native-inputs
5707 `(("perl" ,perl)
5708 ("pkg-config" ,pkg-config)))
5709 (home-page "http://libxmlplusplus.sourceforge.net/")
5710 (synopsis "C++ wrapper for XML parser library libxml2")
5711 (description
5712 "This package provides a C++ wrapper for the XML parser library
5713libxml2.")
5714 (license license:lgpl2.1+)))
df12f04a 5715
b61d9627
AW
5716(define-public libxml++-2
5717 (package
5718 (inherit libxml++)
5719 (name "libxml++")
5720 (version "2.40.1")
5721 (source (origin
5722 (method url-fetch)
5723 (uri (string-append "mirror://gnome/sources/" name "/"
5724 (version-major+minor version) "/"
5725 name "-" version ".tar.xz"))
5726 (sha256
5727 (base32
5728 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5729
df12f04a
SB
5730(define-public gdm
5731 (package
5732 (name "gdm")
7734b4a2 5733 (version "3.30.3")
df12f04a
SB
5734 (source (origin
5735 (method url-fetch)
5736 (uri (string-append "mirror://gnome/sources/" name "/"
5737 (version-major+minor version) "/"
5738 name "-" version ".tar.xz"))
5739 (sha256
5740 (base32
7734b4a2 5741 "15f7lz7z75krgbq8vb800afj96h8mw2fpy1s28za2911x5vgq0ak"))))
957dbc0a 5742 (build-system glib-or-gtk-build-system)
df12f04a
SB
5743 (arguments
5744 '(#:configure-flags
af37e6bb 5745 `("--without-plymouth"
957dbc0a 5746 "--disable-systemd-journal"
51bc8357
TS
5747
5748 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5749 ;; instead of having to replace it (i.e., stopping the mingetty
5750 ;; service for TTY 1 before starting GDM).
5751 "--with-initial-vt=7"
5752
89c86562
TS
5753 ;; Use '/etc/environment' for locale settings instead of the
5754 ;; systemd-specific '/etc/locale.conf'.
5755 "--with-lang-file=/etc/environment"
5756
b74ef0ba
RW
5757 ,(string-append "--with-udevdir="
5758 (assoc-ref %outputs "out") "/lib/udev")
5759
af37e6bb
AW
5760 "--localstatedir=/var"
5761 ,(string-append "--with-default-path="
5762 (string-join '("/run/setuid-programs"
5763 "/run/current-system/profile/bin"
5764 "/run/current-system/profile/sbin")
957dbc0a
AW
5765 ":"))
5766 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5767 ;; XDG_DATA_DIRS so that it finds its schemas.
5768 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
5769 #:phases
5770 (modify-phases %standard-phases
5771 (add-before
5772 'configure 'pre-configure
e8c6e771 5773 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
5774 ;; We don't have <systemd/sd-daemon.h>.
5775 (substitute* '("common/gdm-log.c"
5776 "daemon/gdm-server.c"
5777 "daemon/gdm-session-worker.c"
5778 "daemon/gdm-session-worker-job.c")
5779 (("#include <systemd/sd-daemon\\.h>") ""))
5780 ;; Use elogind for sd-login.
5781 (substitute* '("common/gdm-common.c"
5782 "daemon/gdm-manager.c"
5783 "libgdm/gdm-user-switching.c")
5784 (("#include <systemd/sd-login\\.h>")
5785 "#include <elogind/sd-login.h>"))
957dbc0a
AW
5786 ;; Check for elogind.
5787 (substitute* '("configure")
5788 (("libsystemd")
5789 "libelogind"))
af37e6bb
AW
5790 ;; Look for system-installed sessions in
5791 ;; /run/current-system/profile/share.
5792 (substitute* '("libgdm/gdm-sessions.c"
5793 "daemon/gdm-session.c"
5794 "daemon/gdm-display.c"
5795 "daemon/gdm-launch-environment.c")
5796 (("DATADIR \"/x")
5797 "\"/run/current-system/profile/share/x")
5798 (("DATADIR \"/wayland")
5799 "\"/run/current-system/profile/share/wayland")
5800 (("DATADIR \"/gnome")
5801 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 5802 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 5803 "GDM_DBUS_DAEMON"
c9ff92b5 5804 "GDM_X_SERVER"
41fa9f18 5805 "GDM_X_SESSION"
c9ff92b5
TS
5806 ;; XXX: Remove this once GNOME Shell is
5807 ;; a dependency of GDM.
5808 "XDG_DATA_DIRS")))
5809 (substitute* "daemon/gdm-session.c"
5810 (("set_up_session_environment \\(self\\);")
5811 (apply string-append
5812 "set_up_session_environment (self);\n"
5813 (map (lambda (name)
5814 (string-append
5815 "gdm_session_set_environment_variable "
5816 "(self, \"" name "\","
5817 "g_getenv (\"" name "\"));\n"))
5818 propagate)))))
a430a350
TS
5819 ;; Find the configuration file using an environment variable.
5820 (substitute* '("common/gdm-settings.c")
e0e6756f 5821 (("GDM_CUSTOM_CONF")
e57c2adb
TS
5822 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5823 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5824 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
5825 ;; Use service-supplied path to X.
5826 (substitute* '("daemon/gdm-server.c")
5827 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5828 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5829 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
5830 (("\"dbus-daemon\"")
5831 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 5832 (("X_SERVER")
41fa9f18
TS
5833 "g_getenv (\"GDM_X_SERVER\")")
5834 (("GDMCONFDIR \"/Xsession\"")
5835 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
5836 ;; Use an absolute path for GNOME Session.
5837 (substitute* "daemon/gdm-launch-environment.c"
5838 (("\"gnome-session\"")
5839 (string-append "\"" (assoc-ref inputs "gnome-session")
5840 "/bin/gnome-session\"")))
e8c6e771
TS
5841 ;; Do not automatically select the placeholder session.
5842 (substitute* "daemon/gdm-session.c"
5843 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5844 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5845 "(g_strcmp0(search_dirs[i], \""
5846 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5847 "\") == 0 && "
5848 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5849 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5850 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 5851 #t))
8caa4589
TS
5852 ;; GDM requires that there be at least one desktop entry
5853 ;; file. This phase installs a hidden one that simply
5854 ;; fails. This enables users to use GDM with a
5855 ;; '~/.xsession' script with no other desktop entry files.
5856 ;; See <https://bugs.gnu.org/35068>.
5857 (add-after 'install 'install-placeholder-desktop-entry
5858 (lambda* (#:key inputs outputs #:allow-other-keys)
5859 (let* ((out (assoc-ref outputs "out"))
5860 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5861 (fail (string-append sessions "/fail.desktop")))
5862 (mkdir-p sessions)
5863 (with-output-to-file fail
5864 (lambda ()
5865 (for-each
5866 display
5867 '("[Desktop Entry]\n"
5868 "Encoding=UTF-8\n"
5869 "Type=Application\n"
5870 "Name=Fail\n"
5871 "Comment=This session fails immediately.\n"
5872 "NoDisplay=true\n"
5873 "Exec=false\n"))))
5874 #t)))
69544798
TS
5875 ;; GDM needs GNOME Session to run these applications. We link
5876 ;; their autostart files in `share/gdm/greeter/autostart'
5877 ;; because GDM explicitly tells GNOME Session to look there.
5878 ;;
5879 ;; XXX: GNOME Shell should be linked here too, but currently
5880 ;; GNOME Shell depends on GDM.
5881 (add-after 'install 'link-autostart-files
5882 (lambda* (#:key inputs outputs #:allow-other-keys)
5883 (let* ((out (assoc-ref outputs "out"))
5884 (autostart (string-append out "/share/gdm/"
5885 "greeter/autostart"))
5886 (settings (assoc-ref inputs "gnome-settings-daemon")))
5887 (mkdir-p autostart)
5888 (with-directory-excursion autostart
5889 (for-each (lambda (desktop)
5890 (symlink desktop (basename desktop)))
5891 (find-files (string-append settings "/etc/xdg"))))
5892 #t))))))
df12f04a
SB
5893 (native-inputs
5894 `(("dconf" ,dconf)
5895 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5896 ("gobject-introspection" ,gobject-introspection)
5897 ("intltool" ,intltool)
5898 ("itstool" ,itstool)
5899 ("pkg-config" ,pkg-config)
5900 ("xmllint" ,libxml2)))
5901 (inputs
5902 `(("accountsservice" ,accountsservice)
5903 ("check" ,check) ; for testing
5904 ("elogind" ,elogind)
def6d6b6 5905 ("gnome-session" ,gnome-session)
69544798 5906 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
5907 ("gtk+" ,gtk+)
5908 ("iso-codes" ,iso-codes)
5909 ("libcanberra" ,libcanberra)
5910 ("linux-pam" ,linux-pam)))
5911 (synopsis "Display manager for GNOME")
f032d0be 5912 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
5913 (description
5914 "GNOME Display Manager is a system service that is responsible for
5915providing graphical log-ins and managing local and remote displays.")
5916 (license license:gpl2+)))
8e1dd04f
SB
5917
5918(define-public libgtop
5919 (package
5920 (name "libgtop")
015fc036 5921 (version "2.40.0")
8e1dd04f
SB
5922 (source (origin
5923 (method url-fetch)
59487fc2 5924 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 5925 (version-major+minor version) "/"
59487fc2 5926 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
5927 (sha256
5928 (base32
015fc036 5929 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
5930 (build-system gnu-build-system)
5931 (native-inputs
5932 `(("gobject-introspection" ,gobject-introspection)
5933 ("intltool" ,intltool)
5934 ("perl" ,perl)
5935 ("pkg-config" ,pkg-config)))
5936 (propagated-inputs
5937 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5938 (synopsis "Portable system access library")
5939 (home-page "https://www.gnome.org/")
5940 (description
5941 "LibGTop is a library to get system specific data such as CPU and memory
5942usage and information about running processes.")
5943 (license license:gpl2+)))
b96c4260
SB
5944
5945(define-public gnome-bluetooth
5946 (package
5947 (name "gnome-bluetooth")
fd3b1171 5948 (version "3.28.0")
b96c4260
SB
5949 (source (origin
5950 (method url-fetch)
5951 (uri (string-append "mirror://gnome/sources/" name "/"
5952 (version-major+minor version) "/"
5953 name "-" version ".tar.xz"))
5954 (sha256
5955 (base32
fd3b1171
RW
5956 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5957 (build-system meson-build-system)
b96c4260
SB
5958 (native-inputs
5959 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 5960 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
5961 ("gobject-introspection" ,gobject-introspection)
5962 ("intltool" ,intltool)
5963 ("pkg-config" ,pkg-config)
5964 ("xmllint" ,libxml2)))
5965 (propagated-inputs
5966 ;; gnome-bluetooth-1.0.pc refers to all these.
5967 `(("gtk+" ,gtk+)
5968 ("udev" ,eudev)))
5969 (inputs
5970 `(("libcanberra" ,libcanberra)
5971 ("libnotify" ,libnotify)))
5972 (synopsis "GNOME Bluetooth subsystem")
5973 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5974 (description
5975 "This package contains tools for managing and manipulating Bluetooth
5976devices using the GNOME desktop.")
5977 (license license:lgpl2.1+)))
b645146f
SB
5978
5979(define-public gnome-control-center
5980 (package
5981 (name "gnome-control-center")
982c0b36 5982 (version "3.30.3")
b645146f
SB
5983 (source (origin
5984 (method url-fetch)
5985 (uri (string-append "mirror://gnome/sources/" name "/"
5986 (version-major+minor version) "/"
5987 name "-" version ".tar.xz"))
5988 (sha256
5989 (base32
982c0b36
KK
5990 "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r"))
5991 (patches
0de9a1be 5992 (search-patches "gnome-control-center-udisks.patch"))))
59dac026 5993 (build-system meson-build-system)
b645146f 5994 (arguments
59dac026
RW
5995 '(#:glib-or-gtk? #t
5996 #:configure-flags
64c70430
KK
5997 (list "-Dcheese=false"
5998 (string-append "-Dgnome_session_libexecdir="
5999 (assoc-ref %build-inputs "gnome-session")
6000 "/libexec"))
59dac026 6001 #:phases
b645146f
SB
6002 (modify-phases %standard-phases
6003 (add-before 'configure 'patch-paths
6004 (lambda* (#:key inputs #:allow-other-keys)
6005 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 6006 (tzdata (assoc-ref inputs "tzdata"))
341225ac 6007 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
6008 (nm-applet (assoc-ref inputs "network-manager-applet"))
6009 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
6010 (substitute* "panels/datetime/tz.h"
6011 (("/usr/share/zoneinfo/zone.tab")
6012 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 6013 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
6014 (("/usr/share/locale")
6015 (string-append libc "/share/locale")))
1df38cfc
LC
6016 (substitute* "panels/region/cc-region-panel.c"
6017 (("\"gkbd-keyboard-display")
6018 (string-append "\"" libgnomekbd
6019 "/bin/gkbd-keyboard-display")))
341225ac
LC
6020 (substitute* '("panels/network/net-device-wifi.c"
6021 "panels/network/net-device.c"
6022 "panels/network/connection-editor/net-connection-editor.c")
6023 (("\"nm-connection-editor")
6024 (string-append "\"" nm-applet
6025 "/bin/nm-connection-editor")))
1acd107c
FP
6026 (substitute* '("panels/user-accounts/run-passwd.c")
6027 (("/usr/bin/passwd")
6028 "/run/setuid-programs/passwd"))
64c70430
KK
6029 (substitute* "panels/info/cc-info-overview-panel.c"
6030 (("DATADIR \"/gnome/gnome-version.xml\"")
6031 (string-append "\"" gnome-desktop
6032 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
6033 #t))))))
6034 (native-inputs
6035 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 6036 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
6037 ("intltool" ,intltool)
6038 ("pkg-config" ,pkg-config)
6039 ("xsltproc" ,libxslt)))
6040 (inputs
6041 `(("accountsservice" ,accountsservice)
6042 ("clutter-gtk" ,clutter-gtk)
6043 ("colord-gtk" ,colord-gtk)
6044 ("cups" ,cups)
6045 ("dconf" ,dconf)
6046 ("docbook-xsl" ,docbook-xsl)
3446ffb5 6047 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
6048 ("gnome-bluetooth" ,gnome-bluetooth)
6049 ("gnome-desktop" ,gnome-desktop)
6050 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 6051 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 6052 ("gnome-session" ,gnome-session)
b645146f
SB
6053 ("gnome-settings-daemon" ,gnome-settings-daemon)
6054 ("grilo" ,grilo)
6055 ("ibus" ,ibus)
6056 ("libcanberra" ,libcanberra)
1df38cfc 6057 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
6058 ("libgudev" ,libgudev)
6059 ("libgtop" ,libgtop)
6060 ("libpwquality" ,libpwquality)
982c0b36 6061 ("libsecret" ,libsecret)
b645146f
SB
6062 ("libsoup" ,libsoup)
6063 ("libxml2" ,libxml2)
6064 ("libwacom" ,libwacom)
6065 ("mesa" ,mesa)
6066 ("mit-krb5" ,mit-krb5)
6067 ("modem-manager" ,modem-manager)
6068 ("network-manager-applet" ,network-manager-applet)
6069 ("polkit" ,polkit)
6070 ("pulseaudio" ,pulseaudio)
6071 ("smbclient" ,samba)
6072 ("tzdata" ,tzdata)
982c0b36 6073 ("udisks" ,udisks)
b645146f
SB
6074 ("upower" ,upower)))
6075 (synopsis "Utilities to configure the GNOME desktop")
6076 (home-page "https://www.gnome.org/")
6077 (description
6078 "This package contains configuration applets for the GNOME desktop,
6079allowing to set accessibility configuration, desktop fonts, keyboard and mouse
6080properties, sound setup, desktop theme and background, user interface
6081properties, screen resolution, and other GNOME parameters.")
6082 (license license:gpl2+)))
a4df5756
SB
6083
6084(define-public gnome-shell
6085 (package
6086 (name "gnome-shell")
bd0dc2df 6087 (version "3.30.2")
a4df5756
SB
6088 (source (origin
6089 (method url-fetch)
6090 (uri (string-append "mirror://gnome/sources/" name "/"
6091 (version-major+minor version) "/"
6092 name "-" version ".tar.xz"))
6093 (sha256
6094 (base32
bd0dc2df 6095 "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2"))
a76d0f03
LC
6096 (patches (search-patches "gnome-shell-theme.patch"))
6097 (modules '((guix build utils)))
6098 (snippet
6099 #~(begin
a76d0f03
LC
6100 ;; Copy images for use on the GDM log-in screen.
6101 (copy-file #$(file-append %artwork-repository
6102 "/slim/0.x/background.png")
6103 "data/theme/guix-background.png")
45fef894
LC
6104 (copy-file #$(file-append %artwork-repository
6105 "/logo/Guix-horizontal-white.svg")
6106 "data/theme/guix-logo.svg")
a76d0f03 6107 #t))))
2b0c755d 6108 (build-system meson-build-system)
a4df5756 6109 (arguments
08185081
MB
6110 `(#:glib-or-gtk? #t
6111 #:disallowed-references ((,glib "bin")
11e1df56
LC
6112 ,inkscape ,libxslt
6113 ,ruby-sass)
2b0c755d
RW
6114 #:configure-flags
6115 (list "-Dsystemd=false"
6116 ;; Otherwise, the RUNPATH will lack the final path component.
6117 (string-append "-Dc_link_args=-Wl,-rpath="
6118 (assoc-ref %outputs "out")
6119 "/lib/gnome-shell"))
11e1df56 6120
08185081 6121 #:modules ((guix build meson-build-system)
11e1df56
LC
6122 (guix build utils)
6123 (srfi srfi-1))
6124
2b0c755d 6125 #:phases
a4df5756 6126 (modify-phases %standard-phases
2b0c755d 6127 (add-after 'unpack 'fix-keysdir
a4df5756
SB
6128 (lambda* (#:key outputs #:allow-other-keys)
6129 (let* ((out (assoc-ref outputs "out"))
6130 (keysdir (string-append
6131 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
6132 (substitute* "meson.build"
6133 (("keysdir =.*")
6134 (string-append "keysdir = '" keysdir "'\n")))
6135 #t)))
ebfe259f
MB
6136 (add-before 'configure 'convert-logo-to-png
6137 (lambda* (#:key inputs #:allow-other-keys)
6138 ;; Convert the logo from SVG to PNG.
6139 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
6140 "data/theme/guix-logo.svg")))
ba00235a 6141 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
6142 (lambda* (#:key inputs #:allow-other-keys)
6143 (substitute* "js/misc/ibusManager.js"
6144 (("'ibus-daemon'")
6145 (string-append "'" (assoc-ref inputs "ibus")
6146 "/bin/ibus-daemon'")))
d6fda4d3
LC
6147 (substitute* "js/ui/status/keyboard.js"
6148 (("'gkbd-keyboard-display'")
6149 (string-append "'" (assoc-ref inputs "libgnomekbd")
6150 "/bin/gkbd-keyboard-display'")))
2472cdec 6151 #t))
2b0c755d
RW
6152 (add-before 'check 'pre-check
6153 (lambda* (#:key inputs #:allow-other-keys)
6154 ;; Tests require a running X server.
6155 (system "Xvfb :1 &")
6156 (setenv "DISPLAY" ":1")
6157 #t))
6158 (add-after 'install 'wrap-programs
6159 (lambda* (#:key inputs outputs #:allow-other-keys)
6160 (let ((out (assoc-ref outputs "out"))
6161 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6162 (python-path (getenv "PYTHONPATH")))
6163 (wrap-program (string-append out "/bin/gnome-shell")
6164 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6165 ;; FIXME: gnome-shell loads these libraries with unqualified
6166 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6167 ;; alternative might be to patch gnome-shell.
6168 `("LD_LIBRARY_PATH" ":" prefix
6169 ,(map (lambda (pkg)
6170 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
6171 '("gdk-pixbuf"
6172 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
6173 (for-each
6174 (lambda (prog)
6175 (wrap-program (string-append out "/bin/" prog)
6176 `("PYTHONPATH" ":" prefix (,python-path))
6177 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6178 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 6179 #t)))
11e1df56
LC
6180 (replace 'glib-or-gtk-wrap
6181 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6182 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6183 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6184 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6185 ;; phase. Fix that since we don't need these.
6186 (wrap #:inputs (fold alist-delete inputs
6187 '("inkscape" "intltool" "glib:bin"))
6188 #:outputs outputs)))))))
a4df5756
SB
6189 (native-inputs
6190 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 6191 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 6192 ("gobject-introspection" ,gobject-introspection)
ebfe259f 6193 ("inkscape" ,inkscape)
a4df5756
SB
6194 ("intltool" ,intltool)
6195 ("pkg-config" ,pkg-config)
6196 ("python" ,python)
2b0c755d
RW
6197 ("ruby-sass" ,ruby-sass)
6198 ("sassc" ,sassc)
a76d0f03 6199 ("xsltproc" ,libxslt)
2b0c755d 6200 ;; For tests
0b4504f6 6201 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
6202 (inputs
6203 `(("accountsservice" ,accountsservice)
6204 ("caribou" ,caribou)
6205 ("docbook-xsl" ,docbook-xsl)
6206 ("evolution-data-server" ,evolution-data-server)
6207 ("gcr" ,gcr)
6208 ("gdm" ,gdm)
c5db31d4 6209 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
6210 ("gjs" ,gjs)
6211 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
6212 ("gnome-desktop" ,gnome-desktop)
6213 ("gnome-settings-daemon" ,gnome-settings-daemon)
6214 ("gst-plugins-base" ,gst-plugins-base)
6215 ("ibus" ,ibus)
6216 ("libcanberra" ,libcanberra)
6217 ("libcroco" ,libcroco)
d6fda4d3 6218 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
6219 ("libgweather" ,libgweather)
6220 ("libsoup" ,libsoup)
6221 ("mesa-headers" ,mesa-headers)
6222 ("mutter" ,mutter)
6223 ("network-manager-applet" ,network-manager-applet)
6224 ("polkit" ,polkit)
6225 ("pulseaudio" ,pulseaudio)
6226 ("python-pygobject" ,python-pygobject)
6227 ("startup-notification" ,startup-notification)
6228 ("telepathy-logger" ,telepathy-logger)
6229 ("upower" ,upower)
30e760f0
MB
6230 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6231 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6232 ("librsvg" ,librsvg)
2b0c755d 6233 ("geoclue" ,geoclue)))
a4df5756
SB
6234 (synopsis "Desktop shell for GNOME")
6235 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6236 (description
6237 "GNOME Shell provides core user interface functions for the GNOME desktop,
6238like switching to windows and launching applications.")
6239 (license license:gpl2+)))
c3f29bc9
RS
6240
6241(define-public gtk-vnc
6242 (package
6243 (name "gtk-vnc")
965ff023 6244 (version "0.9.0")
c3f29bc9
RS
6245 (source
6246 (origin
6247 (method url-fetch)
6248 (uri (string-append "mirror://gnome/sources/" name "/"
6249 (version-major+minor version) "/"
6250 name "-" version ".tar.xz"))
6251 (sha256
6252 (base32
965ff023 6253 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
6254 (build-system gnu-build-system)
6255 (arguments
6256 '(#:configure-flags '("--with-gtk=3.0")))
6257 (propagated-inputs
6258 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6259 (inputs
6260 `(("cyrus-sasl" ,cyrus-sasl)
6261 ("gnutls" ,gnutls)
6262 ("libgcrypt" ,libgcrypt)
6263 ("pulseaudio" ,pulseaudio)))
6264 (native-inputs
6265 `(("glib:bin" ,glib "bin")
6266 ("gobject-introspection" ,gobject-introspection)
6267 ("intltool" ,intltool)
6268 ("pkg-config" ,pkg-config)
2f17e939 6269 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
6270 ("vala" ,vala)))
6271 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6272 (synopsis "VNC viewer widget for GTK+")
6273 (description
6274 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6275applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6276GTK-VNC implements client side RFB protocol and authentication extensions such
6277as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6278 (license license:lgpl2.1+)))
8b877545 6279
dc69fe18
MW
6280(define-public gnome-autoar
6281 (package
6282 (name "gnome-autoar")
c7da8510 6283 (version "0.2.3")
dc69fe18
MW
6284 (source (origin
6285 (method url-fetch)
6286 (uri (string-append "mirror://gnome/sources/" name "/"
6287 (version-major+minor version) "/"
6288 name "-" version ".tar.xz"))
6289 (sha256
6290 (base32
c7da8510 6291 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
6292 (build-system glib-or-gtk-build-system)
6293 (native-inputs
6294 `(("gnome-common" ,gnome-common)
6295 ("gobject-introspection" ,gobject-introspection)
6296 ("pkg-config" ,pkg-config)))
6297 (propagated-inputs
6298 `(("libarchive" ,libarchive))) ; XXX document why
6299 (inputs
0a6e9e13 6300 `(("gtk+" ,gtk+)))
dc69fe18
MW
6301 (synopsis "Archives integration support for GNOME")
6302 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6303 (description
6304 "GNOME Autoar is a library which makes creating and extracting archives
6305easy, safe, and automatic.")
6306 (license license:lgpl2.1+)))
6307
b64e217f
MW
6308(define-public tracker
6309 (package
6310 (name "tracker")
c8bdf589 6311 (version "2.0.4")
b64e217f
MW
6312 (source (origin
6313 (method url-fetch)
b5b0fd23 6314 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 6315 (version-major+minor version) "/"
b5b0fd23 6316 "tracker-" version ".tar.xz"))
b64e217f
MW
6317 (sha256
6318 (base32
c8bdf589 6319 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
b64e217f 6320 (build-system glib-or-gtk-build-system)
c8bdf589
RW
6321 (arguments
6322 `(#:phases
6323 (modify-phases %standard-phases
6324 (add-after 'unpack 'disable-broken-tests
6325 (lambda _
6326 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6327 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6328 (substitute* "tests/libtracker-miner/Makefile.in"
6329 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6330 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6331 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6332 (substitute* "tests/libtracker-fts/Makefile.in"
6333 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6334 (substitute* "tests/libtracker-data/Makefile.in"
6335 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6336 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6337 (("tracker-backup\\$\\(EXEEXT\\)") "")
6338 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6339 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6340 ;; These fail because the SPARQL backend could not be loaded.
6341 ;; That's because /etc/machine-id is missing, but
6342 ;; DBUS_FATAL_WARNINGS does not help here.
6343 (substitute* "tests/libtracker-sparql/Makefile.in"
6344 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6345 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6346 (substitute* "tests/tracker-steroids/Makefile.in"
6347 (("tracker-test\\$\\(EXEEXT\\)") ""))
6348 #t))
6349 ;; Two tests fail if LANG is not set.
6350 (add-before 'check 'pre-check
6351 (lambda _
6352 (setenv "LANG" "en_US.UTF-8")
6353 ;; For the missing /etc/machine-id.
6354 (setenv "DBUS_FATAL_WARNINGS" "0")
6355 #t)))))
b64e217f
MW
6356 (native-inputs
6357 `(("gnome-common" ,gnome-common)
6358 ("gobject-introspection" ,gobject-introspection)
6359 ("intltool" ,intltool)
6360 ("pkg-config" ,pkg-config)
6361 ("vala" ,vala)))
6362 (inputs
6363 `(("gtk+" ,gtk+)
6364 ("dbus" ,dbus)
6365 ("gstreamer" ,gstreamer)
6366 ("gst-plugins-base" ,gst-plugins-base)
44ed6284 6367 ("sqlite" ,sqlite)
c8bdf589 6368 ("python" ,python)
b64e217f
MW
6369 ("poppler" ,poppler)
6370 ("libgsf" ,libgsf)
6371 ("libexif" ,libexif)
6372 ("libpng" ,libpng)
6373 ("libtiff" ,libtiff)
6374 ("libvorbis" ,libvorbis)
6375 ("flac" ,flac)
6376 ("totem-pl-parser" ,totem-pl-parser)
6377 ("zlib" ,zlib)
6378 ("exempi" ,exempi)
6379 ("libxml2" ,libxml2)
6380 ("upower" ,upower)
b64e217f
MW
6381 ("libunistring" ,libunistring)
6382 ("giflib" ,giflib)
0ef48cd9 6383 ("json-glib" ,json-glib)
b64e217f
MW
6384 ("openjpeg" ,openjpeg-1)
6385 ("libosinfo" ,libosinfo)
6386 ("libcue" ,libcue)
6387 ("libseccomp" ,libseccomp)
0ef48cd9 6388 ("libsoup" ,libsoup)
b64e217f 6389 ("libuuid" ,util-linux)))
b64e217f
MW
6390 (synopsis "Metadata database, indexer and search tool")
6391 (home-page "https://wiki.gnome.org/Projects/Tracker")
6392 (description
6393 "Tracker is an advanced framework for first class objects with associated
6394metadata and tags. It provides a one stop solution for all metadata, tags,
6395shared object databases, search tools and indexing.")
6396 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6397 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6398 (license (list license:gpl2+
6399 license:lgpl2.1+
6400 license:lgpl2.0+))))
6401
8b877545
RS
6402(define-public nautilus
6403 (package
6404 (name "nautilus")
c71bb3f2 6405 (version "3.30.5")
8b877545
RS
6406 (source (origin
6407 (method url-fetch)
6408 (uri (string-append "mirror://gnome/sources/" name "/"
6409 (version-major+minor version) "/"
6410 name "-" version ".tar.xz"))
6411 (sha256
6412 (base32
c71bb3f2 6413 "144r4py9b8w9ycsg6fggjg05kwvymh003qsb3h6apgpch5y3zgnv"))))
35e2d0cf 6414 (build-system meson-build-system)
8b877545 6415 (arguments
35e2d0cf 6416 '(#:glib-or-gtk? #t
8b877545
RS
6417 ;; XXX: FAIL: check-nautilus
6418 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6419 #:tests? #f))
6420 (native-inputs
35e2d0cf
R
6421 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6422 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6423 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
6424 ("gobject-introspection" ,gobject-introspection)
6425 ("intltool" ,intltool)
6426 ("pkg-config" ,pkg-config)))
8b877545 6427 (inputs
8b877545 6428 `(("dconf" ,dconf)
caf6c363 6429 ("gexiv2" ,gexiv2)
dd05e731 6430 ("gvfs" ,gvfs)
8b877545
RS
6431 ("exempi" ,exempi)
6432 ("gnome-desktop" ,gnome-desktop)
09d88905 6433 ("gnome-autoar" ,gnome-autoar)
ec66ebd4 6434 ("libseccomp" ,libseccomp)
35e2d0cf 6435 ("libselinux" ,libselinux)
09d88905 6436 ("tracker" ,tracker)
ce6027bf
SB
6437 ;; XXX: gtk+ is required by libnautilus-extension.pc
6438 ;;
6439 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6440 ;; package. See:
6441 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6442 ("gtk+" ,gtk+)
8b877545
RS
6443 ("libexif" ,libexif)
6444 ("libxml2" ,libxml2)))
6445 (synopsis "File manager for GNOME")
6446 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6447 (description
6448 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6449design and behaviour, giving the user a simple way to navigate and manage its
6450files.")
6451 (license license:gpl2+)))
3c697ffd
JR
6452
6453(define-public baobab
6454 (package
6455 (name "baobab")
d4ae2d15 6456 (version "3.30.0")
3c697ffd
JR
6457 (source (origin
6458 (method url-fetch)
6459 (uri (string-append
6460 "mirror://gnome/sources/" name "/"
6461 (version-major+minor version) "/"
6462 name "-" version ".tar.xz"))
6463 (sha256
6464 (base32
d4ae2d15 6465 "0kx721s1hhw1g0nvbqhb93g8iq6f852imyhfhl02zcqy4ipx0kay"))))
d233d373
RJ
6466 (build-system meson-build-system)
6467 (arguments
6468 '(#:glib-or-gtk? #t))
3c697ffd
JR
6469 (native-inputs
6470 `(("intltool" ,intltool)
6471 ("pkg-config" ,pkg-config)
d233d373
RJ
6472 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6473 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
6474 ("itstool" ,itstool)
6475 ("xmllint" ,libxml2)
6476 ("glib" ,glib "bin")
6477 ("vala" ,vala)))
6478 (inputs
6479 `(("gtk+" ,gtk+)))
6480 (synopsis "Disk usage analyzer for GNOME")
6481 (description
6482 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6483usage in the GNOME desktop environment. It can easily scan device volumes or
6484a specific user-requested directory branch (local or remote). Once the scan
6485is complete it provides a graphical representation of each selected folder.")
6486 (home-page "https://wiki.gnome.org/Apps/Baobab")
6487 (license license:gpl2+)))
dc050251 6488
fdba447c
RS
6489(define-public gnome-backgrounds
6490 (package
6491 (name "gnome-backgrounds")
29b85910 6492 (version "3.30.0")
fdba447c
RS
6493 (source
6494 (origin
6495 (method url-fetch)
6496 (uri (string-append "mirror://gnome/sources/" name "/"
6497 (version-major+minor version) "/"
6498 name "-" version ".tar.xz"))
6499 (sha256
6500 (base32
29b85910 6501 "1179jrl16bp9gqabqhw7nnfp8qzf5y1vf9fi45bni6rfmwm3mrpc"))))
9ca381f0 6502 (build-system meson-build-system)
fdba447c
RS
6503 (native-inputs
6504 `(("intltool" ,intltool)))
6505 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6506 (synopsis "Background images for the GNOME desktop")
6507 (description
6508 "GNOME backgrounds package contains a collection of graphics files which
6509can be used as backgrounds in the GNOME Desktop environment. Additionally,
6510the package creates the proper framework and directory structure so that you
6511can add your own files to the collection.")
6512 (license (list license:gpl2+
6513 license:cc-by2.0
6514 license:cc-by-sa2.0
6515 license:cc-by-sa3.0))))
6516
b784b1a9
RS
6517(define-public gnome-screenshot
6518 (package
6519 (name "gnome-screenshot")
676e7cb4 6520 (version "3.30.0")
b784b1a9
RS
6521 (source
6522 (origin
6523 (method url-fetch)
6524 (uri (string-append "mirror://gnome/sources/" name "/"
6525 (version-major+minor version) "/"
6526 name "-" version ".tar.xz"))
6527 (sha256
6528 (base32
676e7cb4 6529 "06dx3svxq6sar4913mrz5lzb7hmc66wck138vmyxj8x8iv1iw0w8"))))
8356aefa 6530 (build-system meson-build-system)
b784b1a9
RS
6531 (native-inputs
6532 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
6533 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6534 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 6535 ("intltool" ,intltool)
8356aefa 6536 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
6537 ("pkg-config" ,pkg-config)))
6538 (inputs
6539 `(("gtk+" ,gtk+)
6540 ("libcanberra" ,libcanberra)
6541 ("libx11" ,libx11)
6542 ("libxext" ,libxext)))
676e7cb4 6543 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
6544 (synopsis "Take pictures of your screen")
6545 (description
6546 "GNOME Screenshot is a utility used for taking screenshots of the entire
6547screen, a window or a user defined area of the screen, with optional
6548beautifying border effects.")
6549 (license license:gpl2+)))
6550
66d59111
RS
6551(define-public dconf-editor
6552 (package
6553 (name "dconf-editor")
bc09c416 6554 (version "3.30.2")
66d59111
RS
6555 (source
6556 (origin
6557 (method url-fetch)
6558 (uri (string-append "mirror://gnome/sources/" name "/"
6559 (version-major+minor version) "/"
6560 name "-" version ".tar.xz"))
6561 (sha256
6562 (base32
bc09c416 6563 "06f736spn20s7qjsz00xw44v8r8bjhyrz1v3bix6v416jc5jp6ia"))))
294ff39d 6564 (build-system meson-build-system)
86f2124b
LC
6565 (arguments
6566 '(#:phases (modify-phases %standard-phases
6567 (add-before 'configure 'set-glib-minimum-version
6568 (lambda _
6569 ;; Change the minimum required GLib version so that
6570 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
6571 ;; do that, it complains that "55" is not an even
6572 ;; number. See <https://bugs.gnu.org/37503>.
6573 (substitute* "editor/meson.build"
6574 (("2\\.55\\.1") "2.60.0"))
6575 #t)))))
66d59111
RS
6576 (native-inputs
6577 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 6578 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 6579 ("intltool" ,intltool)
294ff39d
RW
6580 ("pkg-config" ,pkg-config)
6581 ("vala" ,vala)))
66d59111
RS
6582 (inputs
6583 `(("dconf" ,dconf)
6584 ("gtk+" ,gtk+)
6585 ("libxml2" ,libxml2)))
6586 (home-page "https://git.gnome.org/browse/dconf-editor")
6587 (synopsis "Graphical editor for GNOME's dconf configuration system")
6588 (description
6589 "Dconf-editor is a graphical tool for browsing and editing the dconf
6590configuration system for GNOME. It allows users to configure desktop
6591software that do not provide their own configuration interface.")
6592 (license license:lgpl2.1+)))
6593
96d36f38
AW
6594(define-public gnome-default-applications
6595 (package
6596 (name "gnome-default-applications")
6597 (version "0")
6598 (build-system trivial-build-system)
6599 (source #f)
6600 (propagated-inputs
8ad4f0aa
LC
6601 `(("nautilus" ,nautilus)
6602 ("evince" ,evince)))
96d36f38
AW
6603 (arguments
6604 `(#:modules ((guix build utils))
6605 #:builder
6606 (begin
6607 (use-modules (guix build utils))
6608 (let* ((out (assoc-ref %outputs "out"))
6609 (apps (string-append out "/share/applications")))
6610 (mkdir-p apps)
6611 (call-with-output-file (string-append apps "/defaults.list")
6612 (lambda (port)
6613 (format port "[Default Applications]\n")
8ad4f0aa
LC
6614 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6615 (format port "application/pdf=evince.desktop\n")
6616 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
6617 #t))))
6618 (synopsis "Default MIME type associations for the GNOME desktop")
6619 (description
6620 "Given many installed packages which might handle a given MIME type, a
6621user running the GNOME desktop probably has some preferences: for example,
6622that folders be opened by default by the Nautilus file manager, not the Baobab
6623disk usage analyzer. This package establishes that set of default MIME type
6624associations for GNOME.")
6625 (license license:gpl3+)
6626 (home-page #f)))
6627
dc050251
SB
6628(define-public gnome
6629 (package
6630 (name "gnome")
6631 (version (package-version gnome-shell))
6632 (source #f)
6633 (build-system trivial-build-system)
e3cfef22 6634 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251
SB
6635 (propagated-inputs
6636 ;; TODO: Add more packages according to:
6637 ;; <https://packages.debian.org/jessie/gnome-core>.
6638 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 6639 ("baobab" ,baobab)
0bd3597b 6640 ("font-cantarell" ,font-cantarell)
a9dbefdc 6641 ("font-dejavu" ,font-dejavu)
dc050251
SB
6642 ("at-spi2-core" ,at-spi2-core)
6643 ("dbus" ,dbus)
6644 ("dconf" ,dconf)
72360453 6645 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
6646 ("eog" ,eog)
6647 ("epiphany" ,epiphany)
6648 ("evince" ,evince)
71d9b980 6649 ("file-roller" ,file-roller)
dc050251
SB
6650 ("gedit" ,gedit)
6651 ("glib-networking" ,glib-networking)
05f651c4 6652 ("gnome-backgrounds" ,gnome-backgrounds)
63ad9b80
AW
6653 ("gnome-bluetooth" ,gnome-bluetooth)
6654 ("gnome-calculator" ,gnome-calculator)
dc050251 6655 ("gnome-control-center" ,gnome-control-center)
63ad9b80 6656 ("gnome-disk-utility" ,gnome-disk-utility)
96d36f38 6657 ("gnome-default-applications" ,gnome-default-applications)
dc050251 6658 ("gnome-keyring" ,gnome-keyring)
63ad9b80 6659 ("gnome-online-accounts" ,gnome-online-accounts)
dc050251
SB
6660 ("gnome-session" ,gnome-session)
6661 ("gnome-settings-daemon" ,gnome-settings-daemon)
6662 ("gnome-shell" ,gnome-shell)
63ad9b80 6663 ("gnome-system-monitor" ,gnome-system-monitor)
dc050251
SB
6664 ("gnome-terminal" ,gnome-terminal)
6665 ("gnome-themes-standard" ,gnome-themes-standard)
2999dcd5
AW
6666 ("gst-plugins-base" ,gst-plugins-base)
6667 ("gst-plugins-good" ,gst-plugins-good)
63ad9b80 6668 ("gucharmap" ,gucharmap)
05f651c4 6669 ("gvfs" ,gvfs)
dc050251
SB
6670 ("hicolor-icon-theme" ,hicolor-icon-theme)
6671 ("nautilus" ,nautilus)
69308043 6672 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
6673 ("pulseaudio" ,pulseaudio)
6674 ("shared-mime-info" ,shared-mime-info)
f6f4370f 6675 ("system-config-printer" ,system-config-printer)
dc050251 6676 ("totem" ,totem)
c20cd0d2 6677 ("xdg-user-dirs" ,xdg-user-dirs)
dc050251
SB
6678 ("yelp" ,yelp)
6679 ("zenity" ,zenity)))
fe4e698d 6680 (synopsis "The GNU desktop environment")
dc050251
SB
6681 (home-page "https://www.gnome.org/")
6682 (description
fe4e698d
LC
6683 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6684applications for browsing the web, editing text and images, creating
6685documents and diagrams, playing media, scanning, and much more.")
dc050251 6686 (license license:gpl2+)))
4a526711
DT
6687
6688(define-public byzanz
6689 ;; The last stable release of Byzanz was in 2011, but there have been many
6690 ;; useful commits made to the Byzanz repository since then that it would be
6691 ;; silly to use such an old release.
6692 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6693 (package
6694 (name "byzanz")
6695 (version (string-append "0.2-1." (string-take commit 7)))
6696 (source (origin
6697 (method git-fetch)
6698 (uri (git-reference
5f13bf09 6699 (url "https://git.gnome.org/browse/byzanz")
4a526711 6700 (commit commit)))
5a6527e4 6701 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
6702 (sha256
6703 (base32
6704 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6705 (build-system glib-or-gtk-build-system)
6706 (arguments
6707 '(#:phases
6708 (modify-phases %standard-phases
189be331 6709 (replace 'bootstrap
4a526711
DT
6710 (lambda _
6711 ;; The build system cleverly detects that we're not building from
6712 ;; a release tarball and turns on -Werror for GCC.
6713 ;; Unsurprisingly, there is a warning during compilation that
6714 ;; causes the build to fail unnecessarily, so we remove the flag.
6715 (substitute* '("configure.ac")
6716 (("-Werror") ""))
6717 ;; The autogen.sh script in gnome-common will run ./configure
6718 ;; by default, which is problematic because source shebangs
6719 ;; have not yet been patched.
6720 (setenv "NOCONFIGURE" "t")
6721 (zero? (system* "sh" "autogen.sh")))))))
6722 (native-inputs
6723 `(("autoconf" ,autoconf)
6724 ("automake" ,automake)
6725 ("gnome-common" ,gnome-common)
6726 ("intltool" ,intltool)
6727 ("libtool" ,libtool)
6728 ("pkg-config" ,pkg-config)
6729 ("which" ,which)))
6730 (inputs
6731 `(("glib" ,glib)
6732 ("gstreamer" ,gstreamer)
6733 ("gst-plugins-base" ,gst-plugins-base)
6734 ("gtk+" ,gtk+)))
6735 (synopsis "Desktop recording program")
6736 (description "Byzanz is a simple desktop recording program with a
6737command-line interface. It can record part or all of an X display for a
6738specified duration and save it as a GIF encoded animated image file.")
6739 (home-page "https://git.gnome.org/browse/byzanz")
6740 (license license:gpl2+))))
3a9a4c51 6741
0ec171ec
MS
6742(define-public gsound
6743 (package
6744 (name "gsound")
6745 (version "1.0.2")
6746 (source (origin
6747 (method url-fetch)
6748 (uri (string-append "mirror://gnome/sources/" name "/"
6749 (version-major+minor version) "/"
6750 name "-" version ".tar.xz"))
6751 (sha256
6752 (base32
6753 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6754 (build-system glib-or-gtk-build-system)
6755 (native-inputs
6756 `(("pkg-config" ,pkg-config)
6757 ("gobject-introspection" ,gobject-introspection)
6758 ("vala" ,vala)))
6759 (inputs
6760 `(("glib" ,glib)
6761 ("libcanberra" ,libcanberra)))
6762 (home-page "https://wiki.gnome.org/Projects/GSound")
6763 (synopsis "GObject wrapper for libcanberra")
6764 (description
6765 "GSound is a small library for playing system sounds. It's designed to be
6766used via GObject Introspection, and is a thin wrapper around the libcanberra C
6767library.")
6768 (license license:lgpl2.1+)))
6769
3a9a4c51
RS
6770(define-public libzapojit
6771 (package
6772 (name "libzapojit")
6773 (version "0.0.3")
6774 (source (origin
6775 (method url-fetch)
6776 (uri (string-append "mirror://gnome/sources/" name "/"
6777 (version-major+minor version) "/"
6778 name "-" version ".tar.xz"))
6779 (sha256
6780 (base32
6781 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6782 (build-system gnu-build-system)
6783 (native-inputs
6784 `(("gobject-introspection" ,gobject-introspection)
6785 ("intltool" ,intltool)
6786 ("pkg-config" ,pkg-config)))
6787 (inputs
14c297fd 6788 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
6789 ("json-glib" ,json-glib)
6790 ("rest" ,rest)))
6791 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6792 (synopsis "Library for accessing SkyDrive and Hotmail")
6793 (description
6794 "Libzapojit is a GLib-based library for accessing online service APIs of
6795Microsoft SkyDrive and Hotmail, using their REST protocols.")
6796 (license license:lgpl2.1+)))
9365ee1c 6797
60e2a9ae
MS
6798(define-public gnome-clocks
6799 (package
6800 (name "gnome-clocks")
757f863b 6801 (version "3.30.1")
60e2a9ae
MS
6802 (source (origin
6803 (method url-fetch)
6804 (uri (string-append "mirror://gnome/sources/" name "/"
6805 (version-major+minor version) "/"
6806 name "-" version ".tar.xz"))
6807 (sha256
6808 (base32
757f863b 6809 "009fr6zwv37wryi0c0syi4i7pxpdbn3gliws68l99cjsbn2qd6pc"))))
60e2a9ae
MS
6810 (build-system meson-build-system)
6811 (arguments
6812 '(#:glib-or-gtk? #t))
6813 (native-inputs
6814 `(("vala" ,vala)
6815 ("pkg-config" ,pkg-config)
6816 ("glib" ,glib "bin") ; for glib-compile-resources
6817 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6818 ("desktop-file-utils" ,desktop-file-utils)
6819 ("gettext" ,gettext-minimal)
6820 ("itstool" ,itstool)))
6821 (inputs
6822 `(("glib" ,glib)
6823 ("gtk+" ,gtk+)
6824 ("gsound" ,gsound)
6825 ("geoclue" ,geoclue)
6826 ("geocode-glib" ,geocode-glib)
6827 ("libgweather" ,libgweather)
6828 ("gnome-desktop" ,gnome-desktop)))
6829 (home-page "https://wiki.gnome.org/Apps/Clocks")
6830 (synopsis "GNOME's clock application")
6831 (description
6832 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6833desktop. It supports world clock, stop watch, alarms, and count down timer.")
6834 (license license:gpl3+)))
6835
3c474897
KY
6836(define-public gnome-calendar
6837 (package
6838 (name "gnome-calendar")
496d7ccd 6839 (version "3.30.1")
3c474897
KY
6840 (source (origin
6841 (method url-fetch)
6842 (uri (string-append "mirror://gnome/sources/" name "/"
6843 (version-major+minor version) "/"
6844 name "-" version ".tar.xz"))
6845 (sha256
6846 (base32
496d7ccd 6847 "1avi7a29y8d8kzwslp51nwy6s692alms7917454j0xpfc6hnw62s"))))
a49d3e37
MS
6848 (build-system meson-build-system)
6849 (arguments
6850 '(#:glib-or-gtk? #t
6851 ;; gnome-calendar has to be installed before the tests can be run
6852 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6853 #:tests? #f))
3c474897 6854 (native-inputs
a49d3e37
MS
6855 `(("gettext" ,gettext-minimal)
6856 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6857 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
6858 ("pkg-config" ,pkg-config)))
6859 (inputs
a49d3e37 6860 `(("evolution-data-server" ,evolution-data-server)
14c297fd 6861 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
6862 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6863 ("libdazzle" ,libdazzle)
b63c06f1 6864 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
6865 ("libgweather" ,libgweather)
6866 ("geoclue" ,geoclue)))
3c474897
KY
6867 (home-page "https://wiki.gnome.org/Apps/Calendar")
6868 (synopsis "GNOME's calendar application")
6869 (description
6870 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 6871desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
6872 (license license:gpl3+)))
6873
57b14665
MS
6874(define-public gnome-todo
6875 (package
6876 (name "gnome-todo")
9f3c6c88 6877 (version "3.28.1")
57b14665
MS
6878 (source (origin
6879 (method url-fetch)
6880 (uri (string-append "mirror://gnome/sources/" name "/"
6881 (version-major+minor version) "/"
6882 name "-" version ".tar.xz"))
6883 (sha256
6884 (base32
9f3c6c88 6885 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
6886 (build-system meson-build-system)
6887 (arguments
6888 '(#:glib-or-gtk? #t
6889 #:phases (modify-phases %standard-phases
6890 (add-after
6891 'install 'wrap-gnome-todo
6892 (lambda* (#:key inputs outputs #:allow-other-keys)
6893 (let ((out (assoc-ref outputs "out"))
6894 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6895 (python-path (getenv "PYTHONPATH")))
6896 (wrap-program (string-append out "/bin/gnome-todo")
6897 ;; XXX: gi plugins are broken.
6898 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6899 ;; For plugins.
6900 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6901 `("PYTHONPATH" ":" prefix (,python-path))))
6902 #t)))))
6903 (native-inputs
6904 `(("gettext" ,gettext-minimal)
6905 ("gobject-introspection" ,gobject-introspection)
6906 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6907 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6908 ("pkg-config" ,pkg-config)))
6909 (inputs
6910 `(("rest" ,rest) ; For Todoist plugin
6911 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 6912 ("libedataserverui" ,evolution-data-server)
57b14665
MS
6913 ("libical" ,libical)
6914 ("libpeas" ,libpeas)
6915 ("python-pygobject" ,python-pygobject)
6916 ("evolution-data-server" ,evolution-data-server)
14c297fd 6917 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
6918 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6919 (home-page "https://wiki.gnome.org/Apps/Todo")
6920 (synopsis "GNOME's ToDo Application")
6921 (description
6922 "GNOME To Do is a simplistic personal task manager designed to perfectly
6923fit the GNOME desktop.")
6924 (license license:gpl3+)))
6925
ab179eaf
SB
6926(define-public gnome-dictionary
6927 (package
6928 (name "gnome-dictionary")
cf81ddef 6929 (version "3.26.1")
ab179eaf
SB
6930 (source (origin
6931 (method url-fetch)
6932 (uri (string-append "mirror://gnome/sources/" name "/"
6933 (version-major+minor version) "/"
6934 name "-" version ".tar.xz"))
6935 (sha256
6936 (base32
cf81ddef
LC
6937 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6938 (build-system meson-build-system)
2776b5d5
MB
6939 (arguments '(#:glib-or-gtk? #t
6940 #:phases (modify-phases %standard-phases
6941 (add-after 'unpack 'patch-install-script
6942 (lambda _
6943 ;; This script attempts to compile glib schemas
6944 ;; and create an empty MIME database. We do
6945 ;; that elsewhere, so prevent it from running.
6946 (substitute* "build-aux/post-install.sh"
6947 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6948 #t)))))
ab179eaf
SB
6949 (native-inputs
6950 `(("glib:bin" ,glib "bin")
6951 ("gobject-introspection" ,gobject-introspection)
6952 ("intltool" ,intltool)
6953 ("itstool" ,itstool)
6954 ("pkg-config" ,pkg-config)
6955 ("xmllint" ,libxml2)))
6956 (inputs
6957 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6958 ("gtk+" ,gtk+)))
6959 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6960 (synopsis "Look up words in dictionary sources")
6961 (description
6962 "GNOME Dictionary can look for the definition or translation of a word in
6963existing databases over the internet.")
6964 (license license:gpl3+)))
6965
d13f3a03 6966(define-public gnome-tweaks
9365ee1c 6967 (package
d13f3a03 6968 (name "gnome-tweaks")
9d4d439b 6969 (version "3.30.2")
9365ee1c
JN
6970 (source (origin
6971 (method url-fetch)
d13f3a03 6972 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 6973 (version-major+minor version) "/"
d13f3a03
RW
6974 "gnome-tweaks-" version ".tar.xz"))
6975 (patches
6976 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
6977 (sha256
6978 (base32
9d4d439b 6979 "0j63siy1i5pl2g6di1r9vjn54m9ahh42wj20j6689pza2lamay1z"))))
d13f3a03 6980 (build-system meson-build-system)
9365ee1c 6981 (arguments
d13f3a03
RW
6982 `(#:glib-or-gtk? #t
6983 #:configure-flags '("-Dlocalstatedir=/tmp"
6984 "-Dsysconfdir=/tmp")
9365ee1c 6985 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
6986 ,@%meson-build-system-modules)
6987 #:phases
6988 (modify-phases %standard-phases
6989 (add-after 'install 'wrap
6990 (@@ (guix build python-build-system) wrap))
6991 (add-after 'wrap 'wrap-gi-typelib
6992 (lambda* (#:key inputs outputs #:allow-other-keys)
6993 (let ((out (assoc-ref outputs "out"))
6994 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6995 (wrap-program (string-append out "/bin/gnome-tweaks")
6996 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6997 #t)))))
9365ee1c 6998 (native-inputs
c7fc414e
RH
6999 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7000 ("intltool" ,intltool)
9365ee1c
JN
7001 ("pkg-config" ,pkg-config)))
7002 (inputs
c7fc414e
RH
7003 `(("gnome-desktop" ,gnome-desktop)
7004 ("gtk+" ,gtk+)
9365ee1c
JN
7005 ("gobject-introspection" ,gobject-introspection)
7006 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
7007 ("libnotify" ,libnotify)
7008 ("libsoup" ,libsoup)
7009 ("nautilus" ,nautilus)
7010 ("python" ,python)
7011 ("python-pygobject" ,python-pygobject)))
9365ee1c 7012 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 7013 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 7014 (description
d13f3a03 7015 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
7016GNOME 3. This includes things like the fonts used in user interface elements,
7017alternative user interface themes, changes in window management behavior,
7018GNOME Shell appearance and extension, etc.")
7019 (license license:gpl3+)))
813f814a 7020
d13f3a03
RW
7021;; This package has been renamed by upstream.
7022(define-public gnome-tweak-tool
7023 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7024
32ac717c
DT
7025(define-public gnome-shell-extensions
7026 (package
7027 (name "gnome-shell-extensions")
2aabc647 7028 (version "3.30.1")
32ac717c
DT
7029 (source (origin
7030 (method url-fetch)
7031 (uri (string-append "mirror://gnome/sources/" name "/"
7032 (version-major+minor version) "/"
7033 name "-" version ".tar.xz"))
7034 (sha256
7035 (base32
2aabc647 7036 "1grxn4f5x754r172wmnf0h0xpy69afmj359zsj1rwgqlzw4i4c5p"))))
100f625b 7037 (build-system meson-build-system)
32ac717c 7038 (arguments
100f625b 7039 '(#:configure-flags '("-Dextension_set=all")))
32ac717c
DT
7040 (native-inputs
7041 `(("intltool" ,intltool)
7042 ("pkg-config" ,pkg-config)))
7043 (propagated-inputs
7044 `(("glib" ,glib)
7045 ("glib" ,glib "bin")))
7046 (synopsis "Extensions for GNOME Shell")
7047 (description "GNOME Shell extensions modify and extend GNOME Shell
7048functionality and behavior.")
7049 (home-page "https://extensions.gnome.org/")
7050 (license license:gpl3+)))
7051
a7a31827
GL
7052(define-public numix-theme
7053 (package
7054 (name "numix-theme")
7055 (version "2.6.7")
7056 (source (origin
7057 (method git-fetch)
7058 (uri (git-reference
7059 (url "https://github.com/numixproject/numix-gtk-theme.git")
7060 (commit version)))
7061 (file-name (git-file-name name version))
7062 (sha256
7063 (base32
7064 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
7065 (build-system gnu-build-system)
7066 (arguments
7067 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
7068 #:phases
7069 (modify-phases %standard-phases
7070 (delete 'configure)
7071 (delete 'check))))
7072 (native-inputs
7073 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
7074 ("gnome-shell" ,gnome-shell)
7075 ("gtk+" ,gtk+)
7076 ("xmllint" ,libxml2)
7077 ("ruby-sass" ,ruby-sass)))
7078 (synopsis "Flat theme with light and dark elements")
7079 (description "Numix is a modern flat theme with a combination of light and
7080dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
7081 (home-page "https://numixproject.github.io")
7082 (license license:gpl3+)))
7083
813f814a
DT
7084(define-public arc-theme
7085 (package
7086 (name "arc-theme")
a18f8eaf 7087 (version "20181022")
813f814a 7088 (source (origin
a18f8eaf
BH
7089 (method git-fetch)
7090 (uri (git-reference
7091 (url "https://github.com/NicoHood/arc-theme.git")
7092 (commit version)))
7093 (file-name (git-file-name name version))
813f814a
DT
7094 (sha256
7095 (base32
a18f8eaf 7096 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
813f814a 7097 (build-system gnu-build-system)
d88884fa
EF
7098 (arguments
7099 '(#:phases
7100 (modify-phases %standard-phases
7101 ;; autogen.sh calls configure at the end of the script.
7102 (replace 'bootstrap
7103 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
7104 (native-inputs
7105 `(("autoconf" ,autoconf)
7106 ("automake" ,automake)
a18f8eaf
BH
7107 ("glib" ,glib "bin") ; for glib-compile-resources
7108 ("gnome-shell" ,gnome-shell)
7109 ("gtk+" ,gtk+)
7110 ("inkscape" ,inkscape)
7111 ("optipng" ,optipng)
7112 ("pkg-config" ,pkg-config)
7113 ("sassc" ,sassc)))
813f814a
DT
7114 (synopsis "A flat GTK+ theme with transparent elements")
7115 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
71162, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7117like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7118 (home-page "https://github.com/horst3180/arc-theme")
7119 ;; No "or later" language found.
a18f8eaf 7120 (license license:gpl3+)))
9987c57c 7121
d935e6a1 7122(define-public faba-icon-theme
9987c57c 7123 (package
d935e6a1 7124 (name "faba-icon-theme")
2eee7ee3 7125 (version "4.3")
d935e6a1
BT
7126 (source
7127 (origin
7128 (method url-fetch)
7129 (uri (string-append "https://github.com/moka-project/"
7130 name "/archive/v" version ".tar.gz"))
7131 (file-name (string-append name "-" version ".tar.gz"))
7132 (sha256
7133 (base32
2eee7ee3 7134 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
f6a9b345 7135 (build-system meson-build-system)
9987c57c 7136 (arguments
82da291a 7137 `(#:phases
9987c57c 7138 (modify-phases %standard-phases
82da291a 7139 (add-before 'configure 'disable-post-install
9987c57c 7140 (lambda _
82da291a
JL
7141 (substitute* "meson.build"
7142 (("meson.add_install_script.*") "")))))))
9987c57c
DT
7143 (native-inputs
7144 `(("autoconf" ,autoconf)
7145 ("automake" ,automake)))
d935e6a1
BT
7146 (synopsis "Faba icon theme")
7147 (description
7148 "Faba is a minimal icon set used as a basis for other themes such as
7149Moka")
7150 (home-page "https://snwh.org/moka")
7151 (license (list license:lgpl3+
7152 license:cc-by-sa4.0))))
7153
9987c57c
DT
7154(define-public moka-icon-theme
7155 (package
8b0e4177 7156 (inherit faba-icon-theme)
9987c57c 7157 (name "moka-icon-theme")
105a3625 7158 (version "5.4.0")
9987c57c
DT
7159 (source (origin
7160 (method url-fetch)
7161 (uri (string-append "https://github.com/moka-project"
7162 "/moka-icon-theme/archive/v"
7163 version ".tar.gz"))
7164 (file-name (string-append name "-" version ".tar.gz"))
7165 (sha256
7166 (base32
105a3625 7167 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
550281fb
BT
7168 (propagated-inputs
7169 ;; Moka is based on Faba by using it as a fallback icon set instead of
7170 ;; bundling it, so we need to add it as a propagated input.
7171 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
7172 (synopsis "Moka icon theme")
7173 (description "Moka is a stylized desktop icon set, designed to be clear,
7174simple and consistent.")
fedde43b
BT
7175 (license (list license:gpl3+
7176 license:cc-by-sa4.0))))
6fd8f8d6
DT
7177
7178(define-public arc-icon-theme
7179 (package
7180 (name "arc-icon-theme")
c4180240 7181 (version "20161122")
6fd8f8d6
DT
7182 (source (origin
7183 (method url-fetch)
7184 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7185 "/archive/" version ".tar.gz"))
7186 (file-name (string-append name "-" version ".tar.gz"))
7187 (sha256
7188 (base32
c4180240 7189 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6fd8f8d6 7190 (build-system gnu-build-system)
9e1ede95
JL
7191 (arguments
7192 `(#:phases
7193 (modify-phases %standard-phases
7194 (add-after 'unpack 'disable-configure-during-bootstrap
7195 (lambda _
7196 (substitute* "autogen.sh"
7197 (("^\"\\$srcdir/configure\".*") ""))
7198 #t)))))
6fd8f8d6
DT
7199 (native-inputs
7200 `(("autoconf" ,autoconf)
7201 ("automake" ,automake)))
7202 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7203 (propagated-inputs
7204 `(("moka-icon-theme" ,moka-icon-theme)))
7205 (synopsis "Arc icon theme")
7206 (description "The Arc icon theme provides a set of icons matching the
7207style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7208the Moka icon theme.")
7209 (home-page "https://github.com/horst3180/arc-icon-theme")
7210 (license license:gpl3+)))
6064a4e8
LF
7211
7212(define-public folks
7213 (package
7214 (name "folks")
d23495fa 7215 (version "0.11.4")
6064a4e8
LF
7216 (source (origin
7217 (method url-fetch)
7218 (uri (string-append
e5f4796e 7219 "mirror://gnome/sources/folks/"
6064a4e8 7220 (version-major+minor version) "/"
e5f4796e 7221 "folks-" version ".tar.xz"))
6064a4e8
LF
7222 (sha256
7223 (base32
d23495fa 7224 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
7225 (build-system glib-or-gtk-build-system)
7226 (inputs
7227 `(("bdb" ,bdb)
7228 ("dbus-glib" ,dbus-glib)
7229 ("evolution-data-server" ,evolution-data-server)
7230 ("glib" ,glib)
7231 ("libgee" ,libgee)
7232 ("telepathy-glib" ,telepathy-glib)))
7233 (native-inputs
7234 `(("gobject-introspection" ,gobject-introspection)
7235 ("intltool" ,intltool)
7236 ("pkg-config" ,pkg-config)
7237 ("vala" ,vala)))
7238 (synopsis "Library to aggregate data about people")
7239 (description "Libfolks is a library that aggregates information about people
7240from multiple sources (e.g., Telepathy connection managers for IM contacts,
7241Evolution Data Server for local contacts, libsocialweb for web service contacts,
7242etc.) to create metacontacts. It's written in Vala, which generates C code when
7243compiled.")
7244 (home-page "https://wiki.gnome.org/Projects/Folks")
7245 (license license:lgpl2.1+)))
01ea778f
LF
7246
7247(define-public gfbgraph
7248 (package
7249 (name "gfbgraph")
7250 (version "0.2.3")
7251 (source (origin
7252 (method url-fetch)
7253 (uri (string-append
237d4cf7 7254 "mirror://gnome/sources/gfbgraph/"
01ea778f 7255 (version-major+minor version) "/"
237d4cf7 7256 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
7257 (sha256
7258 (base32
7259 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7260 (build-system glib-or-gtk-build-system)
7261 (arguments
7262 `(#:tests? #f ; Tests appear to require the network.
7263 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7264 #:configure-flags '("--disable-gtk-doc"
7265 "--disable-static"
7266 "--enable-introspection")))
7267 (native-inputs
7268 `(("pkg-config" ,pkg-config)
7269 ("gobject-introspection" ,gobject-introspection)))
7270 (inputs
7271 `(("json-glib" ,json-glib)
14c297fd 7272 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
7273 ("rest" ,rest)))
7274 (synopsis "GLib/GObject wrapper for the Facebook API")
7275 (description "This library allows you to use the Facebook API from
7276GLib/GObject code.")
7277 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7278 (license license:lgpl2.1+)))
3920868c 7279
7280(define-public libgnomekbd
7281 (package
7282 (name "libgnomekbd")
70f2b0f9 7283 (version "3.26.1")
3920868c 7284 (source (origin
7285 (method url-fetch)
d47fa82d 7286 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 7287 (version-major+minor version) "/"
d47fa82d 7288 "libgnomekbd-" version ".tar.xz"))
3920868c 7289 (sha256
7290 (base32
70f2b0f9 7291 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 7292 (build-system gnu-build-system)
7293 (native-inputs
7294 `(("pkg-config" ,pkg-config)
7295 ("glib" ,glib "bin")
7296 ("intltool" ,intltool)))
7297 (propagated-inputs
7298 ;; Referred to in .h files and .pc.
7299 `(("glib" ,glib)
7300 ("gtk+" ,gtk+)
7301 ("libxklavier" ,libxklavier)))
7302 (home-page "https://www.gnome.org")
7303 (synopsis "GNOME keyboard configuration library")
7304 (description
7305 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7306environment, which can notably display keyboard layouts.")
7307 (license license:lgpl2.0+)))
85327d0d 7308
7309;;; This package is no longer maintained:
7310;;; https://wiki.gnome.org/Attic/LibUnique
7311;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7312;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7313(define-public libunique
7314 (package
7315 (name "libunique")
7316 (version "3.0.2")
7317 (source (origin
7318 (method url-fetch)
7319 (uri (string-append "mirror://gnome/sources/" name "/"
7320 (version-major+minor version) "/"
7321 name "-" version ".tar.xz"))
7322 (sha256
7323 (base32
7324 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7325 (build-system glib-or-gtk-build-system)
7326 (arguments
7327 `(#:configure-flags '("--disable-static"
7328 "--disable-dbus" ; use gdbus
7329 "--enable-introspection")))
7330 (native-inputs
7331 `(("pkg-config" ,pkg-config)
7332 ("gobject-introspection" ,gobject-introspection)
7333 ("glib:bin" ,glib "bin")
7334 ("gtk-doc" ,gtk-doc)))
7335 (propagated-inputs
7336 ;; Referred to in .h files and .pc.
7337 `(("gtk+" ,gtk+)))
7338 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7339 (synopsis "Library for writing single instance applications")
7340 (description
7341 "Libunique is a library for writing single instance applications. If you
7342launch a single instance application twice, the second instance will either just
7343quit or will send a message to the running instance. Libunique makes it easy to
7344write this kind of application, by providing a base class, taking care of all
7345the IPC machinery needed to send messages to a running instance, and also
7346handling the startup notification side.")
7347 (license license:lgpl2.1+)))
54021cd8
RS
7348
7349(define-public gnome-calculator
7350 (package
7351 (name "gnome-calculator")
07ace641 7352 (version "3.32.2")
54021cd8
RS
7353 (source
7354 (origin
7355 (method url-fetch)
7356 (uri (string-append "mirror://gnome/sources/" name "/"
7357 (version-major+minor version) "/"
7358 name "-" version ".tar.xz"))
7359 (sha256
7360 (base32
07ace641 7361 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
7362 (build-system meson-build-system)
7363 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
7364 (native-inputs
7365 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 7366 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
7367 ("intltool" ,intltool)
7368 ("itstool" ,itstool)
2d475910 7369 ("vala" ,vala)
54021cd8
RS
7370 ("pkg-config" ,pkg-config)))
7371 (inputs
112e9083 7372 `(("glib" ,glib)
07ace641 7373 ("gtksourceview" ,gtksourceview)
54021cd8 7374 ("libsoup" ,libsoup)
112e9083 7375 ("libxml2" ,libxml2)
2c2da7ec 7376 ("mpc" ,mpc)
54021cd8
RS
7377 ("mpfr" ,mpfr)))
7378 (home-page "https://wiki.gnome.org/Apps/Calculator")
7379 (synopsis "Desktop calculator")
7380 (description
7381 "Calculator is an application that solves mathematical equations and
7382is suitable as a default application in a Desktop environment.")
7383 (license license:gpl3)))
0bd69759
RS
7384
7385(define-public xpad
7386 (package
7387 (name "xpad")
c85626bb 7388 (version "5.1.0")
0bd69759
RS
7389 (source
7390 (origin
7391 (method url-fetch)
08fda9c6
R
7392 (uri (string-append "https://launchpad.net/xpad/trunk/"
7393 version "/+download/"
0bd69759
RS
7394 name "-" version ".tar.bz2"))
7395 (sha256
7396 (base32
c85626bb 7397 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
7398 (build-system gnu-build-system)
7399 (native-inputs
08fda9c6
R
7400 `(("autoconf" ,autoconf)
7401 ("automake" ,automake)
7402 ("gtk+:bin" ,gtk+ "bin")
7403 ("intltool" ,intltool)
0bd69759
RS
7404 ("pkg-config" ,pkg-config)))
7405 (inputs
c72647fb 7406 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
7407 ("libsm" ,libsm)))
7408 (home-page "https://wiki.gnome.org/Apps/Xpad")
7409 (synopsis "Virtual sticky note")
7410 (description
7411 "Xpad is a sticky note that strives to be simple, fault tolerant,
7412and customizable. Xpad consists of independent pad windows, each is
7413basically a text box in which notes can be written.")
7414 (license license:gpl3+)))
3ad7dce1
RS
7415
7416(define-public gucharmap
c60063ea
RW
7417 (let ((unicode-files
7418 '(("Blocks.txt"
1f8b5515 7419 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 7420 ("DerivedAge.txt"
1f8b5515 7421 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 7422 ("NamesList.txt"
1f8b5515 7423 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 7424 ("Scripts.txt"
1f8b5515 7425 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 7426 ("UnicodeData.txt"
1f8b5515 7427 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 7428 ("Unihan.zip"
1f8b5515 7429 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
7430 (package
7431 (name "gucharmap")
1f8b5515 7432 (version "12.0.1")
c60063ea
RW
7433 (source
7434 (origin
7435 (method url-fetch)
7436 (uri (string-append "mirror://gnome/sources/" name "/"
7437 (version-major+minor version) "/"
7438 name "-" version ".tar.xz"))
7439 (sha256
7440 (base32
1f8b5515 7441 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
7442 (build-system glib-or-gtk-build-system)
7443 (arguments
7444 `(#:modules ((ice-9 match)
7445 (guix build glib-or-gtk-build-system)
7446 (guix build utils))
7447 #:configure-flags
7448 (list "--with-unicode-data=../unicode-data")
7449 #:phases
7450 (modify-phases %standard-phases
7451 (add-after 'unpack 'prepare-unicode-data
7452 (lambda* (#:key inputs #:allow-other-keys)
7453 (mkdir-p "../unicode-data")
7454 (with-directory-excursion "../unicode-data"
7455 (for-each (match-lambda
7456 ((file _)
7457 (install-file (assoc-ref inputs file) ".")))
7458 ',unicode-files))
7459 #t)))))
7460 (native-inputs
7461 `(("desktop-file-utils" ,desktop-file-utils)
7462 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7463 ("gobject-introspection" ,gobject-introspection)
7464 ("intltool" ,intltool)
7465 ("itstool" ,itstool)
7466 ("pkg-config" ,pkg-config)
7467 ,@(map (match-lambda
7468 ((file hash)
7469 `(,file
7470 ,(origin
7471 (method url-fetch)
7472 (uri (string-append
1f8b5515 7473 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
7474 file))
7475 (sha256 (base32 hash))))))
7476 unicode-files)
7477 ("unzip" ,unzip)))
7478 (inputs
7479 `(("gtk+" ,gtk+)
7480 ("xmllint" ,libxml2)))
7481 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7482 (synopsis "Unicode character picker and font browser")
7483 (description
7484 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
7485characters and categories for the installed fonts, and to examine their
7486detailed properties. It is an easy way to find the character you might
7487only know by its Unicode name or code point.")
c60063ea 7488 (license license:gpl3+))))
04ce840a
RS
7489
7490(define-public bluefish
7491 (package
7492 (name "bluefish")
ea8afaf3 7493 (version "2.2.10")
04ce840a
RS
7494 (source
7495 (origin
7496 (method url-fetch)
7497 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7498 name "-" version ".tar.gz"))
7499 (sha256
7500 (base32
ea8afaf3 7501 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
7502 (build-system gnu-build-system)
7503 (native-inputs
7504 `(("desktop-file-utils" ,desktop-file-utils)
7505 ("intltool" ,intltool)
7506 ("pkg-config" ,pkg-config)))
7507 (inputs
7508 `(("enchant" ,enchant)
7509 ("gtk+" ,gtk+)
7510 ("python" ,python-2)
7511 ("xmllint" ,libxml2)
7512 ("gucharmap" ,gucharmap)))
7513 (home-page "http://bluefish.openoffice.nl")
7514 (synopsis "Web development studio")
7515 (description
7516 "Bluefish is an editor targeted towards programmers and web developers,
7517with many options to write web sites, scripts and other code.
7518Bluefish supports many programming and markup languages.")
7519 (license license:gpl3+)))
1f6a73ee
RS
7520
7521(define-public gnome-system-monitor
7522 (package
7523 (name "gnome-system-monitor")
85fb3df3 7524 (version "3.30.0")
1f6a73ee
RS
7525 (source
7526 (origin
7527 (method url-fetch)
7528 (uri (string-append "mirror://gnome/sources/" name "/"
7529 (version-major+minor version) "/"
7530 name "-" version ".tar.xz"))
7531 (sha256
7532 (base32
85fb3df3
RW
7533 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7534 (build-system meson-build-system)
7535 (arguments
7536 '(#:glib-or-gtk? #t
7537 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
7538 (native-inputs
7539 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 7540 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
7541 ("intltool" ,intltool)
7542 ("itstool" ,itstool)
7543 ("libgtop" ,libgtop)
4985d9aa 7544 ("polkit" ,polkit)
1f6a73ee
RS
7545 ("pkg-config" ,pkg-config)))
7546 (inputs
7547 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7548 ("gtk+" ,gtk+)
7549 ("gtkmm" ,gtkmm)
7550 ("librsvg" ,librsvg)
4985d9aa
RW
7551 ("libxml2" ,libxml2)
7552 ("libwnck" ,libwnck)))
1f6a73ee
RS
7553 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7554 (synopsis "Process viewer and system resource monitor for GNOME")
7555 (description
7556 "GNOME System Monitor is a GNOME process viewer and system monitor with
7557an attractive, easy-to-use interface. It has features, such as a tree view
7558for process dependencies, icons for processes, the ability to hide processes,
7559graphical time histories of CPU/memory/swap usage and the ability to
7560kill/reinice processes.")
7561 (license license:gpl2+)))
3e00ac47
SB
7562
7563(define-public python-pyatspi
7564 (package
7565 (name "python-pyatspi")
84548bd7 7566 (version "2.26.0")
3e00ac47
SB
7567 (source (origin
7568 (method url-fetch)
7569 (uri (string-append
7570 "mirror://gnome/sources/pyatspi/"
7571 (version-major+minor version)
7572 "/pyatspi-" version ".tar.xz"))
7573 (sha256
7574 (base32
b95af3f6
JL
7575 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7576 ;; Patch from upstream, fixed in newer versions.
7577 (patches (search-patches "python-pyatspi-python-37.patch"))))
3e00ac47 7578 (build-system gnu-build-system)
b95af3f6
JL
7579 (arguments
7580 `(#:phases
7581 (modify-phases %standard-phases
7582 (add-before 'build 'fix-atk-load
7583 (lambda _
7584 (substitute* "pyatspi/__init__.py"
7585 (("from gi.repository import Atspi")
7586 "gi.require_version('Gtk', '3.0')
7587from gi.repository import Gtk
7588from gi.repository import Atspi"))
7589 #t)))))
3e00ac47
SB
7590 (native-inputs
7591 `(("pkg-config" ,pkg-config)))
7592 (inputs
7593 `(("python" ,python)
7594 ("python-pygobject" ,python-pygobject)))
7595 (synopsis "Python client bindings for D-Bus AT-SPI")
7596 (home-page "https://wiki.linuxfoundation.org/accessibility\
7597/atk/at-spi/at-spi_on_d-bus")
7598 (description
7599 "This package includes a python client library for the AT-SPI D-Bus
7600accessibility infrastructure.")
7601 (license license:lgpl2.0)
7602 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
7603
7604(define-public orca
7605 (package
7606 (name "orca")
ef9b7d4c 7607 (version "3.30.2")
53201c0d
SB
7608 (source (origin
7609 (method url-fetch)
7610 (uri (string-append
7611 "mirror://gnome/sources/" name "/"
7612 (version-major+minor version) "/"
7613 name "-" version ".tar.xz"))
7614 (sha256
7615 (base32
ef9b7d4c 7616 "17asibc46i5gr2fw04jvvdi85zzmxwlnhyq7r6cr3m5prrdr8a53"))))
53201c0d
SB
7617 (build-system glib-or-gtk-build-system)
7618 (arguments
7619 '(#:phases
7620 (modify-phases %standard-phases
7621 (add-before 'configure 'qualify-xkbcomp
7622 (lambda* (#:key inputs #:allow-other-keys)
7623 (let ((xkbcomp (string-append
7624 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7625 (substitute* "src/orca/orca.py"
7626 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7627 #t))
7628 (add-after 'install 'wrap-orca
7629 (lambda* (#:key outputs #:allow-other-keys)
7630 (let* ((out (assoc-ref outputs "out"))
7631 (prog (string-append out "/bin/orca")))
7632 (wrap-program prog
7633 `("GI_TYPELIB_PATH" ":" prefix
7634 (,(getenv "GI_TYPELIB_PATH")))
7635 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7636 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7637 `("PYTHONPATH" ":" prefix
7638 (,(getenv "PYTHONPATH")))))
7639 #t)))))
7640 (native-inputs
7641 `(("intltool" ,intltool)
7642 ("itstool" ,itstool)
7643 ("pkg-config" ,pkg-config)
7644 ("xmllint" ,libxml2)))
7645 (inputs
7646 `(("at-spi2-atk" ,at-spi2-atk)
7647 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7648 ("gstreamer" ,gstreamer)
7649 ("gst-plugins-base" ,gst-plugins-base)
7650 ("gst-plugins-good" ,gst-plugins-good)
7651 ("gtk+" ,gtk+)
7652 ("python" ,python)
7653 ("python-pygobject" ,python-pygobject)
7654 ("python-pyatspi" ,python-pyatspi)
7655 ("python-speechd" ,speech-dispatcher)
7656 ("xkbcomp" ,xkbcomp)))
7657 (synopsis
7658 "Screen reader for individuals who are blind or visually impaired")
7659 (home-page "https://wiki.gnome.org/Projects/Orca")
7660 (description
7661 "Orca is a screen reader that provides access to the graphical desktop
7662via speech and refreshable braille. Orca works with applications and toolkits
7663that support the Assistive Technology Service Provider Interface (AT-SPI).")
7664 (license license:lgpl2.1+)))
411ba511
LC
7665
7666(define-public gspell
7667 (package
7668 (name "gspell")
9b1bb757 7669 (version "1.8.1")
411ba511
LC
7670 (source (origin
7671 (method url-fetch)
7672 (uri (string-append "mirror://gnome/sources/" name "/"
7673 (version-major+minor version) "/"
7674 name "-" version ".tar.xz"))
7675 (sha256
7676 (base32
9b1bb757 7677 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
411ba511
LC
7678 (patches (search-patches "gspell-dash-test.patch"))))
7679 (build-system glib-or-gtk-build-system)
7680 (arguments
7681 '(#:phases
7682 (modify-phases %standard-phases
7683 (add-before 'check 'pre-check
7684 (lambda* (#:key inputs #:allow-other-keys)
7685 ;; Tests require a running X server.
7686 (system "Xvfb :1 &")
7687 (setenv "DISPLAY" ":1")
7688
7689 ;; For the missing /etc/machine-id.
7690 (setenv "DBUS_FATAL_WARNINGS" "0")
7691
7692 ;; Allow Enchant and its Aspell backend to find the en_US
7693 ;; dictionary.
7694 (setenv "ASPELL_DICT_DIR"
7695 (string-append (assoc-ref inputs "aspell-dict-en")
7696 "/lib/aspell"))
7697 #t)))))
7698 (inputs
eccd35be 7699 `(("gtk+" ,gtk+)
a801ae4c
TGR
7700 ("glib" ,glib)
7701 ("iso-codes" ,iso-codes)))
411ba511
LC
7702 (native-inputs
7703 `(("glib" ,glib "bin")
7704 ("pkg-config" ,pkg-config)
7705 ("xmllint" ,libxml2)
7706
7707 ;; For tests.
a801ae4c
TGR
7708 ("aspell-dict-en" ,aspell-dict-en)
7709 ("xorg-server" ,xorg-server)))
eccd35be 7710 (propagated-inputs
9b1bb757 7711 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
7712 (home-page "https://wiki.gnome.org/Projects/gspell")
7713 (synopsis "GNOME's alternative spell checker")
7714 (description
7715 "gspell provides a flexible API to add spell-checking to a GTK+
7716application. It provides a GObject API, spell-checking to text entries and
7717text views, and buttons to choose the language.")
7718 (license license:gpl2+)))
d1d739fa
CM
7719
7720(define-public gnome-planner
7721 (package
7722 (name "gnome-planner")
7723 (version "0.14.6")
7724 (source (origin
7725 (method url-fetch)
7726 (uri (string-append "mirror://gnome/sources/planner/"
7727 (version-major+minor version) "/planner-"
7728 version ".tar.xz"))
7729 (sha256
7730 (base32
7731 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7732 (build-system glib-or-gtk-build-system)
7733 (arguments
7734 ;; Disable the Python bindings because the Planner program functions
7735 ;; without them, and (as of 2017-06-13) we have not packaged all of
7736 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
7737 `(#:configure-flags
7738 (list "--disable-python"
7739 ,@(if (string=? "aarch64-linux" (%current-system))
7740 '("--build=aarch64-unknown-linux-gnu")
7741 '()))))
d1d739fa
CM
7742 (inputs
7743 `(("libgnomecanvas" ,libgnomecanvas)
7744 ("libgnomeui" ,libgnomeui)
7745 ("libglade" ,libglade)
7746 ("gnome-vfs" ,gnome-vfs)
7747 ("gconf" ,gconf)
7748 ("libxml2" ,libxml2)
7749 ("libxslt" ,libxslt)
7750 ("gtk+" ,gtk+)
7751 ("glib" ,glib)))
7752 (native-inputs
7753 `(("intltool" ,intltool)
7754 ("scrollkeeper" ,scrollkeeper)
7755 ("pkg-config" ,pkg-config)))
7756 (home-page "https://wiki.gnome.org/Apps/Planner")
7757 (synopsis "Project management software for the GNOME desktop")
7758 (description
7759 "GNOME Planner is a project management tool based on the Work Breakdown
7760Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7761the resources, tasks, and constraints that you define, Planner generates
7762various views into a project. For example, Planner can show a Gantt chart of
7763the project. It can show a detailed summary of tasks including their
7764duration, cost, and current progress. It can also show a report of resource
7765utilization that highlights under-utilized and over-utilized resources. These
7766views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 7767 (license license:gpl2+)))
64fce637
RS
7768
7769(define-public lollypop
7770 (package
7771 (name "lollypop")
d029afdd 7772 (version "1.1.3.1")
64fce637
RS
7773 (source
7774 (origin
7775 (method url-fetch)
b98eace8 7776 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
d029afdd 7777 "5a7cd7c72b6d83ae08d0c54c4691f9df/"
64fce637
RS
7778 name "-" version ".tar.xz"))
7779 (sha256
7780 (base32
d029afdd 7781 "1r5wn0bja9psz6nr1rcaysdkkwz84rbyzpdfw66cxa6wiy52pkjm"))))
aa498fc0 7782 (build-system meson-build-system)
64fce637
RS
7783 (arguments
7784 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
7785 ,@%meson-build-system-modules)
7786 #:glib-or-gtk? #t
5fc9b6c1
EF
7787 #:tests? #f ; no test suite
7788 #:phases
7789 (modify-phases %standard-phases
5fc9b6c1
EF
7790 (add-after 'install 'wrap-program
7791 (lambda* (#:key outputs #:allow-other-keys)
7792 (let ((out (assoc-ref outputs "out"))
7793 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7794 (wrap-program (string-append out "/bin/lollypop")
7795 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7796 #t))
7797 (add-after 'install 'wrap
7798 (@@ (guix build python-build-system) wrap)))))
64fce637
RS
7799 (native-inputs
7800 `(("intltool" ,intltool)
7801 ("itstool" ,itstool)
aa498fc0
TD
7802 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7803 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
7804 ("pkg-config" ,pkg-config)))
7805 (inputs
7806 `(("gobject-introspection" ,gobject-introspection)
5fc9b6c1 7807 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
7808 ("libnotify" ,libnotify)
7809 ("libsecret" ,libsecret)
7810 ("libsoup" ,libsoup)
7811 ("python" ,python)
7812 ("python-beautifulsoup4" ,python-beautifulsoup4)
7813 ("python-gst" ,python-gst)
d029afdd 7814 ("python-pil" ,python-pillow)
64fce637
RS
7815 ("python-pycairo" ,python-pycairo)
7816 ("python-pygobject" ,python-pygobject)
7817 ("python-pylast" ,python-pylast)
7818 ("totem-pl-parser" ,totem-pl-parser)
7819 ("webkitgtk" ,webkitgtk)))
7820 (propagated-inputs
7821 `(;; gst-plugins-base is required to start Lollypop,
7822 ;; the others are required to play streaming.
64fce637
RS
7823 ("gst-plugins-good" ,gst-plugins-good)
7824 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 7825 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
7826 (synopsis "GNOME music playing application")
7827 (description
7828 "Lollypop is a music player designed to play well with GNOME desktop.
7829Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7830from artists and tracks from the web. It also fetches cover artworks
7831automatically and it can stream songs from online music services and charts.")
7832 (license license:gpl3+)))
d831d49d
AW
7833
7834(define-public gnome-video-effects
7835 (package
7836 (name "gnome-video-effects")
7837 (version "0.4.3")
7838 (source (origin
7839 (method url-fetch)
7840 (uri (string-append "mirror://gnome/sources/" name "/"
7841 (version-major+minor version) "/" name "-"
7842 version ".tar.xz"))
7843 (sha256
7844 (base32
7845 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7846 (build-system glib-or-gtk-build-system)
7847 (arguments
7848 `(#:out-of-source? #f))
7849 (native-inputs
7850 `(("glib:bin" ,glib "bin")
7851 ("intltool" ,intltool)
7852 ("gettext" ,gettext-minimal)
7853 ("pkg-config" ,pkg-config)))
7854 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7855 (synopsis "Video effects for Cheese and other GNOME applications")
7856 (description
7857 "A collection of GStreamer video filters and effects to be used in
7858photo-booth-like software, such as Cheese.")
7859 (license license:gpl2+)))
3511c780
AW
7860
7861(define-public cheese
7862 (package
7863 (name "cheese")
00b14dbb 7864 (version "3.30.0")
3511c780
AW
7865 (source (origin
7866 (method url-fetch)
7867 (uri (string-append "mirror://gnome/sources/" name "/"
7868 (version-major+minor version) "/" name "-"
7869 version ".tar.xz"))
7870 (sha256
7871 (base32
00b14dbb 7872 "0zz2bgjaf2lsmfs3zn24925vbjb0rycr39i288brlbzixrpcyljr"))))
3511c780
AW
7873 (arguments
7874 ;; Tests require GDK.
7875 `(#:tests? #f
7876 #:phases
7877 (modify-phases %standard-phases
7878 (add-before 'install 'skip-gtk-update-icon-cache
7879 (lambda _
7880 ;; Don't create 'icon-theme.cache'
7881 (substitute* "Makefile"
7882 (("gtk-update-icon-cache") (which "true")))
7883 #t))
7884 (add-after 'install 'wrap-cheese
7885 (lambda* (#:key inputs outputs #:allow-other-keys)
7886 (let ((out (assoc-ref outputs "out"))
7887 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7888 (wrap-program (string-append out "/bin/cheese")
7889 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7890 #t)))))
7891 (build-system glib-or-gtk-build-system)
7892 (native-inputs
7893 `(("glib:bin" ,glib "bin")
7894 ("intltool" ,intltool)
7895 ("itstool" ,itstool)
7896 ("libxml2" ,libxml2)
7897 ("pkg-config" ,pkg-config)
7898 ("vala" ,vala)))
7899 (propagated-inputs
6a19f03e
RW
7900 `(("gnome-video-effects" ,gnome-video-effects)
7901 ("clutter" ,clutter)
3511c780
AW
7902 ("clutter-gst" ,clutter-gst)
7903 ("clutter-gtk" ,clutter-gtk)
6a19f03e 7904 ("libcanberra" ,libcanberra)
3511c780
AW
7905 ("gdk-pixbuf" ,gdk-pixbuf)
7906 ("glib" ,glib)
6a19f03e
RW
7907 ("gstreamer" ,gstreamer)))
7908 (inputs
7909 `(("gnome-desktop" ,gnome-desktop)
3511c780 7910 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
7911 ("gst-plugins-base" ,gst-plugins-base)
7912 ("gst-plugins-bad" ,gst-plugins-bad)
7913 ("gtk+" ,gtk+)
3511c780
AW
7914 ("libx11" ,libx11)
7915 ("libxtst" ,libxtst)))
7916 (home-page "https://wiki.gnome.org/Apps/Cheese")
7917 (synopsis "Webcam photo booth software for GNOME")
7918 (description
7919 "Cheese uses your webcam to take photos and videos. Cheese can also
7920apply fancy special effects and lets you share the fun with others.")
7921 (license license:gpl2+)))
3c5dbd2b 7922
7923(define-public sound-juicer
7924 (package
7925 (name "sound-juicer")
7926 (version "3.24.0")
7927 (source
7928 (origin
7929 (method url-fetch)
7930 (uri (string-append "mirror://gnome/sources/" name "/"
7931 (version-major+minor version) "/"
7932 name "-" version ".tar.xz"))
7933 (sha256
7934 (base32
7935 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7936 (build-system glib-or-gtk-build-system)
7937 (native-inputs
7938 `(("desktop-file-utils" ,desktop-file-utils)
7939 ("intltool" ,intltool)
7940 ("itstool" ,itstool)
7941 ("pkg-config" ,pkg-config)
7942 ("xmllint" ,libxml2)))
7943 (inputs
7944 `(("gtk+" ,gtk+)
7945 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7946 ("gstreamer" ,gstreamer)
7947 ("gst-plugins-base" ,gst-plugins-base)
7948 ("gst-plugins-good" ,gst-plugins-good)
7949 ("iso-codes" ,iso-codes)
7950 ("libbrasero-media3" ,brasero)
7951 ("libcanberra" ,libcanberra)
7952 ("libdiscid" ,libdiscid)
7953 ("libmusicbrainz" ,libmusicbrainz)
7954 ("neon" ,neon)))
7955 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7956 (synopsis "Audio music cd ripper")
7957 (description "Sound Juicer extracts audio from compact discs and convert it
7958into audio files that a personal computer or digital audio player can play.
7959It supports ripping to any audio codec supported by a GStreamer plugin, such as
7960mp3, Ogg Vorbis and FLAC")
7961 (license license:gpl2+)))
4e3fdeb7 7962
0d3f1708
CB
7963(define-public soundconverter
7964 (package
7965 (name "soundconverter")
fa75a213 7966 (version "3.0.1")
0d3f1708
CB
7967 (source
7968 (origin
7969 (method url-fetch)
7970 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7971 version "/+download/"
7972 "soundconverter-" version ".tar.xz"))
7973
7974 (sha256
fa75a213 7975 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
7976 (patches
7977 (search-patches
7978 "soundconverter-remove-gconf-dependency.patch"))))
7979 (build-system glib-or-gtk-build-system)
7980 (arguments
7981 `(#:imported-modules ((guix build python-build-system)
7982 (guix build glib-or-gtk-build-system)
7983 ,@%gnu-build-system-modules)
7984
7985 #:modules ((guix build glib-or-gtk-build-system)
7986 (guix build utils)
7987 ((guix build gnu-build-system) #:prefix gnu:)
7988 ((guix build python-build-system) #:prefix python:))
7989
7990 #:phases
7991 (modify-phases %standard-phases
0d3f1708
CB
7992 (add-after 'install 'wrap-soundconverter-for-python
7993 (assoc-ref python:%standard-phases 'wrap))
7994 (add-after 'install 'wrap-soundconverter
7995 (lambda* (#:key inputs outputs #:allow-other-keys)
7996 (let ((out (assoc-ref outputs "out"))
7997 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7998 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7999 (wrap-program (string-append out "/bin/soundconverter")
8000 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8001 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8002 #t)))))
8003 (native-inputs
8004 `(("intltool" ,intltool)
8005 ("pkg-config" ,pkg-config)
8006 ("glib:bin" ,glib "bin")))
8007 (inputs
8008 `(("gtk+" ,gtk+)
8009 ("python" ,python)
8010 ("python-pygobject" ,python-pygobject)
8011 ("gstreamer" ,gstreamer)
8012 ("gst-plugins-base" ,gst-plugins-base)))
8013 (home-page "http://soundconverter.org/")
8014 (synopsis "Convert between audio formats with a graphical interface")
8015 (description
8016 "SoundConverter supports converting between many audio formats including
8017Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
8018configurable file renaming. ")
8019 (license license:gpl3)))
8020
4e3fdeb7 8021(define-public workrave
89f2d736
TGR
8022 (package
8023 (name "workrave")
aa51d92c 8024 (version "1.10.34")
89f2d736
TGR
8025 (source
8026 (origin
8027 (method git-fetch)
8028 (uri (git-reference
8029 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
8030 (commit (string-append "v" (string-map
8031 (match-lambda (#\. #\_) (chr chr))
8032 version)))))
89f2d736
TGR
8033 (file-name (git-file-name name version))
8034 (sha256
aa51d92c 8035 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 8036 (build-system glib-or-gtk-build-system)
d1c96847
MC
8037 (inputs `(("glib" ,glib)
8038 ("gtk+" ,gtk+)
8039 ("gdk-pixbuf" ,gdk-pixbuf)
8040 ("gtkmm" ,gtkmm)
8041 ("glibmm" ,glibmm)
8042 ("libx11" ,libx11)
8043 ("libxtst" ,libxtst)
8044 ("dconf" ,dconf)
8045 ("libice" ,libice)
8046 ("libsm" ,libsm)
8047 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 8048 (native-inputs `(("boost" ,boost)
89f2d736
TGR
8049 ("pkg-config" ,pkg-config)
8050 ("gettext" ,gnu-gettext)
8051 ("autoconf" ,autoconf)
8052 ("autoconf-archive" , autoconf-archive)
8053 ("automake" ,automake)
8054 ("libtool" ,libtool)
8055 ("intltool" ,intltool)
89f2d736 8056 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
8057 ("python3" ,python-3)
8058 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
8059 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8060 (description
8061 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
8062repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8063micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
8064 (home-page "http://www.workrave.org")
8065 (license license:gpl3+)))
312afa7d
LC
8066
8067(define-public ghex
8068 (package
8069 (name "ghex")
8070 (version "3.18.3")
8071 (source (origin
8072 (method url-fetch)
2fbab848 8073 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 8074 (version-major+minor version) "/"
2fbab848 8075 "ghex-" version ".tar.xz"))
312afa7d
LC
8076 (sha256
8077 (base32
8078 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
8079 (build-system glib-or-gtk-build-system)
8080 (native-inputs
8081 `(("pkg-config" ,pkg-config)
8082 ("gnome-common" ,gnome-common)
8083 ("which" ,which)
8084 ("intltool" ,intltool)
8085 ("yelp-tools" ,yelp-tools)
2fbab848 8086 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
8087 (inputs
8088 `(("atk" ,atk)
8089 ("gtk" ,gtk+)))
8090 (synopsis "GNOME hexadecimal editor")
8091 (description "The GHex program can view and edit files in two ways:
8092hexadecimal or ASCII. It is useful for editing binary files in general.")
8093 (home-page "https://wiki.gnome.org/Apps/Ghex")
8094 (license license:gpl2)))
4b2ed6c2
RW
8095
8096(define-public libdazzle
8097 (package
8098 (name "libdazzle")
64fa66ba 8099 (version "3.33.90")
4b2ed6c2
RW
8100 (source (origin
8101 (method url-fetch)
687b4909 8102 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 8103 (version-major+minor version) "/"
687b4909 8104 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
8105 (sha256
8106 (base32
64fa66ba 8107 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
8108 (build-system meson-build-system)
8109 (arguments
8110 `(#:phases
8111 (modify-phases %standard-phases
4b2ed6c2
RW
8112 (add-before 'check 'pre-check
8113 (lambda _
8114 ;; Tests require a running X server.
8115 (system "Xvfb :1 &")
8116 (setenv "DISPLAY" ":1")
8117 #t)))))
8118 (native-inputs
687b4909 8119 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 8120 ("pkg-config" ,pkg-config)
687b4909 8121 ;; For tests.
4b2ed6c2
RW
8122 ("xorg-server" ,xorg-server)))
8123 (inputs
8124 `(("glib" ,glib)
8125 ("gobject-introspection" ,gobject-introspection)
8126 ("gtk+" ,gtk+)
8127 ("vala" ,vala)))
8128 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8129 (synopsis "Companion library to GObject and Gtk+")
8130 (description "The libdazzle library is a companion library to GObject and
8131Gtk+. It provides various features that the authors wish were in the
8132underlying library but cannot for various reasons. In most cases, they are
8133wildly out of scope for those libraries. In other cases, they are not quite
8134generic enough to work for everyone.")
8135 (license license:gpl3+)))
7d3bb433
RW
8136
8137(define-public evolution
8138 (package
8139 (name "evolution")
5229bea1 8140 (version "3.30.5")
7d3bb433
RW
8141 (source (origin
8142 (method url-fetch)
8143 (uri (string-append "mirror://gnome/sources/evolution/"
8144 (version-major+minor version) "/"
8145 "evolution-" version ".tar.xz"))
8146 (sha256
8147 (base32
5229bea1 8148 "1hhxj3rh921pp3l3c5k33bdypcas1p66krzs65k1qn82c5fpgl2h"))))
7d3bb433
RW
8149 (build-system cmake-build-system)
8150 (arguments
5229bea1
KK
8151 `(#:imported-modules (,@%cmake-build-system-modules
8152 (guix build glib-or-gtk-build-system))
8153 #:modules ((guix build cmake-build-system)
8154 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8155 (guix build utils))
8156 #:configure-flags
7d3bb433 8157 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 8158 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 8159 ; in four years and cannot be built.
5229bea1
KK
8160 #:phases
8161 (modify-phases %standard-phases
8162 ;; The build system attempts to install user interface modules to the
8163 ;; output directory of the "evolution-data-server" package. This
8164 ;; change redirects that change.
8165 (add-after 'unpack 'patch-ui-module-dir
8166 (lambda* (#:key outputs #:allow-other-keys)
8167 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
8168 (("\\$\\{edsuimoduledir\\}")
8169 (string-append (assoc-ref outputs "out")
8170 "/lib/evolution-data-server/ui-modules")))
8171 #t))
8172 (add-after 'install 'glib-or-gtk-compile-schemas
8173 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
8174 (add-after 'install 'glib-or-gtk-wrap
8175 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 8176 (native-inputs
ad6e168b 8177 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
8178 ("pkg-config" ,pkg-config)
8179 ("intltool" ,intltool)
8180 ("itstool" ,itstool)))
8181 (inputs
8182 `(("enchant" ,enchant)
8183 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8184 ("gcr" ,gcr)
ad6e168b 8185 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
8186 ("gnome-autoar" ,gnome-autoar)
8187 ("gnome-desktop" ,gnome-desktop)
8188 ("gtkspell3" ,gtkspell3)
8189 ("highlight" ,highlight)
8190 ("libcanberra" ,libcanberra)
b63c06f1 8191 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
8192 ("libgweather" ,libgweather)
8193 ("libnotify" ,libnotify)
8194 ("libsoup" ,libsoup)
8195 ("nss" ,nss)
8196 ("openldap" ,openldap)
8197 ("webkitgtk" ,webkitgtk)
8198 ("ytnef" ,ytnef)))
8199 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8200 (synopsis "Manage your email, contacts and schedule")
8201 (description "Evolution is a personal information management application
8202that provides integrated mail, calendaring and address book
8203functionality.")
8204 ;; See COPYING for details.
23dbe621 8205 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 8206 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 8207 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
8208
8209(define-public gthumb
8210 (package
8211 (name "gthumb")
f99bc1af 8212 (version "3.8.1")
169d63f5
AT
8213 (source (origin
8214 (method url-fetch)
8215 (uri (string-append "mirror://gnome/sources/gthumb/"
8216 (version-major+minor version) "/"
8217 "gthumb-" version ".tar.xz"))
8218 (sha256
8219 (base32
f99bc1af 8220 "184zn79w4s9y1zy42ar31p3jsg8rmkxy8k6iry51nz8aizbcs7jb"))))
169d63f5
AT
8221 (build-system meson-build-system)
8222 (arguments
8223 `(#:glib-or-gtk? #t
8224 #:configure-flags
8225 ;; Ensure the RUNPATH contains all installed library locations.
8226 (list (string-append "-Dc_link_args=-Wl,-rpath="
8227 (assoc-ref %outputs "out")
8228 "/lib/gthumb/extensions")
8229 (string-append "-Dcpp_link_args=-Wl,-rpath="
8230 (assoc-ref %outputs "out")
8231 "/lib/gthumb/extensions"))))
8232 (native-inputs
8233 `(("pkg-config" ,pkg-config)
8234 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8235 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8236 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8237 ("intltool" ,intltool)
8238 ("itstool" ,itstool)))
8239 (inputs
8240 `(("exiv2" ,exiv2)
8241 ("gtk" ,gtk+)
8242 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8243 ("gstreamer" ,gstreamer)
8244 ("clutter" ,clutter)
8245 ("clutter-gst" ,clutter-gst)
8246 ("clutter-gtk" ,clutter-gtk)
8247 ("libjpeg" ,libjpeg)
8248 ("libtiff" ,libtiff)
8249 ("libraw" ,libraw)))
8250 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8251 (synopsis "GNOME image viewer and browser")
8252 (description "GThumb is an image viewer, browser, organizer, editor and
8253advanced image management tool")
8254 (license license:gpl2+)))
08be02be
AT
8255
8256(define-public terminator
8257 (package
8258 (name "terminator")
8259 (version "1.91")
8260 (source (origin
8261 (method url-fetch)
8262 (uri (string-append "https://launchpad.net/" name "/"
8263 "gtk3/" version "/" "+download/"
8264 name "-" version ".tar.gz"))
8265 (sha256
8266 (base32
8267 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8268 (build-system python-build-system)
8269 (native-inputs
8270 `(("intltool" ,intltool)
8271 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8272 ("gettext" ,gettext-minimal)
8273 ("pkg-config" ,pkg-config)))
8274 (inputs
8275 `(("cairo" ,cairo)
8276 ("gobject-introspection" ,gobject-introspection)
96681d4b 8277 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
8278 ("python2-pycairo" ,python2-pycairo)
8279 ("python2-pygobject" ,python2-pygobject)
8280 ("python2-psutil" ,python2-psutil)
8281 ("vte" ,vte)))
8282 (arguments
96681d4b
TGR
8283 `(#:python ,python-2 ; Python 3 isn't supported
8284 #:imported-modules ((guix build glib-or-gtk-build-system)
8285 ,@%python-build-system-modules)
8286 #:modules ((guix build python-build-system)
8287 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8288 (guix build utils))
08be02be
AT
8289 #:phases
8290 (modify-phases %standard-phases
8291 (add-after
8292 'install 'wrap-program
8293 (lambda* (#:key outputs #:allow-other-keys)
8294 (let ((prog (string-append (assoc-ref outputs "out")
8295 "/bin/terminator")))
8296 (wrap-program prog
8297 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8298 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
8299 #t)))
8300 (add-after 'wrap-program 'glib-or-gtk-wrap
8301 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
8302 (home-page "https://gnometerminator.blogspot.com/")
8303 (synopsis "Store and run multiple GNOME terminals in one window")
8304 (description
8305 "Terminator allows you to run multiple GNOME terminals in a grid and
8306+tabs, and it supports drag and drop re-ordering of terminals.")
8307 (license license:gpl2)))
213315d4
JF
8308
8309(define-public libhandy
8310 (package
8311 (name "libhandy")
d41ee146 8312 (version "0.0.11")
213315d4
JF
8313 (source
8314 (origin
8315 (method git-fetch)
8316 (uri (git-reference
8317 (url "https://source.puri.sm/Librem5/libhandy")
8318 (commit (string-append "v" version))))
8319 (file-name (git-file-name name version))
8320 (sha256
d41ee146 8321 (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0"))))
213315d4
JF
8322 (build-system meson-build-system)
8323 (arguments
8324 `(#:configure-flags
8325 '("-Dglade_catalog=disabled"
8326 "-Dgtk_doc=true")
8327 #:phases
8328 (modify-phases %standard-phases
213315d4
JF
8329 (add-before 'check 'pre-check
8330 (lambda _
8331 ;; Tests require a running X server.
8332 (system "Xvfb :1 &")
8333 (setenv "DISPLAY" ":1")
8334 #t)))))
8335 (inputs
8336 `(("gtk+" ,gtk+)))
8337 (native-inputs
8338 `(("glib:bin" ,glib "bin")
8339 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
8340 ("vala" ,vala)
8341 ("gtk-doc" ,gtk-doc)
8342 ("pkg-config" ,pkg-config)
8343 ("gettext" ,gettext-minimal)
d41ee146
TGR
8344 ("xorg-server" ,xorg-server)
8345
8346 ;; Test suite dependencies.
8347 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
8348 (home-page "https://source.puri.sm/Librem5/libhandy")
8349 (synopsis "Library full of GTK+ widgets for mobile phones")
8350 (description "The aim of the handy library is to help with developing user
8351intefaces for mobile devices using GTK+.")
8352 (license license:lgpl2.1+)))
a830d14d
GL
8353
8354(define-public libgit2-glib
8355 (package
8356 (name "libgit2-glib")
8357 (version "0.28.0.1")
8358 (source (origin
8359 (method url-fetch)
8360 (uri (string-append "mirror://gnome/sources/" name "/"
8361 (version-major+minor version) "/"
8362 name "-" version ".tar.xz"))
8363 (sha256
8364 (base32
8365 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
8366 (build-system meson-build-system)
8367 (native-inputs
8368 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
8369 ("gobject-introspection" ,gobject-introspection)
8370 ("intltool" ,intltool)
8371 ("libssh2" ,libssh2)
8372 ("pkg-config" ,pkg-config)
8373 ("python-pygobject" ,python-pygobject)
8374 ("python-wrapper" ,python-wrapper)
8375 ("vala" ,vala)))
8376 (inputs
8377 `(("glib" ,glib)
8378 ("libgit2" ,libgit2)))
8379 (synopsis "GLib wrapper around the libgit2 Git access library")
8380 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
8381access library. It only implements the core plumbing functions, not really the
8382higher level porcelain stuff.")
8383 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
8384 (license license:gpl2+)))