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