1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
46 ;;; This file is part of GNU Guix.
48 ;;; GNU Guix is free software; you can redistribute it and/or modify it
49 ;;; under the terms of the GNU General Public License as published by
50 ;;; the Free Software Foundation; either version 3 of the License, or (at
51 ;;; your option) any later version.
53 ;;; GNU Guix is distributed in the hope that it will be useful, but
54 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
55 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56 ;;; GNU General Public License for more details.
58 ;;; You should have received a copy of the GNU General Public License
59 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
61 (define-module (gnu packages gnome)
62 #:use-module (gnu packages)
63 #:use-module (gnu packages admin)
64 #:use-module (gnu packages aspell)
65 #:use-module (gnu packages autotools)
66 #:use-module (gnu packages avahi)
67 #:use-module (gnu packages backup)
68 #:use-module (gnu packages base)
69 #:use-module (gnu packages bash)
70 #:use-module (gnu packages bison)
71 #:use-module (gnu packages boost)
72 #:use-module (gnu packages build-tools)
73 #:use-module (gnu packages calendar)
74 #:use-module (gnu packages cdrom)
75 #:use-module (gnu packages check)
76 #:use-module (gnu packages cmake)
77 #:use-module (gnu packages compression)
78 #:use-module (gnu packages cups)
79 #:use-module (gnu packages curl)
80 #:use-module (gnu packages cyrus-sasl)
81 #:use-module (gnu packages databases)
82 #:use-module (gnu packages dbm)
83 #:use-module (gnu packages djvu)
84 #:use-module (gnu packages dns)
85 #:use-module (gnu packages docbook)
86 #:use-module (gnu packages documentation)
87 #:use-module (gnu packages enchant)
88 #:use-module (gnu packages flex)
89 #:use-module (gnu packages fonts)
90 #:use-module (gnu packages file-systems)
91 #:use-module (gnu packages fontutils)
92 #:use-module (gnu packages freedesktop)
93 #:use-module (gnu packages game-development)
94 #:use-module (gnu packages gettext)
95 #:use-module (gnu packages ghostscript)
96 #:use-module (gnu packages gl)
97 #:use-module (gnu packages glib)
98 #:use-module (gnu packages gnupg)
99 #:use-module (gnu packages gnuzilla)
100 #:use-module (gnu packages gperf)
101 #:use-module (gnu packages graphviz)
102 #:use-module (gnu packages gstreamer)
103 #:use-module (gnu packages gtk)
104 #:use-module (gnu packages guile)
105 #:use-module (gnu packages ibus)
106 #:use-module (gnu packages image)
107 #:use-module (gnu packages imagemagick)
108 #:use-module (gnu packages inkscape)
109 #:use-module (gnu packages iso-codes)
110 #:use-module (gnu packages kerberos)
111 #:use-module (gnu packages libcanberra)
112 #:use-module (gnu packages libunistring)
113 #:use-module (gnu packages libusb)
114 #:use-module (gnu packages linux)
115 #:use-module (gnu packages lirc)
116 #:use-module (gnu packages lua)
117 #:use-module (gnu packages mail)
118 #:use-module (gnu packages multiprecision)
119 #:use-module (gnu packages music)
120 #:use-module (gnu packages ncurses)
121 #:use-module (gnu packages nettle)
122 #:use-module (gnu packages networking)
123 #:use-module (gnu packages ninja)
124 #:use-module (gnu packages nss)
125 #:use-module (gnu packages openldap)
126 #:use-module (gnu packages password-utils)
127 #:use-module (gnu packages pcre)
128 #:use-module (gnu packages pdf)
129 #:use-module (gnu packages perl)
130 #:use-module (gnu packages photo)
131 #:use-module (gnu packages pkg-config)
132 #:use-module (gnu packages polkit)
133 #:use-module (gnu packages popt)
134 #:use-module (gnu packages pretty-print)
135 #:use-module (gnu packages pulseaudio)
136 #:use-module (gnu packages python)
137 #:use-module (gnu packages python-crypto)
138 #:use-module (gnu packages python-web)
139 #:use-module (gnu packages python-xyz)
140 #:use-module (gnu packages rdesktop)
141 #:use-module (gnu packages readline)
142 #:use-module (gnu packages ruby)
143 #:use-module (gnu packages rust)
144 #:use-module (gnu packages samba)
145 #:use-module (gnu packages scanner)
146 #:use-module (gnu packages selinux)
147 #:use-module (gnu packages slang)
148 #:use-module (gnu packages speech)
149 #:use-module (gnu packages spice)
150 #:use-module (gnu packages sqlite)
151 #:use-module (gnu packages ssh)
152 #:use-module (gnu packages tex)
153 #:use-module (gnu packages time)
154 #:use-module (gnu packages tls)
155 #:use-module (gnu packages version-control)
156 #:use-module (gnu packages video)
157 #:use-module (gnu packages virtualization)
158 #:use-module (gnu packages vpn)
159 #:use-module (gnu packages web)
160 #:use-module (gnu packages web)
161 #:use-module (gnu packages webkit)
162 #:use-module (gnu packages xdisorg)
163 #:use-module (gnu packages xiph)
164 #:use-module (gnu packages xml)
165 #:use-module (gnu packages xorg)
166 #:use-module (gnu packages xorg)
167 #:use-module (gnu artwork)
168 #:use-module (guix build-system cmake)
169 #:use-module (guix build-system glib-or-gtk)
170 #:use-module (guix build-system gnu)
171 #:use-module (guix build-system meson)
172 #:use-module (guix build-system python)
173 #:use-module (guix build-system trivial)
174 #:use-module (guix download)
175 #:use-module (guix git-download)
176 #:use-module ((guix licenses) #:prefix license:)
177 #:use-module (guix packages)
178 #:use-module (guix utils)
179 #:use-module (guix gexp)
180 #:use-module (ice-9 match)
181 #:use-module (srfi srfi-1))
183 (define-public brasero
189 (uri (string-append "mirror://gnome/sources/" name "/"
190 (version-major+minor version) "/"
191 name "-" version ".tar.xz"))
194 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
195 (build-system glib-or-gtk-build-system)
197 `(#:configure-flags (list
198 (string-append "--with-girdir="
199 (assoc-ref %outputs "out")
201 (string-append "--with-typelibdir="
202 (assoc-ref %outputs "out")
203 "/lib/girepository-1.0"))
205 (modify-phases %standard-phases
206 (add-before 'configure 'embed-growisofs
207 (lambda* (#:key inputs #:allow-other-keys)
208 (substitute* "plugins/growisofs/burn-growisofs.c"
209 (("\"growisofs") (string-append "\"" (which "growisofs"))))
212 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
214 `(("intltool" ,intltool)
215 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
216 ("gobject-introspection" ,gobject-introspection)
217 ("pkg-config" ,pkg-config)))
219 `(("dvd+rw-tools" ,dvd+rw-tools)
221 ("gnome-doc-utils" ,gnome-doc-utils)
222 ("gstreamer" ,gstreamer)
223 ("gst-plugins-base" ,gst-plugins-base)
226 ("libcanberra" ,libcanberra)
228 ("libnotify" ,libnotify)
231 ("totem-pl-parser" ,totem-pl-parser)))
232 (home-page "https://projects.gnome.org/brasero/")
233 (synopsis "CD/DVD burning tool for Gnome")
234 (description "Brasero is an application to burn CD/DVD for the Gnome
235 Desktop. It is designed to be as simple as possible and has some unique
236 features to enable users to create their discs easily and quickly.")
237 (license license:gpl2+)))
239 (define-public deja-dup
245 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
248 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
250 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
251 (build-system glib-or-gtk-build-system)
253 `(#:modules ((guix build gnu-build-system)
254 ((guix build cmake-build-system) #:prefix cmake:)
255 (guix build glib-or-gtk-build-system)
257 #:imported-modules (,@%glib-or-gtk-build-system-modules
258 (guix build cmake-build-system))
260 #:configure-flags (list (string-append
261 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
263 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
265 (modify-phases %standard-phases
266 (add-after 'unpack 'patch-lockfile-deletion
268 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
272 (assoc-ref cmake:%standard-phases 'configure))
273 (delete 'check) ;; Fails due to issues with DBus
274 (add-after 'install 'wrap-deja-dup
275 (lambda* (#:key inputs outputs #:allow-other-keys)
276 (let ((python (assoc-ref inputs "python"))
277 (python-path (getenv "PYTHONPATH"))
278 (duplicity (assoc-ref inputs "duplicity"))
279 (out (assoc-ref outputs "out")))
282 (wrap-program program
283 `("PATH" ":" prefix (,(string-append python "/bin")
284 ,(string-append duplicity "/bin"))))
285 (wrap-program program
286 `("PYTHONPATH" ":" prefix (,python-path))))
288 (find-files (string-append out "/bin")))
291 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
292 ("gobject-introspection" ,gobject-introspection)
293 ("duplicity" ,duplicity)
295 ("python-pygobject" ,python2-pygobject)
297 ("libnotify" ,libnotify)
299 ("libsecret" ,libsecret)
300 ("packagekit" ,packagekit)))
302 `(("pkg-config" ,pkg-config)
304 ("gettext" ,gettext-minimal)
306 ("intltool" ,intltool)
307 ("cmake" ,cmake-minimal)))
308 (home-page "https://launchpad.net/deja-dup")
309 (synopsis "Simple backup tool, for regular encrypted backups")
311 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
312 uses duplicity as the backend, which supports incremental backups and storage
313 either on a local, or remote machine via a number of methods.")
314 (license license:gpl3+)))
317 ;; This version from GNOME's repository includes fixes for compiling with
318 ;; recent versions of the build tools. The latest activity on the
319 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
321 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
324 (version (string-append "0.97.2-" (string-take commit 7)))
328 (url "https://git.gnome.org/browse/dia")
330 (file-name (string-append name "-" version "-checkout"))
333 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
334 (build-system gnu-build-system)
336 `(("glib" ,glib "bin")
338 ("gdk-pixbuf" ,gdk-pixbuf)
341 ("freetype" ,freetype)
342 ("libart-lgpl" ,libart-lgpl)))
344 `(("intltool" ,intltool)
345 ("pkg-config" ,pkg-config)
346 ("automake" ,automake)
347 ("autoconf" ,autoconf)
350 ("python-wrapper" ,python-wrapper)))
353 (modify-phases %standard-phases
354 (add-after 'unpack 'run-autogen
356 (system* "sh" "autogen.sh"))))))
357 (home-page "https://wiki.gnome.org/Apps/Dia")
358 (synopsis "Diagram creation for GNOME")
359 (description "Dia can be used to draw different types of diagrams, and
360 includes support for UML static structure diagrams (class diagrams), entity
361 relationship modeling, and network diagrams. The program supports various file
362 formats like PNG, SVG, PDF and EPS.")
363 (license license:gpl2+))))
365 ;; This is the unstable release, but it is required for the current stable
366 ;; release of gvfs (1.38.1).
367 (define-public libgdata
373 (uri (string-append "mirror://gnome/sources/" name "/"
374 (version-major+minor version) "/"
375 name "-" version ".tar.xz"))
378 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
379 (build-system gnu-build-system)
382 (modify-phases %standard-phases
383 (add-before 'check 'disable-failing-tests
385 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
386 ;; They have been removed in libgdata 0.17.6, so just do the same.
387 (substitute* "gdata/tests/Makefile"
388 (("picasaweb\\$\\(EXEEXT\\) ") ""))
391 `(("glib:bin" ,glib "bin")
392 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
393 ("intltool" ,intltool)
394 ("pkg-config" ,pkg-config)
395 ("uhttpmock" ,uhttpmock)))
397 `(("cyrus-sasl" ,cyrus-sasl)
398 ("glib-networking" ,glib-networking)))
402 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
403 ("json-glib" ,json-glib)
404 ("liboauth" ,liboauth)
406 ("libxml2" ,libxml2)))
407 (home-page "https://wiki.gnome.org/Projects/libgdata")
408 (synopsis "Library for accessing online service APIs")
410 "libgdata is a GLib-based library for accessing online service APIs using
411 the GData protocol — most notably, Google's services. It provides APIs to
412 access the common Google services, and has full asynchronous support.")
413 (license license:lgpl2.1+)))
415 (define-public libgxps
421 (uri (string-append "mirror://gnome/sources/" name "/"
422 (version-major+minor version) "/"
423 name "-" version ".tar.xz"))
426 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
427 (build-system meson-build-system)
429 `(("gobject-introspection" ,gobject-introspection)
430 ("pkg-config" ,pkg-config)))
433 ("libjpeg" ,libjpeg-turbo)
435 ("libtiff" ,libtiff)))
437 ;; In Requires of libgxps.pc.
440 ("libarchive" ,libarchive)))
441 (home-page "https://wiki.gnome.org/Projects/libgxps")
442 (synopsis "GObject-based library for handling and rendering XPS documents")
444 "libgxps is a GObject-based library for handling and rendering XPS
445 documents. This package also contains binaries that can convert XPS documents
447 (license license:lgpl2.1+)))
449 (define-public gnome-common
451 (name "gnome-common")
456 (uri (string-append "mirror://gnome/sources/" name "/"
457 (version-major+minor version) "/"
458 name "-" version ".tar.xz"))
461 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
462 (build-system gnu-build-system)
463 (home-page "https://www.gnome.org/")
464 (synopsis "Bootstrap GNOME modules built from Git")
465 (description "gnome-common contains various files needed to bootstrap
466 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
467 can be used to configure a source directory checked out from Git and some
468 commonly used macros.")
469 (license license:gpl2+)))
471 (define-public gnome-desktop
473 (name "gnome-desktop")
478 (uri (string-append "mirror://gnome/sources/" name "/"
479 (version-major+minor version) "/"
480 name "-" version ".tar.xz"))
483 "0k6iccfj9naw42dl2mgljfvk12dmvg06plg86qd81nksrf9ycxal"))))
484 (build-system gnu-build-system)
487 (modify-phases %standard-phases
488 (add-before 'configure 'patch-path
489 (lambda* (#:key inputs #:allow-other-keys)
490 (let ((libc (assoc-ref inputs "libc")))
491 (substitute* "libgnome-desktop/gnome-languages.c"
493 (string-append "\"" libc "/bin/locale\"")))
496 `(("gobject-introspection" ,gobject-introspection)
498 ("intltool" ,intltool)
499 ("pkg-config" ,pkg-config)
500 ("xmllint" ,libxml2)))
502 ;; Required by gnome-desktop-3.0.pc.
503 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
506 `(("gdk-pixbuf" ,gdk-pixbuf)
508 ("iso-codes" ,iso-codes)
509 ("libseccomp" ,libseccomp)
512 ("libxkbfile" ,libxkbfile)
513 ("libxrandr" ,libxrandr)
514 ("xkeyboard-config" ,xkeyboard-config)))
515 (home-page "https://www.gnome.org/")
517 "Libgnome-desktop, gnome-about, and desktop-wide documents")
519 "The libgnome-desktop library provides API shared by several applications
520 on the desktop, but that cannot live in the platform for various reasons.
521 There is no API or ABI guarantee, although we are doing our best to provide
522 stability. Documentation for the API is available with gtk-doc.
524 The gnome-about program helps find which version of GNOME is installed.")
525 ; Some bits under the LGPL.
526 (license license:gpl2+)))
528 (define-public gnome-doc-utils
530 (name "gnome-doc-utils")
535 (uri (string-append "mirror://gnome/sources/" name "/"
536 (version-major+minor version) "/"
537 name "-" version ".tar.xz"))
540 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
541 (build-system gnu-build-system)
543 `(("intltool" ,intltool)
544 ("docbook-xml" ,docbook-xml-4.4)
545 ("python2-libxml2" ,python2-libxml2)
548 ("pkg-config" ,pkg-config)
549 ("python-2" ,python-2)))
550 (home-page "https://wiki.gnome.org/GnomeDocUtils")
552 "Documentation utilities for the Gnome project")
554 "Gnome-doc-utils is a collection of documentation utilities for the
555 Gnome project. It includes xml2po tool which makes it easier to translate
556 and keep up to date translations of documentation.")
557 (license license:gpl2+))) ; xslt under lgpl
559 (define-public gnome-disk-utility
561 (name "gnome-disk-utility")
565 (uri (string-append "mirror://gnome/sources/" name "/"
566 (version-major+minor version) "/"
567 name "-" version ".tar.xz"))
570 "1365fabz3q7n3bl775z82m1nzg18birxxyd7l2ssbbkqrx3h7wgi"))))
571 (build-system meson-build-system)
573 `(("glib:bin" ,glib "bin")
574 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
575 ("intltool" ,intltool)
576 ("pkg-config" ,pkg-config)
577 ("docbook-xml" ,docbook-xml)
578 ("docbook-xsl" ,docbook-xsl)
580 ("libxslt" ,libxslt)))
583 ("appstream-glib" ,appstream-glib)
584 ("gnome-settings-daemon" ,gnome-settings-daemon)
586 ("libcanberra" ,libcanberra)
587 ("libdvdread" ,libdvdread)
588 ("libnotify" ,libnotify)
589 ("libpwquality" ,libpwquality)
590 ("libsecret" ,libsecret)
592 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
593 (synopsis "Disk management utility for GNOME")
594 (description "Disk management utility for GNOME.")
595 (license license:gpl2+)))
603 (uri (string-append "mirror://gnome/sources/" name "/"
604 (version-major+minor version) "/"
605 name "-" version ".tar.xz"))
608 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
611 ;; This patch solves an ordering issue that showed up when
612 ;; running the test suite against newer Glib 2.60. See
613 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
616 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
617 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
618 (file-name "gcr-hashtable-ordering.patch")
621 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
622 (build-system gnu-build-system)
625 (modify-phases %standard-phases
626 ;; These fail because /var/lib/dbus/machine-id is not present in the
627 ;; build environment.
628 (add-after 'unpack 'disable-failing-tests
630 (substitute* "gcr/test-system-prompt.c"
631 (("g_test_add") "//")
632 (("return.*") "return 0;"))
634 (add-before 'check 'pre-check
636 ;; Some tests expect to write to $HOME.
637 (setenv "HOME" "/tmp")
641 ("gnupg" ,gnupg) ;called as a child process during tests
642 ("libgcrypt" ,libgcrypt)))
644 `(("python" ,python-2) ;for tests
645 ("pkg-config" ,pkg-config)
647 ("gobject-introspection" ,gobject-introspection)
648 ("intltool" ,intltool)
651 ("xsltproc" ,libxslt)))
652 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
654 `(("p11-kit" ,p11-kit)
657 (home-page "https://www.gnome.org")
658 (synopsis "Libraries for displaying certificates and accessing key stores")
660 "The GCR package contains libraries used for displaying certificates and
661 accessing key stores. It also provides the viewer for crypto files on the
663 (license license:lgpl2.1+)))
665 (define-public libgnome-keyring
667 (name "libgnome-keyring")
671 (uri (string-append "mirror://gnome/sources/" name "/"
672 (version-major+minor version) "/"
673 name "-" version ".tar.xz"))
676 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
677 (build-system gnu-build-system)
679 `(("libgcrypt" ,libgcrypt)
682 `(("pkg-config" ,pkg-config)
684 ("intltool" ,intltool)))
686 ;; Referred to in .h files and .pc.
688 (home-page "https://www.gnome.org")
689 (synopsis "Accessing passwords from the GNOME keyring")
691 "Client library to access passwords from the GNOME keyring.")
693 ;; Though a couple of files are LGPLv2.1+.
694 (license license:lgpl2.0+)))
696 (define-public gnome-keyring
698 (name "gnome-keyring")
702 (uri (string-append "mirror://gnome/sources/" name "/"
703 (version-major+minor version) "/"
704 name "-" version ".tar.xz"))
707 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
708 (build-system gnu-build-system)
710 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
714 (string-append "--with-pkcs11-config="
715 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
716 (string-append "--with-pkcs11-modules="
717 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
719 (modify-phases %standard-phases
720 (add-after 'unpack 'fix-/bin/sh-reference
722 (substitute* "po/Makefile.in.in"
723 (("/bin/sh") (which "sh")))
725 (add-after 'unpack 'fix-docbook
726 (lambda* (#:key inputs #:allow-other-keys)
727 (substitute* "docs/Makefile.am"
728 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
729 (string-append (assoc-ref inputs "docbook-xsl")
730 "/xml/xsl/docbook-xsl-"
731 ,(package-version docbook-xsl)
732 "/manpages/docbook.xsl")))
733 (setenv "XML_CATALOG_FILES"
734 (string-append (assoc-ref inputs "docbook-xml")
735 "/xml/dtd/docbook/catalog.xml"))
736 ;; Rerun the whole thing to avoid version mismatch ("This is
737 ;; Automake 1.15.1, but the definition used by this
738 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
739 ;; use 'autoreconf' because it insists on running 'libtoolize'.
742 (invoke "automake" "-ac"))))))
744 `(("libgcrypt" ,libgcrypt)
745 ("linux-pam" ,linux-pam)
750 `(("pkg-config" ,pkg-config)
752 ("glib" ,glib) ; for m4 macros
753 ("python" ,python-2) ;for tests
754 ("intltool" ,intltool)
755 ("autoconf" ,autoconf)
756 ("automake" ,automake)
757 ("libxslt" ,libxslt) ;for documentation
758 ("docbook-xml" ,docbook-xml-4.2)
759 ("docbook-xsl" ,docbook-xsl)))
760 (home-page "https://www.gnome.org")
761 (synopsis "Daemon to store passwords and encryption keys")
763 "gnome-keyring is a program that keeps passwords and other secrets for
764 users. It is run as a daemon in the session, similar to ssh-agent, and other
765 applications locate it via an environment variable or D-Bus.
767 The program can manage several keyrings, each with its own master password,
768 and there is also a session keyring which is never stored to disk, but
769 forgotten when the session ends.")
770 (license license:lgpl2.1+)))
772 (define-public evince
778 (uri (string-append "mirror://gnome/sources/" name "/"
779 (version-major+minor version) "/"
780 name "-" version ".tar.xz"))
783 "0k7jln6dpg4bpv61niicjzkzyq6fhb3yfld7pc8ck71c8pmvsnx9"))))
784 (build-system glib-or-gtk-build-system)
786 `(#:configure-flags '("--disable-nautilus")
788 (modify-phases %standard-phases
789 (add-before 'install 'skip-gtk-update-icon-cache
790 ;; Don't create 'icon-theme.cache'.
792 (substitute* "data/Makefile"
793 (("gtk-update-icon-cache") "true"))
796 `(("libarchive" ,libarchive)
798 ("libspectre" ,libspectre)
799 ("djvulibre" ,djvulibre)
800 ("ghostscript" ,ghostscript)
804 ;; Build libkpathsea as a shared library for DVI support.
805 ;; ("libkpathsea" ,texlive-bin)
806 ("gnome-desktop" ,gnome-desktop)
807 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
809 ("libgnome-keyring" ,libgnome-keyring)
810 ("adwaita-icon-theme" ,adwaita-icon-theme)
811 ("gdk-pixbuf" ,gdk-pixbuf)
819 ("shared-mime-info" ,shared-mime-info)
821 ("libcanberra" ,libcanberra)
822 ("libsecret" ,libsecret)
825 ("dogtail" ,python2-dogtail)))
827 `(("itstool" ,itstool)
828 ("intltool" ,intltool)
830 ("pkg-config" ,pkg-config)
831 ("xmllint" ,libxml2)))
833 "https://www.gnome.org/projects/evince/")
834 (synopsis "GNOME's document viewer")
836 "Evince is a document viewer for multiple document formats. It
837 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
838 of Evince is to replace the multiple document viewers that exist
839 on the GNOME Desktop with a single simple application.")
840 (license license:gpl2+)))
842 (define-public gsettings-desktop-schemas
844 (name "gsettings-desktop-schemas")
849 (uri (string-append "mirror://gnome/sources/" name "/"
850 (version-major+minor version) "/"
851 name "-" version ".tar.xz"))
854 "0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq"))))
855 (build-system gnu-build-system)
859 `(("intltool" ,intltool)
860 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
861 ("gobject-introspection" ,gobject-introspection)
862 ("pkg-config" ,pkg-config)))
863 (home-page "https://launchpad.net/gsettings-desktop-schemas")
865 "GNOME settings for various desktop components")
867 "Gsettings-desktop-schemas contains a collection of GSettings schemas
868 for settings shared by various components of the GNOME desktop.")
869 (license license:lgpl2.1+)))
871 (define-public icon-naming-utils
873 (name "icon-naming-utils")
878 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
882 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
883 (build-system gnu-build-system)
886 ("perl-xml-simple" ,perl-xml-simple)))
889 (modify-phases %standard-phases
890 (add-after 'install 'set-load-paths
891 ;; Tell 'icon-name-mapping' where XML::Simple is.
892 (lambda* (#:key outputs #:allow-other-keys)
893 (let* ((out (assoc-ref outputs "out"))
894 (prog (string-append out "/libexec/icon-name-mapping")))
897 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
899 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
901 "Utility to implement the Freedesktop Icon Naming Specification")
903 "To help with the transition to the Freedesktop Icon Naming
904 Specification, the icon naming utility maps the icon names used by the
905 GNOME and KDE desktops to the icon names proposed in the specification.")
906 (license license:lgpl2.1+)))
908 (define-public gnome-icon-theme
910 (name "gnome-icon-theme")
915 (uri (string-append "mirror://gnome/sources/" name "/"
916 (version-major+minor version) "/"
917 name "-" version ".tar.xz"))
920 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
921 (build-system gnu-build-system)
924 ;; Don't create 'icon-theme.cache'.
925 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
926 (true (string-append coreutils "/bin/true")))
927 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
929 `(("icon-naming-utils" ,icon-naming-utils)
930 ("intltool" ,intltool)
931 ("pkg-config" ,pkg-config)))
932 (home-page "https://art.gnome.org/")
936 "Icons for the GNOME desktop.")
937 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
939 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
940 (define-public adwaita-icon-theme
941 (package (inherit gnome-icon-theme)
942 (name "adwaita-icon-theme")
946 (uri (string-append "mirror://gnome/sources/" name "/"
947 (version-major+minor version) "/"
948 name "-" version ".tar.xz"))
951 "1kp1lis3dr16jmlgycz1b29jsr6ir8wmqj6laqwlhs663cmjlxbd"))))
953 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
955 (define-public tango-icon-theme
957 (name "tango-icon-theme")
961 (uri (string-append "http://tango.freedesktop.org/releases/"
962 "tango-icon-theme-" version ".tar.bz2"))
965 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
966 (build-system gnu-build-system)
968 `(("icon-naming-utils" ,icon-naming-utils)
969 ("intltool" ,intltool)
970 ("imagemagick" ,imagemagick)
971 ("pkg-config" ,pkg-config)))
972 (home-page "http://tango-project.org/")
973 (synopsis "Tango icon theme")
974 (description "This is an icon theme that follows the Tango visual
976 (license license:public-domain)))
978 (define-public shared-mime-info
980 (name "shared-mime-info")
984 (uri (string-append "https://freedesktop.org/~hadess/"
985 "shared-mime-info-" version ".tar.xz"))
988 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
989 (build-system gnu-build-system)
991 ;; The build system appears not to be parallel-safe.
992 '(#:parallel-build? #f))
995 ("libxml2" ,libxml2)))
997 `(("intltool" ,intltool)
998 ("pkg-config" ,pkg-config)))
999 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1000 (synopsis "Database of common MIME types")
1002 "The shared-mime-info package contains the core database of common types
1003 and the update-mime-database command used to extend it. It requires glib2 to
1004 be installed for building the update command. Additionally, it uses intltool
1005 for translations, though this is only a dependency for the maintainers. This
1006 database is translated at Transifex.")
1007 (license license:gpl2+)))
1009 (define-public system-config-printer
1011 (name "system-config-printer")
1016 "https://github.com/zdohnal/system-config-printer/releases/"
1018 "/system-config-printer-" version ".tar.xz"))
1021 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
1022 (build-system glib-or-gtk-build-system)
1024 `(#:imported-modules ((guix build python-build-system)
1025 ,@%glib-or-gtk-build-system-modules)
1027 (modify-phases %standard-phases
1028 (add-after 'unpack 'patch-Makefile.am
1030 ;; The Makefile generates some scripts, so set a valid shebang
1031 (substitute* "Makefile.am"
1032 (("/bin/bash") (which "bash")))
1033 (delete-file "configure")
1035 (add-after 'unpack 'patch-docbook-xml
1036 (lambda* (#:key inputs #:allow-other-keys)
1037 ;; Modify the man XML otherwise xmlto tries to access the network
1038 (substitute* "man/system-config-printer.xml"
1039 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1040 (string-append (assoc-ref inputs "docbook-xml")
1041 "/xml/dtd/docbook/")))
1043 (add-after 'install 'wrap-for-python
1044 (@@ (guix build python-build-system) wrap))
1045 (add-after 'install 'wrap
1046 (lambda* (#:key outputs #:allow-other-keys)
1047 (let ((out (assoc-ref outputs "out"))
1048 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1051 (wrap-program program
1052 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1054 (string-append out "/bin/" name))
1055 '("system-config-printer"
1056 "system-config-printer-applet"
1057 "install-printerdriver"
1058 "scp-dbus-service"))))
1061 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1062 ("gobject-introspection" ,gobject-introspection)
1065 ("python-dbus" ,python-dbus)
1066 ("python-pygobject" ,python-pygobject)
1067 ("python-pycups" ,python-pycups)
1068 ("python-requests" ,python-requests)
1069 ("python-pycairo" ,python-pycairo)
1070 ("libnotify" ,libnotify)
1071 ("packagekit" ,packagekit)))
1073 `(("pkg-config" ,pkg-config)
1074 ("desktop-file-utils" ,desktop-file-utils)
1076 ("autoconf" ,autoconf)
1077 ("automake" ,automake)
1078 ("intltool" ,intltool)
1080 ("docbook-xml" ,docbook-xml-4.1.2)
1081 ("docbook-xsl" ,docbook-xsl)
1082 ("libxml2" ,libxml2)))
1083 (home-page "https://github.com/zdohnal/system-config-printer")
1084 (synopsis "CUPS administration tool")
1086 "system-config-printer is a CUPS administration tool. It's written in
1087 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1089 (license license:gpl2+)))
1091 (define-public hicolor-icon-theme
1093 (name "hicolor-icon-theme")
1098 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1099 "hicolor-icon-theme-" version ".tar.xz"))
1102 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1103 (build-system gnu-build-system)
1105 `(#:tests? #f)) ; no check target
1106 (home-page "https://icon-theme.freedesktop.org/releases/")
1108 "Freedesktop icon theme")
1110 "Freedesktop icon theme.")
1111 (license license:gpl2)))
1113 (define-public libnotify
1120 (uri (string-append "mirror://gnome/sources/" name "/"
1121 (version-major+minor version) "/"
1122 name "-" version ".tar.xz"))
1125 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1126 (build-system gnu-build-system)
1128 `(#:configure-flags '("--disable-static")))
1130 `(;; In Requires of libnotify.pc.
1131 ("gdk-pixbuf" ,gdk-pixbuf)
1135 ("libpng" ,libpng)))
1137 `(("pkg-config" ,pkg-config)
1138 ("glib" ,glib "bin")
1139 ("gobject-introspection" ,gobject-introspection)))
1140 (home-page "https://developer-next.gnome.org/libnotify/")
1142 "GNOME desktop notification library")
1144 "Libnotify is a library that sends desktop notifications to a
1145 notification daemon, as defined in the Desktop Notifications spec. These
1146 notifications can be used to inform the user about an event or display
1147 some form of information without getting in the user's way.")
1148 (license license:lgpl2.1+)))
1150 (define-public libpeas
1157 (uri (string-append "mirror://gnome/sources/" name "/"
1158 (version-major+minor version) "/"
1159 name "-" version ".tar.xz"))
1162 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1163 (build-system gnu-build-system)
1168 ("python-pygobject" ,python-pygobject)))
1170 `(("pkg-config" ,pkg-config)
1171 ("glib:bin" ,glib "bin")
1172 ("gobject-introspection" ,gobject-introspection)
1173 ("intltool" ,intltool)))
1175 ;; The .pc file "Requires" gobject-introspection.
1176 `(("gobject-introspection" ,gobject-introspection)))
1177 (home-page "https://wiki.gnome.org/Libpeas")
1178 (synopsis "GObject plugin system")
1180 "Libpeas is a gobject-based plugin engine, targeted at giving every
1181 application the chance to assume its own extensibility. It also has a set of
1182 features including, but not limited to: multiple extension points; on-demand
1183 (lazy) programming language support for C, Python and JS; simplicity of the
1185 (license license:lgpl2.0+)))
1187 (define-public gtkglext
1193 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1194 version "/gtkglext-" version ".tar.gz"))
1196 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1197 (patches (search-patches
1198 "gtkglext-disable-disable-deprecated.patch"))))
1199 (build-system gnu-build-system)
1202 (modify-phases %standard-phases
1203 ;; Fix a collision between a local variable and a definition from
1204 ;; glibc's string.h.
1205 (add-after 'unpack 'fix-collision
1207 (substitute* "gdk/gdkglshapes.c"
1208 ((" index") " triangle_index"))
1210 (inputs `(("gtk+" ,gtk+-2)
1215 (native-inputs `(("pkg-config" ,pkg-config)
1216 ("glib" ,glib "bin")))
1217 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1218 (home-page "https://projects.gnome.org/gtkglext")
1219 (synopsis "OpenGL extension to GTK+")
1220 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1221 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1222 API add-ons to make GTK+ widgets OpenGL-capable.")
1223 (license license:lgpl2.1+)))
1225 (define-public glade3
1231 (uri (string-append "mirror://gnome/sources/" name "/"
1232 (version-major+minor version) "/"
1233 name "-" version ".tar.xz"))
1236 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
1237 (build-system glib-or-gtk-build-system)
1239 `(#:tests? #f ; needs X, GL, and software rendering
1241 (modify-phases %standard-phases
1242 (add-before 'configure 'fix-docbook
1243 (lambda* (#:key inputs #:allow-other-keys)
1244 (substitute* "man/Makefile.in"
1245 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1246 (string-append (assoc-ref inputs "docbook-xsl")
1247 "/xml/xsl/docbook-xsl-"
1248 ,(package-version docbook-xsl)
1249 "/manpages/docbook.xsl")))
1253 ("libxml2" ,libxml2)))
1255 `(("intltool" ,intltool)
1256 ("itstool" ,itstool)
1257 ("libxslt" ,libxslt) ;for xsltproc
1258 ("docbook-xml" ,docbook-xml-4.2)
1259 ("docbook-xsl" ,docbook-xsl)
1260 ("python" ,python-2)
1261 ("pkg-config" ,pkg-config)))
1262 (home-page "https://glade.gnome.org")
1263 (synopsis "GTK+ rapid application development tool")
1264 (description "Glade is a rapid application development (RAD) tool to
1265 enable quick & easy development of user interfaces for the GTK+ toolkit and
1266 the GNOME desktop environment.")
1267 (license license:lgpl2.0+)))
1269 (define-public libcroco
1275 (uri (string-append "mirror://gnome/sources/" name "/"
1276 (version-major+minor version) "/"
1277 name "-" version ".tar.xz"))
1280 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1281 (build-system gnu-build-system)
1283 `(("pkg-config" ,pkg-config)))
1286 ("libxml2" ,libxml2)
1288 (home-page "https://github.com/GNOME/libcroco")
1289 (synopsis "CSS2 parsing and manipulation library")
1291 "Libcroco is a standalone CSS2 parsing and manipulation library.
1292 The parser provides a low level event driven SAC-like API and a CSS object
1293 model like API. Libcroco provides a CSS2 selection engine and an experimental
1294 XML/CSS rendering engine.")
1297 (license license:lgpl2.1)))
1299 (define-public libgsf
1305 (uri (string-append "mirror://gnome/sources/" name "/"
1306 (version-major+minor version) "/"
1307 name "-" version ".tar.xz"))
1310 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
1311 (build-system gnu-build-system)
1313 `(("intltool" ,intltool)
1314 ("pkg-config" ,pkg-config)))
1316 `(("python" ,python)
1320 `(("gdk-pixbuf" ,gdk-pixbuf)
1322 ("libxml2" ,libxml2)))
1323 (home-page "https://www.gnome.org/projects/libgsf")
1324 (synopsis "GNOME's Structured File Library")
1326 "Libgsf aims to provide an efficient extensible I/O abstraction for
1327 dealing with different structured file formats.")
1330 (license license:lgpl2.1)))
1332 (define-public librsvg
1338 (uri (string-append "mirror://gnome/sources/" name "/"
1339 (version-major+minor version) "/"
1340 name "-" version ".tar.xz"))
1343 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1344 (build-system gnu-build-system)
1347 (list "--disable-static"
1348 "--enable-vala") ; needed for e.g. gnome-mines
1350 (modify-phases %standard-phases
1351 (add-before 'configure 'pre-configure
1352 (lambda* (#:key inputs #:allow-other-keys)
1353 (substitute* "gdk-pixbuf-loader/Makefile.in"
1354 ;; By default the gdk-pixbuf loader is installed under
1355 ;; gdk-pixbuf's prefix. Work around that.
1356 (("gdk_pixbuf_moduledir = .*$")
1357 (string-append "gdk_pixbuf_moduledir = "
1358 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1360 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1361 (("gdk_pixbuf_cache_file = .*$")
1362 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1364 (add-before 'check 'remove-failing-tests
1366 (with-directory-excursion "tests/fixtures/reftests"
1367 (for-each delete-file
1368 '(;; This test fails on i686:
1369 "svg1.1/masking-path-04-b.svg"
1370 ;; This test fails on armhf:
1371 "svg1.1/masking-mask-01-b.svg"
1372 ;; This test fails on aarch64:
1373 "bugs/777834-empty-text-children.svg")))
1376 `(("pkg-config" ,pkg-config)
1378 ("glib" ,glib "bin") ; glib-mkenums, etc.
1379 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1382 ("libcroco" ,libcroco)
1385 ("libxml2" ,libxml2)))
1387 ;; librsvg-2.0.pc refers to all of that.
1389 ("gdk-pixbuf" ,gdk-pixbuf)
1391 (home-page "https://wiki.gnome.org/LibRsvg")
1392 (synopsis "Render SVG files using Cairo")
1394 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1396 (license license:lgpl2.0+)))
1398 (define-public librsvg-next
1404 (uri (string-append "mirror://gnome/sources/" name "/"
1405 (version-major+minor version) "/"
1406 name "-" version ".tar.xz"))
1409 "1la3az2af2ccm6rp86b6wh0kq7kxzl4n8pli5qxhyic1rd91xj4n"))))
1410 (build-system gnu-build-system)
1413 (list "--disable-static"
1414 "--enable-vala") ; needed for e.g. gnome-mines
1415 #:make-flags '("CC=gcc")
1417 (modify-phases %standard-phases
1418 ;; Don't patch anything in vendor/ to avoid having to recompute
1419 ;; checksums for the bundled Cargo "crates". TODO: Unbundle those.
1420 (delete 'patch-source-shebangs)
1421 (delete 'patch-generated-file-shebangs)
1422 (delete 'patch-usr-bin-file)
1423 (add-before 'configure 'patch-all-the-things
1425 (for-each patch-shebang '("tap-driver.sh" "tap-test"))
1426 (patch-/usr/bin/file "configure")
1427 (patch-makefile-SHELL "po/Makefile.in.in")
1429 (add-before 'configure 'pre-configure
1430 (lambda* (#:key inputs #:allow-other-keys)
1431 (substitute* "gdk-pixbuf-loader/Makefile.in"
1432 ;; By default the gdk-pixbuf loader is installed under
1433 ;; gdk-pixbuf's prefix. Work around that.
1434 (("gdk_pixbuf_moduledir = .*$")
1435 (string-append "gdk_pixbuf_moduledir = "
1436 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1438 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1439 (("gdk_pixbuf_cache_file = .*$")
1440 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1442 (add-before 'check 'remove-failing-tests
1444 (with-directory-excursion "tests/fixtures/reftests"
1445 (for-each delete-file
1446 '(;; The images produced by these tests differ slightly
1447 ;; from their reference counterparts due to differences
1448 ;; in the build environment (missing fonts, etc). See
1449 ;; <tests/README.md> for details.
1450 ;; These fail on x86_64.
1451 "svg1.1/coords-viewattr-02-b.svg"
1452 "svg1.1/filters-composite-04-f.svg"
1453 "svg1.1/filters-image-01-b.svg"
1454 "svg1.1/filters-conv-02-f.svg"
1455 "svg1.1/filters-conv-04-f.svg"
1456 ;; This test fails on i686:
1457 "svg1.1/masking-path-04-b.svg"
1458 ;; This test fails on armhf:
1459 "svg1.1/masking-mask-01-b.svg"
1460 ;; This test fails on aarch64:
1461 "bugs/777834-empty-text-children.svg")))
1464 `(("pkg-config" ,pkg-config)
1465 ;; This is the minimum supported Rust version in Librsvg 2.46.
1467 ("cargo" ,rust-1.34 "cargo")
1469 ("glib" ,glib "bin") ; glib-mkenums, etc.
1470 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1473 ("libcroco" ,libcroco)
1476 ("libxml2" ,libxml2)))
1478 ;; librsvg-2.0.pc refers to all of that.
1480 ("gdk-pixbuf" ,gdk-pixbuf)
1482 (home-page "https://wiki.gnome.org/LibRsvg")
1483 (synopsis "Render SVG files using Cairo")
1485 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1487 (license license:lgpl2.0+)))
1489 (define-public libidl
1495 (uri (let ((upstream-name "libIDL"))
1496 (string-append "mirror://gnome/sources/" upstream-name "/"
1497 (version-major+minor version) "/"
1498 upstream-name "-" version ".tar.bz2")))
1501 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1502 (build-system gnu-build-system)
1503 (inputs `(("glib" ,glib)))
1505 `(("pkg-config" ,pkg-config)
1508 (home-page "http://freecode.com/projects/libidl")
1509 (synopsis "Create trees of CORBA Interface Definition Language files")
1510 (description "Libidl is a library for creating trees of CORBA Interface
1511 Definition Language (idl) files, which is a specification for defining
1512 portable interfaces. libidl was initially written for orbit (the orb from the
1513 GNOME project, and the primary means of libidl distribution). However, the
1514 functionality was designed to be as reusable and portable as possible.")
1515 (license license:lgpl2.0+)))
1518 (define-public orbit2
1524 (uri (let ((upstream-name "ORBit2"))
1525 (string-append "mirror://gnome/sources/" upstream-name "/"
1526 (version-major+minor version) "/"
1527 upstream-name "-" version ".tar.bz2")))
1530 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1531 (build-system gnu-build-system)
1534 '(;; We don't need static libraries, plus they don't build reproducibly
1535 ;; (non-deterministic ordering of .o files in the archive.)
1538 ;; The programmer kindly gives us a hook to turn off deprecation
1540 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1541 ;; ... which they then completly ignore !!
1543 (modify-phases %standard-phases
1544 (add-before 'configure 'ignore-deprecations
1546 (substitute* "linc2/src/Makefile.in"
1547 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1549 (inputs `(("glib" ,glib)
1550 ("libidl" ,libidl)))
1552 `(("pkg-config" ,pkg-config)))
1553 (home-page "https://projects.gnome.org/orbit2/")
1554 (synopsis "CORBA 2.4-compliant Object Request Broker")
1555 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1556 featuring mature C, C++ and Python bindings.")
1557 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1558 ;; a version. SOME of the code files have licence notices for GPLv2+.
1559 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1560 (license license:gpl2+)
1561 (properties `((upstream-name . "ORBit2")))))
1564 (define-public libbonobo
1570 (uri (string-append "mirror://gnome/sources/" name "/"
1571 (version-major+minor version)
1572 "/" name "-" version ".tar.bz2"))
1574 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1575 (patches (search-patches
1576 "libbonobo-activation-test-race.patch"))))
1577 (build-system gnu-build-system)
1579 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1581 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1582 ;; ... which they then completly ignore !!
1584 (modify-phases %standard-phases
1585 (add-before 'configure 'ignore-deprecations
1587 (substitute* "activation-server/Makefile.in"
1588 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1591 ;; There's apparently a race condition between the server stub
1592 ;; generation and linking of the example under 'samples/echo' that can
1593 ;; lead do undefined references when building in parallel, as reported
1594 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1595 ;; Thus, disable parallel builds.
1596 #:parallel-build? #f))
1597 (inputs `(("popt" ,popt)
1598 ("libxml2" ,libxml2)))
1599 ;; The following are Required by the .pc file
1602 ("orbit2" ,orbit2)))
1604 `(("intltool" ,intltool)
1605 ("pkg-config" ,pkg-config)
1606 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1609 (home-page "https://developer.gnome.org/libbonobo/")
1610 (synopsis "Framework for creating reusable components for use in GNOME applications")
1611 (description "Bonobo is a framework for creating reusable components for
1612 use in GNOME applications, built on top of CORBA.")
1613 ;; Licence not explicitly stated. Source files contain no licence notices.
1614 ;; Tarball contains text of both GPLv2 and LGPLv2
1615 ;; GPLv2 covers both conditions
1616 (license license:gpl2+)))
1619 (define-public gconf
1626 (let ((upstream-name "GConf"))
1627 (string-append "mirror://gnome/sources/" upstream-name "/"
1628 (version-major+minor version) "/"
1629 upstream-name "-" version ".tar.xz")))
1631 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1632 (build-system gnu-build-system)
1633 (inputs `(("dbus-glib" ,dbus-glib)
1634 ("libxml2" ,libxml2)))
1635 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1636 ("orbit2" ,orbit2)))
1638 `(("intltool" ,intltool)
1639 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1640 ("pkg-config" ,pkg-config)))
1641 (home-page "https://projects.gnome.org/gconf/")
1642 (synopsis "Store application preferences")
1643 (description "Gconf is a system for storing application preferences. It
1644 is intended for user preferences; not arbitrary data storage.")
1645 (license license:lgpl2.0+)
1646 (properties '((upstream-name . "GConf")))))
1649 (define-public gnome-mime-data
1651 (name "gnome-mime-data")
1655 (uri (string-append "mirror://gnome/sources/" name "/"
1656 (version-major+minor version) "/"
1657 name "-" version ".tar.bz2"))
1660 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1661 (build-system gnu-build-system)
1664 ("intltool" ,intltool)))
1666 '(#:phases (modify-phases %standard-phases
1667 (add-after 'configure 'use-our-intltool
1669 ;; Do not use the bundled intltool commands, which lack
1670 ;; the "dotless @INC" fixes of our 'intltool' package.
1671 (substitute* (find-files "." "^Makefile$")
1672 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1673 (string-append "INTLTOOL_" tool " = intltool-"
1674 (string-downcase tool) "\n")))
1676 (home-page "https://www.gnome.org")
1677 (synopsis "Base MIME and Application database for GNOME")
1678 (description "GNOME Mime Data is a module which contains the base MIME
1679 and Application database for GNOME. The data stored by this module is
1680 designed to be accessed through the MIME functions in GnomeVFS.")
1681 (license license:gpl2+)))
1684 (define-public gnome-vfs
1690 (uri (string-append "mirror://gnome/sources/" name "/"
1691 (version-major+minor version) "/"
1692 name "-" version ".tar.bz2"))
1695 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1696 (build-system gnu-build-system)
1699 (modify-phases %standard-phases
1700 (add-before 'configure 'ignore-deprecations
1702 (substitute* '("libgnomevfs/Makefile.in"
1703 "daemon/Makefile.in")
1704 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1706 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1708 (substitute* "test/test-async-cancel.c"
1709 (("EXIT_FAILURE") "77"))
1711 (inputs `(("libxml2" ,libxml2)
1712 ("dbus-glib" ,dbus-glib)
1714 ("gnome-mime-data" ,gnome-mime-data)
1717 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1718 ("intltool" ,intltool)
1719 ("pkg-config" ,pkg-config)))
1720 (home-page "https://developer.gnome.org/gnome-vfs/")
1721 (synopsis "Access files and folders in GNOME applications")
1723 "GnomeVFS is the core library used to access files and folders in GNOME
1724 applications. It provides a file system abstraction which allows applications
1725 to access local and remote files with a single consistent API.")
1726 (license license:lgpl2.0+)))
1730 (define-public libgnome
1736 (uri (string-append "mirror://gnome/sources/" name "/"
1737 (version-major+minor version) "/"
1738 name "-" version ".tar.bz2"))
1741 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1742 (patches (search-patches "libgnome-encoding.patch"))))
1743 (build-system gnu-build-system)
1746 (modify-phases %standard-phases
1747 (add-before 'configure 'enable-deprecated
1749 (substitute* "libgnome/Makefile.in"
1750 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1752 (inputs `(("libxml2" ,libxml2)))
1754 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1755 ("intltool" ,intltool)
1756 ("pkg-config" ,pkg-config)))
1757 ;; The following are listed as Required in the .pc file
1758 ;; (except for libcanberra -- which seems to be oversight on the part
1759 ;; of the upstream developers -- anything that links against libgnome,
1760 ;; must also link against libcanberra
1762 `(("libcanberra" ,libcanberra)
1763 ("libbonobo" ,libbonobo)
1765 ("gnome-vfs" ,gnome-vfs)
1766 ("popt" ,popt))) ;gnome-program.h includes popt.h
1767 (home-page "https://developer.gnome.org/libgnome/")
1768 (synopsis "Useful routines for building applications")
1769 (description "The libgnome library provides a number of useful routines
1770 for building modern applications, including session management, activation of
1771 files and URIs, and displaying help.")
1772 (license license:lgpl2.0+)))
1775 (define-public libart-lgpl
1777 (name "libart-lgpl")
1781 (uri (let ((upstream-name "libart_lgpl"))
1782 (string-append "mirror://gnome/sources/" upstream-name "/"
1783 (version-major+minor version) "/"
1784 upstream-name "-" version ".tar.bz2")))
1787 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1788 (build-system gnu-build-system)
1790 `(("pkg-config" ,pkg-config)))
1791 (home-page "https://people.gnome.org/~mathieu/libart")
1792 (synopsis "2D drawing library")
1793 (description "Libart is a 2D drawing library intended as a
1794 high-quality vector-based 2D library with antialiasing and alpha composition.")
1795 (license license:lgpl2.0+)))
1799 (define-public libgnomecanvas
1801 (name "libgnomecanvas")
1805 (uri (string-append "mirror://gnome/sources/" name "/"
1806 (version-major+minor version) "/"
1807 name "-" version ".tar.gz"))
1810 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1811 (build-system gnu-build-system)
1812 ;; Mentioned as Required in the .pc file
1813 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1816 `(("intltool" ,intltool)
1817 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1818 ("pkg-config" ,pkg-config)))
1819 (home-page "https://developer.gnome.org/libgnomecanvas/")
1820 (synopsis "Flexible widget for creating interactive structured graphics")
1821 (description "The GnomeCanvas widget provides a flexible widget for
1822 creating interactive structured graphics.")
1823 (license license:lgpl2.0+)))
1825 (define-public libgnomecanvasmm
1827 (name "libgnomecanvasmm")
1831 (uri (string-append "mirror://gnome/sources/" name "/"
1832 (version-major+minor version) "/"
1833 name "-" version ".tar.bz2"))
1836 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1837 (build-system gnu-build-system)
1838 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1840 `(("gtkmm-2" ,gtkmm-2)
1841 ("pkg-config" ,pkg-config)))
1842 (home-page "https://gtkmm.org")
1843 (synopsis "C++ bindings to the GNOME Canvas library")
1844 (description "C++ bindings to the GNOME Canvas library.")
1845 (license license:lgpl2.0+)))
1847 (define-public libgnomeui
1853 (uri (string-append "mirror://gnome/sources/" name "/"
1854 (version-major+minor version) "/"
1855 name "-" version ".tar.bz2"))
1856 (patches (search-patches "libgnomeui-utf8.patch"))
1859 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1860 (build-system gnu-build-system)
1861 ;; Mentioned as Required in the .pc file
1862 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1863 ("libgnome" ,libgnome)
1864 ("libgnomecanvas" ,libgnomecanvas)
1865 ("libgnome-keyring" ,libgnome-keyring)))
1866 (inputs `(("libjpeg" ,libjpeg)
1868 ("libbonobo" ,libbonobo)
1869 ("libxml2" ,libxml2)
1870 ("libglade" ,libglade)))
1872 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1873 ("intltool" ,intltool)
1874 ("pkg-config" ,pkg-config)))
1875 (home-page "https://developer.gnome.org/libgnomeui/")
1876 (synopsis "Additional widgets for applications")
1877 (description "The libgnomeui library provides additional widgets for
1878 applications. Many of the widgets from libgnomeui have already been
1880 (license license:lgpl2.0+)))
1882 (define-public libglade
1888 (uri (string-append "mirror://gnome/sources/" name "/"
1889 (version-major+minor version) "/"
1890 name "-" version ".tar.bz2"))
1893 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1894 (build-system gnu-build-system)
1896 `(("python" ,python))) ;; needed for the optional libglade-convert program
1898 `(("gtk+-2" ,gtk+-2)
1899 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1901 `(("pkg-config" ,pkg-config)))
1902 (home-page "https://developer.gnome.org/libglade")
1903 (synopsis "Load glade interfaces and access the glade built widgets")
1904 (description "Libglade is a library that provides interfaces for loading
1905 graphical interfaces described in glade files and for accessing the
1906 widgets built in the loading process.")
1907 (license license:gpl2+))) ; This is correct. GPL not LGPL
1909 (define-public libgnomeprint
1910 ;; This library has been deprecated since 2006; see
1911 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1913 (name "libgnomeprint")
1917 (uri (string-append "mirror://gnome/sources/" name "/"
1918 (version-major+minor version) "/"
1919 name "-" version ".tar.bz2"))
1922 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
1923 (build-system gnu-build-system)
1926 ("libart-lgpl" ,libart-lgpl)
1928 ("libxml2" ,libxml2)))
1930 `(("intltool" ,intltool)
1931 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1932 ("pkg-config" ,pkg-config)))
1933 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1934 (synopsis "Printing framework for GNOME")
1936 "GNOME-print was a printing framework for GNOME. It has been deprecated
1937 since ca. 2006, when GTK+ itself incorporated printing support.")
1938 (license license:lgpl2.0+)))
1941 (define-public libgnomeprintui
1942 ;; Deprecated; see libgnomeprint.
1944 (name "libgnomeprintui")
1948 (uri (string-append "mirror://gnome/sources/" name "/"
1949 (version-major+minor version) "/"
1950 name "-" version ".tar.bz2"))
1953 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
1954 (build-system gnu-build-system)
1955 ;; Mentioned as Required in the .pc file
1956 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1957 (inputs `(("gtk+" ,gtk+-2)
1959 ("gnome-icon-theme" ,gnome-icon-theme)
1960 ("libgnomecanvas" ,libgnomecanvas)
1961 ("libxml2" ,libxml2)))
1963 `(("intltool" ,intltool)
1964 ("pkg-config" ,pkg-config)))
1965 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1966 (synopsis "Printing framework for GNOME")
1967 (description (package-description libgnomeprint))
1968 (license license:lgpl2.0+)))
1970 (define-public libbonoboui
1972 (name "libbonoboui")
1976 (uri (string-append "mirror://gnome/sources/" name "/"
1977 (version-major+minor version) "/"
1978 name "-" version ".tar.bz2"))
1981 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1982 (build-system gnu-build-system)
1985 (modify-phases %standard-phases
1986 (add-before 'check 'start-xserver
1987 (lambda* (#:key inputs #:allow-other-keys)
1988 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1991 (setenv "HOME" (getcwd))
1992 (setenv "DISPLAY" disp)
1993 ;; There must be a running X server and make check doesn't start one.
1994 ;; Therefore we must do it.
1995 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1996 ;; Mentioned as Required by the .pc file
1997 (propagated-inputs `(("libxml2" ,libxml2)))
2000 ("pangox-compat" ,pangox-compat)
2001 ("libgnome" ,libgnome)
2002 ("libgnomecanvas" ,libgnomecanvas)
2003 ("libglade" ,libglade)))
2005 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2006 ("intltool" ,intltool)
2007 ("xorg-server" ,xorg-server) ; For running the tests
2008 ("pkg-config" ,pkg-config)))
2009 (home-page "https://developer.gnome.org/libbonoboui/")
2010 (synopsis "Some user interface controls using Bonobo")
2011 (description "The Bonobo UI library provides a number of user interface
2012 controls using the Bonobo component framework.")
2013 (license license:lgpl2.0+)))
2015 (define-public libwnck
2021 (uri (string-append "mirror://gnome/sources/" name "/"
2022 (version-major+minor version) "/"
2023 name "-" version ".tar.xz"))
2026 "0f9lvhm3w25046dqq8xyg7nzggxpmdriwrb661nng05a8qk0svdc"))))
2027 (build-system gnu-build-system)
2029 `(("pkg-config" ,pkg-config)
2030 ("intltool" ,intltool)))
2033 ("libxres" ,libxres)
2034 ("startup-notification" ,startup-notification)))
2035 (home-page "https://developer.gnome.org/libwnck/")
2036 (synopsis "Window Navigator Construction Kit")
2038 "Libwnck is the Window Navigator Construction Kit, a library for use in
2039 writing pagers, tasklists, and more generally applications that are dealing
2040 with window management. It tries hard to respect the Extended Window Manager
2041 Hints specification (EWMH).")
2042 (license license:lgpl2.0+)))
2044 ;; stable version for gtk2, required by xfwm4.
2045 (define-public libwnck-2
2046 (package (inherit libwnck)
2051 (uri (string-append "mirror://gnome/sources/" name "/"
2052 (version-major+minor version) "/"
2053 name "-" version ".tar.xz"))
2056 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2059 ("libxres" ,libxres)
2060 ("startup-notification" ,startup-notification)))))
2062 (define-public goffice
2068 (uri (string-append "mirror://gnome/sources/" name "/"
2069 (version-major+minor version) "/"
2070 name "-" version ".tar.xz"))
2072 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
2073 (build-system gnu-build-system)
2075 "doc")) ;4.0 MiB of gtk-doc
2077 '(#:configure-flags (list (string-append "--with-html-dir="
2078 (assoc-ref %outputs "doc")
2079 "/share/gtk-doc/html"))))
2083 ("librsvg" ,librsvg)
2084 ("libxslt" ,libxslt)
2085 ("libxml2" ,libxml2)))
2087 `(("intltool" ,intltool)
2088 ("glib" ,glib "bin")
2089 ("pkg-config" ,pkg-config)))
2090 (home-page "https://developer.gnome.org/goffice/")
2091 (synopsis "Document-centric objects and utilities")
2092 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2094 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2096 (list license:gpl2 license:gpl3))))
2098 (define-public goffice-0.8
2099 (package (inherit goffice)
2103 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2104 (version-major+minor version) "/"
2105 (package-name goffice) "-" version ".tar.xz"))
2107 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2110 (modify-phases %standard-phases
2111 (add-after 'unpack 'fix-pcre-check
2113 ;; Only glib.h can be included directly. See
2114 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2115 (substitute* "configure"
2116 (("glib/gregex\\.h") "glib.h")) #t)))
2118 ,@(package-arguments goffice)))
2120 ;; libgoffice-0.8.pc mentions libgsf-1
2121 `(("libgsf" ,libgsf)))
2124 ,@(alist-delete "gtk" (package-inputs goffice))))))
2126 (define-public gnumeric
2132 (uri (string-append "mirror://gnome/sources/gnumeric/"
2133 (version-major+minor version) "/"
2134 "gnumeric-" version ".tar.xz"))
2137 "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h"))))
2138 (build-system glib-or-gtk-build-system)
2140 `(;; The gnumeric developers don't worry much about failing tests.
2141 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2144 (modify-phases %standard-phases
2146 'configure 'pre-conf
2147 (lambda* (#:key outputs #:allow-other-keys)
2148 ;; Make install tries to write into the directory of goffice
2149 ;; I am informed that this only affects the possibility to embed a
2150 ;; spreadsheet inside an Abiword document. So presumably when we
2151 ;; package Abiword we'll have to refer it to this directory.
2152 (substitute* "configure"
2153 (("^GOFFICE_PLUGINS_DIR=.*")
2154 (string-append "GOFFICE_PLUGINS_DIR="
2155 (assoc-ref outputs "out")
2156 "/goffice/plugins"))))))))
2160 ("goffice" ,goffice)
2162 ("librsvg" ,librsvg)
2163 ("libxml2" ,libxml2)
2164 ("libxslt" ,libxslt)
2165 ("python" ,python-2)
2166 ("python2-pygobject" ,python2-pygobject)
2170 ("docbook-xml" ,docbook-xml)
2171 ("intltool" ,intltool)
2172 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
2173 ("glib:bin" ,glib "bin")
2174 ("pkg-config" ,pkg-config)))
2175 (home-page "http://www.gnumeric.org")
2176 (synopsis "Spreadsheet application")
2178 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2179 interoperable with other spreadsheet applications. It has a vast array of
2180 features beyond typical spreadsheet functionality, such as support for linear
2181 and non-linear solvers, statistical analysis, and telecommunication
2184 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2185 (list license:gpl2 license:gpl3))))
2187 (define-public gnome-themes-standard
2189 (name "gnome-themes-standard")
2194 (uri (string-append "mirror://gnome/sources/" name "/"
2195 (version-major+minor version) "/" name "-"
2199 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2200 (build-system gnu-build-system)
2203 ;; Don't create 'icon-theme.cache'.
2204 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2205 (true (string-append coreutils "/bin/true")))
2206 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2210 ("librsvg" ,librsvg)
2211 ("libxml2" ,libxml2)
2214 `(("intltool" ,intltool)
2215 ("glib:bin" ,glib "bin")
2216 ("pkg-config" ,pkg-config)))
2217 (home-page "https://launchpad.net/gnome-themes-standard")
2218 (synopsis "Default GNOME 3 themes")
2220 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2221 (license license:lgpl2.1+)))
2223 (define-public seahorse
2230 (uri (string-append "mirror://gnome/sources/" name "/"
2231 (version-major+minor version) "/" name "-"
2235 "1sbj1czlx1fakm72dwgbn0bwm12j838yaky4mkf6hf8j8afnxmzp"))))
2236 (build-system glib-or-gtk-build-system)
2242 ("openldap" ,openldap)
2243 ("openssh" ,openssh)
2244 ("libsecret" ,libsecret)
2245 ("libsoup" ,libsoup)))
2247 `(("intltool" ,intltool)
2248 ("glib:bin" ,glib "bin")
2249 ("itstool" ,itstool)
2250 ("pkg-config" ,pkg-config)
2251 ("xmllint" ,libxml2)))
2252 (home-page "https://launchpad.net/gnome-themes-standard")
2253 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2255 "Seahorse is a GNOME application for managing encryption keys and
2256 passwords in the GNOME keyring.")
2257 (license license:gpl2+)))
2265 (uri (string-append "mirror://gnome/sources/" name "/"
2266 (version-major+minor version) "/"
2267 name "-" version ".tar.xz"))
2270 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
2271 (build-system gnu-build-system)
2274 (modify-phases %standard-phases
2275 (add-before 'check 'pre-check
2278 (substitute* "valadoc/tests/testrunner.sh"
2279 (("export PKG_CONFIG_PATH=" m)
2280 (string-append m "$PKG_CONFIG_PATH:")))
2281 ;; For missing '/etc/machine-id'.
2282 (setenv "DBUS_FATAL_WARNINGS" "0")
2285 `(("pkg-config" ,pkg-config)
2288 ("xsltproc" ,libxslt)
2289 ("dbus" ,dbus) ; for dbus tests
2290 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2292 `(("graphviz" ,graphviz)))
2294 `(("glib" ,glib))) ; required by libvala-0.40.pc
2295 (home-page "https://live.gnome.org/Vala/")
2296 (synopsis "Compiler for the GObject type system")
2298 "Vala is a programming language that aims to bring modern programming
2299 language features to GNOME developers without imposing any additional runtime
2300 requirements and without using a different ABI compared to applications and
2301 libraries written in C.")
2302 (license license:lgpl2.1+)))
2310 (uri (string-append "mirror://gnome/sources/" name "/"
2311 (version-major+minor version) "/"
2312 name "-" version ".tar.xz"))
2315 "0j166gic5znssdb9r45qazq4kb4v9fial82czand5wa8i2yd988p"))))
2316 (build-system gnu-build-system)
2318 `(("pkg-config" ,pkg-config)
2319 ("intltool" ,intltool)
2321 ("gobject-introspection" ,gobject-introspection)
2322 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2324 ("xmllint" ,libxml2)))
2326 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2327 ("gnutls" ,gnutls) ;ditto
2328 ("pcre2" ,pcre2))) ;ditto
2329 (home-page "https://www.gnome.org/")
2330 (synopsis "Virtual Terminal Emulator")
2332 "VTE is a library (libvte) implementing a terminal emulator widget for
2333 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2334 gnome-terminal, but can also be used to embed a console/terminal in games,
2335 editors, IDEs, etc.")
2336 (license license:lgpl2.1+)))
2338 (define-public vte-ng
2342 (version "0.56.2.a")
2343 (home-page "https://github.com/thestinger/vte-ng")
2346 (uri (git-reference (url home-page) (commit version)))
2347 (file-name (git-file-name name version))
2350 "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki"))))
2352 `(("gtk-doc" ,gtk-doc)
2354 ("autoconf" ,autoconf)
2355 ("automake" ,automake)
2356 ("libtool" ,libtool)
2357 ,@(package-native-inputs vte)))
2359 `(#:phases (modify-phases %standard-phases
2362 (setenv "NOCONFIGURE" "true")
2363 (invoke "sh" "autogen.sh"))))))
2364 (synopsis "Enhanced VTE terminal widget")
2366 "VTE is a library (libvte) implementing a terminal emulator widget for
2367 GTK+, this fork provides additional functions exposed for keyboard text
2368 selection and URL hints.")))
2370 ;; provides vte 2.90, required for some terminal emulators
2371 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2372 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2373 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2374 ;; pantheon-terminal, roxterm are not currently packaged
2375 (define-public vte-0.36
2376 (package (inherit vte)
2381 (uri (string-append "mirror://gnome/sources/" name "/"
2382 (version-major+minor version) "/"
2383 name "-" version ".tar.xz"))
2386 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2389 ("ncurses" ,ncurses)))))
2391 ;; stable version for gtk2, required by xfce4-terminal.
2392 (define-public vte/gtk+-2
2393 (package (inherit vte)
2398 (uri (string-append "mirror://gnome/sources/" name "/"
2399 (version-major+minor version) "/"
2400 name "-" version ".tar.xz"))
2403 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2404 (patches (search-patches
2405 "vte-CVE-2012-2738-pt1.patch"
2406 "vte-CVE-2012-2738-pt2.patch"))))
2408 '(#:configure-flags '("--disable-python")))
2410 `(("pkg-config" ,pkg-config)
2411 ("intltool" ,intltool)
2412 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2414 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2415 ("ncurses" ,ncurses))))) ; required by libvte.la
2417 (define-public vinagre
2423 (uri (string-append "mirror://gnome/sources/" name "/"
2424 (version-major+minor version) "/"
2425 name "-" version ".tar.xz"))
2426 (patches (search-patches "vinagre-newer-freerdp.patch"
2427 "vinagre-newer-rdp-parameters.patch"))
2430 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2431 (build-system glib-or-gtk-build-system)
2433 ;; Disable -Werror and such, to avoid build failures on compilation
2435 '(#:configure-flags '("--enable-compile-warnings=minimum")
2437 (modify-phases %standard-phases
2438 (add-before 'install 'skip-gtk-update-icon-cache
2440 ;; Don't create 'icon-theme.cache'
2441 (substitute* (find-files "." "^Makefile$")
2442 (("gtk-update-icon-cache") (which "true")))
2444 (add-after 'unpack 'patch-configure
2446 (substitute* "configure"
2447 (("freerdp") "freerdp2"))
2450 `(("pkg-config" ,pkg-config)
2451 ("intltool" ,intltool)
2452 ("itstool" ,itstool)
2453 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2455 `(("libxml2" ,libxml2)
2456 ("gtk-vnc" ,gtk-vnc)
2457 ("gnome-keyring" ,gnome-keyring)
2458 ("libsecret" ,libsecret)
2459 ("freerdp" ,freerdp)
2461 ("spice-gtk" ,spice-gtk)
2462 ("telepathy-glib" ,telepathy-glib)
2464 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2465 (synopsis "Remote desktop viewer for GNOME")
2466 (description "Vinagre is a remote display client supporting the VNC, SPICE
2467 and RDP protocols.")
2468 (license license:gpl3+)))
2470 (define-public dconf
2477 "mirror://gnome/sources/" name "/"
2478 (version-major+minor version) "/"
2479 name "-" version ".tar.xz"))
2482 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
2483 (build-system meson-build-system)
2485 ;; In Requires of dconf.pc.
2491 `(("bash-completion" ,bash-completion)
2492 ("libxslt" ,libxslt) ;for xsltproc
2493 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2494 ("docbook-xml" ,docbook-xml-4.2)
2495 ("docbook-xsl" ,docbook-xsl)
2496 ("glib:bin" ,glib "bin")
2497 ("gtk-doc" ,gtk-doc)
2498 ("pkg-config" ,pkg-config)
2501 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2502 ; or /etc/machine-id.
2504 #:configure-flags '("-Denable-gtk-doc=true")))
2505 (home-page "https://developer.gnome.org/dconf")
2506 (synopsis "Low-level GNOME configuration system")
2507 (description "Dconf is a low-level configuration system. Its main purpose
2508 is to provide a backend to GSettings on platforms that don't already have
2509 configuration storage systems.")
2510 (license license:lgpl2.1+)))
2512 (define-public json-glib
2518 (uri (string-append "mirror://gnome/sources/" name "/"
2519 (version-major+minor version) "/"
2520 name "-" version ".tar.xz"))
2523 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2524 (build-system meson-build-system)
2526 `(("gettext" ,gettext-minimal)
2527 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2528 ("gobject-introspection" ,gobject-introspection)
2529 ("pkg-config" ,pkg-config)))
2531 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2532 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2533 (synopsis "Compiler for the GObject type system")
2535 "JSON-GLib is a C library based on GLib providing serialization and
2536 deserialization support for the JavaScript Object Notation (JSON) format
2537 described by RFC 4627. It provides parser and generator GObject classes and
2538 various wrappers for the complex data types employed by JSON, such as arrays
2540 (license license:lgpl2.1+)))
2542 (define-public libxklavier
2544 (name "libxklavier")
2547 ;; Note: There's no tarball at ftp.gnome.org for this version.
2550 (url "https://anongit.freedesktop.org/git/libxklavier")
2551 (commit (string-append "libxklavier-" version))))
2554 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
2555 (file-name (git-file-name name version))))
2556 (build-system gnu-build-system)
2559 (modify-phases %standard-phases
2560 (add-after 'unpack 'no-configure
2562 (setenv "NOCONFIGURE" "1")
2565 (list (string-append "--with-xkb-base="
2566 (assoc-ref %build-inputs "xkeyboard-config")
2568 "--disable-xmodmap-support")))
2570 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2571 ("gobject-introspection" ,gobject-introspection)
2572 ("pkg-config" ,pkg-config)
2573 ("gtk-doc" ,gtk-doc)
2574 ("intltool" ,intltool)
2576 ("autoconf" ,autoconf)
2577 ("automake" ,automake)
2578 ("libtool" ,libtool)))
2580 ;; Required by libxklavier.pc.
2582 ("libxml2" ,libxml2)))
2584 `(("iso-codes" ,iso-codes)
2586 ("libxkbfile" ,libxkbfile)
2587 ("xkbcomp" ,xkbcomp)
2588 ("xkeyboard-config" ,xkeyboard-config)))
2589 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2590 (synopsis "High-level API for X Keyboard Extension")
2592 "LibXklavier is a library providing high-level API for X Keyboard
2593 Extension known as XKB. This library is intended to support XFree86 and other
2594 commercial X servers. It is useful for creating XKB-related software (layout
2596 (license license:lgpl2.0+)))
2598 (define-public python2-rsvg
2599 ;; XXX: This is actually a subset of gnome-python-desktop.
2601 (name "python2-rsvg")
2607 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2608 version ".tar.bz2"))
2611 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2612 (build-system gnu-build-system)
2614 `(("pkg-config" ,pkg-config)))
2616 `(("python" ,python-2)
2617 ("python2-pygtk" ,python2-pygtk)
2618 ("librsvg" ,librsvg)))
2619 (home-page "https://www.gnome.org")
2620 (synopsis "Python bindings to librsvg")
2622 "This package provides Python bindings to librsvg, the SVG rendering
2625 ;; This is the license of the rsvg bindings. The license of each module
2626 ;; of gnome-python-desktop is given in 'COPYING'.
2627 (license license:lgpl2.1+)))
2629 (define-public glib-networking
2631 (name "glib-networking")
2635 (uri (string-append "mirror://gnome/sources/glib-networking/"
2636 (version-major+minor version) "/"
2637 "glib-networking-" version ".tar.xz"))
2640 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
2641 (build-system meson-build-system)
2643 `(#:configure-flags '("-Dlibproxy_support=false")))
2645 `(("pkg-config" ,pkg-config)
2646 ("intltool" ,intltool)))
2650 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
2651 (home-page "https://www.gnome.org")
2652 (synopsis "Network-related GIO modules")
2654 "This package contains various network related extensions for the GIO
2656 (license license:lgpl2.0+)))
2664 (uri (string-append "mirror://gnome/sources/rest/"
2665 (version-major+minor version) "/"
2666 name "-" version ".tar.xz"))
2669 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2670 (build-system gnu-build-system)
2672 '(#:tests? #f ; tests require internet connection
2674 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2676 `(("glib-mkenums" ,glib "bin")
2677 ("gobject-introspection" ,gobject-introspection)
2678 ("pkg-config" ,pkg-config)))
2680 ;; rest-0.7.pc refers to all these.
2682 ("libsoup" ,libsoup)
2683 ("libxml2" ,libxml2)))
2684 (home-page "https://www.gtk.org/")
2685 (synopsis "RESTful web api query library")
2687 "This library was designed to make it easier to access web services that
2688 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2689 libxml to ease remote use of the RESTful API.")
2690 (license license:lgpl2.1+)))
2692 (define-public libsoup
2698 (uri (string-append "mirror://gnome/sources/libsoup/"
2699 (version-major+minor version) "/"
2700 "libsoup-" version ".tar.xz"))
2703 "0crr9qprmacr626fx83cx81ggk85zsgxr4mn577kpzj6m40k1bai"))))
2704 (build-system meson-build-system)
2705 (outputs '("out" "doc"))
2707 `(#:modules ((guix build utils)
2708 (guix build meson-build-system)
2711 #:configure-flags '("-Dgtk_doc=true")
2713 (modify-phases %standard-phases
2714 (add-after 'unpack 'adjust-tests
2716 ;; This test fails due to missing /etc/nsswitch.conf
2717 ;; in the build environment.
2718 (substitute* "tests/socket-test.c"
2719 ((".*/sockets/unconnected.*") ""))
2721 ;; These fail because "subdomain.localhost" does not resolve in
2722 ;; the build environment.
2723 (substitute* "tests/hsts-test.c"
2724 ((".*/hsts/basic.*") "")
2725 ((".*/hsts/subdomains.*") "")
2726 ((".*/hsts/superdomain.*") "")
2727 ((".*/hsts/utf8-address.*") ""))
2728 (substitute* "tests/hsts-db-test.c"
2729 ((".*/hsts-db/subdomains.*") ""))
2731 ;; Generate a self-signed certificate that has "localhost" as its
2732 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2733 ;; 3.5.12, tests such as "ssl-tests" fail:
2735 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2737 ;; 'certtool' is interactive so we have to pipe it the answers.
2738 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2739 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2740 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2741 (for-each (lambda (line)
2746 "Guix" ;Organizational unit name
2747 "GNU" ;Organization name
2749 "" ;State or province
2751 "" ;subject's domain component (DC)
2754 "-1" ;expiration time
2755 "N" ;belong to authority?
2756 "N" ;web client certificate?
2758 "Y" ;web server certificate?
2759 "localhost" ;dnsName of subject
2760 "" ;dnsName of subject (end)
2762 "127.0.0.1" ;IP address of subject
2764 "" ;encryption (RSA)?
2765 "" ;data encryption?
2766 "" ;sign OCSP requests?
2769 "" ;email protection?
2770 "" ;URI of the CRL distribution point
2775 (add-after 'install 'move-doc
2776 (lambda* (#:key outputs #:allow-other-keys)
2777 (let ((out (assoc-ref outputs "out"))
2778 (doc (assoc-ref outputs "doc")))
2779 (mkdir-p (string-append doc "/share"))
2780 (copy-recursively (string-append out "/share/gtk-doc")
2781 (string-append doc "/share/gtk-doc"))
2782 (delete-file-recursively (string-append out "/share/gtk-doc"))
2785 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2786 ("gobject-introspection" ,gobject-introspection)
2787 ("gtk-doc" ,gtk-doc)
2788 ("intltool" ,intltool)
2789 ("pkg-config" ,pkg-config)
2790 ("python" ,python-wrapper)
2792 ;; These are needed for the tests.
2793 ;; FIXME: Add PHP once available.
2795 ("gnutls" ,gnutls) ;for 'certtool'
2798 ;; libsoup-2.4.pc refers to all these.
2799 `(("brotli" ,google-brotli)
2802 ("libxml2" ,libxml2)
2806 `(("glib-networking" ,glib-networking)
2807 ("mit-krb5" ,mit-krb5)))
2808 (home-page "https://live.gnome.org/LibSoup/")
2809 (synopsis "GLib-based HTTP Library")
2811 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2812 and the GLib main loop, to integrate well with GNOME applications.")
2813 (license license:lgpl2.0+)))
2815 (define-public libsecret
2822 "mirror://gnome/sources/libsecret/"
2823 (version-major+minor version) "/"
2824 "libsecret-" version ".tar.xz"))
2827 "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5"))))
2828 (build-system gnu-build-system)
2829 (outputs '("out" "doc"))
2831 `(#:tests? #f ; FIXME: Testing hangs.
2833 (list (string-append "--with-html-dir="
2834 (assoc-ref %outputs "doc")
2835 "/share/gtk-doc/html"))))
2837 `(("gettext" ,gettext-minimal)
2838 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2839 ("gobject-introspection" ,gobject-introspection)
2840 ("pkg-config" ,pkg-config)
2842 ("xsltproc" ,libxslt)))
2843 ;; These are needed for the tests.
2844 ;; FIXME: Add gjs once available.
2846 ;("python2" ,python-2)
2847 ;("python2-dbus" ,python2-dbus)
2848 ;("python2-pygobject" ,python2-pygobject)
2849 ;("python2-pygobject-2" ,python2-pygobject-2)))
2851 `(("glib" ,glib))) ; required by libsecret-1.pc
2853 `(("docbook-xsl" ,docbook-xsl)
2854 ("libgcrypt" ,libgcrypt)
2855 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2856 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2857 (synopsis "GObject bindings for \"Secret Service\" API")
2859 "Libsecret is a GObject based library for storing and retrieving passwords
2860 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2861 (license license:lgpl2.1+)))
2863 (define-public five-or-more
2865 (name "five-or-more")
2870 (uri (string-append "mirror://gnome/sources/" name "/"
2871 (version-major+minor version) "/"
2872 name "-" version ".tar.xz"))
2875 "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x"))))
2876 (build-system glib-or-gtk-build-system)
2878 `(("pkg-config" ,pkg-config)
2879 ("desktop-file-utils" ,desktop-file-utils)
2880 ("intltool" ,intltool)
2881 ("itstool" ,itstool)
2882 ("xmllint" ,libxml2)))
2885 ("librsvg" ,librsvg)))
2886 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2887 (synopsis "Logic puzzle game")
2888 (description "Five or More is a game where you try to align
2889 five or more objects of the same color and shape causing them to disappear.
2890 On every turn more objects will appear, until the board is full.
2891 Try to last as long as possible.")
2892 (license license:gpl2+)))
2894 (define-public gnome-mines
2896 (name "gnome-mines")
2897 (version "3.30.1.1")
2901 (uri (string-append "mirror://gnome/sources/" name "/"
2902 (version-major+minor version) "/"
2903 name "-" version ".tar.xz"))
2906 "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z"))))
2907 (build-system meson-build-system)
2910 (modify-phases %standard-phases
2911 (delete 'bootstrap))))
2913 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
2914 ("pkg-config" ,pkg-config)
2915 ("desktop-file-utils" ,desktop-file-utils)
2916 ("intltool" ,intltool)
2917 ("itstool" ,itstool)
2920 ("appstream-glib" ,appstream-glib)))
2923 ("libgnome-games-support" ,libgnome-games-support)
2924 ("librsvg" ,librsvg)))
2925 (home-page "https://wiki.gnome.org/Apps/Mines")
2926 (synopsis "Minesweeper game")
2928 "Mines (previously gnomine) is a puzzle game where you locate mines
2929 floating in an ocean using only your brain and a little bit of luck.")
2930 (license license:gpl2+)))
2932 (define-public gnome-sudoku
2934 (name "gnome-sudoku")
2939 (uri (string-append "mirror://gnome/sources/" name "/"
2940 (version-major+minor version) "/"
2941 name "-" version ".tar.xz"))
2944 "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f"))))
2945 (build-system glib-or-gtk-build-system)
2947 `(("pkg-config" ,pkg-config)
2948 ("desktop-file-utils" ,desktop-file-utils)
2949 ("intltool" ,intltool)
2950 ("itstool" ,itstool)
2951 ("xmllint" ,libxml2)))
2954 ("json-glib" ,json-glib)
2956 ("librsvg" ,librsvg)
2957 ("qqwing" ,qqwing)))
2958 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2959 (synopsis "Japanese logic game")
2961 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2962 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2963 possible while still providing features that make playing difficult Sudoku
2965 (license license:gpl2+)))
2967 (define-public gnome-terminal
2969 (name "gnome-terminal")
2974 (uri (string-append "mirror://gnome/sources/" name "/"
2975 (version-major+minor version) "/"
2976 name "-" version ".tar.xz"))
2979 "0bar8qazk39acsif31h8i408nl82mzdcdg6p7ymak4l9pxyscxf8"))))
2980 (build-system glib-or-gtk-build-system)
2983 (list "--disable-migration" "--disable-search-provider"
2984 "--without-nautilus-extension")
2986 (modify-phases %standard-phases
2987 (add-before 'configure 'patch-/bin/true
2989 (substitute* "configure"
2990 (("/bin/true") (which "true"))))))))
2992 `(("pkg-config" ,pkg-config)
2993 ("desktop-file-utils" ,desktop-file-utils)
2994 ("intltool" ,intltool)
2995 ("itstool" ,itstool)
2996 ("xmllint" ,libxml2)))
2998 `(("dconf" ,dconf)))
3003 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3004 ("util-linux" ,util-linux)
3006 (home-page "https://wiki.gnome.org/Apps/Terminal")
3007 (synopsis "Terminal emulator")
3009 "GNOME Terminal is a terminal emulator application for accessing a
3010 UNIX shell environment which can be used to run programs available on
3013 It supports several profiles, multiple tabs and implements several
3014 keyboard shortcuts.")
3015 (license license:gpl3+)))
3017 (define-public colord
3024 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3025 name "-" version ".tar.xz"))
3028 "1xwxahg9mgmapc16xkb4kgmc40zpadrwav33xqmn6cgaw6g6d3ls"))))
3029 (build-system meson-build-system)
3031 '(;; FIXME: One test fails:
3032 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3033 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3034 ;; application/x-zerosize
3037 #:configure-flags (list "-Dlocalstatedir=/var"
3038 ;; No dep on systemd.
3040 ;; Wants to install to global completion dir;
3042 "-Dbash_completion=false"
3043 ;; colord-gtk not packaged yet.
3044 "-Dsession_example=false"
3045 "-Ddaemon_user=colord"
3047 ;; Requires spotread
3048 "-Dargyllcms_sensor=false"
3049 ;; TODO: Requires docbook2x
3052 (modify-phases %standard-phases
3053 (add-before 'configure 'patch-build-system
3054 (lambda* (#:key outputs #:allow-other-keys)
3055 (substitute* "rules/meson.build"
3056 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3057 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3060 `(("pkg-config" ,pkg-config)
3061 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3062 ("gobject-introspection" ,gobject-introspection)
3063 ("gtk-doc" ,gtk-doc)
3064 ("libtool" ,libtool)
3065 ("intltool" ,intltool)))
3067 ;; colord.pc refers to all these.
3072 `(("dbus-glib" ,dbus-glib)
3074 ("libgudev" ,libgudev)
3078 ("python" ,python-wrapper)
3079 ("sane-backends" ,sane-backends)))
3080 (home-page "https://www.freedesktop.org/software/colord/")
3081 (synopsis "Color management service")
3082 (description "Colord is a system service that makes it easy to manage,
3083 install and generate color profiles to accurately color manage input and
3085 (license license:gpl2+)))
3087 (define-public geoclue
3094 (uri (string-append "https://www.freedesktop.org/software/" name
3095 "/releases/" (version-major+minor version) "/"
3096 name "-" version ".tar.xz"))
3099 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
3100 (patches (search-patches "geoclue-config.patch"))))
3101 (build-system glib-or-gtk-build-system)
3103 '(;; The tests want to run the system bus.
3105 #:configure-flags (list ;; Disable bits requiring ModemManager.
3106 "--disable-3g-source"
3107 "--disable-cdma-source"
3108 "--disable-modem-gps-source"
3109 "--with-dbus-service-user=geoclue")
3111 (modify-phases %standard-phases
3112 (add-before 'configure 'patch-/bin/true
3114 (substitute* "configure"
3115 (("/bin/true") (which "true")))
3118 `(("pkg-config" ,pkg-config)
3119 ("gobject-introspection" ,gobject-introspection)
3120 ("intltool" ,intltool)))
3124 ("json-glib" ,json-glib)
3125 ("libsoup" ,libsoup)))
3126 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3127 (synopsis "Geolocation service")
3128 (description "Geoclue is a D-Bus service that provides location
3129 information. The primary goal of the Geoclue project is to make creating
3130 location-aware applications as simple as possible, while the secondary goal is
3131 to ensure that no application can access location information without explicit
3132 permission from user.")
3133 (license license:gpl2+)))
3135 (define-public geocode-glib
3137 (name "geocode-glib")
3141 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3142 (version-major+minor version) "/"
3143 "geocode-glib-" version ".tar.xz"))
3146 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
3147 (build-system meson-build-system)
3150 (modify-phases %standard-phases
3151 ;; The tests require a bunch of locales.
3152 (add-before 'check 'set-locales
3153 (lambda* (#:key inputs #:allow-other-keys)
3154 (setenv "GUIX_LOCPATH"
3155 (string-append (assoc-ref inputs "glibc-locales")
3159 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3160 ("glibc-locales" ,glibc-locales) ; for tests
3161 ("gettext" ,gettext-minimal)
3162 ("gobject-introspection" ,gobject-introspection)
3163 ("gtk-doc" ,gtk-doc)
3164 ("pkg-config" ,pkg-config)
3165 ("json-glib" ,json-glib)))
3167 ;; geocode-glib-1.0.pc refers to GIO.
3170 `(("libsoup" ,libsoup)))
3171 (home-page "https://github.com/GNOME/geocode-glib/")
3172 (synopsis "Geocoding and reverse-geocoding library")
3174 "geocode-glib is a convenience library for geocoding (finding longitude,
3175 and latitude from an address) and reverse geocoding (finding an address from
3176 coordinates) using the Nominatim service. geocode-glib caches requests for
3177 faster results and to avoid unnecessary server load.")
3178 (license license:lgpl2.0+)))
3180 (define-public upower
3186 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3187 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
3188 "upower-" version ".tar.xz"))
3191 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
3192 (patches (search-patches "upower-builddir.patch"))))
3193 (build-system glib-or-gtk-build-system)
3195 '( ;; The tests want to contact the system bus, which can't be done in the
3196 ;; build environment. The integration test can run, but the last of
3197 ;; the up-self-tests doesn't. Disable tests for now.
3199 #:configure-flags (list "--localstatedir=/var"
3200 (string-append "--with-udevrulesdir="
3201 (assoc-ref %outputs "out")
3202 "/lib/udev/rules.d"))))
3204 `(("gobject-introspection" ,gobject-introspection)
3205 ("pkg-config" ,pkg-config)
3206 ("intltool" ,intltool)
3210 ("libxslt" ,libxslt) ;for 'xsltproc'
3211 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3212 ("docbook-xsl" ,docbook-xsl)))
3214 `(("dbus-glib" ,dbus-glib)
3215 ("libgudev" ,libgudev)
3216 ("libusb" ,libusb)))
3218 ;; In Requires of upower-glib.pc.
3220 (home-page "https://upower.freedesktop.org/")
3221 (synopsis "System daemon for managing power devices")
3223 "UPower is an abstraction for enumerating power devices,
3224 listening to device events and querying history and statistics. Any
3225 application or service on the system can access the org.freedesktop.UPower
3226 service via the system message bus.")
3227 (license license:gpl2+)))
3229 (define-public libgweather
3231 (name "libgweather")
3235 (uri (string-append "mirror://gnome/sources/" name "/"
3236 (version-major+minor version) "/"
3237 name "-" version ".tar.xz"))
3240 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
3241 (build-system meson-build-system)
3243 `(#:tests? #f ; one of two tests requires network access
3245 `(,(string-append "-Dzoneinfo_dir="
3246 (assoc-ref %build-inputs "tzdata")
3247 "/share/zoneinfo"))))
3249 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3250 ("gobject-introspection" ,gobject-introspection)
3251 ("pkg-config" ,pkg-config)
3253 ("intltool" ,intltool)))
3255 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3258 ("gdk-pixbuf" ,gdk-pixbuf)
3259 ("libxml2" ,libxml2)
3260 ("libsoup" ,libsoup)
3261 ("geocode-glib" ,geocode-glib)))
3263 `(("tzdata" ,tzdata)))
3264 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3265 (synopsis "Location, time zone, and weather library for GNOME")
3267 "libgweather is a library to access weather information from online
3268 services for numerous locations.")
3269 (license license:gpl2+)))
3271 (define-public gnome-settings-daemon
3273 (name "gnome-settings-daemon")
3278 (uri (string-append "mirror://gnome/sources/" name "/"
3279 (version-major+minor version) "/"
3280 name "-" version ".tar.xz"))
3283 "0c663csa3gnsr6wm0xfll6aani45snkdj7zjwjfzcwfh8w4a3z12"))))
3284 (build-system meson-build-system)
3288 (list (string-append "-Dudev_dir="
3289 (assoc-ref %outputs "out")
3290 "/lib/udev/rules.d/")
3291 ;; Otherwise, the RUNPATH will lack the final path component.
3292 (string-append "-Dc_link_args=-Wl,-rpath="
3293 (assoc-ref %outputs "out")
3294 "/lib/gnome-settings-daemon-3.0"))
3295 ;; Color management test can't reach the colord system service.
3298 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3299 ("pkg-config" ,pkg-config)
3300 ("intltool" ,intltool)
3301 ("xsltproc" ,libxslt)
3302 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3303 ("docbook-xml" ,docbook-xml-4.2)
3304 ("docbook-xsl" ,docbook-xsl)))
3306 `(("alsa-lib" ,alsa-lib)
3308 ("libgudev" ,libgudev)
3311 ("pulseaudio" ,pulseaudio)
3312 ("libcanberra" ,libcanberra)
3314 ("libxtst" ,libxtst)
3316 ("libnotify" ,libnotify)
3317 ("geoclue" ,geoclue)
3318 ("geocode-glib" ,geocode-glib)
3319 ("libgweather" ,libgweather)
3320 ("gnome-desktop" ,gnome-desktop)
3323 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3324 ("libwacom" ,libwacom)
3325 ("librsvg" ,librsvg)
3326 ("xf86-input-wacom" ,xf86-input-wacom)
3327 ("wayland" ,wayland)
3328 ("network-manager" ,network-manager)))
3329 (home-page "https://www.gnome.org")
3330 (synopsis "GNOME settings daemon")
3332 "This package contains the daemon responsible for setting the various
3333 parameters of a GNOME session and the applications that run under it. It
3334 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3335 settings, themes, mouse settings, and startup of other daemons.")
3336 (license license:gpl2+)))
3338 (define-public totem-pl-parser
3340 (name "totem-pl-parser")
3344 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3345 (version-major+minor version) "/"
3346 "totem-pl-parser-" version ".tar.xz"))
3349 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
3350 (build-system meson-build-system)
3352 ;; FIXME: Tests require gvfs.
3355 `(("intltool" ,intltool)
3356 ("glib" ,glib "bin")
3357 ("gobject-introspection" ,gobject-introspection)
3358 ("pkg-config" ,pkg-config)))
3362 ("libarchive" ,libarchive)
3363 ("libgcrypt" ,libgcrypt)
3364 ("libxml2" ,libxml2)))
3366 `(("libsoup" ,libsoup)))
3367 (home-page "https://projects.gnome.org/totem")
3368 (synopsis "Library to parse and save media playlists for GNOME")
3369 (description "Totem-pl-parser is a GObjects-based library to parse and save
3370 playlists in a variety of formats.")
3371 (license license:lgpl2.0+)))
3373 (define-public aisleriot
3379 (uri (string-append "mirror://gnome/sources/aisleriot/"
3380 (version-major+minor version) "/"
3381 "aisleriot-" version ".tar.xz"))
3384 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
3385 (build-system glib-or-gtk-build-system)
3388 '("--with-platform=gtk-only"
3389 "--with-card-theme-formats=svg")))
3391 `(("desktop-file-utils" ,desktop-file-utils)
3392 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3393 ("intltool" ,intltool)
3394 ("itstool" ,itstool)
3395 ("pkg-config" ,pkg-config)
3396 ("xmllint" ,libxml2)))
3399 ("guile" ,guile-2.2)
3400 ("libcanberra" ,libcanberra)
3401 ("librsvg" ,librsvg)))
3402 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3403 (synopsis "Solitaire card games")
3405 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3406 which are easy to play with the aid of a mouse.")
3407 (license license:gpl3+)))
3415 (uri (string-append "mirror://gnome/sources/amtk/"
3416 (version-major+minor version) "/"
3417 "amtk-" version ".tar.xz"))
3420 "09yy95w1s83c43mh9vha1jbb780yighf5pd2j0ygjmc68sjg871d"))))
3421 (build-system gnu-build-system)
3423 '(#:configure-flags '("--enable-gtk-doc")))
3425 `(("gobject-introspection" ,gobject-introspection)
3426 ("glib:bin" ,glib "bin") ; for glib-mkenums
3427 ("gtk-doc" ,gtk-doc)
3428 ("pkg-config" ,pkg-config)))
3432 (home-page "https://wiki.gnome.org/Projects/Amtk")
3433 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
3435 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
3436 It is a basic GtkUIManager replacement based on GAction. It is suitable for
3437 both a traditional UI or a modern UI with a GtkHeaderBar.")
3438 (license license:lgpl2.1+)))
3440 (define-public devhelp
3446 (uri (string-append "mirror://gnome/sources/" name "/"
3447 (version-major+minor version) "/"
3448 name "-" version ".tar.xz"))
3451 "036sddvhs0blqpc2ixmjdl9vxynvkn5jpgn0jxr1fxcm4rh3q07a"))))
3452 (build-system meson-build-system)
3454 `(("intltool" ,intltool)
3455 ("itstool" ,itstool)
3456 ("gobject-introspection" ,gobject-introspection)
3457 ("glib:bin" ,glib "bin") ; for glib-mkmenus
3458 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3459 ("pkg-config" ,pkg-config)))
3462 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3463 ("webkitgtk" ,webkitgtk)))
3464 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3465 (synopsis "API documentation browser for GNOME")
3467 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3468 natively with GTK-Doc (the API reference system developed for GTK+ and used
3469 throughout GNOME for API documentation).")
3470 (license license:gpl2+)))
3479 (uri (string-append "mirror://gnome/sources/cogl/"
3480 (version-major+minor version) "/"
3481 "cogl-" version ".tar.xz"))
3483 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
3484 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3485 ;; cogl, corresponding changes may be appropriate in mutter as well.
3486 (build-system gnu-build-system)
3488 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3489 ("gobject-introspection" ,gobject-introspection)
3490 ;;("xorg-server" ,xorg-server) ; for the test suite
3491 ("pkg-config" ,pkg-config)))
3494 ("gdk-pixbuf" ,gdk-pixbuf)
3496 ("libxext" ,libxext)
3497 ("libxfixes" ,libxfixes)
3498 ("libxdamage" ,libxdamage)
3499 ("libxcomposite" ,libxcomposite)
3500 ("libxrandr" ,libxrandr)))
3505 ("gstreamer" ,gstreamer)
3506 ("gst-plugins-base" ,gst-plugins-base)
3507 ("wayland" ,wayland)))
3509 `(#:configure-flags (list "--enable-cogl-gst"
3510 "--enable-wayland-egl-platform"
3511 "--enable-wayland-egl-server"
3513 ;; Arrange to pass an absolute file name to
3514 ;; dlopen for libGL.so.
3515 (string-append "--with-gl-libname="
3516 (assoc-ref %build-inputs "mesa")
3518 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3519 ;; _FontTransOpen: Unable to Parse address
3520 ;; ${prefix}/share/fonts/X11/misc/
3524 (modify-phases %standard-phases
3525 (add-before 'check 'start-xorg-server
3526 (lambda* (#:key inputs #:allow-other-keys)
3527 ;; The test suite requires a running X server.
3528 (system (format #f "~a/bin/Xvfb :1 &"
3529 (assoc-ref inputs "xorg-server")))
3530 (setenv "DISPLAY" ":1")
3532 (home-page "http://www.cogl3d.org")
3533 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3535 "Cogl is a small library for using 3D graphics hardware to draw pretty
3536 pictures. The API departs from the flat state machine style of OpenGL and is
3537 designed to make it easy to write orthogonal components that can render
3538 without stepping on each others toes.")
3539 (license (list license:expat ; most of the code
3540 license:bsd-3 ; cogl/cogl-point-in-poly.c
3541 license:sgifreeb2.0 ; cogl-path/tesselator/
3542 license:asl2.0)))) ; examples/android/
3544 (define-public clutter
3551 (uri (string-append "mirror://gnome/sources/" name "/"
3552 (version-major+minor version) "/"
3553 name "-" version ".tar.xz"))
3556 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3557 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3558 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3559 (build-system gnu-build-system)
3561 "doc")) ;9 MiB of gtk-doc HTML pages
3563 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3564 ("gobject-introspection" ,gobject-introspection)
3565 ("pkg-config" ,pkg-config)
3566 ("xsltproc" ,libxslt)))
3572 ("json-glib" ,json-glib)
3574 ("libxcomposite" ,libxcomposite)
3575 ("libxdamage" ,libxdamage)
3576 ("libxext" ,libxext)
3577 ("xinput" ,xinput)))
3579 `(("libxkbcommon" ,libxkbcommon)
3582 `(#:configure-flags (list "--enable-x11-backend=yes"
3584 ;; This produces share/doc/{clutter,cally}.
3585 (string-append "--with-html-dir="
3586 (assoc-ref %outputs "doc")
3588 ;; XXX FIXME: Get test suite working. It would probably fail in the
3589 ;; same way the cogl tests fail, since clutter is based on cogl.
3591 (home-page "http://www.clutter-project.org")
3592 (synopsis "OpenGL-based interactive canvas library")
3594 "Clutter is an OpenGL-based interactive canvas library, designed for
3595 creating fast, mainly 2D single window applications such as media box UIs,
3596 presentations, kiosk style applications and so on.")
3597 (license license:lgpl2.0+)))
3599 (define-public clutter-gtk
3601 (name "clutter-gtk")
3606 (uri (string-append "mirror://gnome/sources/" name "/"
3607 (version-major+minor version) "/"
3608 name "-" version ".tar.xz"))
3611 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3612 (build-system gnu-build-system)
3614 `(("pkg-config" ,pkg-config)
3615 ("gobject-introspection" ,gobject-introspection)))
3617 ;; clutter-gtk.pc refers to all these.
3618 `(("clutter" ,clutter)
3620 (home-page "http://www.clutter-project.org")
3621 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
3623 "Clutter is an OpenGL-based interactive canvas library, designed for
3624 creating fast, mainly 2D single window applications such as media box UIs,
3625 presentations, kiosk style applications and so on.")
3626 (license license:lgpl2.0+)))
3628 (define-public clutter-gst
3630 (name "clutter-gst")
3635 (uri (string-append "mirror://gnome/sources/clutter-gst/"
3636 (version-major+minor version) "/"
3637 "clutter-gst-" version ".tar.xz"))
3639 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
3640 (build-system gnu-build-system)
3642 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3643 ("pkg-config" ,pkg-config)
3644 ("gobject-introspection" ,gobject-introspection)))
3646 `(("clutter" ,clutter)
3647 ("gstreamer" ,gstreamer)
3648 ("gst-plugins-base" ,gst-plugins-base)))
3649 (home-page "http://www.clutter-project.org")
3650 (synopsis "Integration library for using GStreamer with Clutter")
3652 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3653 It provides a GStreamer sink to upload frames to GL and an actor that
3654 implements the ClutterGstPlayer interface using playbin. Clutter is an
3655 OpenGL-based interactive canvas library.")
3656 (license license:lgpl2.0+)))
3658 (define-public libchamplain
3660 (name "libchamplain")
3665 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3669 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3670 (build-system gnu-build-system)
3671 (arguments '(#:configure-flags '("--enable-vala")))
3673 `(("gobject-introspection" ,gobject-introspection)
3674 ("pkg-config" ,pkg-config)
3677 `(("libsoup" ,libsoup)
3679 ("clutter" ,clutter)
3680 ("clutter-gtk" ,clutter-gtk)
3681 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3685 (home-page "https://projects.gnome.org/libchamplain/")
3686 (synopsis "C library providing a ClutterActor to display maps")
3688 "libchamplain is a C library providing a ClutterActor to display maps.
3689 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3690 and Perl bindings are also available. It supports numerous free map sources
3691 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3692 (license license:lgpl2.1+)))
3701 (uri (string-append "mirror://gnome/sources/gom/"
3702 (version-major+minor version) "/"
3703 "gom-" version ".tar.xz"))
3706 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3707 (build-system gnu-build-system)
3709 `(("intltool" ,intltool)
3710 ("pkg-config" ,pkg-config)
3711 ("gobject-introspection" ,gobject-introspection)))
3714 ("gdk-pixbuf" ,gdk-pixbuf)
3715 ("sqlite" ,sqlite)))
3716 ;; XXX TODO: Figure out how to run the test suite.
3717 (arguments `(#:tests? #f))
3718 (home-page "https://wiki.gnome.org/Projects/Gom")
3719 (synopsis "Object mapper from GObjects to SQLite")
3721 "Gom provides an object mapper from GObjects to SQLite. It helps you
3722 write applications that need to store structured data as well as make complex
3723 queries upon that data.")
3724 (license license:lgpl2.1+)))
3726 (define-public libgnome-games-support
3728 (name "libgnome-games-support")
3732 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
3733 (version-major+minor version) "/"
3734 "libgnome-games-support-" version ".tar.xz"))
3737 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
3738 (build-system gnu-build-system)
3741 (modify-phases %standard-phases
3742 (add-before 'check 'pre-check
3744 ;; Tests require a writable HOME.
3745 (setenv "HOME" (getcwd))
3748 `(("intltool" ,intltool)
3749 ("pkg-config" ,pkg-config)
3752 ;; Required by libgnome-games-support-1.0.pc
3754 ("libgee" ,libgee)))
3755 (home-page "https://www.gnome.org/")
3756 (synopsis "Useful functionality shared among GNOME games")
3758 "libgnome-games-support is a small library intended for internal use by
3759 GNOME Games, but it may be used by others.")
3760 (license license:lgpl3+)))
3762 (define-public gnome-klotski
3764 (name "gnome-klotski")
3768 (uri (string-append "mirror://gnome/sources/" name "/"
3769 (version-major+minor version) "/"
3770 name "-" version ".tar.xz"))
3773 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3774 (build-system glib-or-gtk-build-system)
3776 `(("desktop-file-utils" ,desktop-file-utils)
3777 ("intltool" ,intltool)
3778 ("itstool" ,itstool)
3779 ("pkg-config" ,pkg-config)
3780 ("xmllint" ,libxml2)))
3783 ("libgnome-games-support" ,libgnome-games-support)
3784 ("librsvg" ,librsvg)))
3785 (home-page "https://wiki.gnome.org/Apps/Klotski")
3786 (synopsis "Sliding block puzzles")
3788 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3789 the patterned block to the area bordered by green markers. To do so, you will
3790 need to slide other blocks out of the way. Complete each puzzle in as few moves
3792 (license license:gpl2+)))
3794 (define-public grilo
3801 (uri (string-append "mirror://gnome/sources/" name "/"
3802 (version-major+minor version) "/"
3803 name "-" version ".tar.xz"))
3806 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3807 (build-system gnu-build-system)
3809 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3810 ("intltool" ,intltool)
3811 ("pkg-config" ,pkg-config)
3812 ("gobject-introspection" ,gobject-introspection)))
3814 `(("cyrus-sasl" ,cyrus-sasl)
3817 ("libxml2" ,libxml2)
3818 ("liboauth" ,liboauth)
3819 ("libsoup" ,libsoup)
3820 ("totem-pl-parser" ,totem-pl-parser)))
3823 (modify-phases %standard-phases
3824 (add-after 'unpack 'fix-introspection-install-dir
3825 (lambda* (#:key outputs #:allow-other-keys)
3826 (let ((out (assoc-ref outputs "out")))
3827 (substitute* '("src/Makefile.in"
3828 "libs/pls/Makefile.in"
3829 "libs/net/Makefile.in")
3830 (("@INTROSPECTION_GIRDIR@")
3831 (string-append out "/share/gir-1.0/"))
3832 (("@INTROSPECTION_TYPELIBDIR@")
3833 (string-append out "/lib/girepository-1.0/")))
3835 (native-search-paths
3836 (list (search-path-specification
3837 (variable "GRL_PLUGIN_PATH")
3838 (files (list (string-append "lib/grilo-"
3839 (version-major+minor version)))))))
3840 (home-page "https://live.gnome.org/Grilo")
3841 (synopsis "Framework for discovering and browsing media")
3843 "Grilo is a framework focused on making media discovery and browsing easy
3844 for application developers.")
3845 (license license:lgpl2.1+)))
3847 (define-public grilo-plugins
3849 (name "grilo-plugins")
3854 (uri (string-append "mirror://gnome/sources/" name "/"
3855 (version-major+minor version) "/"
3856 name "-" version ".tar.xz"))
3859 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3860 (build-system gnu-build-system)
3862 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3863 ("intltool" ,intltool)
3864 ("itstool" ,itstool)
3865 ("pkg-config" ,pkg-config)))
3869 ("libxml2" ,libxml2)
3872 ;; XXX TODO: Add oauth
3873 ;; XXX TODO: Add goa
3874 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3875 ;; XXX TODO: Add lua (needs help finding it)
3876 ("json-glib" ,json-glib)
3879 ("libsoup" ,libsoup)
3880 ("libarchive" ,libarchive)
3881 ("totem-pl-parser" ,totem-pl-parser)))
3883 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3886 ,(version-major+minor version)))
3887 ;; XXX FIXME: Try to get the test suite working. It appears to require
3888 ;; a working system dbus. Inside the build container, all tests fail
3889 ;; with: "assertion failed: (source)". Outside of the build container,
3890 ;; most tests succeed.
3892 (home-page "https://live.gnome.org/Grilo")
3893 (synopsis "Plugins for the Grilo media discovery library")
3895 "Grilo is a framework focused on making media discovery and browsing easy
3896 for application developers.")
3897 (license license:lgpl2.1+)))
3899 (define-public totem
3906 (uri (string-append "mirror://gnome/sources/" name "/"
3907 (version-major+minor version) "/"
3908 name "-" version ".tar.xz"))
3911 "0rahkybxbmxhlmrrgrzxny1xm7wycx7ib4blxp1i2l1q3i8s84b0"))
3912 (patches (search-patches "totem-meson-easy-codec.patch"
3913 "totem-meson-compat.patch"))))
3914 (build-system meson-build-system)
3916 `(("pkg-config" ,pkg-config)
3917 ("desktop-file-utils" ,desktop-file-utils)
3918 ("gobject-introspection" ,gobject-introspection)
3919 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3920 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3921 ("intltool" ,intltool)
3922 ("itstool" ,itstool)
3923 ("xmllint" ,libxml2)))
3925 `(("dconf" ,dconf)))
3928 ("gdk-pixbuf" ,gdk-pixbuf)
3931 ("dbus-glib" ,dbus-glib)
3932 ("clutter" ,clutter)
3933 ("clutter-gtk" ,clutter-gtk)
3934 ("clutter-gst" ,clutter-gst)
3935 ("xorgproto" ,xorgproto)
3936 ("libxxf86vm" ,libxxf86vm)
3937 ("libxtst" ,libxtst)
3938 ("libxrandr" ,libxrandr)
3939 ("libxml2" ,libxml2)
3940 ("libsoup" ,libsoup)
3941 ("libpeas" ,libpeas)
3942 ("librsvg" ,librsvg)
3944 ("gnome-desktop" ,gnome-desktop)
3945 ("gstreamer" ,gstreamer)
3946 ("gst-plugins-base" ,gst-plugins-base)
3947 ("gst-plugins-good" ,gst-plugins-good)
3948 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3949 ("adwaita-icon-theme" ,adwaita-icon-theme)
3951 ("python-pygobject" ,python2-pygobject)
3952 ;; XXX TODO pylint needed for python support
3953 ("totem-pl-parser" ,totem-pl-parser)
3955 ("grilo-plugins" ,grilo-plugins)
3960 ;; Disable parallel builds until
3961 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3962 ;; fixed. Try enabling it when updating this package in case
3963 ;; upstream has fixed it.
3964 #:parallel-build? #f
3966 ;; Disable automatic GStreamer plugin installation via PackageKit and
3968 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3970 ;; Do not build .a files for the plugins, it's
3971 ;; completely useless. This saves 2 MiB.
3972 "--default-library" "shared")
3975 (modify-phases %standard-phases
3977 'install 'disable-cache-generation
3979 (setenv "DESTDIR" "/")
3982 'install 'wrap-totem
3983 (lambda* (#:key inputs outputs #:allow-other-keys)
3984 (let ((out (assoc-ref outputs "out"))
3985 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3986 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3987 (wrap-program (string-append out "/bin/totem")
3988 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3989 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3990 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3991 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3993 (home-page "https://wiki.gnome.org/Apps/Videos")
3994 (synopsis "Simple media player for GNOME based on GStreamer")
3995 (description "Totem is a simple yet featureful media player for GNOME
3996 which can read a large number of file formats.")
3997 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3998 ;; to be used and distributed together with GStreamer and Totem. See
3999 ;; file://COPYING in the source distribution for details.
4000 (license license:gpl2+)))
4002 (define-public rhythmbox
4008 (uri (string-append "mirror://gnome/sources/" name "/"
4009 (version-major+minor version) "/"
4010 name "-" version ".tar.xz"))
4013 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
4014 (build-system glib-or-gtk-build-system)
4017 (list "--enable-lirc"
4024 (modify-phases %standard-phases
4026 'install 'wrap-rhythmbox
4027 (lambda* (#:key inputs outputs #:allow-other-keys)
4028 (let ((out (assoc-ref outputs "out"))
4029 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4030 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4031 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4032 (python-path (getenv "PYTHONPATH")))
4033 (wrap-program (string-append out "/bin/rhythmbox")
4034 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4035 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4036 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4037 `("PYTHONPATH" ":" prefix (,python-path))))
4040 `(("dconf" ,dconf)))
4042 `(("itstool" ,itstool)
4043 ("intltool" ,intltool)
4044 ("glib" ,glib "bin")
4045 ("gobject-introspection" ,gobject-introspection)
4046 ("desktop-file-utils" ,desktop-file-utils)
4047 ("pkg-config" ,pkg-config)
4048 ("xmllint" ,libxml2)))
4050 `(("json-glib" ,json-glib)
4052 ("gnome-desktop" ,gnome-desktop)
4054 ("python-pygobject" ,python2-pygobject)
4057 ("adwaita-icon-theme" ,adwaita-icon-theme)
4059 ("grilo-plugins" ,grilo-plugins)
4060 ("gstreamer" ,gstreamer)
4061 ("gst-plugins-base" ,gst-plugins-base)
4062 ("gst-plugins-good" ,gst-plugins-good)
4063 ("totem-pl-parser" ,totem-pl-parser)
4064 ("libgudev" ,libgudev)
4065 ;;("libmtp" ,libmtp) FIXME: Not detected
4066 ("libsecret" ,libsecret)
4067 ("libsoup" ,libsoup)
4068 ("libnotify" ,libnotify)
4069 ("libpeas" ,libpeas)
4071 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4072 ;;("clutter" ,clutter)
4073 ;;("clutter-gtk" ,clutter-gtk)
4074 ;;("clutter-gst" ,clutter-gst)
4075 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4082 ("brasero" ,brasero)))
4083 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4084 (synopsis "Music player for GNOME")
4085 (description "Rhythmbox is a music playing application for GNOME. It
4086 supports playlists, song ratings, and any codecs installed through gstreamer.")
4087 (license license:gpl2+)))
4095 (uri (string-append "mirror://gnome/sources/" name "/"
4096 (version-major+minor version) "/"
4097 name "-" version ".tar.xz"))
4100 "1wrq3l3z0x6q0hnc1vqr2hnyb1b14qw6aqvc5dldfgbs0yys6p55"))))
4101 (build-system meson-build-system)
4104 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4105 (list (string-append "-Dc_link_args=-Wl,-rpath="
4106 (assoc-ref %outputs "out") "/lib/eog"))
4108 (modify-phases %standard-phases
4109 (add-after 'install 'wrap-eog
4110 (lambda* (#:key outputs #:allow-other-keys)
4111 (let ((out (assoc-ref outputs "out"))
4112 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4113 (wrap-program (string-append out "/bin/eog")
4114 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4117 `(("dconf" ,dconf)))
4119 `(("intltool" ,intltool)
4120 ("itstool" ,itstool)
4121 ("glib" ,glib "bin")
4122 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4123 ("gobject-introspection" ,gobject-introspection)
4124 ("pkg-config" ,pkg-config)
4125 ("xmllint" ,libxml2)))
4127 `(("gnome-desktop" ,gnome-desktop)
4128 ("shared-mime-info" ,shared-mime-info)
4129 ("adwaita-icon-theme" ,adwaita-icon-theme)
4132 ("libexif" ,libexif)
4133 ("libpeas" ,libpeas)
4134 ("libjpeg" ,libjpeg)
4135 ("librsvg" ,librsvg)
4136 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4138 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4139 (synopsis "GNOME image viewer")
4140 (description "Eye of GNOME is the GNOME image viewer. It
4141 supports image conversion, rotation, and slideshows.")
4142 (license license:gpl2+)))
4144 (define-public eog-plugins
4145 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4146 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4147 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4148 ;; 'XDG_DATA_DIRS' appropriately set.
4150 (name "eog-plugins")
4154 (uri (string-append "mirror://gnome/sources/eog-plugins/"
4155 (version-major+minor version) "/"
4156 "eog-plugins-" version ".tar.xz"))
4159 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
4160 (build-system gnu-build-system)
4161 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4162 (synopsis "Extensions for the Eye of GNOME image viewer")
4164 `(("pkg-config" ,pkg-config)
4165 ("gettext" ,gnu-gettext)))
4170 ("libpeas" ,libpeas)
4171 ("libexif" ,libexif)
4172 ("libchamplain" ,libchamplain)))
4174 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4178 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4179 @item @dfn{Map}, which displays a map of where the picture was taken on the
4181 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4184 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4185 ;; long suspicious byte stream that goes to a
4186 ;; ".gresource.eog_postasa_plugin" ELF section.
4187 (license license:gpl2+)))
4189 (define-public libgudev
4195 (uri (string-append "mirror://gnome/sources/" name "/"
4196 version "/" name "-" version ".tar.xz"))
4199 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
4200 (build-system gnu-build-system)
4203 ;; umockdev depends on libgudev.
4204 (list "--disable-umockdev")))
4206 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4207 ("gobject-introspection" ,gobject-introspection)
4208 ("pkg-config" ,pkg-config)))
4210 `(("glib" ,glib))) ; required by gudev-1.0.pc
4213 (home-page "https://wiki.gnome.org/Projects/libgudev")
4214 (synopsis "GObject bindings for libudev")
4216 "This library provides GObject bindings for libudev. It was originally
4217 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4218 (license license:lgpl2.1+)))
4226 (uri (string-append "mirror://gnome/sources/gvfs/"
4227 (version-major+minor version) "/"
4228 "gvfs-" version ".tar.xz"))
4231 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
4232 (build-system meson-build-system)
4236 (list "-Dsystemduserunitdir=no"
4238 ;; Otherwise, the RUNPATH will lack the final path component.
4239 (string-append "-Dc_link_args=-Wl,-rpath="
4240 (assoc-ref %outputs "out") "/lib/gvfs"))))
4242 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4243 ("gettext" ,gettext-minimal)
4244 ("gtk-doc" ,gtk-doc)
4245 ("pkg-config" ,pkg-config)
4246 ("xsltproc" ,libxslt)))
4249 ("docbook-xml" ,docbook-xml-4.2)
4250 ("docbook-xsl" ,docbook-xsl)
4252 ("elogind" ,elogind)
4256 ("gnome-online-accounts" ,gnome-online-accounts)
4257 ("libarchive" ,libarchive)
4258 ("libbluray" ,libbluray)
4260 ("libcdio-paranoia" ,libcdio-paranoia)
4261 ("libgcrypt" ,libgcrypt)
4262 ("libgdata" ,libgdata)
4263 ("libgphoto2" ,libgphoto2)
4264 ("libgudev" ,libgudev)
4265 ("libimobiledevice" ,libimobiledevice)
4268 ("libsecret" ,libsecret)
4269 ("libsmbclient" ,samba)
4270 ("libsoup" ,libsoup)
4271 ("libxml2" ,libxml2)
4272 ("openssh" ,openssh)
4274 ("udisks" ,udisks)))
4275 (home-page "https://wiki.gnome.org/gvfs/")
4276 (synopsis "Userspace virtual file system for GIO")
4278 "GVFS is a userspace virtual file system designed to work with the I/O
4279 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4280 to all applications using the GIO API. It also supports exposing the GVFS
4281 mounts to non-GIO applications using FUSE.
4283 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4285 (license license:lgpl2.0+)))
4293 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4297 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4298 (build-system meson-build-system)
4300 `(("gobject-introspection" ,gobject-introspection)
4301 ("pkg-config" ,pkg-config)
4303 ("gtk-doc" ,gtk-doc)))
4305 ;; Both of these are required by gusb.pc.
4307 ("libusb" ,libusb)))
4309 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4310 (home-page "https://github.com/hughsie/libgusb")
4311 (synopsis "GLib binding for libusb1")
4313 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4314 asynchronous control, bulk and interrupt transfers with proper cancellation
4315 and integration into a mainloop. This makes it easy to integrate low level
4316 USB transfers with your high-level application or system daemon.")
4317 (license license:lgpl2.1+)))
4319 (define-public simple-scan
4321 (name "simple-scan")
4325 (uri (string-append "https://launchpad.net/simple-scan/"
4326 (version-major+minor version) "/"
4327 version "/+download/simple-scan-"
4331 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4332 (build-system glib-or-gtk-build-system)
4337 ("gdk-pixbuf" ,gdk-pixbuf)
4339 ("libsane" ,sane-backends)))
4341 `(("gettext" ,gettext-minimal)
4342 ("itstool" ,itstool)
4344 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4345 ("pkg-config" ,pkg-config)
4347 ("xmllint" ,libxml2)))
4349 '(#:configure-flags '("--disable-packagekit")
4351 (modify-phases %standard-phases
4352 (add-after 'unpack 'clean
4354 ;; Remove a left-over reference to PackageKit.
4356 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4358 ;; There are some generated C files erroneously
4359 ;; included in the source distribution, and this
4360 ;; one breaks the build by referring to a
4361 ;; non-existent header (packagekit.h)
4362 (delete-file "src/ui.c"))))))
4363 (home-page "https://launchpad.net/simple-scan")
4364 (synopsis "Document and image scanner")
4365 (description "Simple Scan is an easy-to-use application, designed to let
4366 users connect their scanner and quickly have the image/document in an
4367 appropriate format. Simple Scan is basically a frontend for SANE - which is
4368 the same backend as XSANE uses. This means that all existing scanners will
4369 work and the interface is well tested.")
4370 (license license:gpl3+)))
4372 (define-public eolie
4378 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4379 "uploads/d42b466752729a0d3fa828a721e25043/"
4380 "eolie-" version ".tar.xz"))
4383 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
4384 (build-system meson-build-system)
4388 (modify-phases %standard-phases
4389 (add-after 'wrap 'wrap-more
4390 (lambda* (#:key inputs outputs #:allow-other-keys)
4391 (let* ((out (assoc-ref outputs "out"))
4392 ;; These libraries must be on LD_LIBRARY_PATH.
4393 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4394 "atk" "gtk+" "gsettings-desktop-schemas"
4395 "gobject-introspection"))
4398 (string-append (assoc-ref inputs lib) "/lib"))
4401 (wrap-program (string-append out "/bin/eolie")
4402 `("LD_LIBRARY_PATH" ":" prefix (,path))
4403 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4404 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4407 `(("intltool" ,intltool)
4408 ("itstool" ,itstool)
4409 ("pkg-config" ,pkg-config)
4411 ("glib:bin" ,glib "bin")
4412 ("gtk+" ,gtk+ "bin")))
4414 `(("gobject-introspection" ,gobject-introspection)
4415 ("glib-networking" ,glib-networking)
4418 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4419 ("python" ,python-wrapper)
4420 ("python-dateutil" ,python-dateutil)
4421 ("python-pyfxa" ,python-pyfxa)
4422 ("python-pygobject" ,python-pygobject)
4423 ("python-pycairo" ,python-pycairo)
4424 ("python-pycrypto" ,python-pycrypto)
4425 ("libsecret" ,libsecret)
4426 ("gtkspell3" ,gtkspell3)
4427 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4428 ("webkitgtk" ,webkitgtk)))
4429 (home-page "https://wiki.gnome.org/Apps/Eolie")
4430 (synopsis "Web browser for GNOME")
4432 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4433 a secret password store, an adblocker, and a modern UI.")
4434 (license license:gpl3+)))
4436 (define-public epiphany
4442 (uri (string-append "mirror://gnome/sources/epiphany/"
4443 (version-major+minor version) "/"
4444 "epiphany-" version ".tar.xz"))
4447 "0nk0krzrfck6hhfs52f4sjmj93yjyvabm72bq8i8f9l1pass5vgd"))))
4449 (build-system meson-build-system)
4451 ;; FIXME: tests run under Xvfb, but fail with:
4452 ;; /src/bookmarks/ephy-bookmarks/create:
4453 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4459 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4460 (list (string-append "-Dc_link_args=-Wl,-rpath="
4461 (assoc-ref %outputs "out") "/lib/epiphany"))))
4463 `(("dconf" ,dconf)))
4465 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4466 ("glib:bin" ,glib "bin") ; for glib-mkenums
4467 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4468 ("intltool" ,intltool)
4469 ("itstool" ,itstool)
4470 ("pkg-config" ,pkg-config)
4471 ("xmllint" ,libxml2)))
4475 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4476 ("glib-networking" ,glib-networking)
4477 ("gnome-desktop" ,gnome-desktop)
4478 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4479 ("json-glib" ,json-glib)
4480 ("iso-codes" ,iso-codes)
4481 ("libdazzle" ,libdazzle)
4482 ("libnotify" ,libnotify)
4483 ("libsecret" ,libsecret)
4484 ("libxslt" ,libxslt)
4485 ("nettle" ,nettle) ; for hogweed
4487 ("webkitgtk" ,webkitgtk)))
4488 (home-page "https://wiki.gnome.org/Apps/Web")
4489 (synopsis "GNOME web browser")
4491 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4492 principles are simplicity and standards compliance.")
4493 (license license:gpl2+)))
4495 (define-public d-feet
4501 (uri (string-append "mirror://gnome/sources/" name "/"
4502 (version-major+minor version) "/"
4503 name "-" version ".tar.xz"))
4506 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
4507 (build-system glib-or-gtk-build-system)
4509 '(#:out-of-source? #f ; tests need to run in the source directory.
4511 (modify-phases %standard-phases
4515 ;; The test suite requires a running X server.
4516 (system "Xvfb :1 &")
4517 (setenv "DISPLAY" ":1")
4518 ;; Don't fail on missing '/etc/machine-id'.
4519 (setenv "DBUS_FATAL_WARNINGS" "0")
4520 ;; tests.py and window.py don't meet E402:
4521 ;; E402 module level import not at top of file
4522 (substitute* "src/tests/Makefile"
4523 (("--ignore=E123") "--ignore=E123,E402"))
4526 'install 'wrap-program
4527 (lambda* (#:key outputs #:allow-other-keys)
4528 (let ((prog (string-append (assoc-ref outputs "out")
4531 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4532 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4535 `(("intltool" ,intltool)
4536 ("itstool" ,itstool)
4537 ("pkg-config" ,pkg-config)
4538 ("python-pep8" ,python-pep8)
4539 ("xmllint" ,libxml2)
4540 ("xorg-server" ,xorg-server)))
4542 `(("gobject-introspection" ,gobject-introspection)
4544 ("python" ,python-wrapper)
4545 ("hicolor-icon-theme" ,hicolor-icon-theme)
4546 ("python-pygobject" ,python-pygobject)))
4547 (home-page "https://wiki.gnome.org/Apps/DFeet")
4548 (synopsis "D-Bus debugger")
4550 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4551 of running programs and invoke methods on those interfaces.")
4552 (license license:gpl2+)))
4554 (define-public yelp-xsl
4560 (uri (string-append "mirror://gnome/sources/" name "/"
4561 (version-major+minor version) "/"
4562 name "-" version ".tar.xz"))
4565 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
4566 (build-system gnu-build-system)
4568 `(("intltool" ,intltool)
4569 ("itstool" ,itstool)
4570 ("xmllint" ,libxml2)))
4571 (home-page "https://wiki.gnome.org/Apps/Yelp")
4572 (synopsis "XSL stylesheets for Yelp")
4574 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4575 to format Docbook and Mallard documents.")
4576 (license license:gpl2+)))
4584 (uri (string-append "mirror://gnome/sources/" name "/"
4585 (version-major+minor version) "/"
4586 name "-" version ".tar.xz"))
4589 "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4"))))
4590 (build-system glib-or-gtk-build-system)
4592 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4593 ("intltool" ,intltool)
4594 ("itstool" ,itstool)
4595 ("pkg-config" ,pkg-config)))
4597 `(("dconf" ,dconf)))
4599 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4600 ("libxslt" ,libxslt)
4602 ("webkitgtk" ,webkitgtk)
4603 ("yelp-xsl" ,yelp-xsl)))
4604 (home-page "https://wiki.gnome.org/Apps/Yelp")
4605 (synopsis "GNOME help browser")
4607 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4608 man, info, and HTML documents. It can locate documents according to the
4609 freedesktop.org help system specification.")
4610 (license license:gpl2+)))
4612 (define-public yelp-tools
4618 (uri (string-append "mirror://gnome/sources/" name "/"
4619 (version-major+minor version) "/"
4620 name "-" version ".tar.xz"))
4623 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
4624 (build-system gnu-build-system)
4626 `(("pkg-config" ,pkg-config)))
4628 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4629 `(("itstool" ,itstool)
4630 ("xmllint" ,libxml2)
4631 ("xsltproc" ,libxslt)))
4633 `(("yelp-xsl" ,yelp-xsl)))
4634 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4635 (synopsis "Yelp documentation tools")
4637 "Yelp-tools is a collection of scripts and build utilities to help create,
4638 manage, and publish documentation for Yelp and the web. Most of the heavy
4639 lifting is done by packages like yelp-xsl and itstool. This package just
4640 wraps things up in a developer-friendly way.")
4641 (license license:gpl2+)))
4643 (define-public yelp-tools/fixed
4644 ;; This variant fixes a python-libxml2 crash when processing UTF-8
4645 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
4646 ;; the next rebuild cycle.
4651 `(("itstool" ,itstool/fixed)
4652 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
4654 (define-public libgee
4660 (uri (string-append "mirror://gnome/sources/libgee/"
4661 (version-major+minor version) "/"
4662 "libgee-" version ".tar.xz"))
4665 "0g1mhl7nidg82v4cikkk8dakzc18hg7wv0dsf2pbyijzfm5mq0wy"))))
4666 (build-system gnu-build-system)
4669 (modify-phases %standard-phases
4670 (add-after 'unpack 'fix-introspection-install-dir
4671 (lambda* (#:key outputs #:allow-other-keys)
4672 (let ((out (assoc-ref outputs "out")))
4673 (substitute* "gee/Makefile.in"
4674 (("@INTROSPECTION_GIRDIR@")
4675 (string-append out "/share/gir-1.0/"))
4676 (("@INTROSPECTION_TYPELIBDIR@")
4677 (string-append out "/lib/girepository-1.0/")))))))))
4679 `(("glib" ,glib "bin")
4680 ("pkg-config" ,pkg-config)))
4683 ("gobject-introspection" ,gobject-introspection)))
4684 (home-page "https://wiki.gnome.org/Projects/Libgee")
4685 (synopsis "GObject collection library")
4687 "Libgee is a utility library providing GObject-based interfaces and
4688 classes for commonly used data structures.")
4689 (license license:lgpl2.1+)))
4691 (define-public gexiv2
4697 (uri (string-append "mirror://gnome/sources/" name "/"
4698 (version-major+minor version) "/"
4699 name "-" version ".tar.xz"))
4702 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
4703 (build-system meson-build-system)
4706 ("glib" ,glib "bin")
4707 ("pkg-config" ,pkg-config)
4710 ;; Listed in "Requires" section of gexiv2.pc
4711 `(("exiv2" ,exiv2)))
4714 ("gobject-introspection" ,gobject-introspection)))
4715 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4716 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4718 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4719 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4720 metadata in photo and video files of various formats.")
4721 (license license:gpl2+)))
4723 (define-public shotwell
4729 (uri (string-append "mirror://gnome/sources/shotwell/"
4730 (version-major+minor version) "/"
4731 "shotwell-" version ".tar.xz"))
4734 "1m9i8r4gyd2hzlxjjwfyck4kz7gdg2vz2k6l6d0ga9hdfq2l4p9l"))))
4735 (build-system meson-build-system)
4737 '(#:glib-or-gtk? #t))
4739 `(("dconf" ,dconf)))
4741 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4742 ("gettext" ,gettext-minimal)
4743 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4744 ("itstool" ,itstool)
4745 ("pkg-config" ,pkg-config)
4748 `(("glib:bin" ,glib "bin")
4749 ("gstreamer" ,gstreamer)
4750 ("gst-plugins-base" ,gst-plugins-base)
4751 ("libgdata" ,libgdata)
4755 ("json-glib" ,json-glib)
4756 ("webkitgtk" ,webkitgtk)
4758 ("libsoup" ,libsoup)
4759 ("libxml2" ,libxml2)
4760 ("libgudev" ,libgudev)
4761 ("libgphoto2" ,libgphoto2)
4763 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4764 (synopsis "Photo manager for GNOME 3")
4766 "Shotwell is a digital photo manager designed for the GNOME desktop
4767 environment. It allows you to import photos from disk or camera, organize
4768 them by keywords and events, view them in full-window or fullscreen mode, and
4769 share them with others via social networking and more.")
4770 (license license:lgpl2.1+)))
4772 (define-public file-roller
4774 (name "file-roller")
4778 (uri (string-append "mirror://gnome/sources/" name "/"
4779 (version-major+minor version) "/"
4780 name "-" version ".tar.xz"))
4783 "0kiragsqyixyx15747b71qc4nw8y4jx9d55wgg612xb0hp5l9pj1"))))
4784 (build-system meson-build-system)
4786 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4787 ("intltool" ,intltool)
4788 ("pkg-config" ,pkg-config)
4789 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4790 ("glib:bin" ,glib "bin")))
4791 ;; TODO: Add libnautilus.
4794 ("gdk-pixbuf" ,gdk-pixbuf)
4795 ("json-glib" ,json-glib)
4796 ("libarchive" ,libarchive)
4797 ("libnotify" ,libnotify)
4798 ("itstool" ,itstool)
4799 ("libxml2" ,libxml2)))
4800 (synopsis "Graphical archive manager for GNOME")
4801 (description "File Roller is an archive manager for the GNOME desktop
4802 environment that allows users to view, unpack, and create compressed archives
4803 such as gzip tarballs.")
4804 (home-page "http://fileroller.sourceforge.net/")
4805 (license license:gpl2+)))
4807 (define-public gnome-session
4809 (name "gnome-session")
4813 (uri (string-append "mirror://gnome/sources/" name "/"
4814 (version-major+minor version) "/"
4815 name "-" version ".tar.xz"))
4818 "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa"))))
4822 (modify-phases %standard-phases
4823 (add-before 'configure 'pre-configure
4824 (lambda* (#:key outputs #:allow-other-keys)
4825 ;; Use elogind instead of systemd.
4826 (substitute* "meson.build"
4827 (("libsystemd-login") "libelogind")
4828 (("and libsystemd_daemon_dep.found.*") ","))
4829 (substitute* "gnome-session/gsm-systemd.c"
4830 (("#include <systemd/sd-login.h>")
4831 "#include <elogind/sd-login.h>"))
4832 ;; Remove uses of the systemd daemon.
4833 (substitute* "gnome-session/gsm-autostart-app.c"
4834 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4836 (add-after 'install 'wrap-gnome-session
4837 (lambda* (#:key inputs outputs #:allow-other-keys)
4838 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4839 (let ((glib (assoc-ref inputs "glib:bin"))
4840 (out (assoc-ref outputs "out")))
4841 (wrap-program (string-append out "/bin/gnome-session")
4842 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4846 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4847 "-Dman=false" ; FIXME: disabled because of docbook validation error
4848 "-Dsystemd_journal=false")))
4849 (build-system meson-build-system)
4851 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4852 ("pkg-config" ,pkg-config)
4853 ("intltool" ,intltool)
4854 ("xsltproc" ,libxslt)
4855 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4856 ("docbook-xsl" ,docbook-xsl)
4857 ("docbook-xml" ,docbook-xml)
4860 `(("elogind" ,elogind)
4861 ("gnome-desktop" ,gnome-desktop)
4862 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4864 ("json-glib" ,json-glib)
4866 ("libxcomposite" ,libxcomposite)
4867 ("libxtst" ,libxtst)
4870 ("xtrans" ,xtrans)))
4871 (synopsis "Session manager for GNOME")
4873 "This package contains the GNOME session manager, as well as a
4874 configuration program to choose applications starting on login.")
4875 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4876 (license license:gpl2+)))
4884 (uri (string-append "mirror://gnome/sources/" name "/"
4885 (version-major+minor version) "/"
4886 name "-" version ".tar.xz"))
4889 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
4890 (build-system gnu-build-system)
4893 (modify-phases %standard-phases
4897 ;; The test suite requires a running X server.
4898 (system "Xvfb :1 &")
4899 (setenv "DISPLAY" ":1")
4901 ;; For the missing /etc/machine-id.
4902 (setenv "DBUS_FATAL_WARNINGS" "0")
4904 ;; Our mozjs-38 package does not compile the required Intl API
4905 ;; support for these failing tests.
4906 (substitute* "installed-tests/js/testLocale.js"
4907 ((".*toBeDefined.*") "")
4908 ((".*expect\\(datestr\\).*") ""))
4909 (substitute* "installed-tests/scripts/testCommandLine.sh"
4914 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4915 ("pkg-config" ,pkg-config)
4916 ("xmllint" ,libxml2)
4918 ("dbus-launch" ,dbus)
4919 ("uuidgen" ,util-linux)
4920 ("xvfb" ,xorg-server-for-tests)))
4922 ;; These are all in the Requires.private field of gjs-1.0.pc.
4924 ("gobject-introspection" ,gobject-introspection)
4925 ("mozjs" ,mozjs-60)))
4928 ("readline" ,readline)))
4929 (synopsis "Javascript bindings for GNOME")
4930 (home-page "https://live.gnome.org/Gjs")
4932 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4933 javascript engine and the GObject introspection framework.")
4934 (license license:gpl2+)))
4936 (define-public gedit
4942 (uri (string-append "mirror://gnome/sources/" name "/"
4943 (version-major+minor version) "/"
4944 name "-" version ".tar.xz"))
4947 "0qwig35hzvjaqic9x92jcpmycnvcybsbnbiw6rppryx0arwb3wza"))))
4948 (build-system glib-or-gtk-build-system)
4951 (modify-phases %standard-phases
4953 'install 'wrap-gedit
4954 (lambda* (#:key inputs outputs #:allow-other-keys)
4955 (let ((out (assoc-ref outputs "out"))
4956 (gtksourceview (assoc-ref inputs "gtksourceview"))
4957 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4958 (python-path (getenv "PYTHONPATH")))
4959 (wrap-program (string-append out "/bin/gedit")
4961 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4962 `("PYTHONPATH" ":" prefix (,python-path))
4963 ;; For language-specs.
4964 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4968 `(("dconf" ,dconf)))
4970 `(("intltool" ,intltool)
4971 ("itstool" ,itstool)
4972 ("gobject-introspection" ,gobject-introspection)
4973 ("pkg-config" ,pkg-config)))
4978 ("gtksourceview" ,gtksourceview-3)
4979 ("libpeas" ,libpeas)
4980 ("libxml2" ,libxml2)
4981 ("iso-codes" ,iso-codes)
4982 ("python-pygobject" ,python-pygobject)
4984 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4987 ("adwaita-icon-theme" ,adwaita-icon-theme)
4988 ("libsoup" ,libsoup)
4989 ("gnome-desktop" ,gnome-desktop)))
4990 (home-page "https://wiki.gnome.org/Apps/Gedit")
4991 (synopsis "GNOME text editor")
4992 (description "While aiming at simplicity and ease of use, gedit is a
4993 powerful general purpose text editor.")
4994 (license license:gpl2+)))
4996 (define-public zenity
5002 (uri (string-append "mirror://gnome/sources/zenity/"
5003 (version-major+minor version) "/"
5004 "zenity-" version ".tar.xz"))
5007 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
5008 (build-system gnu-build-system)
5010 `(("gettext" ,gettext-minimal)
5011 ("itstool" ,itstool)
5012 ("pkg-config" ,pkg-config)))
5014 `(("libnotify" ,libnotify)
5015 ("webkitgtk" ,webkitgtk)))
5016 (synopsis "Display graphical dialog boxes from shell scripts")
5017 (home-page "https://www.gnome.org")
5019 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5020 to display dialog boxes from the commandline and shell scripts.")
5021 (license license:lgpl2.0+)))
5023 (define-public mutter
5029 (uri (string-append "mirror://gnome/sources/" name "/"
5030 (version-major+minor version) "/"
5031 name "-" version ".tar.xz"))
5034 "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z"))))
5035 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5036 ;; versions of cogl and clutter. As a result, many of the inputs,
5037 ;; propagated-inputs, and configure flags used in cogl and clutter are
5038 ;; needed here as well.
5039 (build-system gnu-build-system)
5042 ;; XXX: build fails with [-Werror]:
5043 ;; backends/meta-cursor-renderer.c:112:5: error:
5044 ;; implicit declaration of function ?roundf?
5045 (list "--enable-compile-warnings=minimum"
5047 "--enable-native-backend"
5049 ;; The following flags are needed for the bundled clutter
5050 "--enable-x11-backend=yes"
5052 (string-append "--with-xwayland-path="
5053 (assoc-ref %build-inputs "xorg-server-xwayland")
5056 ;; the remaining flags are needed for the bundled cogl
5058 (string-append "--with-gl-libname="
5059 (assoc-ref %build-inputs "mesa")
5062 (modify-phases %standard-phases
5063 ;; Replace references to systemd libraries to elogind references.
5064 (add-before 'configure 'use-elogind
5066 (substitute* (list "configure"
5067 "src/backends/native/meta-launcher.c"
5069 (("systemd") "elogind"))
5072 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5073 ("gobject-introspection" ,gobject-introspection)
5074 ("intltool" ,intltool)
5075 ("pkg-config" ,pkg-config)
5077 ("autoconf" ,autoconf)
5078 ("automake" ,automake)
5079 ("libtool" ,libtool)))
5081 `(;; libmutter.pc refers to these:
5082 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5084 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5087 ("gdk-pixbuf" ,gdk-pixbuf)
5089 ("json-glib" ,json-glib)
5090 ("libinput" ,libinput)
5092 ("libxcomposite" ,libxcomposite)
5093 ("libxdamage" ,libxdamage)
5094 ("libxext" ,libxext)
5095 ("libxfixes" ,libxfixes)
5096 ("libxkbcommon" ,libxkbcommon)
5097 ("libxrandr" ,libxrandr)
5101 ("xinput" ,xinput)))
5103 `(("elogind" ,elogind)
5104 ("gnome-desktop" ,gnome-desktop)
5105 ("libcanberra-gtk" ,libcanberra)
5106 ("libgudev" ,libgudev)
5109 ("libxkbfile" ,libxkbfile)
5110 ("libxrandr" ,libxrandr)
5111 ("libxtst" ,libxtst)
5112 ("startup-notification" ,startup-notification)
5113 ("upower-glib" ,upower)
5114 ("xkeyboard-config" ,xkeyboard-config)
5115 ("xorg-server-xwayland" ,xorg-server-xwayland)
5116 ("zenity" ,zenity)))
5117 (synopsis "Window and compositing manager")
5118 (home-page "https://www.gnome.org")
5120 "Mutter is a window and compositing manager that displays and manages your
5121 desktop via OpenGL. Mutter combines a sophisticated display engine using the
5122 Clutter toolkit with solid window-management logic inherited from the Metacity
5124 (license license:gpl2+)))
5126 (define-public gnome-online-accounts
5128 (name "gnome-online-accounts")
5132 (uri (string-append "mirror://gnome/sources/" name "/"
5133 (version-major+minor version) "/"
5134 name "-" version ".tar.xz"))
5137 "1p1gdgryziklrgngn6m13xnvfx4gb01h723nndfi9944r24fbiq5"))))
5138 (outputs '("out" "lib"))
5139 (build-system glib-or-gtk-build-system)
5142 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5144 (modify-phases %standard-phases
5145 (add-before 'configure 'patch-libgoa-output
5146 (lambda* (#:key outputs #:allow-other-keys)
5147 (let ((lib (assoc-ref outputs "lib")))
5148 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5150 (("@exec_prefix@") lib)
5151 (("@libdir@") (string-append lib "/lib"))
5152 (("@includedir@") (string-append lib "/include"))
5153 (("@datadir@") (string-append lib "/share")))
5154 ;; Make sure gobject-introspection knows about the output
5155 ;; too (see <https://bugs.gnu.org/36535>).
5156 (setenv "outputs" "out lib")
5159 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5160 ("gobject-introspection" ,gobject-introspection)
5161 ("intltool" ,intltool)
5162 ("pkg-config" ,pkg-config)
5163 ("xsltproc" ,libxslt)))
5165 `(("glib" ,glib) ; required by goa-1.0.pc
5166 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5168 `(("docbook-xsl" ,docbook-xsl)
5169 ("json-glib" ,json-glib)
5170 ("libsecret" ,libsecret)
5172 ("webkitgtk" ,webkitgtk)))
5173 (synopsis "Single sign-on framework for GNOME")
5174 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5176 "GNOME Online Accounts provides interfaces so that applications and
5177 libraries in GNOME can access the user's online accounts. It has providers for
5178 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5179 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5180 (license license:lgpl2.0+)))
5182 (define-public evolution-data-server
5184 (name "evolution-data-server")
5188 (uri (string-append "mirror://gnome/sources/" name "/"
5189 (version-major+minor version) "/"
5190 name "-" version ".tar.xz"))
5191 (patches (search-patches "evolution-data-server-locales.patch"))
5194 "1s952wyhgcbmq9nfgk75v15zdy1h3wy5p5rmkqibaavmc0pk3mli"))))
5195 (build-system cmake-build-system)
5198 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5199 (runpaths (map (lambda (s)
5200 (string-append lib "/evolution-data-server/" s))
5201 '("addressbook-backends" "calendar-backends"
5202 "camel-providers" "credential-modules"
5203 "registry-modules"))))
5204 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5205 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5206 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5207 "-DENABLE_VALA_BINDINGS=ON"
5208 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5209 (string-append lib "/evolution-data-server;")
5210 (string-join runpaths ";"))
5211 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5213 (modify-phases %standard-phases
5214 (add-after 'unpack 'disable-failing-tests
5216 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5217 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5218 (delete-file-recursively "tests/book-migration")
5219 (substitute* "tests/CMakeLists.txt"
5220 (("add_subdirectory\\(book-migration\\)") ""))
5221 ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris:
5222 ;; assertion failed (uris->data == expected_uri):
5223 ;; ("" == "file:///tests/libedata-cal/components/event-1.ics")
5224 (substitute* "tests/libedata-cal/CMakeLists.txt"
5225 (("test-cal-meta-backend") ""))
5227 (add-after 'unpack 'patch-paths
5229 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5230 "tests/libedata-book/data-test-utils.c"
5231 "tests/libedata-book/test-book-cache-utils.c"
5232 "tests/libedata-cal/test-cal-cache-utils.c")
5233 (("/bin/rm") (which "rm")))
5235 (add-before 'configure 'dont-override-rpath
5237 (substitute* "CMakeLists.txt"
5238 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5239 ;; Remove it so the configure flag is respected.
5240 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5243 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5244 ("gobject-introspection" ,gobject-introspection)
5246 ("intltool" ,intltool)
5247 ("pkg-config" ,pkg-config)
5249 ("python" ,python-wrapper)))
5251 ;; These are all in the Requires field of .pc files.
5253 ("libical" ,libical)
5254 ("libsecret" ,libsecret)
5255 ("libsoup" ,libsoup)
5257 ("sqlite" ,sqlite)))
5261 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5262 ("json-glib" ,json-glib)
5263 ("libcanberra" ,libcanberra)
5264 ("libgweather" ,libgweather)
5265 ("mit-krb5" ,mit-krb5)
5266 ("openldap" ,openldap)
5267 ("webkitgtk" ,webkitgtk)))
5268 (synopsis "Store address books and calendars")
5269 (home-page "https://wiki.gnome.org/Apps/Evolution")
5271 "This package provides a unified backend for programs that work with
5272 contacts, tasks, and calendar information. It was originally developed for
5273 Evolution (hence the name), but is now used by other packages as well.")
5274 (license license:lgpl2.0)))
5276 (define-public caribou
5282 (uri (string-append "mirror://gnome/sources/" name "/"
5283 (version-major+minor version) "/"
5284 name "-" version ".tar.xz"))
5287 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5288 (build-system glib-or-gtk-build-system)
5291 (modify-phases %standard-phases
5294 (lambda* (#:key outputs #:allow-other-keys)
5295 (let ((out (assoc-ref outputs "out")))
5296 ;; Use absolute shared library path in Caribou-1.0.typelib.
5297 (substitute* "libcaribou/Makefile"
5298 (("--shared-library=libcaribou.so")
5299 (string-append "--shared-library="
5300 out "/lib/libcaribou.so")))
5302 (add-after 'install 'wrap-programs
5303 (lambda* (#:key outputs #:allow-other-keys)
5304 (let* ((out (assoc-ref outputs "out"))
5305 (python-path (getenv "PYTHONPATH"))
5306 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5310 `("PYTHONPATH" ":" prefix (,python-path))
5311 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5312 (list (string-append out "/bin/caribou-preferences")
5313 (string-append out "/libexec/antler-keyboard"))))
5316 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5317 ("gobject-introspection" ,gobject-introspection)
5318 ("intltool" ,intltool)
5319 ("pkg-config" ,pkg-config)
5320 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5322 ("xsltproc" ,libxslt)))
5324 ;; caribou-1.0.pc refers to all these.
5325 `(("libgee" ,libgee)
5326 ("libxklavier" ,libxklavier)
5327 ("libxtst" ,libxtst)
5330 `(("clutter" ,clutter)
5333 ("python-pygobject" ,python2-pygobject)))
5334 (synopsis "Text entry and UI navigation application")
5335 (home-page "https://wiki.gnome.org/Projects/Caribou")
5337 "Caribou is an input assistive technology intended for switch and pointer
5339 (license license:lgpl2.1)))
5341 (define-public network-manager
5343 (name "network-manager")
5347 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5348 (version-major+minor version) "/"
5349 "NetworkManager-" version ".tar.xz"))
5350 (patches (search-patches "nm-plugin-path.patch"))
5353 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5354 (modules '((guix build utils)))
5357 (substitute* "src/devices/wwan/nm-modem-manager.c"
5358 (("systemd") "elogind"))
5360 (build-system gnu-build-system)
5362 "doc")) ; 8 MiB of gtk-doc HTML
5365 (let ((out (assoc-ref %outputs "out"))
5366 (doc (assoc-ref %outputs "doc"))
5367 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5369 (list "--with-libnm-glib" ; needed by network-manager-applet
5370 "--with-systemd-journal=no"
5371 "--with-session-tracking=elogind"
5372 "--with-suspend-resume=elogind"
5373 "--with-consolekit=no"
5374 "--with-crypto=gnutls"
5375 "--disable-config-plugin-ibft"
5377 "--localstatedir=/var"
5378 (string-append "--with-udev-dir="
5380 (string-append "--with-dbus-sys-dir="
5381 out "/etc/dbus-1/system.d")
5382 (string-append "--with-html-dir="
5383 doc "/share/gtk-doc/html")
5384 (string-append "--with-dhclient=" dhclient)))
5386 (modify-phases %standard-phases
5387 ;; This bare "ls" invocation breaks some tests.
5388 (add-after 'unpack 'patch-ls-invocation
5390 (substitute* "build-aux/ltmain.sh"
5392 (string-append "`" (which "ls") " -")))
5394 (add-before 'configure 'pre-configure
5396 ;; These tests try to test aspects of network-manager's
5397 ;; functionality within restricted containers, but they don't
5398 ;; cope with being already in the Guix build jail as that jail
5399 ;; lacks some features that they would like to proxy over (like
5401 (substitute* '("Makefile.in")
5402 (("src/platform/tests/test-address-linux") " ")
5403 (("src/platform/tests/test-cleanup-linux") " ")
5404 (("src/platform/tests/test-link-linux") " ")
5405 (("src/platform/tests/test-route-linux") " ")
5406 (("src/devices/tests/test-acd") "")
5407 (("src/devices/tests/test-arping") " ")
5408 (("src/devices/tests/test-lldp") " ")
5409 (("src/tests/test-route-manager-linux") " "))
5411 (add-after 'unpack 'delete-failing-tests
5413 ;; FIXME: These three tests fail for unknown reasons.
5414 ;; ERROR:libnm-core/tests/test-general.c:5842:
5415 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5416 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5417 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5418 ;; ERROR:libnm-core/tests/test-setting.c:907:
5419 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5420 (substitute* "Makefile.in"
5421 (("libnm-core/tests/test-general") " ")
5422 (("libnm-core/tests/test-keyfile") " ")
5423 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
5425 (add-before 'check 'pre-check
5427 ;; For the missing /etc/machine-id.
5428 (setenv "DBUS_FATAL_WARNINGS" "0")
5436 "nmstatedir=/tmp/nm"
5442 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5443 ("gobject-introspection" ,gobject-introspection)
5444 ("docbook-xsl" ,docbook-xsl)
5445 ("intltool" ,intltool)
5446 ("libxslt" ,libxslt)
5447 ("libxml2" ,libxml2)
5448 ("pkg-config" ,pkg-config)
5450 ("python" ,python-wrapper)
5451 ("python-dbus" ,python-dbus)
5452 ("python-pygobject" ,python-pygobject)))
5454 `(("coreutils" ,coreutils) ; for ls
5456 ("cyrus-sasl" ,cyrus-sasl)
5457 ("dbus-glib" ,dbus-glib)
5458 ("dnsmasq" ,dnsmasq)
5461 ("iptables" ,iptables)
5462 ("isc-dhcp" ,isc-dhcp)
5463 ("jansson" ,jansson)
5464 ("libgcrypt" ,libgcrypt)
5465 ("libgudev" ,libgudev)
5468 ("libsoup" ,libsoup)
5469 ("modem-manager" ,modem-manager)
5470 ("newt" ,newt) ;for the 'nmtui' console interface
5473 ("readline" ,readline)
5474 ("util-linux" ,util-linux)
5475 ("elogind" ,elogind)))
5476 (synopsis "Network connection manager")
5477 (home-page "https://www.gnome.org/projects/NetworkManager/")
5479 "NetworkManager is a system network service that manages your network
5480 devices and connections, attempting to keep active network connectivity when
5481 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5482 devices, and provides VPN integration with a variety of different VPN
5484 (license license:gpl2+)
5485 (properties '((upstream-name . "NetworkManager")))))
5487 (define-public network-manager-openvpn
5489 (name "network-manager-openvpn")
5490 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
5495 "mirror://gnome/sources/NetworkManager-openvpn/"
5496 (version-major+minor version)
5497 "/NetworkManager-openvpn-" version ".tar.xz"))
5500 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
5501 (build-system gnu-build-system)
5503 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5505 (modify-phases %standard-phases
5506 (add-after 'configure 'patch-path
5507 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5508 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
5510 (modprobe (string-append (assoc-ref inputs "kmod")
5512 (pretty-ovpn (string-append "\"" ovpn "\"")))
5516 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
5517 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
5518 (("\"/sbin/openvpn\"") pretty-ovpn)
5519 (("/sbin/modprobe") modprobe)))
5520 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
5523 `(("pkg-config" ,pkg-config)
5524 ("intltool" ,intltool)))
5528 ("openvpn" ,openvpn)
5529 ("network-manager" ,network-manager)
5530 ("network-manager-applet" ,network-manager-applet) ;for libnma
5531 ("libsecret" ,libsecret)))
5532 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5533 (synopsis "OpenVPN plug-in for NetworkManager")
5535 "This extension of NetworkManager allows it to take care of connections
5536 to virtual private networks (VPNs) via OpenVPN.")
5537 (license license:gpl2+)
5538 (properties `((upstream-name . "NetworkManager-openvpn")))))
5540 (define-public network-manager-vpnc
5542 (name "network-manager-vpnc")
5547 "mirror://gnome/sources/NetworkManager-vpnc/"
5548 (version-major+minor version)
5549 "/NetworkManager-vpnc-" version ".tar.xz"))
5552 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
5553 (build-system gnu-build-system)
5555 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5557 (modify-phases %standard-phases
5558 (add-after 'configure 'patch-path
5559 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5560 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
5562 (modprobe (string-append (assoc-ref inputs "kmod")
5564 (pretty-ovpn (string-append "\"" vpnc "\"")))
5565 (substitute* "src/nm-vpnc-service.c"
5566 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
5567 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
5568 (("\"/sbin/vpnc\"") pretty-ovpn)
5569 (("/sbin/modprobe") modprobe)))
5572 `(("pkg-config" ,pkg-config)
5573 ("intltool" ,intltool)))
5578 ("network-manager" ,network-manager)
5579 ("network-manager-applet" ,network-manager-applet) ;for libnma
5580 ("libsecret" ,libsecret)))
5581 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5582 (synopsis "VPNC plug-in for NetworkManager")
5584 "Support for configuring virtual private networks based on VPNC.
5585 Compatible with Cisco VPN concentrators configured to use IPsec.")
5586 (license license:gpl2+)
5587 (properties `((upstream-name . "NetworkManager-vpnc")))))
5589 (define-public network-manager-openconnect
5591 (name "network-manager-openconnect")
5596 "mirror://gnome/sources/NetworkManager-openconnect/"
5597 (version-major+minor version)
5598 "/NetworkManager-openconnect-" version ".tar.xz"))
5601 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
5602 (build-system gnu-build-system)
5604 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5606 (modify-phases %standard-phases
5607 (add-after 'configure 'patch-path
5608 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5609 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
5610 "/sbin/openconnect"))
5611 (modprobe (string-append (assoc-ref inputs "kmod")
5613 (pretty-ovpn (string-append "\"" openconnect "\"")))
5614 (substitute* "src/nm-openconnect-service.c"
5615 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
5616 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
5617 (("/sbin/modprobe") modprobe)))
5620 `(("intltool" ,intltool)
5621 ("network-manager-applet" ,network-manager-applet) ;for libnma
5622 ("pkg-config" ,pkg-config)))
5627 ("libsecret" ,libsecret)
5628 ("libxml2" ,libxml2)
5629 ("network-manager" ,network-manager)
5630 ("openconnect" ,openconnect)))
5631 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5632 (synopsis "OpenConnect plug-in for NetworkManager")
5634 "This extension of NetworkManager allows it to take care of connections
5635 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
5636 Cisco's AnyConnect SSL VPN.")
5637 (license license:gpl2+)
5638 (properties `((upstream-name . "NetworkManager-openconnect")
5640 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
5641 ;; file refers to account "nm-openconnect". Specify it here
5642 ;; so that 'network-manager-service-type' creates it.
5643 (user-accounts . ("nm-openconnect"))))))
5645 (define-public mobile-broadband-provider-info
5647 (name "mobile-broadband-provider-info")
5648 (version "20190116")
5652 "mirror://gnome/sources/"
5653 "mobile-broadband-provider-info/" version "/"
5654 "mobile-broadband-provider-info-" version ".tar.xz"))
5657 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
5658 (build-system gnu-build-system)
5660 `(#:tests? #f)) ; no tests
5661 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5662 (synopsis "Database of broadband connection configuration")
5663 (description "Database of broadband connection configuration.")
5664 (license license:public-domain)))
5666 (define-public network-manager-applet
5668 (name "network-manager-applet")
5672 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
5673 (version-major+minor version) "/"
5674 "network-manager-applet-" version ".tar.xz"))
5677 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
5678 (build-system meson-build-system)
5681 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
5682 (list "-Dlibnm_gtk=true")
5685 `(("intltool" ,intltool)
5686 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5687 ("gobject-introspection" ,gobject-introspection)
5688 ("gtk-doc" ,gtk-doc)
5689 ("pkg-config" ,pkg-config)))
5691 ;; libnm-gtk.pc refers to all these.
5692 `(("dbus-glib" ,dbus-glib)
5694 ("network-manager" ,network-manager)))
5697 ("iso-codes" ,iso-codes)
5698 ("libgudev" ,libgudev)
5699 ("libnotify" ,libnotify)
5700 ("libsecret" ,libsecret)
5701 ("libselinux" ,libselinux)
5702 ("jansson" ,jansson) ; for team support
5703 ("modem-manager" ,modem-manager)
5704 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
5705 (synopsis "Applet for managing network connections")
5706 (home-page "https://www.gnome.org/projects/NetworkManager/")
5708 "This package contains a systray applet for NetworkManager. It displays
5709 the available networks and allows users to easily switch between them.")
5710 (license license:gpl2+)))
5712 (define-public libxml++
5718 (uri (string-append "mirror://gnome/sources/" name "/"
5719 (version-major+minor version) "/"
5720 name "-" version ".tar.xz"))
5723 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5724 (build-system gnu-build-system)
5725 ;; libxml++-3.0.pc refers to all these.
5727 `(("libxml2" ,libxml2)
5728 ("glibmm" ,glibmm)))
5731 ("pkg-config" ,pkg-config)))
5732 (home-page "http://libxmlplusplus.sourceforge.net/")
5733 (synopsis "C++ wrapper for XML parser library libxml2")
5735 "This package provides a C++ wrapper for the XML parser library
5737 (license license:lgpl2.1+)))
5739 (define-public libxml++-2
5746 (uri (string-append "mirror://gnome/sources/" name "/"
5747 (version-major+minor version) "/"
5748 name "-" version ".tar.xz"))
5751 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5759 (uri (string-append "mirror://gnome/sources/" name "/"
5760 (version-major+minor version) "/"
5761 name "-" version ".tar.xz"))
5764 "15f7lz7z75krgbq8vb800afj96h8mw2fpy1s28za2911x5vgq0ak"))))
5765 (build-system glib-or-gtk-build-system)
5768 `("--without-plymouth"
5769 "--disable-systemd-journal"
5771 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5772 ;; instead of having to replace it (i.e., stopping the mingetty
5773 ;; service for TTY 1 before starting GDM).
5774 "--with-initial-vt=7"
5776 ;; Use '/etc/environment' for locale settings instead of the
5777 ;; systemd-specific '/etc/locale.conf'.
5778 "--with-lang-file=/etc/environment"
5780 ,(string-append "--with-udevdir="
5781 (assoc-ref %outputs "out") "/lib/udev")
5783 "--localstatedir=/var"
5784 ,(string-append "--with-default-path="
5785 (string-join '("/run/setuid-programs"
5786 "/run/current-system/profile/bin"
5787 "/run/current-system/profile/sbin")
5789 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5790 ;; XDG_DATA_DIRS so that it finds its schemas.
5791 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5793 (modify-phases %standard-phases
5795 'configure 'pre-configure
5796 (lambda* (#:key inputs outputs #:allow-other-keys)
5797 ;; We don't have <systemd/sd-daemon.h>.
5798 (substitute* '("common/gdm-log.c"
5799 "daemon/gdm-server.c"
5800 "daemon/gdm-session-worker.c"
5801 "daemon/gdm-session-worker-job.c")
5802 (("#include <systemd/sd-daemon\\.h>") ""))
5803 ;; Use elogind for sd-login.
5804 (substitute* '("common/gdm-common.c"
5805 "daemon/gdm-manager.c"
5806 "libgdm/gdm-user-switching.c")
5807 (("#include <systemd/sd-login\\.h>")
5808 "#include <elogind/sd-login.h>"))
5809 ;; Check for elogind.
5810 (substitute* '("configure")
5813 ;; Look for system-installed sessions in
5814 ;; /run/current-system/profile/share.
5815 (substitute* '("libgdm/gdm-sessions.c"
5816 "daemon/gdm-session.c"
5817 "daemon/gdm-display.c"
5818 "daemon/gdm-launch-environment.c")
5820 "\"/run/current-system/profile/share/x")
5821 (("DATADIR \"/wayland")
5822 "\"/run/current-system/profile/share/wayland")
5823 (("DATADIR \"/gnome")
5824 "\"/run/current-system/profile/share/gnome"))
5825 (let ((propagate '("GDM_CUSTOM_CONF"
5829 ;; XXX: Remove this once GNOME Shell is
5830 ;; a dependency of GDM.
5832 (substitute* "daemon/gdm-session.c"
5833 (("set_up_session_environment \\(self\\);")
5834 (apply string-append
5835 "set_up_session_environment (self);\n"
5838 "gdm_session_set_environment_variable "
5839 "(self, \"" name "\","
5840 "g_getenv (\"" name "\"));\n"))
5842 ;; Find the configuration file using an environment variable.
5843 (substitute* '("common/gdm-settings.c")
5844 (("GDM_CUSTOM_CONF")
5845 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5846 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5847 " : GDM_CUSTOM_CONF)")))
5848 ;; Use service-supplied path to X.
5849 (substitute* '("daemon/gdm-server.c")
5850 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5851 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5852 (substitute* '("daemon/gdm-x-session.c")
5853 (("\"dbus-daemon\"")
5854 "g_getenv (\"GDM_DBUS_DAEMON\")")
5856 "g_getenv (\"GDM_X_SERVER\")")
5857 (("GDMCONFDIR \"/Xsession\"")
5858 "g_getenv (\"GDM_X_SESSION\")"))
5859 ;; Use an absolute path for GNOME Session.
5860 (substitute* "daemon/gdm-launch-environment.c"
5861 (("\"gnome-session\"")
5862 (string-append "\"" (assoc-ref inputs "gnome-session")
5863 "/bin/gnome-session\"")))
5864 ;; Do not automatically select the placeholder session.
5865 (substitute* "daemon/gdm-session.c"
5866 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5867 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5868 "(g_strcmp0(search_dirs[i], \""
5869 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5871 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5872 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5873 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
5875 ;; GDM requires that there be at least one desktop entry
5876 ;; file. This phase installs a hidden one that simply
5877 ;; fails. This enables users to use GDM with a
5878 ;; '~/.xsession' script with no other desktop entry files.
5879 ;; See <https://bugs.gnu.org/35068>.
5880 (add-after 'install 'install-placeholder-desktop-entry
5881 (lambda* (#:key inputs outputs #:allow-other-keys)
5882 (let* ((out (assoc-ref outputs "out"))
5883 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5884 (fail (string-append sessions "/fail.desktop")))
5886 (with-output-to-file fail
5890 '("[Desktop Entry]\n"
5892 "Type=Application\n"
5894 "Comment=This session fails immediately.\n"
5898 ;; GDM needs GNOME Session to run these applications. We link
5899 ;; their autostart files in `share/gdm/greeter/autostart'
5900 ;; because GDM explicitly tells GNOME Session to look there.
5902 ;; XXX: GNOME Shell should be linked here too, but currently
5903 ;; GNOME Shell depends on GDM.
5904 (add-after 'install 'link-autostart-files
5905 (lambda* (#:key inputs outputs #:allow-other-keys)
5906 (let* ((out (assoc-ref outputs "out"))
5907 (autostart (string-append out "/share/gdm/"
5908 "greeter/autostart"))
5909 (settings (assoc-ref inputs "gnome-settings-daemon")))
5911 (with-directory-excursion autostart
5912 (for-each (lambda (desktop)
5913 (symlink desktop (basename desktop)))
5914 (find-files (string-append settings "/etc/xdg"))))
5918 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5919 ("gobject-introspection" ,gobject-introspection)
5920 ("intltool" ,intltool)
5921 ("itstool" ,itstool)
5922 ("pkg-config" ,pkg-config)
5923 ("xmllint" ,libxml2)))
5925 `(("accountsservice" ,accountsservice)
5926 ("check" ,check) ; for testing
5927 ("elogind" ,elogind)
5928 ("gnome-session" ,gnome-session)
5929 ("gnome-settings-daemon" ,gnome-settings-daemon)
5931 ("iso-codes" ,iso-codes)
5932 ("libcanberra" ,libcanberra)
5933 ("linux-pam" ,linux-pam)))
5934 (synopsis "Display manager for GNOME")
5935 (home-page "https://wiki.gnome.org/Projects/GDM/")
5937 "GNOME Display Manager is a system service that is responsible for
5938 providing graphical log-ins and managing local and remote displays.")
5939 (license license:gpl2+)))
5941 (define-public libgtop
5947 (uri (string-append "mirror://gnome/sources/libgtop/"
5948 (version-major+minor version) "/"
5949 "libgtop-" version ".tar.xz"))
5952 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
5953 (build-system gnu-build-system)
5955 `(("gobject-introspection" ,gobject-introspection)
5956 ("intltool" ,intltool)
5958 ("pkg-config" ,pkg-config)))
5960 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5961 (synopsis "Portable system access library")
5962 (home-page "https://www.gnome.org/")
5964 "LibGTop is a library to get system specific data such as CPU and memory
5965 usage and information about running processes.")
5966 (license license:gpl2+)))
5968 (define-public gnome-bluetooth
5970 (name "gnome-bluetooth")
5974 (uri (string-append "mirror://gnome/sources/" name "/"
5975 (version-major+minor version) "/"
5976 name "-" version ".tar.xz"))
5979 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5980 (build-system meson-build-system)
5982 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5983 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5984 ("gobject-introspection" ,gobject-introspection)
5985 ("intltool" ,intltool)
5986 ("pkg-config" ,pkg-config)
5987 ("xmllint" ,libxml2)))
5989 ;; gnome-bluetooth-1.0.pc refers to all these.
5993 `(("libcanberra" ,libcanberra)
5994 ("libnotify" ,libnotify)))
5995 (synopsis "GNOME Bluetooth subsystem")
5996 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5998 "This package contains tools for managing and manipulating Bluetooth
5999 devices using the GNOME desktop.")
6000 (license license:lgpl2.1+)))
6002 (define-public gnome-control-center
6004 (name "gnome-control-center")
6008 (uri (string-append "mirror://gnome/sources/" name "/"
6009 (version-major+minor version) "/"
6010 name "-" version ".tar.xz"))
6013 "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r"))
6015 (search-patches "gnome-control-center-udisks.patch"))))
6016 (build-system meson-build-system)
6020 (list "-Dcheese=false"
6021 (string-append "-Dgnome_session_libexecdir="
6022 (assoc-ref %build-inputs "gnome-session")
6025 (modify-phases %standard-phases
6026 (add-before 'configure 'patch-paths
6027 (lambda* (#:key inputs #:allow-other-keys)
6028 (let ((libc (assoc-ref inputs "libc"))
6029 (tzdata (assoc-ref inputs "tzdata"))
6030 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
6031 (nm-applet (assoc-ref inputs "network-manager-applet"))
6032 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
6033 (substitute* "panels/datetime/tz.h"
6034 (("/usr/share/zoneinfo/zone.tab")
6035 (string-append tzdata "/share/zoneinfo/zone.tab")))
6036 (substitute* "tests/datetime/test-endianess.c"
6037 (("/usr/share/locale")
6038 (string-append libc "/share/locale")))
6039 (substitute* "panels/region/cc-region-panel.c"
6040 (("\"gkbd-keyboard-display")
6041 (string-append "\"" libgnomekbd
6042 "/bin/gkbd-keyboard-display")))
6043 (substitute* '("panels/network/net-device-wifi.c"
6044 "panels/network/net-device.c"
6045 "panels/network/connection-editor/net-connection-editor.c")
6046 (("\"nm-connection-editor")
6047 (string-append "\"" nm-applet
6048 "/bin/nm-connection-editor")))
6049 (substitute* '("panels/user-accounts/run-passwd.c")
6050 (("/usr/bin/passwd")
6051 "/run/setuid-programs/passwd"))
6052 (substitute* "panels/info/cc-info-overview-panel.c"
6053 (("DATADIR \"/gnome/gnome-version.xml\"")
6054 (string-append "\"" gnome-desktop
6055 "/share/gnome/gnome-version.xml\"")))
6058 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6059 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6060 ("intltool" ,intltool)
6061 ("pkg-config" ,pkg-config)
6062 ("xsltproc" ,libxslt)))
6064 `(("accountsservice" ,accountsservice)
6065 ("clutter-gtk" ,clutter-gtk)
6066 ("colord-gtk" ,colord-gtk)
6069 ("docbook-xsl" ,docbook-xsl)
6070 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
6071 ("gnome-bluetooth" ,gnome-bluetooth)
6072 ("gnome-desktop" ,gnome-desktop)
6073 ("gnome-online-accounts" ,gnome-online-accounts)
6074 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6075 ("gnome-session" ,gnome-session)
6076 ("gnome-settings-daemon" ,gnome-settings-daemon)
6079 ("libcanberra" ,libcanberra)
6080 ("libgnomekbd" ,libgnomekbd)
6081 ("libgudev" ,libgudev)
6082 ("libgtop" ,libgtop)
6083 ("libpwquality" ,libpwquality)
6084 ("libsecret" ,libsecret)
6085 ("libsoup" ,libsoup)
6086 ("libxml2" ,libxml2)
6087 ("libwacom" ,libwacom)
6089 ("mit-krb5" ,mit-krb5)
6090 ("modem-manager" ,modem-manager)
6091 ("network-manager-applet" ,network-manager-applet)
6093 ("pulseaudio" ,pulseaudio)
6094 ("smbclient" ,samba)
6097 ("upower" ,upower)))
6098 (synopsis "Utilities to configure the GNOME desktop")
6099 (home-page "https://www.gnome.org/")
6101 "This package contains configuration applets for the GNOME desktop,
6102 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
6103 properties, sound setup, desktop theme and background, user interface
6104 properties, screen resolution, and other GNOME parameters.")
6105 (license license:gpl2+)))
6107 (define-public gnome-shell
6109 (name "gnome-shell")
6113 (uri (string-append "mirror://gnome/sources/" name "/"
6114 (version-major+minor version) "/"
6115 name "-" version ".tar.xz"))
6118 "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2"))
6119 (patches (search-patches "gnome-shell-theme.patch"))
6120 (modules '((guix build utils)))
6123 ;; Copy images for use on the GDM log-in screen.
6124 (copy-file #$(file-append %artwork-repository
6125 "/slim/0.x/background.png")
6126 "data/theme/guix-background.png")
6127 (copy-file #$(file-append %artwork-repository
6128 "/logo/Guix-horizontal-white.svg")
6129 "data/theme/guix-logo.svg")
6131 (build-system meson-build-system)
6134 #:disallowed-references ((,glib "bin")
6138 (list "-Dsystemd=false"
6139 ;; Otherwise, the RUNPATH will lack the final path component.
6140 (string-append "-Dc_link_args=-Wl,-rpath="
6141 (assoc-ref %outputs "out")
6142 "/lib/gnome-shell"))
6144 #:modules ((guix build meson-build-system)
6149 (modify-phases %standard-phases
6150 (add-after 'unpack 'fix-keysdir
6151 (lambda* (#:key outputs #:allow-other-keys)
6152 (let* ((out (assoc-ref outputs "out"))
6153 (keysdir (string-append
6154 out "/share/gnome-control-center/keybindings")))
6155 (substitute* "meson.build"
6157 (string-append "keysdir = '" keysdir "'\n")))
6159 (add-before 'configure 'convert-logo-to-png
6160 (lambda* (#:key inputs #:allow-other-keys)
6161 ;; Convert the logo from SVG to PNG.
6162 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
6163 "data/theme/guix-logo.svg")))
6164 (add-before 'configure 'record-absolute-file-names
6165 (lambda* (#:key inputs #:allow-other-keys)
6166 (substitute* "js/misc/ibusManager.js"
6168 (string-append "'" (assoc-ref inputs "ibus")
6169 "/bin/ibus-daemon'")))
6170 (substitute* "js/ui/status/keyboard.js"
6171 (("'gkbd-keyboard-display'")
6172 (string-append "'" (assoc-ref inputs "libgnomekbd")
6173 "/bin/gkbd-keyboard-display'")))
6175 (add-before 'check 'pre-check
6176 (lambda* (#:key inputs #:allow-other-keys)
6177 ;; Tests require a running X server.
6178 (system "Xvfb :1 &")
6179 (setenv "DISPLAY" ":1")
6181 (add-after 'install 'wrap-programs
6182 (lambda* (#:key inputs outputs #:allow-other-keys)
6183 (let ((out (assoc-ref outputs "out"))
6184 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6185 (python-path (getenv "PYTHONPATH")))
6186 (wrap-program (string-append out "/bin/gnome-shell")
6187 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6188 ;; FIXME: gnome-shell loads these libraries with unqualified
6189 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6190 ;; alternative might be to patch gnome-shell.
6191 `("LD_LIBRARY_PATH" ":" prefix
6193 (string-append (assoc-ref inputs pkg) "/lib"))
6195 "gnome-bluetooth" "librsvg" "libgweather"))))
6198 (wrap-program (string-append out "/bin/" prog)
6199 `("PYTHONPATH" ":" prefix (,python-path))
6200 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6201 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
6203 (replace 'glib-or-gtk-wrap
6204 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6205 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6206 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6207 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6208 ;; phase. Fix that since we don't need these.
6209 (wrap #:inputs (fold alist-delete inputs
6210 '("inkscape" "intltool" "glib:bin"))
6211 #:outputs outputs)))))))
6213 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6214 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6215 ("gobject-introspection" ,gobject-introspection)
6216 ("inkscape" ,inkscape)
6217 ("intltool" ,intltool)
6218 ("pkg-config" ,pkg-config)
6220 ("ruby-sass" ,ruby-sass)
6222 ("xsltproc" ,libxslt)
6224 ("xorg-server" ,xorg-server-for-tests)))
6226 `(("accountsservice" ,accountsservice)
6227 ("caribou" ,caribou)
6228 ("docbook-xsl" ,docbook-xsl)
6229 ("evolution-data-server" ,evolution-data-server)
6232 ("gdk-pixbuf" ,gdk-pixbuf+svg)
6234 ("gnome-bluetooth" ,gnome-bluetooth)
6235 ("gnome-desktop" ,gnome-desktop)
6236 ("gnome-settings-daemon" ,gnome-settings-daemon)
6237 ("gst-plugins-base" ,gst-plugins-base)
6239 ("libcanberra" ,libcanberra)
6240 ("libcroco" ,libcroco)
6241 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
6242 ("libgweather" ,libgweather)
6243 ("libsoup" ,libsoup)
6244 ("mesa-headers" ,mesa-headers)
6246 ("network-manager-applet" ,network-manager-applet)
6248 ("pulseaudio" ,pulseaudio)
6249 ("python-pygobject" ,python-pygobject)
6250 ("startup-notification" ,startup-notification)
6251 ("telepathy-logger" ,telepathy-logger)
6253 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6254 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6255 ("librsvg" ,librsvg)
6256 ("geoclue" ,geoclue)))
6257 (synopsis "Desktop shell for GNOME")
6258 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6260 "GNOME Shell provides core user interface functions for the GNOME desktop,
6261 like switching to windows and launching applications.")
6262 (license license:gpl2+)))
6264 (define-public gtk-vnc
6271 (uri (string-append "mirror://gnome/sources/" name "/"
6272 (version-major+minor version) "/"
6273 name "-" version ".tar.xz"))
6276 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
6277 (build-system gnu-build-system)
6279 '(#:configure-flags '("--with-gtk=3.0")))
6281 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6283 `(("cyrus-sasl" ,cyrus-sasl)
6285 ("libgcrypt" ,libgcrypt)
6286 ("pulseaudio" ,pulseaudio)))
6288 `(("glib:bin" ,glib "bin")
6289 ("gobject-introspection" ,gobject-introspection)
6290 ("intltool" ,intltool)
6291 ("pkg-config" ,pkg-config)
6292 ("python-wrapper" ,python-wrapper)
6294 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6295 (synopsis "VNC viewer widget for GTK+")
6297 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6298 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6299 GTK-VNC implements client side RFB protocol and authentication extensions such
6300 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6301 (license license:lgpl2.1+)))
6303 (define-public gnome-autoar
6305 (name "gnome-autoar")
6309 (uri (string-append "mirror://gnome/sources/" name "/"
6310 (version-major+minor version) "/"
6311 name "-" version ".tar.xz"))
6314 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
6315 (build-system glib-or-gtk-build-system)
6317 `(("gnome-common" ,gnome-common)
6318 ("gobject-introspection" ,gobject-introspection)
6319 ("pkg-config" ,pkg-config)))
6321 `(("libarchive" ,libarchive))) ; XXX document why
6324 (synopsis "Archives integration support for GNOME")
6325 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6327 "GNOME Autoar is a library which makes creating and extracting archives
6328 easy, safe, and automatic.")
6329 (license license:lgpl2.1+)))
6331 (define-public tracker
6337 (uri (string-append "mirror://gnome/sources/tracker/"
6338 (version-major+minor version) "/"
6339 "tracker-" version ".tar.xz"))
6342 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
6343 (build-system glib-or-gtk-build-system)
6346 (modify-phases %standard-phases
6347 (add-after 'unpack 'disable-broken-tests
6349 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6350 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6351 (substitute* "tests/libtracker-miner/Makefile.in"
6352 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6353 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6354 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6355 (substitute* "tests/libtracker-fts/Makefile.in"
6356 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6357 (substitute* "tests/libtracker-data/Makefile.in"
6358 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6359 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6360 (("tracker-backup\\$\\(EXEEXT\\)") "")
6361 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6362 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6363 ;; These fail because the SPARQL backend could not be loaded.
6364 ;; That's because /etc/machine-id is missing, but
6365 ;; DBUS_FATAL_WARNINGS does not help here.
6366 (substitute* "tests/libtracker-sparql/Makefile.in"
6367 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6368 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6369 (substitute* "tests/tracker-steroids/Makefile.in"
6370 (("tracker-test\\$\\(EXEEXT\\)") ""))
6372 ;; Two tests fail if LANG is not set.
6373 (add-before 'check 'pre-check
6375 (setenv "LANG" "en_US.UTF-8")
6376 ;; For the missing /etc/machine-id.
6377 (setenv "DBUS_FATAL_WARNINGS" "0")
6380 `(("gnome-common" ,gnome-common)
6381 ("gobject-introspection" ,gobject-introspection)
6382 ("intltool" ,intltool)
6383 ("pkg-config" ,pkg-config)
6388 ("gstreamer" ,gstreamer)
6389 ("gst-plugins-base" ,gst-plugins-base)
6392 ("poppler" ,poppler)
6394 ("libexif" ,libexif)
6396 ("libtiff" ,libtiff)
6397 ("libvorbis" ,libvorbis)
6399 ("totem-pl-parser" ,totem-pl-parser)
6402 ("libxml2" ,libxml2)
6404 ("libunistring" ,libunistring)
6406 ("json-glib" ,json-glib)
6407 ("openjpeg" ,openjpeg-1)
6408 ("libosinfo" ,libosinfo)
6410 ("libseccomp" ,libseccomp)
6411 ("libsoup" ,libsoup)
6412 ("libuuid" ,util-linux)))
6413 (synopsis "Metadata database, indexer and search tool")
6414 (home-page "https://wiki.gnome.org/Projects/Tracker")
6416 "Tracker is an advanced framework for first class objects with associated
6417 metadata and tags. It provides a one stop solution for all metadata, tags,
6418 shared object databases, search tools and indexing.")
6419 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6420 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6421 (license (list license:gpl2+
6423 license:lgpl2.0+))))
6425 (define-public nautilus
6431 (uri (string-append "mirror://gnome/sources/" name "/"
6432 (version-major+minor version) "/"
6433 name "-" version ".tar.xz"))
6436 "144r4py9b8w9ycsg6fggjg05kwvymh003qsb3h6apgpch5y3zgnv"))))
6437 (build-system meson-build-system)
6440 ;; XXX: FAIL: check-nautilus
6441 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6444 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6445 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6446 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6447 ("gobject-introspection" ,gobject-introspection)
6448 ("intltool" ,intltool)
6449 ("pkg-config" ,pkg-config)))
6455 ("gnome-desktop" ,gnome-desktop)
6456 ("gnome-autoar" ,gnome-autoar)
6457 ("libseccomp" ,libseccomp)
6458 ("libselinux" ,libselinux)
6459 ("tracker" ,tracker)
6460 ;; XXX: gtk+ is required by libnautilus-extension.pc
6462 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6464 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6466 ("libexif" ,libexif)
6467 ("libxml2" ,libxml2)))
6468 (synopsis "File manager for GNOME")
6469 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6471 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6472 design and behaviour, giving the user a simple way to navigate and manage its
6474 (license license:gpl2+)))
6476 (define-public baobab
6483 "mirror://gnome/sources/" name "/"
6484 (version-major+minor version) "/"
6485 name "-" version ".tar.xz"))
6488 "0kx721s1hhw1g0nvbqhb93g8iq6f852imyhfhl02zcqy4ipx0kay"))))
6489 (build-system meson-build-system)
6491 '(#:glib-or-gtk? #t))
6493 `(("intltool" ,intltool)
6494 ("pkg-config" ,pkg-config)
6495 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6496 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6497 ("itstool" ,itstool)
6498 ("xmllint" ,libxml2)
6499 ("glib" ,glib "bin")
6503 (synopsis "Disk usage analyzer for GNOME")
6505 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6506 usage in the GNOME desktop environment. It can easily scan device volumes or
6507 a specific user-requested directory branch (local or remote). Once the scan
6508 is complete it provides a graphical representation of each selected folder.")
6509 (home-page "https://wiki.gnome.org/Apps/Baobab")
6510 (license license:gpl2+)))
6512 (define-public gnome-backgrounds
6514 (name "gnome-backgrounds")
6519 (uri (string-append "mirror://gnome/sources/" name "/"
6520 (version-major+minor version) "/"
6521 name "-" version ".tar.xz"))
6524 "1179jrl16bp9gqabqhw7nnfp8qzf5y1vf9fi45bni6rfmwm3mrpc"))))
6525 (build-system meson-build-system)
6527 `(("intltool" ,intltool)))
6528 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6529 (synopsis "Background images for the GNOME desktop")
6531 "GNOME backgrounds package contains a collection of graphics files which
6532 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6533 the package creates the proper framework and directory structure so that you
6534 can add your own files to the collection.")
6535 (license (list license:gpl2+
6538 license:cc-by-sa3.0))))
6540 (define-public gnome-screenshot
6542 (name "gnome-screenshot")
6547 (uri (string-append "mirror://gnome/sources/" name "/"
6548 (version-major+minor version) "/"
6549 name "-" version ".tar.xz"))
6552 "06dx3svxq6sar4913mrz5lzb7hmc66wck138vmyxj8x8iv1iw0w8"))))
6553 (build-system meson-build-system)
6555 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6556 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6557 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6558 ("intltool" ,intltool)
6559 ("appstream-glib" ,appstream-glib)
6560 ("pkg-config" ,pkg-config)))
6563 ("libcanberra" ,libcanberra)
6565 ("libxext" ,libxext)))
6566 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
6567 (synopsis "Take pictures of your screen")
6569 "GNOME Screenshot is a utility used for taking screenshots of the entire
6570 screen, a window or a user defined area of the screen, with optional
6571 beautifying border effects.")
6572 (license license:gpl2+)))
6574 (define-public dconf-editor
6576 (name "dconf-editor")
6581 (uri (string-append "mirror://gnome/sources/" name "/"
6582 (version-major+minor version) "/"
6583 name "-" version ".tar.xz"))
6586 "06f736spn20s7qjsz00xw44v8r8bjhyrz1v3bix6v416jc5jp6ia"))))
6587 (build-system meson-build-system)
6589 '(#:phases (modify-phases %standard-phases
6590 (add-before 'configure 'set-glib-minimum-version
6592 ;; Change the minimum required GLib version so that
6593 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
6594 ;; do that, it complains that "55" is not an even
6595 ;; number. See <https://bugs.gnu.org/37503>.
6596 (substitute* "editor/meson.build"
6597 (("2\\.55\\.1") "2.60.0"))
6600 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6601 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6602 ("intltool" ,intltool)
6603 ("pkg-config" ,pkg-config)
6608 ("libxml2" ,libxml2)))
6609 (home-page "https://git.gnome.org/browse/dconf-editor")
6610 (synopsis "Graphical editor for GNOME's dconf configuration system")
6612 "Dconf-editor is a graphical tool for browsing and editing the dconf
6613 configuration system for GNOME. It allows users to configure desktop
6614 software that do not provide their own configuration interface.")
6615 (license license:lgpl2.1+)))
6617 (define-public gnome-default-applications
6619 (name "gnome-default-applications")
6621 (build-system trivial-build-system)
6624 `(("nautilus" ,nautilus)
6625 ("evince" ,evince)))
6627 `(#:modules ((guix build utils))
6630 (use-modules (guix build utils))
6631 (let* ((out (assoc-ref %outputs "out"))
6632 (apps (string-append out "/share/applications")))
6634 (call-with-output-file (string-append apps "/defaults.list")
6636 (format port "[Default Applications]\n")
6637 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6638 (format port "application/pdf=evince.desktop\n")
6639 (format port "application/postscript=evince.desktop\n")))
6641 (synopsis "Default MIME type associations for the GNOME desktop")
6643 "Given many installed packages which might handle a given MIME type, a
6644 user running the GNOME desktop probably has some preferences: for example,
6645 that folders be opened by default by the Nautilus file manager, not the Baobab
6646 disk usage analyzer. This package establishes that set of default MIME type
6647 associations for GNOME.")
6648 (license license:gpl3+)
6651 (define-public gnome
6654 (version (package-version gnome-shell))
6656 (build-system trivial-build-system)
6657 (arguments '(#:builder (begin (mkdir %output) #t)))
6659 ;; TODO: Add more packages according to:
6660 ;; <https://packages.debian.org/jessie/gnome-core>.
6661 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6663 ("font-cantarell" ,font-cantarell)
6664 ("font-dejavu" ,font-dejavu)
6665 ("at-spi2-core" ,at-spi2-core)
6668 ("desktop-file-utils" ,desktop-file-utils)
6670 ("epiphany" ,epiphany)
6672 ("file-roller" ,file-roller)
6674 ("glib-networking" ,glib-networking)
6675 ("gnome-backgrounds" ,gnome-backgrounds)
6676 ("gnome-bluetooth" ,gnome-bluetooth)
6677 ("gnome-calculator" ,gnome-calculator)
6678 ("gnome-control-center" ,gnome-control-center)
6679 ("gnome-disk-utility" ,gnome-disk-utility)
6680 ("gnome-default-applications" ,gnome-default-applications)
6681 ("gnome-keyring" ,gnome-keyring)
6682 ("gnome-online-accounts" ,gnome-online-accounts)
6683 ("gnome-session" ,gnome-session)
6684 ("gnome-settings-daemon" ,gnome-settings-daemon)
6685 ("gnome-shell" ,gnome-shell)
6686 ("gnome-system-monitor" ,gnome-system-monitor)
6687 ("gnome-terminal" ,gnome-terminal)
6688 ("gnome-themes-standard" ,gnome-themes-standard)
6689 ("gst-plugins-base" ,gst-plugins-base)
6690 ("gst-plugins-good" ,gst-plugins-good)
6691 ("gucharmap" ,gucharmap)
6693 ("hicolor-icon-theme" ,hicolor-icon-theme)
6694 ("nautilus" ,nautilus)
6695 ("pinentry-gnome3" ,pinentry-gnome3)
6696 ("pulseaudio" ,pulseaudio)
6697 ("shared-mime-info" ,shared-mime-info)
6698 ("system-config-printer" ,system-config-printer)
6700 ("xdg-user-dirs" ,xdg-user-dirs)
6702 ("zenity" ,zenity)))
6703 (synopsis "The GNU desktop environment")
6704 (home-page "https://www.gnome.org/")
6706 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6707 applications for browsing the web, editing text and images, creating
6708 documents and diagrams, playing media, scanning, and much more.")
6709 (license license:gpl2+)))
6711 (define-public byzanz
6712 ;; The last stable release of Byzanz was in 2011, but there have been many
6713 ;; useful commits made to the Byzanz repository since then that it would be
6714 ;; silly to use such an old release.
6715 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6718 (version (string-append "0.2-1." (string-take commit 7)))
6722 (url "https://git.gnome.org/browse/byzanz")
6724 (file-name (string-append name "-" version "-checkout"))
6727 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6728 (build-system glib-or-gtk-build-system)
6731 (modify-phases %standard-phases
6734 ;; The build system cleverly detects that we're not building from
6735 ;; a release tarball and turns on -Werror for GCC.
6736 ;; Unsurprisingly, there is a warning during compilation that
6737 ;; causes the build to fail unnecessarily, so we remove the flag.
6738 (substitute* '("configure.ac")
6740 ;; The autogen.sh script in gnome-common will run ./configure
6741 ;; by default, which is problematic because source shebangs
6742 ;; have not yet been patched.
6743 (setenv "NOCONFIGURE" "t")
6744 (zero? (system* "sh" "autogen.sh")))))))
6746 `(("autoconf" ,autoconf)
6747 ("automake" ,automake)
6748 ("gnome-common" ,gnome-common)
6749 ("intltool" ,intltool)
6750 ("libtool" ,libtool)
6751 ("pkg-config" ,pkg-config)
6755 ("gstreamer" ,gstreamer)
6756 ("gst-plugins-base" ,gst-plugins-base)
6758 (synopsis "Desktop recording program")
6759 (description "Byzanz is a simple desktop recording program with a
6760 command-line interface. It can record part or all of an X display for a
6761 specified duration and save it as a GIF encoded animated image file.")
6762 (home-page "https://git.gnome.org/browse/byzanz")
6763 (license license:gpl2+))))
6765 (define-public gsound
6771 (uri (string-append "mirror://gnome/sources/" name "/"
6772 (version-major+minor version) "/"
6773 name "-" version ".tar.xz"))
6776 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6777 (build-system glib-or-gtk-build-system)
6779 `(("pkg-config" ,pkg-config)
6780 ("gobject-introspection" ,gobject-introspection)
6784 ("libcanberra" ,libcanberra)))
6785 (home-page "https://wiki.gnome.org/Projects/GSound")
6786 (synopsis "GObject wrapper for libcanberra")
6788 "GSound is a small library for playing system sounds. It's designed to be
6789 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6791 (license license:lgpl2.1+)))
6793 (define-public libzapojit
6799 (uri (string-append "mirror://gnome/sources/" name "/"
6800 (version-major+minor version) "/"
6801 name "-" version ".tar.xz"))
6804 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6805 (build-system gnu-build-system)
6807 `(("gobject-introspection" ,gobject-introspection)
6808 ("intltool" ,intltool)
6809 ("pkg-config" ,pkg-config)))
6811 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6812 ("json-glib" ,json-glib)
6814 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6815 (synopsis "Library for accessing SkyDrive and Hotmail")
6817 "Libzapojit is a GLib-based library for accessing online service APIs of
6818 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6819 (license license:lgpl2.1+)))
6821 (define-public gnome-clocks
6823 (name "gnome-clocks")
6827 (uri (string-append "mirror://gnome/sources/" name "/"
6828 (version-major+minor version) "/"
6829 name "-" version ".tar.xz"))
6832 "009fr6zwv37wryi0c0syi4i7pxpdbn3gliws68l99cjsbn2qd6pc"))))
6833 (build-system meson-build-system)
6835 '(#:glib-or-gtk? #t))
6838 ("pkg-config" ,pkg-config)
6839 ("glib" ,glib "bin") ; for glib-compile-resources
6840 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6841 ("desktop-file-utils" ,desktop-file-utils)
6842 ("gettext" ,gettext-minimal)
6843 ("itstool" ,itstool)))
6848 ("geoclue" ,geoclue)
6849 ("geocode-glib" ,geocode-glib)
6850 ("libgweather" ,libgweather)
6851 ("gnome-desktop" ,gnome-desktop)))
6852 (home-page "https://wiki.gnome.org/Apps/Clocks")
6853 (synopsis "GNOME's clock application")
6855 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6856 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6857 (license license:gpl3+)))
6859 (define-public gnome-calendar
6861 (name "gnome-calendar")
6865 (uri (string-append "mirror://gnome/sources/" name "/"
6866 (version-major+minor version) "/"
6867 name "-" version ".tar.xz"))
6870 "1avi7a29y8d8kzwslp51nwy6s692alms7917454j0xpfc6hnw62s"))))
6871 (build-system meson-build-system)
6874 ;; gnome-calendar has to be installed before the tests can be run
6875 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6878 `(("gettext" ,gettext-minimal)
6879 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6880 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6881 ("pkg-config" ,pkg-config)))
6883 `(("evolution-data-server" ,evolution-data-server)
6884 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6885 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6886 ("libdazzle" ,libdazzle)
6887 ("libedataserverui" ,evolution-data-server)
6888 ("libgweather" ,libgweather)
6889 ("geoclue" ,geoclue)))
6890 (home-page "https://wiki.gnome.org/Apps/Calendar")
6891 (synopsis "GNOME's calendar application")
6893 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6894 desktop. It supports multiple calendars, month, week and year view.")
6895 (license license:gpl3+)))
6897 (define-public gnome-todo
6903 (uri (string-append "mirror://gnome/sources/" name "/"
6904 (version-major+minor version) "/"
6905 name "-" version ".tar.xz"))
6908 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
6909 (build-system meson-build-system)
6912 #:phases (modify-phases %standard-phases
6914 'install 'wrap-gnome-todo
6915 (lambda* (#:key inputs outputs #:allow-other-keys)
6916 (let ((out (assoc-ref outputs "out"))
6917 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6918 (python-path (getenv "PYTHONPATH")))
6919 (wrap-program (string-append out "/bin/gnome-todo")
6920 ;; XXX: gi plugins are broken.
6921 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6923 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6924 `("PYTHONPATH" ":" prefix (,python-path))))
6927 `(("gettext" ,gettext-minimal)
6928 ("gobject-introspection" ,gobject-introspection)
6929 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6930 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6931 ("pkg-config" ,pkg-config)))
6933 `(("rest" ,rest) ; For Todoist plugin
6934 ("json-glib" ,json-glib) ; For Todoist plugin
6935 ("libedataserverui" ,evolution-data-server)
6936 ("libical" ,libical)
6937 ("libpeas" ,libpeas)
6938 ("python-pygobject" ,python-pygobject)
6939 ("evolution-data-server" ,evolution-data-server)
6940 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6941 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6942 (home-page "https://wiki.gnome.org/Apps/Todo")
6943 (synopsis "GNOME's ToDo Application")
6945 "GNOME To Do is a simplistic personal task manager designed to perfectly
6946 fit the GNOME desktop.")
6947 (license license:gpl3+)))
6949 (define-public gnome-dictionary
6951 (name "gnome-dictionary")
6955 (uri (string-append "mirror://gnome/sources/" name "/"
6956 (version-major+minor version) "/"
6957 name "-" version ".tar.xz"))
6960 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6961 (build-system meson-build-system)
6962 (arguments '(#:glib-or-gtk? #t
6963 #:phases (modify-phases %standard-phases
6964 (add-after 'unpack 'patch-install-script
6966 ;; This script attempts to compile glib schemas
6967 ;; and create an empty MIME database. We do
6968 ;; that elsewhere, so prevent it from running.
6969 (substitute* "build-aux/post-install.sh"
6970 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6973 `(("glib:bin" ,glib "bin")
6974 ("gobject-introspection" ,gobject-introspection)
6975 ("intltool" ,intltool)
6976 ("itstool" ,itstool)
6977 ("pkg-config" ,pkg-config)
6978 ("xmllint" ,libxml2)))
6980 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6982 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6983 (synopsis "Look up words in dictionary sources")
6985 "GNOME Dictionary can look for the definition or translation of a word in
6986 existing databases over the internet.")
6987 (license license:gpl3+)))
6989 (define-public gnome-tweaks
6991 (name "gnome-tweaks")
6995 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
6996 (version-major+minor version) "/"
6997 "gnome-tweaks-" version ".tar.xz"))
6999 (list (search-patch "gnome-tweaks-search-paths.patch")))
7002 "0j63siy1i5pl2g6di1r9vjn54m9ahh42wj20j6689pza2lamay1z"))))
7003 (build-system meson-build-system)
7006 #:configure-flags '("-Dlocalstatedir=/tmp"
7007 "-Dsysconfdir=/tmp")
7008 #:imported-modules ((guix build python-build-system)
7009 ,@%meson-build-system-modules)
7011 (modify-phases %standard-phases
7012 (add-after 'install 'wrap
7013 (@@ (guix build python-build-system) wrap))
7014 (add-after 'wrap 'wrap-gi-typelib
7015 (lambda* (#:key inputs outputs #:allow-other-keys)
7016 (let ((out (assoc-ref outputs "out"))
7017 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7018 (wrap-program (string-append out "/bin/gnome-tweaks")
7019 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7022 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7023 ("intltool" ,intltool)
7024 ("pkg-config" ,pkg-config)))
7026 `(("gnome-desktop" ,gnome-desktop)
7028 ("gobject-introspection" ,gobject-introspection)
7029 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7030 ("libnotify" ,libnotify)
7031 ("libsoup" ,libsoup)
7032 ("nautilus" ,nautilus)
7034 ("python-pygobject" ,python-pygobject)))
7035 (synopsis "Customize advanced GNOME 3 options")
7036 (home-page "https://wiki.gnome.org/Apps/Tweaks")
7038 "GNOME Tweaks allows adjusting advanced configuration settings in
7039 GNOME 3. This includes things like the fonts used in user interface elements,
7040 alternative user interface themes, changes in window management behavior,
7041 GNOME Shell appearance and extension, etc.")
7042 (license license:gpl3+)))
7044 ;; This package has been renamed by upstream.
7045 (define-public gnome-tweak-tool
7046 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7048 (define-public gnome-shell-extensions
7050 (name "gnome-shell-extensions")
7054 (uri (string-append "mirror://gnome/sources/" name "/"
7055 (version-major+minor version) "/"
7056 name "-" version ".tar.xz"))
7059 "1grxn4f5x754r172wmnf0h0xpy69afmj359zsj1rwgqlzw4i4c5p"))))
7060 (build-system meson-build-system)
7062 '(#:configure-flags '("-Dextension_set=all")))
7064 `(("intltool" ,intltool)
7065 ("pkg-config" ,pkg-config)))
7068 ("glib" ,glib "bin")))
7069 (synopsis "Extensions for GNOME Shell")
7070 (description "GNOME Shell extensions modify and extend GNOME Shell
7071 functionality and behavior.")
7072 (home-page "https://extensions.gnome.org/")
7073 (license license:gpl3+)))
7075 (define-public numix-theme
7077 (name "numix-theme")
7082 (url "https://github.com/numixproject/numix-gtk-theme.git")
7084 (file-name (git-file-name name version))
7087 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
7088 (build-system gnu-build-system)
7090 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
7092 (modify-phases %standard-phases
7096 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
7097 ("gnome-shell" ,gnome-shell)
7099 ("xmllint" ,libxml2)
7100 ("ruby-sass" ,ruby-sass)))
7101 (synopsis "Flat theme with light and dark elements")
7102 (description "Numix is a modern flat theme with a combination of light and
7103 dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
7104 (home-page "https://numixproject.github.io")
7105 (license license:gpl3+)))
7107 (define-public arc-theme
7110 (version "20181022")
7114 (url "https://github.com/NicoHood/arc-theme.git")
7116 (file-name (git-file-name name version))
7119 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
7120 (build-system gnu-build-system)
7123 (modify-phases %standard-phases
7124 ;; autogen.sh calls configure at the end of the script.
7126 (lambda _ (invoke "autoreconf" "-vfi"))))))
7128 `(("autoconf" ,autoconf)
7129 ("automake" ,automake)
7130 ("glib" ,glib "bin") ; for glib-compile-resources
7131 ("gnome-shell" ,gnome-shell)
7133 ("inkscape" ,inkscape)
7134 ("optipng" ,optipng)
7135 ("pkg-config" ,pkg-config)
7137 (synopsis "A flat GTK+ theme with transparent elements")
7138 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
7139 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7140 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7141 (home-page "https://github.com/horst3180/arc-theme")
7142 ;; No "or later" language found.
7143 (license license:gpl3+)))
7145 (define-public faba-icon-theme
7147 (name "faba-icon-theme")
7152 (uri (string-append "https://github.com/moka-project/"
7153 name "/archive/v" version ".tar.gz"))
7154 (file-name (string-append name "-" version ".tar.gz"))
7157 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
7158 (build-system meson-build-system)
7161 (modify-phases %standard-phases
7162 (add-before 'configure 'disable-post-install
7164 (substitute* "meson.build"
7165 (("meson.add_install_script.*") "")))))))
7167 `(("autoconf" ,autoconf)
7168 ("automake" ,automake)))
7169 (synopsis "Faba icon theme")
7171 "Faba is a minimal icon set used as a basis for other themes such as
7173 (home-page "https://snwh.org/moka")
7174 (license (list license:lgpl3+
7175 license:cc-by-sa4.0))))
7177 (define-public moka-icon-theme
7179 (inherit faba-icon-theme)
7180 (name "moka-icon-theme")
7184 (uri (string-append "https://github.com/moka-project"
7185 "/moka-icon-theme/archive/v"
7187 (file-name (string-append name "-" version ".tar.gz"))
7190 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
7192 ;; Moka is based on Faba by using it as a fallback icon set instead of
7193 ;; bundling it, so we need to add it as a propagated input.
7194 `(("faba-icon-theme" ,faba-icon-theme)))
7195 (synopsis "Moka icon theme")
7196 (description "Moka is a stylized desktop icon set, designed to be clear,
7197 simple and consistent.")
7198 (license (list license:gpl3+
7199 license:cc-by-sa4.0))))
7201 (define-public arc-icon-theme
7203 (name "arc-icon-theme")
7204 (version "20161122")
7207 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7208 "/archive/" version ".tar.gz"))
7209 (file-name (string-append name "-" version ".tar.gz"))
7212 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
7213 (build-system gnu-build-system)
7216 (modify-phases %standard-phases
7217 (add-after 'unpack 'disable-configure-during-bootstrap
7219 (substitute* "autogen.sh"
7220 (("^\"\\$srcdir/configure\".*") ""))
7223 `(("autoconf" ,autoconf)
7224 ("automake" ,automake)))
7225 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7227 `(("moka-icon-theme" ,moka-icon-theme)))
7228 (synopsis "Arc icon theme")
7229 (description "The Arc icon theme provides a set of icons matching the
7230 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7231 the Moka icon theme.")
7232 (home-page "https://github.com/horst3180/arc-icon-theme")
7233 (license license:gpl3+)))
7235 (define-public folks
7242 "mirror://gnome/sources/folks/"
7243 (version-major+minor version) "/"
7244 "folks-" version ".tar.xz"))
7247 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
7248 (build-system glib-or-gtk-build-system)
7251 ("dbus-glib" ,dbus-glib)
7252 ("evolution-data-server" ,evolution-data-server)
7255 ("telepathy-glib" ,telepathy-glib)))
7257 `(("gobject-introspection" ,gobject-introspection)
7258 ("intltool" ,intltool)
7259 ("pkg-config" ,pkg-config)
7261 (synopsis "Library to aggregate data about people")
7262 (description "Libfolks is a library that aggregates information about people
7263 from multiple sources (e.g., Telepathy connection managers for IM contacts,
7264 Evolution Data Server for local contacts, libsocialweb for web service contacts,
7265 etc.) to create metacontacts. It's written in Vala, which generates C code when
7267 (home-page "https://wiki.gnome.org/Projects/Folks")
7268 (license license:lgpl2.1+)))
7270 (define-public gfbgraph
7277 "mirror://gnome/sources/gfbgraph/"
7278 (version-major+minor version) "/"
7279 "gfbgraph-" version ".tar.xz"))
7282 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7283 (build-system glib-or-gtk-build-system)
7285 `(#:tests? #f ; Tests appear to require the network.
7286 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7287 #:configure-flags '("--disable-gtk-doc"
7289 "--enable-introspection")))
7291 `(("pkg-config" ,pkg-config)
7292 ("gobject-introspection" ,gobject-introspection)))
7294 `(("json-glib" ,json-glib)
7295 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7297 (synopsis "GLib/GObject wrapper for the Facebook API")
7298 (description "This library allows you to use the Facebook API from
7299 GLib/GObject code.")
7300 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7301 (license license:lgpl2.1+)))
7303 (define-public libgnomekbd
7305 (name "libgnomekbd")
7309 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
7310 (version-major+minor version) "/"
7311 "libgnomekbd-" version ".tar.xz"))
7314 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
7315 (build-system gnu-build-system)
7317 `(("pkg-config" ,pkg-config)
7318 ("glib" ,glib "bin")
7319 ("intltool" ,intltool)))
7321 ;; Referred to in .h files and .pc.
7324 ("libxklavier" ,libxklavier)))
7325 (home-page "https://www.gnome.org")
7326 (synopsis "GNOME keyboard configuration library")
7328 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7329 environment, which can notably display keyboard layouts.")
7330 (license license:lgpl2.0+)))
7332 ;;; This package is no longer maintained:
7333 ;;; https://wiki.gnome.org/Attic/LibUnique
7334 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7335 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7336 (define-public libunique
7342 (uri (string-append "mirror://gnome/sources/" name "/"
7343 (version-major+minor version) "/"
7344 name "-" version ".tar.xz"))
7347 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7348 (build-system glib-or-gtk-build-system)
7350 `(#:configure-flags '("--disable-static"
7351 "--disable-dbus" ; use gdbus
7352 "--enable-introspection")))
7354 `(("pkg-config" ,pkg-config)
7355 ("gobject-introspection" ,gobject-introspection)
7356 ("glib:bin" ,glib "bin")
7357 ("gtk-doc" ,gtk-doc)))
7359 ;; Referred to in .h files and .pc.
7361 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7362 (synopsis "Library for writing single instance applications")
7364 "Libunique is a library for writing single instance applications. If you
7365 launch a single instance application twice, the second instance will either just
7366 quit or will send a message to the running instance. Libunique makes it easy to
7367 write this kind of application, by providing a base class, taking care of all
7368 the IPC machinery needed to send messages to a running instance, and also
7369 handling the startup notification side.")
7370 (license license:lgpl2.1+)))
7372 (define-public gnome-calculator
7374 (name "gnome-calculator")
7379 (uri (string-append "mirror://gnome/sources/" name "/"
7380 (version-major+minor version) "/"
7381 name "-" version ".tar.xz"))
7384 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
7385 (build-system meson-build-system)
7386 (arguments '(#:glib-or-gtk? #t))
7388 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7389 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7390 ("intltool" ,intltool)
7391 ("itstool" ,itstool)
7393 ("pkg-config" ,pkg-config)))
7396 ("gtksourceview" ,gtksourceview)
7397 ("libsoup" ,libsoup)
7398 ("libxml2" ,libxml2)
7401 (home-page "https://wiki.gnome.org/Apps/Calculator")
7402 (synopsis "Desktop calculator")
7404 "Calculator is an application that solves mathematical equations and
7405 is suitable as a default application in a Desktop environment.")
7406 (license license:gpl3)))
7415 (uri (string-append "https://launchpad.net/xpad/trunk/"
7416 version "/+download/"
7417 name "-" version ".tar.bz2"))
7420 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
7421 (build-system gnu-build-system)
7423 `(("autoconf" ,autoconf)
7424 ("automake" ,automake)
7425 ("gtk+:bin" ,gtk+ "bin")
7426 ("intltool" ,intltool)
7427 ("pkg-config" ,pkg-config)))
7429 `(("gtksourceview" ,gtksourceview-3)
7431 (home-page "https://wiki.gnome.org/Apps/Xpad")
7432 (synopsis "Virtual sticky note")
7434 "Xpad is a sticky note that strives to be simple, fault tolerant,
7435 and customizable. Xpad consists of independent pad windows, each is
7436 basically a text box in which notes can be written.")
7437 (license license:gpl3+)))
7439 (define-public gucharmap
7440 (let ((unicode-files
7442 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
7444 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
7446 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
7448 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
7450 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
7452 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
7459 (uri (string-append "mirror://gnome/sources/" name "/"
7460 (version-major+minor version) "/"
7461 name "-" version ".tar.xz"))
7464 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
7465 (build-system glib-or-gtk-build-system)
7467 `(#:modules ((ice-9 match)
7468 (guix build glib-or-gtk-build-system)
7471 (list "--with-unicode-data=../unicode-data")
7473 (modify-phases %standard-phases
7474 (add-after 'unpack 'prepare-unicode-data
7475 (lambda* (#:key inputs #:allow-other-keys)
7476 (mkdir-p "../unicode-data")
7477 (with-directory-excursion "../unicode-data"
7478 (for-each (match-lambda
7480 (install-file (assoc-ref inputs file) ".")))
7484 `(("desktop-file-utils" ,desktop-file-utils)
7485 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7486 ("gobject-introspection" ,gobject-introspection)
7487 ("intltool" ,intltool)
7488 ("itstool" ,itstool)
7489 ("pkg-config" ,pkg-config)
7490 ,@(map (match-lambda
7496 "http://www.unicode.org/Public/12.0.0/ucd/"
7498 (sha256 (base32 hash))))))
7503 ("xmllint" ,libxml2)))
7504 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7505 (synopsis "Unicode character picker and font browser")
7507 "This program allows you to browse through all the available Unicode
7508 characters and categories for the installed fonts, and to examine their
7509 detailed properties. It is an easy way to find the character you might
7510 only know by its Unicode name or code point.")
7511 (license license:gpl3+))))
7513 (define-public bluefish
7520 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7521 name "-" version ".tar.gz"))
7524 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
7525 (build-system gnu-build-system)
7527 `(("desktop-file-utils" ,desktop-file-utils)
7528 ("intltool" ,intltool)
7529 ("pkg-config" ,pkg-config)))
7531 `(("enchant" ,enchant)
7533 ("python" ,python-2)
7534 ("xmllint" ,libxml2)
7535 ("gucharmap" ,gucharmap)))
7536 (home-page "http://bluefish.openoffice.nl")
7537 (synopsis "Web development studio")
7539 "Bluefish is an editor targeted towards programmers and web developers,
7540 with many options to write web sites, scripts and other code.
7541 Bluefish supports many programming and markup languages.")
7542 (license license:gpl3+)))
7544 (define-public gnome-system-monitor
7546 (name "gnome-system-monitor")
7551 (uri (string-append "mirror://gnome/sources/" name "/"
7552 (version-major+minor version) "/"
7553 name "-" version ".tar.xz"))
7556 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7557 (build-system meson-build-system)
7560 #:configure-flags '("-Dsystemd=false")))
7562 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
7563 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7564 ("intltool" ,intltool)
7565 ("itstool" ,itstool)
7566 ("libgtop" ,libgtop)
7568 ("pkg-config" ,pkg-config)))
7570 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7573 ("librsvg" ,librsvg)
7574 ("libxml2" ,libxml2)
7575 ("libwnck" ,libwnck)))
7576 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7577 (synopsis "Process viewer and system resource monitor for GNOME")
7579 "GNOME System Monitor is a GNOME process viewer and system monitor with
7580 an attractive, easy-to-use interface. It has features, such as a tree view
7581 for process dependencies, icons for processes, the ability to hide processes,
7582 graphical time histories of CPU/memory/swap usage and the ability to
7583 kill/reinice processes.")
7584 (license license:gpl2+)))
7586 (define-public python-pyatspi
7588 (name "python-pyatspi")
7593 "mirror://gnome/sources/pyatspi/"
7594 (version-major+minor version)
7595 "/pyatspi-" version ".tar.xz"))
7598 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7599 ;; Patch from upstream, fixed in newer versions.
7600 (patches (search-patches "python-pyatspi-python-37.patch"))))
7601 (build-system gnu-build-system)
7604 (modify-phases %standard-phases
7605 (add-before 'build 'fix-atk-load
7607 (substitute* "pyatspi/__init__.py"
7608 (("from gi.repository import Atspi")
7609 "gi.require_version('Gtk', '3.0')
7610 from gi.repository import Gtk
7611 from gi.repository import Atspi"))
7614 `(("pkg-config" ,pkg-config)))
7616 `(("python" ,python)
7617 ("python-pygobject" ,python-pygobject)))
7618 (synopsis "Python client bindings for D-Bus AT-SPI")
7619 (home-page "https://wiki.linuxfoundation.org/accessibility\
7620 /atk/at-spi/at-spi_on_d-bus")
7622 "This package includes a python client library for the AT-SPI D-Bus
7623 accessibility infrastructure.")
7624 (license license:lgpl2.0)
7625 (properties '((upstream-name . "pyatspi")))))
7634 "mirror://gnome/sources/" name "/"
7635 (version-major+minor version) "/"
7636 name "-" version ".tar.xz"))
7639 "17asibc46i5gr2fw04jvvdi85zzmxwlnhyq7r6cr3m5prrdr8a53"))))
7640 (build-system glib-or-gtk-build-system)
7643 (modify-phases %standard-phases
7644 (add-before 'configure 'qualify-xkbcomp
7645 (lambda* (#:key inputs #:allow-other-keys)
7646 (let ((xkbcomp (string-append
7647 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7648 (substitute* "src/orca/orca.py"
7649 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7651 (add-after 'install 'wrap-orca
7652 (lambda* (#:key outputs #:allow-other-keys)
7653 (let* ((out (assoc-ref outputs "out"))
7654 (prog (string-append out "/bin/orca")))
7656 `("GI_TYPELIB_PATH" ":" prefix
7657 (,(getenv "GI_TYPELIB_PATH")))
7658 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7659 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7660 `("PYTHONPATH" ":" prefix
7661 (,(getenv "PYTHONPATH")))))
7664 `(("intltool" ,intltool)
7665 ("itstool" ,itstool)
7666 ("pkg-config" ,pkg-config)
7667 ("xmllint" ,libxml2)))
7669 `(("at-spi2-atk" ,at-spi2-atk)
7670 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7671 ("gstreamer" ,gstreamer)
7672 ("gst-plugins-base" ,gst-plugins-base)
7673 ("gst-plugins-good" ,gst-plugins-good)
7676 ("python-pygobject" ,python-pygobject)
7677 ("python-pyatspi" ,python-pyatspi)
7678 ("python-speechd" ,speech-dispatcher)
7679 ("xkbcomp" ,xkbcomp)))
7681 "Screen reader for individuals who are blind or visually impaired")
7682 (home-page "https://wiki.gnome.org/Projects/Orca")
7684 "Orca is a screen reader that provides access to the graphical desktop
7685 via speech and refreshable braille. Orca works with applications and toolkits
7686 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7687 (license license:lgpl2.1+)))
7689 (define-public gspell
7695 (uri (string-append "mirror://gnome/sources/" name "/"
7696 (version-major+minor version) "/"
7697 name "-" version ".tar.xz"))
7700 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
7701 (patches (search-patches "gspell-dash-test.patch"))))
7702 (build-system glib-or-gtk-build-system)
7705 (modify-phases %standard-phases
7706 (add-before 'check 'pre-check
7707 (lambda* (#:key inputs #:allow-other-keys)
7708 ;; Tests require a running X server.
7709 (system "Xvfb :1 &")
7710 (setenv "DISPLAY" ":1")
7712 ;; For the missing /etc/machine-id.
7713 (setenv "DBUS_FATAL_WARNINGS" "0")
7715 ;; Allow Enchant and its Aspell backend to find the en_US
7717 (setenv "ASPELL_DICT_DIR"
7718 (string-append (assoc-ref inputs "aspell-dict-en")
7724 ("iso-codes" ,iso-codes)))
7726 `(("glib" ,glib "bin")
7727 ("pkg-config" ,pkg-config)
7728 ("xmllint" ,libxml2)
7731 ("aspell-dict-en" ,aspell-dict-en)
7732 ("xorg-server" ,xorg-server)))
7734 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7735 (home-page "https://wiki.gnome.org/Projects/gspell")
7736 (synopsis "GNOME's alternative spell checker")
7738 "gspell provides a flexible API to add spell-checking to a GTK+
7739 application. It provides a GObject API, spell-checking to text entries and
7740 text views, and buttons to choose the language.")
7741 (license license:gpl2+)))
7743 (define-public gnome-planner
7745 (name "gnome-planner")
7749 (uri (string-append "mirror://gnome/sources/planner/"
7750 (version-major+minor version) "/planner-"
7754 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7755 (build-system glib-or-gtk-build-system)
7757 ;; Disable the Python bindings because the Planner program functions
7758 ;; without them, and (as of 2017-06-13) we have not packaged all of
7759 ;; packages that are necessary for building the Python bindings.
7761 (list "--disable-python"
7762 ,@(if (string=? "aarch64-linux" (%current-system))
7763 '("--build=aarch64-unknown-linux-gnu")
7766 `(("libgnomecanvas" ,libgnomecanvas)
7767 ("libgnomeui" ,libgnomeui)
7768 ("libglade" ,libglade)
7769 ("gnome-vfs" ,gnome-vfs)
7771 ("libxml2" ,libxml2)
7772 ("libxslt" ,libxslt)
7776 `(("intltool" ,intltool)
7777 ("scrollkeeper" ,scrollkeeper)
7778 ("pkg-config" ,pkg-config)))
7779 (home-page "https://wiki.gnome.org/Apps/Planner")
7780 (synopsis "Project management software for the GNOME desktop")
7782 "GNOME Planner is a project management tool based on the Work Breakdown
7783 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7784 the resources, tasks, and constraints that you define, Planner generates
7785 various views into a project. For example, Planner can show a Gantt chart of
7786 the project. It can show a detailed summary of tasks including their
7787 duration, cost, and current progress. It can also show a report of resource
7788 utilization that highlights under-utilized and over-utilized resources. These
7789 views can be printed as PDF or PostScript files, or exported to HTML.")
7790 (license license:gpl2+)))
7792 (define-public lollypop
7799 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7800 "5a7cd7c72b6d83ae08d0c54c4691f9df/"
7801 name "-" version ".tar.xz"))
7804 "1r5wn0bja9psz6nr1rcaysdkkwz84rbyzpdfw66cxa6wiy52pkjm"))))
7805 (build-system meson-build-system)
7807 `(#:imported-modules ((guix build python-build-system)
7808 ,@%meson-build-system-modules)
7810 #:tests? #f ; no test suite
7812 (modify-phases %standard-phases
7813 (add-after 'install 'wrap-program
7814 (lambda* (#:key outputs #:allow-other-keys)
7815 (let ((out (assoc-ref outputs "out"))
7816 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7817 (wrap-program (string-append out "/bin/lollypop")
7818 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7820 (add-after 'install 'wrap
7821 (@@ (guix build python-build-system) wrap)))))
7823 `(("intltool" ,intltool)
7824 ("itstool" ,itstool)
7825 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7826 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7827 ("pkg-config" ,pkg-config)))
7829 `(("gobject-introspection" ,gobject-introspection)
7830 ("gst-plugins-base" ,gst-plugins-base)
7831 ("libnotify" ,libnotify)
7832 ("libsecret" ,libsecret)
7833 ("libsoup" ,libsoup)
7835 ("python-beautifulsoup4" ,python-beautifulsoup4)
7836 ("python-gst" ,python-gst)
7837 ("python-pil" ,python-pillow)
7838 ("python-pycairo" ,python-pycairo)
7839 ("python-pygobject" ,python-pygobject)
7840 ("python-pylast" ,python-pylast)
7841 ("totem-pl-parser" ,totem-pl-parser)
7842 ("webkitgtk" ,webkitgtk)))
7844 `(;; gst-plugins-base is required to start Lollypop,
7845 ;; the others are required to play streaming.
7846 ("gst-plugins-good" ,gst-plugins-good)
7847 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7848 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7849 (synopsis "GNOME music playing application")
7851 "Lollypop is a music player designed to play well with GNOME desktop.
7852 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7853 from artists and tracks from the web. It also fetches cover artworks
7854 automatically and it can stream songs from online music services and charts.")
7855 (license license:gpl3+)))
7857 (define-public gnome-video-effects
7859 (name "gnome-video-effects")
7863 (uri (string-append "mirror://gnome/sources/" name "/"
7864 (version-major+minor version) "/" name "-"
7868 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7869 (build-system glib-or-gtk-build-system)
7871 `(#:out-of-source? #f))
7873 `(("glib:bin" ,glib "bin")
7874 ("intltool" ,intltool)
7875 ("gettext" ,gettext-minimal)
7876 ("pkg-config" ,pkg-config)))
7877 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7878 (synopsis "Video effects for Cheese and other GNOME applications")
7880 "A collection of GStreamer video filters and effects to be used in
7881 photo-booth-like software, such as Cheese.")
7882 (license license:gpl2+)))
7884 (define-public cheese
7890 (uri (string-append "mirror://gnome/sources/" name "/"
7891 (version-major+minor version) "/" name "-"
7895 "0zz2bgjaf2lsmfs3zn24925vbjb0rycr39i288brlbzixrpcyljr"))))
7897 ;; Tests require GDK.
7900 (modify-phases %standard-phases
7901 (add-before 'install 'skip-gtk-update-icon-cache
7903 ;; Don't create 'icon-theme.cache'
7904 (substitute* "Makefile"
7905 (("gtk-update-icon-cache") (which "true")))
7907 (add-after 'install 'wrap-cheese
7908 (lambda* (#:key inputs outputs #:allow-other-keys)
7909 (let ((out (assoc-ref outputs "out"))
7910 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7911 (wrap-program (string-append out "/bin/cheese")
7912 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7914 (build-system glib-or-gtk-build-system)
7916 `(("glib:bin" ,glib "bin")
7917 ("intltool" ,intltool)
7918 ("itstool" ,itstool)
7919 ("libxml2" ,libxml2)
7920 ("pkg-config" ,pkg-config)
7923 `(("gnome-video-effects" ,gnome-video-effects)
7924 ("clutter" ,clutter)
7925 ("clutter-gst" ,clutter-gst)
7926 ("clutter-gtk" ,clutter-gtk)
7927 ("libcanberra" ,libcanberra)
7928 ("gdk-pixbuf" ,gdk-pixbuf)
7930 ("gstreamer" ,gstreamer)))
7932 `(("gnome-desktop" ,gnome-desktop)
7933 ("gobject-introspection" ,gobject-introspection)
7934 ("gst-plugins-base" ,gst-plugins-base)
7935 ("gst-plugins-bad" ,gst-plugins-bad)
7938 ("libxtst" ,libxtst)))
7939 (home-page "https://wiki.gnome.org/Apps/Cheese")
7940 (synopsis "Webcam photo booth software for GNOME")
7942 "Cheese uses your webcam to take photos and videos. Cheese can also
7943 apply fancy special effects and lets you share the fun with others.")
7944 (license license:gpl2+)))
7946 (define-public sound-juicer
7948 (name "sound-juicer")
7953 (uri (string-append "mirror://gnome/sources/" name "/"
7954 (version-major+minor version) "/"
7955 name "-" version ".tar.xz"))
7958 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7959 (build-system glib-or-gtk-build-system)
7961 `(("desktop-file-utils" ,desktop-file-utils)
7962 ("intltool" ,intltool)
7963 ("itstool" ,itstool)
7964 ("pkg-config" ,pkg-config)
7965 ("xmllint" ,libxml2)))
7968 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7969 ("gstreamer" ,gstreamer)
7970 ("gst-plugins-base" ,gst-plugins-base)
7971 ("gst-plugins-good" ,gst-plugins-good)
7972 ("iso-codes" ,iso-codes)
7973 ("libbrasero-media3" ,brasero)
7974 ("libcanberra" ,libcanberra)
7975 ("libdiscid" ,libdiscid)
7976 ("libmusicbrainz" ,libmusicbrainz)
7978 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7979 (synopsis "Audio music cd ripper")
7980 (description "Sound Juicer extracts audio from compact discs and convert it
7981 into audio files that a personal computer or digital audio player can play.
7982 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7983 mp3, Ogg Vorbis and FLAC")
7984 (license license:gpl2+)))
7986 (define-public soundconverter
7988 (name "soundconverter")
7993 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7994 version "/+download/"
7995 "soundconverter-" version ".tar.xz"))
7998 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
8001 "soundconverter-remove-gconf-dependency.patch"))))
8002 (build-system glib-or-gtk-build-system)
8004 `(#:imported-modules ((guix build python-build-system)
8005 (guix build glib-or-gtk-build-system)
8006 ,@%gnu-build-system-modules)
8008 #:modules ((guix build glib-or-gtk-build-system)
8010 ((guix build gnu-build-system) #:prefix gnu:)
8011 ((guix build python-build-system) #:prefix python:))
8014 (modify-phases %standard-phases
8015 (add-after 'install 'wrap-soundconverter-for-python
8016 (assoc-ref python:%standard-phases 'wrap))
8017 (add-after 'install 'wrap-soundconverter
8018 (lambda* (#:key inputs outputs #:allow-other-keys)
8019 (let ((out (assoc-ref outputs "out"))
8020 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8021 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8022 (wrap-program (string-append out "/bin/soundconverter")
8023 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8024 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8027 `(("intltool" ,intltool)
8028 ("pkg-config" ,pkg-config)
8029 ("glib:bin" ,glib "bin")))
8033 ("python-pygobject" ,python-pygobject)
8034 ("gstreamer" ,gstreamer)
8035 ("gst-plugins-base" ,gst-plugins-base)))
8036 (home-page "http://soundconverter.org/")
8037 (synopsis "Convert between audio formats with a graphical interface")
8039 "SoundConverter supports converting between many audio formats including
8040 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
8041 configurable file renaming. ")
8042 (license license:gpl3)))
8044 (define-public workrave
8052 (url "https://github.com/rcaelers/workrave.git")
8053 (commit (string-append "v" (string-map
8054 (match-lambda (#\. #\_) (chr chr))
8056 (file-name (git-file-name name version))
8058 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
8059 (build-system glib-or-gtk-build-system)
8060 (inputs `(("glib" ,glib)
8062 ("gdk-pixbuf" ,gdk-pixbuf)
8066 ("libxtst" ,libxtst)
8070 ("libxscrnsaver" ,libxscrnsaver)))
8071 (native-inputs `(("boost" ,boost)
8072 ("pkg-config" ,pkg-config)
8073 ("gettext" ,gnu-gettext)
8074 ("autoconf" ,autoconf)
8075 ("autoconf-archive" , autoconf-archive)
8076 ("automake" ,automake)
8077 ("libtool" ,libtool)
8078 ("intltool" ,intltool)
8079 ("gobject-introspection" ,gobject-introspection)
8080 ("python3" ,python-3)
8081 ("python-jinja2" ,python-jinja2)))
8082 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8084 "Workrave is a program that assists in the recovery and prevention of
8085 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8086 micro-pauses and rest breaks, and restricts you to your daily limit.")
8087 (home-page "http://www.workrave.org")
8088 (license license:gpl3+)))
8096 (uri (string-append "mirror://gnome/sources/ghex/"
8097 (version-major+minor version) "/"
8098 "ghex-" version ".tar.xz"))
8101 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
8102 (build-system glib-or-gtk-build-system)
8104 `(("pkg-config" ,pkg-config)
8105 ("gnome-common" ,gnome-common)
8107 ("intltool" ,intltool)
8108 ("yelp-tools" ,yelp-tools)
8109 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
8113 (synopsis "GNOME hexadecimal editor")
8114 (description "The GHex program can view and edit files in two ways:
8115 hexadecimal or ASCII. It is useful for editing binary files in general.")
8116 (home-page "https://wiki.gnome.org/Apps/Ghex")
8117 (license license:gpl2)))
8119 (define-public libdazzle
8125 (uri (string-append "mirror://gnome/sources/libdazzle/"
8126 (version-major+minor version) "/"
8127 "libdazzle-" version ".tar.xz"))
8130 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
8131 (build-system meson-build-system)
8134 (modify-phases %standard-phases
8135 (add-before 'check 'pre-check
8137 ;; Tests require a running X server.
8138 (system "Xvfb :1 &")
8139 (setenv "DISPLAY" ":1")
8142 `(("glib" ,glib "bin") ; glib-compile-resources
8143 ("pkg-config" ,pkg-config)
8145 ("xorg-server" ,xorg-server)))
8148 ("gobject-introspection" ,gobject-introspection)
8151 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8152 (synopsis "Companion library to GObject and Gtk+")
8153 (description "The libdazzle library is a companion library to GObject and
8154 Gtk+. It provides various features that the authors wish were in the
8155 underlying library but cannot for various reasons. In most cases, they are
8156 wildly out of scope for those libraries. In other cases, they are not quite
8157 generic enough to work for everyone.")
8158 (license license:gpl3+)))
8160 (define-public evolution
8166 (uri (string-append "mirror://gnome/sources/evolution/"
8167 (version-major+minor version) "/"
8168 "evolution-" version ".tar.xz"))
8171 "1hhxj3rh921pp3l3c5k33bdypcas1p66krzs65k1qn82c5fpgl2h"))))
8172 (build-system cmake-build-system)
8174 `(#:imported-modules (,@%cmake-build-system-modules
8175 (guix build glib-or-gtk-build-system))
8176 #:modules ((guix build cmake-build-system)
8177 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8180 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
8181 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
8182 ; in four years and cannot be built.
8184 (modify-phases %standard-phases
8185 ;; The build system attempts to install user interface modules to the
8186 ;; output directory of the "evolution-data-server" package. This
8187 ;; change redirects that change.
8188 (add-after 'unpack 'patch-ui-module-dir
8189 (lambda* (#:key outputs #:allow-other-keys)
8190 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
8191 (("\\$\\{edsuimoduledir\\}")
8192 (string-append (assoc-ref outputs "out")
8193 "/lib/evolution-data-server/ui-modules")))
8195 (add-after 'install 'glib-or-gtk-compile-schemas
8196 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
8197 (add-after 'install 'glib-or-gtk-wrap
8198 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
8200 `(("glib" ,glib "bin") ; glib-mkenums
8201 ("pkg-config" ,pkg-config)
8202 ("intltool" ,intltool)
8203 ("itstool" ,itstool)))
8205 `(("enchant" ,enchant)
8206 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8208 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8209 ("gnome-autoar" ,gnome-autoar)
8210 ("gnome-desktop" ,gnome-desktop)
8211 ("gtkspell3" ,gtkspell3)
8212 ("highlight" ,highlight)
8213 ("libcanberra" ,libcanberra)
8214 ("libedataserverui" ,evolution-data-server)
8215 ("libgweather" ,libgweather)
8216 ("libnotify" ,libnotify)
8217 ("libsoup" ,libsoup)
8219 ("openldap" ,openldap)
8220 ("webkitgtk" ,webkitgtk)
8222 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8223 (synopsis "Manage your email, contacts and schedule")
8224 (description "Evolution is a personal information management application
8225 that provides integrated mail, calendaring and address book
8227 ;; See COPYING for details.
8228 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
8229 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
8230 license:lgpl2.1+)))) ; smime/lib/*
8232 (define-public gthumb
8238 (uri (string-append "mirror://gnome/sources/gthumb/"
8239 (version-major+minor version) "/"
8240 "gthumb-" version ".tar.xz"))
8243 "184zn79w4s9y1zy42ar31p3jsg8rmkxy8k6iry51nz8aizbcs7jb"))))
8244 (build-system meson-build-system)
8248 ;; Ensure the RUNPATH contains all installed library locations.
8249 (list (string-append "-Dc_link_args=-Wl,-rpath="
8250 (assoc-ref %outputs "out")
8251 "/lib/gthumb/extensions")
8252 (string-append "-Dcpp_link_args=-Wl,-rpath="
8253 (assoc-ref %outputs "out")
8254 "/lib/gthumb/extensions"))))
8256 `(("pkg-config" ,pkg-config)
8257 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8258 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8259 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8260 ("intltool" ,intltool)
8261 ("itstool" ,itstool)))
8265 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8266 ("gstreamer" ,gstreamer)
8267 ("clutter" ,clutter)
8268 ("clutter-gst" ,clutter-gst)
8269 ("clutter-gtk" ,clutter-gtk)
8270 ("libjpeg" ,libjpeg)
8271 ("libtiff" ,libtiff)
8272 ("libraw" ,libraw)))
8273 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8274 (synopsis "GNOME image viewer and browser")
8275 (description "GThumb is an image viewer, browser, organizer, editor and
8276 advanced image management tool")
8277 (license license:gpl2+)))
8279 (define-public terminator
8285 (uri (string-append "https://launchpad.net/" name "/"
8286 "gtk3/" version "/" "+download/"
8287 name "-" version ".tar.gz"))
8290 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8291 (build-system python-build-system)
8293 `(("intltool" ,intltool)
8294 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8295 ("gettext" ,gettext-minimal)
8296 ("pkg-config" ,pkg-config)))
8299 ("gobject-introspection" ,gobject-introspection)
8300 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8301 ("python2-pycairo" ,python2-pycairo)
8302 ("python2-pygobject" ,python2-pygobject)
8303 ("python2-psutil" ,python2-psutil)
8306 `(#:python ,python-2 ; Python 3 isn't supported
8307 #:imported-modules ((guix build glib-or-gtk-build-system)
8308 ,@%python-build-system-modules)
8309 #:modules ((guix build python-build-system)
8310 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8313 (modify-phases %standard-phases
8315 'install 'wrap-program
8316 (lambda* (#:key outputs #:allow-other-keys)
8317 (let ((prog (string-append (assoc-ref outputs "out")
8318 "/bin/terminator")))
8320 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8321 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8323 (add-after 'wrap-program 'glib-or-gtk-wrap
8324 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
8325 (home-page "https://gnometerminator.blogspot.com/")
8326 (synopsis "Store and run multiple GNOME terminals in one window")
8328 "Terminator allows you to run multiple GNOME terminals in a grid and
8329 +tabs, and it supports drag and drop re-ordering of terminals.")
8330 (license license:gpl2)))
8332 (define-public libhandy
8340 (url "https://source.puri.sm/Librem5/libhandy")
8341 (commit (string-append "v" version))))
8342 (file-name (git-file-name name version))
8344 (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0"))))
8345 (build-system meson-build-system)
8348 '("-Dglade_catalog=disabled"
8351 (modify-phases %standard-phases
8352 (add-before 'check 'pre-check
8354 ;; Tests require a running X server.
8355 (system "Xvfb :1 &")
8356 (setenv "DISPLAY" ":1")
8361 `(("glib:bin" ,glib "bin")
8362 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
8364 ("gtk-doc" ,gtk-doc)
8365 ("pkg-config" ,pkg-config)
8366 ("gettext" ,gettext-minimal)
8367 ("xorg-server" ,xorg-server)
8369 ;; Test suite dependencies.
8370 ("hicolor-icon-theme" ,hicolor-icon-theme)))
8371 (home-page "https://source.puri.sm/Librem5/libhandy")
8372 (synopsis "Library full of GTK+ widgets for mobile phones")
8373 (description "The aim of the handy library is to help with developing user
8374 intefaces for mobile devices using GTK+.")
8375 (license license:lgpl2.1+)))
8377 (define-public libgit2-glib
8379 (name "libgit2-glib")
8380 (version "0.28.0.1")
8383 (uri (string-append "mirror://gnome/sources/" name "/"
8384 (version-major+minor version) "/"
8385 name "-" version ".tar.xz"))
8388 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
8389 (build-system meson-build-system)
8391 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
8392 ("gobject-introspection" ,gobject-introspection)
8393 ("intltool" ,intltool)
8394 ("libssh2" ,libssh2)
8395 ("pkg-config" ,pkg-config)
8396 ("python-pygobject" ,python-pygobject)
8397 ("python-wrapper" ,python-wrapper)
8401 ("libgit2" ,libgit2)))
8402 (synopsis "GLib wrapper around the libgit2 Git access library")
8403 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
8404 access library. It only implements the core plumbing functions, not really the
8405 higher level porcelain stuff.")
8406 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
8407 (license license:gpl2+)))
8409 (define-public gnome-mahjongg
8411 (name "gnome-mahjongg")
8416 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
8418 (file-name (git-file-name name version))
8421 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
8422 (build-system meson-build-system)
8424 `(#:glib-or-gtk? #t))
8426 `(("appstream-glib" ,appstream-glib)
8427 ("gettext" ,gettext-minimal)
8428 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
8429 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
8430 ("itstool" ,itstool)
8431 ("pkg-config" ,pkg-config)
8434 `(("dconf" ,dconf)))
8438 ("librsvg" ,librsvg)))
8439 (synopsis "Mahjongg tile-matching game")
8440 (description "GNOME Mahjongg is a game based on the classic Chinese
8441 tile-matching game Mahjong. It features multiple board layouts, tile themes,
8442 and a high score table.")
8443 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
8444 (license license:gpl2+)))