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