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>
41 ;;; This file is part of GNU Guix.
43 ;;; GNU Guix is free software; you can redistribute it and/or modify it
44 ;;; under the terms of the GNU General Public License as published by
45 ;;; the Free Software Foundation; either version 3 of the License, or (at
46 ;;; your option) any later version.
48 ;;; GNU Guix is distributed in the hope that it will be useful, but
49 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
50 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51 ;;; GNU General Public License for more details.
53 ;;; You should have received a copy of the GNU General Public License
54 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
56 (define-module (gnu packages gnome)
57 #:use-module (gnu packages)
58 #:use-module (gnu packages admin)
59 #:use-module (gnu packages aspell)
60 #:use-module (gnu packages autotools)
61 #:use-module (gnu packages avahi)
62 #:use-module (gnu packages backup)
63 #:use-module (gnu packages base)
64 #:use-module (gnu packages bash)
65 #:use-module (gnu packages bison)
66 #:use-module (gnu packages build-tools)
67 #:use-module (gnu packages calendar)
68 #:use-module (gnu packages cdrom)
69 #:use-module (gnu packages check)
70 #:use-module (gnu packages cmake)
71 #:use-module (gnu packages compression)
72 #:use-module (gnu packages cups)
73 #:use-module (gnu packages curl)
74 #:use-module (gnu packages cyrus-sasl)
75 #:use-module (gnu packages databases)
76 #:use-module (gnu packages dbm)
77 #:use-module (gnu packages djvu)
78 #:use-module (gnu packages dns)
79 #:use-module (gnu packages docbook)
80 #:use-module (gnu packages documentation)
81 #:use-module (gnu packages enchant)
82 #:use-module (gnu packages flex)
83 #:use-module (gnu packages fonts)
84 #:use-module (gnu packages fontutils)
85 #:use-module (gnu packages freedesktop)
86 #:use-module (gnu packages game-development)
87 #:use-module (gnu packages gcc)
88 #:use-module (gnu packages gettext)
89 #:use-module (gnu packages ghostscript)
90 #:use-module (gnu packages gl)
91 #:use-module (gnu packages glib)
92 #:use-module (gnu packages gnupg)
93 #:use-module (gnu packages gnuzilla)
94 #:use-module (gnu packages gperf)
95 #:use-module (gnu packages graphviz)
96 #:use-module (gnu packages gstreamer)
97 #:use-module (gnu packages gtk)
98 #:use-module (gnu packages guile)
99 #:use-module (gnu packages ibus)
100 #:use-module (gnu packages image)
101 #:use-module (gnu packages imagemagick)
102 #:use-module (gnu packages inkscape)
103 #:use-module (gnu packages iso-codes)
104 #:use-module (gnu packages kerberos)
105 #:use-module (gnu packages libcanberra)
106 #:use-module (gnu packages libunistring)
107 #:use-module (gnu packages libusb)
108 #:use-module (gnu packages linux)
109 #:use-module (gnu packages lirc)
110 #:use-module (gnu packages lua)
111 #:use-module (gnu packages mail)
112 #:use-module (gnu packages multiprecision)
113 #:use-module (gnu packages music)
114 #:use-module (gnu packages ncurses)
115 #:use-module (gnu packages nettle)
116 #:use-module (gnu packages networking)
117 #:use-module (gnu packages ninja)
118 #:use-module (gnu packages nss)
119 #:use-module (gnu packages openldap)
120 #:use-module (gnu packages password-utils)
121 #:use-module (gnu packages pcre)
122 #:use-module (gnu packages pdf)
123 #:use-module (gnu packages perl)
124 #:use-module (gnu packages photo)
125 #:use-module (gnu packages pkg-config)
126 #:use-module (gnu packages polkit)
127 #:use-module (gnu packages popt)
128 #:use-module (gnu packages pretty-print)
129 #:use-module (gnu packages pulseaudio)
130 #:use-module (gnu packages python)
131 #:use-module (gnu packages python-crypto)
132 #:use-module (gnu packages python-web)
133 #:use-module (gnu packages python-xyz)
134 #:use-module (gnu packages rdesktop)
135 #:use-module (gnu packages readline)
136 #:use-module (gnu packages ruby)
137 #:use-module (gnu packages rust)
138 #:use-module (gnu packages samba)
139 #:use-module (gnu packages scanner)
140 #:use-module (gnu packages selinux)
141 #:use-module (gnu packages slang)
142 #:use-module (gnu packages speech)
143 #:use-module (gnu packages spice)
144 #:use-module (gnu packages sqlite)
145 #:use-module (gnu packages ssh)
146 #:use-module (gnu packages tex)
147 #:use-module (gnu packages time)
148 #:use-module (gnu packages tls)
149 #:use-module (gnu packages version-control)
150 #:use-module (gnu packages video)
151 #:use-module (gnu packages virtualization)
152 #:use-module (gnu packages vpn)
153 #:use-module (gnu packages web)
154 #:use-module (gnu packages web)
155 #:use-module (gnu packages webkit)
156 #:use-module (gnu packages xdisorg)
157 #:use-module (gnu packages xiph)
158 #:use-module (gnu packages xml)
159 #:use-module (gnu packages xorg)
160 #:use-module (gnu packages xorg)
161 #:use-module (gnu artwork)
162 #:use-module (guix build-system cmake)
163 #:use-module (guix build-system glib-or-gtk)
164 #:use-module (guix build-system gnu)
165 #:use-module (guix build-system meson)
166 #:use-module (guix build-system python)
167 #:use-module (guix build-system trivial)
168 #:use-module (guix download)
169 #:use-module (guix git-download)
170 #:use-module ((guix licenses) #:prefix license:)
171 #:use-module (guix packages)
172 #:use-module (guix utils)
173 #:use-module (guix gexp)
174 #:use-module (ice-9 match)
175 #:use-module (srfi srfi-1))
177 (define-public brasero
183 (uri (string-append "mirror://gnome/sources/" name "/"
184 (version-major+minor version) "/"
185 name "-" version ".tar.xz"))
188 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
189 (build-system glib-or-gtk-build-system)
191 `(#:configure-flags (list
192 (string-append "--with-girdir="
193 (assoc-ref %outputs "out")
195 (string-append "--with-typelibdir="
196 (assoc-ref %outputs "out")
197 "/lib/girepository-1.0"))
199 (modify-phases %standard-phases
200 (add-before 'configure 'embed-growisofs
201 (lambda* (#:key inputs #:allow-other-keys)
202 (substitute* "plugins/growisofs/burn-growisofs.c"
203 (("\"growisofs") (string-append "\"" (which "growisofs"))))
206 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
208 `(("intltool" ,intltool)
209 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
210 ("gobject-introspection" ,gobject-introspection)
211 ("pkg-config" ,pkg-config)))
213 `(("dvd+rw-tools" ,dvd+rw-tools)
215 ("gnome-doc-utils" ,gnome-doc-utils)
216 ("gstreamer" ,gstreamer)
217 ("gst-plugins-base" ,gst-plugins-base)
220 ("libcanberra" ,libcanberra)
222 ("libnotify" ,libnotify)
226 ("totem-pl-parser" ,totem-pl-parser)))
227 (home-page "https://projects.gnome.org/brasero/")
228 (synopsis "CD/DVD burning tool for Gnome")
229 (description "Brasero is an application to burn CD/DVD for the Gnome
230 Desktop. It is designed to be as simple as possible and has some unique
231 features to enable users to create their discs easily and quickly.")
232 (license license:gpl2+)))
234 (define-public deja-dup
240 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
243 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
245 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
246 (build-system glib-or-gtk-build-system)
248 `(#:modules ((guix build gnu-build-system)
249 ((guix build cmake-build-system) #:prefix cmake:)
250 (guix build glib-or-gtk-build-system)
252 #:imported-modules (,@%glib-or-gtk-build-system-modules
253 (guix build cmake-build-system))
255 #:configure-flags (list (string-append
256 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
258 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
260 (modify-phases %standard-phases
261 (add-after 'unpack 'patch-lockfile-deletion
263 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
267 (assoc-ref cmake:%standard-phases 'configure))
268 (delete 'check) ;; Fails due to issues with DBus
269 (add-after 'install 'wrap-deja-dup
270 (lambda* (#:key inputs outputs #:allow-other-keys)
271 (let ((python (assoc-ref inputs "python"))
272 (python-path (getenv "PYTHONPATH"))
273 (duplicity (assoc-ref inputs "duplicity"))
274 (out (assoc-ref outputs "out")))
277 (wrap-program program
278 `("PATH" ":" prefix (,(string-append python "/bin")
279 ,(string-append duplicity "/bin"))))
280 (wrap-program program
281 `("PYTHONPATH" ":" prefix (,python-path))))
283 (find-files (string-append out "/bin")))
286 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
287 ("gobject-introspection" ,gobject-introspection)
288 ("duplicity" ,duplicity)
290 ("python-pygobject" ,python2-pygobject)
292 ("libnotify" ,libnotify)
294 ("libsecret" ,libsecret)
295 ("packagekit" ,packagekit)))
297 `(("pkg-config" ,pkg-config)
299 ("gettext" ,gettext-minimal)
301 ("intltool" ,intltool)
303 (home-page "https://launchpad.net/deja-dup")
304 (synopsis "Simple backup tool, for regular encrypted backups")
306 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
307 uses duplicity as the backend, which supports incremental backups and storage
308 either on a local, or remote machine via a number of methods.")
309 (license license:gpl3+)))
312 ;; This version from GNOME's repository includes fixes for compiling with
313 ;; recent versions of the build tools. The latest activity on the
314 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
316 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
319 (version (string-append "0.97.2-" (string-take commit 7)))
323 (url "https://git.gnome.org/browse/dia")
325 (file-name (string-append name "-" version "-checkout"))
328 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
329 (build-system gnu-build-system)
331 `(("glib" ,glib "bin")
333 ("gdk-pixbuf" ,gdk-pixbuf)
336 ("freetype" ,freetype)
337 ("libart-lgpl" ,libart-lgpl)))
339 `(("intltool" ,intltool)
340 ("pkg-config" ,pkg-config)
341 ("automake" ,automake)
342 ("autoconf" ,autoconf)
345 ("python-wrapper" ,python-wrapper)))
348 (modify-phases %standard-phases
349 (add-after 'unpack 'run-autogen
351 (system* "sh" "autogen.sh"))))))
352 (home-page "https://wiki.gnome.org/Apps/Dia")
353 (synopsis "Diagram creation for GNOME")
354 (description "Dia can be used to draw different types of diagrams, and
355 includes support for UML static structure diagrams (class diagrams), entity
356 relationship modeling, and network diagrams. The program supports various file
357 formats like PNG, SVG, PDF and EPS.")
358 (license license:gpl2+))))
360 (define-public libgdata
366 (uri (string-append "mirror://gnome/sources/" name "/"
367 (version-major+minor version) "/"
368 name "-" version ".tar.xz"))
371 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
373 (search-patches "libgdata-fix-tests.patch"
374 "libgdata-glib-duplicate-tests.patch"))))
375 (build-system gnu-build-system)
378 (modify-phases %standard-phases
379 (add-before 'check 'disable-failing-tests
381 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
382 ;; They have been removed in libgdata 0.17.6, so just do the same.
383 (substitute* "gdata/tests/Makefile"
384 (("picasaweb\\$\\(EXEEXT\\) ") ""))
387 `(("glib:bin" ,glib "bin")
388 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
389 ("intltool" ,intltool)
390 ("pkg-config" ,pkg-config)
391 ("uhttpmock" ,uhttpmock)))
393 `(("cyrus-sasl" ,cyrus-sasl)
395 ("glib-networking" ,glib-networking)
396 ("json-glib" ,json-glib)
397 ("libsoup" ,libsoup)))
400 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
401 ("liboauth" ,liboauth)
402 ("libxml2" ,libxml2)))
403 (home-page "https://wiki.gnome.org/Projects/libgdata")
404 (synopsis "Library for accessing online service APIs")
406 "libgdata is a GLib-based library for accessing online service APIs using
407 the GData protocol — most notably, Google's services. It provides APIs to
408 access the common Google services, and has full asynchronous support.")
409 (license license:lgpl2.1+)))
411 (define-public libgxps
417 (uri (string-append "mirror://gnome/sources/" name "/"
418 (version-major+minor version) "/"
419 name "-" version ".tar.xz"))
422 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
423 (build-system meson-build-system)
425 `(("gobject-introspection" ,gobject-introspection)
426 ("pkg-config" ,pkg-config)))
429 ("libjpeg" ,libjpeg-turbo)
434 ;; In Requires of libgxps.pc.
437 ("libarchive" ,libarchive)))
438 (home-page "https://wiki.gnome.org/Projects/libgxps")
439 (synopsis "GObject-based library for handling and rendering XPS documents")
441 "libgxps is a GObject-based library for handling and rendering XPS
442 documents. This package also contains binaries that can convert XPS documents
444 (license license:lgpl2.1+)))
446 (define-public gnome-common
448 (name "gnome-common")
453 (uri (string-append "mirror://gnome/sources/" name "/"
454 (version-major+minor version) "/"
455 name "-" version ".tar.xz"))
458 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
459 (build-system gnu-build-system)
460 (home-page "https://www.gnome.org/")
461 (synopsis "Bootstrap GNOME modules built from Git")
462 (description "gnome-common contains various files needed to bootstrap
463 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
464 can be used to configure a source directory checked out from Git and some
465 commonly used macros.")
466 (license license:gpl2+)))
468 (define-public gnome-desktop
470 (name "gnome-desktop")
475 (uri (string-append "mirror://gnome/sources/" name "/"
476 (version-major+minor version) "/"
477 name "-" version ".tar.xz"))
480 "0c439hhpfd9axmv4af6fzhibksh69pnn2nnbghbbqqbwy6zqfl30"))))
481 (build-system gnu-build-system)
484 (modify-phases %standard-phases
485 (add-before 'configure 'patch-path
486 (lambda* (#:key inputs #:allow-other-keys)
487 (let ((libc (assoc-ref inputs "libc")))
488 (substitute* "libgnome-desktop/gnome-languages.c"
490 (string-append "\"" libc "/bin/locale\"")))
493 `(("gobject-introspection" ,gobject-introspection)
495 ("intltool" ,intltool)
496 ("pkg-config" ,pkg-config)
497 ("xmllint" ,libxml2)))
499 ;; Required by gnome-desktop-3.0.pc.
500 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
503 `(("gdk-pixbuf" ,gdk-pixbuf)
505 ("iso-codes" ,iso-codes)
506 ("libseccomp" ,libseccomp)
509 ("libxkbfile" ,libxkbfile)
510 ("libxrandr" ,libxrandr)
511 ("xkeyboard-config" ,xkeyboard-config)))
512 (home-page "https://www.gnome.org/")
514 "Libgnome-desktop, gnome-about, and desktop-wide documents")
516 "The libgnome-desktop library provides API shared by several applications
517 on the desktop, but that cannot live in the platform for various reasons.
518 There is no API or ABI guarantee, although we are doing our best to provide
519 stability. Documentation for the API is available with gtk-doc.
521 The gnome-about program helps find which version of GNOME is installed.")
522 ; Some bits under the LGPL.
523 (license license:gpl2+)))
525 (define-public gnome-doc-utils
527 (name "gnome-doc-utils")
532 (uri (string-append "mirror://gnome/sources/" name "/"
533 (version-major+minor version) "/"
534 name "-" version ".tar.xz"))
537 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
538 (build-system gnu-build-system)
540 `(("intltool" ,intltool)
541 ("docbook-xml" ,docbook-xml-4.4)
542 ("python2-libxml2" ,python2-libxml2)
545 ("pkg-config" ,pkg-config)
546 ("python-2" ,python-2)))
547 (home-page "https://wiki.gnome.org/GnomeDocUtils")
549 "Documentation utilities for the Gnome project")
551 "Gnome-doc-utils is a collection of documentation utilities for the
552 Gnome project. It includes xml2po tool which makes it easier to translate
553 and keep up to date translations of documentation.")
554 (license license:gpl2+))) ; xslt under lgpl
556 (define-public gnome-disk-utility
558 (name "gnome-disk-utility")
562 (uri (string-append "mirror://gnome/sources/" name "/"
563 (version-major+minor version) "/"
564 name "-" version ".tar.xz"))
567 "11ajz4cbsdns81kihd6242b6pwxbw8bkr9qqkf4qnb4kp363a38m"))))
568 (build-system meson-build-system)
570 `(("glib:bin" ,glib "bin")
571 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
572 ("intltool" ,intltool)
573 ("pkg-config" ,pkg-config)
574 ("docbook-xml" ,docbook-xml)
575 ("docbook-xsl" ,docbook-xsl)
577 ("libxslt" ,libxslt)))
580 ("appstream-glib" ,appstream-glib)
581 ("gnome-settings-daemon" ,gnome-settings-daemon)
583 ("libcanberra" ,libcanberra)
584 ("libdvdread" ,libdvdread)
585 ("libnotify" ,libnotify)
586 ("libpwquality" ,libpwquality)
587 ("libsecret" ,libsecret)
589 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
590 (synopsis "Disk management utility for GNOME")
591 (description "Disk management utility for GNOME.")
592 (license license:gpl2+)))
600 (uri (string-append "mirror://gnome/sources/" name "/"
601 (version-major+minor version) "/"
602 name "-" version ".tar.xz"))
605 "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m"))))
606 (build-system gnu-build-system)
609 (modify-phases %standard-phases
610 ;; These fail because /var/lib/dbus/machine-id is not present in the
611 ;; build environment.
612 (add-after 'unpack 'disable-failing-tests
614 (substitute* "gcr/test-system-prompt.c"
615 (("g_test_add") "//")
616 (("return.*") "return 0;"))
618 (add-before 'check 'pre-check
620 ;; Some tests expect to write to $HOME.
621 (setenv "HOME" "/tmp")
625 ("gnupg" ,gnupg) ;called as a child process during tests
626 ("libgcrypt" ,libgcrypt)))
628 `(("python" ,python-2) ;for tests
629 ("pkg-config" ,pkg-config)
631 ("gobject-introspection" ,gobject-introspection)
632 ("intltool" ,intltool)
634 ("xsltproc" ,libxslt)))
635 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
637 `(("p11-kit" ,p11-kit)
640 (home-page "https://www.gnome.org")
641 (synopsis "Libraries for displaying certificates and accessing key stores")
643 "The GCR package contains libraries used for displaying certificates and
644 accessing key stores. It also provides the viewer for crypto files on the
646 (license license:lgpl2.1+)))
648 (define-public libgnome-keyring
650 (name "libgnome-keyring")
654 (uri (string-append "mirror://gnome/sources/" name "/"
655 (version-major+minor version) "/"
656 name "-" version ".tar.xz"))
659 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
660 (build-system gnu-build-system)
662 `(("libgcrypt" ,libgcrypt)
665 `(("pkg-config" ,pkg-config)
667 ("intltool" ,intltool)))
669 ;; Referred to in .h files and .pc.
671 (home-page "https://www.gnome.org")
672 (synopsis "Accessing passwords from the GNOME keyring")
674 "Client library to access passwords from the GNOME keyring.")
676 ;; Though a couple of files are LGPLv2.1+.
677 (license license:lgpl2.0+)))
679 (define-public gnome-keyring
681 (name "gnome-keyring")
685 (uri (string-append "mirror://gnome/sources/" name "/"
686 (version-major+minor version) "/"
687 name "-" version ".tar.xz"))
690 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
691 (build-system gnu-build-system)
693 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
697 (string-append "--with-pkcs11-config="
698 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
699 (string-append "--with-pkcs11-modules="
700 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
702 (modify-phases %standard-phases
703 (add-after 'unpack 'fix-/bin/sh-reference
705 (substitute* "po/Makefile.in.in"
706 (("/bin/sh") (which "sh")))
709 'configure 'fix-docbook
710 (lambda* (#:key inputs #:allow-other-keys)
711 (substitute* "docs/Makefile.am"
712 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
713 (string-append (assoc-ref inputs "docbook-xsl")
714 "/xml/xsl/docbook-xsl-"
715 ,(package-version docbook-xsl)
716 "/manpages/docbook.xsl")))
717 (setenv "XML_CATALOG_FILES"
718 (string-append (assoc-ref inputs "docbook-xml")
719 "/xml/dtd/docbook/catalog.xml"))
720 ;; Rerun the whole thing to avoid version mismatch ("This is
721 ;; Automake 1.15.1, but the definition used by this
722 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
723 ;; use 'autoreconf' because it insists on running 'libtoolize'.
726 (invoke "automake" "-ac"))))))
728 `(("libgcrypt" ,libgcrypt)
729 ("linux-pam" ,linux-pam)
734 `(("pkg-config" ,pkg-config)
736 ("python" ,python-2) ;for tests
737 ("intltool" ,intltool)
738 ("autoconf" ,autoconf)
739 ("automake" ,automake)
740 ("libxslt" ,libxslt) ;for documentation
741 ("docbook-xml" ,docbook-xml-4.2)
742 ("docbook-xsl" ,docbook-xsl)))
743 (home-page "https://www.gnome.org")
744 (synopsis "Daemon to store passwords and encryption keys")
746 "gnome-keyring is a program that keeps passwords and other secrets for
747 users. It is run as a daemon in the session, similar to ssh-agent, and other
748 applications locate it via an environment variable or D-Bus.
750 The program can manage several keyrings, each with its own master password,
751 and there is also a session keyring which is never stored to disk, but
752 forgotten when the session ends.")
753 (license license:lgpl2.1+)))
755 (define-public evince
761 (uri (string-append "mirror://gnome/sources/" name "/"
762 (version-major+minor version) "/"
763 name "-" version ".tar.xz"))
766 "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89"))))
767 (build-system glib-or-gtk-build-system)
769 `(#:configure-flags '("--disable-nautilus")
771 (modify-phases %standard-phases
772 (add-before 'install 'skip-gtk-update-icon-cache
773 ;; Don't create 'icon-theme.cache'.
775 (substitute* "data/Makefile"
776 (("gtk-update-icon-cache") "true"))
779 `(("libarchive" ,libarchive)
781 ("libspectre" ,libspectre)
782 ("djvulibre" ,djvulibre)
783 ("ghostscript" ,ghostscript)
787 ;; Build libkpathsea as a shared library for DVI support.
788 ;; ("libkpathsea" ,texlive-bin)
789 ("gnome-desktop" ,gnome-desktop)
790 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
791 ("libgnome-keyring" ,libgnome-keyring)
792 ("adwaita-icon-theme" ,adwaita-icon-theme)
793 ("gdk-pixbuf" ,gdk-pixbuf)
801 ("shared-mime-info" ,shared-mime-info)
803 ("libcanberra" ,libcanberra)
804 ("libsecret" ,libsecret)
806 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
807 ;; propagated from there.
811 ("dogtail" ,python2-dogtail)))
813 `(("itstool" ,itstool)
814 ("intltool" ,intltool)
816 ("pkg-config" ,pkg-config)
817 ("xmllint" ,libxml2)))
819 "https://www.gnome.org/projects/evince/")
820 (synopsis "GNOME's document viewer")
822 "Evince is a document viewer for multiple document formats. It
823 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
824 of Evince is to replace the multiple document viewers that exist
825 on the GNOME Desktop with a single simple application.")
826 (license license:gpl2+)))
828 (define-public gsettings-desktop-schemas
830 (name "gsettings-desktop-schemas")
835 (uri (string-append "mirror://gnome/sources/" name "/"
836 (version-major+minor version) "/"
837 name "-" version ".tar.xz"))
840 "0rwidacwrxlc54x90h9g3wx2zlisc4vm49vmxi15azmpj1vwvd2c"))))
841 (build-system gnu-build-system)
845 `(("intltool" ,intltool)
846 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
847 ("gobject-introspection" ,gobject-introspection)
848 ("pkg-config" ,pkg-config)))
849 (home-page "https://launchpad.net/gsettings-desktop-schemas")
851 "GNOME settings for various desktop components")
853 "Gsettings-desktop-schemas contains a collection of GSettings schemas
854 for settings shared by various components of the GNOME desktop.")
855 (license license:lgpl2.1+)))
857 (define-public icon-naming-utils
859 (name "icon-naming-utils")
864 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
868 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
869 (build-system gnu-build-system)
872 ("perl-xml-simple" ,perl-xml-simple)))
875 (modify-phases %standard-phases
876 (add-after 'install 'set-load-paths
877 ;; Tell 'icon-name-mapping' where XML::Simple is.
878 (lambda* (#:key outputs #:allow-other-keys)
879 (let* ((out (assoc-ref outputs "out"))
880 (prog (string-append out "/libexec/icon-name-mapping")))
883 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
885 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
887 "Utility to implement the Freedesktop Icon Naming Specification")
889 "To help with the transition to the Freedesktop Icon Naming
890 Specification, the icon naming utility maps the icon names used by the
891 GNOME and KDE desktops to the icon names proposed in the specification.")
892 (license license:lgpl2.1+)))
894 (define-public gnome-icon-theme
896 (name "gnome-icon-theme")
901 (uri (string-append "mirror://gnome/sources/" name "/"
902 (version-major+minor version) "/"
903 name "-" version ".tar.xz"))
906 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
907 (build-system gnu-build-system)
910 ;; Don't create 'icon-theme.cache'.
911 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
912 (true (string-append coreutils "/bin/true")))
913 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
915 `(("icon-naming-utils" ,icon-naming-utils)
916 ("intltool" ,intltool)
917 ("pkg-config" ,pkg-config)))
918 (home-page "https://art.gnome.org/")
922 "Icons for the GNOME desktop.")
923 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
925 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
926 (define-public adwaita-icon-theme
927 (package (inherit gnome-icon-theme)
928 (name "adwaita-icon-theme")
932 (uri (string-append "mirror://gnome/sources/" name "/"
933 (version-major+minor version) "/"
934 name "-" version ".tar.xz"))
937 "0l114ildlb3lz3xymfxxi0wpr2x21rd3cg8slb8jyxynzwfqrbks"))))
939 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
941 (define-public tango-icon-theme
943 (name "tango-icon-theme")
947 (uri (string-append "http://tango.freedesktop.org/releases/"
948 "tango-icon-theme-" version ".tar.bz2"))
951 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
952 (build-system gnu-build-system)
954 `(("icon-naming-utils" ,icon-naming-utils)
955 ("intltool" ,intltool)
956 ("imagemagick" ,imagemagick)
957 ("pkg-config" ,pkg-config)))
958 (home-page "http://tango-project.org/")
959 (synopsis "Tango icon theme")
960 (description "This is an icon theme that follows the Tango visual
962 (license license:public-domain)))
964 (define-public shared-mime-info
966 (name "shared-mime-info")
970 (uri (string-append "https://freedesktop.org/~hadess/"
971 "shared-mime-info-" version ".tar.xz"))
974 "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw"))))
975 (build-system gnu-build-system)
977 ;; The build system appears not to be parallel-safe.
978 '(#:parallel-build? #f))
981 ("libxml2" ,libxml2)))
983 `(("intltool" ,intltool)
984 ("pkg-config" ,pkg-config)))
985 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
986 (synopsis "Database of common MIME types")
988 "The shared-mime-info package contains the core database of common types
989 and the update-mime-database command used to extend it. It requires glib2 to
990 be installed for building the update command. Additionally, it uses intltool
991 for translations, though this is only a dependency for the maintainers. This
992 database is translated at Transifex.")
993 (license license:gpl2+)))
995 (define-public system-config-printer
997 (name "system-config-printer")
1002 "https://github.com/zdohnal/system-config-printer/releases/"
1004 "/system-config-printer-" version ".tar.xz"))
1007 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
1008 (build-system glib-or-gtk-build-system)
1010 `(#:imported-modules ((guix build python-build-system)
1011 ,@%glib-or-gtk-build-system-modules)
1013 (modify-phases %standard-phases
1014 (add-after 'unpack 'patch-Makefile.am
1016 ;; The Makefile generates some scripts, so set a valid shebang
1017 (substitute* "Makefile.am"
1018 (("/bin/bash") (which "bash")))
1019 (delete-file "configure")
1021 (add-after 'unpack 'patch-docbook-xml
1022 (lambda* (#:key inputs #:allow-other-keys)
1023 ;; Modify the man XML otherwise xmlto tries to access the network
1024 (substitute* "man/system-config-printer.xml"
1025 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1026 (string-append (assoc-ref inputs "docbook-xml")
1027 "/xml/dtd/docbook/")))
1029 (add-after 'install 'wrap-for-python
1030 (@@ (guix build python-build-system) wrap))
1031 (add-after 'install 'wrap
1032 (lambda* (#:key outputs #:allow-other-keys)
1033 (let ((out (assoc-ref outputs "out"))
1034 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1037 (wrap-program program
1038 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1040 (string-append out "/bin/" name))
1041 '("system-config-printer"
1042 "system-config-printer-applet"
1043 "install-printerdriver"
1044 "scp-dbus-service"))))
1047 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1048 ("gobject-introspection" ,gobject-introspection)
1051 ("python-dbus" ,python-dbus)
1052 ("python-pygobject" ,python-pygobject)
1053 ("python-pycups" ,python-pycups)
1054 ("python-requests" ,python-requests)
1055 ("python-pycairo" ,python-pycairo)
1056 ("libnotify" ,libnotify)
1057 ("packagekit" ,packagekit)))
1059 `(("pkg-config" ,pkg-config)
1060 ("desktop-file-utils" ,desktop-file-utils)
1062 ("autoconf" ,autoconf)
1063 ("automake" ,automake)
1064 ("intltool" ,intltool)
1066 ("docbook-xml" ,docbook-xml-4.1.2)
1067 ("docbook-xsl" ,docbook-xsl)
1068 ("libxml2" ,libxml2)))
1069 (home-page "https://github.com/zdohnal/system-config-printer")
1070 (synopsis "CUPS administration tool")
1072 "system-config-printer is a CUPS administration tool. It's written in
1073 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1075 (license license:gpl2+)))
1077 (define-public hicolor-icon-theme
1079 (name "hicolor-icon-theme")
1084 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1085 "hicolor-icon-theme-" version ".tar.xz"))
1088 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1089 (build-system gnu-build-system)
1091 `(#:tests? #f)) ; no check target
1092 (home-page "https://icon-theme.freedesktop.org/releases/")
1094 "Freedesktop icon theme")
1096 "Freedesktop icon theme.")
1097 (license license:gpl2)))
1099 (define-public libnotify
1106 (uri (string-append "mirror://gnome/sources/" name "/"
1107 (version-major+minor version) "/"
1108 name "-" version ".tar.xz"))
1111 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1112 (build-system gnu-build-system)
1114 `(#:configure-flags '("--disable-static")))
1116 `(;; In Requires of libnotify.pc.
1117 ("gdk-pixbuf" ,gdk-pixbuf)
1121 ("libpng" ,libpng)))
1123 `(("pkg-config" ,pkg-config)
1124 ("glib" ,glib "bin")
1125 ("gobject-introspection" ,gobject-introspection)))
1126 (home-page "https://developer-next.gnome.org/libnotify/")
1128 "GNOME desktop notification library")
1130 "Libnotify is a library that sends desktop notifications to a
1131 notification daemon, as defined in the Desktop Notifications spec. These
1132 notifications can be used to inform the user about an event or display
1133 some form of information without getting in the user's way.")
1134 (license license:lgpl2.1+)))
1136 (define-public libpeas
1143 (uri (string-append "mirror://gnome/sources/" name "/"
1144 (version-major+minor version) "/"
1145 name "-" version ".tar.xz"))
1148 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1149 (build-system gnu-build-system)
1154 ("python-pygobject" ,python-pygobject)))
1156 `(("pkg-config" ,pkg-config)
1157 ("glib:bin" ,glib "bin")
1158 ("gobject-introspection" ,gobject-introspection)
1159 ("intltool" ,intltool)))
1161 ;; The .pc file "Requires" gobject-introspection.
1162 `(("gobject-introspection" ,gobject-introspection)))
1163 (home-page "https://wiki.gnome.org/Libpeas")
1164 (synopsis "GObject plugin system")
1166 "Libpeas is a gobject-based plugin engine, targeted at giving every
1167 application the chance to assume its own extensibility. It also has a set of
1168 features including, but not limited to: multiple extension points; on-demand
1169 (lazy) programming language support for C, Python and JS; simplicity of the
1171 (license license:lgpl2.0+)))
1173 (define-public gtkglext
1179 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1180 version "/gtkglext-" version ".tar.gz"))
1182 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1183 (patches (search-patches
1184 "gtkglext-disable-disable-deprecated.patch"))))
1185 (build-system gnu-build-system)
1188 (modify-phases %standard-phases
1189 ;; Fix a collision between a local variable and a definition from
1190 ;; glibc's string.h.
1191 (add-after 'unpack 'fix-collision
1193 (substitute* "gdk/gdkglshapes.c"
1194 ((" index") " triangle_index"))
1196 (inputs `(("gtk+" ,gtk+-2)
1201 (native-inputs `(("pkg-config" ,pkg-config)
1202 ("glib" ,glib "bin")))
1203 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1204 (home-page "https://projects.gnome.org/gtkglext")
1205 (synopsis "OpenGL extension to GTK+")
1206 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1207 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1208 API add-ons to make GTK+ widgets OpenGL-capable.")
1209 (license license:lgpl2.1+)))
1211 (define-public glade3
1217 (uri (string-append "mirror://gnome/sources/" name "/"
1218 (version-major+minor version) "/"
1219 name "-" version ".tar.xz"))
1222 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
1223 (build-system glib-or-gtk-build-system)
1225 `(#:tests? #f ; needs X, GL, and software rendering
1227 (modify-phases %standard-phases
1228 (add-before 'configure 'fix-docbook
1229 (lambda* (#:key inputs #:allow-other-keys)
1230 (substitute* "man/Makefile.in"
1231 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1232 (string-append (assoc-ref inputs "docbook-xsl")
1233 "/xml/xsl/docbook-xsl-"
1234 ,(package-version docbook-xsl)
1235 "/manpages/docbook.xsl")))
1239 ("libxml2" ,libxml2)))
1241 `(("intltool" ,intltool)
1242 ("itstool" ,itstool)
1243 ("libxslt" ,libxslt) ;for xsltproc
1244 ("docbook-xml" ,docbook-xml-4.2)
1245 ("docbook-xsl" ,docbook-xsl)
1246 ("python" ,python-2)
1247 ("pkg-config" ,pkg-config)))
1248 (home-page "https://glade.gnome.org")
1249 (synopsis "GTK+ rapid application development tool")
1250 (description "Glade is a rapid application development (RAD) tool to
1251 enable quick & easy development of user interfaces for the GTK+ toolkit and
1252 the GNOME desktop environment.")
1253 (license license:lgpl2.0+)))
1255 (define-public libcroco
1261 (uri (string-append "mirror://gnome/sources/" name "/"
1262 (version-major+minor version) "/"
1263 name "-" version ".tar.xz"))
1265 (search-patches "libcroco-CVE-2017-7960.patch"
1266 "libcroco-CVE-2017-7961.patch"))
1269 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1270 (build-system gnu-build-system)
1272 `(("pkg-config" ,pkg-config)))
1275 ("libxml2" ,libxml2)
1277 (home-page "https://github.com/GNOME/libcroco")
1278 (synopsis "CSS2 parsing and manipulation library")
1280 "Libcroco is a standalone CSS2 parsing and manipulation library.
1281 The parser provides a low level event driven SAC-like API and a CSS object
1282 model like API. Libcroco provides a CSS2 selection engine and an experimental
1283 XML/CSS rendering engine.")
1286 (license license:lgpl2.1)))
1288 (define-public libgsf
1294 (uri (string-append "mirror://gnome/sources/" name "/"
1295 (version-major+minor version) "/"
1296 name "-" version ".tar.xz"))
1299 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
1300 (build-system gnu-build-system)
1302 `(("intltool" ,intltool)
1303 ("pkg-config" ,pkg-config)))
1305 `(("python" ,python)
1309 `(("gdk-pixbuf" ,gdk-pixbuf)
1311 ("libxml2" ,libxml2)))
1312 (home-page "https://www.gnome.org/projects/libgsf")
1313 (synopsis "GNOME's Structured File Library")
1315 "Libgsf aims to provide an efficient extensible I/O abstraction for
1316 dealing with different structured file formats.")
1319 (license license:lgpl2.1)))
1321 (define-public librsvg
1327 (uri (string-append "mirror://gnome/sources/" name "/"
1328 (version-major+minor version) "/"
1329 name "-" version ".tar.xz"))
1332 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1333 (build-system gnu-build-system)
1336 (list "--disable-static"
1337 "--enable-vala") ; needed for e.g. gnome-mines
1339 (modify-phases %standard-phases
1340 (add-before 'configure 'pre-configure
1341 (lambda* (#:key inputs #:allow-other-keys)
1342 (substitute* "gdk-pixbuf-loader/Makefile.in"
1343 ;; By default the gdk-pixbuf loader is installed under
1344 ;; gdk-pixbuf's prefix. Work around that.
1345 (("gdk_pixbuf_moduledir = .*$")
1346 (string-append "gdk_pixbuf_moduledir = "
1347 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1349 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1350 (("gdk_pixbuf_cache_file = .*$")
1351 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1353 (add-before 'check 'remove-failing-tests
1355 (with-directory-excursion "tests/fixtures/reftests"
1356 (for-each delete-file
1357 '(;; This test fails on i686:
1358 "svg1.1/masking-path-04-b.svg"
1359 ;; This test fails on armhf:
1360 "svg1.1/masking-mask-01-b.svg"
1361 ;; This test fails on aarch64:
1362 "bugs/777834-empty-text-children.svg")))
1365 `(("pkg-config" ,pkg-config)
1367 ("glib" ,glib "bin") ; glib-mkenums, etc.
1368 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1371 ("libcroco" ,libcroco)
1374 ("libxml2" ,libxml2)))
1376 ;; librsvg-2.0.pc refers to all of that.
1378 ("gdk-pixbuf" ,gdk-pixbuf)
1380 (home-page "https://wiki.gnome.org/LibRsvg")
1381 (synopsis "Render SVG files using Cairo")
1383 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1385 (license license:lgpl2.0+)))
1387 (define-public librsvg-next
1393 (uri (string-append "mirror://gnome/sources/" name "/"
1394 (version-major+minor version) "/"
1395 name "-" version ".tar.xz"))
1398 "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6"))))
1399 (build-system gnu-build-system)
1402 (list "--disable-static"
1403 "--enable-vala") ; needed for e.g. gnome-mines
1404 #:make-flags '("CC=gcc")
1406 (modify-phases %standard-phases
1407 ;; Don't patch anything in vendor/ to avoid having to recompute
1408 ;; checksums for the bundled Cargo "crates". TODO: Unbundle those.
1409 (delete 'patch-source-shebangs)
1410 (delete 'patch-generated-file-shebangs)
1411 (delete 'patch-usr-bin-file)
1412 (add-before 'configure 'patch-all-the-things
1414 (for-each patch-shebang '("tap-driver.sh" "tap-test"))
1415 (patch-/usr/bin/file "configure")
1417 (add-before 'configure 'pre-configure
1418 (lambda* (#:key inputs #:allow-other-keys)
1419 (substitute* "gdk-pixbuf-loader/Makefile.in"
1420 ;; By default the gdk-pixbuf loader is installed under
1421 ;; gdk-pixbuf's prefix. Work around that.
1422 (("gdk_pixbuf_moduledir = .*$")
1423 (string-append "gdk_pixbuf_moduledir = "
1424 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1426 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1427 (("gdk_pixbuf_cache_file = .*$")
1428 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1430 (add-before 'check 'remove-failing-tests
1432 (with-directory-excursion "tests/fixtures/reftests"
1433 (for-each delete-file
1434 '(;; The images produced by these tests differ slightly
1435 ;; from their reference counterparts due to differences
1436 ;; in the build environment (missing fonts, etc). See
1437 ;; <tests/README.md> for details.
1438 ;; These fail on x86_64.
1439 "svg1.1/coords-viewattr-02-b.svg"
1440 "svg1.1/filters-composite-04-f.svg"
1441 "svg1.1/filters-image-01-b.svg"
1442 "svg1.1/filters-conv-02-f.svg"
1443 "svg1.1/filters-conv-04-f.svg"
1444 ;; This test fails on i686:
1445 "svg1.1/masking-path-04-b.svg"
1446 ;; This test fails on armhf:
1447 "svg1.1/masking-mask-01-b.svg"
1448 ;; This test fails on aarch64:
1449 "bugs/777834-empty-text-children.svg")))
1452 `(("pkg-config" ,pkg-config)
1453 ;; This is the minimum supported Rust version in Librsvg 2.44.
1455 ("cargo" ,rust-1.27 "cargo")
1457 ("glib" ,glib "bin") ; glib-mkenums, etc.
1458 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1461 ("libcroco" ,libcroco)
1464 ("libxml2" ,libxml2)))
1466 ;; librsvg-2.0.pc refers to all of that.
1468 ("gdk-pixbuf" ,gdk-pixbuf)
1470 (home-page "https://wiki.gnome.org/LibRsvg")
1471 (synopsis "Render SVG files using Cairo")
1473 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1475 (license license:lgpl2.0+)))
1477 (define-public libidl
1483 (uri (let ((upstream-name "libIDL"))
1484 (string-append "mirror://gnome/sources/" upstream-name "/"
1485 (version-major+minor version) "/"
1486 upstream-name "-" version ".tar.bz2")))
1489 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1490 (build-system gnu-build-system)
1491 (inputs `(("glib" ,glib)))
1493 `(("pkg-config" ,pkg-config)
1496 (home-page "http://freecode.com/projects/libidl")
1497 (synopsis "Create trees of CORBA Interface Definition Language files")
1498 (description "Libidl is a library for creating trees of CORBA Interface
1499 Definition Language (idl) files, which is a specification for defining
1500 portable interfaces. libidl was initially written for orbit (the orb from the
1501 GNOME project, and the primary means of libidl distribution). However, the
1502 functionality was designed to be as reusable and portable as possible.")
1503 (license license:lgpl2.0+)))
1506 (define-public orbit2
1512 (uri (let ((upstream-name "ORBit2"))
1513 (string-append "mirror://gnome/sources/" upstream-name "/"
1514 (version-major+minor version) "/"
1515 upstream-name "-" version ".tar.bz2")))
1518 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1519 (build-system gnu-build-system)
1522 '(;; We don't need static libraries, plus they don't build reproducibly
1523 ;; (non-deterministic ordering of .o files in the archive.)
1526 ;; The programmer kindly gives us a hook to turn off deprecation
1528 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1529 ;; ... which they then completly ignore !!
1531 (modify-phases %standard-phases
1532 (add-before 'configure 'ignore-deprecations
1534 (substitute* "linc2/src/Makefile.in"
1535 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1537 (inputs `(("glib" ,glib)
1538 ("libidl" ,libidl)))
1540 `(("pkg-config" ,pkg-config)))
1541 (home-page "https://projects.gnome.org/orbit2/")
1542 (synopsis "CORBA 2.4-compliant Object Request Broker")
1543 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1544 featuring mature C, C++ and Python bindings.")
1545 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1546 ;; a version. SOME of the code files have licence notices for GPLv2+.
1547 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1548 (license license:gpl2+)
1549 (properties `((upstream-name . "ORBit2")))))
1552 (define-public libbonobo
1558 (uri (string-append "mirror://gnome/sources/" name "/"
1559 (version-major+minor version)
1560 "/" name "-" version ".tar.bz2"))
1562 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1563 (patches (search-patches
1564 "libbonobo-activation-test-race.patch"))))
1565 (build-system gnu-build-system)
1567 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1569 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1570 ;; ... which they then completly ignore !!
1572 (modify-phases %standard-phases
1573 (add-before 'configure 'ignore-deprecations
1575 (substitute* "activation-server/Makefile.in"
1576 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1579 ;; There's apparently a race condition between the server stub
1580 ;; generation and linking of the example under 'samples/echo' that can
1581 ;; lead do undefined references when building in parallel, as reported
1582 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1583 ;; Thus, disable parallel builds.
1584 #:parallel-build? #f))
1585 (inputs `(("popt" ,popt)
1586 ("libxml2" ,libxml2)))
1587 ;; The following are Required by the .pc file
1590 ("orbit2" ,orbit2)))
1592 `(("intltool" ,intltool)
1593 ("pkg-config" ,pkg-config)
1594 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1597 (home-page "https://developer.gnome.org/libbonobo/")
1598 (synopsis "Framework for creating reusable components for use in GNOME applications")
1599 (description "Bonobo is a framework for creating reusable components for
1600 use in GNOME applications, built on top of CORBA.")
1601 ;; Licence not explicitly stated. Source files contain no licence notices.
1602 ;; Tarball contains text of both GPLv2 and LGPLv2
1603 ;; GPLv2 covers both conditions
1604 (license license:gpl2+)))
1607 (define-public gconf
1614 (let ((upstream-name "GConf"))
1615 (string-append "mirror://gnome/sources/" upstream-name "/"
1616 (version-major+minor version) "/"
1617 upstream-name "-" version ".tar.xz")))
1619 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1620 (build-system gnu-build-system)
1621 (inputs `(("dbus-glib" ,dbus-glib)
1622 ("libxml2" ,libxml2)))
1623 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1624 ("orbit2" ,orbit2)))
1626 `(("intltool" ,intltool)
1627 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1628 ("pkg-config" ,pkg-config)))
1629 (home-page "https://projects.gnome.org/gconf/")
1630 (synopsis "Store application preferences")
1631 (description "Gconf is a system for storing application preferences. It
1632 is intended for user preferences; not arbitrary data storage.")
1633 (license license:lgpl2.0+)
1634 (properties '((upstream-name . "GConf")))))
1637 (define-public gnome-mime-data
1639 (name "gnome-mime-data")
1643 (uri (string-append "mirror://gnome/sources/" name "/"
1644 (version-major+minor version) "/"
1645 name "-" version ".tar.bz2"))
1648 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1649 (build-system gnu-build-system)
1652 ("intltool" ,intltool)))
1654 '(#:phases (modify-phases %standard-phases
1655 (add-after 'configure 'use-our-intltool
1657 ;; Do not use the bundled intltool commands, which lack
1658 ;; the "dotless @INC" fixes of our 'intltool' package.
1659 (substitute* (find-files "." "^Makefile$")
1660 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1661 (string-append "INTLTOOL_" tool " = intltool-"
1662 (string-downcase tool) "\n")))
1664 (home-page "https://www.gnome.org")
1665 (synopsis "Base MIME and Application database for GNOME")
1666 (description "GNOME Mime Data is a module which contains the base MIME
1667 and Application database for GNOME. The data stored by this module is
1668 designed to be accessed through the MIME functions in GnomeVFS.")
1669 (license license:gpl2+)))
1672 (define-public gnome-vfs
1678 (uri (string-append "mirror://gnome/sources/" name "/"
1679 (version-major+minor version) "/"
1680 name "-" version ".tar.bz2"))
1683 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1684 (build-system gnu-build-system)
1687 (modify-phases %standard-phases
1688 (add-before 'configure 'ignore-deprecations
1690 (substitute* '("libgnomevfs/Makefile.in"
1691 "daemon/Makefile.in")
1692 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1694 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1696 (substitute* "test/test-async-cancel.c"
1697 (("EXIT_FAILURE") "77"))
1699 (inputs `(("libxml2" ,libxml2)
1700 ("dbus-glib" ,dbus-glib)
1702 ("gnome-mime-data" ,gnome-mime-data)
1705 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1706 ("intltool" ,intltool)
1707 ("pkg-config" ,pkg-config)))
1708 (home-page "https://developer.gnome.org/gnome-vfs/")
1709 (synopsis "Access files and folders in GNOME applications")
1711 "GnomeVFS is the core library used to access files and folders in GNOME
1712 applications. It provides a file system abstraction which allows applications
1713 to access local and remote files with a single consistent API.")
1714 (license license:lgpl2.0+)))
1718 (define-public libgnome
1724 (uri (string-append "mirror://gnome/sources/" name "/"
1725 (version-major+minor version) "/"
1726 name "-" version ".tar.bz2"))
1729 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1730 (patches (search-patches "libgnome-encoding.patch"))))
1731 (build-system gnu-build-system)
1734 (modify-phases %standard-phases
1735 (add-before 'configure 'enable-deprecated
1737 (substitute* "libgnome/Makefile.in"
1738 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1740 (inputs `(("libxml2" ,libxml2)))
1742 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1743 ("intltool" ,intltool)
1744 ("pkg-config" ,pkg-config)))
1745 ;; The following are listed as Required in the .pc file
1746 ;; (except for libcanberra -- which seems to be oversight on the part
1747 ;; of the upstream developers -- anything that links against libgnome,
1748 ;; must also link against libcanberra
1750 `(("libcanberra" ,libcanberra)
1751 ("libbonobo" ,libbonobo)
1753 ("gnome-vfs" ,gnome-vfs)
1754 ("popt" ,popt))) ;gnome-program.h includes popt.h
1755 (home-page "https://developer.gnome.org/libgnome/")
1756 (synopsis "Useful routines for building applications")
1757 (description "The libgnome library provides a number of useful routines
1758 for building modern applications, including session management, activation of
1759 files and URIs, and displaying help.")
1760 (license license:lgpl2.0+)))
1763 (define-public libart-lgpl
1765 (name "libart-lgpl")
1769 (uri (let ((upstream-name "libart_lgpl"))
1770 (string-append "mirror://gnome/sources/" upstream-name "/"
1771 (version-major+minor version) "/"
1772 upstream-name "-" version ".tar.bz2")))
1775 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1776 (build-system gnu-build-system)
1778 `(("pkg-config" ,pkg-config)))
1779 (home-page "https://people.gnome.org/~mathieu/libart")
1780 (synopsis "2D drawing library")
1781 (description "Libart is a 2D drawing library intended as a
1782 high-quality vector-based 2D library with antialiasing and alpha composition.")
1783 (license license:lgpl2.0+)))
1787 (define-public libgnomecanvas
1789 (name "libgnomecanvas")
1793 (uri (string-append "mirror://gnome/sources/" name "/"
1794 (version-major+minor version) "/"
1795 name "-" version ".tar.gz"))
1798 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1799 (build-system gnu-build-system)
1800 ;; Mentioned as Required in the .pc file
1801 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1804 `(("intltool" ,intltool)
1805 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1806 ("pkg-config" ,pkg-config)))
1807 (home-page "https://developer.gnome.org/libgnomecanvas/")
1808 (synopsis "Flexible widget for creating interactive structured graphics")
1809 (description "The GnomeCanvas widget provides a flexible widget for
1810 creating interactive structured graphics.")
1811 (license license:lgpl2.0+)))
1813 (define-public libgnomecanvasmm
1815 (name "libgnomecanvasmm")
1819 (uri (string-append "mirror://gnome/sources/" name "/"
1820 (version-major+minor version) "/"
1821 name "-" version ".tar.bz2"))
1824 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1825 (build-system gnu-build-system)
1827 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1828 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1830 `(("gtkmm-2" ,gtkmm-2)
1831 ("pkg-config" ,pkg-config)))
1832 (home-page "https://gtkmm.org")
1833 (synopsis "C++ bindings to the GNOME Canvas library")
1834 (description "C++ bindings to the GNOME Canvas library.")
1835 (license license:lgpl2.0+)))
1837 (define-public libgnomeui
1843 (uri (string-append "mirror://gnome/sources/" name "/"
1844 (version-major+minor version) "/"
1845 name "-" version ".tar.bz2"))
1846 (patches (search-patches "libgnomeui-utf8.patch"))
1849 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1850 (build-system gnu-build-system)
1851 ;; Mentioned as Required in the .pc file
1852 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1853 ("libgnome" ,libgnome)
1854 ("libgnomecanvas" ,libgnomecanvas)
1855 ("libgnome-keyring" ,libgnome-keyring)))
1856 (inputs `(("libjpeg" ,libjpeg)
1858 ("libbonobo" ,libbonobo)
1859 ("libxml2" ,libxml2)
1860 ("libglade" ,libglade)))
1862 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1863 ("intltool" ,intltool)
1864 ("pkg-config" ,pkg-config)))
1865 (home-page "https://developer.gnome.org/libgnomeui/")
1866 (synopsis "Additional widgets for applications")
1867 (description "The libgnomeui library provides additional widgets for
1868 applications. Many of the widgets from libgnomeui have already been
1870 (license license:lgpl2.0+)))
1872 (define-public libglade
1878 (uri (string-append "mirror://gnome/sources/" name "/"
1879 (version-major+minor version) "/"
1880 name "-" version ".tar.bz2"))
1883 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1884 (build-system gnu-build-system)
1886 `(("python" ,python))) ;; needed for the optional libglade-convert program
1888 `(("gtk+-2" ,gtk+-2)
1889 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1891 `(("pkg-config" ,pkg-config)))
1892 (home-page "https://developer.gnome.org/libglade")
1893 (synopsis "Load glade interfaces and access the glade built widgets")
1894 (description "Libglade is a library that provides interfaces for loading
1895 graphical interfaces described in glade files and for accessing the
1896 widgets built in the loading process.")
1897 (license license:gpl2+))) ; This is correct. GPL not LGPL
1899 (define-public libgnomeprint
1900 ;; This library has been deprecated since 2006; see
1901 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1903 (name "libgnomeprint")
1907 (uri (string-append "mirror://gnome/sources/" name "/"
1908 (version-major+minor version) "/"
1909 name "-" version ".tar.bz2"))
1912 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1913 (build-system gnu-build-system)
1916 ("libart-lgpl" ,libart-lgpl)
1918 ("libxml2" ,libxml2)))
1920 `(("intltool" ,intltool)
1921 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1922 ("pkg-config" ,pkg-config)))
1923 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1924 (synopsis "Printing framework for GNOME")
1926 "GNOME-print was a printing framework for GNOME. It has been deprecated
1927 since ca. 2006, when GTK+ itself incorporated printing support.")
1928 (license license:lgpl2.0+)))
1931 (define-public libgnomeprintui
1932 ;; Deprecated; see libgnomeprint.
1934 (name "libgnomeprintui")
1938 (uri (string-append "mirror://gnome/sources/" name "/"
1939 (version-major+minor version) "/"
1940 name "-" version ".tar.bz2"))
1943 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1944 (build-system gnu-build-system)
1945 ;; Mentioned as Required in the .pc file
1946 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1947 (inputs `(("gtk+" ,gtk+-2)
1949 ("gnome-icon-theme" ,gnome-icon-theme)
1950 ("libgnomecanvas" ,libgnomecanvas)
1951 ("libxml2" ,libxml2)))
1953 `(("intltool" ,intltool)
1954 ("pkg-config" ,pkg-config)))
1955 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1956 (synopsis "Printing framework for GNOME")
1957 (description (package-description libgnomeprint))
1958 (license license:lgpl2.0+)))
1960 (define-public libbonoboui
1962 (name "libbonoboui")
1966 (uri (string-append "mirror://gnome/sources/" name "/"
1967 (version-major+minor version) "/"
1968 name "-" version ".tar.bz2"))
1971 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1972 (build-system gnu-build-system)
1975 (modify-phases %standard-phases
1976 (add-before 'check 'start-xserver
1977 (lambda* (#:key inputs #:allow-other-keys)
1978 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1981 (setenv "HOME" (getcwd))
1982 (setenv "DISPLAY" disp)
1983 ;; There must be a running X server and make check doesn't start one.
1984 ;; Therefore we must do it.
1985 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1986 ;; Mentioned as Required by the .pc file
1987 (propagated-inputs `(("libxml2" ,libxml2)))
1990 ("pangox-compat" ,pangox-compat)
1991 ("libgnome" ,libgnome)
1992 ("libgnomecanvas" ,libgnomecanvas)
1993 ("libglade" ,libglade)))
1995 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1996 ("intltool" ,intltool)
1997 ("xorg-server" ,xorg-server) ; For running the tests
1998 ("pkg-config" ,pkg-config)))
1999 (home-page "https://developer.gnome.org/libbonoboui/")
2000 (synopsis "Some user interface controls using Bonobo")
2001 (description "The Bonobo UI library provides a number of user interface
2002 controls using the Bonobo component framework.")
2003 (license license:lgpl2.0+)))
2005 (define-public libwnck
2011 (uri (string-append "mirror://gnome/sources/" name "/"
2012 (version-major+minor version) "/"
2013 name "-" version ".tar.xz"))
2016 "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg"))))
2017 (build-system gnu-build-system)
2019 `(("pkg-config" ,pkg-config)
2020 ("intltool" ,intltool)))
2023 ("libxres" ,libxres)
2024 ("startup-notification" ,startup-notification)))
2025 (home-page "https://developer.gnome.org/libwnck/")
2026 (synopsis "Window Navigator Construction Kit")
2028 "Libwnck is the Window Navigator Construction Kit, a library for use in
2029 writing pagers, tasklists, and more generally applications that are dealing
2030 with window management. It tries hard to respect the Extended Window Manager
2031 Hints specification (EWMH).")
2032 (license license:lgpl2.0+)))
2034 ;; stable version for gtk2, required by xfwm4.
2035 (define-public libwnck-2
2036 (package (inherit libwnck)
2041 (uri (string-append "mirror://gnome/sources/" name "/"
2042 (version-major+minor version) "/"
2043 name "-" version ".tar.xz"))
2046 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2049 ("libxres" ,libxres)
2050 ("startup-notification" ,startup-notification)))))
2052 (define-public goffice
2058 (uri (string-append "mirror://gnome/sources/" name "/"
2059 (version-major+minor version) "/"
2060 name "-" version ".tar.xz"))
2062 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
2063 (build-system gnu-build-system)
2065 "doc")) ;4.0 MiB of gtk-doc
2067 '(#:configure-flags (list (string-append "--with-html-dir="
2068 (assoc-ref %outputs "doc")
2069 "/share/gtk-doc/html"))))
2073 ("librsvg" ,librsvg)
2074 ("libxslt" ,libxslt)
2075 ("libxml2" ,libxml2)))
2077 `(("intltool" ,intltool)
2078 ("glib" ,glib "bin")
2079 ("pkg-config" ,pkg-config)))
2080 (home-page "https://developer.gnome.org/goffice/")
2081 (synopsis "Document-centric objects and utilities")
2082 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2084 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2086 (list license:gpl2 license:gpl3))))
2088 (define-public goffice-0.8
2089 (package (inherit goffice)
2093 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2094 (version-major+minor version) "/"
2095 (package-name goffice) "-" version ".tar.xz"))
2097 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2100 (modify-phases %standard-phases
2101 (add-after 'unpack 'fix-pcre-check
2103 ;; Only glib.h can be included directly. See
2104 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2105 (substitute* "configure"
2106 (("glib/gregex\\.h") "glib.h")) #t)))
2108 ,@(package-arguments goffice)))
2110 ;; libgoffice-0.8.pc mentions libgsf-1
2111 `(("libgsf" ,libgsf)))
2114 ,@(alist-delete "gtk" (package-inputs goffice))))))
2116 (define-public gnumeric
2122 (uri (string-append "mirror://gnome/sources/gnumeric/"
2123 (version-major+minor version) "/"
2124 "gnumeric-" version ".tar.xz"))
2127 "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h"))))
2128 (build-system glib-or-gtk-build-system)
2130 `(;; The gnumeric developers don't worry much about failing tests.
2131 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2134 (modify-phases %standard-phases
2136 'configure 'pre-conf
2137 (lambda* (#:key outputs #:allow-other-keys)
2138 ;; Make install tries to write into the directory of goffice
2139 ;; I am informed that this only affects the possibility to embed a
2140 ;; spreadsheet inside an Abiword document. So presumably when we
2141 ;; package Abiword we'll have to refer it to this directory.
2142 (substitute* "configure"
2143 (("^GOFFICE_PLUGINS_DIR=.*")
2144 (string-append "GOFFICE_PLUGINS_DIR="
2145 (assoc-ref outputs "out")
2146 "/goffice/plugins"))))))))
2150 ("goffice" ,goffice)
2152 ("librsvg" ,librsvg)
2153 ("libxml2" ,libxml2)
2154 ("libxslt" ,libxslt)
2155 ("python" ,python-2)
2156 ("python2-pygobject" ,python2-pygobject)
2160 ("docbook-xml" ,docbook-xml)
2161 ("intltool" ,intltool)
2162 ("itstool" ,itstool)
2163 ("glib:bin" ,glib "bin")
2164 ("pkg-config" ,pkg-config)))
2165 (home-page "http://www.gnumeric.org")
2166 (synopsis "Spreadsheet application")
2168 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2169 interoperable with other spreadsheet applications. It has a vast array of
2170 features beyond typical spreadsheet functionality, such as support for linear
2171 and non-linear solvers, statistical analysis, and telecommunication
2174 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2175 (list license:gpl2 license:gpl3))))
2177 (define-public gnome-themes-standard
2179 (name "gnome-themes-standard")
2184 (uri (string-append "mirror://gnome/sources/" name "/"
2185 (version-major+minor version) "/" name "-"
2189 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2190 (build-system gnu-build-system)
2193 ;; Don't create 'icon-theme.cache'.
2194 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2195 (true (string-append coreutils "/bin/true")))
2196 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2200 ("librsvg" ,librsvg)
2201 ("libxml2" ,libxml2)
2204 `(("intltool" ,intltool)
2205 ("glib:bin" ,glib "bin")
2206 ("pkg-config" ,pkg-config)))
2207 (home-page "https://launchpad.net/gnome-themes-standard")
2208 (synopsis "Default GNOME 3 themes")
2210 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2211 (license license:lgpl2.1+)))
2213 (define-public seahorse
2220 (uri (string-append "mirror://gnome/sources/" name "/"
2221 (version-major+minor version) "/" name "-"
2225 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
2226 (build-system glib-or-gtk-build-system)
2232 ("openldap" ,openldap)
2233 ("openssh" ,openssh)
2234 ("libsecret" ,libsecret)
2235 ("libsoup" ,libsoup)))
2237 `(("intltool" ,intltool)
2238 ("glib:bin" ,glib "bin")
2239 ("itstool" ,itstool)
2240 ("pkg-config" ,pkg-config)
2241 ("xmllint" ,libxml2)))
2242 (home-page "https://launchpad.net/gnome-themes-standard")
2243 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2245 "Seahorse is a GNOME application for managing encryption keys and
2246 passwords in the GNOME keyring.")
2247 (license license:gpl2+)))
2255 (uri (string-append "mirror://gnome/sources/" name "/"
2256 (version-major+minor version) "/"
2257 name "-" version ".tar.xz"))
2260 "0yvaijkpahzz26sa37cyzbj75a9vbcbgvxbqzzb7hbcvfy009zy7"))))
2261 (build-system gnu-build-system)
2264 (modify-phases %standard-phases
2265 (add-before 'check 'pre-check
2268 (substitute* "valadoc/tests/testrunner.sh"
2269 (("export PKG_CONFIG_PATH=" m)
2270 (string-append m "$PKG_CONFIG_PATH:")))
2271 ;; For missing '/etc/machine-id'.
2272 (setenv "DBUS_FATAL_WARNINGS" "0")
2275 `(("pkg-config" ,pkg-config)
2278 ("xsltproc" ,libxslt)
2281 ("dbus" ,dbus) ; for dbus tests
2282 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2284 `(("graphviz" ,graphviz)))
2286 `(("glib" ,glib))) ; required by libvala-0.40.pc
2287 (home-page "https://live.gnome.org/Vala/")
2288 (synopsis "Compiler for the GObject type system")
2290 "Vala is a programming language that aims to bring modern programming
2291 language features to GNOME developers without imposing any additional runtime
2292 requirements and without using a different ABI compared to applications and
2293 libraries written in C.")
2294 (license license:lgpl2.1+)))
2302 (uri (string-append "mirror://gnome/sources/" name "/"
2303 (version-major+minor version) "/"
2304 name "-" version ".tar.xz"))
2307 "1br6kg0wzf1wmww1hadihhcpqbamalqmbppfdzjvzk1ayp75f9hg"))))
2308 (build-system gnu-build-system)
2310 `(("pkg-config" ,pkg-config)
2311 ("intltool" ,intltool)
2313 ("gobject-introspection" ,gobject-introspection)
2314 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2316 ("xmllint" ,libxml2)))
2318 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2319 ("gnutls" ,gnutls) ;ditto
2320 ("pcre2" ,pcre2))) ;ditto
2321 (home-page "https://www.gnome.org/")
2322 (synopsis "Virtual Terminal Emulator")
2324 "VTE is a library (libvte) implementing a terminal emulator widget for
2325 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2326 gnome-terminal, but can also be used to embed a console/terminal in games,
2327 editors, IDEs, etc.")
2328 (license license:lgpl2.1+)))
2330 (define-public vte-ng
2334 (version "0.56.2.a")
2335 (home-page "https://github.com/thestinger/vte-ng")
2338 (uri (git-reference (url home-page) (commit version)))
2339 (file-name (git-file-name name version))
2342 "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki"))))
2344 `(("gtk-doc" ,gtk-doc)
2347 ("autoconf" ,autoconf)
2348 ("automake" ,automake)
2349 ("libtool" ,libtool)
2350 ,@(package-native-inputs vte)))
2352 `(#:phases (modify-phases %standard-phases
2355 ;; Work around GCC7 problem: <https://bugs.gnu.org/30756>.
2356 (for-each unsetenv '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"))
2358 (setenv "NOCONFIGURE" "true")
2359 (invoke "sh" "autogen.sh"))))))
2360 (synopsis "Enhanced VTE terminal widget")
2362 "VTE is a library (libvte) implementing a terminal emulator widget for
2363 GTK+, this fork provides additional functions exposed for keyboard text
2364 selection and URL hints.")))
2366 ;; provides vte 2.90, required for some terminal emulators
2367 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2368 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2369 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2370 ;; pantheon-terminal, roxterm are not currently packaged
2371 (define-public vte-0.36
2372 (package (inherit vte)
2377 (uri (string-append "mirror://gnome/sources/" name "/"
2378 (version-major+minor version) "/"
2379 name "-" version ".tar.xz"))
2382 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2385 ("ncurses" ,ncurses)))))
2387 ;; stable version for gtk2, required by xfce4-terminal.
2388 (define-public vte/gtk+-2
2389 (package (inherit vte)
2394 (uri (string-append "mirror://gnome/sources/" name "/"
2395 (version-major+minor version) "/"
2396 name "-" version ".tar.xz"))
2399 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2400 (patches (search-patches
2401 "vte-CVE-2012-2738-pt1.patch"
2402 "vte-CVE-2012-2738-pt2.patch"))))
2404 '(#:configure-flags '("--disable-python")))
2406 `(("pkg-config" ,pkg-config)
2407 ("intltool" ,intltool)
2408 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2410 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2411 ("ncurses" ,ncurses))))) ; required by libvte.la
2413 (define-public vinagre
2419 (uri (string-append "mirror://gnome/sources/" name "/"
2420 (version-major+minor version) "/"
2421 name "-" version ".tar.xz"))
2422 (patches (search-patches "vinagre-newer-freerdp.patch"
2423 "vinagre-newer-rdp-parameters.patch"))
2426 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2427 (build-system glib-or-gtk-build-system)
2430 (modify-phases %standard-phases
2431 (add-before 'install 'skip-gtk-update-icon-cache
2433 ;; Don't create 'icon-theme.cache'
2434 (substitute* (find-files "." "^Makefile$")
2435 (("gtk-update-icon-cache") (which "true")))
2437 (add-after 'unpack 'patch-configure
2439 (substitute* "configure"
2440 (("freerdp") "freerdp2"))
2443 `(("pkg-config" ,pkg-config)
2444 ("intltool" ,intltool)
2445 ("itstool" ,itstool)
2446 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2448 `(("libxml2" ,libxml2)
2449 ("gtk-vnc" ,gtk-vnc)
2450 ("gnome-keyring" ,gnome-keyring)
2451 ("libsecret" ,libsecret)
2452 ("freerdp" ,freerdp)
2454 ("spice-gtk" ,spice-gtk)
2455 ("telepathy-glib" ,telepathy-glib)
2457 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2458 (synopsis "Remote desktop viewer for GNOME")
2459 (description "Vinagre is a remote display client supporting the VNC, SPICE
2460 and RDP protocols.")
2461 (license license:gpl3+)))
2463 (define-public dconf
2470 "mirror://gnome/sources/" name "/"
2471 (version-major+minor version) "/"
2472 name "-" version ".tar.xz"))
2475 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
2476 (build-system meson-build-system)
2478 ;; In Requires of dconf.pc.
2484 `(("bash-completion" ,bash-completion)
2485 ("libxslt" ,libxslt) ;for xsltproc
2486 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2487 ("docbook-xml" ,docbook-xml-4.2)
2488 ("docbook-xsl" ,docbook-xsl)
2489 ("glib:bin" ,glib "bin")
2490 ("gtk-doc" ,gtk-doc)
2491 ("pkg-config" ,pkg-config)
2494 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2495 ; or /etc/machine-id.
2497 #:configure-flags '("-Denable-gtk-doc=true")))
2498 (home-page "https://developer.gnome.org/dconf")
2499 (synopsis "Low-level GNOME configuration system")
2500 (description "Dconf is a low-level configuration system. Its main purpose
2501 is to provide a backend to GSettings on platforms that don't already have
2502 configuration storage systems.")
2503 (license license:lgpl2.1+)))
2505 (define-public json-glib
2511 (uri (string-append "mirror://gnome/sources/" name "/"
2512 (version-major+minor version) "/"
2513 name "-" version ".tar.xz"))
2516 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2517 (build-system meson-build-system)
2519 `(("gettext" ,gettext-minimal)
2520 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2521 ("gobject-introspection" ,gobject-introspection)
2522 ("pkg-config" ,pkg-config)))
2524 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2525 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2526 (synopsis "Compiler for the GObject type system")
2528 "JSON-GLib is a C library based on GLib providing serialization and
2529 deserialization support for the JavaScript Object Notation (JSON) format
2530 described by RFC 4627. It provides parser and generator GObject classes and
2531 various wrappers for the complex data types employed by JSON, such as arrays
2533 (license license:lgpl2.1+)))
2535 (define-public libxklavier
2537 (name "libxklavier")
2541 (uri (string-append "mirror://gnome/sources/" name "/"
2542 version "/" name "-" version ".tar.xz"))
2545 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2546 (build-system gnu-build-system)
2549 (list (string-append "--with-xkb-base="
2550 (assoc-ref %build-inputs "xkeyboard-config")
2551 "/share/X11/xkb"))))
2553 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2554 ("gobject-introspection" ,gobject-introspection)
2555 ("pkg-config" ,pkg-config)))
2557 ;; Required by libxklavier.pc.
2559 ("libxml2" ,libxml2)))
2561 `(("iso-codes" ,iso-codes)
2563 ("libxkbfile" ,libxkbfile)
2564 ("xkbcomp" ,xkbcomp)
2565 ("xkeyboard-config" ,xkeyboard-config)))
2566 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2567 (synopsis "High-level API for X Keyboard Extension")
2569 "LibXklavier is a library providing high-level API for X Keyboard
2570 Extension known as XKB. This library is intended to support XFree86 and other
2571 commercial X servers. It is useful for creating XKB-related software (layout
2573 (license license:lgpl2.0+)))
2575 (define-public python2-rsvg
2576 ;; XXX: This is actually a subset of gnome-python-desktop.
2578 (name "python2-rsvg")
2584 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2585 version ".tar.bz2"))
2588 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2589 (build-system gnu-build-system)
2591 `(("pkg-config" ,pkg-config)))
2593 `(("python" ,python-2)
2594 ("python2-pygtk" ,python2-pygtk)
2595 ("librsvg" ,librsvg)))
2596 (home-page "https://www.gnome.org")
2597 (synopsis "Python bindings to librsvg")
2599 "This package provides Python bindings to librsvg, the SVG rendering
2602 ;; This is the license of the rsvg bindings. The license of each module
2603 ;; of gnome-python-desktop is given in 'COPYING'.
2604 (license license:lgpl2.1+)))
2606 (define-public glib-networking
2608 (name "glib-networking")
2612 (uri (string-append "mirror://gnome/sources/glib-networking/"
2613 (version-major+minor version) "/"
2614 name "-" version ".tar.xz"))
2617 "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx"))
2618 (patches (search-patches "glib-networking-connection.patch"))))
2619 (build-system meson-build-system)
2621 `(#:configure-flags '("-Dlibproxy_support=false")
2622 #:phases (modify-phases %standard-phases
2623 (add-before 'check 'disable-TLSv1.3
2625 ;; XXX: One test fails when TLS 1.3 is enabled, fixed in 2.60.0:
2626 ;; <https://gitlab.com/gnutls/gnutls/issues/615>.
2627 (setenv "G_TLS_GNUTLS_PRIORITY" "NORMAL:-VERS-TLS1.3")
2630 `(("pkg-config" ,pkg-config)
2631 ("intltool" ,intltool)))
2635 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2636 ("p11-kit" ,p11-kit)))
2637 (home-page "https://www.gnome.org")
2638 (synopsis "Network-related GIO modules")
2640 "This package contains various network related extensions for the GIO
2642 (license license:lgpl2.0+)))
2650 (uri (string-append "mirror://gnome/sources/rest/"
2651 (version-major+minor version) "/"
2652 name "-" version ".tar.xz"))
2655 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2656 (build-system gnu-build-system)
2658 '(#:tests? #f ; tests require internet connection
2660 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2662 `(("glib-mkenums" ,glib "bin")
2663 ("gobject-introspection" ,gobject-introspection)
2664 ("pkg-config" ,pkg-config)))
2666 ;; rest-0.7.pc refers to all these.
2668 ("libsoup" ,libsoup)
2669 ("libxml2" ,libxml2)))
2670 (home-page "https://www.gtk.org/")
2671 (synopsis "RESTful web api query library")
2673 "This library was designed to make it easier to access web services that
2674 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2675 libxml to ease remote use of the RESTful API.")
2676 (license license:lgpl2.1+)))
2678 (define-public libsoup
2684 (uri (string-append "mirror://gnome/sources/libsoup/"
2685 (version-major+minor version) "/"
2686 name "-" version ".tar.xz"))
2689 "0amfw1yvy1kjrg41rfh2vvrw5gkwnyckqbw1fab50hm6xc1acbmx"))))
2690 (build-system meson-build-system)
2691 (outputs '("out" "doc"))
2693 `(#:modules ((guix build utils)
2694 (guix build meson-build-system)
2697 #:configure-flags '("-Ddoc=true")
2699 (modify-phases %standard-phases
2700 (add-after 'unpack 'adjust-tests
2702 ;; This test fails due to missing /etc/nsswitch.conf
2703 ;; in the build environment.
2704 (substitute* "tests/socket-test.c"
2705 ((".*/sockets/unconnected.*") ""))
2707 ;; Generate a self-signed certificate that has "localhost" as its
2708 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2709 ;; 3.5.12, tests such as "ssl-tests" fail:
2711 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2713 ;; 'certtool' is interactive so we have to pipe it the answers.
2714 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2715 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2716 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2717 (for-each (lambda (line)
2722 "Guix" ;Organizational unit name
2723 "GNU" ;Organization name
2725 "" ;State or province
2727 "" ;subject's domain component (DC)
2730 "-1" ;expiration time
2731 "N" ;belong to authority?
2732 "N" ;web client certificate?
2734 "Y" ;web server certificate?
2735 "localhost" ;dnsName of subject
2736 "" ;dnsName of subject (end)
2738 "127.0.0.1" ;IP address of subject
2740 "" ;encryption (RSA)?
2741 "" ;data encryption?
2742 "" ;sign OCSP requests?
2745 "" ;email protection?
2746 "" ;URI of the CRL distribution point
2751 (add-after 'install 'move-doc
2752 (lambda* (#:key outputs #:allow-other-keys)
2753 (let ((out (assoc-ref outputs "out"))
2754 (doc (assoc-ref outputs "doc")))
2755 (mkdir-p (string-append doc "/share"))
2756 (copy-recursively (string-append out "/share/gtk-doc")
2757 (string-append doc "/share/gtk-doc"))
2758 (delete-file-recursively (string-append out "/share/gtk-doc"))
2761 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2762 ("gobject-introspection" ,gobject-introspection)
2763 ("gtk-doc" ,gtk-doc)
2764 ("intltool" ,intltool)
2765 ("pkg-config" ,pkg-config)
2766 ("python" ,python-wrapper)
2768 ;; These are needed for the tests.
2769 ;; FIXME: Add PHP once available.
2771 ("gnutls" ,gnutls) ;for 'certtool'
2774 ;; libsoup-2.4.pc refers to all these.
2777 ("libxml2" ,libxml2)
2778 ("sqlite" ,sqlite)))
2780 `(("glib-networking" ,glib-networking)
2781 ("mit-krb5" ,mit-krb5)))
2782 (home-page "https://live.gnome.org/LibSoup/")
2783 (synopsis "GLib-based HTTP Library")
2785 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2786 and the GLib main loop, to integrate well with GNOME applications.")
2787 (license license:lgpl2.0+)))
2789 (define-public libsecret
2796 "mirror://gnome/sources/libsecret/"
2797 (version-major+minor version) "/"
2798 name "-" version ".tar.xz"))
2801 "058x64689k55wxfkdp4svhnwvv8jmqm7z5mrynybl38f4sfqiyiv"))))
2802 (build-system gnu-build-system)
2803 (outputs '("out" "doc"))
2805 `(#:tests? #f ; FIXME: Testing hangs.
2807 (list (string-append "--with-html-dir="
2808 (assoc-ref %outputs "doc")
2809 "/share/gtk-doc/html"))))
2811 `(("gettext" ,gettext-minimal)
2812 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2813 ("gobject-introspection" ,gobject-introspection)
2814 ("pkg-config" ,pkg-config)
2816 ("xsltproc" ,libxslt)))
2817 ;; These are needed for the tests.
2818 ;; FIXME: Add gjs once available.
2820 ;("python2" ,python-2)
2821 ;("python2-dbus" ,python2-dbus)
2822 ;("python2-pygobject" ,python2-pygobject)
2823 ;("python2-pygobject-2" ,python2-pygobject-2)))
2825 `(("glib" ,glib))) ; required by libsecret-1.pc
2827 `(("docbook-xsl" ,docbook-xsl)
2828 ("libgcrypt" ,libgcrypt)
2829 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2830 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2831 (synopsis "GObject bindings for \"Secret Service\" API")
2833 "Libsecret is a GObject based library for storing and retrieving passwords
2834 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2835 (license license:lgpl2.1+)))
2837 (define-public five-or-more
2839 (name "five-or-more")
2844 (uri (string-append "mirror://gnome/sources/" name "/"
2845 (version-major+minor version) "/"
2846 name "-" version ".tar.xz"))
2849 "1fy4a7qdjqvabm0cl45d6xlx6hy4paxvm0b2paifff73bl250d5c"))))
2850 (build-system glib-or-gtk-build-system)
2852 `(("pkg-config" ,pkg-config)
2853 ("desktop-file-utils" ,desktop-file-utils)
2854 ("intltool" ,intltool)
2855 ("itstool" ,itstool)
2856 ("xmllint" ,libxml2)))
2859 ("librsvg" ,librsvg)))
2860 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2861 (synopsis "Logic puzzle game")
2862 (description "Five or More is a game where you try to align
2863 five or more objects of the same color and shape causing them to disappear.
2864 On every turn more objects will appear, until the board is full.
2865 Try to last as long as possible.")
2866 (license license:gpl2+)))
2868 (define-public gnome-mines
2870 (name "gnome-mines")
2875 (uri (string-append "mirror://gnome/sources/" name "/"
2876 (version-major+minor version) "/"
2877 name "-" version ".tar.xz"))
2880 "16w55hqaxipcv870n9gpn6qiywbqbyg7bjshaa02r75ias8dfxvf"))))
2881 (build-system meson-build-system)
2884 (modify-phases %standard-phases
2885 (delete 'bootstrap))))
2887 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
2888 ("pkg-config" ,pkg-config)
2889 ("desktop-file-utils" ,desktop-file-utils)
2890 ("intltool" ,intltool)
2891 ("itstool" ,itstool)
2894 ("appstream-glib" ,appstream-glib)))
2897 ("libgnome-games-support" ,libgnome-games-support)
2898 ("librsvg" ,librsvg)))
2899 (home-page "https://wiki.gnome.org/Apps/Mines")
2900 (synopsis "Minesweeper game")
2902 "Mines (previously gnomine) is a puzzle game where you locate mines
2903 floating in an ocean using only your brain and a little bit of luck.")
2904 (license license:gpl2+)))
2906 (define-public gnome-sudoku
2908 (name "gnome-sudoku")
2913 (uri (string-append "mirror://gnome/sources/" name "/"
2914 (version-major+minor version) "/"
2915 name "-" version ".tar.xz"))
2918 "07b4lzniaf3gjsss6zl1lslv18smwc4nrijykvn2z90f423q2xav"))))
2919 (build-system glib-or-gtk-build-system)
2921 `(("pkg-config" ,pkg-config)
2922 ("desktop-file-utils" ,desktop-file-utils)
2923 ("intltool" ,intltool)
2924 ("itstool" ,itstool)
2925 ("xmllint" ,libxml2)))
2928 ("json-glib" ,json-glib)
2930 ("librsvg" ,librsvg)
2931 ("qqwing" ,qqwing)))
2932 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2933 (synopsis "Japanese logic game")
2935 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2936 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2937 possible while still providing features that make playing difficult Sudoku
2939 (license license:gpl2+)))
2941 (define-public gnome-terminal
2943 (name "gnome-terminal")
2948 (uri (string-append "mirror://gnome/sources/" name "/"
2949 (version-major+minor version) "/"
2950 name "-" version ".tar.xz"))
2953 "0ybjansg6lr279191w8z8r45gy4rxwzw1ajm98cgkv0fk2jdr0x2"))))
2954 (build-system glib-or-gtk-build-system)
2957 (list "--disable-migration" "--disable-search-provider"
2958 "--without-nautilus-extension")
2960 (modify-phases %standard-phases
2961 (add-before 'configure 'patch-/bin/true
2963 (substitute* "configure"
2964 (("/bin/true") (which "true"))))))))
2966 `(("pkg-config" ,pkg-config)
2967 ("desktop-file-utils" ,desktop-file-utils)
2968 ("intltool" ,intltool)
2969 ("itstool" ,itstool)
2970 ("xmllint" ,libxml2)))
2972 `(("dconf" ,dconf)))
2977 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2978 ("util-linux" ,util-linux)
2980 (home-page "https://wiki.gnome.org/Apps/Terminal")
2981 (synopsis "Terminal emulator")
2983 "GNOME Terminal is a terminal emulator application for accessing a
2984 UNIX shell environment which can be used to run programs available on
2987 It supports several profiles, multiple tabs and implements several
2988 keyboard shortcuts.")
2989 (license license:gpl3+)))
2991 (define-public colord
2998 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2999 name "-" version ".tar.xz"))
3002 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
3003 (build-system glib-or-gtk-build-system)
3005 '(;; The tests want to run valgrind. Punt for now.
3007 #:configure-flags (list "--localstatedir=/var"
3008 ;; GUSB not packaged yet.
3010 ;; No dep on systemd.
3011 "--disable-systemd-login"
3012 ;; Wants to install to global completion dir;
3014 "--disable-bash-completion"
3015 ;; colord-gtk not packaged yet.
3016 "--disable-session-example"
3017 "--with-daemon-user=colord"
3019 (string-append "--with-udevrulesdir="
3020 (assoc-ref %outputs "out")
3021 "/lib/udev/rules.d"))
3023 (modify-phases %standard-phases
3024 (add-before 'configure 'patch-/bin/true
3026 (substitute* "configure"
3027 (("/bin/true") (which "true")))
3028 (substitute* "src/Makefile.in"
3029 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
3030 "if test -w $(DESTDIR)$(localstatedir);")))))))
3032 `(("pkg-config" ,pkg-config)
3033 ("gobject-introspection" ,gobject-introspection)
3034 ("libtool" ,libtool)
3035 ("intltool" ,intltool)))
3037 ;; colord.pc refers to all these.
3042 `(("dbus-glib" ,dbus-glib)
3043 ("libgudev" ,libgudev)
3047 ("sane-backends" ,sane-backends)))
3048 (home-page "https://www.freedesktop.org/software/colord/")
3049 (synopsis "Color management service")
3050 (description "Colord is a system service that makes it easy to manage,
3051 install and generate color profiles to accurately color manage input and
3053 (license license:gpl2+)))
3055 (define-public geoclue
3062 (uri (string-append "https://www.freedesktop.org/software/" name
3063 "/releases/" (version-major+minor version) "/"
3064 name "-" version ".tar.xz"))
3067 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
3068 (patches (search-patches "geoclue-config.patch"))))
3069 (build-system glib-or-gtk-build-system)
3071 '(;; The tests want to run the system bus.
3073 #:configure-flags (list ;; Disable bits requiring ModemManager.
3074 "--disable-3g-source"
3075 "--disable-cdma-source"
3076 "--disable-modem-gps-source"
3077 "--with-dbus-service-user=geoclue")
3079 (modify-phases %standard-phases
3080 (add-before 'configure 'patch-/bin/true
3082 (substitute* "configure"
3083 (("/bin/true") (which "true")))
3086 `(("pkg-config" ,pkg-config)
3087 ("gobject-introspection" ,gobject-introspection)
3088 ("intltool" ,intltool)))
3092 ("json-glib" ,json-glib)
3093 ("libsoup" ,libsoup)))
3094 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3095 (synopsis "Geolocation service")
3096 (description "Geoclue is a D-Bus service that provides location
3097 information. The primary goal of the Geoclue project is to make creating
3098 location-aware applications as simple as possible, while the secondary goal is
3099 to ensure that no application can access location information without explicit
3100 permission from user.")
3101 (license license:gpl2+)))
3103 (define-public geocode-glib
3105 (name "geocode-glib")
3109 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3110 (version-major+minor version) "/"
3111 name "-" version ".tar.xz"))
3114 "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a"))))
3115 (build-system meson-build-system)
3118 (modify-phases %standard-phases
3119 ;; The tests require a bunch of locales.
3120 (add-before 'check 'set-locales
3121 (lambda* (#:key inputs #:allow-other-keys)
3122 (setenv "GUIX_LOCPATH"
3123 (string-append (assoc-ref inputs "glibc-locales")
3127 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3128 ("glibc-locales" ,glibc-locales) ; for tests
3129 ("gettext" ,gettext-minimal)
3130 ("gobject-introspection" ,gobject-introspection)
3131 ("gtk-doc" ,gtk-doc)
3132 ("pkg-config" ,pkg-config)
3133 ("json-glib" ,json-glib)))
3135 ;; geocode-glib-1.0.pc refers to GIO.
3138 `(("libsoup" ,libsoup)))
3139 (home-page "https://github.com/GNOME/geocode-glib/")
3140 (synopsis "Geocoding and reverse-geocoding library")
3142 "geocode-glib is a convenience library for geocoding (finding longitude,
3143 and latitude from an address) and reverse geocoding (finding an address from
3144 coordinates) using the Nominatim service. geocode-glib caches requests for
3145 faster results and to avoid unnecessary server load.")
3146 (license license:lgpl2.0+)))
3148 (define-public upower
3154 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3155 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
3156 "upower-" version ".tar.xz"))
3159 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
3160 (patches (search-patches "upower-builddir.patch"))))
3161 (build-system glib-or-gtk-build-system)
3163 '( ;; The tests want to contact the system bus, which can't be done in the
3164 ;; build environment. The integration test can run, but the last of
3165 ;; the up-self-tests doesn't. Disable tests for now.
3167 #:configure-flags (list "--localstatedir=/var"
3168 (string-append "--with-udevrulesdir="
3169 (assoc-ref %outputs "out")
3170 "/lib/udev/rules.d"))))
3172 `(("gobject-introspection" ,gobject-introspection)
3173 ("pkg-config" ,pkg-config)
3174 ("intltool" ,intltool)
3178 ("libxslt" ,libxslt) ;for 'xsltproc'
3179 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3180 ("docbook-xsl" ,docbook-xsl)))
3182 `(("dbus-glib" ,dbus-glib)
3183 ("libgudev" ,libgudev)
3184 ("libusb" ,libusb)))
3186 ;; In Requires of upower-glib.pc.
3188 (home-page "https://upower.freedesktop.org/")
3189 (synopsis "System daemon for managing power devices")
3191 "UPower is an abstraction for enumerating power devices,
3192 listening to device events and querying history and statistics. Any
3193 application or service on the system can access the org.freedesktop.UPower
3194 service via the system message bus.")
3195 (license license:gpl2+)))
3197 (define-public libgweather
3199 (name "libgweather")
3203 (uri (string-append "mirror://gnome/sources/" name "/"
3204 (version-major+minor version) "/"
3205 name "-" version ".tar.xz"))
3208 "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708"))))
3209 (build-system meson-build-system)
3211 `(#:tests? #f ; one of two tests requires network access
3213 `(,(string-append "-Dzoneinfo_dir="
3214 (assoc-ref %build-inputs "tzdata")
3215 "/share/zoneinfo"))))
3217 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3218 ("gobject-introspection" ,gobject-introspection)
3219 ("pkg-config" ,pkg-config)
3221 ("intltool" ,intltool)))
3223 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3226 ("gdk-pixbuf" ,gdk-pixbuf)
3227 ("libxml2" ,libxml2)
3228 ("libsoup" ,libsoup)
3229 ("geocode-glib" ,geocode-glib)))
3231 `(("tzdata" ,tzdata)))
3232 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3233 (synopsis "Location, time zone, and weather library for GNOME")
3235 "libgweather is a library to access weather information from online
3236 services for numerous locations.")
3237 (license license:gpl2+)))
3239 (define-public gnome-settings-daemon
3241 (name "gnome-settings-daemon")
3246 (uri (string-append "mirror://gnome/sources/" name "/"
3247 (version-major+minor version) "/"
3248 name "-" version ".tar.xz"))
3251 "0z9dip9p0iav646cmxisii5sbkdr9hmaklc5fzvschpbjkhphksr"))))
3252 (build-system meson-build-system)
3256 (list (string-append "-Dudev_dir="
3257 (assoc-ref %outputs "out")
3258 "/lib/udev/rules.d/")
3259 ;; Otherwise, the RUNPATH will lack the final path component.
3260 (string-append "-Dc_link_args=-Wl,-rpath="
3261 (assoc-ref %outputs "out")
3262 "/lib/gnome-settings-daemon-3.0"))
3263 ;; Color management test can't reach the colord system service.
3266 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3267 ("pkg-config" ,pkg-config)
3268 ("intltool" ,intltool)
3269 ("xsltproc" ,libxslt)
3270 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3271 ("docbook-xml" ,docbook-xml-4.2)
3272 ("docbook-xsl" ,docbook-xsl)))
3274 `(("alsa-lib" ,alsa-lib)
3276 ("libgudev" ,libgudev)
3279 ("pulseaudio" ,pulseaudio)
3280 ("libcanberra" ,libcanberra)
3282 ("libxtst" ,libxtst)
3284 ("libnotify" ,libnotify)
3285 ("geoclue" ,geoclue)
3286 ("geocode-glib" ,geocode-glib)
3287 ("libgweather" ,libgweather)
3288 ("gnome-desktop" ,gnome-desktop)
3291 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3292 ("libwacom" ,libwacom)
3293 ("librsvg" ,librsvg)
3294 ("xf86-input-wacom" ,xf86-input-wacom)
3295 ("wayland" ,wayland)
3296 ("network-manager" ,network-manager)))
3297 (home-page "https://www.gnome.org")
3298 (synopsis "GNOME settings daemon")
3300 "This package contains the daemon responsible for setting the various
3301 parameters of a GNOME session and the applications that run under it. It
3302 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3303 settings, themes, mouse settings, and startup of other daemons.")
3304 (license license:gpl2+)))
3306 (define-public totem-pl-parser
3308 (name "totem-pl-parser")
3312 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3313 (version-major+minor version) "/"
3314 "totem-pl-parser-" version ".tar.xz"))
3317 "0k5pnka907invgds48d73c1xx1a366v5dcld3gr2l1dgmjwc9qka"))))
3318 (build-system meson-build-system)
3320 ;; FIXME: Tests require gvfs.
3323 `(("intltool" ,intltool)
3324 ("glib" ,glib "bin")
3325 ("gobject-introspection" ,gobject-introspection)
3326 ("pkg-config" ,pkg-config)))
3330 ("libarchive" ,libarchive)
3331 ("libgcrypt" ,libgcrypt)
3332 ("libxml2" ,libxml2)))
3334 `(("nettle" ,nettle)
3335 ("libsoup" ,libsoup)))
3336 (home-page "https://projects.gnome.org/totem")
3337 (synopsis "Library to parse and save media playlists for GNOME")
3338 (description "Totem-pl-parser is a GObjects-based library to parse and save
3339 playlists in a variety of formats.")
3340 (license license:lgpl2.0+)))
3342 (define-public aisleriot
3348 (uri (string-append "mirror://gnome/sources/aisleriot/"
3349 (version-major+minor version) "/"
3350 "aisleriot-" version ".tar.xz"))
3353 "15pm39679ymxki07sb5nvhycz4z53zwbvascyp5wm4864bn98815"))))
3354 (build-system glib-or-gtk-build-system)
3357 '("--with-platform=gtk-only"
3358 "--with-card-theme-formats=svg")))
3360 `(("desktop-file-utils" ,desktop-file-utils)
3361 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3362 ("intltool" ,intltool)
3363 ("itstool" ,itstool)
3364 ("pkg-config" ,pkg-config)
3365 ("xmllint" ,libxml2)))
3368 ("guile" ,guile-2.2)
3369 ("libcanberra" ,libcanberra)
3370 ("librsvg" ,librsvg)))
3371 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3372 (synopsis "Solitaire card games")
3374 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3375 which are easy to play with the aid of a mouse.")
3376 (license license:gpl3+)))
3378 (define-public devhelp
3384 (uri (string-append "mirror://gnome/sources/" name "/"
3385 (version-major+minor version) "/"
3386 name "-" version ".tar.xz"))
3389 "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s"))))
3390 (build-system glib-or-gtk-build-system)
3392 `(("intltool" ,intltool)
3393 ("itstool" ,itstool)
3394 ("pkg-config" ,pkg-config)))
3396 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3397 ("webkitgtk" ,webkitgtk)))
3398 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3399 (synopsis "API documentation browser for GNOME")
3401 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3402 natively with GTK-Doc (the API reference system developed for GTK+ and used
3403 throughout GNOME for API documentation).")
3404 (license license:gpl2+)))
3413 (uri (string-append "mirror://gnome/sources/" name "/"
3414 (version-major+minor version) "/"
3415 name "-" version ".tar.xz"))
3418 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3419 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3420 ;; cogl, corresponding changes may be appropriate in mutter as well.
3421 (build-system gnu-build-system)
3423 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3424 ("gobject-introspection" ,gobject-introspection)
3425 ;;("xorg-server" ,xorg-server) ; for the test suite
3426 ("pkg-config" ,pkg-config)))
3429 ("gdk-pixbuf" ,gdk-pixbuf)
3431 ("libxext" ,libxext)
3432 ("libxfixes" ,libxfixes)
3433 ("libxdamage" ,libxdamage)
3434 ("libxcomposite" ,libxcomposite)
3435 ("libxrandr" ,libxrandr)))
3440 ("gstreamer" ,gstreamer)
3441 ("gst-plugins-base" ,gst-plugins-base)
3442 ("wayland" ,wayland)))
3444 `(#:configure-flags (list "--enable-cogl-gst"
3445 "--enable-wayland-egl-platform"
3446 "--enable-wayland-egl-server"
3448 ;; Arrange to pass an absolute file name to
3449 ;; dlopen for libGL.so.
3450 (string-append "--with-gl-libname="
3451 (assoc-ref %build-inputs "mesa")
3453 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3454 ;; _FontTransOpen: Unable to Parse address
3455 ;; ${prefix}/share/fonts/X11/misc/
3459 (modify-phases %standard-phases
3460 (add-before 'check 'start-xorg-server
3461 (lambda* (#:key inputs #:allow-other-keys)
3462 ;; The test suite requires a running X server.
3463 (system (format #f "~a/bin/Xvfb :1 &"
3464 (assoc-ref inputs "xorg-server")))
3465 (setenv "DISPLAY" ":1")
3467 (home-page "http://www.cogl3d.org")
3468 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3470 "Cogl is a small library for using 3D graphics hardware to draw pretty
3471 pictures. The API departs from the flat state machine style of OpenGL and is
3472 designed to make it easy to write orthogonal components that can render
3473 without stepping on each others toes.")
3474 (license (list license:expat ; most of the code
3475 license:bsd-3 ; cogl/cogl-point-in-poly.c
3476 license:sgifreeb2.0 ; cogl-path/tesselator/
3477 license:asl2.0)))) ; examples/android/
3479 (define-public clutter
3486 (uri (string-append "mirror://gnome/sources/" name "/"
3487 (version-major+minor version) "/"
3488 name "-" version ".tar.xz"))
3491 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3492 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3493 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3494 (build-system gnu-build-system)
3496 "doc")) ;9 MiB of gtk-doc HTML pages
3498 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3499 ("gobject-introspection" ,gobject-introspection)
3500 ("pkg-config" ,pkg-config)
3501 ("xsltproc" ,libxslt)))
3507 ("json-glib" ,json-glib)
3509 ("libxcomposite" ,libxcomposite)
3510 ("libxdamage" ,libxdamage)
3511 ("libxext" ,libxext)
3512 ("xinput" ,xinput)))
3514 `(("libxkbcommon" ,libxkbcommon)
3517 `(#:configure-flags (list "--enable-x11-backend=yes"
3519 ;; This produces share/doc/{clutter,cally}.
3520 (string-append "--with-html-dir="
3521 (assoc-ref %outputs "doc")
3523 ;; XXX FIXME: Get test suite working. It would probably fail in the
3524 ;; same way the cogl tests fail, since clutter is based on cogl.
3526 (home-page "http://www.clutter-project.org")
3527 (synopsis "OpenGL-based interactive canvas library")
3529 "Clutter is an OpenGL-based interactive canvas library, designed for
3530 creating fast, mainly 2D single window applications such as media box UIs,
3531 presentations, kiosk style applications and so on.")
3532 (license license:lgpl2.0+)))
3534 (define-public clutter-gtk
3536 (name "clutter-gtk")
3541 (uri (string-append "mirror://gnome/sources/" name "/"
3542 (version-major+minor version) "/"
3543 name "-" version ".tar.xz"))
3546 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3547 (build-system gnu-build-system)
3549 `(("pkg-config" ,pkg-config)
3550 ("gobject-introspection" ,gobject-introspection)))
3552 ;; clutter-gtk.pc refers to all these.
3553 `(("clutter" ,clutter)
3555 (home-page "http://www.clutter-project.org")
3556 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
3558 "Clutter is an OpenGL-based interactive canvas library, designed for
3559 creating fast, mainly 2D single window applications such as media box UIs,
3560 presentations, kiosk style applications and so on.")
3561 (license license:lgpl2.0+)))
3563 (define-public clutter-gst
3565 (name "clutter-gst")
3570 (uri (string-append "mirror://gnome/sources/clutter-gst/"
3571 (version-major+minor version) "/"
3572 "clutter-gst-" version ".tar.xz"))
3574 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
3575 (build-system gnu-build-system)
3577 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3578 ("pkg-config" ,pkg-config)
3579 ("gobject-introspection" ,gobject-introspection)))
3581 `(("clutter" ,clutter)
3582 ("gstreamer" ,gstreamer)
3583 ("gst-plugins-base" ,gst-plugins-base)))
3584 (home-page "http://www.clutter-project.org")
3585 (synopsis "Integration library for using GStreamer with Clutter")
3587 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3588 It provides a GStreamer sink to upload frames to GL and an actor that
3589 implements the ClutterGstPlayer interface using playbin. Clutter is an
3590 OpenGL-based interactive canvas library.")
3591 (license license:lgpl2.0+)))
3593 (define-public libchamplain
3595 (name "libchamplain")
3600 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3604 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3605 (build-system gnu-build-system)
3606 (arguments '(#:configure-flags '("--enable-vala")))
3608 `(("gobject-introspection" ,gobject-introspection)
3609 ("pkg-config" ,pkg-config)
3612 `(("libsoup" ,libsoup)
3614 ("clutter" ,clutter)
3615 ("clutter-gtk" ,clutter-gtk)
3616 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3620 (home-page "https://projects.gnome.org/libchamplain/")
3621 (synopsis "C library providing a ClutterActor to display maps")
3623 "libchamplain is a C library providing a ClutterActor to display maps.
3624 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3625 and Perl bindings are also available. It supports numerous free map sources
3626 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3627 (license license:lgpl2.1+)))
3636 (uri (string-append "mirror://gnome/sources/gom/"
3637 (version-major+minor version) "/"
3638 "gom-" version ".tar.xz"))
3641 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3642 (build-system gnu-build-system)
3644 `(("intltool" ,intltool)
3645 ("pkg-config" ,pkg-config)
3646 ("gobject-introspection" ,gobject-introspection)))
3649 ("gdk-pixbuf" ,gdk-pixbuf)
3650 ("sqlite" ,sqlite)))
3651 ;; XXX TODO: Figure out how to run the test suite.
3652 (arguments `(#:tests? #f))
3653 (home-page "https://wiki.gnome.org/Projects/Gom")
3654 (synopsis "Object mapper from GObjects to SQLite")
3656 "Gom provides an object mapper from GObjects to SQLite. It helps you
3657 write applications that need to store structured data as well as make complex
3658 queries upon that data.")
3659 (license license:lgpl2.1+)))
3661 (define-public libgnome-games-support
3663 (name "libgnome-games-support")
3667 (uri (string-append "mirror://gnome/sources/" name "/"
3668 (version-major+minor version) "/"
3669 name "-" version ".tar.xz"))
3672 "1j7lfcnc29lgn8ppn13wkn9w2y1n3lsapagwp91zh3bf0h2h4hv1"))))
3673 (build-system gnu-build-system)
3676 (modify-phases %standard-phases
3677 (add-before 'check 'pre-check
3679 ;; Tests require a writable HOME.
3680 (setenv "HOME" (getcwd))
3683 `(("intltool" ,intltool)
3684 ("pkg-config" ,pkg-config)
3687 ;; Required by libgnome-games-support-1.0.pc
3689 ("libgee" ,libgee)))
3690 (home-page "https://www.gnome.org/")
3691 (synopsis "Useful functionality shared among GNOME games")
3693 "libgnome-games-support is a small library intended for internal use by
3694 GNOME Games, but it may be used by others.")
3695 (license license:lgpl3+)))
3697 (define-public gnome-klotski
3699 (name "gnome-klotski")
3703 (uri (string-append "mirror://gnome/sources/" name "/"
3704 (version-major+minor version) "/"
3705 name "-" version ".tar.xz"))
3708 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3709 (build-system glib-or-gtk-build-system)
3711 `(("desktop-file-utils" ,desktop-file-utils)
3712 ("intltool" ,intltool)
3713 ("itstool" ,itstool)
3714 ("pkg-config" ,pkg-config)
3715 ("xmllint" ,libxml2)))
3718 ("libgnome-games-support" ,libgnome-games-support)
3719 ("librsvg" ,librsvg)))
3720 (home-page "https://wiki.gnome.org/Apps/Klotski")
3721 (synopsis "Sliding block puzzles")
3723 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3724 the patterned block to the area bordered by green markers. To do so, you will
3725 need to slide other blocks out of the way. Complete each puzzle in as few moves
3727 (license license:gpl2+)))
3729 (define-public grilo
3736 (uri (string-append "mirror://gnome/sources/" name "/"
3737 (version-major+minor version) "/"
3738 name "-" version ".tar.xz"))
3741 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3742 (build-system gnu-build-system)
3744 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3745 ("intltool" ,intltool)
3746 ("pkg-config" ,pkg-config)
3747 ("gobject-introspection" ,gobject-introspection)))
3749 `(("cyrus-sasl" ,cyrus-sasl)
3752 ("libxml2" ,libxml2)
3753 ("liboauth" ,liboauth)
3754 ("libsoup" ,libsoup)
3756 ("totem-pl-parser" ,totem-pl-parser)))
3759 (modify-phases %standard-phases
3760 (add-after 'unpack 'fix-introspection-install-dir
3761 (lambda* (#:key outputs #:allow-other-keys)
3762 (let ((out (assoc-ref outputs "out")))
3763 (substitute* '("src/Makefile.in"
3764 "libs/pls/Makefile.in"
3765 "libs/net/Makefile.in")
3766 (("@INTROSPECTION_GIRDIR@")
3767 (string-append out "/share/gir-1.0/"))
3768 (("@INTROSPECTION_TYPELIBDIR@")
3769 (string-append out "/lib/girepository-1.0/")))
3771 (native-search-paths
3772 (list (search-path-specification
3773 (variable "GRL_PLUGIN_PATH")
3774 (files (list (string-append "lib/grilo-"
3775 (version-major+minor version)))))))
3776 (home-page "https://live.gnome.org/Grilo")
3777 (synopsis "Framework for discovering and browsing media")
3779 "Grilo is a framework focused on making media discovery and browsing easy
3780 for application developers.")
3781 (license license:lgpl2.1+)))
3783 (define-public grilo-plugins
3785 (name "grilo-plugins")
3790 (uri (string-append "mirror://gnome/sources/" name "/"
3791 (version-major+minor version) "/"
3792 name "-" version ".tar.xz"))
3795 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3796 (build-system gnu-build-system)
3798 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3799 ("intltool" ,intltool)
3800 ("itstool" ,itstool)
3801 ("pkg-config" ,pkg-config)))
3804 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3806 ("libxml2" ,libxml2)
3809 ;; XXX TODO: Add oauth
3810 ;; XXX TODO: Add goa
3811 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3812 ;; XXX TODO: Add lua (needs help finding it)
3813 ("json-glib" ,json-glib)
3816 ("libsoup" ,libsoup)
3817 ("libarchive" ,libarchive)
3818 ("totem-pl-parser" ,totem-pl-parser)))
3820 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3823 ,(version-major+minor version)))
3824 ;; XXX FIXME: Try to get the test suite working. It appears to require
3825 ;; a working system dbus. Inside the build container, all tests fail
3826 ;; with: "assertion failed: (source)". Outside of the build container,
3827 ;; most tests succeed.
3829 (home-page "https://live.gnome.org/Grilo")
3830 (synopsis "Plugins for the Grilo media discovery library")
3832 "Grilo is a framework focused on making media discovery and browsing easy
3833 for application developers.")
3834 (license license:lgpl2.1+)))
3836 (define-public totem
3843 (uri (string-append "mirror://gnome/sources/" name "/"
3844 (version-major+minor version) "/"
3845 name "-" version ".tar.xz"))
3848 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
3849 (patches (search-patches "totem-meson-easy-codec.patch"
3850 "totem-meson-compat.patch"))))
3851 (build-system meson-build-system)
3853 `(("pkg-config" ,pkg-config)
3854 ("desktop-file-utils" ,desktop-file-utils)
3855 ("gobject-introspection" ,gobject-introspection)
3856 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3857 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3858 ("intltool" ,intltool)
3859 ("itstool" ,itstool)
3860 ("xmllint" ,libxml2)))
3862 `(("dconf" ,dconf)))
3865 ("gdk-pixbuf" ,gdk-pixbuf)
3868 ("dbus-glib" ,dbus-glib)
3869 ("clutter" ,clutter)
3870 ("clutter-gtk" ,clutter-gtk)
3871 ("clutter-gst" ,clutter-gst)
3872 ("xorgproto" ,xorgproto)
3873 ("libxxf86vm" ,libxxf86vm)
3874 ("libxtst" ,libxtst)
3875 ("libxrandr" ,libxrandr)
3876 ("libxml2" ,libxml2)
3877 ("libsoup" ,libsoup)
3878 ("libpeas" ,libpeas)
3879 ("librsvg" ,librsvg)
3881 ("gnome-desktop" ,gnome-desktop)
3882 ("gstreamer" ,gstreamer)
3883 ("gst-plugins-base" ,gst-plugins-base)
3884 ("gst-plugins-good" ,gst-plugins-good)
3885 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3886 ("adwaita-icon-theme" ,adwaita-icon-theme)
3887 ;; XXX We use python-2 because libxml2 because itstool (which needs
3888 ;; libxml) currently uses python-2.
3889 ("python" ,python-2)
3890 ("python-pygobject" ,python2-pygobject)
3891 ;; XXX TODO pylint needed for python support
3892 ("totem-pl-parser" ,totem-pl-parser)
3894 ("grilo-plugins" ,grilo-plugins)
3900 ;; Disable parallel builds until
3901 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3902 ;; fixed. Try enabling it when updating this package in case
3903 ;; upstream has fixed it.
3904 #:parallel-build? #f
3906 ;; Disable automatic GStreamer plugin installation via PackageKit and
3908 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3910 ;; Do not build .a files for the plugins, it's
3911 ;; completely useless. This saves 2 MiB.
3912 "--default-library" "shared")
3915 (modify-phases %standard-phases
3917 'install 'disable-cache-generation
3919 (setenv "DESTDIR" "/")
3922 'install 'wrap-totem
3923 (lambda* (#:key inputs outputs #:allow-other-keys)
3924 (let ((out (assoc-ref outputs "out"))
3925 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3926 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3927 (wrap-program (string-append out "/bin/totem")
3928 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3929 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3930 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3931 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3933 (home-page "https://wiki.gnome.org/Apps/Videos")
3934 (synopsis "Simple media player for GNOME based on GStreamer")
3935 (description "Totem is a simple yet featureful media player for GNOME
3936 which can read a large number of file formats.")
3937 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3938 ;; to be used and distributed together with GStreamer and Totem. See
3939 ;; file://COPYING in the source distribution for details.
3940 (license license:gpl2+)))
3942 (define-public rhythmbox
3948 (uri (string-append "mirror://gnome/sources/" name "/"
3949 (version-major+minor version) "/"
3950 name "-" version ".tar.xz"))
3953 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
3954 (build-system glib-or-gtk-build-system)
3957 (list "--enable-lirc"
3964 (modify-phases %standard-phases
3966 'install 'wrap-rhythmbox
3967 (lambda* (#:key inputs outputs #:allow-other-keys)
3968 (let ((out (assoc-ref outputs "out"))
3969 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3970 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3971 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3972 (python-path (getenv "PYTHONPATH")))
3973 (wrap-program (string-append out "/bin/rhythmbox")
3974 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3975 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3976 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3977 `("PYTHONPATH" ":" prefix (,python-path))))
3980 `(("dconf" ,dconf)))
3982 `(("itstool" ,itstool)
3983 ("intltool" ,intltool)
3984 ("glib" ,glib "bin")
3985 ("gobject-introspection" ,gobject-introspection)
3986 ("desktop-file-utils" ,desktop-file-utils)
3987 ("pkg-config" ,pkg-config)
3988 ("xmllint" ,libxml2)))
3990 `(("json-glib" ,json-glib)
3992 ("gnome-desktop" ,gnome-desktop)
3994 ("python-pygobject" ,python2-pygobject)
3998 ("adwaita-icon-theme" ,adwaita-icon-theme)
4000 ("grilo-plugins" ,grilo-plugins)
4001 ("gstreamer" ,gstreamer)
4002 ("gst-plugins-base" ,gst-plugins-base)
4003 ("gst-plugins-good" ,gst-plugins-good)
4004 ("totem-pl-parser" ,totem-pl-parser)
4005 ("libgudev" ,libgudev)
4006 ;;("libmtp" ,libmtp) FIXME: Not detected
4007 ("libsecret" ,libsecret)
4008 ("libsoup" ,libsoup)
4009 ("libnotify" ,libnotify)
4010 ("libpeas" ,libpeas)
4012 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4013 ;;("clutter" ,clutter)
4014 ;;("clutter-gtk" ,clutter-gtk)
4015 ;;("clutter-gst" ,clutter-gst)
4016 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4023 ("brasero" ,brasero)))
4024 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4025 (synopsis "Music player for GNOME")
4026 (description "Rhythmbox is a music playing application for GNOME. It
4027 supports playlists, song ratings, and any codecs installed through gstreamer.")
4028 (license license:gpl2+)))
4036 (uri (string-append "mirror://gnome/sources/" name "/"
4037 (version-major+minor version) "/"
4038 name "-" version ".tar.xz"))
4041 "1gasrfqi7qrzdq1idh29r0n6ikkqjb6pbp7a8k5krfz5hkhyfin0"))))
4042 (build-system meson-build-system)
4045 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4046 (list (string-append "-Dc_link_args=-Wl,-rpath="
4047 (assoc-ref %outputs "out") "/lib/eog"))
4049 (modify-phases %standard-phases
4050 (add-after 'install 'wrap-eog
4051 (lambda* (#:key outputs #:allow-other-keys)
4052 (let ((out (assoc-ref outputs "out"))
4053 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4054 (wrap-program (string-append out "/bin/eog")
4055 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4058 `(("dconf" ,dconf)))
4060 `(("intltool" ,intltool)
4061 ("itstool" ,itstool)
4062 ("glib" ,glib "bin")
4063 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4064 ("gobject-introspection" ,gobject-introspection)
4065 ("pkg-config" ,pkg-config)
4066 ("xmllint" ,libxml2)))
4068 `(("gnome-desktop" ,gnome-desktop)
4069 ("shared-mime-info" ,shared-mime-info)
4070 ("adwaita-icon-theme" ,adwaita-icon-theme)
4073 ("libexif" ,libexif)
4074 ("libpeas" ,libpeas)
4075 ("libjpeg" ,libjpeg)
4076 ("librsvg" ,librsvg)
4077 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4079 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4080 (synopsis "GNOME image viewer")
4081 (description "Eye of GNOME is the GNOME image viewer. It
4082 supports image conversion, rotation, and slideshows.")
4083 (license license:gpl2+)))
4085 (define-public eog-plugins
4086 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4087 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4088 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4089 ;; 'XDG_DATA_DIRS' appropriately set.
4091 (name "eog-plugins")
4095 (uri (string-append "mirror://gnome/sources/eog-plugins/"
4096 (version-major+minor version) "/"
4097 "eog-plugins-" version ".tar.xz"))
4100 "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3"))))
4101 (build-system gnu-build-system)
4102 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4103 (synopsis "Extensions for the Eye of GNOME image viewer")
4105 `(("pkg-config" ,pkg-config)
4106 ("gettext" ,gnu-gettext)))
4111 ("libpeas" ,libpeas)
4112 ("libexif" ,libexif)
4113 ("libchamplain" ,libchamplain)))
4115 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4119 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4120 @item @dfn{Map}, which displays a map of where the picture was taken on the
4122 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4125 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4126 ;; long suspicious byte stream that goes to a
4127 ;; ".gresource.eog_postasa_plugin" ELF section.
4128 (license license:gpl2+)))
4130 (define-public libgudev
4136 (uri (string-append "mirror://gnome/sources/" name "/"
4137 version "/" name "-" version ".tar.xz"))
4140 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
4141 (build-system gnu-build-system)
4144 ;; umockdev depends on libgudev.
4145 (list "--disable-umockdev")))
4147 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4148 ("gobject-introspection" ,gobject-introspection)
4149 ("pkg-config" ,pkg-config)))
4151 `(("glib" ,glib))) ; required by gudev-1.0.pc
4154 (home-page "https://wiki.gnome.org/Projects/libgudev")
4155 (synopsis "GObject bindings for libudev")
4157 "This library provides GObject bindings for libudev. It was originally
4158 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4159 (license license:lgpl2.1+)))
4167 (uri (string-append "mirror://gnome/sources/" name "/"
4168 (version-major+minor version) "/"
4169 name "-" version ".tar.xz"))
4172 "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4"))))
4173 (build-system gnu-build-system)
4175 '(#:tests? #f ; XXX: requiring `pidof'
4177 (modify-phases %standard-phases
4178 (add-after 'unpack 'remove-broken-autogen-script
4179 (lambda _ (delete-file "autogen.sh") #t)))))
4181 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4182 ("autoconf" ,autoconf)
4183 ("automake" ,automake)
4184 ("gettext" ,gettext-minimal)
4185 ("gtk-doc" ,gtk-doc)
4186 ("libtool" ,libtool)
4187 ("pkg-config" ,pkg-config)
4188 ("xsltproc" ,libxslt)))
4191 ("docbook-xml" ,docbook-xml-4.2)
4192 ("docbook-xsl" ,docbook-xsl)
4197 ("libarchive" ,libarchive)
4198 ("libbluray" ,libbluray)
4200 ("libcdio-paranoia" ,libcdio-paranoia)
4201 ("libgcrypt" ,libgcrypt)
4202 ("libgphoto2" ,libgphoto2)
4203 ("libgudev" ,libgudev)
4204 ("libimobiledevice" ,libimobiledevice)
4206 ("libsecret" ,libsecret)
4207 ("libsmbclient" ,samba)
4208 ("libsoup" ,libsoup)
4209 ("libxml2" ,libxml2)
4210 ("nettle" ,nettle) ; XXX: required by libarchive.pc
4212 ("udisks" ,udisks)))
4213 (home-page "https://wiki.gnome.org/gvfs/")
4214 (synopsis "Userspace virtual file system for GIO")
4216 "GVFS is a userspace virtual file system designed to work with the I/O
4217 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4218 to all applications using the GIO API. It also supports exposing the GVFS
4219 mounts to non-GIO applications using FUSE.
4221 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4223 (license license:lgpl2.0+)))
4231 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4235 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4236 (build-system meson-build-system)
4238 `(("gobject-introspection" ,gobject-introspection)
4239 ("pkg-config" ,pkg-config)
4241 ("gtk-doc" ,gtk-doc)))
4243 ;; Both of these are required by gusb.pc.
4245 ("libusb" ,libusb)))
4247 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4248 (home-page "https://github.com/hughsie/libgusb")
4249 (synopsis "GLib binding for libusb1")
4251 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4252 asynchronous control, bulk and interrupt transfers with proper cancellation
4253 and integration into a mainloop. This makes it easy to integrate low level
4254 USB transfers with your high-level application or system daemon.")
4255 (license license:lgpl2.1+)))
4257 (define-public simple-scan
4259 (name "simple-scan")
4263 (uri (string-append "https://launchpad.net/simple-scan/"
4264 (version-major+minor version) "/"
4265 version "/+download/simple-scan-"
4269 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4270 (build-system glib-or-gtk-build-system)
4275 ("gdk-pixbuf" ,gdk-pixbuf)
4277 ("libsane" ,sane-backends)))
4279 `(("gettext" ,gettext-minimal)
4280 ("itstool" ,itstool)
4282 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4283 ("pkg-config" ,pkg-config)
4285 ("xmllint" ,libxml2)))
4287 '(#:configure-flags '("--disable-packagekit")
4289 (modify-phases %standard-phases
4290 (add-after 'unpack 'clean
4292 ;; Remove a left-over reference to PackageKit.
4294 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4296 ;; There are some generated C files erroneously
4297 ;; included in the source distribution, and this
4298 ;; one breaks the build by referring to a
4299 ;; non-existent header (packagekit.h)
4300 (delete-file "src/ui.c"))))))
4301 (home-page "https://launchpad.net/simple-scan")
4302 (synopsis "Document and image scanner")
4303 (description "Simple Scan is an easy-to-use application, designed to let
4304 users connect their scanner and quickly have the image/document in an
4305 appropriate format. Simple Scan is basically a frontend for SANE - which is
4306 the same backend as XSANE uses. This means that all existing scanners will
4307 work and the interface is well tested.")
4308 (license license:gpl3+)))
4310 (define-public eolie
4316 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4317 "uploads/bb4aad19272cc636bd17f2f6602127fe/"
4318 "eolie-" version ".tar.xz"))
4321 "06v76hg87fnhw45dil5vvl20myvaa38n1jqsl0lmkkq6af4mk8wx"))))
4322 (build-system meson-build-system)
4326 (modify-phases %standard-phases
4327 (add-after 'wrap 'wrap-more
4328 (lambda* (#:key inputs outputs #:allow-other-keys)
4329 (let* ((out (assoc-ref outputs "out"))
4330 ;; These libraries must be on LD_LIBRARY_PATH.
4331 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4332 "atk" "gtk+" "gsettings-desktop-schemas"
4333 "gcc:lib" ; needed b/c webkitgtk is built with gcc-7
4334 "gobject-introspection"))
4337 (string-append (assoc-ref inputs lib) "/lib"))
4340 (wrap-program (string-append out "/bin/eolie")
4341 `("LD_LIBRARY_PATH" ":" prefix (,path))
4342 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4343 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4346 `(("gcc:lib" ,gcc-7 "lib") ; needed because webkitgtk is built with gcc-7
4347 ("intltool" ,intltool)
4348 ("itstool" ,itstool)
4349 ("pkg-config" ,pkg-config)
4351 ("glib:bin" ,glib "bin")
4352 ("gtk+" ,gtk+ "bin")))
4354 `(("gobject-introspection" ,gobject-introspection)
4355 ("glib-networking" ,glib-networking)
4358 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4359 ("python" ,python-wrapper)
4360 ("python-dateutil" ,python-dateutil)
4361 ("python-pyfxa" ,python-pyfxa)
4362 ("python-pygobject" ,python-pygobject)
4363 ("python-pycairo" ,python-pycairo)
4364 ("python-pycrypto" ,python-pycrypto)
4365 ("libsecret" ,libsecret)
4366 ("gtkspell3" ,gtkspell3)
4367 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4368 ("webkitgtk" ,webkitgtk-2.24)))
4369 (home-page "https://wiki.gnome.org/Apps/Eolie")
4370 (synopsis "Web browser for GNOME")
4372 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4373 a secret password store, an adblocker, and a modern UI.")
4374 (license license:gpl3+)))
4376 (define-public epiphany
4379 (version "3.28.3.1")
4382 (uri (string-append "mirror://gnome/sources/epiphany/"
4383 (version-major+minor version) "/"
4384 "epiphany-" version ".tar.xz"))
4387 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
4389 (build-system meson-build-system)
4391 ;; FIXME: tests run under Xvfb, but fail with:
4392 ;; /src/bookmarks/ephy-bookmarks/create:
4393 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4399 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4400 (list (string-append "-Dc_link_args=-Wl,-rpath="
4401 (assoc-ref %outputs "out") "/lib/epiphany"))))
4403 `(("dconf" ,dconf)))
4405 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4406 ("gcc" ,gcc-7) ; needed because webkitgtk-2.22 is compiled with gcc-7
4407 ("glib:bin" ,glib "bin") ; for glib-mkenums
4408 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4409 ("intltool" ,intltool)
4410 ("itstool" ,itstool)
4411 ("pkg-config" ,pkg-config)
4412 ("xmllint" ,libxml2)))
4416 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4417 ("glib-networking" ,glib-networking)
4418 ("gnome-desktop" ,gnome-desktop)
4419 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4420 ("json-glib" ,json-glib)
4421 ("iso-codes" ,iso-codes)
4422 ("libnotify" ,libnotify)
4423 ("libsecret" ,libsecret)
4424 ("libxslt" ,libxslt)
4425 ("nettle" ,nettle) ; for hogweed
4427 ("webkitgtk" ,webkitgtk-2.24)))
4428 (home-page "https://wiki.gnome.org/Apps/Web")
4429 (synopsis "GNOME web browser")
4431 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4432 principles are simplicity and standards compliance.")
4433 (license license:gpl2+)))
4435 (define-public d-feet
4441 (uri (string-append "mirror://gnome/sources/" name "/"
4442 (version-major+minor version) "/"
4443 name "-" version ".tar.xz"))
4446 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
4447 (build-system glib-or-gtk-build-system)
4449 '(#:out-of-source? #f ; tests need to run in the source directory.
4451 (modify-phases %standard-phases
4455 ;; The test suite requires a running X server.
4456 (system "Xvfb :1 &")
4457 (setenv "DISPLAY" ":1")
4458 ;; Don't fail on missing '/etc/machine-id'.
4459 (setenv "DBUS_FATAL_WARNINGS" "0")
4460 ;; tests.py and window.py don't meet E402:
4461 ;; E402 module level import not at top of file
4462 (substitute* "src/tests/Makefile"
4463 (("--ignore=E123") "--ignore=E123,E402"))
4466 'install 'wrap-program
4467 (lambda* (#:key outputs #:allow-other-keys)
4468 (let ((prog (string-append (assoc-ref outputs "out")
4471 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4472 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4475 `(("intltool" ,intltool)
4476 ("itstool" ,itstool)
4477 ("pkg-config" ,pkg-config)
4478 ("python-pep8" ,python-pep8)
4479 ("xmllint" ,libxml2)
4480 ("xorg-server" ,xorg-server)))
4482 `(("gobject-introspection" ,gobject-introspection)
4484 ("python" ,python-wrapper)
4485 ("hicolor-icon-theme" ,hicolor-icon-theme)
4486 ("python-pygobject" ,python-pygobject)))
4487 (home-page "https://wiki.gnome.org/Apps/DFeet")
4488 (synopsis "D-Bus debugger")
4490 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4491 of running programs and invoke methods on those interfaces.")
4492 (license license:gpl2+)))
4494 (define-public yelp-xsl
4500 (uri (string-append "mirror://gnome/sources/" name "/"
4501 (version-major+minor version) "/"
4502 name "-" version ".tar.xz"))
4505 "14rznm1qpsnmkwksnkd5j7zplakl01kvrcw0fdmd5gdc65xz9kcc"))))
4506 (build-system gnu-build-system)
4508 `(("intltool" ,intltool)
4509 ("itstool" ,itstool)
4510 ("xmllint" ,libxml2)))
4511 (home-page "https://wiki.gnome.org/Apps/Yelp")
4512 (synopsis "XSL stylesheets for Yelp")
4514 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4515 to format Docbook and Mallard documents.")
4516 (license license:gpl2+)))
4524 (uri (string-append "mirror://gnome/sources/" name "/"
4525 (version-major+minor version) "/"
4526 name "-" version ".tar.xz"))
4529 "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8"))))
4530 (build-system glib-or-gtk-build-system)
4532 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4533 ("intltool" ,intltool)
4534 ("itstool" ,itstool)
4535 ("pkg-config" ,pkg-config)))
4537 `(("dconf" ,dconf)))
4539 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4540 ("libxslt" ,libxslt)
4542 ("webkitgtk" ,webkitgtk)
4543 ("yelp-xsl" ,yelp-xsl)))
4544 (home-page "https://wiki.gnome.org/Apps/Yelp")
4545 (synopsis "GNOME help browser")
4547 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4548 man, info, and HTML documents. It can locate documents according to the
4549 freedesktop.org help system specification.")
4550 (license license:gpl2+)))
4552 (define-public yelp-tools
4558 (uri (string-append "mirror://gnome/sources/" name "/"
4559 (version-major+minor version) "/"
4560 name "-" version ".tar.xz"))
4563 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
4564 (build-system gnu-build-system)
4566 `(("pkg-config" ,pkg-config)))
4568 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4569 `(("itstool" ,itstool)
4570 ("xmllint" ,libxml2)
4571 ("xsltproc" ,libxslt)))
4573 `(("yelp-xsl" ,yelp-xsl)))
4574 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4575 (synopsis "Yelp documentation tools")
4577 "Yelp-tools is a collection of scripts and build utilities to help create,
4578 manage, and publish documentation for Yelp and the web. Most of the heavy
4579 lifting is done by packages like yelp-xsl and itstool. This package just
4580 wraps things up in a developer-friendly way.")
4581 (license license:gpl2+)))
4583 (define-public libgee
4589 (uri (string-append "mirror://gnome/sources/" name "/"
4590 (version-major+minor version) "/"
4591 name "-" version ".tar.xz"))
4594 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4595 (build-system gnu-build-system)
4598 (modify-phases %standard-phases
4599 (add-after 'unpack 'fix-introspection-install-dir
4600 (lambda* (#:key outputs #:allow-other-keys)
4601 (let ((out (assoc-ref outputs "out")))
4602 (substitute* "gee/Makefile.in"
4603 (("@INTROSPECTION_GIRDIR@")
4604 (string-append out "/share/gir-1.0/"))
4605 (("@INTROSPECTION_TYPELIBDIR@")
4606 (string-append out "/lib/girepository-1.0/")))))))))
4608 `(("glib" ,glib "bin")
4609 ("pkg-config" ,pkg-config)))
4612 ("gobject-introspection" ,gobject-introspection)))
4613 (home-page "https://wiki.gnome.org/Projects/Libgee")
4614 (synopsis "GObject collection library")
4616 "Libgee is a utility library providing GObject-based interfaces and
4617 classes for commonly used data structures.")
4618 (license license:lgpl2.1+)))
4620 (define-public gexiv2
4626 (uri (string-append "mirror://gnome/sources/" name "/"
4627 (version-major+minor version) "/"
4628 name "-" version ".tar.xz"))
4631 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
4632 (build-system meson-build-system)
4634 ;; On 32-bit platforms, the test fails with a rounding error:
4635 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=775249>. Just skip it for
4637 (if (and (not (%current-target-system))
4638 (member (%current-system) '("i686-linux" "armhf-linux")))
4642 `(("glib" ,glib "bin")
4643 ("pkg-config" ,pkg-config)))
4645 ;; Listed in "Requires" section of gexiv2.pc
4646 `(("exiv2" ,exiv2)))
4649 ("gobject-introspection" ,gobject-introspection)))
4650 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4651 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4653 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4654 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4655 metadata in photo and video files of various formats.")
4656 (license license:gpl2+)))
4658 (define-public shotwell
4664 (uri (string-append "mirror://gnome/sources/" name "/"
4665 (version-major+minor version) "/"
4666 name "-" version ".tar.xz"))
4669 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
4670 (build-system glib-or-gtk-build-system)
4672 `(("dconf" ,dconf)))
4674 `(("pkg-config" ,pkg-config)
4675 ("itstool" ,itstool)
4676 ("gettext" ,gettext-minimal)
4677 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4678 ("itstool" ,itstool)
4681 `(("glib:bin" ,glib "bin")
4682 ("gstreamer" ,gstreamer)
4683 ("gst-plugins-base" ,gst-plugins-base)
4684 ("libgdata" ,libgdata)
4688 ("json-glib" ,json-glib)
4689 ("webkitgtk" ,webkitgtk)
4691 ("libsoup" ,libsoup)
4692 ("libxml2" ,libxml2)
4693 ("libgudev" ,libgudev)
4694 ("libgphoto2" ,libgphoto2)
4696 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4697 (synopsis "Photo manager for GNOME 3")
4699 "Shotwell is a digital photo manager designed for the GNOME desktop
4700 environment. It allows you to import photos from disk or camera, organize
4701 them by keywords and events, view them in full-window or fullscreen mode, and
4702 share them with others via social networking and more.")
4703 (license license:lgpl2.1+)))
4705 (define-public file-roller
4707 (name "file-roller")
4711 (uri (string-append "mirror://gnome/sources/" name "/"
4712 (version-major+minor version) "/"
4713 name "-" version ".tar.xz"))
4716 "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1"))))
4717 (build-system meson-build-system)
4719 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4720 ("intltool" ,intltool)
4721 ("pkg-config" ,pkg-config)
4722 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4723 ("glib:bin" ,glib "bin")))
4724 ;; TODO: Add libnautilus.
4727 ("gdk-pixbuf" ,gdk-pixbuf)
4728 ("json-glib" ,json-glib)
4729 ("libarchive" ,libarchive)
4730 ("libnotify" ,libnotify)
4732 ("itstool" ,itstool)
4733 ("libxml2" ,libxml2)))
4734 (synopsis "Graphical archive manager for GNOME")
4735 (description "File Roller is an archive manager for the GNOME desktop
4736 environment that allows users to view, unpack, and create compressed archives
4737 such as gzip tarballs.")
4738 (home-page "http://fileroller.sourceforge.net/")
4739 (license license:gpl2+)))
4741 (define-public gnome-session
4743 (name "gnome-session")
4747 (uri (string-append "mirror://gnome/sources/" name "/"
4748 (version-major+minor version) "/"
4749 name "-" version ".tar.xz"))
4752 "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq"))))
4756 (modify-phases %standard-phases
4757 (add-before 'configure 'pre-configure
4758 (lambda* (#:key outputs #:allow-other-keys)
4759 ;; Use elogind instead of systemd.
4760 (substitute* "meson.build"
4761 (("libsystemd-login") "libelogind")
4762 (("and libsystemd_daemon_dep.found.*") ","))
4763 (substitute* "gnome-session/gsm-systemd.c"
4764 (("#include <systemd/sd-login.h>")
4765 "#include <elogind/sd-login.h>"))
4766 ;; Remove uses of the systemd daemon.
4767 (substitute* "gnome-session/gsm-autostart-app.c"
4768 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4770 (add-after 'install 'wrap-gnome-session
4771 (lambda* (#:key inputs outputs #:allow-other-keys)
4772 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4773 (let ((glib (assoc-ref inputs "glib:bin"))
4774 (out (assoc-ref outputs "out")))
4775 (wrap-program (string-append out "/bin/gnome-session")
4776 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4778 (add-after 'install 'add-absolute-paths-to-desktop-files
4779 (lambda* (#:key outputs #:allow-other-keys)
4780 (let* ((out (assoc-ref outputs "out")))
4781 (substitute* (map (lambda (x)
4782 (string-append out "/share/xsessions/" x))
4783 '("gnome.desktop" "gnome-xorg.desktop"))
4784 (("gnome-session") (string-append out "/bin/gnome-session")))
4788 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4789 "-Dman=false" ; FIXME: disabled because of docbook validation error
4790 "-Dsystemd_journal=false")))
4791 (build-system meson-build-system)
4793 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4794 ("pkg-config" ,pkg-config)
4795 ("intltool" ,intltool)
4796 ("xsltproc" ,libxslt)
4797 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4798 ("docbook-xsl" ,docbook-xsl)
4799 ("docbook-xml" ,docbook-xml)
4802 `(("elogind" ,elogind)
4803 ("gnome-desktop" ,gnome-desktop)
4804 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4806 ("json-glib" ,json-glib)
4808 ("libxcomposite" ,libxcomposite)
4809 ("libxtst" ,libxtst)
4812 ("xtrans" ,xtrans)))
4813 (synopsis "Session manager for GNOME")
4815 "This package contains the GNOME session manager, as well as a
4816 configuration program to choose applications starting on login.")
4817 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4818 (license license:gpl2+)))
4826 (uri (string-append "mirror://gnome/sources/" name "/"
4827 (version-major+minor version) "/"
4828 name "-" version ".tar.xz"))
4831 "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff"))))
4832 (build-system gnu-build-system)
4835 (modify-phases %standard-phases
4839 ;; The test suite requires a running X server.
4840 (system "Xvfb :1 &")
4841 (setenv "DISPLAY" ":1")
4843 ;; For the missing /etc/machine-id.
4844 (setenv "DBUS_FATAL_WARNINGS" "0")
4846 ;; Our mozjs-38 package does not compile the required Intl API
4847 ;; support for these failing tests.
4848 (substitute* "installed-tests/js/testLocale.js"
4849 ((".*toBeDefined.*") "")
4850 ((".*expect\\(datestr\\).*") ""))
4853 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4854 ("pkg-config" ,pkg-config)
4855 ("xmllint" ,libxml2)
4857 ("dbus-launch" ,dbus)
4858 ("uuidgen" ,util-linux)
4859 ("xvfb" ,xorg-server-for-tests)))
4861 ;; These are all in the Requires.private field of gjs-1.0.pc.
4863 ("gobject-introspection" ,gobject-introspection)
4864 ("mozjs" ,mozjs-52)))
4867 ("readline" ,readline)))
4868 (synopsis "Javascript bindings for GNOME")
4869 (home-page "https://live.gnome.org/Gjs")
4871 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4872 javascript engine and the GObject introspection framework.")
4873 (license license:gpl2+)))
4875 (define-public gedit
4881 (uri (string-append "mirror://gnome/sources/" name "/"
4882 (version-major+minor version) "/"
4883 name "-" version ".tar.xz"))
4886 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
4887 (build-system glib-or-gtk-build-system)
4890 (modify-phases %standard-phases
4892 'install 'wrap-gedit
4893 (lambda* (#:key inputs outputs #:allow-other-keys)
4894 (let ((out (assoc-ref outputs "out"))
4895 (gtksourceview (assoc-ref inputs "gtksourceview"))
4896 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4897 (python-path (getenv "PYTHONPATH")))
4898 (wrap-program (string-append out "/bin/gedit")
4900 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4901 `("PYTHONPATH" ":" prefix (,python-path))
4902 ;; For language-specs.
4903 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4907 `(("dconf" ,dconf)))
4909 `(("intltool" ,intltool)
4910 ("itstool" ,itstool)
4911 ("gobject-introspection" ,gobject-introspection)
4912 ("pkg-config" ,pkg-config)))
4917 ("gtksourceview" ,gtksourceview-3)
4918 ("libpeas" ,libpeas)
4919 ("libxml2" ,libxml2)
4920 ("iso-codes" ,iso-codes)
4921 ("python-pygobject" ,python-pygobject)
4923 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4926 ("adwaita-icon-theme" ,adwaita-icon-theme)
4927 ("libsoup" ,libsoup)
4928 ("gnome-desktop" ,gnome-desktop)))
4929 (home-page "https://wiki.gnome.org/Apps/Gedit")
4930 (synopsis "GNOME text editor")
4931 (description "While aiming at simplicity and ease of use, gedit is a
4932 powerful general purpose text editor.")
4933 (license license:gpl2+)))
4935 (define-public zenity
4941 (uri (string-append "mirror://gnome/sources/" name "/"
4942 (version-major+minor version) "/"
4943 name "-" version ".tar.xz"))
4946 "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv"))))
4947 (build-system gnu-build-system)
4949 `(("gettext" ,gettext-minimal)
4950 ("itstool" ,itstool)
4951 ("pkg-config" ,pkg-config)))
4953 `(("libnotify" ,libnotify)
4954 ("webkitgtk" ,webkitgtk)))
4955 (synopsis "Display graphical dialog boxes from shell scripts")
4956 (home-page "https://www.gnome.org")
4958 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4959 to display dialog boxes from the commandline and shell scripts.")
4960 (license license:lgpl2.0+)))
4962 (define-public mutter
4968 (uri (string-append "mirror://gnome/sources/" name "/"
4969 (version-major+minor version) "/"
4970 name "-" version ".tar.xz"))
4973 "0ighs1zvlssgq16v1h3vg280za7y448snq65gc5m1zmqqawqkymg"))))
4974 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4975 ;; versions of cogl and clutter. As a result, many of the inputs,
4976 ;; propagated-inputs, and configure flags used in cogl and clutter are
4977 ;; needed here as well.
4978 (build-system gnu-build-system)
4981 ;; XXX: build fails with [-Werror]:
4982 ;; backends/meta-cursor-renderer.c:112:5: error:
4983 ;; implicit declaration of function ?roundf?
4984 (list "--enable-compile-warnings=minimum"
4986 "--enable-native-backend"
4988 ;; The following flags are needed for the bundled clutter
4989 "--enable-x11-backend=yes"
4991 (string-append "--with-xwayland-path="
4992 (assoc-ref %build-inputs "xorg-server-xwayland")
4995 ;; the remaining flags are needed for the bundled cogl
4997 (string-append "--with-gl-libname="
4998 (assoc-ref %build-inputs "mesa")
5001 (modify-phases %standard-phases
5002 ;; Replace references to systemd libraries to elogind references.
5003 (add-before 'configure 'use-elogind
5005 (substitute* (list "configure"
5006 "src/backends/native/meta-launcher.c"
5008 (("systemd") "elogind"))
5011 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5012 ("gobject-introspection" ,gobject-introspection)
5013 ("intltool" ,intltool)
5014 ("pkg-config" ,pkg-config)
5016 ("autoconf" ,autoconf)
5017 ("automake" ,automake)
5018 ("libtool" ,libtool)))
5020 `(;; libmutter.pc refers to these:
5021 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5023 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5026 ("gdk-pixbuf" ,gdk-pixbuf)
5029 ("json-glib" ,json-glib)
5030 ("libinput" ,libinput)
5032 ("libxcomposite" ,libxcomposite)
5033 ("libxdamage" ,libxdamage)
5034 ("libxext" ,libxext)
5035 ("libxfixes" ,libxfixes)
5036 ("libxkbcommon" ,libxkbcommon)
5037 ("libxrandr" ,libxrandr)
5041 ("xinput" ,xinput)))
5043 `(("elogind" ,elogind)
5044 ("gnome-desktop" ,gnome-desktop)
5045 ("libcanberra-gtk" ,libcanberra)
5046 ("libgudev" ,libgudev)
5049 ("libxkbfile" ,libxkbfile)
5050 ("libxrandr" ,libxrandr)
5051 ("libxtst" ,libxtst)
5052 ("startup-notification" ,startup-notification)
5053 ("upower-glib" ,upower)
5054 ("xkeyboard-config" ,xkeyboard-config)
5055 ("xorg-server-xwayland" ,xorg-server-xwayland)
5056 ("zenity" ,zenity)))
5057 (synopsis "Window and compositing manager")
5058 (home-page "https://www.gnome.org")
5060 "Mutter is a window and compositing manager that displays and manages your
5061 desktop via OpenGL. Mutter combines a sophisticated display engine using the
5062 Clutter toolkit with solid window-management logic inherited from the Metacity
5064 (license license:gpl2+)))
5066 (define-public gnome-online-accounts
5068 (name "gnome-online-accounts")
5072 (uri (string-append "mirror://gnome/sources/" name "/"
5073 (version-major+minor version) "/"
5074 name "-" version ".tar.xz"))
5077 "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47"))))
5078 (outputs '("out" "lib"))
5079 (build-system glib-or-gtk-build-system)
5082 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5084 (modify-phases %standard-phases
5085 (add-before 'configure 'patch-libgoa-output
5086 (lambda* (#:key outputs #:allow-other-keys)
5087 (let ((lib (assoc-ref outputs "lib")))
5088 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5090 (("@exec_prefix@") lib)
5091 (("@libdir@") (string-append lib "/lib"))
5092 (("@includedir@") (string-append lib "/include"))
5093 (("@datadir@") (string-append lib "/share")))
5096 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5097 ("gobject-introspection" ,gobject-introspection)
5098 ("intltool" ,intltool)
5099 ("pkg-config" ,pkg-config)
5100 ("xsltproc" ,libxslt)))
5102 `(("glib" ,glib) ; required by goa-1.0.pc
5103 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5105 `(("docbook-xsl" ,docbook-xsl)
5106 ("json-glib" ,json-glib)
5107 ("libsecret" ,libsecret)
5109 ("webkitgtk" ,webkitgtk)))
5110 (synopsis "Single sign-on framework for GNOME")
5111 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5113 "GNOME Online Accounts provides interfaces so that applications and
5114 libraries in GNOME can access the user's online accounts. It has providers for
5115 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5116 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5117 (license license:lgpl2.0+)))
5119 (define-public evolution-data-server
5121 (name "evolution-data-server")
5125 (uri (string-append "mirror://gnome/sources/" name "/"
5126 (version-major+minor version) "/"
5127 name "-" version ".tar.xz"))
5130 "11sq795115vrcgxl9svscm6wg8isjj784c3d84qzb6z47zq92zj3"))))
5131 (outputs '("out" "libedataserverui"))
5132 (build-system cmake-build-system)
5134 '(;; XXX FIXME: 11/85 tests are failing.
5137 (let* ((lib (string-append (assoc-ref %outputs "out")
5139 (runpaths (map (lambda (s) (string-append
5140 lib "/evolution-data-server/" s))
5141 '("addressbook-backends" "calendar-backends"
5142 "camel-providers" "credential-modules"
5143 "registry-modules"))))
5144 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5145 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5146 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5147 "-DENABLE_VALA_BINDINGS=ON"
5148 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
5149 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5150 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5151 ;; evolution-data-server has been updated to qualify ICU types
5152 ;; explicitly, as required by ICU 61 and later. See:
5153 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5154 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
5155 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5156 (string-append lib "/evolution-data-server;")
5157 (string-join runpaths ";"))
5158 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5160 (modify-phases %standard-phases
5161 (add-after 'unpack 'patch-paths
5163 (substitute* "tests/test-server-utils/e-test-server-utils.c"
5164 (("/bin/rm") (which "rm")))
5166 (add-before 'configure 'dont-override-rpath
5168 (substitute* "CMakeLists.txt"
5169 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5170 ;; Remove it so the configure flag is respected.
5171 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5173 (add-after 'install 'split
5174 (lambda* (#:key outputs #:allow-other-keys)
5175 (let ((out (assoc-ref outputs "out"))
5176 (libedsui (assoc-ref outputs "libedataserverui")))
5177 (for-each (lambda (file)
5178 (mkdir-p (dirname (string-append libedsui file)))
5179 (rename-file (string-append out file)
5180 (string-append libedsui file)))
5181 '("/lib/pkgconfig/libedataserverui-1.2.pc"
5182 "/lib/libedataserverui-1.2.so"
5183 "/lib/libedataserverui-1.2.so.2"
5184 "/lib/libedataserverui-1.2.so.2.0.0"
5185 "/lib/girepository-1.0/EDataServerUI-1.2.typelib"
5186 "/include/evolution-data-server/libedataserverui"
5187 "/share/gir-1.0/EDataServerUI-1.2.gir"
5188 "/share/vala/vapi/libedataserverui-1.2.vapi"
5189 "/share/vala/vapi/libedataserverui-1.2.deps"))
5190 (substitute* (string-append libedsui "/lib/pkgconfig/"
5191 "libedataserverui-1.2.pc")
5195 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5196 ("gobject-introspection" ,gobject-introspection)
5198 ("intltool" ,intltool)
5199 ("pkg-config" ,pkg-config)
5201 ("python" ,python-wrapper)))
5203 ;; These are all in the Requires field of .pc files.
5205 ("libical" ,libical)
5206 ("libsecret" ,libsecret)
5207 ("libsoup" ,libsoup)
5209 ("sqlite" ,sqlite)))
5213 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5214 ("json-glib" ,json-glib)
5215 ("libgweather" ,libgweather)
5216 ("mit-krb5" ,mit-krb5)
5217 ("openldap" ,openldap)
5218 ("webkitgtk" ,webkitgtk)))
5219 (synopsis "Store address books and calendars")
5220 (home-page "https://wiki.gnome.org/Apps/Evolution")
5222 "This package provides a unified backend for programs that work with
5223 contacts, tasks, and calendar information. It was originally developed for
5224 Evolution (hence the name), but is now used by other packages as well.")
5225 (license license:lgpl2.0)))
5227 (define-public caribou
5233 (uri (string-append "mirror://gnome/sources/" name "/"
5234 (version-major+minor version) "/"
5235 name "-" version ".tar.xz"))
5238 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5239 (build-system glib-or-gtk-build-system)
5242 (modify-phases %standard-phases
5245 (lambda* (#:key outputs #:allow-other-keys)
5246 (let ((out (assoc-ref outputs "out")))
5247 ;; Use absolute shared library path in Caribou-1.0.typelib.
5248 (substitute* "libcaribou/Makefile"
5249 (("--shared-library=libcaribou.so")
5250 (string-append "--shared-library="
5251 out "/lib/libcaribou.so")))
5253 (add-after 'install 'wrap-programs
5254 (lambda* (#:key outputs #:allow-other-keys)
5255 (let* ((out (assoc-ref outputs "out"))
5256 (python-path (getenv "PYTHONPATH"))
5257 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5261 `("PYTHONPATH" ":" prefix (,python-path))
5262 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5263 (list (string-append out "/bin/caribou-preferences")
5264 (string-append out "/libexec/antler-keyboard"))))
5267 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5268 ("gobject-introspection" ,gobject-introspection)
5269 ("intltool" ,intltool)
5270 ("pkg-config" ,pkg-config)
5271 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5273 ("xsltproc" ,libxslt)))
5275 ;; caribou-1.0.pc refers to all these.
5276 `(("libgee" ,libgee)
5277 ("libxklavier" ,libxklavier)
5278 ("libxtst" ,libxtst)
5281 `(("clutter" ,clutter)
5284 ("python-pygobject" ,python2-pygobject)))
5285 (synopsis "Text entry and UI navigation application")
5286 (home-page "https://wiki.gnome.org/Projects/Caribou")
5288 "Caribou is an input assistive technology intended for switch and pointer
5290 (license license:lgpl2.1)))
5292 (define-public network-manager
5294 (name "network-manager")
5298 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5299 (version-major+minor version) "/"
5300 "NetworkManager-" version ".tar.xz"))
5303 "1jn3g0f2x1irc88awqp8m3gnpdx1whqqqbdgkbgr4x55s702jki4"))
5306 (use-modules (guix build utils))
5307 (substitute* "configure"
5308 ;; Replace libsystemd-login with libelogind.
5309 (("libsystemd-login") "libelogind"))
5310 (substitute* "src/devices/wwan/nm-modem-manager.c"
5311 (("systemd") "elogind"))
5312 (substitute* "src/nm-session-monitor.c"
5313 (("systemd") "elogind"))
5314 (substitute* "./src/nm-logging.c"
5315 (("systemd") "elogind"))
5317 (build-system gnu-build-system)
5319 "doc")) ; 8 MiB of gtk-doc HTML
5322 (let ((out (assoc-ref %outputs "out"))
5323 (doc (assoc-ref %outputs "doc"))
5324 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5326 (list "--with-systemd-logind=yes" ;In Guix System, this is provided by elogind.
5327 "--with-consolekit=no"
5328 "--with-crypto=gnutls"
5329 "--disable-config-plugin-ibft"
5331 "--localstatedir=/var"
5332 (string-append "--with-udev-dir="
5334 (string-append "--with-dbus-sys-dir="
5335 out "/etc/dbus-1/system.d")
5336 (string-append "--with-html-dir="
5337 doc "/share/gtk-doc/html")
5338 (string-append "--with-dhclient=" dhclient)))
5340 (modify-phases %standard-phases
5341 (add-before 'configure 'pre-configure
5343 ;; These tests try to test aspects of network-manager's
5344 ;; functionality within restricted containers, but they don't
5345 ;; cope with being already in the Guix build jail as that jail
5346 ;; lacks some features that they would like to proxy over (like
5348 (substitute* '("Makefile.in")
5349 (("src/platform/tests/test-address-linux") " ")
5350 (("src/platform/tests/test-cleanup-linux") " ")
5351 (("src/platform/tests/test-link-linux") " ")
5352 (("src/platform/tests/test-route-linux") " ")
5353 (("src/devices/tests/test-arping") " ")
5354 (("src/devices/tests/test-lldp") " ")
5355 (("src/tests/test-route-manager-linux") " "))
5357 (add-after 'unpack 'delete-failing-tests
5359 ;; FIXME: These four tests fail for unknown reasons.
5360 ;; ERROR:libnm-core/tests/test-general.c:5842:
5361 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5362 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5363 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5364 ;; ERROR:libnm-core/tests/test-setting.c:907:
5365 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5366 ;; NetworkManager:ERROR:src/platform/tests/test-nmp-object.c:397:
5367 ;; test_cache_link: assertion failed: (nmp_object_is_visible (obj_new))
5368 (substitute* "Makefile.in"
5369 (("libnm-core/tests/test-general") " ")
5370 (("libnm-core/tests/test-keyfile") " ")
5371 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " ")
5372 (("src/platform/tests/test-nmp-object") " "))
5374 (add-before 'check 'pre-check
5376 ;; For the missing /etc/machine-id.
5377 (setenv "DBUS_FATAL_WARNINGS" "0")
5385 "nmstatedir=/tmp/nm"
5391 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5392 ("gobject-introspection" ,gobject-introspection)
5393 ("docbook-xsl" ,docbook-xsl)
5394 ("intltool" ,intltool)
5395 ("libxslt" ,libxslt)
5396 ("libxml2" ,libxml2)
5397 ("pkg-config" ,pkg-config)
5399 ("python" ,python-wrapper)
5400 ("python-dbus" ,python-dbus)
5401 ("python-pygobject" ,python-pygobject)))
5404 ("cyrus-sasl" ,cyrus-sasl)
5405 ("dbus-glib" ,dbus-glib)
5406 ("dnsmasq" ,dnsmasq)
5409 ("iptables" ,iptables)
5410 ("isc-dhcp" ,isc-dhcp)
5411 ("jansson" ,jansson)
5412 ("libgcrypt" ,libgcrypt)
5413 ("libgudev" ,libgudev)
5416 ("libsoup" ,libsoup)
5417 ("modem-manager" ,modem-manager)
5418 ("newt" ,newt) ;for the 'nmtui' console interface
5421 ("readline" ,readline)
5422 ("util-linux" ,util-linux)
5423 ("elogind" ,elogind)))
5424 (synopsis "Network connection manager")
5425 (home-page "https://www.gnome.org/projects/NetworkManager/")
5427 "NetworkManager is a system network service that manages your network
5428 devices and connections, attempting to keep active network connectivity when
5429 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5430 devices, and provides VPN integration with a variety of different VPN
5432 (license license:gpl2+)
5433 (properties '((upstream-name . "NetworkManager")))))
5435 (define-public network-manager-openvpn
5437 (name "network-manager-openvpn")
5442 "mirror://gnome/sources/NetworkManager-openvpn/"
5443 (version-major+minor version)
5444 "/NetworkManager-openvpn-" version ".tar.xz"))
5447 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
5448 (build-system gnu-build-system)
5450 '(#:configure-flags '("--enable-absolute-paths")))
5452 `(("pkg-config" ,pkg-config)
5453 ("intltool" ,intltool)))
5456 ("openvpn" ,openvpn)
5457 ("network-manager" ,network-manager)
5458 ("network-manager-applet" ,network-manager-applet) ;for libnma
5459 ("libsecret" ,libsecret)))
5460 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5461 (synopsis "OpenVPN plug-in for NetworkManager")
5463 "This extension of NetworkManager allows it to take care of connections
5464 to virtual private networks (VPNs) via OpenVPN.")
5465 (license license:gpl2+)
5466 (properties `((upstream-name . "NetworkManager-openvpn")))))
5468 (define-public mobile-broadband-provider-info
5470 (name "mobile-broadband-provider-info")
5471 (version "20190116")
5475 "mirror://gnome/sources/"
5476 "mobile-broadband-provider-info/" version "/"
5477 "mobile-broadband-provider-info-" version ".tar.xz"))
5480 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
5481 (build-system gnu-build-system)
5483 `(#:tests? #f)) ; no tests
5484 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5485 (synopsis "Database of broadband connection configuration")
5486 (description "Database of broadband connection configuration.")
5487 (license license:public-domain)))
5489 (define-public network-manager-applet
5491 (name "network-manager-applet")
5495 (uri (string-append "mirror://gnome/sources/" name "/"
5496 (version-major+minor version) "/"
5497 name "-" version ".tar.xz"))
5500 "1js0i2kwfklahsn77qgxzdscy33drrlym3mrj1qhlw0zf8ri56ya"))))
5501 (build-system glib-or-gtk-build-system)
5502 (arguments '(#:configure-flags '("--disable-migration")
5504 (modify-phases %standard-phases
5505 (add-after 'unpack 'patch-source
5506 (lambda* (#:key inputs #:allow-other-keys)
5507 (let ((mbpi (assoc-ref inputs
5508 "mobile-broadband-provider-info"))
5509 (iso-codes (assoc-ref inputs "iso-codes")))
5510 (substitute* "src/libnma/nma-mobile-providers.c"
5511 (("(g_build_filename \\()dirs\\[i\\].*,\
5512 (MOBILE_BROADBAND_PROVIDER_INFO.*)" all start end)
5513 (string-append start "\"" mbpi "/share\", " end)))
5514 (substitute* "src/libnma/nma-mobile-providers.c"
5515 (("(g_build_filename \\()dirs\\[i\\].*,\
5516 (ISO_3166_COUNTRY_CODES.*)" all start end)
5517 (string-append start "\"" iso-codes
5521 `(("intltool" ,intltool)
5522 ("gobject-introspection" ,gobject-introspection)
5523 ("pkg-config" ,pkg-config)))
5525 ;; libnm-gtk.pc refers to all these.
5526 `(("dbus-glib" ,dbus-glib)
5528 ("network-manager" ,network-manager)))
5530 `(("iso-codes" ,iso-codes)
5531 ("libgudev" ,libgudev)
5532 ("libnotify" ,libnotify)
5533 ("libsecret" ,libsecret)
5534 ("libselinux" ,libselinux)
5535 ("jansson" ,jansson) ; for team support
5536 ("modem-manager" ,modem-manager)
5537 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
5538 (synopsis "Applet for managing network connections")
5539 (home-page "https://www.gnome.org/projects/NetworkManager/")
5541 "This package contains a systray applet for NetworkManager. It displays
5542 the available networks and allows users to easily switch between them.")
5543 (license license:gpl2+)))
5545 (define-public libxml++
5551 (uri (string-append "mirror://gnome/sources/" name "/"
5552 (version-major+minor version) "/"
5553 name "-" version ".tar.xz"))
5556 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5557 (build-system gnu-build-system)
5558 ;; libxml++-3.0.pc refers to all these.
5560 `(("libxml2" ,libxml2)
5561 ("glibmm" ,glibmm)))
5564 ("pkg-config" ,pkg-config)))
5565 (home-page "http://libxmlplusplus.sourceforge.net/")
5566 (synopsis "C++ wrapper for XML parser library libxml2")
5568 "This package provides a C++ wrapper for the XML parser library
5570 (license license:lgpl2.1+)))
5572 (define-public libxml++-2
5579 (uri (string-append "mirror://gnome/sources/" name "/"
5580 (version-major+minor version) "/"
5581 name "-" version ".tar.xz"))
5584 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5592 (uri (string-append "mirror://gnome/sources/" name "/"
5593 (version-major+minor version) "/"
5594 name "-" version ".tar.xz"))
5595 (patches (search-patches "gdm-CVE-2018-14424.patch"))
5598 "0wdm1503x66n1crdlmzmincbd2hccpxsdgjsl5anx3yjpdzs0hb0"))))
5599 (build-system glib-or-gtk-build-system)
5602 `("--without-plymouth"
5603 "--disable-systemd-journal"
5605 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5606 ;; instead of having to replace it (i.e., stopping the mingetty
5607 ;; service for TTY 1 before starting GDM).
5608 "--with-initial-vt=7"
5610 ;; Use '/etc/environment' for locale settings instead of the
5611 ;; systemd-specific '/etc/locale.conf'.
5612 "--with-lang-file=/etc/environment"
5614 "--localstatedir=/var"
5615 ,(string-append "--with-default-path="
5616 (string-join '("/run/setuid-programs"
5617 "/run/current-system/profile/bin"
5618 "/run/current-system/profile/sbin")
5620 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5621 ;; XDG_DATA_DIRS so that it finds its schemas.
5622 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5624 (modify-phases %standard-phases
5626 'configure 'pre-configure
5627 (lambda* (#:key inputs outputs #:allow-other-keys)
5628 ;; We don't have <systemd/sd-daemon.h>.
5629 (substitute* '("common/gdm-log.c"
5630 "daemon/gdm-server.c"
5631 "daemon/gdm-session-worker.c"
5632 "daemon/gdm-session-worker-job.c")
5633 (("#include <systemd/sd-daemon\\.h>") ""))
5634 ;; Use elogind for sd-login.
5635 (substitute* '("common/gdm-common.c"
5636 "daemon/gdm-manager.c"
5637 "libgdm/gdm-user-switching.c")
5638 (("#include <systemd/sd-login\\.h>")
5639 "#include <elogind/sd-login.h>"))
5640 ;; Check for elogind.
5641 (substitute* '("configure")
5644 ;; Look for system-installed sessions in
5645 ;; /run/current-system/profile/share.
5646 (substitute* '("libgdm/gdm-sessions.c"
5647 "daemon/gdm-session.c"
5648 "daemon/gdm-display.c"
5649 "daemon/gdm-launch-environment.c")
5651 "\"/run/current-system/profile/share/x")
5652 (("DATADIR \"/wayland")
5653 "\"/run/current-system/profile/share/wayland")
5654 (("DATADIR \"/gnome")
5655 "\"/run/current-system/profile/share/gnome"))
5656 (let ((propagate '("GDM_CUSTOM_CONF"
5660 ;; XXX: Remove this once GNOME Shell is
5661 ;; a dependency of GDM.
5663 (substitute* "daemon/gdm-session.c"
5664 (("set_up_session_environment \\(self\\);")
5665 (apply string-append
5666 "set_up_session_environment (self);\n"
5669 "gdm_session_set_environment_variable "
5670 "(self, \"" name "\","
5671 "g_getenv (\"" name "\"));\n"))
5673 ;; Find the configuration file using an environment variable.
5674 (substitute* '("common/gdm-settings.c")
5675 (("GDM_CUSTOM_CONF")
5676 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5677 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5678 " : GDM_CUSTOM_CONF)")))
5679 ;; Use service-supplied path to X.
5680 (substitute* '("daemon/gdm-server.c")
5681 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5682 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5683 (substitute* '("daemon/gdm-x-session.c")
5684 (("\"dbus-daemon\"")
5685 "g_getenv (\"GDM_DBUS_DAEMON\")")
5687 "g_getenv (\"GDM_X_SERVER\")")
5688 (("GDMCONFDIR \"/Xsession\"")
5689 "g_getenv (\"GDM_X_SESSION\")"))
5690 ;; Use an absolute path for GNOME Session.
5691 (substitute* "daemon/gdm-launch-environment.c"
5692 (("\"gnome-session\"")
5693 (string-append "\"" (assoc-ref inputs "gnome-session")
5694 "/bin/gnome-session\"")))
5695 ;; Do not automatically select the placeholder session.
5696 (substitute* "daemon/gdm-session.c"
5697 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5698 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5699 "(g_strcmp0(search_dirs[i], \""
5700 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5702 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5703 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5704 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
5706 ;; GDM requires that there be at least one desktop entry
5707 ;; file. This phase installs a hidden one that simply
5708 ;; fails. This enables users to use GDM with a
5709 ;; '~/.xsession' script with no other desktop entry files.
5710 ;; See <https://bugs.gnu.org/35068>.
5711 (add-after 'install 'install-placeholder-desktop-entry
5712 (lambda* (#:key inputs outputs #:allow-other-keys)
5713 (let* ((out (assoc-ref outputs "out"))
5714 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5715 (fail (string-append sessions "/fail.desktop")))
5717 (with-output-to-file fail
5721 '("[Desktop Entry]\n"
5723 "Type=Application\n"
5725 "Comment=This session fails immediately.\n"
5729 ;; GDM needs GNOME Session to run these applications. We link
5730 ;; their autostart files in `share/gdm/greeter/autostart'
5731 ;; because GDM explicitly tells GNOME Session to look there.
5733 ;; XXX: GNOME Shell should be linked here too, but currently
5734 ;; GNOME Shell depends on GDM.
5735 (add-after 'install 'link-autostart-files
5736 (lambda* (#:key inputs outputs #:allow-other-keys)
5737 (let* ((out (assoc-ref outputs "out"))
5738 (autostart (string-append out "/share/gdm/"
5739 "greeter/autostart"))
5740 (settings (assoc-ref inputs "gnome-settings-daemon")))
5742 (with-directory-excursion autostart
5743 (for-each (lambda (desktop)
5744 (symlink desktop (basename desktop)))
5745 (find-files (string-append settings "/etc/xdg"))))
5749 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5750 ("gobject-introspection" ,gobject-introspection)
5751 ("intltool" ,intltool)
5752 ("itstool" ,itstool)
5753 ("pkg-config" ,pkg-config)
5754 ("xmllint" ,libxml2)))
5756 `(("accountsservice" ,accountsservice)
5757 ("check" ,check) ; for testing
5758 ("elogind" ,elogind)
5759 ("gnome-session" ,gnome-session)
5760 ("gnome-settings-daemon" ,gnome-settings-daemon)
5762 ("iso-codes" ,iso-codes)
5763 ("libcanberra" ,libcanberra)
5764 ("linux-pam" ,linux-pam)))
5765 (synopsis "Display manager for GNOME")
5766 (home-page "https://wiki.gnome.org/Projects/GDM/")
5768 "GNOME Display Manager is a system service that is responsible for
5769 providing graphical log-ins and managing local and remote displays.")
5770 (license license:gpl2+)))
5772 (define-public libgtop
5778 (uri (string-append "mirror://gnome/sources/" name "/"
5779 (version-major+minor version) "/"
5780 name "-" version ".tar.xz"))
5783 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5784 (build-system gnu-build-system)
5786 `(("gobject-introspection" ,gobject-introspection)
5787 ("intltool" ,intltool)
5789 ("pkg-config" ,pkg-config)))
5791 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5792 (synopsis "Portable system access library")
5793 (home-page "https://www.gnome.org/")
5795 "LibGTop is a library to get system specific data such as CPU and memory
5796 usage and information about running processes.")
5797 (license license:gpl2+)))
5799 (define-public gnome-bluetooth
5801 (name "gnome-bluetooth")
5805 (uri (string-append "mirror://gnome/sources/" name "/"
5806 (version-major+minor version) "/"
5807 name "-" version ".tar.xz"))
5810 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5811 (build-system meson-build-system)
5813 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5814 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5815 ("gobject-introspection" ,gobject-introspection)
5816 ("intltool" ,intltool)
5817 ("pkg-config" ,pkg-config)
5818 ("xmllint" ,libxml2)))
5820 ;; gnome-bluetooth-1.0.pc refers to all these.
5824 `(("libcanberra" ,libcanberra)
5825 ("libnotify" ,libnotify)))
5826 (synopsis "GNOME Bluetooth subsystem")
5827 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5829 "This package contains tools for managing and manipulating Bluetooth
5830 devices using the GNOME desktop.")
5831 (license license:lgpl2.1+)))
5833 (define-public gnome-control-center
5835 (name "gnome-control-center")
5839 (uri (string-append "mirror://gnome/sources/" name "/"
5840 (version-major+minor version) "/"
5841 name "-" version ".tar.xz"))
5844 "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz"))))
5845 (build-system meson-build-system)
5849 (list "-Dcheese=false")
5851 (modify-phases %standard-phases
5852 (add-before 'configure 'patch-paths
5853 (lambda* (#:key inputs #:allow-other-keys)
5854 (let ((libc (assoc-ref inputs "libc"))
5855 (tzdata (assoc-ref inputs "tzdata"))
5856 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
5857 (nm-applet (assoc-ref inputs "network-manager-applet")))
5858 (substitute* "panels/datetime/tz.h"
5859 (("/usr/share/zoneinfo/zone.tab")
5860 (string-append tzdata "/share/zoneinfo/zone.tab")))
5861 (substitute* "panels/datetime/test-endianess.c"
5862 (("/usr/share/locale")
5863 (string-append libc "/share/locale")))
5864 (substitute* "panels/region/cc-region-panel.c"
5865 (("\"gkbd-keyboard-display")
5866 (string-append "\"" libgnomekbd
5867 "/bin/gkbd-keyboard-display")))
5868 (substitute* '("panels/network/net-device-wifi.c"
5869 "panels/network/net-device.c"
5870 "panels/network/connection-editor/net-connection-editor.c")
5871 (("\"nm-connection-editor")
5872 (string-append "\"" nm-applet
5873 "/bin/nm-connection-editor")))
5874 (substitute* '("panels/user-accounts/run-passwd.c")
5875 (("/usr/bin/passwd")
5876 "/run/setuid-programs/passwd"))
5879 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5880 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5881 ("intltool" ,intltool)
5882 ("pkg-config" ,pkg-config)
5883 ("xsltproc" ,libxslt)))
5885 `(("accountsservice" ,accountsservice)
5886 ("clutter-gtk" ,clutter-gtk)
5887 ("colord-gtk" ,colord-gtk)
5890 ("docbook-xsl" ,docbook-xsl)
5891 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5892 ("gnome-bluetooth" ,gnome-bluetooth)
5893 ("gnome-desktop" ,gnome-desktop)
5894 ("gnome-online-accounts" ,gnome-online-accounts)
5895 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5896 ("gnome-settings-daemon" ,gnome-settings-daemon)
5899 ("libcanberra" ,libcanberra)
5900 ("libgnomekbd" ,libgnomekbd)
5901 ("libgudev" ,libgudev)
5902 ("libgtop" ,libgtop)
5903 ("libpwquality" ,libpwquality)
5904 ("libsoup" ,libsoup)
5905 ("libxml2" ,libxml2)
5906 ("libwacom" ,libwacom)
5908 ("mit-krb5" ,mit-krb5)
5909 ("modem-manager" ,modem-manager)
5910 ("network-manager-applet" ,network-manager-applet)
5912 ("pulseaudio" ,pulseaudio)
5913 ("smbclient" ,samba)
5915 ("upower" ,upower)))
5916 (synopsis "Utilities to configure the GNOME desktop")
5917 (home-page "https://www.gnome.org/")
5919 "This package contains configuration applets for the GNOME desktop,
5920 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5921 properties, sound setup, desktop theme and background, user interface
5922 properties, screen resolution, and other GNOME parameters.")
5923 (license license:gpl2+)))
5925 (define-public gnome-shell
5927 (name "gnome-shell")
5931 (uri (string-append "mirror://gnome/sources/" name "/"
5932 (version-major+minor version) "/"
5933 name "-" version ".tar.xz"))
5936 "1b9n89ij2g5nqaqp7a13jnqcd8qa2v9p55rbi71al3xvqk091ri7"))
5937 (patches (search-patches "gnome-shell-theme.patch"))
5938 (modules '((guix build utils)))
5941 ;; Copy images for use on the GDM log-in screen.
5942 (copy-file #$(file-append %artwork-repository
5943 "/slim/0.x/background.png")
5944 "data/theme/guix-background.png")
5945 (copy-file #$(file-append %artwork-repository
5946 "/logo/Guix-horizontal-white.svg")
5947 "data/theme/guix-logo.svg")
5949 (build-system meson-build-system)
5952 #:disallowed-references ((,glib "bin")
5956 (list "-Dsystemd=false"
5957 ;; Otherwise, the RUNPATH will lack the final path component.
5958 (string-append "-Dc_link_args=-Wl,-rpath="
5959 (assoc-ref %outputs "out")
5960 "/lib/gnome-shell"))
5962 #:modules ((guix build meson-build-system)
5967 (modify-phases %standard-phases
5968 (add-after 'unpack 'fix-keysdir
5969 (lambda* (#:key outputs #:allow-other-keys)
5970 (let* ((out (assoc-ref outputs "out"))
5971 (keysdir (string-append
5972 out "/share/gnome-control-center/keybindings")))
5973 (substitute* "meson.build"
5975 (string-append "keysdir = '" keysdir "'\n")))
5977 (add-before 'configure 'convert-logo-to-png
5978 (lambda* (#:key inputs #:allow-other-keys)
5979 ;; Convert the logo from SVG to PNG.
5980 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
5981 "data/theme/guix-logo.svg")))
5982 (add-before 'configure 'record-absolute-file-names
5983 (lambda* (#:key inputs #:allow-other-keys)
5984 (substitute* "js/misc/ibusManager.js"
5986 (string-append "'" (assoc-ref inputs "ibus")
5987 "/bin/ibus-daemon'")))
5988 (substitute* "js/ui/status/keyboard.js"
5989 (("'gkbd-keyboard-display'")
5990 (string-append "'" (assoc-ref inputs "libgnomekbd")
5991 "/bin/gkbd-keyboard-display'")))
5993 (add-before 'check 'pre-check
5994 (lambda* (#:key inputs #:allow-other-keys)
5995 ;; Tests require a running X server.
5996 (system "Xvfb :1 &")
5997 (setenv "DISPLAY" ":1")
5999 (add-after 'install 'wrap-programs
6000 (lambda* (#:key inputs outputs #:allow-other-keys)
6001 (let ((out (assoc-ref outputs "out"))
6002 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6003 (python-path (getenv "PYTHONPATH")))
6004 (wrap-program (string-append out "/bin/gnome-shell")
6005 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6006 ;; FIXME: gnome-shell loads these libraries with unqualified
6007 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6008 ;; alternative might be to patch gnome-shell.
6009 `("LD_LIBRARY_PATH" ":" prefix
6011 (string-append (assoc-ref inputs pkg) "/lib"))
6013 "gnome-bluetooth" "librsvg" "libgweather"))))
6016 (wrap-program (string-append out "/bin/" prog)
6017 `("PYTHONPATH" ":" prefix (,python-path))
6018 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6019 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
6021 (replace 'glib-or-gtk-wrap
6022 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6023 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6024 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6025 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6026 ;; phase. Fix that since we don't need these.
6027 (wrap #:inputs (fold alist-delete inputs
6028 '("inkscape" "intltool" "glib:bin"))
6029 #:outputs outputs)))))))
6031 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6032 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6033 ("gobject-introspection" ,gobject-introspection)
6034 ("inkscape" ,inkscape)
6035 ("intltool" ,intltool)
6036 ("pkg-config" ,pkg-config)
6038 ("ruby-sass" ,ruby-sass)
6040 ("xsltproc" ,libxslt)
6042 ("xorg-server" ,xorg-server-for-tests)))
6044 `(("accountsservice" ,accountsservice)
6045 ("caribou" ,caribou)
6046 ("docbook-xsl" ,docbook-xsl)
6047 ("evolution-data-server" ,evolution-data-server)
6050 ("gdk-pixbuf" ,gdk-pixbuf+svg)
6052 ("gnome-bluetooth" ,gnome-bluetooth)
6053 ("gnome-desktop" ,gnome-desktop)
6054 ("gnome-settings-daemon" ,gnome-settings-daemon)
6055 ("gst-plugins-base" ,gst-plugins-base)
6057 ("libcanberra" ,libcanberra)
6058 ("libcroco" ,libcroco)
6059 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
6060 ("libgweather" ,libgweather)
6061 ("libsoup" ,libsoup)
6062 ("mesa-headers" ,mesa-headers)
6064 ("network-manager-applet" ,network-manager-applet)
6066 ("pulseaudio" ,pulseaudio)
6067 ("python-pygobject" ,python-pygobject)
6068 ("startup-notification" ,startup-notification)
6069 ("telepathy-logger" ,telepathy-logger)
6071 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6072 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6073 ("librsvg" ,librsvg)
6074 ("geoclue" ,geoclue)))
6075 (synopsis "Desktop shell for GNOME")
6076 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6078 "GNOME Shell provides core user interface functions for the GNOME desktop,
6079 like switching to windows and launching applications.")
6080 (license license:gpl2+)))
6082 (define-public gtk-vnc
6089 (uri (string-append "mirror://gnome/sources/" name "/"
6090 (version-major+minor version) "/"
6091 name "-" version ".tar.xz"))
6094 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
6095 (build-system gnu-build-system)
6097 '(#:configure-flags '("--with-gtk=3.0")))
6099 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6101 `(("cyrus-sasl" ,cyrus-sasl)
6103 ("libgcrypt" ,libgcrypt)
6104 ("pulseaudio" ,pulseaudio)))
6106 `(("glib:bin" ,glib "bin")
6107 ("gobject-introspection" ,gobject-introspection)
6108 ("intltool" ,intltool)
6109 ("pkg-config" ,pkg-config)
6110 ("python-wrapper" ,python-wrapper)
6112 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6113 (synopsis "VNC viewer widget for GTK+")
6115 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6116 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6117 GTK-VNC implements client side RFB protocol and authentication extensions such
6118 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6119 (license license:lgpl2.1+)))
6121 (define-public gnome-autoar
6123 (name "gnome-autoar")
6127 (uri (string-append "mirror://gnome/sources/" name "/"
6128 (version-major+minor version) "/"
6129 name "-" version ".tar.xz"))
6132 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
6133 (build-system glib-or-gtk-build-system)
6135 `(("gnome-common" ,gnome-common)
6136 ("gobject-introspection" ,gobject-introspection)
6137 ("pkg-config" ,pkg-config)))
6139 `(("libarchive" ,libarchive))) ; XXX document why
6142 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
6143 (synopsis "Archives integration support for GNOME")
6144 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6146 "GNOME Autoar is a library which makes creating and extracting archives
6147 easy, safe, and automatic.")
6148 (license license:lgpl2.1+)))
6150 (define-public tracker
6156 (uri (string-append "mirror://gnome/sources/" name "/"
6157 (version-major+minor version) "/"
6158 name "-" version ".tar.xz"))
6161 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
6162 (build-system glib-or-gtk-build-system)
6165 (modify-phases %standard-phases
6166 (add-after 'unpack 'disable-broken-tests
6168 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6169 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6170 (substitute* "tests/libtracker-miner/Makefile.in"
6171 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6172 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6173 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6174 (substitute* "tests/libtracker-fts/Makefile.in"
6175 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6176 (substitute* "tests/libtracker-data/Makefile.in"
6177 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6178 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6179 (("tracker-backup\\$\\(EXEEXT\\)") "")
6180 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6181 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6182 ;; These fail because the SPARQL backend could not be loaded.
6183 ;; That's because /etc/machine-id is missing, but
6184 ;; DBUS_FATAL_WARNINGS does not help here.
6185 (substitute* "tests/libtracker-sparql/Makefile.in"
6186 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6187 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6188 (substitute* "tests/tracker-steroids/Makefile.in"
6189 (("tracker-test\\$\\(EXEEXT\\)") ""))
6191 ;; Two tests fail if LANG is not set.
6192 (add-before 'check 'pre-check
6194 (setenv "LANG" "en_US.UTF-8")
6195 ;; For the missing /etc/machine-id.
6196 (setenv "DBUS_FATAL_WARNINGS" "0")
6199 `(("gnome-common" ,gnome-common)
6200 ("gobject-introspection" ,gobject-introspection)
6201 ("intltool" ,intltool)
6202 ("pkg-config" ,pkg-config)
6207 ("gstreamer" ,gstreamer)
6208 ("gst-plugins-base" ,gst-plugins-base)
6210 ("nettle" ,nettle) ; XXX why is this needed?
6212 ("poppler" ,poppler)
6214 ("libexif" ,libexif)
6216 ("libtiff" ,libtiff)
6217 ("libvorbis" ,libvorbis)
6219 ("totem-pl-parser" ,totem-pl-parser)
6222 ("libxml2" ,libxml2)
6224 ("libunistring" ,libunistring)
6226 ("json-glib" ,json-glib)
6227 ("openjpeg" ,openjpeg-1)
6228 ("libosinfo" ,libosinfo)
6230 ("libseccomp" ,libseccomp)
6231 ("libsoup" ,libsoup)
6232 ("libuuid" ,util-linux)))
6233 (synopsis "Metadata database, indexer and search tool")
6234 (home-page "https://wiki.gnome.org/Projects/Tracker")
6236 "Tracker is an advanced framework for first class objects with associated
6237 metadata and tags. It provides a one stop solution for all metadata, tags,
6238 shared object databases, search tools and indexing.")
6239 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6240 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6241 (license (list license:gpl2+
6243 license:lgpl2.0+))))
6245 (define-public nautilus
6251 (uri (string-append "mirror://gnome/sources/" name "/"
6252 (version-major+minor version) "/"
6253 name "-" version ".tar.xz"))
6256 "19dhpa2ylrg8d5274lahy7xqr2p9z3jnq1h4qmsh95czkpy7is4w"))))
6257 (build-system meson-build-system)
6260 ;; XXX: FAIL: check-nautilus
6261 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6264 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6265 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6266 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6267 ("gobject-introspection" ,gobject-introspection)
6268 ("intltool" ,intltool)
6269 ("pkg-config" ,pkg-config)))
6275 ("gnome-desktop" ,gnome-desktop)
6276 ("gnome-autoar" ,gnome-autoar)
6277 ("libselinux" ,libselinux)
6278 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
6279 ("tracker" ,tracker)
6280 ;; XXX: gtk+ is required by libnautilus-extension.pc
6282 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6284 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6286 ("libexif" ,libexif)
6287 ("libxml2" ,libxml2)))
6288 (synopsis "File manager for GNOME")
6289 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6291 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6292 design and behaviour, giving the user a simple way to navigate and manage its
6294 (license license:gpl2+)))
6296 (define-public baobab
6303 "mirror://gnome/sources/" name "/"
6304 (version-major+minor version) "/"
6305 name "-" version ".tar.xz"))
6308 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
6309 (build-system meson-build-system)
6311 '(#:glib-or-gtk? #t))
6313 `(("intltool" ,intltool)
6314 ("pkg-config" ,pkg-config)
6315 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6316 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6317 ("itstool" ,itstool)
6318 ("xmllint" ,libxml2)
6319 ("glib" ,glib "bin")
6323 (synopsis "Disk usage analyzer for GNOME")
6325 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6326 usage in the GNOME desktop environment. It can easily scan device volumes or
6327 a specific user-requested directory branch (local or remote). Once the scan
6328 is complete it provides a graphical representation of each selected folder.")
6329 (home-page "https://wiki.gnome.org/Apps/Baobab")
6330 (license license:gpl2+)))
6332 (define-public gnome-backgrounds
6334 (name "gnome-backgrounds")
6339 (uri (string-append "mirror://gnome/sources/" name "/"
6340 (version-major+minor version) "/"
6341 name "-" version ".tar.xz"))
6344 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6345 (build-system meson-build-system)
6347 `(("intltool" ,intltool)))
6348 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6349 (synopsis "Background images for the GNOME desktop")
6351 "GNOME backgrounds package contains a collection of graphics files which
6352 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6353 the package creates the proper framework and directory structure so that you
6354 can add your own files to the collection.")
6355 (license (list license:gpl2+
6358 license:cc-by-sa3.0))))
6360 (define-public gnome-screenshot
6362 (name "gnome-screenshot")
6367 (uri (string-append "mirror://gnome/sources/" name "/"
6368 (version-major+minor version) "/"
6369 name "-" version ".tar.xz"))
6372 "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v"))))
6373 (build-system meson-build-system)
6375 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6376 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6377 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6378 ("intltool" ,intltool)
6379 ("appstream-glib" ,appstream-glib)
6380 ("pkg-config" ,pkg-config)))
6383 ("libcanberra" ,libcanberra)
6385 ("libxext" ,libxext)))
6386 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6387 (synopsis "Take pictures of your screen")
6389 "GNOME Screenshot is a utility used for taking screenshots of the entire
6390 screen, a window or a user defined area of the screen, with optional
6391 beautifying border effects.")
6392 (license license:gpl2+)))
6394 (define-public dconf-editor
6396 (name "dconf-editor")
6401 (uri (string-append "mirror://gnome/sources/" name "/"
6402 (version-major+minor version) "/"
6403 name "-" version ".tar.xz"))
6406 "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5"))))
6407 (build-system meson-build-system)
6409 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6410 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6411 ("intltool" ,intltool)
6412 ("pkg-config" ,pkg-config)
6417 ("libxml2" ,libxml2)))
6418 (home-page "https://git.gnome.org/browse/dconf-editor")
6419 (synopsis "Graphical editor for GNOME's dconf configuration system")
6421 "Dconf-editor is a graphical tool for browsing and editing the dconf
6422 configuration system for GNOME. It allows users to configure desktop
6423 software that do not provide their own configuration interface.")
6424 (license license:lgpl2.1+)))
6426 (define-public gnome-default-applications
6428 (name "gnome-default-applications")
6430 (build-system trivial-build-system)
6433 `(("nautilus" ,nautilus)
6434 ("evince" ,evince)))
6436 `(#:modules ((guix build utils))
6439 (use-modules (guix build utils))
6440 (let* ((out (assoc-ref %outputs "out"))
6441 (apps (string-append out "/share/applications")))
6443 (call-with-output-file (string-append apps "/defaults.list")
6445 (format port "[Default Applications]\n")
6446 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6447 (format port "application/pdf=evince.desktop\n")
6448 (format port "application/postscript=evince.desktop\n")))
6450 (synopsis "Default MIME type associations for the GNOME desktop")
6452 "Given many installed packages which might handle a given MIME type, a
6453 user running the GNOME desktop probably has some preferences: for example,
6454 that folders be opened by default by the Nautilus file manager, not the Baobab
6455 disk usage analyzer. This package establishes that set of default MIME type
6456 associations for GNOME.")
6457 (license license:gpl3+)
6460 (define-public gnome
6463 (version (package-version gnome-shell))
6465 (build-system trivial-build-system)
6466 (arguments '(#:builder (begin (mkdir %output) #t)))
6468 ;; TODO: Add more packages according to:
6469 ;; <https://packages.debian.org/jessie/gnome-core>.
6470 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6472 ("font-cantarell" ,font-cantarell)
6473 ("font-dejavu" ,font-dejavu)
6474 ("at-spi2-core" ,at-spi2-core)
6477 ("desktop-file-utils" ,desktop-file-utils)
6479 ("epiphany" ,epiphany)
6481 ("file-roller" ,file-roller)
6483 ("glib-networking" ,glib-networking)
6484 ("gnome-backgrounds" ,gnome-backgrounds)
6485 ("gnome-bluetooth" ,gnome-bluetooth)
6486 ("gnome-calculator" ,gnome-calculator)
6487 ("gnome-control-center" ,gnome-control-center)
6488 ("gnome-disk-utility" ,gnome-disk-utility)
6489 ("gnome-default-applications" ,gnome-default-applications)
6490 ("gnome-keyring" ,gnome-keyring)
6491 ("gnome-online-accounts" ,gnome-online-accounts)
6492 ("gnome-session" ,gnome-session)
6493 ("gnome-settings-daemon" ,gnome-settings-daemon)
6494 ("gnome-shell" ,gnome-shell)
6495 ("gnome-system-monitor" ,gnome-system-monitor)
6496 ("gnome-terminal" ,gnome-terminal)
6497 ("gnome-themes-standard" ,gnome-themes-standard)
6498 ("gst-plugins-base" ,gst-plugins-base)
6499 ("gst-plugins-good" ,gst-plugins-good)
6500 ("gucharmap" ,gucharmap)
6502 ("hicolor-icon-theme" ,hicolor-icon-theme)
6503 ("nautilus" ,nautilus)
6504 ("pinentry-gnome3" ,pinentry-gnome3)
6505 ("pulseaudio" ,pulseaudio)
6506 ("shared-mime-info" ,shared-mime-info)
6507 ("system-config-printer" ,system-config-printer)
6509 ("xdg-user-dirs" ,xdg-user-dirs)
6511 ("zenity" ,zenity)))
6512 (synopsis "The GNU desktop environment")
6513 (home-page "https://www.gnome.org/")
6515 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6516 applications for browsing the web, editing text and images, creating
6517 documents and diagrams, playing media, scanning, and much more.")
6518 (license license:gpl2+)))
6520 (define-public byzanz
6521 ;; The last stable release of Byzanz was in 2011, but there have been many
6522 ;; useful commits made to the Byzanz repository since then that it would be
6523 ;; silly to use such an old release.
6524 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6527 (version (string-append "0.2-1." (string-take commit 7)))
6531 (url "https://git.gnome.org/browse/byzanz")
6533 (file-name (string-append name "-" version "-checkout"))
6536 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6537 (build-system glib-or-gtk-build-system)
6540 (modify-phases %standard-phases
6543 ;; The build system cleverly detects that we're not building from
6544 ;; a release tarball and turns on -Werror for GCC.
6545 ;; Unsurprisingly, there is a warning during compilation that
6546 ;; causes the build to fail unnecessarily, so we remove the flag.
6547 (substitute* '("configure.ac")
6549 ;; The autogen.sh script in gnome-common will run ./configure
6550 ;; by default, which is problematic because source shebangs
6551 ;; have not yet been patched.
6552 (setenv "NOCONFIGURE" "t")
6553 (zero? (system* "sh" "autogen.sh")))))))
6555 `(("autoconf" ,autoconf)
6556 ("automake" ,automake)
6557 ("gnome-common" ,gnome-common)
6558 ("intltool" ,intltool)
6559 ("libtool" ,libtool)
6560 ("pkg-config" ,pkg-config)
6564 ("gstreamer" ,gstreamer)
6565 ("gst-plugins-base" ,gst-plugins-base)
6567 (synopsis "Desktop recording program")
6568 (description "Byzanz is a simple desktop recording program with a
6569 command-line interface. It can record part or all of an X display for a
6570 specified duration and save it as a GIF encoded animated image file.")
6571 (home-page "https://git.gnome.org/browse/byzanz")
6572 (license license:gpl2+))))
6574 (define-public gsound
6580 (uri (string-append "mirror://gnome/sources/" name "/"
6581 (version-major+minor version) "/"
6582 name "-" version ".tar.xz"))
6585 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6586 (build-system glib-or-gtk-build-system)
6588 `(("pkg-config" ,pkg-config)
6589 ("gobject-introspection" ,gobject-introspection)
6593 ("libcanberra" ,libcanberra)))
6594 (home-page "https://wiki.gnome.org/Projects/GSound")
6595 (synopsis "GObject wrapper for libcanberra")
6597 "GSound is a small library for playing system sounds. It's designed to be
6598 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6600 (license license:lgpl2.1+)))
6602 (define-public libzapojit
6608 (uri (string-append "mirror://gnome/sources/" name "/"
6609 (version-major+minor version) "/"
6610 name "-" version ".tar.xz"))
6613 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6614 (build-system gnu-build-system)
6616 `(("gobject-introspection" ,gobject-introspection)
6617 ("intltool" ,intltool)
6618 ("pkg-config" ,pkg-config)))
6620 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6621 ("json-glib" ,json-glib)
6623 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6624 (synopsis "Library for accessing SkyDrive and Hotmail")
6626 "Libzapojit is a GLib-based library for accessing online service APIs of
6627 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6628 (license license:lgpl2.1+)))
6630 (define-public gnome-clocks
6632 (name "gnome-clocks")
6636 (uri (string-append "mirror://gnome/sources/" name "/"
6637 (version-major+minor version) "/"
6638 name "-" version ".tar.xz"))
6641 "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl"))))
6642 (build-system meson-build-system)
6644 '(#:glib-or-gtk? #t))
6647 ("pkg-config" ,pkg-config)
6648 ("glib" ,glib "bin") ; for glib-compile-resources
6649 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6650 ("desktop-file-utils" ,desktop-file-utils)
6651 ("gettext" ,gettext-minimal)
6652 ("itstool" ,itstool)))
6657 ("geoclue" ,geoclue)
6658 ("geocode-glib" ,geocode-glib)
6659 ("libgweather" ,libgweather)
6660 ("gnome-desktop" ,gnome-desktop)))
6661 (home-page "https://wiki.gnome.org/Apps/Clocks")
6662 (synopsis "GNOME's clock application")
6664 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6665 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6666 (license license:gpl3+)))
6668 (define-public gnome-calendar
6670 (name "gnome-calendar")
6674 (uri (string-append "mirror://gnome/sources/" name "/"
6675 (version-major+minor version) "/"
6676 name "-" version ".tar.xz"))
6679 "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw"))))
6680 (build-system meson-build-system)
6683 ;; gnome-calendar has to be installed before the tests can be run
6684 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6687 `(("gettext" ,gettext-minimal)
6688 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6689 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6690 ("pkg-config" ,pkg-config)))
6692 `(("evolution-data-server" ,evolution-data-server)
6693 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6694 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6695 ("libdazzle" ,libdazzle)
6696 ("libedataserverui" ,evolution-data-server "libedataserverui")
6697 ("libgweather" ,libgweather)
6698 ("geoclue" ,geoclue)))
6699 (home-page "https://wiki.gnome.org/Apps/Calendar")
6700 (synopsis "GNOME's calendar application")
6702 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6703 desktop. It supports multiple calendars, month, week and year view.")
6704 (license license:gpl3+)))
6706 (define-public gnome-todo
6712 (uri (string-append "mirror://gnome/sources/" name "/"
6713 (version-major+minor version) "/"
6714 name "-" version ".tar.xz"))
6717 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
6718 (build-system meson-build-system)
6721 #:phases (modify-phases %standard-phases
6723 'install 'wrap-gnome-todo
6724 (lambda* (#:key inputs outputs #:allow-other-keys)
6725 (let ((out (assoc-ref outputs "out"))
6726 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6727 (python-path (getenv "PYTHONPATH")))
6728 (wrap-program (string-append out "/bin/gnome-todo")
6729 ;; XXX: gi plugins are broken.
6730 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6732 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6733 `("PYTHONPATH" ":" prefix (,python-path))))
6736 `(("gettext" ,gettext-minimal)
6737 ("gobject-introspection" ,gobject-introspection)
6738 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6739 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6740 ("pkg-config" ,pkg-config)))
6742 `(("rest" ,rest) ; For Todoist plugin
6743 ("json-glib" ,json-glib) ; For Todoist plugin
6744 ("libedataserverui" ,evolution-data-server "libedataserverui")
6745 ("libical" ,libical)
6746 ("libpeas" ,libpeas)
6747 ("python-pygobject" ,python-pygobject)
6748 ("evolution-data-server" ,evolution-data-server)
6749 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6750 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6751 (home-page "https://wiki.gnome.org/Apps/Todo")
6752 (synopsis "GNOME's ToDo Application")
6754 "GNOME To Do is a simplistic personal task manager designed to perfectly
6755 fit the GNOME desktop.")
6756 (license license:gpl3+)))
6758 (define-public gnome-dictionary
6760 (name "gnome-dictionary")
6764 (uri (string-append "mirror://gnome/sources/" name "/"
6765 (version-major+minor version) "/"
6766 name "-" version ".tar.xz"))
6769 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6770 (build-system meson-build-system)
6771 (arguments '(#:glib-or-gtk? #t
6772 #:phases (modify-phases %standard-phases
6773 (add-after 'unpack 'patch-install-script
6775 ;; This script attempts to compile glib schemas
6776 ;; and create an empty MIME database. We do
6777 ;; that elsewhere, so prevent it from running.
6778 (substitute* "build-aux/post-install.sh"
6779 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6782 `(("glib:bin" ,glib "bin")
6783 ("gobject-introspection" ,gobject-introspection)
6784 ("intltool" ,intltool)
6785 ("itstool" ,itstool)
6786 ("pkg-config" ,pkg-config)
6787 ("xmllint" ,libxml2)))
6789 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6791 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6792 (synopsis "Look up words in dictionary sources")
6794 "GNOME Dictionary can look for the definition or translation of a word in
6795 existing databases over the internet.")
6796 (license license:gpl3+)))
6798 (define-public gnome-tweaks
6800 (name "gnome-tweaks")
6804 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
6805 (version-major+minor version) "/"
6806 "gnome-tweaks-" version ".tar.xz"))
6808 (list (search-patch "gnome-tweaks-search-paths.patch")))
6811 "1p5xydr0haz4389h6dvvbna6i1mipdzvmlfksnv0jqfvfs9sy6fp"))))
6812 (build-system meson-build-system)
6815 #:configure-flags '("-Dlocalstatedir=/tmp"
6816 "-Dsysconfdir=/tmp")
6817 #:imported-modules ((guix build python-build-system)
6818 ,@%meson-build-system-modules)
6820 (modify-phases %standard-phases
6821 (add-after 'install 'wrap
6822 (@@ (guix build python-build-system) wrap))
6823 (add-after 'wrap 'wrap-gi-typelib
6824 (lambda* (#:key inputs outputs #:allow-other-keys)
6825 (let ((out (assoc-ref outputs "out"))
6826 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6827 (wrap-program (string-append out "/bin/gnome-tweaks")
6828 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6831 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6832 ("intltool" ,intltool)
6833 ("pkg-config" ,pkg-config)))
6835 `(("gnome-desktop" ,gnome-desktop)
6837 ("gobject-introspection" ,gobject-introspection)
6838 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6839 ("libnotify" ,libnotify)
6840 ("libsoup" ,libsoup)
6841 ("nautilus" ,nautilus)
6843 ("python-pygobject" ,python-pygobject)))
6844 (synopsis "Customize advanced GNOME 3 options")
6845 (home-page "https://wiki.gnome.org/Apps/Tweaks")
6847 "GNOME Tweaks allows adjusting advanced configuration settings in
6848 GNOME 3. This includes things like the fonts used in user interface elements,
6849 alternative user interface themes, changes in window management behavior,
6850 GNOME Shell appearance and extension, etc.")
6851 (license license:gpl3+)))
6853 ;; This package has been renamed by upstream.
6854 (define-public gnome-tweak-tool
6855 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
6857 (define-public gnome-shell-extensions
6859 (name "gnome-shell-extensions")
6863 (uri (string-append "mirror://gnome/sources/" name "/"
6864 (version-major+minor version) "/"
6865 name "-" version ".tar.xz"))
6868 "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9"))))
6869 (build-system meson-build-system)
6871 '(#:configure-flags '("-Dextension_set=all")))
6873 `(("intltool" ,intltool)
6874 ("pkg-config" ,pkg-config)))
6877 ("glib" ,glib "bin")))
6878 (synopsis "Extensions for GNOME Shell")
6879 (description "GNOME Shell extensions modify and extend GNOME Shell
6880 functionality and behavior.")
6881 (home-page "https://extensions.gnome.org/")
6882 (license license:gpl3+)))
6884 (define-public numix-theme
6886 (name "numix-theme")
6891 (url "https://github.com/numixproject/numix-gtk-theme.git")
6893 (file-name (git-file-name name version))
6896 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
6897 (build-system gnu-build-system)
6899 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
6901 (modify-phases %standard-phases
6905 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
6906 ("gnome-shell" ,gnome-shell)
6908 ("xmllint" ,libxml2)
6909 ("ruby-sass" ,ruby-sass)))
6910 (synopsis "Flat theme with light and dark elements")
6911 (description "Numix is a modern flat theme with a combination of light and
6912 dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
6913 (home-page "https://numixproject.github.io")
6914 (license license:gpl3+)))
6916 (define-public arc-theme
6919 (version "20181022")
6923 (url "https://github.com/NicoHood/arc-theme.git")
6925 (file-name (git-file-name name version))
6928 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
6929 (build-system gnu-build-system)
6932 (modify-phases %standard-phases
6933 ;; autogen.sh calls configure at the end of the script.
6935 (lambda _ (invoke "autoreconf" "-vfi"))))))
6937 `(("autoconf" ,autoconf)
6938 ("automake" ,automake)
6939 ("glib" ,glib "bin") ; for glib-compile-resources
6940 ("gnome-shell" ,gnome-shell)
6942 ("inkscape" ,inkscape)
6943 ("optipng" ,optipng)
6944 ("pkg-config" ,pkg-config)
6946 (synopsis "A flat GTK+ theme with transparent elements")
6947 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6948 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6949 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6950 (home-page "https://github.com/horst3180/arc-theme")
6951 ;; No "or later" language found.
6952 (license license:gpl3+)))
6954 (define-public faba-icon-theme
6956 (name "faba-icon-theme")
6961 (uri (string-append "https://github.com/moka-project/"
6962 name "/archive/v" version ".tar.gz"))
6963 (file-name (string-append name "-" version ".tar.gz"))
6966 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
6967 (build-system meson-build-system)
6970 (modify-phases %standard-phases
6971 (add-before 'configure 'disable-post-install
6973 (substitute* "meson.build"
6974 (("meson.add_install_script.*") "")))))))
6976 `(("autoconf" ,autoconf)
6977 ("automake" ,automake)))
6978 (synopsis "Faba icon theme")
6980 "Faba is a minimal icon set used as a basis for other themes such as
6982 (home-page "https://snwh.org/moka")
6983 (license (list license:lgpl3+
6984 license:cc-by-sa4.0))))
6986 (define-public moka-icon-theme
6988 (inherit faba-icon-theme)
6989 (name "moka-icon-theme")
6993 (uri (string-append "https://github.com/moka-project"
6994 "/moka-icon-theme/archive/v"
6996 (file-name (string-append name "-" version ".tar.gz"))
6999 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
7001 ;; Moka is based on Faba by using it as a fallback icon set instead of
7002 ;; bundling it, so we need to add it as a propagated input.
7003 `(("faba-icon-theme" ,faba-icon-theme)))
7004 (synopsis "Moka icon theme")
7005 (description "Moka is a stylized desktop icon set, designed to be clear,
7006 simple and consistent.")
7007 (license (list license:gpl3+
7008 license:cc-by-sa4.0))))
7010 (define-public arc-icon-theme
7012 (name "arc-icon-theme")
7013 (version "20161122")
7016 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7017 "/archive/" version ".tar.gz"))
7018 (file-name (string-append name "-" version ".tar.gz"))
7021 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
7022 (build-system gnu-build-system)
7025 (modify-phases %standard-phases
7026 (add-after 'unpack 'disable-configure-during-bootstrap
7028 (substitute* "autogen.sh"
7029 (("^\"\\$srcdir/configure\".*") ""))
7032 `(("autoconf" ,autoconf)
7033 ("automake" ,automake)))
7034 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7036 `(("moka-icon-theme" ,moka-icon-theme)))
7037 (synopsis "Arc icon theme")
7038 (description "The Arc icon theme provides a set of icons matching the
7039 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7040 the Moka icon theme.")
7041 (home-page "https://github.com/horst3180/arc-icon-theme")
7042 (license license:gpl3+)))
7044 (define-public folks
7051 "mirror://gnome/sources/folks/"
7052 (version-major+minor version) "/"
7053 "folks-" version ".tar.xz"))
7056 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
7057 (build-system glib-or-gtk-build-system)
7060 ("dbus-glib" ,dbus-glib)
7061 ("evolution-data-server" ,evolution-data-server)
7064 ("telepathy-glib" ,telepathy-glib)))
7066 `(("gobject-introspection" ,gobject-introspection)
7067 ("intltool" ,intltool)
7068 ("pkg-config" ,pkg-config)
7070 (synopsis "Library to aggregate data about people")
7071 (description "Libfolks is a library that aggregates information about people
7072 from multiple sources (e.g., Telepathy connection managers for IM contacts,
7073 Evolution Data Server for local contacts, libsocialweb for web service contacts,
7074 etc.) to create metacontacts. It's written in Vala, which generates C code when
7076 (home-page "https://wiki.gnome.org/Projects/Folks")
7077 (license license:lgpl2.1+)))
7079 (define-public gfbgraph
7086 "mirror://gnome/sources/" name "/"
7087 (version-major+minor version) "/"
7088 name "-" version ".tar.xz"))
7091 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7092 (build-system glib-or-gtk-build-system)
7094 `(#:tests? #f ; Tests appear to require the network.
7095 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7096 #:configure-flags '("--disable-gtk-doc"
7098 "--enable-introspection")))
7100 `(("pkg-config" ,pkg-config)
7101 ("gobject-introspection" ,gobject-introspection)))
7103 `(("json-glib" ,json-glib)
7104 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7106 (synopsis "GLib/GObject wrapper for the Facebook API")
7107 (description "This library allows you to use the Facebook API from
7108 GLib/GObject code.")
7109 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7110 (license license:lgpl2.1+)))
7112 (define-public libgnomekbd
7114 (name "libgnomekbd")
7118 (uri (string-append "mirror://gnome/sources/" name "/"
7119 (version-major+minor version) "/"
7120 name "-" version ".tar.xz"))
7123 "0xc8jrc44x2h24v28wv36k70k7bwxy6p2vsvxvvia1n3ay642fza"))))
7124 (build-system gnu-build-system)
7126 `(("pkg-config" ,pkg-config)
7127 ("glib" ,glib "bin")
7128 ("intltool" ,intltool)))
7130 ;; Referred to in .h files and .pc.
7133 ("libxklavier" ,libxklavier)))
7134 (home-page "https://www.gnome.org")
7135 (synopsis "GNOME keyboard configuration library")
7137 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7138 environment, which can notably display keyboard layouts.")
7139 (license license:lgpl2.0+)))
7141 ;;; This package is no longer maintained:
7142 ;;; https://wiki.gnome.org/Attic/LibUnique
7143 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7144 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7145 (define-public libunique
7151 (uri (string-append "mirror://gnome/sources/" name "/"
7152 (version-major+minor version) "/"
7153 name "-" version ".tar.xz"))
7156 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7157 (build-system glib-or-gtk-build-system)
7159 `(#:configure-flags '("--disable-static"
7160 "--disable-dbus" ; use gdbus
7161 "--enable-introspection")))
7163 `(("pkg-config" ,pkg-config)
7164 ("gobject-introspection" ,gobject-introspection)
7165 ("glib:bin" ,glib "bin")
7166 ("gtk-doc" ,gtk-doc)))
7168 ;; Referred to in .h files and .pc.
7170 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7171 (synopsis "Library for writing single instance applications")
7173 "Libunique is a library for writing single instance applications. If you
7174 launch a single instance application twice, the second instance will either just
7175 quit or will send a message to the running instance. Libunique makes it easy to
7176 write this kind of application, by providing a base class, taking care of all
7177 the IPC machinery needed to send messages to a running instance, and also
7178 handling the startup notification side.")
7179 (license license:lgpl2.1+)))
7181 (define-public gnome-calculator
7183 (name "gnome-calculator")
7188 (uri (string-append "mirror://gnome/sources/" name "/"
7189 (version-major+minor version) "/"
7190 name "-" version ".tar.xz"))
7193 "0izsrqc9fm2lh25jr3nzi94p5hh2d3cklxqczbq16by85wr1xm5s"))))
7194 (build-system glib-or-gtk-build-system)
7196 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7197 ("intltool" ,intltool)
7198 ("itstool" ,itstool)
7199 ("pkg-config" ,pkg-config)))
7202 ("gtksourceview" ,gtksourceview-3)
7203 ("libsoup" ,libsoup)
7204 ("libxml2" ,libxml2)
7207 (home-page "https://wiki.gnome.org/Apps/Calculator")
7208 (synopsis "Desktop calculator")
7210 "Calculator is an application that solves mathematical equations and
7211 is suitable as a default application in a Desktop environment.")
7212 (license license:gpl3)))
7221 (uri (string-append "https://launchpad.net/xpad/trunk/"
7222 version "/+download/"
7223 name "-" version ".tar.bz2"))
7226 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
7227 (build-system gnu-build-system)
7229 `(("autoconf" ,autoconf)
7230 ("automake" ,automake)
7231 ("gtk+:bin" ,gtk+ "bin")
7232 ("intltool" ,intltool)
7233 ("pkg-config" ,pkg-config)))
7235 `(("gtksourceview" ,gtksourceview)
7237 (home-page "https://wiki.gnome.org/Apps/Xpad")
7238 (synopsis "Virtual sticky note")
7240 "Xpad is a sticky note that strives to be simple, fault tolerant,
7241 and customizable. Xpad consists of independent pad windows, each is
7242 basically a text box in which notes can be written.")
7243 (license license:gpl3+)))
7245 (define-public gucharmap
7246 (let ((unicode-files
7248 "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
7250 "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
7252 "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
7254 "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
7256 "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
7258 "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
7265 (uri (string-append "mirror://gnome/sources/" name "/"
7266 (version-major+minor version) "/"
7267 name "-" version ".tar.xz"))
7270 "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
7271 (build-system glib-or-gtk-build-system)
7273 `(#:modules ((ice-9 match)
7274 (guix build glib-or-gtk-build-system)
7277 (list "--with-unicode-data=../unicode-data")
7279 (modify-phases %standard-phases
7280 (add-after 'unpack 'prepare-unicode-data
7281 (lambda* (#:key inputs #:allow-other-keys)
7282 (mkdir-p "../unicode-data")
7283 (with-directory-excursion "../unicode-data"
7284 (for-each (match-lambda
7286 (install-file (assoc-ref inputs file) ".")))
7290 `(("desktop-file-utils" ,desktop-file-utils)
7291 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7292 ("gobject-introspection" ,gobject-introspection)
7293 ("intltool" ,intltool)
7294 ("itstool" ,itstool)
7295 ("pkg-config" ,pkg-config)
7296 ,@(map (match-lambda
7302 "http://www.unicode.org/Public/10.0.0/ucd/"
7304 (sha256 (base32 hash))))))
7309 ("xmllint" ,libxml2)))
7310 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7311 (synopsis "Unicode character picker and font browser")
7313 "This program allows you to browse through all the available Unicode
7314 characters and categories for the installed fonts, and to examine their
7315 detailed properties. It is an easy way to find the character you might
7316 only know by its Unicode name or code point.")
7317 (license license:gpl3+))))
7319 (define-public bluefish
7326 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7327 name "-" version ".tar.gz"))
7330 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
7331 (build-system gnu-build-system)
7333 `(("desktop-file-utils" ,desktop-file-utils)
7334 ("intltool" ,intltool)
7335 ("pkg-config" ,pkg-config)))
7337 `(("enchant" ,enchant)
7339 ("python" ,python-2)
7340 ("xmllint" ,libxml2)
7341 ("gucharmap" ,gucharmap)))
7342 (home-page "http://bluefish.openoffice.nl")
7343 (synopsis "Web development studio")
7345 "Bluefish is an editor targeted towards programmers and web developers,
7346 with many options to write web sites, scripts and other code.
7347 Bluefish supports many programming and markup languages.")
7348 (license license:gpl3+)))
7350 (define-public gnome-system-monitor
7352 (name "gnome-system-monitor")
7357 (uri (string-append "mirror://gnome/sources/" name "/"
7358 (version-major+minor version) "/"
7359 name "-" version ".tar.xz"))
7362 "164in885dyfvna5yjzgdyrbrsskvh5wzxdmkjgb4mbh54lzqd1zb"))))
7363 (build-system glib-or-gtk-build-system)
7365 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
7366 ("intltool" ,intltool)
7367 ("itstool" ,itstool)
7368 ("libgtop" ,libgtop)
7370 ("pkg-config" ,pkg-config)))
7372 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7375 ("librsvg" ,librsvg)
7376 ("libxml2" ,libxml2)
7377 ("libwnck" ,libwnck)))
7378 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7379 (synopsis "Process viewer and system resource monitor for GNOME")
7381 "GNOME System Monitor is a GNOME process viewer and system monitor with
7382 an attractive, easy-to-use interface. It has features, such as a tree view
7383 for process dependencies, icons for processes, the ability to hide processes,
7384 graphical time histories of CPU/memory/swap usage and the ability to
7385 kill/reinice processes.")
7386 (license license:gpl2+)))
7388 (define-public python-pyatspi
7390 (name "python-pyatspi")
7395 "mirror://gnome/sources/pyatspi/"
7396 (version-major+minor version)
7397 "/pyatspi-" version ".tar.xz"))
7400 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))))
7401 (build-system gnu-build-system)
7403 `(("pkg-config" ,pkg-config)))
7405 `(("python" ,python)
7406 ("python-pygobject" ,python-pygobject)))
7407 (synopsis "Python client bindings for D-Bus AT-SPI")
7408 (home-page "https://wiki.linuxfoundation.org/accessibility\
7409 /atk/at-spi/at-spi_on_d-bus")
7411 "This package includes a python client library for the AT-SPI D-Bus
7412 accessibility infrastructure.")
7413 (license license:lgpl2.0)
7414 (properties '((upstream-name . "pyatspi")))))
7423 "mirror://gnome/sources/" name "/"
7424 (version-major+minor version) "/"
7425 name "-" version ".tar.xz"))
7428 "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g"))))
7429 (build-system glib-or-gtk-build-system)
7432 (modify-phases %standard-phases
7433 (add-before 'configure 'qualify-xkbcomp
7434 (lambda* (#:key inputs #:allow-other-keys)
7435 (let ((xkbcomp (string-append
7436 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7437 (substitute* "src/orca/orca.py"
7438 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7440 (add-after 'install 'wrap-orca
7441 (lambda* (#:key outputs #:allow-other-keys)
7442 (let* ((out (assoc-ref outputs "out"))
7443 (prog (string-append out "/bin/orca")))
7445 `("GI_TYPELIB_PATH" ":" prefix
7446 (,(getenv "GI_TYPELIB_PATH")))
7447 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7448 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7449 `("PYTHONPATH" ":" prefix
7450 (,(getenv "PYTHONPATH")))))
7453 `(("intltool" ,intltool)
7454 ("itstool" ,itstool)
7455 ("pkg-config" ,pkg-config)
7456 ("xmllint" ,libxml2)))
7458 `(("at-spi2-atk" ,at-spi2-atk)
7459 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7460 ("gstreamer" ,gstreamer)
7461 ("gst-plugins-base" ,gst-plugins-base)
7462 ("gst-plugins-good" ,gst-plugins-good)
7465 ("python-pygobject" ,python-pygobject)
7466 ("python-pyatspi" ,python-pyatspi)
7467 ("python-speechd" ,speech-dispatcher)
7468 ("xkbcomp" ,xkbcomp)))
7470 "Screen reader for individuals who are blind or visually impaired")
7471 (home-page "https://wiki.gnome.org/Projects/Orca")
7473 "Orca is a screen reader that provides access to the graphical desktop
7474 via speech and refreshable braille. Orca works with applications and toolkits
7475 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7476 (license license:lgpl2.1+)))
7478 (define-public gspell
7484 (uri (string-append "mirror://gnome/sources/" name "/"
7485 (version-major+minor version) "/"
7486 name "-" version ".tar.xz"))
7489 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
7490 (patches (search-patches "gspell-dash-test.patch"))))
7491 (build-system glib-or-gtk-build-system)
7494 (modify-phases %standard-phases
7495 (add-before 'check 'pre-check
7496 (lambda* (#:key inputs #:allow-other-keys)
7497 ;; Tests require a running X server.
7498 (system "Xvfb :1 &")
7499 (setenv "DISPLAY" ":1")
7501 ;; For the missing /etc/machine-id.
7502 (setenv "DBUS_FATAL_WARNINGS" "0")
7504 ;; Allow Enchant and its Aspell backend to find the en_US
7506 (setenv "ASPELL_DICT_DIR"
7507 (string-append (assoc-ref inputs "aspell-dict-en")
7513 ("iso-codes" ,iso-codes)))
7515 `(("glib" ,glib "bin")
7516 ("pkg-config" ,pkg-config)
7517 ("xmllint" ,libxml2)
7520 ("aspell-dict-en" ,aspell-dict-en)
7521 ("xorg-server" ,xorg-server)))
7523 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7524 (home-page "https://wiki.gnome.org/Projects/gspell")
7525 (synopsis "GNOME's alternative spell checker")
7527 "gspell provides a flexible API to add spell-checking to a GTK+
7528 application. It provides a GObject API, spell-checking to text entries and
7529 text views, and buttons to choose the language.")
7530 (license license:gpl2+)))
7532 (define-public gnome-planner
7534 (name "gnome-planner")
7538 (uri (string-append "mirror://gnome/sources/planner/"
7539 (version-major+minor version) "/planner-"
7543 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7544 (build-system glib-or-gtk-build-system)
7546 ;; Disable the Python bindings because the Planner program functions
7547 ;; without them, and (as of 2017-06-13) we have not packaged all of
7548 ;; packages that are necessary for building the Python bindings.
7550 (list "--disable-python"
7551 ,@(if (string=? "aarch64-linux" (%current-system))
7552 '("--build=aarch64-unknown-linux-gnu")
7555 `(("libgnomecanvas" ,libgnomecanvas)
7556 ("libgnomeui" ,libgnomeui)
7557 ("libglade" ,libglade)
7558 ("gnome-vfs" ,gnome-vfs)
7560 ("libxml2" ,libxml2)
7561 ("libxslt" ,libxslt)
7565 `(("intltool" ,intltool)
7566 ("scrollkeeper" ,scrollkeeper)
7567 ("pkg-config" ,pkg-config)))
7568 (home-page "https://wiki.gnome.org/Apps/Planner")
7569 (synopsis "Project management software for the GNOME desktop")
7571 "GNOME Planner is a project management tool based on the Work Breakdown
7572 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7573 the resources, tasks, and constraints that you define, Planner generates
7574 various views into a project. For example, Planner can show a Gantt chart of
7575 the project. It can show a detailed summary of tasks including their
7576 duration, cost, and current progress. It can also show a report of resource
7577 utilization that highlights under-utilized and over-utilized resources. These
7578 views can be printed as PDF or PostScript files, or exported to HTML.")
7579 (license license:gpl2+)))
7581 (define-public lollypop
7588 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7589 "e4df2ed75c5ed71d64afcc668e579b2a/"
7590 name "-" version ".tar.xz"))
7593 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
7594 (build-system meson-build-system)
7596 `(#:imported-modules ((guix build python-build-system)
7597 ,@%meson-build-system-modules)
7599 #:tests? #f ; no test suite
7601 (modify-phases %standard-phases
7602 (add-after 'install 'wrap-program
7603 (lambda* (#:key outputs #:allow-other-keys)
7604 (let ((out (assoc-ref outputs "out"))
7605 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7606 (wrap-program (string-append out "/bin/lollypop")
7607 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7609 (add-after 'install 'wrap
7610 (@@ (guix build python-build-system) wrap)))))
7612 `(("intltool" ,intltool)
7613 ("itstool" ,itstool)
7614 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7615 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7616 ("pkg-config" ,pkg-config)))
7618 `(("gobject-introspection" ,gobject-introspection)
7619 ("gst-plugins-base" ,gst-plugins-base)
7620 ("libnotify" ,libnotify)
7621 ("libsecret" ,libsecret)
7622 ("libsoup" ,libsoup)
7624 ("python-beautifulsoup4" ,python-beautifulsoup4)
7625 ("python-gst" ,python-gst)
7626 ("python-pycairo" ,python-pycairo)
7627 ("python-pygobject" ,python-pygobject)
7628 ("python-pylast" ,python-pylast)
7629 ("totem-pl-parser" ,totem-pl-parser)
7630 ("webkitgtk" ,webkitgtk)))
7632 `(;; gst-plugins-base is required to start Lollypop,
7633 ;; the others are required to play streaming.
7634 ("gst-plugins-good" ,gst-plugins-good)
7635 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7636 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7637 (synopsis "GNOME music playing application")
7639 "Lollypop is a music player designed to play well with GNOME desktop.
7640 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7641 from artists and tracks from the web. It also fetches cover artworks
7642 automatically and it can stream songs from online music services and charts.")
7643 (license license:gpl3+)))
7645 (define-public gnome-video-effects
7647 (name "gnome-video-effects")
7651 (uri (string-append "mirror://gnome/sources/" name "/"
7652 (version-major+minor version) "/" name "-"
7656 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7657 (build-system glib-or-gtk-build-system)
7659 `(#:out-of-source? #f))
7661 `(("glib:bin" ,glib "bin")
7662 ("intltool" ,intltool)
7663 ("gettext" ,gettext-minimal)
7664 ("pkg-config" ,pkg-config)))
7665 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7666 (synopsis "Video effects for Cheese and other GNOME applications")
7668 "A collection of GStreamer video filters and effects to be used in
7669 photo-booth-like software, such as Cheese.")
7670 (license license:gpl2+)))
7672 (define-public cheese
7678 (uri (string-append "mirror://gnome/sources/" name "/"
7679 (version-major+minor version) "/" name "-"
7683 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
7685 ;; Tests require GDK.
7688 (modify-phases %standard-phases
7689 (add-before 'install 'skip-gtk-update-icon-cache
7691 ;; Don't create 'icon-theme.cache'
7692 (substitute* "Makefile"
7693 (("gtk-update-icon-cache") (which "true")))
7695 (add-after 'install 'wrap-cheese
7696 (lambda* (#:key inputs outputs #:allow-other-keys)
7697 (let ((out (assoc-ref outputs "out"))
7698 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7699 (wrap-program (string-append out "/bin/cheese")
7700 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7702 (build-system glib-or-gtk-build-system)
7704 `(("glib:bin" ,glib "bin")
7705 ("intltool" ,intltool)
7706 ("itstool" ,itstool)
7707 ("libxml2" ,libxml2)
7708 ("pkg-config" ,pkg-config)
7711 `(("gnome-video-effects" ,gnome-video-effects)
7712 ("clutter" ,clutter)
7713 ("clutter-gst" ,clutter-gst)
7714 ("clutter-gtk" ,clutter-gtk)
7715 ("libcanberra" ,libcanberra)
7716 ("gdk-pixbuf" ,gdk-pixbuf)
7718 ("gstreamer" ,gstreamer)))
7720 `(("gnome-desktop" ,gnome-desktop)
7721 ("gobject-introspection" ,gobject-introspection)
7722 ("gst-plugins-base" ,gst-plugins-base)
7723 ("gst-plugins-bad" ,gst-plugins-bad)
7726 ("libxtst" ,libxtst)))
7727 (home-page "https://wiki.gnome.org/Apps/Cheese")
7728 (synopsis "Webcam photo booth software for GNOME")
7730 "Cheese uses your webcam to take photos and videos. Cheese can also
7731 apply fancy special effects and lets you share the fun with others.")
7732 (license license:gpl2+)))
7734 (define-public sound-juicer
7736 (name "sound-juicer")
7741 (uri (string-append "mirror://gnome/sources/" name "/"
7742 (version-major+minor version) "/"
7743 name "-" version ".tar.xz"))
7746 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7747 (build-system glib-or-gtk-build-system)
7749 `(("desktop-file-utils" ,desktop-file-utils)
7750 ("intltool" ,intltool)
7751 ("itstool" ,itstool)
7752 ("pkg-config" ,pkg-config)
7753 ("xmllint" ,libxml2)))
7756 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7757 ("gstreamer" ,gstreamer)
7758 ("gst-plugins-base" ,gst-plugins-base)
7759 ("gst-plugins-good" ,gst-plugins-good)
7760 ("iso-codes" ,iso-codes)
7761 ("libbrasero-media3" ,brasero)
7762 ("libcanberra" ,libcanberra)
7763 ("libdiscid" ,libdiscid)
7764 ("libmusicbrainz" ,libmusicbrainz)
7766 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7767 (synopsis "Audio music cd ripper")
7768 (description "Sound Juicer extracts audio from compact discs and convert it
7769 into audio files that a personal computer or digital audio player can play.
7770 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7771 mp3, Ogg Vorbis and FLAC")
7772 (license license:gpl2+)))
7774 (define-public soundconverter
7776 (name "soundconverter")
7781 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7782 version "/+download/"
7783 "soundconverter-" version ".tar.xz"))
7786 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
7789 "soundconverter-remove-gconf-dependency.patch"))))
7790 (build-system glib-or-gtk-build-system)
7792 `(#:imported-modules ((guix build python-build-system)
7793 (guix build glib-or-gtk-build-system)
7794 ,@%gnu-build-system-modules)
7796 #:modules ((guix build glib-or-gtk-build-system)
7798 ((guix build gnu-build-system) #:prefix gnu:)
7799 ((guix build python-build-system) #:prefix python:))
7802 (modify-phases %standard-phases
7803 (add-after 'install 'wrap-soundconverter-for-python
7804 (assoc-ref python:%standard-phases 'wrap))
7805 (add-after 'install 'wrap-soundconverter
7806 (lambda* (#:key inputs outputs #:allow-other-keys)
7807 (let ((out (assoc-ref outputs "out"))
7808 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7809 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7810 (wrap-program (string-append out "/bin/soundconverter")
7811 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7812 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7815 `(("intltool" ,intltool)
7816 ("pkg-config" ,pkg-config)
7817 ("glib:bin" ,glib "bin")))
7821 ("python-pygobject" ,python-pygobject)
7822 ("gstreamer" ,gstreamer)
7823 ("gst-plugins-base" ,gst-plugins-base)))
7824 (home-page "http://soundconverter.org/")
7825 (synopsis "Convert between audio formats with a graphical interface")
7827 "SoundConverter supports converting between many audio formats including
7828 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7829 configurable file renaming. ")
7830 (license license:gpl3)))
7832 (define-public workrave
7840 (url "https://github.com/rcaelers/workrave.git")
7841 (commit (string-append "v" (string-map
7842 (match-lambda (#\. #\_) (chr chr))
7844 (file-name (git-file-name name version))
7846 (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw"))))
7847 (build-system glib-or-gtk-build-system)
7848 (propagated-inputs `(("glib" ,glib)
7850 ("gdk-pixbuf" ,gdk-pixbuf)
7854 ("libxtst" ,libxtst)
7856 ("libice" ,libice)))
7857 (inputs `(("libsm" ,libsm)
7858 ("python-cheetah" ,python2-cheetah)))
7859 (native-inputs `(("glib" ,glib "bin")
7860 ("pkg-config" ,pkg-config)
7861 ("gettext" ,gnu-gettext)
7862 ("autoconf" ,autoconf)
7863 ("autoconf-archive" , autoconf-archive)
7864 ("automake" ,automake)
7865 ("libtool" ,libtool)
7866 ("intltool" ,intltool)
7867 ("libxscrnsaver" ,libxscrnsaver)
7868 ("gobject-introspection" ,gobject-introspection)
7869 ("python2" ,python-2)))
7870 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7872 "Workrave is a program that assists in the recovery and prevention of
7873 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7874 micro-pauses and rest breaks, and restricts you to your daily limit.")
7875 (home-page "http://www.workrave.org")
7876 (license license:gpl3+)))
7884 (uri (string-append "mirror://gnome/sources/ghex/"
7885 (version-major+minor version) "/"
7886 "ghex-" version ".tar.xz"))
7889 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7890 (build-system glib-or-gtk-build-system)
7892 `(("pkg-config" ,pkg-config)
7893 ("gnome-common" ,gnome-common)
7895 ("intltool" ,intltool)
7896 ("yelp-tools" ,yelp-tools)
7897 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
7901 (synopsis "GNOME hexadecimal editor")
7902 (description "The GHex program can view and edit files in two ways:
7903 hexadecimal or ASCII. It is useful for editing binary files in general.")
7904 (home-page "https://wiki.gnome.org/Apps/Ghex")
7905 (license license:gpl2)))
7907 (define-public libdazzle
7913 (uri (string-append "mirror://gnome/sources/libdazzle/"
7914 (version-major+minor version) "/"
7915 "libdazzle-" version ".tar.xz"))
7918 "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg"))))
7919 (build-system meson-build-system)
7922 (modify-phases %standard-phases
7923 (add-after 'unpack 'disable-failing-test
7925 ;; Disable failing test.
7926 (substitute* "tests/meson.build"
7927 (("test\\('test-application") "#"))
7929 (add-before 'check 'pre-check
7931 ;; Tests require a running X server.
7932 (system "Xvfb :1 &")
7933 (setenv "DISPLAY" ":1")
7936 `(("glib" ,glib "bin") ; glib-compile-resources
7937 ("pkg-config" ,pkg-config)
7939 ("xorg-server" ,xorg-server)))
7942 ("gobject-introspection" ,gobject-introspection)
7945 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7946 (synopsis "Companion library to GObject and Gtk+")
7947 (description "The libdazzle library is a companion library to GObject and
7948 Gtk+. It provides various features that the authors wish were in the
7949 underlying library but cannot for various reasons. In most cases, they are
7950 wildly out of scope for those libraries. In other cases, they are not quite
7951 generic enough to work for everyone.")
7952 (license license:gpl3+)))
7954 (define-public evolution
7960 (uri (string-append "mirror://gnome/sources/evolution/"
7961 (version-major+minor version) "/"
7962 "evolution-" version ".tar.xz"))
7965 "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
7966 (build-system cmake-build-system)
7969 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
7970 "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
7971 ; in four years and cannot be built.
7973 `(("glib" ,glib "bin") ; glib-mkenums
7974 ("pkg-config" ,pkg-config)
7975 ("intltool" ,intltool)
7976 ("itstool" ,itstool)))
7978 `(("enchant" ,enchant)
7979 ("evolution-data-server" ,evolution-data-server) ; must be the same version
7981 ("gnome-autoar" ,gnome-autoar)
7982 ("gnome-desktop" ,gnome-desktop)
7983 ("gtkspell3" ,gtkspell3)
7984 ("highlight" ,highlight)
7985 ("libcanberra" ,libcanberra)
7986 ("libedataserverui" ,evolution-data-server "libedataserverui")
7987 ("libgweather" ,libgweather)
7988 ("libnotify" ,libnotify)
7989 ("libsoup" ,libsoup)
7991 ("openldap" ,openldap)
7992 ("webkitgtk" ,webkitgtk)
7994 (home-page "https://gitlab.gnome.org/GNOME/evolution")
7995 (synopsis "Manage your email, contacts and schedule")
7996 (description "Evolution is a personal information management application
7997 that provides integrated mail, calendaring and address book
7999 ;; See COPYING for details.
8000 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
8001 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
8002 license:lgpl2.1+)))) ; smime/lib/*
8004 (define-public gthumb
8010 (uri (string-append "mirror://gnome/sources/gthumb/"
8011 (version-major+minor version) "/"
8012 "gthumb-" version ".tar.xz"))
8015 "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f"))))
8016 (build-system meson-build-system)
8020 ;; Ensure the RUNPATH contains all installed library locations.
8021 (list (string-append "-Dc_link_args=-Wl,-rpath="
8022 (assoc-ref %outputs "out")
8023 "/lib/gthumb/extensions")
8024 (string-append "-Dcpp_link_args=-Wl,-rpath="
8025 (assoc-ref %outputs "out")
8026 "/lib/gthumb/extensions"))))
8028 `(("pkg-config" ,pkg-config)
8029 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8030 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8031 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8032 ("intltool" ,intltool)
8033 ("itstool" ,itstool)))
8037 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8038 ("gstreamer" ,gstreamer)
8039 ("clutter" ,clutter)
8040 ("clutter-gst" ,clutter-gst)
8041 ("clutter-gtk" ,clutter-gtk)
8042 ("libjpeg" ,libjpeg)
8043 ("libtiff" ,libtiff)
8044 ("libraw" ,libraw)))
8045 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8046 (synopsis "GNOME image viewer and browser")
8047 (description "GThumb is an image viewer, browser, organizer, editor and
8048 advanced image management tool")
8049 (license license:gpl2+)))
8051 (define-public terminator
8057 (uri (string-append "https://launchpad.net/" name "/"
8058 "gtk3/" version "/" "+download/"
8059 name "-" version ".tar.gz"))
8062 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8063 (build-system python-build-system)
8065 `(("intltool" ,intltool)
8066 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8067 ("gettext" ,gettext-minimal)
8068 ("pkg-config" ,pkg-config)))
8071 ("gobject-introspection" ,gobject-introspection)
8072 ("python2-pycairo" ,python2-pycairo)
8073 ("python2-pygobject" ,python2-pygobject)
8074 ("python2-psutil" ,python2-psutil)
8077 `(#:python ,python-2 ;Python 3 not supported
8079 (modify-phases %standard-phases
8081 'install 'wrap-program
8082 (lambda* (#:key outputs #:allow-other-keys)
8083 (let ((prog (string-append (assoc-ref outputs "out")
8084 "/bin/terminator")))
8086 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8087 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8089 (home-page "https://gnometerminator.blogspot.com/")
8090 (synopsis "Store and run multiple GNOME terminals in one window")
8092 "Terminator allows you to run multiple GNOME terminals in a grid and
8093 +tabs, and it supports drag and drop re-ordering of terminals.")
8094 (license license:gpl2)))