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