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>
43 ;;; This file is part of GNU Guix.
45 ;;; GNU Guix is free software; you can redistribute it and/or modify it
46 ;;; under the terms of the GNU General Public License as published by
47 ;;; the Free Software Foundation; either version 3 of the License, or (at
48 ;;; your option) any later version.
50 ;;; GNU Guix is distributed in the hope that it will be useful, but
51 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
52 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53 ;;; GNU General Public License for more details.
55 ;;; You should have received a copy of the GNU General Public License
56 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
58 (define-module (gnu packages gnome)
59 #:use-module (gnu packages)
60 #:use-module (gnu packages admin)
61 #:use-module (gnu packages aspell)
62 #:use-module (gnu packages autotools)
63 #:use-module (gnu packages avahi)
64 #:use-module (gnu packages backup)
65 #:use-module (gnu packages base)
66 #:use-module (gnu packages bash)
67 #:use-module (gnu packages bison)
68 #:use-module (gnu packages build-tools)
69 #:use-module (gnu packages calendar)
70 #:use-module (gnu packages cdrom)
71 #:use-module (gnu packages check)
72 #:use-module (gnu packages cmake)
73 #:use-module (gnu packages compression)
74 #:use-module (gnu packages cups)
75 #:use-module (gnu packages curl)
76 #:use-module (gnu packages cyrus-sasl)
77 #:use-module (gnu packages databases)
78 #:use-module (gnu packages dbm)
79 #:use-module (gnu packages djvu)
80 #:use-module (gnu packages dns)
81 #:use-module (gnu packages docbook)
82 #:use-module (gnu packages documentation)
83 #:use-module (gnu packages enchant)
84 #:use-module (gnu packages flex)
85 #:use-module (gnu packages fonts)
86 #:use-module (gnu packages fontutils)
87 #:use-module (gnu packages freedesktop)
88 #:use-module (gnu packages game-development)
89 #:use-module (gnu packages gcc)
90 #:use-module (gnu packages gettext)
91 #:use-module (gnu packages ghostscript)
92 #:use-module (gnu packages gl)
93 #:use-module (gnu packages glib)
94 #:use-module (gnu packages gnupg)
95 #:use-module (gnu packages gnuzilla)
96 #:use-module (gnu packages gperf)
97 #:use-module (gnu packages graphviz)
98 #:use-module (gnu packages gstreamer)
99 #:use-module (gnu packages gtk)
100 #:use-module (gnu packages guile)
101 #:use-module (gnu packages ibus)
102 #:use-module (gnu packages image)
103 #:use-module (gnu packages imagemagick)
104 #:use-module (gnu packages inkscape)
105 #:use-module (gnu packages iso-codes)
106 #:use-module (gnu packages kerberos)
107 #:use-module (gnu packages libcanberra)
108 #:use-module (gnu packages libunistring)
109 #:use-module (gnu packages libusb)
110 #:use-module (gnu packages linux)
111 #:use-module (gnu packages lirc)
112 #:use-module (gnu packages lua)
113 #:use-module (gnu packages mail)
114 #:use-module (gnu packages multiprecision)
115 #:use-module (gnu packages music)
116 #:use-module (gnu packages ncurses)
117 #:use-module (gnu packages nettle)
118 #:use-module (gnu packages networking)
119 #:use-module (gnu packages ninja)
120 #:use-module (gnu packages nss)
121 #:use-module (gnu packages openldap)
122 #:use-module (gnu packages password-utils)
123 #:use-module (gnu packages pcre)
124 #:use-module (gnu packages pdf)
125 #:use-module (gnu packages perl)
126 #:use-module (gnu packages photo)
127 #:use-module (gnu packages pkg-config)
128 #:use-module (gnu packages polkit)
129 #:use-module (gnu packages popt)
130 #:use-module (gnu packages pretty-print)
131 #:use-module (gnu packages pulseaudio)
132 #:use-module (gnu packages python)
133 #:use-module (gnu packages python-crypto)
134 #:use-module (gnu packages python-web)
135 #:use-module (gnu packages python-xyz)
136 #:use-module (gnu packages rdesktop)
137 #:use-module (gnu packages readline)
138 #:use-module (gnu packages ruby)
139 #:use-module (gnu packages rust)
140 #:use-module (gnu packages samba)
141 #:use-module (gnu packages scanner)
142 #:use-module (gnu packages selinux)
143 #:use-module (gnu packages slang)
144 #:use-module (gnu packages speech)
145 #:use-module (gnu packages spice)
146 #:use-module (gnu packages sqlite)
147 #:use-module (gnu packages ssh)
148 #:use-module (gnu packages tex)
149 #:use-module (gnu packages time)
150 #:use-module (gnu packages tls)
151 #:use-module (gnu packages version-control)
152 #:use-module (gnu packages video)
153 #:use-module (gnu packages virtualization)
154 #:use-module (gnu packages vpn)
155 #:use-module (gnu packages web)
156 #:use-module (gnu packages web)
157 #:use-module (gnu packages webkit)
158 #:use-module (gnu packages xdisorg)
159 #:use-module (gnu packages xiph)
160 #:use-module (gnu packages xml)
161 #:use-module (gnu packages xorg)
162 #:use-module (gnu packages xorg)
163 #:use-module (gnu artwork)
164 #:use-module (guix build-system cmake)
165 #:use-module (guix build-system glib-or-gtk)
166 #:use-module (guix build-system gnu)
167 #:use-module (guix build-system meson)
168 #:use-module (guix build-system python)
169 #:use-module (guix build-system trivial)
170 #:use-module (guix download)
171 #:use-module (guix git-download)
172 #:use-module ((guix licenses) #:prefix license:)
173 #:use-module (guix packages)
174 #:use-module (guix utils)
175 #:use-module (guix gexp)
176 #:use-module (ice-9 match)
177 #:use-module (srfi srfi-1))
179 (define-public brasero
185 (uri (string-append "mirror://gnome/sources/" name "/"
186 (version-major+minor version) "/"
187 name "-" version ".tar.xz"))
190 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
191 (build-system glib-or-gtk-build-system)
193 `(#:configure-flags (list
194 (string-append "--with-girdir="
195 (assoc-ref %outputs "out")
197 (string-append "--with-typelibdir="
198 (assoc-ref %outputs "out")
199 "/lib/girepository-1.0"))
201 (modify-phases %standard-phases
202 (add-before 'configure 'embed-growisofs
203 (lambda* (#:key inputs #:allow-other-keys)
204 (substitute* "plugins/growisofs/burn-growisofs.c"
205 (("\"growisofs") (string-append "\"" (which "growisofs"))))
208 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
210 `(("intltool" ,intltool)
211 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
212 ("gobject-introspection" ,gobject-introspection)
213 ("pkg-config" ,pkg-config)))
215 `(("dvd+rw-tools" ,dvd+rw-tools)
217 ("gnome-doc-utils" ,gnome-doc-utils)
218 ("gstreamer" ,gstreamer)
219 ("gst-plugins-base" ,gst-plugins-base)
222 ("libcanberra" ,libcanberra)
224 ("libnotify" ,libnotify)
228 ("totem-pl-parser" ,totem-pl-parser)))
229 (home-page "https://projects.gnome.org/brasero/")
230 (synopsis "CD/DVD burning tool for Gnome")
231 (description "Brasero is an application to burn CD/DVD for the Gnome
232 Desktop. It is designed to be as simple as possible and has some unique
233 features to enable users to create their discs easily and quickly.")
234 (license license:gpl2+)))
236 (define-public deja-dup
242 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
245 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
247 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
248 (build-system glib-or-gtk-build-system)
250 `(#:modules ((guix build gnu-build-system)
251 ((guix build cmake-build-system) #:prefix cmake:)
252 (guix build glib-or-gtk-build-system)
254 #:imported-modules (,@%glib-or-gtk-build-system-modules
255 (guix build cmake-build-system))
257 #:configure-flags (list (string-append
258 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
260 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
262 (modify-phases %standard-phases
263 (add-after 'unpack 'patch-lockfile-deletion
265 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
269 (assoc-ref cmake:%standard-phases 'configure))
270 (delete 'check) ;; Fails due to issues with DBus
271 (add-after 'install 'wrap-deja-dup
272 (lambda* (#:key inputs outputs #:allow-other-keys)
273 (let ((python (assoc-ref inputs "python"))
274 (python-path (getenv "PYTHONPATH"))
275 (duplicity (assoc-ref inputs "duplicity"))
276 (out (assoc-ref outputs "out")))
279 (wrap-program program
280 `("PATH" ":" prefix (,(string-append python "/bin")
281 ,(string-append duplicity "/bin"))))
282 (wrap-program program
283 `("PYTHONPATH" ":" prefix (,python-path))))
285 (find-files (string-append out "/bin")))
288 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
289 ("gobject-introspection" ,gobject-introspection)
290 ("duplicity" ,duplicity)
292 ("python-pygobject" ,python2-pygobject)
294 ("libnotify" ,libnotify)
296 ("libsecret" ,libsecret)
297 ("packagekit" ,packagekit)))
299 `(("pkg-config" ,pkg-config)
301 ("gettext" ,gettext-minimal)
303 ("intltool" ,intltool)
305 (home-page "https://launchpad.net/deja-dup")
306 (synopsis "Simple backup tool, for regular encrypted backups")
308 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
309 uses duplicity as the backend, which supports incremental backups and storage
310 either on a local, or remote machine via a number of methods.")
311 (license license:gpl3+)))
314 ;; This version from GNOME's repository includes fixes for compiling with
315 ;; recent versions of the build tools. The latest activity on the
316 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
318 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
321 (version (string-append "0.97.2-" (string-take commit 7)))
325 (url "https://git.gnome.org/browse/dia")
327 (file-name (string-append name "-" version "-checkout"))
330 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
331 (build-system gnu-build-system)
333 `(("glib" ,glib "bin")
335 ("gdk-pixbuf" ,gdk-pixbuf)
338 ("freetype" ,freetype)
339 ("libart-lgpl" ,libart-lgpl)))
341 `(("intltool" ,intltool)
342 ("pkg-config" ,pkg-config)
343 ("automake" ,automake)
344 ("autoconf" ,autoconf)
347 ("python-wrapper" ,python-wrapper)))
350 (modify-phases %standard-phases
351 (add-after 'unpack 'run-autogen
353 (system* "sh" "autogen.sh"))))))
354 (home-page "https://wiki.gnome.org/Apps/Dia")
355 (synopsis "Diagram creation for GNOME")
356 (description "Dia can be used to draw different types of diagrams, and
357 includes support for UML static structure diagrams (class diagrams), entity
358 relationship modeling, and network diagrams. The program supports various file
359 formats like PNG, SVG, PDF and EPS.")
360 (license license:gpl2+))))
362 (define-public libgdata
368 (uri (string-append "mirror://gnome/sources/" name "/"
369 (version-major+minor version) "/"
370 name "-" version ".tar.xz"))
373 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
375 (search-patches "libgdata-fix-tests.patch"
376 "libgdata-glib-duplicate-tests.patch"))))
377 (build-system gnu-build-system)
380 (modify-phases %standard-phases
381 (add-before 'check 'disable-failing-tests
383 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
384 ;; They have been removed in libgdata 0.17.6, so just do the same.
385 (substitute* "gdata/tests/Makefile"
386 (("picasaweb\\$\\(EXEEXT\\) ") ""))
389 `(("glib:bin" ,glib "bin")
390 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
391 ("intltool" ,intltool)
392 ("pkg-config" ,pkg-config)
393 ("uhttpmock" ,uhttpmock)))
395 `(("cyrus-sasl" ,cyrus-sasl)
397 ("glib-networking" ,glib-networking)
398 ("json-glib" ,json-glib)
399 ("libsoup" ,libsoup)))
402 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
403 ("liboauth" ,liboauth)
404 ("libxml2" ,libxml2)))
405 (home-page "https://wiki.gnome.org/Projects/libgdata")
406 (synopsis "Library for accessing online service APIs")
408 "libgdata is a GLib-based library for accessing online service APIs using
409 the GData protocol — most notably, Google's services. It provides APIs to
410 access the common Google services, and has full asynchronous support.")
411 (license license:lgpl2.1+)))
413 (define-public libgxps
419 (uri (string-append "mirror://gnome/sources/" name "/"
420 (version-major+minor version) "/"
421 name "-" version ".tar.xz"))
424 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
425 (build-system meson-build-system)
427 `(("gobject-introspection" ,gobject-introspection)
428 ("pkg-config" ,pkg-config)))
431 ("libjpeg" ,libjpeg-turbo)
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 "0c439hhpfd9axmv4af6fzhibksh69pnn2nnbghbbqqbwy6zqfl30"))))
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 "11ajz4cbsdns81kihd6242b6pwxbw8bkr9qqkf4qnb4kp363a38m"))))
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 "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m"))))
608 (build-system gnu-build-system)
611 (modify-phases %standard-phases
612 ;; These fail because /var/lib/dbus/machine-id is not present in the
613 ;; build environment.
614 (add-after 'unpack 'disable-failing-tests
616 (substitute* "gcr/test-system-prompt.c"
617 (("g_test_add") "//")
618 (("return.*") "return 0;"))
620 (add-before 'check 'pre-check
622 ;; Some tests expect to write to $HOME.
623 (setenv "HOME" "/tmp")
627 ("gnupg" ,gnupg) ;called as a child process during tests
628 ("libgcrypt" ,libgcrypt)))
630 `(("python" ,python-2) ;for tests
631 ("pkg-config" ,pkg-config)
633 ("gobject-introspection" ,gobject-introspection)
634 ("intltool" ,intltool)
636 ("xsltproc" ,libxslt)))
637 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
639 `(("p11-kit" ,p11-kit)
642 (home-page "https://www.gnome.org")
643 (synopsis "Libraries for displaying certificates and accessing key stores")
645 "The GCR package contains libraries used for displaying certificates and
646 accessing key stores. It also provides the viewer for crypto files on the
648 (license license:lgpl2.1+)))
650 (define-public libgnome-keyring
652 (name "libgnome-keyring")
656 (uri (string-append "mirror://gnome/sources/" name "/"
657 (version-major+minor version) "/"
658 name "-" version ".tar.xz"))
661 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
662 (build-system gnu-build-system)
664 `(("libgcrypt" ,libgcrypt)
667 `(("pkg-config" ,pkg-config)
669 ("intltool" ,intltool)))
671 ;; Referred to in .h files and .pc.
673 (home-page "https://www.gnome.org")
674 (synopsis "Accessing passwords from the GNOME keyring")
676 "Client library to access passwords from the GNOME keyring.")
678 ;; Though a couple of files are LGPLv2.1+.
679 (license license:lgpl2.0+)))
681 (define-public gnome-keyring
683 (name "gnome-keyring")
687 (uri (string-append "mirror://gnome/sources/" name "/"
688 (version-major+minor version) "/"
689 name "-" version ".tar.xz"))
692 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
693 (build-system gnu-build-system)
695 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
699 (string-append "--with-pkcs11-config="
700 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
701 (string-append "--with-pkcs11-modules="
702 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
704 (modify-phases %standard-phases
705 (add-after 'unpack 'fix-/bin/sh-reference
707 (substitute* "po/Makefile.in.in"
708 (("/bin/sh") (which "sh")))
711 'configure 'fix-docbook
712 (lambda* (#:key inputs #:allow-other-keys)
713 (substitute* "docs/Makefile.am"
714 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
715 (string-append (assoc-ref inputs "docbook-xsl")
716 "/xml/xsl/docbook-xsl-"
717 ,(package-version docbook-xsl)
718 "/manpages/docbook.xsl")))
719 (setenv "XML_CATALOG_FILES"
720 (string-append (assoc-ref inputs "docbook-xml")
721 "/xml/dtd/docbook/catalog.xml"))
722 ;; Rerun the whole thing to avoid version mismatch ("This is
723 ;; Automake 1.15.1, but the definition used by this
724 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
725 ;; use 'autoreconf' because it insists on running 'libtoolize'.
728 (invoke "automake" "-ac"))))))
730 `(("libgcrypt" ,libgcrypt)
731 ("linux-pam" ,linux-pam)
736 `(("pkg-config" ,pkg-config)
738 ("python" ,python-2) ;for tests
739 ("intltool" ,intltool)
740 ("autoconf" ,autoconf)
741 ("automake" ,automake)
742 ("libxslt" ,libxslt) ;for documentation
743 ("docbook-xml" ,docbook-xml-4.2)
744 ("docbook-xsl" ,docbook-xsl)))
745 (home-page "https://www.gnome.org")
746 (synopsis "Daemon to store passwords and encryption keys")
748 "gnome-keyring is a program that keeps passwords and other secrets for
749 users. It is run as a daemon in the session, similar to ssh-agent, and other
750 applications locate it via an environment variable or D-Bus.
752 The program can manage several keyrings, each with its own master password,
753 and there is also a session keyring which is never stored to disk, but
754 forgotten when the session ends.")
755 (license license:lgpl2.1+)))
757 (define-public evince
763 (uri (string-append "mirror://gnome/sources/" name "/"
764 (version-major+minor version) "/"
765 name "-" version ".tar.xz"))
768 "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89"))))
769 (build-system glib-or-gtk-build-system)
771 `(#:configure-flags '("--disable-nautilus")
773 (modify-phases %standard-phases
774 (add-before 'install 'skip-gtk-update-icon-cache
775 ;; Don't create 'icon-theme.cache'.
777 (substitute* "data/Makefile"
778 (("gtk-update-icon-cache") "true"))
781 `(("libarchive" ,libarchive)
783 ("libspectre" ,libspectre)
784 ("djvulibre" ,djvulibre)
785 ("ghostscript" ,ghostscript)
789 ;; Build libkpathsea as a shared library for DVI support.
790 ;; ("libkpathsea" ,texlive-bin)
791 ("gnome-desktop" ,gnome-desktop)
792 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
793 ("libgnome-keyring" ,libgnome-keyring)
794 ("adwaita-icon-theme" ,adwaita-icon-theme)
795 ("gdk-pixbuf" ,gdk-pixbuf)
803 ("shared-mime-info" ,shared-mime-info)
805 ("libcanberra" ,libcanberra)
806 ("libsecret" ,libsecret)
808 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
809 ;; propagated from there.
813 ("dogtail" ,python2-dogtail)))
815 `(("itstool" ,itstool)
816 ("intltool" ,intltool)
818 ("pkg-config" ,pkg-config)
819 ("xmllint" ,libxml2)))
821 "https://www.gnome.org/projects/evince/")
822 (synopsis "GNOME's document viewer")
824 "Evince is a document viewer for multiple document formats. It
825 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
826 of Evince is to replace the multiple document viewers that exist
827 on the GNOME Desktop with a single simple application.")
828 (license license:gpl2+)))
830 (define-public gsettings-desktop-schemas
832 (name "gsettings-desktop-schemas")
837 (uri (string-append "mirror://gnome/sources/" name "/"
838 (version-major+minor version) "/"
839 name "-" version ".tar.xz"))
842 "0rwidacwrxlc54x90h9g3wx2zlisc4vm49vmxi15azmpj1vwvd2c"))))
843 (build-system gnu-build-system)
847 `(("intltool" ,intltool)
848 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
849 ("gobject-introspection" ,gobject-introspection)
850 ("pkg-config" ,pkg-config)))
851 (home-page "https://launchpad.net/gsettings-desktop-schemas")
853 "GNOME settings for various desktop components")
855 "Gsettings-desktop-schemas contains a collection of GSettings schemas
856 for settings shared by various components of the GNOME desktop.")
857 (license license:lgpl2.1+)))
859 (define-public icon-naming-utils
861 (name "icon-naming-utils")
866 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
870 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
871 (build-system gnu-build-system)
874 ("perl-xml-simple" ,perl-xml-simple)))
877 (modify-phases %standard-phases
878 (add-after 'install 'set-load-paths
879 ;; Tell 'icon-name-mapping' where XML::Simple is.
880 (lambda* (#:key outputs #:allow-other-keys)
881 (let* ((out (assoc-ref outputs "out"))
882 (prog (string-append out "/libexec/icon-name-mapping")))
885 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
887 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
889 "Utility to implement the Freedesktop Icon Naming Specification")
891 "To help with the transition to the Freedesktop Icon Naming
892 Specification, the icon naming utility maps the icon names used by the
893 GNOME and KDE desktops to the icon names proposed in the specification.")
894 (license license:lgpl2.1+)))
896 (define-public gnome-icon-theme
898 (name "gnome-icon-theme")
903 (uri (string-append "mirror://gnome/sources/" name "/"
904 (version-major+minor version) "/"
905 name "-" version ".tar.xz"))
908 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
909 (build-system gnu-build-system)
912 ;; Don't create 'icon-theme.cache'.
913 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
914 (true (string-append coreutils "/bin/true")))
915 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
917 `(("icon-naming-utils" ,icon-naming-utils)
918 ("intltool" ,intltool)
919 ("pkg-config" ,pkg-config)))
920 (home-page "https://art.gnome.org/")
924 "Icons for the GNOME desktop.")
925 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
927 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
928 (define-public adwaita-icon-theme
929 (package (inherit gnome-icon-theme)
930 (name "adwaita-icon-theme")
934 (uri (string-append "mirror://gnome/sources/" name "/"
935 (version-major+minor version) "/"
936 name "-" version ".tar.xz"))
939 "0l114ildlb3lz3xymfxxi0wpr2x21rd3cg8slb8jyxynzwfqrbks"))))
941 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
943 (define-public tango-icon-theme
945 (name "tango-icon-theme")
949 (uri (string-append "http://tango.freedesktop.org/releases/"
950 "tango-icon-theme-" version ".tar.bz2"))
953 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
954 (build-system gnu-build-system)
956 `(("icon-naming-utils" ,icon-naming-utils)
957 ("intltool" ,intltool)
958 ("imagemagick" ,imagemagick)
959 ("pkg-config" ,pkg-config)))
960 (home-page "http://tango-project.org/")
961 (synopsis "Tango icon theme")
962 (description "This is an icon theme that follows the Tango visual
964 (license license:public-domain)))
966 (define-public shared-mime-info
968 (name "shared-mime-info")
972 (uri (string-append "https://freedesktop.org/~hadess/"
973 "shared-mime-info-" version ".tar.xz"))
976 "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw"))))
977 (build-system gnu-build-system)
979 ;; The build system appears not to be parallel-safe.
980 '(#:parallel-build? #f))
983 ("libxml2" ,libxml2)))
985 `(("intltool" ,intltool)
986 ("pkg-config" ,pkg-config)))
987 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
988 (synopsis "Database of common MIME types")
990 "The shared-mime-info package contains the core database of common types
991 and the update-mime-database command used to extend it. It requires glib2 to
992 be installed for building the update command. Additionally, it uses intltool
993 for translations, though this is only a dependency for the maintainers. This
994 database is translated at Transifex.")
995 (license license:gpl2+)))
997 (define-public system-config-printer
999 (name "system-config-printer")
1004 "https://github.com/zdohnal/system-config-printer/releases/"
1006 "/system-config-printer-" version ".tar.xz"))
1009 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
1010 (build-system glib-or-gtk-build-system)
1012 `(#:imported-modules ((guix build python-build-system)
1013 ,@%glib-or-gtk-build-system-modules)
1015 (modify-phases %standard-phases
1016 (add-after 'unpack 'patch-Makefile.am
1018 ;; The Makefile generates some scripts, so set a valid shebang
1019 (substitute* "Makefile.am"
1020 (("/bin/bash") (which "bash")))
1021 (delete-file "configure")
1023 (add-after 'unpack 'patch-docbook-xml
1024 (lambda* (#:key inputs #:allow-other-keys)
1025 ;; Modify the man XML otherwise xmlto tries to access the network
1026 (substitute* "man/system-config-printer.xml"
1027 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1028 (string-append (assoc-ref inputs "docbook-xml")
1029 "/xml/dtd/docbook/")))
1031 (add-after 'install 'wrap-for-python
1032 (@@ (guix build python-build-system) wrap))
1033 (add-after 'install 'wrap
1034 (lambda* (#:key outputs #:allow-other-keys)
1035 (let ((out (assoc-ref outputs "out"))
1036 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1039 (wrap-program program
1040 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1042 (string-append out "/bin/" name))
1043 '("system-config-printer"
1044 "system-config-printer-applet"
1045 "install-printerdriver"
1046 "scp-dbus-service"))))
1049 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1050 ("gobject-introspection" ,gobject-introspection)
1053 ("python-dbus" ,python-dbus)
1054 ("python-pygobject" ,python-pygobject)
1055 ("python-pycups" ,python-pycups)
1056 ("python-requests" ,python-requests)
1057 ("python-pycairo" ,python-pycairo)
1058 ("libnotify" ,libnotify)
1059 ("packagekit" ,packagekit)))
1061 `(("pkg-config" ,pkg-config)
1062 ("desktop-file-utils" ,desktop-file-utils)
1064 ("autoconf" ,autoconf)
1065 ("automake" ,automake)
1066 ("intltool" ,intltool)
1068 ("docbook-xml" ,docbook-xml-4.1.2)
1069 ("docbook-xsl" ,docbook-xsl)
1070 ("libxml2" ,libxml2)))
1071 (home-page "https://github.com/zdohnal/system-config-printer")
1072 (synopsis "CUPS administration tool")
1074 "system-config-printer is a CUPS administration tool. It's written in
1075 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1077 (license license:gpl2+)))
1079 (define-public hicolor-icon-theme
1081 (name "hicolor-icon-theme")
1086 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1087 "hicolor-icon-theme-" version ".tar.xz"))
1090 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1091 (build-system gnu-build-system)
1093 `(#:tests? #f)) ; no check target
1094 (home-page "https://icon-theme.freedesktop.org/releases/")
1096 "Freedesktop icon theme")
1098 "Freedesktop icon theme.")
1099 (license license:gpl2)))
1101 (define-public libnotify
1108 (uri (string-append "mirror://gnome/sources/" name "/"
1109 (version-major+minor version) "/"
1110 name "-" version ".tar.xz"))
1113 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1114 (build-system gnu-build-system)
1116 `(#:configure-flags '("--disable-static")))
1118 `(;; In Requires of libnotify.pc.
1119 ("gdk-pixbuf" ,gdk-pixbuf)
1123 ("libpng" ,libpng)))
1125 `(("pkg-config" ,pkg-config)
1126 ("glib" ,glib "bin")
1127 ("gobject-introspection" ,gobject-introspection)))
1128 (home-page "https://developer-next.gnome.org/libnotify/")
1130 "GNOME desktop notification library")
1132 "Libnotify is a library that sends desktop notifications to a
1133 notification daemon, as defined in the Desktop Notifications spec. These
1134 notifications can be used to inform the user about an event or display
1135 some form of information without getting in the user's way.")
1136 (license license:lgpl2.1+)))
1138 (define-public libpeas
1145 (uri (string-append "mirror://gnome/sources/" name "/"
1146 (version-major+minor version) "/"
1147 name "-" version ".tar.xz"))
1150 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1151 (build-system gnu-build-system)
1156 ("python-pygobject" ,python-pygobject)))
1158 `(("pkg-config" ,pkg-config)
1159 ("glib:bin" ,glib "bin")
1160 ("gobject-introspection" ,gobject-introspection)
1161 ("intltool" ,intltool)))
1163 ;; The .pc file "Requires" gobject-introspection.
1164 `(("gobject-introspection" ,gobject-introspection)))
1165 (home-page "https://wiki.gnome.org/Libpeas")
1166 (synopsis "GObject plugin system")
1168 "Libpeas is a gobject-based plugin engine, targeted at giving every
1169 application the chance to assume its own extensibility. It also has a set of
1170 features including, but not limited to: multiple extension points; on-demand
1171 (lazy) programming language support for C, Python and JS; simplicity of the
1173 (license license:lgpl2.0+)))
1175 (define-public gtkglext
1181 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1182 version "/gtkglext-" version ".tar.gz"))
1184 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1185 (patches (search-patches
1186 "gtkglext-disable-disable-deprecated.patch"))))
1187 (build-system gnu-build-system)
1190 (modify-phases %standard-phases
1191 ;; Fix a collision between a local variable and a definition from
1192 ;; glibc's string.h.
1193 (add-after 'unpack 'fix-collision
1195 (substitute* "gdk/gdkglshapes.c"
1196 ((" index") " triangle_index"))
1198 (inputs `(("gtk+" ,gtk+-2)
1203 (native-inputs `(("pkg-config" ,pkg-config)
1204 ("glib" ,glib "bin")))
1205 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1206 (home-page "https://projects.gnome.org/gtkglext")
1207 (synopsis "OpenGL extension to GTK+")
1208 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1209 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1210 API add-ons to make GTK+ widgets OpenGL-capable.")
1211 (license license:lgpl2.1+)))
1213 (define-public glade3
1219 (uri (string-append "mirror://gnome/sources/" name "/"
1220 (version-major+minor version) "/"
1221 name "-" version ".tar.xz"))
1224 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
1225 (build-system glib-or-gtk-build-system)
1227 `(#:tests? #f ; needs X, GL, and software rendering
1229 (modify-phases %standard-phases
1230 (add-before 'configure 'fix-docbook
1231 (lambda* (#:key inputs #:allow-other-keys)
1232 (substitute* "man/Makefile.in"
1233 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1234 (string-append (assoc-ref inputs "docbook-xsl")
1235 "/xml/xsl/docbook-xsl-"
1236 ,(package-version docbook-xsl)
1237 "/manpages/docbook.xsl")))
1241 ("libxml2" ,libxml2)))
1243 `(("intltool" ,intltool)
1244 ("itstool" ,itstool)
1245 ("libxslt" ,libxslt) ;for xsltproc
1246 ("docbook-xml" ,docbook-xml-4.2)
1247 ("docbook-xsl" ,docbook-xsl)
1248 ("python" ,python-2)
1249 ("pkg-config" ,pkg-config)))
1250 (home-page "https://glade.gnome.org")
1251 (synopsis "GTK+ rapid application development tool")
1252 (description "Glade is a rapid application development (RAD) tool to
1253 enable quick & easy development of user interfaces for the GTK+ toolkit and
1254 the GNOME desktop environment.")
1255 (license license:lgpl2.0+)))
1257 (define-public libcroco
1263 (uri (string-append "mirror://gnome/sources/" name "/"
1264 (version-major+minor version) "/"
1265 name "-" version ".tar.xz"))
1267 (search-patches "libcroco-CVE-2017-7960.patch"
1268 "libcroco-CVE-2017-7961.patch"))
1271 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1272 (build-system gnu-build-system)
1274 `(("pkg-config" ,pkg-config)))
1277 ("libxml2" ,libxml2)
1279 (home-page "https://github.com/GNOME/libcroco")
1280 (synopsis "CSS2 parsing and manipulation library")
1282 "Libcroco is a standalone CSS2 parsing and manipulation library.
1283 The parser provides a low level event driven SAC-like API and a CSS object
1284 model like API. Libcroco provides a CSS2 selection engine and an experimental
1285 XML/CSS rendering engine.")
1288 (license license:lgpl2.1)))
1290 (define-public libgsf
1296 (uri (string-append "mirror://gnome/sources/" name "/"
1297 (version-major+minor version) "/"
1298 name "-" version ".tar.xz"))
1301 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
1302 (build-system gnu-build-system)
1304 `(("intltool" ,intltool)
1305 ("pkg-config" ,pkg-config)))
1307 `(("python" ,python)
1311 `(("gdk-pixbuf" ,gdk-pixbuf)
1313 ("libxml2" ,libxml2)))
1314 (home-page "https://www.gnome.org/projects/libgsf")
1315 (synopsis "GNOME's Structured File Library")
1317 "Libgsf aims to provide an efficient extensible I/O abstraction for
1318 dealing with different structured file formats.")
1321 (license license:lgpl2.1)))
1323 (define-public librsvg
1329 (uri (string-append "mirror://gnome/sources/" name "/"
1330 (version-major+minor version) "/"
1331 name "-" version ".tar.xz"))
1334 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1335 (build-system gnu-build-system)
1338 (list "--disable-static"
1339 "--enable-vala") ; needed for e.g. gnome-mines
1341 (modify-phases %standard-phases
1342 (add-before 'configure 'pre-configure
1343 (lambda* (#:key inputs #:allow-other-keys)
1344 (substitute* "gdk-pixbuf-loader/Makefile.in"
1345 ;; By default the gdk-pixbuf loader is installed under
1346 ;; gdk-pixbuf's prefix. Work around that.
1347 (("gdk_pixbuf_moduledir = .*$")
1348 (string-append "gdk_pixbuf_moduledir = "
1349 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1351 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1352 (("gdk_pixbuf_cache_file = .*$")
1353 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1355 (add-before 'check 'remove-failing-tests
1357 (with-directory-excursion "tests/fixtures/reftests"
1358 (for-each delete-file
1359 '(;; This test fails on i686:
1360 "svg1.1/masking-path-04-b.svg"
1361 ;; This test fails on armhf:
1362 "svg1.1/masking-mask-01-b.svg"
1363 ;; This test fails on aarch64:
1364 "bugs/777834-empty-text-children.svg")))
1367 `(("pkg-config" ,pkg-config)
1369 ("glib" ,glib "bin") ; glib-mkenums, etc.
1370 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1373 ("libcroco" ,libcroco)
1376 ("libxml2" ,libxml2)))
1378 ;; librsvg-2.0.pc refers to all of that.
1380 ("gdk-pixbuf" ,gdk-pixbuf)
1382 (home-page "https://wiki.gnome.org/LibRsvg")
1383 (synopsis "Render SVG files using Cairo")
1385 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1387 (license license:lgpl2.0+)))
1389 (define-public librsvg-next
1395 (uri (string-append "mirror://gnome/sources/" name "/"
1396 (version-major+minor version) "/"
1397 name "-" version ".tar.xz"))
1400 "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6"))))
1401 (build-system gnu-build-system)
1404 (list "--disable-static"
1405 "--enable-vala") ; needed for e.g. gnome-mines
1406 #:make-flags '("CC=gcc")
1408 (modify-phases %standard-phases
1409 ;; Don't patch anything in vendor/ to avoid having to recompute
1410 ;; checksums for the bundled Cargo "crates". TODO: Unbundle those.
1411 (delete 'patch-source-shebangs)
1412 (delete 'patch-generated-file-shebangs)
1413 (delete 'patch-usr-bin-file)
1414 (add-before 'configure 'patch-all-the-things
1416 (for-each patch-shebang '("tap-driver.sh" "tap-test"))
1417 (patch-/usr/bin/file "configure")
1419 (add-before 'configure 'pre-configure
1420 (lambda* (#:key inputs #:allow-other-keys)
1421 (substitute* "gdk-pixbuf-loader/Makefile.in"
1422 ;; By default the gdk-pixbuf loader is installed under
1423 ;; gdk-pixbuf's prefix. Work around that.
1424 (("gdk_pixbuf_moduledir = .*$")
1425 (string-append "gdk_pixbuf_moduledir = "
1426 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1428 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1429 (("gdk_pixbuf_cache_file = .*$")
1430 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1432 (add-before 'check 'remove-failing-tests
1434 (with-directory-excursion "tests/fixtures/reftests"
1435 (for-each delete-file
1436 '(;; The images produced by these tests differ slightly
1437 ;; from their reference counterparts due to differences
1438 ;; in the build environment (missing fonts, etc). See
1439 ;; <tests/README.md> for details.
1440 ;; These fail on x86_64.
1441 "svg1.1/coords-viewattr-02-b.svg"
1442 "svg1.1/filters-composite-04-f.svg"
1443 "svg1.1/filters-image-01-b.svg"
1444 "svg1.1/filters-conv-02-f.svg"
1445 "svg1.1/filters-conv-04-f.svg"
1446 ;; This test fails on i686:
1447 "svg1.1/masking-path-04-b.svg"
1448 ;; This test fails on armhf:
1449 "svg1.1/masking-mask-01-b.svg"
1450 ;; This test fails on aarch64:
1451 "bugs/777834-empty-text-children.svg")))
1454 `(("pkg-config" ,pkg-config)
1455 ;; This is the minimum supported Rust version in Librsvg 2.44.
1457 ("cargo" ,rust-1.27 "cargo")
1459 ("glib" ,glib "bin") ; glib-mkenums, etc.
1460 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1463 ("libcroco" ,libcroco)
1466 ("libxml2" ,libxml2)))
1468 ;; librsvg-2.0.pc refers to all of that.
1470 ("gdk-pixbuf" ,gdk-pixbuf)
1472 (home-page "https://wiki.gnome.org/LibRsvg")
1473 (synopsis "Render SVG files using Cairo")
1475 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1477 (license license:lgpl2.0+)))
1479 (define-public libidl
1485 (uri (let ((upstream-name "libIDL"))
1486 (string-append "mirror://gnome/sources/" upstream-name "/"
1487 (version-major+minor version) "/"
1488 upstream-name "-" version ".tar.bz2")))
1491 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1492 (build-system gnu-build-system)
1493 (inputs `(("glib" ,glib)))
1495 `(("pkg-config" ,pkg-config)
1498 (home-page "http://freecode.com/projects/libidl")
1499 (synopsis "Create trees of CORBA Interface Definition Language files")
1500 (description "Libidl is a library for creating trees of CORBA Interface
1501 Definition Language (idl) files, which is a specification for defining
1502 portable interfaces. libidl was initially written for orbit (the orb from the
1503 GNOME project, and the primary means of libidl distribution). However, the
1504 functionality was designed to be as reusable and portable as possible.")
1505 (license license:lgpl2.0+)))
1508 (define-public orbit2
1514 (uri (let ((upstream-name "ORBit2"))
1515 (string-append "mirror://gnome/sources/" upstream-name "/"
1516 (version-major+minor version) "/"
1517 upstream-name "-" version ".tar.bz2")))
1520 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1521 (build-system gnu-build-system)
1524 '(;; We don't need static libraries, plus they don't build reproducibly
1525 ;; (non-deterministic ordering of .o files in the archive.)
1528 ;; The programmer kindly gives us a hook to turn off deprecation
1530 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1531 ;; ... which they then completly ignore !!
1533 (modify-phases %standard-phases
1534 (add-before 'configure 'ignore-deprecations
1536 (substitute* "linc2/src/Makefile.in"
1537 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1539 (inputs `(("glib" ,glib)
1540 ("libidl" ,libidl)))
1542 `(("pkg-config" ,pkg-config)))
1543 (home-page "https://projects.gnome.org/orbit2/")
1544 (synopsis "CORBA 2.4-compliant Object Request Broker")
1545 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1546 featuring mature C, C++ and Python bindings.")
1547 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1548 ;; a version. SOME of the code files have licence notices for GPLv2+.
1549 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1550 (license license:gpl2+)
1551 (properties `((upstream-name . "ORBit2")))))
1554 (define-public libbonobo
1560 (uri (string-append "mirror://gnome/sources/" name "/"
1561 (version-major+minor version)
1562 "/" name "-" version ".tar.bz2"))
1564 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1565 (patches (search-patches
1566 "libbonobo-activation-test-race.patch"))))
1567 (build-system gnu-build-system)
1569 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1571 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1572 ;; ... which they then completly ignore !!
1574 (modify-phases %standard-phases
1575 (add-before 'configure 'ignore-deprecations
1577 (substitute* "activation-server/Makefile.in"
1578 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1581 ;; There's apparently a race condition between the server stub
1582 ;; generation and linking of the example under 'samples/echo' that can
1583 ;; lead do undefined references when building in parallel, as reported
1584 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1585 ;; Thus, disable parallel builds.
1586 #:parallel-build? #f))
1587 (inputs `(("popt" ,popt)
1588 ("libxml2" ,libxml2)))
1589 ;; The following are Required by the .pc file
1592 ("orbit2" ,orbit2)))
1594 `(("intltool" ,intltool)
1595 ("pkg-config" ,pkg-config)
1596 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1599 (home-page "https://developer.gnome.org/libbonobo/")
1600 (synopsis "Framework for creating reusable components for use in GNOME applications")
1601 (description "Bonobo is a framework for creating reusable components for
1602 use in GNOME applications, built on top of CORBA.")
1603 ;; Licence not explicitly stated. Source files contain no licence notices.
1604 ;; Tarball contains text of both GPLv2 and LGPLv2
1605 ;; GPLv2 covers both conditions
1606 (license license:gpl2+)))
1609 (define-public gconf
1616 (let ((upstream-name "GConf"))
1617 (string-append "mirror://gnome/sources/" upstream-name "/"
1618 (version-major+minor version) "/"
1619 upstream-name "-" version ".tar.xz")))
1621 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1622 (build-system gnu-build-system)
1623 (inputs `(("dbus-glib" ,dbus-glib)
1624 ("libxml2" ,libxml2)))
1625 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1626 ("orbit2" ,orbit2)))
1628 `(("intltool" ,intltool)
1629 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1630 ("pkg-config" ,pkg-config)))
1631 (home-page "https://projects.gnome.org/gconf/")
1632 (synopsis "Store application preferences")
1633 (description "Gconf is a system for storing application preferences. It
1634 is intended for user preferences; not arbitrary data storage.")
1635 (license license:lgpl2.0+)
1636 (properties '((upstream-name . "GConf")))))
1639 (define-public gnome-mime-data
1641 (name "gnome-mime-data")
1645 (uri (string-append "mirror://gnome/sources/" name "/"
1646 (version-major+minor version) "/"
1647 name "-" version ".tar.bz2"))
1650 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1651 (build-system gnu-build-system)
1654 ("intltool" ,intltool)))
1656 '(#:phases (modify-phases %standard-phases
1657 (add-after 'configure 'use-our-intltool
1659 ;; Do not use the bundled intltool commands, which lack
1660 ;; the "dotless @INC" fixes of our 'intltool' package.
1661 (substitute* (find-files "." "^Makefile$")
1662 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1663 (string-append "INTLTOOL_" tool " = intltool-"
1664 (string-downcase tool) "\n")))
1666 (home-page "https://www.gnome.org")
1667 (synopsis "Base MIME and Application database for GNOME")
1668 (description "GNOME Mime Data is a module which contains the base MIME
1669 and Application database for GNOME. The data stored by this module is
1670 designed to be accessed through the MIME functions in GnomeVFS.")
1671 (license license:gpl2+)))
1674 (define-public gnome-vfs
1680 (uri (string-append "mirror://gnome/sources/" name "/"
1681 (version-major+minor version) "/"
1682 name "-" version ".tar.bz2"))
1685 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1686 (build-system gnu-build-system)
1689 (modify-phases %standard-phases
1690 (add-before 'configure 'ignore-deprecations
1692 (substitute* '("libgnomevfs/Makefile.in"
1693 "daemon/Makefile.in")
1694 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1696 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1698 (substitute* "test/test-async-cancel.c"
1699 (("EXIT_FAILURE") "77"))
1701 (inputs `(("libxml2" ,libxml2)
1702 ("dbus-glib" ,dbus-glib)
1704 ("gnome-mime-data" ,gnome-mime-data)
1707 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1708 ("intltool" ,intltool)
1709 ("pkg-config" ,pkg-config)))
1710 (home-page "https://developer.gnome.org/gnome-vfs/")
1711 (synopsis "Access files and folders in GNOME applications")
1713 "GnomeVFS is the core library used to access files and folders in GNOME
1714 applications. It provides a file system abstraction which allows applications
1715 to access local and remote files with a single consistent API.")
1716 (license license:lgpl2.0+)))
1720 (define-public libgnome
1726 (uri (string-append "mirror://gnome/sources/" name "/"
1727 (version-major+minor version) "/"
1728 name "-" version ".tar.bz2"))
1731 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1732 (patches (search-patches "libgnome-encoding.patch"))))
1733 (build-system gnu-build-system)
1736 (modify-phases %standard-phases
1737 (add-before 'configure 'enable-deprecated
1739 (substitute* "libgnome/Makefile.in"
1740 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1742 (inputs `(("libxml2" ,libxml2)))
1744 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1745 ("intltool" ,intltool)
1746 ("pkg-config" ,pkg-config)))
1747 ;; The following are listed as Required in the .pc file
1748 ;; (except for libcanberra -- which seems to be oversight on the part
1749 ;; of the upstream developers -- anything that links against libgnome,
1750 ;; must also link against libcanberra
1752 `(("libcanberra" ,libcanberra)
1753 ("libbonobo" ,libbonobo)
1755 ("gnome-vfs" ,gnome-vfs)
1756 ("popt" ,popt))) ;gnome-program.h includes popt.h
1757 (home-page "https://developer.gnome.org/libgnome/")
1758 (synopsis "Useful routines for building applications")
1759 (description "The libgnome library provides a number of useful routines
1760 for building modern applications, including session management, activation of
1761 files and URIs, and displaying help.")
1762 (license license:lgpl2.0+)))
1765 (define-public libart-lgpl
1767 (name "libart-lgpl")
1771 (uri (let ((upstream-name "libart_lgpl"))
1772 (string-append "mirror://gnome/sources/" upstream-name "/"
1773 (version-major+minor version) "/"
1774 upstream-name "-" version ".tar.bz2")))
1777 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1778 (build-system gnu-build-system)
1780 `(("pkg-config" ,pkg-config)))
1781 (home-page "https://people.gnome.org/~mathieu/libart")
1782 (synopsis "2D drawing library")
1783 (description "Libart is a 2D drawing library intended as a
1784 high-quality vector-based 2D library with antialiasing and alpha composition.")
1785 (license license:lgpl2.0+)))
1789 (define-public libgnomecanvas
1791 (name "libgnomecanvas")
1795 (uri (string-append "mirror://gnome/sources/" name "/"
1796 (version-major+minor version) "/"
1797 name "-" version ".tar.gz"))
1800 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1801 (build-system gnu-build-system)
1802 ;; Mentioned as Required in the .pc file
1803 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1806 `(("intltool" ,intltool)
1807 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1808 ("pkg-config" ,pkg-config)))
1809 (home-page "https://developer.gnome.org/libgnomecanvas/")
1810 (synopsis "Flexible widget for creating interactive structured graphics")
1811 (description "The GnomeCanvas widget provides a flexible widget for
1812 creating interactive structured graphics.")
1813 (license license:lgpl2.0+)))
1815 (define-public libgnomecanvasmm
1817 (name "libgnomecanvasmm")
1821 (uri (string-append "mirror://gnome/sources/" name "/"
1822 (version-major+minor version) "/"
1823 name "-" version ".tar.bz2"))
1826 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1827 (build-system gnu-build-system)
1829 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1830 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1832 `(("gtkmm-2" ,gtkmm-2)
1833 ("pkg-config" ,pkg-config)))
1834 (home-page "https://gtkmm.org")
1835 (synopsis "C++ bindings to the GNOME Canvas library")
1836 (description "C++ bindings to the GNOME Canvas library.")
1837 (license license:lgpl2.0+)))
1839 (define-public libgnomeui
1845 (uri (string-append "mirror://gnome/sources/" name "/"
1846 (version-major+minor version) "/"
1847 name "-" version ".tar.bz2"))
1848 (patches (search-patches "libgnomeui-utf8.patch"))
1851 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1852 (build-system gnu-build-system)
1853 ;; Mentioned as Required in the .pc file
1854 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1855 ("libgnome" ,libgnome)
1856 ("libgnomecanvas" ,libgnomecanvas)
1857 ("libgnome-keyring" ,libgnome-keyring)))
1858 (inputs `(("libjpeg" ,libjpeg)
1860 ("libbonobo" ,libbonobo)
1861 ("libxml2" ,libxml2)
1862 ("libglade" ,libglade)))
1864 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1865 ("intltool" ,intltool)
1866 ("pkg-config" ,pkg-config)))
1867 (home-page "https://developer.gnome.org/libgnomeui/")
1868 (synopsis "Additional widgets for applications")
1869 (description "The libgnomeui library provides additional widgets for
1870 applications. Many of the widgets from libgnomeui have already been
1872 (license license:lgpl2.0+)))
1874 (define-public libglade
1880 (uri (string-append "mirror://gnome/sources/" name "/"
1881 (version-major+minor version) "/"
1882 name "-" version ".tar.bz2"))
1885 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1886 (build-system gnu-build-system)
1888 `(("python" ,python))) ;; needed for the optional libglade-convert program
1890 `(("gtk+-2" ,gtk+-2)
1891 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1893 `(("pkg-config" ,pkg-config)))
1894 (home-page "https://developer.gnome.org/libglade")
1895 (synopsis "Load glade interfaces and access the glade built widgets")
1896 (description "Libglade is a library that provides interfaces for loading
1897 graphical interfaces described in glade files and for accessing the
1898 widgets built in the loading process.")
1899 (license license:gpl2+))) ; This is correct. GPL not LGPL
1901 (define-public libgnomeprint
1902 ;; This library has been deprecated since 2006; see
1903 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1905 (name "libgnomeprint")
1909 (uri (string-append "mirror://gnome/sources/" name "/"
1910 (version-major+minor version) "/"
1911 name "-" version ".tar.bz2"))
1914 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1915 (build-system gnu-build-system)
1918 ("libart-lgpl" ,libart-lgpl)
1920 ("libxml2" ,libxml2)))
1922 `(("intltool" ,intltool)
1923 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1924 ("pkg-config" ,pkg-config)))
1925 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1926 (synopsis "Printing framework for GNOME")
1928 "GNOME-print was a printing framework for GNOME. It has been deprecated
1929 since ca. 2006, when GTK+ itself incorporated printing support.")
1930 (license license:lgpl2.0+)))
1933 (define-public libgnomeprintui
1934 ;; Deprecated; see libgnomeprint.
1936 (name "libgnomeprintui")
1940 (uri (string-append "mirror://gnome/sources/" name "/"
1941 (version-major+minor version) "/"
1942 name "-" version ".tar.bz2"))
1945 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1946 (build-system gnu-build-system)
1947 ;; Mentioned as Required in the .pc file
1948 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1949 (inputs `(("gtk+" ,gtk+-2)
1951 ("gnome-icon-theme" ,gnome-icon-theme)
1952 ("libgnomecanvas" ,libgnomecanvas)
1953 ("libxml2" ,libxml2)))
1955 `(("intltool" ,intltool)
1956 ("pkg-config" ,pkg-config)))
1957 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1958 (synopsis "Printing framework for GNOME")
1959 (description (package-description libgnomeprint))
1960 (license license:lgpl2.0+)))
1962 (define-public libbonoboui
1964 (name "libbonoboui")
1968 (uri (string-append "mirror://gnome/sources/" name "/"
1969 (version-major+minor version) "/"
1970 name "-" version ".tar.bz2"))
1973 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1974 (build-system gnu-build-system)
1977 (modify-phases %standard-phases
1978 (add-before 'check 'start-xserver
1979 (lambda* (#:key inputs #:allow-other-keys)
1980 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1983 (setenv "HOME" (getcwd))
1984 (setenv "DISPLAY" disp)
1985 ;; There must be a running X server and make check doesn't start one.
1986 ;; Therefore we must do it.
1987 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1988 ;; Mentioned as Required by the .pc file
1989 (propagated-inputs `(("libxml2" ,libxml2)))
1992 ("pangox-compat" ,pangox-compat)
1993 ("libgnome" ,libgnome)
1994 ("libgnomecanvas" ,libgnomecanvas)
1995 ("libglade" ,libglade)))
1997 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1998 ("intltool" ,intltool)
1999 ("xorg-server" ,xorg-server) ; For running the tests
2000 ("pkg-config" ,pkg-config)))
2001 (home-page "https://developer.gnome.org/libbonoboui/")
2002 (synopsis "Some user interface controls using Bonobo")
2003 (description "The Bonobo UI library provides a number of user interface
2004 controls using the Bonobo component framework.")
2005 (license license:lgpl2.0+)))
2007 (define-public libwnck
2013 (uri (string-append "mirror://gnome/sources/" name "/"
2014 (version-major+minor version) "/"
2015 name "-" version ".tar.xz"))
2018 "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg"))))
2019 (build-system gnu-build-system)
2021 `(("pkg-config" ,pkg-config)
2022 ("intltool" ,intltool)))
2025 ("libxres" ,libxres)
2026 ("startup-notification" ,startup-notification)))
2027 (home-page "https://developer.gnome.org/libwnck/")
2028 (synopsis "Window Navigator Construction Kit")
2030 "Libwnck is the Window Navigator Construction Kit, a library for use in
2031 writing pagers, tasklists, and more generally applications that are dealing
2032 with window management. It tries hard to respect the Extended Window Manager
2033 Hints specification (EWMH).")
2034 (license license:lgpl2.0+)))
2036 ;; stable version for gtk2, required by xfwm4.
2037 (define-public libwnck-2
2038 (package (inherit libwnck)
2043 (uri (string-append "mirror://gnome/sources/" name "/"
2044 (version-major+minor version) "/"
2045 name "-" version ".tar.xz"))
2048 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2051 ("libxres" ,libxres)
2052 ("startup-notification" ,startup-notification)))))
2054 (define-public goffice
2060 (uri (string-append "mirror://gnome/sources/" name "/"
2061 (version-major+minor version) "/"
2062 name "-" version ".tar.xz"))
2064 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
2065 (build-system gnu-build-system)
2067 "doc")) ;4.0 MiB of gtk-doc
2069 '(#:configure-flags (list (string-append "--with-html-dir="
2070 (assoc-ref %outputs "doc")
2071 "/share/gtk-doc/html"))))
2075 ("librsvg" ,librsvg)
2076 ("libxslt" ,libxslt)
2077 ("libxml2" ,libxml2)))
2079 `(("intltool" ,intltool)
2080 ("glib" ,glib "bin")
2081 ("pkg-config" ,pkg-config)))
2082 (home-page "https://developer.gnome.org/goffice/")
2083 (synopsis "Document-centric objects and utilities")
2084 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2086 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2088 (list license:gpl2 license:gpl3))))
2090 (define-public goffice-0.8
2091 (package (inherit goffice)
2095 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2096 (version-major+minor version) "/"
2097 (package-name goffice) "-" version ".tar.xz"))
2099 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2102 (modify-phases %standard-phases
2103 (add-after 'unpack 'fix-pcre-check
2105 ;; Only glib.h can be included directly. See
2106 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2107 (substitute* "configure"
2108 (("glib/gregex\\.h") "glib.h")) #t)))
2110 ,@(package-arguments goffice)))
2112 ;; libgoffice-0.8.pc mentions libgsf-1
2113 `(("libgsf" ,libgsf)))
2116 ,@(alist-delete "gtk" (package-inputs goffice))))))
2118 (define-public gnumeric
2124 (uri (string-append "mirror://gnome/sources/gnumeric/"
2125 (version-major+minor version) "/"
2126 "gnumeric-" version ".tar.xz"))
2129 "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h"))))
2130 (build-system glib-or-gtk-build-system)
2132 `(;; The gnumeric developers don't worry much about failing tests.
2133 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2136 (modify-phases %standard-phases
2138 'configure 'pre-conf
2139 (lambda* (#:key outputs #:allow-other-keys)
2140 ;; Make install tries to write into the directory of goffice
2141 ;; I am informed that this only affects the possibility to embed a
2142 ;; spreadsheet inside an Abiword document. So presumably when we
2143 ;; package Abiword we'll have to refer it to this directory.
2144 (substitute* "configure"
2145 (("^GOFFICE_PLUGINS_DIR=.*")
2146 (string-append "GOFFICE_PLUGINS_DIR="
2147 (assoc-ref outputs "out")
2148 "/goffice/plugins"))))))))
2152 ("goffice" ,goffice)
2154 ("librsvg" ,librsvg)
2155 ("libxml2" ,libxml2)
2156 ("libxslt" ,libxslt)
2157 ("python" ,python-2)
2158 ("python2-pygobject" ,python2-pygobject)
2162 ("docbook-xml" ,docbook-xml)
2163 ("intltool" ,intltool)
2164 ("itstool" ,itstool)
2165 ("glib:bin" ,glib "bin")
2166 ("pkg-config" ,pkg-config)))
2167 (home-page "http://www.gnumeric.org")
2168 (synopsis "Spreadsheet application")
2170 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2171 interoperable with other spreadsheet applications. It has a vast array of
2172 features beyond typical spreadsheet functionality, such as support for linear
2173 and non-linear solvers, statistical analysis, and telecommunication
2176 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2177 (list license:gpl2 license:gpl3))))
2179 (define-public gnome-themes-standard
2181 (name "gnome-themes-standard")
2186 (uri (string-append "mirror://gnome/sources/" name "/"
2187 (version-major+minor version) "/" name "-"
2191 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2192 (build-system gnu-build-system)
2195 ;; Don't create 'icon-theme.cache'.
2196 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2197 (true (string-append coreutils "/bin/true")))
2198 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2202 ("librsvg" ,librsvg)
2203 ("libxml2" ,libxml2)
2206 `(("intltool" ,intltool)
2207 ("glib:bin" ,glib "bin")
2208 ("pkg-config" ,pkg-config)))
2209 (home-page "https://launchpad.net/gnome-themes-standard")
2210 (synopsis "Default GNOME 3 themes")
2212 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2213 (license license:lgpl2.1+)))
2215 (define-public seahorse
2222 (uri (string-append "mirror://gnome/sources/" name "/"
2223 (version-major+minor version) "/" name "-"
2227 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
2228 (build-system glib-or-gtk-build-system)
2234 ("openldap" ,openldap)
2235 ("openssh" ,openssh)
2236 ("libsecret" ,libsecret)
2237 ("libsoup" ,libsoup)))
2239 `(("intltool" ,intltool)
2240 ("glib:bin" ,glib "bin")
2241 ("itstool" ,itstool)
2242 ("pkg-config" ,pkg-config)
2243 ("xmllint" ,libxml2)))
2244 (home-page "https://launchpad.net/gnome-themes-standard")
2245 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2247 "Seahorse is a GNOME application for managing encryption keys and
2248 passwords in the GNOME keyring.")
2249 (license license:gpl2+)))
2257 (uri (string-append "mirror://gnome/sources/" name "/"
2258 (version-major+minor version) "/"
2259 name "-" version ".tar.xz"))
2262 "0yvaijkpahzz26sa37cyzbj75a9vbcbgvxbqzzb7hbcvfy009zy7"))))
2263 (build-system gnu-build-system)
2266 (modify-phases %standard-phases
2267 (add-before 'check 'pre-check
2270 (substitute* "valadoc/tests/testrunner.sh"
2271 (("export PKG_CONFIG_PATH=" m)
2272 (string-append m "$PKG_CONFIG_PATH:")))
2273 ;; For missing '/etc/machine-id'.
2274 (setenv "DBUS_FATAL_WARNINGS" "0")
2277 `(("pkg-config" ,pkg-config)
2280 ("xsltproc" ,libxslt)
2283 ("dbus" ,dbus) ; for dbus tests
2284 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2286 `(("graphviz" ,graphviz)))
2288 `(("glib" ,glib))) ; required by libvala-0.40.pc
2289 (home-page "https://live.gnome.org/Vala/")
2290 (synopsis "Compiler for the GObject type system")
2292 "Vala is a programming language that aims to bring modern programming
2293 language features to GNOME developers without imposing any additional runtime
2294 requirements and without using a different ABI compared to applications and
2295 libraries written in C.")
2296 (license license:lgpl2.1+)))
2304 (uri (string-append "mirror://gnome/sources/" name "/"
2305 (version-major+minor version) "/"
2306 name "-" version ".tar.xz"))
2309 "1br6kg0wzf1wmww1hadihhcpqbamalqmbppfdzjvzk1ayp75f9hg"))))
2310 (build-system gnu-build-system)
2312 `(("pkg-config" ,pkg-config)
2313 ("intltool" ,intltool)
2315 ("gobject-introspection" ,gobject-introspection)
2316 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2318 ("xmllint" ,libxml2)))
2320 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2321 ("gnutls" ,gnutls) ;ditto
2322 ("pcre2" ,pcre2))) ;ditto
2323 (home-page "https://www.gnome.org/")
2324 (synopsis "Virtual Terminal Emulator")
2326 "VTE is a library (libvte) implementing a terminal emulator widget for
2327 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2328 gnome-terminal, but can also be used to embed a console/terminal in games,
2329 editors, IDEs, etc.")
2330 (license license:lgpl2.1+)))
2332 (define-public vte-ng
2336 (version "0.56.2.a")
2337 (home-page "https://github.com/thestinger/vte-ng")
2340 (uri (git-reference (url home-page) (commit version)))
2341 (file-name (git-file-name name version))
2344 "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki"))))
2346 `(("gtk-doc" ,gtk-doc)
2349 ("autoconf" ,autoconf)
2350 ("automake" ,automake)
2351 ("libtool" ,libtool)
2352 ,@(package-native-inputs vte)))
2354 `(#:phases (modify-phases %standard-phases
2357 ;; Work around GCC7 problem: <https://bugs.gnu.org/30756>.
2358 (for-each unsetenv '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"))
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 "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx"))
2636 (patches (search-patches "glib-networking-connection.patch"))))
2637 (build-system meson-build-system)
2639 `(#:configure-flags '("-Dlibproxy_support=false")
2640 #:phases (modify-phases %standard-phases
2641 (add-before 'check 'disable-TLSv1.3
2643 ;; XXX: One test fails when TLS 1.3 is enabled, fixed in 2.60.0:
2644 ;; <https://gitlab.com/gnutls/gnutls/issues/615>.
2645 (setenv "G_TLS_GNUTLS_PRIORITY" "NORMAL:-VERS-TLS1.3")
2648 `(("pkg-config" ,pkg-config)
2649 ("intltool" ,intltool)))
2653 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2654 ("p11-kit" ,p11-kit)))
2655 (home-page "https://www.gnome.org")
2656 (synopsis "Network-related GIO modules")
2658 "This package contains various network related extensions for the GIO
2660 (license license:lgpl2.0+)))
2668 (uri (string-append "mirror://gnome/sources/rest/"
2669 (version-major+minor version) "/"
2670 name "-" version ".tar.xz"))
2673 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2674 (build-system gnu-build-system)
2676 '(#:tests? #f ; tests require internet connection
2678 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2680 `(("glib-mkenums" ,glib "bin")
2681 ("gobject-introspection" ,gobject-introspection)
2682 ("pkg-config" ,pkg-config)))
2684 ;; rest-0.7.pc refers to all these.
2686 ("libsoup" ,libsoup)
2687 ("libxml2" ,libxml2)))
2688 (home-page "https://www.gtk.org/")
2689 (synopsis "RESTful web api query library")
2691 "This library was designed to make it easier to access web services that
2692 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2693 libxml to ease remote use of the RESTful API.")
2694 (license license:lgpl2.1+)))
2696 (define-public libsoup
2702 (uri (string-append "mirror://gnome/sources/libsoup/"
2703 (version-major+minor version) "/"
2704 name "-" version ".tar.xz"))
2707 "0amfw1yvy1kjrg41rfh2vvrw5gkwnyckqbw1fab50hm6xc1acbmx"))))
2708 (build-system meson-build-system)
2709 (outputs '("out" "doc"))
2711 `(#:modules ((guix build utils)
2712 (guix build meson-build-system)
2715 #:configure-flags '("-Ddoc=true")
2717 (modify-phases %standard-phases
2718 (add-after 'unpack 'adjust-tests
2720 ;; This test fails due to missing /etc/nsswitch.conf
2721 ;; in the build environment.
2722 (substitute* "tests/socket-test.c"
2723 ((".*/sockets/unconnected.*") ""))
2725 ;; Generate a self-signed certificate that has "localhost" as its
2726 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2727 ;; 3.5.12, tests such as "ssl-tests" fail:
2729 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2731 ;; 'certtool' is interactive so we have to pipe it the answers.
2732 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2733 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2734 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2735 (for-each (lambda (line)
2740 "Guix" ;Organizational unit name
2741 "GNU" ;Organization name
2743 "" ;State or province
2745 "" ;subject's domain component (DC)
2748 "-1" ;expiration time
2749 "N" ;belong to authority?
2750 "N" ;web client certificate?
2752 "Y" ;web server certificate?
2753 "localhost" ;dnsName of subject
2754 "" ;dnsName of subject (end)
2756 "127.0.0.1" ;IP address of subject
2758 "" ;encryption (RSA)?
2759 "" ;data encryption?
2760 "" ;sign OCSP requests?
2763 "" ;email protection?
2764 "" ;URI of the CRL distribution point
2769 (add-after 'install 'move-doc
2770 (lambda* (#:key outputs #:allow-other-keys)
2771 (let ((out (assoc-ref outputs "out"))
2772 (doc (assoc-ref outputs "doc")))
2773 (mkdir-p (string-append doc "/share"))
2774 (copy-recursively (string-append out "/share/gtk-doc")
2775 (string-append doc "/share/gtk-doc"))
2776 (delete-file-recursively (string-append out "/share/gtk-doc"))
2779 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2780 ("gobject-introspection" ,gobject-introspection)
2781 ("gtk-doc" ,gtk-doc)
2782 ("intltool" ,intltool)
2783 ("pkg-config" ,pkg-config)
2784 ("python" ,python-wrapper)
2786 ;; These are needed for the tests.
2787 ;; FIXME: Add PHP once available.
2789 ("gnutls" ,gnutls) ;for 'certtool'
2792 ;; libsoup-2.4.pc refers to all these.
2795 ("libxml2" ,libxml2)
2796 ("sqlite" ,sqlite)))
2798 `(("glib-networking" ,glib-networking)
2799 ("mit-krb5" ,mit-krb5)))
2800 (home-page "https://live.gnome.org/LibSoup/")
2801 (synopsis "GLib-based HTTP Library")
2803 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2804 and the GLib main loop, to integrate well with GNOME applications.")
2805 (license license:lgpl2.0+)))
2807 (define-public libsecret
2814 "mirror://gnome/sources/libsecret/"
2815 (version-major+minor version) "/"
2816 "libsecret-" version ".tar.xz"))
2819 "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5"))))
2820 (build-system gnu-build-system)
2821 (outputs '("out" "doc"))
2823 `(#:tests? #f ; FIXME: Testing hangs.
2825 (list (string-append "--with-html-dir="
2826 (assoc-ref %outputs "doc")
2827 "/share/gtk-doc/html"))))
2829 `(("gettext" ,gettext-minimal)
2830 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2831 ("gobject-introspection" ,gobject-introspection)
2832 ("pkg-config" ,pkg-config)
2834 ("xsltproc" ,libxslt)))
2835 ;; These are needed for the tests.
2836 ;; FIXME: Add gjs once available.
2838 ;("python2" ,python-2)
2839 ;("python2-dbus" ,python2-dbus)
2840 ;("python2-pygobject" ,python2-pygobject)
2841 ;("python2-pygobject-2" ,python2-pygobject-2)))
2843 `(("glib" ,glib))) ; required by libsecret-1.pc
2845 `(("docbook-xsl" ,docbook-xsl)
2846 ("libgcrypt" ,libgcrypt)
2847 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2848 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2849 (synopsis "GObject bindings for \"Secret Service\" API")
2851 "Libsecret is a GObject based library for storing and retrieving passwords
2852 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2853 (license license:lgpl2.1+)))
2855 (define-public five-or-more
2857 (name "five-or-more")
2862 (uri (string-append "mirror://gnome/sources/" name "/"
2863 (version-major+minor version) "/"
2864 name "-" version ".tar.xz"))
2867 "1fy4a7qdjqvabm0cl45d6xlx6hy4paxvm0b2paifff73bl250d5c"))))
2868 (build-system glib-or-gtk-build-system)
2870 `(("pkg-config" ,pkg-config)
2871 ("desktop-file-utils" ,desktop-file-utils)
2872 ("intltool" ,intltool)
2873 ("itstool" ,itstool)
2874 ("xmllint" ,libxml2)))
2877 ("librsvg" ,librsvg)))
2878 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2879 (synopsis "Logic puzzle game")
2880 (description "Five or More is a game where you try to align
2881 five or more objects of the same color and shape causing them to disappear.
2882 On every turn more objects will appear, until the board is full.
2883 Try to last as long as possible.")
2884 (license license:gpl2+)))
2886 (define-public gnome-mines
2888 (name "gnome-mines")
2893 (uri (string-append "mirror://gnome/sources/" name "/"
2894 (version-major+minor version) "/"
2895 name "-" version ".tar.xz"))
2898 "16w55hqaxipcv870n9gpn6qiywbqbyg7bjshaa02r75ias8dfxvf"))))
2899 (build-system meson-build-system)
2902 (modify-phases %standard-phases
2903 (delete 'bootstrap))))
2905 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
2906 ("pkg-config" ,pkg-config)
2907 ("desktop-file-utils" ,desktop-file-utils)
2908 ("intltool" ,intltool)
2909 ("itstool" ,itstool)
2912 ("appstream-glib" ,appstream-glib)))
2915 ("libgnome-games-support" ,libgnome-games-support)
2916 ("librsvg" ,librsvg)))
2917 (home-page "https://wiki.gnome.org/Apps/Mines")
2918 (synopsis "Minesweeper game")
2920 "Mines (previously gnomine) is a puzzle game where you locate mines
2921 floating in an ocean using only your brain and a little bit of luck.")
2922 (license license:gpl2+)))
2924 (define-public gnome-sudoku
2926 (name "gnome-sudoku")
2931 (uri (string-append "mirror://gnome/sources/" name "/"
2932 (version-major+minor version) "/"
2933 name "-" version ".tar.xz"))
2936 "07b4lzniaf3gjsss6zl1lslv18smwc4nrijykvn2z90f423q2xav"))))
2937 (build-system glib-or-gtk-build-system)
2939 `(("pkg-config" ,pkg-config)
2940 ("desktop-file-utils" ,desktop-file-utils)
2941 ("intltool" ,intltool)
2942 ("itstool" ,itstool)
2943 ("xmllint" ,libxml2)))
2946 ("json-glib" ,json-glib)
2948 ("librsvg" ,librsvg)
2949 ("qqwing" ,qqwing)))
2950 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2951 (synopsis "Japanese logic game")
2953 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2954 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2955 possible while still providing features that make playing difficult Sudoku
2957 (license license:gpl2+)))
2959 (define-public gnome-terminal
2961 (name "gnome-terminal")
2966 (uri (string-append "mirror://gnome/sources/" name "/"
2967 (version-major+minor version) "/"
2968 name "-" version ".tar.xz"))
2971 "0ybjansg6lr279191w8z8r45gy4rxwzw1ajm98cgkv0fk2jdr0x2"))))
2972 (build-system glib-or-gtk-build-system)
2975 (list "--disable-migration" "--disable-search-provider"
2976 "--without-nautilus-extension")
2978 (modify-phases %standard-phases
2979 (add-before 'configure 'patch-/bin/true
2981 (substitute* "configure"
2982 (("/bin/true") (which "true"))))))))
2984 `(("pkg-config" ,pkg-config)
2985 ("desktop-file-utils" ,desktop-file-utils)
2986 ("intltool" ,intltool)
2987 ("itstool" ,itstool)
2988 ("xmllint" ,libxml2)))
2990 `(("dconf" ,dconf)))
2995 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2996 ("util-linux" ,util-linux)
2998 (home-page "https://wiki.gnome.org/Apps/Terminal")
2999 (synopsis "Terminal emulator")
3001 "GNOME Terminal is a terminal emulator application for accessing a
3002 UNIX shell environment which can be used to run programs available on
3005 It supports several profiles, multiple tabs and implements several
3006 keyboard shortcuts.")
3007 (license license:gpl3+)))
3009 (define-public colord
3016 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3017 name "-" version ".tar.xz"))
3020 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
3021 (build-system glib-or-gtk-build-system)
3023 '(;; The tests want to run valgrind. Punt for now.
3025 #:configure-flags (list "--localstatedir=/var"
3026 ;; GUSB not packaged yet.
3028 ;; No dep on systemd.
3029 "--disable-systemd-login"
3030 ;; Wants to install to global completion dir;
3032 "--disable-bash-completion"
3033 ;; colord-gtk not packaged yet.
3034 "--disable-session-example"
3035 "--with-daemon-user=colord"
3037 (string-append "--with-udevrulesdir="
3038 (assoc-ref %outputs "out")
3039 "/lib/udev/rules.d"))
3041 (modify-phases %standard-phases
3042 (add-before 'configure 'patch-/bin/true
3044 (substitute* "configure"
3045 (("/bin/true") (which "true")))
3046 (substitute* "src/Makefile.in"
3047 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
3048 "if test -w $(DESTDIR)$(localstatedir);")))))))
3050 `(("pkg-config" ,pkg-config)
3051 ("gobject-introspection" ,gobject-introspection)
3052 ("libtool" ,libtool)
3053 ("intltool" ,intltool)))
3055 ;; colord.pc refers to all these.
3060 `(("dbus-glib" ,dbus-glib)
3061 ("libgudev" ,libgudev)
3065 ("sane-backends" ,sane-backends)))
3066 (home-page "https://www.freedesktop.org/software/colord/")
3067 (synopsis "Color management service")
3068 (description "Colord is a system service that makes it easy to manage,
3069 install and generate color profiles to accurately color manage input and
3071 (license license:gpl2+)))
3073 (define-public geoclue
3080 (uri (string-append "https://www.freedesktop.org/software/" name
3081 "/releases/" (version-major+minor version) "/"
3082 name "-" version ".tar.xz"))
3085 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
3086 (patches (search-patches "geoclue-config.patch"))))
3087 (build-system glib-or-gtk-build-system)
3089 '(;; The tests want to run the system bus.
3091 #:configure-flags (list ;; Disable bits requiring ModemManager.
3092 "--disable-3g-source"
3093 "--disable-cdma-source"
3094 "--disable-modem-gps-source"
3095 "--with-dbus-service-user=geoclue")
3097 (modify-phases %standard-phases
3098 (add-before 'configure 'patch-/bin/true
3100 (substitute* "configure"
3101 (("/bin/true") (which "true")))
3104 `(("pkg-config" ,pkg-config)
3105 ("gobject-introspection" ,gobject-introspection)
3106 ("intltool" ,intltool)))
3110 ("json-glib" ,json-glib)
3111 ("libsoup" ,libsoup)))
3112 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3113 (synopsis "Geolocation service")
3114 (description "Geoclue is a D-Bus service that provides location
3115 information. The primary goal of the Geoclue project is to make creating
3116 location-aware applications as simple as possible, while the secondary goal is
3117 to ensure that no application can access location information without explicit
3118 permission from user.")
3119 (license license:gpl2+)))
3121 (define-public geocode-glib
3123 (name "geocode-glib")
3127 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3128 (version-major+minor version) "/"
3129 name "-" version ".tar.xz"))
3132 "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a"))))
3133 (build-system meson-build-system)
3136 (modify-phases %standard-phases
3137 ;; The tests require a bunch of locales.
3138 (add-before 'check 'set-locales
3139 (lambda* (#:key inputs #:allow-other-keys)
3140 (setenv "GUIX_LOCPATH"
3141 (string-append (assoc-ref inputs "glibc-locales")
3145 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3146 ("glibc-locales" ,glibc-locales) ; for tests
3147 ("gettext" ,gettext-minimal)
3148 ("gobject-introspection" ,gobject-introspection)
3149 ("gtk-doc" ,gtk-doc)
3150 ("pkg-config" ,pkg-config)
3151 ("json-glib" ,json-glib)))
3153 ;; geocode-glib-1.0.pc refers to GIO.
3156 `(("libsoup" ,libsoup)))
3157 (home-page "https://github.com/GNOME/geocode-glib/")
3158 (synopsis "Geocoding and reverse-geocoding library")
3160 "geocode-glib is a convenience library for geocoding (finding longitude,
3161 and latitude from an address) and reverse geocoding (finding an address from
3162 coordinates) using the Nominatim service. geocode-glib caches requests for
3163 faster results and to avoid unnecessary server load.")
3164 (license license:lgpl2.0+)))
3166 (define-public upower
3172 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3173 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
3174 "upower-" version ".tar.xz"))
3177 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
3178 (patches (search-patches "upower-builddir.patch"))))
3179 (build-system glib-or-gtk-build-system)
3181 '( ;; The tests want to contact the system bus, which can't be done in the
3182 ;; build environment. The integration test can run, but the last of
3183 ;; the up-self-tests doesn't. Disable tests for now.
3185 #:configure-flags (list "--localstatedir=/var"
3186 (string-append "--with-udevrulesdir="
3187 (assoc-ref %outputs "out")
3188 "/lib/udev/rules.d"))))
3190 `(("gobject-introspection" ,gobject-introspection)
3191 ("pkg-config" ,pkg-config)
3192 ("intltool" ,intltool)
3196 ("libxslt" ,libxslt) ;for 'xsltproc'
3197 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3198 ("docbook-xsl" ,docbook-xsl)))
3200 `(("dbus-glib" ,dbus-glib)
3201 ("libgudev" ,libgudev)
3202 ("libusb" ,libusb)))
3204 ;; In Requires of upower-glib.pc.
3206 (home-page "https://upower.freedesktop.org/")
3207 (synopsis "System daemon for managing power devices")
3209 "UPower is an abstraction for enumerating power devices,
3210 listening to device events and querying history and statistics. Any
3211 application or service on the system can access the org.freedesktop.UPower
3212 service via the system message bus.")
3213 (license license:gpl2+)))
3215 (define-public libgweather
3217 (name "libgweather")
3221 (uri (string-append "mirror://gnome/sources/" name "/"
3222 (version-major+minor version) "/"
3223 name "-" version ".tar.xz"))
3226 "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708"))))
3227 (build-system meson-build-system)
3229 `(#:tests? #f ; one of two tests requires network access
3231 `(,(string-append "-Dzoneinfo_dir="
3232 (assoc-ref %build-inputs "tzdata")
3233 "/share/zoneinfo"))))
3235 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3236 ("gobject-introspection" ,gobject-introspection)
3237 ("pkg-config" ,pkg-config)
3239 ("intltool" ,intltool)))
3241 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3244 ("gdk-pixbuf" ,gdk-pixbuf)
3245 ("libxml2" ,libxml2)
3246 ("libsoup" ,libsoup)
3247 ("geocode-glib" ,geocode-glib)))
3249 `(("tzdata" ,tzdata)))
3250 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3251 (synopsis "Location, time zone, and weather library for GNOME")
3253 "libgweather is a library to access weather information from online
3254 services for numerous locations.")
3255 (license license:gpl2+)))
3257 (define-public gnome-settings-daemon
3259 (name "gnome-settings-daemon")
3264 (uri (string-append "mirror://gnome/sources/" name "/"
3265 (version-major+minor version) "/"
3266 name "-" version ".tar.xz"))
3269 "0z9dip9p0iav646cmxisii5sbkdr9hmaklc5fzvschpbjkhphksr"))))
3270 (build-system meson-build-system)
3274 (list (string-append "-Dudev_dir="
3275 (assoc-ref %outputs "out")
3276 "/lib/udev/rules.d/")
3277 ;; Otherwise, the RUNPATH will lack the final path component.
3278 (string-append "-Dc_link_args=-Wl,-rpath="
3279 (assoc-ref %outputs "out")
3280 "/lib/gnome-settings-daemon-3.0"))
3281 ;; Color management test can't reach the colord system service.
3284 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3285 ("pkg-config" ,pkg-config)
3286 ("intltool" ,intltool)
3287 ("xsltproc" ,libxslt)
3288 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3289 ("docbook-xml" ,docbook-xml-4.2)
3290 ("docbook-xsl" ,docbook-xsl)))
3292 `(("alsa-lib" ,alsa-lib)
3294 ("libgudev" ,libgudev)
3297 ("pulseaudio" ,pulseaudio)
3298 ("libcanberra" ,libcanberra)
3300 ("libxtst" ,libxtst)
3302 ("libnotify" ,libnotify)
3303 ("geoclue" ,geoclue)
3304 ("geocode-glib" ,geocode-glib)
3305 ("libgweather" ,libgweather)
3306 ("gnome-desktop" ,gnome-desktop)
3309 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3310 ("libwacom" ,libwacom)
3311 ("librsvg" ,librsvg)
3312 ("xf86-input-wacom" ,xf86-input-wacom)
3313 ("wayland" ,wayland)
3314 ("network-manager" ,network-manager)))
3315 (home-page "https://www.gnome.org")
3316 (synopsis "GNOME settings daemon")
3318 "This package contains the daemon responsible for setting the various
3319 parameters of a GNOME session and the applications that run under it. It
3320 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3321 settings, themes, mouse settings, and startup of other daemons.")
3322 (license license:gpl2+)))
3324 (define-public totem-pl-parser
3326 (name "totem-pl-parser")
3330 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3331 (version-major+minor version) "/"
3332 "totem-pl-parser-" version ".tar.xz"))
3335 "0k5pnka907invgds48d73c1xx1a366v5dcld3gr2l1dgmjwc9qka"))))
3336 (build-system meson-build-system)
3338 ;; FIXME: Tests require gvfs.
3341 `(("intltool" ,intltool)
3342 ("glib" ,glib "bin")
3343 ("gobject-introspection" ,gobject-introspection)
3344 ("pkg-config" ,pkg-config)))
3348 ("libarchive" ,libarchive)
3349 ("libgcrypt" ,libgcrypt)
3350 ("libxml2" ,libxml2)))
3352 `(("nettle" ,nettle)
3353 ("libsoup" ,libsoup)))
3354 (home-page "https://projects.gnome.org/totem")
3355 (synopsis "Library to parse and save media playlists for GNOME")
3356 (description "Totem-pl-parser is a GObjects-based library to parse and save
3357 playlists in a variety of formats.")
3358 (license license:lgpl2.0+)))
3360 (define-public aisleriot
3366 (uri (string-append "mirror://gnome/sources/aisleriot/"
3367 (version-major+minor version) "/"
3368 "aisleriot-" version ".tar.xz"))
3371 "15pm39679ymxki07sb5nvhycz4z53zwbvascyp5wm4864bn98815"))))
3372 (build-system glib-or-gtk-build-system)
3375 '("--with-platform=gtk-only"
3376 "--with-card-theme-formats=svg")))
3378 `(("desktop-file-utils" ,desktop-file-utils)
3379 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3380 ("intltool" ,intltool)
3381 ("itstool" ,itstool)
3382 ("pkg-config" ,pkg-config)
3383 ("xmllint" ,libxml2)))
3386 ("guile" ,guile-2.2)
3387 ("libcanberra" ,libcanberra)
3388 ("librsvg" ,librsvg)))
3389 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3390 (synopsis "Solitaire card games")
3392 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3393 which are easy to play with the aid of a mouse.")
3394 (license license:gpl3+)))
3396 (define-public devhelp
3402 (uri (string-append "mirror://gnome/sources/" name "/"
3403 (version-major+minor version) "/"
3404 name "-" version ".tar.xz"))
3407 "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s"))))
3408 (build-system glib-or-gtk-build-system)
3410 `(("intltool" ,intltool)
3411 ("itstool" ,itstool)
3412 ("pkg-config" ,pkg-config)))
3414 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3415 ("webkitgtk" ,webkitgtk)))
3416 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3417 (synopsis "API documentation browser for GNOME")
3419 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3420 natively with GTK-Doc (the API reference system developed for GTK+ and used
3421 throughout GNOME for API documentation).")
3422 (license license:gpl2+)))
3431 (uri (string-append "mirror://gnome/sources/" name "/"
3432 (version-major+minor version) "/"
3433 name "-" version ".tar.xz"))
3436 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3437 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3438 ;; cogl, corresponding changes may be appropriate in mutter as well.
3439 (build-system gnu-build-system)
3441 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3442 ("gobject-introspection" ,gobject-introspection)
3443 ;;("xorg-server" ,xorg-server) ; for the test suite
3444 ("pkg-config" ,pkg-config)))
3447 ("gdk-pixbuf" ,gdk-pixbuf)
3449 ("libxext" ,libxext)
3450 ("libxfixes" ,libxfixes)
3451 ("libxdamage" ,libxdamage)
3452 ("libxcomposite" ,libxcomposite)
3453 ("libxrandr" ,libxrandr)))
3458 ("gstreamer" ,gstreamer)
3459 ("gst-plugins-base" ,gst-plugins-base)
3460 ("wayland" ,wayland)))
3462 `(#:configure-flags (list "--enable-cogl-gst"
3463 "--enable-wayland-egl-platform"
3464 "--enable-wayland-egl-server"
3466 ;; Arrange to pass an absolute file name to
3467 ;; dlopen for libGL.so.
3468 (string-append "--with-gl-libname="
3469 (assoc-ref %build-inputs "mesa")
3471 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3472 ;; _FontTransOpen: Unable to Parse address
3473 ;; ${prefix}/share/fonts/X11/misc/
3477 (modify-phases %standard-phases
3478 (add-before 'check 'start-xorg-server
3479 (lambda* (#:key inputs #:allow-other-keys)
3480 ;; The test suite requires a running X server.
3481 (system (format #f "~a/bin/Xvfb :1 &"
3482 (assoc-ref inputs "xorg-server")))
3483 (setenv "DISPLAY" ":1")
3485 (home-page "http://www.cogl3d.org")
3486 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3488 "Cogl is a small library for using 3D graphics hardware to draw pretty
3489 pictures. The API departs from the flat state machine style of OpenGL and is
3490 designed to make it easy to write orthogonal components that can render
3491 without stepping on each others toes.")
3492 (license (list license:expat ; most of the code
3493 license:bsd-3 ; cogl/cogl-point-in-poly.c
3494 license:sgifreeb2.0 ; cogl-path/tesselator/
3495 license:asl2.0)))) ; examples/android/
3497 (define-public clutter
3504 (uri (string-append "mirror://gnome/sources/" name "/"
3505 (version-major+minor version) "/"
3506 name "-" version ".tar.xz"))
3509 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3510 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3511 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3512 (build-system gnu-build-system)
3514 "doc")) ;9 MiB of gtk-doc HTML pages
3516 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3517 ("gobject-introspection" ,gobject-introspection)
3518 ("pkg-config" ,pkg-config)
3519 ("xsltproc" ,libxslt)))
3525 ("json-glib" ,json-glib)
3527 ("libxcomposite" ,libxcomposite)
3528 ("libxdamage" ,libxdamage)
3529 ("libxext" ,libxext)
3530 ("xinput" ,xinput)))
3532 `(("libxkbcommon" ,libxkbcommon)
3535 `(#:configure-flags (list "--enable-x11-backend=yes"
3537 ;; This produces share/doc/{clutter,cally}.
3538 (string-append "--with-html-dir="
3539 (assoc-ref %outputs "doc")
3541 ;; XXX FIXME: Get test suite working. It would probably fail in the
3542 ;; same way the cogl tests fail, since clutter is based on cogl.
3544 (home-page "http://www.clutter-project.org")
3545 (synopsis "OpenGL-based interactive canvas library")
3547 "Clutter is an OpenGL-based interactive canvas library, designed for
3548 creating fast, mainly 2D single window applications such as media box UIs,
3549 presentations, kiosk style applications and so on.")
3550 (license license:lgpl2.0+)))
3552 (define-public clutter-gtk
3554 (name "clutter-gtk")
3559 (uri (string-append "mirror://gnome/sources/" name "/"
3560 (version-major+minor version) "/"
3561 name "-" version ".tar.xz"))
3564 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3565 (build-system gnu-build-system)
3567 `(("pkg-config" ,pkg-config)
3568 ("gobject-introspection" ,gobject-introspection)))
3570 ;; clutter-gtk.pc refers to all these.
3571 `(("clutter" ,clutter)
3573 (home-page "http://www.clutter-project.org")
3574 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
3576 "Clutter is an OpenGL-based interactive canvas library, designed for
3577 creating fast, mainly 2D single window applications such as media box UIs,
3578 presentations, kiosk style applications and so on.")
3579 (license license:lgpl2.0+)))
3581 (define-public clutter-gst
3583 (name "clutter-gst")
3588 (uri (string-append "mirror://gnome/sources/clutter-gst/"
3589 (version-major+minor version) "/"
3590 "clutter-gst-" version ".tar.xz"))
3592 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
3593 (build-system gnu-build-system)
3595 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3596 ("pkg-config" ,pkg-config)
3597 ("gobject-introspection" ,gobject-introspection)))
3599 `(("clutter" ,clutter)
3600 ("gstreamer" ,gstreamer)
3601 ("gst-plugins-base" ,gst-plugins-base)))
3602 (home-page "http://www.clutter-project.org")
3603 (synopsis "Integration library for using GStreamer with Clutter")
3605 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3606 It provides a GStreamer sink to upload frames to GL and an actor that
3607 implements the ClutterGstPlayer interface using playbin. Clutter is an
3608 OpenGL-based interactive canvas library.")
3609 (license license:lgpl2.0+)))
3611 (define-public libchamplain
3613 (name "libchamplain")
3618 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3622 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3623 (build-system gnu-build-system)
3624 (arguments '(#:configure-flags '("--enable-vala")))
3626 `(("gobject-introspection" ,gobject-introspection)
3627 ("pkg-config" ,pkg-config)
3630 `(("libsoup" ,libsoup)
3632 ("clutter" ,clutter)
3633 ("clutter-gtk" ,clutter-gtk)
3634 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3638 (home-page "https://projects.gnome.org/libchamplain/")
3639 (synopsis "C library providing a ClutterActor to display maps")
3641 "libchamplain is a C library providing a ClutterActor to display maps.
3642 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3643 and Perl bindings are also available. It supports numerous free map sources
3644 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3645 (license license:lgpl2.1+)))
3654 (uri (string-append "mirror://gnome/sources/gom/"
3655 (version-major+minor version) "/"
3656 "gom-" version ".tar.xz"))
3659 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3660 (build-system gnu-build-system)
3662 `(("intltool" ,intltool)
3663 ("pkg-config" ,pkg-config)
3664 ("gobject-introspection" ,gobject-introspection)))
3667 ("gdk-pixbuf" ,gdk-pixbuf)
3668 ("sqlite" ,sqlite)))
3669 ;; XXX TODO: Figure out how to run the test suite.
3670 (arguments `(#:tests? #f))
3671 (home-page "https://wiki.gnome.org/Projects/Gom")
3672 (synopsis "Object mapper from GObjects to SQLite")
3674 "Gom provides an object mapper from GObjects to SQLite. It helps you
3675 write applications that need to store structured data as well as make complex
3676 queries upon that data.")
3677 (license license:lgpl2.1+)))
3679 (define-public libgnome-games-support
3681 (name "libgnome-games-support")
3685 (uri (string-append "mirror://gnome/sources/" name "/"
3686 (version-major+minor version) "/"
3687 name "-" version ".tar.xz"))
3690 "1j7lfcnc29lgn8ppn13wkn9w2y1n3lsapagwp91zh3bf0h2h4hv1"))))
3691 (build-system gnu-build-system)
3694 (modify-phases %standard-phases
3695 (add-before 'check 'pre-check
3697 ;; Tests require a writable HOME.
3698 (setenv "HOME" (getcwd))
3701 `(("intltool" ,intltool)
3702 ("pkg-config" ,pkg-config)
3705 ;; Required by libgnome-games-support-1.0.pc
3707 ("libgee" ,libgee)))
3708 (home-page "https://www.gnome.org/")
3709 (synopsis "Useful functionality shared among GNOME games")
3711 "libgnome-games-support is a small library intended for internal use by
3712 GNOME Games, but it may be used by others.")
3713 (license license:lgpl3+)))
3715 (define-public gnome-klotski
3717 (name "gnome-klotski")
3721 (uri (string-append "mirror://gnome/sources/" name "/"
3722 (version-major+minor version) "/"
3723 name "-" version ".tar.xz"))
3726 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3727 (build-system glib-or-gtk-build-system)
3729 `(("desktop-file-utils" ,desktop-file-utils)
3730 ("intltool" ,intltool)
3731 ("itstool" ,itstool)
3732 ("pkg-config" ,pkg-config)
3733 ("xmllint" ,libxml2)))
3736 ("libgnome-games-support" ,libgnome-games-support)
3737 ("librsvg" ,librsvg)))
3738 (home-page "https://wiki.gnome.org/Apps/Klotski")
3739 (synopsis "Sliding block puzzles")
3741 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3742 the patterned block to the area bordered by green markers. To do so, you will
3743 need to slide other blocks out of the way. Complete each puzzle in as few moves
3745 (license license:gpl2+)))
3747 (define-public grilo
3754 (uri (string-append "mirror://gnome/sources/" name "/"
3755 (version-major+minor version) "/"
3756 name "-" version ".tar.xz"))
3759 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3760 (build-system gnu-build-system)
3762 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3763 ("intltool" ,intltool)
3764 ("pkg-config" ,pkg-config)
3765 ("gobject-introspection" ,gobject-introspection)))
3767 `(("cyrus-sasl" ,cyrus-sasl)
3770 ("libxml2" ,libxml2)
3771 ("liboauth" ,liboauth)
3772 ("libsoup" ,libsoup)
3774 ("totem-pl-parser" ,totem-pl-parser)))
3777 (modify-phases %standard-phases
3778 (add-after 'unpack 'fix-introspection-install-dir
3779 (lambda* (#:key outputs #:allow-other-keys)
3780 (let ((out (assoc-ref outputs "out")))
3781 (substitute* '("src/Makefile.in"
3782 "libs/pls/Makefile.in"
3783 "libs/net/Makefile.in")
3784 (("@INTROSPECTION_GIRDIR@")
3785 (string-append out "/share/gir-1.0/"))
3786 (("@INTROSPECTION_TYPELIBDIR@")
3787 (string-append out "/lib/girepository-1.0/")))
3789 (native-search-paths
3790 (list (search-path-specification
3791 (variable "GRL_PLUGIN_PATH")
3792 (files (list (string-append "lib/grilo-"
3793 (version-major+minor version)))))))
3794 (home-page "https://live.gnome.org/Grilo")
3795 (synopsis "Framework for discovering and browsing media")
3797 "Grilo is a framework focused on making media discovery and browsing easy
3798 for application developers.")
3799 (license license:lgpl2.1+)))
3801 (define-public grilo-plugins
3803 (name "grilo-plugins")
3808 (uri (string-append "mirror://gnome/sources/" name "/"
3809 (version-major+minor version) "/"
3810 name "-" version ".tar.xz"))
3813 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3814 (build-system gnu-build-system)
3816 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3817 ("intltool" ,intltool)
3818 ("itstool" ,itstool)
3819 ("pkg-config" ,pkg-config)))
3822 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3824 ("libxml2" ,libxml2)
3827 ;; XXX TODO: Add oauth
3828 ;; XXX TODO: Add goa
3829 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3830 ;; XXX TODO: Add lua (needs help finding it)
3831 ("json-glib" ,json-glib)
3834 ("libsoup" ,libsoup)
3835 ("libarchive" ,libarchive)
3836 ("totem-pl-parser" ,totem-pl-parser)))
3838 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3841 ,(version-major+minor version)))
3842 ;; XXX FIXME: Try to get the test suite working. It appears to require
3843 ;; a working system dbus. Inside the build container, all tests fail
3844 ;; with: "assertion failed: (source)". Outside of the build container,
3845 ;; most tests succeed.
3847 (home-page "https://live.gnome.org/Grilo")
3848 (synopsis "Plugins for the Grilo media discovery library")
3850 "Grilo is a framework focused on making media discovery and browsing easy
3851 for application developers.")
3852 (license license:lgpl2.1+)))
3854 (define-public totem
3861 (uri (string-append "mirror://gnome/sources/" name "/"
3862 (version-major+minor version) "/"
3863 name "-" version ".tar.xz"))
3866 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
3867 (patches (search-patches "totem-meson-easy-codec.patch"
3868 "totem-meson-compat.patch"))))
3869 (build-system meson-build-system)
3871 `(("pkg-config" ,pkg-config)
3872 ("desktop-file-utils" ,desktop-file-utils)
3873 ("gobject-introspection" ,gobject-introspection)
3874 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3875 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3876 ("intltool" ,intltool)
3877 ("itstool" ,itstool)
3878 ("xmllint" ,libxml2)))
3880 `(("dconf" ,dconf)))
3883 ("gdk-pixbuf" ,gdk-pixbuf)
3886 ("dbus-glib" ,dbus-glib)
3887 ("clutter" ,clutter)
3888 ("clutter-gtk" ,clutter-gtk)
3889 ("clutter-gst" ,clutter-gst)
3890 ("xorgproto" ,xorgproto)
3891 ("libxxf86vm" ,libxxf86vm)
3892 ("libxtst" ,libxtst)
3893 ("libxrandr" ,libxrandr)
3894 ("libxml2" ,libxml2)
3895 ("libsoup" ,libsoup)
3896 ("libpeas" ,libpeas)
3897 ("librsvg" ,librsvg)
3899 ("gnome-desktop" ,gnome-desktop)
3900 ("gstreamer" ,gstreamer)
3901 ("gst-plugins-base" ,gst-plugins-base)
3902 ("gst-plugins-good" ,gst-plugins-good)
3903 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3904 ("adwaita-icon-theme" ,adwaita-icon-theme)
3905 ;; XXX We use python-2 because libxml2 because itstool (which needs
3906 ;; libxml) currently uses python-2.
3907 ("python" ,python-2)
3908 ("python-pygobject" ,python2-pygobject)
3909 ;; XXX TODO pylint needed for python support
3910 ("totem-pl-parser" ,totem-pl-parser)
3912 ("grilo-plugins" ,grilo-plugins)
3918 ;; Disable parallel builds until
3919 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3920 ;; fixed. Try enabling it when updating this package in case
3921 ;; upstream has fixed it.
3922 #:parallel-build? #f
3924 ;; Disable automatic GStreamer plugin installation via PackageKit and
3926 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3928 ;; Do not build .a files for the plugins, it's
3929 ;; completely useless. This saves 2 MiB.
3930 "--default-library" "shared")
3933 (modify-phases %standard-phases
3935 'install 'disable-cache-generation
3937 (setenv "DESTDIR" "/")
3940 'install 'wrap-totem
3941 (lambda* (#:key inputs outputs #:allow-other-keys)
3942 (let ((out (assoc-ref outputs "out"))
3943 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3944 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3945 (wrap-program (string-append out "/bin/totem")
3946 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3947 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3948 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3949 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3951 (home-page "https://wiki.gnome.org/Apps/Videos")
3952 (synopsis "Simple media player for GNOME based on GStreamer")
3953 (description "Totem is a simple yet featureful media player for GNOME
3954 which can read a large number of file formats.")
3955 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3956 ;; to be used and distributed together with GStreamer and Totem. See
3957 ;; file://COPYING in the source distribution for details.
3958 (license license:gpl2+)))
3960 (define-public rhythmbox
3966 (uri (string-append "mirror://gnome/sources/" name "/"
3967 (version-major+minor version) "/"
3968 name "-" version ".tar.xz"))
3971 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
3972 (build-system glib-or-gtk-build-system)
3975 (list "--enable-lirc"
3982 (modify-phases %standard-phases
3984 'install 'wrap-rhythmbox
3985 (lambda* (#:key inputs outputs #:allow-other-keys)
3986 (let ((out (assoc-ref outputs "out"))
3987 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3988 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3989 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3990 (python-path (getenv "PYTHONPATH")))
3991 (wrap-program (string-append out "/bin/rhythmbox")
3992 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3993 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3994 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3995 `("PYTHONPATH" ":" prefix (,python-path))))
3998 `(("dconf" ,dconf)))
4000 `(("itstool" ,itstool)
4001 ("intltool" ,intltool)
4002 ("glib" ,glib "bin")
4003 ("gobject-introspection" ,gobject-introspection)
4004 ("desktop-file-utils" ,desktop-file-utils)
4005 ("pkg-config" ,pkg-config)
4006 ("xmllint" ,libxml2)))
4008 `(("json-glib" ,json-glib)
4010 ("gnome-desktop" ,gnome-desktop)
4012 ("python-pygobject" ,python2-pygobject)
4016 ("adwaita-icon-theme" ,adwaita-icon-theme)
4018 ("grilo-plugins" ,grilo-plugins)
4019 ("gstreamer" ,gstreamer)
4020 ("gst-plugins-base" ,gst-plugins-base)
4021 ("gst-plugins-good" ,gst-plugins-good)
4022 ("totem-pl-parser" ,totem-pl-parser)
4023 ("libgudev" ,libgudev)
4024 ;;("libmtp" ,libmtp) FIXME: Not detected
4025 ("libsecret" ,libsecret)
4026 ("libsoup" ,libsoup)
4027 ("libnotify" ,libnotify)
4028 ("libpeas" ,libpeas)
4030 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4031 ;;("clutter" ,clutter)
4032 ;;("clutter-gtk" ,clutter-gtk)
4033 ;;("clutter-gst" ,clutter-gst)
4034 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4041 ("brasero" ,brasero)))
4042 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4043 (synopsis "Music player for GNOME")
4044 (description "Rhythmbox is a music playing application for GNOME. It
4045 supports playlists, song ratings, and any codecs installed through gstreamer.")
4046 (license license:gpl2+)))
4054 (uri (string-append "mirror://gnome/sources/" name "/"
4055 (version-major+minor version) "/"
4056 name "-" version ".tar.xz"))
4059 "1gasrfqi7qrzdq1idh29r0n6ikkqjb6pbp7a8k5krfz5hkhyfin0"))))
4060 (build-system meson-build-system)
4063 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4064 (list (string-append "-Dc_link_args=-Wl,-rpath="
4065 (assoc-ref %outputs "out") "/lib/eog"))
4067 (modify-phases %standard-phases
4068 (add-after 'install 'wrap-eog
4069 (lambda* (#:key outputs #:allow-other-keys)
4070 (let ((out (assoc-ref outputs "out"))
4071 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4072 (wrap-program (string-append out "/bin/eog")
4073 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4076 `(("dconf" ,dconf)))
4078 `(("intltool" ,intltool)
4079 ("itstool" ,itstool)
4080 ("glib" ,glib "bin")
4081 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4082 ("gobject-introspection" ,gobject-introspection)
4083 ("pkg-config" ,pkg-config)
4084 ("xmllint" ,libxml2)))
4086 `(("gnome-desktop" ,gnome-desktop)
4087 ("shared-mime-info" ,shared-mime-info)
4088 ("adwaita-icon-theme" ,adwaita-icon-theme)
4091 ("libexif" ,libexif)
4092 ("libpeas" ,libpeas)
4093 ("libjpeg" ,libjpeg)
4094 ("librsvg" ,librsvg)
4095 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4097 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4098 (synopsis "GNOME image viewer")
4099 (description "Eye of GNOME is the GNOME image viewer. It
4100 supports image conversion, rotation, and slideshows.")
4101 (license license:gpl2+)))
4103 (define-public eog-plugins
4104 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4105 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4106 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4107 ;; 'XDG_DATA_DIRS' appropriately set.
4109 (name "eog-plugins")
4113 (uri (string-append "mirror://gnome/sources/eog-plugins/"
4114 (version-major+minor version) "/"
4115 "eog-plugins-" version ".tar.xz"))
4118 "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3"))))
4119 (build-system gnu-build-system)
4120 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4121 (synopsis "Extensions for the Eye of GNOME image viewer")
4123 `(("pkg-config" ,pkg-config)
4124 ("gettext" ,gnu-gettext)))
4129 ("libpeas" ,libpeas)
4130 ("libexif" ,libexif)
4131 ("libchamplain" ,libchamplain)))
4133 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4137 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4138 @item @dfn{Map}, which displays a map of where the picture was taken on the
4140 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4143 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4144 ;; long suspicious byte stream that goes to a
4145 ;; ".gresource.eog_postasa_plugin" ELF section.
4146 (license license:gpl2+)))
4148 (define-public libgudev
4154 (uri (string-append "mirror://gnome/sources/" name "/"
4155 version "/" name "-" version ".tar.xz"))
4158 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
4159 (build-system gnu-build-system)
4162 ;; umockdev depends on libgudev.
4163 (list "--disable-umockdev")))
4165 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4166 ("gobject-introspection" ,gobject-introspection)
4167 ("pkg-config" ,pkg-config)))
4169 `(("glib" ,glib))) ; required by gudev-1.0.pc
4172 (home-page "https://wiki.gnome.org/Projects/libgudev")
4173 (synopsis "GObject bindings for libudev")
4175 "This library provides GObject bindings for libudev. It was originally
4176 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4177 (license license:lgpl2.1+)))
4185 (uri (string-append "mirror://gnome/sources/" name "/"
4186 (version-major+minor version) "/"
4187 name "-" version ".tar.xz"))
4190 "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4"))))
4191 (build-system gnu-build-system)
4193 '(#:tests? #f ; XXX: requiring `pidof'
4195 (modify-phases %standard-phases
4196 (add-after 'unpack 'remove-broken-autogen-script
4197 (lambda _ (delete-file "autogen.sh") #t)))))
4199 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4200 ("autoconf" ,autoconf)
4201 ("automake" ,automake)
4202 ("gettext" ,gettext-minimal)
4203 ("gtk-doc" ,gtk-doc)
4204 ("libtool" ,libtool)
4205 ("pkg-config" ,pkg-config)
4206 ("xsltproc" ,libxslt)))
4209 ("docbook-xml" ,docbook-xml-4.2)
4210 ("docbook-xsl" ,docbook-xsl)
4215 ("libarchive" ,libarchive)
4216 ("libbluray" ,libbluray)
4218 ("libcdio-paranoia" ,libcdio-paranoia)
4219 ("libgcrypt" ,libgcrypt)
4220 ("libgphoto2" ,libgphoto2)
4221 ("libgudev" ,libgudev)
4222 ("libimobiledevice" ,libimobiledevice)
4224 ("libsecret" ,libsecret)
4225 ("libsmbclient" ,samba)
4226 ("libsoup" ,libsoup)
4227 ("libxml2" ,libxml2)
4228 ("nettle" ,nettle) ; XXX: required by libarchive.pc
4230 ("udisks" ,udisks)))
4231 (home-page "https://wiki.gnome.org/gvfs/")
4232 (synopsis "Userspace virtual file system for GIO")
4234 "GVFS is a userspace virtual file system designed to work with the I/O
4235 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4236 to all applications using the GIO API. It also supports exposing the GVFS
4237 mounts to non-GIO applications using FUSE.
4239 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4241 (license license:lgpl2.0+)))
4249 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4253 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4254 (build-system meson-build-system)
4256 `(("gobject-introspection" ,gobject-introspection)
4257 ("pkg-config" ,pkg-config)
4259 ("gtk-doc" ,gtk-doc)))
4261 ;; Both of these are required by gusb.pc.
4263 ("libusb" ,libusb)))
4265 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4266 (home-page "https://github.com/hughsie/libgusb")
4267 (synopsis "GLib binding for libusb1")
4269 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4270 asynchronous control, bulk and interrupt transfers with proper cancellation
4271 and integration into a mainloop. This makes it easy to integrate low level
4272 USB transfers with your high-level application or system daemon.")
4273 (license license:lgpl2.1+)))
4275 (define-public simple-scan
4277 (name "simple-scan")
4281 (uri (string-append "https://launchpad.net/simple-scan/"
4282 (version-major+minor version) "/"
4283 version "/+download/simple-scan-"
4287 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4288 (build-system glib-or-gtk-build-system)
4293 ("gdk-pixbuf" ,gdk-pixbuf)
4295 ("libsane" ,sane-backends)))
4297 `(("gettext" ,gettext-minimal)
4298 ("itstool" ,itstool)
4300 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4301 ("pkg-config" ,pkg-config)
4303 ("xmllint" ,libxml2)))
4305 '(#:configure-flags '("--disable-packagekit")
4307 (modify-phases %standard-phases
4308 (add-after 'unpack 'clean
4310 ;; Remove a left-over reference to PackageKit.
4312 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4314 ;; There are some generated C files erroneously
4315 ;; included in the source distribution, and this
4316 ;; one breaks the build by referring to a
4317 ;; non-existent header (packagekit.h)
4318 (delete-file "src/ui.c"))))))
4319 (home-page "https://launchpad.net/simple-scan")
4320 (synopsis "Document and image scanner")
4321 (description "Simple Scan is an easy-to-use application, designed to let
4322 users connect their scanner and quickly have the image/document in an
4323 appropriate format. Simple Scan is basically a frontend for SANE - which is
4324 the same backend as XSANE uses. This means that all existing scanners will
4325 work and the interface is well tested.")
4326 (license license:gpl3+)))
4328 (define-public eolie
4334 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4335 "uploads/d42b466752729a0d3fa828a721e25043/"
4336 "eolie-" version ".tar.xz"))
4339 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
4340 (build-system meson-build-system)
4344 (modify-phases %standard-phases
4345 (add-after 'wrap 'wrap-more
4346 (lambda* (#:key inputs outputs #:allow-other-keys)
4347 (let* ((out (assoc-ref outputs "out"))
4348 ;; These libraries must be on LD_LIBRARY_PATH.
4349 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4350 "atk" "gtk+" "gsettings-desktop-schemas"
4351 "gcc:lib" ; needed b/c webkitgtk is built with gcc-7
4352 "gobject-introspection"))
4355 (string-append (assoc-ref inputs lib) "/lib"))
4358 (wrap-program (string-append out "/bin/eolie")
4359 `("LD_LIBRARY_PATH" ":" prefix (,path))
4360 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4361 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4364 `(("gcc:lib" ,gcc-7 "lib") ; needed because webkitgtk is built with gcc-7
4365 ("intltool" ,intltool)
4366 ("itstool" ,itstool)
4367 ("pkg-config" ,pkg-config)
4369 ("glib:bin" ,glib "bin")
4370 ("gtk+" ,gtk+ "bin")))
4372 `(("gobject-introspection" ,gobject-introspection)
4373 ("glib-networking" ,glib-networking)
4376 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4377 ("python" ,python-wrapper)
4378 ("python-dateutil" ,python-dateutil)
4379 ("python-pyfxa" ,python-pyfxa)
4380 ("python-pygobject" ,python-pygobject)
4381 ("python-pycairo" ,python-pycairo)
4382 ("python-pycrypto" ,python-pycrypto)
4383 ("libsecret" ,libsecret)
4384 ("gtkspell3" ,gtkspell3)
4385 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4386 ("webkitgtk" ,webkitgtk-2.24)))
4387 (home-page "https://wiki.gnome.org/Apps/Eolie")
4388 (synopsis "Web browser for GNOME")
4390 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4391 a secret password store, an adblocker, and a modern UI.")
4392 (license license:gpl3+)))
4394 (define-public epiphany
4397 (version "3.28.3.1")
4400 (uri (string-append "mirror://gnome/sources/epiphany/"
4401 (version-major+minor version) "/"
4402 "epiphany-" version ".tar.xz"))
4405 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
4407 (build-system meson-build-system)
4409 ;; FIXME: tests run under Xvfb, but fail with:
4410 ;; /src/bookmarks/ephy-bookmarks/create:
4411 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4417 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4418 (list (string-append "-Dc_link_args=-Wl,-rpath="
4419 (assoc-ref %outputs "out") "/lib/epiphany"))))
4421 `(("dconf" ,dconf)))
4423 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4424 ("gcc" ,gcc-7) ; needed because webkitgtk-2.22 is compiled with gcc-7
4425 ("glib:bin" ,glib "bin") ; for glib-mkenums
4426 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4427 ("intltool" ,intltool)
4428 ("itstool" ,itstool)
4429 ("pkg-config" ,pkg-config)
4430 ("xmllint" ,libxml2)))
4434 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4435 ("glib-networking" ,glib-networking)
4436 ("gnome-desktop" ,gnome-desktop)
4437 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4438 ("json-glib" ,json-glib)
4439 ("iso-codes" ,iso-codes)
4440 ("libnotify" ,libnotify)
4441 ("libsecret" ,libsecret)
4442 ("libxslt" ,libxslt)
4443 ("nettle" ,nettle) ; for hogweed
4445 ("webkitgtk" ,webkitgtk-2.24)))
4446 (home-page "https://wiki.gnome.org/Apps/Web")
4447 (synopsis "GNOME web browser")
4449 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4450 principles are simplicity and standards compliance.")
4451 (license license:gpl2+)))
4453 (define-public d-feet
4459 (uri (string-append "mirror://gnome/sources/" name "/"
4460 (version-major+minor version) "/"
4461 name "-" version ".tar.xz"))
4464 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
4465 (build-system glib-or-gtk-build-system)
4467 '(#:out-of-source? #f ; tests need to run in the source directory.
4469 (modify-phases %standard-phases
4473 ;; The test suite requires a running X server.
4474 (system "Xvfb :1 &")
4475 (setenv "DISPLAY" ":1")
4476 ;; Don't fail on missing '/etc/machine-id'.
4477 (setenv "DBUS_FATAL_WARNINGS" "0")
4478 ;; tests.py and window.py don't meet E402:
4479 ;; E402 module level import not at top of file
4480 (substitute* "src/tests/Makefile"
4481 (("--ignore=E123") "--ignore=E123,E402"))
4484 'install 'wrap-program
4485 (lambda* (#:key outputs #:allow-other-keys)
4486 (let ((prog (string-append (assoc-ref outputs "out")
4489 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4490 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4493 `(("intltool" ,intltool)
4494 ("itstool" ,itstool)
4495 ("pkg-config" ,pkg-config)
4496 ("python-pep8" ,python-pep8)
4497 ("xmllint" ,libxml2)
4498 ("xorg-server" ,xorg-server)))
4500 `(("gobject-introspection" ,gobject-introspection)
4502 ("python" ,python-wrapper)
4503 ("hicolor-icon-theme" ,hicolor-icon-theme)
4504 ("python-pygobject" ,python-pygobject)))
4505 (home-page "https://wiki.gnome.org/Apps/DFeet")
4506 (synopsis "D-Bus debugger")
4508 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4509 of running programs and invoke methods on those interfaces.")
4510 (license license:gpl2+)))
4512 (define-public yelp-xsl
4518 (uri (string-append "mirror://gnome/sources/" name "/"
4519 (version-major+minor version) "/"
4520 name "-" version ".tar.xz"))
4523 "14rznm1qpsnmkwksnkd5j7zplakl01kvrcw0fdmd5gdc65xz9kcc"))))
4524 (build-system gnu-build-system)
4526 `(("intltool" ,intltool)
4527 ("itstool" ,itstool)
4528 ("xmllint" ,libxml2)))
4529 (home-page "https://wiki.gnome.org/Apps/Yelp")
4530 (synopsis "XSL stylesheets for Yelp")
4532 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4533 to format Docbook and Mallard documents.")
4534 (license license:gpl2+)))
4542 (uri (string-append "mirror://gnome/sources/" name "/"
4543 (version-major+minor version) "/"
4544 name "-" version ".tar.xz"))
4547 "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8"))))
4548 (build-system glib-or-gtk-build-system)
4550 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4551 ("intltool" ,intltool)
4552 ("itstool" ,itstool)
4553 ("pkg-config" ,pkg-config)))
4555 `(("dconf" ,dconf)))
4557 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4558 ("libxslt" ,libxslt)
4560 ("webkitgtk" ,webkitgtk)
4561 ("yelp-xsl" ,yelp-xsl)))
4562 (home-page "https://wiki.gnome.org/Apps/Yelp")
4563 (synopsis "GNOME help browser")
4565 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4566 man, info, and HTML documents. It can locate documents according to the
4567 freedesktop.org help system specification.")
4568 (license license:gpl2+)))
4570 (define-public yelp-tools
4576 (uri (string-append "mirror://gnome/sources/" name "/"
4577 (version-major+minor version) "/"
4578 name "-" version ".tar.xz"))
4581 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
4582 (build-system gnu-build-system)
4584 `(("pkg-config" ,pkg-config)))
4586 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4587 `(("itstool" ,itstool)
4588 ("xmllint" ,libxml2)
4589 ("xsltproc" ,libxslt)))
4591 `(("yelp-xsl" ,yelp-xsl)))
4592 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4593 (synopsis "Yelp documentation tools")
4595 "Yelp-tools is a collection of scripts and build utilities to help create,
4596 manage, and publish documentation for Yelp and the web. Most of the heavy
4597 lifting is done by packages like yelp-xsl and itstool. This package just
4598 wraps things up in a developer-friendly way.")
4599 (license license:gpl2+)))
4601 (define-public libgee
4607 (uri (string-append "mirror://gnome/sources/" name "/"
4608 (version-major+minor version) "/"
4609 name "-" version ".tar.xz"))
4612 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4613 (build-system gnu-build-system)
4616 (modify-phases %standard-phases
4617 (add-after 'unpack 'fix-introspection-install-dir
4618 (lambda* (#:key outputs #:allow-other-keys)
4619 (let ((out (assoc-ref outputs "out")))
4620 (substitute* "gee/Makefile.in"
4621 (("@INTROSPECTION_GIRDIR@")
4622 (string-append out "/share/gir-1.0/"))
4623 (("@INTROSPECTION_TYPELIBDIR@")
4624 (string-append out "/lib/girepository-1.0/")))))))))
4626 `(("glib" ,glib "bin")
4627 ("pkg-config" ,pkg-config)))
4630 ("gobject-introspection" ,gobject-introspection)))
4631 (home-page "https://wiki.gnome.org/Projects/Libgee")
4632 (synopsis "GObject collection library")
4634 "Libgee is a utility library providing GObject-based interfaces and
4635 classes for commonly used data structures.")
4636 (license license:lgpl2.1+)))
4638 (define-public gexiv2
4644 (uri (string-append "mirror://gnome/sources/" name "/"
4645 (version-major+minor version) "/"
4646 name "-" version ".tar.xz"))
4649 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
4650 (build-system meson-build-system)
4652 ;; On 32-bit platforms, the test fails with a rounding error:
4653 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=775249>. Just skip it for
4655 (if (and (not (%current-target-system))
4656 (member (%current-system) '("i686-linux" "armhf-linux")))
4660 `(("glib" ,glib "bin")
4661 ("pkg-config" ,pkg-config)))
4663 ;; Listed in "Requires" section of gexiv2.pc
4664 `(("exiv2" ,exiv2)))
4667 ("gobject-introspection" ,gobject-introspection)))
4668 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4669 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4671 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4672 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4673 metadata in photo and video files of various formats.")
4674 (license license:gpl2+)))
4676 (define-public shotwell
4682 (uri (string-append "mirror://gnome/sources/" name "/"
4683 (version-major+minor version) "/"
4684 name "-" version ".tar.xz"))
4687 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
4688 (build-system glib-or-gtk-build-system)
4690 `(("dconf" ,dconf)))
4692 `(("pkg-config" ,pkg-config)
4693 ("itstool" ,itstool)
4694 ("gettext" ,gettext-minimal)
4695 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4696 ("itstool" ,itstool)
4699 `(("glib:bin" ,glib "bin")
4700 ("gstreamer" ,gstreamer)
4701 ("gst-plugins-base" ,gst-plugins-base)
4702 ("libgdata" ,libgdata)
4706 ("json-glib" ,json-glib)
4707 ("webkitgtk" ,webkitgtk)
4709 ("libsoup" ,libsoup)
4710 ("libxml2" ,libxml2)
4711 ("libgudev" ,libgudev)
4712 ("libgphoto2" ,libgphoto2)
4714 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4715 (synopsis "Photo manager for GNOME 3")
4717 "Shotwell is a digital photo manager designed for the GNOME desktop
4718 environment. It allows you to import photos from disk or camera, organize
4719 them by keywords and events, view them in full-window or fullscreen mode, and
4720 share them with others via social networking and more.")
4721 (license license:lgpl2.1+)))
4723 (define-public file-roller
4725 (name "file-roller")
4729 (uri (string-append "mirror://gnome/sources/" name "/"
4730 (version-major+minor version) "/"
4731 name "-" version ".tar.xz"))
4734 "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1"))))
4735 (build-system meson-build-system)
4737 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4738 ("intltool" ,intltool)
4739 ("pkg-config" ,pkg-config)
4740 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4741 ("glib:bin" ,glib "bin")))
4742 ;; TODO: Add libnautilus.
4745 ("gdk-pixbuf" ,gdk-pixbuf)
4746 ("json-glib" ,json-glib)
4747 ("libarchive" ,libarchive)
4748 ("libnotify" ,libnotify)
4750 ("itstool" ,itstool)
4751 ("libxml2" ,libxml2)))
4752 (synopsis "Graphical archive manager for GNOME")
4753 (description "File Roller is an archive manager for the GNOME desktop
4754 environment that allows users to view, unpack, and create compressed archives
4755 such as gzip tarballs.")
4756 (home-page "http://fileroller.sourceforge.net/")
4757 (license license:gpl2+)))
4759 (define-public gnome-session
4761 (name "gnome-session")
4765 (uri (string-append "mirror://gnome/sources/" name "/"
4766 (version-major+minor version) "/"
4767 name "-" version ".tar.xz"))
4770 "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq"))))
4774 (modify-phases %standard-phases
4775 (add-before 'configure 'pre-configure
4776 (lambda* (#:key outputs #:allow-other-keys)
4777 ;; Use elogind instead of systemd.
4778 (substitute* "meson.build"
4779 (("libsystemd-login") "libelogind")
4780 (("and libsystemd_daemon_dep.found.*") ","))
4781 (substitute* "gnome-session/gsm-systemd.c"
4782 (("#include <systemd/sd-login.h>")
4783 "#include <elogind/sd-login.h>"))
4784 ;; Remove uses of the systemd daemon.
4785 (substitute* "gnome-session/gsm-autostart-app.c"
4786 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4788 (add-after 'install 'wrap-gnome-session
4789 (lambda* (#:key inputs outputs #:allow-other-keys)
4790 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4791 (let ((glib (assoc-ref inputs "glib:bin"))
4792 (out (assoc-ref outputs "out")))
4793 (wrap-program (string-append out "/bin/gnome-session")
4794 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4796 (add-after 'install 'add-absolute-paths-to-desktop-files
4797 (lambda* (#:key outputs #:allow-other-keys)
4798 (let* ((out (assoc-ref outputs "out")))
4799 (substitute* (map (lambda (x)
4800 (string-append out "/share/xsessions/" x))
4801 '("gnome.desktop" "gnome-xorg.desktop"))
4802 (("gnome-session") (string-append out "/bin/gnome-session")))
4806 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4807 "-Dman=false" ; FIXME: disabled because of docbook validation error
4808 "-Dsystemd_journal=false")))
4809 (build-system meson-build-system)
4811 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4812 ("pkg-config" ,pkg-config)
4813 ("intltool" ,intltool)
4814 ("xsltproc" ,libxslt)
4815 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4816 ("docbook-xsl" ,docbook-xsl)
4817 ("docbook-xml" ,docbook-xml)
4820 `(("elogind" ,elogind)
4821 ("gnome-desktop" ,gnome-desktop)
4822 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4824 ("json-glib" ,json-glib)
4826 ("libxcomposite" ,libxcomposite)
4827 ("libxtst" ,libxtst)
4830 ("xtrans" ,xtrans)))
4831 (synopsis "Session manager for GNOME")
4833 "This package contains the GNOME session manager, as well as a
4834 configuration program to choose applications starting on login.")
4835 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4836 (license license:gpl2+)))
4844 (uri (string-append "mirror://gnome/sources/" name "/"
4845 (version-major+minor version) "/"
4846 name "-" version ".tar.xz"))
4849 "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff"))))
4850 (build-system gnu-build-system)
4853 (modify-phases %standard-phases
4857 ;; The test suite requires a running X server.
4858 (system "Xvfb :1 &")
4859 (setenv "DISPLAY" ":1")
4861 ;; For the missing /etc/machine-id.
4862 (setenv "DBUS_FATAL_WARNINGS" "0")
4864 ;; Our mozjs-38 package does not compile the required Intl API
4865 ;; support for these failing tests.
4866 (substitute* "installed-tests/js/testLocale.js"
4867 ((".*toBeDefined.*") "")
4868 ((".*expect\\(datestr\\).*") ""))
4871 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4872 ("pkg-config" ,pkg-config)
4873 ("xmllint" ,libxml2)
4875 ("dbus-launch" ,dbus)
4876 ("uuidgen" ,util-linux)
4877 ("xvfb" ,xorg-server-for-tests)))
4879 ;; These are all in the Requires.private field of gjs-1.0.pc.
4881 ("gobject-introspection" ,gobject-introspection)
4882 ("mozjs" ,mozjs-52)))
4885 ("readline" ,readline)))
4886 (synopsis "Javascript bindings for GNOME")
4887 (home-page "https://live.gnome.org/Gjs")
4889 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4890 javascript engine and the GObject introspection framework.")
4891 (license license:gpl2+)))
4893 (define-public gedit
4899 (uri (string-append "mirror://gnome/sources/" name "/"
4900 (version-major+minor version) "/"
4901 name "-" version ".tar.xz"))
4904 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
4905 (build-system glib-or-gtk-build-system)
4908 (modify-phases %standard-phases
4910 'install 'wrap-gedit
4911 (lambda* (#:key inputs outputs #:allow-other-keys)
4912 (let ((out (assoc-ref outputs "out"))
4913 (gtksourceview (assoc-ref inputs "gtksourceview"))
4914 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4915 (python-path (getenv "PYTHONPATH")))
4916 (wrap-program (string-append out "/bin/gedit")
4918 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4919 `("PYTHONPATH" ":" prefix (,python-path))
4920 ;; For language-specs.
4921 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4925 `(("dconf" ,dconf)))
4927 `(("intltool" ,intltool)
4928 ("itstool" ,itstool)
4929 ("gobject-introspection" ,gobject-introspection)
4930 ("pkg-config" ,pkg-config)))
4935 ("gtksourceview" ,gtksourceview-3)
4936 ("libpeas" ,libpeas)
4937 ("libxml2" ,libxml2)
4938 ("iso-codes" ,iso-codes)
4939 ("python-pygobject" ,python-pygobject)
4941 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4944 ("adwaita-icon-theme" ,adwaita-icon-theme)
4945 ("libsoup" ,libsoup)
4946 ("gnome-desktop" ,gnome-desktop)))
4947 (home-page "https://wiki.gnome.org/Apps/Gedit")
4948 (synopsis "GNOME text editor")
4949 (description "While aiming at simplicity and ease of use, gedit is a
4950 powerful general purpose text editor.")
4951 (license license:gpl2+)))
4953 (define-public zenity
4959 (uri (string-append "mirror://gnome/sources/" name "/"
4960 (version-major+minor version) "/"
4961 name "-" version ".tar.xz"))
4964 "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv"))))
4965 (build-system gnu-build-system)
4967 `(("gettext" ,gettext-minimal)
4968 ("itstool" ,itstool)
4969 ("pkg-config" ,pkg-config)))
4971 `(("libnotify" ,libnotify)
4972 ("webkitgtk" ,webkitgtk)))
4973 (synopsis "Display graphical dialog boxes from shell scripts")
4974 (home-page "https://www.gnome.org")
4976 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4977 to display dialog boxes from the commandline and shell scripts.")
4978 (license license:lgpl2.0+)))
4980 (define-public mutter
4986 (uri (string-append "mirror://gnome/sources/" name "/"
4987 (version-major+minor version) "/"
4988 name "-" version ".tar.xz"))
4991 "0ighs1zvlssgq16v1h3vg280za7y448snq65gc5m1zmqqawqkymg"))))
4992 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4993 ;; versions of cogl and clutter. As a result, many of the inputs,
4994 ;; propagated-inputs, and configure flags used in cogl and clutter are
4995 ;; needed here as well.
4996 (build-system gnu-build-system)
4999 ;; XXX: build fails with [-Werror]:
5000 ;; backends/meta-cursor-renderer.c:112:5: error:
5001 ;; implicit declaration of function ?roundf?
5002 (list "--enable-compile-warnings=minimum"
5004 "--enable-native-backend"
5006 ;; The following flags are needed for the bundled clutter
5007 "--enable-x11-backend=yes"
5009 (string-append "--with-xwayland-path="
5010 (assoc-ref %build-inputs "xorg-server-xwayland")
5013 ;; the remaining flags are needed for the bundled cogl
5015 (string-append "--with-gl-libname="
5016 (assoc-ref %build-inputs "mesa")
5019 (modify-phases %standard-phases
5020 ;; Replace references to systemd libraries to elogind references.
5021 (add-before 'configure 'use-elogind
5023 (substitute* (list "configure"
5024 "src/backends/native/meta-launcher.c"
5026 (("systemd") "elogind"))
5029 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5030 ("gobject-introspection" ,gobject-introspection)
5031 ("intltool" ,intltool)
5032 ("pkg-config" ,pkg-config)
5034 ("autoconf" ,autoconf)
5035 ("automake" ,automake)
5036 ("libtool" ,libtool)))
5038 `(;; libmutter.pc refers to these:
5039 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5041 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5044 ("gdk-pixbuf" ,gdk-pixbuf)
5046 ("json-glib" ,json-glib)
5047 ("libinput" ,libinput)
5049 ("libxcomposite" ,libxcomposite)
5050 ("libxdamage" ,libxdamage)
5051 ("libxext" ,libxext)
5052 ("libxfixes" ,libxfixes)
5053 ("libxkbcommon" ,libxkbcommon)
5054 ("libxrandr" ,libxrandr)
5058 ("xinput" ,xinput)))
5060 `(("elogind" ,elogind)
5061 ("gnome-desktop" ,gnome-desktop)
5062 ("libcanberra-gtk" ,libcanberra)
5063 ("libgudev" ,libgudev)
5066 ("libxkbfile" ,libxkbfile)
5067 ("libxrandr" ,libxrandr)
5068 ("libxtst" ,libxtst)
5069 ("startup-notification" ,startup-notification)
5070 ("upower-glib" ,upower)
5071 ("xkeyboard-config" ,xkeyboard-config)
5072 ("xorg-server-xwayland" ,xorg-server-xwayland)
5073 ("zenity" ,zenity)))
5074 (synopsis "Window and compositing manager")
5075 (home-page "https://www.gnome.org")
5077 "Mutter is a window and compositing manager that displays and manages your
5078 desktop via OpenGL. Mutter combines a sophisticated display engine using the
5079 Clutter toolkit with solid window-management logic inherited from the Metacity
5081 (license license:gpl2+)))
5083 (define-public gnome-online-accounts
5085 (name "gnome-online-accounts")
5089 (uri (string-append "mirror://gnome/sources/" name "/"
5090 (version-major+minor version) "/"
5091 name "-" version ".tar.xz"))
5094 "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47"))))
5095 (outputs '("out" "lib"))
5096 (build-system glib-or-gtk-build-system)
5099 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5101 (modify-phases %standard-phases
5102 (add-before 'configure 'patch-libgoa-output
5103 (lambda* (#:key outputs #:allow-other-keys)
5104 (let ((lib (assoc-ref outputs "lib")))
5105 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5107 (("@exec_prefix@") lib)
5108 (("@libdir@") (string-append lib "/lib"))
5109 (("@includedir@") (string-append lib "/include"))
5110 (("@datadir@") (string-append lib "/share")))
5113 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5114 ("gobject-introspection" ,gobject-introspection)
5115 ("intltool" ,intltool)
5116 ("pkg-config" ,pkg-config)
5117 ("xsltproc" ,libxslt)))
5119 `(("glib" ,glib) ; required by goa-1.0.pc
5120 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5122 `(("docbook-xsl" ,docbook-xsl)
5123 ("json-glib" ,json-glib)
5124 ("libsecret" ,libsecret)
5126 ("webkitgtk" ,webkitgtk)))
5127 (synopsis "Single sign-on framework for GNOME")
5128 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5130 "GNOME Online Accounts provides interfaces so that applications and
5131 libraries in GNOME can access the user's online accounts. It has providers for
5132 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5133 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5134 (license license:lgpl2.0+)))
5136 (define-public evolution-data-server
5138 (name "evolution-data-server")
5142 (uri (string-append "mirror://gnome/sources/" name "/"
5143 (version-major+minor version) "/"
5144 name "-" version ".tar.xz"))
5147 "11sq795115vrcgxl9svscm6wg8isjj784c3d84qzb6z47zq92zj3"))))
5148 (outputs '("out" "libedataserverui"))
5149 (build-system cmake-build-system)
5151 '(;; XXX FIXME: 11/85 tests are failing.
5154 (let* ((lib (string-append (assoc-ref %outputs "out")
5156 (runpaths (map (lambda (s) (string-append
5157 lib "/evolution-data-server/" s))
5158 '("addressbook-backends" "calendar-backends"
5159 "camel-providers" "credential-modules"
5160 "registry-modules"))))
5161 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5162 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5163 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5164 "-DENABLE_VALA_BINDINGS=ON"
5165 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
5166 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5167 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5168 ;; evolution-data-server has been updated to qualify ICU types
5169 ;; explicitly, as required by ICU 61 and later. See:
5170 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5171 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
5172 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5173 (string-append lib "/evolution-data-server;")
5174 (string-join runpaths ";"))
5175 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5177 (modify-phases %standard-phases
5178 (add-after 'unpack 'patch-paths
5180 (substitute* "tests/test-server-utils/e-test-server-utils.c"
5181 (("/bin/rm") (which "rm")))
5183 (add-before 'configure 'dont-override-rpath
5185 (substitute* "CMakeLists.txt"
5186 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5187 ;; Remove it so the configure flag is respected.
5188 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5190 (add-after 'install 'split
5191 (lambda* (#:key outputs #:allow-other-keys)
5192 (let ((out (assoc-ref outputs "out"))
5193 (libedsui (assoc-ref outputs "libedataserverui")))
5194 (for-each (lambda (file)
5195 (mkdir-p (dirname (string-append libedsui file)))
5196 (rename-file (string-append out file)
5197 (string-append libedsui file)))
5198 '("/lib/pkgconfig/libedataserverui-1.2.pc"
5199 "/lib/libedataserverui-1.2.so"
5200 "/lib/libedataserverui-1.2.so.2"
5201 "/lib/libedataserverui-1.2.so.2.0.0"
5202 "/lib/girepository-1.0/EDataServerUI-1.2.typelib"
5203 "/include/evolution-data-server/libedataserverui"
5204 "/share/gir-1.0/EDataServerUI-1.2.gir"
5205 "/share/vala/vapi/libedataserverui-1.2.vapi"
5206 "/share/vala/vapi/libedataserverui-1.2.deps"))
5207 (substitute* (string-append libedsui "/lib/pkgconfig/"
5208 "libedataserverui-1.2.pc")
5212 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5213 ("gobject-introspection" ,gobject-introspection)
5215 ("intltool" ,intltool)
5216 ("pkg-config" ,pkg-config)
5218 ("python" ,python-wrapper)))
5220 ;; These are all in the Requires field of .pc files.
5222 ("libical" ,libical)
5223 ("libsecret" ,libsecret)
5224 ("libsoup" ,libsoup)
5226 ("sqlite" ,sqlite)))
5230 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5231 ("json-glib" ,json-glib)
5232 ("libgweather" ,libgweather)
5233 ("mit-krb5" ,mit-krb5)
5234 ("openldap" ,openldap)
5235 ("webkitgtk" ,webkitgtk)))
5236 (synopsis "Store address books and calendars")
5237 (home-page "https://wiki.gnome.org/Apps/Evolution")
5239 "This package provides a unified backend for programs that work with
5240 contacts, tasks, and calendar information. It was originally developed for
5241 Evolution (hence the name), but is now used by other packages as well.")
5242 (license license:lgpl2.0)))
5244 (define-public caribou
5250 (uri (string-append "mirror://gnome/sources/" name "/"
5251 (version-major+minor version) "/"
5252 name "-" version ".tar.xz"))
5255 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5256 (build-system glib-or-gtk-build-system)
5259 (modify-phases %standard-phases
5262 (lambda* (#:key outputs #:allow-other-keys)
5263 (let ((out (assoc-ref outputs "out")))
5264 ;; Use absolute shared library path in Caribou-1.0.typelib.
5265 (substitute* "libcaribou/Makefile"
5266 (("--shared-library=libcaribou.so")
5267 (string-append "--shared-library="
5268 out "/lib/libcaribou.so")))
5270 (add-after 'install 'wrap-programs
5271 (lambda* (#:key outputs #:allow-other-keys)
5272 (let* ((out (assoc-ref outputs "out"))
5273 (python-path (getenv "PYTHONPATH"))
5274 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5278 `("PYTHONPATH" ":" prefix (,python-path))
5279 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5280 (list (string-append out "/bin/caribou-preferences")
5281 (string-append out "/libexec/antler-keyboard"))))
5284 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5285 ("gobject-introspection" ,gobject-introspection)
5286 ("intltool" ,intltool)
5287 ("pkg-config" ,pkg-config)
5288 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5290 ("xsltproc" ,libxslt)))
5292 ;; caribou-1.0.pc refers to all these.
5293 `(("libgee" ,libgee)
5294 ("libxklavier" ,libxklavier)
5295 ("libxtst" ,libxtst)
5298 `(("clutter" ,clutter)
5301 ("python-pygobject" ,python2-pygobject)))
5302 (synopsis "Text entry and UI navigation application")
5303 (home-page "https://wiki.gnome.org/Projects/Caribou")
5305 "Caribou is an input assistive technology intended for switch and pointer
5307 (license license:lgpl2.1)))
5309 (define-public network-manager
5311 (name "network-manager")
5315 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5316 (version-major+minor version) "/"
5317 "NetworkManager-" version ".tar.xz"))
5318 (patches (search-patches "nm-plugin-path.patch"))
5321 "1jn3g0f2x1irc88awqp8m3gnpdx1whqqqbdgkbgr4x55s702jki4"))
5324 (use-modules (guix build utils))
5325 (substitute* "configure"
5326 ;; Replace libsystemd-login with libelogind.
5327 (("libsystemd-login") "libelogind"))
5328 (substitute* "src/devices/wwan/nm-modem-manager.c"
5329 (("systemd") "elogind"))
5330 (substitute* "src/nm-session-monitor.c"
5331 (("systemd") "elogind"))
5332 (substitute* "./src/nm-logging.c"
5333 (("systemd") "elogind"))
5335 (build-system gnu-build-system)
5337 "doc")) ; 8 MiB of gtk-doc HTML
5340 (let ((out (assoc-ref %outputs "out"))
5341 (doc (assoc-ref %outputs "doc"))
5342 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5344 (list "--with-systemd-logind=yes" ;In Guix System, this is provided by elogind.
5345 "--with-consolekit=no"
5346 "--with-crypto=gnutls"
5347 "--disable-config-plugin-ibft"
5349 "--localstatedir=/var"
5350 (string-append "--with-udev-dir="
5352 (string-append "--with-dbus-sys-dir="
5353 out "/etc/dbus-1/system.d")
5354 (string-append "--with-html-dir="
5355 doc "/share/gtk-doc/html")
5356 (string-append "--with-dhclient=" dhclient)))
5358 (modify-phases %standard-phases
5359 (add-before 'configure 'pre-configure
5361 ;; These tests try to test aspects of network-manager's
5362 ;; functionality within restricted containers, but they don't
5363 ;; cope with being already in the Guix build jail as that jail
5364 ;; lacks some features that they would like to proxy over (like
5366 (substitute* '("Makefile.in")
5367 (("src/platform/tests/test-address-linux") " ")
5368 (("src/platform/tests/test-cleanup-linux") " ")
5369 (("src/platform/tests/test-link-linux") " ")
5370 (("src/platform/tests/test-route-linux") " ")
5371 (("src/devices/tests/test-arping") " ")
5372 (("src/devices/tests/test-lldp") " ")
5373 (("src/tests/test-route-manager-linux") " "))
5375 (add-after 'unpack 'delete-failing-tests
5377 ;; FIXME: These four tests fail for unknown reasons.
5378 ;; ERROR:libnm-core/tests/test-general.c:5842:
5379 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5380 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5381 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5382 ;; ERROR:libnm-core/tests/test-setting.c:907:
5383 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5384 ;; NetworkManager:ERROR:src/platform/tests/test-nmp-object.c:397:
5385 ;; test_cache_link: assertion failed: (nmp_object_is_visible (obj_new))
5386 (substitute* "Makefile.in"
5387 (("libnm-core/tests/test-general") " ")
5388 (("libnm-core/tests/test-keyfile") " ")
5389 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " ")
5390 (("src/platform/tests/test-nmp-object") " "))
5392 (add-before 'check 'pre-check
5394 ;; For the missing /etc/machine-id.
5395 (setenv "DBUS_FATAL_WARNINGS" "0")
5403 "nmstatedir=/tmp/nm"
5409 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5410 ("gobject-introspection" ,gobject-introspection)
5411 ("docbook-xsl" ,docbook-xsl)
5412 ("intltool" ,intltool)
5413 ("libxslt" ,libxslt)
5414 ("libxml2" ,libxml2)
5415 ("pkg-config" ,pkg-config)
5417 ("python" ,python-wrapper)
5418 ("python-dbus" ,python-dbus)
5419 ("python-pygobject" ,python-pygobject)))
5422 ("cyrus-sasl" ,cyrus-sasl)
5423 ("dbus-glib" ,dbus-glib)
5424 ("dnsmasq" ,dnsmasq)
5427 ("iptables" ,iptables)
5428 ("isc-dhcp" ,isc-dhcp)
5429 ("jansson" ,jansson)
5430 ("libgcrypt" ,libgcrypt)
5431 ("libgudev" ,libgudev)
5434 ("libsoup" ,libsoup)
5435 ("modem-manager" ,modem-manager)
5436 ("newt" ,newt) ;for the 'nmtui' console interface
5439 ("readline" ,readline)
5440 ("util-linux" ,util-linux)
5441 ("elogind" ,elogind)))
5442 (synopsis "Network connection manager")
5443 (home-page "https://www.gnome.org/projects/NetworkManager/")
5445 "NetworkManager is a system network service that manages your network
5446 devices and connections, attempting to keep active network connectivity when
5447 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5448 devices, and provides VPN integration with a variety of different VPN
5450 (license license:gpl2+)
5451 (properties '((upstream-name . "NetworkManager")))))
5453 (define-public network-manager-openvpn
5455 (name "network-manager-openvpn")
5460 "mirror://gnome/sources/NetworkManager-openvpn/"
5461 (version-major+minor version)
5462 "/NetworkManager-openvpn-" version ".tar.xz"))
5465 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
5466 (build-system gnu-build-system)
5468 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5470 (modify-phases %standard-phases
5471 (add-after 'configure 'patch-path
5472 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5473 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
5475 (modprobe (string-append (assoc-ref inputs "kmod")
5477 (pretty-ovpn (string-append "\"" ovpn "\"")))
5481 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
5482 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
5483 (("\"/sbin/openvpn\"") pretty-ovpn)
5484 (("/sbin/modprobe") modprobe)))
5485 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
5488 `(("pkg-config" ,pkg-config)
5489 ("intltool" ,intltool)))
5493 ("openvpn" ,openvpn)
5494 ("network-manager" ,network-manager)
5495 ("network-manager-applet" ,network-manager-applet) ;for libnma
5496 ("libsecret" ,libsecret)))
5497 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5498 (synopsis "OpenVPN plug-in for NetworkManager")
5500 "This extension of NetworkManager allows it to take care of connections
5501 to virtual private networks (VPNs) via OpenVPN.")
5502 (license license:gpl2+)
5503 (properties `((upstream-name . "NetworkManager-openvpn")))))
5505 (define-public network-manager-vpnc
5507 (name "network-manager-vpnc")
5512 "mirror://gnome/sources/NetworkManager-vpnc/"
5513 (version-major+minor version)
5514 "/NetworkManager-vpnc-" version ".tar.xz"))
5517 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
5518 (build-system gnu-build-system)
5520 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5522 (modify-phases %standard-phases
5523 (add-after 'configure 'patch-path
5524 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5525 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
5527 (modprobe (string-append (assoc-ref inputs "kmod")
5529 (pretty-ovpn (string-append "\"" vpnc "\"")))
5530 (substitute* "src/nm-vpnc-service.c"
5531 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
5532 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
5533 (("\"/sbin/vpnc\"") pretty-ovpn)
5534 (("/sbin/modprobe") modprobe)))
5537 `(("pkg-config" ,pkg-config)
5538 ("intltool" ,intltool)))
5543 ("network-manager" ,network-manager)
5544 ("network-manager-applet" ,network-manager-applet) ;for libnma
5545 ("libsecret" ,libsecret)))
5546 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5547 (synopsis "VPNC plug-in for NetworkManager")
5549 "Support for configuring virtual private networks based on VPNC.
5550 Compatible with Cisco VPN concentrators configured to use IPsec.")
5551 (license license:gpl2+)
5552 (properties `((upstream-name . "NetworkManager-vpnc")))))
5554 (define-public network-manager-openconnect
5556 (name "network-manager-openconnect")
5561 "mirror://gnome/sources/NetworkManager-openconnect/"
5562 (version-major+minor version)
5563 "/NetworkManager-openconnect-" version ".tar.xz"))
5566 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
5567 (build-system gnu-build-system)
5569 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
5571 (modify-phases %standard-phases
5572 (add-after 'configure 'patch-path
5573 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
5574 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
5575 "/sbin/openconnect"))
5576 (modprobe (string-append (assoc-ref inputs "kmod")
5578 (pretty-ovpn (string-append "\"" openconnect "\"")))
5579 (substitute* "src/nm-openconnect-service.c"
5580 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
5581 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
5582 (("/sbin/modprobe") modprobe)))
5585 `(("intltool" ,intltool)
5586 ("network-manager-applet" ,network-manager-applet) ;for libnma
5587 ("pkg-config" ,pkg-config)))
5592 ("libsecret" ,libsecret)
5593 ("libxml2" ,libxml2)
5594 ("network-manager" ,network-manager)
5595 ("openconnect" ,openconnect)))
5596 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5597 (synopsis "OpenConnect plug-in for NetworkManager")
5599 "This extension of NetworkManager allows it to take care of connections
5600 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
5601 Cisco's AnyConnect SSL VPN.")
5602 (license license:gpl2+)
5603 (properties `((upstream-name . "NetworkManager-openconnect")))))
5605 (define-public mobile-broadband-provider-info
5607 (name "mobile-broadband-provider-info")
5608 (version "20190116")
5612 "mirror://gnome/sources/"
5613 "mobile-broadband-provider-info/" version "/"
5614 "mobile-broadband-provider-info-" version ".tar.xz"))
5617 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
5618 (build-system gnu-build-system)
5620 `(#:tests? #f)) ; no tests
5621 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5622 (synopsis "Database of broadband connection configuration")
5623 (description "Database of broadband connection configuration.")
5624 (license license:public-domain)))
5626 (define-public network-manager-applet
5628 (name "network-manager-applet")
5632 (uri (string-append "mirror://gnome/sources/" name "/"
5633 (version-major+minor version) "/"
5634 name "-" version ".tar.xz"))
5637 "1js0i2kwfklahsn77qgxzdscy33drrlym3mrj1qhlw0zf8ri56ya"))))
5638 (build-system glib-or-gtk-build-system)
5639 (arguments '(#:configure-flags '("--disable-migration")
5641 (modify-phases %standard-phases
5642 (add-after 'unpack 'patch-source
5643 (lambda* (#:key inputs #:allow-other-keys)
5644 (let ((mbpi (assoc-ref inputs
5645 "mobile-broadband-provider-info"))
5646 (iso-codes (assoc-ref inputs "iso-codes")))
5647 (substitute* "src/libnma/nma-mobile-providers.c"
5648 (("(g_build_filename \\()dirs\\[i\\].*,\
5649 (MOBILE_BROADBAND_PROVIDER_INFO.*)" all start end)
5650 (string-append start "\"" mbpi "/share\", " end)))
5651 (substitute* "src/libnma/nma-mobile-providers.c"
5652 (("(g_build_filename \\()dirs\\[i\\].*,\
5653 (ISO_3166_COUNTRY_CODES.*)" all start end)
5654 (string-append start "\"" iso-codes
5658 `(("intltool" ,intltool)
5659 ("gobject-introspection" ,gobject-introspection)
5660 ("pkg-config" ,pkg-config)))
5662 ;; libnm-gtk.pc refers to all these.
5663 `(("dbus-glib" ,dbus-glib)
5665 ("network-manager" ,network-manager)))
5667 `(("iso-codes" ,iso-codes)
5668 ("libgudev" ,libgudev)
5669 ("libnotify" ,libnotify)
5670 ("libsecret" ,libsecret)
5671 ("libselinux" ,libselinux)
5672 ("jansson" ,jansson) ; for team support
5673 ("modem-manager" ,modem-manager)
5674 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
5675 (synopsis "Applet for managing network connections")
5676 (home-page "https://www.gnome.org/projects/NetworkManager/")
5678 "This package contains a systray applet for NetworkManager. It displays
5679 the available networks and allows users to easily switch between them.")
5680 (license license:gpl2+)))
5682 (define-public libxml++
5688 (uri (string-append "mirror://gnome/sources/" name "/"
5689 (version-major+minor version) "/"
5690 name "-" version ".tar.xz"))
5693 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5694 (build-system gnu-build-system)
5695 ;; libxml++-3.0.pc refers to all these.
5697 `(("libxml2" ,libxml2)
5698 ("glibmm" ,glibmm)))
5701 ("pkg-config" ,pkg-config)))
5702 (home-page "http://libxmlplusplus.sourceforge.net/")
5703 (synopsis "C++ wrapper for XML parser library libxml2")
5705 "This package provides a C++ wrapper for the XML parser library
5707 (license license:lgpl2.1+)))
5709 (define-public libxml++-2
5716 (uri (string-append "mirror://gnome/sources/" name "/"
5717 (version-major+minor version) "/"
5718 name "-" version ".tar.xz"))
5721 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5729 (uri (string-append "mirror://gnome/sources/" name "/"
5730 (version-major+minor version) "/"
5731 name "-" version ".tar.xz"))
5732 (patches (search-patches "gdm-CVE-2018-14424.patch"))
5735 "0wdm1503x66n1crdlmzmincbd2hccpxsdgjsl5anx3yjpdzs0hb0"))))
5736 (build-system glib-or-gtk-build-system)
5739 `("--without-plymouth"
5740 "--disable-systemd-journal"
5742 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5743 ;; instead of having to replace it (i.e., stopping the mingetty
5744 ;; service for TTY 1 before starting GDM).
5745 "--with-initial-vt=7"
5747 ;; Use '/etc/environment' for locale settings instead of the
5748 ;; systemd-specific '/etc/locale.conf'.
5749 "--with-lang-file=/etc/environment"
5751 "--localstatedir=/var"
5752 ,(string-append "--with-default-path="
5753 (string-join '("/run/setuid-programs"
5754 "/run/current-system/profile/bin"
5755 "/run/current-system/profile/sbin")
5757 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5758 ;; XDG_DATA_DIRS so that it finds its schemas.
5759 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5761 (modify-phases %standard-phases
5763 'configure 'pre-configure
5764 (lambda* (#:key inputs outputs #:allow-other-keys)
5765 ;; We don't have <systemd/sd-daemon.h>.
5766 (substitute* '("common/gdm-log.c"
5767 "daemon/gdm-server.c"
5768 "daemon/gdm-session-worker.c"
5769 "daemon/gdm-session-worker-job.c")
5770 (("#include <systemd/sd-daemon\\.h>") ""))
5771 ;; Use elogind for sd-login.
5772 (substitute* '("common/gdm-common.c"
5773 "daemon/gdm-manager.c"
5774 "libgdm/gdm-user-switching.c")
5775 (("#include <systemd/sd-login\\.h>")
5776 "#include <elogind/sd-login.h>"))
5777 ;; Check for elogind.
5778 (substitute* '("configure")
5781 ;; Look for system-installed sessions in
5782 ;; /run/current-system/profile/share.
5783 (substitute* '("libgdm/gdm-sessions.c"
5784 "daemon/gdm-session.c"
5785 "daemon/gdm-display.c"
5786 "daemon/gdm-launch-environment.c")
5788 "\"/run/current-system/profile/share/x")
5789 (("DATADIR \"/wayland")
5790 "\"/run/current-system/profile/share/wayland")
5791 (("DATADIR \"/gnome")
5792 "\"/run/current-system/profile/share/gnome"))
5793 (let ((propagate '("GDM_CUSTOM_CONF"
5797 ;; XXX: Remove this once GNOME Shell is
5798 ;; a dependency of GDM.
5800 (substitute* "daemon/gdm-session.c"
5801 (("set_up_session_environment \\(self\\);")
5802 (apply string-append
5803 "set_up_session_environment (self);\n"
5806 "gdm_session_set_environment_variable "
5807 "(self, \"" name "\","
5808 "g_getenv (\"" name "\"));\n"))
5810 ;; Find the configuration file using an environment variable.
5811 (substitute* '("common/gdm-settings.c")
5812 (("GDM_CUSTOM_CONF")
5813 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5814 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5815 " : GDM_CUSTOM_CONF)")))
5816 ;; Use service-supplied path to X.
5817 (substitute* '("daemon/gdm-server.c")
5818 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5819 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5820 (substitute* '("daemon/gdm-x-session.c")
5821 (("\"dbus-daemon\"")
5822 "g_getenv (\"GDM_DBUS_DAEMON\")")
5824 "g_getenv (\"GDM_X_SERVER\")")
5825 (("GDMCONFDIR \"/Xsession\"")
5826 "g_getenv (\"GDM_X_SESSION\")"))
5827 ;; Use an absolute path for GNOME Session.
5828 (substitute* "daemon/gdm-launch-environment.c"
5829 (("\"gnome-session\"")
5830 (string-append "\"" (assoc-ref inputs "gnome-session")
5831 "/bin/gnome-session\"")))
5832 ;; Do not automatically select the placeholder session.
5833 (substitute* "daemon/gdm-session.c"
5834 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5835 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5836 "(g_strcmp0(search_dirs[i], \""
5837 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5839 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5840 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5841 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
5843 ;; GDM requires that there be at least one desktop entry
5844 ;; file. This phase installs a hidden one that simply
5845 ;; fails. This enables users to use GDM with a
5846 ;; '~/.xsession' script with no other desktop entry files.
5847 ;; See <https://bugs.gnu.org/35068>.
5848 (add-after 'install 'install-placeholder-desktop-entry
5849 (lambda* (#:key inputs outputs #:allow-other-keys)
5850 (let* ((out (assoc-ref outputs "out"))
5851 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5852 (fail (string-append sessions "/fail.desktop")))
5854 (with-output-to-file fail
5858 '("[Desktop Entry]\n"
5860 "Type=Application\n"
5862 "Comment=This session fails immediately.\n"
5866 ;; GDM needs GNOME Session to run these applications. We link
5867 ;; their autostart files in `share/gdm/greeter/autostart'
5868 ;; because GDM explicitly tells GNOME Session to look there.
5870 ;; XXX: GNOME Shell should be linked here too, but currently
5871 ;; GNOME Shell depends on GDM.
5872 (add-after 'install 'link-autostart-files
5873 (lambda* (#:key inputs outputs #:allow-other-keys)
5874 (let* ((out (assoc-ref outputs "out"))
5875 (autostart (string-append out "/share/gdm/"
5876 "greeter/autostart"))
5877 (settings (assoc-ref inputs "gnome-settings-daemon")))
5879 (with-directory-excursion autostart
5880 (for-each (lambda (desktop)
5881 (symlink desktop (basename desktop)))
5882 (find-files (string-append settings "/etc/xdg"))))
5886 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5887 ("gobject-introspection" ,gobject-introspection)
5888 ("intltool" ,intltool)
5889 ("itstool" ,itstool)
5890 ("pkg-config" ,pkg-config)
5891 ("xmllint" ,libxml2)))
5893 `(("accountsservice" ,accountsservice)
5894 ("check" ,check) ; for testing
5895 ("elogind" ,elogind)
5896 ("gnome-session" ,gnome-session)
5897 ("gnome-settings-daemon" ,gnome-settings-daemon)
5899 ("iso-codes" ,iso-codes)
5900 ("libcanberra" ,libcanberra)
5901 ("linux-pam" ,linux-pam)))
5902 (synopsis "Display manager for GNOME")
5903 (home-page "https://wiki.gnome.org/Projects/GDM/")
5905 "GNOME Display Manager is a system service that is responsible for
5906 providing graphical log-ins and managing local and remote displays.")
5907 (license license:gpl2+)))
5909 (define-public libgtop
5915 (uri (string-append "mirror://gnome/sources/" name "/"
5916 (version-major+minor version) "/"
5917 name "-" version ".tar.xz"))
5920 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5921 (build-system gnu-build-system)
5923 `(("gobject-introspection" ,gobject-introspection)
5924 ("intltool" ,intltool)
5926 ("pkg-config" ,pkg-config)))
5928 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5929 (synopsis "Portable system access library")
5930 (home-page "https://www.gnome.org/")
5932 "LibGTop is a library to get system specific data such as CPU and memory
5933 usage and information about running processes.")
5934 (license license:gpl2+)))
5936 (define-public gnome-bluetooth
5938 (name "gnome-bluetooth")
5942 (uri (string-append "mirror://gnome/sources/" name "/"
5943 (version-major+minor version) "/"
5944 name "-" version ".tar.xz"))
5947 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5948 (build-system meson-build-system)
5950 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5951 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5952 ("gobject-introspection" ,gobject-introspection)
5953 ("intltool" ,intltool)
5954 ("pkg-config" ,pkg-config)
5955 ("xmllint" ,libxml2)))
5957 ;; gnome-bluetooth-1.0.pc refers to all these.
5961 `(("libcanberra" ,libcanberra)
5962 ("libnotify" ,libnotify)))
5963 (synopsis "GNOME Bluetooth subsystem")
5964 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5966 "This package contains tools for managing and manipulating Bluetooth
5967 devices using the GNOME desktop.")
5968 (license license:lgpl2.1+)))
5970 (define-public gnome-control-center
5972 (name "gnome-control-center")
5976 (uri (string-append "mirror://gnome/sources/" name "/"
5977 (version-major+minor version) "/"
5978 name "-" version ".tar.xz"))
5981 "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz"))))
5982 (build-system meson-build-system)
5986 (list "-Dcheese=false"
5987 (string-append "-Dgnome_session_libexecdir="
5988 (assoc-ref %build-inputs "gnome-session")
5991 (modify-phases %standard-phases
5992 (add-before 'configure 'patch-paths
5993 (lambda* (#:key inputs #:allow-other-keys)
5994 (let ((libc (assoc-ref inputs "libc"))
5995 (tzdata (assoc-ref inputs "tzdata"))
5996 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
5997 (nm-applet (assoc-ref inputs "network-manager-applet"))
5998 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
5999 (substitute* "panels/datetime/tz.h"
6000 (("/usr/share/zoneinfo/zone.tab")
6001 (string-append tzdata "/share/zoneinfo/zone.tab")))
6002 (substitute* "panels/datetime/test-endianess.c"
6003 (("/usr/share/locale")
6004 (string-append libc "/share/locale")))
6005 (substitute* "panels/region/cc-region-panel.c"
6006 (("\"gkbd-keyboard-display")
6007 (string-append "\"" libgnomekbd
6008 "/bin/gkbd-keyboard-display")))
6009 (substitute* '("panels/network/net-device-wifi.c"
6010 "panels/network/net-device.c"
6011 "panels/network/connection-editor/net-connection-editor.c")
6012 (("\"nm-connection-editor")
6013 (string-append "\"" nm-applet
6014 "/bin/nm-connection-editor")))
6015 (substitute* '("panels/user-accounts/run-passwd.c")
6016 (("/usr/bin/passwd")
6017 "/run/setuid-programs/passwd"))
6018 (substitute* "panels/info/cc-info-overview-panel.c"
6019 (("DATADIR \"/gnome/gnome-version.xml\"")
6020 (string-append "\"" gnome-desktop
6021 "/share/gnome/gnome-version.xml\"")))
6024 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6025 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6026 ("intltool" ,intltool)
6027 ("pkg-config" ,pkg-config)
6028 ("xsltproc" ,libxslt)))
6030 `(("accountsservice" ,accountsservice)
6031 ("clutter-gtk" ,clutter-gtk)
6032 ("colord-gtk" ,colord-gtk)
6035 ("docbook-xsl" ,docbook-xsl)
6036 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
6037 ("gnome-bluetooth" ,gnome-bluetooth)
6038 ("gnome-desktop" ,gnome-desktop)
6039 ("gnome-online-accounts" ,gnome-online-accounts)
6040 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6041 ("gnome-session" ,gnome-session)
6042 ("gnome-settings-daemon" ,gnome-settings-daemon)
6045 ("libcanberra" ,libcanberra)
6046 ("libgnomekbd" ,libgnomekbd)
6047 ("libgudev" ,libgudev)
6048 ("libgtop" ,libgtop)
6049 ("libpwquality" ,libpwquality)
6050 ("libsoup" ,libsoup)
6051 ("libxml2" ,libxml2)
6052 ("libwacom" ,libwacom)
6054 ("mit-krb5" ,mit-krb5)
6055 ("modem-manager" ,modem-manager)
6056 ("network-manager-applet" ,network-manager-applet)
6058 ("pulseaudio" ,pulseaudio)
6059 ("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 "1b9n89ij2g5nqaqp7a13jnqcd8qa2v9p55rbi71al3xvqk091ri7"))
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 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
6289 (synopsis "Archives integration support for GNOME")
6290 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6292 "GNOME Autoar is a library which makes creating and extracting archives
6293 easy, safe, and automatic.")
6294 (license license:lgpl2.1+)))
6296 (define-public tracker
6302 (uri (string-append "mirror://gnome/sources/" name "/"
6303 (version-major+minor version) "/"
6304 name "-" version ".tar.xz"))
6307 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
6308 (build-system glib-or-gtk-build-system)
6311 (modify-phases %standard-phases
6312 (add-after 'unpack 'disable-broken-tests
6314 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6315 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6316 (substitute* "tests/libtracker-miner/Makefile.in"
6317 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6318 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6319 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6320 (substitute* "tests/libtracker-fts/Makefile.in"
6321 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6322 (substitute* "tests/libtracker-data/Makefile.in"
6323 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6324 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6325 (("tracker-backup\\$\\(EXEEXT\\)") "")
6326 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6327 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6328 ;; These fail because the SPARQL backend could not be loaded.
6329 ;; That's because /etc/machine-id is missing, but
6330 ;; DBUS_FATAL_WARNINGS does not help here.
6331 (substitute* "tests/libtracker-sparql/Makefile.in"
6332 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6333 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6334 (substitute* "tests/tracker-steroids/Makefile.in"
6335 (("tracker-test\\$\\(EXEEXT\\)") ""))
6337 ;; Two tests fail if LANG is not set.
6338 (add-before 'check 'pre-check
6340 (setenv "LANG" "en_US.UTF-8")
6341 ;; For the missing /etc/machine-id.
6342 (setenv "DBUS_FATAL_WARNINGS" "0")
6345 `(("gnome-common" ,gnome-common)
6346 ("gobject-introspection" ,gobject-introspection)
6347 ("intltool" ,intltool)
6348 ("pkg-config" ,pkg-config)
6353 ("gstreamer" ,gstreamer)
6354 ("gst-plugins-base" ,gst-plugins-base)
6356 ("nettle" ,nettle) ; XXX why is this needed?
6358 ("poppler" ,poppler)
6360 ("libexif" ,libexif)
6362 ("libtiff" ,libtiff)
6363 ("libvorbis" ,libvorbis)
6365 ("totem-pl-parser" ,totem-pl-parser)
6368 ("libxml2" ,libxml2)
6370 ("libunistring" ,libunistring)
6372 ("json-glib" ,json-glib)
6373 ("openjpeg" ,openjpeg-1)
6374 ("libosinfo" ,libosinfo)
6376 ("libseccomp" ,libseccomp)
6377 ("libsoup" ,libsoup)
6378 ("libuuid" ,util-linux)))
6379 (synopsis "Metadata database, indexer and search tool")
6380 (home-page "https://wiki.gnome.org/Projects/Tracker")
6382 "Tracker is an advanced framework for first class objects with associated
6383 metadata and tags. It provides a one stop solution for all metadata, tags,
6384 shared object databases, search tools and indexing.")
6385 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6386 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6387 (license (list license:gpl2+
6389 license:lgpl2.0+))))
6391 (define-public nautilus
6397 (uri (string-append "mirror://gnome/sources/" name "/"
6398 (version-major+minor version) "/"
6399 name "-" version ".tar.xz"))
6402 "19dhpa2ylrg8d5274lahy7xqr2p9z3jnq1h4qmsh95czkpy7is4w"))))
6403 (build-system meson-build-system)
6406 ;; XXX: FAIL: check-nautilus
6407 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6410 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6411 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6412 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6413 ("gobject-introspection" ,gobject-introspection)
6414 ("intltool" ,intltool)
6415 ("pkg-config" ,pkg-config)))
6421 ("gnome-desktop" ,gnome-desktop)
6422 ("gnome-autoar" ,gnome-autoar)
6423 ("libselinux" ,libselinux)
6424 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
6425 ("tracker" ,tracker)
6426 ;; XXX: gtk+ is required by libnautilus-extension.pc
6428 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6430 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6432 ("libexif" ,libexif)
6433 ("libxml2" ,libxml2)))
6434 (synopsis "File manager for GNOME")
6435 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6437 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6438 design and behaviour, giving the user a simple way to navigate and manage its
6440 (license license:gpl2+)))
6442 (define-public baobab
6449 "mirror://gnome/sources/" name "/"
6450 (version-major+minor version) "/"
6451 name "-" version ".tar.xz"))
6454 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
6455 (build-system meson-build-system)
6457 '(#:glib-or-gtk? #t))
6459 `(("intltool" ,intltool)
6460 ("pkg-config" ,pkg-config)
6461 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6462 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6463 ("itstool" ,itstool)
6464 ("xmllint" ,libxml2)
6465 ("glib" ,glib "bin")
6469 (synopsis "Disk usage analyzer for GNOME")
6471 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6472 usage in the GNOME desktop environment. It can easily scan device volumes or
6473 a specific user-requested directory branch (local or remote). Once the scan
6474 is complete it provides a graphical representation of each selected folder.")
6475 (home-page "https://wiki.gnome.org/Apps/Baobab")
6476 (license license:gpl2+)))
6478 (define-public gnome-backgrounds
6480 (name "gnome-backgrounds")
6485 (uri (string-append "mirror://gnome/sources/" name "/"
6486 (version-major+minor version) "/"
6487 name "-" version ".tar.xz"))
6490 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6491 (build-system meson-build-system)
6493 `(("intltool" ,intltool)))
6494 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6495 (synopsis "Background images for the GNOME desktop")
6497 "GNOME backgrounds package contains a collection of graphics files which
6498 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6499 the package creates the proper framework and directory structure so that you
6500 can add your own files to the collection.")
6501 (license (list license:gpl2+
6504 license:cc-by-sa3.0))))
6506 (define-public gnome-screenshot
6508 (name "gnome-screenshot")
6513 (uri (string-append "mirror://gnome/sources/" name "/"
6514 (version-major+minor version) "/"
6515 name "-" version ".tar.xz"))
6518 "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v"))))
6519 (build-system meson-build-system)
6521 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6522 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6523 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6524 ("intltool" ,intltool)
6525 ("appstream-glib" ,appstream-glib)
6526 ("pkg-config" ,pkg-config)))
6529 ("libcanberra" ,libcanberra)
6531 ("libxext" ,libxext)))
6532 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6533 (synopsis "Take pictures of your screen")
6535 "GNOME Screenshot is a utility used for taking screenshots of the entire
6536 screen, a window or a user defined area of the screen, with optional
6537 beautifying border effects.")
6538 (license license:gpl2+)))
6540 (define-public dconf-editor
6542 (name "dconf-editor")
6547 (uri (string-append "mirror://gnome/sources/" name "/"
6548 (version-major+minor version) "/"
6549 name "-" version ".tar.xz"))
6552 "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5"))))
6553 (build-system meson-build-system)
6555 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6556 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6557 ("intltool" ,intltool)
6558 ("pkg-config" ,pkg-config)
6563 ("libxml2" ,libxml2)))
6564 (home-page "https://git.gnome.org/browse/dconf-editor")
6565 (synopsis "Graphical editor for GNOME's dconf configuration system")
6567 "Dconf-editor is a graphical tool for browsing and editing the dconf
6568 configuration system for GNOME. It allows users to configure desktop
6569 software that do not provide their own configuration interface.")
6570 (license license:lgpl2.1+)))
6572 (define-public gnome-default-applications
6574 (name "gnome-default-applications")
6576 (build-system trivial-build-system)
6579 `(("nautilus" ,nautilus)
6580 ("evince" ,evince)))
6582 `(#:modules ((guix build utils))
6585 (use-modules (guix build utils))
6586 (let* ((out (assoc-ref %outputs "out"))
6587 (apps (string-append out "/share/applications")))
6589 (call-with-output-file (string-append apps "/defaults.list")
6591 (format port "[Default Applications]\n")
6592 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6593 (format port "application/pdf=evince.desktop\n")
6594 (format port "application/postscript=evince.desktop\n")))
6596 (synopsis "Default MIME type associations for the GNOME desktop")
6598 "Given many installed packages which might handle a given MIME type, a
6599 user running the GNOME desktop probably has some preferences: for example,
6600 that folders be opened by default by the Nautilus file manager, not the Baobab
6601 disk usage analyzer. This package establishes that set of default MIME type
6602 associations for GNOME.")
6603 (license license:gpl3+)
6606 (define-public gnome
6609 (version (package-version gnome-shell))
6611 (build-system trivial-build-system)
6612 (arguments '(#:builder (begin (mkdir %output) #t)))
6614 ;; TODO: Add more packages according to:
6615 ;; <https://packages.debian.org/jessie/gnome-core>.
6616 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6618 ("font-cantarell" ,font-cantarell)
6619 ("font-dejavu" ,font-dejavu)
6620 ("at-spi2-core" ,at-spi2-core)
6623 ("desktop-file-utils" ,desktop-file-utils)
6625 ("epiphany" ,epiphany)
6627 ("file-roller" ,file-roller)
6629 ("glib-networking" ,glib-networking)
6630 ("gnome-backgrounds" ,gnome-backgrounds)
6631 ("gnome-bluetooth" ,gnome-bluetooth)
6632 ("gnome-calculator" ,gnome-calculator)
6633 ("gnome-control-center" ,gnome-control-center)
6634 ("gnome-disk-utility" ,gnome-disk-utility)
6635 ("gnome-default-applications" ,gnome-default-applications)
6636 ("gnome-keyring" ,gnome-keyring)
6637 ("gnome-online-accounts" ,gnome-online-accounts)
6638 ("gnome-session" ,gnome-session)
6639 ("gnome-settings-daemon" ,gnome-settings-daemon)
6640 ("gnome-shell" ,gnome-shell)
6641 ("gnome-system-monitor" ,gnome-system-monitor)
6642 ("gnome-terminal" ,gnome-terminal)
6643 ("gnome-themes-standard" ,gnome-themes-standard)
6644 ("gst-plugins-base" ,gst-plugins-base)
6645 ("gst-plugins-good" ,gst-plugins-good)
6646 ("gucharmap" ,gucharmap)
6648 ("hicolor-icon-theme" ,hicolor-icon-theme)
6649 ("nautilus" ,nautilus)
6650 ("pinentry-gnome3" ,pinentry-gnome3)
6651 ("pulseaudio" ,pulseaudio)
6652 ("shared-mime-info" ,shared-mime-info)
6653 ("system-config-printer" ,system-config-printer)
6655 ("xdg-user-dirs" ,xdg-user-dirs)
6657 ("zenity" ,zenity)))
6658 (synopsis "The GNU desktop environment")
6659 (home-page "https://www.gnome.org/")
6661 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6662 applications for browsing the web, editing text and images, creating
6663 documents and diagrams, playing media, scanning, and much more.")
6664 (license license:gpl2+)))
6666 (define-public byzanz
6667 ;; The last stable release of Byzanz was in 2011, but there have been many
6668 ;; useful commits made to the Byzanz repository since then that it would be
6669 ;; silly to use such an old release.
6670 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6673 (version (string-append "0.2-1." (string-take commit 7)))
6677 (url "https://git.gnome.org/browse/byzanz")
6679 (file-name (string-append name "-" version "-checkout"))
6682 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6683 (build-system glib-or-gtk-build-system)
6686 (modify-phases %standard-phases
6689 ;; The build system cleverly detects that we're not building from
6690 ;; a release tarball and turns on -Werror for GCC.
6691 ;; Unsurprisingly, there is a warning during compilation that
6692 ;; causes the build to fail unnecessarily, so we remove the flag.
6693 (substitute* '("configure.ac")
6695 ;; The autogen.sh script in gnome-common will run ./configure
6696 ;; by default, which is problematic because source shebangs
6697 ;; have not yet been patched.
6698 (setenv "NOCONFIGURE" "t")
6699 (zero? (system* "sh" "autogen.sh")))))))
6701 `(("autoconf" ,autoconf)
6702 ("automake" ,automake)
6703 ("gnome-common" ,gnome-common)
6704 ("intltool" ,intltool)
6705 ("libtool" ,libtool)
6706 ("pkg-config" ,pkg-config)
6710 ("gstreamer" ,gstreamer)
6711 ("gst-plugins-base" ,gst-plugins-base)
6713 (synopsis "Desktop recording program")
6714 (description "Byzanz is a simple desktop recording program with a
6715 command-line interface. It can record part or all of an X display for a
6716 specified duration and save it as a GIF encoded animated image file.")
6717 (home-page "https://git.gnome.org/browse/byzanz")
6718 (license license:gpl2+))))
6720 (define-public gsound
6726 (uri (string-append "mirror://gnome/sources/" name "/"
6727 (version-major+minor version) "/"
6728 name "-" version ".tar.xz"))
6731 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6732 (build-system glib-or-gtk-build-system)
6734 `(("pkg-config" ,pkg-config)
6735 ("gobject-introspection" ,gobject-introspection)
6739 ("libcanberra" ,libcanberra)))
6740 (home-page "https://wiki.gnome.org/Projects/GSound")
6741 (synopsis "GObject wrapper for libcanberra")
6743 "GSound is a small library for playing system sounds. It's designed to be
6744 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6746 (license license:lgpl2.1+)))
6748 (define-public libzapojit
6754 (uri (string-append "mirror://gnome/sources/" name "/"
6755 (version-major+minor version) "/"
6756 name "-" version ".tar.xz"))
6759 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6760 (build-system gnu-build-system)
6762 `(("gobject-introspection" ,gobject-introspection)
6763 ("intltool" ,intltool)
6764 ("pkg-config" ,pkg-config)))
6766 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6767 ("json-glib" ,json-glib)
6769 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6770 (synopsis "Library for accessing SkyDrive and Hotmail")
6772 "Libzapojit is a GLib-based library for accessing online service APIs of
6773 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6774 (license license:lgpl2.1+)))
6776 (define-public gnome-clocks
6778 (name "gnome-clocks")
6782 (uri (string-append "mirror://gnome/sources/" name "/"
6783 (version-major+minor version) "/"
6784 name "-" version ".tar.xz"))
6787 "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl"))))
6788 (build-system meson-build-system)
6790 '(#:glib-or-gtk? #t))
6793 ("pkg-config" ,pkg-config)
6794 ("glib" ,glib "bin") ; for glib-compile-resources
6795 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6796 ("desktop-file-utils" ,desktop-file-utils)
6797 ("gettext" ,gettext-minimal)
6798 ("itstool" ,itstool)))
6803 ("geoclue" ,geoclue)
6804 ("geocode-glib" ,geocode-glib)
6805 ("libgweather" ,libgweather)
6806 ("gnome-desktop" ,gnome-desktop)))
6807 (home-page "https://wiki.gnome.org/Apps/Clocks")
6808 (synopsis "GNOME's clock application")
6810 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6811 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6812 (license license:gpl3+)))
6814 (define-public gnome-calendar
6816 (name "gnome-calendar")
6820 (uri (string-append "mirror://gnome/sources/" name "/"
6821 (version-major+minor version) "/"
6822 name "-" version ".tar.xz"))
6825 "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw"))))
6826 (build-system meson-build-system)
6829 ;; gnome-calendar has to be installed before the tests can be run
6830 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6833 `(("gettext" ,gettext-minimal)
6834 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6835 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6836 ("pkg-config" ,pkg-config)))
6838 `(("evolution-data-server" ,evolution-data-server)
6839 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6840 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6841 ("libdazzle" ,libdazzle)
6842 ("libedataserverui" ,evolution-data-server "libedataserverui")
6843 ("libgweather" ,libgweather)
6844 ("geoclue" ,geoclue)))
6845 (home-page "https://wiki.gnome.org/Apps/Calendar")
6846 (synopsis "GNOME's calendar application")
6848 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6849 desktop. It supports multiple calendars, month, week and year view.")
6850 (license license:gpl3+)))
6852 (define-public gnome-todo
6858 (uri (string-append "mirror://gnome/sources/" name "/"
6859 (version-major+minor version) "/"
6860 name "-" version ".tar.xz"))
6863 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
6864 (build-system meson-build-system)
6867 #:phases (modify-phases %standard-phases
6869 'install 'wrap-gnome-todo
6870 (lambda* (#:key inputs outputs #:allow-other-keys)
6871 (let ((out (assoc-ref outputs "out"))
6872 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6873 (python-path (getenv "PYTHONPATH")))
6874 (wrap-program (string-append out "/bin/gnome-todo")
6875 ;; XXX: gi plugins are broken.
6876 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6878 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6879 `("PYTHONPATH" ":" prefix (,python-path))))
6882 `(("gettext" ,gettext-minimal)
6883 ("gobject-introspection" ,gobject-introspection)
6884 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6885 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6886 ("pkg-config" ,pkg-config)))
6888 `(("rest" ,rest) ; For Todoist plugin
6889 ("json-glib" ,json-glib) ; For Todoist plugin
6890 ("libedataserverui" ,evolution-data-server "libedataserverui")
6891 ("libical" ,libical)
6892 ("libpeas" ,libpeas)
6893 ("python-pygobject" ,python-pygobject)
6894 ("evolution-data-server" ,evolution-data-server)
6895 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6896 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6897 (home-page "https://wiki.gnome.org/Apps/Todo")
6898 (synopsis "GNOME's ToDo Application")
6900 "GNOME To Do is a simplistic personal task manager designed to perfectly
6901 fit the GNOME desktop.")
6902 (license license:gpl3+)))
6904 (define-public gnome-dictionary
6906 (name "gnome-dictionary")
6910 (uri (string-append "mirror://gnome/sources/" name "/"
6911 (version-major+minor version) "/"
6912 name "-" version ".tar.xz"))
6915 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6916 (build-system meson-build-system)
6917 (arguments '(#:glib-or-gtk? #t
6918 #:phases (modify-phases %standard-phases
6919 (add-after 'unpack 'patch-install-script
6921 ;; This script attempts to compile glib schemas
6922 ;; and create an empty MIME database. We do
6923 ;; that elsewhere, so prevent it from running.
6924 (substitute* "build-aux/post-install.sh"
6925 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6928 `(("glib:bin" ,glib "bin")
6929 ("gobject-introspection" ,gobject-introspection)
6930 ("intltool" ,intltool)
6931 ("itstool" ,itstool)
6932 ("pkg-config" ,pkg-config)
6933 ("xmllint" ,libxml2)))
6935 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6937 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6938 (synopsis "Look up words in dictionary sources")
6940 "GNOME Dictionary can look for the definition or translation of a word in
6941 existing databases over the internet.")
6942 (license license:gpl3+)))
6944 (define-public gnome-tweaks
6946 (name "gnome-tweaks")
6950 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
6951 (version-major+minor version) "/"
6952 "gnome-tweaks-" version ".tar.xz"))
6954 (list (search-patch "gnome-tweaks-search-paths.patch")))
6957 "1p5xydr0haz4389h6dvvbna6i1mipdzvmlfksnv0jqfvfs9sy6fp"))))
6958 (build-system meson-build-system)
6961 #:configure-flags '("-Dlocalstatedir=/tmp"
6962 "-Dsysconfdir=/tmp")
6963 #:imported-modules ((guix build python-build-system)
6964 ,@%meson-build-system-modules)
6966 (modify-phases %standard-phases
6967 (add-after 'install 'wrap
6968 (@@ (guix build python-build-system) wrap))
6969 (add-after 'wrap 'wrap-gi-typelib
6970 (lambda* (#:key inputs outputs #:allow-other-keys)
6971 (let ((out (assoc-ref outputs "out"))
6972 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6973 (wrap-program (string-append out "/bin/gnome-tweaks")
6974 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6977 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6978 ("intltool" ,intltool)
6979 ("pkg-config" ,pkg-config)))
6981 `(("gnome-desktop" ,gnome-desktop)
6983 ("gobject-introspection" ,gobject-introspection)
6984 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6985 ("libnotify" ,libnotify)
6986 ("libsoup" ,libsoup)
6987 ("nautilus" ,nautilus)
6989 ("python-pygobject" ,python-pygobject)))
6990 (synopsis "Customize advanced GNOME 3 options")
6991 (home-page "https://wiki.gnome.org/Apps/Tweaks")
6993 "GNOME Tweaks allows adjusting advanced configuration settings in
6994 GNOME 3. This includes things like the fonts used in user interface elements,
6995 alternative user interface themes, changes in window management behavior,
6996 GNOME Shell appearance and extension, etc.")
6997 (license license:gpl3+)))
6999 ;; This package has been renamed by upstream.
7000 (define-public gnome-tweak-tool
7001 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7003 (define-public gnome-shell-extensions
7005 (name "gnome-shell-extensions")
7009 (uri (string-append "mirror://gnome/sources/" name "/"
7010 (version-major+minor version) "/"
7011 name "-" version ".tar.xz"))
7014 "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9"))))
7015 (build-system meson-build-system)
7017 '(#:configure-flags '("-Dextension_set=all")))
7019 `(("intltool" ,intltool)
7020 ("pkg-config" ,pkg-config)))
7023 ("glib" ,glib "bin")))
7024 (synopsis "Extensions for GNOME Shell")
7025 (description "GNOME Shell extensions modify and extend GNOME Shell
7026 functionality and behavior.")
7027 (home-page "https://extensions.gnome.org/")
7028 (license license:gpl3+)))
7030 (define-public numix-theme
7032 (name "numix-theme")
7037 (url "https://github.com/numixproject/numix-gtk-theme.git")
7039 (file-name (git-file-name name version))
7042 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
7043 (build-system gnu-build-system)
7045 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
7047 (modify-phases %standard-phases
7051 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
7052 ("gnome-shell" ,gnome-shell)
7054 ("xmllint" ,libxml2)
7055 ("ruby-sass" ,ruby-sass)))
7056 (synopsis "Flat theme with light and dark elements")
7057 (description "Numix is a modern flat theme with a combination of light and
7058 dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
7059 (home-page "https://numixproject.github.io")
7060 (license license:gpl3+)))
7062 (define-public arc-theme
7065 (version "20181022")
7069 (url "https://github.com/NicoHood/arc-theme.git")
7071 (file-name (git-file-name name version))
7074 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
7075 (build-system gnu-build-system)
7078 (modify-phases %standard-phases
7079 ;; autogen.sh calls configure at the end of the script.
7081 (lambda _ (invoke "autoreconf" "-vfi"))))))
7083 `(("autoconf" ,autoconf)
7084 ("automake" ,automake)
7085 ("glib" ,glib "bin") ; for glib-compile-resources
7086 ("gnome-shell" ,gnome-shell)
7088 ("inkscape" ,inkscape)
7089 ("optipng" ,optipng)
7090 ("pkg-config" ,pkg-config)
7092 (synopsis "A flat GTK+ theme with transparent elements")
7093 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
7094 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7095 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7096 (home-page "https://github.com/horst3180/arc-theme")
7097 ;; No "or later" language found.
7098 (license license:gpl3+)))
7100 (define-public faba-icon-theme
7102 (name "faba-icon-theme")
7107 (uri (string-append "https://github.com/moka-project/"
7108 name "/archive/v" version ".tar.gz"))
7109 (file-name (string-append name "-" version ".tar.gz"))
7112 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
7113 (build-system meson-build-system)
7116 (modify-phases %standard-phases
7117 (add-before 'configure 'disable-post-install
7119 (substitute* "meson.build"
7120 (("meson.add_install_script.*") "")))))))
7122 `(("autoconf" ,autoconf)
7123 ("automake" ,automake)))
7124 (synopsis "Faba icon theme")
7126 "Faba is a minimal icon set used as a basis for other themes such as
7128 (home-page "https://snwh.org/moka")
7129 (license (list license:lgpl3+
7130 license:cc-by-sa4.0))))
7132 (define-public moka-icon-theme
7134 (inherit faba-icon-theme)
7135 (name "moka-icon-theme")
7139 (uri (string-append "https://github.com/moka-project"
7140 "/moka-icon-theme/archive/v"
7142 (file-name (string-append name "-" version ".tar.gz"))
7145 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
7147 ;; Moka is based on Faba by using it as a fallback icon set instead of
7148 ;; bundling it, so we need to add it as a propagated input.
7149 `(("faba-icon-theme" ,faba-icon-theme)))
7150 (synopsis "Moka icon theme")
7151 (description "Moka is a stylized desktop icon set, designed to be clear,
7152 simple and consistent.")
7153 (license (list license:gpl3+
7154 license:cc-by-sa4.0))))
7156 (define-public arc-icon-theme
7158 (name "arc-icon-theme")
7159 (version "20161122")
7162 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7163 "/archive/" version ".tar.gz"))
7164 (file-name (string-append name "-" version ".tar.gz"))
7167 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
7168 (build-system gnu-build-system)
7171 (modify-phases %standard-phases
7172 (add-after 'unpack 'disable-configure-during-bootstrap
7174 (substitute* "autogen.sh"
7175 (("^\"\\$srcdir/configure\".*") ""))
7178 `(("autoconf" ,autoconf)
7179 ("automake" ,automake)))
7180 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7182 `(("moka-icon-theme" ,moka-icon-theme)))
7183 (synopsis "Arc icon theme")
7184 (description "The Arc icon theme provides a set of icons matching the
7185 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7186 the Moka icon theme.")
7187 (home-page "https://github.com/horst3180/arc-icon-theme")
7188 (license license:gpl3+)))
7190 (define-public folks
7197 "mirror://gnome/sources/folks/"
7198 (version-major+minor version) "/"
7199 "folks-" version ".tar.xz"))
7202 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
7203 (build-system glib-or-gtk-build-system)
7206 ("dbus-glib" ,dbus-glib)
7207 ("evolution-data-server" ,evolution-data-server)
7210 ("telepathy-glib" ,telepathy-glib)))
7212 `(("gobject-introspection" ,gobject-introspection)
7213 ("intltool" ,intltool)
7214 ("pkg-config" ,pkg-config)
7216 (synopsis "Library to aggregate data about people")
7217 (description "Libfolks is a library that aggregates information about people
7218 from multiple sources (e.g., Telepathy connection managers for IM contacts,
7219 Evolution Data Server for local contacts, libsocialweb for web service contacts,
7220 etc.) to create metacontacts. It's written in Vala, which generates C code when
7222 (home-page "https://wiki.gnome.org/Projects/Folks")
7223 (license license:lgpl2.1+)))
7225 (define-public gfbgraph
7232 "mirror://gnome/sources/" name "/"
7233 (version-major+minor version) "/"
7234 name "-" version ".tar.xz"))
7237 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7238 (build-system glib-or-gtk-build-system)
7240 `(#:tests? #f ; Tests appear to require the network.
7241 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7242 #:configure-flags '("--disable-gtk-doc"
7244 "--enable-introspection")))
7246 `(("pkg-config" ,pkg-config)
7247 ("gobject-introspection" ,gobject-introspection)))
7249 `(("json-glib" ,json-glib)
7250 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7252 (synopsis "GLib/GObject wrapper for the Facebook API")
7253 (description "This library allows you to use the Facebook API from
7254 GLib/GObject code.")
7255 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7256 (license license:lgpl2.1+)))
7258 (define-public libgnomekbd
7260 (name "libgnomekbd")
7264 (uri (string-append "mirror://gnome/sources/" name "/"
7265 (version-major+minor version) "/"
7266 name "-" version ".tar.xz"))
7269 "0xc8jrc44x2h24v28wv36k70k7bwxy6p2vsvxvvia1n3ay642fza"))))
7270 (build-system gnu-build-system)
7272 `(("pkg-config" ,pkg-config)
7273 ("glib" ,glib "bin")
7274 ("intltool" ,intltool)))
7276 ;; Referred to in .h files and .pc.
7279 ("libxklavier" ,libxklavier)))
7280 (home-page "https://www.gnome.org")
7281 (synopsis "GNOME keyboard configuration library")
7283 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7284 environment, which can notably display keyboard layouts.")
7285 (license license:lgpl2.0+)))
7287 ;;; This package is no longer maintained:
7288 ;;; https://wiki.gnome.org/Attic/LibUnique
7289 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7290 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7291 (define-public libunique
7297 (uri (string-append "mirror://gnome/sources/" name "/"
7298 (version-major+minor version) "/"
7299 name "-" version ".tar.xz"))
7302 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7303 (build-system glib-or-gtk-build-system)
7305 `(#:configure-flags '("--disable-static"
7306 "--disable-dbus" ; use gdbus
7307 "--enable-introspection")))
7309 `(("pkg-config" ,pkg-config)
7310 ("gobject-introspection" ,gobject-introspection)
7311 ("glib:bin" ,glib "bin")
7312 ("gtk-doc" ,gtk-doc)))
7314 ;; Referred to in .h files and .pc.
7316 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7317 (synopsis "Library for writing single instance applications")
7319 "Libunique is a library for writing single instance applications. If you
7320 launch a single instance application twice, the second instance will either just
7321 quit or will send a message to the running instance. Libunique makes it easy to
7322 write this kind of application, by providing a base class, taking care of all
7323 the IPC machinery needed to send messages to a running instance, and also
7324 handling the startup notification side.")
7325 (license license:lgpl2.1+)))
7327 (define-public gnome-calculator
7329 (name "gnome-calculator")
7334 (uri (string-append "mirror://gnome/sources/" name "/"
7335 (version-major+minor version) "/"
7336 name "-" version ".tar.xz"))
7339 "0izsrqc9fm2lh25jr3nzi94p5hh2d3cklxqczbq16by85wr1xm5s"))))
7340 (build-system glib-or-gtk-build-system)
7342 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7343 ("intltool" ,intltool)
7344 ("itstool" ,itstool)
7345 ("pkg-config" ,pkg-config)))
7348 ("gtksourceview" ,gtksourceview-3)
7349 ("libsoup" ,libsoup)
7350 ("libxml2" ,libxml2)
7353 (home-page "https://wiki.gnome.org/Apps/Calculator")
7354 (synopsis "Desktop calculator")
7356 "Calculator is an application that solves mathematical equations and
7357 is suitable as a default application in a Desktop environment.")
7358 (license license:gpl3)))
7367 (uri (string-append "https://launchpad.net/xpad/trunk/"
7368 version "/+download/"
7369 name "-" version ".tar.bz2"))
7372 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
7373 (build-system gnu-build-system)
7375 `(("autoconf" ,autoconf)
7376 ("automake" ,automake)
7377 ("gtk+:bin" ,gtk+ "bin")
7378 ("intltool" ,intltool)
7379 ("pkg-config" ,pkg-config)))
7381 `(("gtksourceview" ,gtksourceview-3)
7383 (home-page "https://wiki.gnome.org/Apps/Xpad")
7384 (synopsis "Virtual sticky note")
7386 "Xpad is a sticky note that strives to be simple, fault tolerant,
7387 and customizable. Xpad consists of independent pad windows, each is
7388 basically a text box in which notes can be written.")
7389 (license license:gpl3+)))
7391 (define-public gucharmap
7392 (let ((unicode-files
7394 "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
7396 "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
7398 "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
7400 "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
7402 "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
7404 "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
7411 (uri (string-append "mirror://gnome/sources/" name "/"
7412 (version-major+minor version) "/"
7413 name "-" version ".tar.xz"))
7416 "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
7417 (build-system glib-or-gtk-build-system)
7419 `(#:modules ((ice-9 match)
7420 (guix build glib-or-gtk-build-system)
7423 (list "--with-unicode-data=../unicode-data")
7425 (modify-phases %standard-phases
7426 (add-after 'unpack 'prepare-unicode-data
7427 (lambda* (#:key inputs #:allow-other-keys)
7428 (mkdir-p "../unicode-data")
7429 (with-directory-excursion "../unicode-data"
7430 (for-each (match-lambda
7432 (install-file (assoc-ref inputs file) ".")))
7436 `(("desktop-file-utils" ,desktop-file-utils)
7437 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7438 ("gobject-introspection" ,gobject-introspection)
7439 ("intltool" ,intltool)
7440 ("itstool" ,itstool)
7441 ("pkg-config" ,pkg-config)
7442 ,@(map (match-lambda
7448 "http://www.unicode.org/Public/10.0.0/ucd/"
7450 (sha256 (base32 hash))))))
7455 ("xmllint" ,libxml2)))
7456 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7457 (synopsis "Unicode character picker and font browser")
7459 "This program allows you to browse through all the available Unicode
7460 characters and categories for the installed fonts, and to examine their
7461 detailed properties. It is an easy way to find the character you might
7462 only know by its Unicode name or code point.")
7463 (license license:gpl3+))))
7465 (define-public bluefish
7472 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7473 name "-" version ".tar.gz"))
7476 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
7477 (build-system gnu-build-system)
7479 `(("desktop-file-utils" ,desktop-file-utils)
7480 ("intltool" ,intltool)
7481 ("pkg-config" ,pkg-config)))
7483 `(("enchant" ,enchant)
7485 ("python" ,python-2)
7486 ("xmllint" ,libxml2)
7487 ("gucharmap" ,gucharmap)))
7488 (home-page "http://bluefish.openoffice.nl")
7489 (synopsis "Web development studio")
7491 "Bluefish is an editor targeted towards programmers and web developers,
7492 with many options to write web sites, scripts and other code.
7493 Bluefish supports many programming and markup languages.")
7494 (license license:gpl3+)))
7496 (define-public gnome-system-monitor
7498 (name "gnome-system-monitor")
7503 (uri (string-append "mirror://gnome/sources/" name "/"
7504 (version-major+minor version) "/"
7505 name "-" version ".tar.xz"))
7508 "164in885dyfvna5yjzgdyrbrsskvh5wzxdmkjgb4mbh54lzqd1zb"))))
7509 (build-system glib-or-gtk-build-system)
7511 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
7512 ("intltool" ,intltool)
7513 ("itstool" ,itstool)
7514 ("libgtop" ,libgtop)
7516 ("pkg-config" ,pkg-config)))
7518 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7521 ("librsvg" ,librsvg)
7522 ("libxml2" ,libxml2)
7523 ("libwnck" ,libwnck)))
7524 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7525 (synopsis "Process viewer and system resource monitor for GNOME")
7527 "GNOME System Monitor is a GNOME process viewer and system monitor with
7528 an attractive, easy-to-use interface. It has features, such as a tree view
7529 for process dependencies, icons for processes, the ability to hide processes,
7530 graphical time histories of CPU/memory/swap usage and the ability to
7531 kill/reinice processes.")
7532 (license license:gpl2+)))
7534 (define-public python-pyatspi
7536 (name "python-pyatspi")
7541 "mirror://gnome/sources/pyatspi/"
7542 (version-major+minor version)
7543 "/pyatspi-" version ".tar.xz"))
7546 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7547 ;; Patch from upstream, fixed in newer versions.
7548 (patches (search-patches "python-pyatspi-python-37.patch"))))
7549 (build-system gnu-build-system)
7552 (modify-phases %standard-phases
7553 (add-before 'build 'fix-atk-load
7555 (substitute* "pyatspi/__init__.py"
7556 (("from gi.repository import Atspi")
7557 "gi.require_version('Gtk', '3.0')
7558 from gi.repository import Gtk
7559 from gi.repository import Atspi"))
7562 `(("pkg-config" ,pkg-config)))
7564 `(("python" ,python)
7565 ("python-pygobject" ,python-pygobject)))
7566 (synopsis "Python client bindings for D-Bus AT-SPI")
7567 (home-page "https://wiki.linuxfoundation.org/accessibility\
7568 /atk/at-spi/at-spi_on_d-bus")
7570 "This package includes a python client library for the AT-SPI D-Bus
7571 accessibility infrastructure.")
7572 (license license:lgpl2.0)
7573 (properties '((upstream-name . "pyatspi")))))
7582 "mirror://gnome/sources/" name "/"
7583 (version-major+minor version) "/"
7584 name "-" version ".tar.xz"))
7587 "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g"))))
7588 (build-system glib-or-gtk-build-system)
7591 (modify-phases %standard-phases
7592 (add-before 'configure 'qualify-xkbcomp
7593 (lambda* (#:key inputs #:allow-other-keys)
7594 (let ((xkbcomp (string-append
7595 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7596 (substitute* "src/orca/orca.py"
7597 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7599 (add-after 'install 'wrap-orca
7600 (lambda* (#:key outputs #:allow-other-keys)
7601 (let* ((out (assoc-ref outputs "out"))
7602 (prog (string-append out "/bin/orca")))
7604 `("GI_TYPELIB_PATH" ":" prefix
7605 (,(getenv "GI_TYPELIB_PATH")))
7606 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7607 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7608 `("PYTHONPATH" ":" prefix
7609 (,(getenv "PYTHONPATH")))))
7612 `(("intltool" ,intltool)
7613 ("itstool" ,itstool)
7614 ("pkg-config" ,pkg-config)
7615 ("xmllint" ,libxml2)))
7617 `(("at-spi2-atk" ,at-spi2-atk)
7618 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7619 ("gstreamer" ,gstreamer)
7620 ("gst-plugins-base" ,gst-plugins-base)
7621 ("gst-plugins-good" ,gst-plugins-good)
7624 ("python-pygobject" ,python-pygobject)
7625 ("python-pyatspi" ,python-pyatspi)
7626 ("python-speechd" ,speech-dispatcher)
7627 ("xkbcomp" ,xkbcomp)))
7629 "Screen reader for individuals who are blind or visually impaired")
7630 (home-page "https://wiki.gnome.org/Projects/Orca")
7632 "Orca is a screen reader that provides access to the graphical desktop
7633 via speech and refreshable braille. Orca works with applications and toolkits
7634 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7635 (license license:lgpl2.1+)))
7637 (define-public gspell
7643 (uri (string-append "mirror://gnome/sources/" name "/"
7644 (version-major+minor version) "/"
7645 name "-" version ".tar.xz"))
7648 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
7649 (patches (search-patches "gspell-dash-test.patch"))))
7650 (build-system glib-or-gtk-build-system)
7653 (modify-phases %standard-phases
7654 (add-before 'check 'pre-check
7655 (lambda* (#:key inputs #:allow-other-keys)
7656 ;; Tests require a running X server.
7657 (system "Xvfb :1 &")
7658 (setenv "DISPLAY" ":1")
7660 ;; For the missing /etc/machine-id.
7661 (setenv "DBUS_FATAL_WARNINGS" "0")
7663 ;; Allow Enchant and its Aspell backend to find the en_US
7665 (setenv "ASPELL_DICT_DIR"
7666 (string-append (assoc-ref inputs "aspell-dict-en")
7672 ("iso-codes" ,iso-codes)))
7674 `(("glib" ,glib "bin")
7675 ("pkg-config" ,pkg-config)
7676 ("xmllint" ,libxml2)
7679 ("aspell-dict-en" ,aspell-dict-en)
7680 ("xorg-server" ,xorg-server)))
7682 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7683 (home-page "https://wiki.gnome.org/Projects/gspell")
7684 (synopsis "GNOME's alternative spell checker")
7686 "gspell provides a flexible API to add spell-checking to a GTK+
7687 application. It provides a GObject API, spell-checking to text entries and
7688 text views, and buttons to choose the language.")
7689 (license license:gpl2+)))
7691 (define-public gnome-planner
7693 (name "gnome-planner")
7697 (uri (string-append "mirror://gnome/sources/planner/"
7698 (version-major+minor version) "/planner-"
7702 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7703 (build-system glib-or-gtk-build-system)
7705 ;; Disable the Python bindings because the Planner program functions
7706 ;; without them, and (as of 2017-06-13) we have not packaged all of
7707 ;; packages that are necessary for building the Python bindings.
7709 (list "--disable-python"
7710 ,@(if (string=? "aarch64-linux" (%current-system))
7711 '("--build=aarch64-unknown-linux-gnu")
7714 `(("libgnomecanvas" ,libgnomecanvas)
7715 ("libgnomeui" ,libgnomeui)
7716 ("libglade" ,libglade)
7717 ("gnome-vfs" ,gnome-vfs)
7719 ("libxml2" ,libxml2)
7720 ("libxslt" ,libxslt)
7724 `(("intltool" ,intltool)
7725 ("scrollkeeper" ,scrollkeeper)
7726 ("pkg-config" ,pkg-config)))
7727 (home-page "https://wiki.gnome.org/Apps/Planner")
7728 (synopsis "Project management software for the GNOME desktop")
7730 "GNOME Planner is a project management tool based on the Work Breakdown
7731 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7732 the resources, tasks, and constraints that you define, Planner generates
7733 various views into a project. For example, Planner can show a Gantt chart of
7734 the project. It can show a detailed summary of tasks including their
7735 duration, cost, and current progress. It can also show a report of resource
7736 utilization that highlights under-utilized and over-utilized resources. These
7737 views can be printed as PDF or PostScript files, or exported to HTML.")
7738 (license license:gpl2+)))
7740 (define-public lollypop
7747 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7748 "5a7cd7c72b6d83ae08d0c54c4691f9df/"
7749 name "-" version ".tar.xz"))
7752 "1r5wn0bja9psz6nr1rcaysdkkwz84rbyzpdfw66cxa6wiy52pkjm"))))
7753 (build-system meson-build-system)
7755 `(#:imported-modules ((guix build python-build-system)
7756 ,@%meson-build-system-modules)
7758 #:tests? #f ; no test suite
7760 (modify-phases %standard-phases
7761 (add-after 'install 'wrap-program
7762 (lambda* (#:key outputs #:allow-other-keys)
7763 (let ((out (assoc-ref outputs "out"))
7764 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7765 (wrap-program (string-append out "/bin/lollypop")
7766 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7768 (add-after 'install 'wrap
7769 (@@ (guix build python-build-system) wrap)))))
7771 `(("intltool" ,intltool)
7772 ("itstool" ,itstool)
7773 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7774 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7775 ("pkg-config" ,pkg-config)))
7777 `(("gobject-introspection" ,gobject-introspection)
7778 ("gst-plugins-base" ,gst-plugins-base)
7779 ("libnotify" ,libnotify)
7780 ("libsecret" ,libsecret)
7781 ("libsoup" ,libsoup)
7783 ("python-beautifulsoup4" ,python-beautifulsoup4)
7784 ("python-gst" ,python-gst)
7785 ("python-pil" ,python-pillow)
7786 ("python-pycairo" ,python-pycairo)
7787 ("python-pygobject" ,python-pygobject)
7788 ("python-pylast" ,python-pylast)
7789 ("totem-pl-parser" ,totem-pl-parser)
7790 ("webkitgtk" ,webkitgtk)))
7792 `(;; gst-plugins-base is required to start Lollypop,
7793 ;; the others are required to play streaming.
7794 ("gst-plugins-good" ,gst-plugins-good)
7795 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7796 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7797 (synopsis "GNOME music playing application")
7799 "Lollypop is a music player designed to play well with GNOME desktop.
7800 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7801 from artists and tracks from the web. It also fetches cover artworks
7802 automatically and it can stream songs from online music services and charts.")
7803 (license license:gpl3+)))
7805 (define-public gnome-video-effects
7807 (name "gnome-video-effects")
7811 (uri (string-append "mirror://gnome/sources/" name "/"
7812 (version-major+minor version) "/" name "-"
7816 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7817 (build-system glib-or-gtk-build-system)
7819 `(#:out-of-source? #f))
7821 `(("glib:bin" ,glib "bin")
7822 ("intltool" ,intltool)
7823 ("gettext" ,gettext-minimal)
7824 ("pkg-config" ,pkg-config)))
7825 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7826 (synopsis "Video effects for Cheese and other GNOME applications")
7828 "A collection of GStreamer video filters and effects to be used in
7829 photo-booth-like software, such as Cheese.")
7830 (license license:gpl2+)))
7832 (define-public cheese
7838 (uri (string-append "mirror://gnome/sources/" name "/"
7839 (version-major+minor version) "/" name "-"
7843 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
7845 ;; Tests require GDK.
7848 (modify-phases %standard-phases
7849 (add-before 'install 'skip-gtk-update-icon-cache
7851 ;; Don't create 'icon-theme.cache'
7852 (substitute* "Makefile"
7853 (("gtk-update-icon-cache") (which "true")))
7855 (add-after 'install 'wrap-cheese
7856 (lambda* (#:key inputs outputs #:allow-other-keys)
7857 (let ((out (assoc-ref outputs "out"))
7858 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7859 (wrap-program (string-append out "/bin/cheese")
7860 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7862 (build-system glib-or-gtk-build-system)
7864 `(("glib:bin" ,glib "bin")
7865 ("intltool" ,intltool)
7866 ("itstool" ,itstool)
7867 ("libxml2" ,libxml2)
7868 ("pkg-config" ,pkg-config)
7871 `(("gnome-video-effects" ,gnome-video-effects)
7872 ("clutter" ,clutter)
7873 ("clutter-gst" ,clutter-gst)
7874 ("clutter-gtk" ,clutter-gtk)
7875 ("libcanberra" ,libcanberra)
7876 ("gdk-pixbuf" ,gdk-pixbuf)
7878 ("gstreamer" ,gstreamer)))
7880 `(("gnome-desktop" ,gnome-desktop)
7881 ("gobject-introspection" ,gobject-introspection)
7882 ("gst-plugins-base" ,gst-plugins-base)
7883 ("gst-plugins-bad" ,gst-plugins-bad)
7886 ("libxtst" ,libxtst)))
7887 (home-page "https://wiki.gnome.org/Apps/Cheese")
7888 (synopsis "Webcam photo booth software for GNOME")
7890 "Cheese uses your webcam to take photos and videos. Cheese can also
7891 apply fancy special effects and lets you share the fun with others.")
7892 (license license:gpl2+)))
7894 (define-public sound-juicer
7896 (name "sound-juicer")
7901 (uri (string-append "mirror://gnome/sources/" name "/"
7902 (version-major+minor version) "/"
7903 name "-" version ".tar.xz"))
7906 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7907 (build-system glib-or-gtk-build-system)
7909 `(("desktop-file-utils" ,desktop-file-utils)
7910 ("intltool" ,intltool)
7911 ("itstool" ,itstool)
7912 ("pkg-config" ,pkg-config)
7913 ("xmllint" ,libxml2)))
7916 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7917 ("gstreamer" ,gstreamer)
7918 ("gst-plugins-base" ,gst-plugins-base)
7919 ("gst-plugins-good" ,gst-plugins-good)
7920 ("iso-codes" ,iso-codes)
7921 ("libbrasero-media3" ,brasero)
7922 ("libcanberra" ,libcanberra)
7923 ("libdiscid" ,libdiscid)
7924 ("libmusicbrainz" ,libmusicbrainz)
7926 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7927 (synopsis "Audio music cd ripper")
7928 (description "Sound Juicer extracts audio from compact discs and convert it
7929 into audio files that a personal computer or digital audio player can play.
7930 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7931 mp3, Ogg Vorbis and FLAC")
7932 (license license:gpl2+)))
7934 (define-public soundconverter
7936 (name "soundconverter")
7941 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7942 version "/+download/"
7943 "soundconverter-" version ".tar.xz"))
7946 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
7949 "soundconverter-remove-gconf-dependency.patch"))))
7950 (build-system glib-or-gtk-build-system)
7952 `(#:imported-modules ((guix build python-build-system)
7953 (guix build glib-or-gtk-build-system)
7954 ,@%gnu-build-system-modules)
7956 #:modules ((guix build glib-or-gtk-build-system)
7958 ((guix build gnu-build-system) #:prefix gnu:)
7959 ((guix build python-build-system) #:prefix python:))
7962 (modify-phases %standard-phases
7963 (add-after 'install 'wrap-soundconverter-for-python
7964 (assoc-ref python:%standard-phases 'wrap))
7965 (add-after 'install 'wrap-soundconverter
7966 (lambda* (#:key inputs outputs #:allow-other-keys)
7967 (let ((out (assoc-ref outputs "out"))
7968 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7969 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7970 (wrap-program (string-append out "/bin/soundconverter")
7971 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7972 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7975 `(("intltool" ,intltool)
7976 ("pkg-config" ,pkg-config)
7977 ("glib:bin" ,glib "bin")))
7981 ("python-pygobject" ,python-pygobject)
7982 ("gstreamer" ,gstreamer)
7983 ("gst-plugins-base" ,gst-plugins-base)))
7984 (home-page "http://soundconverter.org/")
7985 (synopsis "Convert between audio formats with a graphical interface")
7987 "SoundConverter supports converting between many audio formats including
7988 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7989 configurable file renaming. ")
7990 (license license:gpl3)))
7992 (define-public workrave
8000 (url "https://github.com/rcaelers/workrave.git")
8001 (commit (string-append "v" (string-map
8002 (match-lambda (#\. #\_) (chr chr))
8004 (file-name (git-file-name name version))
8006 (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw"))))
8007 (build-system glib-or-gtk-build-system)
8008 (propagated-inputs `(("glib" ,glib)
8010 ("gdk-pixbuf" ,gdk-pixbuf)
8014 ("libxtst" ,libxtst)
8016 ("libice" ,libice)))
8017 (inputs `(("libsm" ,libsm)
8018 ("python-cheetah" ,python2-cheetah)))
8019 (native-inputs `(("glib" ,glib "bin")
8020 ("pkg-config" ,pkg-config)
8021 ("gettext" ,gnu-gettext)
8022 ("autoconf" ,autoconf)
8023 ("autoconf-archive" , autoconf-archive)
8024 ("automake" ,automake)
8025 ("libtool" ,libtool)
8026 ("intltool" ,intltool)
8027 ("libxscrnsaver" ,libxscrnsaver)
8028 ("gobject-introspection" ,gobject-introspection)
8029 ("python2" ,python-2)))
8030 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8032 "Workrave is a program that assists in the recovery and prevention of
8033 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8034 micro-pauses and rest breaks, and restricts you to your daily limit.")
8035 (home-page "http://www.workrave.org")
8036 (license license:gpl3+)))
8044 (uri (string-append "mirror://gnome/sources/ghex/"
8045 (version-major+minor version) "/"
8046 "ghex-" version ".tar.xz"))
8049 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
8050 (build-system glib-or-gtk-build-system)
8052 `(("pkg-config" ,pkg-config)
8053 ("gnome-common" ,gnome-common)
8055 ("intltool" ,intltool)
8056 ("yelp-tools" ,yelp-tools)
8057 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
8061 (synopsis "GNOME hexadecimal editor")
8062 (description "The GHex program can view and edit files in two ways:
8063 hexadecimal or ASCII. It is useful for editing binary files in general.")
8064 (home-page "https://wiki.gnome.org/Apps/Ghex")
8065 (license license:gpl2)))
8067 (define-public libdazzle
8073 (uri (string-append "mirror://gnome/sources/libdazzle/"
8074 (version-major+minor version) "/"
8075 "libdazzle-" version ".tar.xz"))
8078 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
8079 (build-system meson-build-system)
8082 (modify-phases %standard-phases
8083 (add-before 'check 'pre-check
8085 ;; Tests require a running X server.
8086 (system "Xvfb :1 &")
8087 (setenv "DISPLAY" ":1")
8090 `(("glib" ,glib "bin") ; glib-compile-resources
8091 ("pkg-config" ,pkg-config)
8093 ("xorg-server" ,xorg-server)))
8096 ("gobject-introspection" ,gobject-introspection)
8099 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8100 (synopsis "Companion library to GObject and Gtk+")
8101 (description "The libdazzle library is a companion library to GObject and
8102 Gtk+. It provides various features that the authors wish were in the
8103 underlying library but cannot for various reasons. In most cases, they are
8104 wildly out of scope for those libraries. In other cases, they are not quite
8105 generic enough to work for everyone.")
8106 (license license:gpl3+)))
8108 (define-public evolution
8114 (uri (string-append "mirror://gnome/sources/evolution/"
8115 (version-major+minor version) "/"
8116 "evolution-" version ".tar.xz"))
8119 "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
8120 (build-system cmake-build-system)
8123 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
8124 "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
8125 ; in four years and cannot be built.
8127 `(("glib" ,glib "bin") ; glib-mkenums
8128 ("pkg-config" ,pkg-config)
8129 ("intltool" ,intltool)
8130 ("itstool" ,itstool)))
8132 `(("enchant" ,enchant)
8133 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8135 ("gnome-autoar" ,gnome-autoar)
8136 ("gnome-desktop" ,gnome-desktop)
8137 ("gtkspell3" ,gtkspell3)
8138 ("highlight" ,highlight)
8139 ("libcanberra" ,libcanberra)
8140 ("libedataserverui" ,evolution-data-server "libedataserverui")
8141 ("libgweather" ,libgweather)
8142 ("libnotify" ,libnotify)
8143 ("libsoup" ,libsoup)
8145 ("openldap" ,openldap)
8146 ("webkitgtk" ,webkitgtk)
8148 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8149 (synopsis "Manage your email, contacts and schedule")
8150 (description "Evolution is a personal information management application
8151 that provides integrated mail, calendaring and address book
8153 ;; See COPYING for details.
8154 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
8155 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
8156 license:lgpl2.1+)))) ; smime/lib/*
8158 (define-public gthumb
8164 (uri (string-append "mirror://gnome/sources/gthumb/"
8165 (version-major+minor version) "/"
8166 "gthumb-" version ".tar.xz"))
8169 "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f"))))
8170 (build-system meson-build-system)
8174 ;; Ensure the RUNPATH contains all installed library locations.
8175 (list (string-append "-Dc_link_args=-Wl,-rpath="
8176 (assoc-ref %outputs "out")
8177 "/lib/gthumb/extensions")
8178 (string-append "-Dcpp_link_args=-Wl,-rpath="
8179 (assoc-ref %outputs "out")
8180 "/lib/gthumb/extensions"))))
8182 `(("pkg-config" ,pkg-config)
8183 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8184 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8185 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8186 ("intltool" ,intltool)
8187 ("itstool" ,itstool)))
8191 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8192 ("gstreamer" ,gstreamer)
8193 ("clutter" ,clutter)
8194 ("clutter-gst" ,clutter-gst)
8195 ("clutter-gtk" ,clutter-gtk)
8196 ("libjpeg" ,libjpeg)
8197 ("libtiff" ,libtiff)
8198 ("libraw" ,libraw)))
8199 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8200 (synopsis "GNOME image viewer and browser")
8201 (description "GThumb is an image viewer, browser, organizer, editor and
8202 advanced image management tool")
8203 (license license:gpl2+)))
8205 (define-public terminator
8211 (uri (string-append "https://launchpad.net/" name "/"
8212 "gtk3/" version "/" "+download/"
8213 name "-" version ".tar.gz"))
8216 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8217 (build-system python-build-system)
8219 `(("intltool" ,intltool)
8220 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8221 ("gettext" ,gettext-minimal)
8222 ("pkg-config" ,pkg-config)))
8225 ("gobject-introspection" ,gobject-introspection)
8226 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8227 ("python2-pycairo" ,python2-pycairo)
8228 ("python2-pygobject" ,python2-pygobject)
8229 ("python2-psutil" ,python2-psutil)
8232 `(#:python ,python-2 ; Python 3 isn't supported
8233 #:imported-modules ((guix build glib-or-gtk-build-system)
8234 ,@%python-build-system-modules)
8235 #:modules ((guix build python-build-system)
8236 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8239 (modify-phases %standard-phases
8241 'install 'wrap-program
8242 (lambda* (#:key outputs #:allow-other-keys)
8243 (let ((prog (string-append (assoc-ref outputs "out")
8244 "/bin/terminator")))
8246 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8247 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8249 (add-after 'wrap-program 'glib-or-gtk-wrap
8250 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
8251 (home-page "https://gnometerminator.blogspot.com/")
8252 (synopsis "Store and run multiple GNOME terminals in one window")
8254 "Terminator allows you to run multiple GNOME terminals in a grid and
8255 +tabs, and it supports drag and drop re-ordering of terminals.")
8256 (license license:gpl2)))
8258 (define-public libhandy
8266 (url "https://source.puri.sm/Librem5/libhandy")
8267 (commit (string-append "v" version))))
8268 (file-name (git-file-name name version))
8270 (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0"))))
8271 (build-system meson-build-system)
8274 '("-Dglade_catalog=disabled"
8277 (modify-phases %standard-phases
8278 (add-before 'check 'pre-check
8280 ;; Tests require a running X server.
8281 (system "Xvfb :1 &")
8282 (setenv "DISPLAY" ":1")
8287 `(("glib:bin" ,glib "bin")
8288 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
8290 ("gtk-doc" ,gtk-doc)
8291 ("pkg-config" ,pkg-config)
8292 ("gettext" ,gettext-minimal)
8293 ("xorg-server" ,xorg-server)
8295 ;; Test suite dependencies.
8296 ("hicolor-icon-theme" ,hicolor-icon-theme)))
8297 (home-page "https://source.puri.sm/Librem5/libhandy")
8298 (synopsis "Library full of GTK+ widgets for mobile phones")
8299 (description "The aim of the handy library is to help with developing user
8300 intefaces for mobile devices using GTK+.")
8301 (license license:lgpl2.1+)))
8303 (define-public libgit2-glib
8305 (name "libgit2-glib")
8306 (version "0.28.0.1")
8309 (uri (string-append "mirror://gnome/sources/" name "/"
8310 (version-major+minor version) "/"
8311 name "-" version ".tar.xz"))
8314 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
8315 (build-system meson-build-system)
8317 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
8318 ("gobject-introspection" ,gobject-introspection)
8319 ("intltool" ,intltool)
8320 ("libssh2" ,libssh2)
8321 ("pkg-config" ,pkg-config)
8322 ("python-pygobject" ,python-pygobject)
8323 ("python-wrapper" ,python-wrapper)
8327 ("libgit2" ,libgit2)))
8328 (synopsis "GLib wrapper around the libgit2 Git access library")
8329 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
8330 access library. It only implements the core plumbing functions, not really the
8331 higher level porcelain stuff.")
8332 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
8333 (license license:gpl2+)))