gnu: network-manager-applet: Build libnm-gtk.
[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.
0310eb96 5491 (version "1.8.4")
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
0310eb96 5500 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
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+)
5638 (properties `((upstream-name . "NetworkManager-openconnect")))))
5639
e5e1df4d
DC
5640(define-public mobile-broadband-provider-info
5641 (package
5642 (name "mobile-broadband-provider-info")
310c89e3 5643 (version "20190116")
e5e1df4d
DC
5644 (source (origin
5645 (method url-fetch)
5646 (uri (string-append
5647 "mirror://gnome/sources/"
5648 "mobile-broadband-provider-info/" version "/"
5649 "mobile-broadband-provider-info-" version ".tar.xz"))
5650 (sha256
5651 (base32
310c89e3 5652 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
5653 (build-system gnu-build-system)
5654 (arguments
310c89e3 5655 `(#:tests? #f)) ; no tests
e5e1df4d
DC
5656 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5657 (synopsis "Database of broadband connection configuration")
5658 (description "Database of broadband connection configuration.")
5659 (license license:public-domain)))
5660
4d62a9d3
SB
5661(define-public network-manager-applet
5662 (package
5663 (name "network-manager-applet")
8fc3a337 5664 (version "1.8.24")
4d62a9d3
SB
5665 (source (origin
5666 (method url-fetch)
5667 (uri (string-append "mirror://gnome/sources/" name "/"
5668 (version-major+minor version) "/"
5669 name "-" version ".tar.xz"))
5670 (sha256
5671 (base32
8fc3a337 5672 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
cd7f718e
RW
5673 (build-system meson-build-system)
5674 (arguments
be1c4b07
TGR
5675 '(#:configure-flags
5676 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
5677 (list "-Dlibnm_gtk=true")
5678 #:glib-or-gtk? #t))
4d62a9d3
SB
5679 (native-inputs
5680 `(("intltool" ,intltool)
cd7f718e 5681 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 5682 ("gobject-introspection" ,gobject-introspection)
cd7f718e 5683 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
5684 ("pkg-config" ,pkg-config)))
5685 (propagated-inputs
5686 ;; libnm-gtk.pc refers to all these.
5687 `(("dbus-glib" ,dbus-glib)
5688 ("gtk+" ,gtk+)
5689 ("network-manager" ,network-manager)))
5690 (inputs
cd7f718e
RW
5691 `(("gcr" ,gcr)
5692 ("iso-codes" ,iso-codes)
4d62a9d3
SB
5693 ("libgudev" ,libgudev)
5694 ("libnotify" ,libnotify)
2116bfb3 5695 ("libsecret" ,libsecret)
240cee8a
KK
5696 ("libselinux" ,libselinux)
5697 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
5698 ("modem-manager" ,modem-manager)
5699 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 5700 (synopsis "Applet for managing network connections")
f032d0be 5701 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
5702 (description
5703 "This package contains a systray applet for NetworkManager. It displays
5704the available networks and allows users to easily switch between them.")
5705 (license license:gpl2+)))
56196594
RW
5706
5707(define-public libxml++
5708 (package
5709 (name "libxml++")
8344a85e 5710 (version "3.0.1")
56196594
RW
5711 (source (origin
5712 (method url-fetch)
5713 (uri (string-append "mirror://gnome/sources/" name "/"
5714 (version-major+minor version) "/"
5715 name "-" version ".tar.xz"))
5716 (sha256
5717 (base32
8344a85e 5718 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
5719 (build-system gnu-build-system)
5720 ;; libxml++-3.0.pc refers to all these.
5721 (propagated-inputs
5722 `(("libxml2" ,libxml2)
5723 ("glibmm" ,glibmm)))
5724 (native-inputs
5725 `(("perl" ,perl)
5726 ("pkg-config" ,pkg-config)))
5727 (home-page "http://libxmlplusplus.sourceforge.net/")
5728 (synopsis "C++ wrapper for XML parser library libxml2")
5729 (description
5730 "This package provides a C++ wrapper for the XML parser library
5731libxml2.")
5732 (license license:lgpl2.1+)))
df12f04a 5733
b61d9627
AW
5734(define-public libxml++-2
5735 (package
5736 (inherit libxml++)
5737 (name "libxml++")
5738 (version "2.40.1")
5739 (source (origin
5740 (method url-fetch)
5741 (uri (string-append "mirror://gnome/sources/" name "/"
5742 (version-major+minor version) "/"
5743 name "-" version ".tar.xz"))
5744 (sha256
5745 (base32
5746 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5747
df12f04a
SB
5748(define-public gdm
5749 (package
5750 (name "gdm")
7734b4a2 5751 (version "3.30.3")
df12f04a
SB
5752 (source (origin
5753 (method url-fetch)
5754 (uri (string-append "mirror://gnome/sources/" name "/"
5755 (version-major+minor version) "/"
5756 name "-" version ".tar.xz"))
5757 (sha256
5758 (base32
7734b4a2 5759 "15f7lz7z75krgbq8vb800afj96h8mw2fpy1s28za2911x5vgq0ak"))))
957dbc0a 5760 (build-system glib-or-gtk-build-system)
df12f04a
SB
5761 (arguments
5762 '(#:configure-flags
af37e6bb 5763 `("--without-plymouth"
957dbc0a 5764 "--disable-systemd-journal"
51bc8357
TS
5765
5766 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5767 ;; instead of having to replace it (i.e., stopping the mingetty
5768 ;; service for TTY 1 before starting GDM).
5769 "--with-initial-vt=7"
5770
89c86562
TS
5771 ;; Use '/etc/environment' for locale settings instead of the
5772 ;; systemd-specific '/etc/locale.conf'.
5773 "--with-lang-file=/etc/environment"
5774
b74ef0ba
RW
5775 ,(string-append "--with-udevdir="
5776 (assoc-ref %outputs "out") "/lib/udev")
5777
af37e6bb
AW
5778 "--localstatedir=/var"
5779 ,(string-append "--with-default-path="
5780 (string-join '("/run/setuid-programs"
5781 "/run/current-system/profile/bin"
5782 "/run/current-system/profile/sbin")
957dbc0a
AW
5783 ":"))
5784 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5785 ;; XDG_DATA_DIRS so that it finds its schemas.
5786 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
5787 #:phases
5788 (modify-phases %standard-phases
5789 (add-before
5790 'configure 'pre-configure
e8c6e771 5791 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
5792 ;; We don't have <systemd/sd-daemon.h>.
5793 (substitute* '("common/gdm-log.c"
5794 "daemon/gdm-server.c"
5795 "daemon/gdm-session-worker.c"
5796 "daemon/gdm-session-worker-job.c")
5797 (("#include <systemd/sd-daemon\\.h>") ""))
5798 ;; Use elogind for sd-login.
5799 (substitute* '("common/gdm-common.c"
5800 "daemon/gdm-manager.c"
5801 "libgdm/gdm-user-switching.c")
5802 (("#include <systemd/sd-login\\.h>")
5803 "#include <elogind/sd-login.h>"))
957dbc0a
AW
5804 ;; Check for elogind.
5805 (substitute* '("configure")
5806 (("libsystemd")
5807 "libelogind"))
af37e6bb
AW
5808 ;; Look for system-installed sessions in
5809 ;; /run/current-system/profile/share.
5810 (substitute* '("libgdm/gdm-sessions.c"
5811 "daemon/gdm-session.c"
5812 "daemon/gdm-display.c"
5813 "daemon/gdm-launch-environment.c")
5814 (("DATADIR \"/x")
5815 "\"/run/current-system/profile/share/x")
5816 (("DATADIR \"/wayland")
5817 "\"/run/current-system/profile/share/wayland")
5818 (("DATADIR \"/gnome")
5819 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 5820 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 5821 "GDM_DBUS_DAEMON"
c9ff92b5 5822 "GDM_X_SERVER"
41fa9f18 5823 "GDM_X_SESSION"
c9ff92b5
TS
5824 ;; XXX: Remove this once GNOME Shell is
5825 ;; a dependency of GDM.
5826 "XDG_DATA_DIRS")))
5827 (substitute* "daemon/gdm-session.c"
5828 (("set_up_session_environment \\(self\\);")
5829 (apply string-append
5830 "set_up_session_environment (self);\n"
5831 (map (lambda (name)
5832 (string-append
5833 "gdm_session_set_environment_variable "
5834 "(self, \"" name "\","
5835 "g_getenv (\"" name "\"));\n"))
5836 propagate)))))
a430a350
TS
5837 ;; Find the configuration file using an environment variable.
5838 (substitute* '("common/gdm-settings.c")
e0e6756f 5839 (("GDM_CUSTOM_CONF")
e57c2adb
TS
5840 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5841 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5842 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
5843 ;; Use service-supplied path to X.
5844 (substitute* '("daemon/gdm-server.c")
5845 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5846 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5847 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
5848 (("\"dbus-daemon\"")
5849 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 5850 (("X_SERVER")
41fa9f18
TS
5851 "g_getenv (\"GDM_X_SERVER\")")
5852 (("GDMCONFDIR \"/Xsession\"")
5853 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
5854 ;; Use an absolute path for GNOME Session.
5855 (substitute* "daemon/gdm-launch-environment.c"
5856 (("\"gnome-session\"")
5857 (string-append "\"" (assoc-ref inputs "gnome-session")
5858 "/bin/gnome-session\"")))
e8c6e771
TS
5859 ;; Do not automatically select the placeholder session.
5860 (substitute* "daemon/gdm-session.c"
5861 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5862 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5863 "(g_strcmp0(search_dirs[i], \""
5864 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5865 "\") == 0 && "
5866 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5867 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5868 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 5869 #t))
8caa4589
TS
5870 ;; GDM requires that there be at least one desktop entry
5871 ;; file. This phase installs a hidden one that simply
5872 ;; fails. This enables users to use GDM with a
5873 ;; '~/.xsession' script with no other desktop entry files.
5874 ;; See <https://bugs.gnu.org/35068>.
5875 (add-after 'install 'install-placeholder-desktop-entry
5876 (lambda* (#:key inputs outputs #:allow-other-keys)
5877 (let* ((out (assoc-ref outputs "out"))
5878 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5879 (fail (string-append sessions "/fail.desktop")))
5880 (mkdir-p sessions)
5881 (with-output-to-file fail
5882 (lambda ()
5883 (for-each
5884 display
5885 '("[Desktop Entry]\n"
5886 "Encoding=UTF-8\n"
5887 "Type=Application\n"
5888 "Name=Fail\n"
5889 "Comment=This session fails immediately.\n"
5890 "NoDisplay=true\n"
5891 "Exec=false\n"))))
5892 #t)))
69544798
TS
5893 ;; GDM needs GNOME Session to run these applications. We link
5894 ;; their autostart files in `share/gdm/greeter/autostart'
5895 ;; because GDM explicitly tells GNOME Session to look there.
5896 ;;
5897 ;; XXX: GNOME Shell should be linked here too, but currently
5898 ;; GNOME Shell depends on GDM.
5899 (add-after 'install 'link-autostart-files
5900 (lambda* (#:key inputs outputs #:allow-other-keys)
5901 (let* ((out (assoc-ref outputs "out"))
5902 (autostart (string-append out "/share/gdm/"
5903 "greeter/autostart"))
5904 (settings (assoc-ref inputs "gnome-settings-daemon")))
5905 (mkdir-p autostart)
5906 (with-directory-excursion autostart
5907 (for-each (lambda (desktop)
5908 (symlink desktop (basename desktop)))
5909 (find-files (string-append settings "/etc/xdg"))))
5910 #t))))))
df12f04a
SB
5911 (native-inputs
5912 `(("dconf" ,dconf)
5913 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5914 ("gobject-introspection" ,gobject-introspection)
5915 ("intltool" ,intltool)
5916 ("itstool" ,itstool)
5917 ("pkg-config" ,pkg-config)
5918 ("xmllint" ,libxml2)))
5919 (inputs
5920 `(("accountsservice" ,accountsservice)
5921 ("check" ,check) ; for testing
5922 ("elogind" ,elogind)
def6d6b6 5923 ("gnome-session" ,gnome-session)
69544798 5924 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
5925 ("gtk+" ,gtk+)
5926 ("iso-codes" ,iso-codes)
5927 ("libcanberra" ,libcanberra)
5928 ("linux-pam" ,linux-pam)))
5929 (synopsis "Display manager for GNOME")
f032d0be 5930 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
5931 (description
5932 "GNOME Display Manager is a system service that is responsible for
5933providing graphical log-ins and managing local and remote displays.")
5934 (license license:gpl2+)))
8e1dd04f
SB
5935
5936(define-public libgtop
5937 (package
5938 (name "libgtop")
015fc036 5939 (version "2.40.0")
8e1dd04f
SB
5940 (source (origin
5941 (method url-fetch)
59487fc2 5942 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 5943 (version-major+minor version) "/"
59487fc2 5944 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
5945 (sha256
5946 (base32
015fc036 5947 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
5948 (build-system gnu-build-system)
5949 (native-inputs
5950 `(("gobject-introspection" ,gobject-introspection)
5951 ("intltool" ,intltool)
5952 ("perl" ,perl)
5953 ("pkg-config" ,pkg-config)))
5954 (propagated-inputs
5955 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5956 (synopsis "Portable system access library")
5957 (home-page "https://www.gnome.org/")
5958 (description
5959 "LibGTop is a library to get system specific data such as CPU and memory
5960usage and information about running processes.")
5961 (license license:gpl2+)))
b96c4260
SB
5962
5963(define-public gnome-bluetooth
5964 (package
5965 (name "gnome-bluetooth")
fd3b1171 5966 (version "3.28.0")
b96c4260
SB
5967 (source (origin
5968 (method url-fetch)
5969 (uri (string-append "mirror://gnome/sources/" name "/"
5970 (version-major+minor version) "/"
5971 name "-" version ".tar.xz"))
5972 (sha256
5973 (base32
fd3b1171
RW
5974 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5975 (build-system meson-build-system)
b96c4260
SB
5976 (native-inputs
5977 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 5978 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
5979 ("gobject-introspection" ,gobject-introspection)
5980 ("intltool" ,intltool)
5981 ("pkg-config" ,pkg-config)
5982 ("xmllint" ,libxml2)))
5983 (propagated-inputs
5984 ;; gnome-bluetooth-1.0.pc refers to all these.
5985 `(("gtk+" ,gtk+)
5986 ("udev" ,eudev)))
5987 (inputs
5988 `(("libcanberra" ,libcanberra)
5989 ("libnotify" ,libnotify)))
5990 (synopsis "GNOME Bluetooth subsystem")
5991 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5992 (description
5993 "This package contains tools for managing and manipulating Bluetooth
5994devices using the GNOME desktop.")
5995 (license license:lgpl2.1+)))
b645146f
SB
5996
5997(define-public gnome-control-center
5998 (package
5999 (name "gnome-control-center")
982c0b36 6000 (version "3.30.3")
b645146f
SB
6001 (source (origin
6002 (method url-fetch)
6003 (uri (string-append "mirror://gnome/sources/" name "/"
6004 (version-major+minor version) "/"
6005 name "-" version ".tar.xz"))
6006 (sha256
6007 (base32
982c0b36
KK
6008 "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r"))
6009 (patches
0de9a1be 6010 (search-patches "gnome-control-center-udisks.patch"))))
59dac026 6011 (build-system meson-build-system)
b645146f 6012 (arguments
59dac026
RW
6013 '(#:glib-or-gtk? #t
6014 #:configure-flags
64c70430
KK
6015 (list "-Dcheese=false"
6016 (string-append "-Dgnome_session_libexecdir="
6017 (assoc-ref %build-inputs "gnome-session")
6018 "/libexec"))
59dac026 6019 #:phases
b645146f
SB
6020 (modify-phases %standard-phases
6021 (add-before 'configure 'patch-paths
6022 (lambda* (#:key inputs #:allow-other-keys)
6023 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 6024 (tzdata (assoc-ref inputs "tzdata"))
341225ac 6025 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
6026 (nm-applet (assoc-ref inputs "network-manager-applet"))
6027 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
6028 (substitute* "panels/datetime/tz.h"
6029 (("/usr/share/zoneinfo/zone.tab")
6030 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 6031 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
6032 (("/usr/share/locale")
6033 (string-append libc "/share/locale")))
1df38cfc
LC
6034 (substitute* "panels/region/cc-region-panel.c"
6035 (("\"gkbd-keyboard-display")
6036 (string-append "\"" libgnomekbd
6037 "/bin/gkbd-keyboard-display")))
341225ac
LC
6038 (substitute* '("panels/network/net-device-wifi.c"
6039 "panels/network/net-device.c"
6040 "panels/network/connection-editor/net-connection-editor.c")
6041 (("\"nm-connection-editor")
6042 (string-append "\"" nm-applet
6043 "/bin/nm-connection-editor")))
1acd107c
FP
6044 (substitute* '("panels/user-accounts/run-passwd.c")
6045 (("/usr/bin/passwd")
6046 "/run/setuid-programs/passwd"))
64c70430
KK
6047 (substitute* "panels/info/cc-info-overview-panel.c"
6048 (("DATADIR \"/gnome/gnome-version.xml\"")
6049 (string-append "\"" gnome-desktop
6050 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
6051 #t))))))
6052 (native-inputs
6053 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 6054 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
6055 ("intltool" ,intltool)
6056 ("pkg-config" ,pkg-config)
6057 ("xsltproc" ,libxslt)))
6058 (inputs
6059 `(("accountsservice" ,accountsservice)
6060 ("clutter-gtk" ,clutter-gtk)
6061 ("colord-gtk" ,colord-gtk)
6062 ("cups" ,cups)
6063 ("dconf" ,dconf)
6064 ("docbook-xsl" ,docbook-xsl)
3446ffb5 6065 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
6066 ("gnome-bluetooth" ,gnome-bluetooth)
6067 ("gnome-desktop" ,gnome-desktop)
6068 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 6069 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 6070 ("gnome-session" ,gnome-session)
b645146f
SB
6071 ("gnome-settings-daemon" ,gnome-settings-daemon)
6072 ("grilo" ,grilo)
6073 ("ibus" ,ibus)
6074 ("libcanberra" ,libcanberra)
1df38cfc 6075 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
6076 ("libgudev" ,libgudev)
6077 ("libgtop" ,libgtop)
6078 ("libpwquality" ,libpwquality)
982c0b36 6079 ("libsecret" ,libsecret)
b645146f
SB
6080 ("libsoup" ,libsoup)
6081 ("libxml2" ,libxml2)
6082 ("libwacom" ,libwacom)
6083 ("mesa" ,mesa)
6084 ("mit-krb5" ,mit-krb5)
6085 ("modem-manager" ,modem-manager)
6086 ("network-manager-applet" ,network-manager-applet)
6087 ("polkit" ,polkit)
6088 ("pulseaudio" ,pulseaudio)
6089 ("smbclient" ,samba)
6090 ("tzdata" ,tzdata)
982c0b36 6091 ("udisks" ,udisks)
b645146f
SB
6092 ("upower" ,upower)))
6093 (synopsis "Utilities to configure the GNOME desktop")
6094 (home-page "https://www.gnome.org/")
6095 (description
6096 "This package contains configuration applets for the GNOME desktop,
6097allowing to set accessibility configuration, desktop fonts, keyboard and mouse
6098properties, sound setup, desktop theme and background, user interface
6099properties, screen resolution, and other GNOME parameters.")
6100 (license license:gpl2+)))
a4df5756
SB
6101
6102(define-public gnome-shell
6103 (package
6104 (name "gnome-shell")
bd0dc2df 6105 (version "3.30.2")
a4df5756
SB
6106 (source (origin
6107 (method url-fetch)
6108 (uri (string-append "mirror://gnome/sources/" name "/"
6109 (version-major+minor version) "/"
6110 name "-" version ".tar.xz"))
6111 (sha256
6112 (base32
bd0dc2df 6113 "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2"))
a76d0f03
LC
6114 (patches (search-patches "gnome-shell-theme.patch"))
6115 (modules '((guix build utils)))
6116 (snippet
6117 #~(begin
a76d0f03
LC
6118 ;; Copy images for use on the GDM log-in screen.
6119 (copy-file #$(file-append %artwork-repository
6120 "/slim/0.x/background.png")
6121 "data/theme/guix-background.png")
45fef894
LC
6122 (copy-file #$(file-append %artwork-repository
6123 "/logo/Guix-horizontal-white.svg")
6124 "data/theme/guix-logo.svg")
a76d0f03 6125 #t))))
2b0c755d 6126 (build-system meson-build-system)
a4df5756 6127 (arguments
08185081
MB
6128 `(#:glib-or-gtk? #t
6129 #:disallowed-references ((,glib "bin")
11e1df56
LC
6130 ,inkscape ,libxslt
6131 ,ruby-sass)
2b0c755d
RW
6132 #:configure-flags
6133 (list "-Dsystemd=false"
6134 ;; Otherwise, the RUNPATH will lack the final path component.
6135 (string-append "-Dc_link_args=-Wl,-rpath="
6136 (assoc-ref %outputs "out")
6137 "/lib/gnome-shell"))
11e1df56 6138
08185081 6139 #:modules ((guix build meson-build-system)
11e1df56
LC
6140 (guix build utils)
6141 (srfi srfi-1))
6142
2b0c755d 6143 #:phases
a4df5756 6144 (modify-phases %standard-phases
2b0c755d 6145 (add-after 'unpack 'fix-keysdir
a4df5756
SB
6146 (lambda* (#:key outputs #:allow-other-keys)
6147 (let* ((out (assoc-ref outputs "out"))
6148 (keysdir (string-append
6149 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
6150 (substitute* "meson.build"
6151 (("keysdir =.*")
6152 (string-append "keysdir = '" keysdir "'\n")))
6153 #t)))
ebfe259f
MB
6154 (add-before 'configure 'convert-logo-to-png
6155 (lambda* (#:key inputs #:allow-other-keys)
6156 ;; Convert the logo from SVG to PNG.
6157 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
6158 "data/theme/guix-logo.svg")))
ba00235a 6159 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
6160 (lambda* (#:key inputs #:allow-other-keys)
6161 (substitute* "js/misc/ibusManager.js"
6162 (("'ibus-daemon'")
6163 (string-append "'" (assoc-ref inputs "ibus")
6164 "/bin/ibus-daemon'")))
d6fda4d3
LC
6165 (substitute* "js/ui/status/keyboard.js"
6166 (("'gkbd-keyboard-display'")
6167 (string-append "'" (assoc-ref inputs "libgnomekbd")
6168 "/bin/gkbd-keyboard-display'")))
2472cdec 6169 #t))
2b0c755d
RW
6170 (add-before 'check 'pre-check
6171 (lambda* (#:key inputs #:allow-other-keys)
6172 ;; Tests require a running X server.
6173 (system "Xvfb :1 &")
6174 (setenv "DISPLAY" ":1")
6175 #t))
6176 (add-after 'install 'wrap-programs
6177 (lambda* (#:key inputs outputs #:allow-other-keys)
6178 (let ((out (assoc-ref outputs "out"))
6179 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6180 (python-path (getenv "PYTHONPATH")))
6181 (wrap-program (string-append out "/bin/gnome-shell")
6182 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6183 ;; FIXME: gnome-shell loads these libraries with unqualified
6184 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6185 ;; alternative might be to patch gnome-shell.
6186 `("LD_LIBRARY_PATH" ":" prefix
6187 ,(map (lambda (pkg)
6188 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
6189 '("gdk-pixbuf"
6190 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
6191 (for-each
6192 (lambda (prog)
6193 (wrap-program (string-append out "/bin/" prog)
6194 `("PYTHONPATH" ":" prefix (,python-path))
6195 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6196 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 6197 #t)))
11e1df56
LC
6198 (replace 'glib-or-gtk-wrap
6199 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6200 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6201 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6202 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6203 ;; phase. Fix that since we don't need these.
6204 (wrap #:inputs (fold alist-delete inputs
6205 '("inkscape" "intltool" "glib:bin"))
6206 #:outputs outputs)))))))
a4df5756
SB
6207 (native-inputs
6208 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 6209 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 6210 ("gobject-introspection" ,gobject-introspection)
ebfe259f 6211 ("inkscape" ,inkscape)
a4df5756
SB
6212 ("intltool" ,intltool)
6213 ("pkg-config" ,pkg-config)
6214 ("python" ,python)
2b0c755d
RW
6215 ("ruby-sass" ,ruby-sass)
6216 ("sassc" ,sassc)
a76d0f03 6217 ("xsltproc" ,libxslt)
2b0c755d 6218 ;; For tests
0b4504f6 6219 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
6220 (inputs
6221 `(("accountsservice" ,accountsservice)
6222 ("caribou" ,caribou)
6223 ("docbook-xsl" ,docbook-xsl)
6224 ("evolution-data-server" ,evolution-data-server)
6225 ("gcr" ,gcr)
6226 ("gdm" ,gdm)
c5db31d4 6227 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
6228 ("gjs" ,gjs)
6229 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
6230 ("gnome-desktop" ,gnome-desktop)
6231 ("gnome-settings-daemon" ,gnome-settings-daemon)
6232 ("gst-plugins-base" ,gst-plugins-base)
6233 ("ibus" ,ibus)
6234 ("libcanberra" ,libcanberra)
6235 ("libcroco" ,libcroco)
d6fda4d3 6236 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
6237 ("libgweather" ,libgweather)
6238 ("libsoup" ,libsoup)
6239 ("mesa-headers" ,mesa-headers)
6240 ("mutter" ,mutter)
6241 ("network-manager-applet" ,network-manager-applet)
6242 ("polkit" ,polkit)
6243 ("pulseaudio" ,pulseaudio)
6244 ("python-pygobject" ,python-pygobject)
6245 ("startup-notification" ,startup-notification)
6246 ("telepathy-logger" ,telepathy-logger)
6247 ("upower" ,upower)
30e760f0
MB
6248 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6249 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6250 ("librsvg" ,librsvg)
2b0c755d 6251 ("geoclue" ,geoclue)))
a4df5756
SB
6252 (synopsis "Desktop shell for GNOME")
6253 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6254 (description
6255 "GNOME Shell provides core user interface functions for the GNOME desktop,
6256like switching to windows and launching applications.")
6257 (license license:gpl2+)))
c3f29bc9
RS
6258
6259(define-public gtk-vnc
6260 (package
6261 (name "gtk-vnc")
965ff023 6262 (version "0.9.0")
c3f29bc9
RS
6263 (source
6264 (origin
6265 (method url-fetch)
6266 (uri (string-append "mirror://gnome/sources/" name "/"
6267 (version-major+minor version) "/"
6268 name "-" version ".tar.xz"))
6269 (sha256
6270 (base32
965ff023 6271 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
6272 (build-system gnu-build-system)
6273 (arguments
6274 '(#:configure-flags '("--with-gtk=3.0")))
6275 (propagated-inputs
6276 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6277 (inputs
6278 `(("cyrus-sasl" ,cyrus-sasl)
6279 ("gnutls" ,gnutls)
6280 ("libgcrypt" ,libgcrypt)
6281 ("pulseaudio" ,pulseaudio)))
6282 (native-inputs
6283 `(("glib:bin" ,glib "bin")
6284 ("gobject-introspection" ,gobject-introspection)
6285 ("intltool" ,intltool)
6286 ("pkg-config" ,pkg-config)
2f17e939 6287 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
6288 ("vala" ,vala)))
6289 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6290 (synopsis "VNC viewer widget for GTK+")
6291 (description
6292 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6293applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6294GTK-VNC implements client side RFB protocol and authentication extensions such
6295as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6296 (license license:lgpl2.1+)))
8b877545 6297
dc69fe18
MW
6298(define-public gnome-autoar
6299 (package
6300 (name "gnome-autoar")
c7da8510 6301 (version "0.2.3")
dc69fe18
MW
6302 (source (origin
6303 (method url-fetch)
6304 (uri (string-append "mirror://gnome/sources/" name "/"
6305 (version-major+minor version) "/"
6306 name "-" version ".tar.xz"))
6307 (sha256
6308 (base32
c7da8510 6309 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
6310 (build-system glib-or-gtk-build-system)
6311 (native-inputs
6312 `(("gnome-common" ,gnome-common)
6313 ("gobject-introspection" ,gobject-introspection)
6314 ("pkg-config" ,pkg-config)))
6315 (propagated-inputs
6316 `(("libarchive" ,libarchive))) ; XXX document why
6317 (inputs
0a6e9e13 6318 `(("gtk+" ,gtk+)))
dc69fe18
MW
6319 (synopsis "Archives integration support for GNOME")
6320 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6321 (description
6322 "GNOME Autoar is a library which makes creating and extracting archives
6323easy, safe, and automatic.")
6324 (license license:lgpl2.1+)))
6325
b64e217f
MW
6326(define-public tracker
6327 (package
6328 (name "tracker")
c8bdf589 6329 (version "2.0.4")
b64e217f
MW
6330 (source (origin
6331 (method url-fetch)
b5b0fd23 6332 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 6333 (version-major+minor version) "/"
b5b0fd23 6334 "tracker-" version ".tar.xz"))
b64e217f
MW
6335 (sha256
6336 (base32
c8bdf589 6337 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
b64e217f 6338 (build-system glib-or-gtk-build-system)
c8bdf589
RW
6339 (arguments
6340 `(#:phases
6341 (modify-phases %standard-phases
6342 (add-after 'unpack 'disable-broken-tests
6343 (lambda _
6344 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6345 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6346 (substitute* "tests/libtracker-miner/Makefile.in"
6347 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6348 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6349 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6350 (substitute* "tests/libtracker-fts/Makefile.in"
6351 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6352 (substitute* "tests/libtracker-data/Makefile.in"
6353 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6354 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6355 (("tracker-backup\\$\\(EXEEXT\\)") "")
6356 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6357 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6358 ;; These fail because the SPARQL backend could not be loaded.
6359 ;; That's because /etc/machine-id is missing, but
6360 ;; DBUS_FATAL_WARNINGS does not help here.
6361 (substitute* "tests/libtracker-sparql/Makefile.in"
6362 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6363 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6364 (substitute* "tests/tracker-steroids/Makefile.in"
6365 (("tracker-test\\$\\(EXEEXT\\)") ""))
6366 #t))
6367 ;; Two tests fail if LANG is not set.
6368 (add-before 'check 'pre-check
6369 (lambda _
6370 (setenv "LANG" "en_US.UTF-8")
6371 ;; For the missing /etc/machine-id.
6372 (setenv "DBUS_FATAL_WARNINGS" "0")
6373 #t)))))
b64e217f
MW
6374 (native-inputs
6375 `(("gnome-common" ,gnome-common)
6376 ("gobject-introspection" ,gobject-introspection)
6377 ("intltool" ,intltool)
6378 ("pkg-config" ,pkg-config)
6379 ("vala" ,vala)))
6380 (inputs
6381 `(("gtk+" ,gtk+)
6382 ("dbus" ,dbus)
6383 ("gstreamer" ,gstreamer)
6384 ("gst-plugins-base" ,gst-plugins-base)
44ed6284 6385 ("sqlite" ,sqlite)
c8bdf589 6386 ("python" ,python)
b64e217f
MW
6387 ("poppler" ,poppler)
6388 ("libgsf" ,libgsf)
6389 ("libexif" ,libexif)
6390 ("libpng" ,libpng)
6391 ("libtiff" ,libtiff)
6392 ("libvorbis" ,libvorbis)
6393 ("flac" ,flac)
6394 ("totem-pl-parser" ,totem-pl-parser)
6395 ("zlib" ,zlib)
6396 ("exempi" ,exempi)
6397 ("libxml2" ,libxml2)
6398 ("upower" ,upower)
b64e217f
MW
6399 ("libunistring" ,libunistring)
6400 ("giflib" ,giflib)
0ef48cd9 6401 ("json-glib" ,json-glib)
b64e217f
MW
6402 ("openjpeg" ,openjpeg-1)
6403 ("libosinfo" ,libosinfo)
6404 ("libcue" ,libcue)
6405 ("libseccomp" ,libseccomp)
0ef48cd9 6406 ("libsoup" ,libsoup)
b64e217f 6407 ("libuuid" ,util-linux)))
b64e217f
MW
6408 (synopsis "Metadata database, indexer and search tool")
6409 (home-page "https://wiki.gnome.org/Projects/Tracker")
6410 (description
6411 "Tracker is an advanced framework for first class objects with associated
6412metadata and tags. It provides a one stop solution for all metadata, tags,
6413shared object databases, search tools and indexing.")
6414 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6415 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6416 (license (list license:gpl2+
6417 license:lgpl2.1+
6418 license:lgpl2.0+))))
6419
8b877545
RS
6420(define-public nautilus
6421 (package
6422 (name "nautilus")
c71bb3f2 6423 (version "3.30.5")
8b877545
RS
6424 (source (origin
6425 (method url-fetch)
6426 (uri (string-append "mirror://gnome/sources/" name "/"
6427 (version-major+minor version) "/"
6428 name "-" version ".tar.xz"))
6429 (sha256
6430 (base32
c71bb3f2 6431 "144r4py9b8w9ycsg6fggjg05kwvymh003qsb3h6apgpch5y3zgnv"))))
35e2d0cf 6432 (build-system meson-build-system)
8b877545 6433 (arguments
35e2d0cf 6434 '(#:glib-or-gtk? #t
8b877545
RS
6435 ;; XXX: FAIL: check-nautilus
6436 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6437 #:tests? #f))
6438 (native-inputs
35e2d0cf
R
6439 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6440 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6441 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
6442 ("gobject-introspection" ,gobject-introspection)
6443 ("intltool" ,intltool)
6444 ("pkg-config" ,pkg-config)))
8b877545 6445 (inputs
8b877545 6446 `(("dconf" ,dconf)
caf6c363 6447 ("gexiv2" ,gexiv2)
dd05e731 6448 ("gvfs" ,gvfs)
8b877545
RS
6449 ("exempi" ,exempi)
6450 ("gnome-desktop" ,gnome-desktop)
09d88905 6451 ("gnome-autoar" ,gnome-autoar)
ec66ebd4 6452 ("libseccomp" ,libseccomp)
35e2d0cf 6453 ("libselinux" ,libselinux)
09d88905 6454 ("tracker" ,tracker)
ce6027bf
SB
6455 ;; XXX: gtk+ is required by libnautilus-extension.pc
6456 ;;
6457 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6458 ;; package. See:
6459 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6460 ("gtk+" ,gtk+)
8b877545
RS
6461 ("libexif" ,libexif)
6462 ("libxml2" ,libxml2)))
6463 (synopsis "File manager for GNOME")
6464 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6465 (description
6466 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6467design and behaviour, giving the user a simple way to navigate and manage its
6468files.")
6469 (license license:gpl2+)))
3c697ffd
JR
6470
6471(define-public baobab
6472 (package
6473 (name "baobab")
d4ae2d15 6474 (version "3.30.0")
3c697ffd
JR
6475 (source (origin
6476 (method url-fetch)
6477 (uri (string-append
6478 "mirror://gnome/sources/" name "/"
6479 (version-major+minor version) "/"
6480 name "-" version ".tar.xz"))
6481 (sha256
6482 (base32
d4ae2d15 6483 "0kx721s1hhw1g0nvbqhb93g8iq6f852imyhfhl02zcqy4ipx0kay"))))
d233d373
RJ
6484 (build-system meson-build-system)
6485 (arguments
6486 '(#:glib-or-gtk? #t))
3c697ffd
JR
6487 (native-inputs
6488 `(("intltool" ,intltool)
6489 ("pkg-config" ,pkg-config)
d233d373
RJ
6490 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6491 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
6492 ("itstool" ,itstool)
6493 ("xmllint" ,libxml2)
6494 ("glib" ,glib "bin")
6495 ("vala" ,vala)))
6496 (inputs
6497 `(("gtk+" ,gtk+)))
6498 (synopsis "Disk usage analyzer for GNOME")
6499 (description
6500 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6501usage in the GNOME desktop environment. It can easily scan device volumes or
6502a specific user-requested directory branch (local or remote). Once the scan
6503is complete it provides a graphical representation of each selected folder.")
6504 (home-page "https://wiki.gnome.org/Apps/Baobab")
6505 (license license:gpl2+)))
dc050251 6506
fdba447c
RS
6507(define-public gnome-backgrounds
6508 (package
6509 (name "gnome-backgrounds")
29b85910 6510 (version "3.30.0")
fdba447c
RS
6511 (source
6512 (origin
6513 (method url-fetch)
6514 (uri (string-append "mirror://gnome/sources/" name "/"
6515 (version-major+minor version) "/"
6516 name "-" version ".tar.xz"))
6517 (sha256
6518 (base32
29b85910 6519 "1179jrl16bp9gqabqhw7nnfp8qzf5y1vf9fi45bni6rfmwm3mrpc"))))
9ca381f0 6520 (build-system meson-build-system)
fdba447c
RS
6521 (native-inputs
6522 `(("intltool" ,intltool)))
6523 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6524 (synopsis "Background images for the GNOME desktop")
6525 (description
6526 "GNOME backgrounds package contains a collection of graphics files which
6527can be used as backgrounds in the GNOME Desktop environment. Additionally,
6528the package creates the proper framework and directory structure so that you
6529can add your own files to the collection.")
6530 (license (list license:gpl2+
6531 license:cc-by2.0
6532 license:cc-by-sa2.0
6533 license:cc-by-sa3.0))))
6534
b784b1a9
RS
6535(define-public gnome-screenshot
6536 (package
6537 (name "gnome-screenshot")
676e7cb4 6538 (version "3.30.0")
b784b1a9
RS
6539 (source
6540 (origin
6541 (method url-fetch)
6542 (uri (string-append "mirror://gnome/sources/" name "/"
6543 (version-major+minor version) "/"
6544 name "-" version ".tar.xz"))
6545 (sha256
6546 (base32
676e7cb4 6547 "06dx3svxq6sar4913mrz5lzb7hmc66wck138vmyxj8x8iv1iw0w8"))))
8356aefa 6548 (build-system meson-build-system)
b784b1a9
RS
6549 (native-inputs
6550 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
6551 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6552 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 6553 ("intltool" ,intltool)
8356aefa 6554 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
6555 ("pkg-config" ,pkg-config)))
6556 (inputs
6557 `(("gtk+" ,gtk+)
6558 ("libcanberra" ,libcanberra)
6559 ("libx11" ,libx11)
6560 ("libxext" ,libxext)))
676e7cb4 6561 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
6562 (synopsis "Take pictures of your screen")
6563 (description
6564 "GNOME Screenshot is a utility used for taking screenshots of the entire
6565screen, a window or a user defined area of the screen, with optional
6566beautifying border effects.")
6567 (license license:gpl2+)))
6568
66d59111
RS
6569(define-public dconf-editor
6570 (package
6571 (name "dconf-editor")
bc09c416 6572 (version "3.30.2")
66d59111
RS
6573 (source
6574 (origin
6575 (method url-fetch)
6576 (uri (string-append "mirror://gnome/sources/" name "/"
6577 (version-major+minor version) "/"
6578 name "-" version ".tar.xz"))
6579 (sha256
6580 (base32
bc09c416 6581 "06f736spn20s7qjsz00xw44v8r8bjhyrz1v3bix6v416jc5jp6ia"))))
294ff39d 6582 (build-system meson-build-system)
86f2124b
LC
6583 (arguments
6584 '(#:phases (modify-phases %standard-phases
6585 (add-before 'configure 'set-glib-minimum-version
6586 (lambda _
6587 ;; Change the minimum required GLib version so that
6588 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
6589 ;; do that, it complains that "55" is not an even
6590 ;; number. See <https://bugs.gnu.org/37503>.
6591 (substitute* "editor/meson.build"
6592 (("2\\.55\\.1") "2.60.0"))
6593 #t)))))
66d59111
RS
6594 (native-inputs
6595 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 6596 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 6597 ("intltool" ,intltool)
294ff39d
RW
6598 ("pkg-config" ,pkg-config)
6599 ("vala" ,vala)))
66d59111
RS
6600 (inputs
6601 `(("dconf" ,dconf)
6602 ("gtk+" ,gtk+)
6603 ("libxml2" ,libxml2)))
6604 (home-page "https://git.gnome.org/browse/dconf-editor")
6605 (synopsis "Graphical editor for GNOME's dconf configuration system")
6606 (description
6607 "Dconf-editor is a graphical tool for browsing and editing the dconf
6608configuration system for GNOME. It allows users to configure desktop
6609software that do not provide their own configuration interface.")
6610 (license license:lgpl2.1+)))
6611
96d36f38
AW
6612(define-public gnome-default-applications
6613 (package
6614 (name "gnome-default-applications")
6615 (version "0")
6616 (build-system trivial-build-system)
6617 (source #f)
6618 (propagated-inputs
8ad4f0aa
LC
6619 `(("nautilus" ,nautilus)
6620 ("evince" ,evince)))
96d36f38
AW
6621 (arguments
6622 `(#:modules ((guix build utils))
6623 #:builder
6624 (begin
6625 (use-modules (guix build utils))
6626 (let* ((out (assoc-ref %outputs "out"))
6627 (apps (string-append out "/share/applications")))
6628 (mkdir-p apps)
6629 (call-with-output-file (string-append apps "/defaults.list")
6630 (lambda (port)
6631 (format port "[Default Applications]\n")
8ad4f0aa
LC
6632 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6633 (format port "application/pdf=evince.desktop\n")
6634 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
6635 #t))))
6636 (synopsis "Default MIME type associations for the GNOME desktop")
6637 (description
6638 "Given many installed packages which might handle a given MIME type, a
6639user running the GNOME desktop probably has some preferences: for example,
6640that folders be opened by default by the Nautilus file manager, not the Baobab
6641disk usage analyzer. This package establishes that set of default MIME type
6642associations for GNOME.")
6643 (license license:gpl3+)
6644 (home-page #f)))
6645
dc050251
SB
6646(define-public gnome
6647 (package
6648 (name "gnome")
6649 (version (package-version gnome-shell))
6650 (source #f)
6651 (build-system trivial-build-system)
e3cfef22 6652 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251
SB
6653 (propagated-inputs
6654 ;; TODO: Add more packages according to:
6655 ;; <https://packages.debian.org/jessie/gnome-core>.
6656 `(("adwaita-icon-theme" ,adwaita-icon-theme)
05f651c4 6657 ("baobab" ,baobab)
0bd3597b 6658 ("font-cantarell" ,font-cantarell)
a9dbefdc 6659 ("font-dejavu" ,font-dejavu)
dc050251
SB
6660 ("at-spi2-core" ,at-spi2-core)
6661 ("dbus" ,dbus)
6662 ("dconf" ,dconf)
72360453 6663 ("desktop-file-utils" ,desktop-file-utils)
dc050251
SB
6664 ("eog" ,eog)
6665 ("epiphany" ,epiphany)
6666 ("evince" ,evince)
71d9b980 6667 ("file-roller" ,file-roller)
dc050251
SB
6668 ("gedit" ,gedit)
6669 ("glib-networking" ,glib-networking)
05f651c4 6670 ("gnome-backgrounds" ,gnome-backgrounds)
63ad9b80
AW
6671 ("gnome-bluetooth" ,gnome-bluetooth)
6672 ("gnome-calculator" ,gnome-calculator)
dc050251 6673 ("gnome-control-center" ,gnome-control-center)
63ad9b80 6674 ("gnome-disk-utility" ,gnome-disk-utility)
96d36f38 6675 ("gnome-default-applications" ,gnome-default-applications)
dc050251 6676 ("gnome-keyring" ,gnome-keyring)
63ad9b80 6677 ("gnome-online-accounts" ,gnome-online-accounts)
dc050251
SB
6678 ("gnome-session" ,gnome-session)
6679 ("gnome-settings-daemon" ,gnome-settings-daemon)
6680 ("gnome-shell" ,gnome-shell)
63ad9b80 6681 ("gnome-system-monitor" ,gnome-system-monitor)
dc050251
SB
6682 ("gnome-terminal" ,gnome-terminal)
6683 ("gnome-themes-standard" ,gnome-themes-standard)
2999dcd5
AW
6684 ("gst-plugins-base" ,gst-plugins-base)
6685 ("gst-plugins-good" ,gst-plugins-good)
63ad9b80 6686 ("gucharmap" ,gucharmap)
05f651c4 6687 ("gvfs" ,gvfs)
dc050251
SB
6688 ("hicolor-icon-theme" ,hicolor-icon-theme)
6689 ("nautilus" ,nautilus)
69308043 6690 ("pinentry-gnome3" ,pinentry-gnome3)
dc050251
SB
6691 ("pulseaudio" ,pulseaudio)
6692 ("shared-mime-info" ,shared-mime-info)
f6f4370f 6693 ("system-config-printer" ,system-config-printer)
dc050251 6694 ("totem" ,totem)
c20cd0d2 6695 ("xdg-user-dirs" ,xdg-user-dirs)
dc050251
SB
6696 ("yelp" ,yelp)
6697 ("zenity" ,zenity)))
fe4e698d 6698 (synopsis "The GNU desktop environment")
dc050251
SB
6699 (home-page "https://www.gnome.org/")
6700 (description
fe4e698d
LC
6701 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6702applications for browsing the web, editing text and images, creating
6703documents and diagrams, playing media, scanning, and much more.")
dc050251 6704 (license license:gpl2+)))
4a526711
DT
6705
6706(define-public byzanz
6707 ;; The last stable release of Byzanz was in 2011, but there have been many
6708 ;; useful commits made to the Byzanz repository since then that it would be
6709 ;; silly to use such an old release.
6710 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6711 (package
6712 (name "byzanz")
6713 (version (string-append "0.2-1." (string-take commit 7)))
6714 (source (origin
6715 (method git-fetch)
6716 (uri (git-reference
5f13bf09 6717 (url "https://git.gnome.org/browse/byzanz")
4a526711 6718 (commit commit)))
5a6527e4 6719 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
6720 (sha256
6721 (base32
6722 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6723 (build-system glib-or-gtk-build-system)
6724 (arguments
6725 '(#:phases
6726 (modify-phases %standard-phases
189be331 6727 (replace 'bootstrap
4a526711
DT
6728 (lambda _
6729 ;; The build system cleverly detects that we're not building from
6730 ;; a release tarball and turns on -Werror for GCC.
6731 ;; Unsurprisingly, there is a warning during compilation that
6732 ;; causes the build to fail unnecessarily, so we remove the flag.
6733 (substitute* '("configure.ac")
6734 (("-Werror") ""))
6735 ;; The autogen.sh script in gnome-common will run ./configure
6736 ;; by default, which is problematic because source shebangs
6737 ;; have not yet been patched.
6738 (setenv "NOCONFIGURE" "t")
6739 (zero? (system* "sh" "autogen.sh")))))))
6740 (native-inputs
6741 `(("autoconf" ,autoconf)
6742 ("automake" ,automake)
6743 ("gnome-common" ,gnome-common)
6744 ("intltool" ,intltool)
6745 ("libtool" ,libtool)
6746 ("pkg-config" ,pkg-config)
6747 ("which" ,which)))
6748 (inputs
6749 `(("glib" ,glib)
6750 ("gstreamer" ,gstreamer)
6751 ("gst-plugins-base" ,gst-plugins-base)
6752 ("gtk+" ,gtk+)))
6753 (synopsis "Desktop recording program")
6754 (description "Byzanz is a simple desktop recording program with a
6755command-line interface. It can record part or all of an X display for a
6756specified duration and save it as a GIF encoded animated image file.")
6757 (home-page "https://git.gnome.org/browse/byzanz")
6758 (license license:gpl2+))))
3a9a4c51 6759
0ec171ec
MS
6760(define-public gsound
6761 (package
6762 (name "gsound")
6763 (version "1.0.2")
6764 (source (origin
6765 (method url-fetch)
6766 (uri (string-append "mirror://gnome/sources/" name "/"
6767 (version-major+minor version) "/"
6768 name "-" version ".tar.xz"))
6769 (sha256
6770 (base32
6771 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6772 (build-system glib-or-gtk-build-system)
6773 (native-inputs
6774 `(("pkg-config" ,pkg-config)
6775 ("gobject-introspection" ,gobject-introspection)
6776 ("vala" ,vala)))
6777 (inputs
6778 `(("glib" ,glib)
6779 ("libcanberra" ,libcanberra)))
6780 (home-page "https://wiki.gnome.org/Projects/GSound")
6781 (synopsis "GObject wrapper for libcanberra")
6782 (description
6783 "GSound is a small library for playing system sounds. It's designed to be
6784used via GObject Introspection, and is a thin wrapper around the libcanberra C
6785library.")
6786 (license license:lgpl2.1+)))
6787
3a9a4c51
RS
6788(define-public libzapojit
6789 (package
6790 (name "libzapojit")
6791 (version "0.0.3")
6792 (source (origin
6793 (method url-fetch)
6794 (uri (string-append "mirror://gnome/sources/" name "/"
6795 (version-major+minor version) "/"
6796 name "-" version ".tar.xz"))
6797 (sha256
6798 (base32
6799 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6800 (build-system gnu-build-system)
6801 (native-inputs
6802 `(("gobject-introspection" ,gobject-introspection)
6803 ("intltool" ,intltool)
6804 ("pkg-config" ,pkg-config)))
6805 (inputs
14c297fd 6806 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
6807 ("json-glib" ,json-glib)
6808 ("rest" ,rest)))
6809 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6810 (synopsis "Library for accessing SkyDrive and Hotmail")
6811 (description
6812 "Libzapojit is a GLib-based library for accessing online service APIs of
6813Microsoft SkyDrive and Hotmail, using their REST protocols.")
6814 (license license:lgpl2.1+)))
9365ee1c 6815
60e2a9ae
MS
6816(define-public gnome-clocks
6817 (package
6818 (name "gnome-clocks")
757f863b 6819 (version "3.30.1")
60e2a9ae
MS
6820 (source (origin
6821 (method url-fetch)
6822 (uri (string-append "mirror://gnome/sources/" name "/"
6823 (version-major+minor version) "/"
6824 name "-" version ".tar.xz"))
6825 (sha256
6826 (base32
757f863b 6827 "009fr6zwv37wryi0c0syi4i7pxpdbn3gliws68l99cjsbn2qd6pc"))))
60e2a9ae
MS
6828 (build-system meson-build-system)
6829 (arguments
6830 '(#:glib-or-gtk? #t))
6831 (native-inputs
6832 `(("vala" ,vala)
6833 ("pkg-config" ,pkg-config)
6834 ("glib" ,glib "bin") ; for glib-compile-resources
6835 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6836 ("desktop-file-utils" ,desktop-file-utils)
6837 ("gettext" ,gettext-minimal)
6838 ("itstool" ,itstool)))
6839 (inputs
6840 `(("glib" ,glib)
6841 ("gtk+" ,gtk+)
6842 ("gsound" ,gsound)
6843 ("geoclue" ,geoclue)
6844 ("geocode-glib" ,geocode-glib)
6845 ("libgweather" ,libgweather)
6846 ("gnome-desktop" ,gnome-desktop)))
6847 (home-page "https://wiki.gnome.org/Apps/Clocks")
6848 (synopsis "GNOME's clock application")
6849 (description
6850 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6851desktop. It supports world clock, stop watch, alarms, and count down timer.")
6852 (license license:gpl3+)))
6853
3c474897
KY
6854(define-public gnome-calendar
6855 (package
6856 (name "gnome-calendar")
496d7ccd 6857 (version "3.30.1")
3c474897
KY
6858 (source (origin
6859 (method url-fetch)
6860 (uri (string-append "mirror://gnome/sources/" name "/"
6861 (version-major+minor version) "/"
6862 name "-" version ".tar.xz"))
6863 (sha256
6864 (base32
496d7ccd 6865 "1avi7a29y8d8kzwslp51nwy6s692alms7917454j0xpfc6hnw62s"))))
a49d3e37
MS
6866 (build-system meson-build-system)
6867 (arguments
6868 '(#:glib-or-gtk? #t
6869 ;; gnome-calendar has to be installed before the tests can be run
6870 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6871 #:tests? #f))
3c474897 6872 (native-inputs
a49d3e37
MS
6873 `(("gettext" ,gettext-minimal)
6874 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6875 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
6876 ("pkg-config" ,pkg-config)))
6877 (inputs
a49d3e37 6878 `(("evolution-data-server" ,evolution-data-server)
14c297fd 6879 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
6880 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6881 ("libdazzle" ,libdazzle)
b63c06f1 6882 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
6883 ("libgweather" ,libgweather)
6884 ("geoclue" ,geoclue)))
3c474897
KY
6885 (home-page "https://wiki.gnome.org/Apps/Calendar")
6886 (synopsis "GNOME's calendar application")
6887 (description
6888 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 6889desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
6890 (license license:gpl3+)))
6891
57b14665
MS
6892(define-public gnome-todo
6893 (package
6894 (name "gnome-todo")
9f3c6c88 6895 (version "3.28.1")
57b14665
MS
6896 (source (origin
6897 (method url-fetch)
6898 (uri (string-append "mirror://gnome/sources/" name "/"
6899 (version-major+minor version) "/"
6900 name "-" version ".tar.xz"))
6901 (sha256
6902 (base32
9f3c6c88 6903 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
6904 (build-system meson-build-system)
6905 (arguments
6906 '(#:glib-or-gtk? #t
6907 #:phases (modify-phases %standard-phases
6908 (add-after
6909 'install 'wrap-gnome-todo
6910 (lambda* (#:key inputs outputs #:allow-other-keys)
6911 (let ((out (assoc-ref outputs "out"))
6912 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6913 (python-path (getenv "PYTHONPATH")))
6914 (wrap-program (string-append out "/bin/gnome-todo")
6915 ;; XXX: gi plugins are broken.
6916 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6917 ;; For plugins.
6918 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6919 `("PYTHONPATH" ":" prefix (,python-path))))
6920 #t)))))
6921 (native-inputs
6922 `(("gettext" ,gettext-minimal)
6923 ("gobject-introspection" ,gobject-introspection)
6924 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6925 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6926 ("pkg-config" ,pkg-config)))
6927 (inputs
6928 `(("rest" ,rest) ; For Todoist plugin
6929 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 6930 ("libedataserverui" ,evolution-data-server)
57b14665
MS
6931 ("libical" ,libical)
6932 ("libpeas" ,libpeas)
6933 ("python-pygobject" ,python-pygobject)
6934 ("evolution-data-server" ,evolution-data-server)
14c297fd 6935 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
6936 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6937 (home-page "https://wiki.gnome.org/Apps/Todo")
6938 (synopsis "GNOME's ToDo Application")
6939 (description
6940 "GNOME To Do is a simplistic personal task manager designed to perfectly
6941fit the GNOME desktop.")
6942 (license license:gpl3+)))
6943
ab179eaf
SB
6944(define-public gnome-dictionary
6945 (package
6946 (name "gnome-dictionary")
cf81ddef 6947 (version "3.26.1")
ab179eaf
SB
6948 (source (origin
6949 (method url-fetch)
6950 (uri (string-append "mirror://gnome/sources/" name "/"
6951 (version-major+minor version) "/"
6952 name "-" version ".tar.xz"))
6953 (sha256
6954 (base32
cf81ddef
LC
6955 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6956 (build-system meson-build-system)
2776b5d5
MB
6957 (arguments '(#:glib-or-gtk? #t
6958 #:phases (modify-phases %standard-phases
6959 (add-after 'unpack 'patch-install-script
6960 (lambda _
6961 ;; This script attempts to compile glib schemas
6962 ;; and create an empty MIME database. We do
6963 ;; that elsewhere, so prevent it from running.
6964 (substitute* "build-aux/post-install.sh"
6965 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6966 #t)))))
ab179eaf
SB
6967 (native-inputs
6968 `(("glib:bin" ,glib "bin")
6969 ("gobject-introspection" ,gobject-introspection)
6970 ("intltool" ,intltool)
6971 ("itstool" ,itstool)
6972 ("pkg-config" ,pkg-config)
6973 ("xmllint" ,libxml2)))
6974 (inputs
6975 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6976 ("gtk+" ,gtk+)))
6977 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6978 (synopsis "Look up words in dictionary sources")
6979 (description
6980 "GNOME Dictionary can look for the definition or translation of a word in
6981existing databases over the internet.")
6982 (license license:gpl3+)))
6983
d13f3a03 6984(define-public gnome-tweaks
9365ee1c 6985 (package
d13f3a03 6986 (name "gnome-tweaks")
9d4d439b 6987 (version "3.30.2")
9365ee1c
JN
6988 (source (origin
6989 (method url-fetch)
d13f3a03 6990 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 6991 (version-major+minor version) "/"
d13f3a03
RW
6992 "gnome-tweaks-" version ".tar.xz"))
6993 (patches
6994 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
6995 (sha256
6996 (base32
9d4d439b 6997 "0j63siy1i5pl2g6di1r9vjn54m9ahh42wj20j6689pza2lamay1z"))))
d13f3a03 6998 (build-system meson-build-system)
9365ee1c 6999 (arguments
d13f3a03
RW
7000 `(#:glib-or-gtk? #t
7001 #:configure-flags '("-Dlocalstatedir=/tmp"
7002 "-Dsysconfdir=/tmp")
9365ee1c 7003 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
7004 ,@%meson-build-system-modules)
7005 #:phases
7006 (modify-phases %standard-phases
7007 (add-after 'install 'wrap
7008 (@@ (guix build python-build-system) wrap))
7009 (add-after 'wrap 'wrap-gi-typelib
7010 (lambda* (#:key inputs outputs #:allow-other-keys)
7011 (let ((out (assoc-ref outputs "out"))
7012 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7013 (wrap-program (string-append out "/bin/gnome-tweaks")
7014 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7015 #t)))))
9365ee1c 7016 (native-inputs
c7fc414e
RH
7017 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7018 ("intltool" ,intltool)
9365ee1c
JN
7019 ("pkg-config" ,pkg-config)))
7020 (inputs
c7fc414e
RH
7021 `(("gnome-desktop" ,gnome-desktop)
7022 ("gtk+" ,gtk+)
9365ee1c
JN
7023 ("gobject-introspection" ,gobject-introspection)
7024 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
7025 ("libnotify" ,libnotify)
7026 ("libsoup" ,libsoup)
7027 ("nautilus" ,nautilus)
7028 ("python" ,python)
7029 ("python-pygobject" ,python-pygobject)))
9365ee1c 7030 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 7031 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 7032 (description
d13f3a03 7033 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
7034GNOME 3. This includes things like the fonts used in user interface elements,
7035alternative user interface themes, changes in window management behavior,
7036GNOME Shell appearance and extension, etc.")
7037 (license license:gpl3+)))
813f814a 7038
d13f3a03
RW
7039;; This package has been renamed by upstream.
7040(define-public gnome-tweak-tool
7041 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7042
32ac717c
DT
7043(define-public gnome-shell-extensions
7044 (package
7045 (name "gnome-shell-extensions")
2aabc647 7046 (version "3.30.1")
32ac717c
DT
7047 (source (origin
7048 (method url-fetch)
7049 (uri (string-append "mirror://gnome/sources/" name "/"
7050 (version-major+minor version) "/"
7051 name "-" version ".tar.xz"))
7052 (sha256
7053 (base32
2aabc647 7054 "1grxn4f5x754r172wmnf0h0xpy69afmj359zsj1rwgqlzw4i4c5p"))))
100f625b 7055 (build-system meson-build-system)
32ac717c 7056 (arguments
100f625b 7057 '(#:configure-flags '("-Dextension_set=all")))
32ac717c
DT
7058 (native-inputs
7059 `(("intltool" ,intltool)
7060 ("pkg-config" ,pkg-config)))
7061 (propagated-inputs
7062 `(("glib" ,glib)
7063 ("glib" ,glib "bin")))
7064 (synopsis "Extensions for GNOME Shell")
7065 (description "GNOME Shell extensions modify and extend GNOME Shell
7066functionality and behavior.")
7067 (home-page "https://extensions.gnome.org/")
7068 (license license:gpl3+)))
7069
a7a31827
GL
7070(define-public numix-theme
7071 (package
7072 (name "numix-theme")
7073 (version "2.6.7")
7074 (source (origin
7075 (method git-fetch)
7076 (uri (git-reference
7077 (url "https://github.com/numixproject/numix-gtk-theme.git")
7078 (commit version)))
7079 (file-name (git-file-name name version))
7080 (sha256
7081 (base32
7082 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
7083 (build-system gnu-build-system)
7084 (arguments
7085 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
7086 #:phases
7087 (modify-phases %standard-phases
7088 (delete 'configure)
7089 (delete 'check))))
7090 (native-inputs
7091 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
7092 ("gnome-shell" ,gnome-shell)
7093 ("gtk+" ,gtk+)
7094 ("xmllint" ,libxml2)
7095 ("ruby-sass" ,ruby-sass)))
7096 (synopsis "Flat theme with light and dark elements")
7097 (description "Numix is a modern flat theme with a combination of light and
7098dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
7099 (home-page "https://numixproject.github.io")
7100 (license license:gpl3+)))
7101
813f814a
DT
7102(define-public arc-theme
7103 (package
7104 (name "arc-theme")
a18f8eaf 7105 (version "20181022")
813f814a 7106 (source (origin
a18f8eaf
BH
7107 (method git-fetch)
7108 (uri (git-reference
7109 (url "https://github.com/NicoHood/arc-theme.git")
7110 (commit version)))
7111 (file-name (git-file-name name version))
813f814a
DT
7112 (sha256
7113 (base32
a18f8eaf 7114 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
813f814a 7115 (build-system gnu-build-system)
d88884fa
EF
7116 (arguments
7117 '(#:phases
7118 (modify-phases %standard-phases
7119 ;; autogen.sh calls configure at the end of the script.
7120 (replace 'bootstrap
7121 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
7122 (native-inputs
7123 `(("autoconf" ,autoconf)
7124 ("automake" ,automake)
a18f8eaf
BH
7125 ("glib" ,glib "bin") ; for glib-compile-resources
7126 ("gnome-shell" ,gnome-shell)
7127 ("gtk+" ,gtk+)
7128 ("inkscape" ,inkscape)
7129 ("optipng" ,optipng)
7130 ("pkg-config" ,pkg-config)
7131 ("sassc" ,sassc)))
813f814a
DT
7132 (synopsis "A flat GTK+ theme with transparent elements")
7133 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
71342, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7135like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7136 (home-page "https://github.com/horst3180/arc-theme")
7137 ;; No "or later" language found.
a18f8eaf 7138 (license license:gpl3+)))
9987c57c 7139
d935e6a1 7140(define-public faba-icon-theme
9987c57c 7141 (package
d935e6a1 7142 (name "faba-icon-theme")
2eee7ee3 7143 (version "4.3")
d935e6a1
BT
7144 (source
7145 (origin
7146 (method url-fetch)
7147 (uri (string-append "https://github.com/moka-project/"
7148 name "/archive/v" version ".tar.gz"))
7149 (file-name (string-append name "-" version ".tar.gz"))
7150 (sha256
7151 (base32
2eee7ee3 7152 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
f6a9b345 7153 (build-system meson-build-system)
9987c57c 7154 (arguments
82da291a 7155 `(#:phases
9987c57c 7156 (modify-phases %standard-phases
82da291a 7157 (add-before 'configure 'disable-post-install
9987c57c 7158 (lambda _
82da291a
JL
7159 (substitute* "meson.build"
7160 (("meson.add_install_script.*") "")))))))
9987c57c
DT
7161 (native-inputs
7162 `(("autoconf" ,autoconf)
7163 ("automake" ,automake)))
d935e6a1
BT
7164 (synopsis "Faba icon theme")
7165 (description
7166 "Faba is a minimal icon set used as a basis for other themes such as
7167Moka")
7168 (home-page "https://snwh.org/moka")
7169 (license (list license:lgpl3+
7170 license:cc-by-sa4.0))))
7171
9987c57c
DT
7172(define-public moka-icon-theme
7173 (package
8b0e4177 7174 (inherit faba-icon-theme)
9987c57c 7175 (name "moka-icon-theme")
105a3625 7176 (version "5.4.0")
9987c57c
DT
7177 (source (origin
7178 (method url-fetch)
7179 (uri (string-append "https://github.com/moka-project"
7180 "/moka-icon-theme/archive/v"
7181 version ".tar.gz"))
7182 (file-name (string-append name "-" version ".tar.gz"))
7183 (sha256
7184 (base32
105a3625 7185 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
550281fb
BT
7186 (propagated-inputs
7187 ;; Moka is based on Faba by using it as a fallback icon set instead of
7188 ;; bundling it, so we need to add it as a propagated input.
7189 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
7190 (synopsis "Moka icon theme")
7191 (description "Moka is a stylized desktop icon set, designed to be clear,
7192simple and consistent.")
fedde43b
BT
7193 (license (list license:gpl3+
7194 license:cc-by-sa4.0))))
6fd8f8d6
DT
7195
7196(define-public arc-icon-theme
7197 (package
7198 (name "arc-icon-theme")
c4180240 7199 (version "20161122")
6fd8f8d6
DT
7200 (source (origin
7201 (method url-fetch)
7202 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7203 "/archive/" version ".tar.gz"))
7204 (file-name (string-append name "-" version ".tar.gz"))
7205 (sha256
7206 (base32
c4180240 7207 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6fd8f8d6 7208 (build-system gnu-build-system)
9e1ede95
JL
7209 (arguments
7210 `(#:phases
7211 (modify-phases %standard-phases
7212 (add-after 'unpack 'disable-configure-during-bootstrap
7213 (lambda _
7214 (substitute* "autogen.sh"
7215 (("^\"\\$srcdir/configure\".*") ""))
7216 #t)))))
6fd8f8d6
DT
7217 (native-inputs
7218 `(("autoconf" ,autoconf)
7219 ("automake" ,automake)))
7220 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7221 (propagated-inputs
7222 `(("moka-icon-theme" ,moka-icon-theme)))
7223 (synopsis "Arc icon theme")
7224 (description "The Arc icon theme provides a set of icons matching the
7225style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7226the Moka icon theme.")
7227 (home-page "https://github.com/horst3180/arc-icon-theme")
7228 (license license:gpl3+)))
6064a4e8
LF
7229
7230(define-public folks
7231 (package
7232 (name "folks")
d23495fa 7233 (version "0.11.4")
6064a4e8
LF
7234 (source (origin
7235 (method url-fetch)
7236 (uri (string-append
e5f4796e 7237 "mirror://gnome/sources/folks/"
6064a4e8 7238 (version-major+minor version) "/"
e5f4796e 7239 "folks-" version ".tar.xz"))
6064a4e8
LF
7240 (sha256
7241 (base32
d23495fa 7242 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
7243 (build-system glib-or-gtk-build-system)
7244 (inputs
7245 `(("bdb" ,bdb)
7246 ("dbus-glib" ,dbus-glib)
7247 ("evolution-data-server" ,evolution-data-server)
7248 ("glib" ,glib)
7249 ("libgee" ,libgee)
7250 ("telepathy-glib" ,telepathy-glib)))
7251 (native-inputs
7252 `(("gobject-introspection" ,gobject-introspection)
7253 ("intltool" ,intltool)
7254 ("pkg-config" ,pkg-config)
7255 ("vala" ,vala)))
7256 (synopsis "Library to aggregate data about people")
7257 (description "Libfolks is a library that aggregates information about people
7258from multiple sources (e.g., Telepathy connection managers for IM contacts,
7259Evolution Data Server for local contacts, libsocialweb for web service contacts,
7260etc.) to create metacontacts. It's written in Vala, which generates C code when
7261compiled.")
7262 (home-page "https://wiki.gnome.org/Projects/Folks")
7263 (license license:lgpl2.1+)))
01ea778f
LF
7264
7265(define-public gfbgraph
7266 (package
7267 (name "gfbgraph")
7268 (version "0.2.3")
7269 (source (origin
7270 (method url-fetch)
7271 (uri (string-append
237d4cf7 7272 "mirror://gnome/sources/gfbgraph/"
01ea778f 7273 (version-major+minor version) "/"
237d4cf7 7274 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
7275 (sha256
7276 (base32
7277 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7278 (build-system glib-or-gtk-build-system)
7279 (arguments
7280 `(#:tests? #f ; Tests appear to require the network.
7281 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7282 #:configure-flags '("--disable-gtk-doc"
7283 "--disable-static"
7284 "--enable-introspection")))
7285 (native-inputs
7286 `(("pkg-config" ,pkg-config)
7287 ("gobject-introspection" ,gobject-introspection)))
7288 (inputs
7289 `(("json-glib" ,json-glib)
14c297fd 7290 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
7291 ("rest" ,rest)))
7292 (synopsis "GLib/GObject wrapper for the Facebook API")
7293 (description "This library allows you to use the Facebook API from
7294GLib/GObject code.")
7295 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7296 (license license:lgpl2.1+)))
3920868c 7297
7298(define-public libgnomekbd
7299 (package
7300 (name "libgnomekbd")
70f2b0f9 7301 (version "3.26.1")
3920868c 7302 (source (origin
7303 (method url-fetch)
d47fa82d 7304 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 7305 (version-major+minor version) "/"
d47fa82d 7306 "libgnomekbd-" version ".tar.xz"))
3920868c 7307 (sha256
7308 (base32
70f2b0f9 7309 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 7310 (build-system gnu-build-system)
7311 (native-inputs
7312 `(("pkg-config" ,pkg-config)
7313 ("glib" ,glib "bin")
7314 ("intltool" ,intltool)))
7315 (propagated-inputs
7316 ;; Referred to in .h files and .pc.
7317 `(("glib" ,glib)
7318 ("gtk+" ,gtk+)
7319 ("libxklavier" ,libxklavier)))
7320 (home-page "https://www.gnome.org")
7321 (synopsis "GNOME keyboard configuration library")
7322 (description
7323 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7324environment, which can notably display keyboard layouts.")
7325 (license license:lgpl2.0+)))
85327d0d 7326
7327;;; This package is no longer maintained:
7328;;; https://wiki.gnome.org/Attic/LibUnique
7329;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7330;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7331(define-public libunique
7332 (package
7333 (name "libunique")
7334 (version "3.0.2")
7335 (source (origin
7336 (method url-fetch)
7337 (uri (string-append "mirror://gnome/sources/" name "/"
7338 (version-major+minor version) "/"
7339 name "-" version ".tar.xz"))
7340 (sha256
7341 (base32
7342 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7343 (build-system glib-or-gtk-build-system)
7344 (arguments
7345 `(#:configure-flags '("--disable-static"
7346 "--disable-dbus" ; use gdbus
7347 "--enable-introspection")))
7348 (native-inputs
7349 `(("pkg-config" ,pkg-config)
7350 ("gobject-introspection" ,gobject-introspection)
7351 ("glib:bin" ,glib "bin")
7352 ("gtk-doc" ,gtk-doc)))
7353 (propagated-inputs
7354 ;; Referred to in .h files and .pc.
7355 `(("gtk+" ,gtk+)))
7356 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7357 (synopsis "Library for writing single instance applications")
7358 (description
7359 "Libunique is a library for writing single instance applications. If you
7360launch a single instance application twice, the second instance will either just
7361quit or will send a message to the running instance. Libunique makes it easy to
7362write this kind of application, by providing a base class, taking care of all
7363the IPC machinery needed to send messages to a running instance, and also
7364handling the startup notification side.")
7365 (license license:lgpl2.1+)))
54021cd8
RS
7366
7367(define-public gnome-calculator
7368 (package
7369 (name "gnome-calculator")
07ace641 7370 (version "3.32.2")
54021cd8
RS
7371 (source
7372 (origin
7373 (method url-fetch)
7374 (uri (string-append "mirror://gnome/sources/" name "/"
7375 (version-major+minor version) "/"
7376 name "-" version ".tar.xz"))
7377 (sha256
7378 (base32
07ace641 7379 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
7380 (build-system meson-build-system)
7381 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
7382 (native-inputs
7383 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 7384 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
7385 ("intltool" ,intltool)
7386 ("itstool" ,itstool)
2d475910 7387 ("vala" ,vala)
54021cd8
RS
7388 ("pkg-config" ,pkg-config)))
7389 (inputs
112e9083 7390 `(("glib" ,glib)
07ace641 7391 ("gtksourceview" ,gtksourceview)
54021cd8 7392 ("libsoup" ,libsoup)
112e9083 7393 ("libxml2" ,libxml2)
2c2da7ec 7394 ("mpc" ,mpc)
54021cd8
RS
7395 ("mpfr" ,mpfr)))
7396 (home-page "https://wiki.gnome.org/Apps/Calculator")
7397 (synopsis "Desktop calculator")
7398 (description
7399 "Calculator is an application that solves mathematical equations and
7400is suitable as a default application in a Desktop environment.")
7401 (license license:gpl3)))
0bd69759
RS
7402
7403(define-public xpad
7404 (package
7405 (name "xpad")
c85626bb 7406 (version "5.1.0")
0bd69759
RS
7407 (source
7408 (origin
7409 (method url-fetch)
08fda9c6
R
7410 (uri (string-append "https://launchpad.net/xpad/trunk/"
7411 version "/+download/"
0bd69759
RS
7412 name "-" version ".tar.bz2"))
7413 (sha256
7414 (base32
c85626bb 7415 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
7416 (build-system gnu-build-system)
7417 (native-inputs
08fda9c6
R
7418 `(("autoconf" ,autoconf)
7419 ("automake" ,automake)
7420 ("gtk+:bin" ,gtk+ "bin")
7421 ("intltool" ,intltool)
0bd69759
RS
7422 ("pkg-config" ,pkg-config)))
7423 (inputs
c72647fb 7424 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
7425 ("libsm" ,libsm)))
7426 (home-page "https://wiki.gnome.org/Apps/Xpad")
7427 (synopsis "Virtual sticky note")
7428 (description
7429 "Xpad is a sticky note that strives to be simple, fault tolerant,
7430and customizable. Xpad consists of independent pad windows, each is
7431basically a text box in which notes can be written.")
7432 (license license:gpl3+)))
3ad7dce1
RS
7433
7434(define-public gucharmap
c60063ea
RW
7435 (let ((unicode-files
7436 '(("Blocks.txt"
1f8b5515 7437 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 7438 ("DerivedAge.txt"
1f8b5515 7439 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 7440 ("NamesList.txt"
1f8b5515 7441 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 7442 ("Scripts.txt"
1f8b5515 7443 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 7444 ("UnicodeData.txt"
1f8b5515 7445 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 7446 ("Unihan.zip"
1f8b5515 7447 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
7448 (package
7449 (name "gucharmap")
1f8b5515 7450 (version "12.0.1")
c60063ea
RW
7451 (source
7452 (origin
7453 (method url-fetch)
7454 (uri (string-append "mirror://gnome/sources/" name "/"
7455 (version-major+minor version) "/"
7456 name "-" version ".tar.xz"))
7457 (sha256
7458 (base32
1f8b5515 7459 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
7460 (build-system glib-or-gtk-build-system)
7461 (arguments
7462 `(#:modules ((ice-9 match)
7463 (guix build glib-or-gtk-build-system)
7464 (guix build utils))
7465 #:configure-flags
7466 (list "--with-unicode-data=../unicode-data")
7467 #:phases
7468 (modify-phases %standard-phases
7469 (add-after 'unpack 'prepare-unicode-data
7470 (lambda* (#:key inputs #:allow-other-keys)
7471 (mkdir-p "../unicode-data")
7472 (with-directory-excursion "../unicode-data"
7473 (for-each (match-lambda
7474 ((file _)
7475 (install-file (assoc-ref inputs file) ".")))
7476 ',unicode-files))
7477 #t)))))
7478 (native-inputs
7479 `(("desktop-file-utils" ,desktop-file-utils)
7480 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7481 ("gobject-introspection" ,gobject-introspection)
7482 ("intltool" ,intltool)
7483 ("itstool" ,itstool)
7484 ("pkg-config" ,pkg-config)
7485 ,@(map (match-lambda
7486 ((file hash)
7487 `(,file
7488 ,(origin
7489 (method url-fetch)
7490 (uri (string-append
1f8b5515 7491 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
7492 file))
7493 (sha256 (base32 hash))))))
7494 unicode-files)
7495 ("unzip" ,unzip)))
7496 (inputs
7497 `(("gtk+" ,gtk+)
7498 ("xmllint" ,libxml2)))
7499 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7500 (synopsis "Unicode character picker and font browser")
7501 (description
7502 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
7503characters and categories for the installed fonts, and to examine their
7504detailed properties. It is an easy way to find the character you might
7505only know by its Unicode name or code point.")
c60063ea 7506 (license license:gpl3+))))
04ce840a
RS
7507
7508(define-public bluefish
7509 (package
7510 (name "bluefish")
ea8afaf3 7511 (version "2.2.10")
04ce840a
RS
7512 (source
7513 (origin
7514 (method url-fetch)
7515 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7516 name "-" version ".tar.gz"))
7517 (sha256
7518 (base32
ea8afaf3 7519 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
7520 (build-system gnu-build-system)
7521 (native-inputs
7522 `(("desktop-file-utils" ,desktop-file-utils)
7523 ("intltool" ,intltool)
7524 ("pkg-config" ,pkg-config)))
7525 (inputs
7526 `(("enchant" ,enchant)
7527 ("gtk+" ,gtk+)
7528 ("python" ,python-2)
7529 ("xmllint" ,libxml2)
7530 ("gucharmap" ,gucharmap)))
7531 (home-page "http://bluefish.openoffice.nl")
7532 (synopsis "Web development studio")
7533 (description
7534 "Bluefish is an editor targeted towards programmers and web developers,
7535with many options to write web sites, scripts and other code.
7536Bluefish supports many programming and markup languages.")
7537 (license license:gpl3+)))
1f6a73ee
RS
7538
7539(define-public gnome-system-monitor
7540 (package
7541 (name "gnome-system-monitor")
85fb3df3 7542 (version "3.30.0")
1f6a73ee
RS
7543 (source
7544 (origin
7545 (method url-fetch)
7546 (uri (string-append "mirror://gnome/sources/" name "/"
7547 (version-major+minor version) "/"
7548 name "-" version ".tar.xz"))
7549 (sha256
7550 (base32
85fb3df3
RW
7551 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7552 (build-system meson-build-system)
7553 (arguments
7554 '(#:glib-or-gtk? #t
7555 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
7556 (native-inputs
7557 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 7558 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
7559 ("intltool" ,intltool)
7560 ("itstool" ,itstool)
7561 ("libgtop" ,libgtop)
4985d9aa 7562 ("polkit" ,polkit)
1f6a73ee
RS
7563 ("pkg-config" ,pkg-config)))
7564 (inputs
7565 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7566 ("gtk+" ,gtk+)
7567 ("gtkmm" ,gtkmm)
7568 ("librsvg" ,librsvg)
4985d9aa
RW
7569 ("libxml2" ,libxml2)
7570 ("libwnck" ,libwnck)))
1f6a73ee
RS
7571 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7572 (synopsis "Process viewer and system resource monitor for GNOME")
7573 (description
7574 "GNOME System Monitor is a GNOME process viewer and system monitor with
7575an attractive, easy-to-use interface. It has features, such as a tree view
7576for process dependencies, icons for processes, the ability to hide processes,
7577graphical time histories of CPU/memory/swap usage and the ability to
7578kill/reinice processes.")
7579 (license license:gpl2+)))
3e00ac47
SB
7580
7581(define-public python-pyatspi
7582 (package
7583 (name "python-pyatspi")
84548bd7 7584 (version "2.26.0")
3e00ac47
SB
7585 (source (origin
7586 (method url-fetch)
7587 (uri (string-append
7588 "mirror://gnome/sources/pyatspi/"
7589 (version-major+minor version)
7590 "/pyatspi-" version ".tar.xz"))
7591 (sha256
7592 (base32
b95af3f6
JL
7593 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7594 ;; Patch from upstream, fixed in newer versions.
7595 (patches (search-patches "python-pyatspi-python-37.patch"))))
3e00ac47 7596 (build-system gnu-build-system)
b95af3f6
JL
7597 (arguments
7598 `(#:phases
7599 (modify-phases %standard-phases
7600 (add-before 'build 'fix-atk-load
7601 (lambda _
7602 (substitute* "pyatspi/__init__.py"
7603 (("from gi.repository import Atspi")
7604 "gi.require_version('Gtk', '3.0')
7605from gi.repository import Gtk
7606from gi.repository import Atspi"))
7607 #t)))))
3e00ac47
SB
7608 (native-inputs
7609 `(("pkg-config" ,pkg-config)))
7610 (inputs
7611 `(("python" ,python)
7612 ("python-pygobject" ,python-pygobject)))
7613 (synopsis "Python client bindings for D-Bus AT-SPI")
7614 (home-page "https://wiki.linuxfoundation.org/accessibility\
7615/atk/at-spi/at-spi_on_d-bus")
7616 (description
7617 "This package includes a python client library for the AT-SPI D-Bus
7618accessibility infrastructure.")
7619 (license license:lgpl2.0)
7620 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
7621
7622(define-public orca
7623 (package
7624 (name "orca")
ef9b7d4c 7625 (version "3.30.2")
53201c0d
SB
7626 (source (origin
7627 (method url-fetch)
7628 (uri (string-append
7629 "mirror://gnome/sources/" name "/"
7630 (version-major+minor version) "/"
7631 name "-" version ".tar.xz"))
7632 (sha256
7633 (base32
ef9b7d4c 7634 "17asibc46i5gr2fw04jvvdi85zzmxwlnhyq7r6cr3m5prrdr8a53"))))
53201c0d
SB
7635 (build-system glib-or-gtk-build-system)
7636 (arguments
7637 '(#:phases
7638 (modify-phases %standard-phases
7639 (add-before 'configure 'qualify-xkbcomp
7640 (lambda* (#:key inputs #:allow-other-keys)
7641 (let ((xkbcomp (string-append
7642 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7643 (substitute* "src/orca/orca.py"
7644 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7645 #t))
7646 (add-after 'install 'wrap-orca
7647 (lambda* (#:key outputs #:allow-other-keys)
7648 (let* ((out (assoc-ref outputs "out"))
7649 (prog (string-append out "/bin/orca")))
7650 (wrap-program prog
7651 `("GI_TYPELIB_PATH" ":" prefix
7652 (,(getenv "GI_TYPELIB_PATH")))
7653 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7654 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7655 `("PYTHONPATH" ":" prefix
7656 (,(getenv "PYTHONPATH")))))
7657 #t)))))
7658 (native-inputs
7659 `(("intltool" ,intltool)
7660 ("itstool" ,itstool)
7661 ("pkg-config" ,pkg-config)
7662 ("xmllint" ,libxml2)))
7663 (inputs
7664 `(("at-spi2-atk" ,at-spi2-atk)
7665 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7666 ("gstreamer" ,gstreamer)
7667 ("gst-plugins-base" ,gst-plugins-base)
7668 ("gst-plugins-good" ,gst-plugins-good)
7669 ("gtk+" ,gtk+)
7670 ("python" ,python)
7671 ("python-pygobject" ,python-pygobject)
7672 ("python-pyatspi" ,python-pyatspi)
7673 ("python-speechd" ,speech-dispatcher)
7674 ("xkbcomp" ,xkbcomp)))
7675 (synopsis
7676 "Screen reader for individuals who are blind or visually impaired")
7677 (home-page "https://wiki.gnome.org/Projects/Orca")
7678 (description
7679 "Orca is a screen reader that provides access to the graphical desktop
7680via speech and refreshable braille. Orca works with applications and toolkits
7681that support the Assistive Technology Service Provider Interface (AT-SPI).")
7682 (license license:lgpl2.1+)))
411ba511
LC
7683
7684(define-public gspell
7685 (package
7686 (name "gspell")
7a6bbe9b 7687 (version "1.8.2")
411ba511
LC
7688 (source (origin
7689 (method url-fetch)
7690 (uri (string-append "mirror://gnome/sources/" name "/"
7691 (version-major+minor version) "/"
7692 name "-" version ".tar.xz"))
7693 (sha256
7694 (base32
7a6bbe9b 7695 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
411ba511
LC
7696 (patches (search-patches "gspell-dash-test.patch"))))
7697 (build-system glib-or-gtk-build-system)
7698 (arguments
7699 '(#:phases
7700 (modify-phases %standard-phases
7701 (add-before 'check 'pre-check
7702 (lambda* (#:key inputs #:allow-other-keys)
7703 ;; Tests require a running X server.
7704 (system "Xvfb :1 &")
7705 (setenv "DISPLAY" ":1")
7706
7707 ;; For the missing /etc/machine-id.
7708 (setenv "DBUS_FATAL_WARNINGS" "0")
7709
7710 ;; Allow Enchant and its Aspell backend to find the en_US
7711 ;; dictionary.
7712 (setenv "ASPELL_DICT_DIR"
7713 (string-append (assoc-ref inputs "aspell-dict-en")
7714 "/lib/aspell"))
7715 #t)))))
7716 (inputs
eccd35be 7717 `(("gtk+" ,gtk+)
a801ae4c
TGR
7718 ("glib" ,glib)
7719 ("iso-codes" ,iso-codes)))
411ba511
LC
7720 (native-inputs
7721 `(("glib" ,glib "bin")
7722 ("pkg-config" ,pkg-config)
7723 ("xmllint" ,libxml2)
7724
7725 ;; For tests.
a801ae4c
TGR
7726 ("aspell-dict-en" ,aspell-dict-en)
7727 ("xorg-server" ,xorg-server)))
eccd35be 7728 (propagated-inputs
9b1bb757 7729 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
7730 (home-page "https://wiki.gnome.org/Projects/gspell")
7731 (synopsis "GNOME's alternative spell checker")
7732 (description
7733 "gspell provides a flexible API to add spell-checking to a GTK+
7734application. It provides a GObject API, spell-checking to text entries and
7735text views, and buttons to choose the language.")
7736 (license license:gpl2+)))
d1d739fa
CM
7737
7738(define-public gnome-planner
7739 (package
7740 (name "gnome-planner")
7741 (version "0.14.6")
7742 (source (origin
7743 (method url-fetch)
7744 (uri (string-append "mirror://gnome/sources/planner/"
7745 (version-major+minor version) "/planner-"
7746 version ".tar.xz"))
7747 (sha256
7748 (base32
7749 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7750 (build-system glib-or-gtk-build-system)
7751 (arguments
7752 ;; Disable the Python bindings because the Planner program functions
7753 ;; without them, and (as of 2017-06-13) we have not packaged all of
7754 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
7755 `(#:configure-flags
7756 (list "--disable-python"
7757 ,@(if (string=? "aarch64-linux" (%current-system))
7758 '("--build=aarch64-unknown-linux-gnu")
7759 '()))))
d1d739fa
CM
7760 (inputs
7761 `(("libgnomecanvas" ,libgnomecanvas)
7762 ("libgnomeui" ,libgnomeui)
7763 ("libglade" ,libglade)
7764 ("gnome-vfs" ,gnome-vfs)
7765 ("gconf" ,gconf)
7766 ("libxml2" ,libxml2)
7767 ("libxslt" ,libxslt)
7768 ("gtk+" ,gtk+)
7769 ("glib" ,glib)))
7770 (native-inputs
7771 `(("intltool" ,intltool)
7772 ("scrollkeeper" ,scrollkeeper)
7773 ("pkg-config" ,pkg-config)))
7774 (home-page "https://wiki.gnome.org/Apps/Planner")
7775 (synopsis "Project management software for the GNOME desktop")
7776 (description
7777 "GNOME Planner is a project management tool based on the Work Breakdown
7778Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7779the resources, tasks, and constraints that you define, Planner generates
7780various views into a project. For example, Planner can show a Gantt chart of
7781the project. It can show a detailed summary of tasks including their
7782duration, cost, and current progress. It can also show a report of resource
7783utilization that highlights under-utilized and over-utilized resources. These
7784views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 7785 (license license:gpl2+)))
64fce637
RS
7786
7787(define-public lollypop
7788 (package
7789 (name "lollypop")
d029afdd 7790 (version "1.1.3.1")
64fce637
RS
7791 (source
7792 (origin
7793 (method url-fetch)
b98eace8 7794 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
d029afdd 7795 "5a7cd7c72b6d83ae08d0c54c4691f9df/"
64fce637
RS
7796 name "-" version ".tar.xz"))
7797 (sha256
7798 (base32
d029afdd 7799 "1r5wn0bja9psz6nr1rcaysdkkwz84rbyzpdfw66cxa6wiy52pkjm"))))
aa498fc0 7800 (build-system meson-build-system)
64fce637
RS
7801 (arguments
7802 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
7803 ,@%meson-build-system-modules)
7804 #:glib-or-gtk? #t
5fc9b6c1
EF
7805 #:tests? #f ; no test suite
7806 #:phases
7807 (modify-phases %standard-phases
5fc9b6c1
EF
7808 (add-after 'install 'wrap-program
7809 (lambda* (#:key outputs #:allow-other-keys)
7810 (let ((out (assoc-ref outputs "out"))
7811 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7812 (wrap-program (string-append out "/bin/lollypop")
7813 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7814 #t))
7815 (add-after 'install 'wrap
7816 (@@ (guix build python-build-system) wrap)))))
64fce637
RS
7817 (native-inputs
7818 `(("intltool" ,intltool)
7819 ("itstool" ,itstool)
aa498fc0
TD
7820 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7821 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
7822 ("pkg-config" ,pkg-config)))
7823 (inputs
7824 `(("gobject-introspection" ,gobject-introspection)
5fc9b6c1 7825 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
7826 ("libnotify" ,libnotify)
7827 ("libsecret" ,libsecret)
7828 ("libsoup" ,libsoup)
7829 ("python" ,python)
7830 ("python-beautifulsoup4" ,python-beautifulsoup4)
7831 ("python-gst" ,python-gst)
d029afdd 7832 ("python-pil" ,python-pillow)
64fce637
RS
7833 ("python-pycairo" ,python-pycairo)
7834 ("python-pygobject" ,python-pygobject)
7835 ("python-pylast" ,python-pylast)
7836 ("totem-pl-parser" ,totem-pl-parser)
7837 ("webkitgtk" ,webkitgtk)))
7838 (propagated-inputs
7839 `(;; gst-plugins-base is required to start Lollypop,
7840 ;; the others are required to play streaming.
64fce637
RS
7841 ("gst-plugins-good" ,gst-plugins-good)
7842 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 7843 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
7844 (synopsis "GNOME music playing application")
7845 (description
7846 "Lollypop is a music player designed to play well with GNOME desktop.
7847Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7848from artists and tracks from the web. It also fetches cover artworks
7849automatically and it can stream songs from online music services and charts.")
7850 (license license:gpl3+)))
d831d49d
AW
7851
7852(define-public gnome-video-effects
7853 (package
7854 (name "gnome-video-effects")
7855 (version "0.4.3")
7856 (source (origin
7857 (method url-fetch)
7858 (uri (string-append "mirror://gnome/sources/" name "/"
7859 (version-major+minor version) "/" name "-"
7860 version ".tar.xz"))
7861 (sha256
7862 (base32
7863 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7864 (build-system glib-or-gtk-build-system)
7865 (arguments
7866 `(#:out-of-source? #f))
7867 (native-inputs
7868 `(("glib:bin" ,glib "bin")
7869 ("intltool" ,intltool)
7870 ("gettext" ,gettext-minimal)
7871 ("pkg-config" ,pkg-config)))
7872 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7873 (synopsis "Video effects for Cheese and other GNOME applications")
7874 (description
7875 "A collection of GStreamer video filters and effects to be used in
7876photo-booth-like software, such as Cheese.")
7877 (license license:gpl2+)))
3511c780
AW
7878
7879(define-public cheese
7880 (package
7881 (name "cheese")
00b14dbb 7882 (version "3.30.0")
3511c780
AW
7883 (source (origin
7884 (method url-fetch)
7885 (uri (string-append "mirror://gnome/sources/" name "/"
7886 (version-major+minor version) "/" name "-"
7887 version ".tar.xz"))
7888 (sha256
7889 (base32
00b14dbb 7890 "0zz2bgjaf2lsmfs3zn24925vbjb0rycr39i288brlbzixrpcyljr"))))
3511c780
AW
7891 (arguments
7892 ;; Tests require GDK.
7893 `(#:tests? #f
7894 #:phases
7895 (modify-phases %standard-phases
7896 (add-before 'install 'skip-gtk-update-icon-cache
7897 (lambda _
7898 ;; Don't create 'icon-theme.cache'
7899 (substitute* "Makefile"
7900 (("gtk-update-icon-cache") (which "true")))
7901 #t))
7902 (add-after 'install 'wrap-cheese
7903 (lambda* (#:key inputs outputs #:allow-other-keys)
7904 (let ((out (assoc-ref outputs "out"))
7905 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7906 (wrap-program (string-append out "/bin/cheese")
7907 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7908 #t)))))
7909 (build-system glib-or-gtk-build-system)
7910 (native-inputs
7911 `(("glib:bin" ,glib "bin")
7912 ("intltool" ,intltool)
7913 ("itstool" ,itstool)
7914 ("libxml2" ,libxml2)
7915 ("pkg-config" ,pkg-config)
7916 ("vala" ,vala)))
7917 (propagated-inputs
6a19f03e
RW
7918 `(("gnome-video-effects" ,gnome-video-effects)
7919 ("clutter" ,clutter)
3511c780
AW
7920 ("clutter-gst" ,clutter-gst)
7921 ("clutter-gtk" ,clutter-gtk)
6a19f03e 7922 ("libcanberra" ,libcanberra)
3511c780
AW
7923 ("gdk-pixbuf" ,gdk-pixbuf)
7924 ("glib" ,glib)
6a19f03e
RW
7925 ("gstreamer" ,gstreamer)))
7926 (inputs
7927 `(("gnome-desktop" ,gnome-desktop)
3511c780 7928 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
7929 ("gst-plugins-base" ,gst-plugins-base)
7930 ("gst-plugins-bad" ,gst-plugins-bad)
7931 ("gtk+" ,gtk+)
3511c780
AW
7932 ("libx11" ,libx11)
7933 ("libxtst" ,libxtst)))
7934 (home-page "https://wiki.gnome.org/Apps/Cheese")
7935 (synopsis "Webcam photo booth software for GNOME")
7936 (description
7937 "Cheese uses your webcam to take photos and videos. Cheese can also
7938apply fancy special effects and lets you share the fun with others.")
7939 (license license:gpl2+)))
3c5dbd2b 7940
7941(define-public sound-juicer
7942 (package
7943 (name "sound-juicer")
7944 (version "3.24.0")
7945 (source
7946 (origin
7947 (method url-fetch)
7948 (uri (string-append "mirror://gnome/sources/" name "/"
7949 (version-major+minor version) "/"
7950 name "-" version ".tar.xz"))
7951 (sha256
7952 (base32
7953 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7954 (build-system glib-or-gtk-build-system)
7955 (native-inputs
7956 `(("desktop-file-utils" ,desktop-file-utils)
7957 ("intltool" ,intltool)
7958 ("itstool" ,itstool)
7959 ("pkg-config" ,pkg-config)
7960 ("xmllint" ,libxml2)))
7961 (inputs
7962 `(("gtk+" ,gtk+)
7963 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7964 ("gstreamer" ,gstreamer)
7965 ("gst-plugins-base" ,gst-plugins-base)
7966 ("gst-plugins-good" ,gst-plugins-good)
7967 ("iso-codes" ,iso-codes)
7968 ("libbrasero-media3" ,brasero)
7969 ("libcanberra" ,libcanberra)
7970 ("libdiscid" ,libdiscid)
7971 ("libmusicbrainz" ,libmusicbrainz)
7972 ("neon" ,neon)))
7973 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7974 (synopsis "Audio music cd ripper")
7975 (description "Sound Juicer extracts audio from compact discs and convert it
7976into audio files that a personal computer or digital audio player can play.
7977It supports ripping to any audio codec supported by a GStreamer plugin, such as
7978mp3, Ogg Vorbis and FLAC")
7979 (license license:gpl2+)))
4e3fdeb7 7980
0d3f1708
CB
7981(define-public soundconverter
7982 (package
7983 (name "soundconverter")
fa75a213 7984 (version "3.0.1")
0d3f1708
CB
7985 (source
7986 (origin
7987 (method url-fetch)
7988 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7989 version "/+download/"
7990 "soundconverter-" version ".tar.xz"))
7991
7992 (sha256
fa75a213 7993 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
7994 (patches
7995 (search-patches
7996 "soundconverter-remove-gconf-dependency.patch"))))
7997 (build-system glib-or-gtk-build-system)
7998 (arguments
7999 `(#:imported-modules ((guix build python-build-system)
8000 (guix build glib-or-gtk-build-system)
8001 ,@%gnu-build-system-modules)
8002
8003 #:modules ((guix build glib-or-gtk-build-system)
8004 (guix build utils)
8005 ((guix build gnu-build-system) #:prefix gnu:)
8006 ((guix build python-build-system) #:prefix python:))
8007
8008 #:phases
8009 (modify-phases %standard-phases
0d3f1708
CB
8010 (add-after 'install 'wrap-soundconverter-for-python
8011 (assoc-ref python:%standard-phases 'wrap))
8012 (add-after 'install 'wrap-soundconverter
8013 (lambda* (#:key inputs outputs #:allow-other-keys)
8014 (let ((out (assoc-ref outputs "out"))
8015 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8016 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8017 (wrap-program (string-append out "/bin/soundconverter")
8018 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8019 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8020 #t)))))
8021 (native-inputs
8022 `(("intltool" ,intltool)
8023 ("pkg-config" ,pkg-config)
8024 ("glib:bin" ,glib "bin")))
8025 (inputs
8026 `(("gtk+" ,gtk+)
8027 ("python" ,python)
8028 ("python-pygobject" ,python-pygobject)
8029 ("gstreamer" ,gstreamer)
8030 ("gst-plugins-base" ,gst-plugins-base)))
8031 (home-page "http://soundconverter.org/")
8032 (synopsis "Convert between audio formats with a graphical interface")
8033 (description
8034 "SoundConverter supports converting between many audio formats including
8035Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
8036configurable file renaming. ")
8037 (license license:gpl3)))
8038
4e3fdeb7 8039(define-public workrave
89f2d736
TGR
8040 (package
8041 (name "workrave")
aa51d92c 8042 (version "1.10.34")
89f2d736
TGR
8043 (source
8044 (origin
8045 (method git-fetch)
8046 (uri (git-reference
8047 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
8048 (commit (string-append "v" (string-map
8049 (match-lambda (#\. #\_) (chr chr))
8050 version)))))
89f2d736
TGR
8051 (file-name (git-file-name name version))
8052 (sha256
aa51d92c 8053 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 8054 (build-system glib-or-gtk-build-system)
d1c96847
MC
8055 (inputs `(("glib" ,glib)
8056 ("gtk+" ,gtk+)
8057 ("gdk-pixbuf" ,gdk-pixbuf)
8058 ("gtkmm" ,gtkmm)
8059 ("glibmm" ,glibmm)
8060 ("libx11" ,libx11)
8061 ("libxtst" ,libxtst)
8062 ("dconf" ,dconf)
8063 ("libice" ,libice)
8064 ("libsm" ,libsm)
8065 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 8066 (native-inputs `(("boost" ,boost)
89f2d736
TGR
8067 ("pkg-config" ,pkg-config)
8068 ("gettext" ,gnu-gettext)
8069 ("autoconf" ,autoconf)
8070 ("autoconf-archive" , autoconf-archive)
8071 ("automake" ,automake)
8072 ("libtool" ,libtool)
8073 ("intltool" ,intltool)
89f2d736 8074 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
8075 ("python3" ,python-3)
8076 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
8077 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8078 (description
8079 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
8080repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8081micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
8082 (home-page "http://www.workrave.org")
8083 (license license:gpl3+)))
312afa7d
LC
8084
8085(define-public ghex
8086 (package
8087 (name "ghex")
8088 (version "3.18.3")
8089 (source (origin
8090 (method url-fetch)
2fbab848 8091 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 8092 (version-major+minor version) "/"
2fbab848 8093 "ghex-" version ".tar.xz"))
312afa7d
LC
8094 (sha256
8095 (base32
8096 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
8097 (build-system glib-or-gtk-build-system)
8098 (native-inputs
8099 `(("pkg-config" ,pkg-config)
8100 ("gnome-common" ,gnome-common)
8101 ("which" ,which)
8102 ("intltool" ,intltool)
8103 ("yelp-tools" ,yelp-tools)
2fbab848 8104 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
8105 (inputs
8106 `(("atk" ,atk)
8107 ("gtk" ,gtk+)))
8108 (synopsis "GNOME hexadecimal editor")
8109 (description "The GHex program can view and edit files in two ways:
8110hexadecimal or ASCII. It is useful for editing binary files in general.")
8111 (home-page "https://wiki.gnome.org/Apps/Ghex")
8112 (license license:gpl2)))
4b2ed6c2
RW
8113
8114(define-public libdazzle
8115 (package
8116 (name "libdazzle")
64fa66ba 8117 (version "3.33.90")
4b2ed6c2
RW
8118 (source (origin
8119 (method url-fetch)
687b4909 8120 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 8121 (version-major+minor version) "/"
687b4909 8122 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
8123 (sha256
8124 (base32
64fa66ba 8125 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
8126 (build-system meson-build-system)
8127 (arguments
8128 `(#:phases
8129 (modify-phases %standard-phases
4b2ed6c2
RW
8130 (add-before 'check 'pre-check
8131 (lambda _
8132 ;; Tests require a running X server.
8133 (system "Xvfb :1 &")
8134 (setenv "DISPLAY" ":1")
8135 #t)))))
8136 (native-inputs
687b4909 8137 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 8138 ("pkg-config" ,pkg-config)
687b4909 8139 ;; For tests.
4b2ed6c2
RW
8140 ("xorg-server" ,xorg-server)))
8141 (inputs
8142 `(("glib" ,glib)
8143 ("gobject-introspection" ,gobject-introspection)
8144 ("gtk+" ,gtk+)
8145 ("vala" ,vala)))
8146 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8147 (synopsis "Companion library to GObject and Gtk+")
8148 (description "The libdazzle library is a companion library to GObject and
8149Gtk+. It provides various features that the authors wish were in the
8150underlying library but cannot for various reasons. In most cases, they are
8151wildly out of scope for those libraries. In other cases, they are not quite
8152generic enough to work for everyone.")
8153 (license license:gpl3+)))
7d3bb433
RW
8154
8155(define-public evolution
8156 (package
8157 (name "evolution")
5229bea1 8158 (version "3.30.5")
7d3bb433
RW
8159 (source (origin
8160 (method url-fetch)
8161 (uri (string-append "mirror://gnome/sources/evolution/"
8162 (version-major+minor version) "/"
8163 "evolution-" version ".tar.xz"))
8164 (sha256
8165 (base32
5229bea1 8166 "1hhxj3rh921pp3l3c5k33bdypcas1p66krzs65k1qn82c5fpgl2h"))))
7d3bb433
RW
8167 (build-system cmake-build-system)
8168 (arguments
5229bea1
KK
8169 `(#:imported-modules (,@%cmake-build-system-modules
8170 (guix build glib-or-gtk-build-system))
8171 #:modules ((guix build cmake-build-system)
8172 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8173 (guix build utils))
8174 #:configure-flags
7d3bb433 8175 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 8176 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 8177 ; in four years and cannot be built.
5229bea1
KK
8178 #:phases
8179 (modify-phases %standard-phases
8180 ;; The build system attempts to install user interface modules to the
8181 ;; output directory of the "evolution-data-server" package. This
8182 ;; change redirects that change.
8183 (add-after 'unpack 'patch-ui-module-dir
8184 (lambda* (#:key outputs #:allow-other-keys)
8185 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
8186 (("\\$\\{edsuimoduledir\\}")
8187 (string-append (assoc-ref outputs "out")
8188 "/lib/evolution-data-server/ui-modules")))
8189 #t))
8190 (add-after 'install 'glib-or-gtk-compile-schemas
8191 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
8192 (add-after 'install 'glib-or-gtk-wrap
8193 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 8194 (native-inputs
ad6e168b 8195 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
8196 ("pkg-config" ,pkg-config)
8197 ("intltool" ,intltool)
8198 ("itstool" ,itstool)))
8199 (inputs
8200 `(("enchant" ,enchant)
8201 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8202 ("gcr" ,gcr)
ad6e168b 8203 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
8204 ("gnome-autoar" ,gnome-autoar)
8205 ("gnome-desktop" ,gnome-desktop)
8206 ("gtkspell3" ,gtkspell3)
8207 ("highlight" ,highlight)
8208 ("libcanberra" ,libcanberra)
b63c06f1 8209 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
8210 ("libgweather" ,libgweather)
8211 ("libnotify" ,libnotify)
8212 ("libsoup" ,libsoup)
8213 ("nss" ,nss)
8214 ("openldap" ,openldap)
8215 ("webkitgtk" ,webkitgtk)
8216 ("ytnef" ,ytnef)))
8217 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8218 (synopsis "Manage your email, contacts and schedule")
8219 (description "Evolution is a personal information management application
8220that provides integrated mail, calendaring and address book
8221functionality.")
8222 ;; See COPYING for details.
23dbe621 8223 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 8224 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 8225 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
8226
8227(define-public gthumb
8228 (package
8229 (name "gthumb")
f99bc1af 8230 (version "3.8.1")
169d63f5
AT
8231 (source (origin
8232 (method url-fetch)
8233 (uri (string-append "mirror://gnome/sources/gthumb/"
8234 (version-major+minor version) "/"
8235 "gthumb-" version ".tar.xz"))
8236 (sha256
8237 (base32
f99bc1af 8238 "184zn79w4s9y1zy42ar31p3jsg8rmkxy8k6iry51nz8aizbcs7jb"))))
169d63f5
AT
8239 (build-system meson-build-system)
8240 (arguments
8241 `(#:glib-or-gtk? #t
8242 #:configure-flags
8243 ;; Ensure the RUNPATH contains all installed library locations.
8244 (list (string-append "-Dc_link_args=-Wl,-rpath="
8245 (assoc-ref %outputs "out")
8246 "/lib/gthumb/extensions")
8247 (string-append "-Dcpp_link_args=-Wl,-rpath="
8248 (assoc-ref %outputs "out")
8249 "/lib/gthumb/extensions"))))
8250 (native-inputs
8251 `(("pkg-config" ,pkg-config)
8252 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8253 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8254 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8255 ("intltool" ,intltool)
8256 ("itstool" ,itstool)))
8257 (inputs
8258 `(("exiv2" ,exiv2)
8259 ("gtk" ,gtk+)
8260 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8261 ("gstreamer" ,gstreamer)
8262 ("clutter" ,clutter)
8263 ("clutter-gst" ,clutter-gst)
8264 ("clutter-gtk" ,clutter-gtk)
8265 ("libjpeg" ,libjpeg)
8266 ("libtiff" ,libtiff)
8267 ("libraw" ,libraw)))
8268 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8269 (synopsis "GNOME image viewer and browser")
8270 (description "GThumb is an image viewer, browser, organizer, editor and
8271advanced image management tool")
8272 (license license:gpl2+)))
08be02be
AT
8273
8274(define-public terminator
8275 (package
8276 (name "terminator")
8277 (version "1.91")
8278 (source (origin
8279 (method url-fetch)
8280 (uri (string-append "https://launchpad.net/" name "/"
8281 "gtk3/" version "/" "+download/"
8282 name "-" version ".tar.gz"))
8283 (sha256
8284 (base32
8285 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8286 (build-system python-build-system)
8287 (native-inputs
8288 `(("intltool" ,intltool)
8289 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8290 ("gettext" ,gettext-minimal)
8291 ("pkg-config" ,pkg-config)))
8292 (inputs
8293 `(("cairo" ,cairo)
8294 ("gobject-introspection" ,gobject-introspection)
96681d4b 8295 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
8296 ("python2-pycairo" ,python2-pycairo)
8297 ("python2-pygobject" ,python2-pygobject)
8298 ("python2-psutil" ,python2-psutil)
8299 ("vte" ,vte)))
8300 (arguments
96681d4b
TGR
8301 `(#:python ,python-2 ; Python 3 isn't supported
8302 #:imported-modules ((guix build glib-or-gtk-build-system)
8303 ,@%python-build-system-modules)
8304 #:modules ((guix build python-build-system)
8305 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8306 (guix build utils))
08be02be
AT
8307 #:phases
8308 (modify-phases %standard-phases
8309 (add-after
8310 'install 'wrap-program
8311 (lambda* (#:key outputs #:allow-other-keys)
8312 (let ((prog (string-append (assoc-ref outputs "out")
8313 "/bin/terminator")))
8314 (wrap-program prog
8315 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8316 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
8317 #t)))
8318 (add-after 'wrap-program 'glib-or-gtk-wrap
8319 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
8320 (home-page "https://gnometerminator.blogspot.com/")
8321 (synopsis "Store and run multiple GNOME terminals in one window")
8322 (description
8323 "Terminator allows you to run multiple GNOME terminals in a grid and
8324+tabs, and it supports drag and drop re-ordering of terminals.")
8325 (license license:gpl2)))
213315d4
JF
8326
8327(define-public libhandy
8328 (package
8329 (name "libhandy")
d41ee146 8330 (version "0.0.11")
213315d4
JF
8331 (source
8332 (origin
8333 (method git-fetch)
8334 (uri (git-reference
8335 (url "https://source.puri.sm/Librem5/libhandy")
8336 (commit (string-append "v" version))))
8337 (file-name (git-file-name name version))
8338 (sha256
d41ee146 8339 (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0"))))
213315d4
JF
8340 (build-system meson-build-system)
8341 (arguments
8342 `(#:configure-flags
8343 '("-Dglade_catalog=disabled"
8344 "-Dgtk_doc=true")
8345 #:phases
8346 (modify-phases %standard-phases
213315d4
JF
8347 (add-before 'check 'pre-check
8348 (lambda _
8349 ;; Tests require a running X server.
8350 (system "Xvfb :1 &")
8351 (setenv "DISPLAY" ":1")
8352 #t)))))
8353 (inputs
8354 `(("gtk+" ,gtk+)))
8355 (native-inputs
8356 `(("glib:bin" ,glib "bin")
8357 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
8358 ("vala" ,vala)
8359 ("gtk-doc" ,gtk-doc)
8360 ("pkg-config" ,pkg-config)
8361 ("gettext" ,gettext-minimal)
d41ee146
TGR
8362 ("xorg-server" ,xorg-server)
8363
8364 ;; Test suite dependencies.
8365 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
8366 (home-page "https://source.puri.sm/Librem5/libhandy")
8367 (synopsis "Library full of GTK+ widgets for mobile phones")
8368 (description "The aim of the handy library is to help with developing user
8369intefaces for mobile devices using GTK+.")
8370 (license license:lgpl2.1+)))
a830d14d
GL
8371
8372(define-public libgit2-glib
8373 (package
8374 (name "libgit2-glib")
8375 (version "0.28.0.1")
8376 (source (origin
8377 (method url-fetch)
8378 (uri (string-append "mirror://gnome/sources/" name "/"
8379 (version-major+minor version) "/"
8380 name "-" version ".tar.xz"))
8381 (sha256
8382 (base32
8383 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
8384 (build-system meson-build-system)
8385 (native-inputs
8386 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
8387 ("gobject-introspection" ,gobject-introspection)
8388 ("intltool" ,intltool)
8389 ("libssh2" ,libssh2)
8390 ("pkg-config" ,pkg-config)
8391 ("python-pygobject" ,python-pygobject)
8392 ("python-wrapper" ,python-wrapper)
8393 ("vala" ,vala)))
8394 (inputs
8395 `(("glib" ,glib)
8396 ("libgit2" ,libgit2)))
8397 (synopsis "GLib wrapper around the libgit2 Git access library")
8398 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
8399access library. It only implements the core plumbing functions, not really the
8400higher level porcelain stuff.")
8401 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
8402 (license license:gpl2+)))
93beace0
DW
8403
8404(define-public gnome-mahjongg
8405 (package
8406 (name "gnome-mahjongg")
8407 (version "3.35.1")
8408 (source (origin
8409 (method git-fetch)
8410 (uri (git-reference
8411 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
8412 (commit version)))
8413 (file-name (git-file-name name version))
8414 (sha256
8415 (base32
8416 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
8417 (build-system meson-build-system)
8418 (arguments
8419 `(#:glib-or-gtk? #t))
8420 (native-inputs
8421 `(("appstream-glib" ,appstream-glib)
8422 ("gettext" ,gettext-minimal)
8423 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
8424 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
8425 ("itstool" ,itstool)
8426 ("pkg-config" ,pkg-config)
8427 ("vala" ,vala)))
8428 (propagated-inputs
8429 `(("dconf" ,dconf)))
8430 (inputs
8431 `(("glib" ,glib)
8432 ("gtk+" ,gtk+)
8433 ("librsvg" ,librsvg)))
8434 (synopsis "Mahjongg tile-matching game")
8435 (description "GNOME Mahjongg is a game based on the classic Chinese
8436tile-matching game Mahjong. It features multiple board layouts, tile themes,
8437and a high score table.")
8438 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
8439 (license license:gpl2+)))