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