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