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>
45 ;;; This file is part of GNU Guix.
47 ;;; GNU Guix is free software; you can redistribute it and/or modify it
48 ;;; under the terms of the GNU General Public License as published by
49 ;;; the Free Software Foundation; either version 3 of the License, or (at
50 ;;; your option) any later version.
52 ;;; GNU Guix is distributed in the hope that it will be useful, but
53 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
54 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55 ;;; GNU General Public License for more details.
57 ;;; You should have received a copy of the GNU General Public License
58 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
60 (define-module (gnu packages gnome)
61 #:use-module (gnu packages)
62 #:use-module (gnu packages admin)
63 #:use-module (gnu packages aspell)
64 #:use-module (gnu packages autotools)
65 #:use-module (gnu packages avahi)
66 #:use-module (gnu packages backup)
67 #:use-module (gnu packages base)
68 #:use-module (gnu packages bash)
69 #:use-module (gnu packages bison)
70 #:use-module (gnu packages boost)
71 #:use-module (gnu packages build-tools)
72 #:use-module (gnu packages calendar)
73 #:use-module (gnu packages cdrom)
74 #:use-module (gnu packages check)
75 #:use-module (gnu packages cmake)
76 #:use-module (gnu packages compression)
77 #:use-module (gnu packages cups)
78 #:use-module (gnu packages curl)
79 #:use-module (gnu packages cyrus-sasl)
80 #:use-module (gnu packages databases)
81 #:use-module (gnu packages dbm)
82 #:use-module (gnu packages djvu)
83 #:use-module (gnu packages dns)
84 #:use-module (gnu packages docbook)
85 #:use-module (gnu packages documentation)
86 #:use-module (gnu packages enchant)
87 #:use-module (gnu packages flex)
88 #:use-module (gnu packages fonts)
89 #:use-module (gnu packages file-systems)
90 #:use-module (gnu packages fontutils)
91 #:use-module (gnu packages freedesktop)
92 #:use-module (gnu packages game-development)
93 #:use-module (gnu packages gettext)
94 #:use-module (gnu packages ghostscript)
95 #:use-module (gnu packages gl)
96 #:use-module (gnu packages glib)
97 #:use-module (gnu packages gnupg)
98 #:use-module (gnu packages gnuzilla)
99 #:use-module (gnu packages gperf)
100 #:use-module (gnu packages graphviz)
101 #:use-module (gnu packages gstreamer)
102 #:use-module (gnu packages gtk)
103 #:use-module (gnu packages guile)
104 #:use-module (gnu packages ibus)
105 #:use-module (gnu packages image)
106 #:use-module (gnu packages imagemagick)
107 #:use-module (gnu packages inkscape)
108 #:use-module (gnu packages iso-codes)
109 #:use-module (gnu packages kerberos)
110 #:use-module (gnu packages libcanberra)
111 #:use-module (gnu packages libunistring)
112 #:use-module (gnu packages libusb)
113 #:use-module (gnu packages linux)
114 #:use-module (gnu packages lirc)
115 #:use-module (gnu packages lua)
116 #:use-module (gnu packages mail)
117 #:use-module (gnu packages multiprecision)
118 #:use-module (gnu packages music)
119 #:use-module (gnu packages ncurses)
120 #:use-module (gnu packages nettle)
121 #:use-module (gnu packages networking)
122 #:use-module (gnu packages ninja)
123 #:use-module (gnu packages nss)
124 #:use-module (gnu packages openldap)
125 #:use-module (gnu packages password-utils)
126 #:use-module (gnu packages pcre)
127 #:use-module (gnu packages pdf)
128 #:use-module (gnu packages perl)
129 #:use-module (gnu packages photo)
130 #:use-module (gnu packages pkg-config)
131 #:use-module (gnu packages polkit)
132 #:use-module (gnu packages popt)
133 #:use-module (gnu packages pretty-print)
134 #:use-module (gnu packages pulseaudio)
135 #:use-module (gnu packages python)
136 #:use-module (gnu packages python-crypto)
137 #:use-module (gnu packages python-web)
138 #:use-module (gnu packages python-xyz)
139 #:use-module (gnu packages rdesktop)
140 #:use-module (gnu packages readline)
141 #:use-module (gnu packages ruby)
142 #:use-module (gnu packages rust)
143 #:use-module (gnu packages samba)
144 #:use-module (gnu packages scanner)
145 #:use-module (gnu packages selinux)
146 #:use-module (gnu packages slang)
147 #:use-module (gnu packages speech)
148 #:use-module (gnu packages spice)
149 #:use-module (gnu packages sqlite)
150 #:use-module (gnu packages ssh)
151 #:use-module (gnu packages tex)
152 #:use-module (gnu packages time)
153 #:use-module (gnu packages tls)
154 #:use-module (gnu packages version-control)
155 #:use-module (gnu packages video)
156 #:use-module (gnu packages virtualization)
157 #:use-module (gnu packages vpn)
158 #:use-module (gnu packages web)
159 #:use-module (gnu packages web)
160 #:use-module (gnu packages webkit)
161 #:use-module (gnu packages xdisorg)
162 #:use-module (gnu packages xiph)
163 #:use-module (gnu packages xml)
164 #:use-module (gnu packages xorg)
165 #:use-module (gnu packages xorg)
166 #:use-module (gnu artwork)
167 #:use-module (guix build-system cmake)
168 #:use-module (guix build-system glib-or-gtk)
169 #:use-module (guix build-system gnu)
170 #:use-module (guix build-system meson)
171 #:use-module (guix build-system python)
172 #:use-module (guix build-system trivial)
173 #:use-module (guix download)
174 #:use-module (guix git-download)
175 #:use-module ((guix licenses) #:prefix license:)
176 #:use-module (guix packages)
177 #:use-module (guix utils)
178 #:use-module (guix gexp)
179 #:use-module (ice-9 match)
180 #:use-module (srfi srfi-1))
182 (define-public brasero
188 (uri (string-append "mirror://gnome/sources/" name "/"
189 (version-major+minor version) "/"
190 name "-" version ".tar.xz"))
193 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
194 (build-system glib-or-gtk-build-system)
196 `(#:configure-flags (list
197 (string-append "--with-girdir="
198 (assoc-ref %outputs "out")
200 (string-append "--with-typelibdir="
201 (assoc-ref %outputs "out")
202 "/lib/girepository-1.0"))
204 (modify-phases %standard-phases
205 (add-before 'configure 'embed-growisofs
206 (lambda* (#:key inputs #:allow-other-keys)
207 (substitute* "plugins/growisofs/burn-growisofs.c"
208 (("\"growisofs") (string-append "\"" (which "growisofs"))))
211 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
213 `(("intltool" ,intltool)
214 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
215 ("gobject-introspection" ,gobject-introspection)
216 ("pkg-config" ,pkg-config)))
218 `(("dvd+rw-tools" ,dvd+rw-tools)
220 ("gnome-doc-utils" ,gnome-doc-utils)
221 ("gstreamer" ,gstreamer)
222 ("gst-plugins-base" ,gst-plugins-base)
225 ("libcanberra" ,libcanberra)
227 ("libnotify" ,libnotify)
230 ("totem-pl-parser" ,totem-pl-parser)))
231 (home-page "https://projects.gnome.org/brasero/")
232 (synopsis "CD/DVD burning tool for Gnome")
233 (description "Brasero is an application to burn CD/DVD for the Gnome
234 Desktop. It is designed to be as simple as possible and has some unique
235 features to enable users to create their discs easily and quickly.")
236 (license license:gpl2+)))
238 (define-public deja-dup
244 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
247 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
249 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
250 (build-system glib-or-gtk-build-system)
252 `(#:modules ((guix build gnu-build-system)
253 ((guix build cmake-build-system) #:prefix cmake:)
254 (guix build glib-or-gtk-build-system)
256 #:imported-modules (,@%glib-or-gtk-build-system-modules
257 (guix build cmake-build-system))
259 #:configure-flags (list (string-append
260 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
262 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
264 (modify-phases %standard-phases
265 (add-after 'unpack 'patch-lockfile-deletion
267 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
271 (assoc-ref cmake:%standard-phases 'configure))
272 (delete 'check) ;; Fails due to issues with DBus
273 (add-after 'install 'wrap-deja-dup
274 (lambda* (#:key inputs outputs #:allow-other-keys)
275 (let ((python (assoc-ref inputs "python"))
276 (python-path (getenv "PYTHONPATH"))
277 (duplicity (assoc-ref inputs "duplicity"))
278 (out (assoc-ref outputs "out")))
281 (wrap-program program
282 `("PATH" ":" prefix (,(string-append python "/bin")
283 ,(string-append duplicity "/bin"))))
284 (wrap-program program
285 `("PYTHONPATH" ":" prefix (,python-path))))
287 (find-files (string-append out "/bin")))
290 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
291 ("gobject-introspection" ,gobject-introspection)
292 ("duplicity" ,duplicity)
294 ("python-pygobject" ,python2-pygobject)
296 ("libnotify" ,libnotify)
298 ("libsecret" ,libsecret)
299 ("packagekit" ,packagekit)))
301 `(("pkg-config" ,pkg-config)
303 ("gettext" ,gettext-minimal)
305 ("intltool" ,intltool)
306 ("cmake" ,cmake-minimal)))
307 (home-page "https://launchpad.net/deja-dup")
308 (synopsis "Simple backup tool, for regular encrypted backups")
310 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
311 uses duplicity as the backend, which supports incremental backups and storage
312 either on a local, or remote machine via a number of methods.")
313 (license license:gpl3+)))
316 ;; This version from GNOME's repository includes fixes for compiling with
317 ;; recent versions of the build tools. The latest activity on the
318 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
320 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
323 (version (string-append "0.97.2-" (string-take commit 7)))
327 (url "https://git.gnome.org/browse/dia")
329 (file-name (string-append name "-" version "-checkout"))
332 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
333 (build-system gnu-build-system)
335 `(("glib" ,glib "bin")
337 ("gdk-pixbuf" ,gdk-pixbuf)
340 ("freetype" ,freetype)
341 ("libart-lgpl" ,libart-lgpl)))
343 `(("intltool" ,intltool)
344 ("pkg-config" ,pkg-config)
345 ("automake" ,automake)
346 ("autoconf" ,autoconf)
349 ("python-wrapper" ,python-wrapper)))
352 (modify-phases %standard-phases
353 (add-after 'unpack 'run-autogen
355 (system* "sh" "autogen.sh"))))))
356 (home-page "https://wiki.gnome.org/Apps/Dia")
357 (synopsis "Diagram creation for GNOME")
358 (description "Dia can be used to draw different types of diagrams, and
359 includes support for UML static structure diagrams (class diagrams), entity
360 relationship modeling, and network diagrams. The program supports various file
361 formats like PNG, SVG, PDF and EPS.")
362 (license license:gpl2+))))
364 ;; This is the unstable release, but it is required for the current stable
365 ;; release of gvfs (1.38.1).
366 (define-public libgdata
372 (uri (string-append "mirror://gnome/sources/" name "/"
373 (version-major+minor version) "/"
374 name "-" version ".tar.xz"))
377 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
378 (build-system gnu-build-system)
381 (modify-phases %standard-phases
382 (add-before 'check 'disable-failing-tests
384 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
385 ;; They have been removed in libgdata 0.17.6, so just do the same.
386 (substitute* "gdata/tests/Makefile"
387 (("picasaweb\\$\\(EXEEXT\\) ") ""))
390 `(("glib:bin" ,glib "bin")
391 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
392 ("intltool" ,intltool)
393 ("pkg-config" ,pkg-config)
394 ("uhttpmock" ,uhttpmock)))
396 `(("cyrus-sasl" ,cyrus-sasl)
397 ("glib-networking" ,glib-networking)))
401 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
402 ("json-glib" ,json-glib)
403 ("liboauth" ,liboauth)
405 ("libxml2" ,libxml2)))
406 (home-page "https://wiki.gnome.org/Projects/libgdata")
407 (synopsis "Library for accessing online service APIs")
409 "libgdata is a GLib-based library for accessing online service APIs using
410 the GData protocol — most notably, Google's services. It provides APIs to
411 access the common Google services, and has full asynchronous support.")
412 (license license:lgpl2.1+)))
414 (define-public libgxps
420 (uri (string-append "mirror://gnome/sources/" name "/"
421 (version-major+minor version) "/"
422 name "-" version ".tar.xz"))
425 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
426 (build-system meson-build-system)
428 `(("gobject-introspection" ,gobject-introspection)
429 ("pkg-config" ,pkg-config)))
432 ("libjpeg" ,libjpeg-turbo)
434 ("libtiff" ,libtiff)))
436 ;; In Requires of libgxps.pc.
439 ("libarchive" ,libarchive)))
440 (home-page "https://wiki.gnome.org/Projects/libgxps")
441 (synopsis "GObject-based library for handling and rendering XPS documents")
443 "libgxps is a GObject-based library for handling and rendering XPS
444 documents. This package also contains binaries that can convert XPS documents
446 (license license:lgpl2.1+)))
448 (define-public gnome-common
450 (name "gnome-common")
455 (uri (string-append "mirror://gnome/sources/" name "/"
456 (version-major+minor version) "/"
457 name "-" version ".tar.xz"))
460 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
461 (build-system gnu-build-system)
462 (home-page "https://www.gnome.org/")
463 (synopsis "Bootstrap GNOME modules built from Git")
464 (description "gnome-common contains various files needed to bootstrap
465 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
466 can be used to configure a source directory checked out from Git and some
467 commonly used macros.")
468 (license license:gpl2+)))
470 (define-public gnome-desktop
472 (name "gnome-desktop")
477 (uri (string-append "mirror://gnome/sources/" name "/"
478 (version-major+minor version) "/"
479 name "-" version ".tar.xz"))
482 "0k6iccfj9naw42dl2mgljfvk12dmvg06plg86qd81nksrf9ycxal"))))
483 (build-system gnu-build-system)
486 (modify-phases %standard-phases
487 (add-before 'configure 'patch-path
488 (lambda* (#:key inputs #:allow-other-keys)
489 (let ((libc (assoc-ref inputs "libc")))
490 (substitute* "libgnome-desktop/gnome-languages.c"
492 (string-append "\"" libc "/bin/locale\"")))
495 `(("gobject-introspection" ,gobject-introspection)
497 ("intltool" ,intltool)
498 ("pkg-config" ,pkg-config)
499 ("xmllint" ,libxml2)))
501 ;; Required by gnome-desktop-3.0.pc.
502 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
505 `(("gdk-pixbuf" ,gdk-pixbuf)
507 ("iso-codes" ,iso-codes)
508 ("libseccomp" ,libseccomp)
511 ("libxkbfile" ,libxkbfile)
512 ("libxrandr" ,libxrandr)
513 ("xkeyboard-config" ,xkeyboard-config)))
514 (home-page "https://www.gnome.org/")
516 "Libgnome-desktop, gnome-about, and desktop-wide documents")
518 "The libgnome-desktop library provides API shared by several applications
519 on the desktop, but that cannot live in the platform for various reasons.
520 There is no API or ABI guarantee, although we are doing our best to provide
521 stability. Documentation for the API is available with gtk-doc.
523 The gnome-about program helps find which version of GNOME is installed.")
524 ; Some bits under the LGPL.
525 (license license:gpl2+)))
527 (define-public gnome-doc-utils
529 (name "gnome-doc-utils")
534 (uri (string-append "mirror://gnome/sources/" name "/"
535 (version-major+minor version) "/"
536 name "-" version ".tar.xz"))
539 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
540 (build-system gnu-build-system)
542 `(("intltool" ,intltool)
543 ("docbook-xml" ,docbook-xml-4.4)
544 ("python2-libxml2" ,python2-libxml2)
547 ("pkg-config" ,pkg-config)
548 ("python-2" ,python-2)))
549 (home-page "https://wiki.gnome.org/GnomeDocUtils")
551 "Documentation utilities for the Gnome project")
553 "Gnome-doc-utils is a collection of documentation utilities for the
554 Gnome project. It includes xml2po tool which makes it easier to translate
555 and keep up to date translations of documentation.")
556 (license license:gpl2+))) ; xslt under lgpl
558 (define-public gnome-disk-utility
560 (name "gnome-disk-utility")
564 (uri (string-append "mirror://gnome/sources/" name "/"
565 (version-major+minor version) "/"
566 name "-" version ".tar.xz"))
569 "1365fabz3q7n3bl775z82m1nzg18birxxyd7l2ssbbkqrx3h7wgi"))))
570 (build-system meson-build-system)
572 `(("glib:bin" ,glib "bin")
573 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
574 ("intltool" ,intltool)
575 ("pkg-config" ,pkg-config)
576 ("docbook-xml" ,docbook-xml)
577 ("docbook-xsl" ,docbook-xsl)
579 ("libxslt" ,libxslt)))
582 ("appstream-glib" ,appstream-glib)
583 ("gnome-settings-daemon" ,gnome-settings-daemon)
585 ("libcanberra" ,libcanberra)
586 ("libdvdread" ,libdvdread)
587 ("libnotify" ,libnotify)
588 ("libpwquality" ,libpwquality)
589 ("libsecret" ,libsecret)
591 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
592 (synopsis "Disk management utility for GNOME")
593 (description "Disk management utility for GNOME.")
594 (license license:gpl2+)))
602 (uri (string-append "mirror://gnome/sources/" name "/"
603 (version-major+minor version) "/"
604 name "-" version ".tar.xz"))
607 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
610 ;; This patch solves an ordering issue that showed up when
611 ;; running the test suite against newer Glib 2.60. See
612 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
615 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
616 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
617 (file-name "gcr-hashtable-ordering.patch")
620 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
621 (build-system gnu-build-system)
624 (modify-phases %standard-phases
625 ;; These fail because /var/lib/dbus/machine-id is not present in the
626 ;; build environment.
627 (add-after 'unpack 'disable-failing-tests
629 (substitute* "gcr/test-system-prompt.c"
630 (("g_test_add") "//")
631 (("return.*") "return 0;"))
633 (add-before 'check 'pre-check
635 ;; Some tests expect to write to $HOME.
636 (setenv "HOME" "/tmp")
640 ("gnupg" ,gnupg) ;called as a child process during tests
641 ("libgcrypt" ,libgcrypt)))
643 `(("python" ,python-2) ;for tests
644 ("pkg-config" ,pkg-config)
646 ("gobject-introspection" ,gobject-introspection)
647 ("intltool" ,intltool)
650 ("xsltproc" ,libxslt)))
651 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
653 `(("p11-kit" ,p11-kit)
656 (home-page "https://www.gnome.org")
657 (synopsis "Libraries for displaying certificates and accessing key stores")
659 "The GCR package contains libraries used for displaying certificates and
660 accessing key stores. It also provides the viewer for crypto files on the
662 (license license:lgpl2.1+)))
664 (define-public libgnome-keyring
666 (name "libgnome-keyring")
670 (uri (string-append "mirror://gnome/sources/" name "/"
671 (version-major+minor version) "/"
672 name "-" version ".tar.xz"))
675 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
676 (build-system gnu-build-system)
678 `(("libgcrypt" ,libgcrypt)
681 `(("pkg-config" ,pkg-config)
683 ("intltool" ,intltool)))
685 ;; Referred to in .h files and .pc.
687 (home-page "https://www.gnome.org")
688 (synopsis "Accessing passwords from the GNOME keyring")
690 "Client library to access passwords from the GNOME keyring.")
692 ;; Though a couple of files are LGPLv2.1+.
693 (license license:lgpl2.0+)))
695 (define-public gnome-keyring
697 (name "gnome-keyring")
701 (uri (string-append "mirror://gnome/sources/" name "/"
702 (version-major+minor version) "/"
703 name "-" version ".tar.xz"))
706 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
707 (build-system gnu-build-system)
709 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
713 (string-append "--with-pkcs11-config="
714 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
715 (string-append "--with-pkcs11-modules="
716 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
718 (modify-phases %standard-phases
719 (add-after 'unpack 'fix-/bin/sh-reference
721 (substitute* "po/Makefile.in.in"
722 (("/bin/sh") (which "sh")))
724 (add-after 'unpack 'fix-docbook
725 (lambda* (#:key inputs #:allow-other-keys)
726 (substitute* "docs/Makefile.am"
727 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
728 (string-append (assoc-ref inputs "docbook-xsl")
729 "/xml/xsl/docbook-xsl-"
730 ,(package-version docbook-xsl)
731 "/manpages/docbook.xsl")))
732 (setenv "XML_CATALOG_FILES"
733 (string-append (assoc-ref inputs "docbook-xml")
734 "/xml/dtd/docbook/catalog.xml"))
735 ;; Rerun the whole thing to avoid version mismatch ("This is
736 ;; Automake 1.15.1, but the definition used by this
737 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
738 ;; use 'autoreconf' because it insists on running 'libtoolize'.
741 (invoke "automake" "-ac"))))))
743 `(("libgcrypt" ,libgcrypt)
744 ("linux-pam" ,linux-pam)
749 `(("pkg-config" ,pkg-config)
751 ("glib" ,glib) ; for m4 macros
752 ("python" ,python-2) ;for tests
753 ("intltool" ,intltool)
754 ("autoconf" ,autoconf)
755 ("automake" ,automake)
756 ("libxslt" ,libxslt) ;for documentation
757 ("docbook-xml" ,docbook-xml-4.2)
758 ("docbook-xsl" ,docbook-xsl)))
759 (home-page "https://www.gnome.org")
760 (synopsis "Daemon to store passwords and encryption keys")
762 "gnome-keyring is a program that keeps passwords and other secrets for
763 users. It is run as a daemon in the session, similar to ssh-agent, and other
764 applications locate it via an environment variable or D-Bus.
766 The program can manage several keyrings, each with its own master password,
767 and there is also a session keyring which is never stored to disk, but
768 forgotten when the session ends.")
769 (license license:lgpl2.1+)))
771 (define-public evince
777 (uri (string-append "mirror://gnome/sources/" name "/"
778 (version-major+minor version) "/"
779 name "-" version ".tar.xz"))
782 "0k7jln6dpg4bpv61niicjzkzyq6fhb3yfld7pc8ck71c8pmvsnx9"))))
783 (build-system glib-or-gtk-build-system)
785 `(#:configure-flags '("--disable-nautilus")
787 (modify-phases %standard-phases
788 (add-before 'install 'skip-gtk-update-icon-cache
789 ;; Don't create 'icon-theme.cache'.
791 (substitute* "data/Makefile"
792 (("gtk-update-icon-cache") "true"))
795 `(("libarchive" ,libarchive)
797 ("libspectre" ,libspectre)
798 ("djvulibre" ,djvulibre)
799 ("ghostscript" ,ghostscript)
803 ;; Build libkpathsea as a shared library for DVI support.
804 ;; ("libkpathsea" ,texlive-bin)
805 ("gnome-desktop" ,gnome-desktop)
806 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
808 ("libgnome-keyring" ,libgnome-keyring)
809 ("adwaita-icon-theme" ,adwaita-icon-theme)
810 ("gdk-pixbuf" ,gdk-pixbuf)
818 ("shared-mime-info" ,shared-mime-info)
820 ("libcanberra" ,libcanberra)
821 ("libsecret" ,libsecret)
824 ("dogtail" ,python2-dogtail)))
826 `(("itstool" ,itstool)
827 ("intltool" ,intltool)
829 ("pkg-config" ,pkg-config)
830 ("xmllint" ,libxml2)))
832 "https://www.gnome.org/projects/evince/")
833 (synopsis "GNOME's document viewer")
835 "Evince is a document viewer for multiple document formats. It
836 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
837 of Evince is to replace the multiple document viewers that exist
838 on the GNOME Desktop with a single simple application.")
839 (license license:gpl2+)))
841 (define-public gsettings-desktop-schemas
843 (name "gsettings-desktop-schemas")
848 (uri (string-append "mirror://gnome/sources/" name "/"
849 (version-major+minor version) "/"
850 name "-" version ".tar.xz"))
853 "0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq"))))
854 (build-system gnu-build-system)
858 `(("intltool" ,intltool)
859 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
860 ("gobject-introspection" ,gobject-introspection)
861 ("pkg-config" ,pkg-config)))
862 (home-page "https://launchpad.net/gsettings-desktop-schemas")
864 "GNOME settings for various desktop components")
866 "Gsettings-desktop-schemas contains a collection of GSettings schemas
867 for settings shared by various components of the GNOME desktop.")
868 (license license:lgpl2.1+)))
870 (define-public icon-naming-utils
872 (name "icon-naming-utils")
877 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
881 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
882 (build-system gnu-build-system)
885 ("perl-xml-simple" ,perl-xml-simple)))
888 (modify-phases %standard-phases
889 (add-after 'install 'set-load-paths
890 ;; Tell 'icon-name-mapping' where XML::Simple is.
891 (lambda* (#:key outputs #:allow-other-keys)
892 (let* ((out (assoc-ref outputs "out"))
893 (prog (string-append out "/libexec/icon-name-mapping")))
896 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
898 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
900 "Utility to implement the Freedesktop Icon Naming Specification")
902 "To help with the transition to the Freedesktop Icon Naming
903 Specification, the icon naming utility maps the icon names used by the
904 GNOME and KDE desktops to the icon names proposed in the specification.")
905 (license license:lgpl2.1+)))
907 (define-public gnome-icon-theme
909 (name "gnome-icon-theme")
914 (uri (string-append "mirror://gnome/sources/" name "/"
915 (version-major+minor version) "/"
916 name "-" version ".tar.xz"))
919 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
920 (build-system gnu-build-system)
923 ;; Don't create 'icon-theme.cache'.
924 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
925 (true (string-append coreutils "/bin/true")))
926 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
928 `(("icon-naming-utils" ,icon-naming-utils)
929 ("intltool" ,intltool)
930 ("pkg-config" ,pkg-config)))
931 (home-page "https://art.gnome.org/")
935 "Icons for the GNOME desktop.")
936 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
938 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
939 (define-public adwaita-icon-theme
940 (package (inherit gnome-icon-theme)
941 (name "adwaita-icon-theme")
945 (uri (string-append "mirror://gnome/sources/" name "/"
946 (version-major+minor version) "/"
947 name "-" version ".tar.xz"))
950 "1kp1lis3dr16jmlgycz1b29jsr6ir8wmqj6laqwlhs663cmjlxbd"))))
952 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
954 (define-public tango-icon-theme
956 (name "tango-icon-theme")
960 (uri (string-append "http://tango.freedesktop.org/releases/"
961 "tango-icon-theme-" version ".tar.bz2"))
964 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
965 (build-system gnu-build-system)
967 `(("icon-naming-utils" ,icon-naming-utils)
968 ("intltool" ,intltool)
969 ("imagemagick" ,imagemagick)
970 ("pkg-config" ,pkg-config)))
971 (home-page "http://tango-project.org/")
972 (synopsis "Tango icon theme")
973 (description "This is an icon theme that follows the Tango visual
975 (license license:public-domain)))
977 (define-public shared-mime-info
979 (name "shared-mime-info")
983 (uri (string-append "https://freedesktop.org/~hadess/"
984 "shared-mime-info-" version ".tar.xz"))
987 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
988 (build-system gnu-build-system)
990 ;; The build system appears not to be parallel-safe.
991 '(#:parallel-build? #f))
994 ("libxml2" ,libxml2)))
996 `(("intltool" ,intltool)
997 ("pkg-config" ,pkg-config)))
998 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
999 (synopsis "Database of common MIME types")
1001 "The shared-mime-info package contains the core database of common types
1002 and the update-mime-database command used to extend it. It requires glib2 to
1003 be installed for building the update command. Additionally, it uses intltool
1004 for translations, though this is only a dependency for the maintainers. This
1005 database is translated at Transifex.")
1006 (license license:gpl2+)))
1008 (define-public system-config-printer
1010 (name "system-config-printer")
1015 "https://github.com/zdohnal/system-config-printer/releases/"
1017 "/system-config-printer-" version ".tar.xz"))
1020 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
1021 (build-system glib-or-gtk-build-system)
1023 `(#:imported-modules ((guix build python-build-system)
1024 ,@%glib-or-gtk-build-system-modules)
1026 (modify-phases %standard-phases
1027 (add-after 'unpack 'patch-Makefile.am
1029 ;; The Makefile generates some scripts, so set a valid shebang
1030 (substitute* "Makefile.am"
1031 (("/bin/bash") (which "bash")))
1032 (delete-file "configure")
1034 (add-after 'unpack 'patch-docbook-xml
1035 (lambda* (#:key inputs #:allow-other-keys)
1036 ;; Modify the man XML otherwise xmlto tries to access the network
1037 (substitute* "man/system-config-printer.xml"
1038 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1039 (string-append (assoc-ref inputs "docbook-xml")
1040 "/xml/dtd/docbook/")))
1042 (add-after 'install 'wrap-for-python
1043 (@@ (guix build python-build-system) wrap))
1044 (add-after 'install 'wrap
1045 (lambda* (#:key outputs #:allow-other-keys)
1046 (let ((out (assoc-ref outputs "out"))
1047 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1050 (wrap-program program
1051 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1053 (string-append out "/bin/" name))
1054 '("system-config-printer"
1055 "system-config-printer-applet"
1056 "install-printerdriver"
1057 "scp-dbus-service"))))
1060 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1061 ("gobject-introspection" ,gobject-introspection)
1064 ("python-dbus" ,python-dbus)
1065 ("python-pygobject" ,python-pygobject)
1066 ("python-pycups" ,python-pycups)
1067 ("python-requests" ,python-requests)
1068 ("python-pycairo" ,python-pycairo)
1069 ("libnotify" ,libnotify)
1070 ("packagekit" ,packagekit)))
1072 `(("pkg-config" ,pkg-config)
1073 ("desktop-file-utils" ,desktop-file-utils)
1075 ("autoconf" ,autoconf)
1076 ("automake" ,automake)
1077 ("intltool" ,intltool)
1079 ("docbook-xml" ,docbook-xml-4.1.2)
1080 ("docbook-xsl" ,docbook-xsl)
1081 ("libxml2" ,libxml2)))
1082 (home-page "https://github.com/zdohnal/system-config-printer")
1083 (synopsis "CUPS administration tool")
1085 "system-config-printer is a CUPS administration tool. It's written in
1086 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1088 (license license:gpl2+)))
1090 (define-public hicolor-icon-theme
1092 (name "hicolor-icon-theme")
1097 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1098 "hicolor-icon-theme-" version ".tar.xz"))
1101 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1102 (build-system gnu-build-system)
1104 `(#:tests? #f)) ; no check target
1105 (home-page "https://icon-theme.freedesktop.org/releases/")
1107 "Freedesktop icon theme")
1109 "Freedesktop icon theme.")
1110 (license license:gpl2)))
1112 (define-public libnotify
1119 (uri (string-append "mirror://gnome/sources/" name "/"
1120 (version-major+minor version) "/"
1121 name "-" version ".tar.xz"))
1124 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1125 (build-system gnu-build-system)
1127 `(#:configure-flags '("--disable-static")))
1129 `(;; In Requires of libnotify.pc.
1130 ("gdk-pixbuf" ,gdk-pixbuf)
1134 ("libpng" ,libpng)))
1136 `(("pkg-config" ,pkg-config)
1137 ("glib" ,glib "bin")
1138 ("gobject-introspection" ,gobject-introspection)))
1139 (home-page "https://developer-next.gnome.org/libnotify/")
1141 "GNOME desktop notification library")
1143 "Libnotify is a library that sends desktop notifications to a
1144 notification daemon, as defined in the Desktop Notifications spec. These
1145 notifications can be used to inform the user about an event or display
1146 some form of information without getting in the user's way.")
1147 (license license:lgpl2.1+)))
1149 (define-public libpeas
1156 (uri (string-append "mirror://gnome/sources/" name "/"
1157 (version-major+minor version) "/"
1158 name "-" version ".tar.xz"))
1161 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1162 (build-system gnu-build-system)
1167 ("python-pygobject" ,python-pygobject)))
1169 `(("pkg-config" ,pkg-config)
1170 ("glib:bin" ,glib "bin")
1171 ("gobject-introspection" ,gobject-introspection)
1172 ("intltool" ,intltool)))
1174 ;; The .pc file "Requires" gobject-introspection.
1175 `(("gobject-introspection" ,gobject-introspection)))
1176 (home-page "https://wiki.gnome.org/Libpeas")
1177 (synopsis "GObject plugin system")
1179 "Libpeas is a gobject-based plugin engine, targeted at giving every
1180 application the chance to assume its own extensibility. It also has a set of
1181 features including, but not limited to: multiple extension points; on-demand
1182 (lazy) programming language support for C, Python and JS; simplicity of the
1184 (license license:lgpl2.0+)))
1186 (define-public gtkglext
1192 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1193 version "/gtkglext-" version ".tar.gz"))
1195 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1196 (patches (search-patches
1197 "gtkglext-disable-disable-deprecated.patch"))))
1198 (build-system gnu-build-system)
1201 (modify-phases %standard-phases
1202 ;; Fix a collision between a local variable and a definition from
1203 ;; glibc's string.h.
1204 (add-after 'unpack 'fix-collision
1206 (substitute* "gdk/gdkglshapes.c"
1207 ((" index") " triangle_index"))
1209 (inputs `(("gtk+" ,gtk+-2)
1214 (native-inputs `(("pkg-config" ,pkg-config)
1215 ("glib" ,glib "bin")))
1216 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1217 (home-page "https://projects.gnome.org/gtkglext")
1218 (synopsis "OpenGL extension to GTK+")
1219 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1220 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1221 API add-ons to make GTK+ widgets OpenGL-capable.")
1222 (license license:lgpl2.1+)))
1224 (define-public glade3
1230 (uri (string-append "mirror://gnome/sources/" name "/"
1231 (version-major+minor version) "/"
1232 name "-" version ".tar.xz"))
1235 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
1236 (build-system glib-or-gtk-build-system)
1238 `(#:tests? #f ; needs X, GL, and software rendering
1240 (modify-phases %standard-phases
1241 (add-before 'configure 'fix-docbook
1242 (lambda* (#:key inputs #:allow-other-keys)
1243 (substitute* "man/Makefile.in"
1244 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1245 (string-append (assoc-ref inputs "docbook-xsl")
1246 "/xml/xsl/docbook-xsl-"
1247 ,(package-version docbook-xsl)
1248 "/manpages/docbook.xsl")))
1252 ("libxml2" ,libxml2)))
1254 `(("intltool" ,intltool)
1255 ("itstool" ,itstool)
1256 ("libxslt" ,libxslt) ;for xsltproc
1257 ("docbook-xml" ,docbook-xml-4.2)
1258 ("docbook-xsl" ,docbook-xsl)
1259 ("python" ,python-2)
1260 ("pkg-config" ,pkg-config)))
1261 (home-page "https://glade.gnome.org")
1262 (synopsis "GTK+ rapid application development tool")
1263 (description "Glade is a rapid application development (RAD) tool to
1264 enable quick & easy development of user interfaces for the GTK+ toolkit and
1265 the GNOME desktop environment.")
1266 (license license:lgpl2.0+)))
1268 (define-public libcroco
1274 (uri (string-append "mirror://gnome/sources/" name "/"
1275 (version-major+minor version) "/"
1276 name "-" version ".tar.xz"))
1279 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1280 (build-system gnu-build-system)
1282 `(("pkg-config" ,pkg-config)))
1285 ("libxml2" ,libxml2)
1287 (home-page "https://github.com/GNOME/libcroco")
1288 (synopsis "CSS2 parsing and manipulation library")
1290 "Libcroco is a standalone CSS2 parsing and manipulation library.
1291 The parser provides a low level event driven SAC-like API and a CSS object
1292 model like API. Libcroco provides a CSS2 selection engine and an experimental
1293 XML/CSS rendering engine.")
1296 (license license:lgpl2.1)))
1298 (define-public libgsf
1304 (uri (string-append "mirror://gnome/sources/" name "/"
1305 (version-major+minor version) "/"
1306 name "-" version ".tar.xz"))
1309 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
1310 (build-system gnu-build-system)
1312 `(("intltool" ,intltool)
1313 ("pkg-config" ,pkg-config)))
1315 `(("python" ,python)
1319 `(("gdk-pixbuf" ,gdk-pixbuf)
1321 ("libxml2" ,libxml2)))
1322 (home-page "https://www.gnome.org/projects/libgsf")
1323 (synopsis "GNOME's Structured File Library")
1325 "Libgsf aims to provide an efficient extensible I/O abstraction for
1326 dealing with different structured file formats.")
1329 (license license:lgpl2.1)))
1331 (define-public librsvg
1337 (uri (string-append "mirror://gnome/sources/" name "/"
1338 (version-major+minor version) "/"
1339 name "-" version ".tar.xz"))
1342 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1343 (build-system gnu-build-system)
1346 (list "--disable-static"
1347 "--enable-vala") ; needed for e.g. gnome-mines
1349 (modify-phases %standard-phases
1350 (add-before 'configure 'pre-configure
1351 (lambda* (#:key inputs #:allow-other-keys)
1352 (substitute* "gdk-pixbuf-loader/Makefile.in"
1353 ;; By default the gdk-pixbuf loader is installed under
1354 ;; gdk-pixbuf's prefix. Work around that.
1355 (("gdk_pixbuf_moduledir = .*$")
1356 (string-append "gdk_pixbuf_moduledir = "
1357 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1359 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1360 (("gdk_pixbuf_cache_file = .*$")
1361 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1363 (add-before 'check 'remove-failing-tests
1365 (with-directory-excursion "tests/fixtures/reftests"
1366 (for-each delete-file
1367 '(;; This test fails on i686:
1368 "svg1.1/masking-path-04-b.svg"
1369 ;; This test fails on armhf:
1370 "svg1.1/masking-mask-01-b.svg"
1371 ;; This test fails on aarch64:
1372 "bugs/777834-empty-text-children.svg")))
1375 `(("pkg-config" ,pkg-config)
1377 ("glib" ,glib "bin") ; glib-mkenums, etc.
1378 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1381 ("libcroco" ,libcroco)
1384 ("libxml2" ,libxml2)))
1386 ;; librsvg-2.0.pc refers to all of that.
1388 ("gdk-pixbuf" ,gdk-pixbuf)
1390 (home-page "https://wiki.gnome.org/LibRsvg")
1391 (synopsis "Render SVG files using Cairo")
1393 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1395 (license license:lgpl2.0+)))
1397 (define-public librsvg-next
1403 (uri (string-append "mirror://gnome/sources/" name "/"
1404 (version-major+minor version) "/"
1405 name "-" version ".tar.xz"))
1408 "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6"))))
1409 (build-system gnu-build-system)
1412 (list "--disable-static"
1413 "--enable-vala") ; needed for e.g. gnome-mines
1414 #:make-flags '("CC=gcc")
1416 (modify-phases %standard-phases
1417 ;; Don't patch anything in vendor/ to avoid having to recompute
1418 ;; checksums for the bundled Cargo "crates". TODO: Unbundle those.
1419 (delete 'patch-source-shebangs)
1420 (delete 'patch-generated-file-shebangs)
1421 (delete 'patch-usr-bin-file)
1422 (add-before 'configure 'patch-all-the-things
1424 (for-each patch-shebang '("tap-driver.sh" "tap-test"))
1425 (patch-/usr/bin/file "configure")
1427 (add-before 'configure 'pre-configure
1428 (lambda* (#:key inputs #:allow-other-keys)
1429 (substitute* "gdk-pixbuf-loader/Makefile.in"
1430 ;; By default the gdk-pixbuf loader is installed under
1431 ;; gdk-pixbuf's prefix. Work around that.
1432 (("gdk_pixbuf_moduledir = .*$")
1433 (string-append "gdk_pixbuf_moduledir = "
1434 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1436 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1437 (("gdk_pixbuf_cache_file = .*$")
1438 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1440 (add-before 'check 'remove-failing-tests
1442 (with-directory-excursion "tests/fixtures/reftests"
1443 (for-each delete-file
1444 '(;; The images produced by these tests differ slightly
1445 ;; from their reference counterparts due to differences
1446 ;; in the build environment (missing fonts, etc). See
1447 ;; <tests/README.md> for details.
1448 ;; These fail on x86_64.
1449 "svg1.1/coords-viewattr-02-b.svg"
1450 "svg1.1/filters-composite-04-f.svg"
1451 "svg1.1/filters-image-01-b.svg"
1452 "svg1.1/filters-conv-02-f.svg"
1453 "svg1.1/filters-conv-04-f.svg"
1454 ;; This test fails on i686:
1455 "svg1.1/masking-path-04-b.svg"
1456 ;; This test fails on armhf:
1457 "svg1.1/masking-mask-01-b.svg"
1458 ;; This test fails on aarch64:
1459 "bugs/777834-empty-text-children.svg")))
1462 `(("pkg-config" ,pkg-config)
1463 ;; This is the minimum supported Rust version in Librsvg 2.44.
1465 ("cargo" ,rust-1.27 "cargo")
1467 ("glib" ,glib "bin") ; glib-mkenums, etc.
1468 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1471 ("libcroco" ,libcroco)
1474 ("libxml2" ,libxml2)))
1476 ;; librsvg-2.0.pc refers to all of that.
1478 ("gdk-pixbuf" ,gdk-pixbuf)
1480 (home-page "https://wiki.gnome.org/LibRsvg")
1481 (synopsis "Render SVG files using Cairo")
1483 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1485 (license license:lgpl2.0+)))
1487 (define-public libidl
1493 (uri (let ((upstream-name "libIDL"))
1494 (string-append "mirror://gnome/sources/" upstream-name "/"
1495 (version-major+minor version) "/"
1496 upstream-name "-" version ".tar.bz2")))
1499 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1500 (build-system gnu-build-system)
1501 (inputs `(("glib" ,glib)))
1503 `(("pkg-config" ,pkg-config)
1506 (home-page "http://freecode.com/projects/libidl")
1507 (synopsis "Create trees of CORBA Interface Definition Language files")
1508 (description "Libidl is a library for creating trees of CORBA Interface
1509 Definition Language (idl) files, which is a specification for defining
1510 portable interfaces. libidl was initially written for orbit (the orb from the
1511 GNOME project, and the primary means of libidl distribution). However, the
1512 functionality was designed to be as reusable and portable as possible.")
1513 (license license:lgpl2.0+)))
1516 (define-public orbit2
1522 (uri (let ((upstream-name "ORBit2"))
1523 (string-append "mirror://gnome/sources/" upstream-name "/"
1524 (version-major+minor version) "/"
1525 upstream-name "-" version ".tar.bz2")))
1528 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1529 (build-system gnu-build-system)
1532 '(;; We don't need static libraries, plus they don't build reproducibly
1533 ;; (non-deterministic ordering of .o files in the archive.)
1536 ;; The programmer kindly gives us a hook to turn off deprecation
1538 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1539 ;; ... which they then completly ignore !!
1541 (modify-phases %standard-phases
1542 (add-before 'configure 'ignore-deprecations
1544 (substitute* "linc2/src/Makefile.in"
1545 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1547 (inputs `(("glib" ,glib)
1548 ("libidl" ,libidl)))
1550 `(("pkg-config" ,pkg-config)))
1551 (home-page "https://projects.gnome.org/orbit2/")
1552 (synopsis "CORBA 2.4-compliant Object Request Broker")
1553 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1554 featuring mature C, C++ and Python bindings.")
1555 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1556 ;; a version. SOME of the code files have licence notices for GPLv2+.
1557 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1558 (license license:gpl2+)
1559 (properties `((upstream-name . "ORBit2")))))
1562 (define-public libbonobo
1568 (uri (string-append "mirror://gnome/sources/" name "/"
1569 (version-major+minor version)
1570 "/" name "-" version ".tar.bz2"))
1572 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1573 (patches (search-patches
1574 "libbonobo-activation-test-race.patch"))))
1575 (build-system gnu-build-system)
1577 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1579 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1580 ;; ... which they then completly ignore !!
1582 (modify-phases %standard-phases
1583 (add-before 'configure 'ignore-deprecations
1585 (substitute* "activation-server/Makefile.in"
1586 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1589 ;; There's apparently a race condition between the server stub
1590 ;; generation and linking of the example under 'samples/echo' that can
1591 ;; lead do undefined references when building in parallel, as reported
1592 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1593 ;; Thus, disable parallel builds.
1594 #:parallel-build? #f))
1595 (inputs `(("popt" ,popt)
1596 ("libxml2" ,libxml2)))
1597 ;; The following are Required by the .pc file
1600 ("orbit2" ,orbit2)))
1602 `(("intltool" ,intltool)
1603 ("pkg-config" ,pkg-config)
1604 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1607 (home-page "https://developer.gnome.org/libbonobo/")
1608 (synopsis "Framework for creating reusable components for use in GNOME applications")
1609 (description "Bonobo is a framework for creating reusable components for
1610 use in GNOME applications, built on top of CORBA.")
1611 ;; Licence not explicitly stated. Source files contain no licence notices.
1612 ;; Tarball contains text of both GPLv2 and LGPLv2
1613 ;; GPLv2 covers both conditions
1614 (license license:gpl2+)))
1617 (define-public gconf
1624 (let ((upstream-name "GConf"))
1625 (string-append "mirror://gnome/sources/" upstream-name "/"
1626 (version-major+minor version) "/"
1627 upstream-name "-" version ".tar.xz")))
1629 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1630 (build-system gnu-build-system)
1631 (inputs `(("dbus-glib" ,dbus-glib)
1632 ("libxml2" ,libxml2)))
1633 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1634 ("orbit2" ,orbit2)))
1636 `(("intltool" ,intltool)
1637 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1638 ("pkg-config" ,pkg-config)))
1639 (home-page "https://projects.gnome.org/gconf/")
1640 (synopsis "Store application preferences")
1641 (description "Gconf is a system for storing application preferences. It
1642 is intended for user preferences; not arbitrary data storage.")
1643 (license license:lgpl2.0+)
1644 (properties '((upstream-name . "GConf")))))
1647 (define-public gnome-mime-data
1649 (name "gnome-mime-data")
1653 (uri (string-append "mirror://gnome/sources/" name "/"
1654 (version-major+minor version) "/"
1655 name "-" version ".tar.bz2"))
1658 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1659 (build-system gnu-build-system)
1662 ("intltool" ,intltool)))
1664 '(#:phases (modify-phases %standard-phases
1665 (add-after 'configure 'use-our-intltool
1667 ;; Do not use the bundled intltool commands, which lack
1668 ;; the "dotless @INC" fixes of our 'intltool' package.
1669 (substitute* (find-files "." "^Makefile$")
1670 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1671 (string-append "INTLTOOL_" tool " = intltool-"
1672 (string-downcase tool) "\n")))
1674 (home-page "https://www.gnome.org")
1675 (synopsis "Base MIME and Application database for GNOME")
1676 (description "GNOME Mime Data is a module which contains the base MIME
1677 and Application database for GNOME. The data stored by this module is
1678 designed to be accessed through the MIME functions in GnomeVFS.")
1679 (license license:gpl2+)))
1682 (define-public gnome-vfs
1688 (uri (string-append "mirror://gnome/sources/" name "/"
1689 (version-major+minor version) "/"
1690 name "-" version ".tar.bz2"))
1693 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1694 (build-system gnu-build-system)
1697 (modify-phases %standard-phases
1698 (add-before 'configure 'ignore-deprecations
1700 (substitute* '("libgnomevfs/Makefile.in"
1701 "daemon/Makefile.in")
1702 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1704 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1706 (substitute* "test/test-async-cancel.c"
1707 (("EXIT_FAILURE") "77"))
1709 (inputs `(("libxml2" ,libxml2)
1710 ("dbus-glib" ,dbus-glib)
1712 ("gnome-mime-data" ,gnome-mime-data)
1715 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1716 ("intltool" ,intltool)
1717 ("pkg-config" ,pkg-config)))
1718 (home-page "https://developer.gnome.org/gnome-vfs/")
1719 (synopsis "Access files and folders in GNOME applications")
1721 "GnomeVFS is the core library used to access files and folders in GNOME
1722 applications. It provides a file system abstraction which allows applications
1723 to access local and remote files with a single consistent API.")
1724 (license license:lgpl2.0+)))
1728 (define-public libgnome
1734 (uri (string-append "mirror://gnome/sources/" name "/"
1735 (version-major+minor version) "/"
1736 name "-" version ".tar.bz2"))
1739 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1740 (patches (search-patches "libgnome-encoding.patch"))))
1741 (build-system gnu-build-system)
1744 (modify-phases %standard-phases
1745 (add-before 'configure 'enable-deprecated
1747 (substitute* "libgnome/Makefile.in"
1748 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1750 (inputs `(("libxml2" ,libxml2)))
1752 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1753 ("intltool" ,intltool)
1754 ("pkg-config" ,pkg-config)))
1755 ;; The following are listed as Required in the .pc file
1756 ;; (except for libcanberra -- which seems to be oversight on the part
1757 ;; of the upstream developers -- anything that links against libgnome,
1758 ;; must also link against libcanberra
1760 `(("libcanberra" ,libcanberra)
1761 ("libbonobo" ,libbonobo)
1763 ("gnome-vfs" ,gnome-vfs)
1764 ("popt" ,popt))) ;gnome-program.h includes popt.h
1765 (home-page "https://developer.gnome.org/libgnome/")
1766 (synopsis "Useful routines for building applications")
1767 (description "The libgnome library provides a number of useful routines
1768 for building modern applications, including session management, activation of
1769 files and URIs, and displaying help.")
1770 (license license:lgpl2.0+)))
1773 (define-public libart-lgpl
1775 (name "libart-lgpl")
1779 (uri (let ((upstream-name "libart_lgpl"))
1780 (string-append "mirror://gnome/sources/" upstream-name "/"
1781 (version-major+minor version) "/"
1782 upstream-name "-" version ".tar.bz2")))
1785 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1786 (build-system gnu-build-system)
1788 `(("pkg-config" ,pkg-config)))
1789 (home-page "https://people.gnome.org/~mathieu/libart")
1790 (synopsis "2D drawing library")
1791 (description "Libart is a 2D drawing library intended as a
1792 high-quality vector-based 2D library with antialiasing and alpha composition.")
1793 (license license:lgpl2.0+)))
1797 (define-public libgnomecanvas
1799 (name "libgnomecanvas")
1803 (uri (string-append "mirror://gnome/sources/" name "/"
1804 (version-major+minor version) "/"
1805 name "-" version ".tar.gz"))
1808 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1809 (build-system gnu-build-system)
1810 ;; Mentioned as Required in the .pc file
1811 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1814 `(("intltool" ,intltool)
1815 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1816 ("pkg-config" ,pkg-config)))
1817 (home-page "https://developer.gnome.org/libgnomecanvas/")
1818 (synopsis "Flexible widget for creating interactive structured graphics")
1819 (description "The GnomeCanvas widget provides a flexible widget for
1820 creating interactive structured graphics.")
1821 (license license:lgpl2.0+)))
1823 (define-public libgnomecanvasmm
1825 (name "libgnomecanvasmm")
1829 (uri (string-append "mirror://gnome/sources/" name "/"
1830 (version-major+minor version) "/"
1831 name "-" version ".tar.bz2"))
1834 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1835 (build-system gnu-build-system)
1836 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1838 `(("gtkmm-2" ,gtkmm-2)
1839 ("pkg-config" ,pkg-config)))
1840 (home-page "https://gtkmm.org")
1841 (synopsis "C++ bindings to the GNOME Canvas library")
1842 (description "C++ bindings to the GNOME Canvas library.")
1843 (license license:lgpl2.0+)))
1845 (define-public libgnomeui
1851 (uri (string-append "mirror://gnome/sources/" name "/"
1852 (version-major+minor version) "/"
1853 name "-" version ".tar.bz2"))
1854 (patches (search-patches "libgnomeui-utf8.patch"))
1857 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1858 (build-system gnu-build-system)
1859 ;; Mentioned as Required in the .pc file
1860 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1861 ("libgnome" ,libgnome)
1862 ("libgnomecanvas" ,libgnomecanvas)
1863 ("libgnome-keyring" ,libgnome-keyring)))
1864 (inputs `(("libjpeg" ,libjpeg)
1866 ("libbonobo" ,libbonobo)
1867 ("libxml2" ,libxml2)
1868 ("libglade" ,libglade)))
1870 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1871 ("intltool" ,intltool)
1872 ("pkg-config" ,pkg-config)))
1873 (home-page "https://developer.gnome.org/libgnomeui/")
1874 (synopsis "Additional widgets for applications")
1875 (description "The libgnomeui library provides additional widgets for
1876 applications. Many of the widgets from libgnomeui have already been
1878 (license license:lgpl2.0+)))
1880 (define-public libglade
1886 (uri (string-append "mirror://gnome/sources/" name "/"
1887 (version-major+minor version) "/"
1888 name "-" version ".tar.bz2"))
1891 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1892 (build-system gnu-build-system)
1894 `(("python" ,python))) ;; needed for the optional libglade-convert program
1896 `(("gtk+-2" ,gtk+-2)
1897 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1899 `(("pkg-config" ,pkg-config)))
1900 (home-page "https://developer.gnome.org/libglade")
1901 (synopsis "Load glade interfaces and access the glade built widgets")
1902 (description "Libglade is a library that provides interfaces for loading
1903 graphical interfaces described in glade files and for accessing the
1904 widgets built in the loading process.")
1905 (license license:gpl2+))) ; This is correct. GPL not LGPL
1907 (define-public libgnomeprint
1908 ;; This library has been deprecated since 2006; see
1909 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1911 (name "libgnomeprint")
1915 (uri (string-append "mirror://gnome/sources/" name "/"
1916 (version-major+minor version) "/"
1917 name "-" version ".tar.bz2"))
1920 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
1921 (build-system gnu-build-system)
1924 ("libart-lgpl" ,libart-lgpl)
1926 ("libxml2" ,libxml2)))
1928 `(("intltool" ,intltool)
1929 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1930 ("pkg-config" ,pkg-config)))
1931 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1932 (synopsis "Printing framework for GNOME")
1934 "GNOME-print was a printing framework for GNOME. It has been deprecated
1935 since ca. 2006, when GTK+ itself incorporated printing support.")
1936 (license license:lgpl2.0+)))
1939 (define-public libgnomeprintui
1940 ;; Deprecated; see libgnomeprint.
1942 (name "libgnomeprintui")
1946 (uri (string-append "mirror://gnome/sources/" name "/"
1947 (version-major+minor version) "/"
1948 name "-" version ".tar.bz2"))
1951 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
1952 (build-system gnu-build-system)
1953 ;; Mentioned as Required in the .pc file
1954 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1955 (inputs `(("gtk+" ,gtk+-2)
1957 ("gnome-icon-theme" ,gnome-icon-theme)
1958 ("libgnomecanvas" ,libgnomecanvas)
1959 ("libxml2" ,libxml2)))
1961 `(("intltool" ,intltool)
1962 ("pkg-config" ,pkg-config)))
1963 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1964 (synopsis "Printing framework for GNOME")
1965 (description (package-description libgnomeprint))
1966 (license license:lgpl2.0+)))
1968 (define-public libbonoboui
1970 (name "libbonoboui")
1974 (uri (string-append "mirror://gnome/sources/" name "/"
1975 (version-major+minor version) "/"
1976 name "-" version ".tar.bz2"))
1979 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1980 (build-system gnu-build-system)
1983 (modify-phases %standard-phases
1984 (add-before 'check 'start-xserver
1985 (lambda* (#:key inputs #:allow-other-keys)
1986 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1989 (setenv "HOME" (getcwd))
1990 (setenv "DISPLAY" disp)
1991 ;; There must be a running X server and make check doesn't start one.
1992 ;; Therefore we must do it.
1993 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1994 ;; Mentioned as Required by the .pc file
1995 (propagated-inputs `(("libxml2" ,libxml2)))
1998 ("pangox-compat" ,pangox-compat)
1999 ("libgnome" ,libgnome)
2000 ("libgnomecanvas" ,libgnomecanvas)
2001 ("libglade" ,libglade)))
2003 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2004 ("intltool" ,intltool)
2005 ("xorg-server" ,xorg-server) ; For running the tests
2006 ("pkg-config" ,pkg-config)))
2007 (home-page "https://developer.gnome.org/libbonoboui/")
2008 (synopsis "Some user interface controls using Bonobo")
2009 (description "The Bonobo UI library provides a number of user interface
2010 controls using the Bonobo component framework.")
2011 (license license:lgpl2.0+)))
2013 (define-public libwnck
2019 (uri (string-append "mirror://gnome/sources/" name "/"
2020 (version-major+minor version) "/"
2021 name "-" version ".tar.xz"))
2024 "0f9lvhm3w25046dqq8xyg7nzggxpmdriwrb661nng05a8qk0svdc"))))
2025 (build-system gnu-build-system)
2027 `(("pkg-config" ,pkg-config)
2028 ("intltool" ,intltool)))
2031 ("libxres" ,libxres)
2032 ("startup-notification" ,startup-notification)))
2033 (home-page "https://developer.gnome.org/libwnck/")
2034 (synopsis "Window Navigator Construction Kit")
2036 "Libwnck is the Window Navigator Construction Kit, a library for use in
2037 writing pagers, tasklists, and more generally applications that are dealing
2038 with window management. It tries hard to respect the Extended Window Manager
2039 Hints specification (EWMH).")
2040 (license license:lgpl2.0+)))
2042 ;; stable version for gtk2, required by xfwm4.
2043 (define-public libwnck-2
2044 (package (inherit libwnck)
2049 (uri (string-append "mirror://gnome/sources/" name "/"
2050 (version-major+minor version) "/"
2051 name "-" version ".tar.xz"))
2054 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2057 ("libxres" ,libxres)
2058 ("startup-notification" ,startup-notification)))))
2060 (define-public goffice
2066 (uri (string-append "mirror://gnome/sources/" name "/"
2067 (version-major+minor version) "/"
2068 name "-" version ".tar.xz"))
2070 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
2071 (build-system gnu-build-system)
2073 "doc")) ;4.0 MiB of gtk-doc
2075 '(#:configure-flags (list (string-append "--with-html-dir="
2076 (assoc-ref %outputs "doc")
2077 "/share/gtk-doc/html"))))
2081 ("librsvg" ,librsvg)
2082 ("libxslt" ,libxslt)
2083 ("libxml2" ,libxml2)))
2085 `(("intltool" ,intltool)
2086 ("glib" ,glib "bin")
2087 ("pkg-config" ,pkg-config)))
2088 (home-page "https://developer.gnome.org/goffice/")
2089 (synopsis "Document-centric objects and utilities")
2090 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2092 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2094 (list license:gpl2 license:gpl3))))
2096 (define-public goffice-0.8
2097 (package (inherit goffice)
2101 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2102 (version-major+minor version) "/"
2103 (package-name goffice) "-" version ".tar.xz"))
2105 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2108 (modify-phases %standard-phases
2109 (add-after 'unpack 'fix-pcre-check
2111 ;; Only glib.h can be included directly. See
2112 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2113 (substitute* "configure"
2114 (("glib/gregex\\.h") "glib.h")) #t)))
2116 ,@(package-arguments goffice)))
2118 ;; libgoffice-0.8.pc mentions libgsf-1
2119 `(("libgsf" ,libgsf)))
2122 ,@(alist-delete "gtk" (package-inputs goffice))))))
2124 (define-public gnumeric
2130 (uri (string-append "mirror://gnome/sources/gnumeric/"
2131 (version-major+minor version) "/"
2132 "gnumeric-" version ".tar.xz"))
2135 "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h"))))
2136 (build-system glib-or-gtk-build-system)
2138 `(;; The gnumeric developers don't worry much about failing tests.
2139 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2142 (modify-phases %standard-phases
2144 'configure 'pre-conf
2145 (lambda* (#:key outputs #:allow-other-keys)
2146 ;; Make install tries to write into the directory of goffice
2147 ;; I am informed that this only affects the possibility to embed a
2148 ;; spreadsheet inside an Abiword document. So presumably when we
2149 ;; package Abiword we'll have to refer it to this directory.
2150 (substitute* "configure"
2151 (("^GOFFICE_PLUGINS_DIR=.*")
2152 (string-append "GOFFICE_PLUGINS_DIR="
2153 (assoc-ref outputs "out")
2154 "/goffice/plugins"))))))))
2158 ("goffice" ,goffice)
2160 ("librsvg" ,librsvg)
2161 ("libxml2" ,libxml2)
2162 ("libxslt" ,libxslt)
2163 ("python" ,python-2)
2164 ("python2-pygobject" ,python2-pygobject)
2168 ("docbook-xml" ,docbook-xml)
2169 ("intltool" ,intltool)
2170 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
2171 ("glib:bin" ,glib "bin")
2172 ("pkg-config" ,pkg-config)))
2173 (home-page "http://www.gnumeric.org")
2174 (synopsis "Spreadsheet application")
2176 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2177 interoperable with other spreadsheet applications. It has a vast array of
2178 features beyond typical spreadsheet functionality, such as support for linear
2179 and non-linear solvers, statistical analysis, and telecommunication
2182 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2183 (list license:gpl2 license:gpl3))))
2185 (define-public gnome-themes-standard
2187 (name "gnome-themes-standard")
2192 (uri (string-append "mirror://gnome/sources/" name "/"
2193 (version-major+minor version) "/" name "-"
2197 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2198 (build-system gnu-build-system)
2201 ;; Don't create 'icon-theme.cache'.
2202 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2203 (true (string-append coreutils "/bin/true")))
2204 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2208 ("librsvg" ,librsvg)
2209 ("libxml2" ,libxml2)
2212 `(("intltool" ,intltool)
2213 ("glib:bin" ,glib "bin")
2214 ("pkg-config" ,pkg-config)))
2215 (home-page "https://launchpad.net/gnome-themes-standard")
2216 (synopsis "Default GNOME 3 themes")
2218 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2219 (license license:lgpl2.1+)))
2221 (define-public seahorse
2228 (uri (string-append "mirror://gnome/sources/" name "/"
2229 (version-major+minor version) "/" name "-"
2233 "1sbj1czlx1fakm72dwgbn0bwm12j838yaky4mkf6hf8j8afnxmzp"))))
2234 (build-system glib-or-gtk-build-system)
2240 ("openldap" ,openldap)
2241 ("openssh" ,openssh)
2242 ("libsecret" ,libsecret)
2243 ("libsoup" ,libsoup)))
2245 `(("intltool" ,intltool)
2246 ("glib:bin" ,glib "bin")
2247 ("itstool" ,itstool)
2248 ("pkg-config" ,pkg-config)
2249 ("xmllint" ,libxml2)))
2250 (home-page "https://launchpad.net/gnome-themes-standard")
2251 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2253 "Seahorse is a GNOME application for managing encryption keys and
2254 passwords in the GNOME keyring.")
2255 (license license:gpl2+)))
2263 (uri (string-append "mirror://gnome/sources/" name "/"
2264 (version-major+minor version) "/"
2265 name "-" version ".tar.xz"))
2268 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
2269 (build-system gnu-build-system)
2272 (modify-phases %standard-phases
2273 (add-before 'check 'pre-check
2276 (substitute* "valadoc/tests/testrunner.sh"
2277 (("export PKG_CONFIG_PATH=" m)
2278 (string-append m "$PKG_CONFIG_PATH:")))
2279 ;; For missing '/etc/machine-id'.
2280 (setenv "DBUS_FATAL_WARNINGS" "0")
2283 `(("pkg-config" ,pkg-config)
2286 ("xsltproc" ,libxslt)
2287 ("dbus" ,dbus) ; for dbus tests
2288 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2290 `(("graphviz" ,graphviz)))
2292 `(("glib" ,glib))) ; required by libvala-0.40.pc
2293 (home-page "https://live.gnome.org/Vala/")
2294 (synopsis "Compiler for the GObject type system")
2296 "Vala is a programming language that aims to bring modern programming
2297 language features to GNOME developers without imposing any additional runtime
2298 requirements and without using a different ABI compared to applications and
2299 libraries written in C.")
2300 (license license:lgpl2.1+)))
2308 (uri (string-append "mirror://gnome/sources/" name "/"
2309 (version-major+minor version) "/"
2310 name "-" version ".tar.xz"))
2313 "0j166gic5znssdb9r45qazq4kb4v9fial82czand5wa8i2yd988p"))))
2314 (build-system gnu-build-system)
2316 `(("pkg-config" ,pkg-config)
2317 ("intltool" ,intltool)
2319 ("gobject-introspection" ,gobject-introspection)
2320 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2322 ("xmllint" ,libxml2)))
2324 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2325 ("gnutls" ,gnutls) ;ditto
2326 ("pcre2" ,pcre2))) ;ditto
2327 (home-page "https://www.gnome.org/")
2328 (synopsis "Virtual Terminal Emulator")
2330 "VTE is a library (libvte) implementing a terminal emulator widget for
2331 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2332 gnome-terminal, but can also be used to embed a console/terminal in games,
2333 editors, IDEs, etc.")
2334 (license license:lgpl2.1+)))
2336 (define-public vte-ng
2340 (version "0.56.2.a")
2341 (home-page "https://github.com/thestinger/vte-ng")
2344 (uri (git-reference (url home-page) (commit version)))
2345 (file-name (git-file-name name version))
2348 "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki"))))
2350 `(("gtk-doc" ,gtk-doc)
2352 ("autoconf" ,autoconf)
2353 ("automake" ,automake)
2354 ("libtool" ,libtool)
2355 ,@(package-native-inputs vte)))
2357 `(#:phases (modify-phases %standard-phases
2360 (setenv "NOCONFIGURE" "true")
2361 (invoke "sh" "autogen.sh"))))))
2362 (synopsis "Enhanced VTE terminal widget")
2364 "VTE is a library (libvte) implementing a terminal emulator widget for
2365 GTK+, this fork provides additional functions exposed for keyboard text
2366 selection and URL hints.")))
2368 ;; provides vte 2.90, required for some terminal emulators
2369 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2370 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2371 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2372 ;; pantheon-terminal, roxterm are not currently packaged
2373 (define-public vte-0.36
2374 (package (inherit vte)
2379 (uri (string-append "mirror://gnome/sources/" name "/"
2380 (version-major+minor version) "/"
2381 name "-" version ".tar.xz"))
2384 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2387 ("ncurses" ,ncurses)))))
2389 ;; stable version for gtk2, required by xfce4-terminal.
2390 (define-public vte/gtk+-2
2391 (package (inherit vte)
2396 (uri (string-append "mirror://gnome/sources/" name "/"
2397 (version-major+minor version) "/"
2398 name "-" version ".tar.xz"))
2401 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2402 (patches (search-patches
2403 "vte-CVE-2012-2738-pt1.patch"
2404 "vte-CVE-2012-2738-pt2.patch"))))
2406 '(#:configure-flags '("--disable-python")))
2408 `(("pkg-config" ,pkg-config)
2409 ("intltool" ,intltool)
2410 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2412 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2413 ("ncurses" ,ncurses))))) ; required by libvte.la
2415 (define-public vinagre
2421 (uri (string-append "mirror://gnome/sources/" name "/"
2422 (version-major+minor version) "/"
2423 name "-" version ".tar.xz"))
2424 (patches (search-patches "vinagre-newer-freerdp.patch"
2425 "vinagre-newer-rdp-parameters.patch"))
2428 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2429 (build-system glib-or-gtk-build-system)
2432 (modify-phases %standard-phases
2433 (add-before 'install 'skip-gtk-update-icon-cache
2435 ;; Don't create 'icon-theme.cache'
2436 (substitute* (find-files "." "^Makefile$")
2437 (("gtk-update-icon-cache") (which "true")))
2439 (add-after 'unpack 'patch-configure
2441 (substitute* "configure"
2442 (("freerdp") "freerdp2"))
2445 `(("pkg-config" ,pkg-config)
2446 ("intltool" ,intltool)
2447 ("itstool" ,itstool)
2448 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2450 `(("libxml2" ,libxml2)
2451 ("gtk-vnc" ,gtk-vnc)
2452 ("gnome-keyring" ,gnome-keyring)
2453 ("libsecret" ,libsecret)
2454 ("freerdp" ,freerdp)
2456 ("spice-gtk" ,spice-gtk)
2457 ("telepathy-glib" ,telepathy-glib)
2459 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2460 (synopsis "Remote desktop viewer for GNOME")
2461 (description "Vinagre is a remote display client supporting the VNC, SPICE
2462 and RDP protocols.")
2463 (license license:gpl3+)))
2465 (define-public dconf
2472 "mirror://gnome/sources/" name "/"
2473 (version-major+minor version) "/"
2474 name "-" version ".tar.xz"))
2477 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
2478 (build-system meson-build-system)
2480 ;; In Requires of dconf.pc.
2486 `(("bash-completion" ,bash-completion)
2487 ("libxslt" ,libxslt) ;for xsltproc
2488 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2489 ("docbook-xml" ,docbook-xml-4.2)
2490 ("docbook-xsl" ,docbook-xsl)
2491 ("glib:bin" ,glib "bin")
2492 ("gtk-doc" ,gtk-doc)
2493 ("pkg-config" ,pkg-config)
2496 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2497 ; or /etc/machine-id.
2499 #:configure-flags '("-Denable-gtk-doc=true")))
2500 (home-page "https://developer.gnome.org/dconf")
2501 (synopsis "Low-level GNOME configuration system")
2502 (description "Dconf is a low-level configuration system. Its main purpose
2503 is to provide a backend to GSettings on platforms that don't already have
2504 configuration storage systems.")
2505 (license license:lgpl2.1+)))
2507 (define-public json-glib
2513 (uri (string-append "mirror://gnome/sources/" name "/"
2514 (version-major+minor version) "/"
2515 name "-" version ".tar.xz"))
2518 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2519 (build-system meson-build-system)
2521 `(("gettext" ,gettext-minimal)
2522 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2523 ("gobject-introspection" ,gobject-introspection)
2524 ("pkg-config" ,pkg-config)))
2526 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2527 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2528 (synopsis "Compiler for the GObject type system")
2530 "JSON-GLib is a C library based on GLib providing serialization and
2531 deserialization support for the JavaScript Object Notation (JSON) format
2532 described by RFC 4627. It provides parser and generator GObject classes and
2533 various wrappers for the complex data types employed by JSON, such as arrays
2535 (license license:lgpl2.1+)))
2537 (define-public libxklavier
2539 (name "libxklavier")
2542 ;; Note: There's no tarball at ftp.gnome.org for this version.
2545 (url "https://anongit.freedesktop.org/git/libxklavier")
2546 (commit (string-append "libxklavier-" version))))
2549 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
2550 (file-name (git-file-name name version))))
2551 (build-system gnu-build-system)
2554 (modify-phases %standard-phases
2555 (add-after 'unpack 'no-configure
2557 (setenv "NOCONFIGURE" "1")
2560 (list (string-append "--with-xkb-base="
2561 (assoc-ref %build-inputs "xkeyboard-config")
2563 "--disable-xmodmap-support")))
2565 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2566 ("gobject-introspection" ,gobject-introspection)
2567 ("pkg-config" ,pkg-config)
2568 ("gtk-doc" ,gtk-doc)
2569 ("intltool" ,intltool)
2571 ("autoconf" ,autoconf)
2572 ("automake" ,automake)
2573 ("libtool" ,libtool)))
2575 ;; Required by libxklavier.pc.
2577 ("libxml2" ,libxml2)))
2579 `(("iso-codes" ,iso-codes)
2581 ("libxkbfile" ,libxkbfile)
2582 ("xkbcomp" ,xkbcomp)
2583 ("xkeyboard-config" ,xkeyboard-config)))
2584 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2585 (synopsis "High-level API for X Keyboard Extension")
2587 "LibXklavier is a library providing high-level API for X Keyboard
2588 Extension known as XKB. This library is intended to support XFree86 and other
2589 commercial X servers. It is useful for creating XKB-related software (layout
2591 (license license:lgpl2.0+)))
2593 (define-public python2-rsvg
2594 ;; XXX: This is actually a subset of gnome-python-desktop.
2596 (name "python2-rsvg")
2602 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2603 version ".tar.bz2"))
2606 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2607 (build-system gnu-build-system)
2609 `(("pkg-config" ,pkg-config)))
2611 `(("python" ,python-2)
2612 ("python2-pygtk" ,python2-pygtk)
2613 ("librsvg" ,librsvg)))
2614 (home-page "https://www.gnome.org")
2615 (synopsis "Python bindings to librsvg")
2617 "This package provides Python bindings to librsvg, the SVG rendering
2620 ;; This is the license of the rsvg bindings. The license of each module
2621 ;; of gnome-python-desktop is given in 'COPYING'.
2622 (license license:lgpl2.1+)))
2624 (define-public glib-networking
2626 (name "glib-networking")
2630 (uri (string-append "mirror://gnome/sources/glib-networking/"
2631 (version-major+minor version) "/"
2632 "glib-networking-" version ".tar.xz"))
2635 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
2636 (build-system meson-build-system)
2638 `(#:configure-flags '("-Dlibproxy_support=false")))
2640 `(("pkg-config" ,pkg-config)
2641 ("intltool" ,intltool)))
2645 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
2646 (home-page "https://www.gnome.org")
2647 (synopsis "Network-related GIO modules")
2649 "This package contains various network related extensions for the GIO
2651 (license license:lgpl2.0+)))
2659 (uri (string-append "mirror://gnome/sources/rest/"
2660 (version-major+minor version) "/"
2661 name "-" version ".tar.xz"))
2664 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2665 (build-system gnu-build-system)
2667 '(#:tests? #f ; tests require internet connection
2669 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2671 `(("glib-mkenums" ,glib "bin")
2672 ("gobject-introspection" ,gobject-introspection)
2673 ("pkg-config" ,pkg-config)))
2675 ;; rest-0.7.pc refers to all these.
2677 ("libsoup" ,libsoup)
2678 ("libxml2" ,libxml2)))
2679 (home-page "https://www.gtk.org/")
2680 (synopsis "RESTful web api query library")
2682 "This library was designed to make it easier to access web services that
2683 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2684 libxml to ease remote use of the RESTful API.")
2685 (license license:lgpl2.1+)))
2687 (define-public libsoup
2693 (uri (string-append "mirror://gnome/sources/libsoup/"
2694 (version-major+minor version) "/"
2695 "libsoup-" version ".tar.xz"))
2698 "0amfw1yvy1kjrg41rfh2vvrw5gkwnyckqbw1fab50hm6xc1acbmx"))))
2699 (build-system meson-build-system)
2700 (outputs '("out" "doc"))
2702 `(#:modules ((guix build utils)
2703 (guix build meson-build-system)
2706 #:configure-flags '("-Ddoc=true")
2708 (modify-phases %standard-phases
2709 (add-after 'unpack 'adjust-tests
2711 ;; This test fails due to missing /etc/nsswitch.conf
2712 ;; in the build environment.
2713 (substitute* "tests/socket-test.c"
2714 ((".*/sockets/unconnected.*") ""))
2716 ;; Generate a self-signed certificate that has "localhost" as its
2717 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2718 ;; 3.5.12, tests such as "ssl-tests" fail:
2720 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2722 ;; 'certtool' is interactive so we have to pipe it the answers.
2723 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2724 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2725 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2726 (for-each (lambda (line)
2731 "Guix" ;Organizational unit name
2732 "GNU" ;Organization name
2734 "" ;State or province
2736 "" ;subject's domain component (DC)
2739 "-1" ;expiration time
2740 "N" ;belong to authority?
2741 "N" ;web client certificate?
2743 "Y" ;web server certificate?
2744 "localhost" ;dnsName of subject
2745 "" ;dnsName of subject (end)
2747 "127.0.0.1" ;IP address of subject
2749 "" ;encryption (RSA)?
2750 "" ;data encryption?
2751 "" ;sign OCSP requests?
2754 "" ;email protection?
2755 "" ;URI of the CRL distribution point
2760 (add-after 'install 'move-doc
2761 (lambda* (#:key outputs #:allow-other-keys)
2762 (let ((out (assoc-ref outputs "out"))
2763 (doc (assoc-ref outputs "doc")))
2764 (mkdir-p (string-append doc "/share"))
2765 (copy-recursively (string-append out "/share/gtk-doc")
2766 (string-append doc "/share/gtk-doc"))
2767 (delete-file-recursively (string-append out "/share/gtk-doc"))
2770 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2771 ("gobject-introspection" ,gobject-introspection)
2772 ("gtk-doc" ,gtk-doc)
2773 ("intltool" ,intltool)
2774 ("pkg-config" ,pkg-config)
2775 ("python" ,python-wrapper)
2777 ;; These are needed for the tests.
2778 ;; FIXME: Add PHP once available.
2780 ("gnutls" ,gnutls) ;for 'certtool'
2783 ;; libsoup-2.4.pc refers to all these.
2786 ("libxml2" ,libxml2)
2787 ("sqlite" ,sqlite)))
2789 `(("glib-networking" ,glib-networking)
2790 ("mit-krb5" ,mit-krb5)))
2791 (home-page "https://live.gnome.org/LibSoup/")
2792 (synopsis "GLib-based HTTP Library")
2794 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2795 and the GLib main loop, to integrate well with GNOME applications.")
2796 (license license:lgpl2.0+)))
2798 (define-public libsecret
2805 "mirror://gnome/sources/libsecret/"
2806 (version-major+minor version) "/"
2807 "libsecret-" version ".tar.xz"))
2810 "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5"))))
2811 (build-system gnu-build-system)
2812 (outputs '("out" "doc"))
2814 `(#:tests? #f ; FIXME: Testing hangs.
2816 (list (string-append "--with-html-dir="
2817 (assoc-ref %outputs "doc")
2818 "/share/gtk-doc/html"))))
2820 `(("gettext" ,gettext-minimal)
2821 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2822 ("gobject-introspection" ,gobject-introspection)
2823 ("pkg-config" ,pkg-config)
2825 ("xsltproc" ,libxslt)))
2826 ;; These are needed for the tests.
2827 ;; FIXME: Add gjs once available.
2829 ;("python2" ,python-2)
2830 ;("python2-dbus" ,python2-dbus)
2831 ;("python2-pygobject" ,python2-pygobject)
2832 ;("python2-pygobject-2" ,python2-pygobject-2)))
2834 `(("glib" ,glib))) ; required by libsecret-1.pc
2836 `(("docbook-xsl" ,docbook-xsl)
2837 ("libgcrypt" ,libgcrypt)
2838 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2839 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2840 (synopsis "GObject bindings for \"Secret Service\" API")
2842 "Libsecret is a GObject based library for storing and retrieving passwords
2843 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2844 (license license:lgpl2.1+)))
2846 (define-public five-or-more
2848 (name "five-or-more")
2853 (uri (string-append "mirror://gnome/sources/" name "/"
2854 (version-major+minor version) "/"
2855 name "-" version ".tar.xz"))
2858 "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x"))))
2859 (build-system glib-or-gtk-build-system)
2861 `(("pkg-config" ,pkg-config)
2862 ("desktop-file-utils" ,desktop-file-utils)
2863 ("intltool" ,intltool)
2864 ("itstool" ,itstool)
2865 ("xmllint" ,libxml2)))
2868 ("librsvg" ,librsvg)))
2869 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2870 (synopsis "Logic puzzle game")
2871 (description "Five or More is a game where you try to align
2872 five or more objects of the same color and shape causing them to disappear.
2873 On every turn more objects will appear, until the board is full.
2874 Try to last as long as possible.")
2875 (license license:gpl2+)))
2877 (define-public gnome-mines
2879 (name "gnome-mines")
2880 (version "3.30.1.1")
2884 (uri (string-append "mirror://gnome/sources/" name "/"
2885 (version-major+minor version) "/"
2886 name "-" version ".tar.xz"))
2889 "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z"))))
2890 (build-system meson-build-system)
2893 (modify-phases %standard-phases
2894 (delete 'bootstrap))))
2896 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
2897 ("pkg-config" ,pkg-config)
2898 ("desktop-file-utils" ,desktop-file-utils)
2899 ("intltool" ,intltool)
2900 ("itstool" ,itstool)
2903 ("appstream-glib" ,appstream-glib)))
2906 ("libgnome-games-support" ,libgnome-games-support)
2907 ("librsvg" ,librsvg)))
2908 (home-page "https://wiki.gnome.org/Apps/Mines")
2909 (synopsis "Minesweeper game")
2911 "Mines (previously gnomine) is a puzzle game where you locate mines
2912 floating in an ocean using only your brain and a little bit of luck.")
2913 (license license:gpl2+)))
2915 (define-public gnome-sudoku
2917 (name "gnome-sudoku")
2922 (uri (string-append "mirror://gnome/sources/" name "/"
2923 (version-major+minor version) "/"
2924 name "-" version ".tar.xz"))
2927 "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f"))))
2928 (build-system glib-or-gtk-build-system)
2930 `(("pkg-config" ,pkg-config)
2931 ("desktop-file-utils" ,desktop-file-utils)
2932 ("intltool" ,intltool)
2933 ("itstool" ,itstool)
2934 ("xmllint" ,libxml2)))
2937 ("json-glib" ,json-glib)
2939 ("librsvg" ,librsvg)
2940 ("qqwing" ,qqwing)))
2941 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2942 (synopsis "Japanese logic game")
2944 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2945 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2946 possible while still providing features that make playing difficult Sudoku
2948 (license license:gpl2+)))
2950 (define-public gnome-terminal
2952 (name "gnome-terminal")
2957 (uri (string-append "mirror://gnome/sources/" name "/"
2958 (version-major+minor version) "/"
2959 name "-" version ".tar.xz"))
2962 "0bar8qazk39acsif31h8i408nl82mzdcdg6p7ymak4l9pxyscxf8"))))
2963 (build-system glib-or-gtk-build-system)
2966 (list "--disable-migration" "--disable-search-provider"
2967 "--without-nautilus-extension")
2969 (modify-phases %standard-phases
2970 (add-before 'configure 'patch-/bin/true
2972 (substitute* "configure"
2973 (("/bin/true") (which "true"))))))))
2975 `(("pkg-config" ,pkg-config)
2976 ("desktop-file-utils" ,desktop-file-utils)
2977 ("intltool" ,intltool)
2978 ("itstool" ,itstool)
2979 ("xmllint" ,libxml2)))
2981 `(("dconf" ,dconf)))
2986 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2987 ("util-linux" ,util-linux)
2989 (home-page "https://wiki.gnome.org/Apps/Terminal")
2990 (synopsis "Terminal emulator")
2992 "GNOME Terminal is a terminal emulator application for accessing a
2993 UNIX shell environment which can be used to run programs available on
2996 It supports several profiles, multiple tabs and implements several
2997 keyboard shortcuts.")
2998 (license license:gpl3+)))
3000 (define-public colord
3007 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3008 name "-" version ".tar.xz"))
3011 "1xwxahg9mgmapc16xkb4kgmc40zpadrwav33xqmn6cgaw6g6d3ls"))))
3012 (build-system meson-build-system)
3014 '(;; FIXME: One test fails:
3015 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3016 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3017 ;; application/x-zerosize
3020 #:configure-flags (list "-Dlocalstatedir=/var"
3021 ;; No dep on systemd.
3023 ;; Wants to install to global completion dir;
3025 "-Dbash_completion=false"
3026 ;; colord-gtk not packaged yet.
3027 "-Dsession_example=false"
3028 "-Ddaemon_user=colord"
3030 ;; Requires spotread
3031 "-Dargyllcms_sensor=false"
3032 ;; TODO: Requires docbook2x
3035 (modify-phases %standard-phases
3036 (add-before 'configure 'patch-build-system
3037 (lambda* (#:key outputs #:allow-other-keys)
3038 (substitute* "rules/meson.build"
3039 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3040 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3043 `(("pkg-config" ,pkg-config)
3044 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3045 ("gobject-introspection" ,gobject-introspection)
3046 ("gtk-doc" ,gtk-doc)
3047 ("libtool" ,libtool)
3048 ("intltool" ,intltool)))
3050 ;; colord.pc refers to all these.
3055 `(("dbus-glib" ,dbus-glib)
3057 ("libgudev" ,libgudev)
3061 ("python" ,python-wrapper)
3062 ("sane-backends" ,sane-backends)))
3063 (home-page "https://www.freedesktop.org/software/colord/")
3064 (synopsis "Color management service")
3065 (description "Colord is a system service that makes it easy to manage,
3066 install and generate color profiles to accurately color manage input and
3068 (license license:gpl2+)))
3070 (define-public geoclue
3077 (uri (string-append "https://www.freedesktop.org/software/" name
3078 "/releases/" (version-major+minor version) "/"
3079 name "-" version ".tar.xz"))
3082 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
3083 (patches (search-patches "geoclue-config.patch"))))
3084 (build-system glib-or-gtk-build-system)
3086 '(;; The tests want to run the system bus.
3088 #:configure-flags (list ;; Disable bits requiring ModemManager.
3089 "--disable-3g-source"
3090 "--disable-cdma-source"
3091 "--disable-modem-gps-source"
3092 "--with-dbus-service-user=geoclue")
3094 (modify-phases %standard-phases
3095 (add-before 'configure 'patch-/bin/true
3097 (substitute* "configure"
3098 (("/bin/true") (which "true")))
3101 `(("pkg-config" ,pkg-config)
3102 ("gobject-introspection" ,gobject-introspection)
3103 ("intltool" ,intltool)))
3107 ("json-glib" ,json-glib)
3108 ("libsoup" ,libsoup)))
3109 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3110 (synopsis "Geolocation service")
3111 (description "Geoclue is a D-Bus service that provides location
3112 information. The primary goal of the Geoclue project is to make creating
3113 location-aware applications as simple as possible, while the secondary goal is
3114 to ensure that no application can access location information without explicit
3115 permission from user.")
3116 (license license:gpl2+)))
3118 (define-public geocode-glib
3120 (name "geocode-glib")
3124 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3125 (version-major+minor version) "/"
3126 name "-" version ".tar.xz"))
3129 "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a"))))
3130 (build-system meson-build-system)
3133 (modify-phases %standard-phases
3134 ;; The tests require a bunch of locales.
3135 (add-before 'check 'set-locales
3136 (lambda* (#:key inputs #:allow-other-keys)
3137 (setenv "GUIX_LOCPATH"
3138 (string-append (assoc-ref inputs "glibc-locales")
3142 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3143 ("glibc-locales" ,glibc-locales) ; for tests
3144 ("gettext" ,gettext-minimal)
3145 ("gobject-introspection" ,gobject-introspection)
3146 ("gtk-doc" ,gtk-doc)
3147 ("pkg-config" ,pkg-config)
3148 ("json-glib" ,json-glib)))
3150 ;; geocode-glib-1.0.pc refers to GIO.
3153 `(("libsoup" ,libsoup)))
3154 (home-page "https://github.com/GNOME/geocode-glib/")
3155 (synopsis "Geocoding and reverse-geocoding library")
3157 "geocode-glib is a convenience library for geocoding (finding longitude,
3158 and latitude from an address) and reverse geocoding (finding an address from
3159 coordinates) using the Nominatim service. geocode-glib caches requests for
3160 faster results and to avoid unnecessary server load.")
3161 (license license:lgpl2.0+)))
3163 (define-public upower
3169 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3170 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
3171 "upower-" version ".tar.xz"))
3174 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
3175 (patches (search-patches "upower-builddir.patch"))))
3176 (build-system glib-or-gtk-build-system)
3178 '( ;; The tests want to contact the system bus, which can't be done in the
3179 ;; build environment. The integration test can run, but the last of
3180 ;; the up-self-tests doesn't. Disable tests for now.
3182 #:configure-flags (list "--localstatedir=/var"
3183 (string-append "--with-udevrulesdir="
3184 (assoc-ref %outputs "out")
3185 "/lib/udev/rules.d"))))
3187 `(("gobject-introspection" ,gobject-introspection)
3188 ("pkg-config" ,pkg-config)
3189 ("intltool" ,intltool)
3193 ("libxslt" ,libxslt) ;for 'xsltproc'
3194 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3195 ("docbook-xsl" ,docbook-xsl)))
3197 `(("dbus-glib" ,dbus-glib)
3198 ("libgudev" ,libgudev)
3199 ("libusb" ,libusb)))
3201 ;; In Requires of upower-glib.pc.
3203 (home-page "https://upower.freedesktop.org/")
3204 (synopsis "System daemon for managing power devices")
3206 "UPower is an abstraction for enumerating power devices,
3207 listening to device events and querying history and statistics. Any
3208 application or service on the system can access the org.freedesktop.UPower
3209 service via the system message bus.")
3210 (license license:gpl2+)))
3212 (define-public libgweather
3214 (name "libgweather")
3218 (uri (string-append "mirror://gnome/sources/" name "/"
3219 (version-major+minor version) "/"
3220 name "-" version ".tar.xz"))
3223 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
3224 (build-system meson-build-system)
3226 `(#:tests? #f ; one of two tests requires network access
3228 `(,(string-append "-Dzoneinfo_dir="
3229 (assoc-ref %build-inputs "tzdata")
3230 "/share/zoneinfo"))))
3232 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3233 ("gobject-introspection" ,gobject-introspection)
3234 ("pkg-config" ,pkg-config)
3236 ("intltool" ,intltool)))
3238 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3241 ("gdk-pixbuf" ,gdk-pixbuf)
3242 ("libxml2" ,libxml2)
3243 ("libsoup" ,libsoup)
3244 ("geocode-glib" ,geocode-glib)))
3246 `(("tzdata" ,tzdata)))
3247 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3248 (synopsis "Location, time zone, and weather library for GNOME")
3250 "libgweather is a library to access weather information from online
3251 services for numerous locations.")
3252 (license license:gpl2+)))
3254 (define-public gnome-settings-daemon
3256 (name "gnome-settings-daemon")
3261 (uri (string-append "mirror://gnome/sources/" name "/"
3262 (version-major+minor version) "/"
3263 name "-" version ".tar.xz"))
3266 "0c663csa3gnsr6wm0xfll6aani45snkdj7zjwjfzcwfh8w4a3z12"))))
3267 (build-system meson-build-system)
3271 (list (string-append "-Dudev_dir="
3272 (assoc-ref %outputs "out")
3273 "/lib/udev/rules.d/")
3274 ;; Otherwise, the RUNPATH will lack the final path component.
3275 (string-append "-Dc_link_args=-Wl,-rpath="
3276 (assoc-ref %outputs "out")
3277 "/lib/gnome-settings-daemon-3.0"))
3278 ;; Color management test can't reach the colord system service.
3281 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3282 ("pkg-config" ,pkg-config)
3283 ("intltool" ,intltool)
3284 ("xsltproc" ,libxslt)
3285 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3286 ("docbook-xml" ,docbook-xml-4.2)
3287 ("docbook-xsl" ,docbook-xsl)))
3289 `(("alsa-lib" ,alsa-lib)
3291 ("libgudev" ,libgudev)
3294 ("pulseaudio" ,pulseaudio)
3295 ("libcanberra" ,libcanberra)
3297 ("libxtst" ,libxtst)
3299 ("libnotify" ,libnotify)
3300 ("geoclue" ,geoclue)
3301 ("geocode-glib" ,geocode-glib)
3302 ("libgweather" ,libgweather)
3303 ("gnome-desktop" ,gnome-desktop)
3306 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3307 ("libwacom" ,libwacom)
3308 ("librsvg" ,librsvg)
3309 ("xf86-input-wacom" ,xf86-input-wacom)
3310 ("wayland" ,wayland)
3311 ("network-manager" ,network-manager)))
3312 (home-page "https://www.gnome.org")
3313 (synopsis "GNOME settings daemon")
3315 "This package contains the daemon responsible for setting the various
3316 parameters of a GNOME session and the applications that run under it. It
3317 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3318 settings, themes, mouse settings, and startup of other daemons.")
3319 (license license:gpl2+)))
3321 (define-public totem-pl-parser
3323 (name "totem-pl-parser")
3327 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3328 (version-major+minor version) "/"
3329 "totem-pl-parser-" version ".tar.xz"))
3332 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
3333 (build-system meson-build-system)
3335 ;; FIXME: Tests require gvfs.
3338 `(("intltool" ,intltool)
3339 ("glib" ,glib "bin")
3340 ("gobject-introspection" ,gobject-introspection)
3341 ("pkg-config" ,pkg-config)))
3345 ("libarchive" ,libarchive)
3346 ("libgcrypt" ,libgcrypt)
3347 ("libxml2" ,libxml2)))
3349 `(("libsoup" ,libsoup)))
3350 (home-page "https://projects.gnome.org/totem")
3351 (synopsis "Library to parse and save media playlists for GNOME")
3352 (description "Totem-pl-parser is a GObjects-based library to parse and save
3353 playlists in a variety of formats.")
3354 (license license:lgpl2.0+)))
3356 (define-public aisleriot
3362 (uri (string-append "mirror://gnome/sources/aisleriot/"
3363 (version-major+minor version) "/"
3364 "aisleriot-" version ".tar.xz"))
3367 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
3368 (build-system glib-or-gtk-build-system)
3371 '("--with-platform=gtk-only"
3372 "--with-card-theme-formats=svg")))
3374 `(("desktop-file-utils" ,desktop-file-utils)
3375 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3376 ("intltool" ,intltool)
3377 ("itstool" ,itstool)
3378 ("pkg-config" ,pkg-config)
3379 ("xmllint" ,libxml2)))
3382 ("guile" ,guile-2.2)
3383 ("libcanberra" ,libcanberra)
3384 ("librsvg" ,librsvg)))
3385 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3386 (synopsis "Solitaire card games")
3388 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3389 which are easy to play with the aid of a mouse.")
3390 (license license:gpl3+)))
3398 (uri (string-append "mirror://gnome/sources/" name "/"
3399 (version-major+minor version) "/"
3400 name "-" version ".tar.xz"))
3403 "1zriix7bdwcg0868mfc7jy6zbwjwdmjwbh0ah6dbddrhiabrda8j"))))
3404 (build-system gnu-build-system)
3406 '(#:configure-flags '("--enable-gtk-doc")))
3408 `(("gobject-introspection" ,gobject-introspection)
3409 ("glib:bin" ,glib "bin") ; for glib-mkenums
3410 ("gtk-doc" ,gtk-doc)
3411 ("pkg-config" ,pkg-config)))
3415 (home-page "https://wiki.gnome.org/Projects/Amtk")
3416 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
3418 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
3419 It is a basic GtkUIManager replacement based on GAction. It is suitable for
3420 both a traditional UI or a modern UI with a GtkHeaderBar.")
3421 (license license:lgpl2.1+)))
3423 (define-public devhelp
3429 (uri (string-append "mirror://gnome/sources/" name "/"
3430 (version-major+minor version) "/"
3431 name "-" version ".tar.xz"))
3434 "036sddvhs0blqpc2ixmjdl9vxynvkn5jpgn0jxr1fxcm4rh3q07a"))))
3435 (build-system meson-build-system)
3437 `(("intltool" ,intltool)
3438 ("itstool" ,itstool)
3439 ("gobject-introspection" ,gobject-introspection)
3440 ("glib:bin" ,glib "bin") ; for glib-mkmenus
3441 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3442 ("pkg-config" ,pkg-config)))
3445 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3446 ("webkitgtk" ,webkitgtk)))
3447 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3448 (synopsis "API documentation browser for GNOME")
3450 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3451 natively with GTK-Doc (the API reference system developed for GTK+ and used
3452 throughout GNOME for API documentation).")
3453 (license license:gpl2+)))
3462 (uri (string-append "mirror://gnome/sources/" name "/"
3463 (version-major+minor version) "/"
3464 name "-" version ".tar.xz"))
3467 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3468 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3469 ;; cogl, corresponding changes may be appropriate in mutter as well.
3470 (build-system gnu-build-system)
3472 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3473 ("gobject-introspection" ,gobject-introspection)
3474 ;;("xorg-server" ,xorg-server) ; for the test suite
3475 ("pkg-config" ,pkg-config)))
3478 ("gdk-pixbuf" ,gdk-pixbuf)
3480 ("libxext" ,libxext)
3481 ("libxfixes" ,libxfixes)
3482 ("libxdamage" ,libxdamage)
3483 ("libxcomposite" ,libxcomposite)
3484 ("libxrandr" ,libxrandr)))
3489 ("gstreamer" ,gstreamer)
3490 ("gst-plugins-base" ,gst-plugins-base)
3491 ("wayland" ,wayland)))
3493 `(#:configure-flags (list "--enable-cogl-gst"
3494 "--enable-wayland-egl-platform"
3495 "--enable-wayland-egl-server"
3497 ;; Arrange to pass an absolute file name to
3498 ;; dlopen for libGL.so.
3499 (string-append "--with-gl-libname="
3500 (assoc-ref %build-inputs "mesa")
3502 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3503 ;; _FontTransOpen: Unable to Parse address
3504 ;; ${prefix}/share/fonts/X11/misc/
3508 (modify-phases %standard-phases
3509 (add-before 'check 'start-xorg-server
3510 (lambda* (#:key inputs #:allow-other-keys)
3511 ;; The test suite requires a running X server.
3512 (system (format #f "~a/bin/Xvfb :1 &"
3513 (assoc-ref inputs "xorg-server")))
3514 (setenv "DISPLAY" ":1")
3516 (home-page "http://www.cogl3d.org")
3517 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3519 "Cogl is a small library for using 3D graphics hardware to draw pretty
3520 pictures. The API departs from the flat state machine style of OpenGL and is
3521 designed to make it easy to write orthogonal components that can render
3522 without stepping on each others toes.")
3523 (license (list license:expat ; most of the code
3524 license:bsd-3 ; cogl/cogl-point-in-poly.c
3525 license:sgifreeb2.0 ; cogl-path/tesselator/
3526 license:asl2.0)))) ; examples/android/
3528 (define-public clutter
3535 (uri (string-append "mirror://gnome/sources/" name "/"
3536 (version-major+minor version) "/"
3537 name "-" version ".tar.xz"))
3540 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3541 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3542 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3543 (build-system gnu-build-system)
3545 "doc")) ;9 MiB of gtk-doc HTML pages
3547 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3548 ("gobject-introspection" ,gobject-introspection)
3549 ("pkg-config" ,pkg-config)
3550 ("xsltproc" ,libxslt)))
3556 ("json-glib" ,json-glib)
3558 ("libxcomposite" ,libxcomposite)
3559 ("libxdamage" ,libxdamage)
3560 ("libxext" ,libxext)
3561 ("xinput" ,xinput)))
3563 `(("libxkbcommon" ,libxkbcommon)
3566 `(#:configure-flags (list "--enable-x11-backend=yes"
3568 ;; This produces share/doc/{clutter,cally}.
3569 (string-append "--with-html-dir="
3570 (assoc-ref %outputs "doc")
3572 ;; XXX FIXME: Get test suite working. It would probably fail in the
3573 ;; same way the cogl tests fail, since clutter is based on cogl.
3575 (home-page "http://www.clutter-project.org")
3576 (synopsis "OpenGL-based interactive canvas library")
3578 "Clutter is an OpenGL-based interactive canvas library, designed for
3579 creating fast, mainly 2D single window applications such as media box UIs,
3580 presentations, kiosk style applications and so on.")
3581 (license license:lgpl2.0+)))
3583 (define-public clutter-gtk
3585 (name "clutter-gtk")
3590 (uri (string-append "mirror://gnome/sources/" name "/"
3591 (version-major+minor version) "/"
3592 name "-" version ".tar.xz"))
3595 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3596 (build-system gnu-build-system)
3598 `(("pkg-config" ,pkg-config)
3599 ("gobject-introspection" ,gobject-introspection)))
3601 ;; clutter-gtk.pc refers to all these.
3602 `(("clutter" ,clutter)
3604 (home-page "http://www.clutter-project.org")
3605 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
3607 "Clutter is an OpenGL-based interactive canvas library, designed for
3608 creating fast, mainly 2D single window applications such as media box UIs,
3609 presentations, kiosk style applications and so on.")
3610 (license license:lgpl2.0+)))
3612 (define-public clutter-gst
3614 (name "clutter-gst")
3619 (uri (string-append "mirror://gnome/sources/clutter-gst/"
3620 (version-major+minor version) "/"
3621 "clutter-gst-" version ".tar.xz"))
3623 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
3624 (build-system gnu-build-system)
3626 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3627 ("pkg-config" ,pkg-config)
3628 ("gobject-introspection" ,gobject-introspection)))
3630 `(("clutter" ,clutter)
3631 ("gstreamer" ,gstreamer)
3632 ("gst-plugins-base" ,gst-plugins-base)))
3633 (home-page "http://www.clutter-project.org")
3634 (synopsis "Integration library for using GStreamer with Clutter")
3636 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3637 It provides a GStreamer sink to upload frames to GL and an actor that
3638 implements the ClutterGstPlayer interface using playbin. Clutter is an
3639 OpenGL-based interactive canvas library.")
3640 (license license:lgpl2.0+)))
3642 (define-public libchamplain
3644 (name "libchamplain")
3649 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3653 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3654 (build-system gnu-build-system)
3655 (arguments '(#:configure-flags '("--enable-vala")))
3657 `(("gobject-introspection" ,gobject-introspection)
3658 ("pkg-config" ,pkg-config)
3661 `(("libsoup" ,libsoup)
3663 ("clutter" ,clutter)
3664 ("clutter-gtk" ,clutter-gtk)
3665 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3669 (home-page "https://projects.gnome.org/libchamplain/")
3670 (synopsis "C library providing a ClutterActor to display maps")
3672 "libchamplain is a C library providing a ClutterActor to display maps.
3673 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3674 and Perl bindings are also available. It supports numerous free map sources
3675 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3676 (license license:lgpl2.1+)))
3685 (uri (string-append "mirror://gnome/sources/gom/"
3686 (version-major+minor version) "/"
3687 "gom-" version ".tar.xz"))
3690 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3691 (build-system gnu-build-system)
3693 `(("intltool" ,intltool)
3694 ("pkg-config" ,pkg-config)
3695 ("gobject-introspection" ,gobject-introspection)))
3698 ("gdk-pixbuf" ,gdk-pixbuf)
3699 ("sqlite" ,sqlite)))
3700 ;; XXX TODO: Figure out how to run the test suite.
3701 (arguments `(#:tests? #f))
3702 (home-page "https://wiki.gnome.org/Projects/Gom")
3703 (synopsis "Object mapper from GObjects to SQLite")
3705 "Gom provides an object mapper from GObjects to SQLite. It helps you
3706 write applications that need to store structured data as well as make complex
3707 queries upon that data.")
3708 (license license:lgpl2.1+)))
3710 (define-public libgnome-games-support
3712 (name "libgnome-games-support")
3716 (uri (string-append "mirror://gnome/sources/" name "/"
3717 (version-major+minor version) "/"
3718 name "-" version ".tar.xz"))
3721 "02hirpk885jndwarbl3cl5fk7w2z5ziv677csyv1wi2n6rmpn088"))))
3722 (build-system gnu-build-system)
3725 (modify-phases %standard-phases
3726 (add-before 'check 'pre-check
3728 ;; Tests require a writable HOME.
3729 (setenv "HOME" (getcwd))
3732 `(("intltool" ,intltool)
3733 ("pkg-config" ,pkg-config)
3736 ;; Required by libgnome-games-support-1.0.pc
3738 ("libgee" ,libgee)))
3739 (home-page "https://www.gnome.org/")
3740 (synopsis "Useful functionality shared among GNOME games")
3742 "libgnome-games-support is a small library intended for internal use by
3743 GNOME Games, but it may be used by others.")
3744 (license license:lgpl3+)))
3746 (define-public gnome-klotski
3748 (name "gnome-klotski")
3752 (uri (string-append "mirror://gnome/sources/" name "/"
3753 (version-major+minor version) "/"
3754 name "-" version ".tar.xz"))
3757 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3758 (build-system glib-or-gtk-build-system)
3760 `(("desktop-file-utils" ,desktop-file-utils)
3761 ("intltool" ,intltool)
3762 ("itstool" ,itstool)
3763 ("pkg-config" ,pkg-config)
3764 ("xmllint" ,libxml2)))
3767 ("libgnome-games-support" ,libgnome-games-support)
3768 ("librsvg" ,librsvg)))
3769 (home-page "https://wiki.gnome.org/Apps/Klotski")
3770 (synopsis "Sliding block puzzles")
3772 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3773 the patterned block to the area bordered by green markers. To do so, you will
3774 need to slide other blocks out of the way. Complete each puzzle in as few moves
3776 (license license:gpl2+)))
3778 (define-public grilo
3785 (uri (string-append "mirror://gnome/sources/" name "/"
3786 (version-major+minor version) "/"
3787 name "-" version ".tar.xz"))
3790 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3791 (build-system gnu-build-system)
3793 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3794 ("intltool" ,intltool)
3795 ("pkg-config" ,pkg-config)
3796 ("gobject-introspection" ,gobject-introspection)))
3798 `(("cyrus-sasl" ,cyrus-sasl)
3801 ("libxml2" ,libxml2)
3802 ("liboauth" ,liboauth)
3803 ("libsoup" ,libsoup)
3804 ("totem-pl-parser" ,totem-pl-parser)))
3807 (modify-phases %standard-phases
3808 (add-after 'unpack 'fix-introspection-install-dir
3809 (lambda* (#:key outputs #:allow-other-keys)
3810 (let ((out (assoc-ref outputs "out")))
3811 (substitute* '("src/Makefile.in"
3812 "libs/pls/Makefile.in"
3813 "libs/net/Makefile.in")
3814 (("@INTROSPECTION_GIRDIR@")
3815 (string-append out "/share/gir-1.0/"))
3816 (("@INTROSPECTION_TYPELIBDIR@")
3817 (string-append out "/lib/girepository-1.0/")))
3819 (native-search-paths
3820 (list (search-path-specification
3821 (variable "GRL_PLUGIN_PATH")
3822 (files (list (string-append "lib/grilo-"
3823 (version-major+minor version)))))))
3824 (home-page "https://live.gnome.org/Grilo")
3825 (synopsis "Framework for discovering and browsing media")
3827 "Grilo is a framework focused on making media discovery and browsing easy
3828 for application developers.")
3829 (license license:lgpl2.1+)))
3831 (define-public grilo-plugins
3833 (name "grilo-plugins")
3838 (uri (string-append "mirror://gnome/sources/" name "/"
3839 (version-major+minor version) "/"
3840 name "-" version ".tar.xz"))
3843 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3844 (build-system gnu-build-system)
3846 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3847 ("intltool" ,intltool)
3848 ("itstool" ,itstool)
3849 ("pkg-config" ,pkg-config)))
3853 ("libxml2" ,libxml2)
3856 ;; XXX TODO: Add oauth
3857 ;; XXX TODO: Add goa
3858 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3859 ;; XXX TODO: Add lua (needs help finding it)
3860 ("json-glib" ,json-glib)
3863 ("libsoup" ,libsoup)
3864 ("libarchive" ,libarchive)
3865 ("totem-pl-parser" ,totem-pl-parser)))
3867 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3870 ,(version-major+minor version)))
3871 ;; XXX FIXME: Try to get the test suite working. It appears to require
3872 ;; a working system dbus. Inside the build container, all tests fail
3873 ;; with: "assertion failed: (source)". Outside of the build container,
3874 ;; most tests succeed.
3876 (home-page "https://live.gnome.org/Grilo")
3877 (synopsis "Plugins for the Grilo media discovery library")
3879 "Grilo is a framework focused on making media discovery and browsing easy
3880 for application developers.")
3881 (license license:lgpl2.1+)))
3883 (define-public totem
3890 (uri (string-append "mirror://gnome/sources/" name "/"
3891 (version-major+minor version) "/"
3892 name "-" version ".tar.xz"))
3895 "0rahkybxbmxhlmrrgrzxny1xm7wycx7ib4blxp1i2l1q3i8s84b0"))
3896 (patches (search-patches "totem-meson-easy-codec.patch"
3897 "totem-meson-compat.patch"))))
3898 (build-system meson-build-system)
3900 `(("pkg-config" ,pkg-config)
3901 ("desktop-file-utils" ,desktop-file-utils)
3902 ("gobject-introspection" ,gobject-introspection)
3903 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3904 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3905 ("intltool" ,intltool)
3906 ("itstool" ,itstool)
3907 ("xmllint" ,libxml2)))
3909 `(("dconf" ,dconf)))
3912 ("gdk-pixbuf" ,gdk-pixbuf)
3915 ("dbus-glib" ,dbus-glib)
3916 ("clutter" ,clutter)
3917 ("clutter-gtk" ,clutter-gtk)
3918 ("clutter-gst" ,clutter-gst)
3919 ("xorgproto" ,xorgproto)
3920 ("libxxf86vm" ,libxxf86vm)
3921 ("libxtst" ,libxtst)
3922 ("libxrandr" ,libxrandr)
3923 ("libxml2" ,libxml2)
3924 ("libsoup" ,libsoup)
3925 ("libpeas" ,libpeas)
3926 ("librsvg" ,librsvg)
3928 ("gnome-desktop" ,gnome-desktop)
3929 ("gstreamer" ,gstreamer)
3930 ("gst-plugins-base" ,gst-plugins-base)
3931 ("gst-plugins-good" ,gst-plugins-good)
3932 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3933 ("adwaita-icon-theme" ,adwaita-icon-theme)
3935 ("python-pygobject" ,python2-pygobject)
3936 ;; XXX TODO pylint needed for python support
3937 ("totem-pl-parser" ,totem-pl-parser)
3939 ("grilo-plugins" ,grilo-plugins)
3944 ;; Disable parallel builds until
3945 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3946 ;; fixed. Try enabling it when updating this package in case
3947 ;; upstream has fixed it.
3948 #:parallel-build? #f
3950 ;; Disable automatic GStreamer plugin installation via PackageKit and
3952 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3954 ;; Do not build .a files for the plugins, it's
3955 ;; completely useless. This saves 2 MiB.
3956 "--default-library" "shared")
3959 (modify-phases %standard-phases
3961 'install 'disable-cache-generation
3963 (setenv "DESTDIR" "/")
3966 'install 'wrap-totem
3967 (lambda* (#:key inputs outputs #:allow-other-keys)
3968 (let ((out (assoc-ref outputs "out"))
3969 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3970 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3971 (wrap-program (string-append out "/bin/totem")
3972 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3973 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3974 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3975 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3977 (home-page "https://wiki.gnome.org/Apps/Videos")
3978 (synopsis "Simple media player for GNOME based on GStreamer")
3979 (description "Totem is a simple yet featureful media player for GNOME
3980 which can read a large number of file formats.")
3981 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3982 ;; to be used and distributed together with GStreamer and Totem. See
3983 ;; file://COPYING in the source distribution for details.
3984 (license license:gpl2+)))
3986 (define-public rhythmbox
3992 (uri (string-append "mirror://gnome/sources/" name "/"
3993 (version-major+minor version) "/"
3994 name "-" version ".tar.xz"))
3997 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
3998 (build-system glib-or-gtk-build-system)
4001 (list "--enable-lirc"
4008 (modify-phases %standard-phases
4010 'install 'wrap-rhythmbox
4011 (lambda* (#:key inputs outputs #:allow-other-keys)
4012 (let ((out (assoc-ref outputs "out"))
4013 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4014 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4015 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4016 (python-path (getenv "PYTHONPATH")))
4017 (wrap-program (string-append out "/bin/rhythmbox")
4018 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4019 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4020 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4021 `("PYTHONPATH" ":" prefix (,python-path))))
4024 `(("dconf" ,dconf)))
4026 `(("itstool" ,itstool)
4027 ("intltool" ,intltool)
4028 ("glib" ,glib "bin")
4029 ("gobject-introspection" ,gobject-introspection)
4030 ("desktop-file-utils" ,desktop-file-utils)
4031 ("pkg-config" ,pkg-config)
4032 ("xmllint" ,libxml2)))
4034 `(("json-glib" ,json-glib)
4036 ("gnome-desktop" ,gnome-desktop)
4038 ("python-pygobject" ,python2-pygobject)
4041 ("adwaita-icon-theme" ,adwaita-icon-theme)
4043 ("grilo-plugins" ,grilo-plugins)
4044 ("gstreamer" ,gstreamer)
4045 ("gst-plugins-base" ,gst-plugins-base)
4046 ("gst-plugins-good" ,gst-plugins-good)
4047 ("totem-pl-parser" ,totem-pl-parser)
4048 ("libgudev" ,libgudev)
4049 ;;("libmtp" ,libmtp) FIXME: Not detected
4050 ("libsecret" ,libsecret)
4051 ("libsoup" ,libsoup)
4052 ("libnotify" ,libnotify)
4053 ("libpeas" ,libpeas)
4055 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4056 ;;("clutter" ,clutter)
4057 ;;("clutter-gtk" ,clutter-gtk)
4058 ;;("clutter-gst" ,clutter-gst)
4059 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4066 ("brasero" ,brasero)))
4067 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4068 (synopsis "Music player for GNOME")
4069 (description "Rhythmbox is a music playing application for GNOME. It
4070 supports playlists, song ratings, and any codecs installed through gstreamer.")
4071 (license license:gpl2+)))
4079 (uri (string-append "mirror://gnome/sources/" name "/"
4080 (version-major+minor version) "/"
4081 name "-" version ".tar.xz"))
4084 "1wrq3l3z0x6q0hnc1vqr2hnyb1b14qw6aqvc5dldfgbs0yys6p55"))))
4085 (build-system meson-build-system)
4088 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4089 (list (string-append "-Dc_link_args=-Wl,-rpath="
4090 (assoc-ref %outputs "out") "/lib/eog"))
4092 (modify-phases %standard-phases
4093 (add-after 'install 'wrap-eog
4094 (lambda* (#:key outputs #:allow-other-keys)
4095 (let ((out (assoc-ref outputs "out"))
4096 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4097 (wrap-program (string-append out "/bin/eog")
4098 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4101 `(("dconf" ,dconf)))
4103 `(("intltool" ,intltool)
4104 ("itstool" ,itstool)
4105 ("glib" ,glib "bin")
4106 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4107 ("gobject-introspection" ,gobject-introspection)
4108 ("pkg-config" ,pkg-config)
4109 ("xmllint" ,libxml2)))
4111 `(("gnome-desktop" ,gnome-desktop)
4112 ("shared-mime-info" ,shared-mime-info)
4113 ("adwaita-icon-theme" ,adwaita-icon-theme)
4116 ("libexif" ,libexif)
4117 ("libpeas" ,libpeas)
4118 ("libjpeg" ,libjpeg)
4119 ("librsvg" ,librsvg)
4120 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4122 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4123 (synopsis "GNOME image viewer")
4124 (description "Eye of GNOME is the GNOME image viewer. It
4125 supports image conversion, rotation, and slideshows.")
4126 (license license:gpl2+)))
4128 (define-public eog-plugins
4129 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4130 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4131 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4132 ;; 'XDG_DATA_DIRS' appropriately set.
4134 (name "eog-plugins")
4138 (uri (string-append "mirror://gnome/sources/eog-plugins/"
4139 (version-major+minor version) "/"
4140 "eog-plugins-" version ".tar.xz"))
4143 "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3"))))
4144 (build-system gnu-build-system)
4145 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4146 (synopsis "Extensions for the Eye of GNOME image viewer")
4148 `(("pkg-config" ,pkg-config)
4149 ("gettext" ,gnu-gettext)))
4154 ("libpeas" ,libpeas)
4155 ("libexif" ,libexif)
4156 ("libchamplain" ,libchamplain)))
4158 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4162 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4163 @item @dfn{Map}, which displays a map of where the picture was taken on the
4165 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4168 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4169 ;; long suspicious byte stream that goes to a
4170 ;; ".gresource.eog_postasa_plugin" ELF section.
4171 (license license:gpl2+)))
4173 (define-public libgudev
4179 (uri (string-append "mirror://gnome/sources/" name "/"
4180 version "/" name "-" version ".tar.xz"))
4183 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
4184 (build-system gnu-build-system)
4187 ;; umockdev depends on libgudev.
4188 (list "--disable-umockdev")))
4190 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4191 ("gobject-introspection" ,gobject-introspection)
4192 ("pkg-config" ,pkg-config)))
4194 `(("glib" ,glib))) ; required by gudev-1.0.pc
4197 (home-page "https://wiki.gnome.org/Projects/libgudev")
4198 (synopsis "GObject bindings for libudev")
4200 "This library provides GObject bindings for libudev. It was originally
4201 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4202 (license license:lgpl2.1+)))
4210 (uri (string-append "mirror://gnome/sources/gvfs/"
4211 (version-major+minor version) "/"
4212 "gvfs-" version ".tar.xz"))
4215 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
4216 (build-system meson-build-system)
4220 (list "-Dsystemduserunitdir=no"
4222 ;; Otherwise, the RUNPATH will lack the final path component.
4223 (string-append "-Dc_link_args=-Wl,-rpath="
4224 (assoc-ref %outputs "out") "/lib/gvfs"))))
4226 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4227 ("gettext" ,gettext-minimal)
4228 ("gtk-doc" ,gtk-doc)
4229 ("pkg-config" ,pkg-config)
4230 ("xsltproc" ,libxslt)))
4233 ("docbook-xml" ,docbook-xml-4.2)
4234 ("docbook-xsl" ,docbook-xsl)
4236 ("elogind" ,elogind)
4240 ("gnome-online-accounts" ,gnome-online-accounts)
4241 ("libarchive" ,libarchive)
4242 ("libbluray" ,libbluray)
4244 ("libcdio-paranoia" ,libcdio-paranoia)
4245 ("libgcrypt" ,libgcrypt)
4246 ("libgdata" ,libgdata)
4247 ("libgphoto2" ,libgphoto2)
4248 ("libgudev" ,libgudev)
4249 ("libimobiledevice" ,libimobiledevice)
4252 ("libsecret" ,libsecret)
4253 ("libsmbclient" ,samba)
4254 ("libsoup" ,libsoup)
4255 ("libxml2" ,libxml2)
4256 ("openssh" ,openssh)
4258 ("udisks" ,udisks)))
4259 (home-page "https://wiki.gnome.org/gvfs/")
4260 (synopsis "Userspace virtual file system for GIO")
4262 "GVFS is a userspace virtual file system designed to work with the I/O
4263 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4264 to all applications using the GIO API. It also supports exposing the GVFS
4265 mounts to non-GIO applications using FUSE.
4267 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4269 (license license:lgpl2.0+)))
4277 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4281 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4282 (build-system meson-build-system)
4284 `(("gobject-introspection" ,gobject-introspection)
4285 ("pkg-config" ,pkg-config)
4287 ("gtk-doc" ,gtk-doc)))
4289 ;; Both of these are required by gusb.pc.
4291 ("libusb" ,libusb)))
4293 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4294 (home-page "https://github.com/hughsie/libgusb")
4295 (synopsis "GLib binding for libusb1")
4297 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4298 asynchronous control, bulk and interrupt transfers with proper cancellation
4299 and integration into a mainloop. This makes it easy to integrate low level
4300 USB transfers with your high-level application or system daemon.")
4301 (license license:lgpl2.1+)))
4303 (define-public simple-scan
4305 (name "simple-scan")
4309 (uri (string-append "https://launchpad.net/simple-scan/"
4310 (version-major+minor version) "/"
4311 version "/+download/simple-scan-"
4315 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4316 (build-system glib-or-gtk-build-system)
4321 ("gdk-pixbuf" ,gdk-pixbuf)
4323 ("libsane" ,sane-backends)))
4325 `(("gettext" ,gettext-minimal)
4326 ("itstool" ,itstool)
4328 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4329 ("pkg-config" ,pkg-config)
4331 ("xmllint" ,libxml2)))
4333 '(#:configure-flags '("--disable-packagekit")
4335 (modify-phases %standard-phases
4336 (add-after 'unpack 'clean
4338 ;; Remove a left-over reference to PackageKit.
4340 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4342 ;; There are some generated C files erroneously
4343 ;; included in the source distribution, and this
4344 ;; one breaks the build by referring to a
4345 ;; non-existent header (packagekit.h)
4346 (delete-file "src/ui.c"))))))
4347 (home-page "https://launchpad.net/simple-scan")
4348 (synopsis "Document and image scanner")
4349 (description "Simple Scan is an easy-to-use application, designed to let
4350 users connect their scanner and quickly have the image/document in an
4351 appropriate format. Simple Scan is basically a frontend for SANE - which is
4352 the same backend as XSANE uses. This means that all existing scanners will
4353 work and the interface is well tested.")
4354 (license license:gpl3+)))
4356 (define-public eolie
4362 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4363 "uploads/d42b466752729a0d3fa828a721e25043/"
4364 "eolie-" version ".tar.xz"))
4367 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
4368 (build-system meson-build-system)
4372 (modify-phases %standard-phases
4373 (add-after 'wrap 'wrap-more
4374 (lambda* (#:key inputs outputs #:allow-other-keys)
4375 (let* ((out (assoc-ref outputs "out"))
4376 ;; These libraries must be on LD_LIBRARY_PATH.
4377 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4378 "atk" "gtk+" "gsettings-desktop-schemas"
4379 "gobject-introspection"))
4382 (string-append (assoc-ref inputs lib) "/lib"))
4385 (wrap-program (string-append out "/bin/eolie")
4386 `("LD_LIBRARY_PATH" ":" prefix (,path))
4387 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4388 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4391 `(("intltool" ,intltool)
4392 ("itstool" ,itstool)
4393 ("pkg-config" ,pkg-config)
4395 ("glib:bin" ,glib "bin")
4396 ("gtk+" ,gtk+ "bin")))
4398 `(("gobject-introspection" ,gobject-introspection)
4399 ("glib-networking" ,glib-networking)
4402 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4403 ("python" ,python-wrapper)
4404 ("python-dateutil" ,python-dateutil)
4405 ("python-pyfxa" ,python-pyfxa)
4406 ("python-pygobject" ,python-pygobject)
4407 ("python-pycairo" ,python-pycairo)
4408 ("python-pycrypto" ,python-pycrypto)
4409 ("libsecret" ,libsecret)
4410 ("gtkspell3" ,gtkspell3)
4411 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4412 ("webkitgtk" ,webkitgtk)))
4413 (home-page "https://wiki.gnome.org/Apps/Eolie")
4414 (synopsis "Web browser for GNOME")
4416 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4417 a secret password store, an adblocker, and a modern UI.")
4418 (license license:gpl3+)))
4420 (define-public epiphany
4426 (uri (string-append "mirror://gnome/sources/epiphany/"
4427 (version-major+minor version) "/"
4428 "epiphany-" version ".tar.xz"))
4431 "0nk0krzrfck6hhfs52f4sjmj93yjyvabm72bq8i8f9l1pass5vgd"))))
4433 (build-system meson-build-system)
4435 ;; FIXME: tests run under Xvfb, but fail with:
4436 ;; /src/bookmarks/ephy-bookmarks/create:
4437 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4443 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4444 (list (string-append "-Dc_link_args=-Wl,-rpath="
4445 (assoc-ref %outputs "out") "/lib/epiphany"))))
4447 `(("dconf" ,dconf)))
4449 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4450 ("glib:bin" ,glib "bin") ; for glib-mkenums
4451 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4452 ("intltool" ,intltool)
4453 ("itstool" ,itstool)
4454 ("pkg-config" ,pkg-config)
4455 ("xmllint" ,libxml2)))
4459 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4460 ("glib-networking" ,glib-networking)
4461 ("gnome-desktop" ,gnome-desktop)
4462 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4463 ("json-glib" ,json-glib)
4464 ("iso-codes" ,iso-codes)
4465 ("libdazzle" ,libdazzle)
4466 ("libnotify" ,libnotify)
4467 ("libsecret" ,libsecret)
4468 ("libxslt" ,libxslt)
4469 ("nettle" ,nettle) ; for hogweed
4471 ("webkitgtk" ,webkitgtk)))
4472 (home-page "https://wiki.gnome.org/Apps/Web")
4473 (synopsis "GNOME web browser")
4475 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4476 principles are simplicity and standards compliance.")
4477 (license license:gpl2+)))
4479 (define-public d-feet
4485 (uri (string-append "mirror://gnome/sources/" name "/"
4486 (version-major+minor version) "/"
4487 name "-" version ".tar.xz"))
4490 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
4491 (build-system glib-or-gtk-build-system)
4493 '(#:out-of-source? #f ; tests need to run in the source directory.
4495 (modify-phases %standard-phases
4499 ;; The test suite requires a running X server.
4500 (system "Xvfb :1 &")
4501 (setenv "DISPLAY" ":1")
4502 ;; Don't fail on missing '/etc/machine-id'.
4503 (setenv "DBUS_FATAL_WARNINGS" "0")
4504 ;; tests.py and window.py don't meet E402:
4505 ;; E402 module level import not at top of file
4506 (substitute* "src/tests/Makefile"
4507 (("--ignore=E123") "--ignore=E123,E402"))
4510 'install 'wrap-program
4511 (lambda* (#:key outputs #:allow-other-keys)
4512 (let ((prog (string-append (assoc-ref outputs "out")
4515 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4516 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4519 `(("intltool" ,intltool)
4520 ("itstool" ,itstool)
4521 ("pkg-config" ,pkg-config)
4522 ("python-pep8" ,python-pep8)
4523 ("xmllint" ,libxml2)
4524 ("xorg-server" ,xorg-server)))
4526 `(("gobject-introspection" ,gobject-introspection)
4528 ("python" ,python-wrapper)
4529 ("hicolor-icon-theme" ,hicolor-icon-theme)
4530 ("python-pygobject" ,python-pygobject)))
4531 (home-page "https://wiki.gnome.org/Apps/DFeet")
4532 (synopsis "D-Bus debugger")
4534 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4535 of running programs and invoke methods on those interfaces.")
4536 (license license:gpl2+)))
4538 (define-public yelp-xsl
4544 (uri (string-append "mirror://gnome/sources/" name "/"
4545 (version-major+minor version) "/"
4546 name "-" version ".tar.xz"))
4549 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
4550 (build-system gnu-build-system)
4552 `(("intltool" ,intltool)
4553 ("itstool" ,itstool)
4554 ("xmllint" ,libxml2)))
4555 (home-page "https://wiki.gnome.org/Apps/Yelp")
4556 (synopsis "XSL stylesheets for Yelp")
4558 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4559 to format Docbook and Mallard documents.")
4560 (license license:gpl2+)))
4568 (uri (string-append "mirror://gnome/sources/" name "/"
4569 (version-major+minor version) "/"
4570 name "-" version ".tar.xz"))
4573 "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4"))))
4574 (build-system glib-or-gtk-build-system)
4576 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4577 ("intltool" ,intltool)
4578 ("itstool" ,itstool)
4579 ("pkg-config" ,pkg-config)))
4581 `(("dconf" ,dconf)))
4583 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4584 ("libxslt" ,libxslt)
4586 ("webkitgtk" ,webkitgtk)
4587 ("yelp-xsl" ,yelp-xsl)))
4588 (home-page "https://wiki.gnome.org/Apps/Yelp")
4589 (synopsis "GNOME help browser")
4591 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4592 man, info, and HTML documents. It can locate documents according to the
4593 freedesktop.org help system specification.")
4594 (license license:gpl2+)))
4596 (define-public yelp-tools
4602 (uri (string-append "mirror://gnome/sources/" name "/"
4603 (version-major+minor version) "/"
4604 name "-" version ".tar.xz"))
4607 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
4608 (build-system gnu-build-system)
4610 `(("pkg-config" ,pkg-config)))
4612 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4613 `(("itstool" ,itstool)
4614 ("xmllint" ,libxml2)
4615 ("xsltproc" ,libxslt)))
4617 `(("yelp-xsl" ,yelp-xsl)))
4618 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4619 (synopsis "Yelp documentation tools")
4621 "Yelp-tools is a collection of scripts and build utilities to help create,
4622 manage, and publish documentation for Yelp and the web. Most of the heavy
4623 lifting is done by packages like yelp-xsl and itstool. This package just
4624 wraps things up in a developer-friendly way.")
4625 (license license:gpl2+)))
4627 (define-public libgee
4633 (uri (string-append "mirror://gnome/sources/" name "/"
4634 (version-major+minor version) "/"
4635 name "-" version ".tar.xz"))
4638 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4639 (build-system gnu-build-system)
4642 (modify-phases %standard-phases
4643 (add-after 'unpack 'fix-introspection-install-dir
4644 (lambda* (#:key outputs #:allow-other-keys)
4645 (let ((out (assoc-ref outputs "out")))
4646 (substitute* "gee/Makefile.in"
4647 (("@INTROSPECTION_GIRDIR@")
4648 (string-append out "/share/gir-1.0/"))
4649 (("@INTROSPECTION_TYPELIBDIR@")
4650 (string-append out "/lib/girepository-1.0/")))))))))
4652 `(("glib" ,glib "bin")
4653 ("pkg-config" ,pkg-config)))
4656 ("gobject-introspection" ,gobject-introspection)))
4657 (home-page "https://wiki.gnome.org/Projects/Libgee")
4658 (synopsis "GObject collection library")
4660 "Libgee is a utility library providing GObject-based interfaces and
4661 classes for commonly used data structures.")
4662 (license license:lgpl2.1+)))
4664 (define-public gexiv2
4670 (uri (string-append "mirror://gnome/sources/" name "/"
4671 (version-major+minor version) "/"
4672 name "-" version ".tar.xz"))
4675 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
4676 (build-system meson-build-system)
4679 ("glib" ,glib "bin")
4680 ("pkg-config" ,pkg-config)
4683 ;; Listed in "Requires" section of gexiv2.pc
4684 `(("exiv2" ,exiv2)))
4687 ("gobject-introspection" ,gobject-introspection)))
4688 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4689 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4691 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4692 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4693 metadata in photo and video files of various formats.")
4694 (license license:gpl2+)))
4696 (define-public shotwell
4702 (uri (string-append "mirror://gnome/sources/" name "/"
4703 (version-major+minor version) "/"
4704 name "-" version ".tar.xz"))
4707 "1yiz3j0y2yg6985y3alb3hpkfbv68n8ibys5gpwcjdhmhf3czg5p"))))
4708 (build-system meson-build-system)
4710 '(#:glib-or-gtk? #t))
4712 `(("dconf" ,dconf)))
4714 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4715 ("gettext" ,gettext-minimal)
4716 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4717 ("itstool" ,itstool)
4718 ("pkg-config" ,pkg-config)
4721 `(("glib:bin" ,glib "bin")
4722 ("gstreamer" ,gstreamer)
4723 ("gst-plugins-base" ,gst-plugins-base)
4724 ("libgdata" ,libgdata)
4728 ("json-glib" ,json-glib)
4729 ("webkitgtk" ,webkitgtk)
4731 ("libsoup" ,libsoup)
4732 ("libxml2" ,libxml2)
4733 ("libgudev" ,libgudev)
4734 ("libgphoto2" ,libgphoto2)
4736 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4737 (synopsis "Photo manager for GNOME 3")
4739 "Shotwell is a digital photo manager designed for the GNOME desktop
4740 environment. It allows you to import photos from disk or camera, organize
4741 them by keywords and events, view them in full-window or fullscreen mode, and
4742 share them with others via social networking and more.")
4743 (license license:lgpl2.1+)))
4745 (define-public file-roller
4747 (name "file-roller")
4751 (uri (string-append "mirror://gnome/sources/" name "/"
4752 (version-major+minor version) "/"
4753 name "-" version ".tar.xz"))
4756 "0kiragsqyixyx15747b71qc4nw8y4jx9d55wgg612xb0hp5l9pj1"))))
4757 (build-system meson-build-system)
4759 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4760 ("intltool" ,intltool)
4761 ("pkg-config" ,pkg-config)
4762 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4763 ("glib:bin" ,glib "bin")))
4764 ;; TODO: Add libnautilus.
4767 ("gdk-pixbuf" ,gdk-pixbuf)
4768 ("json-glib" ,json-glib)
4769 ("libarchive" ,libarchive)
4770 ("libnotify" ,libnotify)
4771 ("itstool" ,itstool)
4772 ("libxml2" ,libxml2)))
4773 (synopsis "Graphical archive manager for GNOME")
4774 (description "File Roller is an archive manager for the GNOME desktop
4775 environment that allows users to view, unpack, and create compressed archives
4776 such as gzip tarballs.")
4777 (home-page "http://fileroller.sourceforge.net/")
4778 (license license:gpl2+)))
4780 (define-public gnome-session
4782 (name "gnome-session")
4786 (uri (string-append "mirror://gnome/sources/" name "/"
4787 (version-major+minor version) "/"
4788 name "-" version ".tar.xz"))
4791 "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa"))))
4795 (modify-phases %standard-phases
4796 (add-before 'configure 'pre-configure
4797 (lambda* (#:key outputs #:allow-other-keys)
4798 ;; Use elogind instead of systemd.
4799 (substitute* "meson.build"
4800 (("libsystemd-login") "libelogind")
4801 (("and libsystemd_daemon_dep.found.*") ","))
4802 (substitute* "gnome-session/gsm-systemd.c"
4803 (("#include <systemd/sd-login.h>")
4804 "#include <elogind/sd-login.h>"))
4805 ;; Remove uses of the systemd daemon.
4806 (substitute* "gnome-session/gsm-autostart-app.c"
4807 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4809 (add-after 'install 'wrap-gnome-session
4810 (lambda* (#:key inputs outputs #:allow-other-keys)
4811 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4812 (let ((glib (assoc-ref inputs "glib:bin"))
4813 (out (assoc-ref outputs "out")))
4814 (wrap-program (string-append out "/bin/gnome-session")
4815 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4819 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4820 "-Dman=false" ; FIXME: disabled because of docbook validation error
4821 "-Dsystemd_journal=false")))
4822 (build-system meson-build-system)
4824 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4825 ("pkg-config" ,pkg-config)
4826 ("intltool" ,intltool)
4827 ("xsltproc" ,libxslt)
4828 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4829 ("docbook-xsl" ,docbook-xsl)
4830 ("docbook-xml" ,docbook-xml)
4833 `(("elogind" ,elogind)
4834 ("gnome-desktop" ,gnome-desktop)
4835 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4837 ("json-glib" ,json-glib)
4839 ("libxcomposite" ,libxcomposite)
4840 ("libxtst" ,libxtst)
4843 ("xtrans" ,xtrans)))
4844 (synopsis "Session manager for GNOME")
4846 "This package contains the GNOME session manager, as well as a
4847 configuration program to choose applications starting on login.")
4848 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4849 (license license:gpl2+)))
4857 (uri (string-append "mirror://gnome/sources/" name "/"
4858 (version-major+minor version) "/"
4859 name "-" version ".tar.xz"))
4862 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
4863 (build-system gnu-build-system)
4866 (modify-phases %standard-phases
4870 ;; The test suite requires a running X server.
4871 (system "Xvfb :1 &")
4872 (setenv "DISPLAY" ":1")
4874 ;; For the missing /etc/machine-id.
4875 (setenv "DBUS_FATAL_WARNINGS" "0")
4877 ;; Our mozjs-38 package does not compile the required Intl API
4878 ;; support for these failing tests.
4879 (substitute* "installed-tests/js/testLocale.js"
4880 ((".*toBeDefined.*") "")
4881 ((".*expect\\(datestr\\).*") ""))
4882 (substitute* "installed-tests/scripts/testCommandLine.sh"
4887 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4888 ("pkg-config" ,pkg-config)
4889 ("xmllint" ,libxml2)
4891 ("dbus-launch" ,dbus)
4892 ("uuidgen" ,util-linux)
4893 ("xvfb" ,xorg-server-for-tests)))
4895 ;; These are all in the Requires.private field of gjs-1.0.pc.
4897 ("gobject-introspection" ,gobject-introspection)
4898 ("mozjs" ,mozjs-60)))
4901 ("readline" ,readline)))
4902 (synopsis "Javascript bindings for GNOME")
4903 (home-page "https://live.gnome.org/Gjs")
4905 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4906 javascript engine and the GObject introspection framework.")
4907 (license license:gpl2+)))
4909 (define-public gedit
4915 (uri (string-append "mirror://gnome/sources/" name "/"
4916 (version-major+minor version) "/"
4917 name "-" version ".tar.xz"))
4920 "0qwig35hzvjaqic9x92jcpmycnvcybsbnbiw6rppryx0arwb3wza"))))
4921 (build-system glib-or-gtk-build-system)
4924 (modify-phases %standard-phases
4926 'install 'wrap-gedit
4927 (lambda* (#:key inputs outputs #:allow-other-keys)
4928 (let ((out (assoc-ref outputs "out"))
4929 (gtksourceview (assoc-ref inputs "gtksourceview"))
4930 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4931 (python-path (getenv "PYTHONPATH")))
4932 (wrap-program (string-append out "/bin/gedit")
4934 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4935 `("PYTHONPATH" ":" prefix (,python-path))
4936 ;; For language-specs.
4937 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4941 `(("dconf" ,dconf)))
4943 `(("intltool" ,intltool)
4944 ("itstool" ,itstool)
4945 ("gobject-introspection" ,gobject-introspection)
4946 ("pkg-config" ,pkg-config)))
4951 ("gtksourceview" ,gtksourceview-3)
4952 ("libpeas" ,libpeas)
4953 ("libxml2" ,libxml2)
4954 ("iso-codes" ,iso-codes)
4955 ("python-pygobject" ,python-pygobject)
4957 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4960 ("adwaita-icon-theme" ,adwaita-icon-theme)
4961 ("libsoup" ,libsoup)
4962 ("gnome-desktop" ,gnome-desktop)))
4963 (home-page "https://wiki.gnome.org/Apps/Gedit")
4964 (synopsis "GNOME text editor")
4965 (description "While aiming at simplicity and ease of use, gedit is a
4966 powerful general purpose text editor.")
4967 (license license:gpl2+)))
4969 (define-public zenity
4975 (uri (string-append "mirror://gnome/sources/" name "/"
4976 (version-major+minor version) "/"
4977 name "-" version ".tar.xz"))
4980 "1wipnp46pd238z9ck5rsckbaw7yla6c936fswq5w94k4c6bgcplr"))))
4981 (build-system gnu-build-system)
4983 `(("gettext" ,gettext-minimal)
4984 ("itstool" ,itstool)
4985 ("pkg-config" ,pkg-config)))
4987 `(("libnotify" ,libnotify)
4988 ("webkitgtk" ,webkitgtk)))
4989 (synopsis "Display graphical dialog boxes from shell scripts")
4990 (home-page "https://www.gnome.org")
4992 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4993 to display dialog boxes from the commandline and shell scripts.")
4994 (license license:lgpl2.0+)))
4996 (define-public mutter
5002 (uri (string-append "mirror://gnome/sources/" name "/"
5003 (version-major+minor version) "/"
5004 name "-" version ".tar.xz"))
5007 "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z"))))
5008 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5009 ;; versions of cogl and clutter. As a result, many of the inputs,
5010 ;; propagated-inputs, and configure flags used in cogl and clutter are
5011 ;; needed here as well.
5012 (build-system gnu-build-system)
5015 ;; XXX: build fails with [-Werror]:
5016 ;; backends/meta-cursor-renderer.c:112:5: error:
5017 ;; implicit declaration of function ?roundf?
5018 (list "--enable-compile-warnings=minimum"
5020 "--enable-native-backend"
5022 ;; The following flags are needed for the bundled clutter
5023 "--enable-x11-backend=yes"
5025 (string-append "--with-xwayland-path="
5026 (assoc-ref %build-inputs "xorg-server-xwayland")
5029 ;; the remaining flags are needed for the bundled cogl
5031 (string-append "--with-gl-libname="
5032 (assoc-ref %build-inputs "mesa")
5035 (modify-phases %standard-phases
5036 ;; Replace references to systemd libraries to elogind references.
5037 (add-before 'configure 'use-elogind
5039 (substitute* (list "configure"
5040 "src/backends/native/meta-launcher.c"
5042 (("systemd") "elogind"))
5045 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5046 ("gobject-introspection" ,gobject-introspection)
5047 ("intltool" ,intltool)
5048 ("pkg-config" ,pkg-config)
5050 ("autoconf" ,autoconf)
5051 ("automake" ,automake)
5052 ("libtool" ,libtool)))
5054 `(;; libmutter.pc refers to these:
5055 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5057 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5060 ("gdk-pixbuf" ,gdk-pixbuf)
5062 ("json-glib" ,json-glib)
5063 ("libinput" ,libinput)
5065 ("libxcomposite" ,libxcomposite)
5066 ("libxdamage" ,libxdamage)
5067 ("libxext" ,libxext)
5068 ("libxfixes" ,libxfixes)
5069 ("libxkbcommon" ,libxkbcommon)
5070 ("libxrandr" ,libxrandr)
5074 ("xinput" ,xinput)))
5076 `(("elogind" ,elogind)
5077 ("gnome-desktop" ,gnome-desktop)
5078 ("libcanberra-gtk" ,libcanberra)
5079 ("libgudev" ,libgudev)
5082 ("libxkbfile" ,libxkbfile)
5083 ("libxrandr" ,libxrandr)
5084 ("libxtst" ,libxtst)
5085 ("startup-notification" ,startup-notification)
5086 ("upower-glib" ,upower)
5087 ("xkeyboard-config" ,xkeyboard-config)
5088 ("xorg-server-xwayland" ,xorg-server-xwayland)
5089 ("zenity" ,zenity)))
5090 (synopsis "Window and compositing manager")
5091 (home-page "https://www.gnome.org")
5093 "Mutter is a window and compositing manager that displays and manages your
5094 desktop via OpenGL. Mutter combines a sophisticated display engine using the
5095 Clutter toolkit with solid window-management logic inherited from the Metacity
5097 (license license:gpl2+)))
5099 (define-public gnome-online-accounts
5101 (name "gnome-online-accounts")
5105 (uri (string-append "mirror://gnome/sources/" name "/"
5106 (version-major+minor version) "/"
5107 name "-" version ".tar.xz"))
5110 "1p1gdgryziklrgngn6m13xnvfx4gb01h723nndfi9944r24fbiq5"))))
5111 (outputs '("out" "lib"))
5112 (build-system glib-or-gtk-build-system)
5115 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5117 (modify-phases %standard-phases
5118 (add-before 'configure 'patch-libgoa-output
5119 (lambda* (#:key outputs #:allow-other-keys)
5120 (let ((lib (assoc-ref outputs "lib")))
5121 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5123 (("@exec_prefix@") lib)
5124 (("@libdir@") (string-append lib "/lib"))
5125 (("@includedir@") (string-append lib "/include"))
5126 (("@datadir@") (string-append lib "/share")))
5127 ;; Make sure gobject-introspection knows about the output
5128 ;; too (see <https://bugs.gnu.org/36535>).
5129 (setenv "outputs" "out lib")
5132 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5133 ("gobject-introspection" ,gobject-introspection)
5134 ("intltool" ,intltool)
5135 ("pkg-config" ,pkg-config)
5136 ("xsltproc" ,libxslt)))
5138 `(("glib" ,glib) ; required by goa-1.0.pc
5139 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5141 `(("docbook-xsl" ,docbook-xsl)
5142 ("json-glib" ,json-glib)
5143 ("libsecret" ,libsecret)
5145 ("webkitgtk" ,webkitgtk)))
5146 (synopsis "Single sign-on framework for GNOME")
5147 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5149 "GNOME Online Accounts provides interfaces so that applications and
5150 libraries in GNOME can access the user's online accounts. It has providers for
5151 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5152 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5153 (license license:lgpl2.0+)))
5155 (define-public evolution-data-server
5157 (name "evolution-data-server")
5161 (uri (string-append "mirror://gnome/sources/" name "/"
5162 (version-major+minor version) "/"
5163 name "-" version ".tar.xz"))
5164 (patches (search-patches "evolution-data-server-locales.patch"))
5167 "1s952wyhgcbmq9nfgk75v15zdy1h3wy5p5rmkqibaavmc0pk3mli"))))
5168 (build-system cmake-build-system)
5171 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5172 (runpaths (map (lambda (s)
5173 (string-append lib "/evolution-data-server/" s))
5174 '("addressbook-backends" "calendar-backends"
5175 "camel-providers" "credential-modules"
5176 "registry-modules"))))
5177 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5178 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5179 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5180 "-DENABLE_VALA_BINDINGS=ON"
5181 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5182 (string-append lib "/evolution-data-server;")
5183 (string-join runpaths ";"))
5184 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5186 (modify-phases %standard-phases
5187 (add-after 'unpack 'disable-failing-tests
5189 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5190 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5191 (delete-file-recursively "tests/book-migration")
5192 (substitute* "tests/CMakeLists.txt"
5193 (("add_subdirectory\\(book-migration\\)") ""))
5194 ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris:
5195 ;; assertion failed (uris->data == expected_uri):
5196 ;; ("" == "file:///tests/libedata-cal/components/event-1.ics")
5197 (substitute* "tests/libedata-cal/CMakeLists.txt"
5198 (("test-cal-meta-backend") ""))
5200 (add-after 'unpack 'patch-paths
5202 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5203 "tests/libedata-book/data-test-utils.c"
5204 "tests/libedata-book/test-book-cache-utils.c"
5205 "tests/libedata-cal/test-cal-cache-utils.c")
5206 (("/bin/rm") (which "rm")))
5208 (add-before 'configure 'dont-override-rpath
5210 (substitute* "CMakeLists.txt"
5211 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5212 ;; Remove it so the configure flag is respected.
5213 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5216 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5217 ("gobject-introspection" ,gobject-introspection)
5219 ("intltool" ,intltool)
5220 ("pkg-config" ,pkg-config)
5222 ("python" ,python-wrapper)))
5224 ;; These are all in the Requires field of .pc files.
5226 ("libical" ,libical)
5227 ("libsecret" ,libsecret)
5228 ("libsoup" ,libsoup)
5230 ("sqlite" ,sqlite)))
5234 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5235 ("json-glib" ,json-glib)
5236 ("libcanberra" ,libcanberra)
5237 ("libgweather" ,libgweather)
5238 ("mit-krb5" ,mit-krb5)
5239 ("openldap" ,openldap)
5240 ("webkitgtk" ,webkitgtk)))
5241 (synopsis "Store address books and calendars")
5242 (home-page "https://wiki.gnome.org/Apps/Evolution")
5244 "This package provides a unified backend for programs that work with
5245 contacts, tasks, and calendar information. It was originally developed for
5246 Evolution (hence the name), but is now used by other packages as well.")
5247 (license license:lgpl2.0)))
5249 (define-public caribou
5255 (uri (string-append "mirror://gnome/sources/" name "/"
5256 (version-major+minor version) "/"
5257 name "-" version ".tar.xz"))
5260 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5261 (build-system glib-or-gtk-build-system)
5264 (modify-phases %standard-phases
5267 (lambda* (#:key outputs #:allow-other-keys)
5268 (let ((out (assoc-ref outputs "out")))
5269 ;; Use absolute shared library path in Caribou-1.0.typelib.
5270 (substitute* "libcaribou/Makefile"
5271 (("--shared-library=libcaribou.so")
5272 (string-append "--shared-library="
5273 out "/lib/libcaribou.so")))
5275 (add-after 'install 'wrap-programs
5276 (lambda* (#:key outputs #:allow-other-keys)
5277 (let* ((out (assoc-ref outputs "out"))
5278 (python-path (getenv "PYTHONPATH"))
5279 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5283 `("PYTHONPATH" ":" prefix (,python-path))
5284 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5285 (list (string-append out "/bin/caribou-preferences")
5286 (string-append out "/libexec/antler-keyboard"))))
5289 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5290 ("gobject-introspection" ,gobject-introspection)
5291 ("intltool" ,intltool)
5292 ("pkg-config" ,pkg-config)
5293 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5295 ("xsltproc" ,libxslt)))
5297 ;; caribou-1.0.pc refers to all these.
5298 `(("libgee" ,libgee)
5299 ("libxklavier" ,libxklavier)
5300 ("libxtst" ,libxtst)
5303 `(("clutter" ,clutter)
5306 ("python-pygobject" ,python2-pygobject)))
5307 (synopsis "Text entry and UI navigation application")
5308 (home-page "https://wiki.gnome.org/Projects/Caribou")
5310 "Caribou is an input assistive technology intended for switch and pointer
5312 (license license:lgpl2.1)))
5314 (define-public network-manager
5316 (name "network-manager")
5320 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5321 (version-major+minor version) "/"
5322 "NetworkManager-" version ".tar.xz"))
5323 (patches (search-patches "nm-plugin-path.patch"))
5326 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5327 (modules '((guix build utils)))
5330 (substitute* "src/devices/wwan/nm-modem-manager.c"
5331 (("systemd") "elogind"))
5333 (build-system gnu-build-system)
5335 "doc")) ; 8 MiB of gtk-doc HTML
5338 (let ((out (assoc-ref %outputs "out"))
5339 (doc (assoc-ref %outputs "doc"))
5340 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5342 (list "--with-libnm-glib" ; needed by network-manager-applet
5343 "--with-systemd-journal=no"
5344 "--with-session-tracking=elogind"
5345 "--with-suspend-resume=elogind"
5346 "--with-consolekit=no"
5347 "--with-crypto=gnutls"
5348 "--disable-config-plugin-ibft"
5350 "--localstatedir=/var"
5351 (string-append "--with-udev-dir="
5353 (string-append "--with-dbus-sys-dir="
5354 out "/etc/dbus-1/system.d")
5355 (string-append "--with-html-dir="
5356 doc "/share/gtk-doc/html")
5357 (string-append "--with-dhclient=" dhclient)))
5359 (modify-phases %standard-phases
5360 ;; This bare "ls" invocation breaks some tests.
5361 (add-after 'unpack 'patch-ls-invocation
5363 (substitute* "build-aux/ltmain.sh"
5365 (string-append "`" (which "ls") " -")))
5367 (add-before 'configure 'pre-configure
5369 ;; These tests try to test aspects of network-manager's
5370 ;; functionality within restricted containers, but they don't
5371 ;; cope with being already in the Guix build jail as that jail
5372 ;; lacks some features that they would like to proxy over (like
5374 (substitute* '("Makefile.in")
5375 (("src/platform/tests/test-address-linux") " ")
5376 (("src/platform/tests/test-cleanup-linux") " ")
5377 (("src/platform/tests/test-link-linux") " ")
5378 (("src/platform/tests/test-route-linux") " ")
5379 (("src/devices/tests/test-acd") "")
5380 (("src/devices/tests/test-arping") " ")
5381 (("src/devices/tests/test-lldp") " ")
5382 (("src/tests/test-route-manager-linux") " "))
5384 (add-after 'unpack 'delete-failing-tests
5386 ;; FIXME: These three tests fail for unknown reasons.
5387 ;; ERROR:libnm-core/tests/test-general.c:5842:
5388 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5389 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5390 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5391 ;; ERROR:libnm-core/tests/test-setting.c:907:
5392 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5393 (substitute* "Makefile.in"
5394 (("libnm-core/tests/test-general") " ")
5395 (("libnm-core/tests/test-keyfile") " ")
5396 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
5398 (add-before 'check 'pre-check
5400 ;; For the missing /etc/machine-id.
5401 (setenv "DBUS_FATAL_WARNINGS" "0")
5409 "nmstatedir=/tmp/nm"
5415 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5416 ("gobject-introspection" ,gobject-introspection)
5417 ("docbook-xsl" ,docbook-xsl)
5418 ("intltool" ,intltool)
5419 ("libxslt" ,libxslt)
5420 ("libxml2" ,libxml2)
5421 ("pkg-config" ,pkg-config)
5423 ("python" ,python-wrapper)
5424 ("python-dbus" ,python-dbus)
5425 ("python-pygobject" ,python-pygobject)))
5427 `(("coreutils" ,coreutils) ; for ls
5429 ("cyrus-sasl" ,cyrus-sasl)
5430 ("dbus-glib" ,dbus-glib)
5431 ("dnsmasq" ,dnsmasq)
5434 ("iptables" ,iptables)
5435 ("isc-dhcp" ,isc-dhcp)
5436 ("jansson" ,jansson)
5437 ("libgcrypt" ,libgcrypt)
5438 ("libgudev" ,libgudev)
5441 ("libsoup" ,libsoup)
5442 ("modem-manager" ,modem-manager)
5443 ("newt" ,newt) ;for the 'nmtui' console interface
5446 ("readline" ,readline)
5447 ("util-linux" ,util-linux)
5448 ("elogind" ,elogind)))
5449 (synopsis "Network connection manager")
5450 (home-page "https://www.gnome.org/projects/NetworkManager/")
5452 "NetworkManager is a system network service that manages your network
5453 devices and connections, attempting to keep active network connectivity when
5454 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5455 devices, and provides VPN integration with a variety of different VPN
5457 (license license:gpl2+)
5458 (properties '((upstream-name . "NetworkManager")))))
5460 (define-public network-manager-openvpn
5462 (name "network-manager-openvpn")
5467 "mirror://gnome/sources/NetworkManager-openvpn/"
5468 (version-major+minor version)
5469 "/NetworkManager-openvpn-" version ".tar.xz"))
5472 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
5473 (build-system gnu-build-system)
5475 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5477 (modify-phases %standard-phases
5478 (add-after 'configure 'patch-path
5479 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5480 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
5482 (modprobe (string-append (assoc-ref inputs "kmod")
5484 (pretty-ovpn (string-append "\"" ovpn "\"")))
5488 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
5489 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
5490 (("\"/sbin/openvpn\"") pretty-ovpn)
5491 (("/sbin/modprobe") modprobe)))
5492 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
5495 `(("pkg-config" ,pkg-config)
5496 ("intltool" ,intltool)))
5500 ("openvpn" ,openvpn)
5501 ("network-manager" ,network-manager)
5502 ("network-manager-applet" ,network-manager-applet) ;for libnma
5503 ("libsecret" ,libsecret)))
5504 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5505 (synopsis "OpenVPN plug-in for NetworkManager")
5507 "This extension of NetworkManager allows it to take care of connections
5508 to virtual private networks (VPNs) via OpenVPN.")
5509 (license license:gpl2+)
5510 (properties `((upstream-name . "NetworkManager-openvpn")))))
5512 (define-public network-manager-vpnc
5514 (name "network-manager-vpnc")
5519 "mirror://gnome/sources/NetworkManager-vpnc/"
5520 (version-major+minor version)
5521 "/NetworkManager-vpnc-" version ".tar.xz"))
5524 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
5525 (build-system gnu-build-system)
5527 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5529 (modify-phases %standard-phases
5530 (add-after 'configure 'patch-path
5531 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5532 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
5534 (modprobe (string-append (assoc-ref inputs "kmod")
5536 (pretty-ovpn (string-append "\"" vpnc "\"")))
5537 (substitute* "src/nm-vpnc-service.c"
5538 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
5539 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
5540 (("\"/sbin/vpnc\"") pretty-ovpn)
5541 (("/sbin/modprobe") modprobe)))
5544 `(("pkg-config" ,pkg-config)
5545 ("intltool" ,intltool)))
5550 ("network-manager" ,network-manager)
5551 ("network-manager-applet" ,network-manager-applet) ;for libnma
5552 ("libsecret" ,libsecret)))
5553 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5554 (synopsis "VPNC plug-in for NetworkManager")
5556 "Support for configuring virtual private networks based on VPNC.
5557 Compatible with Cisco VPN concentrators configured to use IPsec.")
5558 (license license:gpl2+)
5559 (properties `((upstream-name . "NetworkManager-vpnc")))))
5561 (define-public network-manager-openconnect
5563 (name "network-manager-openconnect")
5568 "mirror://gnome/sources/NetworkManager-openconnect/"
5569 (version-major+minor version)
5570 "/NetworkManager-openconnect-" version ".tar.xz"))
5573 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
5574 (build-system gnu-build-system)
5576 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5578 (modify-phases %standard-phases
5579 (add-after 'configure 'patch-path
5580 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5581 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
5582 "/sbin/openconnect"))
5583 (modprobe (string-append (assoc-ref inputs "kmod")
5585 (pretty-ovpn (string-append "\"" openconnect "\"")))
5586 (substitute* "src/nm-openconnect-service.c"
5587 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
5588 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
5589 (("/sbin/modprobe") modprobe)))
5592 `(("intltool" ,intltool)
5593 ("network-manager-applet" ,network-manager-applet) ;for libnma
5594 ("pkg-config" ,pkg-config)))
5599 ("libsecret" ,libsecret)
5600 ("libxml2" ,libxml2)
5601 ("network-manager" ,network-manager)
5602 ("openconnect" ,openconnect)))
5603 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5604 (synopsis "OpenConnect plug-in for NetworkManager")
5606 "This extension of NetworkManager allows it to take care of connections
5607 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
5608 Cisco's AnyConnect SSL VPN.")
5609 (license license:gpl2+)
5610 (properties `((upstream-name . "NetworkManager-openconnect")))))
5612 (define-public mobile-broadband-provider-info
5614 (name "mobile-broadband-provider-info")
5615 (version "20190116")
5619 "mirror://gnome/sources/"
5620 "mobile-broadband-provider-info/" version "/"
5621 "mobile-broadband-provider-info-" version ".tar.xz"))
5624 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
5625 (build-system gnu-build-system)
5627 `(#:tests? #f)) ; no tests
5628 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5629 (synopsis "Database of broadband connection configuration")
5630 (description "Database of broadband connection configuration.")
5631 (license license:public-domain)))
5633 (define-public network-manager-applet
5635 (name "network-manager-applet")
5639 (uri (string-append "mirror://gnome/sources/" name "/"
5640 (version-major+minor version) "/"
5641 name "-" version ".tar.xz"))
5644 "0y31g0lxr93370xi74hbpvcy9m81n5wdkdhq8xy2nqp0y4219p13"))))
5645 (build-system meson-build-system)
5647 '(#:glib-or-gtk? #t))
5649 `(("intltool" ,intltool)
5650 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5651 ("gobject-introspection" ,gobject-introspection)
5652 ("gtk-doc" ,gtk-doc)
5653 ("pkg-config" ,pkg-config)))
5655 ;; libnm-gtk.pc refers to all these.
5656 `(("dbus-glib" ,dbus-glib)
5658 ("network-manager" ,network-manager)))
5661 ("iso-codes" ,iso-codes)
5662 ("libgudev" ,libgudev)
5663 ("libnotify" ,libnotify)
5664 ("libsecret" ,libsecret)
5665 ("libselinux" ,libselinux)
5666 ("jansson" ,jansson) ; for team support
5667 ("modem-manager" ,modem-manager)
5668 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
5669 (synopsis "Applet for managing network connections")
5670 (home-page "https://www.gnome.org/projects/NetworkManager/")
5672 "This package contains a systray applet for NetworkManager. It displays
5673 the available networks and allows users to easily switch between them.")
5674 (license license:gpl2+)))
5676 (define-public libxml++
5682 (uri (string-append "mirror://gnome/sources/" name "/"
5683 (version-major+minor version) "/"
5684 name "-" version ".tar.xz"))
5687 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5688 (build-system gnu-build-system)
5689 ;; libxml++-3.0.pc refers to all these.
5691 `(("libxml2" ,libxml2)
5692 ("glibmm" ,glibmm)))
5695 ("pkg-config" ,pkg-config)))
5696 (home-page "http://libxmlplusplus.sourceforge.net/")
5697 (synopsis "C++ wrapper for XML parser library libxml2")
5699 "This package provides a C++ wrapper for the XML parser library
5701 (license license:lgpl2.1+)))
5703 (define-public libxml++-2
5710 (uri (string-append "mirror://gnome/sources/" name "/"
5711 (version-major+minor version) "/"
5712 name "-" version ".tar.xz"))
5715 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5723 (uri (string-append "mirror://gnome/sources/" name "/"
5724 (version-major+minor version) "/"
5725 name "-" version ".tar.xz"))
5728 "15f7lz7z75krgbq8vb800afj96h8mw2fpy1s28za2911x5vgq0ak"))))
5729 (build-system glib-or-gtk-build-system)
5732 `("--without-plymouth"
5733 "--disable-systemd-journal"
5735 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5736 ;; instead of having to replace it (i.e., stopping the mingetty
5737 ;; service for TTY 1 before starting GDM).
5738 "--with-initial-vt=7"
5740 ;; Use '/etc/environment' for locale settings instead of the
5741 ;; systemd-specific '/etc/locale.conf'.
5742 "--with-lang-file=/etc/environment"
5744 ,(string-append "--with-udevdir="
5745 (assoc-ref %outputs "out") "/lib/udev")
5747 "--localstatedir=/var"
5748 ,(string-append "--with-default-path="
5749 (string-join '("/run/setuid-programs"
5750 "/run/current-system/profile/bin"
5751 "/run/current-system/profile/sbin")
5753 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5754 ;; XDG_DATA_DIRS so that it finds its schemas.
5755 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5757 (modify-phases %standard-phases
5759 'configure 'pre-configure
5760 (lambda* (#:key inputs outputs #:allow-other-keys)
5761 ;; We don't have <systemd/sd-daemon.h>.
5762 (substitute* '("common/gdm-log.c"
5763 "daemon/gdm-server.c"
5764 "daemon/gdm-session-worker.c"
5765 "daemon/gdm-session-worker-job.c")
5766 (("#include <systemd/sd-daemon\\.h>") ""))
5767 ;; Use elogind for sd-login.
5768 (substitute* '("common/gdm-common.c"
5769 "daemon/gdm-manager.c"
5770 "libgdm/gdm-user-switching.c")
5771 (("#include <systemd/sd-login\\.h>")
5772 "#include <elogind/sd-login.h>"))
5773 ;; Check for elogind.
5774 (substitute* '("configure")
5777 ;; Look for system-installed sessions in
5778 ;; /run/current-system/profile/share.
5779 (substitute* '("libgdm/gdm-sessions.c"
5780 "daemon/gdm-session.c"
5781 "daemon/gdm-display.c"
5782 "daemon/gdm-launch-environment.c")
5784 "\"/run/current-system/profile/share/x")
5785 (("DATADIR \"/wayland")
5786 "\"/run/current-system/profile/share/wayland")
5787 (("DATADIR \"/gnome")
5788 "\"/run/current-system/profile/share/gnome"))
5789 (let ((propagate '("GDM_CUSTOM_CONF"
5793 ;; XXX: Remove this once GNOME Shell is
5794 ;; a dependency of GDM.
5796 (substitute* "daemon/gdm-session.c"
5797 (("set_up_session_environment \\(self\\);")
5798 (apply string-append
5799 "set_up_session_environment (self);\n"
5802 "gdm_session_set_environment_variable "
5803 "(self, \"" name "\","
5804 "g_getenv (\"" name "\"));\n"))
5806 ;; Find the configuration file using an environment variable.
5807 (substitute* '("common/gdm-settings.c")
5808 (("GDM_CUSTOM_CONF")
5809 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5810 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5811 " : GDM_CUSTOM_CONF)")))
5812 ;; Use service-supplied path to X.
5813 (substitute* '("daemon/gdm-server.c")
5814 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5815 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5816 (substitute* '("daemon/gdm-x-session.c")
5817 (("\"dbus-daemon\"")
5818 "g_getenv (\"GDM_DBUS_DAEMON\")")
5820 "g_getenv (\"GDM_X_SERVER\")")
5821 (("GDMCONFDIR \"/Xsession\"")
5822 "g_getenv (\"GDM_X_SESSION\")"))
5823 ;; Use an absolute path for GNOME Session.
5824 (substitute* "daemon/gdm-launch-environment.c"
5825 (("\"gnome-session\"")
5826 (string-append "\"" (assoc-ref inputs "gnome-session")
5827 "/bin/gnome-session\"")))
5828 ;; Do not automatically select the placeholder session.
5829 (substitute* "daemon/gdm-session.c"
5830 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5831 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5832 "(g_strcmp0(search_dirs[i], \""
5833 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5835 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5836 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5837 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
5839 ;; GDM requires that there be at least one desktop entry
5840 ;; file. This phase installs a hidden one that simply
5841 ;; fails. This enables users to use GDM with a
5842 ;; '~/.xsession' script with no other desktop entry files.
5843 ;; See <https://bugs.gnu.org/35068>.
5844 (add-after 'install 'install-placeholder-desktop-entry
5845 (lambda* (#:key inputs outputs #:allow-other-keys)
5846 (let* ((out (assoc-ref outputs "out"))
5847 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5848 (fail (string-append sessions "/fail.desktop")))
5850 (with-output-to-file fail
5854 '("[Desktop Entry]\n"
5856 "Type=Application\n"
5858 "Comment=This session fails immediately.\n"
5862 ;; GDM needs GNOME Session to run these applications. We link
5863 ;; their autostart files in `share/gdm/greeter/autostart'
5864 ;; because GDM explicitly tells GNOME Session to look there.
5866 ;; XXX: GNOME Shell should be linked here too, but currently
5867 ;; GNOME Shell depends on GDM.
5868 (add-after 'install 'link-autostart-files
5869 (lambda* (#:key inputs outputs #:allow-other-keys)
5870 (let* ((out (assoc-ref outputs "out"))
5871 (autostart (string-append out "/share/gdm/"
5872 "greeter/autostart"))
5873 (settings (assoc-ref inputs "gnome-settings-daemon")))
5875 (with-directory-excursion autostart
5876 (for-each (lambda (desktop)
5877 (symlink desktop (basename desktop)))
5878 (find-files (string-append settings "/etc/xdg"))))
5882 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5883 ("gobject-introspection" ,gobject-introspection)
5884 ("intltool" ,intltool)
5885 ("itstool" ,itstool)
5886 ("pkg-config" ,pkg-config)
5887 ("xmllint" ,libxml2)))
5889 `(("accountsservice" ,accountsservice)
5890 ("check" ,check) ; for testing
5891 ("elogind" ,elogind)
5892 ("gnome-session" ,gnome-session)
5893 ("gnome-settings-daemon" ,gnome-settings-daemon)
5895 ("iso-codes" ,iso-codes)
5896 ("libcanberra" ,libcanberra)
5897 ("linux-pam" ,linux-pam)))
5898 (synopsis "Display manager for GNOME")
5899 (home-page "https://wiki.gnome.org/Projects/GDM/")
5901 "GNOME Display Manager is a system service that is responsible for
5902 providing graphical log-ins and managing local and remote displays.")
5903 (license license:gpl2+)))
5905 (define-public libgtop
5911 (uri (string-append "mirror://gnome/sources/libgtop/"
5912 (version-major+minor version) "/"
5913 "libgtop-" version ".tar.xz"))
5916 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
5917 (build-system gnu-build-system)
5919 `(("gobject-introspection" ,gobject-introspection)
5920 ("intltool" ,intltool)
5922 ("pkg-config" ,pkg-config)))
5924 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5925 (synopsis "Portable system access library")
5926 (home-page "https://www.gnome.org/")
5928 "LibGTop is a library to get system specific data such as CPU and memory
5929 usage and information about running processes.")
5930 (license license:gpl2+)))
5932 (define-public gnome-bluetooth
5934 (name "gnome-bluetooth")
5938 (uri (string-append "mirror://gnome/sources/" name "/"
5939 (version-major+minor version) "/"
5940 name "-" version ".tar.xz"))
5943 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5944 (build-system meson-build-system)
5946 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5947 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5948 ("gobject-introspection" ,gobject-introspection)
5949 ("intltool" ,intltool)
5950 ("pkg-config" ,pkg-config)
5951 ("xmllint" ,libxml2)))
5953 ;; gnome-bluetooth-1.0.pc refers to all these.
5957 `(("libcanberra" ,libcanberra)
5958 ("libnotify" ,libnotify)))
5959 (synopsis "GNOME Bluetooth subsystem")
5960 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5962 "This package contains tools for managing and manipulating Bluetooth
5963 devices using the GNOME desktop.")
5964 (license license:lgpl2.1+)))
5966 (define-public gnome-control-center
5968 (name "gnome-control-center")
5972 (uri (string-append "mirror://gnome/sources/" name "/"
5973 (version-major+minor version) "/"
5974 name "-" version ".tar.xz"))
5977 "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r"))
5979 (search-patches "gnome-control-center-udisks.patch"))))
5980 (build-system meson-build-system)
5984 (list "-Dcheese=false"
5985 (string-append "-Dgnome_session_libexecdir="
5986 (assoc-ref %build-inputs "gnome-session")
5989 (modify-phases %standard-phases
5990 (add-before 'configure 'patch-paths
5991 (lambda* (#:key inputs #:allow-other-keys)
5992 (let ((libc (assoc-ref inputs "libc"))
5993 (tzdata (assoc-ref inputs "tzdata"))
5994 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
5995 (nm-applet (assoc-ref inputs "network-manager-applet"))
5996 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
5997 (substitute* "panels/datetime/tz.h"
5998 (("/usr/share/zoneinfo/zone.tab")
5999 (string-append tzdata "/share/zoneinfo/zone.tab")))
6000 (substitute* "tests/datetime/test-endianess.c"
6001 (("/usr/share/locale")
6002 (string-append libc "/share/locale")))
6003 (substitute* "panels/region/cc-region-panel.c"
6004 (("\"gkbd-keyboard-display")
6005 (string-append "\"" libgnomekbd
6006 "/bin/gkbd-keyboard-display")))
6007 (substitute* '("panels/network/net-device-wifi.c"
6008 "panels/network/net-device.c"
6009 "panels/network/connection-editor/net-connection-editor.c")
6010 (("\"nm-connection-editor")
6011 (string-append "\"" nm-applet
6012 "/bin/nm-connection-editor")))
6013 (substitute* '("panels/user-accounts/run-passwd.c")
6014 (("/usr/bin/passwd")
6015 "/run/setuid-programs/passwd"))
6016 (substitute* "panels/info/cc-info-overview-panel.c"
6017 (("DATADIR \"/gnome/gnome-version.xml\"")
6018 (string-append "\"" gnome-desktop
6019 "/share/gnome/gnome-version.xml\"")))
6022 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6023 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6024 ("intltool" ,intltool)
6025 ("pkg-config" ,pkg-config)
6026 ("xsltproc" ,libxslt)))
6028 `(("accountsservice" ,accountsservice)
6029 ("clutter-gtk" ,clutter-gtk)
6030 ("colord-gtk" ,colord-gtk)
6033 ("docbook-xsl" ,docbook-xsl)
6034 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
6035 ("gnome-bluetooth" ,gnome-bluetooth)
6036 ("gnome-desktop" ,gnome-desktop)
6037 ("gnome-online-accounts" ,gnome-online-accounts)
6038 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6039 ("gnome-session" ,gnome-session)
6040 ("gnome-settings-daemon" ,gnome-settings-daemon)
6043 ("libcanberra" ,libcanberra)
6044 ("libgnomekbd" ,libgnomekbd)
6045 ("libgudev" ,libgudev)
6046 ("libgtop" ,libgtop)
6047 ("libpwquality" ,libpwquality)
6048 ("libsecret" ,libsecret)
6049 ("libsoup" ,libsoup)
6050 ("libxml2" ,libxml2)
6051 ("libwacom" ,libwacom)
6053 ("mit-krb5" ,mit-krb5)
6054 ("modem-manager" ,modem-manager)
6055 ("network-manager-applet" ,network-manager-applet)
6057 ("pulseaudio" ,pulseaudio)
6058 ("smbclient" ,samba)
6061 ("upower" ,upower)))
6062 (synopsis "Utilities to configure the GNOME desktop")
6063 (home-page "https://www.gnome.org/")
6065 "This package contains configuration applets for the GNOME desktop,
6066 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
6067 properties, sound setup, desktop theme and background, user interface
6068 properties, screen resolution, and other GNOME parameters.")
6069 (license license:gpl2+)))
6071 (define-public gnome-shell
6073 (name "gnome-shell")
6077 (uri (string-append "mirror://gnome/sources/" name "/"
6078 (version-major+minor version) "/"
6079 name "-" version ".tar.xz"))
6082 "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2"))
6083 (patches (search-patches "gnome-shell-theme.patch"))
6084 (modules '((guix build utils)))
6087 ;; Copy images for use on the GDM log-in screen.
6088 (copy-file #$(file-append %artwork-repository
6089 "/slim/0.x/background.png")
6090 "data/theme/guix-background.png")
6091 (copy-file #$(file-append %artwork-repository
6092 "/logo/Guix-horizontal-white.svg")
6093 "data/theme/guix-logo.svg")
6095 (build-system meson-build-system)
6098 #:disallowed-references ((,glib "bin")
6102 (list "-Dsystemd=false"
6103 ;; Otherwise, the RUNPATH will lack the final path component.
6104 (string-append "-Dc_link_args=-Wl,-rpath="
6105 (assoc-ref %outputs "out")
6106 "/lib/gnome-shell"))
6108 #:modules ((guix build meson-build-system)
6113 (modify-phases %standard-phases
6114 (add-after 'unpack 'fix-keysdir
6115 (lambda* (#:key outputs #:allow-other-keys)
6116 (let* ((out (assoc-ref outputs "out"))
6117 (keysdir (string-append
6118 out "/share/gnome-control-center/keybindings")))
6119 (substitute* "meson.build"
6121 (string-append "keysdir = '" keysdir "'\n")))
6123 (add-before 'configure 'convert-logo-to-png
6124 (lambda* (#:key inputs #:allow-other-keys)
6125 ;; Convert the logo from SVG to PNG.
6126 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
6127 "data/theme/guix-logo.svg")))
6128 (add-before 'configure 'record-absolute-file-names
6129 (lambda* (#:key inputs #:allow-other-keys)
6130 (substitute* "js/misc/ibusManager.js"
6132 (string-append "'" (assoc-ref inputs "ibus")
6133 "/bin/ibus-daemon'")))
6134 (substitute* "js/ui/status/keyboard.js"
6135 (("'gkbd-keyboard-display'")
6136 (string-append "'" (assoc-ref inputs "libgnomekbd")
6137 "/bin/gkbd-keyboard-display'")))
6139 (add-before 'check 'pre-check
6140 (lambda* (#:key inputs #:allow-other-keys)
6141 ;; Tests require a running X server.
6142 (system "Xvfb :1 &")
6143 (setenv "DISPLAY" ":1")
6145 (add-after 'install 'wrap-programs
6146 (lambda* (#:key inputs outputs #:allow-other-keys)
6147 (let ((out (assoc-ref outputs "out"))
6148 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6149 (python-path (getenv "PYTHONPATH")))
6150 (wrap-program (string-append out "/bin/gnome-shell")
6151 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6152 ;; FIXME: gnome-shell loads these libraries with unqualified
6153 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6154 ;; alternative might be to patch gnome-shell.
6155 `("LD_LIBRARY_PATH" ":" prefix
6157 (string-append (assoc-ref inputs pkg) "/lib"))
6159 "gnome-bluetooth" "librsvg" "libgweather"))))
6162 (wrap-program (string-append out "/bin/" prog)
6163 `("PYTHONPATH" ":" prefix (,python-path))
6164 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6165 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
6167 (replace 'glib-or-gtk-wrap
6168 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6169 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6170 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6171 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6172 ;; phase. Fix that since we don't need these.
6173 (wrap #:inputs (fold alist-delete inputs
6174 '("inkscape" "intltool" "glib:bin"))
6175 #:outputs outputs)))))))
6177 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6178 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6179 ("gobject-introspection" ,gobject-introspection)
6180 ("inkscape" ,inkscape)
6181 ("intltool" ,intltool)
6182 ("pkg-config" ,pkg-config)
6184 ("ruby-sass" ,ruby-sass)
6186 ("xsltproc" ,libxslt)
6188 ("xorg-server" ,xorg-server-for-tests)))
6190 `(("accountsservice" ,accountsservice)
6191 ("caribou" ,caribou)
6192 ("docbook-xsl" ,docbook-xsl)
6193 ("evolution-data-server" ,evolution-data-server)
6196 ("gdk-pixbuf" ,gdk-pixbuf+svg)
6198 ("gnome-bluetooth" ,gnome-bluetooth)
6199 ("gnome-desktop" ,gnome-desktop)
6200 ("gnome-settings-daemon" ,gnome-settings-daemon)
6201 ("gst-plugins-base" ,gst-plugins-base)
6203 ("libcanberra" ,libcanberra)
6204 ("libcroco" ,libcroco)
6205 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
6206 ("libgweather" ,libgweather)
6207 ("libsoup" ,libsoup)
6208 ("mesa-headers" ,mesa-headers)
6210 ("network-manager-applet" ,network-manager-applet)
6212 ("pulseaudio" ,pulseaudio)
6213 ("python-pygobject" ,python-pygobject)
6214 ("startup-notification" ,startup-notification)
6215 ("telepathy-logger" ,telepathy-logger)
6217 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6218 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6219 ("librsvg" ,librsvg)
6220 ("geoclue" ,geoclue)))
6221 (synopsis "Desktop shell for GNOME")
6222 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6224 "GNOME Shell provides core user interface functions for the GNOME desktop,
6225 like switching to windows and launching applications.")
6226 (license license:gpl2+)))
6228 (define-public gtk-vnc
6235 (uri (string-append "mirror://gnome/sources/" name "/"
6236 (version-major+minor version) "/"
6237 name "-" version ".tar.xz"))
6240 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
6241 (build-system gnu-build-system)
6243 '(#:configure-flags '("--with-gtk=3.0")))
6245 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6247 `(("cyrus-sasl" ,cyrus-sasl)
6249 ("libgcrypt" ,libgcrypt)
6250 ("pulseaudio" ,pulseaudio)))
6252 `(("glib:bin" ,glib "bin")
6253 ("gobject-introspection" ,gobject-introspection)
6254 ("intltool" ,intltool)
6255 ("pkg-config" ,pkg-config)
6256 ("python-wrapper" ,python-wrapper)
6258 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6259 (synopsis "VNC viewer widget for GTK+")
6261 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6262 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6263 GTK-VNC implements client side RFB protocol and authentication extensions such
6264 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6265 (license license:lgpl2.1+)))
6267 (define-public gnome-autoar
6269 (name "gnome-autoar")
6273 (uri (string-append "mirror://gnome/sources/" name "/"
6274 (version-major+minor version) "/"
6275 name "-" version ".tar.xz"))
6278 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
6279 (build-system glib-or-gtk-build-system)
6281 `(("gnome-common" ,gnome-common)
6282 ("gobject-introspection" ,gobject-introspection)
6283 ("pkg-config" ,pkg-config)))
6285 `(("libarchive" ,libarchive))) ; XXX document why
6288 (synopsis "Archives integration support for GNOME")
6289 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6291 "GNOME Autoar is a library which makes creating and extracting archives
6292 easy, safe, and automatic.")
6293 (license license:lgpl2.1+)))
6295 (define-public tracker
6301 (uri (string-append "mirror://gnome/sources/tracker/"
6302 (version-major+minor version) "/"
6303 "tracker-" version ".tar.xz"))
6306 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
6307 (build-system glib-or-gtk-build-system)
6310 (modify-phases %standard-phases
6311 (add-after 'unpack 'disable-broken-tests
6313 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6314 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6315 (substitute* "tests/libtracker-miner/Makefile.in"
6316 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6317 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6318 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6319 (substitute* "tests/libtracker-fts/Makefile.in"
6320 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6321 (substitute* "tests/libtracker-data/Makefile.in"
6322 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6323 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6324 (("tracker-backup\\$\\(EXEEXT\\)") "")
6325 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6326 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6327 ;; These fail because the SPARQL backend could not be loaded.
6328 ;; That's because /etc/machine-id is missing, but
6329 ;; DBUS_FATAL_WARNINGS does not help here.
6330 (substitute* "tests/libtracker-sparql/Makefile.in"
6331 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6332 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6333 (substitute* "tests/tracker-steroids/Makefile.in"
6334 (("tracker-test\\$\\(EXEEXT\\)") ""))
6336 ;; Two tests fail if LANG is not set.
6337 (add-before 'check 'pre-check
6339 (setenv "LANG" "en_US.UTF-8")
6340 ;; For the missing /etc/machine-id.
6341 (setenv "DBUS_FATAL_WARNINGS" "0")
6344 `(("gnome-common" ,gnome-common)
6345 ("gobject-introspection" ,gobject-introspection)
6346 ("intltool" ,intltool)
6347 ("pkg-config" ,pkg-config)
6352 ("gstreamer" ,gstreamer)
6353 ("gst-plugins-base" ,gst-plugins-base)
6356 ("poppler" ,poppler)
6358 ("libexif" ,libexif)
6360 ("libtiff" ,libtiff)
6361 ("libvorbis" ,libvorbis)
6363 ("totem-pl-parser" ,totem-pl-parser)
6366 ("libxml2" ,libxml2)
6368 ("libunistring" ,libunistring)
6370 ("json-glib" ,json-glib)
6371 ("openjpeg" ,openjpeg-1)
6372 ("libosinfo" ,libosinfo)
6374 ("libseccomp" ,libseccomp)
6375 ("libsoup" ,libsoup)
6376 ("libuuid" ,util-linux)))
6377 (synopsis "Metadata database, indexer and search tool")
6378 (home-page "https://wiki.gnome.org/Projects/Tracker")
6380 "Tracker is an advanced framework for first class objects with associated
6381 metadata and tags. It provides a one stop solution for all metadata, tags,
6382 shared object databases, search tools and indexing.")
6383 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6384 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6385 (license (list license:gpl2+
6387 license:lgpl2.0+))))
6389 (define-public nautilus
6395 (uri (string-append "mirror://gnome/sources/" name "/"
6396 (version-major+minor version) "/"
6397 name "-" version ".tar.xz"))
6400 "144r4py9b8w9ycsg6fggjg05kwvymh003qsb3h6apgpch5y3zgnv"))))
6401 (build-system meson-build-system)
6404 ;; XXX: FAIL: check-nautilus
6405 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6408 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6409 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6410 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6411 ("gobject-introspection" ,gobject-introspection)
6412 ("intltool" ,intltool)
6413 ("pkg-config" ,pkg-config)))
6419 ("gnome-desktop" ,gnome-desktop)
6420 ("gnome-autoar" ,gnome-autoar)
6421 ("libseccomp" ,libseccomp)
6422 ("libselinux" ,libselinux)
6423 ("tracker" ,tracker)
6424 ;; XXX: gtk+ is required by libnautilus-extension.pc
6426 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6428 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6430 ("libexif" ,libexif)
6431 ("libxml2" ,libxml2)))
6432 (synopsis "File manager for GNOME")
6433 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6435 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6436 design and behaviour, giving the user a simple way to navigate and manage its
6438 (license license:gpl2+)))
6440 (define-public baobab
6447 "mirror://gnome/sources/" name "/"
6448 (version-major+minor version) "/"
6449 name "-" version ".tar.xz"))
6452 "0kx721s1hhw1g0nvbqhb93g8iq6f852imyhfhl02zcqy4ipx0kay"))))
6453 (build-system meson-build-system)
6455 '(#:glib-or-gtk? #t))
6457 `(("intltool" ,intltool)
6458 ("pkg-config" ,pkg-config)
6459 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6460 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6461 ("itstool" ,itstool)
6462 ("xmllint" ,libxml2)
6463 ("glib" ,glib "bin")
6467 (synopsis "Disk usage analyzer for GNOME")
6469 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6470 usage in the GNOME desktop environment. It can easily scan device volumes or
6471 a specific user-requested directory branch (local or remote). Once the scan
6472 is complete it provides a graphical representation of each selected folder.")
6473 (home-page "https://wiki.gnome.org/Apps/Baobab")
6474 (license license:gpl2+)))
6476 (define-public gnome-backgrounds
6478 (name "gnome-backgrounds")
6483 (uri (string-append "mirror://gnome/sources/" name "/"
6484 (version-major+minor version) "/"
6485 name "-" version ".tar.xz"))
6488 "1179jrl16bp9gqabqhw7nnfp8qzf5y1vf9fi45bni6rfmwm3mrpc"))))
6489 (build-system meson-build-system)
6491 `(("intltool" ,intltool)))
6492 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6493 (synopsis "Background images for the GNOME desktop")
6495 "GNOME backgrounds package contains a collection of graphics files which
6496 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6497 the package creates the proper framework and directory structure so that you
6498 can add your own files to the collection.")
6499 (license (list license:gpl2+
6502 license:cc-by-sa3.0))))
6504 (define-public gnome-screenshot
6506 (name "gnome-screenshot")
6511 (uri (string-append "mirror://gnome/sources/" name "/"
6512 (version-major+minor version) "/"
6513 name "-" version ".tar.xz"))
6516 "06dx3svxq6sar4913mrz5lzb7hmc66wck138vmyxj8x8iv1iw0w8"))))
6517 (build-system meson-build-system)
6519 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6520 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6521 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6522 ("intltool" ,intltool)
6523 ("appstream-glib" ,appstream-glib)
6524 ("pkg-config" ,pkg-config)))
6527 ("libcanberra" ,libcanberra)
6529 ("libxext" ,libxext)))
6530 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
6531 (synopsis "Take pictures of your screen")
6533 "GNOME Screenshot is a utility used for taking screenshots of the entire
6534 screen, a window or a user defined area of the screen, with optional
6535 beautifying border effects.")
6536 (license license:gpl2+)))
6538 (define-public dconf-editor
6540 (name "dconf-editor")
6545 (uri (string-append "mirror://gnome/sources/" name "/"
6546 (version-major+minor version) "/"
6547 name "-" version ".tar.xz"))
6550 "06f736spn20s7qjsz00xw44v8r8bjhyrz1v3bix6v416jc5jp6ia"))))
6551 (build-system meson-build-system)
6553 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6554 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6555 ("intltool" ,intltool)
6556 ("pkg-config" ,pkg-config)
6561 ("libxml2" ,libxml2)))
6562 (home-page "https://git.gnome.org/browse/dconf-editor")
6563 (synopsis "Graphical editor for GNOME's dconf configuration system")
6565 "Dconf-editor is a graphical tool for browsing and editing the dconf
6566 configuration system for GNOME. It allows users to configure desktop
6567 software that do not provide their own configuration interface.")
6568 (license license:lgpl2.1+)))
6570 (define-public gnome-default-applications
6572 (name "gnome-default-applications")
6574 (build-system trivial-build-system)
6577 `(("nautilus" ,nautilus)
6578 ("evince" ,evince)))
6580 `(#:modules ((guix build utils))
6583 (use-modules (guix build utils))
6584 (let* ((out (assoc-ref %outputs "out"))
6585 (apps (string-append out "/share/applications")))
6587 (call-with-output-file (string-append apps "/defaults.list")
6589 (format port "[Default Applications]\n")
6590 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6591 (format port "application/pdf=evince.desktop\n")
6592 (format port "application/postscript=evince.desktop\n")))
6594 (synopsis "Default MIME type associations for the GNOME desktop")
6596 "Given many installed packages which might handle a given MIME type, a
6597 user running the GNOME desktop probably has some preferences: for example,
6598 that folders be opened by default by the Nautilus file manager, not the Baobab
6599 disk usage analyzer. This package establishes that set of default MIME type
6600 associations for GNOME.")
6601 (license license:gpl3+)
6604 (define-public gnome
6607 (version (package-version gnome-shell))
6609 (build-system trivial-build-system)
6610 (arguments '(#:builder (begin (mkdir %output) #t)))
6612 ;; TODO: Add more packages according to:
6613 ;; <https://packages.debian.org/jessie/gnome-core>.
6614 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6616 ("font-cantarell" ,font-cantarell)
6617 ("font-dejavu" ,font-dejavu)
6618 ("at-spi2-core" ,at-spi2-core)
6621 ("desktop-file-utils" ,desktop-file-utils)
6623 ("epiphany" ,epiphany)
6625 ("file-roller" ,file-roller)
6627 ("glib-networking" ,glib-networking)
6628 ("gnome-backgrounds" ,gnome-backgrounds)
6629 ("gnome-bluetooth" ,gnome-bluetooth)
6630 ("gnome-calculator" ,gnome-calculator)
6631 ("gnome-control-center" ,gnome-control-center)
6632 ("gnome-disk-utility" ,gnome-disk-utility)
6633 ("gnome-default-applications" ,gnome-default-applications)
6634 ("gnome-keyring" ,gnome-keyring)
6635 ("gnome-online-accounts" ,gnome-online-accounts)
6636 ("gnome-session" ,gnome-session)
6637 ("gnome-settings-daemon" ,gnome-settings-daemon)
6638 ("gnome-shell" ,gnome-shell)
6639 ("gnome-system-monitor" ,gnome-system-monitor)
6640 ("gnome-terminal" ,gnome-terminal)
6641 ("gnome-themes-standard" ,gnome-themes-standard)
6642 ("gst-plugins-base" ,gst-plugins-base)
6643 ("gst-plugins-good" ,gst-plugins-good)
6644 ("gucharmap" ,gucharmap)
6646 ("hicolor-icon-theme" ,hicolor-icon-theme)
6647 ("nautilus" ,nautilus)
6648 ("pinentry-gnome3" ,pinentry-gnome3)
6649 ("pulseaudio" ,pulseaudio)
6650 ("shared-mime-info" ,shared-mime-info)
6651 ("system-config-printer" ,system-config-printer)
6653 ("xdg-user-dirs" ,xdg-user-dirs)
6655 ("zenity" ,zenity)))
6656 (synopsis "The GNU desktop environment")
6657 (home-page "https://www.gnome.org/")
6659 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6660 applications for browsing the web, editing text and images, creating
6661 documents and diagrams, playing media, scanning, and much more.")
6662 (license license:gpl2+)))
6664 (define-public byzanz
6665 ;; The last stable release of Byzanz was in 2011, but there have been many
6666 ;; useful commits made to the Byzanz repository since then that it would be
6667 ;; silly to use such an old release.
6668 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6671 (version (string-append "0.2-1." (string-take commit 7)))
6675 (url "https://git.gnome.org/browse/byzanz")
6677 (file-name (string-append name "-" version "-checkout"))
6680 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6681 (build-system glib-or-gtk-build-system)
6684 (modify-phases %standard-phases
6687 ;; The build system cleverly detects that we're not building from
6688 ;; a release tarball and turns on -Werror for GCC.
6689 ;; Unsurprisingly, there is a warning during compilation that
6690 ;; causes the build to fail unnecessarily, so we remove the flag.
6691 (substitute* '("configure.ac")
6693 ;; The autogen.sh script in gnome-common will run ./configure
6694 ;; by default, which is problematic because source shebangs
6695 ;; have not yet been patched.
6696 (setenv "NOCONFIGURE" "t")
6697 (zero? (system* "sh" "autogen.sh")))))))
6699 `(("autoconf" ,autoconf)
6700 ("automake" ,automake)
6701 ("gnome-common" ,gnome-common)
6702 ("intltool" ,intltool)
6703 ("libtool" ,libtool)
6704 ("pkg-config" ,pkg-config)
6708 ("gstreamer" ,gstreamer)
6709 ("gst-plugins-base" ,gst-plugins-base)
6711 (synopsis "Desktop recording program")
6712 (description "Byzanz is a simple desktop recording program with a
6713 command-line interface. It can record part or all of an X display for a
6714 specified duration and save it as a GIF encoded animated image file.")
6715 (home-page "https://git.gnome.org/browse/byzanz")
6716 (license license:gpl2+))))
6718 (define-public gsound
6724 (uri (string-append "mirror://gnome/sources/" name "/"
6725 (version-major+minor version) "/"
6726 name "-" version ".tar.xz"))
6729 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6730 (build-system glib-or-gtk-build-system)
6732 `(("pkg-config" ,pkg-config)
6733 ("gobject-introspection" ,gobject-introspection)
6737 ("libcanberra" ,libcanberra)))
6738 (home-page "https://wiki.gnome.org/Projects/GSound")
6739 (synopsis "GObject wrapper for libcanberra")
6741 "GSound is a small library for playing system sounds. It's designed to be
6742 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6744 (license license:lgpl2.1+)))
6746 (define-public libzapojit
6752 (uri (string-append "mirror://gnome/sources/" name "/"
6753 (version-major+minor version) "/"
6754 name "-" version ".tar.xz"))
6757 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6758 (build-system gnu-build-system)
6760 `(("gobject-introspection" ,gobject-introspection)
6761 ("intltool" ,intltool)
6762 ("pkg-config" ,pkg-config)))
6764 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6765 ("json-glib" ,json-glib)
6767 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6768 (synopsis "Library for accessing SkyDrive and Hotmail")
6770 "Libzapojit is a GLib-based library for accessing online service APIs of
6771 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6772 (license license:lgpl2.1+)))
6774 (define-public gnome-clocks
6776 (name "gnome-clocks")
6780 (uri (string-append "mirror://gnome/sources/" name "/"
6781 (version-major+minor version) "/"
6782 name "-" version ".tar.xz"))
6785 "009fr6zwv37wryi0c0syi4i7pxpdbn3gliws68l99cjsbn2qd6pc"))))
6786 (build-system meson-build-system)
6788 '(#:glib-or-gtk? #t))
6791 ("pkg-config" ,pkg-config)
6792 ("glib" ,glib "bin") ; for glib-compile-resources
6793 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6794 ("desktop-file-utils" ,desktop-file-utils)
6795 ("gettext" ,gettext-minimal)
6796 ("itstool" ,itstool)))
6801 ("geoclue" ,geoclue)
6802 ("geocode-glib" ,geocode-glib)
6803 ("libgweather" ,libgweather)
6804 ("gnome-desktop" ,gnome-desktop)))
6805 (home-page "https://wiki.gnome.org/Apps/Clocks")
6806 (synopsis "GNOME's clock application")
6808 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6809 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6810 (license license:gpl3+)))
6812 (define-public gnome-calendar
6814 (name "gnome-calendar")
6818 (uri (string-append "mirror://gnome/sources/" name "/"
6819 (version-major+minor version) "/"
6820 name "-" version ".tar.xz"))
6823 "1avi7a29y8d8kzwslp51nwy6s692alms7917454j0xpfc6hnw62s"))))
6824 (build-system meson-build-system)
6827 ;; gnome-calendar has to be installed before the tests can be run
6828 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6831 `(("gettext" ,gettext-minimal)
6832 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6833 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6834 ("pkg-config" ,pkg-config)))
6836 `(("evolution-data-server" ,evolution-data-server)
6837 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6838 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6839 ("libdazzle" ,libdazzle)
6840 ("libedataserverui" ,evolution-data-server)
6841 ("libgweather" ,libgweather)
6842 ("geoclue" ,geoclue)))
6843 (home-page "https://wiki.gnome.org/Apps/Calendar")
6844 (synopsis "GNOME's calendar application")
6846 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6847 desktop. It supports multiple calendars, month, week and year view.")
6848 (license license:gpl3+)))
6850 (define-public gnome-todo
6856 (uri (string-append "mirror://gnome/sources/" name "/"
6857 (version-major+minor version) "/"
6858 name "-" version ".tar.xz"))
6861 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
6862 (build-system meson-build-system)
6865 #:phases (modify-phases %standard-phases
6867 'install 'wrap-gnome-todo
6868 (lambda* (#:key inputs outputs #:allow-other-keys)
6869 (let ((out (assoc-ref outputs "out"))
6870 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6871 (python-path (getenv "PYTHONPATH")))
6872 (wrap-program (string-append out "/bin/gnome-todo")
6873 ;; XXX: gi plugins are broken.
6874 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6876 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6877 `("PYTHONPATH" ":" prefix (,python-path))))
6880 `(("gettext" ,gettext-minimal)
6881 ("gobject-introspection" ,gobject-introspection)
6882 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6883 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6884 ("pkg-config" ,pkg-config)))
6886 `(("rest" ,rest) ; For Todoist plugin
6887 ("json-glib" ,json-glib) ; For Todoist plugin
6888 ("libedataserverui" ,evolution-data-server)
6889 ("libical" ,libical)
6890 ("libpeas" ,libpeas)
6891 ("python-pygobject" ,python-pygobject)
6892 ("evolution-data-server" ,evolution-data-server)
6893 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6894 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6895 (home-page "https://wiki.gnome.org/Apps/Todo")
6896 (synopsis "GNOME's ToDo Application")
6898 "GNOME To Do is a simplistic personal task manager designed to perfectly
6899 fit the GNOME desktop.")
6900 (license license:gpl3+)))
6902 (define-public gnome-dictionary
6904 (name "gnome-dictionary")
6908 (uri (string-append "mirror://gnome/sources/" name "/"
6909 (version-major+minor version) "/"
6910 name "-" version ".tar.xz"))
6913 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6914 (build-system meson-build-system)
6915 (arguments '(#:glib-or-gtk? #t
6916 #:phases (modify-phases %standard-phases
6917 (add-after 'unpack 'patch-install-script
6919 ;; This script attempts to compile glib schemas
6920 ;; and create an empty MIME database. We do
6921 ;; that elsewhere, so prevent it from running.
6922 (substitute* "build-aux/post-install.sh"
6923 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6926 `(("glib:bin" ,glib "bin")
6927 ("gobject-introspection" ,gobject-introspection)
6928 ("intltool" ,intltool)
6929 ("itstool" ,itstool)
6930 ("pkg-config" ,pkg-config)
6931 ("xmllint" ,libxml2)))
6933 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6935 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6936 (synopsis "Look up words in dictionary sources")
6938 "GNOME Dictionary can look for the definition or translation of a word in
6939 existing databases over the internet.")
6940 (license license:gpl3+)))
6942 (define-public gnome-tweaks
6944 (name "gnome-tweaks")
6948 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
6949 (version-major+minor version) "/"
6950 "gnome-tweaks-" version ".tar.xz"))
6952 (list (search-patch "gnome-tweaks-search-paths.patch")))
6955 "0j63siy1i5pl2g6di1r9vjn54m9ahh42wj20j6689pza2lamay1z"))))
6956 (build-system meson-build-system)
6959 #:configure-flags '("-Dlocalstatedir=/tmp"
6960 "-Dsysconfdir=/tmp")
6961 #:imported-modules ((guix build python-build-system)
6962 ,@%meson-build-system-modules)
6964 (modify-phases %standard-phases
6965 (add-after 'install 'wrap
6966 (@@ (guix build python-build-system) wrap))
6967 (add-after 'wrap 'wrap-gi-typelib
6968 (lambda* (#:key inputs outputs #:allow-other-keys)
6969 (let ((out (assoc-ref outputs "out"))
6970 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6971 (wrap-program (string-append out "/bin/gnome-tweaks")
6972 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6975 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6976 ("intltool" ,intltool)
6977 ("pkg-config" ,pkg-config)))
6979 `(("gnome-desktop" ,gnome-desktop)
6981 ("gobject-introspection" ,gobject-introspection)
6982 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6983 ("libnotify" ,libnotify)
6984 ("libsoup" ,libsoup)
6985 ("nautilus" ,nautilus)
6987 ("python-pygobject" ,python-pygobject)))
6988 (synopsis "Customize advanced GNOME 3 options")
6989 (home-page "https://wiki.gnome.org/Apps/Tweaks")
6991 "GNOME Tweaks allows adjusting advanced configuration settings in
6992 GNOME 3. This includes things like the fonts used in user interface elements,
6993 alternative user interface themes, changes in window management behavior,
6994 GNOME Shell appearance and extension, etc.")
6995 (license license:gpl3+)))
6997 ;; This package has been renamed by upstream.
6998 (define-public gnome-tweak-tool
6999 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7001 (define-public gnome-shell-extensions
7003 (name "gnome-shell-extensions")
7007 (uri (string-append "mirror://gnome/sources/" name "/"
7008 (version-major+minor version) "/"
7009 name "-" version ".tar.xz"))
7012 "1grxn4f5x754r172wmnf0h0xpy69afmj359zsj1rwgqlzw4i4c5p"))))
7013 (build-system meson-build-system)
7015 '(#:configure-flags '("-Dextension_set=all")))
7017 `(("intltool" ,intltool)
7018 ("pkg-config" ,pkg-config)))
7021 ("glib" ,glib "bin")))
7022 (synopsis "Extensions for GNOME Shell")
7023 (description "GNOME Shell extensions modify and extend GNOME Shell
7024 functionality and behavior.")
7025 (home-page "https://extensions.gnome.org/")
7026 (license license:gpl3+)))
7028 (define-public numix-theme
7030 (name "numix-theme")
7035 (url "https://github.com/numixproject/numix-gtk-theme.git")
7037 (file-name (git-file-name name version))
7040 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
7041 (build-system gnu-build-system)
7043 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
7045 (modify-phases %standard-phases
7049 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
7050 ("gnome-shell" ,gnome-shell)
7052 ("xmllint" ,libxml2)
7053 ("ruby-sass" ,ruby-sass)))
7054 (synopsis "Flat theme with light and dark elements")
7055 (description "Numix is a modern flat theme with a combination of light and
7056 dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
7057 (home-page "https://numixproject.github.io")
7058 (license license:gpl3+)))
7060 (define-public arc-theme
7063 (version "20181022")
7067 (url "https://github.com/NicoHood/arc-theme.git")
7069 (file-name (git-file-name name version))
7072 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
7073 (build-system gnu-build-system)
7076 (modify-phases %standard-phases
7077 ;; autogen.sh calls configure at the end of the script.
7079 (lambda _ (invoke "autoreconf" "-vfi"))))))
7081 `(("autoconf" ,autoconf)
7082 ("automake" ,automake)
7083 ("glib" ,glib "bin") ; for glib-compile-resources
7084 ("gnome-shell" ,gnome-shell)
7086 ("inkscape" ,inkscape)
7087 ("optipng" ,optipng)
7088 ("pkg-config" ,pkg-config)
7090 (synopsis "A flat GTK+ theme with transparent elements")
7091 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
7092 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7093 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7094 (home-page "https://github.com/horst3180/arc-theme")
7095 ;; No "or later" language found.
7096 (license license:gpl3+)))
7098 (define-public faba-icon-theme
7100 (name "faba-icon-theme")
7105 (uri (string-append "https://github.com/moka-project/"
7106 name "/archive/v" version ".tar.gz"))
7107 (file-name (string-append name "-" version ".tar.gz"))
7110 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
7111 (build-system meson-build-system)
7114 (modify-phases %standard-phases
7115 (add-before 'configure 'disable-post-install
7117 (substitute* "meson.build"
7118 (("meson.add_install_script.*") "")))))))
7120 `(("autoconf" ,autoconf)
7121 ("automake" ,automake)))
7122 (synopsis "Faba icon theme")
7124 "Faba is a minimal icon set used as a basis for other themes such as
7126 (home-page "https://snwh.org/moka")
7127 (license (list license:lgpl3+
7128 license:cc-by-sa4.0))))
7130 (define-public moka-icon-theme
7132 (inherit faba-icon-theme)
7133 (name "moka-icon-theme")
7137 (uri (string-append "https://github.com/moka-project"
7138 "/moka-icon-theme/archive/v"
7140 (file-name (string-append name "-" version ".tar.gz"))
7143 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
7145 ;; Moka is based on Faba by using it as a fallback icon set instead of
7146 ;; bundling it, so we need to add it as a propagated input.
7147 `(("faba-icon-theme" ,faba-icon-theme)))
7148 (synopsis "Moka icon theme")
7149 (description "Moka is a stylized desktop icon set, designed to be clear,
7150 simple and consistent.")
7151 (license (list license:gpl3+
7152 license:cc-by-sa4.0))))
7154 (define-public arc-icon-theme
7156 (name "arc-icon-theme")
7157 (version "20161122")
7160 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7161 "/archive/" version ".tar.gz"))
7162 (file-name (string-append name "-" version ".tar.gz"))
7165 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
7166 (build-system gnu-build-system)
7169 (modify-phases %standard-phases
7170 (add-after 'unpack 'disable-configure-during-bootstrap
7172 (substitute* "autogen.sh"
7173 (("^\"\\$srcdir/configure\".*") ""))
7176 `(("autoconf" ,autoconf)
7177 ("automake" ,automake)))
7178 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7180 `(("moka-icon-theme" ,moka-icon-theme)))
7181 (synopsis "Arc icon theme")
7182 (description "The Arc icon theme provides a set of icons matching the
7183 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7184 the Moka icon theme.")
7185 (home-page "https://github.com/horst3180/arc-icon-theme")
7186 (license license:gpl3+)))
7188 (define-public folks
7195 "mirror://gnome/sources/folks/"
7196 (version-major+minor version) "/"
7197 "folks-" version ".tar.xz"))
7200 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
7201 (build-system glib-or-gtk-build-system)
7204 ("dbus-glib" ,dbus-glib)
7205 ("evolution-data-server" ,evolution-data-server)
7208 ("telepathy-glib" ,telepathy-glib)))
7210 `(("gobject-introspection" ,gobject-introspection)
7211 ("intltool" ,intltool)
7212 ("pkg-config" ,pkg-config)
7214 (synopsis "Library to aggregate data about people")
7215 (description "Libfolks is a library that aggregates information about people
7216 from multiple sources (e.g., Telepathy connection managers for IM contacts,
7217 Evolution Data Server for local contacts, libsocialweb for web service contacts,
7218 etc.) to create metacontacts. It's written in Vala, which generates C code when
7220 (home-page "https://wiki.gnome.org/Projects/Folks")
7221 (license license:lgpl2.1+)))
7223 (define-public gfbgraph
7230 "mirror://gnome/sources/gfbgraph/"
7231 (version-major+minor version) "/"
7232 "gfbgraph-" version ".tar.xz"))
7235 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7236 (build-system glib-or-gtk-build-system)
7238 `(#:tests? #f ; Tests appear to require the network.
7239 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7240 #:configure-flags '("--disable-gtk-doc"
7242 "--enable-introspection")))
7244 `(("pkg-config" ,pkg-config)
7245 ("gobject-introspection" ,gobject-introspection)))
7247 `(("json-glib" ,json-glib)
7248 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7250 (synopsis "GLib/GObject wrapper for the Facebook API")
7251 (description "This library allows you to use the Facebook API from
7252 GLib/GObject code.")
7253 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7254 (license license:lgpl2.1+)))
7256 (define-public libgnomekbd
7258 (name "libgnomekbd")
7262 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
7263 (version-major+minor version) "/"
7264 "libgnomekbd-" version ".tar.xz"))
7267 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
7268 (build-system gnu-build-system)
7270 `(("pkg-config" ,pkg-config)
7271 ("glib" ,glib "bin")
7272 ("intltool" ,intltool)))
7274 ;; Referred to in .h files and .pc.
7277 ("libxklavier" ,libxklavier)))
7278 (home-page "https://www.gnome.org")
7279 (synopsis "GNOME keyboard configuration library")
7281 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7282 environment, which can notably display keyboard layouts.")
7283 (license license:lgpl2.0+)))
7285 ;;; This package is no longer maintained:
7286 ;;; https://wiki.gnome.org/Attic/LibUnique
7287 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7288 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7289 (define-public libunique
7295 (uri (string-append "mirror://gnome/sources/" name "/"
7296 (version-major+minor version) "/"
7297 name "-" version ".tar.xz"))
7300 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7301 (build-system glib-or-gtk-build-system)
7303 `(#:configure-flags '("--disable-static"
7304 "--disable-dbus" ; use gdbus
7305 "--enable-introspection")))
7307 `(("pkg-config" ,pkg-config)
7308 ("gobject-introspection" ,gobject-introspection)
7309 ("glib:bin" ,glib "bin")
7310 ("gtk-doc" ,gtk-doc)))
7312 ;; Referred to in .h files and .pc.
7314 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7315 (synopsis "Library for writing single instance applications")
7317 "Libunique is a library for writing single instance applications. If you
7318 launch a single instance application twice, the second instance will either just
7319 quit or will send a message to the running instance. Libunique makes it easy to
7320 write this kind of application, by providing a base class, taking care of all
7321 the IPC machinery needed to send messages to a running instance, and also
7322 handling the startup notification side.")
7323 (license license:lgpl2.1+)))
7325 (define-public gnome-calculator
7327 (name "gnome-calculator")
7332 (uri (string-append "mirror://gnome/sources/" name "/"
7333 (version-major+minor version) "/"
7334 name "-" version ".tar.xz"))
7337 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
7338 (build-system meson-build-system)
7339 (arguments '(#:glib-or-gtk? #t))
7341 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7342 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7343 ("intltool" ,intltool)
7344 ("itstool" ,itstool)
7346 ("pkg-config" ,pkg-config)))
7349 ("gtksourceview" ,gtksourceview)
7350 ("libsoup" ,libsoup)
7351 ("libxml2" ,libxml2)
7354 (home-page "https://wiki.gnome.org/Apps/Calculator")
7355 (synopsis "Desktop calculator")
7357 "Calculator is an application that solves mathematical equations and
7358 is suitable as a default application in a Desktop environment.")
7359 (license license:gpl3)))
7368 (uri (string-append "https://launchpad.net/xpad/trunk/"
7369 version "/+download/"
7370 name "-" version ".tar.bz2"))
7373 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
7374 (build-system gnu-build-system)
7376 `(("autoconf" ,autoconf)
7377 ("automake" ,automake)
7378 ("gtk+:bin" ,gtk+ "bin")
7379 ("intltool" ,intltool)
7380 ("pkg-config" ,pkg-config)))
7382 `(("gtksourceview" ,gtksourceview-3)
7384 (home-page "https://wiki.gnome.org/Apps/Xpad")
7385 (synopsis "Virtual sticky note")
7387 "Xpad is a sticky note that strives to be simple, fault tolerant,
7388 and customizable. Xpad consists of independent pad windows, each is
7389 basically a text box in which notes can be written.")
7390 (license license:gpl3+)))
7392 (define-public gucharmap
7393 (let ((unicode-files
7395 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
7397 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
7399 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
7401 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
7403 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
7405 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
7412 (uri (string-append "mirror://gnome/sources/" name "/"
7413 (version-major+minor version) "/"
7414 name "-" version ".tar.xz"))
7417 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
7418 (build-system glib-or-gtk-build-system)
7420 `(#:modules ((ice-9 match)
7421 (guix build glib-or-gtk-build-system)
7424 (list "--with-unicode-data=../unicode-data")
7426 (modify-phases %standard-phases
7427 (add-after 'unpack 'prepare-unicode-data
7428 (lambda* (#:key inputs #:allow-other-keys)
7429 (mkdir-p "../unicode-data")
7430 (with-directory-excursion "../unicode-data"
7431 (for-each (match-lambda
7433 (install-file (assoc-ref inputs file) ".")))
7437 `(("desktop-file-utils" ,desktop-file-utils)
7438 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7439 ("gobject-introspection" ,gobject-introspection)
7440 ("intltool" ,intltool)
7441 ("itstool" ,itstool)
7442 ("pkg-config" ,pkg-config)
7443 ,@(map (match-lambda
7449 "http://www.unicode.org/Public/12.0.0/ucd/"
7451 (sha256 (base32 hash))))))
7456 ("xmllint" ,libxml2)))
7457 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7458 (synopsis "Unicode character picker and font browser")
7460 "This program allows you to browse through all the available Unicode
7461 characters and categories for the installed fonts, and to examine their
7462 detailed properties. It is an easy way to find the character you might
7463 only know by its Unicode name or code point.")
7464 (license license:gpl3+))))
7466 (define-public bluefish
7473 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7474 name "-" version ".tar.gz"))
7477 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
7478 (build-system gnu-build-system)
7480 `(("desktop-file-utils" ,desktop-file-utils)
7481 ("intltool" ,intltool)
7482 ("pkg-config" ,pkg-config)))
7484 `(("enchant" ,enchant)
7486 ("python" ,python-2)
7487 ("xmllint" ,libxml2)
7488 ("gucharmap" ,gucharmap)))
7489 (home-page "http://bluefish.openoffice.nl")
7490 (synopsis "Web development studio")
7492 "Bluefish is an editor targeted towards programmers and web developers,
7493 with many options to write web sites, scripts and other code.
7494 Bluefish supports many programming and markup languages.")
7495 (license license:gpl3+)))
7497 (define-public gnome-system-monitor
7499 (name "gnome-system-monitor")
7504 (uri (string-append "mirror://gnome/sources/" name "/"
7505 (version-major+minor version) "/"
7506 name "-" version ".tar.xz"))
7509 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7510 (build-system meson-build-system)
7513 #:configure-flags '("-Dsystemd=false")))
7515 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
7516 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7517 ("intltool" ,intltool)
7518 ("itstool" ,itstool)
7519 ("libgtop" ,libgtop)
7521 ("pkg-config" ,pkg-config)))
7523 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7526 ("librsvg" ,librsvg)
7527 ("libxml2" ,libxml2)
7528 ("libwnck" ,libwnck)))
7529 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7530 (synopsis "Process viewer and system resource monitor for GNOME")
7532 "GNOME System Monitor is a GNOME process viewer and system monitor with
7533 an attractive, easy-to-use interface. It has features, such as a tree view
7534 for process dependencies, icons for processes, the ability to hide processes,
7535 graphical time histories of CPU/memory/swap usage and the ability to
7536 kill/reinice processes.")
7537 (license license:gpl2+)))
7539 (define-public python-pyatspi
7541 (name "python-pyatspi")
7546 "mirror://gnome/sources/pyatspi/"
7547 (version-major+minor version)
7548 "/pyatspi-" version ".tar.xz"))
7551 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7552 ;; Patch from upstream, fixed in newer versions.
7553 (patches (search-patches "python-pyatspi-python-37.patch"))))
7554 (build-system gnu-build-system)
7557 (modify-phases %standard-phases
7558 (add-before 'build 'fix-atk-load
7560 (substitute* "pyatspi/__init__.py"
7561 (("from gi.repository import Atspi")
7562 "gi.require_version('Gtk', '3.0')
7563 from gi.repository import Gtk
7564 from gi.repository import Atspi"))
7567 `(("pkg-config" ,pkg-config)))
7569 `(("python" ,python)
7570 ("python-pygobject" ,python-pygobject)))
7571 (synopsis "Python client bindings for D-Bus AT-SPI")
7572 (home-page "https://wiki.linuxfoundation.org/accessibility\
7573 /atk/at-spi/at-spi_on_d-bus")
7575 "This package includes a python client library for the AT-SPI D-Bus
7576 accessibility infrastructure.")
7577 (license license:lgpl2.0)
7578 (properties '((upstream-name . "pyatspi")))))
7587 "mirror://gnome/sources/" name "/"
7588 (version-major+minor version) "/"
7589 name "-" version ".tar.xz"))
7592 "17asibc46i5gr2fw04jvvdi85zzmxwlnhyq7r6cr3m5prrdr8a53"))))
7593 (build-system glib-or-gtk-build-system)
7596 (modify-phases %standard-phases
7597 (add-before 'configure 'qualify-xkbcomp
7598 (lambda* (#:key inputs #:allow-other-keys)
7599 (let ((xkbcomp (string-append
7600 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7601 (substitute* "src/orca/orca.py"
7602 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7604 (add-after 'install 'wrap-orca
7605 (lambda* (#:key outputs #:allow-other-keys)
7606 (let* ((out (assoc-ref outputs "out"))
7607 (prog (string-append out "/bin/orca")))
7609 `("GI_TYPELIB_PATH" ":" prefix
7610 (,(getenv "GI_TYPELIB_PATH")))
7611 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7612 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7613 `("PYTHONPATH" ":" prefix
7614 (,(getenv "PYTHONPATH")))))
7617 `(("intltool" ,intltool)
7618 ("itstool" ,itstool)
7619 ("pkg-config" ,pkg-config)
7620 ("xmllint" ,libxml2)))
7622 `(("at-spi2-atk" ,at-spi2-atk)
7623 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7624 ("gstreamer" ,gstreamer)
7625 ("gst-plugins-base" ,gst-plugins-base)
7626 ("gst-plugins-good" ,gst-plugins-good)
7629 ("python-pygobject" ,python-pygobject)
7630 ("python-pyatspi" ,python-pyatspi)
7631 ("python-speechd" ,speech-dispatcher)
7632 ("xkbcomp" ,xkbcomp)))
7634 "Screen reader for individuals who are blind or visually impaired")
7635 (home-page "https://wiki.gnome.org/Projects/Orca")
7637 "Orca is a screen reader that provides access to the graphical desktop
7638 via speech and refreshable braille. Orca works with applications and toolkits
7639 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7640 (license license:lgpl2.1+)))
7642 (define-public gspell
7648 (uri (string-append "mirror://gnome/sources/" name "/"
7649 (version-major+minor version) "/"
7650 name "-" version ".tar.xz"))
7653 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
7654 (patches (search-patches "gspell-dash-test.patch"))))
7655 (build-system glib-or-gtk-build-system)
7658 (modify-phases %standard-phases
7659 (add-before 'check 'pre-check
7660 (lambda* (#:key inputs #:allow-other-keys)
7661 ;; Tests require a running X server.
7662 (system "Xvfb :1 &")
7663 (setenv "DISPLAY" ":1")
7665 ;; For the missing /etc/machine-id.
7666 (setenv "DBUS_FATAL_WARNINGS" "0")
7668 ;; Allow Enchant and its Aspell backend to find the en_US
7670 (setenv "ASPELL_DICT_DIR"
7671 (string-append (assoc-ref inputs "aspell-dict-en")
7677 ("iso-codes" ,iso-codes)))
7679 `(("glib" ,glib "bin")
7680 ("pkg-config" ,pkg-config)
7681 ("xmllint" ,libxml2)
7684 ("aspell-dict-en" ,aspell-dict-en)
7685 ("xorg-server" ,xorg-server)))
7687 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7688 (home-page "https://wiki.gnome.org/Projects/gspell")
7689 (synopsis "GNOME's alternative spell checker")
7691 "gspell provides a flexible API to add spell-checking to a GTK+
7692 application. It provides a GObject API, spell-checking to text entries and
7693 text views, and buttons to choose the language.")
7694 (license license:gpl2+)))
7696 (define-public gnome-planner
7698 (name "gnome-planner")
7702 (uri (string-append "mirror://gnome/sources/planner/"
7703 (version-major+minor version) "/planner-"
7707 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7708 (build-system glib-or-gtk-build-system)
7710 ;; Disable the Python bindings because the Planner program functions
7711 ;; without them, and (as of 2017-06-13) we have not packaged all of
7712 ;; packages that are necessary for building the Python bindings.
7714 (list "--disable-python"
7715 ,@(if (string=? "aarch64-linux" (%current-system))
7716 '("--build=aarch64-unknown-linux-gnu")
7719 `(("libgnomecanvas" ,libgnomecanvas)
7720 ("libgnomeui" ,libgnomeui)
7721 ("libglade" ,libglade)
7722 ("gnome-vfs" ,gnome-vfs)
7724 ("libxml2" ,libxml2)
7725 ("libxslt" ,libxslt)
7729 `(("intltool" ,intltool)
7730 ("scrollkeeper" ,scrollkeeper)
7731 ("pkg-config" ,pkg-config)))
7732 (home-page "https://wiki.gnome.org/Apps/Planner")
7733 (synopsis "Project management software for the GNOME desktop")
7735 "GNOME Planner is a project management tool based on the Work Breakdown
7736 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7737 the resources, tasks, and constraints that you define, Planner generates
7738 various views into a project. For example, Planner can show a Gantt chart of
7739 the project. It can show a detailed summary of tasks including their
7740 duration, cost, and current progress. It can also show a report of resource
7741 utilization that highlights under-utilized and over-utilized resources. These
7742 views can be printed as PDF or PostScript files, or exported to HTML.")
7743 (license license:gpl2+)))
7745 (define-public lollypop
7752 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7753 "5a7cd7c72b6d83ae08d0c54c4691f9df/"
7754 name "-" version ".tar.xz"))
7757 "1r5wn0bja9psz6nr1rcaysdkkwz84rbyzpdfw66cxa6wiy52pkjm"))))
7758 (build-system meson-build-system)
7760 `(#:imported-modules ((guix build python-build-system)
7761 ,@%meson-build-system-modules)
7763 #:tests? #f ; no test suite
7765 (modify-phases %standard-phases
7766 (add-after 'install 'wrap-program
7767 (lambda* (#:key outputs #:allow-other-keys)
7768 (let ((out (assoc-ref outputs "out"))
7769 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7770 (wrap-program (string-append out "/bin/lollypop")
7771 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7773 (add-after 'install 'wrap
7774 (@@ (guix build python-build-system) wrap)))))
7776 `(("intltool" ,intltool)
7777 ("itstool" ,itstool)
7778 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7779 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7780 ("pkg-config" ,pkg-config)))
7782 `(("gobject-introspection" ,gobject-introspection)
7783 ("gst-plugins-base" ,gst-plugins-base)
7784 ("libnotify" ,libnotify)
7785 ("libsecret" ,libsecret)
7786 ("libsoup" ,libsoup)
7788 ("python-beautifulsoup4" ,python-beautifulsoup4)
7789 ("python-gst" ,python-gst)
7790 ("python-pil" ,python-pillow)
7791 ("python-pycairo" ,python-pycairo)
7792 ("python-pygobject" ,python-pygobject)
7793 ("python-pylast" ,python-pylast)
7794 ("totem-pl-parser" ,totem-pl-parser)
7795 ("webkitgtk" ,webkitgtk)))
7797 `(;; gst-plugins-base is required to start Lollypop,
7798 ;; the others are required to play streaming.
7799 ("gst-plugins-good" ,gst-plugins-good)
7800 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7801 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7802 (synopsis "GNOME music playing application")
7804 "Lollypop is a music player designed to play well with GNOME desktop.
7805 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7806 from artists and tracks from the web. It also fetches cover artworks
7807 automatically and it can stream songs from online music services and charts.")
7808 (license license:gpl3+)))
7810 (define-public gnome-video-effects
7812 (name "gnome-video-effects")
7816 (uri (string-append "mirror://gnome/sources/" name "/"
7817 (version-major+minor version) "/" name "-"
7821 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7822 (build-system glib-or-gtk-build-system)
7824 `(#:out-of-source? #f))
7826 `(("glib:bin" ,glib "bin")
7827 ("intltool" ,intltool)
7828 ("gettext" ,gettext-minimal)
7829 ("pkg-config" ,pkg-config)))
7830 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7831 (synopsis "Video effects for Cheese and other GNOME applications")
7833 "A collection of GStreamer video filters and effects to be used in
7834 photo-booth-like software, such as Cheese.")
7835 (license license:gpl2+)))
7837 (define-public cheese
7843 (uri (string-append "mirror://gnome/sources/" name "/"
7844 (version-major+minor version) "/" name "-"
7848 "0zz2bgjaf2lsmfs3zn24925vbjb0rycr39i288brlbzixrpcyljr"))))
7850 ;; Tests require GDK.
7853 (modify-phases %standard-phases
7854 (add-before 'install 'skip-gtk-update-icon-cache
7856 ;; Don't create 'icon-theme.cache'
7857 (substitute* "Makefile"
7858 (("gtk-update-icon-cache") (which "true")))
7860 (add-after 'install 'wrap-cheese
7861 (lambda* (#:key inputs outputs #:allow-other-keys)
7862 (let ((out (assoc-ref outputs "out"))
7863 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7864 (wrap-program (string-append out "/bin/cheese")
7865 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7867 (build-system glib-or-gtk-build-system)
7869 `(("glib:bin" ,glib "bin")
7870 ("intltool" ,intltool)
7871 ("itstool" ,itstool)
7872 ("libxml2" ,libxml2)
7873 ("pkg-config" ,pkg-config)
7876 `(("gnome-video-effects" ,gnome-video-effects)
7877 ("clutter" ,clutter)
7878 ("clutter-gst" ,clutter-gst)
7879 ("clutter-gtk" ,clutter-gtk)
7880 ("libcanberra" ,libcanberra)
7881 ("gdk-pixbuf" ,gdk-pixbuf)
7883 ("gstreamer" ,gstreamer)))
7885 `(("gnome-desktop" ,gnome-desktop)
7886 ("gobject-introspection" ,gobject-introspection)
7887 ("gst-plugins-base" ,gst-plugins-base)
7888 ("gst-plugins-bad" ,gst-plugins-bad)
7891 ("libxtst" ,libxtst)))
7892 (home-page "https://wiki.gnome.org/Apps/Cheese")
7893 (synopsis "Webcam photo booth software for GNOME")
7895 "Cheese uses your webcam to take photos and videos. Cheese can also
7896 apply fancy special effects and lets you share the fun with others.")
7897 (license license:gpl2+)))
7899 (define-public sound-juicer
7901 (name "sound-juicer")
7906 (uri (string-append "mirror://gnome/sources/" name "/"
7907 (version-major+minor version) "/"
7908 name "-" version ".tar.xz"))
7911 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7912 (build-system glib-or-gtk-build-system)
7914 `(("desktop-file-utils" ,desktop-file-utils)
7915 ("intltool" ,intltool)
7916 ("itstool" ,itstool)
7917 ("pkg-config" ,pkg-config)
7918 ("xmllint" ,libxml2)))
7921 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7922 ("gstreamer" ,gstreamer)
7923 ("gst-plugins-base" ,gst-plugins-base)
7924 ("gst-plugins-good" ,gst-plugins-good)
7925 ("iso-codes" ,iso-codes)
7926 ("libbrasero-media3" ,brasero)
7927 ("libcanberra" ,libcanberra)
7928 ("libdiscid" ,libdiscid)
7929 ("libmusicbrainz" ,libmusicbrainz)
7931 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7932 (synopsis "Audio music cd ripper")
7933 (description "Sound Juicer extracts audio from compact discs and convert it
7934 into audio files that a personal computer or digital audio player can play.
7935 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7936 mp3, Ogg Vorbis and FLAC")
7937 (license license:gpl2+)))
7939 (define-public soundconverter
7941 (name "soundconverter")
7946 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7947 version "/+download/"
7948 "soundconverter-" version ".tar.xz"))
7951 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
7954 "soundconverter-remove-gconf-dependency.patch"))))
7955 (build-system glib-or-gtk-build-system)
7957 `(#:imported-modules ((guix build python-build-system)
7958 (guix build glib-or-gtk-build-system)
7959 ,@%gnu-build-system-modules)
7961 #:modules ((guix build glib-or-gtk-build-system)
7963 ((guix build gnu-build-system) #:prefix gnu:)
7964 ((guix build python-build-system) #:prefix python:))
7967 (modify-phases %standard-phases
7968 (add-after 'install 'wrap-soundconverter-for-python
7969 (assoc-ref python:%standard-phases 'wrap))
7970 (add-after 'install 'wrap-soundconverter
7971 (lambda* (#:key inputs outputs #:allow-other-keys)
7972 (let ((out (assoc-ref outputs "out"))
7973 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7974 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7975 (wrap-program (string-append out "/bin/soundconverter")
7976 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7977 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7980 `(("intltool" ,intltool)
7981 ("pkg-config" ,pkg-config)
7982 ("glib:bin" ,glib "bin")))
7986 ("python-pygobject" ,python-pygobject)
7987 ("gstreamer" ,gstreamer)
7988 ("gst-plugins-base" ,gst-plugins-base)))
7989 (home-page "http://soundconverter.org/")
7990 (synopsis "Convert between audio formats with a graphical interface")
7992 "SoundConverter supports converting between many audio formats including
7993 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7994 configurable file renaming. ")
7995 (license license:gpl3)))
7997 (define-public workrave
8005 (url "https://github.com/rcaelers/workrave.git")
8006 (commit (string-append "v" (string-map
8007 (match-lambda (#\. #\_) (chr chr))
8009 (file-name (git-file-name name version))
8011 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
8012 (build-system glib-or-gtk-build-system)
8013 (inputs `(("glib" ,glib)
8015 ("gdk-pixbuf" ,gdk-pixbuf)
8019 ("libxtst" ,libxtst)
8023 ("libxscrnsaver" ,libxscrnsaver)))
8024 (native-inputs `(("boost" ,boost)
8025 ("pkg-config" ,pkg-config)
8026 ("gettext" ,gnu-gettext)
8027 ("autoconf" ,autoconf)
8028 ("autoconf-archive" , autoconf-archive)
8029 ("automake" ,automake)
8030 ("libtool" ,libtool)
8031 ("intltool" ,intltool)
8032 ("gobject-introspection" ,gobject-introspection)
8033 ("python3" ,python-3)
8034 ("python-jinja2" ,python-jinja2)))
8035 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8037 "Workrave is a program that assists in the recovery and prevention of
8038 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8039 micro-pauses and rest breaks, and restricts you to your daily limit.")
8040 (home-page "http://www.workrave.org")
8041 (license license:gpl3+)))
8049 (uri (string-append "mirror://gnome/sources/ghex/"
8050 (version-major+minor version) "/"
8051 "ghex-" version ".tar.xz"))
8054 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
8055 (build-system glib-or-gtk-build-system)
8057 `(("pkg-config" ,pkg-config)
8058 ("gnome-common" ,gnome-common)
8060 ("intltool" ,intltool)
8061 ("yelp-tools" ,yelp-tools)
8062 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
8066 (synopsis "GNOME hexadecimal editor")
8067 (description "The GHex program can view and edit files in two ways:
8068 hexadecimal or ASCII. It is useful for editing binary files in general.")
8069 (home-page "https://wiki.gnome.org/Apps/Ghex")
8070 (license license:gpl2)))
8072 (define-public libdazzle
8078 (uri (string-append "mirror://gnome/sources/libdazzle/"
8079 (version-major+minor version) "/"
8080 "libdazzle-" version ".tar.xz"))
8083 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
8084 (build-system meson-build-system)
8087 (modify-phases %standard-phases
8088 (add-before 'check 'pre-check
8090 ;; Tests require a running X server.
8091 (system "Xvfb :1 &")
8092 (setenv "DISPLAY" ":1")
8095 `(("glib" ,glib "bin") ; glib-compile-resources
8096 ("pkg-config" ,pkg-config)
8098 ("xorg-server" ,xorg-server)))
8101 ("gobject-introspection" ,gobject-introspection)
8104 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8105 (synopsis "Companion library to GObject and Gtk+")
8106 (description "The libdazzle library is a companion library to GObject and
8107 Gtk+. It provides various features that the authors wish were in the
8108 underlying library but cannot for various reasons. In most cases, they are
8109 wildly out of scope for those libraries. In other cases, they are not quite
8110 generic enough to work for everyone.")
8111 (license license:gpl3+)))
8113 (define-public evolution
8119 (uri (string-append "mirror://gnome/sources/evolution/"
8120 (version-major+minor version) "/"
8121 "evolution-" version ".tar.xz"))
8124 "1hhxj3rh921pp3l3c5k33bdypcas1p66krzs65k1qn82c5fpgl2h"))))
8125 (build-system cmake-build-system)
8127 `(#:imported-modules (,@%cmake-build-system-modules
8128 (guix build glib-or-gtk-build-system))
8129 #:modules ((guix build cmake-build-system)
8130 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8133 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
8134 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
8135 ; in four years and cannot be built.
8137 (modify-phases %standard-phases
8138 ;; The build system attempts to install user interface modules to the
8139 ;; output directory of the "evolution-data-server" package. This
8140 ;; change redirects that change.
8141 (add-after 'unpack 'patch-ui-module-dir
8142 (lambda* (#:key outputs #:allow-other-keys)
8143 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
8144 (("\\$\\{edsuimoduledir\\}")
8145 (string-append (assoc-ref outputs "out")
8146 "/lib/evolution-data-server/ui-modules")))
8148 (add-after 'install 'glib-or-gtk-compile-schemas
8149 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
8150 (add-after 'install 'glib-or-gtk-wrap
8151 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
8153 `(("glib" ,glib "bin") ; glib-mkenums
8154 ("pkg-config" ,pkg-config)
8155 ("intltool" ,intltool)
8156 ("itstool" ,itstool)))
8158 `(("enchant" ,enchant)
8159 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8161 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8162 ("gnome-autoar" ,gnome-autoar)
8163 ("gnome-desktop" ,gnome-desktop)
8164 ("gtkspell3" ,gtkspell3)
8165 ("highlight" ,highlight)
8166 ("libcanberra" ,libcanberra)
8167 ("libedataserverui" ,evolution-data-server)
8168 ("libgweather" ,libgweather)
8169 ("libnotify" ,libnotify)
8170 ("libsoup" ,libsoup)
8172 ("openldap" ,openldap)
8173 ("webkitgtk" ,webkitgtk)
8175 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8176 (synopsis "Manage your email, contacts and schedule")
8177 (description "Evolution is a personal information management application
8178 that provides integrated mail, calendaring and address book
8180 ;; See COPYING for details.
8181 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
8182 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
8183 license:lgpl2.1+)))) ; smime/lib/*
8185 (define-public gthumb
8191 (uri (string-append "mirror://gnome/sources/gthumb/"
8192 (version-major+minor version) "/"
8193 "gthumb-" version ".tar.xz"))
8196 "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f"))))
8197 (build-system meson-build-system)
8201 ;; Ensure the RUNPATH contains all installed library locations.
8202 (list (string-append "-Dc_link_args=-Wl,-rpath="
8203 (assoc-ref %outputs "out")
8204 "/lib/gthumb/extensions")
8205 (string-append "-Dcpp_link_args=-Wl,-rpath="
8206 (assoc-ref %outputs "out")
8207 "/lib/gthumb/extensions"))))
8209 `(("pkg-config" ,pkg-config)
8210 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8211 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8212 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8213 ("intltool" ,intltool)
8214 ("itstool" ,itstool)))
8218 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8219 ("gstreamer" ,gstreamer)
8220 ("clutter" ,clutter)
8221 ("clutter-gst" ,clutter-gst)
8222 ("clutter-gtk" ,clutter-gtk)
8223 ("libjpeg" ,libjpeg)
8224 ("libtiff" ,libtiff)
8225 ("libraw" ,libraw)))
8226 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8227 (synopsis "GNOME image viewer and browser")
8228 (description "GThumb is an image viewer, browser, organizer, editor and
8229 advanced image management tool")
8230 (license license:gpl2+)))
8232 (define-public terminator
8238 (uri (string-append "https://launchpad.net/" name "/"
8239 "gtk3/" version "/" "+download/"
8240 name "-" version ".tar.gz"))
8243 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8244 (build-system python-build-system)
8246 `(("intltool" ,intltool)
8247 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8248 ("gettext" ,gettext-minimal)
8249 ("pkg-config" ,pkg-config)))
8252 ("gobject-introspection" ,gobject-introspection)
8253 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8254 ("python2-pycairo" ,python2-pycairo)
8255 ("python2-pygobject" ,python2-pygobject)
8256 ("python2-psutil" ,python2-psutil)
8259 `(#:python ,python-2 ; Python 3 isn't supported
8260 #:imported-modules ((guix build glib-or-gtk-build-system)
8261 ,@%python-build-system-modules)
8262 #:modules ((guix build python-build-system)
8263 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8266 (modify-phases %standard-phases
8268 'install 'wrap-program
8269 (lambda* (#:key outputs #:allow-other-keys)
8270 (let ((prog (string-append (assoc-ref outputs "out")
8271 "/bin/terminator")))
8273 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8274 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8276 (add-after 'wrap-program 'glib-or-gtk-wrap
8277 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
8278 (home-page "https://gnometerminator.blogspot.com/")
8279 (synopsis "Store and run multiple GNOME terminals in one window")
8281 "Terminator allows you to run multiple GNOME terminals in a grid and
8282 +tabs, and it supports drag and drop re-ordering of terminals.")
8283 (license license:gpl2)))
8285 (define-public libhandy
8293 (url "https://source.puri.sm/Librem5/libhandy")
8294 (commit (string-append "v" version))))
8295 (file-name (git-file-name name version))
8297 (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0"))))
8298 (build-system meson-build-system)
8301 '("-Dglade_catalog=disabled"
8304 (modify-phases %standard-phases
8305 (add-before 'check 'pre-check
8307 ;; Tests require a running X server.
8308 (system "Xvfb :1 &")
8309 (setenv "DISPLAY" ":1")
8314 `(("glib:bin" ,glib "bin")
8315 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
8317 ("gtk-doc" ,gtk-doc)
8318 ("pkg-config" ,pkg-config)
8319 ("gettext" ,gettext-minimal)
8320 ("xorg-server" ,xorg-server)
8322 ;; Test suite dependencies.
8323 ("hicolor-icon-theme" ,hicolor-icon-theme)))
8324 (home-page "https://source.puri.sm/Librem5/libhandy")
8325 (synopsis "Library full of GTK+ widgets for mobile phones")
8326 (description "The aim of the handy library is to help with developing user
8327 intefaces for mobile devices using GTK+.")
8328 (license license:lgpl2.1+)))
8330 (define-public libgit2-glib
8332 (name "libgit2-glib")
8333 (version "0.28.0.1")
8336 (uri (string-append "mirror://gnome/sources/" name "/"
8337 (version-major+minor version) "/"
8338 name "-" version ".tar.xz"))
8341 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
8342 (build-system meson-build-system)
8344 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
8345 ("gobject-introspection" ,gobject-introspection)
8346 ("intltool" ,intltool)
8347 ("libssh2" ,libssh2)
8348 ("pkg-config" ,pkg-config)
8349 ("python-pygobject" ,python-pygobject)
8350 ("python-wrapper" ,python-wrapper)
8354 ("libgit2" ,libgit2)))
8355 (synopsis "GLib wrapper around the libgit2 Git access library")
8356 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
8357 access library. It only implements the core plumbing functions, not really the
8358 higher level porcelain stuff.")
8359 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
8360 (license license:gpl2+)))