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
2226 (version "3.30.1.1")
2230 (uri (string-append "mirror://gnome/sources/" name "/"
2231 (version-major+minor version) "/" name "-"
2235 "12x7xmwh62yl0ax90v8nkx3jqzviaz9hz2g56yml78wzww20gawy"))
2236 (patches (search-patches
2237 "seahorse-gkr-use-0-on-empty-flags.patch"))))
2238 (build-system meson-build-system)
2241 (modify-phases %standard-phases
2242 (add-after 'unpack 'skip-gtk-update-icon-cache
2243 ;; Don't create 'icon-theme.cache'.
2245 (substitute* "build-aux/meson_post_install.py"
2246 (("gtk-update-icon-cache") "true"))
2253 ("openldap" ,openldap)
2254 ("openssh" ,openssh)
2256 ("libsecret" ,libsecret)
2257 ("libsoup" ,libsoup)))
2259 `(("gettext" ,gettext-minimal)
2260 ("glib:bin" ,glib "bin")
2261 ("itstool" ,itstool)
2262 ("pkg-config" ,pkg-config)
2264 ("xmllint" ,libxml2)))
2265 (home-page "https://launchpad.net/gnome-themes-standard")
2266 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2268 "Seahorse is a GNOME application for managing encryption keys and
2269 passwords in the GNOME keyring.")
2270 (license license:gpl2+)))
2278 (uri (string-append "mirror://gnome/sources/" name "/"
2279 (version-major+minor version) "/"
2280 name "-" version ".tar.xz"))
2283 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
2284 (build-system gnu-build-system)
2287 (modify-phases %standard-phases
2288 (add-before 'check 'pre-check
2291 (substitute* "valadoc/tests/testrunner.sh"
2292 (("export PKG_CONFIG_PATH=" m)
2293 (string-append m "$PKG_CONFIG_PATH:")))
2294 ;; For missing '/etc/machine-id'.
2295 (setenv "DBUS_FATAL_WARNINGS" "0")
2298 `(("pkg-config" ,pkg-config)
2301 ("xsltproc" ,libxslt)
2302 ("dbus" ,dbus) ; for dbus tests
2303 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2305 `(("graphviz" ,graphviz)))
2307 `(("glib" ,glib))) ; required by libvala-0.40.pc
2308 (home-page "https://live.gnome.org/Vala/")
2309 (synopsis "Compiler for the GObject type system")
2311 "Vala is a programming language that aims to bring modern programming
2312 language features to GNOME developers without imposing any additional runtime
2313 requirements and without using a different ABI compared to applications and
2314 libraries written in C.")
2315 (license license:lgpl2.1+)))
2323 (uri (string-append "mirror://gnome/sources/" name "/"
2324 (version-major+minor version) "/"
2325 name "-" version ".tar.xz"))
2328 "0j166gic5znssdb9r45qazq4kb4v9fial82czand5wa8i2yd988p"))))
2329 (build-system gnu-build-system)
2331 `(("pkg-config" ,pkg-config)
2332 ("intltool" ,intltool)
2334 ("gobject-introspection" ,gobject-introspection)
2335 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2337 ("xmllint" ,libxml2)))
2339 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2340 ("gnutls" ,gnutls) ;ditto
2341 ("pcre2" ,pcre2))) ;ditto
2342 (home-page "https://www.gnome.org/")
2343 (synopsis "Virtual Terminal Emulator")
2345 "VTE is a library (libvte) implementing a terminal emulator widget for
2346 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2347 gnome-terminal, but can also be used to embed a console/terminal in games,
2348 editors, IDEs, etc.")
2349 (license license:lgpl2.1+)))
2351 (define-public vte-ng
2355 (version "0.58.2.a")
2356 (home-page "https://github.com/thestinger/vte-ng")
2359 (uri (git-reference (url home-page) (commit version)))
2360 (file-name (git-file-name name version))
2363 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
2364 (build-system meson-build-system)
2366 `(("gtk-doc" ,gtk-doc)
2367 ,@(package-native-inputs vte)))
2369 `(#:configure-flags '("-Ddocs=true")))
2370 (synopsis "Enhanced VTE terminal widget")
2372 "VTE is a library (libvte) implementing a terminal emulator widget for
2373 GTK+, this fork provides additional functions exposed for keyboard text
2374 selection and URL hints.")))
2376 ;; provides vte 2.90, required for some terminal emulators
2377 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2378 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2379 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2380 ;; pantheon-terminal, roxterm are not currently packaged
2381 (define-public vte-0.36
2382 (package (inherit vte)
2387 (uri (string-append "mirror://gnome/sources/" name "/"
2388 (version-major+minor version) "/"
2389 name "-" version ".tar.xz"))
2392 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2395 ("ncurses" ,ncurses)))))
2397 ;; stable version for gtk2, required by xfce4-terminal.
2398 (define-public vte/gtk+-2
2399 (package (inherit vte)
2404 (uri (string-append "mirror://gnome/sources/" name "/"
2405 (version-major+minor version) "/"
2406 name "-" version ".tar.xz"))
2409 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2410 (patches (search-patches
2411 "vte-CVE-2012-2738-pt1.patch"
2412 "vte-CVE-2012-2738-pt2.patch"))))
2414 '(#:configure-flags '("--disable-python")))
2416 `(("pkg-config" ,pkg-config)
2417 ("intltool" ,intltool)
2418 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2420 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2421 ("ncurses" ,ncurses))))) ; required by libvte.la
2423 (define-public vinagre
2429 (uri (string-append "mirror://gnome/sources/" name "/"
2430 (version-major+minor version) "/"
2431 name "-" version ".tar.xz"))
2432 (patches (search-patches "vinagre-newer-freerdp.patch"
2433 "vinagre-newer-rdp-parameters.patch"))
2436 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2437 (build-system glib-or-gtk-build-system)
2439 ;; Disable -Werror and such, to avoid build failures on compilation
2441 '(#:configure-flags '("--enable-compile-warnings=minimum")
2443 (modify-phases %standard-phases
2444 (add-before 'install 'skip-gtk-update-icon-cache
2446 ;; Don't create 'icon-theme.cache'
2447 (substitute* (find-files "." "^Makefile$")
2448 (("gtk-update-icon-cache") (which "true")))
2450 (add-after 'unpack 'patch-configure
2452 (substitute* "configure"
2453 (("freerdp") "freerdp2"))
2456 `(("pkg-config" ,pkg-config)
2457 ("intltool" ,intltool)
2458 ("itstool" ,itstool)
2459 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2461 `(("libxml2" ,libxml2)
2462 ("gtk-vnc" ,gtk-vnc)
2463 ("gnome-keyring" ,gnome-keyring)
2464 ("libsecret" ,libsecret)
2465 ("freerdp" ,freerdp)
2467 ("spice-gtk" ,spice-gtk)
2468 ("telepathy-glib" ,telepathy-glib)
2470 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2471 (synopsis "Remote desktop viewer for GNOME")
2472 (description "Vinagre is a remote display client supporting the VNC, SPICE
2473 and RDP protocols.")
2474 (license license:gpl3+)))
2476 (define-public dconf
2483 "mirror://gnome/sources/" name "/"
2484 (version-major+minor version) "/"
2485 name "-" version ".tar.xz"))
2488 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
2489 (build-system meson-build-system)
2491 ;; In Requires of dconf.pc.
2497 `(("bash-completion" ,bash-completion)
2498 ("libxslt" ,libxslt) ;for xsltproc
2499 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2500 ("docbook-xml" ,docbook-xml-4.2)
2501 ("docbook-xsl" ,docbook-xsl)
2502 ("glib:bin" ,glib "bin")
2503 ("gtk-doc" ,gtk-doc)
2504 ("pkg-config" ,pkg-config)
2507 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2508 ; or /etc/machine-id.
2510 #:configure-flags '("-Denable-gtk-doc=true")))
2511 (home-page "https://developer.gnome.org/dconf")
2512 (synopsis "Low-level GNOME configuration system")
2513 (description "Dconf is a low-level configuration system. Its main purpose
2514 is to provide a backend to GSettings on platforms that don't already have
2515 configuration storage systems.")
2516 (license license:lgpl2.1+)))
2518 (define-public json-glib
2524 (uri (string-append "mirror://gnome/sources/" name "/"
2525 (version-major+minor version) "/"
2526 name "-" version ".tar.xz"))
2529 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2530 (build-system meson-build-system)
2532 `(("gettext" ,gettext-minimal)
2533 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2534 ("gobject-introspection" ,gobject-introspection)
2535 ("pkg-config" ,pkg-config)))
2537 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2538 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2539 (synopsis "Compiler for the GObject type system")
2541 "JSON-GLib is a C library based on GLib providing serialization and
2542 deserialization support for the JavaScript Object Notation (JSON) format
2543 described by RFC 4627. It provides parser and generator GObject classes and
2544 various wrappers for the complex data types employed by JSON, such as arrays
2546 (license license:lgpl2.1+)))
2548 (define-public libxklavier
2550 (name "libxklavier")
2553 ;; Note: There's no tarball at ftp.gnome.org for this version.
2556 (url "https://anongit.freedesktop.org/git/libxklavier")
2557 (commit (string-append "libxklavier-" version))))
2560 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
2561 (file-name (git-file-name name version))))
2562 (build-system gnu-build-system)
2565 (modify-phases %standard-phases
2566 (add-after 'unpack 'no-configure
2568 (setenv "NOCONFIGURE" "1")
2571 (list (string-append "--with-xkb-base="
2572 (assoc-ref %build-inputs "xkeyboard-config")
2574 "--disable-xmodmap-support")))
2576 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2577 ("gobject-introspection" ,gobject-introspection)
2578 ("pkg-config" ,pkg-config)
2579 ("gtk-doc" ,gtk-doc)
2580 ("intltool" ,intltool)
2582 ("autoconf" ,autoconf)
2583 ("automake" ,automake)
2584 ("libtool" ,libtool)))
2586 ;; Required by libxklavier.pc.
2588 ("libxml2" ,libxml2)))
2590 `(("iso-codes" ,iso-codes)
2592 ("libxkbfile" ,libxkbfile)
2593 ("xkbcomp" ,xkbcomp)
2594 ("xkeyboard-config" ,xkeyboard-config)))
2595 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2596 (synopsis "High-level API for X Keyboard Extension")
2598 "LibXklavier is a library providing high-level API for X Keyboard
2599 Extension known as XKB. This library is intended to support XFree86 and other
2600 commercial X servers. It is useful for creating XKB-related software (layout
2602 (license license:lgpl2.0+)))
2604 (define-public python2-rsvg
2605 ;; XXX: This is actually a subset of gnome-python-desktop.
2607 (name "python2-rsvg")
2613 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2614 version ".tar.bz2"))
2617 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2618 (build-system gnu-build-system)
2620 `(("pkg-config" ,pkg-config)))
2622 `(("python" ,python-2)
2623 ("python2-pygtk" ,python2-pygtk)
2624 ("librsvg" ,librsvg)))
2625 (home-page "https://www.gnome.org")
2626 (synopsis "Python bindings to librsvg")
2628 "This package provides Python bindings to librsvg, the SVG rendering
2631 ;; This is the license of the rsvg bindings. The license of each module
2632 ;; of gnome-python-desktop is given in 'COPYING'.
2633 (license license:lgpl2.1+)))
2635 (define-public glib-networking
2637 (name "glib-networking")
2641 (uri (string-append "mirror://gnome/sources/glib-networking/"
2642 (version-major+minor version) "/"
2643 "glib-networking-" version ".tar.xz"))
2646 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
2647 (build-system meson-build-system)
2649 `(#:configure-flags '("-Dlibproxy_support=false")))
2651 `(("pkg-config" ,pkg-config)
2652 ("intltool" ,intltool)))
2656 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
2657 (home-page "https://www.gnome.org")
2658 (synopsis "Network-related GIO modules")
2660 "This package contains various network related extensions for the GIO
2662 (license license:lgpl2.0+)))
2670 (uri (string-append "mirror://gnome/sources/rest/"
2671 (version-major+minor version) "/"
2672 name "-" version ".tar.xz"))
2675 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2676 (build-system gnu-build-system)
2678 '(#:tests? #f ; tests require internet connection
2680 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2682 `(("glib-mkenums" ,glib "bin")
2683 ("gobject-introspection" ,gobject-introspection)
2684 ("pkg-config" ,pkg-config)))
2686 ;; rest-0.7.pc refers to all these.
2688 ("libsoup" ,libsoup)
2689 ("libxml2" ,libxml2)))
2690 (home-page "https://www.gtk.org/")
2691 (synopsis "RESTful web api query library")
2693 "This library was designed to make it easier to access web services that
2694 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2695 libxml to ease remote use of the RESTful API.")
2696 (license license:lgpl2.1+)))
2698 (define-public libsoup
2704 (uri (string-append "mirror://gnome/sources/libsoup/"
2705 (version-major+minor version) "/"
2706 "libsoup-" version ".tar.xz"))
2709 "0crr9qprmacr626fx83cx81ggk85zsgxr4mn577kpzj6m40k1bai"))))
2710 (build-system meson-build-system)
2711 (outputs '("out" "doc"))
2713 `(#:modules ((guix build utils)
2714 (guix build meson-build-system)
2717 #:configure-flags '("-Dgtk_doc=true")
2719 (modify-phases %standard-phases
2720 (add-after 'unpack 'adjust-tests
2722 ;; This test fails due to missing /etc/nsswitch.conf
2723 ;; in the build environment.
2724 (substitute* "tests/socket-test.c"
2725 ((".*/sockets/unconnected.*") ""))
2727 ;; These fail because "subdomain.localhost" does not resolve in
2728 ;; the build environment.
2729 (substitute* "tests/hsts-test.c"
2730 ((".*/hsts/basic.*") "")
2731 ((".*/hsts/subdomains.*") "")
2732 ((".*/hsts/superdomain.*") "")
2733 ((".*/hsts/utf8-address.*") ""))
2734 (substitute* "tests/hsts-db-test.c"
2735 ((".*/hsts-db/subdomains.*") ""))
2737 ;; Generate a self-signed certificate that has "localhost" as its
2738 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2739 ;; 3.5.12, tests such as "ssl-tests" fail:
2741 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2743 ;; 'certtool' is interactive so we have to pipe it the answers.
2744 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2745 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2746 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2747 (for-each (lambda (line)
2752 "Guix" ;Organizational unit name
2753 "GNU" ;Organization name
2755 "" ;State or province
2757 "" ;subject's domain component (DC)
2760 "-1" ;expiration time
2761 "N" ;belong to authority?
2762 "N" ;web client certificate?
2764 "Y" ;web server certificate?
2765 "localhost" ;dnsName of subject
2766 "" ;dnsName of subject (end)
2768 "127.0.0.1" ;IP address of subject
2770 "" ;encryption (RSA)?
2771 "" ;data encryption?
2772 "" ;sign OCSP requests?
2775 "" ;email protection?
2776 "" ;URI of the CRL distribution point
2781 (add-after 'install 'move-doc
2782 (lambda* (#:key outputs #:allow-other-keys)
2783 (let ((out (assoc-ref outputs "out"))
2784 (doc (assoc-ref outputs "doc")))
2785 (mkdir-p (string-append doc "/share"))
2786 (copy-recursively (string-append out "/share/gtk-doc")
2787 (string-append doc "/share/gtk-doc"))
2788 (delete-file-recursively (string-append out "/share/gtk-doc"))
2791 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2792 ("gobject-introspection" ,gobject-introspection)
2793 ("gtk-doc" ,gtk-doc)
2794 ("intltool" ,intltool)
2795 ("pkg-config" ,pkg-config)
2796 ("python" ,python-wrapper)
2798 ;; These are needed for the tests.
2799 ;; FIXME: Add PHP once available.
2801 ("gnutls" ,gnutls) ;for 'certtool'
2804 ;; libsoup-2.4.pc refers to all these.
2805 `(("brotli" ,google-brotli)
2808 ("libxml2" ,libxml2)
2812 `(("glib-networking" ,glib-networking)
2813 ("mit-krb5" ,mit-krb5)))
2814 (home-page "https://live.gnome.org/LibSoup/")
2815 (synopsis "GLib-based HTTP Library")
2817 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2818 and the GLib main loop, to integrate well with GNOME applications.")
2819 (license license:lgpl2.0+)))
2821 (define-public libsecret
2828 "mirror://gnome/sources/libsecret/"
2829 (version-major+minor version) "/"
2830 "libsecret-" version ".tar.xz"))
2833 "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5"))))
2834 (build-system gnu-build-system)
2835 (outputs '("out" "doc"))
2837 `(#:tests? #f ; FIXME: Testing hangs.
2839 (list (string-append "--with-html-dir="
2840 (assoc-ref %outputs "doc")
2841 "/share/gtk-doc/html"))))
2843 `(("gettext" ,gettext-minimal)
2844 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2845 ("gobject-introspection" ,gobject-introspection)
2846 ("pkg-config" ,pkg-config)
2848 ("xsltproc" ,libxslt)))
2849 ;; These are needed for the tests.
2850 ;; FIXME: Add gjs once available.
2852 ;("python2" ,python-2)
2853 ;("python2-dbus" ,python2-dbus)
2854 ;("python2-pygobject" ,python2-pygobject)
2855 ;("python2-pygobject-2" ,python2-pygobject-2)))
2857 `(("glib" ,glib))) ; required by libsecret-1.pc
2859 `(("docbook-xsl" ,docbook-xsl)
2860 ("libgcrypt" ,libgcrypt)
2861 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2862 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2863 (synopsis "GObject bindings for \"Secret Service\" API")
2865 "Libsecret is a GObject based library for storing and retrieving passwords
2866 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2867 (license license:lgpl2.1+)))
2869 (define-public five-or-more
2871 (name "five-or-more")
2876 (uri (string-append "mirror://gnome/sources/" name "/"
2877 (version-major+minor version) "/"
2878 name "-" version ".tar.xz"))
2881 "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x"))))
2882 (build-system glib-or-gtk-build-system)
2884 `(("pkg-config" ,pkg-config)
2885 ("desktop-file-utils" ,desktop-file-utils)
2886 ("intltool" ,intltool)
2887 ("itstool" ,itstool)
2888 ("xmllint" ,libxml2)))
2891 ("librsvg" ,librsvg)))
2892 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2893 (synopsis "Logic puzzle game")
2894 (description "Five or More is a game where you try to align
2895 five or more objects of the same color and shape causing them to disappear.
2896 On every turn more objects will appear, until the board is full.
2897 Try to last as long as possible.")
2898 (license license:gpl2+)))
2900 (define-public gnome-mines
2902 (name "gnome-mines")
2903 (version "3.30.1.1")
2907 (uri (string-append "mirror://gnome/sources/" name "/"
2908 (version-major+minor version) "/"
2909 name "-" version ".tar.xz"))
2912 "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z"))))
2913 (build-system meson-build-system)
2916 (modify-phases %standard-phases
2917 (delete 'bootstrap))))
2919 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
2920 ("pkg-config" ,pkg-config)
2921 ("desktop-file-utils" ,desktop-file-utils)
2922 ("intltool" ,intltool)
2923 ("itstool" ,itstool)
2926 ("appstream-glib" ,appstream-glib)))
2929 ("libgnome-games-support" ,libgnome-games-support)
2930 ("librsvg" ,librsvg)))
2931 (home-page "https://wiki.gnome.org/Apps/Mines")
2932 (synopsis "Minesweeper game")
2934 "Mines (previously gnomine) is a puzzle game where you locate mines
2935 floating in an ocean using only your brain and a little bit of luck.")
2936 (license license:gpl2+)))
2938 (define-public gnome-sudoku
2940 (name "gnome-sudoku")
2945 (uri (string-append "mirror://gnome/sources/" name "/"
2946 (version-major+minor version) "/"
2947 name "-" version ".tar.xz"))
2950 "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f"))))
2951 (build-system glib-or-gtk-build-system)
2953 `(("pkg-config" ,pkg-config)
2954 ("desktop-file-utils" ,desktop-file-utils)
2955 ("intltool" ,intltool)
2956 ("itstool" ,itstool)
2957 ("xmllint" ,libxml2)))
2960 ("json-glib" ,json-glib)
2962 ("librsvg" ,librsvg)
2963 ("qqwing" ,qqwing)))
2964 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2965 (synopsis "Japanese logic game")
2967 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2968 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2969 possible while still providing features that make playing difficult Sudoku
2971 (license license:gpl2+)))
2973 (define-public gnome-terminal
2975 (name "gnome-terminal")
2980 (uri (string-append "mirror://gnome/sources/" name "/"
2981 (version-major+minor version) "/"
2982 name "-" version ".tar.xz"))
2985 "0bar8qazk39acsif31h8i408nl82mzdcdg6p7ymak4l9pxyscxf8"))))
2986 (build-system glib-or-gtk-build-system)
2989 (list "--disable-migration" "--disable-search-provider"
2990 "--without-nautilus-extension")
2992 (modify-phases %standard-phases
2993 (add-before 'configure 'patch-/bin/true
2995 (substitute* "configure"
2996 (("/bin/true") (which "true"))))))))
2998 `(("pkg-config" ,pkg-config)
2999 ("desktop-file-utils" ,desktop-file-utils)
3000 ("intltool" ,intltool)
3001 ("itstool" ,itstool)
3002 ("xmllint" ,libxml2)))
3004 `(("dconf" ,dconf)))
3009 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3010 ("util-linux" ,util-linux)
3012 (home-page "https://wiki.gnome.org/Apps/Terminal")
3013 (synopsis "Terminal emulator")
3015 "GNOME Terminal is a terminal emulator application for accessing a
3016 UNIX shell environment which can be used to run programs available on
3019 It supports several profiles, multiple tabs and implements several
3020 keyboard shortcuts.")
3021 (license license:gpl3+)))
3023 (define-public colord
3030 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3031 "colord-" version ".tar.xz"))
3033 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3034 (build-system meson-build-system)
3036 '(;; FIXME: One test fails:
3037 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3038 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3039 ;; application/x-zerosize
3042 #:configure-flags (list "-Dlocalstatedir=/var"
3043 ;; No dep on systemd.
3045 ;; Wants to install to global completion dir;
3047 "-Dbash_completion=false"
3048 ;; colord-gtk not packaged yet.
3049 "-Dsession_example=false"
3050 "-Ddaemon_user=colord"
3052 ;; Requires spotread
3053 "-Dargyllcms_sensor=false"
3054 ;; TODO: Requires docbook2x
3057 (modify-phases %standard-phases
3058 (add-before 'configure 'patch-build-system
3059 (lambda* (#:key outputs #:allow-other-keys)
3060 (substitute* "rules/meson.build"
3061 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3062 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3065 `(("pkg-config" ,pkg-config)
3066 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3067 ("gobject-introspection" ,gobject-introspection)
3068 ("gtk-doc" ,gtk-doc)
3069 ("libtool" ,libtool)
3070 ("intltool" ,intltool)))
3072 ;; colord.pc refers to all these.
3077 `(("dbus-glib" ,dbus-glib)
3079 ("libgudev" ,libgudev)
3083 ("python" ,python-wrapper)
3084 ("sane-backends" ,sane-backends)))
3085 (home-page "https://www.freedesktop.org/software/colord/")
3086 (synopsis "Color management service")
3087 (description "Colord is a system service that makes it easy to manage,
3088 install and generate color profiles to accurately color manage input and
3090 (license license:gpl2+)))
3092 (define-public geoclue
3099 (uri (string-append "https://www.freedesktop.org/software/" name
3100 "/releases/" (version-major+minor version) "/"
3101 name "-" version ".tar.xz"))
3104 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
3105 (patches (search-patches "geoclue-config.patch"))))
3106 (build-system glib-or-gtk-build-system)
3108 '(;; The tests want to run the system bus.
3110 #:configure-flags (list ;; Disable bits requiring ModemManager.
3111 "--disable-3g-source"
3112 "--disable-cdma-source"
3113 "--disable-modem-gps-source"
3114 "--with-dbus-service-user=geoclue")
3116 (modify-phases %standard-phases
3117 (add-before 'configure 'patch-/bin/true
3119 (substitute* "configure"
3120 (("/bin/true") (which "true")))
3123 `(("pkg-config" ,pkg-config)
3124 ("gobject-introspection" ,gobject-introspection)
3125 ("intltool" ,intltool)))
3129 ("json-glib" ,json-glib)
3130 ("libsoup" ,libsoup)))
3131 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3132 (synopsis "Geolocation service")
3133 (description "Geoclue is a D-Bus service that provides location
3134 information. The primary goal of the Geoclue project is to make creating
3135 location-aware applications as simple as possible, while the secondary goal is
3136 to ensure that no application can access location information without explicit
3137 permission from user.")
3138 (license license:gpl2+)))
3140 (define-public geocode-glib
3142 (name "geocode-glib")
3146 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3147 (version-major+minor version) "/"
3148 "geocode-glib-" version ".tar.xz"))
3151 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
3152 (build-system meson-build-system)
3155 (modify-phases %standard-phases
3156 ;; The tests require a bunch of locales.
3157 (add-before 'check 'set-locales
3158 (lambda* (#:key inputs #:allow-other-keys)
3159 (setenv "GUIX_LOCPATH"
3160 (string-append (assoc-ref inputs "glibc-locales")
3164 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3165 ("glibc-locales" ,glibc-locales) ; for tests
3166 ("gettext" ,gettext-minimal)
3167 ("gobject-introspection" ,gobject-introspection)
3168 ("gtk-doc" ,gtk-doc)
3169 ("pkg-config" ,pkg-config)
3170 ("json-glib" ,json-glib)))
3172 ;; geocode-glib-1.0.pc refers to GIO.
3175 `(("libsoup" ,libsoup)))
3176 (home-page "https://github.com/GNOME/geocode-glib/")
3177 (synopsis "Geocoding and reverse-geocoding library")
3179 "geocode-glib is a convenience library for geocoding (finding longitude,
3180 and latitude from an address) and reverse geocoding (finding an address from
3181 coordinates) using the Nominatim service. geocode-glib caches requests for
3182 faster results and to avoid unnecessary server load.")
3183 (license license:lgpl2.0+)))
3185 (define-public upower
3191 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3192 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
3193 "upower-" version ".tar.xz"))
3196 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
3197 (patches (search-patches "upower-builddir.patch"))))
3198 (build-system glib-or-gtk-build-system)
3200 '( ;; The tests want to contact the system bus, which can't be done in the
3201 ;; build environment. The integration test can run, but the last of
3202 ;; the up-self-tests doesn't. Disable tests for now.
3204 #:configure-flags (list "--localstatedir=/var"
3205 (string-append "--with-udevrulesdir="
3206 (assoc-ref %outputs "out")
3207 "/lib/udev/rules.d"))))
3209 `(("gobject-introspection" ,gobject-introspection)
3210 ("pkg-config" ,pkg-config)
3211 ("intltool" ,intltool)
3215 ("libxslt" ,libxslt) ;for 'xsltproc'
3216 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3217 ("docbook-xsl" ,docbook-xsl)))
3219 `(("dbus-glib" ,dbus-glib)
3220 ("libgudev" ,libgudev)
3221 ("libusb" ,libusb)))
3223 ;; In Requires of upower-glib.pc.
3225 (home-page "https://upower.freedesktop.org/")
3226 (synopsis "System daemon for managing power devices")
3228 "UPower is an abstraction for enumerating power devices,
3229 listening to device events and querying history and statistics. Any
3230 application or service on the system can access the org.freedesktop.UPower
3231 service via the system message bus.")
3232 (license license:gpl2+)))
3234 (define-public libgweather
3236 (name "libgweather")
3240 (uri (string-append "mirror://gnome/sources/" name "/"
3241 (version-major+minor version) "/"
3242 name "-" version ".tar.xz"))
3245 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
3246 (build-system meson-build-system)
3248 `(#:tests? #f ; one of two tests requires network access
3250 `(,(string-append "-Dzoneinfo_dir="
3251 (assoc-ref %build-inputs "tzdata")
3252 "/share/zoneinfo"))))
3254 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3255 ("gobject-introspection" ,gobject-introspection)
3256 ("pkg-config" ,pkg-config)
3258 ("intltool" ,intltool)))
3260 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3263 ("gdk-pixbuf" ,gdk-pixbuf)
3264 ("libxml2" ,libxml2)
3265 ("libsoup" ,libsoup)
3266 ("geocode-glib" ,geocode-glib)))
3268 `(("tzdata" ,tzdata)))
3269 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3270 (synopsis "Location, time zone, and weather library for GNOME")
3272 "libgweather is a library to access weather information from online
3273 services for numerous locations.")
3274 (license license:gpl2+)))
3276 (define-public gnome-settings-daemon
3278 (name "gnome-settings-daemon")
3283 (uri (string-append "mirror://gnome/sources/" name "/"
3284 (version-major+minor version) "/"
3285 name "-" version ".tar.xz"))
3288 "0c663csa3gnsr6wm0xfll6aani45snkdj7zjwjfzcwfh8w4a3z12"))))
3289 (build-system meson-build-system)
3293 (list (string-append "-Dudev_dir="
3294 (assoc-ref %outputs "out")
3295 "/lib/udev/rules.d/")
3296 ;; Otherwise, the RUNPATH will lack the final path component.
3297 (string-append "-Dc_link_args=-Wl,-rpath="
3298 (assoc-ref %outputs "out")
3299 "/lib/gnome-settings-daemon-3.0"))
3300 ;; Color management test can't reach the colord system service.
3303 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3304 ("pkg-config" ,pkg-config)
3305 ("intltool" ,intltool)
3306 ("xsltproc" ,libxslt)
3307 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3308 ("docbook-xml" ,docbook-xml-4.2)
3309 ("docbook-xsl" ,docbook-xsl)))
3311 `(("alsa-lib" ,alsa-lib)
3313 ("libgudev" ,libgudev)
3316 ("pulseaudio" ,pulseaudio)
3317 ("libcanberra" ,libcanberra)
3319 ("libxtst" ,libxtst)
3321 ("libnotify" ,libnotify)
3322 ("geoclue" ,geoclue)
3323 ("geocode-glib" ,geocode-glib)
3324 ("libgweather" ,libgweather)
3325 ("gnome-desktop" ,gnome-desktop)
3328 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3329 ("libwacom" ,libwacom)
3330 ("librsvg" ,librsvg)
3331 ("xf86-input-wacom" ,xf86-input-wacom)
3332 ("wayland" ,wayland)
3333 ("network-manager" ,network-manager)))
3334 (home-page "https://www.gnome.org")
3335 (synopsis "GNOME settings daemon")
3337 "This package contains the daemon responsible for setting the various
3338 parameters of a GNOME session and the applications that run under it. It
3339 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3340 settings, themes, mouse settings, and startup of other daemons.")
3341 (license license:gpl2+)))
3343 (define-public totem-pl-parser
3345 (name "totem-pl-parser")
3349 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3350 (version-major+minor version) "/"
3351 "totem-pl-parser-" version ".tar.xz"))
3354 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
3355 (build-system meson-build-system)
3357 ;; FIXME: Tests require gvfs.
3360 `(("intltool" ,intltool)
3361 ("glib" ,glib "bin")
3362 ("gobject-introspection" ,gobject-introspection)
3363 ("pkg-config" ,pkg-config)))
3367 ("libarchive" ,libarchive)
3368 ("libgcrypt" ,libgcrypt)
3369 ("libxml2" ,libxml2)))
3371 `(("libsoup" ,libsoup)))
3372 (home-page "https://projects.gnome.org/totem")
3373 (synopsis "Library to parse and save media playlists for GNOME")
3374 (description "Totem-pl-parser is a GObjects-based library to parse and save
3375 playlists in a variety of formats.")
3376 (license license:lgpl2.0+)))
3378 (define-public aisleriot
3384 (uri (string-append "mirror://gnome/sources/aisleriot/"
3385 (version-major+minor version) "/"
3386 "aisleriot-" version ".tar.xz"))
3389 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
3390 (build-system glib-or-gtk-build-system)
3393 '("--with-platform=gtk-only"
3394 "--with-card-theme-formats=svg")))
3396 `(("desktop-file-utils" ,desktop-file-utils)
3397 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3398 ("intltool" ,intltool)
3399 ("itstool" ,itstool)
3400 ("pkg-config" ,pkg-config)
3401 ("xmllint" ,libxml2)))
3404 ("guile" ,guile-2.2)
3405 ("libcanberra" ,libcanberra)
3406 ("librsvg" ,librsvg)))
3407 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3408 (synopsis "Solitaire card games")
3410 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3411 which are easy to play with the aid of a mouse.")
3412 (license license:gpl3+)))
3420 (uri (string-append "mirror://gnome/sources/amtk/"
3421 (version-major+minor version) "/"
3422 "amtk-" version ".tar.xz"))
3425 "09yy95w1s83c43mh9vha1jbb780yighf5pd2j0ygjmc68sjg871d"))))
3426 (build-system gnu-build-system)
3428 '(#:configure-flags '("--enable-gtk-doc")))
3430 `(("gobject-introspection" ,gobject-introspection)
3431 ("glib:bin" ,glib "bin") ; for glib-mkenums
3432 ("gtk-doc" ,gtk-doc)
3433 ("pkg-config" ,pkg-config)))
3437 (home-page "https://wiki.gnome.org/Projects/Amtk")
3438 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
3440 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
3441 It is a basic GtkUIManager replacement based on GAction. It is suitable for
3442 both a traditional UI or a modern UI with a GtkHeaderBar.")
3443 (license license:lgpl2.1+)))
3445 (define-public devhelp
3451 (uri (string-append "mirror://gnome/sources/" name "/"
3452 (version-major+minor version) "/"
3453 name "-" version ".tar.xz"))
3456 "036sddvhs0blqpc2ixmjdl9vxynvkn5jpgn0jxr1fxcm4rh3q07a"))))
3457 (build-system meson-build-system)
3459 `(("intltool" ,intltool)
3460 ("itstool" ,itstool)
3461 ("gobject-introspection" ,gobject-introspection)
3462 ("glib:bin" ,glib "bin") ; for glib-mkmenus
3463 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3464 ("pkg-config" ,pkg-config)))
3467 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3468 ("webkitgtk" ,webkitgtk)))
3469 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3470 (synopsis "API documentation browser for GNOME")
3472 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3473 natively with GTK-Doc (the API reference system developed for GTK+ and used
3474 throughout GNOME for API documentation).")
3475 (license license:gpl2+)))
3484 (uri (string-append "mirror://gnome/sources/cogl/"
3485 (version-major+minor version) "/"
3486 "cogl-" version ".tar.xz"))
3488 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
3489 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3490 ;; cogl, corresponding changes may be appropriate in mutter as well.
3491 (build-system gnu-build-system)
3493 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3494 ("gobject-introspection" ,gobject-introspection)
3495 ;;("xorg-server" ,xorg-server) ; for the test suite
3496 ("pkg-config" ,pkg-config)))
3499 ("gdk-pixbuf" ,gdk-pixbuf)
3501 ("libxext" ,libxext)
3502 ("libxfixes" ,libxfixes)
3503 ("libxdamage" ,libxdamage)
3504 ("libxcomposite" ,libxcomposite)
3505 ("libxrandr" ,libxrandr)))
3510 ("gstreamer" ,gstreamer)
3511 ("gst-plugins-base" ,gst-plugins-base)
3512 ("wayland" ,wayland)))
3514 `(#:configure-flags (list "--enable-cogl-gst"
3515 "--enable-wayland-egl-platform"
3516 "--enable-wayland-egl-server"
3518 ;; Arrange to pass an absolute file name to
3519 ;; dlopen for libGL.so.
3520 (string-append "--with-gl-libname="
3521 (assoc-ref %build-inputs "mesa")
3523 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3524 ;; _FontTransOpen: Unable to Parse address
3525 ;; ${prefix}/share/fonts/X11/misc/
3529 (modify-phases %standard-phases
3530 (add-before 'check 'start-xorg-server
3531 (lambda* (#:key inputs #:allow-other-keys)
3532 ;; The test suite requires a running X server.
3533 (system (format #f "~a/bin/Xvfb :1 &"
3534 (assoc-ref inputs "xorg-server")))
3535 (setenv "DISPLAY" ":1")
3537 (home-page "http://www.cogl3d.org")
3538 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3540 "Cogl is a small library for using 3D graphics hardware to draw pretty
3541 pictures. The API departs from the flat state machine style of OpenGL and is
3542 designed to make it easy to write orthogonal components that can render
3543 without stepping on each others toes.")
3544 (license (list license:expat ; most of the code
3545 license:bsd-3 ; cogl/cogl-point-in-poly.c
3546 license:sgifreeb2.0 ; cogl-path/tesselator/
3547 license:asl2.0)))) ; examples/android/
3549 (define-public clutter
3556 (uri (string-append "mirror://gnome/sources/" name "/"
3557 (version-major+minor version) "/"
3558 name "-" version ".tar.xz"))
3561 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3562 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3563 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3564 (build-system gnu-build-system)
3566 "doc")) ;9 MiB of gtk-doc HTML pages
3568 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3569 ("gobject-introspection" ,gobject-introspection)
3570 ("pkg-config" ,pkg-config)
3571 ("xsltproc" ,libxslt)))
3577 ("json-glib" ,json-glib)
3579 ("libxcomposite" ,libxcomposite)
3580 ("libxdamage" ,libxdamage)
3581 ("libxext" ,libxext)
3582 ("xinput" ,xinput)))
3584 `(("libxkbcommon" ,libxkbcommon)
3587 `(#:configure-flags (list "--enable-x11-backend=yes"
3589 ;; This produces share/doc/{clutter,cally}.
3590 (string-append "--with-html-dir="
3591 (assoc-ref %outputs "doc")
3593 ;; XXX FIXME: Get test suite working. It would probably fail in the
3594 ;; same way the cogl tests fail, since clutter is based on cogl.
3596 (home-page "http://www.clutter-project.org")
3597 (synopsis "OpenGL-based interactive canvas library")
3599 "Clutter is an OpenGL-based interactive canvas library, designed for
3600 creating fast, mainly 2D single window applications such as media box UIs,
3601 presentations, kiosk style applications and so on.")
3602 (license license:lgpl2.0+)))
3604 (define-public clutter-gtk
3606 (name "clutter-gtk")
3611 (uri (string-append "mirror://gnome/sources/" name "/"
3612 (version-major+minor version) "/"
3613 name "-" version ".tar.xz"))
3616 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3617 (build-system gnu-build-system)
3619 `(("pkg-config" ,pkg-config)
3620 ("gobject-introspection" ,gobject-introspection)))
3622 ;; clutter-gtk.pc refers to all these.
3623 `(("clutter" ,clutter)
3625 (home-page "http://www.clutter-project.org")
3626 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
3628 "Clutter is an OpenGL-based interactive canvas library, designed for
3629 creating fast, mainly 2D single window applications such as media box UIs,
3630 presentations, kiosk style applications and so on.")
3631 (license license:lgpl2.0+)))
3633 (define-public clutter-gst
3635 (name "clutter-gst")
3640 (uri (string-append "mirror://gnome/sources/clutter-gst/"
3641 (version-major+minor version) "/"
3642 "clutter-gst-" version ".tar.xz"))
3644 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
3645 (build-system gnu-build-system)
3647 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3648 ("pkg-config" ,pkg-config)
3649 ("gobject-introspection" ,gobject-introspection)))
3651 `(("clutter" ,clutter)
3652 ("gstreamer" ,gstreamer)
3653 ("gst-plugins-base" ,gst-plugins-base)))
3654 (home-page "http://www.clutter-project.org")
3655 (synopsis "Integration library for using GStreamer with Clutter")
3657 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3658 It provides a GStreamer sink to upload frames to GL and an actor that
3659 implements the ClutterGstPlayer interface using playbin. Clutter is an
3660 OpenGL-based interactive canvas library.")
3661 (license license:lgpl2.0+)))
3663 (define-public libchamplain
3665 (name "libchamplain")
3670 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3674 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3675 (build-system gnu-build-system)
3676 (arguments '(#:configure-flags '("--enable-vala")))
3678 `(("gobject-introspection" ,gobject-introspection)
3679 ("pkg-config" ,pkg-config)
3682 `(("libsoup" ,libsoup)
3684 ("clutter" ,clutter)
3685 ("clutter-gtk" ,clutter-gtk)
3686 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3690 (home-page "https://projects.gnome.org/libchamplain/")
3691 (synopsis "C library providing a ClutterActor to display maps")
3693 "libchamplain is a C library providing a ClutterActor to display maps.
3694 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3695 and Perl bindings are also available. It supports numerous free map sources
3696 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3697 (license license:lgpl2.1+)))
3706 (uri (string-append "mirror://gnome/sources/gom/"
3707 (version-major+minor version) "/"
3708 "gom-" version ".tar.xz"))
3711 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3712 (build-system gnu-build-system)
3714 `(("intltool" ,intltool)
3715 ("pkg-config" ,pkg-config)
3716 ("gobject-introspection" ,gobject-introspection)))
3719 ("gdk-pixbuf" ,gdk-pixbuf)
3720 ("sqlite" ,sqlite)))
3721 ;; XXX TODO: Figure out how to run the test suite.
3722 (arguments `(#:tests? #f))
3723 (home-page "https://wiki.gnome.org/Projects/Gom")
3724 (synopsis "Object mapper from GObjects to SQLite")
3726 "Gom provides an object mapper from GObjects to SQLite. It helps you
3727 write applications that need to store structured data as well as make complex
3728 queries upon that data.")
3729 (license license:lgpl2.1+)))
3731 (define-public libgnome-games-support
3733 (name "libgnome-games-support")
3737 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
3738 (version-major+minor version) "/"
3739 "libgnome-games-support-" version ".tar.xz"))
3742 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
3743 (build-system gnu-build-system)
3746 (modify-phases %standard-phases
3747 (add-before 'check 'pre-check
3749 ;; Tests require a writable HOME.
3750 (setenv "HOME" (getcwd))
3753 `(("intltool" ,intltool)
3754 ("pkg-config" ,pkg-config)
3757 ;; Required by libgnome-games-support-1.0.pc
3759 ("libgee" ,libgee)))
3760 (home-page "https://www.gnome.org/")
3761 (synopsis "Useful functionality shared among GNOME games")
3763 "libgnome-games-support is a small library intended for internal use by
3764 GNOME Games, but it may be used by others.")
3765 (license license:lgpl3+)))
3767 (define-public gnome-klotski
3769 (name "gnome-klotski")
3773 (uri (string-append "mirror://gnome/sources/" name "/"
3774 (version-major+minor version) "/"
3775 name "-" version ".tar.xz"))
3778 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3779 (build-system glib-or-gtk-build-system)
3781 `(("desktop-file-utils" ,desktop-file-utils)
3782 ("intltool" ,intltool)
3783 ("itstool" ,itstool)
3784 ("pkg-config" ,pkg-config)
3785 ("xmllint" ,libxml2)))
3788 ("libgnome-games-support" ,libgnome-games-support)
3789 ("librsvg" ,librsvg)))
3790 (home-page "https://wiki.gnome.org/Apps/Klotski")
3791 (synopsis "Sliding block puzzles")
3793 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3794 the patterned block to the area bordered by green markers. To do so, you will
3795 need to slide other blocks out of the way. Complete each puzzle in as few moves
3797 (license license:gpl2+)))
3799 (define-public grilo
3806 (uri (string-append "mirror://gnome/sources/" name "/"
3807 (version-major+minor version) "/"
3808 name "-" version ".tar.xz"))
3811 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3812 (build-system gnu-build-system)
3814 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3815 ("intltool" ,intltool)
3816 ("pkg-config" ,pkg-config)
3817 ("gobject-introspection" ,gobject-introspection)))
3819 `(("cyrus-sasl" ,cyrus-sasl)
3822 ("libxml2" ,libxml2)
3823 ("liboauth" ,liboauth)
3824 ("libsoup" ,libsoup)
3825 ("totem-pl-parser" ,totem-pl-parser)))
3828 (modify-phases %standard-phases
3829 (add-after 'unpack 'fix-introspection-install-dir
3830 (lambda* (#:key outputs #:allow-other-keys)
3831 (let ((out (assoc-ref outputs "out")))
3832 (substitute* '("src/Makefile.in"
3833 "libs/pls/Makefile.in"
3834 "libs/net/Makefile.in")
3835 (("@INTROSPECTION_GIRDIR@")
3836 (string-append out "/share/gir-1.0/"))
3837 (("@INTROSPECTION_TYPELIBDIR@")
3838 (string-append out "/lib/girepository-1.0/")))
3840 (native-search-paths
3841 (list (search-path-specification
3842 (variable "GRL_PLUGIN_PATH")
3843 (files (list (string-append "lib/grilo-"
3844 (version-major+minor version)))))))
3845 (home-page "https://live.gnome.org/Grilo")
3846 (synopsis "Framework for discovering and browsing media")
3848 "Grilo is a framework focused on making media discovery and browsing easy
3849 for application developers.")
3850 (license license:lgpl2.1+)))
3852 (define-public grilo-plugins
3854 (name "grilo-plugins")
3859 (uri (string-append "mirror://gnome/sources/" name "/"
3860 (version-major+minor version) "/"
3861 name "-" version ".tar.xz"))
3864 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3865 (build-system gnu-build-system)
3867 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3868 ("intltool" ,intltool)
3869 ("itstool" ,itstool)
3870 ("pkg-config" ,pkg-config)))
3874 ("libxml2" ,libxml2)
3877 ;; XXX TODO: Add oauth
3878 ;; XXX TODO: Add goa
3879 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3880 ;; XXX TODO: Add lua (needs help finding it)
3881 ("json-glib" ,json-glib)
3884 ("libsoup" ,libsoup)
3885 ("libarchive" ,libarchive)
3886 ("totem-pl-parser" ,totem-pl-parser)))
3888 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3891 ,(version-major+minor version)))
3892 ;; XXX FIXME: Try to get the test suite working. It appears to require
3893 ;; a working system dbus. Inside the build container, all tests fail
3894 ;; with: "assertion failed: (source)". Outside of the build container,
3895 ;; most tests succeed.
3897 (home-page "https://live.gnome.org/Grilo")
3898 (synopsis "Plugins for the Grilo media discovery library")
3900 "Grilo is a framework focused on making media discovery and browsing easy
3901 for application developers.")
3902 (license license:lgpl2.1+)))
3904 (define-public totem
3911 (uri (string-append "mirror://gnome/sources/" name "/"
3912 (version-major+minor version) "/"
3913 name "-" version ".tar.xz"))
3916 "0rahkybxbmxhlmrrgrzxny1xm7wycx7ib4blxp1i2l1q3i8s84b0"))
3917 (patches (search-patches "totem-meson-easy-codec.patch"
3918 "totem-meson-compat.patch"))))
3919 (build-system meson-build-system)
3921 `(("pkg-config" ,pkg-config)
3922 ("desktop-file-utils" ,desktop-file-utils)
3923 ("gobject-introspection" ,gobject-introspection)
3924 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3925 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3926 ("intltool" ,intltool)
3927 ("itstool" ,itstool)
3928 ("xmllint" ,libxml2)))
3930 `(("dconf" ,dconf)))
3933 ("gdk-pixbuf" ,gdk-pixbuf)
3936 ("dbus-glib" ,dbus-glib)
3937 ("clutter" ,clutter)
3938 ("clutter-gtk" ,clutter-gtk)
3939 ("clutter-gst" ,clutter-gst)
3940 ("xorgproto" ,xorgproto)
3941 ("libxxf86vm" ,libxxf86vm)
3942 ("libxtst" ,libxtst)
3943 ("libxrandr" ,libxrandr)
3944 ("libxml2" ,libxml2)
3945 ("libsoup" ,libsoup)
3946 ("libpeas" ,libpeas)
3947 ("librsvg" ,librsvg)
3949 ("gnome-desktop" ,gnome-desktop)
3950 ("gstreamer" ,gstreamer)
3951 ("gst-plugins-base" ,gst-plugins-base)
3952 ("gst-plugins-good" ,gst-plugins-good)
3953 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3954 ("adwaita-icon-theme" ,adwaita-icon-theme)
3956 ("python-pygobject" ,python2-pygobject)
3957 ;; XXX TODO pylint needed for python support
3958 ("totem-pl-parser" ,totem-pl-parser)
3960 ("grilo-plugins" ,grilo-plugins)
3965 ;; Disable parallel builds until
3966 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3967 ;; fixed. Try enabling it when updating this package in case
3968 ;; upstream has fixed it.
3969 #:parallel-build? #f
3971 ;; Disable automatic GStreamer plugin installation via PackageKit and
3973 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3975 ;; Do not build .a files for the plugins, it's
3976 ;; completely useless. This saves 2 MiB.
3977 "--default-library" "shared")
3980 (modify-phases %standard-phases
3982 'install 'disable-cache-generation
3984 (setenv "DESTDIR" "/")
3987 'install 'wrap-totem
3988 (lambda* (#:key inputs outputs #:allow-other-keys)
3989 (let ((out (assoc-ref outputs "out"))
3990 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3991 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3992 (wrap-program (string-append out "/bin/totem")
3993 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3994 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3995 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3996 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3998 (home-page "https://wiki.gnome.org/Apps/Videos")
3999 (synopsis "Simple media player for GNOME based on GStreamer")
4000 (description "Totem is a simple yet featureful media player for GNOME
4001 which can read a large number of file formats.")
4002 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4003 ;; to be used and distributed together with GStreamer and Totem. See
4004 ;; file://COPYING in the source distribution for details.
4005 (license license:gpl2+)))
4007 (define-public rhythmbox
4013 (uri (string-append "mirror://gnome/sources/" name "/"
4014 (version-major+minor version) "/"
4015 name "-" version ".tar.xz"))
4018 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
4019 (build-system glib-or-gtk-build-system)
4022 (list "--enable-lirc"
4029 (modify-phases %standard-phases
4031 'install 'wrap-rhythmbox
4032 (lambda* (#:key inputs outputs #:allow-other-keys)
4033 (let ((out (assoc-ref outputs "out"))
4034 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4035 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4036 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4037 (python-path (getenv "PYTHONPATH")))
4038 (wrap-program (string-append out "/bin/rhythmbox")
4039 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4040 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4041 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4042 `("PYTHONPATH" ":" prefix (,python-path))))
4045 `(("dconf" ,dconf)))
4047 `(("itstool" ,itstool)
4048 ("intltool" ,intltool)
4049 ("glib" ,glib "bin")
4050 ("gobject-introspection" ,gobject-introspection)
4051 ("desktop-file-utils" ,desktop-file-utils)
4052 ("pkg-config" ,pkg-config)
4053 ("xmllint" ,libxml2)))
4055 `(("json-glib" ,json-glib)
4057 ("gnome-desktop" ,gnome-desktop)
4059 ("python-pygobject" ,python2-pygobject)
4062 ("adwaita-icon-theme" ,adwaita-icon-theme)
4064 ("grilo-plugins" ,grilo-plugins)
4065 ("gstreamer" ,gstreamer)
4066 ("gst-plugins-base" ,gst-plugins-base)
4067 ("gst-plugins-good" ,gst-plugins-good)
4068 ("totem-pl-parser" ,totem-pl-parser)
4069 ("libgudev" ,libgudev)
4070 ;;("libmtp" ,libmtp) FIXME: Not detected
4071 ("libsecret" ,libsecret)
4072 ("libsoup" ,libsoup)
4073 ("libnotify" ,libnotify)
4074 ("libpeas" ,libpeas)
4076 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4077 ;;("clutter" ,clutter)
4078 ;;("clutter-gtk" ,clutter-gtk)
4079 ;;("clutter-gst" ,clutter-gst)
4080 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4087 ("brasero" ,brasero)))
4088 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4089 (synopsis "Music player for GNOME")
4090 (description "Rhythmbox is a music playing application for GNOME. It
4091 supports playlists, song ratings, and any codecs installed through gstreamer.")
4092 (license license:gpl2+)))
4100 (uri (string-append "mirror://gnome/sources/" name "/"
4101 (version-major+minor version) "/"
4102 name "-" version ".tar.xz"))
4105 "1wrq3l3z0x6q0hnc1vqr2hnyb1b14qw6aqvc5dldfgbs0yys6p55"))))
4106 (build-system meson-build-system)
4109 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4110 (list (string-append "-Dc_link_args=-Wl,-rpath="
4111 (assoc-ref %outputs "out") "/lib/eog"))
4113 (modify-phases %standard-phases
4114 (add-after 'install 'wrap-eog
4115 (lambda* (#:key outputs #:allow-other-keys)
4116 (let ((out (assoc-ref outputs "out"))
4117 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4118 (wrap-program (string-append out "/bin/eog")
4119 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4122 `(("dconf" ,dconf)))
4124 `(("intltool" ,intltool)
4125 ("itstool" ,itstool)
4126 ("glib" ,glib "bin")
4127 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4128 ("gobject-introspection" ,gobject-introspection)
4129 ("pkg-config" ,pkg-config)
4130 ("xmllint" ,libxml2)))
4132 `(("gnome-desktop" ,gnome-desktop)
4133 ("shared-mime-info" ,shared-mime-info)
4134 ("adwaita-icon-theme" ,adwaita-icon-theme)
4137 ("libexif" ,libexif)
4138 ("libpeas" ,libpeas)
4139 ("libjpeg" ,libjpeg)
4140 ("librsvg" ,librsvg)
4141 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4143 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4144 (synopsis "GNOME image viewer")
4145 (description "Eye of GNOME is the GNOME image viewer. It
4146 supports image conversion, rotation, and slideshows.")
4147 (license license:gpl2+)))
4149 (define-public eog-plugins
4150 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4151 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4152 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4153 ;; 'XDG_DATA_DIRS' appropriately set.
4155 (name "eog-plugins")
4159 (uri (string-append "mirror://gnome/sources/eog-plugins/"
4160 (version-major+minor version) "/"
4161 "eog-plugins-" version ".tar.xz"))
4164 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
4165 (build-system gnu-build-system)
4166 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4167 (synopsis "Extensions for the Eye of GNOME image viewer")
4169 `(("pkg-config" ,pkg-config)
4170 ("gettext" ,gnu-gettext)))
4175 ("libpeas" ,libpeas)
4176 ("libexif" ,libexif)
4177 ("libchamplain" ,libchamplain)))
4179 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4183 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4184 @item @dfn{Map}, which displays a map of where the picture was taken on the
4186 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4189 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4190 ;; long suspicious byte stream that goes to a
4191 ;; ".gresource.eog_postasa_plugin" ELF section.
4192 (license license:gpl2+)))
4194 (define-public libgudev
4200 (uri (string-append "mirror://gnome/sources/" name "/"
4201 version "/" name "-" version ".tar.xz"))
4204 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
4205 (build-system gnu-build-system)
4208 ;; umockdev depends on libgudev.
4209 (list "--disable-umockdev")))
4211 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4212 ("gobject-introspection" ,gobject-introspection)
4213 ("pkg-config" ,pkg-config)))
4215 `(("glib" ,glib))) ; required by gudev-1.0.pc
4218 (home-page "https://wiki.gnome.org/Projects/libgudev")
4219 (synopsis "GObject bindings for libudev")
4221 "This library provides GObject bindings for libudev. It was originally
4222 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4223 (license license:lgpl2.1+)))
4231 (uri (string-append "mirror://gnome/sources/gvfs/"
4232 (version-major+minor version) "/"
4233 "gvfs-" version ".tar.xz"))
4236 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
4237 (build-system meson-build-system)
4241 (list "-Dsystemduserunitdir=no"
4243 ;; Otherwise, the RUNPATH will lack the final path component.
4244 (string-append "-Dc_link_args=-Wl,-rpath="
4245 (assoc-ref %outputs "out") "/lib/gvfs"))))
4247 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4248 ("gettext" ,gettext-minimal)
4249 ("gtk-doc" ,gtk-doc)
4250 ("pkg-config" ,pkg-config)
4251 ("xsltproc" ,libxslt)))
4254 ("docbook-xml" ,docbook-xml-4.2)
4255 ("docbook-xsl" ,docbook-xsl)
4257 ("elogind" ,elogind)
4261 ("gnome-online-accounts" ,gnome-online-accounts)
4262 ("libarchive" ,libarchive)
4263 ("libbluray" ,libbluray)
4265 ("libcdio-paranoia" ,libcdio-paranoia)
4266 ("libgcrypt" ,libgcrypt)
4267 ("libgdata" ,libgdata)
4268 ("libgphoto2" ,libgphoto2)
4269 ("libgudev" ,libgudev)
4270 ("libimobiledevice" ,libimobiledevice)
4273 ("libsecret" ,libsecret)
4274 ("libsmbclient" ,samba)
4275 ("libsoup" ,libsoup)
4276 ("libxml2" ,libxml2)
4277 ("openssh" ,openssh)
4279 ("udisks" ,udisks)))
4280 (home-page "https://wiki.gnome.org/gvfs/")
4281 (synopsis "Userspace virtual file system for GIO")
4283 "GVFS is a userspace virtual file system designed to work with the I/O
4284 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4285 to all applications using the GIO API. It also supports exposing the GVFS
4286 mounts to non-GIO applications using FUSE.
4288 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4290 (license license:lgpl2.0+)))
4298 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4302 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4303 (build-system meson-build-system)
4305 `(("gobject-introspection" ,gobject-introspection)
4306 ("pkg-config" ,pkg-config)
4308 ("gtk-doc" ,gtk-doc)))
4310 ;; Both of these are required by gusb.pc.
4312 ("libusb" ,libusb)))
4314 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4315 (home-page "https://github.com/hughsie/libgusb")
4316 (synopsis "GLib binding for libusb1")
4318 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4319 asynchronous control, bulk and interrupt transfers with proper cancellation
4320 and integration into a mainloop. This makes it easy to integrate low level
4321 USB transfers with your high-level application or system daemon.")
4322 (license license:lgpl2.1+)))
4324 (define-public simple-scan
4326 (name "simple-scan")
4330 (uri (string-append "https://launchpad.net/simple-scan/"
4331 (version-major+minor version) "/"
4332 version "/+download/simple-scan-"
4336 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4337 (build-system glib-or-gtk-build-system)
4342 ("gdk-pixbuf" ,gdk-pixbuf)
4344 ("libsane" ,sane-backends)))
4346 `(("gettext" ,gettext-minimal)
4347 ("itstool" ,itstool)
4349 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4350 ("pkg-config" ,pkg-config)
4352 ("xmllint" ,libxml2)))
4354 '(#:configure-flags '("--disable-packagekit")
4356 (modify-phases %standard-phases
4357 (add-after 'unpack 'clean
4359 ;; Remove a left-over reference to PackageKit.
4361 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4363 ;; There are some generated C files erroneously
4364 ;; included in the source distribution, and this
4365 ;; one breaks the build by referring to a
4366 ;; non-existent header (packagekit.h)
4367 (delete-file "src/ui.c"))))))
4368 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
4369 (synopsis "Document and image scanner")
4370 (description "Simple Scan is an easy-to-use application, designed to let
4371 users connect their scanner and quickly have the image/document in an
4372 appropriate format. Simple Scan is basically a frontend for SANE - which is
4373 the same backend as XSANE uses. This means that all existing scanners will
4374 work and the interface is well tested.")
4375 (license license:gpl3+)))
4377 (define-public eolie
4383 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4384 "uploads/d42b466752729a0d3fa828a721e25043/"
4385 "eolie-" version ".tar.xz"))
4388 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
4389 (build-system meson-build-system)
4393 (modify-phases %standard-phases
4394 (add-after 'wrap 'wrap-more
4395 (lambda* (#:key inputs outputs #:allow-other-keys)
4396 (let* ((out (assoc-ref outputs "out"))
4397 ;; These libraries must be on LD_LIBRARY_PATH.
4398 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4399 "atk" "gtk+" "gsettings-desktop-schemas"
4400 "gobject-introspection"))
4403 (string-append (assoc-ref inputs lib) "/lib"))
4406 (wrap-program (string-append out "/bin/eolie")
4407 `("LD_LIBRARY_PATH" ":" prefix (,path))
4408 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4409 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4412 `(("intltool" ,intltool)
4413 ("itstool" ,itstool)
4414 ("pkg-config" ,pkg-config)
4416 ("glib:bin" ,glib "bin")
4417 ("gtk+" ,gtk+ "bin")))
4419 `(("gobject-introspection" ,gobject-introspection)
4420 ("glib-networking" ,glib-networking)
4423 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4424 ("python" ,python-wrapper)
4425 ("python-dateutil" ,python-dateutil)
4426 ("python-pyfxa" ,python-pyfxa)
4427 ("python-pygobject" ,python-pygobject)
4428 ("python-pycairo" ,python-pycairo)
4429 ("python-pycrypto" ,python-pycrypto)
4430 ("libsecret" ,libsecret)
4431 ("gtkspell3" ,gtkspell3)
4432 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4433 ("webkitgtk" ,webkitgtk)))
4434 (home-page "https://wiki.gnome.org/Apps/Eolie")
4435 (synopsis "Web browser for GNOME")
4437 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4438 a secret password store, an adblocker, and a modern UI.")
4439 (license license:gpl3+)))
4441 (define-public epiphany
4447 (uri (string-append "mirror://gnome/sources/epiphany/"
4448 (version-major+minor version) "/"
4449 "epiphany-" version ".tar.xz"))
4452 "0nk0krzrfck6hhfs52f4sjmj93yjyvabm72bq8i8f9l1pass5vgd"))))
4454 (build-system meson-build-system)
4456 ;; FIXME: tests run under Xvfb, but fail with:
4457 ;; /src/bookmarks/ephy-bookmarks/create:
4458 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4464 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4465 (list (string-append "-Dc_link_args=-Wl,-rpath="
4466 (assoc-ref %outputs "out") "/lib/epiphany"))))
4468 `(("dconf" ,dconf)))
4470 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4471 ("glib:bin" ,glib "bin") ; for glib-mkenums
4472 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4473 ("intltool" ,intltool)
4474 ("itstool" ,itstool)
4475 ("pkg-config" ,pkg-config)
4476 ("xmllint" ,libxml2)))
4480 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4481 ("glib-networking" ,glib-networking)
4482 ("gnome-desktop" ,gnome-desktop)
4483 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4484 ("json-glib" ,json-glib)
4485 ("iso-codes" ,iso-codes)
4486 ("libdazzle" ,libdazzle)
4487 ("libnotify" ,libnotify)
4488 ("libsecret" ,libsecret)
4489 ("libxslt" ,libxslt)
4490 ("nettle" ,nettle) ; for hogweed
4492 ("webkitgtk" ,webkitgtk)))
4493 (home-page "https://wiki.gnome.org/Apps/Web")
4494 (synopsis "GNOME web browser")
4496 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4497 principles are simplicity and standards compliance.")
4498 (license license:gpl2+)))
4500 (define-public d-feet
4506 (uri (string-append "mirror://gnome/sources/" name "/"
4507 (version-major+minor version) "/"
4508 name "-" version ".tar.xz"))
4511 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
4512 (build-system glib-or-gtk-build-system)
4514 '(#:out-of-source? #f ; tests need to run in the source directory.
4516 (modify-phases %standard-phases
4520 ;; The test suite requires a running X server.
4521 (system "Xvfb :1 &")
4522 (setenv "DISPLAY" ":1")
4523 ;; Don't fail on missing '/etc/machine-id'.
4524 (setenv "DBUS_FATAL_WARNINGS" "0")
4525 ;; tests.py and window.py don't meet E402:
4526 ;; E402 module level import not at top of file
4527 (substitute* "src/tests/Makefile"
4528 (("--ignore=E123") "--ignore=E123,E402"))
4531 'install 'wrap-program
4532 (lambda* (#:key outputs #:allow-other-keys)
4533 (let ((prog (string-append (assoc-ref outputs "out")
4536 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4537 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4540 `(("intltool" ,intltool)
4541 ("itstool" ,itstool)
4542 ("pkg-config" ,pkg-config)
4543 ("python-pep8" ,python-pep8)
4544 ("xmllint" ,libxml2)
4545 ("xorg-server" ,xorg-server)))
4547 `(("gobject-introspection" ,gobject-introspection)
4549 ("python" ,python-wrapper)
4550 ("hicolor-icon-theme" ,hicolor-icon-theme)
4551 ("python-pygobject" ,python-pygobject)))
4552 (home-page "https://wiki.gnome.org/Apps/DFeet")
4553 (synopsis "D-Bus debugger")
4555 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4556 of running programs and invoke methods on those interfaces.")
4557 (license license:gpl2+)))
4559 (define-public yelp-xsl
4565 (uri (string-append "mirror://gnome/sources/" name "/"
4566 (version-major+minor version) "/"
4567 name "-" version ".tar.xz"))
4570 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
4571 (build-system gnu-build-system)
4573 `(("intltool" ,intltool)
4574 ("itstool" ,itstool)
4575 ("xmllint" ,libxml2)))
4576 (home-page "https://wiki.gnome.org/Apps/Yelp")
4577 (synopsis "XSL stylesheets for Yelp")
4579 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4580 to format Docbook and Mallard documents.")
4581 (license license:gpl2+)))
4589 (uri (string-append "mirror://gnome/sources/" name "/"
4590 (version-major+minor version) "/"
4591 name "-" version ".tar.xz"))
4594 "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4"))))
4595 (build-system glib-or-gtk-build-system)
4597 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4598 ("intltool" ,intltool)
4599 ("itstool" ,itstool)
4600 ("pkg-config" ,pkg-config)))
4602 `(("dconf" ,dconf)))
4604 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4605 ("libxslt" ,libxslt)
4607 ("webkitgtk" ,webkitgtk)
4608 ("yelp-xsl" ,yelp-xsl)))
4609 (home-page "https://wiki.gnome.org/Apps/Yelp")
4610 (synopsis "GNOME help browser")
4612 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4613 man, info, and HTML documents. It can locate documents according to the
4614 freedesktop.org help system specification.")
4615 (license license:gpl2+)))
4617 (define-public yelp-tools
4623 (uri (string-append "mirror://gnome/sources/" name "/"
4624 (version-major+minor version) "/"
4625 name "-" version ".tar.xz"))
4628 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
4629 (build-system gnu-build-system)
4631 `(("pkg-config" ,pkg-config)))
4633 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4634 `(("itstool" ,itstool)
4635 ("xmllint" ,libxml2)
4636 ("xsltproc" ,libxslt)))
4638 `(("yelp-xsl" ,yelp-xsl)))
4639 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4640 (synopsis "Yelp documentation tools")
4642 "Yelp-tools is a collection of scripts and build utilities to help create,
4643 manage, and publish documentation for Yelp and the web. Most of the heavy
4644 lifting is done by packages like yelp-xsl and itstool. This package just
4645 wraps things up in a developer-friendly way.")
4646 (license license:gpl2+)))
4648 (define-public yelp-tools/fixed
4649 ;; This variant fixes a python-libxml2 crash when processing UTF-8
4650 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
4651 ;; the next rebuild cycle.
4656 `(("itstool" ,itstool/fixed)
4657 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
4659 (define-public libgee
4665 (uri (string-append "mirror://gnome/sources/libgee/"
4666 (version-major+minor version) "/"
4667 "libgee-" version ".tar.xz"))
4670 "0g1mhl7nidg82v4cikkk8dakzc18hg7wv0dsf2pbyijzfm5mq0wy"))))
4671 (build-system gnu-build-system)
4674 (modify-phases %standard-phases
4675 (add-after 'unpack 'fix-introspection-install-dir
4676 (lambda* (#:key outputs #:allow-other-keys)
4677 (let ((out (assoc-ref outputs "out")))
4678 (substitute* "gee/Makefile.in"
4679 (("@INTROSPECTION_GIRDIR@")
4680 (string-append out "/share/gir-1.0/"))
4681 (("@INTROSPECTION_TYPELIBDIR@")
4682 (string-append out "/lib/girepository-1.0/")))))))))
4684 `(("glib" ,glib "bin")
4685 ("pkg-config" ,pkg-config)))
4688 ("gobject-introspection" ,gobject-introspection)))
4689 (home-page "https://wiki.gnome.org/Projects/Libgee")
4690 (synopsis "GObject collection library")
4692 "Libgee is a utility library providing GObject-based interfaces and
4693 classes for commonly used data structures.")
4694 (license license:lgpl2.1+)))
4696 (define-public gexiv2
4702 (uri (string-append "mirror://gnome/sources/" name "/"
4703 (version-major+minor version) "/"
4704 name "-" version ".tar.xz"))
4707 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
4708 (build-system meson-build-system)
4711 ("glib" ,glib "bin")
4712 ("pkg-config" ,pkg-config)
4715 ;; Listed in "Requires" section of gexiv2.pc
4716 `(("exiv2" ,exiv2)))
4719 ("gobject-introspection" ,gobject-introspection)))
4720 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4721 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4723 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4724 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4725 metadata in photo and video files of various formats.")
4726 (license license:gpl2+)))
4728 (define-public shotwell
4734 (uri (string-append "mirror://gnome/sources/shotwell/"
4735 (version-major+minor version) "/"
4736 "shotwell-" version ".tar.xz"))
4739 "1m9i8r4gyd2hzlxjjwfyck4kz7gdg2vz2k6l6d0ga9hdfq2l4p9l"))))
4740 (build-system meson-build-system)
4742 '(#:glib-or-gtk? #t))
4744 `(("dconf" ,dconf)))
4746 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4747 ("gettext" ,gettext-minimal)
4748 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4749 ("itstool" ,itstool)
4750 ("pkg-config" ,pkg-config)
4753 `(("glib:bin" ,glib "bin")
4754 ("gstreamer" ,gstreamer)
4755 ("gst-plugins-base" ,gst-plugins-base)
4756 ("libgdata" ,libgdata)
4760 ("json-glib" ,json-glib)
4761 ("webkitgtk" ,webkitgtk)
4763 ("libsoup" ,libsoup)
4764 ("libxml2" ,libxml2)
4765 ("libgudev" ,libgudev)
4766 ("libgphoto2" ,libgphoto2)
4768 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4769 (synopsis "Photo manager for GNOME 3")
4771 "Shotwell is a digital photo manager designed for the GNOME desktop
4772 environment. It allows you to import photos from disk or camera, organize
4773 them by keywords and events, view them in full-window or fullscreen mode, and
4774 share them with others via social networking and more.")
4775 (license license:lgpl2.1+)))
4777 (define-public file-roller
4779 (name "file-roller")
4783 (uri (string-append "mirror://gnome/sources/" name "/"
4784 (version-major+minor version) "/"
4785 name "-" version ".tar.xz"))
4788 "0kiragsqyixyx15747b71qc4nw8y4jx9d55wgg612xb0hp5l9pj1"))))
4789 (build-system meson-build-system)
4791 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4792 ("intltool" ,intltool)
4793 ("pkg-config" ,pkg-config)
4794 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4795 ("glib:bin" ,glib "bin")))
4796 ;; TODO: Add libnautilus.
4799 ("gdk-pixbuf" ,gdk-pixbuf)
4800 ("json-glib" ,json-glib)
4801 ("libarchive" ,libarchive)
4802 ("libnotify" ,libnotify)
4803 ("itstool" ,itstool)
4804 ("libxml2" ,libxml2)))
4805 (synopsis "Graphical archive manager for GNOME")
4806 (description "File Roller is an archive manager for the GNOME desktop
4807 environment that allows users to view, unpack, and create compressed archives
4808 such as gzip tarballs.")
4809 (home-page "http://fileroller.sourceforge.net/")
4810 (license license:gpl2+)))
4812 (define-public gnome-session
4814 (name "gnome-session")
4818 (uri (string-append "mirror://gnome/sources/" name "/"
4819 (version-major+minor version) "/"
4820 name "-" version ".tar.xz"))
4823 "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa"))))
4827 (modify-phases %standard-phases
4828 (add-before 'configure 'pre-configure
4829 (lambda* (#:key outputs #:allow-other-keys)
4830 ;; Use elogind instead of systemd.
4831 (substitute* "meson.build"
4832 (("libsystemd-login") "libelogind")
4833 (("and libsystemd_daemon_dep.found.*") ","))
4834 (substitute* "gnome-session/gsm-systemd.c"
4835 (("#include <systemd/sd-login.h>")
4836 "#include <elogind/sd-login.h>"))
4837 ;; Remove uses of the systemd daemon.
4838 (substitute* "gnome-session/gsm-autostart-app.c"
4839 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4841 (add-after 'install 'wrap-gnome-session
4842 (lambda* (#:key inputs outputs #:allow-other-keys)
4843 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4844 (let ((glib (assoc-ref inputs "glib:bin"))
4845 (out (assoc-ref outputs "out")))
4846 (wrap-program (string-append out "/bin/gnome-session")
4847 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4851 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4852 "-Dman=false" ; FIXME: disabled because of docbook validation error
4853 "-Dsystemd_journal=false")))
4854 (build-system meson-build-system)
4856 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4857 ("pkg-config" ,pkg-config)
4858 ("intltool" ,intltool)
4859 ("xsltproc" ,libxslt)
4860 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4861 ("docbook-xsl" ,docbook-xsl)
4862 ("docbook-xml" ,docbook-xml)
4865 `(("elogind" ,elogind)
4866 ("gnome-desktop" ,gnome-desktop)
4867 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4869 ("json-glib" ,json-glib)
4871 ("libxcomposite" ,libxcomposite)
4872 ("libxtst" ,libxtst)
4875 ("xtrans" ,xtrans)))
4876 (synopsis "Session manager for GNOME")
4878 "This package contains the GNOME session manager, as well as a
4879 configuration program to choose applications starting on login.")
4880 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4881 (license license:gpl2+)))
4889 (uri (string-append "mirror://gnome/sources/" name "/"
4890 (version-major+minor version) "/"
4891 name "-" version ".tar.xz"))
4894 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
4895 (build-system gnu-build-system)
4898 (modify-phases %standard-phases
4902 ;; The test suite requires a running X server.
4903 (system "Xvfb :1 &")
4904 (setenv "DISPLAY" ":1")
4906 ;; For the missing /etc/machine-id.
4907 (setenv "DBUS_FATAL_WARNINGS" "0")
4909 ;; Our mozjs-38 package does not compile the required Intl API
4910 ;; support for these failing tests.
4911 (substitute* "installed-tests/js/testLocale.js"
4912 ((".*toBeDefined.*") "")
4913 ((".*expect\\(datestr\\).*") ""))
4914 (substitute* "installed-tests/scripts/testCommandLine.sh"
4919 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4920 ("pkg-config" ,pkg-config)
4921 ("xmllint" ,libxml2)
4923 ("dbus-launch" ,dbus)
4924 ("uuidgen" ,util-linux)
4925 ("xvfb" ,xorg-server-for-tests)))
4927 ;; These are all in the Requires.private field of gjs-1.0.pc.
4929 ("gobject-introspection" ,gobject-introspection)
4930 ("mozjs" ,mozjs-60)))
4933 ("readline" ,readline)))
4934 (synopsis "Javascript bindings for GNOME")
4935 (home-page "https://live.gnome.org/Gjs")
4937 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4938 javascript engine and the GObject introspection framework.")
4939 (license license:gpl2+)))
4941 (define-public gedit
4947 (uri (string-append "mirror://gnome/sources/" name "/"
4948 (version-major+minor version) "/"
4949 name "-" version ".tar.xz"))
4952 "0qwig35hzvjaqic9x92jcpmycnvcybsbnbiw6rppryx0arwb3wza"))))
4953 (build-system glib-or-gtk-build-system)
4956 (modify-phases %standard-phases
4958 'install 'wrap-gedit
4959 (lambda* (#:key inputs outputs #:allow-other-keys)
4960 (let ((out (assoc-ref outputs "out"))
4961 (gtksourceview (assoc-ref inputs "gtksourceview"))
4962 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4963 (python-path (getenv "PYTHONPATH")))
4964 (wrap-program (string-append out "/bin/gedit")
4966 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4967 `("PYTHONPATH" ":" prefix (,python-path))
4968 ;; For language-specs.
4969 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4973 `(("dconf" ,dconf)))
4975 `(("intltool" ,intltool)
4976 ("itstool" ,itstool)
4977 ("gobject-introspection" ,gobject-introspection)
4978 ("pkg-config" ,pkg-config)))
4983 ("gtksourceview" ,gtksourceview-3)
4984 ("libpeas" ,libpeas)
4985 ("libxml2" ,libxml2)
4986 ("iso-codes" ,iso-codes)
4987 ("python-pygobject" ,python-pygobject)
4989 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4992 ("adwaita-icon-theme" ,adwaita-icon-theme)
4993 ("libsoup" ,libsoup)
4994 ("gnome-desktop" ,gnome-desktop)))
4995 (home-page "https://wiki.gnome.org/Apps/Gedit")
4996 (synopsis "GNOME text editor")
4997 (description "While aiming at simplicity and ease of use, gedit is a
4998 powerful general purpose text editor.")
4999 (license license:gpl2+)))
5001 (define-public zenity
5007 (uri (string-append "mirror://gnome/sources/zenity/"
5008 (version-major+minor version) "/"
5009 "zenity-" version ".tar.xz"))
5012 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
5013 (build-system gnu-build-system)
5015 `(("gettext" ,gettext-minimal)
5016 ("itstool" ,itstool)
5017 ("pkg-config" ,pkg-config)))
5019 `(("libnotify" ,libnotify)
5020 ("webkitgtk" ,webkitgtk)))
5021 (synopsis "Display graphical dialog boxes from shell scripts")
5022 (home-page "https://www.gnome.org")
5024 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5025 to display dialog boxes from the commandline and shell scripts.")
5026 (license license:lgpl2.0+)))
5028 (define-public mutter
5034 (uri (string-append "mirror://gnome/sources/" name "/"
5035 (version-major+minor version) "/"
5036 name "-" version ".tar.xz"))
5039 "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z"))))
5040 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5041 ;; versions of cogl and clutter. As a result, many of the inputs,
5042 ;; propagated-inputs, and configure flags used in cogl and clutter are
5043 ;; needed here as well.
5044 (build-system gnu-build-system)
5047 ;; XXX: build fails with [-Werror]:
5048 ;; backends/meta-cursor-renderer.c:112:5: error:
5049 ;; implicit declaration of function ?roundf?
5050 (list "--enable-compile-warnings=minimum"
5052 "--enable-native-backend"
5054 ;; The following flags are needed for the bundled clutter
5055 "--enable-x11-backend=yes"
5057 (string-append "--with-xwayland-path="
5058 (assoc-ref %build-inputs "xorg-server-xwayland")
5061 ;; the remaining flags are needed for the bundled cogl
5063 (string-append "--with-gl-libname="
5064 (assoc-ref %build-inputs "mesa")
5067 (modify-phases %standard-phases
5068 ;; Replace references to systemd libraries to elogind references.
5069 (add-before 'configure 'use-elogind
5071 (substitute* (list "configure"
5072 "src/backends/native/meta-launcher.c"
5074 (("systemd") "elogind"))
5077 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5078 ("gobject-introspection" ,gobject-introspection)
5079 ("intltool" ,intltool)
5080 ("pkg-config" ,pkg-config)
5082 ("autoconf" ,autoconf)
5083 ("automake" ,automake)
5084 ("libtool" ,libtool)))
5086 `(;; libmutter.pc refers to these:
5087 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5089 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5092 ("gdk-pixbuf" ,gdk-pixbuf)
5094 ("json-glib" ,json-glib)
5095 ("libinput" ,libinput)
5097 ("libxcomposite" ,libxcomposite)
5098 ("libxdamage" ,libxdamage)
5099 ("libxext" ,libxext)
5100 ("libxfixes" ,libxfixes)
5101 ("libxkbcommon" ,libxkbcommon)
5102 ("libxrandr" ,libxrandr)
5106 ("xinput" ,xinput)))
5108 `(("elogind" ,elogind)
5109 ("gnome-desktop" ,gnome-desktop)
5110 ("libcanberra-gtk" ,libcanberra)
5111 ("libgudev" ,libgudev)
5114 ("libxkbfile" ,libxkbfile)
5115 ("libxrandr" ,libxrandr)
5116 ("libxtst" ,libxtst)
5117 ("startup-notification" ,startup-notification)
5118 ("upower-glib" ,upower)
5119 ("xkeyboard-config" ,xkeyboard-config)
5120 ("xorg-server-xwayland" ,xorg-server-xwayland)
5121 ("zenity" ,zenity)))
5122 (synopsis "Window and compositing manager")
5123 (home-page "https://www.gnome.org")
5125 "Mutter is a window and compositing manager that displays and manages your
5126 desktop via OpenGL. Mutter combines a sophisticated display engine using the
5127 Clutter toolkit with solid window-management logic inherited from the Metacity
5129 (license license:gpl2+)))
5131 (define-public gnome-online-accounts
5133 (name "gnome-online-accounts")
5137 (uri (string-append "mirror://gnome/sources/" name "/"
5138 (version-major+minor version) "/"
5139 name "-" version ".tar.xz"))
5142 "1p1gdgryziklrgngn6m13xnvfx4gb01h723nndfi9944r24fbiq5"))))
5143 (outputs '("out" "lib"))
5144 (build-system glib-or-gtk-build-system)
5147 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5149 (modify-phases %standard-phases
5150 (add-before 'configure 'patch-libgoa-output
5151 (lambda* (#:key outputs #:allow-other-keys)
5152 (let ((lib (assoc-ref outputs "lib")))
5153 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5155 (("@exec_prefix@") lib)
5156 (("@libdir@") (string-append lib "/lib"))
5157 (("@includedir@") (string-append lib "/include"))
5158 (("@datadir@") (string-append lib "/share")))
5159 ;; Make sure gobject-introspection knows about the output
5160 ;; too (see <https://bugs.gnu.org/36535>).
5161 (setenv "outputs" "out lib")
5164 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5165 ("gobject-introspection" ,gobject-introspection)
5166 ("intltool" ,intltool)
5167 ("pkg-config" ,pkg-config)
5168 ("xsltproc" ,libxslt)))
5170 `(("glib" ,glib) ; required by goa-1.0.pc
5171 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5173 `(("docbook-xsl" ,docbook-xsl)
5174 ("json-glib" ,json-glib)
5175 ("libsecret" ,libsecret)
5177 ("webkitgtk" ,webkitgtk)))
5178 (synopsis "Single sign-on framework for GNOME")
5179 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5181 "GNOME Online Accounts provides interfaces so that applications and
5182 libraries in GNOME can access the user's online accounts. It has providers for
5183 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5184 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5185 (license license:lgpl2.0+)))
5187 (define-public evolution-data-server
5189 (name "evolution-data-server")
5193 (uri (string-append "mirror://gnome/sources/" name "/"
5194 (version-major+minor version) "/"
5195 name "-" version ".tar.xz"))
5196 (patches (search-patches "evolution-data-server-locales.patch"))
5199 "1s952wyhgcbmq9nfgk75v15zdy1h3wy5p5rmkqibaavmc0pk3mli"))))
5200 (build-system cmake-build-system)
5203 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5204 (runpaths (map (lambda (s)
5205 (string-append lib "/evolution-data-server/" s))
5206 '("addressbook-backends" "calendar-backends"
5207 "camel-providers" "credential-modules"
5208 "registry-modules"))))
5209 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5210 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5211 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5212 "-DENABLE_VALA_BINDINGS=ON"
5213 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5214 (string-append lib "/evolution-data-server;")
5215 (string-join runpaths ";"))
5216 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5218 (modify-phases %standard-phases
5219 (add-after 'unpack 'disable-failing-tests
5221 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5222 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5223 (delete-file-recursively "tests/book-migration")
5224 (substitute* "tests/CMakeLists.txt"
5225 (("add_subdirectory\\(book-migration\\)") ""))
5226 ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris:
5227 ;; assertion failed (uris->data == expected_uri):
5228 ;; ("" == "file:///tests/libedata-cal/components/event-1.ics")
5229 (substitute* "tests/libedata-cal/CMakeLists.txt"
5230 (("test-cal-meta-backend") ""))
5232 (add-after 'unpack 'patch-paths
5234 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5235 "tests/libedata-book/data-test-utils.c"
5236 "tests/libedata-book/test-book-cache-utils.c"
5237 "tests/libedata-cal/test-cal-cache-utils.c")
5238 (("/bin/rm") (which "rm")))
5240 (add-before 'configure 'dont-override-rpath
5242 (substitute* "CMakeLists.txt"
5243 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5244 ;; Remove it so the configure flag is respected.
5245 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5248 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5249 ("gobject-introspection" ,gobject-introspection)
5251 ("intltool" ,intltool)
5252 ("pkg-config" ,pkg-config)
5254 ("python" ,python-wrapper)))
5256 ;; These are all in the Requires field of .pc files.
5258 ("libical" ,libical)
5259 ("libsecret" ,libsecret)
5260 ("libsoup" ,libsoup)
5262 ("sqlite" ,sqlite)))
5266 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5267 ("json-glib" ,json-glib)
5268 ("libcanberra" ,libcanberra)
5269 ("libgweather" ,libgweather)
5270 ("mit-krb5" ,mit-krb5)
5271 ("openldap" ,openldap)
5272 ("webkitgtk" ,webkitgtk)))
5273 (synopsis "Store address books and calendars")
5274 (home-page "https://wiki.gnome.org/Apps/Evolution")
5276 "This package provides a unified backend for programs that work with
5277 contacts, tasks, and calendar information. It was originally developed for
5278 Evolution (hence the name), but is now used by other packages as well.")
5279 (license license:lgpl2.0)))
5281 (define-public caribou
5287 (uri (string-append "mirror://gnome/sources/" name "/"
5288 (version-major+minor version) "/"
5289 name "-" version ".tar.xz"))
5292 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5293 (build-system glib-or-gtk-build-system)
5296 (modify-phases %standard-phases
5299 (lambda* (#:key outputs #:allow-other-keys)
5300 (let ((out (assoc-ref outputs "out")))
5301 ;; Use absolute shared library path in Caribou-1.0.typelib.
5302 (substitute* "libcaribou/Makefile"
5303 (("--shared-library=libcaribou.so")
5304 (string-append "--shared-library="
5305 out "/lib/libcaribou.so")))
5307 (add-after 'install 'wrap-programs
5308 (lambda* (#:key outputs #:allow-other-keys)
5309 (let* ((out (assoc-ref outputs "out"))
5310 (python-path (getenv "PYTHONPATH"))
5311 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5315 `("PYTHONPATH" ":" prefix (,python-path))
5316 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5317 (list (string-append out "/bin/caribou-preferences")
5318 (string-append out "/libexec/antler-keyboard"))))
5321 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5322 ("gobject-introspection" ,gobject-introspection)
5323 ("intltool" ,intltool)
5324 ("pkg-config" ,pkg-config)
5325 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5327 ("xsltproc" ,libxslt)))
5329 ;; caribou-1.0.pc refers to all these.
5330 `(("libgee" ,libgee)
5331 ("libxklavier" ,libxklavier)
5332 ("libxtst" ,libxtst)
5335 `(("clutter" ,clutter)
5338 ("python-pygobject" ,python2-pygobject)))
5339 (synopsis "Text entry and UI navigation application")
5340 (home-page "https://wiki.gnome.org/Projects/Caribou")
5342 "Caribou is an input assistive technology intended for switch and pointer
5344 (license license:lgpl2.1)))
5346 (define-public network-manager
5348 (name "network-manager")
5352 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5353 (version-major+minor version) "/"
5354 "NetworkManager-" version ".tar.xz"))
5355 (patches (search-patches "nm-plugin-path.patch"))
5358 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5359 (modules '((guix build utils)))
5362 (substitute* "src/devices/wwan/nm-modem-manager.c"
5363 (("systemd") "elogind"))
5365 (build-system gnu-build-system)
5367 "doc")) ; 8 MiB of gtk-doc HTML
5370 (let ((out (assoc-ref %outputs "out"))
5371 (doc (assoc-ref %outputs "doc"))
5372 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5374 (list "--with-libnm-glib" ; needed by network-manager-applet
5375 "--with-systemd-journal=no"
5376 "--with-session-tracking=elogind"
5377 "--with-suspend-resume=elogind"
5378 "--with-consolekit=no"
5379 "--with-crypto=gnutls"
5380 "--disable-config-plugin-ibft"
5382 "--localstatedir=/var"
5383 (string-append "--with-udev-dir="
5385 (string-append "--with-dbus-sys-dir="
5386 out "/etc/dbus-1/system.d")
5387 (string-append "--with-html-dir="
5388 doc "/share/gtk-doc/html")
5389 (string-append "--with-dhclient=" dhclient)))
5391 (modify-phases %standard-phases
5392 ;; This bare "ls" invocation breaks some tests.
5393 (add-after 'unpack 'patch-ls-invocation
5395 (substitute* "build-aux/ltmain.sh"
5397 (string-append "`" (which "ls") " -")))
5399 (add-before 'configure 'pre-configure
5401 ;; These tests try to test aspects of network-manager's
5402 ;; functionality within restricted containers, but they don't
5403 ;; cope with being already in the Guix build jail as that jail
5404 ;; lacks some features that they would like to proxy over (like
5406 (substitute* '("Makefile.in")
5407 (("src/platform/tests/test-address-linux") " ")
5408 (("src/platform/tests/test-cleanup-linux") " ")
5409 (("src/platform/tests/test-link-linux") " ")
5410 (("src/platform/tests/test-route-linux") " ")
5411 (("src/devices/tests/test-acd") "")
5412 (("src/devices/tests/test-arping") " ")
5413 (("src/devices/tests/test-lldp") " ")
5414 (("src/tests/test-route-manager-linux") " "))
5416 (add-after 'unpack 'delete-failing-tests
5418 ;; FIXME: These three tests fail for unknown reasons.
5419 ;; ERROR:libnm-core/tests/test-general.c:5842:
5420 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5421 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5422 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5423 ;; ERROR:libnm-core/tests/test-setting.c:907:
5424 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5425 (substitute* "Makefile.in"
5426 (("libnm-core/tests/test-general") " ")
5427 (("libnm-core/tests/test-keyfile") " ")
5428 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
5430 (add-before 'check 'pre-check
5432 ;; For the missing /etc/machine-id.
5433 (setenv "DBUS_FATAL_WARNINGS" "0")
5441 "nmstatedir=/tmp/nm"
5447 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5448 ("gobject-introspection" ,gobject-introspection)
5449 ("docbook-xsl" ,docbook-xsl)
5450 ("intltool" ,intltool)
5451 ("libxslt" ,libxslt)
5452 ("libxml2" ,libxml2)
5453 ("pkg-config" ,pkg-config)
5455 ("python" ,python-wrapper)
5456 ("python-dbus" ,python-dbus)
5457 ("python-pygobject" ,python-pygobject)))
5459 `(("coreutils" ,coreutils) ; for ls
5461 ("cyrus-sasl" ,cyrus-sasl)
5462 ("dbus-glib" ,dbus-glib)
5463 ("dnsmasq" ,dnsmasq)
5466 ("iptables" ,iptables)
5467 ("isc-dhcp" ,isc-dhcp)
5468 ("jansson" ,jansson)
5469 ("libgcrypt" ,libgcrypt)
5470 ("libgudev" ,libgudev)
5473 ("libsoup" ,libsoup)
5474 ("modem-manager" ,modem-manager)
5475 ("newt" ,newt) ;for the 'nmtui' console interface
5478 ("readline" ,readline)
5479 ("util-linux" ,util-linux)
5480 ("elogind" ,elogind)))
5481 (synopsis "Network connection manager")
5482 (home-page "https://www.gnome.org/projects/NetworkManager/")
5484 "NetworkManager is a system network service that manages your network
5485 devices and connections, attempting to keep active network connectivity when
5486 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5487 devices, and provides VPN integration with a variety of different VPN
5489 (license license:gpl2+)
5490 (properties '((upstream-name . "NetworkManager")))))
5492 (define-public network-manager-openvpn
5494 (name "network-manager-openvpn")
5495 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
5500 "mirror://gnome/sources/NetworkManager-openvpn/"
5501 (version-major+minor version)
5502 "/NetworkManager-openvpn-" version ".tar.xz"))
5505 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
5506 (build-system gnu-build-system)
5508 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5510 (modify-phases %standard-phases
5511 (add-after 'configure 'patch-path
5512 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5513 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
5515 (modprobe (string-append (assoc-ref inputs "kmod")
5517 (pretty-ovpn (string-append "\"" ovpn "\"")))
5521 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
5522 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
5523 (("\"/sbin/openvpn\"") pretty-ovpn)
5524 (("/sbin/modprobe") modprobe)))
5525 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
5528 `(("pkg-config" ,pkg-config)
5529 ("intltool" ,intltool)))
5533 ("openvpn" ,openvpn)
5534 ("network-manager" ,network-manager)
5535 ("network-manager-applet" ,network-manager-applet) ;for libnma
5536 ("libsecret" ,libsecret)))
5537 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5538 (synopsis "OpenVPN plug-in for NetworkManager")
5540 "This extension of NetworkManager allows it to take care of connections
5541 to virtual private networks (VPNs) via OpenVPN.")
5542 (license license:gpl2+)
5543 (properties `((upstream-name . "NetworkManager-openvpn")))))
5545 (define-public network-manager-vpnc
5547 (name "network-manager-vpnc")
5552 "mirror://gnome/sources/NetworkManager-vpnc/"
5553 (version-major+minor version)
5554 "/NetworkManager-vpnc-" version ".tar.xz"))
5557 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
5558 (build-system gnu-build-system)
5560 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5562 (modify-phases %standard-phases
5563 (add-after 'configure 'patch-path
5564 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5565 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
5567 (modprobe (string-append (assoc-ref inputs "kmod")
5569 (pretty-ovpn (string-append "\"" vpnc "\"")))
5570 (substitute* "src/nm-vpnc-service.c"
5571 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
5572 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
5573 (("\"/sbin/vpnc\"") pretty-ovpn)
5574 (("/sbin/modprobe") modprobe)))
5577 `(("pkg-config" ,pkg-config)
5578 ("intltool" ,intltool)))
5583 ("network-manager" ,network-manager)
5584 ("network-manager-applet" ,network-manager-applet) ;for libnma
5585 ("libsecret" ,libsecret)))
5586 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5587 (synopsis "VPNC plug-in for NetworkManager")
5589 "Support for configuring virtual private networks based on VPNC.
5590 Compatible with Cisco VPN concentrators configured to use IPsec.")
5591 (license license:gpl2+)
5592 (properties `((upstream-name . "NetworkManager-vpnc")))))
5594 (define-public network-manager-openconnect
5596 (name "network-manager-openconnect")
5601 "mirror://gnome/sources/NetworkManager-openconnect/"
5602 (version-major+minor version)
5603 "/NetworkManager-openconnect-" version ".tar.xz"))
5606 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
5607 (build-system gnu-build-system)
5609 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5611 (modify-phases %standard-phases
5612 (add-after 'configure 'patch-path
5613 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5614 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
5615 "/sbin/openconnect"))
5616 (modprobe (string-append (assoc-ref inputs "kmod")
5618 (pretty-ovpn (string-append "\"" openconnect "\"")))
5619 (substitute* "src/nm-openconnect-service.c"
5620 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
5621 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
5622 (("/sbin/modprobe") modprobe)))
5625 `(("intltool" ,intltool)
5626 ("network-manager-applet" ,network-manager-applet) ;for libnma
5627 ("pkg-config" ,pkg-config)))
5632 ("libsecret" ,libsecret)
5633 ("libxml2" ,libxml2)
5634 ("network-manager" ,network-manager)
5635 ("openconnect" ,openconnect)))
5636 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5637 (synopsis "OpenConnect plug-in for NetworkManager")
5639 "This extension of NetworkManager allows it to take care of connections
5640 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
5641 Cisco's AnyConnect SSL VPN.")
5642 (license license:gpl2+)
5643 (properties `((upstream-name . "NetworkManager-openconnect")
5645 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
5646 ;; file refers to account "nm-openconnect". Specify it here
5647 ;; so that 'network-manager-service-type' creates it.
5648 (user-accounts . ("nm-openconnect"))))))
5650 (define-public mobile-broadband-provider-info
5652 (name "mobile-broadband-provider-info")
5653 (version "20190116")
5657 "mirror://gnome/sources/"
5658 "mobile-broadband-provider-info/" version "/"
5659 "mobile-broadband-provider-info-" version ".tar.xz"))
5662 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
5663 (build-system gnu-build-system)
5665 `(#:tests? #f)) ; no tests
5666 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5667 (synopsis "Database of broadband connection configuration")
5668 (description "Database of broadband connection configuration.")
5669 (license license:public-domain)))
5671 (define-public network-manager-applet
5673 (name "network-manager-applet")
5677 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
5678 (version-major+minor version) "/"
5679 "network-manager-applet-" version ".tar.xz"))
5682 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
5683 (build-system meson-build-system)
5686 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
5687 (list "-Dlibnm_gtk=true")
5690 `(("intltool" ,intltool)
5691 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5692 ("gobject-introspection" ,gobject-introspection)
5693 ("gtk-doc" ,gtk-doc)
5694 ("pkg-config" ,pkg-config)))
5696 ;; libnm-gtk.pc refers to all these.
5697 `(("dbus-glib" ,dbus-glib)
5699 ("network-manager" ,network-manager)))
5702 ("iso-codes" ,iso-codes)
5703 ("libgudev" ,libgudev)
5704 ("libnotify" ,libnotify)
5705 ("libsecret" ,libsecret)
5706 ("libselinux" ,libselinux)
5707 ("jansson" ,jansson) ; for team support
5708 ("modem-manager" ,modem-manager)
5709 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
5710 (synopsis "Applet for managing network connections")
5711 (home-page "https://www.gnome.org/projects/NetworkManager/")
5713 "This package contains a systray applet for NetworkManager. It displays
5714 the available networks and allows users to easily switch between them.")
5715 (license license:gpl2+)))
5717 (define-public libxml++
5723 (uri (string-append "mirror://gnome/sources/" name "/"
5724 (version-major+minor version) "/"
5725 name "-" version ".tar.xz"))
5728 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5729 (build-system gnu-build-system)
5730 ;; libxml++-3.0.pc refers to all these.
5732 `(("libxml2" ,libxml2)
5733 ("glibmm" ,glibmm)))
5736 ("pkg-config" ,pkg-config)))
5737 (home-page "http://libxmlplusplus.sourceforge.net/")
5738 (synopsis "C++ wrapper for XML parser library libxml2")
5740 "This package provides a C++ wrapper for the XML parser library
5742 (license license:lgpl2.1+)))
5744 (define-public libxml++-2
5751 (uri (string-append "mirror://gnome/sources/" name "/"
5752 (version-major+minor version) "/"
5753 name "-" version ".tar.xz"))
5756 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5764 (uri (string-append "mirror://gnome/sources/" name "/"
5765 (version-major+minor version) "/"
5766 name "-" version ".tar.xz"))
5769 "15f7lz7z75krgbq8vb800afj96h8mw2fpy1s28za2911x5vgq0ak"))))
5770 (build-system glib-or-gtk-build-system)
5773 `("--without-plymouth"
5774 "--disable-systemd-journal"
5776 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5777 ;; instead of having to replace it (i.e., stopping the mingetty
5778 ;; service for TTY 1 before starting GDM).
5779 "--with-initial-vt=7"
5781 ;; Use '/etc/environment' for locale settings instead of the
5782 ;; systemd-specific '/etc/locale.conf'.
5783 "--with-lang-file=/etc/environment"
5785 ,(string-append "--with-udevdir="
5786 (assoc-ref %outputs "out") "/lib/udev")
5788 "--localstatedir=/var"
5789 ,(string-append "--with-default-path="
5790 (string-join '("/run/setuid-programs"
5791 "/run/current-system/profile/bin"
5792 "/run/current-system/profile/sbin")
5794 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5795 ;; XDG_DATA_DIRS so that it finds its schemas.
5796 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5798 (modify-phases %standard-phases
5800 'configure 'pre-configure
5801 (lambda* (#:key inputs outputs #:allow-other-keys)
5802 ;; We don't have <systemd/sd-daemon.h>.
5803 (substitute* '("common/gdm-log.c"
5804 "daemon/gdm-server.c"
5805 "daemon/gdm-session-worker.c"
5806 "daemon/gdm-session-worker-job.c")
5807 (("#include <systemd/sd-daemon\\.h>") ""))
5808 ;; Use elogind for sd-login.
5809 (substitute* '("common/gdm-common.c"
5810 "daemon/gdm-manager.c"
5811 "libgdm/gdm-user-switching.c")
5812 (("#include <systemd/sd-login\\.h>")
5813 "#include <elogind/sd-login.h>"))
5814 ;; Check for elogind.
5815 (substitute* '("configure")
5818 ;; Look for system-installed sessions in
5819 ;; /run/current-system/profile/share.
5820 (substitute* '("libgdm/gdm-sessions.c"
5821 "daemon/gdm-session.c"
5822 "daemon/gdm-display.c"
5823 "daemon/gdm-launch-environment.c")
5825 "\"/run/current-system/profile/share/x")
5826 (("DATADIR \"/wayland")
5827 "\"/run/current-system/profile/share/wayland")
5828 (("DATADIR \"/gnome")
5829 "\"/run/current-system/profile/share/gnome"))
5830 (let ((propagate '("GDM_CUSTOM_CONF"
5834 ;; XXX: Remove this once GNOME Shell is
5835 ;; a dependency of GDM.
5837 (substitute* "daemon/gdm-session.c"
5838 (("set_up_session_environment \\(self\\);")
5839 (apply string-append
5840 "set_up_session_environment (self);\n"
5843 "gdm_session_set_environment_variable "
5844 "(self, \"" name "\","
5845 "g_getenv (\"" name "\"));\n"))
5847 ;; Find the configuration file using an environment variable.
5848 (substitute* '("common/gdm-settings.c")
5849 (("GDM_CUSTOM_CONF")
5850 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5851 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5852 " : GDM_CUSTOM_CONF)")))
5853 ;; Use service-supplied path to X.
5854 (substitute* '("daemon/gdm-server.c")
5855 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5856 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5857 (substitute* '("daemon/gdm-x-session.c")
5858 (("\"dbus-daemon\"")
5859 "g_getenv (\"GDM_DBUS_DAEMON\")")
5861 "g_getenv (\"GDM_X_SERVER\")")
5862 (("GDMCONFDIR \"/Xsession\"")
5863 "g_getenv (\"GDM_X_SESSION\")"))
5864 ;; Use an absolute path for GNOME Session.
5865 (substitute* "daemon/gdm-launch-environment.c"
5866 (("\"gnome-session\"")
5867 (string-append "\"" (assoc-ref inputs "gnome-session")
5868 "/bin/gnome-session\"")))
5869 ;; Do not automatically select the placeholder session.
5870 (substitute* "daemon/gdm-session.c"
5871 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5872 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5873 "(g_strcmp0(search_dirs[i], \""
5874 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5876 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5877 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5878 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
5880 ;; GDM requires that there be at least one desktop entry
5881 ;; file. This phase installs a hidden one that simply
5882 ;; fails. This enables users to use GDM with a
5883 ;; '~/.xsession' script with no other desktop entry files.
5884 ;; See <https://bugs.gnu.org/35068>.
5885 (add-after 'install 'install-placeholder-desktop-entry
5886 (lambda* (#:key inputs outputs #:allow-other-keys)
5887 (let* ((out (assoc-ref outputs "out"))
5888 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5889 (fail (string-append sessions "/fail.desktop")))
5891 (with-output-to-file fail
5895 '("[Desktop Entry]\n"
5897 "Type=Application\n"
5899 "Comment=This session fails immediately.\n"
5903 ;; GDM needs GNOME Session to run these applications. We link
5904 ;; their autostart files in `share/gdm/greeter/autostart'
5905 ;; because GDM explicitly tells GNOME Session to look there.
5907 ;; XXX: GNOME Shell should be linked here too, but currently
5908 ;; GNOME Shell depends on GDM.
5909 (add-after 'install 'link-autostart-files
5910 (lambda* (#:key inputs outputs #:allow-other-keys)
5911 (let* ((out (assoc-ref outputs "out"))
5912 (autostart (string-append out "/share/gdm/"
5913 "greeter/autostart"))
5914 (settings (assoc-ref inputs "gnome-settings-daemon")))
5916 (with-directory-excursion autostart
5917 (for-each (lambda (desktop)
5918 (symlink desktop (basename desktop)))
5919 (find-files (string-append settings "/etc/xdg"))))
5923 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5924 ("gobject-introspection" ,gobject-introspection)
5925 ("intltool" ,intltool)
5926 ("itstool" ,itstool)
5927 ("pkg-config" ,pkg-config)
5928 ("xmllint" ,libxml2)))
5930 `(("accountsservice" ,accountsservice)
5931 ("check" ,check) ; for testing
5932 ("elogind" ,elogind)
5933 ("gnome-session" ,gnome-session)
5934 ("gnome-settings-daemon" ,gnome-settings-daemon)
5936 ("iso-codes" ,iso-codes)
5937 ("libcanberra" ,libcanberra)
5938 ("linux-pam" ,linux-pam)))
5939 (synopsis "Display manager for GNOME")
5940 (home-page "https://wiki.gnome.org/Projects/GDM/")
5942 "GNOME Display Manager is a system service that is responsible for
5943 providing graphical log-ins and managing local and remote displays.")
5944 (license license:gpl2+)))
5946 (define-public libgtop
5952 (uri (string-append "mirror://gnome/sources/libgtop/"
5953 (version-major+minor version) "/"
5954 "libgtop-" version ".tar.xz"))
5957 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
5958 (build-system gnu-build-system)
5960 `(("gobject-introspection" ,gobject-introspection)
5961 ("intltool" ,intltool)
5963 ("pkg-config" ,pkg-config)))
5965 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5966 (synopsis "Portable system access library")
5967 (home-page "https://www.gnome.org/")
5969 "LibGTop is a library to get system specific data such as CPU and memory
5970 usage and information about running processes.")
5971 (license license:gpl2+)))
5973 (define-public gnome-bluetooth
5975 (name "gnome-bluetooth")
5979 (uri (string-append "mirror://gnome/sources/" name "/"
5980 (version-major+minor version) "/"
5981 name "-" version ".tar.xz"))
5984 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5985 (build-system meson-build-system)
5987 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5988 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5989 ("gobject-introspection" ,gobject-introspection)
5990 ("intltool" ,intltool)
5991 ("pkg-config" ,pkg-config)
5992 ("xmllint" ,libxml2)))
5994 ;; gnome-bluetooth-1.0.pc refers to all these.
5998 `(("libcanberra" ,libcanberra)
5999 ("libnotify" ,libnotify)))
6000 (synopsis "GNOME Bluetooth subsystem")
6001 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6003 "This package contains tools for managing and manipulating Bluetooth
6004 devices using the GNOME desktop.")
6005 (license license:lgpl2.1+)))
6007 (define-public gnome-control-center
6009 (name "gnome-control-center")
6013 (uri (string-append "mirror://gnome/sources/" name "/"
6014 (version-major+minor version) "/"
6015 name "-" version ".tar.xz"))
6018 "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r"))
6020 (search-patches "gnome-control-center-udisks.patch"))))
6021 (build-system meson-build-system)
6025 (list "-Dcheese=false"
6026 (string-append "-Dgnome_session_libexecdir="
6027 (assoc-ref %build-inputs "gnome-session")
6030 (modify-phases %standard-phases
6031 (add-before 'configure 'patch-paths
6032 (lambda* (#:key inputs #:allow-other-keys)
6033 (let ((libc (assoc-ref inputs "libc"))
6034 (tzdata (assoc-ref inputs "tzdata"))
6035 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
6036 (nm-applet (assoc-ref inputs "network-manager-applet"))
6037 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
6038 (substitute* "panels/datetime/tz.h"
6039 (("/usr/share/zoneinfo/zone.tab")
6040 (string-append tzdata "/share/zoneinfo/zone.tab")))
6041 (substitute* "tests/datetime/test-endianess.c"
6042 (("/usr/share/locale")
6043 (string-append libc "/share/locale")))
6044 (substitute* "panels/region/cc-region-panel.c"
6045 (("\"gkbd-keyboard-display")
6046 (string-append "\"" libgnomekbd
6047 "/bin/gkbd-keyboard-display")))
6048 (substitute* '("panels/network/net-device-wifi.c"
6049 "panels/network/net-device.c"
6050 "panels/network/connection-editor/net-connection-editor.c")
6051 (("\"nm-connection-editor")
6052 (string-append "\"" nm-applet
6053 "/bin/nm-connection-editor")))
6054 (substitute* '("panels/user-accounts/run-passwd.c")
6055 (("/usr/bin/passwd")
6056 "/run/setuid-programs/passwd"))
6057 (substitute* "panels/info/cc-info-overview-panel.c"
6058 (("DATADIR \"/gnome/gnome-version.xml\"")
6059 (string-append "\"" gnome-desktop
6060 "/share/gnome/gnome-version.xml\"")))
6063 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6064 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6065 ("intltool" ,intltool)
6066 ("pkg-config" ,pkg-config)
6067 ("xsltproc" ,libxslt)))
6069 `(("accountsservice" ,accountsservice)
6070 ("clutter-gtk" ,clutter-gtk)
6071 ("colord-gtk" ,colord-gtk)
6074 ("docbook-xsl" ,docbook-xsl)
6075 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
6076 ("gnome-bluetooth" ,gnome-bluetooth)
6077 ("gnome-desktop" ,gnome-desktop)
6078 ("gnome-online-accounts" ,gnome-online-accounts)
6079 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6080 ("gnome-session" ,gnome-session)
6081 ("gnome-settings-daemon" ,gnome-settings-daemon)
6084 ("libcanberra" ,libcanberra)
6085 ("libgnomekbd" ,libgnomekbd)
6086 ("libgudev" ,libgudev)
6087 ("libgtop" ,libgtop)
6088 ("libpwquality" ,libpwquality)
6089 ("libsecret" ,libsecret)
6090 ("libsoup" ,libsoup)
6091 ("libxml2" ,libxml2)
6092 ("libwacom" ,libwacom)
6094 ("mit-krb5" ,mit-krb5)
6095 ("modem-manager" ,modem-manager)
6096 ("network-manager-applet" ,network-manager-applet)
6098 ("pulseaudio" ,pulseaudio)
6099 ("smbclient" ,samba)
6102 ("upower" ,upower)))
6103 (synopsis "Utilities to configure the GNOME desktop")
6104 (home-page "https://www.gnome.org/")
6106 "This package contains configuration applets for the GNOME desktop,
6107 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
6108 properties, sound setup, desktop theme and background, user interface
6109 properties, screen resolution, and other GNOME parameters.")
6110 (license license:gpl2+)))
6112 (define-public gnome-shell
6114 (name "gnome-shell")
6118 (uri (string-append "mirror://gnome/sources/" name "/"
6119 (version-major+minor version) "/"
6120 name "-" version ".tar.xz"))
6123 "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2"))
6124 (patches (search-patches "gnome-shell-theme.patch"))
6125 (modules '((guix build utils)))
6128 ;; Copy images for use on the GDM log-in screen.
6129 (copy-file #$(file-append %artwork-repository
6130 "/slim/0.x/background.png")
6131 "data/theme/guix-background.png")
6132 (copy-file #$(file-append %artwork-repository
6133 "/logo/Guix-horizontal-white.svg")
6134 "data/theme/guix-logo.svg")
6136 (build-system meson-build-system)
6139 #:disallowed-references ((,glib "bin")
6143 (list "-Dsystemd=false"
6144 ;; Otherwise, the RUNPATH will lack the final path component.
6145 (string-append "-Dc_link_args=-Wl,-rpath="
6146 (assoc-ref %outputs "out")
6147 "/lib/gnome-shell"))
6149 #:modules ((guix build meson-build-system)
6154 (modify-phases %standard-phases
6155 (add-after 'unpack 'fix-keysdir
6156 (lambda* (#:key outputs #:allow-other-keys)
6157 (let* ((out (assoc-ref outputs "out"))
6158 (keysdir (string-append
6159 out "/share/gnome-control-center/keybindings")))
6160 (substitute* "meson.build"
6162 (string-append "keysdir = '" keysdir "'\n")))
6164 (add-before 'configure 'convert-logo-to-png
6165 (lambda* (#:key inputs #:allow-other-keys)
6166 ;; Convert the logo from SVG to PNG.
6167 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
6168 "data/theme/guix-logo.svg")))
6169 (add-before 'configure 'record-absolute-file-names
6170 (lambda* (#:key inputs #:allow-other-keys)
6171 (substitute* "js/misc/ibusManager.js"
6173 (string-append "'" (assoc-ref inputs "ibus")
6174 "/bin/ibus-daemon'")))
6175 (substitute* "js/ui/status/keyboard.js"
6176 (("'gkbd-keyboard-display'")
6177 (string-append "'" (assoc-ref inputs "libgnomekbd")
6178 "/bin/gkbd-keyboard-display'")))
6180 (add-before 'check 'pre-check
6181 (lambda* (#:key inputs #:allow-other-keys)
6182 ;; Tests require a running X server.
6183 (system "Xvfb :1 &")
6184 (setenv "DISPLAY" ":1")
6186 (add-after 'install 'wrap-programs
6187 (lambda* (#:key inputs outputs #:allow-other-keys)
6188 (let ((out (assoc-ref outputs "out"))
6189 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6190 (python-path (getenv "PYTHONPATH")))
6191 (wrap-program (string-append out "/bin/gnome-shell")
6192 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6193 ;; FIXME: gnome-shell loads these libraries with unqualified
6194 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6195 ;; alternative might be to patch gnome-shell.
6196 `("LD_LIBRARY_PATH" ":" prefix
6198 (string-append (assoc-ref inputs pkg) "/lib"))
6200 "gnome-bluetooth" "librsvg" "libgweather"))))
6203 (wrap-program (string-append out "/bin/" prog)
6204 `("PYTHONPATH" ":" prefix (,python-path))
6205 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6206 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
6208 (replace 'glib-or-gtk-wrap
6209 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6210 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6211 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6212 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6213 ;; phase. Fix that since we don't need these.
6214 (wrap #:inputs (fold alist-delete inputs
6215 '("inkscape" "intltool" "glib:bin"))
6216 #:outputs outputs)))))))
6218 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6219 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6220 ("gobject-introspection" ,gobject-introspection)
6221 ("inkscape" ,inkscape)
6222 ("intltool" ,intltool)
6223 ("pkg-config" ,pkg-config)
6225 ("ruby-sass" ,ruby-sass)
6227 ("xsltproc" ,libxslt)
6229 ("xorg-server" ,xorg-server-for-tests)))
6231 `(("accountsservice" ,accountsservice)
6232 ("caribou" ,caribou)
6233 ("docbook-xsl" ,docbook-xsl)
6234 ("evolution-data-server" ,evolution-data-server)
6237 ("gdk-pixbuf" ,gdk-pixbuf+svg)
6239 ("gnome-bluetooth" ,gnome-bluetooth)
6240 ("gnome-desktop" ,gnome-desktop)
6241 ("gnome-settings-daemon" ,gnome-settings-daemon)
6242 ("gst-plugins-base" ,gst-plugins-base)
6244 ("libcanberra" ,libcanberra)
6245 ("libcroco" ,libcroco)
6246 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
6247 ("libgweather" ,libgweather)
6248 ("libsoup" ,libsoup)
6249 ("mesa-headers" ,mesa-headers)
6251 ("network-manager-applet" ,network-manager-applet)
6253 ("pulseaudio" ,pulseaudio)
6254 ("python-pygobject" ,python-pygobject)
6255 ("startup-notification" ,startup-notification)
6256 ("telepathy-logger" ,telepathy-logger)
6258 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6259 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6260 ("librsvg" ,librsvg)
6261 ("geoclue" ,geoclue)))
6262 (synopsis "Desktop shell for GNOME")
6263 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6265 "GNOME Shell provides core user interface functions for the GNOME desktop,
6266 like switching to windows and launching applications.")
6267 (license license:gpl2+)))
6269 (define-public gtk-vnc
6276 (uri (string-append "mirror://gnome/sources/" name "/"
6277 (version-major+minor version) "/"
6278 name "-" version ".tar.xz"))
6281 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
6282 (build-system gnu-build-system)
6284 '(#:configure-flags '("--with-gtk=3.0")))
6286 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6288 `(("cyrus-sasl" ,cyrus-sasl)
6290 ("libgcrypt" ,libgcrypt)
6291 ("pulseaudio" ,pulseaudio)))
6293 `(("glib:bin" ,glib "bin")
6294 ("gobject-introspection" ,gobject-introspection)
6295 ("intltool" ,intltool)
6296 ("pkg-config" ,pkg-config)
6297 ("python-wrapper" ,python-wrapper)
6299 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6300 (synopsis "VNC viewer widget for GTK+")
6302 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6303 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6304 GTK-VNC implements client side RFB protocol and authentication extensions such
6305 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6306 (license license:lgpl2.1+)))
6308 (define-public gnome-autoar
6310 (name "gnome-autoar")
6314 (uri (string-append "mirror://gnome/sources/" name "/"
6315 (version-major+minor version) "/"
6316 name "-" version ".tar.xz"))
6319 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
6320 (build-system glib-or-gtk-build-system)
6322 `(("gnome-common" ,gnome-common)
6323 ("gobject-introspection" ,gobject-introspection)
6324 ("pkg-config" ,pkg-config)))
6326 `(("libarchive" ,libarchive))) ; XXX document why
6329 (synopsis "Archives integration support for GNOME")
6330 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6332 "GNOME Autoar is a library which makes creating and extracting archives
6333 easy, safe, and automatic.")
6334 (license license:lgpl2.1+)))
6336 (define-public tracker
6342 (uri (string-append "mirror://gnome/sources/tracker/"
6343 (version-major+minor version) "/"
6344 "tracker-" version ".tar.xz"))
6347 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
6348 (build-system glib-or-gtk-build-system)
6351 (modify-phases %standard-phases
6352 (add-after 'unpack 'disable-broken-tests
6354 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6355 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6356 (substitute* "tests/libtracker-miner/Makefile.in"
6357 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6358 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6359 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6360 (substitute* "tests/libtracker-fts/Makefile.in"
6361 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6362 (substitute* "tests/libtracker-data/Makefile.in"
6363 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6364 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6365 (("tracker-backup\\$\\(EXEEXT\\)") "")
6366 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6367 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6368 ;; These fail because the SPARQL backend could not be loaded.
6369 ;; That's because /etc/machine-id is missing, but
6370 ;; DBUS_FATAL_WARNINGS does not help here.
6371 (substitute* "tests/libtracker-sparql/Makefile.in"
6372 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6373 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6374 (substitute* "tests/tracker-steroids/Makefile.in"
6375 (("tracker-test\\$\\(EXEEXT\\)") ""))
6377 ;; Two tests fail if LANG is not set.
6378 (add-before 'check 'pre-check
6380 (setenv "LANG" "en_US.UTF-8")
6381 ;; For the missing /etc/machine-id.
6382 (setenv "DBUS_FATAL_WARNINGS" "0")
6385 `(("gnome-common" ,gnome-common)
6386 ("gobject-introspection" ,gobject-introspection)
6387 ("intltool" ,intltool)
6388 ("pkg-config" ,pkg-config)
6393 ("gstreamer" ,gstreamer)
6394 ("gst-plugins-base" ,gst-plugins-base)
6397 ("poppler" ,poppler)
6399 ("libexif" ,libexif)
6401 ("libtiff" ,libtiff)
6402 ("libvorbis" ,libvorbis)
6404 ("totem-pl-parser" ,totem-pl-parser)
6407 ("libxml2" ,libxml2)
6409 ("libunistring" ,libunistring)
6411 ("json-glib" ,json-glib)
6412 ("openjpeg" ,openjpeg-1)
6413 ("libosinfo" ,libosinfo)
6415 ("libseccomp" ,libseccomp)
6416 ("libsoup" ,libsoup)
6417 ("libuuid" ,util-linux)))
6418 (synopsis "Metadata database, indexer and search tool")
6419 (home-page "https://wiki.gnome.org/Projects/Tracker")
6421 "Tracker is an advanced framework for first class objects with associated
6422 metadata and tags. It provides a one stop solution for all metadata, tags,
6423 shared object databases, search tools and indexing.")
6424 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6425 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6426 (license (list license:gpl2+
6428 license:lgpl2.0+))))
6430 (define-public nautilus
6436 (uri (string-append "mirror://gnome/sources/" name "/"
6437 (version-major+minor version) "/"
6438 name "-" version ".tar.xz"))
6441 "144r4py9b8w9ycsg6fggjg05kwvymh003qsb3h6apgpch5y3zgnv"))))
6442 (build-system meson-build-system)
6445 ;; XXX: FAIL: check-nautilus
6446 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6449 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6450 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6451 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6452 ("gobject-introspection" ,gobject-introspection)
6453 ("intltool" ,intltool)
6454 ("pkg-config" ,pkg-config)))
6460 ("gnome-desktop" ,gnome-desktop)
6461 ("gnome-autoar" ,gnome-autoar)
6462 ("libseccomp" ,libseccomp)
6463 ("libselinux" ,libselinux)
6464 ("tracker" ,tracker)
6465 ;; XXX: gtk+ is required by libnautilus-extension.pc
6467 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6469 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6471 ("libexif" ,libexif)
6472 ("libxml2" ,libxml2)))
6473 (synopsis "File manager for GNOME")
6474 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6476 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6477 design and behaviour, giving the user a simple way to navigate and manage its
6479 (license license:gpl2+)))
6481 (define-public baobab
6488 "mirror://gnome/sources/" name "/"
6489 (version-major+minor version) "/"
6490 name "-" version ".tar.xz"))
6493 "0kx721s1hhw1g0nvbqhb93g8iq6f852imyhfhl02zcqy4ipx0kay"))))
6494 (build-system meson-build-system)
6496 '(#:glib-or-gtk? #t))
6498 `(("intltool" ,intltool)
6499 ("pkg-config" ,pkg-config)
6500 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6501 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6502 ("itstool" ,itstool)
6503 ("xmllint" ,libxml2)
6504 ("glib" ,glib "bin")
6508 (synopsis "Disk usage analyzer for GNOME")
6510 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6511 usage in the GNOME desktop environment. It can easily scan device volumes or
6512 a specific user-requested directory branch (local or remote). Once the scan
6513 is complete it provides a graphical representation of each selected folder.")
6514 (home-page "https://wiki.gnome.org/Apps/Baobab")
6515 (license license:gpl2+)))
6517 (define-public gnome-backgrounds
6519 (name "gnome-backgrounds")
6524 (uri (string-append "mirror://gnome/sources/" name "/"
6525 (version-major+minor version) "/"
6526 name "-" version ".tar.xz"))
6529 "1179jrl16bp9gqabqhw7nnfp8qzf5y1vf9fi45bni6rfmwm3mrpc"))))
6530 (build-system meson-build-system)
6532 `(("intltool" ,intltool)))
6533 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6534 (synopsis "Background images for the GNOME desktop")
6536 "GNOME backgrounds package contains a collection of graphics files which
6537 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6538 the package creates the proper framework and directory structure so that you
6539 can add your own files to the collection.")
6540 (license (list license:gpl2+
6543 license:cc-by-sa3.0))))
6545 (define-public gnome-screenshot
6547 (name "gnome-screenshot")
6552 (uri (string-append "mirror://gnome/sources/" name "/"
6553 (version-major+minor version) "/"
6554 name "-" version ".tar.xz"))
6557 "06dx3svxq6sar4913mrz5lzb7hmc66wck138vmyxj8x8iv1iw0w8"))))
6558 (build-system meson-build-system)
6560 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6561 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6562 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6563 ("intltool" ,intltool)
6564 ("appstream-glib" ,appstream-glib)
6565 ("pkg-config" ,pkg-config)))
6568 ("libcanberra" ,libcanberra)
6570 ("libxext" ,libxext)))
6571 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
6572 (synopsis "Take pictures of your screen")
6574 "GNOME Screenshot is a utility used for taking screenshots of the entire
6575 screen, a window or a user defined area of the screen, with optional
6576 beautifying border effects.")
6577 (license license:gpl2+)))
6579 (define-public dconf-editor
6581 (name "dconf-editor")
6586 (uri (string-append "mirror://gnome/sources/" name "/"
6587 (version-major+minor version) "/"
6588 name "-" version ".tar.xz"))
6591 "06f736spn20s7qjsz00xw44v8r8bjhyrz1v3bix6v416jc5jp6ia"))))
6592 (build-system meson-build-system)
6594 '(#:phases (modify-phases %standard-phases
6595 (add-before 'configure 'set-glib-minimum-version
6597 ;; Change the minimum required GLib version so that
6598 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
6599 ;; do that, it complains that "55" is not an even
6600 ;; number. See <https://bugs.gnu.org/37503>.
6601 (substitute* "editor/meson.build"
6602 (("2\\.55\\.1") "2.60.0"))
6605 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6606 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6607 ("intltool" ,intltool)
6608 ("pkg-config" ,pkg-config)
6613 ("libxml2" ,libxml2)))
6614 (home-page "https://git.gnome.org/browse/dconf-editor")
6615 (synopsis "Graphical editor for GNOME's dconf configuration system")
6617 "Dconf-editor is a graphical tool for browsing and editing the dconf
6618 configuration system for GNOME. It allows users to configure desktop
6619 software that do not provide their own configuration interface.")
6620 (license license:lgpl2.1+)))
6622 (define-public gnome-default-applications
6624 (name "gnome-default-applications")
6626 (build-system trivial-build-system)
6629 `(("nautilus" ,nautilus)
6630 ("evince" ,evince)))
6632 `(#:modules ((guix build utils))
6635 (use-modules (guix build utils))
6636 (let* ((out (assoc-ref %outputs "out"))
6637 (apps (string-append out "/share/applications")))
6639 (call-with-output-file (string-append apps "/defaults.list")
6641 (format port "[Default Applications]\n")
6642 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6643 (format port "application/pdf=evince.desktop\n")
6644 (format port "application/postscript=evince.desktop\n")))
6646 (synopsis "Default MIME type associations for the GNOME desktop")
6648 "Given many installed packages which might handle a given MIME type, a
6649 user running the GNOME desktop probably has some preferences: for example,
6650 that folders be opened by default by the Nautilus file manager, not the Baobab
6651 disk usage analyzer. This package establishes that set of default MIME type
6652 associations for GNOME.")
6653 (license license:gpl3+)
6656 (define-public gnome
6659 (version (package-version gnome-shell))
6661 (build-system trivial-build-system)
6662 (arguments '(#:builder (begin (mkdir %output) #t)))
6664 ;; TODO: Add more packages according to:
6665 ;; <https://packages.debian.org/jessie/gnome-core>.
6666 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6668 ("font-cantarell" ,font-cantarell)
6669 ("font-dejavu" ,font-dejavu)
6670 ("at-spi2-core" ,at-spi2-core)
6673 ("desktop-file-utils" ,desktop-file-utils)
6675 ("epiphany" ,epiphany)
6677 ("file-roller" ,file-roller)
6679 ("glib-networking" ,glib-networking)
6680 ("gnome-backgrounds" ,gnome-backgrounds)
6681 ("gnome-bluetooth" ,gnome-bluetooth)
6682 ("gnome-calculator" ,gnome-calculator)
6683 ("gnome-control-center" ,gnome-control-center)
6684 ("gnome-disk-utility" ,gnome-disk-utility)
6685 ("gnome-default-applications" ,gnome-default-applications)
6686 ("gnome-keyring" ,gnome-keyring)
6687 ("gnome-online-accounts" ,gnome-online-accounts)
6688 ("gnome-session" ,gnome-session)
6689 ("gnome-settings-daemon" ,gnome-settings-daemon)
6690 ("gnome-shell" ,gnome-shell)
6691 ("gnome-system-monitor" ,gnome-system-monitor)
6692 ("gnome-terminal" ,gnome-terminal)
6693 ("gnome-themes-standard" ,gnome-themes-standard)
6694 ("gst-plugins-base" ,gst-plugins-base)
6695 ("gst-plugins-good" ,gst-plugins-good)
6696 ("gucharmap" ,gucharmap)
6698 ("hicolor-icon-theme" ,hicolor-icon-theme)
6699 ("nautilus" ,nautilus)
6700 ("pinentry-gnome3" ,pinentry-gnome3)
6701 ("pulseaudio" ,pulseaudio)
6702 ("shared-mime-info" ,shared-mime-info)
6703 ("system-config-printer" ,system-config-printer)
6705 ("xdg-user-dirs" ,xdg-user-dirs)
6707 ("zenity" ,zenity)))
6708 (synopsis "The GNU desktop environment")
6709 (home-page "https://www.gnome.org/")
6711 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6712 applications for browsing the web, editing text and images, creating
6713 documents and diagrams, playing media, scanning, and much more.")
6714 (license license:gpl2+)))
6716 (define-public byzanz
6717 ;; The last stable release of Byzanz was in 2011, but there have been many
6718 ;; useful commits made to the Byzanz repository since then that it would be
6719 ;; silly to use such an old release.
6720 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6723 (version (string-append "0.2-1." (string-take commit 7)))
6727 (url "https://git.gnome.org/browse/byzanz")
6729 (file-name (string-append name "-" version "-checkout"))
6732 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6733 (build-system glib-or-gtk-build-system)
6736 (modify-phases %standard-phases
6739 ;; The build system cleverly detects that we're not building from
6740 ;; a release tarball and turns on -Werror for GCC.
6741 ;; Unsurprisingly, there is a warning during compilation that
6742 ;; causes the build to fail unnecessarily, so we remove the flag.
6743 (substitute* '("configure.ac")
6745 ;; The autogen.sh script in gnome-common will run ./configure
6746 ;; by default, which is problematic because source shebangs
6747 ;; have not yet been patched.
6748 (setenv "NOCONFIGURE" "t")
6749 (zero? (system* "sh" "autogen.sh")))))))
6751 `(("autoconf" ,autoconf)
6752 ("automake" ,automake)
6753 ("gnome-common" ,gnome-common)
6754 ("intltool" ,intltool)
6755 ("libtool" ,libtool)
6756 ("pkg-config" ,pkg-config)
6760 ("gstreamer" ,gstreamer)
6761 ("gst-plugins-base" ,gst-plugins-base)
6763 (synopsis "Desktop recording program")
6764 (description "Byzanz is a simple desktop recording program with a
6765 command-line interface. It can record part or all of an X display for a
6766 specified duration and save it as a GIF encoded animated image file.")
6767 (home-page "https://git.gnome.org/browse/byzanz")
6768 (license license:gpl2+))))
6770 (define-public gsound
6776 (uri (string-append "mirror://gnome/sources/" name "/"
6777 (version-major+minor version) "/"
6778 name "-" version ".tar.xz"))
6781 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6782 (build-system glib-or-gtk-build-system)
6784 `(("pkg-config" ,pkg-config)
6785 ("gobject-introspection" ,gobject-introspection)
6789 ("libcanberra" ,libcanberra)))
6790 (home-page "https://wiki.gnome.org/Projects/GSound")
6791 (synopsis "GObject wrapper for libcanberra")
6793 "GSound is a small library for playing system sounds. It's designed to be
6794 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6796 (license license:lgpl2.1+)))
6798 (define-public libzapojit
6804 (uri (string-append "mirror://gnome/sources/" name "/"
6805 (version-major+minor version) "/"
6806 name "-" version ".tar.xz"))
6809 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6810 (build-system gnu-build-system)
6812 `(("gobject-introspection" ,gobject-introspection)
6813 ("intltool" ,intltool)
6814 ("pkg-config" ,pkg-config)))
6816 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6817 ("json-glib" ,json-glib)
6819 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6820 (synopsis "Library for accessing SkyDrive and Hotmail")
6822 "Libzapojit is a GLib-based library for accessing online service APIs of
6823 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6824 (license license:lgpl2.1+)))
6826 (define-public gnome-clocks
6828 (name "gnome-clocks")
6832 (uri (string-append "mirror://gnome/sources/" name "/"
6833 (version-major+minor version) "/"
6834 name "-" version ".tar.xz"))
6837 "009fr6zwv37wryi0c0syi4i7pxpdbn3gliws68l99cjsbn2qd6pc"))))
6838 (build-system meson-build-system)
6840 '(#:glib-or-gtk? #t))
6843 ("pkg-config" ,pkg-config)
6844 ("glib" ,glib "bin") ; for glib-compile-resources
6845 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6846 ("desktop-file-utils" ,desktop-file-utils)
6847 ("gettext" ,gettext-minimal)
6848 ("itstool" ,itstool)))
6853 ("geoclue" ,geoclue)
6854 ("geocode-glib" ,geocode-glib)
6855 ("libgweather" ,libgweather)
6856 ("gnome-desktop" ,gnome-desktop)))
6857 (home-page "https://wiki.gnome.org/Apps/Clocks")
6858 (synopsis "GNOME's clock application")
6860 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6861 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6862 (license license:gpl3+)))
6864 (define-public gnome-calendar
6866 (name "gnome-calendar")
6870 (uri (string-append "mirror://gnome/sources/" name "/"
6871 (version-major+minor version) "/"
6872 name "-" version ".tar.xz"))
6875 "1avi7a29y8d8kzwslp51nwy6s692alms7917454j0xpfc6hnw62s"))))
6876 (build-system meson-build-system)
6879 ;; gnome-calendar has to be installed before the tests can be run
6880 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6883 `(("gettext" ,gettext-minimal)
6884 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6885 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6886 ("pkg-config" ,pkg-config)))
6888 `(("evolution-data-server" ,evolution-data-server)
6889 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6890 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6891 ("libdazzle" ,libdazzle)
6892 ("libedataserverui" ,evolution-data-server)
6893 ("libgweather" ,libgweather)
6894 ("geoclue" ,geoclue)))
6895 (home-page "https://wiki.gnome.org/Apps/Calendar")
6896 (synopsis "GNOME's calendar application")
6898 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6899 desktop. It supports multiple calendars, month, week and year view.")
6900 (license license:gpl3+)))
6902 (define-public gnome-todo
6908 (uri (string-append "mirror://gnome/sources/" name "/"
6909 (version-major+minor version) "/"
6910 name "-" version ".tar.xz"))
6913 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
6914 (build-system meson-build-system)
6917 #:phases (modify-phases %standard-phases
6919 'install 'wrap-gnome-todo
6920 (lambda* (#:key inputs outputs #:allow-other-keys)
6921 (let ((out (assoc-ref outputs "out"))
6922 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6923 (python-path (getenv "PYTHONPATH")))
6924 (wrap-program (string-append out "/bin/gnome-todo")
6925 ;; XXX: gi plugins are broken.
6926 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6928 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6929 `("PYTHONPATH" ":" prefix (,python-path))))
6932 `(("gettext" ,gettext-minimal)
6933 ("gobject-introspection" ,gobject-introspection)
6934 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6935 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6936 ("pkg-config" ,pkg-config)))
6938 `(("rest" ,rest) ; For Todoist plugin
6939 ("json-glib" ,json-glib) ; For Todoist plugin
6940 ("libedataserverui" ,evolution-data-server)
6941 ("libical" ,libical)
6942 ("libpeas" ,libpeas)
6943 ("python-pygobject" ,python-pygobject)
6944 ("evolution-data-server" ,evolution-data-server)
6945 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6946 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6947 (home-page "https://wiki.gnome.org/Apps/Todo")
6948 (synopsis "GNOME's ToDo Application")
6950 "GNOME To Do is a simplistic personal task manager designed to perfectly
6951 fit the GNOME desktop.")
6952 (license license:gpl3+)))
6954 (define-public gnome-dictionary
6956 (name "gnome-dictionary")
6960 (uri (string-append "mirror://gnome/sources/" name "/"
6961 (version-major+minor version) "/"
6962 name "-" version ".tar.xz"))
6965 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6966 (build-system meson-build-system)
6967 (arguments '(#:glib-or-gtk? #t
6968 #:phases (modify-phases %standard-phases
6969 (add-after 'unpack 'patch-install-script
6971 ;; This script attempts to compile glib schemas
6972 ;; and create an empty MIME database. We do
6973 ;; that elsewhere, so prevent it from running.
6974 (substitute* "build-aux/post-install.sh"
6975 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6978 `(("glib:bin" ,glib "bin")
6979 ("gobject-introspection" ,gobject-introspection)
6980 ("intltool" ,intltool)
6981 ("itstool" ,itstool)
6982 ("pkg-config" ,pkg-config)
6983 ("xmllint" ,libxml2)))
6985 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6987 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6988 (synopsis "Look up words in dictionary sources")
6990 "GNOME Dictionary can look for the definition or translation of a word in
6991 existing databases over the internet.")
6992 (license license:gpl3+)))
6994 (define-public gnome-tweaks
6996 (name "gnome-tweaks")
7000 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
7001 (version-major+minor version) "/"
7002 "gnome-tweaks-" version ".tar.xz"))
7004 (list (search-patch "gnome-tweaks-search-paths.patch")))
7007 "0j63siy1i5pl2g6di1r9vjn54m9ahh42wj20j6689pza2lamay1z"))))
7008 (build-system meson-build-system)
7011 #:configure-flags '("-Dlocalstatedir=/tmp"
7012 "-Dsysconfdir=/tmp")
7013 #:imported-modules ((guix build python-build-system)
7014 ,@%meson-build-system-modules)
7016 (modify-phases %standard-phases
7017 (add-after 'install 'wrap
7018 (@@ (guix build python-build-system) wrap))
7019 (add-after 'wrap 'wrap-gi-typelib
7020 (lambda* (#:key inputs outputs #:allow-other-keys)
7021 (let ((out (assoc-ref outputs "out"))
7022 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7023 (wrap-program (string-append out "/bin/gnome-tweaks")
7024 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7027 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7028 ("intltool" ,intltool)
7029 ("pkg-config" ,pkg-config)))
7031 `(("gnome-desktop" ,gnome-desktop)
7033 ("gobject-introspection" ,gobject-introspection)
7034 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7035 ("libnotify" ,libnotify)
7036 ("libsoup" ,libsoup)
7037 ("nautilus" ,nautilus)
7039 ("python-pygobject" ,python-pygobject)))
7040 (synopsis "Customize advanced GNOME 3 options")
7041 (home-page "https://wiki.gnome.org/Apps/Tweaks")
7043 "GNOME Tweaks allows adjusting advanced configuration settings in
7044 GNOME 3. This includes things like the fonts used in user interface elements,
7045 alternative user interface themes, changes in window management behavior,
7046 GNOME Shell appearance and extension, etc.")
7047 (license license:gpl3+)))
7049 ;; This package has been renamed by upstream.
7050 (define-public gnome-tweak-tool
7051 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7053 (define-public gnome-shell-extensions
7055 (name "gnome-shell-extensions")
7059 (uri (string-append "mirror://gnome/sources/" name "/"
7060 (version-major+minor version) "/"
7061 name "-" version ".tar.xz"))
7064 "1grxn4f5x754r172wmnf0h0xpy69afmj359zsj1rwgqlzw4i4c5p"))))
7065 (build-system meson-build-system)
7067 '(#:configure-flags '("-Dextension_set=all")))
7069 `(("intltool" ,intltool)
7070 ("pkg-config" ,pkg-config)))
7073 ("glib" ,glib "bin")))
7074 (synopsis "Extensions for GNOME Shell")
7075 (description "GNOME Shell extensions modify and extend GNOME Shell
7076 functionality and behavior.")
7077 (home-page "https://extensions.gnome.org/")
7078 (license license:gpl3+)))
7080 (define-public numix-theme
7082 (name "numix-theme")
7087 (url "https://github.com/numixproject/numix-gtk-theme.git")
7089 (file-name (git-file-name name version))
7092 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
7093 (build-system gnu-build-system)
7095 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
7097 (modify-phases %standard-phases
7101 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
7102 ("gnome-shell" ,gnome-shell)
7104 ("xmllint" ,libxml2)
7105 ("ruby-sass" ,ruby-sass)))
7106 (synopsis "Flat theme with light and dark elements")
7107 (description "Numix is a modern flat theme with a combination of light and
7108 dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
7109 (home-page "https://numixproject.github.io")
7110 (license license:gpl3+)))
7112 (define-public arc-theme
7115 (version "20190917")
7119 (url "https://github.com/NicoHood/arc-theme.git")
7121 (file-name (git-file-name name version))
7124 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
7125 (build-system gnu-build-system)
7128 (modify-phases %standard-phases
7129 ;; autogen.sh calls configure at the end of the script.
7131 (lambda _ (invoke "autoreconf" "-vfi"))))))
7133 `(("autoconf" ,autoconf)
7134 ("automake" ,automake)
7135 ("glib" ,glib "bin") ; for glib-compile-resources
7136 ("gnome-shell" ,gnome-shell)
7138 ("inkscape" ,inkscape)
7139 ("optipng" ,optipng)
7140 ("pkg-config" ,pkg-config)
7142 (synopsis "A flat GTK+ theme with transparent elements")
7143 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
7144 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7145 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7146 (home-page "https://github.com/horst3180/arc-theme")
7147 ;; No "or later" language found.
7148 (license license:gpl3+)))
7150 (define-public faba-icon-theme
7152 (name "faba-icon-theme")
7157 (uri (string-append "https://github.com/moka-project/"
7158 name "/archive/v" version ".tar.gz"))
7159 (file-name (string-append name "-" version ".tar.gz"))
7162 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
7163 (build-system meson-build-system)
7166 (modify-phases %standard-phases
7167 (add-before 'configure 'disable-post-install
7169 (substitute* "meson.build"
7170 (("meson.add_install_script.*") "")))))))
7172 `(("autoconf" ,autoconf)
7173 ("automake" ,automake)))
7174 (synopsis "Faba icon theme")
7176 "Faba is a minimal icon set used as a basis for other themes such as
7178 (home-page "https://snwh.org/moka")
7179 (license (list license:lgpl3+
7180 license:cc-by-sa4.0))))
7182 (define-public moka-icon-theme
7184 (inherit faba-icon-theme)
7185 (name "moka-icon-theme")
7189 (uri (string-append "https://github.com/moka-project"
7190 "/moka-icon-theme/archive/v"
7192 (file-name (string-append name "-" version ".tar.gz"))
7195 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
7197 ;; Moka is based on Faba by using it as a fallback icon set instead of
7198 ;; bundling it, so we need to add it as a propagated input.
7199 `(("faba-icon-theme" ,faba-icon-theme)))
7200 (synopsis "Moka icon theme")
7201 (description "Moka is a stylized desktop icon set, designed to be clear,
7202 simple and consistent.")
7203 (license (list license:gpl3+
7204 license:cc-by-sa4.0))))
7206 (define-public arc-icon-theme
7208 (name "arc-icon-theme")
7209 (version "20161122")
7212 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7213 "/archive/" version ".tar.gz"))
7214 (file-name (string-append name "-" version ".tar.gz"))
7217 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
7218 (build-system gnu-build-system)
7221 (modify-phases %standard-phases
7222 (add-after 'unpack 'disable-configure-during-bootstrap
7224 (substitute* "autogen.sh"
7225 (("^\"\\$srcdir/configure\".*") ""))
7228 `(("autoconf" ,autoconf)
7229 ("automake" ,automake)))
7230 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7232 `(("moka-icon-theme" ,moka-icon-theme)))
7233 (synopsis "Arc icon theme")
7234 (description "The Arc icon theme provides a set of icons matching the
7235 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7236 the Moka icon theme.")
7237 (home-page "https://github.com/horst3180/arc-icon-theme")
7238 (license license:gpl3+)))
7240 (define-public folks
7247 "mirror://gnome/sources/folks/"
7248 (version-major+minor version) "/"
7249 "folks-" version ".tar.xz"))
7252 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
7253 (build-system glib-or-gtk-build-system)
7256 ("dbus-glib" ,dbus-glib)
7257 ("evolution-data-server" ,evolution-data-server)
7260 ("telepathy-glib" ,telepathy-glib)))
7262 `(("gobject-introspection" ,gobject-introspection)
7263 ("intltool" ,intltool)
7264 ("pkg-config" ,pkg-config)
7266 (synopsis "Library to aggregate data about people")
7267 (description "Libfolks is a library that aggregates information about people
7268 from multiple sources (e.g., Telepathy connection managers for IM contacts,
7269 Evolution Data Server for local contacts, libsocialweb for web service contacts,
7270 etc.) to create metacontacts. It's written in Vala, which generates C code when
7272 (home-page "https://wiki.gnome.org/Projects/Folks")
7273 (license license:lgpl2.1+)))
7275 (define-public gfbgraph
7282 "mirror://gnome/sources/gfbgraph/"
7283 (version-major+minor version) "/"
7284 "gfbgraph-" version ".tar.xz"))
7287 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7288 (build-system glib-or-gtk-build-system)
7290 `(#:tests? #f ; Tests appear to require the network.
7291 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7292 #:configure-flags '("--disable-gtk-doc"
7294 "--enable-introspection")))
7296 `(("pkg-config" ,pkg-config)
7297 ("gobject-introspection" ,gobject-introspection)))
7299 `(("json-glib" ,json-glib)
7300 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7302 (synopsis "GLib/GObject wrapper for the Facebook API")
7303 (description "This library allows you to use the Facebook API from
7304 GLib/GObject code.")
7305 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7306 (license license:lgpl2.1+)))
7308 (define-public libgnomekbd
7310 (name "libgnomekbd")
7314 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
7315 (version-major+minor version) "/"
7316 "libgnomekbd-" version ".tar.xz"))
7319 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
7320 (build-system gnu-build-system)
7322 `(("pkg-config" ,pkg-config)
7323 ("glib" ,glib "bin")
7324 ("intltool" ,intltool)))
7326 ;; Referred to in .h files and .pc.
7329 ("libxklavier" ,libxklavier)))
7330 (home-page "https://www.gnome.org")
7331 (synopsis "GNOME keyboard configuration library")
7333 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7334 environment, which can notably display keyboard layouts.")
7335 (license license:lgpl2.0+)))
7337 ;;; This package is no longer maintained:
7338 ;;; https://wiki.gnome.org/Attic/LibUnique
7339 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7340 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7341 (define-public libunique
7347 (uri (string-append "mirror://gnome/sources/" name "/"
7348 (version-major+minor version) "/"
7349 name "-" version ".tar.xz"))
7352 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7353 (build-system glib-or-gtk-build-system)
7355 `(#:configure-flags '("--disable-static"
7356 "--disable-dbus" ; use gdbus
7357 "--enable-introspection")))
7359 `(("pkg-config" ,pkg-config)
7360 ("gobject-introspection" ,gobject-introspection)
7361 ("glib:bin" ,glib "bin")
7362 ("gtk-doc" ,gtk-doc)))
7364 ;; Referred to in .h files and .pc.
7366 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7367 (synopsis "Library for writing single instance applications")
7369 "Libunique is a library for writing single instance applications. If you
7370 launch a single instance application twice, the second instance will either just
7371 quit or will send a message to the running instance. Libunique makes it easy to
7372 write this kind of application, by providing a base class, taking care of all
7373 the IPC machinery needed to send messages to a running instance, and also
7374 handling the startup notification side.")
7375 (license license:lgpl2.1+)))
7377 (define-public gnome-calculator
7379 (name "gnome-calculator")
7384 (uri (string-append "mirror://gnome/sources/" name "/"
7385 (version-major+minor version) "/"
7386 name "-" version ".tar.xz"))
7389 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
7390 (build-system meson-build-system)
7391 (arguments '(#:glib-or-gtk? #t))
7393 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7394 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7395 ("intltool" ,intltool)
7396 ("itstool" ,itstool)
7398 ("pkg-config" ,pkg-config)))
7401 ("gtksourceview" ,gtksourceview)
7402 ("libsoup" ,libsoup)
7403 ("libxml2" ,libxml2)
7406 (home-page "https://wiki.gnome.org/Apps/Calculator")
7407 (synopsis "Desktop calculator")
7409 "Calculator is an application that solves mathematical equations and
7410 is suitable as a default application in a Desktop environment.")
7411 (license license:gpl3)))
7420 (uri (string-append "https://launchpad.net/xpad/trunk/"
7421 version "/+download/"
7422 name "-" version ".tar.bz2"))
7425 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
7426 (build-system gnu-build-system)
7428 `(("autoconf" ,autoconf)
7429 ("automake" ,automake)
7430 ("gtk+:bin" ,gtk+ "bin")
7431 ("intltool" ,intltool)
7432 ("pkg-config" ,pkg-config)))
7434 `(("gtksourceview" ,gtksourceview-3)
7436 (home-page "https://wiki.gnome.org/Apps/Xpad")
7437 (synopsis "Virtual sticky note")
7439 "Xpad is a sticky note that strives to be simple, fault tolerant,
7440 and customizable. Xpad consists of independent pad windows, each is
7441 basically a text box in which notes can be written.")
7442 (license license:gpl3+)))
7444 (define-public gucharmap
7445 (let ((unicode-files
7447 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
7449 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
7451 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
7453 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
7455 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
7457 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
7464 (uri (string-append "mirror://gnome/sources/" name "/"
7465 (version-major+minor version) "/"
7466 name "-" version ".tar.xz"))
7469 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
7470 (build-system glib-or-gtk-build-system)
7472 `(#:modules ((ice-9 match)
7473 (guix build glib-or-gtk-build-system)
7476 (list "--with-unicode-data=../unicode-data")
7478 (modify-phases %standard-phases
7479 (add-after 'unpack 'prepare-unicode-data
7480 (lambda* (#:key inputs #:allow-other-keys)
7481 (mkdir-p "../unicode-data")
7482 (with-directory-excursion "../unicode-data"
7483 (for-each (match-lambda
7485 (install-file (assoc-ref inputs file) ".")))
7489 `(("desktop-file-utils" ,desktop-file-utils)
7490 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7491 ("gobject-introspection" ,gobject-introspection)
7492 ("intltool" ,intltool)
7493 ("itstool" ,itstool)
7494 ("pkg-config" ,pkg-config)
7495 ,@(map (match-lambda
7501 "http://www.unicode.org/Public/12.0.0/ucd/"
7503 (sha256 (base32 hash))))))
7508 ("xmllint" ,libxml2)))
7509 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7510 (synopsis "Unicode character picker and font browser")
7512 "This program allows you to browse through all the available Unicode
7513 characters and categories for the installed fonts, and to examine their
7514 detailed properties. It is an easy way to find the character you might
7515 only know by its Unicode name or code point.")
7516 (license license:gpl3+))))
7518 (define-public bluefish
7525 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7526 name "-" version ".tar.gz"))
7529 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
7530 (build-system gnu-build-system)
7532 `(("desktop-file-utils" ,desktop-file-utils)
7533 ("intltool" ,intltool)
7534 ("pkg-config" ,pkg-config)))
7536 `(("enchant" ,enchant)
7538 ("python" ,python-2)
7539 ("xmllint" ,libxml2)
7540 ("gucharmap" ,gucharmap)))
7541 (home-page "http://bluefish.openoffice.nl")
7542 (synopsis "Web development studio")
7544 "Bluefish is an editor targeted towards programmers and web developers,
7545 with many options to write web sites, scripts and other code.
7546 Bluefish supports many programming and markup languages.")
7547 (license license:gpl3+)))
7549 (define-public gnome-system-monitor
7551 (name "gnome-system-monitor")
7556 (uri (string-append "mirror://gnome/sources/" name "/"
7557 (version-major+minor version) "/"
7558 name "-" version ".tar.xz"))
7561 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7562 (build-system meson-build-system)
7565 #:configure-flags '("-Dsystemd=false")))
7567 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
7568 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7569 ("intltool" ,intltool)
7570 ("itstool" ,itstool)
7571 ("libgtop" ,libgtop)
7573 ("pkg-config" ,pkg-config)))
7575 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7578 ("librsvg" ,librsvg)
7579 ("libxml2" ,libxml2)
7580 ("libwnck" ,libwnck)))
7581 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7582 (synopsis "Process viewer and system resource monitor for GNOME")
7584 "GNOME System Monitor is a GNOME process viewer and system monitor with
7585 an attractive, easy-to-use interface. It has features, such as a tree view
7586 for process dependencies, icons for processes, the ability to hide processes,
7587 graphical time histories of CPU/memory/swap usage and the ability to
7588 kill/reinice processes.")
7589 (license license:gpl2+)))
7591 (define-public python-pyatspi
7593 (name "python-pyatspi")
7598 "mirror://gnome/sources/pyatspi/"
7599 (version-major+minor version)
7600 "/pyatspi-" version ".tar.xz"))
7603 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7604 ;; Patch from upstream, fixed in newer versions.
7605 (patches (search-patches "python-pyatspi-python-37.patch"))))
7606 (build-system gnu-build-system)
7609 (modify-phases %standard-phases
7610 (add-before 'build 'fix-atk-load
7612 (substitute* "pyatspi/__init__.py"
7613 (("from gi.repository import Atspi")
7614 "gi.require_version('Gtk', '3.0')
7615 from gi.repository import Gtk
7616 from gi.repository import Atspi"))
7619 `(("pkg-config" ,pkg-config)))
7621 `(("python" ,python)
7622 ("python-pygobject" ,python-pygobject)))
7623 (synopsis "Python client bindings for D-Bus AT-SPI")
7624 (home-page "https://wiki.linuxfoundation.org/accessibility\
7625 /atk/at-spi/at-spi_on_d-bus")
7627 "This package includes a python client library for the AT-SPI D-Bus
7628 accessibility infrastructure.")
7629 (license license:lgpl2.0)
7630 (properties '((upstream-name . "pyatspi")))))
7639 "mirror://gnome/sources/" name "/"
7640 (version-major+minor version) "/"
7641 name "-" version ".tar.xz"))
7644 "17asibc46i5gr2fw04jvvdi85zzmxwlnhyq7r6cr3m5prrdr8a53"))))
7645 (build-system glib-or-gtk-build-system)
7648 (modify-phases %standard-phases
7649 (add-before 'configure 'qualify-xkbcomp
7650 (lambda* (#:key inputs #:allow-other-keys)
7651 (let ((xkbcomp (string-append
7652 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7653 (substitute* "src/orca/orca.py"
7654 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7656 (add-after 'install 'wrap-orca
7657 (lambda* (#:key outputs #:allow-other-keys)
7658 (let* ((out (assoc-ref outputs "out"))
7659 (prog (string-append out "/bin/orca")))
7661 `("GI_TYPELIB_PATH" ":" prefix
7662 (,(getenv "GI_TYPELIB_PATH")))
7663 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7664 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7665 `("PYTHONPATH" ":" prefix
7666 (,(getenv "PYTHONPATH")))))
7669 `(("intltool" ,intltool)
7670 ("itstool" ,itstool)
7671 ("pkg-config" ,pkg-config)
7672 ("xmllint" ,libxml2)))
7674 `(("at-spi2-atk" ,at-spi2-atk)
7675 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7676 ("gstreamer" ,gstreamer)
7677 ("gst-plugins-base" ,gst-plugins-base)
7678 ("gst-plugins-good" ,gst-plugins-good)
7681 ("python-pygobject" ,python-pygobject)
7682 ("python-pyatspi" ,python-pyatspi)
7683 ("python-speechd" ,speech-dispatcher)
7684 ("xkbcomp" ,xkbcomp)))
7686 "Screen reader for individuals who are blind or visually impaired")
7687 (home-page "https://wiki.gnome.org/Projects/Orca")
7689 "Orca is a screen reader that provides access to the graphical desktop
7690 via speech and refreshable braille. Orca works with applications and toolkits
7691 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7692 (license license:lgpl2.1+)))
7694 (define-public gspell
7700 (uri (string-append "mirror://gnome/sources/" name "/"
7701 (version-major+minor version) "/"
7702 name "-" version ".tar.xz"))
7705 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
7706 (patches (search-patches "gspell-dash-test.patch"))))
7707 (build-system glib-or-gtk-build-system)
7710 (modify-phases %standard-phases
7711 (add-before 'check 'pre-check
7712 (lambda* (#:key inputs #:allow-other-keys)
7713 ;; Tests require a running X server.
7714 (system "Xvfb :1 &")
7715 (setenv "DISPLAY" ":1")
7717 ;; For the missing /etc/machine-id.
7718 (setenv "DBUS_FATAL_WARNINGS" "0")
7720 ;; Allow Enchant and its Aspell backend to find the en_US
7722 (setenv "ASPELL_DICT_DIR"
7723 (string-append (assoc-ref inputs "aspell-dict-en")
7729 ("iso-codes" ,iso-codes)))
7731 `(("glib" ,glib "bin")
7732 ("pkg-config" ,pkg-config)
7733 ("xmllint" ,libxml2)
7736 ("aspell-dict-en" ,aspell-dict-en)
7737 ("xorg-server" ,xorg-server)))
7739 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7740 (home-page "https://wiki.gnome.org/Projects/gspell")
7741 (synopsis "GNOME's alternative spell checker")
7743 "gspell provides a flexible API to add spell-checking to a GTK+
7744 application. It provides a GObject API, spell-checking to text entries and
7745 text views, and buttons to choose the language.")
7746 (license license:gpl2+)))
7748 (define-public gnome-planner
7750 (name "gnome-planner")
7754 (uri (string-append "mirror://gnome/sources/planner/"
7755 (version-major+minor version) "/planner-"
7759 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7760 (build-system glib-or-gtk-build-system)
7762 ;; Disable the Python bindings because the Planner program functions
7763 ;; without them, and (as of 2017-06-13) we have not packaged all of
7764 ;; packages that are necessary for building the Python bindings.
7766 (list "--disable-python"
7767 ,@(if (string=? "aarch64-linux" (%current-system))
7768 '("--build=aarch64-unknown-linux-gnu")
7771 `(("libgnomecanvas" ,libgnomecanvas)
7772 ("libgnomeui" ,libgnomeui)
7773 ("libglade" ,libglade)
7774 ("gnome-vfs" ,gnome-vfs)
7776 ("libxml2" ,libxml2)
7777 ("libxslt" ,libxslt)
7781 `(("intltool" ,intltool)
7782 ("scrollkeeper" ,scrollkeeper)
7783 ("pkg-config" ,pkg-config)))
7784 (home-page "https://wiki.gnome.org/Apps/Planner")
7785 (synopsis "Project management software for the GNOME desktop")
7787 "GNOME Planner is a project management tool based on the Work Breakdown
7788 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7789 the resources, tasks, and constraints that you define, Planner generates
7790 various views into a project. For example, Planner can show a Gantt chart of
7791 the project. It can show a detailed summary of tasks including their
7792 duration, cost, and current progress. It can also show a report of resource
7793 utilization that highlights under-utilized and over-utilized resources. These
7794 views can be printed as PDF or PostScript files, or exported to HTML.")
7795 (license license:gpl2+)))
7797 (define-public lollypop
7804 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7805 "5a7cd7c72b6d83ae08d0c54c4691f9df/"
7806 name "-" version ".tar.xz"))
7809 "1r5wn0bja9psz6nr1rcaysdkkwz84rbyzpdfw66cxa6wiy52pkjm"))))
7810 (build-system meson-build-system)
7812 `(#:imported-modules ((guix build python-build-system)
7813 ,@%meson-build-system-modules)
7815 #:tests? #f ; no test suite
7817 (modify-phases %standard-phases
7818 (add-after 'install 'wrap-program
7819 (lambda* (#:key outputs #:allow-other-keys)
7820 (let ((out (assoc-ref outputs "out"))
7821 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7822 (wrap-program (string-append out "/bin/lollypop")
7823 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7825 (add-after 'install 'wrap
7826 (@@ (guix build python-build-system) wrap)))))
7828 `(("intltool" ,intltool)
7829 ("itstool" ,itstool)
7830 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7831 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7832 ("pkg-config" ,pkg-config)))
7834 `(("gobject-introspection" ,gobject-introspection)
7835 ("gst-plugins-base" ,gst-plugins-base)
7836 ("libnotify" ,libnotify)
7837 ("libsecret" ,libsecret)
7838 ("libsoup" ,libsoup)
7840 ("python-beautifulsoup4" ,python-beautifulsoup4)
7841 ("python-gst" ,python-gst)
7842 ("python-pil" ,python-pillow)
7843 ("python-pycairo" ,python-pycairo)
7844 ("python-pygobject" ,python-pygobject)
7845 ("python-pylast" ,python-pylast)
7846 ("totem-pl-parser" ,totem-pl-parser)
7847 ("webkitgtk" ,webkitgtk)))
7849 `(;; gst-plugins-base is required to start Lollypop,
7850 ;; the others are required to play streaming.
7851 ("gst-plugins-good" ,gst-plugins-good)
7852 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7853 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7854 (synopsis "GNOME music playing application")
7856 "Lollypop is a music player designed to play well with GNOME desktop.
7857 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7858 from artists and tracks from the web. It also fetches cover artworks
7859 automatically and it can stream songs from online music services and charts.")
7860 (license license:gpl3+)))
7862 (define-public gnome-video-effects
7864 (name "gnome-video-effects")
7868 (uri (string-append "mirror://gnome/sources/" name "/"
7869 (version-major+minor version) "/" name "-"
7873 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7874 (build-system glib-or-gtk-build-system)
7876 `(#:out-of-source? #f))
7878 `(("glib:bin" ,glib "bin")
7879 ("intltool" ,intltool)
7880 ("gettext" ,gettext-minimal)
7881 ("pkg-config" ,pkg-config)))
7882 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7883 (synopsis "Video effects for Cheese and other GNOME applications")
7885 "A collection of GStreamer video filters and effects to be used in
7886 photo-booth-like software, such as Cheese.")
7887 (license license:gpl2+)))
7889 (define-public cheese
7895 (uri (string-append "mirror://gnome/sources/" name "/"
7896 (version-major+minor version) "/" name "-"
7900 "0zz2bgjaf2lsmfs3zn24925vbjb0rycr39i288brlbzixrpcyljr"))))
7902 ;; Tests require GDK.
7905 (modify-phases %standard-phases
7906 (add-before 'install 'skip-gtk-update-icon-cache
7908 ;; Don't create 'icon-theme.cache'
7909 (substitute* "Makefile"
7910 (("gtk-update-icon-cache") (which "true")))
7912 (add-after 'install 'wrap-cheese
7913 (lambda* (#:key inputs outputs #:allow-other-keys)
7914 (let ((out (assoc-ref outputs "out"))
7915 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7916 (wrap-program (string-append out "/bin/cheese")
7917 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7919 (build-system glib-or-gtk-build-system)
7921 `(("glib:bin" ,glib "bin")
7922 ("intltool" ,intltool)
7923 ("itstool" ,itstool)
7924 ("libxml2" ,libxml2)
7925 ("pkg-config" ,pkg-config)
7928 `(("gnome-video-effects" ,gnome-video-effects)
7929 ("clutter" ,clutter)
7930 ("clutter-gst" ,clutter-gst)
7931 ("clutter-gtk" ,clutter-gtk)
7932 ("libcanberra" ,libcanberra)
7933 ("gdk-pixbuf" ,gdk-pixbuf)
7935 ("gstreamer" ,gstreamer)))
7937 `(("gnome-desktop" ,gnome-desktop)
7938 ("gobject-introspection" ,gobject-introspection)
7939 ("gst-plugins-base" ,gst-plugins-base)
7940 ("gst-plugins-bad" ,gst-plugins-bad)
7943 ("libxtst" ,libxtst)))
7944 (home-page "https://wiki.gnome.org/Apps/Cheese")
7945 (synopsis "Webcam photo booth software for GNOME")
7947 "Cheese uses your webcam to take photos and videos. Cheese can also
7948 apply fancy special effects and lets you share the fun with others.")
7949 (license license:gpl2+)))
7951 (define-public sound-juicer
7953 (name "sound-juicer")
7958 (uri (string-append "mirror://gnome/sources/" name "/"
7959 (version-major+minor version) "/"
7960 name "-" version ".tar.xz"))
7963 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7964 (build-system glib-or-gtk-build-system)
7966 `(("desktop-file-utils" ,desktop-file-utils)
7967 ("intltool" ,intltool)
7968 ("itstool" ,itstool)
7969 ("pkg-config" ,pkg-config)
7970 ("xmllint" ,libxml2)))
7973 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7974 ("gstreamer" ,gstreamer)
7975 ("gst-plugins-base" ,gst-plugins-base)
7976 ("gst-plugins-good" ,gst-plugins-good)
7977 ("iso-codes" ,iso-codes)
7978 ("libbrasero-media3" ,brasero)
7979 ("libcanberra" ,libcanberra)
7980 ("libdiscid" ,libdiscid)
7981 ("libmusicbrainz" ,libmusicbrainz)
7983 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7984 (synopsis "Audio music cd ripper")
7985 (description "Sound Juicer extracts audio from compact discs and convert it
7986 into audio files that a personal computer or digital audio player can play.
7987 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7988 mp3, Ogg Vorbis and FLAC")
7989 (license license:gpl2+)))
7991 (define-public soundconverter
7993 (name "soundconverter")
7998 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7999 version "/+download/"
8000 "soundconverter-" version ".tar.xz"))
8003 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
8006 "soundconverter-remove-gconf-dependency.patch"))))
8007 (build-system glib-or-gtk-build-system)
8009 `(#:imported-modules ((guix build python-build-system)
8010 (guix build glib-or-gtk-build-system)
8011 ,@%gnu-build-system-modules)
8013 #:modules ((guix build glib-or-gtk-build-system)
8015 ((guix build gnu-build-system) #:prefix gnu:)
8016 ((guix build python-build-system) #:prefix python:))
8019 (modify-phases %standard-phases
8020 (add-after 'install 'wrap-soundconverter-for-python
8021 (assoc-ref python:%standard-phases 'wrap))
8022 (add-after 'install 'wrap-soundconverter
8023 (lambda* (#:key inputs outputs #:allow-other-keys)
8024 (let ((out (assoc-ref outputs "out"))
8025 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8026 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8027 (wrap-program (string-append out "/bin/soundconverter")
8028 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8029 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8032 `(("intltool" ,intltool)
8033 ("pkg-config" ,pkg-config)
8034 ("glib:bin" ,glib "bin")))
8038 ("python-pygobject" ,python-pygobject)
8039 ("gstreamer" ,gstreamer)
8040 ("gst-plugins-base" ,gst-plugins-base)))
8041 (home-page "http://soundconverter.org/")
8042 (synopsis "Convert between audio formats with a graphical interface")
8044 "SoundConverter supports converting between many audio formats including
8045 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
8046 configurable file renaming. ")
8047 (license license:gpl3)))
8049 (define-public workrave
8057 (url "https://github.com/rcaelers/workrave.git")
8058 (commit (string-append "v" (string-map
8059 (match-lambda (#\. #\_) (chr chr))
8061 (file-name (git-file-name name version))
8063 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
8064 (build-system glib-or-gtk-build-system)
8065 (inputs `(("glib" ,glib)
8067 ("gdk-pixbuf" ,gdk-pixbuf)
8071 ("libxtst" ,libxtst)
8075 ("libxscrnsaver" ,libxscrnsaver)))
8076 (native-inputs `(("boost" ,boost)
8077 ("pkg-config" ,pkg-config)
8078 ("gettext" ,gnu-gettext)
8079 ("autoconf" ,autoconf)
8080 ("autoconf-archive" , autoconf-archive)
8081 ("automake" ,automake)
8082 ("libtool" ,libtool)
8083 ("intltool" ,intltool)
8084 ("gobject-introspection" ,gobject-introspection)
8085 ("python3" ,python-3)
8086 ("python-jinja2" ,python-jinja2)))
8087 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8089 "Workrave is a program that assists in the recovery and prevention of
8090 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8091 micro-pauses and rest breaks, and restricts you to your daily limit.")
8092 (home-page "http://www.workrave.org")
8093 (license license:gpl3+)))
8101 (uri (string-append "mirror://gnome/sources/ghex/"
8102 (version-major+minor version) "/"
8103 "ghex-" version ".tar.xz"))
8106 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
8107 (build-system glib-or-gtk-build-system)
8109 `(("pkg-config" ,pkg-config)
8110 ("gnome-common" ,gnome-common)
8112 ("intltool" ,intltool)
8113 ("yelp-tools" ,yelp-tools)
8114 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
8118 (synopsis "GNOME hexadecimal editor")
8119 (description "The GHex program can view and edit files in two ways:
8120 hexadecimal or ASCII. It is useful for editing binary files in general.")
8121 (home-page "https://wiki.gnome.org/Apps/Ghex")
8122 (license license:gpl2)))
8124 (define-public libdazzle
8130 (uri (string-append "mirror://gnome/sources/libdazzle/"
8131 (version-major+minor version) "/"
8132 "libdazzle-" version ".tar.xz"))
8135 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
8136 (build-system meson-build-system)
8139 (modify-phases %standard-phases
8140 (add-before 'check 'pre-check
8142 ;; Tests require a running X server.
8143 (system "Xvfb :1 &")
8144 (setenv "DISPLAY" ":1")
8147 `(("glib" ,glib "bin") ; glib-compile-resources
8148 ("pkg-config" ,pkg-config)
8150 ("xorg-server" ,xorg-server)))
8153 ("gobject-introspection" ,gobject-introspection)
8156 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8157 (synopsis "Companion library to GObject and Gtk+")
8158 (description "The libdazzle library is a companion library to GObject and
8159 Gtk+. It provides various features that the authors wish were in the
8160 underlying library but cannot for various reasons. In most cases, they are
8161 wildly out of scope for those libraries. In other cases, they are not quite
8162 generic enough to work for everyone.")
8163 (license license:gpl3+)))
8165 (define-public evolution
8171 (uri (string-append "mirror://gnome/sources/evolution/"
8172 (version-major+minor version) "/"
8173 "evolution-" version ".tar.xz"))
8176 "1hhxj3rh921pp3l3c5k33bdypcas1p66krzs65k1qn82c5fpgl2h"))))
8177 (build-system cmake-build-system)
8179 `(#:imported-modules (,@%cmake-build-system-modules
8180 (guix build glib-or-gtk-build-system))
8181 #:modules ((guix build cmake-build-system)
8182 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8185 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
8186 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
8187 ; in four years and cannot be built.
8189 (modify-phases %standard-phases
8190 ;; The build system attempts to install user interface modules to the
8191 ;; output directory of the "evolution-data-server" package. This
8192 ;; change redirects that change.
8193 (add-after 'unpack 'patch-ui-module-dir
8194 (lambda* (#:key outputs #:allow-other-keys)
8195 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
8196 (("\\$\\{edsuimoduledir\\}")
8197 (string-append (assoc-ref outputs "out")
8198 "/lib/evolution-data-server/ui-modules")))
8200 (add-after 'install 'glib-or-gtk-compile-schemas
8201 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
8202 (add-after 'install 'glib-or-gtk-wrap
8203 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
8205 `(("glib" ,glib "bin") ; glib-mkenums
8206 ("pkg-config" ,pkg-config)
8207 ("intltool" ,intltool)
8208 ("itstool" ,itstool)))
8210 `(("enchant" ,enchant)
8211 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8213 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8214 ("gnome-autoar" ,gnome-autoar)
8215 ("gnome-desktop" ,gnome-desktop)
8216 ("gtkspell3" ,gtkspell3)
8217 ("highlight" ,highlight)
8218 ("libcanberra" ,libcanberra)
8219 ("libedataserverui" ,evolution-data-server)
8220 ("libgweather" ,libgweather)
8221 ("libnotify" ,libnotify)
8222 ("libsoup" ,libsoup)
8224 ("openldap" ,openldap)
8225 ("webkitgtk" ,webkitgtk)
8227 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8228 (synopsis "Manage your email, contacts and schedule")
8229 (description "Evolution is a personal information management application
8230 that provides integrated mail, calendaring and address book
8232 ;; See COPYING for details.
8233 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
8234 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
8235 license:lgpl2.1+)))) ; smime/lib/*
8237 (define-public gthumb
8243 (uri (string-append "mirror://gnome/sources/gthumb/"
8244 (version-major+minor version) "/"
8245 "gthumb-" version ".tar.xz"))
8248 "184zn79w4s9y1zy42ar31p3jsg8rmkxy8k6iry51nz8aizbcs7jb"))))
8249 (build-system meson-build-system)
8253 ;; Ensure the RUNPATH contains all installed library locations.
8254 (list (string-append "-Dc_link_args=-Wl,-rpath="
8255 (assoc-ref %outputs "out")
8256 "/lib/gthumb/extensions")
8257 (string-append "-Dcpp_link_args=-Wl,-rpath="
8258 (assoc-ref %outputs "out")
8259 "/lib/gthumb/extensions"))))
8261 `(("pkg-config" ,pkg-config)
8262 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8263 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8264 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8265 ("intltool" ,intltool)
8266 ("itstool" ,itstool)))
8270 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8271 ("gstreamer" ,gstreamer)
8272 ("clutter" ,clutter)
8273 ("clutter-gst" ,clutter-gst)
8274 ("clutter-gtk" ,clutter-gtk)
8275 ("libjpeg" ,libjpeg)
8276 ("libtiff" ,libtiff)
8277 ("libraw" ,libraw)))
8278 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8279 (synopsis "GNOME image viewer and browser")
8280 (description "GThumb is an image viewer, browser, organizer, editor and
8281 advanced image management tool")
8282 (license license:gpl2+)))
8284 (define-public terminator
8290 (uri (string-append "https://launchpad.net/" name "/"
8291 "gtk3/" version "/" "+download/"
8292 name "-" version ".tar.gz"))
8295 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8296 (build-system python-build-system)
8298 `(("intltool" ,intltool)
8299 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8300 ("gettext" ,gettext-minimal)
8301 ("pkg-config" ,pkg-config)))
8304 ("gobject-introspection" ,gobject-introspection)
8305 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8306 ("python2-pycairo" ,python2-pycairo)
8307 ("python2-pygobject" ,python2-pygobject)
8308 ("python2-psutil" ,python2-psutil)
8311 `(#:python ,python-2 ; Python 3 isn't supported
8312 #:imported-modules ((guix build glib-or-gtk-build-system)
8313 ,@%python-build-system-modules)
8314 #:modules ((guix build python-build-system)
8315 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8318 (modify-phases %standard-phases
8320 'install 'wrap-program
8321 (lambda* (#:key outputs #:allow-other-keys)
8322 (let ((prog (string-append (assoc-ref outputs "out")
8323 "/bin/terminator")))
8325 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8326 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8328 (add-after 'wrap-program 'glib-or-gtk-wrap
8329 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
8330 (home-page "https://gnometerminator.blogspot.com/")
8331 (synopsis "Store and run multiple GNOME terminals in one window")
8333 "Terminator allows you to run multiple GNOME terminals in a grid and
8334 +tabs, and it supports drag and drop re-ordering of terminals.")
8335 (license license:gpl2)))
8337 (define-public libhandy
8345 (url "https://source.puri.sm/Librem5/libhandy")
8346 (commit (string-append "v" version))))
8347 (file-name (git-file-name name version))
8349 (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0"))))
8350 (build-system meson-build-system)
8353 '("-Dglade_catalog=disabled"
8356 (modify-phases %standard-phases
8357 (add-before 'check 'pre-check
8359 ;; Tests require a running X server.
8360 (system "Xvfb :1 &")
8361 (setenv "DISPLAY" ":1")
8366 `(("glib:bin" ,glib "bin")
8367 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
8369 ("gtk-doc" ,gtk-doc)
8370 ("pkg-config" ,pkg-config)
8371 ("gettext" ,gettext-minimal)
8372 ("xorg-server" ,xorg-server)
8374 ;; Test suite dependencies.
8375 ("hicolor-icon-theme" ,hicolor-icon-theme)))
8376 (home-page "https://source.puri.sm/Librem5/libhandy")
8377 (synopsis "Library full of GTK+ widgets for mobile phones")
8378 (description "The aim of the handy library is to help with developing user
8379 intefaces for mobile devices using GTK+.")
8380 (license license:lgpl2.1+)))
8382 (define-public libgit2-glib
8384 (name "libgit2-glib")
8385 (version "0.28.0.1")
8388 (uri (string-append "mirror://gnome/sources/" name "/"
8389 (version-major+minor version) "/"
8390 name "-" version ".tar.xz"))
8393 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
8394 (build-system meson-build-system)
8396 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
8397 ("gobject-introspection" ,gobject-introspection)
8398 ("intltool" ,intltool)
8399 ("libssh2" ,libssh2)
8400 ("pkg-config" ,pkg-config)
8401 ("python-pygobject" ,python-pygobject)
8402 ("python-wrapper" ,python-wrapper)
8406 ("libgit2" ,libgit2)))
8407 (synopsis "GLib wrapper around the libgit2 Git access library")
8408 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
8409 access library. It only implements the core plumbing functions, not really the
8410 higher level porcelain stuff.")
8411 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
8412 (license license:gpl2+)))
8414 (define-public gnome-mahjongg
8416 (name "gnome-mahjongg")
8421 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
8423 (file-name (git-file-name name version))
8426 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
8427 (build-system meson-build-system)
8429 `(#:glib-or-gtk? #t))
8431 `(("appstream-glib" ,appstream-glib)
8432 ("gettext" ,gettext-minimal)
8433 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
8434 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
8435 ("itstool" ,itstool)
8436 ("pkg-config" ,pkg-config)
8439 `(("dconf" ,dconf)))
8443 ("librsvg" ,librsvg)))
8444 (synopsis "Mahjongg tile-matching game")
8445 (description "GNOME Mahjongg is a game based on the classic Chinese
8446 tile-matching game Mahjong. It features multiple board layouts, tile themes,
8447 and a high score table.")
8448 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
8449 (license license:gpl2+)))