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