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