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 ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
38 ;;; This file is part of GNU Guix.
40 ;;; GNU Guix is free software; you can redistribute it and/or modify it
41 ;;; under the terms of the GNU General Public License as published by
42 ;;; the Free Software Foundation; either version 3 of the License, or (at
43 ;;; your option) any later version.
45 ;;; GNU Guix is distributed in the hope that it will be useful, but
46 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
47 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48 ;;; GNU General Public License for more details.
50 ;;; You should have received a copy of the GNU General Public License
51 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
53 (define-module (gnu packages gnome)
54 #:use-module (gnu packages)
55 #:use-module (gnu packages admin)
56 #:use-module (gnu packages aspell)
57 #:use-module (gnu packages autotools)
58 #:use-module (gnu packages avahi)
59 #:use-module (gnu packages backup)
60 #:use-module (gnu packages base)
61 #:use-module (gnu packages bison)
62 #:use-module (gnu packages build-tools)
63 #:use-module (gnu packages calendar)
64 #:use-module (gnu packages cdrom)
65 #:use-module (gnu packages check)
66 #:use-module (gnu packages cmake)
67 #:use-module (gnu packages compression)
68 #:use-module (gnu packages cups)
69 #:use-module (gnu packages curl)
70 #:use-module (gnu packages cyrus-sasl)
71 #:use-module (gnu packages databases)
72 #:use-module (gnu packages dbm)
73 #:use-module (gnu packages djvu)
74 #:use-module (gnu packages dns)
75 #:use-module (gnu packages docbook)
76 #:use-module (gnu packages documentation)
77 #:use-module (gnu packages enchant)
78 #:use-module (gnu packages flex)
79 #:use-module (gnu packages fonts)
80 #:use-module (gnu packages fontutils)
81 #:use-module (gnu packages freedesktop)
82 #:use-module (gnu packages game-development)
83 #:use-module (gnu packages gcc)
84 #:use-module (gnu packages gettext)
85 #:use-module (gnu packages ghostscript)
86 #:use-module (gnu packages gl)
87 #:use-module (gnu packages glib)
88 #:use-module (gnu packages gnupg)
89 #:use-module (gnu packages gnuzilla)
90 #:use-module (gnu packages gperf)
91 #:use-module (gnu packages graphviz)
92 #:use-module (gnu packages gstreamer)
93 #:use-module (gnu packages gtk)
94 #:use-module (gnu packages guile)
95 #:use-module (gnu packages ibus)
96 #:use-module (gnu packages image)
97 #:use-module (gnu packages imagemagick)
98 #:use-module (gnu packages inkscape)
99 #:use-module (gnu packages iso-codes)
100 #:use-module (gnu packages kerberos)
101 #:use-module (gnu packages libcanberra)
102 #:use-module (gnu packages libunistring)
103 #:use-module (gnu packages libusb)
104 #:use-module (gnu packages linux)
105 #:use-module (gnu packages lirc)
106 #:use-module (gnu packages lua)
107 #:use-module (gnu packages mail)
108 #:use-module (gnu packages multiprecision)
109 #:use-module (gnu packages music)
110 #:use-module (gnu packages ncurses)
111 #:use-module (gnu packages nettle)
112 #:use-module (gnu packages networking)
113 #:use-module (gnu packages ninja)
114 #:use-module (gnu packages openldap)
115 #:use-module (gnu packages password-utils)
116 #:use-module (gnu packages pcre)
117 #:use-module (gnu packages pdf)
118 #:use-module (gnu packages perl)
119 #:use-module (gnu packages photo)
120 #:use-module (gnu packages pkg-config)
121 #:use-module (gnu packages polkit)
122 #:use-module (gnu packages popt)
123 #:use-module (gnu packages pulseaudio)
124 #:use-module (gnu packages python)
125 #:use-module (gnu packages python-crypto)
126 #:use-module (gnu packages python-web)
127 #:use-module (gnu packages python-xyz)
128 #:use-module (gnu packages rdesktop)
129 #:use-module (gnu packages readline)
130 #:use-module (gnu packages ruby)
131 #:use-module (gnu packages rust)
132 #:use-module (gnu packages samba)
133 #:use-module (gnu packages scanner)
134 #:use-module (gnu packages selinux)
135 #:use-module (gnu packages slang)
136 #:use-module (gnu packages speech)
137 #:use-module (gnu packages spice)
138 #:use-module (gnu packages sqlite)
139 #:use-module (gnu packages ssh)
140 #:use-module (gnu packages tex)
141 #:use-module (gnu packages time)
142 #:use-module (gnu packages tls)
143 #:use-module (gnu packages version-control)
144 #:use-module (gnu packages video)
145 #:use-module (gnu packages virtualization)
146 #:use-module (gnu packages vpn)
147 #:use-module (gnu packages web)
148 #:use-module (gnu packages web)
149 #:use-module (gnu packages webkit)
150 #:use-module (gnu packages xdisorg)
151 #:use-module (gnu packages xiph)
152 #:use-module (gnu packages xml)
153 #:use-module (gnu packages xorg)
154 #:use-module (gnu packages xorg)
155 #:use-module (gnu artwork)
156 #:use-module (guix build-system cmake)
157 #:use-module (guix build-system glib-or-gtk)
158 #:use-module (guix build-system gnu)
159 #:use-module (guix build-system meson)
160 #:use-module (guix build-system trivial)
161 #:use-module (guix download)
162 #:use-module (guix git-download)
163 #:use-module ((guix licenses) #:prefix license:)
164 #:use-module (guix packages)
165 #:use-module (guix utils)
166 #:use-module (guix gexp)
167 #:use-module (ice-9 match)
168 #:use-module (srfi srfi-1))
170 (define-public brasero
176 (uri (string-append "mirror://gnome/sources/" name "/"
177 (version-major+minor version) "/"
178 name "-" version ".tar.xz"))
181 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
182 (build-system glib-or-gtk-build-system)
184 `(#:configure-flags (list
185 (string-append "--with-girdir="
186 (assoc-ref %outputs "out")
188 (string-append "--with-typelibdir="
189 (assoc-ref %outputs "out")
190 "/lib/girepository-1.0"))
192 (modify-phases %standard-phases
193 (add-before 'configure 'embed-growisofs
194 (lambda* (#:key inputs #:allow-other-keys)
195 (substitute* "plugins/growisofs/burn-growisofs.c"
196 (("\"growisofs") (string-append "\"" (which "growisofs"))))
199 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
201 `(("intltool" ,intltool)
202 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
203 ("gobject-introspection" ,gobject-introspection)
204 ("pkg-config" ,pkg-config)))
206 `(("dvd+rw-tools" ,dvd+rw-tools)
208 ("gnome-doc-utils" ,gnome-doc-utils)
209 ("gstreamer" ,gstreamer)
210 ("gst-plugins-base" ,gst-plugins-base)
213 ("libcanberra" ,libcanberra)
215 ("libnotify" ,libnotify)
219 ("totem-pl-parser" ,totem-pl-parser)))
220 (home-page "https://projects.gnome.org/brasero/")
221 (synopsis "CD/DVD burning tool for Gnome")
222 (description "Brasero is an application to burn CD/DVD for the Gnome
223 Desktop. It is designed to be as simple as possible and has some unique
224 features to enable users to create their discs easily and quickly.")
225 (license license:gpl2+)))
227 (define-public deja-dup
233 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
236 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
238 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
239 (build-system glib-or-gtk-build-system)
241 `(#:modules ((guix build gnu-build-system)
242 ((guix build cmake-build-system) #:prefix cmake:)
243 (guix build glib-or-gtk-build-system)
245 #:imported-modules (,@%glib-or-gtk-build-system-modules
246 (guix build cmake-build-system))
248 #:configure-flags (list (string-append
249 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
251 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
253 (modify-phases %standard-phases
254 (add-after 'unpack 'patch-lockfile-deletion
256 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
260 (assoc-ref cmake:%standard-phases 'configure))
261 (delete 'check) ;; Fails due to issues with DBus
262 (add-after 'install 'wrap-deja-dup
263 (lambda* (#:key inputs outputs #:allow-other-keys)
264 (let ((python (assoc-ref inputs "python"))
265 (python-path (getenv "PYTHONPATH"))
266 (duplicity (assoc-ref inputs "duplicity"))
267 (out (assoc-ref outputs "out")))
270 (wrap-program program
271 `("PATH" ":" prefix (,(string-append python "/bin")
272 ,(string-append duplicity "/bin"))))
273 (wrap-program program
274 `("PYTHONPATH" ":" prefix (,python-path))))
276 (find-files (string-append out "/bin")))
279 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
280 ("gobject-introspection" ,gobject-introspection)
281 ("duplicity" ,duplicity)
283 ("python-pygobject" ,python2-pygobject)
285 ("libnotify" ,libnotify)
287 ("libsecret" ,libsecret)
288 ("packagekit" ,packagekit)))
290 `(("pkg-config" ,pkg-config)
292 ("gettext" ,gettext-minimal)
294 ("intltool" ,intltool)
296 (home-page "https://launchpad.net/deja-dup")
297 (synopsis "Simple backup tool, for regular encrypted backups")
299 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
300 uses duplicity as the backend, which supports incremental backups and storage
301 either on a local, or remote machine via a number of methods.")
302 (license license:gpl3+)))
305 ;; This version from GNOME's repository includes fixes for compiling with
306 ;; recent versions of the build tools. The latest activity on the
307 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
309 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
312 (version (string-append "0.97.2-" (string-take commit 7)))
316 (url "https://git.gnome.org/browse/dia")
318 (file-name (string-append name "-" version "-checkout"))
321 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
322 (build-system gnu-build-system)
324 `(("glib" ,glib "bin")
326 ("gdk-pixbuf" ,gdk-pixbuf)
329 ("freetype" ,freetype)
330 ("libart-lgpl" ,libart-lgpl)))
332 `(("intltool" ,intltool)
333 ("pkg-config" ,pkg-config)
334 ("automake" ,automake)
335 ("autoconf" ,autoconf)
338 ("python-wrapper" ,python-wrapper)))
341 (modify-phases %standard-phases
342 (add-after 'unpack 'run-autogen
344 (system* "sh" "autogen.sh"))))))
345 (home-page "https://wiki.gnome.org/Apps/Dia")
346 (synopsis "Diagram creation for GNOME")
347 (description "Dia can be used to draw different types of diagrams, and
348 includes support for UML static structure diagrams (class diagrams), entity
349 relationship modeling, and network diagrams. The program supports various file
350 formats like PNG, SVG, PDF and EPS.")
351 (license license:gpl2+))))
353 (define-public libgdata
359 (uri (string-append "mirror://gnome/sources/" name "/"
360 (version-major+minor version) "/"
361 name "-" version ".tar.xz"))
364 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
366 (search-patches "libgdata-fix-tests.patch"
367 "libgdata-glib-duplicate-tests.patch"))))
368 (build-system gnu-build-system)
371 (modify-phases %standard-phases
372 (add-before 'check 'disable-failing-tests
374 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
375 ;; They have been removed in libgdata 0.17.6, so just do the same.
376 (substitute* "gdata/tests/Makefile"
377 (("picasaweb\\$\\(EXEEXT\\) ") ""))
380 `(("glib:bin" ,glib "bin")
381 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
382 ("intltool" ,intltool)
383 ("pkg-config" ,pkg-config)
384 ("uhttpmock" ,uhttpmock)))
386 `(("cyrus-sasl" ,cyrus-sasl)
388 ("glib-networking" ,glib-networking)
389 ("json-glib" ,json-glib)
390 ("libsoup" ,libsoup)))
393 ("gnome-online-accounts" ,gnome-online-accounts)
394 ("liboauth" ,liboauth)
395 ("libxml2" ,libxml2)))
396 (home-page "https://wiki.gnome.org/Projects/libgdata")
397 (synopsis "Library for accessing online service APIs")
399 "libgdata is a GLib-based library for accessing online service APIs using
400 the GData protocol — most notably, Google's services. It provides APIs to
401 access the common Google services, and has full asynchronous support.")
402 (license license:lgpl2.1+)))
404 (define-public libgxps
410 (uri (string-append "mirror://gnome/sources/" name "/"
411 (version-major+minor version) "/"
412 name "-" version ".tar.xz"))
415 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
416 (build-system meson-build-system)
418 `(("gobject-introspection" ,gobject-introspection)
419 ("pkg-config" ,pkg-config)))
422 ("libjpeg" ,libjpeg-turbo)
427 ;; In Requires of libgxps.pc.
430 ("libarchive" ,libarchive)))
431 (home-page "https://wiki.gnome.org/Projects/libgxps")
432 (synopsis "GObject-based library for handling and rendering XPS documents")
434 "libgxps is a GObject-based library for handling and rendering XPS
435 documents. This package also contains binaries that can convert XPS documents
437 (license license:lgpl2.1+)))
439 (define-public gnome-common
441 (name "gnome-common")
446 (uri (string-append "mirror://gnome/sources/" name "/"
447 (version-major+minor version) "/"
448 name "-" version ".tar.xz"))
451 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
452 (build-system gnu-build-system)
453 (home-page "https://www.gnome.org/")
454 (synopsis "Bootstrap GNOME modules built from Git")
455 (description "gnome-common contains various files needed to bootstrap
456 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
457 can be used to configure a source directory checked out from Git and some
458 commonly used macros.")
459 (license license:gpl2+)))
461 (define-public gnome-desktop
463 (name "gnome-desktop")
468 (uri (string-append "mirror://gnome/sources/" name "/"
469 (version-major+minor version) "/"
470 name "-" version ".tar.xz"))
473 "0c439hhpfd9axmv4af6fzhibksh69pnn2nnbghbbqqbwy6zqfl30"))))
474 (build-system gnu-build-system)
477 (modify-phases %standard-phases
478 (add-before 'configure 'patch-path
479 (lambda* (#:key inputs #:allow-other-keys)
480 (let ((libc (assoc-ref inputs "libc")))
481 (substitute* "libgnome-desktop/gnome-languages.c"
483 (string-append "\"" libc "/bin/locale\"")))
486 `(("gobject-introspection" ,gobject-introspection)
488 ("intltool" ,intltool)
489 ("pkg-config" ,pkg-config)
490 ("xmllint" ,libxml2)))
492 ;; Required by gnome-desktop-3.0.pc.
493 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
496 `(("gdk-pixbuf" ,gdk-pixbuf)
498 ("iso-codes" ,iso-codes)
499 ("libseccomp" ,libseccomp)
502 ("libxkbfile" ,libxkbfile)
503 ("libxrandr" ,libxrandr)
504 ("xkeyboard-config" ,xkeyboard-config)))
505 (home-page "https://www.gnome.org/")
507 "Libgnome-desktop, gnome-about, and desktop-wide documents")
509 "The libgnome-desktop library provides API shared by several applications
510 on the desktop, but that cannot live in the platform for various reasons.
511 There is no API or ABI guarantee, although we are doing our best to provide
512 stability. Documentation for the API is available with gtk-doc.
514 The gnome-about program helps find which version of GNOME is installed.")
515 ; Some bits under the LGPL.
516 (license license:gpl2+)))
518 (define-public gnome-doc-utils
520 (name "gnome-doc-utils")
525 (uri (string-append "mirror://gnome/sources/" name "/"
526 (version-major+minor version) "/"
527 name "-" version ".tar.xz"))
530 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
531 (build-system gnu-build-system)
533 `(("intltool" ,intltool)
534 ("docbook-xml" ,docbook-xml-4.4)
535 ("python2-libxml2" ,python2-libxml2)
538 ("pkg-config" ,pkg-config)
539 ("python-2" ,python-2)))
540 (home-page "https://wiki.gnome.org/GnomeDocUtils")
542 "Documentation utilities for the Gnome project")
544 "Gnome-doc-utils is a collection of documentation utilities for the
545 Gnome project. It includes xml2po tool which makes it easier to translate
546 and keep up to date translations of documentation.")
547 (license license:gpl2+))) ; xslt under lgpl
549 (define-public gnome-disk-utility
551 (name "gnome-disk-utility")
555 (uri (string-append "mirror://gnome/sources/" name "/"
556 (version-major+minor version) "/"
557 name "-" version ".tar.xz"))
560 "11ajz4cbsdns81kihd6242b6pwxbw8bkr9qqkf4qnb4kp363a38m"))))
561 (build-system meson-build-system)
563 `(("glib:bin" ,glib "bin")
564 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
565 ("intltool" ,intltool)
566 ("pkg-config" ,pkg-config)
567 ("docbook-xml" ,docbook-xml)
568 ("docbook-xsl" ,docbook-xsl)
570 ("libxslt" ,libxslt)))
573 ("appstream-glib" ,appstream-glib)
574 ("gnome-settings-daemon" ,gnome-settings-daemon)
576 ("libcanberra" ,libcanberra)
577 ("libdvdread" ,libdvdread)
578 ("libnotify" ,libnotify)
579 ("libpwquality" ,libpwquality)
580 ("libsecret" ,libsecret)
582 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
583 (synopsis "Disk management utility for GNOME")
584 (description "Disk management utility for GNOME.")
585 (license license:gpl2+)))
593 (uri (string-append "mirror://gnome/sources/" name "/"
594 (version-major+minor version) "/"
595 name "-" version ".tar.xz"))
598 "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m"))))
599 (build-system gnu-build-system)
602 (modify-phases %standard-phases
603 ;; These fail because /var/lib/dbus/machine-id is not present in the
604 ;; build environment.
605 (add-after 'unpack 'disable-failing-tests
607 (substitute* "gcr/test-system-prompt.c"
608 (("g_test_add") "//")
609 (("return.*") "return 0;"))
611 (add-before 'check 'pre-check
613 ;; Some tests expect to write to $HOME.
614 (setenv "HOME" "/tmp")
618 ("gnupg" ,gnupg) ;called as a child process during tests
619 ("libgcrypt" ,libgcrypt)))
621 `(("python" ,python-2) ;for tests
622 ("pkg-config" ,pkg-config)
624 ("gobject-introspection" ,gobject-introspection)
625 ("intltool" ,intltool)
627 ("xsltproc" ,libxslt)))
628 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
630 `(("p11-kit" ,p11-kit)
633 (home-page "https://www.gnome.org")
634 (synopsis "Libraries for displaying certificates and accessing key stores")
636 "The GCR package contains libraries used for displaying certificates and
637 accessing key stores. It also provides the viewer for crypto files on the
639 (license license:lgpl2.1+)))
641 (define-public libgnome-keyring
643 (name "libgnome-keyring")
647 (uri (string-append "mirror://gnome/sources/" name "/"
648 (version-major+minor version) "/"
649 name "-" version ".tar.xz"))
652 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
653 (build-system gnu-build-system)
655 `(("libgcrypt" ,libgcrypt)
658 `(("pkg-config" ,pkg-config)
660 ("intltool" ,intltool)))
662 ;; Referred to in .h files and .pc.
664 (home-page "https://www.gnome.org")
665 (synopsis "Accessing passwords from the GNOME keyring")
667 "Client library to access passwords from the GNOME keyring.")
669 ;; Though a couple of files are LGPLv2.1+.
670 (license license:lgpl2.0+)))
672 (define-public gnome-keyring
674 (name "gnome-keyring")
678 (uri (string-append "mirror://gnome/sources/" name "/"
679 (version-major+minor version) "/"
680 name "-" version ".tar.xz"))
683 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
684 (build-system gnu-build-system)
686 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
690 (string-append "--with-pkcs11-config="
691 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
692 (string-append "--with-pkcs11-modules="
693 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
695 (modify-phases %standard-phases
696 (add-after 'unpack 'fix-/bin/sh-reference
698 (substitute* "po/Makefile.in.in"
699 (("/bin/sh") (which "sh")))
702 'configure 'fix-docbook
703 (lambda* (#:key inputs #:allow-other-keys)
704 (substitute* "docs/Makefile.am"
705 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
706 (string-append (assoc-ref inputs "docbook-xsl")
707 "/xml/xsl/docbook-xsl-"
708 ,(package-version docbook-xsl)
709 "/manpages/docbook.xsl")))
710 (setenv "XML_CATALOG_FILES"
711 (string-append (assoc-ref inputs "docbook-xml")
712 "/xml/dtd/docbook/catalog.xml"))
713 ;; Rerun the whole thing to avoid version mismatch ("This is
714 ;; Automake 1.15.1, but the definition used by this
715 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
716 ;; use 'autoreconf' because it insists on running 'libtoolize'.
719 (invoke "automake" "-ac"))))))
721 `(("libgcrypt" ,libgcrypt)
722 ("linux-pam" ,linux-pam)
727 `(("pkg-config" ,pkg-config)
729 ("python" ,python-2) ;for tests
730 ("intltool" ,intltool)
731 ("autoconf" ,autoconf)
732 ("automake" ,automake)
733 ("libxslt" ,libxslt) ;for documentation
734 ("docbook-xml" ,docbook-xml-4.2)
735 ("docbook-xsl" ,docbook-xsl)))
736 (home-page "https://www.gnome.org")
737 (synopsis "Daemon to store passwords and encryption keys")
739 "gnome-keyring is a program that keeps passwords and other secrets for
740 users. It is run as a daemon in the session, similar to ssh-agent, and other
741 applications locate it via an environment variable or D-Bus.
743 The program can manage several keyrings, each with its own master password,
744 and there is also a session keyring which is never stored to disk, but
745 forgotten when the session ends.")
746 (license license:lgpl2.1+)))
748 (define-public evince
754 (uri (string-append "mirror://gnome/sources/" name "/"
755 (version-major+minor version) "/"
756 name "-" version ".tar.xz"))
759 "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89"))))
760 (build-system glib-or-gtk-build-system)
762 `(#:configure-flags '("--disable-nautilus")
764 (modify-phases %standard-phases
765 (add-before 'install 'skip-gtk-update-icon-cache
766 ;; Don't create 'icon-theme.cache'.
768 (substitute* "data/Makefile"
769 (("gtk-update-icon-cache") "true"))
772 `(("libarchive" ,libarchive)
774 ("libspectre" ,libspectre)
775 ("djvulibre" ,djvulibre)
776 ("ghostscript" ,ghostscript)
780 ;; Build libkpathsea as a shared library for DVI support.
781 ;; ("libkpathsea" ,texlive-bin)
782 ("gnome-desktop" ,gnome-desktop)
783 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
784 ("libgnome-keyring" ,libgnome-keyring)
785 ("adwaita-icon-theme" ,adwaita-icon-theme)
786 ("gdk-pixbuf" ,gdk-pixbuf)
794 ("shared-mime-info" ,shared-mime-info)
796 ("libcanberra" ,libcanberra)
797 ("libsecret" ,libsecret)
799 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
800 ;; propagated from there.
804 ("dogtail" ,python2-dogtail)))
806 `(("itstool" ,itstool)
807 ("intltool" ,intltool)
809 ("pkg-config" ,pkg-config)
810 ("xmllint" ,libxml2)))
812 "https://www.gnome.org/projects/evince/")
813 (synopsis "GNOME's document viewer")
815 "Evince is a document viewer for multiple document formats. It
816 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
817 of Evince is to replace the multiple document viewers that exist
818 on the GNOME Desktop with a single simple application.")
819 (license license:gpl2+)))
821 (define-public gsettings-desktop-schemas
823 (name "gsettings-desktop-schemas")
828 (uri (string-append "mirror://gnome/sources/" name "/"
829 (version-major+minor version) "/"
830 name "-" version ".tar.xz"))
833 "0rwidacwrxlc54x90h9g3wx2zlisc4vm49vmxi15azmpj1vwvd2c"))))
834 (build-system gnu-build-system)
838 `(("intltool" ,intltool)
839 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
840 ("gobject-introspection" ,gobject-introspection)
841 ("pkg-config" ,pkg-config)))
842 (home-page "https://launchpad.net/gsettings-desktop-schemas")
844 "GNOME settings for various desktop components")
846 "Gsettings-desktop-schemas contains a collection of GSettings schemas
847 for settings shared by various components of the GNOME desktop.")
848 (license license:lgpl2.1+)))
850 (define-public icon-naming-utils
852 (name "icon-naming-utils")
857 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
861 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
862 (build-system gnu-build-system)
865 ("perl-xml-simple" ,perl-xml-simple)))
868 (modify-phases %standard-phases
869 (add-after 'install 'set-load-paths
870 ;; Tell 'icon-name-mapping' where XML::Simple is.
871 (lambda* (#:key outputs #:allow-other-keys)
872 (let* ((out (assoc-ref outputs "out"))
873 (prog (string-append out "/libexec/icon-name-mapping")))
876 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
878 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
880 "Utility to implement the Freedesktop Icon Naming Specification")
882 "To help with the transition to the Freedesktop Icon Naming
883 Specification, the icon naming utility maps the icon names used by the
884 GNOME and KDE desktops to the icon names proposed in the specification.")
885 (license license:lgpl2.1+)))
887 (define-public gnome-icon-theme
889 (name "gnome-icon-theme")
894 (uri (string-append "mirror://gnome/sources/" name "/"
895 (version-major+minor version) "/"
896 name "-" version ".tar.xz"))
899 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
900 (build-system gnu-build-system)
903 ;; Don't create 'icon-theme.cache'.
904 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
905 (true (string-append coreutils "/bin/true")))
906 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
908 `(("icon-naming-utils" ,icon-naming-utils)
909 ("intltool" ,intltool)
910 ("pkg-config" ,pkg-config)))
911 (home-page "https://art.gnome.org/")
915 "Icons for the GNOME desktop.")
916 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
918 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
919 (define-public adwaita-icon-theme
920 (package (inherit gnome-icon-theme)
921 (name "adwaita-icon-theme")
925 (uri (string-append "mirror://gnome/sources/" name "/"
926 (version-major+minor version) "/"
927 name "-" version ".tar.xz"))
930 "0l114ildlb3lz3xymfxxi0wpr2x21rd3cg8slb8jyxynzwfqrbks"))))
932 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
934 (define-public tango-icon-theme
936 (name "tango-icon-theme")
940 (uri (string-append "http://tango.freedesktop.org/releases/"
941 "tango-icon-theme-" version ".tar.bz2"))
944 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
945 (build-system gnu-build-system)
947 `(("icon-naming-utils" ,icon-naming-utils)
948 ("intltool" ,intltool)
949 ("imagemagick" ,imagemagick)
950 ("pkg-config" ,pkg-config)))
951 (home-page "http://tango-project.org/")
952 (synopsis "Tango icon theme")
953 (description "This is an icon theme that follows the Tango visual
955 (license license:public-domain)))
957 (define-public shared-mime-info
959 (name "shared-mime-info")
963 (uri (string-append "https://freedesktop.org/~hadess/"
964 "shared-mime-info-" version ".tar.xz"))
967 "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw"))))
968 (build-system gnu-build-system)
970 ;; The build system appears not to be parallel-safe.
971 '(#:parallel-build? #f))
974 ("libxml2" ,libxml2)))
976 `(("intltool" ,intltool)
977 ("pkg-config" ,pkg-config)))
978 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
979 (synopsis "Database of common MIME types")
981 "The shared-mime-info package contains the core database of common types
982 and the update-mime-database command used to extend it. It requires glib2 to
983 be installed for building the update command. Additionally, it uses intltool
984 for translations, though this is only a dependency for the maintainers. This
985 database is translated at Transifex.")
986 (license license:gpl2+)))
988 (define-public system-config-printer
990 (name "system-config-printer")
995 "https://github.com/zdohnal/system-config-printer/releases/"
997 "/system-config-printer-" version ".tar.xz"))
1000 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
1001 (build-system glib-or-gtk-build-system)
1003 `(#:imported-modules ((guix build python-build-system)
1004 ,@%glib-or-gtk-build-system-modules)
1006 (modify-phases %standard-phases
1007 (add-after 'unpack 'patch-Makefile.am
1009 ;; The Makefile generates some scripts, so set a valid shebang
1010 (substitute* "Makefile.am"
1011 (("/bin/bash") (which "bash")))
1012 (delete-file "configure")
1014 (add-after 'unpack 'patch-docbook-xml
1015 (lambda* (#:key inputs #:allow-other-keys)
1016 ;; Modify the man XML otherwise xmlto tries to access the network
1017 (substitute* "man/system-config-printer.xml"
1018 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1019 (string-append (assoc-ref inputs "docbook-xml")
1020 "/xml/dtd/docbook/")))
1022 (add-after 'install 'wrap-for-python
1023 (@@ (guix build python-build-system) wrap))
1024 (add-after 'install 'wrap
1025 (lambda* (#:key outputs #:allow-other-keys)
1026 (let ((out (assoc-ref outputs "out"))
1027 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1030 (wrap-program program
1031 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1033 (string-append out "/bin/" name))
1034 '("system-config-printer"
1035 "system-config-printer-applet"
1036 "install-printerdriver"
1037 "scp-dbus-service"))))
1040 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1041 ("gobject-introspection" ,gobject-introspection)
1044 ("python-dbus" ,python-dbus)
1045 ("python-pygobject" ,python-pygobject)
1046 ("python-pycups" ,python-pycups)
1047 ("python-requests" ,python-requests)
1048 ("python-pycairo" ,python-pycairo)
1049 ("libnotify" ,libnotify)
1050 ("packagekit" ,packagekit)))
1052 `(("pkg-config" ,pkg-config)
1053 ("desktop-file-utils" ,desktop-file-utils)
1055 ("autoconf" ,autoconf)
1056 ("automake" ,automake)
1057 ("intltool" ,intltool)
1059 ("docbook-xml" ,docbook-xml-4.1.2)
1060 ("docbook-xsl" ,docbook-xsl)
1061 ("libxml2" ,libxml2)))
1062 (home-page "https://github.com/zdohnal/system-config-printer")
1063 (synopsis "CUPS administration tool")
1065 "system-config-printer is a CUPS administration tool. It's written in
1066 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1068 (license license:gpl2+)))
1070 (define-public hicolor-icon-theme
1072 (name "hicolor-icon-theme")
1077 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1078 "hicolor-icon-theme-" version ".tar.xz"))
1081 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1082 (build-system gnu-build-system)
1084 `(#:tests? #f)) ; no check target
1085 (home-page "https://icon-theme.freedesktop.org/releases/")
1087 "Freedesktop icon theme")
1089 "Freedesktop icon theme.")
1090 (license license:gpl2)))
1092 (define-public libnotify
1099 (uri (string-append "mirror://gnome/sources/" name "/"
1100 (version-major+minor version) "/"
1101 name "-" version ".tar.xz"))
1104 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1105 (build-system gnu-build-system)
1107 `(("gdk-pixbuf" ,gdk-pixbuf)
1110 ("libpng" ,libpng)))
1112 `(("pkg-config" ,pkg-config)
1113 ("glib" ,glib "bin")
1114 ("gobject-introspection" ,gobject-introspection)))
1115 (home-page "https://developer-next.gnome.org/libnotify/")
1117 "GNOME desktop notification library")
1119 "Libnotify is a library that sends desktop notifications to a
1120 notification daemon, as defined in the Desktop Notifications spec. These
1121 notifications can be used to inform the user about an event or display
1122 some form of information without getting in the user's way.")
1123 (license license:lgpl2.1+)))
1125 (define-public libpeas
1132 (uri (string-append "mirror://gnome/sources/" name "/"
1133 (version-major+minor version) "/"
1134 name "-" version ".tar.xz"))
1137 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1138 (build-system gnu-build-system)
1143 ("python-pygobject" ,python-pygobject)))
1145 `(("pkg-config" ,pkg-config)
1146 ("glib:bin" ,glib "bin")
1147 ("gobject-introspection" ,gobject-introspection)
1148 ("intltool" ,intltool)))
1150 ;; The .pc file "Requires" gobject-introspection.
1151 `(("gobject-introspection" ,gobject-introspection)))
1152 (home-page "https://wiki.gnome.org/Libpeas")
1153 (synopsis "GObject plugin system")
1155 "Libpeas is a gobject-based plugin engine, targeted at giving every
1156 application the chance to assume its own extensibility. It also has a set of
1157 features including, but not limited to: multiple extension points; on-demand
1158 (lazy) programming language support for C, Python and JS; simplicity of the
1160 (license license:lgpl2.0+)))
1162 (define-public gtkglext
1168 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1169 version "/gtkglext-" version ".tar.gz"))
1171 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1172 (patches (search-patches
1173 "gtkglext-disable-disable-deprecated.patch"))))
1174 (build-system gnu-build-system)
1177 (modify-phases %standard-phases
1178 ;; Fix a collision between a local variable and a definition from
1179 ;; glibc's string.h.
1180 (add-after 'unpack 'fix-collision
1182 (substitute* "gdk/gdkglshapes.c"
1183 ((" index") " triangle_index"))
1185 (inputs `(("gtk+" ,gtk+-2)
1190 (native-inputs `(("pkg-config" ,pkg-config)
1191 ("glib" ,glib "bin")))
1192 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1193 (home-page "https://projects.gnome.org/gtkglext")
1194 (synopsis "OpenGL extension to GTK+")
1195 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1196 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1197 API add-ons to make GTK+ widgets OpenGL-capable.")
1198 (license license:lgpl2.1+)))
1200 (define-public glade3
1206 (uri (string-append "mirror://gnome/sources/" name "/"
1207 (version-major+minor version) "/"
1208 name "-" version ".tar.xz"))
1211 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
1212 (build-system glib-or-gtk-build-system)
1214 `(#:tests? #f ; needs X, GL, and software rendering
1216 (modify-phases %standard-phases
1217 (add-before 'configure 'fix-docbook
1218 (lambda* (#:key inputs #:allow-other-keys)
1219 (substitute* "man/Makefile.in"
1220 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1221 (string-append (assoc-ref inputs "docbook-xsl")
1222 "/xml/xsl/docbook-xsl-"
1223 ,(package-version docbook-xsl)
1224 "/manpages/docbook.xsl")))
1228 ("libxml2" ,libxml2)))
1230 `(("intltool" ,intltool)
1231 ("itstool" ,itstool)
1232 ("libxslt" ,libxslt) ;for xsltproc
1233 ("docbook-xml" ,docbook-xml-4.2)
1234 ("docbook-xsl" ,docbook-xsl)
1235 ("python" ,python-2)
1236 ("pkg-config" ,pkg-config)))
1237 (home-page "https://glade.gnome.org")
1238 (synopsis "GTK+ rapid application development tool")
1239 (description "Glade is a rapid application development (RAD) tool to
1240 enable quick & easy development of user interfaces for the GTK+ toolkit and
1241 the GNOME desktop environment.")
1242 (license license:lgpl2.0+)))
1244 (define-public libcroco
1250 (uri (string-append "mirror://gnome/sources/" name "/"
1251 (version-major+minor version) "/"
1252 name "-" version ".tar.xz"))
1254 (search-patches "libcroco-CVE-2017-7960.patch"
1255 "libcroco-CVE-2017-7961.patch"))
1258 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1259 (build-system gnu-build-system)
1261 `(("pkg-config" ,pkg-config)))
1264 ("libxml2" ,libxml2)
1266 (home-page "https://github.com/GNOME/libcroco")
1267 (synopsis "CSS2 parsing and manipulation library")
1269 "Libcroco is a standalone CSS2 parsing and manipulation library.
1270 The parser provides a low level event driven SAC-like API and a CSS object
1271 model like API. Libcroco provides a CSS2 selection engine and an experimental
1272 XML/CSS rendering engine.")
1275 (license license:lgpl2.1)))
1277 (define-public libgsf
1283 (uri (string-append "mirror://gnome/sources/" name "/"
1284 (version-major+minor version) "/"
1285 name "-" version ".tar.xz"))
1288 "1yk91ccf7z9b8d8ac6vip3gc5c0pkwgabqy6l0pj0kf43l7jrg2w"))))
1289 (build-system gnu-build-system)
1291 `(("intltool" ,intltool)
1292 ("pkg-config" ,pkg-config)))
1294 `(("python" ,python)
1298 `(("gdk-pixbuf" ,gdk-pixbuf)
1300 ("libxml2" ,libxml2)))
1301 (home-page "https://www.gnome.org/projects/libgsf")
1302 (synopsis "GNOME's Structured File Library")
1304 "Libgsf aims to provide an efficient extensible I/O abstraction for
1305 dealing with different structured file formats.")
1308 (license license:lgpl2.1)))
1310 (define-public librsvg
1316 (uri (string-append "mirror://gnome/sources/" name "/"
1317 (version-major+minor version) "/"
1318 name "-" version ".tar.xz"))
1321 "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6"))))
1322 (build-system gnu-build-system)
1325 (list "--disable-static"
1326 "--enable-vala") ; needed for e.g. gnome-mines
1327 #:make-flags '("CC=gcc")
1329 (modify-phases %standard-phases
1330 ;; Don't patch anything in vendor/ to avoid having to recompute
1331 ;; checksums for the bundled Cargo "crates". TODO: Unbundle those.
1332 (delete 'patch-source-shebangs)
1333 (delete 'patch-generated-file-shebangs)
1334 (delete 'patch-usr-bin-file)
1335 (add-before 'configure 'patch-all-the-things
1337 (for-each patch-shebang '("tap-driver.sh" "tap-test"))
1338 (patch-/usr/bin/file "configure")
1340 (add-before 'configure 'pre-configure
1341 (lambda* (#:key inputs #:allow-other-keys)
1342 (substitute* "gdk-pixbuf-loader/Makefile.in"
1343 ;; By default the gdk-pixbuf loader is installed under
1344 ;; gdk-pixbuf's prefix. Work around that.
1345 (("gdk_pixbuf_moduledir = .*$")
1346 (string-append "gdk_pixbuf_moduledir = "
1347 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1349 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1350 (("gdk_pixbuf_cache_file = .*$")
1351 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1353 (add-before 'check 'remove-failing-tests
1355 (with-directory-excursion "tests/fixtures/reftests"
1356 (for-each delete-file
1357 '(;; The images produced by these tests differ slightly
1358 ;; from their reference counterparts due to differences
1359 ;; in the build environment (missing fonts, etc). See
1360 ;; <tests/README.md> for details.
1361 ;; These fail on x86_64.
1362 "svg1.1/coords-viewattr-02-b.svg"
1363 "svg1.1/filters-composite-04-f.svg"
1364 "svg1.1/filters-image-01-b.svg"
1365 "svg1.1/filters-conv-02-f.svg"
1366 "svg1.1/filters-conv-04-f.svg"
1367 ;; This test fails on i686:
1368 "svg1.1/masking-path-04-b.svg"
1369 ;; This test fails on armhf:
1370 "svg1.1/masking-mask-01-b.svg"
1371 ;; This test fails on aarch64:
1372 "bugs/777834-empty-text-children.svg")))
1375 `(("pkg-config" ,pkg-config)
1376 ;; This is the minimum supported Rust version in Librsvg 2.44.
1378 ("cargo" ,rust-1.27 "cargo")
1380 ("glib" ,glib "bin") ; glib-mkenums, etc.
1381 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1384 ("libcroco" ,libcroco)
1387 ("libxml2" ,libxml2)))
1389 ;; librsvg-2.0.pc refers to all of that.
1391 ("gdk-pixbuf" ,gdk-pixbuf)
1393 (home-page "https://wiki.gnome.org/LibRsvg")
1394 (synopsis "Render SVG files using Cairo")
1396 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1398 (license license:lgpl2.0+)))
1400 (define-public libidl
1406 (uri (let ((upstream-name "libIDL"))
1407 (string-append "mirror://gnome/sources/" upstream-name "/"
1408 (version-major+minor version) "/"
1409 upstream-name "-" version ".tar.bz2")))
1412 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1413 (build-system gnu-build-system)
1414 (inputs `(("glib" ,glib)))
1416 `(("pkg-config" ,pkg-config)
1419 (home-page "http://freecode.com/projects/libidl")
1420 (synopsis "Create trees of CORBA Interface Definition Language files")
1421 (description "Libidl is a library for creating trees of CORBA Interface
1422 Definition Language (idl) files, which is a specification for defining
1423 portable interfaces. libidl was initially written for orbit (the orb from the
1424 GNOME project, and the primary means of libidl distribution). However, the
1425 functionality was designed to be as reusable and portable as possible.")
1426 (license license:lgpl2.0+)))
1429 (define-public orbit2
1435 (uri (let ((upstream-name "ORBit2"))
1436 (string-append "mirror://gnome/sources/" upstream-name "/"
1437 (version-major+minor version) "/"
1438 upstream-name "-" version ".tar.bz2")))
1441 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1442 (build-system gnu-build-system)
1445 '(;; We don't need static libraries, plus they don't build reproducibly
1446 ;; (non-deterministic ordering of .o files in the archive.)
1449 ;; The programmer kindly gives us a hook to turn off deprecation
1451 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1452 ;; ... which they then completly ignore !!
1454 (modify-phases %standard-phases
1455 (add-before 'configure 'ignore-deprecations
1457 (substitute* "linc2/src/Makefile.in"
1458 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1460 (inputs `(("glib" ,glib)
1461 ("libidl" ,libidl)))
1463 `(("pkg-config" ,pkg-config)))
1464 (home-page "https://projects.gnome.org/orbit2/")
1465 (synopsis "CORBA 2.4-compliant Object Request Broker")
1466 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1467 featuring mature C, C++ and Python bindings.")
1468 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1469 ;; a version. SOME of the code files have licence notices for GPLv2+.
1470 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1471 (license license:gpl2+)
1472 (properties `((upstream-name . "ORBit2")))))
1475 (define-public libbonobo
1481 (uri (string-append "mirror://gnome/sources/" name "/"
1482 (version-major+minor version)
1483 "/" name "-" version ".tar.bz2"))
1485 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1486 (patches (search-patches
1487 "libbonobo-activation-test-race.patch"))))
1488 (build-system gnu-build-system)
1490 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1492 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1493 ;; ... which they then completly ignore !!
1495 (modify-phases %standard-phases
1496 (add-before 'configure 'ignore-deprecations
1498 (substitute* "activation-server/Makefile.in"
1499 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1502 ;; There's apparently a race condition between the server stub
1503 ;; generation and linking of the example under 'samples/echo' that can
1504 ;; lead do undefined references when building in parallel, as reported
1505 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1506 ;; Thus, disable parallel builds.
1507 #:parallel-build? #f))
1508 (inputs `(("popt" ,popt)
1509 ("libxml2" ,libxml2)))
1510 ;; The following are Required by the .pc file
1513 ("orbit2" ,orbit2)))
1515 `(("intltool" ,intltool)
1516 ("pkg-config" ,pkg-config)
1517 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1520 (home-page "https://developer.gnome.org/libbonobo/")
1521 (synopsis "Framework for creating reusable components for use in GNOME applications")
1522 (description "Bonobo is a framework for creating reusable components for
1523 use in GNOME applications, built on top of CORBA.")
1524 ;; Licence not explicitly stated. Source files contain no licence notices.
1525 ;; Tarball contains text of both GPLv2 and LGPLv2
1526 ;; GPLv2 covers both conditions
1527 (license license:gpl2+)))
1530 (define-public gconf
1537 (let ((upstream-name "GConf"))
1538 (string-append "mirror://gnome/sources/" upstream-name "/"
1539 (version-major+minor version) "/"
1540 upstream-name "-" version ".tar.xz")))
1542 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1543 (build-system gnu-build-system)
1544 (inputs `(("dbus-glib" ,dbus-glib)
1545 ("libxml2" ,libxml2)))
1546 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1547 ("orbit2" ,orbit2)))
1549 `(("intltool" ,intltool)
1550 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1551 ("pkg-config" ,pkg-config)))
1552 (home-page "https://projects.gnome.org/gconf/")
1553 (synopsis "Store application preferences")
1554 (description "Gconf is a system for storing application preferences. It
1555 is intended for user preferences; not arbitrary data storage.")
1556 (license license:lgpl2.0+)
1557 (properties '((upstream-name . "GConf")))))
1560 (define-public gnome-mime-data
1562 (name "gnome-mime-data")
1566 (uri (string-append "mirror://gnome/sources/" name "/"
1567 (version-major+minor version) "/"
1568 name "-" version ".tar.bz2"))
1571 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1572 (build-system gnu-build-system)
1575 ("intltool" ,intltool)))
1577 '(#:phases (modify-phases %standard-phases
1578 (add-after 'configure 'use-our-intltool
1580 ;; Do not use the bundled intltool commands, which lack
1581 ;; the "dotless @INC" fixes of our 'intltool' package.
1582 (substitute* (find-files "." "^Makefile$")
1583 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1584 (string-append "INTLTOOL_" tool " = intltool-"
1585 (string-downcase tool) "\n")))
1587 (home-page "https://www.gnome.org")
1588 (synopsis "Base MIME and Application database for GNOME")
1589 (description "GNOME Mime Data is a module which contains the base MIME
1590 and Application database for GNOME. The data stored by this module is
1591 designed to be accessed through the MIME functions in GnomeVFS.")
1592 (license license:gpl2+)))
1595 (define-public gnome-vfs
1601 (uri (string-append "mirror://gnome/sources/" name "/"
1602 (version-major+minor version) "/"
1603 name "-" version ".tar.bz2"))
1606 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1607 (build-system gnu-build-system)
1610 (modify-phases %standard-phases
1611 (add-before 'configure 'ignore-deprecations
1613 (substitute* '("libgnomevfs/Makefile.in"
1614 "daemon/Makefile.in")
1615 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1617 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1619 (substitute* "test/test-async-cancel.c"
1620 (("EXIT_FAILURE") "77"))
1622 (inputs `(("libxml2" ,libxml2)
1623 ("dbus-glib" ,dbus-glib)
1625 ("gnome-mime-data" ,gnome-mime-data)
1628 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1629 ("intltool" ,intltool)
1630 ("pkg-config" ,pkg-config)))
1631 (home-page "https://developer.gnome.org/gnome-vfs/")
1632 (synopsis "Access files and folders in GNOME applications")
1634 "GnomeVFS is the core library used to access files and folders in GNOME
1635 applications. It provides a file system abstraction which allows applications
1636 to access local and remote files with a single consistent API.")
1637 (license license:lgpl2.0+)))
1641 (define-public libgnome
1647 (uri (string-append "mirror://gnome/sources/" name "/"
1648 (version-major+minor version) "/"
1649 name "-" version ".tar.bz2"))
1652 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1653 (patches (search-patches "libgnome-encoding.patch"))))
1654 (build-system gnu-build-system)
1657 (modify-phases %standard-phases
1658 (add-before 'configure 'enable-deprecated
1660 (substitute* "libgnome/Makefile.in"
1661 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1663 (inputs `(("libxml2" ,libxml2)))
1665 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1666 ("intltool" ,intltool)
1667 ("pkg-config" ,pkg-config)))
1668 ;; The following are listed as Required in the .pc file
1669 ;; (except for libcanberra -- which seems to be oversight on the part
1670 ;; of the upstream developers -- anything that links against libgnome,
1671 ;; must also link against libcanberra
1673 `(("libcanberra" ,libcanberra)
1674 ("libbonobo" ,libbonobo)
1676 ("gnome-vfs" ,gnome-vfs)
1677 ("popt" ,popt))) ;gnome-program.h includes popt.h
1678 (home-page "https://developer.gnome.org/libgnome/")
1679 (synopsis "Useful routines for building applications")
1680 (description "The libgnome library provides a number of useful routines
1681 for building modern applications, including session management, activation of
1682 files and URIs, and displaying help.")
1683 (license license:lgpl2.0+)))
1686 (define-public libart-lgpl
1688 (name "libart-lgpl")
1692 (uri (let ((upstream-name "libart_lgpl"))
1693 (string-append "mirror://gnome/sources/" upstream-name "/"
1694 (version-major+minor version) "/"
1695 upstream-name "-" version ".tar.bz2")))
1698 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1699 (build-system gnu-build-system)
1701 `(("pkg-config" ,pkg-config)))
1702 (home-page "https://people.gnome.org/~mathieu/libart")
1703 (synopsis "2D drawing library")
1704 (description "Libart is a 2D drawing library intended as a
1705 high-quality vector-based 2D library with antialiasing and alpha composition.")
1706 (license license:lgpl2.0+)))
1710 (define-public libgnomecanvas
1712 (name "libgnomecanvas")
1716 (uri (string-append "mirror://gnome/sources/" name "/"
1717 (version-major+minor version) "/"
1718 name "-" version ".tar.gz"))
1721 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1722 (build-system gnu-build-system)
1723 ;; Mentioned as Required in the .pc file
1724 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1727 `(("intltool" ,intltool)
1728 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1729 ("pkg-config" ,pkg-config)))
1730 (home-page "https://developer.gnome.org/libgnomecanvas/")
1731 (synopsis "Flexible widget for creating interactive structured graphics")
1732 (description "The GnomeCanvas widget provides a flexible widget for
1733 creating interactive structured graphics.")
1734 (license license:lgpl2.0+)))
1736 (define-public libgnomecanvasmm
1738 (name "libgnomecanvasmm")
1742 (uri (string-append "mirror://gnome/sources/" name "/"
1743 (version-major+minor version) "/"
1744 name "-" version ".tar.bz2"))
1747 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1748 (build-system gnu-build-system)
1750 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1751 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1753 `(("gtkmm-2" ,gtkmm-2)
1754 ("pkg-config" ,pkg-config)))
1755 (home-page "https://gtkmm.org")
1756 (synopsis "C++ bindings to the GNOME Canvas library")
1757 (description "C++ bindings to the GNOME Canvas library.")
1758 (license license:lgpl2.0+)))
1760 (define-public libgnomeui
1766 (uri (string-append "mirror://gnome/sources/" name "/"
1767 (version-major+minor version) "/"
1768 name "-" version ".tar.bz2"))
1769 (patches (search-patches "libgnomeui-utf8.patch"))
1772 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1773 (build-system gnu-build-system)
1774 ;; Mentioned as Required in the .pc file
1775 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1776 ("libgnome" ,libgnome)
1777 ("libgnomecanvas" ,libgnomecanvas)
1778 ("libgnome-keyring" ,libgnome-keyring)))
1779 (inputs `(("libjpeg" ,libjpeg)
1781 ("libbonobo" ,libbonobo)
1782 ("libxml2" ,libxml2)
1783 ("libglade" ,libglade)))
1785 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1786 ("intltool" ,intltool)
1787 ("pkg-config" ,pkg-config)))
1788 (home-page "https://developer.gnome.org/libgnomeui/")
1789 (synopsis "Additional widgets for applications")
1790 (description "The libgnomeui library provides additional widgets for
1791 applications. Many of the widgets from libgnomeui have already been
1793 (license license:lgpl2.0+)))
1795 (define-public libglade
1801 (uri (string-append "mirror://gnome/sources/" name "/"
1802 (version-major+minor version) "/"
1803 name "-" version ".tar.bz2"))
1806 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1807 (build-system gnu-build-system)
1809 `(("python" ,python))) ;; needed for the optional libglade-convert program
1811 `(("gtk+-2" ,gtk+-2)
1812 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1814 `(("pkg-config" ,pkg-config)))
1815 (home-page "https://developer.gnome.org/libglade")
1816 (synopsis "Load glade interfaces and access the glade built widgets")
1817 (description "Libglade is a library that provides interfaces for loading
1818 graphical interfaces described in glade files and for accessing the
1819 widgets built in the loading process.")
1820 (license license:gpl2+))) ; This is correct. GPL not LGPL
1822 (define-public libgnomeprint
1823 ;; This library has been deprecated since 2006; see
1824 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1826 (name "libgnomeprint")
1830 (uri (string-append "mirror://gnome/sources/" name "/"
1831 (version-major+minor version) "/"
1832 name "-" version ".tar.bz2"))
1835 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1836 (build-system gnu-build-system)
1839 ("libart-lgpl" ,libart-lgpl)
1841 ("libxml2" ,libxml2)))
1843 `(("intltool" ,intltool)
1844 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1845 ("pkg-config" ,pkg-config)))
1846 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1847 (synopsis "Printing framework for GNOME")
1849 "GNOME-print was a printing framework for GNOME. It has been deprecated
1850 since ca. 2006, when GTK+ itself incorporated printing support.")
1851 (license license:lgpl2.0+)))
1854 (define-public libgnomeprintui
1855 ;; Deprecated; see libgnomeprint.
1857 (name "libgnomeprintui")
1861 (uri (string-append "mirror://gnome/sources/" name "/"
1862 (version-major+minor version) "/"
1863 name "-" version ".tar.bz2"))
1866 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1867 (build-system gnu-build-system)
1868 ;; Mentioned as Required in the .pc file
1869 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1870 (inputs `(("gtk+" ,gtk+-2)
1872 ("gnome-icon-theme" ,gnome-icon-theme)
1873 ("libgnomecanvas" ,libgnomecanvas)
1874 ("libxml2" ,libxml2)))
1876 `(("intltool" ,intltool)
1877 ("pkg-config" ,pkg-config)))
1878 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1879 (synopsis "Printing framework for GNOME")
1880 (description (package-description libgnomeprint))
1881 (license license:lgpl2.0+)))
1883 (define-public libbonoboui
1885 (name "libbonoboui")
1889 (uri (string-append "mirror://gnome/sources/" name "/"
1890 (version-major+minor version) "/"
1891 name "-" version ".tar.bz2"))
1894 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1895 (build-system gnu-build-system)
1898 (modify-phases %standard-phases
1899 (add-before 'check 'start-xserver
1900 (lambda* (#:key inputs #:allow-other-keys)
1901 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1904 (setenv "HOME" (getcwd))
1905 (setenv "DISPLAY" disp)
1906 ;; There must be a running X server and make check doesn't start one.
1907 ;; Therefore we must do it.
1908 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1909 ;; Mentioned as Required by the .pc file
1910 (propagated-inputs `(("libxml2" ,libxml2)))
1913 ("pangox-compat" ,pangox-compat)
1914 ("libgnome" ,libgnome)
1915 ("libgnomecanvas" ,libgnomecanvas)
1916 ("libglade" ,libglade)))
1918 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1919 ("intltool" ,intltool)
1920 ("xorg-server" ,xorg-server) ; For running the tests
1921 ("pkg-config" ,pkg-config)))
1922 (home-page "https://developer.gnome.org/libbonoboui/")
1923 (synopsis "Some user interface controls using Bonobo")
1924 (description "The Bonobo UI library provides a number of user interface
1925 controls using the Bonobo component framework.")
1926 (license license:lgpl2.0+)))
1928 (define-public libwnck
1934 (uri (string-append "mirror://gnome/sources/" name "/"
1935 (version-major+minor version) "/"
1936 name "-" version ".tar.xz"))
1939 "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg"))))
1940 (build-system gnu-build-system)
1942 `(("pkg-config" ,pkg-config)
1943 ("intltool" ,intltool)))
1946 ("libxres" ,libxres)
1947 ("startup-notification" ,startup-notification)))
1948 (home-page "https://developer.gnome.org/libwnck/")
1949 (synopsis "Window Navigator Construction Kit")
1951 "Libwnck is the Window Navigator Construction Kit, a library for use in
1952 writing pagers, tasklists, and more generally applications that are dealing
1953 with window management. It tries hard to respect the Extended Window Manager
1954 Hints specification (EWMH).")
1955 (license license:lgpl2.0+)))
1957 ;; stable version for gtk2, required by xfwm4.
1958 (define-public libwnck-2
1959 (package (inherit libwnck)
1964 (uri (string-append "mirror://gnome/sources/" name "/"
1965 (version-major+minor version) "/"
1966 name "-" version ".tar.xz"))
1969 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1972 ("libxres" ,libxres)
1973 ("startup-notification" ,startup-notification)))))
1975 (define-public goffice
1981 (uri (string-append "mirror://gnome/sources/" name "/"
1982 (version-major+minor version) "/"
1983 name "-" version ".tar.xz"))
1985 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
1986 (build-system gnu-build-system)
1988 "doc")) ;4.0 MiB of gtk-doc
1990 '(#:configure-flags (list (string-append "--with-html-dir="
1991 (assoc-ref %outputs "doc")
1992 "/share/gtk-doc/html"))))
1996 ("librsvg" ,librsvg)
1997 ("libxslt" ,libxslt)
1998 ("libxml2" ,libxml2)))
2000 `(("intltool" ,intltool)
2001 ("glib" ,glib "bin")
2002 ("pkg-config" ,pkg-config)))
2003 (home-page "https://developer.gnome.org/goffice/")
2004 (synopsis "Document-centric objects and utilities")
2005 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2007 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2009 (list license:gpl2 license:gpl3))))
2011 (define-public goffice-0.8
2012 (package (inherit goffice)
2016 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2017 (version-major+minor version) "/"
2018 (package-name goffice) "-" version ".tar.xz"))
2020 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2023 (modify-phases %standard-phases
2024 (add-after 'unpack 'fix-pcre-check
2026 ;; Only glib.h can be included directly. See
2027 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2028 (substitute* "configure"
2029 (("glib/gregex\\.h") "glib.h")) #t)))
2031 ,@(package-arguments goffice)))
2033 ;; libgoffice-0.8.pc mentions libgsf-1
2034 `(("libgsf" ,libgsf)))
2037 ,@(alist-delete "gtk" (package-inputs goffice))))))
2039 (define-public gnumeric
2045 (uri (string-append "mirror://gnome/sources/gnumeric/"
2046 (version-major+minor version) "/"
2047 "gnumeric-" version ".tar.xz"))
2050 "0147962c6ybdsj57rz95nla0rls7g545wc2n7pz59zmzyd5pksk0"))))
2051 (build-system glib-or-gtk-build-system)
2053 `(;; The gnumeric developers don't worry much about failing tests.
2054 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2057 (modify-phases %standard-phases
2059 'configure 'pre-conf
2060 (lambda* (#:key outputs #:allow-other-keys)
2061 ;; Make install tries to write into the directory of goffice
2062 ;; I am informed that this only affects the possibility to embed a
2063 ;; spreadsheet inside an Abiword document. So presumably when we
2064 ;; package Abiword we'll have to refer it to this directory.
2065 (substitute* "configure"
2066 (("^GOFFICE_PLUGINS_DIR=.*")
2067 (string-append "GOFFICE_PLUGINS_DIR="
2068 (assoc-ref outputs "out")
2069 "/goffice/plugins"))))))))
2073 ("goffice" ,goffice)
2075 ("librsvg" ,librsvg)
2076 ("libxml2" ,libxml2)
2077 ("libxslt" ,libxslt)
2078 ("python" ,python-2)
2079 ("python2-pygobject" ,python2-pygobject)
2083 ("docbook-xml" ,docbook-xml)
2084 ("intltool" ,intltool)
2085 ("itstool" ,itstool)
2086 ("glib:bin" ,glib "bin")
2087 ("pkg-config" ,pkg-config)))
2088 (home-page "http://www.gnumeric.org")
2089 (synopsis "Spreadsheet application")
2091 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2092 interoperable with other spreadsheet applications. It has a vast array of
2093 features beyond typical spreadsheet functionality, such as support for linear
2094 and non-linear solvers, statistical analysis, and telecommunication
2097 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2098 (list license:gpl2 license:gpl3))))
2100 (define-public gnome-themes-standard
2102 (name "gnome-themes-standard")
2107 (uri (string-append "mirror://gnome/sources/" name "/"
2108 (version-major+minor version) "/" name "-"
2112 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2113 (build-system gnu-build-system)
2116 ;; Don't create 'icon-theme.cache'.
2117 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2118 (true (string-append coreutils "/bin/true")))
2119 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2123 ("librsvg" ,librsvg)
2124 ("libxml2" ,libxml2)
2127 `(("intltool" ,intltool)
2128 ("glib:bin" ,glib "bin")
2129 ("pkg-config" ,pkg-config)))
2130 (home-page "https://launchpad.net/gnome-themes-standard")
2131 (synopsis "Default GNOME 3 themes")
2133 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2134 (license license:lgpl2.1+)))
2136 (define-public seahorse
2143 (uri (string-append "mirror://gnome/sources/" name "/"
2144 (version-major+minor version) "/" name "-"
2148 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
2149 (build-system glib-or-gtk-build-system)
2155 ("openldap" ,openldap)
2156 ("openssh" ,openssh)
2157 ("libsecret" ,libsecret)
2158 ("libsoup" ,libsoup)))
2160 `(("intltool" ,intltool)
2161 ("glib:bin" ,glib "bin")
2162 ("itstool" ,itstool)
2163 ("pkg-config" ,pkg-config)
2164 ("xmllint" ,libxml2)))
2165 (home-page "https://launchpad.net/gnome-themes-standard")
2166 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2168 "Seahorse is a GNOME application for managing encryption keys and
2169 passwords in the GNOME keyring.")
2170 (license license:gpl2+)))
2178 (uri (string-append "mirror://gnome/sources/" name "/"
2179 (version-major+minor version) "/"
2180 name "-" version ".tar.xz"))
2183 "0yvaijkpahzz26sa37cyzbj75a9vbcbgvxbqzzb7hbcvfy009zy7"))))
2184 (build-system gnu-build-system)
2187 (modify-phases %standard-phases
2188 (add-before 'check 'pre-check
2191 (substitute* "valadoc/tests/testrunner.sh"
2192 (("export PKG_CONFIG_PATH=" m)
2193 (string-append m "$PKG_CONFIG_PATH:")))
2194 ;; For missing '/etc/machine-id'.
2195 (setenv "DBUS_FATAL_WARNINGS" "0")
2198 `(("pkg-config" ,pkg-config)
2201 ("xsltproc" ,libxslt)
2204 ("dbus" ,dbus) ; for dbus tests
2205 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2207 `(("graphviz" ,graphviz)))
2209 `(("glib" ,glib))) ; required by libvala-0.40.pc
2210 (home-page "https://live.gnome.org/Vala/")
2211 (synopsis "Compiler for the GObject type system")
2213 "Vala is a programming language that aims to bring modern programming
2214 language features to GNOME developers without imposing any additional runtime
2215 requirements and without using a different ABI compared to applications and
2216 libraries written in C.")
2217 (license license:lgpl2.1+)))
2225 (uri (string-append "mirror://gnome/sources/" name "/"
2226 (version-major+minor version) "/"
2227 name "-" version ".tar.xz"))
2230 "1br6kg0wzf1wmww1hadihhcpqbamalqmbppfdzjvzk1ayp75f9hg"))))
2231 (build-system gnu-build-system)
2233 `(("pkg-config" ,pkg-config)
2234 ("intltool" ,intltool)
2236 ("gobject-introspection" ,gobject-introspection)
2237 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2239 ("xmllint" ,libxml2)))
2241 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2242 ("gnutls" ,gnutls) ;ditto
2243 ("pcre2" ,pcre2))) ;ditto
2244 (home-page "https://www.gnome.org/")
2245 (synopsis "Virtual Terminal Emulator")
2247 "VTE is a library (libvte) implementing a terminal emulator widget for
2248 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2249 gnome-terminal, but can also be used to embed a console/terminal in games,
2250 editors, IDEs, etc.")
2251 (license license:lgpl2.1+)))
2253 (define-public vte-ng
2257 (version "0.54.2.a")
2258 (home-page "https://github.com/thestinger/vte-ng")
2261 (uri (git-reference (url home-page) (commit version)))
2262 (file-name (git-file-name name version))
2265 "1r7d9m07cpdr4f7rw3yx33hmp4jmsk0dn5byq5wgksb2qjbc4ags"))))
2267 `(("gtk-doc" ,gtk-doc)
2269 ("autoconf" ,autoconf)
2270 ("automake" ,automake)
2271 ("libtool" ,libtool)
2272 ,@(package-native-inputs vte)))
2274 `(#:phases (modify-phases %standard-phases
2277 (setenv "NOCONFIGURE" "true")
2278 (invoke "sh" "autogen.sh"))))))
2279 (synopsis "Enhanced VTE terminal widget")
2281 "VTE is a library (libvte) implementing a terminal emulator widget for
2282 GTK+, this fork provides additional functions exposed for keyboard text
2283 selection and URL hints.")))
2285 ;; provides vte 2.90, required for some terminal emulators
2286 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2287 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2288 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2289 ;; pantheon-terminal, roxterm are not currently packaged
2290 (define-public vte-0.36
2291 (package (inherit vte)
2296 (uri (string-append "mirror://gnome/sources/" name "/"
2297 (version-major+minor version) "/"
2298 name "-" version ".tar.xz"))
2301 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2304 ("ncurses" ,ncurses)))))
2306 ;; stable version for gtk2, required by xfce4-terminal.
2307 (define-public vte/gtk+-2
2308 (package (inherit vte)
2313 (uri (string-append "mirror://gnome/sources/" name "/"
2314 (version-major+minor version) "/"
2315 name "-" version ".tar.xz"))
2318 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2319 (patches (search-patches
2320 "vte-CVE-2012-2738-pt1.patch"
2321 "vte-CVE-2012-2738-pt2.patch"))))
2323 '(#:configure-flags '("--disable-python")))
2325 `(("pkg-config" ,pkg-config)
2326 ("intltool" ,intltool)
2327 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2329 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2330 ("ncurses" ,ncurses))))) ; required by libvte.la
2332 (define-public vinagre
2338 (uri (string-append "mirror://gnome/sources/" name "/"
2339 (version-major+minor version) "/"
2340 name "-" version ".tar.xz"))
2341 (patches (search-patches "vinagre-newer-freerdp.patch"
2342 "vinagre-newer-rdp-parameters.patch"))
2345 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2346 (build-system glib-or-gtk-build-system)
2349 (modify-phases %standard-phases
2350 (add-before 'install 'skip-gtk-update-icon-cache
2352 ;; Don't create 'icon-theme.cache'
2353 (substitute* (find-files "." "^Makefile$")
2354 (("gtk-update-icon-cache") (which "true")))
2356 (add-after 'unpack 'patch-configure
2358 (substitute* "configure"
2359 (("freerdp") "freerdp2"))
2362 `(("pkg-config" ,pkg-config)
2363 ("intltool" ,intltool)
2364 ("itstool" ,itstool)
2365 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2367 `(("libxml2" ,libxml2)
2368 ("gtk-vnc" ,gtk-vnc)
2369 ("gnome-keyring" ,gnome-keyring)
2370 ("libsecret" ,libsecret)
2371 ("freerdp" ,freerdp)
2373 ("spice-gtk" ,spice-gtk)
2374 ("telepathy-glib" ,telepathy-glib)
2376 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2377 (synopsis "Remote desktop viewer for GNOME")
2378 (description "Vinagre is a remote display client supporting the VNC, SPICE
2379 and RDP protocols.")
2380 (license license:gpl3+)))
2382 (define-public dconf
2389 "mirror://gnome/sources/" name "/"
2390 (version-major+minor version) "/"
2391 name "-" version ".tar.xz"))
2394 "0hn7v6769xabqz7kvyb2hfm19h46z1whkair7ff752zmbs3b7lv1"))))
2395 (build-system meson-build-system)
2397 ;; In Requires of dconf.pc.
2403 `(("libxslt" ,libxslt) ;for xsltproc
2404 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2405 ("docbook-xml" ,docbook-xml-4.2)
2406 ("docbook-xsl" ,docbook-xsl)
2407 ("glib:bin" ,glib "bin")
2408 ("gtk-doc" ,gtk-doc)
2409 ("pkg-config" ,pkg-config)
2412 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2413 ; or /etc/machine-id.
2415 #:configure-flags '("-Denable-gtk-doc=true")))
2416 (home-page "https://developer.gnome.org/dconf")
2417 (synopsis "Low-level GNOME configuration system")
2418 (description "Dconf is a low-level configuration system. Its main purpose
2419 is to provide a backend to GSettings on platforms that don't already have
2420 configuration storage systems.")
2421 (license license:lgpl2.1+)))
2423 (define-public json-glib
2429 (uri (string-append "mirror://gnome/sources/" name "/"
2430 (version-major+minor version) "/"
2431 name "-" version ".tar.xz"))
2434 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2435 (build-system meson-build-system)
2437 `(("gettext" ,gettext-minimal)
2438 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2439 ("gobject-introspection" ,gobject-introspection)
2440 ("pkg-config" ,pkg-config)))
2442 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2443 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2444 (synopsis "Compiler for the GObject type system")
2446 "JSON-GLib is a C library based on GLib providing serialization and
2447 deserialization support for the JavaScript Object Notation (JSON) format
2448 described by RFC 4627. It provides parser and generator GObject classes and
2449 various wrappers for the complex data types employed by JSON, such as arrays
2451 (license license:lgpl2.1+)))
2453 (define-public libxklavier
2455 (name "libxklavier")
2459 (uri (string-append "mirror://gnome/sources/" name "/"
2460 version "/" name "-" version ".tar.xz"))
2463 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2464 (build-system gnu-build-system)
2467 (list (string-append "--with-xkb-base="
2468 (assoc-ref %build-inputs "xkeyboard-config")
2469 "/share/X11/xkb"))))
2471 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2472 ("gobject-introspection" ,gobject-introspection)
2473 ("pkg-config" ,pkg-config)))
2475 ;; Required by libxklavier.pc.
2477 ("libxml2" ,libxml2)))
2479 `(("iso-codes" ,iso-codes)
2481 ("libxkbfile" ,libxkbfile)
2482 ("xkbcomp" ,xkbcomp)
2483 ("xkeyboard-config" ,xkeyboard-config)))
2484 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2485 (synopsis "High-level API for X Keyboard Extension")
2487 "LibXklavier is a library providing high-level API for X Keyboard
2488 Extension known as XKB. This library is intended to support XFree86 and other
2489 commercial X servers. It is useful for creating XKB-related software (layout
2491 (license license:lgpl2.0+)))
2493 (define-public python2-rsvg
2494 ;; XXX: This is actually a subset of gnome-python-desktop.
2496 (name "python2-rsvg")
2502 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2503 version ".tar.bz2"))
2506 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2507 (build-system gnu-build-system)
2509 `(("pkg-config" ,pkg-config)))
2511 `(("python" ,python-2)
2512 ("python2-pygtk" ,python2-pygtk)
2513 ("librsvg" ,librsvg)))
2514 (home-page "https://www.gnome.org")
2515 (synopsis "Python bindings to librsvg")
2517 "This packages provides Python bindings to librsvg, the SVG rendering
2520 ;; This is the license of the rsvg bindings. The license of each module
2521 ;; of gnome-python-desktop is given in 'COPYING'.
2522 (license license:lgpl2.1+)))
2524 (define-public glib-networking
2526 (name "glib-networking")
2530 (uri (string-append "mirror://gnome/sources/glib-networking/"
2531 (version-major+minor version) "/"
2532 name "-" version ".tar.xz"))
2535 "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx"))
2536 (patches (search-patches "glib-networking-connection.patch"))))
2537 (build-system meson-build-system)
2539 `(#:configure-flags '("-Dlibproxy_support=false")
2540 #:phases (modify-phases %standard-phases
2541 (add-before 'check 'disable-TLSv1.3
2543 ;; XXX: One test fails when TLS 1.3 is enabled, fixed in 2.60.0:
2544 ;; <https://gitlab.com/gnutls/gnutls/issues/615>.
2545 (setenv "G_TLS_GNUTLS_PRIORITY" "NORMAL:-VERS-TLS1.3")
2548 `(("pkg-config" ,pkg-config)
2549 ("intltool" ,intltool)))
2553 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2554 ("p11-kit" ,p11-kit)))
2555 (home-page "https://www.gnome.org")
2556 (synopsis "Network-related GIO modules")
2558 "This package contains various network related extensions for the GIO
2560 (license license:lgpl2.0+)))
2568 (uri (string-append "mirror://gnome/sources/rest/"
2569 (version-major+minor version) "/"
2570 name "-" version ".tar.xz"))
2573 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2574 (build-system gnu-build-system)
2576 '(#:tests? #f ; tests require internet connection
2578 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2580 `(("glib-mkenums" ,glib "bin")
2581 ("gobject-introspection" ,gobject-introspection)
2582 ("pkg-config" ,pkg-config)))
2584 ;; rest-0.7.pc refers to all these.
2586 ("libsoup" ,libsoup)
2587 ("libxml2" ,libxml2)))
2588 (home-page "https://www.gtk.org/")
2589 (synopsis "RESTful web api query library")
2591 "This library was designed to make it easier to access web services that
2592 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2593 libxml to ease remote use of the RESTful API.")
2594 (license license:lgpl2.1+)))
2596 (define-public libsoup
2602 (uri (string-append "mirror://gnome/sources/libsoup/"
2603 (version-major+minor version) "/"
2604 name "-" version ".tar.xz"))
2607 "1il6lyrmfi0hfh3ysw8w1qzc1rdz0igkb7dv6d8g5mmilnac3pbm"))))
2608 (build-system gnu-build-system)
2609 (outputs '("out" "doc"))
2611 `(#:modules ((guix build utils)
2612 (guix build gnu-build-system)
2616 (list (string-append "--with-html-dir="
2617 (assoc-ref %outputs "doc")
2618 "/share/gtk-doc/html")
2619 (string-append "--with-apache-module-dir="
2620 (assoc-ref %build-inputs "httpd")
2623 (modify-phases %standard-phases
2624 (add-before 'configure 'disable-unconnected-socket-test
2625 ;; This test fails due to missing /etc/nsswitch.conf
2626 ;; in the build environment.
2628 (substitute* "tests/socket-test.c"
2629 ((".*/sockets/unconnected.*") ""))
2631 (add-before 'check 'pre-check
2633 ;; The 'check-local' target runs 'env LANG=C sort -u',
2634 ;; unset 'LC_ALL' to make 'LANG' working.
2636 ;; HTTPD in Guix uses mod_event and does not build prefork.
2637 (substitute* "tests/httpd.conf"
2638 (("^LoadModule mpm_prefork_module.*$") "\n"))
2640 ;; Generate a self-signed certificate that has "localhost" as its
2641 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2642 ;; 3.5.12, tests such as "ssl-tests" fail:
2644 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2646 ;; 'certtool' is interactive so we have to pipe it the answers.
2647 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2648 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2649 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2650 (for-each (lambda (line)
2655 "Guix" ;Organizational unit name
2656 "GNU" ;Organization name
2658 "" ;State or province
2660 "" ;subject's domain component (DC)
2663 "-1" ;expiration time
2664 "N" ;belong to authority?
2665 "N" ;web client certificate?
2667 "Y" ;web server certificate?
2668 "localhost" ;dnsName of subject
2669 "" ;dnsName of subject (end)
2671 "127.0.0.1" ;IP address of subject
2673 "" ;encryption (RSA)?
2674 "" ;data encryption?
2675 "" ;sign OCSP requests?
2678 "" ;email protection?
2679 "" ;URI of the CRL distribution point
2687 ;; Install vala bindings into $out.
2688 (string-append "vapidir=" %output
2692 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2693 ("gobject-introspection" ,gobject-introspection)
2694 ("intltool" ,intltool)
2695 ("pkg-config" ,pkg-config)
2696 ("python" ,python-wrapper)
2698 ;; These are needed for the tests.
2699 ;; FIXME: Add PHP once available.
2701 ("gnutls" ,gnutls) ;for 'certtool'
2704 ;; libsoup-2.4.pc refers to all these.
2706 ("libxml2" ,libxml2)))
2708 `(("glib-networking" ,glib-networking)
2710 ("sqlite" ,sqlite)))
2711 (home-page "https://live.gnome.org/LibSoup/")
2712 (synopsis "GLib-based HTTP Library")
2714 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2715 and the GLib main loop, to integrate well with GNOME applications.")
2716 (license license:lgpl2.0+)))
2718 (define-public libsecret
2725 "mirror://gnome/sources/libsecret/"
2726 (version-major+minor version) "/"
2727 name "-" version ".tar.xz"))
2730 "058x64689k55wxfkdp4svhnwvv8jmqm7z5mrynybl38f4sfqiyiv"))))
2731 (build-system gnu-build-system)
2732 (outputs '("out" "doc"))
2734 `(#:tests? #f ; FIXME: Testing hangs.
2736 (list (string-append "--with-html-dir="
2737 (assoc-ref %outputs "doc")
2738 "/share/gtk-doc/html"))))
2740 `(("gettext" ,gettext-minimal)
2741 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2742 ("gobject-introspection" ,gobject-introspection)
2743 ("pkg-config" ,pkg-config)
2745 ("xsltproc" ,libxslt)))
2746 ;; These are needed for the tests.
2747 ;; FIXME: Add gjs once available.
2749 ;("python2" ,python-2)
2750 ;("python2-dbus" ,python2-dbus)
2751 ;("python2-pygobject" ,python2-pygobject)
2752 ;("python2-pygobject-2" ,python2-pygobject-2)))
2754 `(("glib" ,glib))) ; required by libsecret-1.pc
2756 `(("docbook-xsl" ,docbook-xsl)
2757 ("libgcrypt" ,libgcrypt)
2758 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2759 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2760 (synopsis "GObject bindings for \"Secret Service\" API")
2762 "Libsecret is a GObject based library for storing and retrieving passwords
2763 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2764 (license license:lgpl2.1+)))
2766 (define-public five-or-more
2768 (name "five-or-more")
2773 (uri (string-append "mirror://gnome/sources/" name "/"
2774 (version-major+minor version) "/"
2775 name "-" version ".tar.xz"))
2778 "1fy4a7qdjqvabm0cl45d6xlx6hy4paxvm0b2paifff73bl250d5c"))))
2779 (build-system glib-or-gtk-build-system)
2781 `(("pkg-config" ,pkg-config)
2782 ("desktop-file-utils" ,desktop-file-utils)
2783 ("intltool" ,intltool)
2784 ("itstool" ,itstool)
2785 ("xmllint" ,libxml2)))
2788 ("librsvg" ,librsvg)))
2789 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2790 (synopsis "Logic puzzle game")
2791 (description "Five or More is a game where you try to align
2792 five or more objects of the same color and shape causing them to disappear.
2793 On every turn more objects will appear, until the board is full.
2794 Try to last as long as possible.")
2795 (license license:gpl2+)))
2797 (define-public gnome-mines
2799 (name "gnome-mines")
2804 (uri (string-append "mirror://gnome/sources/" name "/"
2805 (version-major+minor version) "/"
2806 name "-" version ".tar.xz"))
2809 "16w55hqaxipcv870n9gpn6qiywbqbyg7bjshaa02r75ias8dfxvf"))))
2810 (build-system meson-build-system)
2813 (modify-phases %standard-phases
2814 (delete 'bootstrap))))
2816 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
2817 ("pkg-config" ,pkg-config)
2818 ("desktop-file-utils" ,desktop-file-utils)
2819 ("intltool" ,intltool)
2820 ("itstool" ,itstool)
2823 ("appstream-glib" ,appstream-glib)))
2826 ("libgnome-games-support" ,libgnome-games-support)
2827 ("librsvg" ,librsvg)))
2828 (home-page "https://wiki.gnome.org/Apps/Mines")
2829 (synopsis "Minesweeper game")
2831 "Mines (previously gnomine) is a puzzle game where you locate mines
2832 floating in an ocean using only your brain and a little bit of luck.")
2833 (license license:gpl2+)))
2835 (define-public gnome-sudoku
2837 (name "gnome-sudoku")
2842 (uri (string-append "mirror://gnome/sources/" name "/"
2843 (version-major+minor version) "/"
2844 name "-" version ".tar.xz"))
2847 "07b4lzniaf3gjsss6zl1lslv18smwc4nrijykvn2z90f423q2xav"))))
2848 (build-system glib-or-gtk-build-system)
2850 `(("pkg-config" ,pkg-config)
2851 ("desktop-file-utils" ,desktop-file-utils)
2852 ("intltool" ,intltool)
2853 ("itstool" ,itstool)
2854 ("xmllint" ,libxml2)))
2857 ("json-glib" ,json-glib)
2859 ("librsvg" ,librsvg)
2860 ("qqwing" ,qqwing)))
2861 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2862 (synopsis "Japanese logic game")
2864 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2865 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2866 possible while still providing features that make playing difficult Sudoku
2868 (license license:gpl2+)))
2870 (define-public gnome-terminal
2872 (name "gnome-terminal")
2877 (uri (string-append "mirror://gnome/sources/" name "/"
2878 (version-major+minor version) "/"
2879 name "-" version ".tar.xz"))
2882 "0ybjansg6lr279191w8z8r45gy4rxwzw1ajm98cgkv0fk2jdr0x2"))))
2883 (build-system glib-or-gtk-build-system)
2886 (list "--disable-migration" "--disable-search-provider"
2887 "--without-nautilus-extension")
2889 (modify-phases %standard-phases
2890 (add-before 'configure 'patch-/bin/true
2892 (substitute* "configure"
2893 (("/bin/true") (which "true"))))))))
2895 `(("pkg-config" ,pkg-config)
2896 ("desktop-file-utils" ,desktop-file-utils)
2897 ("intltool" ,intltool)
2898 ("itstool" ,itstool)
2899 ("xmllint" ,libxml2)))
2901 `(("dconf" ,dconf)))
2906 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2907 ("util-linux" ,util-linux)
2909 (home-page "https://wiki.gnome.org/Apps/Terminal")
2910 (synopsis "Terminal emulator")
2912 "GNOME Terminal is a terminal emulator application for accessing a
2913 UNIX shell environment which can be used to run programs available on
2916 It supports several profiles, multiple tabs and implements several
2917 keyboard shortcuts.")
2918 (license license:gpl3+)))
2920 (define-public colord
2927 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2928 name "-" version ".tar.xz"))
2931 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2932 (build-system glib-or-gtk-build-system)
2934 '(;; The tests want to run valgrind. Punt for now.
2936 #:configure-flags (list "--localstatedir=/var"
2937 ;; GUSB not packaged yet.
2939 ;; No dep on systemd.
2940 "--disable-systemd-login"
2941 ;; Wants to install to global completion dir;
2943 "--disable-bash-completion"
2944 ;; colord-gtk not packaged yet.
2945 "--disable-session-example"
2946 "--with-daemon-user=colord"
2948 (string-append "--with-udevrulesdir="
2949 (assoc-ref %outputs "out")
2950 "/lib/udev/rules.d"))
2952 (modify-phases %standard-phases
2953 (add-before 'configure 'patch-/bin/true
2955 (substitute* "configure"
2956 (("/bin/true") (which "true")))
2957 (substitute* "src/Makefile.in"
2958 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2959 "if test -w $(DESTDIR)$(localstatedir);")))))))
2961 `(("pkg-config" ,pkg-config)
2962 ("gobject-introspection" ,gobject-introspection)
2963 ("libtool" ,libtool)
2964 ("intltool" ,intltool)))
2966 ;; colord.pc refers to all these.
2971 `(("dbus-glib" ,dbus-glib)
2972 ("libgudev" ,libgudev)
2976 ("sane-backends" ,sane-backends)))
2977 (home-page "https://www.freedesktop.org/software/colord/")
2978 (synopsis "Color management service")
2979 (description "Colord is a system service that makes it easy to manage,
2980 install and generate color profiles to accurately color manage input and
2982 (license license:gpl2+)))
2984 (define-public geoclue
2991 (uri (string-append "https://www.freedesktop.org/software/" name
2992 "/releases/" (version-major+minor version) "/"
2993 name "-" version ".tar.xz"))
2996 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
2997 (patches (search-patches "geoclue-config.patch"))))
2998 (build-system glib-or-gtk-build-system)
3000 '(;; The tests want to run the system bus.
3002 #:configure-flags (list ;; Disable bits requiring ModemManager.
3003 "--disable-3g-source"
3004 "--disable-cdma-source"
3005 "--disable-modem-gps-source"
3006 "--with-dbus-service-user=geoclue")
3008 (modify-phases %standard-phases
3009 (add-before 'configure 'patch-/bin/true
3011 (substitute* "configure"
3012 (("/bin/true") (which "true")))
3015 `(("pkg-config" ,pkg-config)
3016 ("gobject-introspection" ,gobject-introspection)
3017 ("intltool" ,intltool)))
3021 ("json-glib" ,json-glib)
3022 ("libsoup" ,libsoup)))
3023 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3024 (synopsis "Geolocation service")
3025 (description "Geoclue is a D-Bus service that provides location
3026 information. The primary goal of the Geoclue project is to make creating
3027 location-aware applications as simple as possible, while the secondary goal is
3028 to ensure that no application can access location information without explicit
3029 permission from user.")
3030 (license license:gpl2+)))
3032 (define-public geocode-glib
3034 (name "geocode-glib")
3038 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3039 (version-major+minor version) "/"
3040 name "-" version ".tar.xz"))
3043 "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a"))))
3044 (build-system meson-build-system)
3047 (modify-phases %standard-phases
3048 ;; The tests require a bunch of locales.
3049 (add-before 'check 'set-locales
3050 (lambda* (#:key inputs #:allow-other-keys)
3051 (setenv "GUIX_LOCPATH"
3052 (string-append (assoc-ref inputs "glibc-locales")
3056 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3057 ("glibc-locales" ,glibc-locales) ; for tests
3058 ("gettext" ,gettext-minimal)
3059 ("gobject-introspection" ,gobject-introspection)
3060 ("gtk-doc" ,gtk-doc)
3061 ("pkg-config" ,pkg-config)
3062 ("json-glib" ,json-glib)))
3064 ;; geocode-glib-1.0.pc refers to GIO.
3067 `(("libsoup" ,libsoup)))
3068 (home-page "https://github.com/GNOME/geocode-glib/")
3069 (synopsis "Geocoding and reverse-geocoding library")
3071 "geocode-glib is a convenience library for geocoding (finding longitude,
3072 and latitude from an address) and reverse geocoding (finding an address from
3073 coordinates) using the Nominatim service. geocode-glib caches requests for
3074 faster results and to avoid unnecessary server load.")
3075 (license license:lgpl2.0+)))
3077 (define-public upower
3083 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3084 "uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/"
3085 "upower-" version ".tar.xz"))
3088 "00lzr0vyxz5lvmgya48gdb2cdgmfdim4b34jlfdyqakk1i9sl8xv"))
3089 (patches (search-patches "upower-builddir.patch"))))
3090 (build-system glib-or-gtk-build-system)
3092 '( ;; The tests want to contact the system bus, which can't be done in the
3093 ;; build environment. The integration test can run, but the last of
3094 ;; the up-self-tests doesn't. Disable tests for now.
3096 #:configure-flags (list "--localstatedir=/var"
3097 (string-append "--with-udevrulesdir="
3098 (assoc-ref %outputs "out")
3099 "/lib/udev/rules.d"))))
3101 `(("gobject-introspection" ,gobject-introspection)
3102 ("pkg-config" ,pkg-config)
3103 ("intltool" ,intltool)
3107 ("libxslt" ,libxslt) ;for 'xsltproc'
3108 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3109 ("docbook-xsl" ,docbook-xsl)))
3111 `(("dbus-glib" ,dbus-glib)
3112 ("libgudev" ,libgudev)
3113 ("libusb" ,libusb)))
3115 ;; In Requires of upower-glib.pc.
3117 (home-page "https://upower.freedesktop.org/")
3118 (synopsis "System daemon for managing power devices")
3120 "UPower is an abstraction for enumerating power devices,
3121 listening to device events and querying history and statistics. Any
3122 application or service on the system can access the org.freedesktop.UPower
3123 service via the system message bus.")
3124 (license license:gpl2+)))
3126 (define-public libgweather
3128 (name "libgweather")
3132 (uri (string-append "mirror://gnome/sources/" name "/"
3133 (version-major+minor version) "/"
3134 name "-" version ".tar.xz"))
3137 "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708"))))
3138 (build-system meson-build-system)
3140 `(#:tests? #f ; one of two tests requires network access
3142 `(,(string-append "-Dzoneinfo_dir="
3143 (assoc-ref %build-inputs "tzdata")
3144 "/share/zoneinfo"))))
3146 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3147 ("gobject-introspection" ,gobject-introspection)
3148 ("pkg-config" ,pkg-config)
3150 ("intltool" ,intltool)))
3152 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3155 ("gdk-pixbuf" ,gdk-pixbuf)
3156 ("libxml2" ,libxml2)
3157 ("libsoup" ,libsoup)
3158 ("geocode-glib" ,geocode-glib)))
3160 `(("tzdata" ,tzdata)))
3161 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3162 (synopsis "Location, time zone, and weather library for GNOME")
3164 "libgweather is a library to access weather information from online
3165 services for numerous locations.")
3166 (license license:gpl2+)))
3168 (define-public gnome-settings-daemon
3170 (name "gnome-settings-daemon")
3175 (uri (string-append "mirror://gnome/sources/" name "/"
3176 (version-major+minor version) "/"
3177 name "-" version ".tar.xz"))
3180 "0z9dip9p0iav646cmxisii5sbkdr9hmaklc5fzvschpbjkhphksr"))))
3181 (build-system meson-build-system)
3185 (list (string-append "-Dudev_dir="
3186 (assoc-ref %outputs "out")
3187 "/lib/udev/rules.d/"))
3188 ;; Color management test can't reach the colord system service.
3191 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3192 ("pkg-config" ,pkg-config)
3193 ("intltool" ,intltool)
3194 ("xsltproc" ,libxslt)
3195 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3196 ("docbook-xml" ,docbook-xml-4.2)
3197 ("docbook-xsl" ,docbook-xsl)))
3199 `(("alsa-lib" ,alsa-lib)
3201 ("libgudev" ,libgudev)
3204 ("pulseaudio" ,pulseaudio)
3205 ("libcanberra" ,libcanberra)
3207 ("libxtst" ,libxtst)
3209 ("libnotify" ,libnotify)
3210 ("geoclue" ,geoclue)
3211 ("geocode-glib" ,geocode-glib)
3212 ("libgweather" ,libgweather)
3213 ("gnome-desktop" ,gnome-desktop)
3216 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3217 ("libwacom" ,libwacom)
3218 ("librsvg" ,librsvg)
3219 ("xf86-input-wacom" ,xf86-input-wacom)
3220 ("wayland" ,wayland)
3221 ("network-manager" ,network-manager)))
3222 (home-page "https://www.gnome.org")
3223 (synopsis "GNOME settings daemon")
3225 "This package contains the daemon responsible for setting the various
3226 parameters of a GNOME session and the applications that run under it. It
3227 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3228 settings, themes, mouse settings, and startup of other daemons.")
3229 (license license:gpl2+)))
3231 (define-public totem-pl-parser
3233 (name "totem-pl-parser")
3237 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3238 (version-major+minor version) "/"
3239 "totem-pl-parser-" version ".tar.xz"))
3242 "0k5pnka907invgds48d73c1xx1a366v5dcld3gr2l1dgmjwc9qka"))))
3243 (build-system meson-build-system)
3245 ;; FIXME: Tests require gvfs.
3248 `(("intltool" ,intltool)
3249 ("glib" ,glib "bin")
3250 ("gobject-introspection" ,gobject-introspection)
3251 ("pkg-config" ,pkg-config)))
3255 ("libarchive" ,libarchive)
3256 ("libgcrypt" ,libgcrypt)
3257 ("libxml2" ,libxml2)))
3259 `(("nettle" ,nettle)
3260 ("libsoup" ,libsoup)))
3261 (home-page "https://projects.gnome.org/totem")
3262 (synopsis "Library to parse and save media playlists for GNOME")
3263 (description "Totem-pl-parser is a GObjects-based library to parse and save
3264 playlists in a variety of formats.")
3265 (license license:lgpl2.0+)))
3267 (define-public aisleriot
3273 (uri (string-append "mirror://gnome/sources/" name "/"
3274 (version-major+minor version) "/"
3275 name "-" version ".tar.xz"))
3278 "0rl39psr5xi584310pyrgw36ini4wn7yr2m1q5118w3a3v1dkhzh"))))
3279 (build-system glib-or-gtk-build-system)
3282 '("--with-platform=gtk-only"
3283 "--with-card-theme-formats=svg")))
3285 `(("desktop-file-utils" ,desktop-file-utils)
3286 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3287 ("intltool" ,intltool)
3288 ("itstool" ,itstool)
3289 ("pkg-config" ,pkg-config)
3290 ("xmllint" ,libxml2)))
3293 ("guile" ,guile-2.2)
3294 ("libcanberra" ,libcanberra)
3295 ("librsvg" ,librsvg)))
3296 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3297 (synopsis "Solitaire card games")
3299 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3300 which are easy to play with the aid of a mouse.")
3301 (license license:gpl3+)))
3303 (define-public devhelp
3309 (uri (string-append "mirror://gnome/sources/" name "/"
3310 (version-major+minor version) "/"
3311 name "-" version ".tar.xz"))
3314 "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s"))))
3315 (build-system glib-or-gtk-build-system)
3317 `(("intltool" ,intltool)
3318 ("itstool" ,itstool)
3319 ("pkg-config" ,pkg-config)))
3321 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3322 ("webkitgtk" ,webkitgtk)))
3323 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3324 (synopsis "API documentation browser for GNOME")
3326 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3327 natively with GTK-Doc (the API reference system developed for GTK+ and used
3328 throughout GNOME for API documentation).")
3329 (license license:gpl2+)))
3338 (uri (string-append "mirror://gnome/sources/" name "/"
3339 (version-major+minor version) "/"
3340 name "-" version ".tar.xz"))
3343 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3344 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3345 ;; cogl, corresponding changes may be appropriate in mutter as well.
3346 (build-system gnu-build-system)
3348 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3349 ("gobject-introspection" ,gobject-introspection)
3350 ;;("xorg-server" ,xorg-server) ; for the test suite
3351 ("pkg-config" ,pkg-config)))
3354 ("gdk-pixbuf" ,gdk-pixbuf)
3356 ("libxext" ,libxext)
3357 ("libxfixes" ,libxfixes)
3358 ("libxdamage" ,libxdamage)
3359 ("libxcomposite" ,libxcomposite)
3360 ("libxrandr" ,libxrandr)))
3365 ("gstreamer" ,gstreamer)
3366 ("gst-plugins-base" ,gst-plugins-base)
3367 ("wayland" ,wayland)))
3369 `(#:configure-flags (list "--enable-cogl-gst"
3370 "--enable-wayland-egl-platform"
3371 "--enable-wayland-egl-server"
3373 ;; Arrange to pass an absolute file name to
3374 ;; dlopen for libGL.so.
3375 (string-append "--with-gl-libname="
3376 (assoc-ref %build-inputs "mesa")
3378 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3379 ;; _FontTransOpen: Unable to Parse address
3380 ;; ${prefix}/share/fonts/X11/misc/
3384 (modify-phases %standard-phases
3385 (add-before 'check 'start-xorg-server
3386 (lambda* (#:key inputs #:allow-other-keys)
3387 ;; The test suite requires a running X server.
3388 (system (format #f "~a/bin/Xvfb :1 &"
3389 (assoc-ref inputs "xorg-server")))
3390 (setenv "DISPLAY" ":1")
3392 (home-page "http://www.cogl3d.org")
3393 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3395 "Cogl is a small library for using 3D graphics hardware to draw pretty
3396 pictures. The API departs from the flat state machine style of OpenGL and is
3397 designed to make it easy to write orthogonal components that can render
3398 without stepping on each others toes.")
3399 (license (list license:expat ; most of the code
3400 license:bsd-3 ; cogl/cogl-point-in-poly.c
3401 license:sgifreeb2.0 ; cogl-path/tesselator/
3402 license:asl2.0)))) ; examples/android/
3404 (define-public clutter
3411 (uri (string-append "mirror://gnome/sources/" name "/"
3412 (version-major+minor version) "/"
3413 name "-" version ".tar.xz"))
3416 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3417 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3418 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3419 (build-system gnu-build-system)
3421 "doc")) ;9 MiB of gtk-doc HTML pages
3423 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3424 ("gobject-introspection" ,gobject-introspection)
3425 ("pkg-config" ,pkg-config)
3426 ("xsltproc" ,libxslt)))
3432 ("json-glib" ,json-glib)
3434 ("libxcomposite" ,libxcomposite)
3435 ("libxdamage" ,libxdamage)
3436 ("libxext" ,libxext)
3437 ("xinput" ,xinput)))
3439 `(("libxkbcommon" ,libxkbcommon)
3442 `(#:configure-flags (list "--enable-x11-backend=yes"
3444 ;; This produces share/doc/{clutter,cally}.
3445 (string-append "--with-html-dir="
3446 (assoc-ref %outputs "doc")
3448 ;; XXX FIXME: Get test suite working. It would probably fail in the
3449 ;; same way the cogl tests fail, since clutter is based on cogl.
3451 (home-page "http://www.clutter-project.org")
3452 (synopsis "OpenGL-based interactive canvas library")
3454 "Clutter is an OpenGL-based interactive canvas library, designed for
3455 creating fast, mainly 2D single window applications such as media box UIs,
3456 presentations, kiosk style applications and so on.")
3457 (license license:lgpl2.0+)))
3459 (define-public clutter-gtk
3461 (name "clutter-gtk")
3466 (uri (string-append "mirror://gnome/sources/" name "/"
3467 (version-major+minor version) "/"
3468 name "-" version ".tar.xz"))
3471 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3472 (build-system gnu-build-system)
3474 `(("pkg-config" ,pkg-config)
3475 ("gobject-introspection" ,gobject-introspection)))
3477 ;; clutter-gtk.pc refers to all these.
3478 `(("clutter" ,clutter)
3480 (home-page "http://www.clutter-project.org")
3481 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
3483 "Clutter is an OpenGL-based interactive canvas library, designed for
3484 creating fast, mainly 2D single window applications such as media box UIs,
3485 presentations, kiosk style applications and so on.")
3486 (license license:lgpl2.0+)))
3488 (define-public clutter-gst
3490 (name "clutter-gst")
3495 (uri (string-append "mirror://gnome/sources/clutter-gst/"
3496 (version-major+minor version) "/"
3497 "clutter-gst-" version ".tar.xz"))
3499 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
3500 (build-system gnu-build-system)
3502 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3503 ("pkg-config" ,pkg-config)
3504 ("gobject-introspection" ,gobject-introspection)))
3506 `(("clutter" ,clutter)
3507 ("gstreamer" ,gstreamer)
3508 ("gst-plugins-base" ,gst-plugins-base)))
3509 (home-page "http://www.clutter-project.org")
3510 (synopsis "Integration library for using GStreamer with Clutter")
3512 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3513 It provides a GStreamer sink to upload frames to GL and an actor that
3514 implements the ClutterGstPlayer interface using playbin. Clutter is an
3515 OpenGL-based interactive canvas library.")
3516 (license license:lgpl2.0+)))
3518 (define-public libchamplain
3520 (name "libchamplain")
3525 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3529 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3530 (build-system gnu-build-system)
3531 (arguments '(#:configure-flags '("--enable-vala")))
3533 `(("gobject-introspection" ,gobject-introspection)
3534 ("pkg-config" ,pkg-config)
3537 `(("libsoup" ,libsoup)
3539 ("clutter" ,clutter)
3540 ("clutter-gtk" ,clutter-gtk)
3541 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3545 (home-page "https://projects.gnome.org/libchamplain/")
3546 (synopsis "C library providing a ClutterActor to display maps")
3548 "libchamplain is a C library providing a ClutterActor to display maps.
3549 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3550 and Perl bindings are also available. It supports numerous free map sources
3551 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3552 (license license:lgpl2.1+)))
3561 (uri (string-append "mirror://gnome/sources/gom/"
3562 (version-major+minor version) "/"
3563 "gom-" version ".tar.xz"))
3566 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3567 (build-system gnu-build-system)
3569 `(("intltool" ,intltool)
3570 ("pkg-config" ,pkg-config)
3571 ("gobject-introspection" ,gobject-introspection)))
3574 ("gdk-pixbuf" ,gdk-pixbuf)
3575 ("sqlite" ,sqlite)))
3576 ;; XXX TODO: Figure out how to run the test suite.
3577 (arguments `(#:tests? #f))
3578 (home-page "https://wiki.gnome.org/Projects/Gom")
3579 (synopsis "Object mapper from GObjects to SQLite")
3581 "Gom provides an object mapper from GObjects to SQLite. It helps you
3582 write applications that need to store structured data as well as make complex
3583 queries upon that data.")
3584 (license license:lgpl2.1+)))
3586 (define-public libgnome-games-support
3588 (name "libgnome-games-support")
3592 (uri (string-append "mirror://gnome/sources/" name "/"
3593 (version-major+minor version) "/"
3594 name "-" version ".tar.xz"))
3597 "1j7lfcnc29lgn8ppn13wkn9w2y1n3lsapagwp91zh3bf0h2h4hv1"))))
3598 (build-system gnu-build-system)
3601 (modify-phases %standard-phases
3602 (add-before 'check 'pre-check
3604 ;; Tests require a writable HOME.
3605 (setenv "HOME" (getcwd))
3608 `(("intltool" ,intltool)
3609 ("pkg-config" ,pkg-config)
3612 ;; Required by libgnome-games-support-1.0.pc
3614 ("libgee" ,libgee)))
3615 (home-page "https://www.gnome.org/")
3616 (synopsis "Useful functionality shared among GNOME games")
3618 "libgnome-games-support is a small library intended for internal use by
3619 GNOME Games, but it may be used by others.")
3620 (license license:lgpl3+)))
3622 (define-public gnome-klotski
3624 (name "gnome-klotski")
3628 (uri (string-append "mirror://gnome/sources/" name "/"
3629 (version-major+minor version) "/"
3630 name "-" version ".tar.xz"))
3633 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3634 (build-system glib-or-gtk-build-system)
3636 `(("desktop-file-utils" ,desktop-file-utils)
3637 ("intltool" ,intltool)
3638 ("itstool" ,itstool)
3639 ("pkg-config" ,pkg-config)
3640 ("xmllint" ,libxml2)))
3643 ("libgnome-games-support" ,libgnome-games-support)
3644 ("librsvg" ,librsvg)))
3645 (home-page "https://wiki.gnome.org/Apps/Klotski")
3646 (synopsis "Sliding block puzzles")
3648 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3649 the patterned block to the area bordered by green markers. To do so, you will
3650 need to slide other blocks out of the way. Complete each puzzle in as few moves
3652 (license license:gpl2+)))
3654 (define-public grilo
3661 (uri (string-append "mirror://gnome/sources/" name "/"
3662 (version-major+minor version) "/"
3663 name "-" version ".tar.xz"))
3666 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3667 (build-system gnu-build-system)
3669 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3670 ("intltool" ,intltool)
3671 ("pkg-config" ,pkg-config)
3672 ("gobject-introspection" ,gobject-introspection)))
3674 `(("cyrus-sasl" ,cyrus-sasl)
3677 ("libxml2" ,libxml2)
3678 ("liboauth" ,liboauth)
3679 ("libsoup" ,libsoup)
3681 ("totem-pl-parser" ,totem-pl-parser)))
3684 (modify-phases %standard-phases
3685 (add-after 'unpack 'fix-introspection-install-dir
3686 (lambda* (#:key outputs #:allow-other-keys)
3687 (let ((out (assoc-ref outputs "out")))
3688 (substitute* '("src/Makefile.in"
3689 "libs/pls/Makefile.in"
3690 "libs/net/Makefile.in")
3691 (("@INTROSPECTION_GIRDIR@")
3692 (string-append out "/share/gir-1.0/"))
3693 (("@INTROSPECTION_TYPELIBDIR@")
3694 (string-append out "/lib/girepository-1.0/")))
3696 (native-search-paths
3697 (list (search-path-specification
3698 (variable "GRL_PLUGIN_PATH")
3699 (files (list (string-append "lib/grilo-"
3700 (version-major+minor version)))))))
3701 (home-page "https://live.gnome.org/Grilo")
3702 (synopsis "Framework for discovering and browsing media")
3704 "Grilo is a framework focused on making media discovery and browsing easy
3705 for application developers.")
3706 (license license:lgpl2.1+)))
3708 (define-public grilo-plugins
3710 (name "grilo-plugins")
3715 (uri (string-append "mirror://gnome/sources/" name "/"
3716 (version-major+minor version) "/"
3717 name "-" version ".tar.xz"))
3720 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3721 (build-system gnu-build-system)
3723 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3724 ("intltool" ,intltool)
3725 ("itstool" ,itstool)
3726 ("pkg-config" ,pkg-config)))
3729 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3731 ("libxml2" ,libxml2)
3734 ;; XXX TODO: Add oauth
3735 ;; XXX TODO: Add goa
3736 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3737 ;; XXX TODO: Add lua (needs help finding it)
3738 ("json-glib" ,json-glib)
3741 ("libsoup" ,libsoup)
3742 ("libarchive" ,libarchive)
3743 ("totem-pl-parser" ,totem-pl-parser)))
3745 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3748 ,(version-major+minor version)))
3749 ;; XXX FIXME: Try to get the test suite working. It appears to require
3750 ;; a working system dbus. Inside the build container, all tests fail
3751 ;; with: "assertion failed: (source)". Outside of the build container,
3752 ;; most tests succeed.
3754 (home-page "https://live.gnome.org/Grilo")
3755 (synopsis "Plugins for the Grilo media discovery library")
3757 "Grilo is a framework focused on making media discovery and browsing easy
3758 for application developers.")
3759 (license license:lgpl2.1+)))
3761 (define-public totem
3768 (uri (string-append "mirror://gnome/sources/" name "/"
3769 (version-major+minor version) "/"
3770 name "-" version ".tar.xz"))
3773 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
3774 (patches (search-patches "totem-meson-easy-codec.patch"))))
3775 (build-system meson-build-system)
3777 `(("pkg-config" ,pkg-config)
3778 ("desktop-file-utils" ,desktop-file-utils)
3779 ("gobject-introspection" ,gobject-introspection)
3780 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3781 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3782 ("intltool" ,intltool)
3783 ("itstool" ,itstool)
3784 ("xmllint" ,libxml2)))
3786 `(("dconf" ,dconf)))
3789 ("gdk-pixbuf" ,gdk-pixbuf)
3792 ("dbus-glib" ,dbus-glib)
3793 ("clutter" ,clutter)
3794 ("clutter-gtk" ,clutter-gtk)
3795 ("clutter-gst" ,clutter-gst)
3796 ("xorgproto" ,xorgproto)
3797 ("libxxf86vm" ,libxxf86vm)
3798 ("libxtst" ,libxtst)
3799 ("libxrandr" ,libxrandr)
3800 ("libxml2" ,libxml2)
3801 ("libsoup" ,libsoup)
3802 ("libpeas" ,libpeas)
3803 ("librsvg" ,librsvg)
3805 ("gnome-desktop" ,gnome-desktop)
3806 ("gstreamer" ,gstreamer)
3807 ("gst-plugins-base" ,gst-plugins-base)
3808 ("gst-plugins-good" ,gst-plugins-good)
3809 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3810 ("adwaita-icon-theme" ,adwaita-icon-theme)
3811 ;; XXX We use python-2 because libxml2 because itstool (which needs
3812 ;; libxml) currently uses python-2.
3813 ("python" ,python-2)
3814 ("python-pygobject" ,python2-pygobject)
3815 ;; XXX TODO pylint needed for python support
3816 ("totem-pl-parser" ,totem-pl-parser)
3818 ("grilo-plugins" ,grilo-plugins)
3824 ;; Disable parallel builds until
3825 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3826 ;; fixed. Try enabling it when updating this package in case
3827 ;; upstream has fixed it.
3828 #:parallel-build? #f
3830 ;; Disable automatic GStreamer plugin installation via PackageKit and
3832 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3834 ;; Do not build .a files for the plugins, it's
3835 ;; completely useless. This saves 2 MiB.
3836 "--default-library" "shared")
3839 (modify-phases %standard-phases
3841 'install 'disable-cache-generation
3843 (setenv "DESTDIR" "/")
3846 'install 'wrap-totem
3847 (lambda* (#:key inputs outputs #:allow-other-keys)
3848 (let ((out (assoc-ref outputs "out"))
3849 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3850 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3851 (wrap-program (string-append out "/bin/totem")
3852 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3853 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3854 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3855 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3857 (home-page "https://wiki.gnome.org/Apps/Videos")
3858 (synopsis "Simple media player for GNOME based on GStreamer")
3859 (description "Totem is a simple yet featureful media player for GNOME
3860 which can read a large number of file formats.")
3861 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3862 ;; to be used and distributed together with GStreamer and Totem. See
3863 ;; file://COPYING in the source distribution for details.
3864 (license license:gpl2+)))
3866 (define-public rhythmbox
3872 (uri (string-append "mirror://gnome/sources/" name "/"
3873 (version-major+minor version) "/"
3874 name "-" version ".tar.xz"))
3877 ;; fmradio: Fix build with GStreamer master
3881 "https://gitlab.gnome.org/GNOME/rhythmbox/commit/"
3882 "b182c6b9e1d09e601bac0b703cc5f8b159ebbc3a.patch"))
3885 "06n87xgf927djmv1vshal84nqx7g8nwgljza3g2vydhy7g2n1csq")))))
3888 "0hzcns8gf5yb0rm4ss8jd8qzarcaplp5cylk6plwilsqfvxj4xn2"))))
3889 (build-system glib-or-gtk-build-system)
3892 (list "--enable-lirc"
3899 (modify-phases %standard-phases
3901 'install 'wrap-rhythmbox
3902 (lambda* (#:key inputs outputs #:allow-other-keys)
3903 (let ((out (assoc-ref outputs "out"))
3904 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3905 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3906 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3907 (python-path (getenv "PYTHONPATH")))
3908 (wrap-program (string-append out "/bin/rhythmbox")
3909 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3910 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3911 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3912 `("PYTHONPATH" ":" prefix (,python-path))))
3915 `(("dconf" ,dconf)))
3917 `(("itstool" ,itstool)
3918 ("intltool" ,intltool)
3919 ("glib" ,glib "bin")
3920 ("gobject-introspection" ,gobject-introspection)
3921 ("desktop-file-utils" ,desktop-file-utils)
3922 ("pkg-config" ,pkg-config)
3923 ("xmllint" ,libxml2)))
3925 `(("json-glib" ,json-glib)
3927 ("gnome-desktop" ,gnome-desktop)
3929 ("python-pygobject" ,python2-pygobject)
3933 ("adwaita-icon-theme" ,adwaita-icon-theme)
3935 ("grilo-plugins" ,grilo-plugins)
3936 ("gstreamer" ,gstreamer)
3937 ("gst-plugins-base" ,gst-plugins-base)
3938 ("gst-plugins-good" ,gst-plugins-good)
3939 ("totem-pl-parser" ,totem-pl-parser)
3940 ("libgudev" ,libgudev)
3941 ;;("libmtp" ,libmtp) FIXME: Not detected
3942 ("libsecret" ,libsecret)
3943 ("libsoup" ,libsoup)
3944 ("libnotify" ,libnotify)
3945 ("libpeas" ,libpeas)
3947 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3948 ;;("clutter" ,clutter)
3949 ;;("clutter-gtk" ,clutter-gtk)
3950 ;;("clutter-gst" ,clutter-gst)
3951 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3958 ("brasero" ,brasero)))
3959 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3960 (synopsis "Music player for GNOME")
3961 (description "Rhythmbox is a music playing application for GNOME. It
3962 supports playlists, song ratings, and any codecs installed through gstreamer.")
3963 (license license:gpl2+)))
3971 (uri (string-append "mirror://gnome/sources/" name "/"
3972 (version-major+minor version) "/"
3973 name "-" version ".tar.xz"))
3976 "1gasrfqi7qrzdq1idh29r0n6ikkqjb6pbp7a8k5krfz5hkhyfin0"))))
3977 (build-system meson-build-system)
3980 (modify-phases %standard-phases
3981 (add-after 'install 'wrap-eog
3982 (lambda* (#:key outputs #:allow-other-keys)
3983 (let ((out (assoc-ref outputs "out"))
3984 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3985 (wrap-program (string-append out "/bin/eog")
3986 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3989 `(("dconf" ,dconf)))
3991 `(("intltool" ,intltool)
3992 ("itstool" ,itstool)
3993 ("glib" ,glib "bin")
3994 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3995 ("gobject-introspection" ,gobject-introspection)
3996 ("pkg-config" ,pkg-config)
3997 ("xmllint" ,libxml2)))
3999 `(("gnome-desktop" ,gnome-desktop)
4000 ("shared-mime-info" ,shared-mime-info)
4001 ("adwaita-icon-theme" ,adwaita-icon-theme)
4004 ("libexif" ,libexif)
4005 ("libpeas" ,libpeas)
4006 ("libjpeg" ,libjpeg)
4007 ("librsvg" ,librsvg)
4008 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4010 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4011 (synopsis "GNOME image viewer")
4012 (description "Eye of GNOME is the GNOME image viewer. It
4013 supports image conversion, rotation, and slideshows.")
4014 (license license:gpl2+)))
4016 (define-public eog-plugins
4017 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4018 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4019 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4020 ;; 'XDG_DATA_DIRS' appropriately set.
4022 (name "eog-plugins")
4026 (uri (string-append "mirror://gnome/sources/eog-plugins/"
4027 (version-major+minor version) "/"
4028 "eog-plugins-" version ".tar.xz"))
4031 "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3"))))
4032 (build-system gnu-build-system)
4033 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4034 (synopsis "Extensions for the Eye of GNOME image viewer")
4036 `(("pkg-config" ,pkg-config)
4037 ("gettext" ,gnu-gettext)))
4042 ("libpeas" ,libpeas)
4043 ("libexif" ,libexif)
4044 ("libchamplain" ,libchamplain)))
4046 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4050 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4051 @item @dfn{Map}, which displays a map of where the picture was taken on the
4053 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4056 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4057 ;; long suspicious byte stream that goes to a
4058 ;; ".gresource.eog_postasa_plugin" ELF section.
4059 (license license:gpl2+)))
4061 (define-public libgudev
4067 (uri (string-append "mirror://gnome/sources/" name "/"
4068 version "/" name "-" version ".tar.xz"))
4071 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
4072 (build-system gnu-build-system)
4075 ;; umockdev depends on libgudev.
4076 (list "--disable-umockdev")))
4078 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4079 ("gobject-introspection" ,gobject-introspection)
4080 ("pkg-config" ,pkg-config)))
4082 `(("glib" ,glib))) ; required by gudev-1.0.pc
4085 (home-page "https://wiki.gnome.org/Projects/libgudev")
4086 (synopsis "GObject bindings for libudev")
4088 "This library provides GObject bindings for libudev. It was originally
4089 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4090 (license license:lgpl2.1+)))
4098 (uri (string-append "mirror://gnome/sources/" name "/"
4099 (version-major+minor version) "/"
4100 name "-" version ".tar.xz"))
4103 "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4"))))
4104 (build-system gnu-build-system)
4106 '(#:tests? #f ; XXX: requiring `pidof'
4108 (modify-phases %standard-phases
4109 (add-after 'unpack 'remove-broken-autogen-script
4110 (lambda _ (delete-file "autogen.sh") #t)))))
4112 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4113 ("autoconf" ,autoconf)
4114 ("automake" ,automake)
4115 ("gettext" ,gettext-minimal)
4116 ("gtk-doc" ,gtk-doc)
4117 ("libtool" ,libtool)
4118 ("pkg-config" ,pkg-config)
4119 ("xsltproc" ,libxslt)))
4122 ("docbook-xml" ,docbook-xml-4.2)
4123 ("docbook-xsl" ,docbook-xsl)
4128 ("libarchive" ,libarchive)
4129 ("libbluray" ,libbluray)
4131 ("libcdio-paranoia" ,libcdio-paranoia)
4132 ("libgcrypt" ,libgcrypt)
4133 ("libgphoto2" ,libgphoto2)
4134 ("libgudev" ,libgudev)
4135 ("libimobiledevice" ,libimobiledevice)
4137 ("libsecret" ,libsecret)
4138 ("libsmbclient" ,samba)
4139 ("libsoup" ,libsoup)
4140 ("libxml2" ,libxml2)
4141 ("nettle" ,nettle) ; XXX: required by libarchive.pc
4143 ("udisks" ,udisks)))
4144 (home-page "https://wiki.gnome.org/gvfs/")
4145 (synopsis "Userspace virtual file system for GIO")
4147 "GVFS is a userspace virtual file system designed to work with the I/O
4148 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4149 to all applications using the GIO API. It also supports exposing the GVFS
4150 mounts to non-GIO applications using FUSE.
4152 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4154 (license license:lgpl2.0+)))
4162 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4166 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4167 (build-system meson-build-system)
4169 `(("gobject-introspection" ,gobject-introspection)
4170 ("pkg-config" ,pkg-config)
4172 ("gtk-doc" ,gtk-doc)))
4174 ;; Both of these are required by gusb.pc.
4176 ("libusb" ,libusb)))
4178 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4179 (home-page "https://github.com/hughsie/libgusb")
4180 (synopsis "GLib binding for libusb1")
4182 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4183 asynchronous control, bulk and interrupt transfers with proper cancellation
4184 and integration into a mainloop. This makes it easy to integrate low level
4185 USB transfers with your high-level application or system daemon.")
4186 (license license:lgpl2.1+)))
4188 (define-public simple-scan
4190 (name "simple-scan")
4194 (uri (string-append "https://launchpad.net/simple-scan/"
4195 (version-major+minor version) "/"
4196 version "/+download/simple-scan-"
4200 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4201 (build-system glib-or-gtk-build-system)
4206 ("gdk-pixbuf" ,gdk-pixbuf)
4208 ("libsane" ,sane-backends)))
4210 `(("gettext" ,gettext-minimal)
4211 ("itstool" ,itstool)
4213 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4214 ("pkg-config" ,pkg-config)
4216 ("xmllint" ,libxml2)))
4218 '(#:configure-flags '("--disable-packagekit")
4220 (modify-phases %standard-phases
4221 (add-after 'unpack 'clean
4223 ;; Remove a left-over reference to PackageKit.
4225 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4227 ;; There are some generated C files erroneously
4228 ;; included in the source distribution, and this
4229 ;; one breaks the build by referring to a
4230 ;; non-existent header (packagekit.h)
4231 (delete-file "src/ui.c"))))))
4232 (home-page "https://launchpad.net/simple-scan")
4233 (synopsis "Document and image scanner")
4234 (description "Simple Scan is an easy-to-use application, designed to let
4235 users connect their scanner and quickly have the image/document in an
4236 appropriate format. Simple Scan is basically a frontend for SANE - which is
4237 the same backend as XSANE uses. This means that all existing scanners will
4238 work and the interface is well tested.")
4239 (license license:gpl3+)))
4241 (define-public eolie
4247 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4248 "uploads/d95bf72958276c80dfaca8cce0e4e92c/"
4249 "eolie-" version ".tar.xz"))
4252 "1s3b0rkm8sxmhzzi624snzqvz61i1rja5wxyzw6jg2kcdjcylwln"))))
4253 (build-system meson-build-system)
4257 (modify-phases %standard-phases
4258 (add-after 'wrap 'wrap-more
4259 (lambda* (#:key inputs outputs #:allow-other-keys)
4260 (let* ((out (assoc-ref outputs "out"))
4261 ;; These libraries must be on LD_LIBRARY_PATH.
4262 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4263 "atk" "gtk+" "gsettings-desktop-schemas"
4264 "gcc:lib" ; needed b/c webkitgtk is built with gcc-7
4265 "gobject-introspection"))
4268 (string-append (assoc-ref inputs lib) "/lib"))
4271 (wrap-program (string-append out "/bin/eolie")
4272 `("LD_LIBRARY_PATH" ":" prefix (,path))
4273 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4274 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4277 `(("gcc:lib" ,gcc-7 "lib") ; needed because webkitgtk is built with gcc-7
4278 ("intltool" ,intltool)
4279 ("itstool" ,itstool)
4280 ("pkg-config" ,pkg-config)
4282 ("glib:bin" ,glib "bin")
4283 ("gtk+" ,gtk+ "bin")))
4285 `(("gobject-introspection" ,gobject-introspection)
4286 ("glib-networking" ,glib-networking)
4289 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4290 ("python" ,python-wrapper)
4291 ("python-dateutil" ,python-dateutil)
4292 ("python-pyfxa" ,python-pyfxa)
4293 ("python-pygobject" ,python-pygobject)
4294 ("python-pycairo" ,python-pycairo)
4295 ("python-pycrypto" ,python-pycrypto)
4296 ("libsecret" ,libsecret)
4297 ("gtkspell3" ,gtkspell3)
4298 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4299 ("webkitgtk" ,webkitgtk-2.22)))
4300 (home-page "https://wiki.gnome.org/Apps/Eolie")
4301 (synopsis "Web browser for GNOME")
4303 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4304 a secret password store, an adblocker, and a modern UI.")
4305 (license license:gpl3+)))
4307 (define-public epiphany
4310 (version "3.28.3.1")
4313 (uri (string-append "mirror://gnome/sources/" name "/"
4314 (version-major+minor version) "/"
4315 name "-" version ".tar.xz"))
4318 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
4320 (build-system meson-build-system)
4322 ;; FIXME: tests run under Xvfb, but fail with:
4323 ;; /src/bookmarks/ephy-bookmarks/create:
4324 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4330 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4331 (list (string-append "-Dc_link_args=-Wl,-rpath="
4332 (assoc-ref %outputs "out") "/lib/epiphany"))))
4334 `(("dconf" ,dconf)))
4336 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4337 ("gcc" ,gcc-7) ; needed because webkitgtk-2.22 is compiled with gcc-7
4338 ("glib:bin" ,glib "bin") ; for glib-mkenums
4339 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4340 ("intltool" ,intltool)
4341 ("itstool" ,itstool)
4342 ("pkg-config" ,pkg-config)
4343 ("xmllint" ,libxml2)))
4347 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4348 ("glib-networking" ,glib-networking)
4349 ("gnome-desktop" ,gnome-desktop)
4350 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4351 ("json-glib" ,json-glib)
4352 ("iso-codes" ,iso-codes)
4353 ("libnotify" ,libnotify)
4354 ("libsecret" ,libsecret)
4355 ("libxslt" ,libxslt)
4356 ("nettle" ,nettle) ; for hogweed
4358 ("webkitgtk" ,webkitgtk-2.22)))
4359 (home-page "https://wiki.gnome.org/Apps/Web")
4360 (synopsis "GNOME web browser")
4362 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4363 principles are simplicity and standards compliance.")
4364 (license license:gpl2+)))
4366 (define-public d-feet
4372 (uri (string-append "mirror://gnome/sources/" name "/"
4373 (version-major+minor version) "/"
4374 name "-" version ".tar.xz"))
4377 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
4378 (build-system glib-or-gtk-build-system)
4380 '(#:out-of-source? #f ; tests need to run in the source directory.
4382 (modify-phases %standard-phases
4386 ;; The test suite requires a running X server.
4387 (system "Xvfb :1 &")
4388 (setenv "DISPLAY" ":1")
4389 ;; Don't fail on missing '/etc/machine-id'.
4390 (setenv "DBUS_FATAL_WARNINGS" "0")
4391 ;; tests.py and window.py don't meet E402:
4392 ;; E402 module level import not at top of file
4393 (substitute* "src/tests/Makefile"
4394 (("--ignore=E123") "--ignore=E123,E402"))
4397 'install 'wrap-program
4398 (lambda* (#:key outputs #:allow-other-keys)
4399 (let ((prog (string-append (assoc-ref outputs "out")
4402 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4403 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4406 `(("intltool" ,intltool)
4407 ("itstool" ,itstool)
4408 ("pkg-config" ,pkg-config)
4409 ("python-pep8" ,python-pep8)
4410 ("xmllint" ,libxml2)
4411 ("xorg-server" ,xorg-server)))
4413 `(("gobject-introspection" ,gobject-introspection)
4415 ("python" ,python-wrapper)
4416 ("python-pygobject" ,python-pygobject)))
4417 (home-page "https://wiki.gnome.org/Apps/DFeet")
4418 (synopsis "D-Bus debugger")
4420 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4421 of running programs and invoke methods on those interfaces.")
4422 (license license:gpl2+)))
4424 (define-public yelp-xsl
4430 (uri (string-append "mirror://gnome/sources/" name "/"
4431 (version-major+minor version) "/"
4432 name "-" version ".tar.xz"))
4435 "14rznm1qpsnmkwksnkd5j7zplakl01kvrcw0fdmd5gdc65xz9kcc"))))
4436 (build-system gnu-build-system)
4438 `(("intltool" ,intltool)
4439 ("itstool" ,itstool)
4440 ("xmllint" ,libxml2)))
4441 (home-page "https://wiki.gnome.org/Apps/Yelp")
4442 (synopsis "XSL stylesheets for Yelp")
4444 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4445 to format Docbook and Mallard documents.")
4446 (license license:gpl2+)))
4454 (uri (string-append "mirror://gnome/sources/" name "/"
4455 (version-major+minor version) "/"
4456 name "-" version ".tar.xz"))
4459 "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8"))))
4460 (build-system glib-or-gtk-build-system)
4462 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4463 ("intltool" ,intltool)
4464 ("itstool" ,itstool)
4465 ("pkg-config" ,pkg-config)))
4467 `(("dconf" ,dconf)))
4469 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4470 ("libxslt" ,libxslt)
4472 ("webkitgtk" ,webkitgtk)
4473 ("yelp-xsl" ,yelp-xsl)))
4474 (home-page "https://wiki.gnome.org/Apps/Yelp")
4475 (synopsis "GNOME help browser")
4477 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4478 man, info, and HTML documents. It can locate documents according to the
4479 freedesktop.org help system specification.")
4480 (license license:gpl2+)))
4482 (define-public yelp-tools
4488 (uri (string-append "mirror://gnome/sources/" name "/"
4489 (version-major+minor version) "/"
4490 name "-" version ".tar.xz"))
4493 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
4494 (build-system gnu-build-system)
4496 `(("pkg-config" ,pkg-config)))
4498 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4499 `(("itstool" ,itstool)
4500 ("xmllint" ,libxml2)
4501 ("xsltproc" ,libxslt)))
4503 `(("yelp-xsl" ,yelp-xsl)))
4504 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4505 (synopsis "Yelp documentation tools")
4507 "Yelp-tools is a collection of scripts and build utilities to help create,
4508 manage, and publish documentation for Yelp and the web. Most of the heavy
4509 lifting is done by packages like yelp-xsl and itstool. This package just
4510 wraps things up in a developer-friendly way.")
4511 (license license:gpl2+)))
4513 (define-public libgee
4519 (uri (string-append "mirror://gnome/sources/" name "/"
4520 (version-major+minor version) "/"
4521 name "-" version ".tar.xz"))
4524 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4525 (build-system gnu-build-system)
4528 (modify-phases %standard-phases
4529 (add-after 'unpack 'fix-introspection-install-dir
4530 (lambda* (#:key outputs #:allow-other-keys)
4531 (let ((out (assoc-ref outputs "out")))
4532 (substitute* "gee/Makefile.in"
4533 (("@INTROSPECTION_GIRDIR@")
4534 (string-append out "/share/gir-1.0/"))
4535 (("@INTROSPECTION_TYPELIBDIR@")
4536 (string-append out "/lib/girepository-1.0/")))))))))
4538 `(("glib" ,glib "bin")
4539 ("pkg-config" ,pkg-config)))
4542 ("gobject-introspection" ,gobject-introspection)))
4543 (home-page "https://wiki.gnome.org/Projects/Libgee")
4544 (synopsis "GObject collection library")
4546 "Libgee is a utility library providing GObject-based interfaces and
4547 classes for commonly used data structures.")
4548 (license license:lgpl2.1+)))
4550 (define-public gexiv2
4556 (uri (string-append "mirror://gnome/sources/" name "/"
4557 (version-major+minor version) "/"
4558 name "-" version ".tar.xz"))
4561 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
4562 (build-system meson-build-system)
4564 `(("glib" ,glib "bin")
4565 ("pkg-config" ,pkg-config)))
4567 ;; Listed in "Requires" section of gexiv2.pc
4568 `(("exiv2" ,exiv2)))
4571 ("gobject-introspection" ,gobject-introspection)))
4572 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4573 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4575 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4576 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4577 metadata in photo and video files of various formats.")
4578 (license license:gpl2+)))
4580 (define-public shotwell
4586 (uri (string-append "mirror://gnome/sources/" name "/"
4587 (version-major+minor version) "/"
4588 name "-" version ".tar.xz"))
4591 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
4592 (build-system glib-or-gtk-build-system)
4594 `(("dconf" ,dconf)))
4596 `(("pkg-config" ,pkg-config)
4597 ("itstool" ,itstool)
4598 ("gettext" ,gettext-minimal)
4599 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4600 ("itstool" ,itstool)
4603 `(("glib:bin" ,glib "bin")
4604 ("gstreamer" ,gstreamer)
4605 ("gst-plugins-base" ,gst-plugins-base)
4606 ("libgdata" ,libgdata)
4610 ("json-glib" ,json-glib)
4611 ("webkitgtk" ,webkitgtk)
4613 ("libsoup" ,libsoup)
4614 ("libxml2" ,libxml2)
4615 ("libgudev" ,libgudev)
4616 ("libgphoto2" ,libgphoto2)
4618 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4619 (synopsis "Photo manager for GNOME 3")
4621 "Shotwell is a digital photo manager designed for the GNOME desktop
4622 environment. It allows you to import photos from disk or camera, organize
4623 them by keywords and events, view them in full-window or fullscreen mode, and
4624 share them with others via social networking and more.")
4625 (license license:lgpl2.1+)))
4627 (define-public file-roller
4629 (name "file-roller")
4633 (uri (string-append "mirror://gnome/sources/" name "/"
4634 (version-major+minor version) "/"
4635 name "-" version ".tar.xz"))
4638 "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1"))))
4639 (build-system meson-build-system)
4641 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4642 ("intltool" ,intltool)
4643 ("pkg-config" ,pkg-config)
4644 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4645 ("glib:bin" ,glib "bin")))
4646 ;; TODO: Add libnautilus.
4649 ("gdk-pixbuf" ,gdk-pixbuf)
4650 ("json-glib" ,json-glib)
4651 ("libarchive" ,libarchive)
4652 ("libnotify" ,libnotify)
4654 ("itstool" ,itstool)
4655 ("libxml2" ,libxml2)))
4656 (synopsis "Graphical archive manager for GNOME")
4657 (description "File Roller is an archive manager for the GNOME desktop
4658 environment that allows users to view, unpack, and create compressed archives
4659 such as gzip tarballs.")
4660 (home-page "http://fileroller.sourceforge.net/")
4661 (license license:gpl2+)))
4663 (define-public gnome-session
4665 (name "gnome-session")
4669 (uri (string-append "mirror://gnome/sources/" name "/"
4670 (version-major+minor version) "/"
4671 name "-" version ".tar.xz"))
4674 "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq"))))
4678 (modify-phases %standard-phases
4679 (add-before 'configure 'pre-configure
4680 (lambda* (#:key outputs #:allow-other-keys)
4681 ;; Use elogind instead of systemd.
4682 (substitute* "meson.build"
4683 (("libsystemd-login") "libelogind")
4684 (("and libsystemd_daemon_dep.found.*") ","))
4685 (substitute* "gnome-session/gsm-systemd.c"
4686 (("#include <systemd/sd-login.h>")
4687 "#include <elogind/sd-login.h>"))
4688 ;; Remove uses of the systemd daemon.
4689 (substitute* "gnome-session/gsm-autostart-app.c"
4690 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4692 (add-after 'install 'wrap-gnome-session
4693 (lambda* (#:key inputs outputs #:allow-other-keys)
4694 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4695 (let ((glib (assoc-ref inputs "glib:bin"))
4696 (out (assoc-ref outputs "out")))
4697 (wrap-program (string-append out "/bin/gnome-session")
4698 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4700 (add-after 'install 'add-absolute-paths-to-desktop-files
4701 (lambda* (#:key outputs #:allow-other-keys)
4702 (let* ((out (assoc-ref outputs "out")))
4703 (substitute* (map (lambda (x)
4704 (string-append out "/share/xsessions/" x))
4705 '("gnome.desktop" "gnome-xorg.desktop"))
4706 (("gnome-session") (string-append out "/bin/gnome-session")))
4710 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4711 "-Dman=false" ; FIXME: disabled because of docbook validation error
4712 "-Dsystemd_journal=false")))
4713 (build-system meson-build-system)
4715 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4716 ("pkg-config" ,pkg-config)
4717 ("intltool" ,intltool)
4718 ("xsltproc" ,libxslt)
4719 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4720 ("docbook-xsl" ,docbook-xsl)
4721 ("docbook-xml" ,docbook-xml)
4724 `(("elogind" ,elogind)
4725 ("gnome-desktop" ,gnome-desktop)
4726 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4728 ("json-glib" ,json-glib)
4730 ("libxcomposite" ,libxcomposite)
4731 ("libxtst" ,libxtst)
4734 ("xtrans" ,xtrans)))
4735 (synopsis "Session manager for GNOME")
4737 "This package contains the GNOME session manager, as well as a
4738 configuration program to choose applications starting on login.")
4739 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4740 (license license:gpl2+)))
4748 (uri (string-append "mirror://gnome/sources/" name "/"
4749 (version-major+minor version) "/"
4750 name "-" version ".tar.xz"))
4753 "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff"))))
4754 (build-system gnu-build-system)
4757 (modify-phases %standard-phases
4761 ;; The test suite requires a running X server.
4762 (system "Xvfb :1 &")
4763 (setenv "DISPLAY" ":1")
4765 ;; For the missing /etc/machine-id.
4766 (setenv "DBUS_FATAL_WARNINGS" "0")
4768 ;; Our mozjs-38 package does not compile the required Intl API
4769 ;; support for these failing tests.
4770 (substitute* "installed-tests/js/testLocale.js"
4771 ((".*toBeDefined.*") "")
4772 ((".*expect\\(datestr\\).*") ""))
4775 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4776 ("pkg-config" ,pkg-config)
4777 ("xmllint" ,libxml2)
4779 ("dbus-launch" ,dbus)
4780 ("uuidgen" ,util-linux)
4781 ("xvfb" ,xorg-server)))
4783 ;; These are all in the Requires.private field of gjs-1.0.pc.
4785 ("gobject-introspection" ,gobject-introspection)
4786 ("mozjs" ,mozjs-52)))
4789 ("readline" ,readline)))
4790 (synopsis "Javascript bindings for GNOME")
4791 (home-page "https://live.gnome.org/Gjs")
4793 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4794 javascript engine and the GObject introspection framework.")
4795 (license license:gpl2+)))
4797 (define-public gedit
4803 (uri (string-append "mirror://gnome/sources/" name "/"
4804 (version-major+minor version) "/"
4805 name "-" version ".tar.xz"))
4808 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
4809 (build-system glib-or-gtk-build-system)
4812 (modify-phases %standard-phases
4814 'install 'wrap-gedit
4815 (lambda* (#:key inputs outputs #:allow-other-keys)
4816 (let ((out (assoc-ref outputs "out"))
4817 (gtksourceview (assoc-ref inputs "gtksourceview"))
4818 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4819 (python-path (getenv "PYTHONPATH")))
4820 (wrap-program (string-append out "/bin/gedit")
4822 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4823 `("PYTHONPATH" ":" prefix (,python-path))
4824 ;; For language-specs.
4825 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4829 `(("dconf" ,dconf)))
4831 `(("intltool" ,intltool)
4832 ("itstool" ,itstool)
4833 ("gobject-introspection" ,gobject-introspection)
4834 ("pkg-config" ,pkg-config)))
4839 ("gtksourceview" ,gtksourceview-3)
4840 ("libpeas" ,libpeas)
4841 ("libxml2" ,libxml2)
4842 ("iso-codes" ,iso-codes)
4843 ("python-pygobject" ,python-pygobject)
4845 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4848 ("adwaita-icon-theme" ,adwaita-icon-theme)
4849 ("libsoup" ,libsoup)
4850 ("gnome-desktop" ,gnome-desktop)))
4851 (home-page "https://wiki.gnome.org/Apps/Gedit")
4852 (synopsis "GNOME text editor")
4853 (description "While aiming at simplicity and ease of use, gedit is a
4854 powerful general purpose text editor.")
4855 (license license:gpl2+)))
4857 (define-public zenity
4863 (uri (string-append "mirror://gnome/sources/" name "/"
4864 (version-major+minor version) "/"
4865 name "-" version ".tar.xz"))
4868 "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv"))))
4869 (build-system gnu-build-system)
4871 `(("gettext" ,gettext-minimal)
4872 ("itstool" ,itstool)
4873 ("pkg-config" ,pkg-config)))
4875 `(("libnotify" ,libnotify)
4876 ("webkitgtk" ,webkitgtk)))
4877 (synopsis "Display graphical dialog boxes from shell scripts")
4878 (home-page "https://www.gnome.org")
4880 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4881 to display dialog boxes from the commandline and shell scripts.")
4882 (license license:lgpl2.0+)))
4884 (define-public mutter
4890 (uri (string-append "mirror://gnome/sources/" name "/"
4891 (version-major+minor version) "/"
4892 name "-" version ".tar.xz"))
4895 "0ighs1zvlssgq16v1h3vg280za7y448snq65gc5m1zmqqawqkymg"))))
4896 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4897 ;; versions of cogl and clutter. As a result, many of the inputs,
4898 ;; propagated-inputs, and configure flags used in cogl and clutter are
4899 ;; needed here as well.
4900 (build-system gnu-build-system)
4903 ;; XXX: build fails with [-Werror]:
4904 ;; backends/meta-cursor-renderer.c:112:5: error:
4905 ;; implicit declaration of function ?roundf?
4906 (list "--enable-compile-warnings=minimum"
4908 "--enable-native-backend"
4910 ;; The following flags are needed for the bundled clutter
4911 "--enable-x11-backend=yes"
4913 (string-append "--with-xwayland-path="
4914 (assoc-ref %build-inputs "xorg-server-xwayland")
4917 ;; the remaining flags are needed for the bundled cogl
4919 (string-append "--with-gl-libname="
4920 (assoc-ref %build-inputs "mesa")
4923 (modify-phases %standard-phases
4924 ;; Replace references to systemd libraries to elogind references.
4925 (add-before 'configure 'use-elogind
4927 (substitute* (list "configure"
4928 "src/backends/native/meta-launcher.c"
4930 (("systemd") "elogind"))
4933 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4934 ("gobject-introspection" ,gobject-introspection)
4935 ("intltool" ,intltool)
4936 ("pkg-config" ,pkg-config)
4938 ("autoconf" ,autoconf)
4939 ("automake" ,automake)
4940 ("libtool" ,libtool)))
4942 `(;; libmutter.pc refers to these:
4943 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4945 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4948 ("gdk-pixbuf" ,gdk-pixbuf)
4951 ("json-glib" ,json-glib)
4952 ("libinput" ,libinput)
4954 ("libxcomposite" ,libxcomposite)
4955 ("libxdamage" ,libxdamage)
4956 ("libxext" ,libxext)
4957 ("libxfixes" ,libxfixes)
4958 ("libxkbcommon" ,libxkbcommon)
4959 ("libxrandr" ,libxrandr)
4963 ("xinput" ,xinput)))
4965 `(("elogind" ,elogind)
4966 ("gnome-desktop" ,gnome-desktop)
4967 ("libcanberra-gtk" ,libcanberra)
4968 ("libgudev" ,libgudev)
4971 ("libxkbfile" ,libxkbfile)
4972 ("libxrandr" ,libxrandr)
4973 ("libxtst" ,libxtst)
4974 ("startup-notification" ,startup-notification)
4975 ("upower-glib" ,upower)
4976 ("xkeyboard-config" ,xkeyboard-config)
4977 ("xorg-server-xwayland" ,xorg-server-xwayland)
4978 ("zenity" ,zenity)))
4979 (synopsis "Window and compositing manager")
4980 (home-page "https://www.gnome.org")
4982 "Mutter is a window and compositing manager that displays and manages your
4983 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4984 Clutter toolkit with solid window-management logic inherited from the Metacity
4986 (license license:gpl2+)))
4988 (define-public gnome-online-accounts
4990 (name "gnome-online-accounts")
4994 (uri (string-append "mirror://gnome/sources/" name "/"
4995 (version-major+minor version) "/"
4996 name "-" version ".tar.xz"))
4999 "1l8p1ghknmkmjpnpl7jr53j66qbzpikickzbmrz0aczyhq6pdy29"))))
5000 (build-system glib-or-gtk-build-system)
5002 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5003 ("gobject-introspection" ,gobject-introspection)
5004 ("intltool" ,intltool)
5005 ("pkg-config" ,pkg-config)
5006 ("xsltproc" ,libxslt)))
5008 `(("glib" ,glib) ; required by goa-1.0.pc
5009 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5011 `(("docbook-xsl" ,docbook-xsl)
5012 ("json-glib" ,json-glib)
5013 ("libsecret" ,libsecret)
5015 ("webkitgtk" ,webkitgtk)))
5016 (synopsis "Single sign-on framework for GNOME")
5017 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5019 "GNOME Online Accounts provides interfaces so that applications and
5020 libraries in GNOME can access the user's online accounts. It has providers for
5021 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5022 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5023 (license license:lgpl2.0+)))
5025 (define-public evolution-data-server
5027 (name "evolution-data-server")
5031 (uri (string-append "mirror://gnome/sources/" name "/"
5032 (version-major+minor version) "/"
5033 name "-" version ".tar.xz"))
5036 "12b9lfgwd57rzn9394xrbvl9ym5aqldpz9v7c9a421dsv8dgq13b"))))
5037 (build-system cmake-build-system)
5039 '(;; XXX FIXME: 11/85 tests are failing.
5042 (let* ((lib (string-append (assoc-ref %outputs "out")
5044 (runpaths (map (lambda (s) (string-append
5045 lib "/evolution-data-server/" s))
5046 '("addressbook-backends" "calendar-backends"
5047 "camel-providers" "credential-modules"
5048 "registry-modules"))))
5049 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5050 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5051 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5052 "-DENABLE_VALA_BINDINGS=ON"
5053 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
5054 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5055 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5056 ;; evolution-data-server has been updated to qualify ICU types
5057 ;; explicitly, as required by ICU 61 and later. See:
5058 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5059 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
5060 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5061 (string-append lib "/evolution-data-server;")
5062 (string-join runpaths ";"))
5063 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5065 (modify-phases %standard-phases
5066 (add-after 'unpack 'patch-paths
5068 (substitute* "tests/test-server-utils/e-test-server-utils.c"
5069 (("/bin/rm") (which "rm")))
5071 (add-before 'configure 'dont-override-rpath
5073 (substitute* "CMakeLists.txt"
5074 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5075 ;; Remove it so the configure flag is respected.
5076 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5079 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5080 ("gobject-introspection" ,gobject-introspection)
5082 ("intltool" ,intltool)
5083 ("pkg-config" ,pkg-config)
5085 ("python" ,python-wrapper)))
5087 ;; These are all in the Requires field of .pc files.
5089 ("libical" ,libical)
5090 ("libsecret" ,libsecret)
5091 ("libsoup" ,libsoup)
5093 ("sqlite" ,sqlite)))
5097 ("gnome-online-accounts" ,gnome-online-accounts)
5098 ("json-glib" ,json-glib)
5099 ("libgweather" ,libgweather)
5100 ("mit-krb5" ,mit-krb5)
5101 ("openldap" ,openldap)
5102 ("webkitgtk" ,webkitgtk)))
5103 (synopsis "Store address books and calendars")
5104 (home-page "https://wiki.gnome.org/Apps/Evolution")
5106 "This package provides a unified backend for programs that work with
5107 contacts, tasks, and calendar information. It was originally developed for
5108 Evolution (hence the name), but is now used by other packages as well.")
5109 (license license:lgpl2.0)))
5111 (define-public caribou
5117 (uri (string-append "mirror://gnome/sources/" name "/"
5118 (version-major+minor version) "/"
5119 name "-" version ".tar.xz"))
5122 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5123 (build-system glib-or-gtk-build-system)
5126 (modify-phases %standard-phases
5129 (lambda* (#:key outputs #:allow-other-keys)
5130 (let ((out (assoc-ref outputs "out")))
5131 ;; Use absolute shared library path in Caribou-1.0.typelib.
5132 (substitute* "libcaribou/Makefile"
5133 (("--shared-library=libcaribou.so")
5134 (string-append "--shared-library="
5135 out "/lib/libcaribou.so")))
5137 (add-after 'install 'wrap-programs
5138 (lambda* (#:key outputs #:allow-other-keys)
5139 (let* ((out (assoc-ref outputs "out"))
5140 (python-path (getenv "PYTHONPATH"))
5141 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5145 `("PYTHONPATH" ":" prefix (,python-path))
5146 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5147 (list (string-append out "/bin/caribou-preferences")
5148 (string-append out "/libexec/antler-keyboard"))))
5151 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5152 ("gobject-introspection" ,gobject-introspection)
5153 ("intltool" ,intltool)
5154 ("pkg-config" ,pkg-config)
5155 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5157 ("xsltproc" ,libxslt)))
5159 ;; caribou-1.0.pc refers to all these.
5160 `(("libgee" ,libgee)
5161 ("libxklavier" ,libxklavier)
5162 ("libxtst" ,libxtst)
5165 `(("clutter" ,clutter)
5168 ("python-pygobject" ,python2-pygobject)))
5169 (synopsis "Text entry and UI navigation application")
5170 (home-page "https://wiki.gnome.org/Projects/Caribou")
5172 "Caribou is an input assistive technology intended for switch and pointer
5174 (license license:lgpl2.1)))
5176 (define-public network-manager
5178 (name "network-manager")
5182 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5183 (version-major+minor version) "/"
5184 "NetworkManager-" version ".tar.xz"))
5187 "1jn3g0f2x1irc88awqp8m3gnpdx1whqqqbdgkbgr4x55s702jki4"))
5190 (use-modules (guix build utils))
5191 (substitute* "configure"
5192 ;; Replace libsystemd-login with libelogind.
5193 (("libsystemd-login") "libelogind"))
5194 (substitute* "src/devices/wwan/nm-modem-manager.c"
5195 (("systemd") "elogind"))
5196 (substitute* "src/nm-session-monitor.c"
5197 (("systemd") "elogind"))
5198 (substitute* "./src/nm-logging.c"
5199 (("systemd") "elogind"))
5201 (build-system gnu-build-system)
5203 "doc")) ; 8 MiB of gtk-doc HTML
5206 (let ((out (assoc-ref %outputs "out"))
5207 (doc (assoc-ref %outputs "doc"))
5208 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5210 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
5211 "--with-consolekit=no"
5212 "--with-crypto=gnutls"
5213 "--disable-config-plugin-ibft"
5215 "--localstatedir=/var"
5216 (string-append "--with-udev-dir="
5218 (string-append "--with-dbus-sys-dir="
5219 out "/etc/dbus-1/system.d")
5220 (string-append "--with-html-dir="
5221 doc "/share/gtk-doc/html")
5222 (string-append "--with-dhclient=" dhclient)))
5224 (modify-phases %standard-phases
5225 (add-before 'configure 'pre-configure
5227 ;; These tests try to test aspects of network-manager's
5228 ;; functionality within restricted containers, but they don't
5229 ;; cope with being already in the Guix build jail as that jail
5230 ;; lacks some features that they would like to proxy over (like
5232 (substitute* '("Makefile.in")
5233 (("src/platform/tests/test-address-linux") " ")
5234 (("src/platform/tests/test-cleanup-linux") " ")
5235 (("src/platform/tests/test-link-linux") " ")
5236 (("src/platform/tests/test-route-linux") " ")
5237 (("src/devices/tests/test-arping") " ")
5238 (("src/devices/tests/test-lldp") " ")
5239 (("src/tests/test-route-manager-linux") " "))
5241 (add-after 'unpack 'delete-failing-tests
5243 ;; FIXME: These four tests fail for unknown reasons.
5244 ;; ERROR:libnm-core/tests/test-general.c:5842:
5245 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5246 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5247 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5248 ;; ERROR:libnm-core/tests/test-setting.c:907:
5249 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5250 ;; NetworkManager:ERROR:src/platform/tests/test-nmp-object.c:397:
5251 ;; test_cache_link: assertion failed: (nmp_object_is_visible (obj_new))
5252 (substitute* "Makefile.in"
5253 (("libnm-core/tests/test-general") " ")
5254 (("libnm-core/tests/test-keyfile") " ")
5255 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " ")
5256 (("src/platform/tests/test-nmp-object") " "))
5258 (add-before 'check 'pre-check
5260 ;; For the missing /etc/machine-id.
5261 (setenv "DBUS_FATAL_WARNINGS" "0")
5269 "nmstatedir=/tmp/nm"
5275 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5276 ("gobject-introspection" ,gobject-introspection)
5277 ("docbook-xsl" ,docbook-xsl)
5278 ("intltool" ,intltool)
5279 ("libxslt" ,libxslt)
5280 ("libxml2" ,libxml2)
5281 ("pkg-config" ,pkg-config)
5283 ("python" ,python-wrapper)
5284 ("python-dbus" ,python-dbus)
5285 ("python-pygobject" ,python-pygobject)))
5288 ("cyrus-sasl" ,cyrus-sasl)
5289 ("dbus-glib" ,dbus-glib)
5290 ("dnsmasq" ,dnsmasq)
5293 ("iptables" ,iptables)
5294 ("isc-dhcp" ,isc-dhcp)
5295 ("jansson" ,jansson)
5296 ("libgcrypt" ,libgcrypt)
5297 ("libgudev" ,libgudev)
5300 ("libsoup" ,libsoup)
5301 ("modem-manager" ,modem-manager)
5302 ("newt" ,newt) ;for the 'nmtui' console interface
5305 ("readline" ,readline)
5306 ("util-linux" ,util-linux)
5307 ("elogind" ,elogind)))
5308 (synopsis "Network connection manager")
5309 (home-page "https://www.gnome.org/projects/NetworkManager/")
5311 "NetworkManager is a system network service that manages your network
5312 devices and connections, attempting to keep active network connectivity when
5313 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5314 devices, and provides VPN integration with a variety of different VPN
5316 (license license:gpl2+)
5317 (properties '((upstream-name . "NetworkManager")))))
5319 (define-public network-manager-openvpn
5321 (name "network-manager-openvpn")
5326 "mirror://gnome/sources/NetworkManager-openvpn/"
5327 (version-major+minor version)
5328 "/NetworkManager-openvpn-" version ".tar.xz"))
5331 "1973n89g66a3jfx8r45a811fga4kadh6r1w35cb25cz1mlii2vhn"))))
5332 (build-system gnu-build-system)
5334 '(#:configure-flags '("--enable-absolute-paths")))
5336 `(("pkg-config" ,pkg-config)
5337 ("intltool" ,intltool)))
5340 ("openvpn" ,openvpn)
5341 ("network-manager" ,network-manager)
5342 ("network-manager-applet" ,network-manager-applet) ;for libnma
5343 ("libsecret" ,libsecret)))
5344 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5345 (synopsis "OpenVPN plug-in for NetworkManager")
5347 "This extension of NetworkManager allows it to take care of connections
5348 to virtual private networks (VPNs) via OpenVPN.")
5349 (license license:gpl2+)
5350 (properties `((upstream-name . "NetworkManager-openvpn")))))
5352 (define-public mobile-broadband-provider-info
5354 (name "mobile-broadband-provider-info")
5355 (version "20170310")
5359 "mirror://gnome/sources/"
5360 "mobile-broadband-provider-info/" version "/"
5361 "mobile-broadband-provider-info-" version ".tar.xz"))
5364 "0fxm11x8k9hxjg8l5inaldfmmjnwkay3ibjv899jra03bv4h6kql"))))
5365 (build-system gnu-build-system)
5367 `(#:tests? #f)) ; No tests
5368 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5369 (synopsis "Database of broadband connection configuration")
5370 (description "Database of broadband connection configuration.")
5371 (license license:public-domain)))
5373 (define-public network-manager-applet
5375 (name "network-manager-applet")
5379 (uri (string-append "mirror://gnome/sources/" name "/"
5380 (version-major+minor version) "/"
5381 name "-" version ".tar.xz"))
5384 "0ag3pvjp58ykrzsjfbdxi0j5xd2i796jk7nns67zy03xwg9i0l0h"))))
5385 (build-system glib-or-gtk-build-system)
5386 (arguments '(#:configure-flags '("--disable-migration")))
5388 `(("intltool" ,intltool)
5389 ("gobject-introspection" ,gobject-introspection)
5390 ("pkg-config" ,pkg-config)))
5392 ;; libnm-gtk.pc refers to all these.
5393 `(("dbus-glib" ,dbus-glib)
5395 ("network-manager" ,network-manager)))
5397 `(("iso-codes" ,iso-codes)
5398 ("libgudev" ,libgudev)
5399 ("libnotify" ,libnotify)
5400 ("libsecret" ,libsecret)
5401 ("libselinux" ,libselinux)
5402 ("jansson" ,jansson) ; for team support
5403 ("modem-manager" ,modem-manager)))
5404 (synopsis "Applet for managing network connections")
5405 (home-page "https://www.gnome.org/projects/NetworkManager/")
5407 "This package contains a systray applet for NetworkManager. It displays
5408 the available networks and allows users to easily switch between them.")
5409 (license license:gpl2+)))
5411 (define-public libxml++
5417 (uri (string-append "mirror://gnome/sources/" name "/"
5418 (version-major+minor version) "/"
5419 name "-" version ".tar.xz"))
5422 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5423 (build-system gnu-build-system)
5424 ;; libxml++-3.0.pc refers to all these.
5426 `(("libxml2" ,libxml2)
5427 ("glibmm" ,glibmm)))
5430 ("pkg-config" ,pkg-config)))
5431 (home-page "http://libxmlplusplus.sourceforge.net/")
5432 (synopsis "C++ wrapper for XML parser library libxml2")
5434 "This package provides a C++ wrapper for the XML parser library
5436 (license license:lgpl2.1+)))
5438 (define-public libxml++-2
5445 (uri (string-append "mirror://gnome/sources/" name "/"
5446 (version-major+minor version) "/"
5447 name "-" version ".tar.xz"))
5450 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5458 (uri (string-append "mirror://gnome/sources/" name "/"
5459 (version-major+minor version) "/"
5460 name "-" version ".tar.xz"))
5461 (patches (search-patches "gdm-CVE-2018-14424.patch"))
5464 "0wdm1503x66n1crdlmzmincbd2hccpxsdgjsl5anx3yjpdzs0hb0"))))
5465 (build-system glib-or-gtk-build-system)
5468 `("--without-plymouth"
5469 "--disable-systemd-journal"
5471 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5472 ;; instead of having to replace it (i.e., stopping the mingetty
5473 ;; service for TTY 1 before starting GDM).
5474 "--with-initial-vt=7"
5476 ;; Use '/etc/environment' for locale settings instead of the
5477 ;; systemd-specific '/etc/locale.conf'.
5478 "--with-lang-file=/etc/environment"
5480 "--localstatedir=/var"
5481 ,(string-append "--with-default-path="
5482 (string-join '("/run/setuid-programs"
5483 "/run/current-system/profile/bin"
5484 "/run/current-system/profile/sbin")
5486 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5487 ;; XDG_DATA_DIRS so that it finds its schemas.
5488 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5490 (modify-phases %standard-phases
5492 'configure 'pre-configure
5493 (lambda* (#:key inputs #:allow-other-keys)
5494 ;; We don't have <systemd/sd-daemon.h>.
5495 (substitute* '("common/gdm-log.c"
5496 "daemon/gdm-server.c"
5497 "daemon/gdm-session-worker.c"
5498 "daemon/gdm-session-worker-job.c")
5499 (("#include <systemd/sd-daemon\\.h>") ""))
5500 ;; Use elogind for sd-login.
5501 (substitute* '("common/gdm-common.c"
5502 "daemon/gdm-manager.c"
5503 "libgdm/gdm-user-switching.c")
5504 (("#include <systemd/sd-login\\.h>")
5505 "#include <elogind/sd-login.h>"))
5506 ;; Check for elogind.
5507 (substitute* '("configure")
5510 ;; Look for system-installed sessions in
5511 ;; /run/current-system/profile/share.
5512 (substitute* '("libgdm/gdm-sessions.c"
5513 "daemon/gdm-session.c"
5514 "daemon/gdm-display.c"
5515 "daemon/gdm-launch-environment.c")
5517 "\"/run/current-system/profile/share/x")
5518 (("DATADIR \"/wayland")
5519 "\"/run/current-system/profile/share/wayland")
5520 (("DATADIR \"/gnome")
5521 "\"/run/current-system/profile/share/gnome"))
5522 (let ((propagate '("GDM_CUSTOM_CONF"
5526 ;; XXX: Remove this once GNOME Shell is
5527 ;; a dependency of GDM.
5529 (substitute* "daemon/gdm-session.c"
5530 (("set_up_session_environment \\(self\\);")
5531 (apply string-append
5532 "set_up_session_environment (self);\n"
5535 "gdm_session_set_environment_variable "
5536 "(self, \"" name "\","
5537 "g_getenv (\"" name "\"));\n"))
5539 ;; Look for custom GDM conf in /run/current-system.
5540 (substitute* '("common/gdm-settings-desktop-backend.c")
5541 (("GDM_CUSTOM_CONF")
5542 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5543 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5544 " : GDM_CUSTOM_CONF)")))
5545 ;; Use service-supplied path to X.
5546 (substitute* '("daemon/gdm-server.c")
5547 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5548 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5549 (substitute* '("daemon/gdm-x-session.c")
5550 (("\"dbus-daemon\"")
5551 "g_getenv (\"GDM_DBUS_DAEMON\")")
5553 "g_getenv (\"GDM_X_SERVER\")")
5554 (("GDMCONFDIR \"/Xsession\"")
5555 "g_getenv (\"GDM_X_SESSION\")"))
5556 ;; Use an absolute path for GNOME Session.
5557 (substitute* "daemon/gdm-launch-environment.c"
5558 (("\"gnome-session\"")
5559 (string-append "\"" (assoc-ref inputs "gnome-session")
5560 "/bin/gnome-session\"")))
5562 ;; GDM needs GNOME Session to run these applications. We link
5563 ;; their autostart files in `share/gdm/greeter/autostart'
5564 ;; because GDM explicitly tells GNOME Session to look there.
5566 ;; XXX: GNOME Shell should be linked here too, but currently
5567 ;; GNOME Shell depends on GDM.
5568 (add-after 'install 'link-autostart-files
5569 (lambda* (#:key inputs outputs #:allow-other-keys)
5570 (let* ((out (assoc-ref outputs "out"))
5571 (autostart (string-append out "/share/gdm/"
5572 "greeter/autostart"))
5573 (settings (assoc-ref inputs "gnome-settings-daemon")))
5575 (with-directory-excursion autostart
5576 (for-each (lambda (desktop)
5577 (symlink desktop (basename desktop)))
5578 (find-files (string-append settings "/etc/xdg"))))
5582 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5583 ("gobject-introspection" ,gobject-introspection)
5584 ("intltool" ,intltool)
5585 ("itstool" ,itstool)
5586 ("pkg-config" ,pkg-config)
5587 ("xmllint" ,libxml2)))
5589 `(("accountsservice" ,accountsservice)
5590 ("check" ,check) ; for testing
5591 ("elogind" ,elogind)
5592 ("gnome-session" ,gnome-session)
5593 ("gnome-settings-daemon" ,gnome-settings-daemon)
5595 ("iso-codes" ,iso-codes)
5596 ("libcanberra" ,libcanberra)
5597 ("linux-pam" ,linux-pam)))
5598 (synopsis "Display manager for GNOME")
5599 (home-page "https://wiki.gnome.org/Projects/GDM/")
5601 "GNOME Display Manager is a system service that is responsible for
5602 providing graphical log-ins and managing local and remote displays.")
5603 (license license:gpl2+)))
5605 (define-public libgtop
5611 (uri (string-append "mirror://gnome/sources/" name "/"
5612 (version-major+minor version) "/"
5613 name "-" version ".tar.xz"))
5616 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5617 (build-system gnu-build-system)
5619 `(("gobject-introspection" ,gobject-introspection)
5620 ("intltool" ,intltool)
5622 ("pkg-config" ,pkg-config)))
5624 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5625 (synopsis "Portable system access library")
5626 (home-page "https://www.gnome.org/")
5628 "LibGTop is a library to get system specific data such as CPU and memory
5629 usage and information about running processes.")
5630 (license license:gpl2+)))
5632 (define-public gnome-bluetooth
5634 (name "gnome-bluetooth")
5638 (uri (string-append "mirror://gnome/sources/" name "/"
5639 (version-major+minor version) "/"
5640 name "-" version ".tar.xz"))
5643 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5644 (build-system meson-build-system)
5646 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5647 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5648 ("gobject-introspection" ,gobject-introspection)
5649 ("intltool" ,intltool)
5650 ("pkg-config" ,pkg-config)
5651 ("xmllint" ,libxml2)))
5653 ;; gnome-bluetooth-1.0.pc refers to all these.
5657 `(("libcanberra" ,libcanberra)
5658 ("libnotify" ,libnotify)))
5659 (synopsis "GNOME Bluetooth subsystem")
5660 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5662 "This package contains tools for managing and manipulating Bluetooth
5663 devices using the GNOME desktop.")
5664 (license license:lgpl2.1+)))
5666 (define-public gnome-control-center
5668 (name "gnome-control-center")
5672 (uri (string-append "mirror://gnome/sources/" name "/"
5673 (version-major+minor version) "/"
5674 name "-" version ".tar.xz"))
5677 "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz"))))
5678 (build-system meson-build-system)
5682 (list "-Dcheese=false")
5684 (modify-phases %standard-phases
5685 (add-before 'configure 'patch-paths
5686 (lambda* (#:key inputs #:allow-other-keys)
5687 (let ((libc (assoc-ref inputs "libc"))
5688 (tzdata (assoc-ref inputs "tzdata")))
5689 (substitute* "panels/datetime/tz.h"
5690 (("/usr/share/zoneinfo/zone.tab")
5691 (string-append tzdata "/share/zoneinfo/zone.tab")))
5692 (substitute* "panels/datetime/test-endianess.c"
5693 (("/usr/share/locale")
5694 (string-append libc "/share/locale")))
5697 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5698 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5699 ("intltool" ,intltool)
5700 ("pkg-config" ,pkg-config)
5701 ("xsltproc" ,libxslt)))
5703 `(("accountsservice" ,accountsservice)
5704 ("clutter-gtk" ,clutter-gtk)
5705 ("colord-gtk" ,colord-gtk)
5708 ("docbook-xsl" ,docbook-xsl)
5709 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5710 ("gnome-bluetooth" ,gnome-bluetooth)
5711 ("gnome-desktop" ,gnome-desktop)
5712 ("gnome-online-accounts" ,gnome-online-accounts)
5713 ("gnome-settings-daemon" ,gnome-settings-daemon)
5716 ("libcanberra" ,libcanberra)
5717 ("libgudev" ,libgudev)
5718 ("libgtop" ,libgtop)
5719 ("libpwquality" ,libpwquality)
5720 ("libsoup" ,libsoup)
5721 ("libxml2" ,libxml2)
5722 ("libwacom" ,libwacom)
5724 ("mit-krb5" ,mit-krb5)
5725 ("modem-manager" ,modem-manager)
5726 ("network-manager-applet" ,network-manager-applet)
5728 ("pulseaudio" ,pulseaudio)
5729 ("smbclient" ,samba)
5731 ("upower" ,upower)))
5732 (synopsis "Utilities to configure the GNOME desktop")
5733 (home-page "https://www.gnome.org/")
5735 "This package contains configuration applets for the GNOME desktop,
5736 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5737 properties, sound setup, desktop theme and background, user interface
5738 properties, screen resolution, and other GNOME parameters.")
5739 (license license:gpl2+)))
5741 (define-public gnome-shell
5743 (name "gnome-shell")
5747 (uri (string-append "mirror://gnome/sources/" name "/"
5748 (version-major+minor version) "/"
5749 name "-" version ".tar.xz"))
5752 "1f20x36ymkp1j667hb7s7byly2gqc4m0anldy3qwp38vm8437caq"))
5753 (patches (search-patches "gnome-shell-theme.patch"))
5754 (modules '((guix build utils)))
5757 ;; CSS files have to be regenerated from the .scss source
5758 ;; that 'gnome-shell-theme.patch' modifies.
5759 (for-each delete-file
5760 (find-files "data/theme"
5761 "^gnome-shell.*\\.css$"))
5763 ;; Copy images for use on the GDM log-in screen.
5764 (copy-file #$(file-append %artwork-repository
5765 "/slim/0.x/background.png")
5766 "data/theme/guix-background.png")
5767 (invoke #+(file-append inkscape "/bin/inkscape")
5768 "--export-png=data/theme/guix-logo.png"
5769 #$(file-append %artwork-repository
5770 "/logo/Guix-horizontal-white.svg"))
5772 (build-system glib-or-gtk-build-system)
5775 (modify-phases %standard-phases
5776 (add-before 'build 'rebuild-css
5778 ;; Rebuild the CSS files from the .scss files that our patch
5780 (invoke "make" "-C" "data"
5781 "theme/gnome-shell.css"
5782 "theme/gnome-shell-high-contrast.css")))
5784 (lambda* (#:key outputs #:allow-other-keys)
5785 (let* ((out (assoc-ref outputs "out"))
5786 (keysdir (string-append
5787 out "/share/gnome-control-center/keybindings")))
5788 (zero? (system* "make"
5789 (string-append "keysdir=" keysdir)
5792 'install 'wrap-programs
5793 (lambda* (#:key outputs #:allow-other-keys)
5794 (let ((out (assoc-ref outputs "out"))
5795 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5796 (python-path (getenv "PYTHONPATH")))
5797 (wrap-program (string-append out "/bin/gnome-shell")
5798 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5801 (wrap-program (string-append out "/bin/" prog)
5802 `("PYTHONPATH" ":" prefix (,python-path))
5803 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5804 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5807 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5808 ("gobject-introspection" ,gobject-introspection)
5809 ("intltool" ,intltool)
5810 ("pkg-config" ,pkg-config)
5812 ("xsltproc" ,libxslt)
5813 ("ruby-sass" ,ruby-sass)))
5815 `(("accountsservice" ,accountsservice)
5816 ("caribou" ,caribou)
5817 ("docbook-xsl" ,docbook-xsl)
5818 ("evolution-data-server" ,evolution-data-server)
5822 ("gnome-bluetooth" ,gnome-bluetooth)
5823 ("gnome-control-center" ,gnome-control-center)
5824 ("gnome-desktop" ,gnome-desktop)
5825 ("gnome-settings-daemon" ,gnome-settings-daemon)
5826 ("gst-plugins-base" ,gst-plugins-base)
5828 ("libcanberra" ,libcanberra)
5829 ("libcroco" ,libcroco)
5830 ("libgweather" ,libgweather)
5831 ("libsoup" ,libsoup)
5832 ("mesa-headers" ,mesa-headers)
5834 ("network-manager-applet" ,network-manager-applet)
5836 ("pulseaudio" ,pulseaudio)
5837 ("python-pygobject" ,python-pygobject)
5838 ("startup-notification" ,startup-notification)
5839 ("telepathy-logger" ,telepathy-logger)
5841 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5842 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5843 ("librsvg" ,librsvg)
5844 ("geoclue" ,geoclue)
5845 ;; XXX: required by libgjs.la.
5846 ("readline" ,readline)))
5847 (synopsis "Desktop shell for GNOME")
5848 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5850 "GNOME Shell provides core user interface functions for the GNOME desktop,
5851 like switching to windows and launching applications.")
5852 (license license:gpl2+)))
5854 (define-public gtk-vnc
5861 (uri (string-append "mirror://gnome/sources/" name "/"
5862 (version-major+minor version) "/"
5863 name "-" version ".tar.xz"))
5866 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
5867 (build-system gnu-build-system)
5869 '(#:configure-flags '("--with-gtk=3.0")))
5871 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5873 `(("cyrus-sasl" ,cyrus-sasl)
5875 ("libgcrypt" ,libgcrypt)
5876 ("pulseaudio" ,pulseaudio)))
5878 `(("glib:bin" ,glib "bin")
5879 ("gobject-introspection" ,gobject-introspection)
5880 ("intltool" ,intltool)
5881 ("pkg-config" ,pkg-config)
5882 ("python-wrapper" ,python-wrapper)
5884 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5885 (synopsis "VNC viewer widget for GTK+")
5887 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5888 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5889 GTK-VNC implements client side RFB protocol and authentication extensions such
5890 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5891 (license license:lgpl2.1+)))
5893 (define-public gnome-autoar
5895 (name "gnome-autoar")
5899 (uri (string-append "mirror://gnome/sources/" name "/"
5900 (version-major+minor version) "/"
5901 name "-" version ".tar.xz"))
5904 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
5905 (build-system glib-or-gtk-build-system)
5907 `(("gnome-common" ,gnome-common)
5908 ("gobject-introspection" ,gobject-introspection)
5909 ("pkg-config" ,pkg-config)))
5911 `(("libarchive" ,libarchive))) ; XXX document why
5914 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5915 (synopsis "Archives integration support for GNOME")
5916 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5918 "GNOME Autoar is a library which makes creating and extracting archives
5919 easy, safe, and automatic.")
5920 (license license:lgpl2.1+)))
5922 (define-public tracker
5928 (uri (string-append "mirror://gnome/sources/" name "/"
5929 (version-major+minor version) "/"
5930 name "-" version ".tar.xz"))
5933 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
5934 (build-system glib-or-gtk-build-system)
5937 (modify-phases %standard-phases
5938 (add-after 'unpack 'disable-broken-tests
5940 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
5941 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
5942 (substitute* "tests/libtracker-miner/Makefile.in"
5943 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
5944 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
5945 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
5946 (substitute* "tests/libtracker-fts/Makefile.in"
5947 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
5948 (substitute* "tests/libtracker-data/Makefile.in"
5949 (("tracker-ontology\\$\\(EXEEXT\\)") "")
5950 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
5951 (("tracker-backup\\$\\(EXEEXT\\)") "")
5952 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
5953 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
5954 ;; These fail because the SPARQL backend could not be loaded.
5955 ;; That's because /etc/machine-id is missing, but
5956 ;; DBUS_FATAL_WARNINGS does not help here.
5957 (substitute* "tests/libtracker-sparql/Makefile.in"
5958 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
5959 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
5960 (substitute* "tests/tracker-steroids/Makefile.in"
5961 (("tracker-test\\$\\(EXEEXT\\)") ""))
5963 ;; Two tests fail if LANG is not set.
5964 (add-before 'check 'pre-check
5966 (setenv "LANG" "en_US.UTF-8")
5967 ;; For the missing /etc/machine-id.
5968 (setenv "DBUS_FATAL_WARNINGS" "0")
5971 `(("gnome-common" ,gnome-common)
5972 ("gobject-introspection" ,gobject-introspection)
5973 ("intltool" ,intltool)
5974 ("pkg-config" ,pkg-config)
5979 ("gstreamer" ,gstreamer)
5980 ("gst-plugins-base" ,gst-plugins-base)
5982 ("nettle" ,nettle) ; XXX why is this needed?
5984 ("poppler" ,poppler)
5986 ("libexif" ,libexif)
5988 ("libtiff" ,libtiff)
5989 ("libvorbis" ,libvorbis)
5991 ("totem-pl-parser" ,totem-pl-parser)
5994 ("libxml2" ,libxml2)
5996 ("libunistring" ,libunistring)
5998 ("json-glib" ,json-glib)
5999 ("openjpeg" ,openjpeg-1)
6000 ("libosinfo" ,libosinfo)
6002 ("libseccomp" ,libseccomp)
6003 ("libsoup" ,libsoup)
6004 ("libuuid" ,util-linux)))
6005 (synopsis "Metadata database, indexer and search tool")
6006 (home-page "https://wiki.gnome.org/Projects/Tracker")
6008 "Tracker is an advanced framework for first class objects with associated
6009 metadata and tags. It provides a one stop solution for all metadata, tags,
6010 shared object databases, search tools and indexing.")
6011 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6012 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6013 (license (list license:gpl2+
6015 license:lgpl2.0+))))
6017 (define-public nautilus
6023 (uri (string-append "mirror://gnome/sources/" name "/"
6024 (version-major+minor version) "/"
6025 name "-" version ".tar.xz"))
6028 "19dhpa2ylrg8d5274lahy7xqr2p9z3jnq1h4qmsh95czkpy7is4w"))))
6029 (build-system meson-build-system)
6032 ;; XXX: FAIL: check-nautilus
6033 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6036 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6037 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6038 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6039 ("gobject-introspection" ,gobject-introspection)
6040 ("intltool" ,intltool)
6041 ("pkg-config" ,pkg-config)))
6047 ("gnome-desktop" ,gnome-desktop)
6048 ("gnome-autoar" ,gnome-autoar)
6049 ("libselinux" ,libselinux)
6050 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
6051 ("tracker" ,tracker)
6052 ;; XXX: gtk+ is required by libnautilus-extension.pc
6054 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6056 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6058 ("libexif" ,libexif)
6059 ("libxml2" ,libxml2)))
6060 (synopsis "File manager for GNOME")
6061 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6063 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6064 design and behaviour, giving the user a simple way to navigate and manage its
6066 (license license:gpl2+)))
6068 (define-public baobab
6075 "mirror://gnome/sources/" name "/"
6076 (version-major+minor version) "/"
6077 name "-" version ".tar.xz"))
6080 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
6081 (build-system meson-build-system)
6083 '(#:glib-or-gtk? #t))
6085 `(("intltool" ,intltool)
6086 ("pkg-config" ,pkg-config)
6087 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6088 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6089 ("itstool" ,itstool)
6090 ("xmllint" ,libxml2)
6091 ("glib" ,glib "bin")
6095 (synopsis "Disk usage analyzer for GNOME")
6097 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6098 usage in the GNOME desktop environment. It can easily scan device volumes or
6099 a specific user-requested directory branch (local or remote). Once the scan
6100 is complete it provides a graphical representation of each selected folder.")
6101 (home-page "https://wiki.gnome.org/Apps/Baobab")
6102 (license license:gpl2+)))
6104 (define-public gnome-backgrounds
6106 (name "gnome-backgrounds")
6111 (uri (string-append "mirror://gnome/sources/" name "/"
6112 (version-major+minor version) "/"
6113 name "-" version ".tar.xz"))
6116 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6117 (build-system meson-build-system)
6119 `(("intltool" ,intltool)))
6120 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6121 (synopsis "Background images for the GNOME desktop")
6123 "GNOME backgrounds package contains a collection of graphics files which
6124 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6125 the package creates the proper framework and directory structure so that you
6126 can add your own files to the collection.")
6127 (license (list license:gpl2+
6130 license:cc-by-sa3.0))))
6132 (define-public gnome-screenshot
6134 (name "gnome-screenshot")
6139 (uri (string-append "mirror://gnome/sources/" name "/"
6140 (version-major+minor version) "/"
6141 name "-" version ".tar.xz"))
6144 "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v"))))
6145 (build-system meson-build-system)
6147 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6148 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6149 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6150 ("intltool" ,intltool)
6151 ("appstream-glib" ,appstream-glib)
6152 ("pkg-config" ,pkg-config)))
6155 ("libcanberra" ,libcanberra)
6157 ("libxext" ,libxext)))
6158 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6159 (synopsis "Take pictures of your screen")
6161 "GNOME Screenshot is a utility used for taking screenshots of the entire
6162 screen, a window or a user defined area of the screen, with optional
6163 beautifying border effects.")
6164 (license license:gpl2+)))
6166 (define-public dconf-editor
6168 (name "dconf-editor")
6173 (uri (string-append "mirror://gnome/sources/" name "/"
6174 (version-major+minor version) "/"
6175 name "-" version ".tar.xz"))
6178 "1lcarg8igsqpq4iv5834mf9kz4cmfhfw11bwy3x7v7f497z57d18"))))
6179 (build-system glib-or-gtk-build-system)
6182 (modify-phases %standard-phases
6183 (add-before 'install 'skip-gtk-update-icon-cache
6185 ;; Don't create 'icon-theme.cache'.
6186 (substitute* "editor/Makefile"
6187 (("gtk-update-icon-cache") "true"))
6190 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6191 ("intltool" ,intltool)
6192 ("pkg-config" ,pkg-config)))
6196 ("libxml2" ,libxml2)))
6197 (home-page "https://git.gnome.org/browse/dconf-editor")
6198 (synopsis "Graphical editor for GNOME's dconf configuration system")
6200 "Dconf-editor is a graphical tool for browsing and editing the dconf
6201 configuration system for GNOME. It allows users to configure desktop
6202 software that do not provide their own configuration interface.")
6203 (license license:lgpl2.1+)))
6205 (define-public gnome-default-applications
6207 (name "gnome-default-applications")
6209 (build-system trivial-build-system)
6212 `(("nautilus" ,nautilus)
6213 ("evince" ,evince)))
6215 `(#:modules ((guix build utils))
6218 (use-modules (guix build utils))
6219 (let* ((out (assoc-ref %outputs "out"))
6220 (apps (string-append out "/share/applications")))
6222 (call-with-output-file (string-append apps "/defaults.list")
6224 (format port "[Default Applications]\n")
6225 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6226 (format port "application/pdf=evince.desktop\n")
6227 (format port "application/postscript=evince.desktop\n")))
6229 (synopsis "Default MIME type associations for the GNOME desktop")
6231 "Given many installed packages which might handle a given MIME type, a
6232 user running the GNOME desktop probably has some preferences: for example,
6233 that folders be opened by default by the Nautilus file manager, not the Baobab
6234 disk usage analyzer. This package establishes that set of default MIME type
6235 associations for GNOME.")
6236 (license license:gpl3+)
6239 (define-public gnome
6242 (version (package-version gnome-shell))
6244 (build-system trivial-build-system)
6245 (arguments '(#:builder (begin (mkdir %output) #t)))
6247 ;; TODO: Add more packages according to:
6248 ;; <https://packages.debian.org/jessie/gnome-core>.
6249 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6251 ("font-cantarell" ,font-cantarell)
6252 ("font-dejavu" ,font-dejavu)
6253 ("at-spi2-core" ,at-spi2-core)
6256 ("desktop-file-utils" ,desktop-file-utils)
6258 ("epiphany" ,epiphany)
6260 ("file-roller" ,file-roller)
6262 ("glib-networking" ,glib-networking)
6263 ("gnome-backgrounds" ,gnome-backgrounds)
6264 ("gnome-bluetooth" ,gnome-bluetooth)
6265 ("gnome-calculator" ,gnome-calculator)
6266 ("gnome-control-center" ,gnome-control-center)
6267 ("gnome-disk-utility" ,gnome-disk-utility)
6268 ("gnome-default-applications" ,gnome-default-applications)
6269 ("gnome-keyring" ,gnome-keyring)
6270 ("gnome-online-accounts" ,gnome-online-accounts)
6271 ("gnome-session" ,gnome-session)
6272 ("gnome-settings-daemon" ,gnome-settings-daemon)
6273 ("gnome-shell" ,gnome-shell)
6274 ("gnome-system-monitor" ,gnome-system-monitor)
6275 ("gnome-terminal" ,gnome-terminal)
6276 ("gnome-themes-standard" ,gnome-themes-standard)
6277 ("gst-plugins-base" ,gst-plugins-base)
6278 ("gst-plugins-good" ,gst-plugins-good)
6279 ("gucharmap" ,gucharmap)
6281 ("hicolor-icon-theme" ,hicolor-icon-theme)
6282 ("nautilus" ,nautilus)
6283 ("pinentry-gnome3" ,pinentry-gnome3)
6284 ("pulseaudio" ,pulseaudio)
6285 ("shared-mime-info" ,shared-mime-info)
6286 ("system-config-printer" ,system-config-printer)
6288 ("xdg-user-dirs" ,xdg-user-dirs)
6290 ("zenity" ,zenity)))
6291 (synopsis "The GNU desktop environment")
6292 (home-page "https://www.gnome.org/")
6294 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6295 applications for browsing the web, editing text and images, creating
6296 documents and diagrams, playing media, scanning, and much more.")
6297 (license license:gpl2+)))
6299 (define-public byzanz
6300 ;; The last stable release of Byzanz was in 2011, but there have been many
6301 ;; useful commits made to the Byzanz repository since then that it would be
6302 ;; silly to use such an old release.
6303 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6306 (version (string-append "0.2-1." (string-take commit 7)))
6310 (url "https://git.gnome.org/browse/byzanz")
6312 (file-name (string-append name "-" version "-checkout"))
6315 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6316 (build-system glib-or-gtk-build-system)
6319 (modify-phases %standard-phases
6322 ;; The build system cleverly detects that we're not building from
6323 ;; a release tarball and turns on -Werror for GCC.
6324 ;; Unsurprisingly, there is a warning during compilation that
6325 ;; causes the build to fail unnecessarily, so we remove the flag.
6326 (substitute* '("configure.ac")
6328 ;; The autogen.sh script in gnome-common will run ./configure
6329 ;; by default, which is problematic because source shebangs
6330 ;; have not yet been patched.
6331 (setenv "NOCONFIGURE" "t")
6332 (zero? (system* "sh" "autogen.sh")))))))
6334 `(("autoconf" ,autoconf)
6335 ("automake" ,automake)
6336 ("gnome-common" ,gnome-common)
6337 ("intltool" ,intltool)
6338 ("libtool" ,libtool)
6339 ("pkg-config" ,pkg-config)
6343 ("gstreamer" ,gstreamer)
6344 ("gst-plugins-base" ,gst-plugins-base)
6346 (synopsis "Desktop recording program")
6347 (description "Byzanz is a simple desktop recording program with a
6348 command-line interface. It can record part or all of an X display for a
6349 specified duration and save it as a GIF encoded animated image file.")
6350 (home-page "https://git.gnome.org/browse/byzanz")
6351 (license license:gpl2+))))
6353 (define-public gsound
6359 (uri (string-append "mirror://gnome/sources/" name "/"
6360 (version-major+minor version) "/"
6361 name "-" version ".tar.xz"))
6364 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6365 (build-system glib-or-gtk-build-system)
6367 `(("pkg-config" ,pkg-config)
6368 ("gobject-introspection" ,gobject-introspection)
6372 ("libcanberra" ,libcanberra)))
6373 (home-page "https://wiki.gnome.org/Projects/GSound")
6374 (synopsis "GObject wrapper for libcanberra")
6376 "GSound is a small library for playing system sounds. It's designed to be
6377 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6379 (license license:lgpl2.1+)))
6381 (define-public libzapojit
6387 (uri (string-append "mirror://gnome/sources/" name "/"
6388 (version-major+minor version) "/"
6389 name "-" version ".tar.xz"))
6392 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6393 (build-system gnu-build-system)
6395 `(("gobject-introspection" ,gobject-introspection)
6396 ("intltool" ,intltool)
6397 ("pkg-config" ,pkg-config)))
6399 `(("gnome-online-accounts" ,gnome-online-accounts)
6400 ("json-glib" ,json-glib)
6402 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6403 (synopsis "Library for accessing SkyDrive and Hotmail")
6405 "Libzapojit is a GLib-based library for accessing online service APIs of
6406 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6407 (license license:lgpl2.1+)))
6409 (define-public gnome-clocks
6411 (name "gnome-clocks")
6415 (uri (string-append "mirror://gnome/sources/" name "/"
6416 (version-major+minor version) "/"
6417 name "-" version ".tar.xz"))
6420 "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl"))))
6421 (build-system meson-build-system)
6423 '(#:glib-or-gtk? #t))
6426 ("pkg-config" ,pkg-config)
6427 ("glib" ,glib "bin") ; for glib-compile-resources
6428 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6429 ("desktop-file-utils" ,desktop-file-utils)
6430 ("gettext" ,gettext-minimal)
6431 ("itstool" ,itstool)))
6436 ("geoclue" ,geoclue)
6437 ("geocode-glib" ,geocode-glib)
6438 ("libgweather" ,libgweather)
6439 ("gnome-desktop" ,gnome-desktop)))
6440 (home-page "https://wiki.gnome.org/Apps/Clocks")
6441 (synopsis "GNOME's clock application")
6443 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6444 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6445 (license license:gpl3+)))
6447 (define-public gnome-calendar
6449 (name "gnome-calendar")
6453 (uri (string-append "mirror://gnome/sources/" name "/"
6454 (version-major+minor version) "/"
6455 name "-" version ".tar.xz"))
6458 "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw"))))
6459 (build-system meson-build-system)
6462 ;; gnome-calendar has to be installed before the tests can be run
6463 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6466 `(("gettext" ,gettext-minimal)
6467 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6468 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6469 ("pkg-config" ,pkg-config)))
6471 `(("evolution-data-server" ,evolution-data-server)
6472 ("gnome-online-accounts" ,gnome-online-accounts)
6473 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6474 ("libdazzle" ,libdazzle)
6475 ("libgweather" ,libgweather)
6476 ("geoclue" ,geoclue)))
6477 (home-page "https://wiki.gnome.org/Apps/Calendar")
6478 (synopsis "GNOME's calendar application")
6480 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6481 desktop. It supports multiple calendars, month, week and year view.")
6482 (license license:gpl3+)))
6484 (define-public gnome-todo
6490 (uri (string-append "mirror://gnome/sources/" name "/"
6491 (version-major+minor version) "/"
6492 name "-" version ".tar.xz"))
6495 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
6496 (build-system meson-build-system)
6499 #:phases (modify-phases %standard-phases
6501 'install 'wrap-gnome-todo
6502 (lambda* (#:key inputs outputs #:allow-other-keys)
6503 (let ((out (assoc-ref outputs "out"))
6504 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6505 (python-path (getenv "PYTHONPATH")))
6506 (wrap-program (string-append out "/bin/gnome-todo")
6507 ;; XXX: gi plugins are broken.
6508 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6510 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6511 `("PYTHONPATH" ":" prefix (,python-path))))
6514 `(("gettext" ,gettext-minimal)
6515 ("gobject-introspection" ,gobject-introspection)
6516 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6517 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6518 ("pkg-config" ,pkg-config)))
6520 `(("rest" ,rest) ; For Todoist plugin
6521 ("json-glib" ,json-glib) ; For Todoist plugin
6522 ("libical" ,libical)
6523 ("libpeas" ,libpeas)
6524 ("python-pygobject" ,python-pygobject)
6525 ("evolution-data-server" ,evolution-data-server)
6526 ("gnome-online-accounts" ,gnome-online-accounts)
6527 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6528 (home-page "https://wiki.gnome.org/Apps/Todo")
6529 (synopsis "GNOME's ToDo Application")
6531 "GNOME To Do is a simplistic personal task manager designed to perfectly
6532 fit the GNOME desktop.")
6533 (license license:gpl3+)))
6535 (define-public gnome-dictionary
6537 (name "gnome-dictionary")
6541 (uri (string-append "mirror://gnome/sources/" name "/"
6542 (version-major+minor version) "/"
6543 name "-" version ".tar.xz"))
6546 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6547 (build-system meson-build-system)
6548 (arguments '(#:glib-or-gtk? #t
6549 #:phases (modify-phases %standard-phases
6550 (add-after 'unpack 'patch-install-script
6552 ;; This script attempts to compile glib schemas
6553 ;; and create an empty MIME database. We do
6554 ;; that elsewhere, so prevent it from running.
6555 (substitute* "build-aux/post-install.sh"
6556 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6559 `(("glib:bin" ,glib "bin")
6560 ("gobject-introspection" ,gobject-introspection)
6561 ("intltool" ,intltool)
6562 ("itstool" ,itstool)
6563 ("pkg-config" ,pkg-config)
6564 ("xmllint" ,libxml2)))
6566 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6568 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6569 (synopsis "Look up words in dictionary sources")
6571 "GNOME Dictionary can look for the definition or translation of a word in
6572 existing databases over the internet.")
6573 (license license:gpl3+)))
6575 (define-public gnome-tweak-tool
6577 (name "gnome-tweak-tool")
6581 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
6582 (version-major+minor version) "/"
6583 "gnome-tweak-tool-" version ".tar.xz"))
6585 (search-patch "gnome-tweak-tool-search-paths.patch")))
6588 "1pq5a0kzh1sz7s7ax5c7p6212k9d51nk5bfvjfyqn99cs928187x"))))
6589 (build-system glib-or-gtk-build-system)
6591 `(#:configure-flags '("--localstatedir=/tmp"
6592 "--sysconfdir=/tmp")
6593 #:imported-modules ((guix build python-build-system)
6594 ,@%glib-or-gtk-build-system-modules)
6595 #:phases (modify-phases %standard-phases
6598 (lambda* (#:key outputs #:allow-other-keys)
6599 (invoke "meson" "build"
6600 "--prefix" (assoc-ref outputs "out"))))
6602 (lambda _ (invoke "ninja" "-C" "build" "test")))
6604 (lambda* (#:key outputs #:allow-other-keys)
6605 (invoke "ninja" "-C" "build" "install")))
6606 (add-after 'install 'wrap-program
6607 (lambda* (#:key outputs #:allow-other-keys)
6608 (let ((out (assoc-ref outputs "out"))
6609 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6610 (wrap-program (string-append out "/bin/gnome-tweak-tool")
6611 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6613 (add-after 'install 'wrap
6614 (@@ (guix build python-build-system) wrap)))))
6616 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6617 ("intltool" ,intltool)
6618 ("meson" ,meson-for-build)
6620 ("pkg-config" ,pkg-config)))
6622 `(("gnome-desktop" ,gnome-desktop)
6624 ("gobject-introspection" ,gobject-introspection)
6625 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6626 ("libnotify" ,libnotify)
6627 ("libsoup" ,libsoup)
6628 ("nautilus" ,nautilus)
6630 ("python-pygobject" ,python-pygobject)))
6631 (synopsis "Customize advanced GNOME 3 options")
6632 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
6634 "GNOME Tweak Tool allows adjusting advanced configuration settings in
6635 GNOME 3. This includes things like the fonts used in user interface elements,
6636 alternative user interface themes, changes in window management behavior,
6637 GNOME Shell appearance and extension, etc.")
6638 (license license:gpl3+)))
6640 (define-public gnome-shell-extensions
6642 (name "gnome-shell-extensions")
6646 (uri (string-append "mirror://gnome/sources/" name "/"
6647 (version-major+minor version) "/"
6648 name "-" version ".tar.xz"))
6651 "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9"))))
6652 (build-system meson-build-system)
6654 '(#:configure-flags '("-Dextension_set=all")))
6656 `(("intltool" ,intltool)
6657 ("pkg-config" ,pkg-config)))
6660 ("glib" ,glib "bin")))
6661 (synopsis "Extensions for GNOME Shell")
6662 (description "GNOME Shell extensions modify and extend GNOME Shell
6663 functionality and behavior.")
6664 (home-page "https://extensions.gnome.org/")
6665 (license license:gpl3+)))
6667 (define-public arc-theme
6670 (version "20181022")
6674 (url "https://github.com/NicoHood/arc-theme.git")
6676 (file-name (git-file-name name version))
6679 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
6680 (build-system gnu-build-system)
6683 (modify-phases %standard-phases
6684 ;; autogen.sh calls configure at the end of the script.
6686 (lambda _ (invoke "autoreconf" "-vfi"))))))
6688 `(("autoconf" ,autoconf)
6689 ("automake" ,automake)
6690 ("glib" ,glib "bin") ; for glib-compile-resources
6691 ("gnome-shell" ,gnome-shell)
6693 ("inkscape" ,inkscape)
6694 ("optipng" ,optipng)
6695 ("pkg-config" ,pkg-config)
6697 (synopsis "A flat GTK+ theme with transparent elements")
6698 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6699 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6700 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6701 (home-page "https://github.com/horst3180/arc-theme")
6702 ;; No "or later" language found.
6703 (license license:gpl3+)))
6705 (define-public faba-icon-theme
6707 (name "faba-icon-theme")
6712 (uri (string-append "https://github.com/moka-project/"
6713 name "/archive/v" version ".tar.gz"))
6714 (file-name (string-append name "-" version ".tar.gz"))
6717 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
6718 (build-system meson-build-system)
6721 (modify-phases %standard-phases
6722 (add-before 'configure 'disable-post-install
6724 (substitute* "meson.build"
6725 (("meson.add_install_script.*") "")))))))
6727 `(("autoconf" ,autoconf)
6728 ("automake" ,automake)))
6729 (synopsis "Faba icon theme")
6731 "Faba is a minimal icon set used as a basis for other themes such as
6733 (home-page "https://snwh.org/moka")
6734 (license (list license:lgpl3+
6735 license:cc-by-sa4.0))))
6737 (define-public moka-icon-theme
6739 (inherit faba-icon-theme)
6740 (name "moka-icon-theme")
6744 (uri (string-append "https://github.com/moka-project"
6745 "/moka-icon-theme/archive/v"
6747 (file-name (string-append name "-" version ".tar.gz"))
6750 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
6752 ;; Moka is based on Faba by using it as a fallback icon set instead of
6753 ;; bundling it, so we need to add it as a propagated input.
6754 `(("faba-icon-theme" ,faba-icon-theme)))
6755 (synopsis "Moka icon theme")
6756 (description "Moka is a stylized desktop icon set, designed to be clear,
6757 simple and consistent.")
6758 (license (list license:gpl3+
6759 license:cc-by-sa4.0))))
6761 (define-public arc-icon-theme
6763 (name "arc-icon-theme")
6764 (version "20161122")
6767 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6768 "/archive/" version ".tar.gz"))
6769 (file-name (string-append name "-" version ".tar.gz"))
6772 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6773 (build-system gnu-build-system)
6776 (modify-phases %standard-phases
6777 (add-after 'unpack 'disable-configure-during-bootstrap
6779 (substitute* "autogen.sh"
6780 (("^\"\\$srcdir/configure\".*") ""))
6783 `(("autoconf" ,autoconf)
6784 ("automake" ,automake)))
6785 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
6787 `(("moka-icon-theme" ,moka-icon-theme)))
6788 (synopsis "Arc icon theme")
6789 (description "The Arc icon theme provides a set of icons matching the
6790 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
6791 the Moka icon theme.")
6792 (home-page "https://github.com/horst3180/arc-icon-theme")
6793 (license license:gpl3+)))
6795 (define-public folks
6802 "mirror://gnome/sources/folks/"
6803 (version-major+minor version) "/"
6804 "folks-" version ".tar.xz"))
6807 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6808 (build-system glib-or-gtk-build-system)
6811 ("dbus-glib" ,dbus-glib)
6812 ("evolution-data-server" ,evolution-data-server)
6815 ("telepathy-glib" ,telepathy-glib)))
6817 `(("gobject-introspection" ,gobject-introspection)
6818 ("intltool" ,intltool)
6819 ("pkg-config" ,pkg-config)
6821 (synopsis "Library to aggregate data about people")
6822 (description "Libfolks is a library that aggregates information about people
6823 from multiple sources (e.g., Telepathy connection managers for IM contacts,
6824 Evolution Data Server for local contacts, libsocialweb for web service contacts,
6825 etc.) to create metacontacts. It's written in Vala, which generates C code when
6827 (home-page "https://wiki.gnome.org/Projects/Folks")
6828 (license license:lgpl2.1+)))
6830 (define-public gfbgraph
6837 "mirror://gnome/sources/" name "/"
6838 (version-major+minor version) "/"
6839 name "-" version ".tar.xz"))
6842 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
6843 (build-system glib-or-gtk-build-system)
6845 `(#:tests? #f ; Tests appear to require the network.
6846 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
6847 #:configure-flags '("--disable-gtk-doc"
6849 "--enable-introspection")))
6851 `(("pkg-config" ,pkg-config)
6852 ("gobject-introspection" ,gobject-introspection)))
6854 `(("json-glib" ,json-glib)
6855 ("gnome-online-accounts" ,gnome-online-accounts)
6857 (synopsis "GLib/GObject wrapper for the Facebook API")
6858 (description "This library allows you to use the Facebook API from
6859 GLib/GObject code.")
6860 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
6861 (license license:lgpl2.1+)))
6863 (define-public libgnomekbd
6865 (name "libgnomekbd")
6869 (uri (string-append "mirror://gnome/sources/" name "/"
6870 (version-major+minor version) "/"
6871 name "-" version ".tar.xz"))
6874 "0xc8jrc44x2h24v28wv36k70k7bwxy6p2vsvxvvia1n3ay642fza"))))
6875 (build-system gnu-build-system)
6877 `(("pkg-config" ,pkg-config)
6878 ("glib" ,glib "bin")
6879 ("intltool" ,intltool)))
6881 ;; Referred to in .h files and .pc.
6884 ("libxklavier" ,libxklavier)))
6885 (home-page "https://www.gnome.org")
6886 (synopsis "GNOME keyboard configuration library")
6888 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
6889 environment, which can notably display keyboard layouts.")
6890 (license license:lgpl2.0+)))
6892 ;;; This package is no longer maintained:
6893 ;;; https://wiki.gnome.org/Attic/LibUnique
6894 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
6895 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
6896 (define-public libunique
6902 (uri (string-append "mirror://gnome/sources/" name "/"
6903 (version-major+minor version) "/"
6904 name "-" version ".tar.xz"))
6907 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6908 (build-system glib-or-gtk-build-system)
6910 `(#:configure-flags '("--disable-static"
6911 "--disable-dbus" ; use gdbus
6912 "--enable-introspection")))
6914 `(("pkg-config" ,pkg-config)
6915 ("gobject-introspection" ,gobject-introspection)
6916 ("glib:bin" ,glib "bin")
6917 ("gtk-doc" ,gtk-doc)))
6919 ;; Referred to in .h files and .pc.
6921 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6922 (synopsis "Library for writing single instance applications")
6924 "Libunique is a library for writing single instance applications. If you
6925 launch a single instance application twice, the second instance will either just
6926 quit or will send a message to the running instance. Libunique makes it easy to
6927 write this kind of application, by providing a base class, taking care of all
6928 the IPC machinery needed to send messages to a running instance, and also
6929 handling the startup notification side.")
6930 (license license:lgpl2.1+)))
6932 (define-public gnome-calculator
6934 (name "gnome-calculator")
6939 (uri (string-append "mirror://gnome/sources/" name "/"
6940 (version-major+minor version) "/"
6941 name "-" version ".tar.xz"))
6944 "0izsrqc9fm2lh25jr3nzi94p5hh2d3cklxqczbq16by85wr1xm5s"))))
6945 (build-system glib-or-gtk-build-system)
6947 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6948 ("intltool" ,intltool)
6949 ("itstool" ,itstool)
6950 ("pkg-config" ,pkg-config)))
6953 ("gtksourceview" ,gtksourceview-3)
6954 ("libsoup" ,libsoup)
6955 ("libxml2" ,libxml2)
6958 (home-page "https://wiki.gnome.org/Apps/Calculator")
6959 (synopsis "Desktop calculator")
6961 "Calculator is an application that solves mathematical equations and
6962 is suitable as a default application in a Desktop environment.")
6963 (license license:gpl3)))
6972 (uri (string-append "https://launchpad.net/xpad/trunk/"
6973 version "/+download/"
6974 name "-" version ".tar.bz2"))
6977 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
6978 (build-system gnu-build-system)
6980 `(("autoconf" ,autoconf)
6981 ("automake" ,automake)
6982 ("gtk+:bin" ,gtk+ "bin")
6983 ("intltool" ,intltool)
6984 ("pkg-config" ,pkg-config)))
6986 `(("gtksourceview" ,gtksourceview)
6988 (home-page "https://wiki.gnome.org/Apps/Xpad")
6989 (synopsis "Virtual sticky note")
6991 "Xpad is a sticky note that strives to be simple, fault tolerant,
6992 and customizable. Xpad consists of independent pad windows, each is
6993 basically a text box in which notes can be written.")
6994 (license license:gpl3+)))
6996 (define-public gucharmap
6997 (let ((unicode-files
6999 "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
7001 "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
7003 "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
7005 "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
7007 "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
7009 "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
7016 (uri (string-append "mirror://gnome/sources/" name "/"
7017 (version-major+minor version) "/"
7018 name "-" version ".tar.xz"))
7021 "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
7022 (build-system glib-or-gtk-build-system)
7024 `(#:modules ((ice-9 match)
7025 (guix build glib-or-gtk-build-system)
7028 (list "--with-unicode-data=../unicode-data")
7030 (modify-phases %standard-phases
7031 (add-after 'unpack 'prepare-unicode-data
7032 (lambda* (#:key inputs #:allow-other-keys)
7033 (mkdir-p "../unicode-data")
7034 (with-directory-excursion "../unicode-data"
7035 (for-each (match-lambda
7037 (install-file (assoc-ref inputs file) ".")))
7041 `(("desktop-file-utils" ,desktop-file-utils)
7042 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7043 ("gobject-introspection" ,gobject-introspection)
7044 ("intltool" ,intltool)
7045 ("itstool" ,itstool)
7046 ("pkg-config" ,pkg-config)
7047 ,@(map (match-lambda
7053 "http://www.unicode.org/Public/10.0.0/ucd/"
7055 (sha256 (base32 hash))))))
7060 ("xmllint" ,libxml2)))
7061 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7062 (synopsis "Unicode character picker and font browser")
7064 "This program allows you to browse through all the available Unicode
7065 characters and categories for the installed fonts, and to examine their
7066 detailed properties. It is an easy way to find the character you might
7067 only know by its Unicode name or code point.")
7068 (license license:gpl3+))))
7070 (define-public bluefish
7077 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7078 name "-" version ".tar.gz"))
7081 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
7082 (build-system gnu-build-system)
7084 `(("desktop-file-utils" ,desktop-file-utils)
7085 ("intltool" ,intltool)
7086 ("pkg-config" ,pkg-config)))
7088 `(("enchant" ,enchant)
7090 ("python" ,python-2)
7091 ("xmllint" ,libxml2)
7092 ("gucharmap" ,gucharmap)))
7093 (home-page "http://bluefish.openoffice.nl")
7094 (synopsis "Web development studio")
7096 "Bluefish is an editor targeted towards programmers and web developers,
7097 with many options to write web sites, scripts and other code.
7098 Bluefish supports many programming and markup languages.")
7099 (license license:gpl3+)))
7101 (define-public gnome-system-monitor
7103 (name "gnome-system-monitor")
7108 (uri (string-append "mirror://gnome/sources/" name "/"
7109 (version-major+minor version) "/"
7110 name "-" version ".tar.xz"))
7113 "164in885dyfvna5yjzgdyrbrsskvh5wzxdmkjgb4mbh54lzqd1zb"))))
7114 (build-system glib-or-gtk-build-system)
7116 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
7117 ("intltool" ,intltool)
7118 ("itstool" ,itstool)
7119 ("libgtop" ,libgtop)
7121 ("pkg-config" ,pkg-config)))
7123 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7126 ("librsvg" ,librsvg)
7127 ("libxml2" ,libxml2)
7128 ("libwnck" ,libwnck)))
7129 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7130 (synopsis "Process viewer and system resource monitor for GNOME")
7132 "GNOME System Monitor is a GNOME process viewer and system monitor with
7133 an attractive, easy-to-use interface. It has features, such as a tree view
7134 for process dependencies, icons for processes, the ability to hide processes,
7135 graphical time histories of CPU/memory/swap usage and the ability to
7136 kill/reinice processes.")
7137 (license license:gpl2+)))
7139 (define-public python-pyatspi
7141 (name "python-pyatspi")
7146 "mirror://gnome/sources/pyatspi/"
7147 (version-major+minor version)
7148 "/pyatspi-" version ".tar.xz"))
7151 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))))
7152 (build-system gnu-build-system)
7154 `(("pkg-config" ,pkg-config)))
7156 `(("python" ,python)
7157 ("python-pygobject" ,python-pygobject)))
7158 (synopsis "Python client bindings for D-Bus AT-SPI")
7159 (home-page "https://wiki.linuxfoundation.org/accessibility\
7160 /atk/at-spi/at-spi_on_d-bus")
7162 "This package includes a python client library for the AT-SPI D-Bus
7163 accessibility infrastructure.")
7164 (license license:lgpl2.0)
7165 (properties '((upstream-name . "pyatspi")))))
7174 "mirror://gnome/sources/" name "/"
7175 (version-major+minor version) "/"
7176 name "-" version ".tar.xz"))
7179 "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g"))))
7180 (build-system glib-or-gtk-build-system)
7183 (modify-phases %standard-phases
7184 (add-before 'configure 'qualify-xkbcomp
7185 (lambda* (#:key inputs #:allow-other-keys)
7186 (let ((xkbcomp (string-append
7187 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7188 (substitute* "src/orca/orca.py"
7189 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7191 (add-after 'install 'wrap-orca
7192 (lambda* (#:key outputs #:allow-other-keys)
7193 (let* ((out (assoc-ref outputs "out"))
7194 (prog (string-append out "/bin/orca")))
7196 `("GI_TYPELIB_PATH" ":" prefix
7197 (,(getenv "GI_TYPELIB_PATH")))
7198 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7199 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7200 `("PYTHONPATH" ":" prefix
7201 (,(getenv "PYTHONPATH")))))
7204 `(("intltool" ,intltool)
7205 ("itstool" ,itstool)
7206 ("pkg-config" ,pkg-config)
7207 ("xmllint" ,libxml2)))
7209 `(("at-spi2-atk" ,at-spi2-atk)
7210 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7211 ("gstreamer" ,gstreamer)
7212 ("gst-plugins-base" ,gst-plugins-base)
7213 ("gst-plugins-good" ,gst-plugins-good)
7216 ("python-pygobject" ,python-pygobject)
7217 ("python-pyatspi" ,python-pyatspi)
7218 ("python-speechd" ,speech-dispatcher)
7219 ("xkbcomp" ,xkbcomp)))
7221 "Screen reader for individuals who are blind or visually impaired")
7222 (home-page "https://wiki.gnome.org/Projects/Orca")
7224 "Orca is a screen reader that provides access to the graphical desktop
7225 via speech and refreshable braille. Orca works with applications and toolkits
7226 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7227 (license license:lgpl2.1+)))
7229 (define-public gspell
7235 (uri (string-append "mirror://gnome/sources/" name "/"
7236 (version-major+minor version) "/"
7237 name "-" version ".tar.xz"))
7240 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
7241 (patches (search-patches "gspell-dash-test.patch"))))
7242 (build-system glib-or-gtk-build-system)
7245 (modify-phases %standard-phases
7246 (add-before 'check 'pre-check
7247 (lambda* (#:key inputs #:allow-other-keys)
7248 ;; Tests require a running X server.
7249 (system "Xvfb :1 &")
7250 (setenv "DISPLAY" ":1")
7252 ;; For the missing /etc/machine-id.
7253 (setenv "DBUS_FATAL_WARNINGS" "0")
7255 ;; Allow Enchant and its Aspell backend to find the en_US
7257 (setenv "ASPELL_DICT_DIR"
7258 (string-append (assoc-ref inputs "aspell-dict-en")
7264 ("iso-codes" ,iso-codes)))
7266 `(("glib" ,glib "bin")
7267 ("pkg-config" ,pkg-config)
7268 ("xmllint" ,libxml2)
7271 ("aspell-dict-en" ,aspell-dict-en)
7272 ("xorg-server" ,xorg-server)))
7274 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7275 (home-page "https://wiki.gnome.org/Projects/gspell")
7276 (synopsis "GNOME's alternative spell checker")
7278 "gspell provides a flexible API to add spell-checking to a GTK+
7279 application. It provides a GObject API, spell-checking to text entries and
7280 text views, and buttons to choose the language.")
7281 (license license:gpl2+)))
7283 (define-public gnome-planner
7285 (name "gnome-planner")
7289 (uri (string-append "mirror://gnome/sources/planner/"
7290 (version-major+minor version) "/planner-"
7294 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7295 (build-system glib-or-gtk-build-system)
7297 ;; Disable the Python bindings because the Planner program functions
7298 ;; without them, and (as of 2017-06-13) we have not packaged all of
7299 ;; packages that are necessary for building the Python bindings.
7301 (list "--disable-python"
7302 ,@(if (string=? "aarch64-linux" (%current-system))
7303 '("--build=aarch64-unknown-linux-gnu")
7306 `(("libgnomecanvas" ,libgnomecanvas)
7307 ("libgnomeui" ,libgnomeui)
7308 ("libglade" ,libglade)
7309 ("gnome-vfs" ,gnome-vfs)
7311 ("libxml2" ,libxml2)
7312 ("libxslt" ,libxslt)
7316 `(("intltool" ,intltool)
7317 ("scrollkeeper" ,scrollkeeper)
7318 ("pkg-config" ,pkg-config)))
7319 (home-page "https://wiki.gnome.org/Apps/Planner")
7320 (synopsis "Project management software for the GNOME desktop")
7322 "GNOME Planner is a project management tool based on the Work Breakdown
7323 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7324 the resources, tasks, and constraints that you define, Planner generates
7325 various views into a project. For example, Planner can show a Gantt chart of
7326 the project. It can show a detailed summary of tasks including their
7327 duration, cost, and current progress. It can also show a report of resource
7328 utilization that highlights under-utilized and over-utilized resources. These
7329 views can be printed as PDF or PostScript files, or exported to HTML.")
7330 (license license:gpl2+)))
7332 (define-public lollypop
7339 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7340 "e4df2ed75c5ed71d64afcc668e579b2a/"
7341 name "-" version ".tar.xz"))
7344 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
7345 (build-system meson-build-system)
7347 `(#:imported-modules ((guix build python-build-system)
7348 ,@%meson-build-system-modules)
7350 #:tests? #f ; no test suite
7352 (modify-phases %standard-phases
7353 (add-after 'install 'wrap-program
7354 (lambda* (#:key outputs #:allow-other-keys)
7355 (let ((out (assoc-ref outputs "out"))
7356 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7357 (wrap-program (string-append out "/bin/lollypop")
7358 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7360 (add-after 'install 'wrap
7361 (@@ (guix build python-build-system) wrap)))))
7363 `(("intltool" ,intltool)
7364 ("itstool" ,itstool)
7365 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7366 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7367 ("pkg-config" ,pkg-config)))
7369 `(("gobject-introspection" ,gobject-introspection)
7370 ("gst-plugins-base" ,gst-plugins-base)
7371 ("libnotify" ,libnotify)
7372 ("libsecret" ,libsecret)
7373 ("libsoup" ,libsoup)
7375 ("python-beautifulsoup4" ,python-beautifulsoup4)
7376 ("python-gst" ,python-gst)
7377 ("python-pycairo" ,python-pycairo)
7378 ("python-pygobject" ,python-pygobject)
7379 ("python-pylast" ,python-pylast)
7380 ("totem-pl-parser" ,totem-pl-parser)
7381 ("webkitgtk" ,webkitgtk)))
7383 `(;; gst-plugins-base is required to start Lollypop,
7384 ;; the others are required to play streaming.
7385 ("gst-plugins-good" ,gst-plugins-good)
7386 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7387 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7388 (synopsis "GNOME music playing application")
7390 "Lollypop is a music player designed to play well with GNOME desktop.
7391 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7392 from artists and tracks from the web. It also fetches cover artworks
7393 automatically and it can stream songs from online music services and charts.")
7394 (license license:gpl3+)))
7396 (define-public gnome-video-effects
7398 (name "gnome-video-effects")
7402 (uri (string-append "mirror://gnome/sources/" name "/"
7403 (version-major+minor version) "/" name "-"
7407 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7408 (build-system glib-or-gtk-build-system)
7410 `(#:out-of-source? #f))
7412 `(("glib:bin" ,glib "bin")
7413 ("intltool" ,intltool)
7414 ("gettext" ,gettext-minimal)
7415 ("pkg-config" ,pkg-config)))
7416 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7417 (synopsis "Video effects for Cheese and other GNOME applications")
7419 "A collection of GStreamer video filters and effects to be used in
7420 photo-booth-like software, such as Cheese.")
7421 (license license:gpl2+)))
7423 (define-public cheese
7429 (uri (string-append "mirror://gnome/sources/" name "/"
7430 (version-major+minor version) "/" name "-"
7434 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
7436 ;; Tests require GDK.
7439 (modify-phases %standard-phases
7440 (add-before 'install 'skip-gtk-update-icon-cache
7442 ;; Don't create 'icon-theme.cache'
7443 (substitute* "Makefile"
7444 (("gtk-update-icon-cache") (which "true")))
7446 (add-after 'install 'wrap-cheese
7447 (lambda* (#:key inputs outputs #:allow-other-keys)
7448 (let ((out (assoc-ref outputs "out"))
7449 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7450 (wrap-program (string-append out "/bin/cheese")
7451 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7453 (build-system glib-or-gtk-build-system)
7455 `(("glib:bin" ,glib "bin")
7456 ("intltool" ,intltool)
7457 ("itstool" ,itstool)
7458 ("libxml2" ,libxml2)
7459 ("pkg-config" ,pkg-config)
7462 `(("gnome-video-effects" ,gnome-video-effects)
7463 ("clutter" ,clutter)
7464 ("clutter-gst" ,clutter-gst)
7465 ("clutter-gtk" ,clutter-gtk)
7466 ("libcanberra" ,libcanberra)
7467 ("gdk-pixbuf" ,gdk-pixbuf)
7469 ("gstreamer" ,gstreamer)))
7471 `(("gnome-desktop" ,gnome-desktop)
7472 ("gobject-introspection" ,gobject-introspection)
7473 ("gst-plugins-base" ,gst-plugins-base)
7474 ("gst-plugins-bad" ,gst-plugins-bad)
7477 ("libxtst" ,libxtst)))
7478 (home-page "https://wiki.gnome.org/Apps/Cheese")
7479 (synopsis "Webcam photo booth software for GNOME")
7481 "Cheese uses your webcam to take photos and videos. Cheese can also
7482 apply fancy special effects and lets you share the fun with others.")
7483 (license license:gpl2+)))
7485 (define-public sound-juicer
7487 (name "sound-juicer")
7492 (uri (string-append "mirror://gnome/sources/" name "/"
7493 (version-major+minor version) "/"
7494 name "-" version ".tar.xz"))
7497 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7498 (build-system glib-or-gtk-build-system)
7500 `(("desktop-file-utils" ,desktop-file-utils)
7501 ("intltool" ,intltool)
7502 ("itstool" ,itstool)
7503 ("pkg-config" ,pkg-config)
7504 ("xmllint" ,libxml2)))
7507 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7508 ("gstreamer" ,gstreamer)
7509 ("gst-plugins-base" ,gst-plugins-base)
7510 ("gst-plugins-good" ,gst-plugins-good)
7511 ("iso-codes" ,iso-codes)
7512 ("libbrasero-media3" ,brasero)
7513 ("libcanberra" ,libcanberra)
7514 ("libdiscid" ,libdiscid)
7515 ("libmusicbrainz" ,libmusicbrainz)
7517 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7518 (synopsis "Audio music cd ripper")
7519 (description "Sound Juicer extracts audio from compact discs and convert it
7520 into audio files that a personal computer or digital audio player can play.
7521 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7522 mp3, Ogg Vorbis and FLAC")
7523 (license license:gpl2+)))
7525 (define-public soundconverter
7527 (name "soundconverter")
7532 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7533 version "/+download/"
7534 "soundconverter-" version ".tar.xz"))
7537 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
7540 "soundconverter-remove-gconf-dependency.patch"))))
7541 (build-system glib-or-gtk-build-system)
7543 `(#:imported-modules ((guix build python-build-system)
7544 (guix build glib-or-gtk-build-system)
7545 ,@%gnu-build-system-modules)
7547 #:modules ((guix build glib-or-gtk-build-system)
7549 ((guix build gnu-build-system) #:prefix gnu:)
7550 ((guix build python-build-system) #:prefix python:))
7553 (modify-phases %standard-phases
7554 (add-after 'install 'wrap-soundconverter-for-python
7555 (assoc-ref python:%standard-phases 'wrap))
7556 (add-after 'install 'wrap-soundconverter
7557 (lambda* (#:key inputs outputs #:allow-other-keys)
7558 (let ((out (assoc-ref outputs "out"))
7559 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7560 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7561 (wrap-program (string-append out "/bin/soundconverter")
7562 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7563 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7566 `(("intltool" ,intltool)
7567 ("pkg-config" ,pkg-config)
7568 ("glib:bin" ,glib "bin")))
7572 ("python-pygobject" ,python-pygobject)
7573 ("gstreamer" ,gstreamer)
7574 ("gst-plugins-base" ,gst-plugins-base)))
7575 (home-page "http://soundconverter.org/")
7576 (synopsis "Convert between audio formats with a graphical interface")
7578 "SoundConverter supports converting between many audio formats including
7579 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7580 configurable file renaming. ")
7581 (license license:gpl3)))
7583 (define-public workrave
7591 (url "https://github.com/rcaelers/workrave.git")
7592 (commit (string-append "v" (string-map
7593 (match-lambda (#\. #\_) (chr chr))
7595 (file-name (git-file-name name version))
7597 (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw"))))
7598 (build-system glib-or-gtk-build-system)
7599 (propagated-inputs `(("glib" ,glib)
7601 ("gdk-pixbuf" ,gdk-pixbuf)
7605 ("libxtst" ,libxtst)
7607 ("libice" ,libice)))
7608 (inputs `(("libsm" ,libsm)
7609 ("python-cheetah" ,python2-cheetah)))
7610 (native-inputs `(("glib" ,glib "bin")
7611 ("pkg-config" ,pkg-config)
7612 ("gettext" ,gnu-gettext)
7613 ("autoconf" ,autoconf)
7614 ("autoconf-archive" , autoconf-archive)
7615 ("automake" ,automake)
7616 ("libtool" ,libtool)
7617 ("intltool" ,intltool)
7618 ("libxscrnsaver" ,libxscrnsaver)
7619 ("gobject-introspection" ,gobject-introspection)
7620 ("python2" ,python-2)))
7621 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7623 "Workrave is a program that assists in the recovery and prevention of
7624 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7625 micro-pauses and rest breaks, and restricts you to your daily limit.")
7626 (home-page "http://www.workrave.org")
7627 (license license:gpl3+)))
7635 (uri (string-append "mirror://gnome/sources/ghex/"
7636 (version-major+minor version) "/"
7637 "ghex-" version ".tar.xz"))
7640 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7641 (build-system glib-or-gtk-build-system)
7643 `(("pkg-config" ,pkg-config)
7644 ("gnome-common" ,gnome-common)
7646 ("intltool" ,intltool)
7647 ("yelp-tools" ,yelp-tools)
7648 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
7652 (synopsis "GNOME hexadecimal editor")
7653 (description "The GHex program can view and edit files in two ways:
7654 hexadecimal or ASCII. It is useful for editing binary files in general.")
7655 (home-page "https://wiki.gnome.org/Apps/Ghex")
7656 (license license:gpl2)))
7658 (define-public libdazzle
7664 (uri (string-append "mirror://gnome/sources/libdazzle/"
7665 (version-major+minor version) "/"
7666 "libdazzle-" version ".tar.xz"))
7669 "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg"))))
7670 (build-system meson-build-system)
7673 (modify-phases %standard-phases
7674 (add-after 'unpack 'disable-failing-test
7676 ;; Disable failing test.
7677 (substitute* "tests/meson.build"
7678 (("test\\('test-application") "#"))
7680 (add-before 'check 'pre-check
7682 ;; Tests require a running X server.
7683 (system "Xvfb :1 &")
7684 (setenv "DISPLAY" ":1")
7687 `(("glib" ,glib "bin") ; glib-compile-resources
7688 ("pkg-config" ,pkg-config)
7690 ("xorg-server" ,xorg-server)))
7693 ("gobject-introspection" ,gobject-introspection)
7696 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7697 (synopsis "Companion library to GObject and Gtk+")
7698 (description "The libdazzle library is a companion library to GObject and
7699 Gtk+. It provides various features that the authors wish were in the
7700 underlying library but cannot for various reasons. In most cases, they are
7701 wildly out of scope for those libraries. In other cases, they are not quite
7702 generic enough to work for everyone.")
7703 (license license:gpl3+)))