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 <brendan.tildesley@openmailbox.org>
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>
39 ;;; This file is part of GNU Guix.
41 ;;; GNU Guix is free software; you can redistribute it and/or modify it
42 ;;; under the terms of the GNU General Public License as published by
43 ;;; the Free Software Foundation; either version 3 of the License, or (at
44 ;;; your option) any later version.
46 ;;; GNU Guix is distributed in the hope that it will be useful, but
47 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
48 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49 ;;; GNU General Public License for more details.
51 ;;; You should have received a copy of the GNU General Public License
52 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
54 (define-module (gnu packages gnome)
55 #:use-module (gnu packages)
56 #:use-module (gnu packages admin)
57 #:use-module (gnu packages aspell)
58 #:use-module (gnu packages autotools)
59 #:use-module (gnu packages avahi)
60 #:use-module (gnu packages backup)
61 #:use-module (gnu packages base)
62 #:use-module (gnu packages bash)
63 #:use-module (gnu packages bison)
64 #:use-module (gnu packages build-tools)
65 #:use-module (gnu packages calendar)
66 #:use-module (gnu packages cdrom)
67 #:use-module (gnu packages check)
68 #:use-module (gnu packages cmake)
69 #:use-module (gnu packages compression)
70 #:use-module (gnu packages cups)
71 #:use-module (gnu packages curl)
72 #:use-module (gnu packages cyrus-sasl)
73 #:use-module (gnu packages databases)
74 #:use-module (gnu packages dbm)
75 #:use-module (gnu packages djvu)
76 #:use-module (gnu packages dns)
77 #:use-module (gnu packages docbook)
78 #:use-module (gnu packages documentation)
79 #:use-module (gnu packages enchant)
80 #:use-module (gnu packages flex)
81 #:use-module (gnu packages fonts)
82 #:use-module (gnu packages fontutils)
83 #:use-module (gnu packages freedesktop)
84 #:use-module (gnu packages game-development)
85 #:use-module (gnu packages gcc)
86 #:use-module (gnu packages gettext)
87 #:use-module (gnu packages ghostscript)
88 #:use-module (gnu packages gl)
89 #:use-module (gnu packages glib)
90 #:use-module (gnu packages gnupg)
91 #:use-module (gnu packages gnuzilla)
92 #:use-module (gnu packages gperf)
93 #:use-module (gnu packages graphviz)
94 #:use-module (gnu packages gstreamer)
95 #:use-module (gnu packages gtk)
96 #:use-module (gnu packages guile)
97 #:use-module (gnu packages ibus)
98 #:use-module (gnu packages image)
99 #:use-module (gnu packages imagemagick)
100 #:use-module (gnu packages inkscape)
101 #:use-module (gnu packages iso-codes)
102 #:use-module (gnu packages kerberos)
103 #:use-module (gnu packages libcanberra)
104 #:use-module (gnu packages libunistring)
105 #:use-module (gnu packages libusb)
106 #:use-module (gnu packages linux)
107 #:use-module (gnu packages lirc)
108 #:use-module (gnu packages lua)
109 #:use-module (gnu packages mail)
110 #:use-module (gnu packages multiprecision)
111 #:use-module (gnu packages music)
112 #:use-module (gnu packages ncurses)
113 #:use-module (gnu packages nettle)
114 #:use-module (gnu packages networking)
115 #:use-module (gnu packages ninja)
116 #:use-module (gnu packages nss)
117 #:use-module (gnu packages openldap)
118 #:use-module (gnu packages password-utils)
119 #:use-module (gnu packages pcre)
120 #:use-module (gnu packages pdf)
121 #:use-module (gnu packages perl)
122 #:use-module (gnu packages photo)
123 #:use-module (gnu packages pkg-config)
124 #:use-module (gnu packages polkit)
125 #:use-module (gnu packages popt)
126 #:use-module (gnu packages pretty-print)
127 #:use-module (gnu packages pulseaudio)
128 #:use-module (gnu packages python)
129 #:use-module (gnu packages python-crypto)
130 #:use-module (gnu packages python-web)
131 #:use-module (gnu packages python-xyz)
132 #:use-module (gnu packages rdesktop)
133 #:use-module (gnu packages readline)
134 #:use-module (gnu packages ruby)
135 #:use-module (gnu packages rust)
136 #:use-module (gnu packages samba)
137 #:use-module (gnu packages scanner)
138 #:use-module (gnu packages selinux)
139 #:use-module (gnu packages slang)
140 #:use-module (gnu packages speech)
141 #:use-module (gnu packages spice)
142 #:use-module (gnu packages sqlite)
143 #:use-module (gnu packages ssh)
144 #:use-module (gnu packages tex)
145 #:use-module (gnu packages time)
146 #:use-module (gnu packages tls)
147 #:use-module (gnu packages version-control)
148 #:use-module (gnu packages video)
149 #:use-module (gnu packages virtualization)
150 #:use-module (gnu packages vpn)
151 #:use-module (gnu packages web)
152 #:use-module (gnu packages web)
153 #:use-module (gnu packages webkit)
154 #:use-module (gnu packages xdisorg)
155 #:use-module (gnu packages xiph)
156 #:use-module (gnu packages xml)
157 #:use-module (gnu packages xorg)
158 #:use-module (gnu packages xorg)
159 #:use-module (gnu artwork)
160 #:use-module (guix build-system cmake)
161 #:use-module (guix build-system glib-or-gtk)
162 #:use-module (guix build-system gnu)
163 #:use-module (guix build-system meson)
164 #:use-module (guix build-system trivial)
165 #:use-module (guix download)
166 #:use-module (guix git-download)
167 #:use-module ((guix licenses) #:prefix license:)
168 #:use-module (guix packages)
169 #:use-module (guix utils)
170 #:use-module (guix gexp)
171 #:use-module (ice-9 match)
172 #:use-module (srfi srfi-1))
174 (define-public brasero
180 (uri (string-append "mirror://gnome/sources/" name "/"
181 (version-major+minor version) "/"
182 name "-" version ".tar.xz"))
185 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
186 (build-system glib-or-gtk-build-system)
188 `(#:configure-flags (list
189 (string-append "--with-girdir="
190 (assoc-ref %outputs "out")
192 (string-append "--with-typelibdir="
193 (assoc-ref %outputs "out")
194 "/lib/girepository-1.0"))
196 (modify-phases %standard-phases
197 (add-before 'configure 'embed-growisofs
198 (lambda* (#:key inputs #:allow-other-keys)
199 (substitute* "plugins/growisofs/burn-growisofs.c"
200 (("\"growisofs") (string-append "\"" (which "growisofs"))))
203 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
205 `(("intltool" ,intltool)
206 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
207 ("gobject-introspection" ,gobject-introspection)
208 ("pkg-config" ,pkg-config)))
210 `(("dvd+rw-tools" ,dvd+rw-tools)
212 ("gnome-doc-utils" ,gnome-doc-utils)
213 ("gstreamer" ,gstreamer)
214 ("gst-plugins-base" ,gst-plugins-base)
217 ("libcanberra" ,libcanberra)
219 ("libnotify" ,libnotify)
223 ("totem-pl-parser" ,totem-pl-parser)))
224 (home-page "https://projects.gnome.org/brasero/")
225 (synopsis "CD/DVD burning tool for Gnome")
226 (description "Brasero is an application to burn CD/DVD for the Gnome
227 Desktop. It is designed to be as simple as possible and has some unique
228 features to enable users to create their discs easily and quickly.")
229 (license license:gpl2+)))
231 (define-public deja-dup
237 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
240 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
242 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
243 (build-system glib-or-gtk-build-system)
245 `(#:modules ((guix build gnu-build-system)
246 ((guix build cmake-build-system) #:prefix cmake:)
247 (guix build glib-or-gtk-build-system)
249 #:imported-modules (,@%glib-or-gtk-build-system-modules
250 (guix build cmake-build-system))
252 #:configure-flags (list (string-append
253 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
255 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
257 (modify-phases %standard-phases
258 (add-after 'unpack 'patch-lockfile-deletion
260 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
264 (assoc-ref cmake:%standard-phases 'configure))
265 (delete 'check) ;; Fails due to issues with DBus
266 (add-after 'install 'wrap-deja-dup
267 (lambda* (#:key inputs outputs #:allow-other-keys)
268 (let ((python (assoc-ref inputs "python"))
269 (python-path (getenv "PYTHONPATH"))
270 (duplicity (assoc-ref inputs "duplicity"))
271 (out (assoc-ref outputs "out")))
274 (wrap-program program
275 `("PATH" ":" prefix (,(string-append python "/bin")
276 ,(string-append duplicity "/bin"))))
277 (wrap-program program
278 `("PYTHONPATH" ":" prefix (,python-path))))
280 (find-files (string-append out "/bin")))
283 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
284 ("gobject-introspection" ,gobject-introspection)
285 ("duplicity" ,duplicity)
287 ("python-pygobject" ,python2-pygobject)
289 ("libnotify" ,libnotify)
291 ("libsecret" ,libsecret)
292 ("packagekit" ,packagekit)))
294 `(("pkg-config" ,pkg-config)
296 ("gettext" ,gettext-minimal)
298 ("intltool" ,intltool)
300 (home-page "https://launchpad.net/deja-dup")
301 (synopsis "Simple backup tool, for regular encrypted backups")
303 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
304 uses duplicity as the backend, which supports incremental backups and storage
305 either on a local, or remote machine via a number of methods.")
306 (license license:gpl3+)))
309 ;; This version from GNOME's repository includes fixes for compiling with
310 ;; recent versions of the build tools. The latest activity on the
311 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
313 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
316 (version (string-append "0.97.2-" (string-take commit 7)))
320 (url "https://git.gnome.org/browse/dia")
322 (file-name (string-append name "-" version "-checkout"))
325 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
326 (build-system gnu-build-system)
328 `(("glib" ,glib "bin")
330 ("gdk-pixbuf" ,gdk-pixbuf)
333 ("freetype" ,freetype)
334 ("libart-lgpl" ,libart-lgpl)))
336 `(("intltool" ,intltool)
337 ("pkg-config" ,pkg-config)
338 ("automake" ,automake)
339 ("autoconf" ,autoconf)
342 ("python-wrapper" ,python-wrapper)))
345 (modify-phases %standard-phases
346 (add-after 'unpack 'run-autogen
348 (system* "sh" "autogen.sh"))))))
349 (home-page "https://wiki.gnome.org/Apps/Dia")
350 (synopsis "Diagram creation for GNOME")
351 (description "Dia can be used to draw different types of diagrams, and
352 includes support for UML static structure diagrams (class diagrams), entity
353 relationship modeling, and network diagrams. The program supports various file
354 formats like PNG, SVG, PDF and EPS.")
355 (license license:gpl2+))))
357 (define-public libgdata
363 (uri (string-append "mirror://gnome/sources/" name "/"
364 (version-major+minor version) "/"
365 name "-" version ".tar.xz"))
368 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
370 (search-patches "libgdata-fix-tests.patch"
371 "libgdata-glib-duplicate-tests.patch"))))
372 (build-system gnu-build-system)
375 (modify-phases %standard-phases
376 (add-before 'check 'disable-failing-tests
378 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
379 ;; They have been removed in libgdata 0.17.6, so just do the same.
380 (substitute* "gdata/tests/Makefile"
381 (("picasaweb\\$\\(EXEEXT\\) ") ""))
384 `(("glib:bin" ,glib "bin")
385 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
386 ("intltool" ,intltool)
387 ("pkg-config" ,pkg-config)
388 ("uhttpmock" ,uhttpmock)))
390 `(("cyrus-sasl" ,cyrus-sasl)
392 ("glib-networking" ,glib-networking)
393 ("json-glib" ,json-glib)
394 ("libsoup" ,libsoup)))
397 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
398 ("liboauth" ,liboauth)
399 ("libxml2" ,libxml2)))
400 (home-page "https://wiki.gnome.org/Projects/libgdata")
401 (synopsis "Library for accessing online service APIs")
403 "libgdata is a GLib-based library for accessing online service APIs using
404 the GData protocol — most notably, Google's services. It provides APIs to
405 access the common Google services, and has full asynchronous support.")
406 (license license:lgpl2.1+)))
408 (define-public libgxps
414 (uri (string-append "mirror://gnome/sources/" name "/"
415 (version-major+minor version) "/"
416 name "-" version ".tar.xz"))
419 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
420 (build-system meson-build-system)
422 `(("gobject-introspection" ,gobject-introspection)
423 ("pkg-config" ,pkg-config)))
426 ("libjpeg" ,libjpeg-turbo)
431 ;; In Requires of libgxps.pc.
434 ("libarchive" ,libarchive)))
435 (home-page "https://wiki.gnome.org/Projects/libgxps")
436 (synopsis "GObject-based library for handling and rendering XPS documents")
438 "libgxps is a GObject-based library for handling and rendering XPS
439 documents. This package also contains binaries that can convert XPS documents
441 (license license:lgpl2.1+)))
443 (define-public gnome-common
445 (name "gnome-common")
450 (uri (string-append "mirror://gnome/sources/" name "/"
451 (version-major+minor version) "/"
452 name "-" version ".tar.xz"))
455 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
456 (build-system gnu-build-system)
457 (home-page "https://www.gnome.org/")
458 (synopsis "Bootstrap GNOME modules built from Git")
459 (description "gnome-common contains various files needed to bootstrap
460 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
461 can be used to configure a source directory checked out from Git and some
462 commonly used macros.")
463 (license license:gpl2+)))
465 (define-public gnome-desktop
467 (name "gnome-desktop")
472 (uri (string-append "mirror://gnome/sources/" name "/"
473 (version-major+minor version) "/"
474 name "-" version ".tar.xz"))
477 "0c439hhpfd9axmv4af6fzhibksh69pnn2nnbghbbqqbwy6zqfl30"))))
478 (build-system gnu-build-system)
481 (modify-phases %standard-phases
482 (add-before 'configure 'patch-path
483 (lambda* (#:key inputs #:allow-other-keys)
484 (let ((libc (assoc-ref inputs "libc")))
485 (substitute* "libgnome-desktop/gnome-languages.c"
487 (string-append "\"" libc "/bin/locale\"")))
490 `(("gobject-introspection" ,gobject-introspection)
492 ("intltool" ,intltool)
493 ("pkg-config" ,pkg-config)
494 ("xmllint" ,libxml2)))
496 ;; Required by gnome-desktop-3.0.pc.
497 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
500 `(("gdk-pixbuf" ,gdk-pixbuf)
502 ("iso-codes" ,iso-codes)
503 ("libseccomp" ,libseccomp)
506 ("libxkbfile" ,libxkbfile)
507 ("libxrandr" ,libxrandr)
508 ("xkeyboard-config" ,xkeyboard-config)))
509 (home-page "https://www.gnome.org/")
511 "Libgnome-desktop, gnome-about, and desktop-wide documents")
513 "The libgnome-desktop library provides API shared by several applications
514 on the desktop, but that cannot live in the platform for various reasons.
515 There is no API or ABI guarantee, although we are doing our best to provide
516 stability. Documentation for the API is available with gtk-doc.
518 The gnome-about program helps find which version of GNOME is installed.")
519 ; Some bits under the LGPL.
520 (license license:gpl2+)))
522 (define-public gnome-doc-utils
524 (name "gnome-doc-utils")
529 (uri (string-append "mirror://gnome/sources/" name "/"
530 (version-major+minor version) "/"
531 name "-" version ".tar.xz"))
534 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
535 (build-system gnu-build-system)
537 `(("intltool" ,intltool)
538 ("docbook-xml" ,docbook-xml-4.4)
539 ("python2-libxml2" ,python2-libxml2)
542 ("pkg-config" ,pkg-config)
543 ("python-2" ,python-2)))
544 (home-page "https://wiki.gnome.org/GnomeDocUtils")
546 "Documentation utilities for the Gnome project")
548 "Gnome-doc-utils is a collection of documentation utilities for the
549 Gnome project. It includes xml2po tool which makes it easier to translate
550 and keep up to date translations of documentation.")
551 (license license:gpl2+))) ; xslt under lgpl
553 (define-public gnome-disk-utility
555 (name "gnome-disk-utility")
559 (uri (string-append "mirror://gnome/sources/" name "/"
560 (version-major+minor version) "/"
561 name "-" version ".tar.xz"))
564 "11ajz4cbsdns81kihd6242b6pwxbw8bkr9qqkf4qnb4kp363a38m"))))
565 (build-system meson-build-system)
567 `(("glib:bin" ,glib "bin")
568 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
569 ("intltool" ,intltool)
570 ("pkg-config" ,pkg-config)
571 ("docbook-xml" ,docbook-xml)
572 ("docbook-xsl" ,docbook-xsl)
574 ("libxslt" ,libxslt)))
577 ("appstream-glib" ,appstream-glib)
578 ("gnome-settings-daemon" ,gnome-settings-daemon)
580 ("libcanberra" ,libcanberra)
581 ("libdvdread" ,libdvdread)
582 ("libnotify" ,libnotify)
583 ("libpwquality" ,libpwquality)
584 ("libsecret" ,libsecret)
586 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
587 (synopsis "Disk management utility for GNOME")
588 (description "Disk management utility for GNOME.")
589 (license license:gpl2+)))
597 (uri (string-append "mirror://gnome/sources/" name "/"
598 (version-major+minor version) "/"
599 name "-" version ".tar.xz"))
602 "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m"))))
603 (build-system gnu-build-system)
606 (modify-phases %standard-phases
607 ;; These fail because /var/lib/dbus/machine-id is not present in the
608 ;; build environment.
609 (add-after 'unpack 'disable-failing-tests
611 (substitute* "gcr/test-system-prompt.c"
612 (("g_test_add") "//")
613 (("return.*") "return 0;"))
615 (add-before 'check 'pre-check
617 ;; Some tests expect to write to $HOME.
618 (setenv "HOME" "/tmp")
622 ("gnupg" ,gnupg) ;called as a child process during tests
623 ("libgcrypt" ,libgcrypt)))
625 `(("python" ,python-2) ;for tests
626 ("pkg-config" ,pkg-config)
628 ("gobject-introspection" ,gobject-introspection)
629 ("intltool" ,intltool)
631 ("xsltproc" ,libxslt)))
632 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
634 `(("p11-kit" ,p11-kit)
637 (home-page "https://www.gnome.org")
638 (synopsis "Libraries for displaying certificates and accessing key stores")
640 "The GCR package contains libraries used for displaying certificates and
641 accessing key stores. It also provides the viewer for crypto files on the
643 (license license:lgpl2.1+)))
645 (define-public libgnome-keyring
647 (name "libgnome-keyring")
651 (uri (string-append "mirror://gnome/sources/" name "/"
652 (version-major+minor version) "/"
653 name "-" version ".tar.xz"))
656 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
657 (build-system gnu-build-system)
659 `(("libgcrypt" ,libgcrypt)
662 `(("pkg-config" ,pkg-config)
664 ("intltool" ,intltool)))
666 ;; Referred to in .h files and .pc.
668 (home-page "https://www.gnome.org")
669 (synopsis "Accessing passwords from the GNOME keyring")
671 "Client library to access passwords from the GNOME keyring.")
673 ;; Though a couple of files are LGPLv2.1+.
674 (license license:lgpl2.0+)))
676 (define-public gnome-keyring
678 (name "gnome-keyring")
682 (uri (string-append "mirror://gnome/sources/" name "/"
683 (version-major+minor version) "/"
684 name "-" version ".tar.xz"))
687 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
688 (build-system gnu-build-system)
690 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
694 (string-append "--with-pkcs11-config="
695 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
696 (string-append "--with-pkcs11-modules="
697 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
699 (modify-phases %standard-phases
700 (add-after 'unpack 'fix-/bin/sh-reference
702 (substitute* "po/Makefile.in.in"
703 (("/bin/sh") (which "sh")))
706 'configure 'fix-docbook
707 (lambda* (#:key inputs #:allow-other-keys)
708 (substitute* "docs/Makefile.am"
709 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
710 (string-append (assoc-ref inputs "docbook-xsl")
711 "/xml/xsl/docbook-xsl-"
712 ,(package-version docbook-xsl)
713 "/manpages/docbook.xsl")))
714 (setenv "XML_CATALOG_FILES"
715 (string-append (assoc-ref inputs "docbook-xml")
716 "/xml/dtd/docbook/catalog.xml"))
717 ;; Rerun the whole thing to avoid version mismatch ("This is
718 ;; Automake 1.15.1, but the definition used by this
719 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
720 ;; use 'autoreconf' because it insists on running 'libtoolize'.
723 (invoke "automake" "-ac"))))))
725 `(("libgcrypt" ,libgcrypt)
726 ("linux-pam" ,linux-pam)
731 `(("pkg-config" ,pkg-config)
733 ("python" ,python-2) ;for tests
734 ("intltool" ,intltool)
735 ("autoconf" ,autoconf)
736 ("automake" ,automake)
737 ("libxslt" ,libxslt) ;for documentation
738 ("docbook-xml" ,docbook-xml-4.2)
739 ("docbook-xsl" ,docbook-xsl)))
740 (home-page "https://www.gnome.org")
741 (synopsis "Daemon to store passwords and encryption keys")
743 "gnome-keyring is a program that keeps passwords and other secrets for
744 users. It is run as a daemon in the session, similar to ssh-agent, and other
745 applications locate it via an environment variable or D-Bus.
747 The program can manage several keyrings, each with its own master password,
748 and there is also a session keyring which is never stored to disk, but
749 forgotten when the session ends.")
750 (license license:lgpl2.1+)))
752 (define-public evince
758 (uri (string-append "mirror://gnome/sources/" name "/"
759 (version-major+minor version) "/"
760 name "-" version ".tar.xz"))
763 "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89"))))
764 (build-system glib-or-gtk-build-system)
766 `(#:configure-flags '("--disable-nautilus")
768 (modify-phases %standard-phases
769 (add-before 'install 'skip-gtk-update-icon-cache
770 ;; Don't create 'icon-theme.cache'.
772 (substitute* "data/Makefile"
773 (("gtk-update-icon-cache") "true"))
776 `(("libarchive" ,libarchive)
778 ("libspectre" ,libspectre)
779 ("djvulibre" ,djvulibre)
780 ("ghostscript" ,ghostscript)
784 ;; Build libkpathsea as a shared library for DVI support.
785 ;; ("libkpathsea" ,texlive-bin)
786 ("gnome-desktop" ,gnome-desktop)
787 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
788 ("libgnome-keyring" ,libgnome-keyring)
789 ("adwaita-icon-theme" ,adwaita-icon-theme)
790 ("gdk-pixbuf" ,gdk-pixbuf)
798 ("shared-mime-info" ,shared-mime-info)
800 ("libcanberra" ,libcanberra)
801 ("libsecret" ,libsecret)
803 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
804 ;; propagated from there.
808 ("dogtail" ,python2-dogtail)))
810 `(("itstool" ,itstool)
811 ("intltool" ,intltool)
813 ("pkg-config" ,pkg-config)
814 ("xmllint" ,libxml2)))
816 "https://www.gnome.org/projects/evince/")
817 (synopsis "GNOME's document viewer")
819 "Evince is a document viewer for multiple document formats. It
820 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
821 of Evince is to replace the multiple document viewers that exist
822 on the GNOME Desktop with a single simple application.")
823 (license license:gpl2+)))
825 (define-public gsettings-desktop-schemas
827 (name "gsettings-desktop-schemas")
832 (uri (string-append "mirror://gnome/sources/" name "/"
833 (version-major+minor version) "/"
834 name "-" version ".tar.xz"))
837 "0rwidacwrxlc54x90h9g3wx2zlisc4vm49vmxi15azmpj1vwvd2c"))))
838 (build-system gnu-build-system)
842 `(("intltool" ,intltool)
843 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
844 ("gobject-introspection" ,gobject-introspection)
845 ("pkg-config" ,pkg-config)))
846 (home-page "https://launchpad.net/gsettings-desktop-schemas")
848 "GNOME settings for various desktop components")
850 "Gsettings-desktop-schemas contains a collection of GSettings schemas
851 for settings shared by various components of the GNOME desktop.")
852 (license license:lgpl2.1+)))
854 (define-public icon-naming-utils
856 (name "icon-naming-utils")
861 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
865 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
866 (build-system gnu-build-system)
869 ("perl-xml-simple" ,perl-xml-simple)))
872 (modify-phases %standard-phases
873 (add-after 'install 'set-load-paths
874 ;; Tell 'icon-name-mapping' where XML::Simple is.
875 (lambda* (#:key outputs #:allow-other-keys)
876 (let* ((out (assoc-ref outputs "out"))
877 (prog (string-append out "/libexec/icon-name-mapping")))
880 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
882 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
884 "Utility to implement the Freedesktop Icon Naming Specification")
886 "To help with the transition to the Freedesktop Icon Naming
887 Specification, the icon naming utility maps the icon names used by the
888 GNOME and KDE desktops to the icon names proposed in the specification.")
889 (license license:lgpl2.1+)))
891 (define-public gnome-icon-theme
893 (name "gnome-icon-theme")
898 (uri (string-append "mirror://gnome/sources/" name "/"
899 (version-major+minor version) "/"
900 name "-" version ".tar.xz"))
903 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
904 (build-system gnu-build-system)
907 ;; Don't create 'icon-theme.cache'.
908 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
909 (true (string-append coreutils "/bin/true")))
910 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
912 `(("icon-naming-utils" ,icon-naming-utils)
913 ("intltool" ,intltool)
914 ("pkg-config" ,pkg-config)))
915 (home-page "https://art.gnome.org/")
919 "Icons for the GNOME desktop.")
920 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
922 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
923 (define-public adwaita-icon-theme
924 (package (inherit gnome-icon-theme)
925 (name "adwaita-icon-theme")
929 (uri (string-append "mirror://gnome/sources/" name "/"
930 (version-major+minor version) "/"
931 name "-" version ".tar.xz"))
934 "0l114ildlb3lz3xymfxxi0wpr2x21rd3cg8slb8jyxynzwfqrbks"))))
936 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
938 (define-public tango-icon-theme
940 (name "tango-icon-theme")
944 (uri (string-append "http://tango.freedesktop.org/releases/"
945 "tango-icon-theme-" version ".tar.bz2"))
948 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
949 (build-system gnu-build-system)
951 `(("icon-naming-utils" ,icon-naming-utils)
952 ("intltool" ,intltool)
953 ("imagemagick" ,imagemagick)
954 ("pkg-config" ,pkg-config)))
955 (home-page "http://tango-project.org/")
956 (synopsis "Tango icon theme")
957 (description "This is an icon theme that follows the Tango visual
959 (license license:public-domain)))
961 (define-public shared-mime-info
963 (name "shared-mime-info")
967 (uri (string-append "https://freedesktop.org/~hadess/"
968 "shared-mime-info-" version ".tar.xz"))
971 "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw"))))
972 (build-system gnu-build-system)
974 ;; The build system appears not to be parallel-safe.
975 '(#:parallel-build? #f))
978 ("libxml2" ,libxml2)))
980 `(("intltool" ,intltool)
981 ("pkg-config" ,pkg-config)))
982 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
983 (synopsis "Database of common MIME types")
985 "The shared-mime-info package contains the core database of common types
986 and the update-mime-database command used to extend it. It requires glib2 to
987 be installed for building the update command. Additionally, it uses intltool
988 for translations, though this is only a dependency for the maintainers. This
989 database is translated at Transifex.")
990 (license license:gpl2+)))
992 (define-public system-config-printer
994 (name "system-config-printer")
999 "https://github.com/zdohnal/system-config-printer/releases/"
1001 "/system-config-printer-" version ".tar.xz"))
1004 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
1005 (build-system glib-or-gtk-build-system)
1007 `(#:imported-modules ((guix build python-build-system)
1008 ,@%glib-or-gtk-build-system-modules)
1010 (modify-phases %standard-phases
1011 (add-after 'unpack 'patch-Makefile.am
1013 ;; The Makefile generates some scripts, so set a valid shebang
1014 (substitute* "Makefile.am"
1015 (("/bin/bash") (which "bash")))
1016 (delete-file "configure")
1018 (add-after 'unpack 'patch-docbook-xml
1019 (lambda* (#:key inputs #:allow-other-keys)
1020 ;; Modify the man XML otherwise xmlto tries to access the network
1021 (substitute* "man/system-config-printer.xml"
1022 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1023 (string-append (assoc-ref inputs "docbook-xml")
1024 "/xml/dtd/docbook/")))
1026 (add-after 'install 'wrap-for-python
1027 (@@ (guix build python-build-system) wrap))
1028 (add-after 'install 'wrap
1029 (lambda* (#:key outputs #:allow-other-keys)
1030 (let ((out (assoc-ref outputs "out"))
1031 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1034 (wrap-program program
1035 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1037 (string-append out "/bin/" name))
1038 '("system-config-printer"
1039 "system-config-printer-applet"
1040 "install-printerdriver"
1041 "scp-dbus-service"))))
1044 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1045 ("gobject-introspection" ,gobject-introspection)
1048 ("python-dbus" ,python-dbus)
1049 ("python-pygobject" ,python-pygobject)
1050 ("python-pycups" ,python-pycups)
1051 ("python-requests" ,python-requests)
1052 ("python-pycairo" ,python-pycairo)
1053 ("libnotify" ,libnotify)
1054 ("packagekit" ,packagekit)))
1056 `(("pkg-config" ,pkg-config)
1057 ("desktop-file-utils" ,desktop-file-utils)
1059 ("autoconf" ,autoconf)
1060 ("automake" ,automake)
1061 ("intltool" ,intltool)
1063 ("docbook-xml" ,docbook-xml-4.1.2)
1064 ("docbook-xsl" ,docbook-xsl)
1065 ("libxml2" ,libxml2)))
1066 (home-page "https://github.com/zdohnal/system-config-printer")
1067 (synopsis "CUPS administration tool")
1069 "system-config-printer is a CUPS administration tool. It's written in
1070 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1072 (license license:gpl2+)))
1074 (define-public hicolor-icon-theme
1076 (name "hicolor-icon-theme")
1081 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1082 "hicolor-icon-theme-" version ".tar.xz"))
1085 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1086 (build-system gnu-build-system)
1088 `(#:tests? #f)) ; no check target
1089 (home-page "https://icon-theme.freedesktop.org/releases/")
1091 "Freedesktop icon theme")
1093 "Freedesktop icon theme.")
1094 (license license:gpl2)))
1096 (define-public libnotify
1103 (uri (string-append "mirror://gnome/sources/" name "/"
1104 (version-major+minor version) "/"
1105 name "-" version ".tar.xz"))
1108 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1109 (build-system gnu-build-system)
1111 `(("gdk-pixbuf" ,gdk-pixbuf)
1114 ("libpng" ,libpng)))
1116 `(("pkg-config" ,pkg-config)
1117 ("glib" ,glib "bin")
1118 ("gobject-introspection" ,gobject-introspection)))
1119 (home-page "https://developer-next.gnome.org/libnotify/")
1121 "GNOME desktop notification library")
1123 "Libnotify is a library that sends desktop notifications to a
1124 notification daemon, as defined in the Desktop Notifications spec. These
1125 notifications can be used to inform the user about an event or display
1126 some form of information without getting in the user's way.")
1127 (license license:lgpl2.1+)))
1129 (define-public libpeas
1136 (uri (string-append "mirror://gnome/sources/" name "/"
1137 (version-major+minor version) "/"
1138 name "-" version ".tar.xz"))
1141 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1142 (build-system gnu-build-system)
1147 ("python-pygobject" ,python-pygobject)))
1149 `(("pkg-config" ,pkg-config)
1150 ("glib:bin" ,glib "bin")
1151 ("gobject-introspection" ,gobject-introspection)
1152 ("intltool" ,intltool)))
1154 ;; The .pc file "Requires" gobject-introspection.
1155 `(("gobject-introspection" ,gobject-introspection)))
1156 (home-page "https://wiki.gnome.org/Libpeas")
1157 (synopsis "GObject plugin system")
1159 "Libpeas is a gobject-based plugin engine, targeted at giving every
1160 application the chance to assume its own extensibility. It also has a set of
1161 features including, but not limited to: multiple extension points; on-demand
1162 (lazy) programming language support for C, Python and JS; simplicity of the
1164 (license license:lgpl2.0+)))
1166 (define-public gtkglext
1172 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1173 version "/gtkglext-" version ".tar.gz"))
1175 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1176 (patches (search-patches
1177 "gtkglext-disable-disable-deprecated.patch"))))
1178 (build-system gnu-build-system)
1181 (modify-phases %standard-phases
1182 ;; Fix a collision between a local variable and a definition from
1183 ;; glibc's string.h.
1184 (add-after 'unpack 'fix-collision
1186 (substitute* "gdk/gdkglshapes.c"
1187 ((" index") " triangle_index"))
1189 (inputs `(("gtk+" ,gtk+-2)
1194 (native-inputs `(("pkg-config" ,pkg-config)
1195 ("glib" ,glib "bin")))
1196 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1197 (home-page "https://projects.gnome.org/gtkglext")
1198 (synopsis "OpenGL extension to GTK+")
1199 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1200 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1201 API add-ons to make GTK+ widgets OpenGL-capable.")
1202 (license license:lgpl2.1+)))
1204 (define-public glade3
1210 (uri (string-append "mirror://gnome/sources/" name "/"
1211 (version-major+minor version) "/"
1212 name "-" version ".tar.xz"))
1215 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
1216 (build-system glib-or-gtk-build-system)
1218 `(#:tests? #f ; needs X, GL, and software rendering
1220 (modify-phases %standard-phases
1221 (add-before 'configure 'fix-docbook
1222 (lambda* (#:key inputs #:allow-other-keys)
1223 (substitute* "man/Makefile.in"
1224 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1225 (string-append (assoc-ref inputs "docbook-xsl")
1226 "/xml/xsl/docbook-xsl-"
1227 ,(package-version docbook-xsl)
1228 "/manpages/docbook.xsl")))
1232 ("libxml2" ,libxml2)))
1234 `(("intltool" ,intltool)
1235 ("itstool" ,itstool)
1236 ("libxslt" ,libxslt) ;for xsltproc
1237 ("docbook-xml" ,docbook-xml-4.2)
1238 ("docbook-xsl" ,docbook-xsl)
1239 ("python" ,python-2)
1240 ("pkg-config" ,pkg-config)))
1241 (home-page "https://glade.gnome.org")
1242 (synopsis "GTK+ rapid application development tool")
1243 (description "Glade is a rapid application development (RAD) tool to
1244 enable quick & easy development of user interfaces for the GTK+ toolkit and
1245 the GNOME desktop environment.")
1246 (license license:lgpl2.0+)))
1248 (define-public libcroco
1254 (uri (string-append "mirror://gnome/sources/" name "/"
1255 (version-major+minor version) "/"
1256 name "-" version ".tar.xz"))
1258 (search-patches "libcroco-CVE-2017-7960.patch"
1259 "libcroco-CVE-2017-7961.patch"))
1262 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1263 (build-system gnu-build-system)
1265 `(("pkg-config" ,pkg-config)))
1268 ("libxml2" ,libxml2)
1270 (home-page "https://github.com/GNOME/libcroco")
1271 (synopsis "CSS2 parsing and manipulation library")
1273 "Libcroco is a standalone CSS2 parsing and manipulation library.
1274 The parser provides a low level event driven SAC-like API and a CSS object
1275 model like API. Libcroco provides a CSS2 selection engine and an experimental
1276 XML/CSS rendering engine.")
1279 (license license:lgpl2.1)))
1281 (define-public libgsf
1287 (uri (string-append "mirror://gnome/sources/" name "/"
1288 (version-major+minor version) "/"
1289 name "-" version ".tar.xz"))
1292 "1yk91ccf7z9b8d8ac6vip3gc5c0pkwgabqy6l0pj0kf43l7jrg2w"))))
1293 (build-system gnu-build-system)
1295 `(("intltool" ,intltool)
1296 ("pkg-config" ,pkg-config)))
1298 `(("python" ,python)
1302 `(("gdk-pixbuf" ,gdk-pixbuf)
1304 ("libxml2" ,libxml2)))
1305 (home-page "https://www.gnome.org/projects/libgsf")
1306 (synopsis "GNOME's Structured File Library")
1308 "Libgsf aims to provide an efficient extensible I/O abstraction for
1309 dealing with different structured file formats.")
1312 (license license:lgpl2.1)))
1314 (define-public librsvg
1320 (uri (string-append "mirror://gnome/sources/" name "/"
1321 (version-major+minor version) "/"
1322 name "-" version ".tar.xz"))
1325 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1326 (build-system gnu-build-system)
1329 (list "--disable-static"
1330 "--enable-vala") ; needed for e.g. gnome-mines
1332 (modify-phases %standard-phases
1333 (add-before 'configure 'pre-configure
1334 (lambda* (#:key inputs #:allow-other-keys)
1335 (substitute* "gdk-pixbuf-loader/Makefile.in"
1336 ;; By default the gdk-pixbuf loader is installed under
1337 ;; gdk-pixbuf's prefix. Work around that.
1338 (("gdk_pixbuf_moduledir = .*$")
1339 (string-append "gdk_pixbuf_moduledir = "
1340 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1342 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1343 (("gdk_pixbuf_cache_file = .*$")
1344 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1346 (add-before 'check 'remove-failing-tests
1348 (with-directory-excursion "tests/fixtures/reftests"
1349 (for-each delete-file
1350 '(;; This test fails on i686:
1351 "svg1.1/masking-path-04-b.svg"
1352 ;; This test fails on armhf:
1353 "svg1.1/masking-mask-01-b.svg"
1354 ;; This test fails on aarch64:
1355 "bugs/777834-empty-text-children.svg")))
1358 `(("pkg-config" ,pkg-config)
1360 ("glib" ,glib "bin") ; glib-mkenums, etc.
1361 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1364 ("libcroco" ,libcroco)
1367 ("libxml2" ,libxml2)))
1369 ;; librsvg-2.0.pc refers to all of that.
1371 ("gdk-pixbuf" ,gdk-pixbuf)
1373 (home-page "https://wiki.gnome.org/LibRsvg")
1374 (synopsis "Render SVG files using Cairo")
1376 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1378 (license license:lgpl2.0+)))
1380 (define-public librsvg-next
1386 (uri (string-append "mirror://gnome/sources/" name "/"
1387 (version-major+minor version) "/"
1388 name "-" version ".tar.xz"))
1391 "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6"))))
1392 (build-system gnu-build-system)
1395 (list "--disable-static"
1396 "--enable-vala") ; needed for e.g. gnome-mines
1397 #:make-flags '("CC=gcc")
1399 (modify-phases %standard-phases
1400 ;; Don't patch anything in vendor/ to avoid having to recompute
1401 ;; checksums for the bundled Cargo "crates". TODO: Unbundle those.
1402 (delete 'patch-source-shebangs)
1403 (delete 'patch-generated-file-shebangs)
1404 (delete 'patch-usr-bin-file)
1405 (add-before 'configure 'patch-all-the-things
1407 (for-each patch-shebang '("tap-driver.sh" "tap-test"))
1408 (patch-/usr/bin/file "configure")
1410 (add-before 'configure 'pre-configure
1411 (lambda* (#:key inputs #:allow-other-keys)
1412 (substitute* "gdk-pixbuf-loader/Makefile.in"
1413 ;; By default the gdk-pixbuf loader is installed under
1414 ;; gdk-pixbuf's prefix. Work around that.
1415 (("gdk_pixbuf_moduledir = .*$")
1416 (string-append "gdk_pixbuf_moduledir = "
1417 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1419 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1420 (("gdk_pixbuf_cache_file = .*$")
1421 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1423 (add-before 'check 'remove-failing-tests
1425 (with-directory-excursion "tests/fixtures/reftests"
1426 (for-each delete-file
1427 '(;; The images produced by these tests differ slightly
1428 ;; from their reference counterparts due to differences
1429 ;; in the build environment (missing fonts, etc). See
1430 ;; <tests/README.md> for details.
1431 ;; These fail on x86_64.
1432 "svg1.1/coords-viewattr-02-b.svg"
1433 "svg1.1/filters-composite-04-f.svg"
1434 "svg1.1/filters-image-01-b.svg"
1435 "svg1.1/filters-conv-02-f.svg"
1436 "svg1.1/filters-conv-04-f.svg"
1437 ;; This test fails on i686:
1438 "svg1.1/masking-path-04-b.svg"
1439 ;; This test fails on armhf:
1440 "svg1.1/masking-mask-01-b.svg"
1441 ;; This test fails on aarch64:
1442 "bugs/777834-empty-text-children.svg")))
1445 `(("pkg-config" ,pkg-config)
1446 ;; This is the minimum supported Rust version in Librsvg 2.44.
1448 ("cargo" ,rust-1.27 "cargo")
1450 ("glib" ,glib "bin") ; glib-mkenums, etc.
1451 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1454 ("libcroco" ,libcroco)
1457 ("libxml2" ,libxml2)))
1459 ;; librsvg-2.0.pc refers to all of that.
1461 ("gdk-pixbuf" ,gdk-pixbuf)
1463 (home-page "https://wiki.gnome.org/LibRsvg")
1464 (synopsis "Render SVG files using Cairo")
1466 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1468 (license license:lgpl2.0+)))
1470 (define-public libidl
1476 (uri (let ((upstream-name "libIDL"))
1477 (string-append "mirror://gnome/sources/" upstream-name "/"
1478 (version-major+minor version) "/"
1479 upstream-name "-" version ".tar.bz2")))
1482 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1483 (build-system gnu-build-system)
1484 (inputs `(("glib" ,glib)))
1486 `(("pkg-config" ,pkg-config)
1489 (home-page "http://freecode.com/projects/libidl")
1490 (synopsis "Create trees of CORBA Interface Definition Language files")
1491 (description "Libidl is a library for creating trees of CORBA Interface
1492 Definition Language (idl) files, which is a specification for defining
1493 portable interfaces. libidl was initially written for orbit (the orb from the
1494 GNOME project, and the primary means of libidl distribution). However, the
1495 functionality was designed to be as reusable and portable as possible.")
1496 (license license:lgpl2.0+)))
1499 (define-public orbit2
1505 (uri (let ((upstream-name "ORBit2"))
1506 (string-append "mirror://gnome/sources/" upstream-name "/"
1507 (version-major+minor version) "/"
1508 upstream-name "-" version ".tar.bz2")))
1511 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1512 (build-system gnu-build-system)
1515 '(;; We don't need static libraries, plus they don't build reproducibly
1516 ;; (non-deterministic ordering of .o files in the archive.)
1519 ;; The programmer kindly gives us a hook to turn off deprecation
1521 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1522 ;; ... which they then completly ignore !!
1524 (modify-phases %standard-phases
1525 (add-before 'configure 'ignore-deprecations
1527 (substitute* "linc2/src/Makefile.in"
1528 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1530 (inputs `(("glib" ,glib)
1531 ("libidl" ,libidl)))
1533 `(("pkg-config" ,pkg-config)))
1534 (home-page "https://projects.gnome.org/orbit2/")
1535 (synopsis "CORBA 2.4-compliant Object Request Broker")
1536 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1537 featuring mature C, C++ and Python bindings.")
1538 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1539 ;; a version. SOME of the code files have licence notices for GPLv2+.
1540 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1541 (license license:gpl2+)
1542 (properties `((upstream-name . "ORBit2")))))
1545 (define-public libbonobo
1551 (uri (string-append "mirror://gnome/sources/" name "/"
1552 (version-major+minor version)
1553 "/" name "-" version ".tar.bz2"))
1555 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1556 (patches (search-patches
1557 "libbonobo-activation-test-race.patch"))))
1558 (build-system gnu-build-system)
1560 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1562 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1563 ;; ... which they then completly ignore !!
1565 (modify-phases %standard-phases
1566 (add-before 'configure 'ignore-deprecations
1568 (substitute* "activation-server/Makefile.in"
1569 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1572 ;; There's apparently a race condition between the server stub
1573 ;; generation and linking of the example under 'samples/echo' that can
1574 ;; lead do undefined references when building in parallel, as reported
1575 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1576 ;; Thus, disable parallel builds.
1577 #:parallel-build? #f))
1578 (inputs `(("popt" ,popt)
1579 ("libxml2" ,libxml2)))
1580 ;; The following are Required by the .pc file
1583 ("orbit2" ,orbit2)))
1585 `(("intltool" ,intltool)
1586 ("pkg-config" ,pkg-config)
1587 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1590 (home-page "https://developer.gnome.org/libbonobo/")
1591 (synopsis "Framework for creating reusable components for use in GNOME applications")
1592 (description "Bonobo is a framework for creating reusable components for
1593 use in GNOME applications, built on top of CORBA.")
1594 ;; Licence not explicitly stated. Source files contain no licence notices.
1595 ;; Tarball contains text of both GPLv2 and LGPLv2
1596 ;; GPLv2 covers both conditions
1597 (license license:gpl2+)))
1600 (define-public gconf
1607 (let ((upstream-name "GConf"))
1608 (string-append "mirror://gnome/sources/" upstream-name "/"
1609 (version-major+minor version) "/"
1610 upstream-name "-" version ".tar.xz")))
1612 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1613 (build-system gnu-build-system)
1614 (inputs `(("dbus-glib" ,dbus-glib)
1615 ("libxml2" ,libxml2)))
1616 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1617 ("orbit2" ,orbit2)))
1619 `(("intltool" ,intltool)
1620 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1621 ("pkg-config" ,pkg-config)))
1622 (home-page "https://projects.gnome.org/gconf/")
1623 (synopsis "Store application preferences")
1624 (description "Gconf is a system for storing application preferences. It
1625 is intended for user preferences; not arbitrary data storage.")
1626 (license license:lgpl2.0+)
1627 (properties '((upstream-name . "GConf")))))
1630 (define-public gnome-mime-data
1632 (name "gnome-mime-data")
1636 (uri (string-append "mirror://gnome/sources/" name "/"
1637 (version-major+minor version) "/"
1638 name "-" version ".tar.bz2"))
1641 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1642 (build-system gnu-build-system)
1645 ("intltool" ,intltool)))
1647 '(#:phases (modify-phases %standard-phases
1648 (add-after 'configure 'use-our-intltool
1650 ;; Do not use the bundled intltool commands, which lack
1651 ;; the "dotless @INC" fixes of our 'intltool' package.
1652 (substitute* (find-files "." "^Makefile$")
1653 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1654 (string-append "INTLTOOL_" tool " = intltool-"
1655 (string-downcase tool) "\n")))
1657 (home-page "https://www.gnome.org")
1658 (synopsis "Base MIME and Application database for GNOME")
1659 (description "GNOME Mime Data is a module which contains the base MIME
1660 and Application database for GNOME. The data stored by this module is
1661 designed to be accessed through the MIME functions in GnomeVFS.")
1662 (license license:gpl2+)))
1665 (define-public gnome-vfs
1671 (uri (string-append "mirror://gnome/sources/" name "/"
1672 (version-major+minor version) "/"
1673 name "-" version ".tar.bz2"))
1676 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1677 (build-system gnu-build-system)
1680 (modify-phases %standard-phases
1681 (add-before 'configure 'ignore-deprecations
1683 (substitute* '("libgnomevfs/Makefile.in"
1684 "daemon/Makefile.in")
1685 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1687 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1689 (substitute* "test/test-async-cancel.c"
1690 (("EXIT_FAILURE") "77"))
1692 (inputs `(("libxml2" ,libxml2)
1693 ("dbus-glib" ,dbus-glib)
1695 ("gnome-mime-data" ,gnome-mime-data)
1698 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1699 ("intltool" ,intltool)
1700 ("pkg-config" ,pkg-config)))
1701 (home-page "https://developer.gnome.org/gnome-vfs/")
1702 (synopsis "Access files and folders in GNOME applications")
1704 "GnomeVFS is the core library used to access files and folders in GNOME
1705 applications. It provides a file system abstraction which allows applications
1706 to access local and remote files with a single consistent API.")
1707 (license license:lgpl2.0+)))
1711 (define-public libgnome
1717 (uri (string-append "mirror://gnome/sources/" name "/"
1718 (version-major+minor version) "/"
1719 name "-" version ".tar.bz2"))
1722 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1723 (patches (search-patches "libgnome-encoding.patch"))))
1724 (build-system gnu-build-system)
1727 (modify-phases %standard-phases
1728 (add-before 'configure 'enable-deprecated
1730 (substitute* "libgnome/Makefile.in"
1731 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1733 (inputs `(("libxml2" ,libxml2)))
1735 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1736 ("intltool" ,intltool)
1737 ("pkg-config" ,pkg-config)))
1738 ;; The following are listed as Required in the .pc file
1739 ;; (except for libcanberra -- which seems to be oversight on the part
1740 ;; of the upstream developers -- anything that links against libgnome,
1741 ;; must also link against libcanberra
1743 `(("libcanberra" ,libcanberra)
1744 ("libbonobo" ,libbonobo)
1746 ("gnome-vfs" ,gnome-vfs)
1747 ("popt" ,popt))) ;gnome-program.h includes popt.h
1748 (home-page "https://developer.gnome.org/libgnome/")
1749 (synopsis "Useful routines for building applications")
1750 (description "The libgnome library provides a number of useful routines
1751 for building modern applications, including session management, activation of
1752 files and URIs, and displaying help.")
1753 (license license:lgpl2.0+)))
1756 (define-public libart-lgpl
1758 (name "libart-lgpl")
1762 (uri (let ((upstream-name "libart_lgpl"))
1763 (string-append "mirror://gnome/sources/" upstream-name "/"
1764 (version-major+minor version) "/"
1765 upstream-name "-" version ".tar.bz2")))
1768 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1769 (build-system gnu-build-system)
1771 `(("pkg-config" ,pkg-config)))
1772 (home-page "https://people.gnome.org/~mathieu/libart")
1773 (synopsis "2D drawing library")
1774 (description "Libart is a 2D drawing library intended as a
1775 high-quality vector-based 2D library with antialiasing and alpha composition.")
1776 (license license:lgpl2.0+)))
1780 (define-public libgnomecanvas
1782 (name "libgnomecanvas")
1786 (uri (string-append "mirror://gnome/sources/" name "/"
1787 (version-major+minor version) "/"
1788 name "-" version ".tar.gz"))
1791 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1792 (build-system gnu-build-system)
1793 ;; Mentioned as Required in the .pc file
1794 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1797 `(("intltool" ,intltool)
1798 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1799 ("pkg-config" ,pkg-config)))
1800 (home-page "https://developer.gnome.org/libgnomecanvas/")
1801 (synopsis "Flexible widget for creating interactive structured graphics")
1802 (description "The GnomeCanvas widget provides a flexible widget for
1803 creating interactive structured graphics.")
1804 (license license:lgpl2.0+)))
1806 (define-public libgnomecanvasmm
1808 (name "libgnomecanvasmm")
1812 (uri (string-append "mirror://gnome/sources/" name "/"
1813 (version-major+minor version) "/"
1814 name "-" version ".tar.bz2"))
1817 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1818 (build-system gnu-build-system)
1820 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1821 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1823 `(("gtkmm-2" ,gtkmm-2)
1824 ("pkg-config" ,pkg-config)))
1825 (home-page "https://gtkmm.org")
1826 (synopsis "C++ bindings to the GNOME Canvas library")
1827 (description "C++ bindings to the GNOME Canvas library.")
1828 (license license:lgpl2.0+)))
1830 (define-public libgnomeui
1836 (uri (string-append "mirror://gnome/sources/" name "/"
1837 (version-major+minor version) "/"
1838 name "-" version ".tar.bz2"))
1839 (patches (search-patches "libgnomeui-utf8.patch"))
1842 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1843 (build-system gnu-build-system)
1844 ;; Mentioned as Required in the .pc file
1845 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1846 ("libgnome" ,libgnome)
1847 ("libgnomecanvas" ,libgnomecanvas)
1848 ("libgnome-keyring" ,libgnome-keyring)))
1849 (inputs `(("libjpeg" ,libjpeg)
1851 ("libbonobo" ,libbonobo)
1852 ("libxml2" ,libxml2)
1853 ("libglade" ,libglade)))
1855 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1856 ("intltool" ,intltool)
1857 ("pkg-config" ,pkg-config)))
1858 (home-page "https://developer.gnome.org/libgnomeui/")
1859 (synopsis "Additional widgets for applications")
1860 (description "The libgnomeui library provides additional widgets for
1861 applications. Many of the widgets from libgnomeui have already been
1863 (license license:lgpl2.0+)))
1865 (define-public libglade
1871 (uri (string-append "mirror://gnome/sources/" name "/"
1872 (version-major+minor version) "/"
1873 name "-" version ".tar.bz2"))
1876 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1877 (build-system gnu-build-system)
1879 `(("python" ,python))) ;; needed for the optional libglade-convert program
1881 `(("gtk+-2" ,gtk+-2)
1882 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1884 `(("pkg-config" ,pkg-config)))
1885 (home-page "https://developer.gnome.org/libglade")
1886 (synopsis "Load glade interfaces and access the glade built widgets")
1887 (description "Libglade is a library that provides interfaces for loading
1888 graphical interfaces described in glade files and for accessing the
1889 widgets built in the loading process.")
1890 (license license:gpl2+))) ; This is correct. GPL not LGPL
1892 (define-public libgnomeprint
1893 ;; This library has been deprecated since 2006; see
1894 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1896 (name "libgnomeprint")
1900 (uri (string-append "mirror://gnome/sources/" name "/"
1901 (version-major+minor version) "/"
1902 name "-" version ".tar.bz2"))
1905 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1906 (build-system gnu-build-system)
1909 ("libart-lgpl" ,libart-lgpl)
1911 ("libxml2" ,libxml2)))
1913 `(("intltool" ,intltool)
1914 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1915 ("pkg-config" ,pkg-config)))
1916 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1917 (synopsis "Printing framework for GNOME")
1919 "GNOME-print was a printing framework for GNOME. It has been deprecated
1920 since ca. 2006, when GTK+ itself incorporated printing support.")
1921 (license license:lgpl2.0+)))
1924 (define-public libgnomeprintui
1925 ;; Deprecated; see libgnomeprint.
1927 (name "libgnomeprintui")
1931 (uri (string-append "mirror://gnome/sources/" name "/"
1932 (version-major+minor version) "/"
1933 name "-" version ".tar.bz2"))
1936 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1937 (build-system gnu-build-system)
1938 ;; Mentioned as Required in the .pc file
1939 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1940 (inputs `(("gtk+" ,gtk+-2)
1942 ("gnome-icon-theme" ,gnome-icon-theme)
1943 ("libgnomecanvas" ,libgnomecanvas)
1944 ("libxml2" ,libxml2)))
1946 `(("intltool" ,intltool)
1947 ("pkg-config" ,pkg-config)))
1948 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1949 (synopsis "Printing framework for GNOME")
1950 (description (package-description libgnomeprint))
1951 (license license:lgpl2.0+)))
1953 (define-public libbonoboui
1955 (name "libbonoboui")
1959 (uri (string-append "mirror://gnome/sources/" name "/"
1960 (version-major+minor version) "/"
1961 name "-" version ".tar.bz2"))
1964 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1965 (build-system gnu-build-system)
1968 (modify-phases %standard-phases
1969 (add-before 'check 'start-xserver
1970 (lambda* (#:key inputs #:allow-other-keys)
1971 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1974 (setenv "HOME" (getcwd))
1975 (setenv "DISPLAY" disp)
1976 ;; There must be a running X server and make check doesn't start one.
1977 ;; Therefore we must do it.
1978 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1979 ;; Mentioned as Required by the .pc file
1980 (propagated-inputs `(("libxml2" ,libxml2)))
1983 ("pangox-compat" ,pangox-compat)
1984 ("libgnome" ,libgnome)
1985 ("libgnomecanvas" ,libgnomecanvas)
1986 ("libglade" ,libglade)))
1988 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1989 ("intltool" ,intltool)
1990 ("xorg-server" ,xorg-server) ; For running the tests
1991 ("pkg-config" ,pkg-config)))
1992 (home-page "https://developer.gnome.org/libbonoboui/")
1993 (synopsis "Some user interface controls using Bonobo")
1994 (description "The Bonobo UI library provides a number of user interface
1995 controls using the Bonobo component framework.")
1996 (license license:lgpl2.0+)))
1998 (define-public libwnck
2004 (uri (string-append "mirror://gnome/sources/" name "/"
2005 (version-major+minor version) "/"
2006 name "-" version ".tar.xz"))
2009 "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg"))))
2010 (build-system gnu-build-system)
2012 `(("pkg-config" ,pkg-config)
2013 ("intltool" ,intltool)))
2016 ("libxres" ,libxres)
2017 ("startup-notification" ,startup-notification)))
2018 (home-page "https://developer.gnome.org/libwnck/")
2019 (synopsis "Window Navigator Construction Kit")
2021 "Libwnck is the Window Navigator Construction Kit, a library for use in
2022 writing pagers, tasklists, and more generally applications that are dealing
2023 with window management. It tries hard to respect the Extended Window Manager
2024 Hints specification (EWMH).")
2025 (license license:lgpl2.0+)))
2027 ;; stable version for gtk2, required by xfwm4.
2028 (define-public libwnck-2
2029 (package (inherit libwnck)
2034 (uri (string-append "mirror://gnome/sources/" name "/"
2035 (version-major+minor version) "/"
2036 name "-" version ".tar.xz"))
2039 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2042 ("libxres" ,libxres)
2043 ("startup-notification" ,startup-notification)))))
2045 (define-public goffice
2051 (uri (string-append "mirror://gnome/sources/" name "/"
2052 (version-major+minor version) "/"
2053 name "-" version ".tar.xz"))
2055 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
2056 (build-system gnu-build-system)
2058 "doc")) ;4.0 MiB of gtk-doc
2060 '(#:configure-flags (list (string-append "--with-html-dir="
2061 (assoc-ref %outputs "doc")
2062 "/share/gtk-doc/html"))))
2066 ("librsvg" ,librsvg)
2067 ("libxslt" ,libxslt)
2068 ("libxml2" ,libxml2)))
2070 `(("intltool" ,intltool)
2071 ("glib" ,glib "bin")
2072 ("pkg-config" ,pkg-config)))
2073 (home-page "https://developer.gnome.org/goffice/")
2074 (synopsis "Document-centric objects and utilities")
2075 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2077 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2079 (list license:gpl2 license:gpl3))))
2081 (define-public goffice-0.8
2082 (package (inherit goffice)
2086 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2087 (version-major+minor version) "/"
2088 (package-name goffice) "-" version ".tar.xz"))
2090 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2093 (modify-phases %standard-phases
2094 (add-after 'unpack 'fix-pcre-check
2096 ;; Only glib.h can be included directly. See
2097 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2098 (substitute* "configure"
2099 (("glib/gregex\\.h") "glib.h")) #t)))
2101 ,@(package-arguments goffice)))
2103 ;; libgoffice-0.8.pc mentions libgsf-1
2104 `(("libgsf" ,libgsf)))
2107 ,@(alist-delete "gtk" (package-inputs goffice))))))
2109 (define-public gnumeric
2115 (uri (string-append "mirror://gnome/sources/gnumeric/"
2116 (version-major+minor version) "/"
2117 "gnumeric-" version ".tar.xz"))
2120 "0147962c6ybdsj57rz95nla0rls7g545wc2n7pz59zmzyd5pksk0"))))
2121 (build-system glib-or-gtk-build-system)
2123 `(;; The gnumeric developers don't worry much about failing tests.
2124 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2127 (modify-phases %standard-phases
2129 'configure 'pre-conf
2130 (lambda* (#:key outputs #:allow-other-keys)
2131 ;; Make install tries to write into the directory of goffice
2132 ;; I am informed that this only affects the possibility to embed a
2133 ;; spreadsheet inside an Abiword document. So presumably when we
2134 ;; package Abiword we'll have to refer it to this directory.
2135 (substitute* "configure"
2136 (("^GOFFICE_PLUGINS_DIR=.*")
2137 (string-append "GOFFICE_PLUGINS_DIR="
2138 (assoc-ref outputs "out")
2139 "/goffice/plugins"))))))))
2143 ("goffice" ,goffice)
2145 ("librsvg" ,librsvg)
2146 ("libxml2" ,libxml2)
2147 ("libxslt" ,libxslt)
2148 ("python" ,python-2)
2149 ("python2-pygobject" ,python2-pygobject)
2153 ("docbook-xml" ,docbook-xml)
2154 ("intltool" ,intltool)
2155 ("itstool" ,itstool)
2156 ("glib:bin" ,glib "bin")
2157 ("pkg-config" ,pkg-config)))
2158 (home-page "http://www.gnumeric.org")
2159 (synopsis "Spreadsheet application")
2161 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2162 interoperable with other spreadsheet applications. It has a vast array of
2163 features beyond typical spreadsheet functionality, such as support for linear
2164 and non-linear solvers, statistical analysis, and telecommunication
2167 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2168 (list license:gpl2 license:gpl3))))
2170 (define-public gnome-themes-standard
2172 (name "gnome-themes-standard")
2177 (uri (string-append "mirror://gnome/sources/" name "/"
2178 (version-major+minor version) "/" name "-"
2182 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2183 (build-system gnu-build-system)
2186 ;; Don't create 'icon-theme.cache'.
2187 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2188 (true (string-append coreutils "/bin/true")))
2189 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2193 ("librsvg" ,librsvg)
2194 ("libxml2" ,libxml2)
2197 `(("intltool" ,intltool)
2198 ("glib:bin" ,glib "bin")
2199 ("pkg-config" ,pkg-config)))
2200 (home-page "https://launchpad.net/gnome-themes-standard")
2201 (synopsis "Default GNOME 3 themes")
2203 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2204 (license license:lgpl2.1+)))
2206 (define-public seahorse
2213 (uri (string-append "mirror://gnome/sources/" name "/"
2214 (version-major+minor version) "/" name "-"
2218 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
2219 (build-system glib-or-gtk-build-system)
2225 ("openldap" ,openldap)
2226 ("openssh" ,openssh)
2227 ("libsecret" ,libsecret)
2228 ("libsoup" ,libsoup)))
2230 `(("intltool" ,intltool)
2231 ("glib:bin" ,glib "bin")
2232 ("itstool" ,itstool)
2233 ("pkg-config" ,pkg-config)
2234 ("xmllint" ,libxml2)))
2235 (home-page "https://launchpad.net/gnome-themes-standard")
2236 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2238 "Seahorse is a GNOME application for managing encryption keys and
2239 passwords in the GNOME keyring.")
2240 (license license:gpl2+)))
2248 (uri (string-append "mirror://gnome/sources/" name "/"
2249 (version-major+minor version) "/"
2250 name "-" version ".tar.xz"))
2253 "0yvaijkpahzz26sa37cyzbj75a9vbcbgvxbqzzb7hbcvfy009zy7"))))
2254 (build-system gnu-build-system)
2257 (modify-phases %standard-phases
2258 (add-before 'check 'pre-check
2261 (substitute* "valadoc/tests/testrunner.sh"
2262 (("export PKG_CONFIG_PATH=" m)
2263 (string-append m "$PKG_CONFIG_PATH:")))
2264 ;; For missing '/etc/machine-id'.
2265 (setenv "DBUS_FATAL_WARNINGS" "0")
2268 `(("pkg-config" ,pkg-config)
2271 ("xsltproc" ,libxslt)
2274 ("dbus" ,dbus) ; for dbus tests
2275 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2277 `(("graphviz" ,graphviz)))
2279 `(("glib" ,glib))) ; required by libvala-0.40.pc
2280 (home-page "https://live.gnome.org/Vala/")
2281 (synopsis "Compiler for the GObject type system")
2283 "Vala is a programming language that aims to bring modern programming
2284 language features to GNOME developers without imposing any additional runtime
2285 requirements and without using a different ABI compared to applications and
2286 libraries written in C.")
2287 (license license:lgpl2.1+)))
2295 (uri (string-append "mirror://gnome/sources/" name "/"
2296 (version-major+minor version) "/"
2297 name "-" version ".tar.xz"))
2300 "1br6kg0wzf1wmww1hadihhcpqbamalqmbppfdzjvzk1ayp75f9hg"))))
2301 (build-system gnu-build-system)
2303 `(("pkg-config" ,pkg-config)
2304 ("intltool" ,intltool)
2306 ("gobject-introspection" ,gobject-introspection)
2307 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2309 ("xmllint" ,libxml2)))
2311 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2312 ("gnutls" ,gnutls) ;ditto
2313 ("pcre2" ,pcre2))) ;ditto
2314 (home-page "https://www.gnome.org/")
2315 (synopsis "Virtual Terminal Emulator")
2317 "VTE is a library (libvte) implementing a terminal emulator widget for
2318 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2319 gnome-terminal, but can also be used to embed a console/terminal in games,
2320 editors, IDEs, etc.")
2321 (license license:lgpl2.1+)))
2323 (define-public vte-ng
2327 (version "0.56.2.a")
2328 (home-page "https://github.com/thestinger/vte-ng")
2331 (uri (git-reference (url home-page) (commit version)))
2332 (file-name (git-file-name name version))
2335 "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki"))))
2337 `(("gtk-doc" ,gtk-doc)
2340 ("autoconf" ,autoconf)
2341 ("automake" ,automake)
2342 ("libtool" ,libtool)
2343 ,@(package-native-inputs vte)))
2345 `(#:phases (modify-phases %standard-phases
2348 ;; Work around GCC7 problem: <https://bugs.gnu.org/30756>.
2349 (for-each unsetenv '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"))
2351 (setenv "NOCONFIGURE" "true")
2352 (invoke "sh" "autogen.sh"))))))
2353 (synopsis "Enhanced VTE terminal widget")
2355 "VTE is a library (libvte) implementing a terminal emulator widget for
2356 GTK+, this fork provides additional functions exposed for keyboard text
2357 selection and URL hints.")))
2359 ;; provides vte 2.90, required for some terminal emulators
2360 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2361 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2362 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2363 ;; pantheon-terminal, roxterm are not currently packaged
2364 (define-public vte-0.36
2365 (package (inherit vte)
2370 (uri (string-append "mirror://gnome/sources/" name "/"
2371 (version-major+minor version) "/"
2372 name "-" version ".tar.xz"))
2375 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2378 ("ncurses" ,ncurses)))))
2380 ;; stable version for gtk2, required by xfce4-terminal.
2381 (define-public vte/gtk+-2
2382 (package (inherit vte)
2387 (uri (string-append "mirror://gnome/sources/" name "/"
2388 (version-major+minor version) "/"
2389 name "-" version ".tar.xz"))
2392 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2393 (patches (search-patches
2394 "vte-CVE-2012-2738-pt1.patch"
2395 "vte-CVE-2012-2738-pt2.patch"))))
2397 '(#:configure-flags '("--disable-python")))
2399 `(("pkg-config" ,pkg-config)
2400 ("intltool" ,intltool)
2401 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2403 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2404 ("ncurses" ,ncurses))))) ; required by libvte.la
2406 (define-public vinagre
2412 (uri (string-append "mirror://gnome/sources/" name "/"
2413 (version-major+minor version) "/"
2414 name "-" version ".tar.xz"))
2415 (patches (search-patches "vinagre-newer-freerdp.patch"
2416 "vinagre-newer-rdp-parameters.patch"))
2419 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2420 (build-system glib-or-gtk-build-system)
2423 (modify-phases %standard-phases
2424 (add-before 'install 'skip-gtk-update-icon-cache
2426 ;; Don't create 'icon-theme.cache'
2427 (substitute* (find-files "." "^Makefile$")
2428 (("gtk-update-icon-cache") (which "true")))
2430 (add-after 'unpack 'patch-configure
2432 (substitute* "configure"
2433 (("freerdp") "freerdp2"))
2436 `(("pkg-config" ,pkg-config)
2437 ("intltool" ,intltool)
2438 ("itstool" ,itstool)
2439 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2441 `(("libxml2" ,libxml2)
2442 ("gtk-vnc" ,gtk-vnc)
2443 ("gnome-keyring" ,gnome-keyring)
2444 ("libsecret" ,libsecret)
2445 ("freerdp" ,freerdp)
2447 ("spice-gtk" ,spice-gtk)
2448 ("telepathy-glib" ,telepathy-glib)
2450 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2451 (synopsis "Remote desktop viewer for GNOME")
2452 (description "Vinagre is a remote display client supporting the VNC, SPICE
2453 and RDP protocols.")
2454 (license license:gpl3+)))
2456 (define-public dconf
2463 "mirror://gnome/sources/" name "/"
2464 (version-major+minor version) "/"
2465 name "-" version ".tar.xz"))
2468 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
2469 (build-system meson-build-system)
2471 ;; In Requires of dconf.pc.
2477 `(("bash-completion" ,bash-completion)
2478 ("libxslt" ,libxslt) ;for xsltproc
2479 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2480 ("docbook-xml" ,docbook-xml-4.2)
2481 ("docbook-xsl" ,docbook-xsl)
2482 ("glib:bin" ,glib "bin")
2483 ("gtk-doc" ,gtk-doc)
2484 ("pkg-config" ,pkg-config)
2487 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2488 ; or /etc/machine-id.
2490 #:configure-flags '("-Denable-gtk-doc=true")))
2491 (home-page "https://developer.gnome.org/dconf")
2492 (synopsis "Low-level GNOME configuration system")
2493 (description "Dconf is a low-level configuration system. Its main purpose
2494 is to provide a backend to GSettings on platforms that don't already have
2495 configuration storage systems.")
2496 (license license:lgpl2.1+)))
2498 (define-public json-glib
2504 (uri (string-append "mirror://gnome/sources/" name "/"
2505 (version-major+minor version) "/"
2506 name "-" version ".tar.xz"))
2509 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2510 (build-system meson-build-system)
2512 `(("gettext" ,gettext-minimal)
2513 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2514 ("gobject-introspection" ,gobject-introspection)
2515 ("pkg-config" ,pkg-config)))
2517 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2518 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2519 (synopsis "Compiler for the GObject type system")
2521 "JSON-GLib is a C library based on GLib providing serialization and
2522 deserialization support for the JavaScript Object Notation (JSON) format
2523 described by RFC 4627. It provides parser and generator GObject classes and
2524 various wrappers for the complex data types employed by JSON, such as arrays
2526 (license license:lgpl2.1+)))
2528 (define-public libxklavier
2530 (name "libxklavier")
2534 (uri (string-append "mirror://gnome/sources/" name "/"
2535 version "/" name "-" version ".tar.xz"))
2538 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2539 (build-system gnu-build-system)
2542 (list (string-append "--with-xkb-base="
2543 (assoc-ref %build-inputs "xkeyboard-config")
2544 "/share/X11/xkb"))))
2546 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2547 ("gobject-introspection" ,gobject-introspection)
2548 ("pkg-config" ,pkg-config)))
2550 ;; Required by libxklavier.pc.
2552 ("libxml2" ,libxml2)))
2554 `(("iso-codes" ,iso-codes)
2556 ("libxkbfile" ,libxkbfile)
2557 ("xkbcomp" ,xkbcomp)
2558 ("xkeyboard-config" ,xkeyboard-config)))
2559 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2560 (synopsis "High-level API for X Keyboard Extension")
2562 "LibXklavier is a library providing high-level API for X Keyboard
2563 Extension known as XKB. This library is intended to support XFree86 and other
2564 commercial X servers. It is useful for creating XKB-related software (layout
2566 (license license:lgpl2.0+)))
2568 (define-public python2-rsvg
2569 ;; XXX: This is actually a subset of gnome-python-desktop.
2571 (name "python2-rsvg")
2577 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2578 version ".tar.bz2"))
2581 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2582 (build-system gnu-build-system)
2584 `(("pkg-config" ,pkg-config)))
2586 `(("python" ,python-2)
2587 ("python2-pygtk" ,python2-pygtk)
2588 ("librsvg" ,librsvg)))
2589 (home-page "https://www.gnome.org")
2590 (synopsis "Python bindings to librsvg")
2592 "This packages provides Python bindings to librsvg, the SVG rendering
2595 ;; This is the license of the rsvg bindings. The license of each module
2596 ;; of gnome-python-desktop is given in 'COPYING'.
2597 (license license:lgpl2.1+)))
2599 (define-public glib-networking
2601 (name "glib-networking")
2605 (uri (string-append "mirror://gnome/sources/glib-networking/"
2606 (version-major+minor version) "/"
2607 name "-" version ".tar.xz"))
2610 "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx"))
2611 (patches (search-patches "glib-networking-connection.patch"))))
2612 (build-system meson-build-system)
2614 `(#:configure-flags '("-Dlibproxy_support=false")
2615 #:phases (modify-phases %standard-phases
2616 (add-before 'check 'disable-TLSv1.3
2618 ;; XXX: One test fails when TLS 1.3 is enabled, fixed in 2.60.0:
2619 ;; <https://gitlab.com/gnutls/gnutls/issues/615>.
2620 (setenv "G_TLS_GNUTLS_PRIORITY" "NORMAL:-VERS-TLS1.3")
2623 `(("pkg-config" ,pkg-config)
2624 ("intltool" ,intltool)))
2628 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2629 ("p11-kit" ,p11-kit)))
2630 (home-page "https://www.gnome.org")
2631 (synopsis "Network-related GIO modules")
2633 "This package contains various network related extensions for the GIO
2635 (license license:lgpl2.0+)))
2643 (uri (string-append "mirror://gnome/sources/rest/"
2644 (version-major+minor version) "/"
2645 name "-" version ".tar.xz"))
2648 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2649 (build-system gnu-build-system)
2651 '(#:tests? #f ; tests require internet connection
2653 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2655 `(("glib-mkenums" ,glib "bin")
2656 ("gobject-introspection" ,gobject-introspection)
2657 ("pkg-config" ,pkg-config)))
2659 ;; rest-0.7.pc refers to all these.
2661 ("libsoup" ,libsoup)
2662 ("libxml2" ,libxml2)))
2663 (home-page "https://www.gtk.org/")
2664 (synopsis "RESTful web api query library")
2666 "This library was designed to make it easier to access web services that
2667 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2668 libxml to ease remote use of the RESTful API.")
2669 (license license:lgpl2.1+)))
2671 (define-public libsoup
2677 (uri (string-append "mirror://gnome/sources/libsoup/"
2678 (version-major+minor version) "/"
2679 name "-" version ".tar.xz"))
2682 "1zs3bhspwg7fggxd7x1rrggpkcf2j9ch6dhncq9syh252z0vcb2a"))))
2683 (build-system meson-build-system)
2684 (outputs '("out" "doc"))
2686 `(#:modules ((guix build utils)
2687 (guix build meson-build-system)
2690 #:configure-flags '("-Ddoc=true")
2692 (modify-phases %standard-phases
2693 (add-after 'unpack 'adjust-tests
2695 ;; This test fails due to missing /etc/nsswitch.conf
2696 ;; in the build environment.
2697 (substitute* "tests/socket-test.c"
2698 ((".*/sockets/unconnected.*") ""))
2700 ;; Generate a self-signed certificate that has "localhost" as its
2701 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2702 ;; 3.5.12, tests such as "ssl-tests" fail:
2704 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2706 ;; 'certtool' is interactive so we have to pipe it the answers.
2707 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2708 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2709 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2710 (for-each (lambda (line)
2715 "Guix" ;Organizational unit name
2716 "GNU" ;Organization name
2718 "" ;State or province
2720 "" ;subject's domain component (DC)
2723 "-1" ;expiration time
2724 "N" ;belong to authority?
2725 "N" ;web client certificate?
2727 "Y" ;web server certificate?
2728 "localhost" ;dnsName of subject
2729 "" ;dnsName of subject (end)
2731 "127.0.0.1" ;IP address of subject
2733 "" ;encryption (RSA)?
2734 "" ;data encryption?
2735 "" ;sign OCSP requests?
2738 "" ;email protection?
2739 "" ;URI of the CRL distribution point
2744 (add-after 'install 'move-doc
2745 (lambda* (#:key outputs #:allow-other-keys)
2746 (let ((out (assoc-ref outputs "out"))
2747 (doc (assoc-ref outputs "doc")))
2748 (mkdir-p (string-append doc "/share"))
2749 (copy-recursively (string-append out "/share/gtk-doc")
2750 (string-append doc "/share/gtk-doc"))
2751 (delete-file-recursively (string-append out "/share/gtk-doc"))
2754 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2755 ("gobject-introspection" ,gobject-introspection)
2756 ("gtk-doc" ,gtk-doc)
2757 ("intltool" ,intltool)
2758 ("pkg-config" ,pkg-config)
2759 ("python" ,python-wrapper)
2761 ;; These are needed for the tests.
2762 ;; FIXME: Add PHP once available.
2764 ("gnutls" ,gnutls) ;for 'certtool'
2767 ;; libsoup-2.4.pc refers to all these.
2770 ("libxml2" ,libxml2)
2771 ("sqlite" ,sqlite)))
2773 `(("glib-networking" ,glib-networking)
2774 ("mit-krb5" ,mit-krb5)))
2775 (home-page "https://live.gnome.org/LibSoup/")
2776 (synopsis "GLib-based HTTP Library")
2778 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2779 and the GLib main loop, to integrate well with GNOME applications.")
2780 (license license:lgpl2.0+)))
2782 (define-public libsecret
2789 "mirror://gnome/sources/libsecret/"
2790 (version-major+minor version) "/"
2791 name "-" version ".tar.xz"))
2794 "058x64689k55wxfkdp4svhnwvv8jmqm7z5mrynybl38f4sfqiyiv"))))
2795 (build-system gnu-build-system)
2796 (outputs '("out" "doc"))
2798 `(#:tests? #f ; FIXME: Testing hangs.
2800 (list (string-append "--with-html-dir="
2801 (assoc-ref %outputs "doc")
2802 "/share/gtk-doc/html"))))
2804 `(("gettext" ,gettext-minimal)
2805 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2806 ("gobject-introspection" ,gobject-introspection)
2807 ("pkg-config" ,pkg-config)
2809 ("xsltproc" ,libxslt)))
2810 ;; These are needed for the tests.
2811 ;; FIXME: Add gjs once available.
2813 ;("python2" ,python-2)
2814 ;("python2-dbus" ,python2-dbus)
2815 ;("python2-pygobject" ,python2-pygobject)
2816 ;("python2-pygobject-2" ,python2-pygobject-2)))
2818 `(("glib" ,glib))) ; required by libsecret-1.pc
2820 `(("docbook-xsl" ,docbook-xsl)
2821 ("libgcrypt" ,libgcrypt)
2822 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2823 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2824 (synopsis "GObject bindings for \"Secret Service\" API")
2826 "Libsecret is a GObject based library for storing and retrieving passwords
2827 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2828 (license license:lgpl2.1+)))
2830 (define-public five-or-more
2832 (name "five-or-more")
2837 (uri (string-append "mirror://gnome/sources/" name "/"
2838 (version-major+minor version) "/"
2839 name "-" version ".tar.xz"))
2842 "1fy4a7qdjqvabm0cl45d6xlx6hy4paxvm0b2paifff73bl250d5c"))))
2843 (build-system glib-or-gtk-build-system)
2845 `(("pkg-config" ,pkg-config)
2846 ("desktop-file-utils" ,desktop-file-utils)
2847 ("intltool" ,intltool)
2848 ("itstool" ,itstool)
2849 ("xmllint" ,libxml2)))
2852 ("librsvg" ,librsvg)))
2853 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2854 (synopsis "Logic puzzle game")
2855 (description "Five or More is a game where you try to align
2856 five or more objects of the same color and shape causing them to disappear.
2857 On every turn more objects will appear, until the board is full.
2858 Try to last as long as possible.")
2859 (license license:gpl2+)))
2861 (define-public gnome-mines
2863 (name "gnome-mines")
2868 (uri (string-append "mirror://gnome/sources/" name "/"
2869 (version-major+minor version) "/"
2870 name "-" version ".tar.xz"))
2873 "16w55hqaxipcv870n9gpn6qiywbqbyg7bjshaa02r75ias8dfxvf"))))
2874 (build-system meson-build-system)
2877 (modify-phases %standard-phases
2878 (delete 'bootstrap))))
2880 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
2881 ("pkg-config" ,pkg-config)
2882 ("desktop-file-utils" ,desktop-file-utils)
2883 ("intltool" ,intltool)
2884 ("itstool" ,itstool)
2887 ("appstream-glib" ,appstream-glib)))
2890 ("libgnome-games-support" ,libgnome-games-support)
2891 ("librsvg" ,librsvg)))
2892 (home-page "https://wiki.gnome.org/Apps/Mines")
2893 (synopsis "Minesweeper game")
2895 "Mines (previously gnomine) is a puzzle game where you locate mines
2896 floating in an ocean using only your brain and a little bit of luck.")
2897 (license license:gpl2+)))
2899 (define-public gnome-sudoku
2901 (name "gnome-sudoku")
2906 (uri (string-append "mirror://gnome/sources/" name "/"
2907 (version-major+minor version) "/"
2908 name "-" version ".tar.xz"))
2911 "07b4lzniaf3gjsss6zl1lslv18smwc4nrijykvn2z90f423q2xav"))))
2912 (build-system glib-or-gtk-build-system)
2914 `(("pkg-config" ,pkg-config)
2915 ("desktop-file-utils" ,desktop-file-utils)
2916 ("intltool" ,intltool)
2917 ("itstool" ,itstool)
2918 ("xmllint" ,libxml2)))
2921 ("json-glib" ,json-glib)
2923 ("librsvg" ,librsvg)
2924 ("qqwing" ,qqwing)))
2925 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2926 (synopsis "Japanese logic game")
2928 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2929 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2930 possible while still providing features that make playing difficult Sudoku
2932 (license license:gpl2+)))
2934 (define-public gnome-terminal
2936 (name "gnome-terminal")
2941 (uri (string-append "mirror://gnome/sources/" name "/"
2942 (version-major+minor version) "/"
2943 name "-" version ".tar.xz"))
2946 "0ybjansg6lr279191w8z8r45gy4rxwzw1ajm98cgkv0fk2jdr0x2"))))
2947 (build-system glib-or-gtk-build-system)
2950 (list "--disable-migration" "--disable-search-provider"
2951 "--without-nautilus-extension")
2953 (modify-phases %standard-phases
2954 (add-before 'configure 'patch-/bin/true
2956 (substitute* "configure"
2957 (("/bin/true") (which "true"))))))))
2959 `(("pkg-config" ,pkg-config)
2960 ("desktop-file-utils" ,desktop-file-utils)
2961 ("intltool" ,intltool)
2962 ("itstool" ,itstool)
2963 ("xmllint" ,libxml2)))
2965 `(("dconf" ,dconf)))
2970 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2971 ("util-linux" ,util-linux)
2973 (home-page "https://wiki.gnome.org/Apps/Terminal")
2974 (synopsis "Terminal emulator")
2976 "GNOME Terminal is a terminal emulator application for accessing a
2977 UNIX shell environment which can be used to run programs available on
2980 It supports several profiles, multiple tabs and implements several
2981 keyboard shortcuts.")
2982 (license license:gpl3+)))
2984 (define-public colord
2991 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2992 name "-" version ".tar.xz"))
2995 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2996 (build-system glib-or-gtk-build-system)
2998 '(;; The tests want to run valgrind. Punt for now.
3000 #:configure-flags (list "--localstatedir=/var"
3001 ;; GUSB not packaged yet.
3003 ;; No dep on systemd.
3004 "--disable-systemd-login"
3005 ;; Wants to install to global completion dir;
3007 "--disable-bash-completion"
3008 ;; colord-gtk not packaged yet.
3009 "--disable-session-example"
3010 "--with-daemon-user=colord"
3012 (string-append "--with-udevrulesdir="
3013 (assoc-ref %outputs "out")
3014 "/lib/udev/rules.d"))
3016 (modify-phases %standard-phases
3017 (add-before 'configure 'patch-/bin/true
3019 (substitute* "configure"
3020 (("/bin/true") (which "true")))
3021 (substitute* "src/Makefile.in"
3022 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
3023 "if test -w $(DESTDIR)$(localstatedir);")))))))
3025 `(("pkg-config" ,pkg-config)
3026 ("gobject-introspection" ,gobject-introspection)
3027 ("libtool" ,libtool)
3028 ("intltool" ,intltool)))
3030 ;; colord.pc refers to all these.
3035 `(("dbus-glib" ,dbus-glib)
3036 ("libgudev" ,libgudev)
3040 ("sane-backends" ,sane-backends)))
3041 (home-page "https://www.freedesktop.org/software/colord/")
3042 (synopsis "Color management service")
3043 (description "Colord is a system service that makes it easy to manage,
3044 install and generate color profiles to accurately color manage input and
3046 (license license:gpl2+)))
3048 (define-public geoclue
3055 (uri (string-append "https://www.freedesktop.org/software/" name
3056 "/releases/" (version-major+minor version) "/"
3057 name "-" version ".tar.xz"))
3060 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
3061 (patches (search-patches "geoclue-config.patch"))))
3062 (build-system glib-or-gtk-build-system)
3064 '(;; The tests want to run the system bus.
3066 #:configure-flags (list ;; Disable bits requiring ModemManager.
3067 "--disable-3g-source"
3068 "--disable-cdma-source"
3069 "--disable-modem-gps-source"
3070 "--with-dbus-service-user=geoclue")
3072 (modify-phases %standard-phases
3073 (add-before 'configure 'patch-/bin/true
3075 (substitute* "configure"
3076 (("/bin/true") (which "true")))
3079 `(("pkg-config" ,pkg-config)
3080 ("gobject-introspection" ,gobject-introspection)
3081 ("intltool" ,intltool)))
3085 ("json-glib" ,json-glib)
3086 ("libsoup" ,libsoup)))
3087 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3088 (synopsis "Geolocation service")
3089 (description "Geoclue is a D-Bus service that provides location
3090 information. The primary goal of the Geoclue project is to make creating
3091 location-aware applications as simple as possible, while the secondary goal is
3092 to ensure that no application can access location information without explicit
3093 permission from user.")
3094 (license license:gpl2+)))
3096 (define-public geocode-glib
3098 (name "geocode-glib")
3102 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3103 (version-major+minor version) "/"
3104 name "-" version ".tar.xz"))
3107 "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a"))))
3108 (build-system meson-build-system)
3111 (modify-phases %standard-phases
3112 ;; The tests require a bunch of locales.
3113 (add-before 'check 'set-locales
3114 (lambda* (#:key inputs #:allow-other-keys)
3115 (setenv "GUIX_LOCPATH"
3116 (string-append (assoc-ref inputs "glibc-locales")
3120 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3121 ("glibc-locales" ,glibc-locales) ; for tests
3122 ("gettext" ,gettext-minimal)
3123 ("gobject-introspection" ,gobject-introspection)
3124 ("gtk-doc" ,gtk-doc)
3125 ("pkg-config" ,pkg-config)
3126 ("json-glib" ,json-glib)))
3128 ;; geocode-glib-1.0.pc refers to GIO.
3131 `(("libsoup" ,libsoup)))
3132 (home-page "https://github.com/GNOME/geocode-glib/")
3133 (synopsis "Geocoding and reverse-geocoding library")
3135 "geocode-glib is a convenience library for geocoding (finding longitude,
3136 and latitude from an address) and reverse geocoding (finding an address from
3137 coordinates) using the Nominatim service. geocode-glib caches requests for
3138 faster results and to avoid unnecessary server load.")
3139 (license license:lgpl2.0+)))
3141 (define-public upower
3147 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3148 "uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/"
3149 "upower-" version ".tar.xz"))
3152 "00lzr0vyxz5lvmgya48gdb2cdgmfdim4b34jlfdyqakk1i9sl8xv"))
3153 (patches (search-patches "upower-builddir.patch"))))
3154 (build-system glib-or-gtk-build-system)
3156 '( ;; The tests want to contact the system bus, which can't be done in the
3157 ;; build environment. The integration test can run, but the last of
3158 ;; the up-self-tests doesn't. Disable tests for now.
3160 #:configure-flags (list "--localstatedir=/var"
3161 (string-append "--with-udevrulesdir="
3162 (assoc-ref %outputs "out")
3163 "/lib/udev/rules.d"))))
3165 `(("gobject-introspection" ,gobject-introspection)
3166 ("pkg-config" ,pkg-config)
3167 ("intltool" ,intltool)
3171 ("libxslt" ,libxslt) ;for 'xsltproc'
3172 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3173 ("docbook-xsl" ,docbook-xsl)))
3175 `(("dbus-glib" ,dbus-glib)
3176 ("libgudev" ,libgudev)
3177 ("libusb" ,libusb)))
3179 ;; In Requires of upower-glib.pc.
3181 (home-page "https://upower.freedesktop.org/")
3182 (synopsis "System daemon for managing power devices")
3184 "UPower is an abstraction for enumerating power devices,
3185 listening to device events and querying history and statistics. Any
3186 application or service on the system can access the org.freedesktop.UPower
3187 service via the system message bus.")
3188 (license license:gpl2+)))
3190 (define-public libgweather
3192 (name "libgweather")
3196 (uri (string-append "mirror://gnome/sources/" name "/"
3197 (version-major+minor version) "/"
3198 name "-" version ".tar.xz"))
3201 "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708"))))
3202 (build-system meson-build-system)
3204 `(#:tests? #f ; one of two tests requires network access
3206 `(,(string-append "-Dzoneinfo_dir="
3207 (assoc-ref %build-inputs "tzdata")
3208 "/share/zoneinfo"))))
3210 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3211 ("gobject-introspection" ,gobject-introspection)
3212 ("pkg-config" ,pkg-config)
3214 ("intltool" ,intltool)))
3216 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3219 ("gdk-pixbuf" ,gdk-pixbuf)
3220 ("libxml2" ,libxml2)
3221 ("libsoup" ,libsoup)
3222 ("geocode-glib" ,geocode-glib)))
3224 `(("tzdata" ,tzdata)))
3225 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3226 (synopsis "Location, time zone, and weather library for GNOME")
3228 "libgweather is a library to access weather information from online
3229 services for numerous locations.")
3230 (license license:gpl2+)))
3232 (define-public gnome-settings-daemon
3234 (name "gnome-settings-daemon")
3239 (uri (string-append "mirror://gnome/sources/" name "/"
3240 (version-major+minor version) "/"
3241 name "-" version ".tar.xz"))
3244 "0z9dip9p0iav646cmxisii5sbkdr9hmaklc5fzvschpbjkhphksr"))))
3245 (build-system meson-build-system)
3249 (list (string-append "-Dudev_dir="
3250 (assoc-ref %outputs "out")
3251 "/lib/udev/rules.d/")
3252 ;; Otherwise, the RUNPATH will lack the final path component.
3253 (string-append "-Dc_link_args=-Wl,-rpath="
3254 (assoc-ref %outputs "out")
3255 "/lib/gnome-settings-daemon-3.0"))
3256 ;; Color management test can't reach the colord system service.
3259 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3260 ("pkg-config" ,pkg-config)
3261 ("intltool" ,intltool)
3262 ("xsltproc" ,libxslt)
3263 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3264 ("docbook-xml" ,docbook-xml-4.2)
3265 ("docbook-xsl" ,docbook-xsl)))
3267 `(("alsa-lib" ,alsa-lib)
3269 ("libgudev" ,libgudev)
3272 ("pulseaudio" ,pulseaudio)
3273 ("libcanberra" ,libcanberra)
3275 ("libxtst" ,libxtst)
3277 ("libnotify" ,libnotify)
3278 ("geoclue" ,geoclue)
3279 ("geocode-glib" ,geocode-glib)
3280 ("libgweather" ,libgweather)
3281 ("gnome-desktop" ,gnome-desktop)
3284 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3285 ("libwacom" ,libwacom)
3286 ("librsvg" ,librsvg)
3287 ("xf86-input-wacom" ,xf86-input-wacom)
3288 ("wayland" ,wayland)
3289 ("network-manager" ,network-manager)))
3290 (home-page "https://www.gnome.org")
3291 (synopsis "GNOME settings daemon")
3293 "This package contains the daemon responsible for setting the various
3294 parameters of a GNOME session and the applications that run under it. It
3295 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3296 settings, themes, mouse settings, and startup of other daemons.")
3297 (license license:gpl2+)))
3299 (define-public totem-pl-parser
3301 (name "totem-pl-parser")
3305 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3306 (version-major+minor version) "/"
3307 "totem-pl-parser-" version ".tar.xz"))
3310 "0k5pnka907invgds48d73c1xx1a366v5dcld3gr2l1dgmjwc9qka"))))
3311 (build-system meson-build-system)
3313 ;; FIXME: Tests require gvfs.
3316 `(("intltool" ,intltool)
3317 ("glib" ,glib "bin")
3318 ("gobject-introspection" ,gobject-introspection)
3319 ("pkg-config" ,pkg-config)))
3323 ("libarchive" ,libarchive)
3324 ("libgcrypt" ,libgcrypt)
3325 ("libxml2" ,libxml2)))
3327 `(("nettle" ,nettle)
3328 ("libsoup" ,libsoup)))
3329 (home-page "https://projects.gnome.org/totem")
3330 (synopsis "Library to parse and save media playlists for GNOME")
3331 (description "Totem-pl-parser is a GObjects-based library to parse and save
3332 playlists in a variety of formats.")
3333 (license license:lgpl2.0+)))
3335 (define-public aisleriot
3341 (uri (string-append "mirror://gnome/sources/aisleriot/"
3342 (version-major+minor version) "/"
3343 "aisleriot-" version ".tar.xz"))
3346 "15pm39679ymxki07sb5nvhycz4z53zwbvascyp5wm4864bn98815"))))
3347 (build-system glib-or-gtk-build-system)
3350 '("--with-platform=gtk-only"
3351 "--with-card-theme-formats=svg")))
3353 `(("desktop-file-utils" ,desktop-file-utils)
3354 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3355 ("intltool" ,intltool)
3356 ("itstool" ,itstool)
3357 ("pkg-config" ,pkg-config)
3358 ("xmllint" ,libxml2)))
3361 ("guile" ,guile-2.2)
3362 ("libcanberra" ,libcanberra)
3363 ("librsvg" ,librsvg)))
3364 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3365 (synopsis "Solitaire card games")
3367 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3368 which are easy to play with the aid of a mouse.")
3369 (license license:gpl3+)))
3371 (define-public devhelp
3377 (uri (string-append "mirror://gnome/sources/" name "/"
3378 (version-major+minor version) "/"
3379 name "-" version ".tar.xz"))
3382 "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s"))))
3383 (build-system glib-or-gtk-build-system)
3385 `(("intltool" ,intltool)
3386 ("itstool" ,itstool)
3387 ("pkg-config" ,pkg-config)))
3389 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3390 ("webkitgtk" ,webkitgtk)))
3391 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3392 (synopsis "API documentation browser for GNOME")
3394 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3395 natively with GTK-Doc (the API reference system developed for GTK+ and used
3396 throughout GNOME for API documentation).")
3397 (license license:gpl2+)))
3406 (uri (string-append "mirror://gnome/sources/" name "/"
3407 (version-major+minor version) "/"
3408 name "-" version ".tar.xz"))
3411 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3412 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3413 ;; cogl, corresponding changes may be appropriate in mutter as well.
3414 (build-system gnu-build-system)
3416 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3417 ("gobject-introspection" ,gobject-introspection)
3418 ;;("xorg-server" ,xorg-server) ; for the test suite
3419 ("pkg-config" ,pkg-config)))
3422 ("gdk-pixbuf" ,gdk-pixbuf)
3424 ("libxext" ,libxext)
3425 ("libxfixes" ,libxfixes)
3426 ("libxdamage" ,libxdamage)
3427 ("libxcomposite" ,libxcomposite)
3428 ("libxrandr" ,libxrandr)))
3433 ("gstreamer" ,gstreamer)
3434 ("gst-plugins-base" ,gst-plugins-base)
3435 ("wayland" ,wayland)))
3437 `(#:configure-flags (list "--enable-cogl-gst"
3438 "--enable-wayland-egl-platform"
3439 "--enable-wayland-egl-server"
3441 ;; Arrange to pass an absolute file name to
3442 ;; dlopen for libGL.so.
3443 (string-append "--with-gl-libname="
3444 (assoc-ref %build-inputs "mesa")
3446 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3447 ;; _FontTransOpen: Unable to Parse address
3448 ;; ${prefix}/share/fonts/X11/misc/
3452 (modify-phases %standard-phases
3453 (add-before 'check 'start-xorg-server
3454 (lambda* (#:key inputs #:allow-other-keys)
3455 ;; The test suite requires a running X server.
3456 (system (format #f "~a/bin/Xvfb :1 &"
3457 (assoc-ref inputs "xorg-server")))
3458 (setenv "DISPLAY" ":1")
3460 (home-page "http://www.cogl3d.org")
3461 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3463 "Cogl is a small library for using 3D graphics hardware to draw pretty
3464 pictures. The API departs from the flat state machine style of OpenGL and is
3465 designed to make it easy to write orthogonal components that can render
3466 without stepping on each others toes.")
3467 (license (list license:expat ; most of the code
3468 license:bsd-3 ; cogl/cogl-point-in-poly.c
3469 license:sgifreeb2.0 ; cogl-path/tesselator/
3470 license:asl2.0)))) ; examples/android/
3472 (define-public clutter
3479 (uri (string-append "mirror://gnome/sources/" name "/"
3480 (version-major+minor version) "/"
3481 name "-" version ".tar.xz"))
3484 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3485 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3486 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3487 (build-system gnu-build-system)
3489 "doc")) ;9 MiB of gtk-doc HTML pages
3491 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3492 ("gobject-introspection" ,gobject-introspection)
3493 ("pkg-config" ,pkg-config)
3494 ("xsltproc" ,libxslt)))
3500 ("json-glib" ,json-glib)
3502 ("libxcomposite" ,libxcomposite)
3503 ("libxdamage" ,libxdamage)
3504 ("libxext" ,libxext)
3505 ("xinput" ,xinput)))
3507 `(("libxkbcommon" ,libxkbcommon)
3510 `(#:configure-flags (list "--enable-x11-backend=yes"
3512 ;; This produces share/doc/{clutter,cally}.
3513 (string-append "--with-html-dir="
3514 (assoc-ref %outputs "doc")
3516 ;; XXX FIXME: Get test suite working. It would probably fail in the
3517 ;; same way the cogl tests fail, since clutter is based on cogl.
3519 (home-page "http://www.clutter-project.org")
3520 (synopsis "OpenGL-based interactive canvas library")
3522 "Clutter is an OpenGL-based interactive canvas library, designed for
3523 creating fast, mainly 2D single window applications such as media box UIs,
3524 presentations, kiosk style applications and so on.")
3525 (license license:lgpl2.0+)))
3527 (define-public clutter-gtk
3529 (name "clutter-gtk")
3534 (uri (string-append "mirror://gnome/sources/" name "/"
3535 (version-major+minor version) "/"
3536 name "-" version ".tar.xz"))
3539 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3540 (build-system gnu-build-system)
3542 `(("pkg-config" ,pkg-config)
3543 ("gobject-introspection" ,gobject-introspection)))
3545 ;; clutter-gtk.pc refers to all these.
3546 `(("clutter" ,clutter)
3548 (home-page "http://www.clutter-project.org")
3549 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
3551 "Clutter is an OpenGL-based interactive canvas library, designed for
3552 creating fast, mainly 2D single window applications such as media box UIs,
3553 presentations, kiosk style applications and so on.")
3554 (license license:lgpl2.0+)))
3556 (define-public clutter-gst
3558 (name "clutter-gst")
3563 (uri (string-append "mirror://gnome/sources/clutter-gst/"
3564 (version-major+minor version) "/"
3565 "clutter-gst-" version ".tar.xz"))
3567 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
3568 (build-system gnu-build-system)
3570 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3571 ("pkg-config" ,pkg-config)
3572 ("gobject-introspection" ,gobject-introspection)))
3574 `(("clutter" ,clutter)
3575 ("gstreamer" ,gstreamer)
3576 ("gst-plugins-base" ,gst-plugins-base)))
3577 (home-page "http://www.clutter-project.org")
3578 (synopsis "Integration library for using GStreamer with Clutter")
3580 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3581 It provides a GStreamer sink to upload frames to GL and an actor that
3582 implements the ClutterGstPlayer interface using playbin. Clutter is an
3583 OpenGL-based interactive canvas library.")
3584 (license license:lgpl2.0+)))
3586 (define-public libchamplain
3588 (name "libchamplain")
3593 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3597 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3598 (build-system gnu-build-system)
3599 (arguments '(#:configure-flags '("--enable-vala")))
3601 `(("gobject-introspection" ,gobject-introspection)
3602 ("pkg-config" ,pkg-config)
3605 `(("libsoup" ,libsoup)
3607 ("clutter" ,clutter)
3608 ("clutter-gtk" ,clutter-gtk)
3609 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3613 (home-page "https://projects.gnome.org/libchamplain/")
3614 (synopsis "C library providing a ClutterActor to display maps")
3616 "libchamplain is a C library providing a ClutterActor to display maps.
3617 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3618 and Perl bindings are also available. It supports numerous free map sources
3619 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3620 (license license:lgpl2.1+)))
3629 (uri (string-append "mirror://gnome/sources/gom/"
3630 (version-major+minor version) "/"
3631 "gom-" version ".tar.xz"))
3634 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3635 (build-system gnu-build-system)
3637 `(("intltool" ,intltool)
3638 ("pkg-config" ,pkg-config)
3639 ("gobject-introspection" ,gobject-introspection)))
3642 ("gdk-pixbuf" ,gdk-pixbuf)
3643 ("sqlite" ,sqlite)))
3644 ;; XXX TODO: Figure out how to run the test suite.
3645 (arguments `(#:tests? #f))
3646 (home-page "https://wiki.gnome.org/Projects/Gom")
3647 (synopsis "Object mapper from GObjects to SQLite")
3649 "Gom provides an object mapper from GObjects to SQLite. It helps you
3650 write applications that need to store structured data as well as make complex
3651 queries upon that data.")
3652 (license license:lgpl2.1+)))
3654 (define-public libgnome-games-support
3656 (name "libgnome-games-support")
3660 (uri (string-append "mirror://gnome/sources/" name "/"
3661 (version-major+minor version) "/"
3662 name "-" version ".tar.xz"))
3665 "1j7lfcnc29lgn8ppn13wkn9w2y1n3lsapagwp91zh3bf0h2h4hv1"))))
3666 (build-system gnu-build-system)
3669 (modify-phases %standard-phases
3670 (add-before 'check 'pre-check
3672 ;; Tests require a writable HOME.
3673 (setenv "HOME" (getcwd))
3676 `(("intltool" ,intltool)
3677 ("pkg-config" ,pkg-config)
3680 ;; Required by libgnome-games-support-1.0.pc
3682 ("libgee" ,libgee)))
3683 (home-page "https://www.gnome.org/")
3684 (synopsis "Useful functionality shared among GNOME games")
3686 "libgnome-games-support is a small library intended for internal use by
3687 GNOME Games, but it may be used by others.")
3688 (license license:lgpl3+)))
3690 (define-public gnome-klotski
3692 (name "gnome-klotski")
3696 (uri (string-append "mirror://gnome/sources/" name "/"
3697 (version-major+minor version) "/"
3698 name "-" version ".tar.xz"))
3701 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3702 (build-system glib-or-gtk-build-system)
3704 `(("desktop-file-utils" ,desktop-file-utils)
3705 ("intltool" ,intltool)
3706 ("itstool" ,itstool)
3707 ("pkg-config" ,pkg-config)
3708 ("xmllint" ,libxml2)))
3711 ("libgnome-games-support" ,libgnome-games-support)
3712 ("librsvg" ,librsvg)))
3713 (home-page "https://wiki.gnome.org/Apps/Klotski")
3714 (synopsis "Sliding block puzzles")
3716 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3717 the patterned block to the area bordered by green markers. To do so, you will
3718 need to slide other blocks out of the way. Complete each puzzle in as few moves
3720 (license license:gpl2+)))
3722 (define-public grilo
3729 (uri (string-append "mirror://gnome/sources/" name "/"
3730 (version-major+minor version) "/"
3731 name "-" version ".tar.xz"))
3734 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3735 (build-system gnu-build-system)
3737 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3738 ("intltool" ,intltool)
3739 ("pkg-config" ,pkg-config)
3740 ("gobject-introspection" ,gobject-introspection)))
3742 `(("cyrus-sasl" ,cyrus-sasl)
3745 ("libxml2" ,libxml2)
3746 ("liboauth" ,liboauth)
3747 ("libsoup" ,libsoup)
3749 ("totem-pl-parser" ,totem-pl-parser)))
3752 (modify-phases %standard-phases
3753 (add-after 'unpack 'fix-introspection-install-dir
3754 (lambda* (#:key outputs #:allow-other-keys)
3755 (let ((out (assoc-ref outputs "out")))
3756 (substitute* '("src/Makefile.in"
3757 "libs/pls/Makefile.in"
3758 "libs/net/Makefile.in")
3759 (("@INTROSPECTION_GIRDIR@")
3760 (string-append out "/share/gir-1.0/"))
3761 (("@INTROSPECTION_TYPELIBDIR@")
3762 (string-append out "/lib/girepository-1.0/")))
3764 (native-search-paths
3765 (list (search-path-specification
3766 (variable "GRL_PLUGIN_PATH")
3767 (files (list (string-append "lib/grilo-"
3768 (version-major+minor version)))))))
3769 (home-page "https://live.gnome.org/Grilo")
3770 (synopsis "Framework for discovering and browsing media")
3772 "Grilo is a framework focused on making media discovery and browsing easy
3773 for application developers.")
3774 (license license:lgpl2.1+)))
3776 (define-public grilo-plugins
3778 (name "grilo-plugins")
3783 (uri (string-append "mirror://gnome/sources/" name "/"
3784 (version-major+minor version) "/"
3785 name "-" version ".tar.xz"))
3788 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3789 (build-system gnu-build-system)
3791 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3792 ("intltool" ,intltool)
3793 ("itstool" ,itstool)
3794 ("pkg-config" ,pkg-config)))
3797 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3799 ("libxml2" ,libxml2)
3802 ;; XXX TODO: Add oauth
3803 ;; XXX TODO: Add goa
3804 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3805 ;; XXX TODO: Add lua (needs help finding it)
3806 ("json-glib" ,json-glib)
3809 ("libsoup" ,libsoup)
3810 ("libarchive" ,libarchive)
3811 ("totem-pl-parser" ,totem-pl-parser)))
3813 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3816 ,(version-major+minor version)))
3817 ;; XXX FIXME: Try to get the test suite working. It appears to require
3818 ;; a working system dbus. Inside the build container, all tests fail
3819 ;; with: "assertion failed: (source)". Outside of the build container,
3820 ;; most tests succeed.
3822 (home-page "https://live.gnome.org/Grilo")
3823 (synopsis "Plugins for the Grilo media discovery library")
3825 "Grilo is a framework focused on making media discovery and browsing easy
3826 for application developers.")
3827 (license license:lgpl2.1+)))
3829 (define-public totem
3836 (uri (string-append "mirror://gnome/sources/" name "/"
3837 (version-major+minor version) "/"
3838 name "-" version ".tar.xz"))
3841 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
3842 (patches (search-patches "totem-meson-easy-codec.patch"
3843 "totem-meson-compat.patch"))))
3844 (build-system meson-build-system)
3846 `(("pkg-config" ,pkg-config)
3847 ("desktop-file-utils" ,desktop-file-utils)
3848 ("gobject-introspection" ,gobject-introspection)
3849 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3850 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3851 ("intltool" ,intltool)
3852 ("itstool" ,itstool)
3853 ("xmllint" ,libxml2)))
3855 `(("dconf" ,dconf)))
3858 ("gdk-pixbuf" ,gdk-pixbuf)
3861 ("dbus-glib" ,dbus-glib)
3862 ("clutter" ,clutter)
3863 ("clutter-gtk" ,clutter-gtk)
3864 ("clutter-gst" ,clutter-gst)
3865 ("xorgproto" ,xorgproto)
3866 ("libxxf86vm" ,libxxf86vm)
3867 ("libxtst" ,libxtst)
3868 ("libxrandr" ,libxrandr)
3869 ("libxml2" ,libxml2)
3870 ("libsoup" ,libsoup)
3871 ("libpeas" ,libpeas)
3872 ("librsvg" ,librsvg)
3874 ("gnome-desktop" ,gnome-desktop)
3875 ("gstreamer" ,gstreamer)
3876 ("gst-plugins-base" ,gst-plugins-base)
3877 ("gst-plugins-good" ,gst-plugins-good)
3878 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3879 ("adwaita-icon-theme" ,adwaita-icon-theme)
3880 ;; XXX We use python-2 because libxml2 because itstool (which needs
3881 ;; libxml) currently uses python-2.
3882 ("python" ,python-2)
3883 ("python-pygobject" ,python2-pygobject)
3884 ;; XXX TODO pylint needed for python support
3885 ("totem-pl-parser" ,totem-pl-parser)
3887 ("grilo-plugins" ,grilo-plugins)
3893 ;; Disable parallel builds until
3894 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3895 ;; fixed. Try enabling it when updating this package in case
3896 ;; upstream has fixed it.
3897 #:parallel-build? #f
3899 ;; Disable automatic GStreamer plugin installation via PackageKit and
3901 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3903 ;; Do not build .a files for the plugins, it's
3904 ;; completely useless. This saves 2 MiB.
3905 "--default-library" "shared")
3908 (modify-phases %standard-phases
3910 'install 'disable-cache-generation
3912 (setenv "DESTDIR" "/")
3915 'install 'wrap-totem
3916 (lambda* (#:key inputs outputs #:allow-other-keys)
3917 (let ((out (assoc-ref outputs "out"))
3918 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3919 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3920 (wrap-program (string-append out "/bin/totem")
3921 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3922 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3923 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3924 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3926 (home-page "https://wiki.gnome.org/Apps/Videos")
3927 (synopsis "Simple media player for GNOME based on GStreamer")
3928 (description "Totem is a simple yet featureful media player for GNOME
3929 which can read a large number of file formats.")
3930 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3931 ;; to be used and distributed together with GStreamer and Totem. See
3932 ;; file://COPYING in the source distribution for details.
3933 (license license:gpl2+)))
3935 (define-public rhythmbox
3941 (uri (string-append "mirror://gnome/sources/" name "/"
3942 (version-major+minor version) "/"
3943 name "-" version ".tar.xz"))
3946 ;; fmradio: Fix build with GStreamer master
3950 "https://gitlab.gnome.org/GNOME/rhythmbox/commit/"
3951 "b182c6b9e1d09e601bac0b703cc5f8b159ebbc3a.patch"))
3954 "06n87xgf927djmv1vshal84nqx7g8nwgljza3g2vydhy7g2n1csq")))))
3957 "0hzcns8gf5yb0rm4ss8jd8qzarcaplp5cylk6plwilsqfvxj4xn2"))))
3958 (build-system glib-or-gtk-build-system)
3961 (list "--enable-lirc"
3968 (modify-phases %standard-phases
3970 'install 'wrap-rhythmbox
3971 (lambda* (#:key inputs outputs #:allow-other-keys)
3972 (let ((out (assoc-ref outputs "out"))
3973 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3974 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3975 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3976 (python-path (getenv "PYTHONPATH")))
3977 (wrap-program (string-append out "/bin/rhythmbox")
3978 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3979 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3980 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3981 `("PYTHONPATH" ":" prefix (,python-path))))
3984 `(("dconf" ,dconf)))
3986 `(("itstool" ,itstool)
3987 ("intltool" ,intltool)
3988 ("glib" ,glib "bin")
3989 ("gobject-introspection" ,gobject-introspection)
3990 ("desktop-file-utils" ,desktop-file-utils)
3991 ("pkg-config" ,pkg-config)
3992 ("xmllint" ,libxml2)))
3994 `(("json-glib" ,json-glib)
3996 ("gnome-desktop" ,gnome-desktop)
3998 ("python-pygobject" ,python2-pygobject)
4002 ("adwaita-icon-theme" ,adwaita-icon-theme)
4004 ("grilo-plugins" ,grilo-plugins)
4005 ("gstreamer" ,gstreamer)
4006 ("gst-plugins-base" ,gst-plugins-base)
4007 ("gst-plugins-good" ,gst-plugins-good)
4008 ("totem-pl-parser" ,totem-pl-parser)
4009 ("libgudev" ,libgudev)
4010 ;;("libmtp" ,libmtp) FIXME: Not detected
4011 ("libsecret" ,libsecret)
4012 ("libsoup" ,libsoup)
4013 ("libnotify" ,libnotify)
4014 ("libpeas" ,libpeas)
4016 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4017 ;;("clutter" ,clutter)
4018 ;;("clutter-gtk" ,clutter-gtk)
4019 ;;("clutter-gst" ,clutter-gst)
4020 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4027 ("brasero" ,brasero)))
4028 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4029 (synopsis "Music player for GNOME")
4030 (description "Rhythmbox is a music playing application for GNOME. It
4031 supports playlists, song ratings, and any codecs installed through gstreamer.")
4032 (license license:gpl2+)))
4040 (uri (string-append "mirror://gnome/sources/" name "/"
4041 (version-major+minor version) "/"
4042 name "-" version ".tar.xz"))
4045 "1gasrfqi7qrzdq1idh29r0n6ikkqjb6pbp7a8k5krfz5hkhyfin0"))))
4046 (build-system meson-build-system)
4049 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4050 (list (string-append "-Dc_link_args=-Wl,-rpath="
4051 (assoc-ref %outputs "out") "/lib/eog"))
4053 (modify-phases %standard-phases
4054 (add-after 'install 'wrap-eog
4055 (lambda* (#:key outputs #:allow-other-keys)
4056 (let ((out (assoc-ref outputs "out"))
4057 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4058 (wrap-program (string-append out "/bin/eog")
4059 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4062 `(("dconf" ,dconf)))
4064 `(("intltool" ,intltool)
4065 ("itstool" ,itstool)
4066 ("glib" ,glib "bin")
4067 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4068 ("gobject-introspection" ,gobject-introspection)
4069 ("pkg-config" ,pkg-config)
4070 ("xmllint" ,libxml2)))
4072 `(("gnome-desktop" ,gnome-desktop)
4073 ("shared-mime-info" ,shared-mime-info)
4074 ("adwaita-icon-theme" ,adwaita-icon-theme)
4077 ("libexif" ,libexif)
4078 ("libpeas" ,libpeas)
4079 ("libjpeg" ,libjpeg)
4080 ("librsvg" ,librsvg)
4081 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4083 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4084 (synopsis "GNOME image viewer")
4085 (description "Eye of GNOME is the GNOME image viewer. It
4086 supports image conversion, rotation, and slideshows.")
4087 (license license:gpl2+)))
4089 (define-public eog-plugins
4090 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4091 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4092 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4093 ;; 'XDG_DATA_DIRS' appropriately set.
4095 (name "eog-plugins")
4099 (uri (string-append "mirror://gnome/sources/eog-plugins/"
4100 (version-major+minor version) "/"
4101 "eog-plugins-" version ".tar.xz"))
4104 "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3"))))
4105 (build-system gnu-build-system)
4106 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4107 (synopsis "Extensions for the Eye of GNOME image viewer")
4109 `(("pkg-config" ,pkg-config)
4110 ("gettext" ,gnu-gettext)))
4115 ("libpeas" ,libpeas)
4116 ("libexif" ,libexif)
4117 ("libchamplain" ,libchamplain)))
4119 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4123 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4124 @item @dfn{Map}, which displays a map of where the picture was taken on the
4126 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4129 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4130 ;; long suspicious byte stream that goes to a
4131 ;; ".gresource.eog_postasa_plugin" ELF section.
4132 (license license:gpl2+)))
4134 (define-public libgudev
4140 (uri (string-append "mirror://gnome/sources/" name "/"
4141 version "/" name "-" version ".tar.xz"))
4144 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
4145 (build-system gnu-build-system)
4148 ;; umockdev depends on libgudev.
4149 (list "--disable-umockdev")))
4151 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4152 ("gobject-introspection" ,gobject-introspection)
4153 ("pkg-config" ,pkg-config)))
4155 `(("glib" ,glib))) ; required by gudev-1.0.pc
4158 (home-page "https://wiki.gnome.org/Projects/libgudev")
4159 (synopsis "GObject bindings for libudev")
4161 "This library provides GObject bindings for libudev. It was originally
4162 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4163 (license license:lgpl2.1+)))
4171 (uri (string-append "mirror://gnome/sources/" name "/"
4172 (version-major+minor version) "/"
4173 name "-" version ".tar.xz"))
4176 "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4"))))
4177 (build-system gnu-build-system)
4179 '(#:tests? #f ; XXX: requiring `pidof'
4181 (modify-phases %standard-phases
4182 (add-after 'unpack 'remove-broken-autogen-script
4183 (lambda _ (delete-file "autogen.sh") #t)))))
4185 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4186 ("autoconf" ,autoconf)
4187 ("automake" ,automake)
4188 ("gettext" ,gettext-minimal)
4189 ("gtk-doc" ,gtk-doc)
4190 ("libtool" ,libtool)
4191 ("pkg-config" ,pkg-config)
4192 ("xsltproc" ,libxslt)))
4195 ("docbook-xml" ,docbook-xml-4.2)
4196 ("docbook-xsl" ,docbook-xsl)
4201 ("libarchive" ,libarchive)
4202 ("libbluray" ,libbluray)
4204 ("libcdio-paranoia" ,libcdio-paranoia)
4205 ("libgcrypt" ,libgcrypt)
4206 ("libgphoto2" ,libgphoto2)
4207 ("libgudev" ,libgudev)
4208 ("libimobiledevice" ,libimobiledevice)
4210 ("libsecret" ,libsecret)
4211 ("libsmbclient" ,samba)
4212 ("libsoup" ,libsoup)
4213 ("libxml2" ,libxml2)
4214 ("nettle" ,nettle) ; XXX: required by libarchive.pc
4216 ("udisks" ,udisks)))
4217 (home-page "https://wiki.gnome.org/gvfs/")
4218 (synopsis "Userspace virtual file system for GIO")
4220 "GVFS is a userspace virtual file system designed to work with the I/O
4221 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4222 to all applications using the GIO API. It also supports exposing the GVFS
4223 mounts to non-GIO applications using FUSE.
4225 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4227 (license license:lgpl2.0+)))
4235 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4239 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4240 (build-system meson-build-system)
4242 `(("gobject-introspection" ,gobject-introspection)
4243 ("pkg-config" ,pkg-config)
4245 ("gtk-doc" ,gtk-doc)))
4247 ;; Both of these are required by gusb.pc.
4249 ("libusb" ,libusb)))
4251 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4252 (home-page "https://github.com/hughsie/libgusb")
4253 (synopsis "GLib binding for libusb1")
4255 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4256 asynchronous control, bulk and interrupt transfers with proper cancellation
4257 and integration into a mainloop. This makes it easy to integrate low level
4258 USB transfers with your high-level application or system daemon.")
4259 (license license:lgpl2.1+)))
4261 (define-public simple-scan
4263 (name "simple-scan")
4267 (uri (string-append "https://launchpad.net/simple-scan/"
4268 (version-major+minor version) "/"
4269 version "/+download/simple-scan-"
4273 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4274 (build-system glib-or-gtk-build-system)
4279 ("gdk-pixbuf" ,gdk-pixbuf)
4281 ("libsane" ,sane-backends)))
4283 `(("gettext" ,gettext-minimal)
4284 ("itstool" ,itstool)
4286 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4287 ("pkg-config" ,pkg-config)
4289 ("xmllint" ,libxml2)))
4291 '(#:configure-flags '("--disable-packagekit")
4293 (modify-phases %standard-phases
4294 (add-after 'unpack 'clean
4296 ;; Remove a left-over reference to PackageKit.
4298 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4300 ;; There are some generated C files erroneously
4301 ;; included in the source distribution, and this
4302 ;; one breaks the build by referring to a
4303 ;; non-existent header (packagekit.h)
4304 (delete-file "src/ui.c"))))))
4305 (home-page "https://launchpad.net/simple-scan")
4306 (synopsis "Document and image scanner")
4307 (description "Simple Scan is an easy-to-use application, designed to let
4308 users connect their scanner and quickly have the image/document in an
4309 appropriate format. Simple Scan is basically a frontend for SANE - which is
4310 the same backend as XSANE uses. This means that all existing scanners will
4311 work and the interface is well tested.")
4312 (license license:gpl3+)))
4314 (define-public eolie
4320 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4321 "uploads/3b2ceb7eb15860587db6886bfdd8a91e/"
4322 "eolie-" version ".tar.xz"))
4325 "1s9gkzxa6457v6bh0q8n1ijq1chd2jwgvhk5kppsnya7kxvsx8qh"))))
4326 (build-system meson-build-system)
4330 (modify-phases %standard-phases
4331 (add-after 'wrap 'wrap-more
4332 (lambda* (#:key inputs outputs #:allow-other-keys)
4333 (let* ((out (assoc-ref outputs "out"))
4334 ;; These libraries must be on LD_LIBRARY_PATH.
4335 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4336 "atk" "gtk+" "gsettings-desktop-schemas"
4337 "gcc:lib" ; needed b/c webkitgtk is built with gcc-7
4338 "gobject-introspection"))
4341 (string-append (assoc-ref inputs lib) "/lib"))
4344 (wrap-program (string-append out "/bin/eolie")
4345 `("LD_LIBRARY_PATH" ":" prefix (,path))
4346 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4347 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4350 `(("gcc:lib" ,gcc-7 "lib") ; needed because webkitgtk is built with gcc-7
4351 ("intltool" ,intltool)
4352 ("itstool" ,itstool)
4353 ("pkg-config" ,pkg-config)
4355 ("glib:bin" ,glib "bin")
4356 ("gtk+" ,gtk+ "bin")))
4358 `(("gobject-introspection" ,gobject-introspection)
4359 ("glib-networking" ,glib-networking)
4362 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4363 ("python" ,python-wrapper)
4364 ("python-dateutil" ,python-dateutil)
4365 ("python-pyfxa" ,python-pyfxa)
4366 ("python-pygobject" ,python-pygobject)
4367 ("python-pycairo" ,python-pycairo)
4368 ("python-pycrypto" ,python-pycrypto)
4369 ("libsecret" ,libsecret)
4370 ("gtkspell3" ,gtkspell3)
4371 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4372 ("webkitgtk" ,webkitgtk-2.24)))
4373 (home-page "https://wiki.gnome.org/Apps/Eolie")
4374 (synopsis "Web browser for GNOME")
4376 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4377 a secret password store, an adblocker, and a modern UI.")
4378 (license license:gpl3+)))
4380 (define-public epiphany
4383 (version "3.28.3.1")
4386 (uri (string-append "mirror://gnome/sources/epiphany/"
4387 (version-major+minor version) "/"
4388 "epiphany-" version ".tar.xz"))
4391 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
4393 (build-system meson-build-system)
4395 ;; FIXME: tests run under Xvfb, but fail with:
4396 ;; /src/bookmarks/ephy-bookmarks/create:
4397 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4403 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4404 (list (string-append "-Dc_link_args=-Wl,-rpath="
4405 (assoc-ref %outputs "out") "/lib/epiphany"))))
4407 `(("dconf" ,dconf)))
4409 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4410 ("gcc" ,gcc-7) ; needed because webkitgtk-2.22 is compiled with gcc-7
4411 ("glib:bin" ,glib "bin") ; for glib-mkenums
4412 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4413 ("intltool" ,intltool)
4414 ("itstool" ,itstool)
4415 ("pkg-config" ,pkg-config)
4416 ("xmllint" ,libxml2)))
4420 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4421 ("glib-networking" ,glib-networking)
4422 ("gnome-desktop" ,gnome-desktop)
4423 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4424 ("json-glib" ,json-glib)
4425 ("iso-codes" ,iso-codes)
4426 ("libnotify" ,libnotify)
4427 ("libsecret" ,libsecret)
4428 ("libxslt" ,libxslt)
4429 ("nettle" ,nettle) ; for hogweed
4431 ("webkitgtk" ,webkitgtk-2.24)))
4432 (home-page "https://wiki.gnome.org/Apps/Web")
4433 (synopsis "GNOME web browser")
4435 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4436 principles are simplicity and standards compliance.")
4437 (license license:gpl2+)))
4439 (define-public d-feet
4445 (uri (string-append "mirror://gnome/sources/" name "/"
4446 (version-major+minor version) "/"
4447 name "-" version ".tar.xz"))
4450 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
4451 (build-system glib-or-gtk-build-system)
4453 '(#:out-of-source? #f ; tests need to run in the source directory.
4455 (modify-phases %standard-phases
4459 ;; The test suite requires a running X server.
4460 (system "Xvfb :1 &")
4461 (setenv "DISPLAY" ":1")
4462 ;; Don't fail on missing '/etc/machine-id'.
4463 (setenv "DBUS_FATAL_WARNINGS" "0")
4464 ;; tests.py and window.py don't meet E402:
4465 ;; E402 module level import not at top of file
4466 (substitute* "src/tests/Makefile"
4467 (("--ignore=E123") "--ignore=E123,E402"))
4470 'install 'wrap-program
4471 (lambda* (#:key outputs #:allow-other-keys)
4472 (let ((prog (string-append (assoc-ref outputs "out")
4475 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4476 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4479 `(("intltool" ,intltool)
4480 ("itstool" ,itstool)
4481 ("pkg-config" ,pkg-config)
4482 ("python-pep8" ,python-pep8)
4483 ("xmllint" ,libxml2)
4484 ("xorg-server" ,xorg-server)))
4486 `(("gobject-introspection" ,gobject-introspection)
4488 ("python" ,python-wrapper)
4489 ("python-pygobject" ,python-pygobject)))
4490 (home-page "https://wiki.gnome.org/Apps/DFeet")
4491 (synopsis "D-Bus debugger")
4493 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4494 of running programs and invoke methods on those interfaces.")
4495 (license license:gpl2+)))
4497 (define-public yelp-xsl
4503 (uri (string-append "mirror://gnome/sources/" name "/"
4504 (version-major+minor version) "/"
4505 name "-" version ".tar.xz"))
4508 "14rznm1qpsnmkwksnkd5j7zplakl01kvrcw0fdmd5gdc65xz9kcc"))))
4509 (build-system gnu-build-system)
4511 `(("intltool" ,intltool)
4512 ("itstool" ,itstool)
4513 ("xmllint" ,libxml2)))
4514 (home-page "https://wiki.gnome.org/Apps/Yelp")
4515 (synopsis "XSL stylesheets for Yelp")
4517 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4518 to format Docbook and Mallard documents.")
4519 (license license:gpl2+)))
4527 (uri (string-append "mirror://gnome/sources/" name "/"
4528 (version-major+minor version) "/"
4529 name "-" version ".tar.xz"))
4532 "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8"))))
4533 (build-system glib-or-gtk-build-system)
4535 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4536 ("intltool" ,intltool)
4537 ("itstool" ,itstool)
4538 ("pkg-config" ,pkg-config)))
4540 `(("dconf" ,dconf)))
4542 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4543 ("libxslt" ,libxslt)
4545 ("webkitgtk" ,webkitgtk)
4546 ("yelp-xsl" ,yelp-xsl)))
4547 (home-page "https://wiki.gnome.org/Apps/Yelp")
4548 (synopsis "GNOME help browser")
4550 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4551 man, info, and HTML documents. It can locate documents according to the
4552 freedesktop.org help system specification.")
4553 (license license:gpl2+)))
4555 (define-public yelp-tools
4561 (uri (string-append "mirror://gnome/sources/" name "/"
4562 (version-major+minor version) "/"
4563 name "-" version ".tar.xz"))
4566 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
4567 (build-system gnu-build-system)
4569 `(("pkg-config" ,pkg-config)))
4571 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4572 `(("itstool" ,itstool)
4573 ("xmllint" ,libxml2)
4574 ("xsltproc" ,libxslt)))
4576 `(("yelp-xsl" ,yelp-xsl)))
4577 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4578 (synopsis "Yelp documentation tools")
4580 "Yelp-tools is a collection of scripts and build utilities to help create,
4581 manage, and publish documentation for Yelp and the web. Most of the heavy
4582 lifting is done by packages like yelp-xsl and itstool. This package just
4583 wraps things up in a developer-friendly way.")
4584 (license license:gpl2+)))
4586 (define-public libgee
4592 (uri (string-append "mirror://gnome/sources/" name "/"
4593 (version-major+minor version) "/"
4594 name "-" version ".tar.xz"))
4597 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4598 (build-system gnu-build-system)
4601 (modify-phases %standard-phases
4602 (add-after 'unpack 'fix-introspection-install-dir
4603 (lambda* (#:key outputs #:allow-other-keys)
4604 (let ((out (assoc-ref outputs "out")))
4605 (substitute* "gee/Makefile.in"
4606 (("@INTROSPECTION_GIRDIR@")
4607 (string-append out "/share/gir-1.0/"))
4608 (("@INTROSPECTION_TYPELIBDIR@")
4609 (string-append out "/lib/girepository-1.0/")))))))))
4611 `(("glib" ,glib "bin")
4612 ("pkg-config" ,pkg-config)))
4615 ("gobject-introspection" ,gobject-introspection)))
4616 (home-page "https://wiki.gnome.org/Projects/Libgee")
4617 (synopsis "GObject collection library")
4619 "Libgee is a utility library providing GObject-based interfaces and
4620 classes for commonly used data structures.")
4621 (license license:lgpl2.1+)))
4623 (define-public gexiv2
4629 (uri (string-append "mirror://gnome/sources/" name "/"
4630 (version-major+minor version) "/"
4631 name "-" version ".tar.xz"))
4634 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
4635 (build-system meson-build-system)
4637 ;; On 32-bit platforms, the test fails with a rounding error:
4638 ;; <https://bugzilla.gnome.org/show_bug.cgi?id=775249>. Just skip it for
4640 (if (and (not (%current-target-system))
4641 (member (%current-system) '("i686-linux" "armhf-linux")))
4645 `(("glib" ,glib "bin")
4646 ("pkg-config" ,pkg-config)))
4648 ;; Listed in "Requires" section of gexiv2.pc
4649 `(("exiv2" ,exiv2)))
4652 ("gobject-introspection" ,gobject-introspection)))
4653 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4654 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4656 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4657 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4658 metadata in photo and video files of various formats.")
4659 (license license:gpl2+)))
4661 (define-public shotwell
4667 (uri (string-append "mirror://gnome/sources/" name "/"
4668 (version-major+minor version) "/"
4669 name "-" version ".tar.xz"))
4672 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
4673 (build-system glib-or-gtk-build-system)
4675 `(("dconf" ,dconf)))
4677 `(("pkg-config" ,pkg-config)
4678 ("itstool" ,itstool)
4679 ("gettext" ,gettext-minimal)
4680 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4681 ("itstool" ,itstool)
4684 `(("glib:bin" ,glib "bin")
4685 ("gstreamer" ,gstreamer)
4686 ("gst-plugins-base" ,gst-plugins-base)
4687 ("libgdata" ,libgdata)
4691 ("json-glib" ,json-glib)
4692 ("webkitgtk" ,webkitgtk)
4694 ("libsoup" ,libsoup)
4695 ("libxml2" ,libxml2)
4696 ("libgudev" ,libgudev)
4697 ("libgphoto2" ,libgphoto2)
4699 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4700 (synopsis "Photo manager for GNOME 3")
4702 "Shotwell is a digital photo manager designed for the GNOME desktop
4703 environment. It allows you to import photos from disk or camera, organize
4704 them by keywords and events, view them in full-window or fullscreen mode, and
4705 share them with others via social networking and more.")
4706 (license license:lgpl2.1+)))
4708 (define-public file-roller
4710 (name "file-roller")
4714 (uri (string-append "mirror://gnome/sources/" name "/"
4715 (version-major+minor version) "/"
4716 name "-" version ".tar.xz"))
4719 "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1"))))
4720 (build-system meson-build-system)
4722 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4723 ("intltool" ,intltool)
4724 ("pkg-config" ,pkg-config)
4725 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4726 ("glib:bin" ,glib "bin")))
4727 ;; TODO: Add libnautilus.
4730 ("gdk-pixbuf" ,gdk-pixbuf)
4731 ("json-glib" ,json-glib)
4732 ("libarchive" ,libarchive)
4733 ("libnotify" ,libnotify)
4735 ("itstool" ,itstool)
4736 ("libxml2" ,libxml2)))
4737 (synopsis "Graphical archive manager for GNOME")
4738 (description "File Roller is an archive manager for the GNOME desktop
4739 environment that allows users to view, unpack, and create compressed archives
4740 such as gzip tarballs.")
4741 (home-page "http://fileroller.sourceforge.net/")
4742 (license license:gpl2+)))
4744 (define-public gnome-session
4746 (name "gnome-session")
4750 (uri (string-append "mirror://gnome/sources/" name "/"
4751 (version-major+minor version) "/"
4752 name "-" version ".tar.xz"))
4755 "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq"))))
4759 (modify-phases %standard-phases
4760 (add-before 'configure 'pre-configure
4761 (lambda* (#:key outputs #:allow-other-keys)
4762 ;; Use elogind instead of systemd.
4763 (substitute* "meson.build"
4764 (("libsystemd-login") "libelogind")
4765 (("and libsystemd_daemon_dep.found.*") ","))
4766 (substitute* "gnome-session/gsm-systemd.c"
4767 (("#include <systemd/sd-login.h>")
4768 "#include <elogind/sd-login.h>"))
4769 ;; Remove uses of the systemd daemon.
4770 (substitute* "gnome-session/gsm-autostart-app.c"
4771 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4773 (add-after 'install 'wrap-gnome-session
4774 (lambda* (#:key inputs outputs #:allow-other-keys)
4775 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4776 (let ((glib (assoc-ref inputs "glib:bin"))
4777 (out (assoc-ref outputs "out")))
4778 (wrap-program (string-append out "/bin/gnome-session")
4779 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4781 (add-after 'install 'add-absolute-paths-to-desktop-files
4782 (lambda* (#:key outputs #:allow-other-keys)
4783 (let* ((out (assoc-ref outputs "out")))
4784 (substitute* (map (lambda (x)
4785 (string-append out "/share/xsessions/" x))
4786 '("gnome.desktop" "gnome-xorg.desktop"))
4787 (("gnome-session") (string-append out "/bin/gnome-session")))
4791 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4792 "-Dman=false" ; FIXME: disabled because of docbook validation error
4793 "-Dsystemd_journal=false")))
4794 (build-system meson-build-system)
4796 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4797 ("pkg-config" ,pkg-config)
4798 ("intltool" ,intltool)
4799 ("xsltproc" ,libxslt)
4800 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4801 ("docbook-xsl" ,docbook-xsl)
4802 ("docbook-xml" ,docbook-xml)
4805 `(("elogind" ,elogind)
4806 ("gnome-desktop" ,gnome-desktop)
4807 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4809 ("json-glib" ,json-glib)
4811 ("libxcomposite" ,libxcomposite)
4812 ("libxtst" ,libxtst)
4815 ("xtrans" ,xtrans)))
4816 (synopsis "Session manager for GNOME")
4818 "This package contains the GNOME session manager, as well as a
4819 configuration program to choose applications starting on login.")
4820 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4821 (license license:gpl2+)))
4829 (uri (string-append "mirror://gnome/sources/" name "/"
4830 (version-major+minor version) "/"
4831 name "-" version ".tar.xz"))
4834 "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff"))))
4835 (build-system gnu-build-system)
4838 (modify-phases %standard-phases
4842 ;; The test suite requires a running X server.
4843 (system "Xvfb :1 &")
4844 (setenv "DISPLAY" ":1")
4846 ;; For the missing /etc/machine-id.
4847 (setenv "DBUS_FATAL_WARNINGS" "0")
4849 ;; Our mozjs-38 package does not compile the required Intl API
4850 ;; support for these failing tests.
4851 (substitute* "installed-tests/js/testLocale.js"
4852 ((".*toBeDefined.*") "")
4853 ((".*expect\\(datestr\\).*") ""))
4856 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4857 ("pkg-config" ,pkg-config)
4858 ("xmllint" ,libxml2)
4860 ("dbus-launch" ,dbus)
4861 ("uuidgen" ,util-linux)
4862 ("xvfb" ,xorg-server-for-tests)))
4864 ;; These are all in the Requires.private field of gjs-1.0.pc.
4866 ("gobject-introspection" ,gobject-introspection)
4867 ("mozjs" ,mozjs-52)))
4870 ("readline" ,readline)))
4871 (synopsis "Javascript bindings for GNOME")
4872 (home-page "https://live.gnome.org/Gjs")
4874 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4875 javascript engine and the GObject introspection framework.")
4876 (license license:gpl2+)))
4878 (define-public gedit
4884 (uri (string-append "mirror://gnome/sources/" name "/"
4885 (version-major+minor version) "/"
4886 name "-" version ".tar.xz"))
4889 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
4890 (build-system glib-or-gtk-build-system)
4893 (modify-phases %standard-phases
4895 'install 'wrap-gedit
4896 (lambda* (#:key inputs outputs #:allow-other-keys)
4897 (let ((out (assoc-ref outputs "out"))
4898 (gtksourceview (assoc-ref inputs "gtksourceview"))
4899 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4900 (python-path (getenv "PYTHONPATH")))
4901 (wrap-program (string-append out "/bin/gedit")
4903 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4904 `("PYTHONPATH" ":" prefix (,python-path))
4905 ;; For language-specs.
4906 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4910 `(("dconf" ,dconf)))
4912 `(("intltool" ,intltool)
4913 ("itstool" ,itstool)
4914 ("gobject-introspection" ,gobject-introspection)
4915 ("pkg-config" ,pkg-config)))
4920 ("gtksourceview" ,gtksourceview-3)
4921 ("libpeas" ,libpeas)
4922 ("libxml2" ,libxml2)
4923 ("iso-codes" ,iso-codes)
4924 ("python-pygobject" ,python-pygobject)
4926 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4929 ("adwaita-icon-theme" ,adwaita-icon-theme)
4930 ("libsoup" ,libsoup)
4931 ("gnome-desktop" ,gnome-desktop)))
4932 (home-page "https://wiki.gnome.org/Apps/Gedit")
4933 (synopsis "GNOME text editor")
4934 (description "While aiming at simplicity and ease of use, gedit is a
4935 powerful general purpose text editor.")
4936 (license license:gpl2+)))
4938 (define-public zenity
4944 (uri (string-append "mirror://gnome/sources/" name "/"
4945 (version-major+minor version) "/"
4946 name "-" version ".tar.xz"))
4949 "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv"))))
4950 (build-system gnu-build-system)
4952 `(("gettext" ,gettext-minimal)
4953 ("itstool" ,itstool)
4954 ("pkg-config" ,pkg-config)))
4956 `(("libnotify" ,libnotify)
4957 ("webkitgtk" ,webkitgtk)))
4958 (synopsis "Display graphical dialog boxes from shell scripts")
4959 (home-page "https://www.gnome.org")
4961 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4962 to display dialog boxes from the commandline and shell scripts.")
4963 (license license:lgpl2.0+)))
4965 (define-public mutter
4971 (uri (string-append "mirror://gnome/sources/" name "/"
4972 (version-major+minor version) "/"
4973 name "-" version ".tar.xz"))
4976 "0ighs1zvlssgq16v1h3vg280za7y448snq65gc5m1zmqqawqkymg"))))
4977 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4978 ;; versions of cogl and clutter. As a result, many of the inputs,
4979 ;; propagated-inputs, and configure flags used in cogl and clutter are
4980 ;; needed here as well.
4981 (build-system gnu-build-system)
4984 ;; XXX: build fails with [-Werror]:
4985 ;; backends/meta-cursor-renderer.c:112:5: error:
4986 ;; implicit declaration of function ?roundf?
4987 (list "--enable-compile-warnings=minimum"
4989 "--enable-native-backend"
4991 ;; The following flags are needed for the bundled clutter
4992 "--enable-x11-backend=yes"
4994 (string-append "--with-xwayland-path="
4995 (assoc-ref %build-inputs "xorg-server-xwayland")
4998 ;; the remaining flags are needed for the bundled cogl
5000 (string-append "--with-gl-libname="
5001 (assoc-ref %build-inputs "mesa")
5004 (modify-phases %standard-phases
5005 ;; Replace references to systemd libraries to elogind references.
5006 (add-before 'configure 'use-elogind
5008 (substitute* (list "configure"
5009 "src/backends/native/meta-launcher.c"
5011 (("systemd") "elogind"))
5014 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5015 ("gobject-introspection" ,gobject-introspection)
5016 ("intltool" ,intltool)
5017 ("pkg-config" ,pkg-config)
5019 ("autoconf" ,autoconf)
5020 ("automake" ,automake)
5021 ("libtool" ,libtool)))
5023 `(;; libmutter.pc refers to these:
5024 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5026 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5029 ("gdk-pixbuf" ,gdk-pixbuf)
5032 ("json-glib" ,json-glib)
5033 ("libinput" ,libinput)
5035 ("libxcomposite" ,libxcomposite)
5036 ("libxdamage" ,libxdamage)
5037 ("libxext" ,libxext)
5038 ("libxfixes" ,libxfixes)
5039 ("libxkbcommon" ,libxkbcommon)
5040 ("libxrandr" ,libxrandr)
5044 ("xinput" ,xinput)))
5046 `(("elogind" ,elogind)
5047 ("gnome-desktop" ,gnome-desktop)
5048 ("libcanberra-gtk" ,libcanberra)
5049 ("libgudev" ,libgudev)
5052 ("libxkbfile" ,libxkbfile)
5053 ("libxrandr" ,libxrandr)
5054 ("libxtst" ,libxtst)
5055 ("startup-notification" ,startup-notification)
5056 ("upower-glib" ,upower)
5057 ("xkeyboard-config" ,xkeyboard-config)
5058 ("xorg-server-xwayland" ,xorg-server-xwayland)
5059 ("zenity" ,zenity)))
5060 (synopsis "Window and compositing manager")
5061 (home-page "https://www.gnome.org")
5063 "Mutter is a window and compositing manager that displays and manages your
5064 desktop via OpenGL. Mutter combines a sophisticated display engine using the
5065 Clutter toolkit with solid window-management logic inherited from the Metacity
5067 (license license:gpl2+)))
5069 (define-public gnome-online-accounts
5071 (name "gnome-online-accounts")
5075 (uri (string-append "mirror://gnome/sources/" name "/"
5076 (version-major+minor version) "/"
5077 name "-" version ".tar.xz"))
5080 "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47"))))
5081 (outputs '("out" "lib"))
5082 (build-system glib-or-gtk-build-system)
5085 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5087 (modify-phases %standard-phases
5088 (add-before 'configure 'patch-libgoa-output
5089 (lambda* (#:key outputs #:allow-other-keys)
5090 (let ((lib (assoc-ref outputs "lib")))
5091 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5093 (("@exec_prefix@") lib)
5094 (("@libdir@") (string-append lib "/lib"))
5095 (("@includedir@") (string-append lib "/include"))
5096 (("@datadir@") (string-append lib "/share")))
5099 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5100 ("gobject-introspection" ,gobject-introspection)
5101 ("intltool" ,intltool)
5102 ("pkg-config" ,pkg-config)
5103 ("xsltproc" ,libxslt)))
5105 `(("glib" ,glib) ; required by goa-1.0.pc
5106 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5108 `(("docbook-xsl" ,docbook-xsl)
5109 ("json-glib" ,json-glib)
5110 ("libsecret" ,libsecret)
5112 ("webkitgtk" ,webkitgtk)))
5113 (synopsis "Single sign-on framework for GNOME")
5114 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5116 "GNOME Online Accounts provides interfaces so that applications and
5117 libraries in GNOME can access the user's online accounts. It has providers for
5118 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5119 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5120 (license license:lgpl2.0+)))
5122 (define-public evolution-data-server
5124 (name "evolution-data-server")
5128 (uri (string-append "mirror://gnome/sources/" name "/"
5129 (version-major+minor version) "/"
5130 name "-" version ".tar.xz"))
5133 "11sq795115vrcgxl9svscm6wg8isjj784c3d84qzb6z47zq92zj3"))))
5134 (outputs '("out" "libedataserverui"))
5135 (build-system cmake-build-system)
5137 '(;; XXX FIXME: 11/85 tests are failing.
5140 (let* ((lib (string-append (assoc-ref %outputs "out")
5142 (runpaths (map (lambda (s) (string-append
5143 lib "/evolution-data-server/" s))
5144 '("addressbook-backends" "calendar-backends"
5145 "camel-providers" "credential-modules"
5146 "registry-modules"))))
5147 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5148 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5149 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5150 "-DENABLE_VALA_BINDINGS=ON"
5151 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
5152 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5153 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5154 ;; evolution-data-server has been updated to qualify ICU types
5155 ;; explicitly, as required by ICU 61 and later. See:
5156 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5157 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
5158 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5159 (string-append lib "/evolution-data-server;")
5160 (string-join runpaths ";"))
5161 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5163 (modify-phases %standard-phases
5164 (add-after 'unpack 'patch-paths
5166 (substitute* "tests/test-server-utils/e-test-server-utils.c"
5167 (("/bin/rm") (which "rm")))
5169 (add-before 'configure 'dont-override-rpath
5171 (substitute* "CMakeLists.txt"
5172 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5173 ;; Remove it so the configure flag is respected.
5174 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5176 (add-after 'install 'split
5177 (lambda* (#:key outputs #:allow-other-keys)
5178 (let ((out (assoc-ref outputs "out"))
5179 (libedsui (assoc-ref outputs "libedataserverui")))
5180 (for-each (lambda (file)
5181 (mkdir-p (dirname (string-append libedsui file)))
5182 (rename-file (string-append out file)
5183 (string-append libedsui file)))
5184 '("/lib/pkgconfig/libedataserverui-1.2.pc"
5185 "/lib/libedataserverui-1.2.so"
5186 "/lib/libedataserverui-1.2.so.2"
5187 "/lib/libedataserverui-1.2.so.2.0.0"
5188 "/lib/girepository-1.0/EDataServerUI-1.2.typelib"
5189 "/include/evolution-data-server/libedataserverui"
5190 "/share/gir-1.0/EDataServerUI-1.2.gir"
5191 "/share/vala/vapi/libedataserverui-1.2.vapi"
5192 "/share/vala/vapi/libedataserverui-1.2.deps"))
5193 (substitute* (string-append libedsui "/lib/pkgconfig/"
5194 "libedataserverui-1.2.pc")
5198 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5199 ("gobject-introspection" ,gobject-introspection)
5201 ("intltool" ,intltool)
5202 ("pkg-config" ,pkg-config)
5204 ("python" ,python-wrapper)))
5206 ;; These are all in the Requires field of .pc files.
5208 ("libical" ,libical)
5209 ("libsecret" ,libsecret)
5210 ("libsoup" ,libsoup)
5212 ("sqlite" ,sqlite)))
5216 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5217 ("json-glib" ,json-glib)
5218 ("libgweather" ,libgweather)
5219 ("mit-krb5" ,mit-krb5)
5220 ("openldap" ,openldap)
5221 ("webkitgtk" ,webkitgtk)))
5222 (synopsis "Store address books and calendars")
5223 (home-page "https://wiki.gnome.org/Apps/Evolution")
5225 "This package provides a unified backend for programs that work with
5226 contacts, tasks, and calendar information. It was originally developed for
5227 Evolution (hence the name), but is now used by other packages as well.")
5228 (license license:lgpl2.0)))
5230 (define-public caribou
5236 (uri (string-append "mirror://gnome/sources/" name "/"
5237 (version-major+minor version) "/"
5238 name "-" version ".tar.xz"))
5241 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5242 (build-system glib-or-gtk-build-system)
5245 (modify-phases %standard-phases
5248 (lambda* (#:key outputs #:allow-other-keys)
5249 (let ((out (assoc-ref outputs "out")))
5250 ;; Use absolute shared library path in Caribou-1.0.typelib.
5251 (substitute* "libcaribou/Makefile"
5252 (("--shared-library=libcaribou.so")
5253 (string-append "--shared-library="
5254 out "/lib/libcaribou.so")))
5256 (add-after 'install 'wrap-programs
5257 (lambda* (#:key outputs #:allow-other-keys)
5258 (let* ((out (assoc-ref outputs "out"))
5259 (python-path (getenv "PYTHONPATH"))
5260 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5264 `("PYTHONPATH" ":" prefix (,python-path))
5265 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5266 (list (string-append out "/bin/caribou-preferences")
5267 (string-append out "/libexec/antler-keyboard"))))
5270 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5271 ("gobject-introspection" ,gobject-introspection)
5272 ("intltool" ,intltool)
5273 ("pkg-config" ,pkg-config)
5274 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5276 ("xsltproc" ,libxslt)))
5278 ;; caribou-1.0.pc refers to all these.
5279 `(("libgee" ,libgee)
5280 ("libxklavier" ,libxklavier)
5281 ("libxtst" ,libxtst)
5284 `(("clutter" ,clutter)
5287 ("python-pygobject" ,python2-pygobject)))
5288 (synopsis "Text entry and UI navigation application")
5289 (home-page "https://wiki.gnome.org/Projects/Caribou")
5291 "Caribou is an input assistive technology intended for switch and pointer
5293 (license license:lgpl2.1)))
5295 (define-public network-manager
5297 (name "network-manager")
5301 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5302 (version-major+minor version) "/"
5303 "NetworkManager-" version ".tar.xz"))
5306 "1jn3g0f2x1irc88awqp8m3gnpdx1whqqqbdgkbgr4x55s702jki4"))
5309 (use-modules (guix build utils))
5310 (substitute* "configure"
5311 ;; Replace libsystemd-login with libelogind.
5312 (("libsystemd-login") "libelogind"))
5313 (substitute* "src/devices/wwan/nm-modem-manager.c"
5314 (("systemd") "elogind"))
5315 (substitute* "src/nm-session-monitor.c"
5316 (("systemd") "elogind"))
5317 (substitute* "./src/nm-logging.c"
5318 (("systemd") "elogind"))
5320 (build-system gnu-build-system)
5322 "doc")) ; 8 MiB of gtk-doc HTML
5325 (let ((out (assoc-ref %outputs "out"))
5326 (doc (assoc-ref %outputs "doc"))
5327 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5329 (list "--with-systemd-logind=yes" ;In Guix System, this is provided by elogind.
5330 "--with-consolekit=no"
5331 "--with-crypto=gnutls"
5332 "--disable-config-plugin-ibft"
5334 "--localstatedir=/var"
5335 (string-append "--with-udev-dir="
5337 (string-append "--with-dbus-sys-dir="
5338 out "/etc/dbus-1/system.d")
5339 (string-append "--with-html-dir="
5340 doc "/share/gtk-doc/html")
5341 (string-append "--with-dhclient=" dhclient)))
5343 (modify-phases %standard-phases
5344 (add-before 'configure 'pre-configure
5346 ;; These tests try to test aspects of network-manager's
5347 ;; functionality within restricted containers, but they don't
5348 ;; cope with being already in the Guix build jail as that jail
5349 ;; lacks some features that they would like to proxy over (like
5351 (substitute* '("Makefile.in")
5352 (("src/platform/tests/test-address-linux") " ")
5353 (("src/platform/tests/test-cleanup-linux") " ")
5354 (("src/platform/tests/test-link-linux") " ")
5355 (("src/platform/tests/test-route-linux") " ")
5356 (("src/devices/tests/test-arping") " ")
5357 (("src/devices/tests/test-lldp") " ")
5358 (("src/tests/test-route-manager-linux") " "))
5360 (add-after 'unpack 'delete-failing-tests
5362 ;; FIXME: These four tests fail for unknown reasons.
5363 ;; ERROR:libnm-core/tests/test-general.c:5842:
5364 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5365 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5366 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5367 ;; ERROR:libnm-core/tests/test-setting.c:907:
5368 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5369 ;; NetworkManager:ERROR:src/platform/tests/test-nmp-object.c:397:
5370 ;; test_cache_link: assertion failed: (nmp_object_is_visible (obj_new))
5371 (substitute* "Makefile.in"
5372 (("libnm-core/tests/test-general") " ")
5373 (("libnm-core/tests/test-keyfile") " ")
5374 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " ")
5375 (("src/platform/tests/test-nmp-object") " "))
5377 (add-before 'check 'pre-check
5379 ;; For the missing /etc/machine-id.
5380 (setenv "DBUS_FATAL_WARNINGS" "0")
5388 "nmstatedir=/tmp/nm"
5394 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5395 ("gobject-introspection" ,gobject-introspection)
5396 ("docbook-xsl" ,docbook-xsl)
5397 ("intltool" ,intltool)
5398 ("libxslt" ,libxslt)
5399 ("libxml2" ,libxml2)
5400 ("pkg-config" ,pkg-config)
5402 ("python" ,python-wrapper)
5403 ("python-dbus" ,python-dbus)
5404 ("python-pygobject" ,python-pygobject)))
5407 ("cyrus-sasl" ,cyrus-sasl)
5408 ("dbus-glib" ,dbus-glib)
5409 ("dnsmasq" ,dnsmasq)
5412 ("iptables" ,iptables)
5413 ("isc-dhcp" ,isc-dhcp)
5414 ("jansson" ,jansson)
5415 ("libgcrypt" ,libgcrypt)
5416 ("libgudev" ,libgudev)
5419 ("libsoup" ,libsoup)
5420 ("modem-manager" ,modem-manager)
5421 ("newt" ,newt) ;for the 'nmtui' console interface
5424 ("readline" ,readline)
5425 ("util-linux" ,util-linux)
5426 ("elogind" ,elogind)))
5427 (synopsis "Network connection manager")
5428 (home-page "https://www.gnome.org/projects/NetworkManager/")
5430 "NetworkManager is a system network service that manages your network
5431 devices and connections, attempting to keep active network connectivity when
5432 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5433 devices, and provides VPN integration with a variety of different VPN
5435 (license license:gpl2+)
5436 (properties '((upstream-name . "NetworkManager")))))
5438 (define-public network-manager-openvpn
5440 (name "network-manager-openvpn")
5445 "mirror://gnome/sources/NetworkManager-openvpn/"
5446 (version-major+minor version)
5447 "/NetworkManager-openvpn-" version ".tar.xz"))
5450 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
5451 (build-system gnu-build-system)
5453 '(#:configure-flags '("--enable-absolute-paths")))
5455 `(("pkg-config" ,pkg-config)
5456 ("intltool" ,intltool)))
5459 ("openvpn" ,openvpn)
5460 ("network-manager" ,network-manager)
5461 ("network-manager-applet" ,network-manager-applet) ;for libnma
5462 ("libsecret" ,libsecret)))
5463 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5464 (synopsis "OpenVPN plug-in for NetworkManager")
5466 "This extension of NetworkManager allows it to take care of connections
5467 to virtual private networks (VPNs) via OpenVPN.")
5468 (license license:gpl2+)
5469 (properties `((upstream-name . "NetworkManager-openvpn")))))
5471 (define-public mobile-broadband-provider-info
5473 (name "mobile-broadband-provider-info")
5474 (version "20170310")
5478 "mirror://gnome/sources/"
5479 "mobile-broadband-provider-info/" version "/"
5480 "mobile-broadband-provider-info-" version ".tar.xz"))
5483 "0fxm11x8k9hxjg8l5inaldfmmjnwkay3ibjv899jra03bv4h6kql"))))
5484 (build-system gnu-build-system)
5486 `(#:tests? #f)) ; No tests
5487 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5488 (synopsis "Database of broadband connection configuration")
5489 (description "Database of broadband connection configuration.")
5490 (license license:public-domain)))
5492 (define-public network-manager-applet
5494 (name "network-manager-applet")
5498 (uri (string-append "mirror://gnome/sources/" name "/"
5499 (version-major+minor version) "/"
5500 name "-" version ".tar.xz"))
5503 "1js0i2kwfklahsn77qgxzdscy33drrlym3mrj1qhlw0zf8ri56ya"))))
5504 (build-system glib-or-gtk-build-system)
5505 (arguments '(#:configure-flags '("--disable-migration")))
5507 `(("intltool" ,intltool)
5508 ("gobject-introspection" ,gobject-introspection)
5509 ("pkg-config" ,pkg-config)))
5511 ;; libnm-gtk.pc refers to all these.
5512 `(("dbus-glib" ,dbus-glib)
5514 ("network-manager" ,network-manager)))
5516 `(("iso-codes" ,iso-codes)
5517 ("libgudev" ,libgudev)
5518 ("libnotify" ,libnotify)
5519 ("libsecret" ,libsecret)
5520 ("libselinux" ,libselinux)
5521 ("jansson" ,jansson) ; for team support
5522 ("modem-manager" ,modem-manager)))
5523 (synopsis "Applet for managing network connections")
5524 (home-page "https://www.gnome.org/projects/NetworkManager/")
5526 "This package contains a systray applet for NetworkManager. It displays
5527 the available networks and allows users to easily switch between them.")
5528 (license license:gpl2+)))
5530 (define-public libxml++
5536 (uri (string-append "mirror://gnome/sources/" name "/"
5537 (version-major+minor version) "/"
5538 name "-" version ".tar.xz"))
5541 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5542 (build-system gnu-build-system)
5543 ;; libxml++-3.0.pc refers to all these.
5545 `(("libxml2" ,libxml2)
5546 ("glibmm" ,glibmm)))
5549 ("pkg-config" ,pkg-config)))
5550 (home-page "http://libxmlplusplus.sourceforge.net/")
5551 (synopsis "C++ wrapper for XML parser library libxml2")
5553 "This package provides a C++ wrapper for the XML parser library
5555 (license license:lgpl2.1+)))
5557 (define-public libxml++-2
5564 (uri (string-append "mirror://gnome/sources/" name "/"
5565 (version-major+minor version) "/"
5566 name "-" version ".tar.xz"))
5569 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5577 (uri (string-append "mirror://gnome/sources/" name "/"
5578 (version-major+minor version) "/"
5579 name "-" version ".tar.xz"))
5580 (patches (search-patches "gdm-CVE-2018-14424.patch"))
5583 "0wdm1503x66n1crdlmzmincbd2hccpxsdgjsl5anx3yjpdzs0hb0"))))
5584 (build-system glib-or-gtk-build-system)
5587 `("--without-plymouth"
5588 "--disable-systemd-journal"
5590 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5591 ;; instead of having to replace it (i.e., stopping the mingetty
5592 ;; service for TTY 1 before starting GDM).
5593 "--with-initial-vt=7"
5595 ;; Use '/etc/environment' for locale settings instead of the
5596 ;; systemd-specific '/etc/locale.conf'.
5597 "--with-lang-file=/etc/environment"
5599 "--localstatedir=/var"
5600 ,(string-append "--with-default-path="
5601 (string-join '("/run/setuid-programs"
5602 "/run/current-system/profile/bin"
5603 "/run/current-system/profile/sbin")
5605 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5606 ;; XDG_DATA_DIRS so that it finds its schemas.
5607 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5609 (modify-phases %standard-phases
5611 'configure 'pre-configure
5612 (lambda* (#:key inputs outputs #:allow-other-keys)
5613 ;; We don't have <systemd/sd-daemon.h>.
5614 (substitute* '("common/gdm-log.c"
5615 "daemon/gdm-server.c"
5616 "daemon/gdm-session-worker.c"
5617 "daemon/gdm-session-worker-job.c")
5618 (("#include <systemd/sd-daemon\\.h>") ""))
5619 ;; Use elogind for sd-login.
5620 (substitute* '("common/gdm-common.c"
5621 "daemon/gdm-manager.c"
5622 "libgdm/gdm-user-switching.c")
5623 (("#include <systemd/sd-login\\.h>")
5624 "#include <elogind/sd-login.h>"))
5625 ;; Check for elogind.
5626 (substitute* '("configure")
5629 ;; Look for system-installed sessions in
5630 ;; /run/current-system/profile/share.
5631 (substitute* '("libgdm/gdm-sessions.c"
5632 "daemon/gdm-session.c"
5633 "daemon/gdm-display.c"
5634 "daemon/gdm-launch-environment.c")
5636 "\"/run/current-system/profile/share/x")
5637 (("DATADIR \"/wayland")
5638 "\"/run/current-system/profile/share/wayland")
5639 (("DATADIR \"/gnome")
5640 "\"/run/current-system/profile/share/gnome"))
5641 (let ((propagate '("GDM_CUSTOM_CONF"
5645 ;; XXX: Remove this once GNOME Shell is
5646 ;; a dependency of GDM.
5648 (substitute* "daemon/gdm-session.c"
5649 (("set_up_session_environment \\(self\\);")
5650 (apply string-append
5651 "set_up_session_environment (self);\n"
5654 "gdm_session_set_environment_variable "
5655 "(self, \"" name "\","
5656 "g_getenv (\"" name "\"));\n"))
5658 ;; Look for custom GDM conf in /run/current-system.
5659 (substitute* '("common/gdm-settings-desktop-backend.c")
5660 (("GDM_CUSTOM_CONF")
5661 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5662 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5663 " : GDM_CUSTOM_CONF)")))
5664 ;; Use service-supplied path to X.
5665 (substitute* '("daemon/gdm-server.c")
5666 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5667 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5668 (substitute* '("daemon/gdm-x-session.c")
5669 (("\"dbus-daemon\"")
5670 "g_getenv (\"GDM_DBUS_DAEMON\")")
5672 "g_getenv (\"GDM_X_SERVER\")")
5673 (("GDMCONFDIR \"/Xsession\"")
5674 "g_getenv (\"GDM_X_SESSION\")"))
5675 ;; Use an absolute path for GNOME Session.
5676 (substitute* "daemon/gdm-launch-environment.c"
5677 (("\"gnome-session\"")
5678 (string-append "\"" (assoc-ref inputs "gnome-session")
5679 "/bin/gnome-session\"")))
5680 ;; Do not automatically select the placeholder session.
5681 (substitute* "daemon/gdm-session.c"
5682 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5683 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5684 "(g_strcmp0(search_dirs[i], \""
5685 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5687 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5688 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5689 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
5691 ;; GDM requires that there be at least one desktop entry
5692 ;; file. This phase installs a hidden one that simply
5693 ;; fails. This enables users to use GDM with a
5694 ;; '~/.xsession' script with no other desktop entry files.
5695 ;; See <https://bugs.gnu.org/35068>.
5696 (add-after 'install 'install-placeholder-desktop-entry
5697 (lambda* (#:key inputs outputs #:allow-other-keys)
5698 (let* ((out (assoc-ref outputs "out"))
5699 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5700 (fail (string-append sessions "/fail.desktop")))
5702 (with-output-to-file fail
5706 '("[Desktop Entry]\n"
5708 "Type=Application\n"
5710 "Comment=This session fails immediately.\n"
5714 ;; GDM needs GNOME Session to run these applications. We link
5715 ;; their autostart files in `share/gdm/greeter/autostart'
5716 ;; because GDM explicitly tells GNOME Session to look there.
5718 ;; XXX: GNOME Shell should be linked here too, but currently
5719 ;; GNOME Shell depends on GDM.
5720 (add-after 'install 'link-autostart-files
5721 (lambda* (#:key inputs outputs #:allow-other-keys)
5722 (let* ((out (assoc-ref outputs "out"))
5723 (autostart (string-append out "/share/gdm/"
5724 "greeter/autostart"))
5725 (settings (assoc-ref inputs "gnome-settings-daemon")))
5727 (with-directory-excursion autostart
5728 (for-each (lambda (desktop)
5729 (symlink desktop (basename desktop)))
5730 (find-files (string-append settings "/etc/xdg"))))
5734 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5735 ("gobject-introspection" ,gobject-introspection)
5736 ("intltool" ,intltool)
5737 ("itstool" ,itstool)
5738 ("pkg-config" ,pkg-config)
5739 ("xmllint" ,libxml2)))
5741 `(("accountsservice" ,accountsservice)
5742 ("check" ,check) ; for testing
5743 ("elogind" ,elogind)
5744 ("gnome-session" ,gnome-session)
5745 ("gnome-settings-daemon" ,gnome-settings-daemon)
5747 ("iso-codes" ,iso-codes)
5748 ("libcanberra" ,libcanberra)
5749 ("linux-pam" ,linux-pam)))
5750 (synopsis "Display manager for GNOME")
5751 (home-page "https://wiki.gnome.org/Projects/GDM/")
5753 "GNOME Display Manager is a system service that is responsible for
5754 providing graphical log-ins and managing local and remote displays.")
5755 (license license:gpl2+)))
5757 (define-public libgtop
5763 (uri (string-append "mirror://gnome/sources/" name "/"
5764 (version-major+minor version) "/"
5765 name "-" version ".tar.xz"))
5768 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5769 (build-system gnu-build-system)
5771 `(("gobject-introspection" ,gobject-introspection)
5772 ("intltool" ,intltool)
5774 ("pkg-config" ,pkg-config)))
5776 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5777 (synopsis "Portable system access library")
5778 (home-page "https://www.gnome.org/")
5780 "LibGTop is a library to get system specific data such as CPU and memory
5781 usage and information about running processes.")
5782 (license license:gpl2+)))
5784 (define-public gnome-bluetooth
5786 (name "gnome-bluetooth")
5790 (uri (string-append "mirror://gnome/sources/" name "/"
5791 (version-major+minor version) "/"
5792 name "-" version ".tar.xz"))
5795 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5796 (build-system meson-build-system)
5798 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5799 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5800 ("gobject-introspection" ,gobject-introspection)
5801 ("intltool" ,intltool)
5802 ("pkg-config" ,pkg-config)
5803 ("xmllint" ,libxml2)))
5805 ;; gnome-bluetooth-1.0.pc refers to all these.
5809 `(("libcanberra" ,libcanberra)
5810 ("libnotify" ,libnotify)))
5811 (synopsis "GNOME Bluetooth subsystem")
5812 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5814 "This package contains tools for managing and manipulating Bluetooth
5815 devices using the GNOME desktop.")
5816 (license license:lgpl2.1+)))
5818 (define-public gnome-control-center
5820 (name "gnome-control-center")
5824 (uri (string-append "mirror://gnome/sources/" name "/"
5825 (version-major+minor version) "/"
5826 name "-" version ".tar.xz"))
5829 "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz"))))
5830 (build-system meson-build-system)
5834 (list "-Dcheese=false")
5836 (modify-phases %standard-phases
5837 (add-before 'configure 'patch-paths
5838 (lambda* (#:key inputs #:allow-other-keys)
5839 (let ((libc (assoc-ref inputs "libc"))
5840 (tzdata (assoc-ref inputs "tzdata")))
5841 (substitute* "panels/datetime/tz.h"
5842 (("/usr/share/zoneinfo/zone.tab")
5843 (string-append tzdata "/share/zoneinfo/zone.tab")))
5844 (substitute* "panels/datetime/test-endianess.c"
5845 (("/usr/share/locale")
5846 (string-append libc "/share/locale")))
5849 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5850 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5851 ("intltool" ,intltool)
5852 ("pkg-config" ,pkg-config)
5853 ("xsltproc" ,libxslt)))
5855 `(("accountsservice" ,accountsservice)
5856 ("clutter-gtk" ,clutter-gtk)
5857 ("colord-gtk" ,colord-gtk)
5860 ("docbook-xsl" ,docbook-xsl)
5861 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5862 ("gnome-bluetooth" ,gnome-bluetooth)
5863 ("gnome-desktop" ,gnome-desktop)
5864 ("gnome-online-accounts" ,gnome-online-accounts)
5865 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5866 ("gnome-settings-daemon" ,gnome-settings-daemon)
5869 ("libcanberra" ,libcanberra)
5870 ("libgudev" ,libgudev)
5871 ("libgtop" ,libgtop)
5872 ("libpwquality" ,libpwquality)
5873 ("libsoup" ,libsoup)
5874 ("libxml2" ,libxml2)
5875 ("libwacom" ,libwacom)
5877 ("mit-krb5" ,mit-krb5)
5878 ("modem-manager" ,modem-manager)
5879 ("network-manager-applet" ,network-manager-applet)
5881 ("pulseaudio" ,pulseaudio)
5882 ("smbclient" ,samba)
5884 ("upower" ,upower)))
5885 (synopsis "Utilities to configure the GNOME desktop")
5886 (home-page "https://www.gnome.org/")
5888 "This package contains configuration applets for the GNOME desktop,
5889 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5890 properties, sound setup, desktop theme and background, user interface
5891 properties, screen resolution, and other GNOME parameters.")
5892 (license license:gpl2+)))
5894 (define-public gnome-shell
5896 (name "gnome-shell")
5900 (uri (string-append "mirror://gnome/sources/" name "/"
5901 (version-major+minor version) "/"
5902 name "-" version ".tar.xz"))
5905 "1b9n89ij2g5nqaqp7a13jnqcd8qa2v9p55rbi71al3xvqk091ri7"))
5906 (patches (search-patches "gnome-shell-theme.patch"))
5907 (modules '((guix build utils)))
5910 ;; Copy images for use on the GDM log-in screen.
5911 (copy-file #$(file-append %artwork-repository
5912 "/slim/0.x/background.png")
5913 "data/theme/guix-background.png")
5914 (copy-file #$(file-append %artwork-repository
5915 "/logo/Guix-horizontal-white.svg")
5916 "data/theme/guix-logo.svg")
5918 (build-system meson-build-system)
5921 #:disallowed-references ((,glib "bin")
5925 (list "-Dsystemd=false"
5926 ;; Otherwise, the RUNPATH will lack the final path component.
5927 (string-append "-Dc_link_args=-Wl,-rpath="
5928 (assoc-ref %outputs "out")
5929 "/lib/gnome-shell"))
5931 #:modules ((guix build meson-build-system)
5936 (modify-phases %standard-phases
5937 (add-after 'unpack 'fix-keysdir
5938 (lambda* (#:key outputs #:allow-other-keys)
5939 (let* ((out (assoc-ref outputs "out"))
5940 (keysdir (string-append
5941 out "/share/gnome-control-center/keybindings")))
5942 (substitute* "meson.build"
5944 (string-append "keysdir = '" keysdir "'\n")))
5946 (add-before 'configure 'convert-logo-to-png
5947 (lambda* (#:key inputs #:allow-other-keys)
5948 ;; Convert the logo from SVG to PNG.
5949 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
5950 "data/theme/guix-logo.svg")))
5951 (add-before 'configure 'record-absolute-file-names
5952 (lambda* (#:key inputs #:allow-other-keys)
5953 (substitute* "js/misc/ibusManager.js"
5955 (string-append "'" (assoc-ref inputs "ibus")
5956 "/bin/ibus-daemon'")))
5957 (substitute* "js/ui/status/keyboard.js"
5958 (("'gkbd-keyboard-display'")
5959 (string-append "'" (assoc-ref inputs "libgnomekbd")
5960 "/bin/gkbd-keyboard-display'")))
5962 (add-before 'check 'pre-check
5963 (lambda* (#:key inputs #:allow-other-keys)
5964 ;; Tests require a running X server.
5965 (system "Xvfb :1 &")
5966 (setenv "DISPLAY" ":1")
5968 (add-after 'install 'wrap-programs
5969 (lambda* (#:key inputs outputs #:allow-other-keys)
5970 (let ((out (assoc-ref outputs "out"))
5971 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5972 (python-path (getenv "PYTHONPATH")))
5973 (wrap-program (string-append out "/bin/gnome-shell")
5974 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5975 ;; FIXME: gnome-shell loads these libraries with unqualified
5976 ;; names only, so they need to be on LD_LIBRARY_PATH. The
5977 ;; alternative might be to patch gnome-shell.
5978 `("LD_LIBRARY_PATH" ":" prefix
5980 (string-append (assoc-ref inputs pkg) "/lib"))
5982 "gnome-bluetooth" "librsvg" "libgweather"))))
5985 (wrap-program (string-append out "/bin/" prog)
5986 `("PYTHONPATH" ":" prefix (,python-path))
5987 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5988 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5990 (replace 'glib-or-gtk-wrap
5991 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
5992 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
5993 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
5994 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
5995 ;; phase. Fix that since we don't need these.
5996 (wrap #:inputs (fold alist-delete inputs
5997 '("inkscape" "intltool" "glib:bin"))
5998 #:outputs outputs)))))))
6000 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6001 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6002 ("gobject-introspection" ,gobject-introspection)
6003 ("inkscape" ,inkscape)
6004 ("intltool" ,intltool)
6005 ("pkg-config" ,pkg-config)
6007 ("ruby-sass" ,ruby-sass)
6009 ("xsltproc" ,libxslt)
6011 ("xorg-server" ,xorg-server-for-tests)))
6013 `(("accountsservice" ,accountsservice)
6014 ("caribou" ,caribou)
6015 ("docbook-xsl" ,docbook-xsl)
6016 ("evolution-data-server" ,evolution-data-server)
6019 ("gdk-pixbuf" ,gdk-pixbuf+svg)
6021 ("gnome-bluetooth" ,gnome-bluetooth)
6022 ("gnome-desktop" ,gnome-desktop)
6023 ("gnome-settings-daemon" ,gnome-settings-daemon)
6024 ("gst-plugins-base" ,gst-plugins-base)
6026 ("libcanberra" ,libcanberra)
6027 ("libcroco" ,libcroco)
6028 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
6029 ("libgweather" ,libgweather)
6030 ("libsoup" ,libsoup)
6031 ("mesa-headers" ,mesa-headers)
6033 ("network-manager-applet" ,network-manager-applet)
6035 ("pulseaudio" ,pulseaudio)
6036 ("python-pygobject" ,python-pygobject)
6037 ("startup-notification" ,startup-notification)
6038 ("telepathy-logger" ,telepathy-logger)
6040 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6041 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6042 ("librsvg" ,librsvg)
6043 ("geoclue" ,geoclue)))
6044 (synopsis "Desktop shell for GNOME")
6045 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6047 "GNOME Shell provides core user interface functions for the GNOME desktop,
6048 like switching to windows and launching applications.")
6049 (license license:gpl2+)))
6051 (define-public gtk-vnc
6058 (uri (string-append "mirror://gnome/sources/" name "/"
6059 (version-major+minor version) "/"
6060 name "-" version ".tar.xz"))
6063 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
6064 (build-system gnu-build-system)
6066 '(#:configure-flags '("--with-gtk=3.0")))
6068 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6070 `(("cyrus-sasl" ,cyrus-sasl)
6072 ("libgcrypt" ,libgcrypt)
6073 ("pulseaudio" ,pulseaudio)))
6075 `(("glib:bin" ,glib "bin")
6076 ("gobject-introspection" ,gobject-introspection)
6077 ("intltool" ,intltool)
6078 ("pkg-config" ,pkg-config)
6079 ("python-wrapper" ,python-wrapper)
6081 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6082 (synopsis "VNC viewer widget for GTK+")
6084 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6085 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6086 GTK-VNC implements client side RFB protocol and authentication extensions such
6087 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6088 (license license:lgpl2.1+)))
6090 (define-public gnome-autoar
6092 (name "gnome-autoar")
6096 (uri (string-append "mirror://gnome/sources/" name "/"
6097 (version-major+minor version) "/"
6098 name "-" version ".tar.xz"))
6101 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
6102 (build-system glib-or-gtk-build-system)
6104 `(("gnome-common" ,gnome-common)
6105 ("gobject-introspection" ,gobject-introspection)
6106 ("pkg-config" ,pkg-config)))
6108 `(("libarchive" ,libarchive))) ; XXX document why
6111 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
6112 (synopsis "Archives integration support for GNOME")
6113 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6115 "GNOME Autoar is a library which makes creating and extracting archives
6116 easy, safe, and automatic.")
6117 (license license:lgpl2.1+)))
6119 (define-public tracker
6125 (uri (string-append "mirror://gnome/sources/" name "/"
6126 (version-major+minor version) "/"
6127 name "-" version ".tar.xz"))
6130 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
6131 (build-system glib-or-gtk-build-system)
6134 (modify-phases %standard-phases
6135 (add-after 'unpack 'disable-broken-tests
6137 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6138 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6139 (substitute* "tests/libtracker-miner/Makefile.in"
6140 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6141 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6142 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6143 (substitute* "tests/libtracker-fts/Makefile.in"
6144 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6145 (substitute* "tests/libtracker-data/Makefile.in"
6146 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6147 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6148 (("tracker-backup\\$\\(EXEEXT\\)") "")
6149 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6150 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6151 ;; These fail because the SPARQL backend could not be loaded.
6152 ;; That's because /etc/machine-id is missing, but
6153 ;; DBUS_FATAL_WARNINGS does not help here.
6154 (substitute* "tests/libtracker-sparql/Makefile.in"
6155 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6156 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6157 (substitute* "tests/tracker-steroids/Makefile.in"
6158 (("tracker-test\\$\\(EXEEXT\\)") ""))
6160 ;; Two tests fail if LANG is not set.
6161 (add-before 'check 'pre-check
6163 (setenv "LANG" "en_US.UTF-8")
6164 ;; For the missing /etc/machine-id.
6165 (setenv "DBUS_FATAL_WARNINGS" "0")
6168 `(("gnome-common" ,gnome-common)
6169 ("gobject-introspection" ,gobject-introspection)
6170 ("intltool" ,intltool)
6171 ("pkg-config" ,pkg-config)
6176 ("gstreamer" ,gstreamer)
6177 ("gst-plugins-base" ,gst-plugins-base)
6179 ("nettle" ,nettle) ; XXX why is this needed?
6181 ("poppler" ,poppler)
6183 ("libexif" ,libexif)
6185 ("libtiff" ,libtiff)
6186 ("libvorbis" ,libvorbis)
6188 ("totem-pl-parser" ,totem-pl-parser)
6191 ("libxml2" ,libxml2)
6193 ("libunistring" ,libunistring)
6195 ("json-glib" ,json-glib)
6196 ("openjpeg" ,openjpeg-1)
6197 ("libosinfo" ,libosinfo)
6199 ("libseccomp" ,libseccomp)
6200 ("libsoup" ,libsoup)
6201 ("libuuid" ,util-linux)))
6202 (synopsis "Metadata database, indexer and search tool")
6203 (home-page "https://wiki.gnome.org/Projects/Tracker")
6205 "Tracker is an advanced framework for first class objects with associated
6206 metadata and tags. It provides a one stop solution for all metadata, tags,
6207 shared object databases, search tools and indexing.")
6208 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6209 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6210 (license (list license:gpl2+
6212 license:lgpl2.0+))))
6214 (define-public nautilus
6220 (uri (string-append "mirror://gnome/sources/" name "/"
6221 (version-major+minor version) "/"
6222 name "-" version ".tar.xz"))
6225 "19dhpa2ylrg8d5274lahy7xqr2p9z3jnq1h4qmsh95czkpy7is4w"))))
6226 (build-system meson-build-system)
6229 ;; XXX: FAIL: check-nautilus
6230 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6233 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6234 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6235 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6236 ("gobject-introspection" ,gobject-introspection)
6237 ("intltool" ,intltool)
6238 ("pkg-config" ,pkg-config)))
6244 ("gnome-desktop" ,gnome-desktop)
6245 ("gnome-autoar" ,gnome-autoar)
6246 ("libselinux" ,libselinux)
6247 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
6248 ("tracker" ,tracker)
6249 ;; XXX: gtk+ is required by libnautilus-extension.pc
6251 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6253 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6255 ("libexif" ,libexif)
6256 ("libxml2" ,libxml2)))
6257 (synopsis "File manager for GNOME")
6258 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6260 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6261 design and behaviour, giving the user a simple way to navigate and manage its
6263 (license license:gpl2+)))
6265 (define-public baobab
6272 "mirror://gnome/sources/" name "/"
6273 (version-major+minor version) "/"
6274 name "-" version ".tar.xz"))
6277 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
6278 (build-system meson-build-system)
6280 '(#:glib-or-gtk? #t))
6282 `(("intltool" ,intltool)
6283 ("pkg-config" ,pkg-config)
6284 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6285 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6286 ("itstool" ,itstool)
6287 ("xmllint" ,libxml2)
6288 ("glib" ,glib "bin")
6292 (synopsis "Disk usage analyzer for GNOME")
6294 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6295 usage in the GNOME desktop environment. It can easily scan device volumes or
6296 a specific user-requested directory branch (local or remote). Once the scan
6297 is complete it provides a graphical representation of each selected folder.")
6298 (home-page "https://wiki.gnome.org/Apps/Baobab")
6299 (license license:gpl2+)))
6301 (define-public gnome-backgrounds
6303 (name "gnome-backgrounds")
6308 (uri (string-append "mirror://gnome/sources/" name "/"
6309 (version-major+minor version) "/"
6310 name "-" version ".tar.xz"))
6313 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6314 (build-system meson-build-system)
6316 `(("intltool" ,intltool)))
6317 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6318 (synopsis "Background images for the GNOME desktop")
6320 "GNOME backgrounds package contains a collection of graphics files which
6321 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6322 the package creates the proper framework and directory structure so that you
6323 can add your own files to the collection.")
6324 (license (list license:gpl2+
6327 license:cc-by-sa3.0))))
6329 (define-public gnome-screenshot
6331 (name "gnome-screenshot")
6336 (uri (string-append "mirror://gnome/sources/" name "/"
6337 (version-major+minor version) "/"
6338 name "-" version ".tar.xz"))
6341 "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v"))))
6342 (build-system meson-build-system)
6344 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6345 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6346 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6347 ("intltool" ,intltool)
6348 ("appstream-glib" ,appstream-glib)
6349 ("pkg-config" ,pkg-config)))
6352 ("libcanberra" ,libcanberra)
6354 ("libxext" ,libxext)))
6355 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6356 (synopsis "Take pictures of your screen")
6358 "GNOME Screenshot is a utility used for taking screenshots of the entire
6359 screen, a window or a user defined area of the screen, with optional
6360 beautifying border effects.")
6361 (license license:gpl2+)))
6363 (define-public dconf-editor
6365 (name "dconf-editor")
6370 (uri (string-append "mirror://gnome/sources/" name "/"
6371 (version-major+minor version) "/"
6372 name "-" version ".tar.xz"))
6375 "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5"))))
6376 (build-system meson-build-system)
6378 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6379 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6380 ("intltool" ,intltool)
6381 ("pkg-config" ,pkg-config)
6386 ("libxml2" ,libxml2)))
6387 (home-page "https://git.gnome.org/browse/dconf-editor")
6388 (synopsis "Graphical editor for GNOME's dconf configuration system")
6390 "Dconf-editor is a graphical tool for browsing and editing the dconf
6391 configuration system for GNOME. It allows users to configure desktop
6392 software that do not provide their own configuration interface.")
6393 (license license:lgpl2.1+)))
6395 (define-public gnome-default-applications
6397 (name "gnome-default-applications")
6399 (build-system trivial-build-system)
6402 `(("nautilus" ,nautilus)
6403 ("evince" ,evince)))
6405 `(#:modules ((guix build utils))
6408 (use-modules (guix build utils))
6409 (let* ((out (assoc-ref %outputs "out"))
6410 (apps (string-append out "/share/applications")))
6412 (call-with-output-file (string-append apps "/defaults.list")
6414 (format port "[Default Applications]\n")
6415 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6416 (format port "application/pdf=evince.desktop\n")
6417 (format port "application/postscript=evince.desktop\n")))
6419 (synopsis "Default MIME type associations for the GNOME desktop")
6421 "Given many installed packages which might handle a given MIME type, a
6422 user running the GNOME desktop probably has some preferences: for example,
6423 that folders be opened by default by the Nautilus file manager, not the Baobab
6424 disk usage analyzer. This package establishes that set of default MIME type
6425 associations for GNOME.")
6426 (license license:gpl3+)
6429 (define-public gnome
6432 (version (package-version gnome-shell))
6434 (build-system trivial-build-system)
6435 (arguments '(#:builder (begin (mkdir %output) #t)))
6437 ;; TODO: Add more packages according to:
6438 ;; <https://packages.debian.org/jessie/gnome-core>.
6439 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6441 ("font-cantarell" ,font-cantarell)
6442 ("font-dejavu" ,font-dejavu)
6443 ("at-spi2-core" ,at-spi2-core)
6446 ("desktop-file-utils" ,desktop-file-utils)
6448 ("epiphany" ,epiphany)
6450 ("file-roller" ,file-roller)
6452 ("glib-networking" ,glib-networking)
6453 ("gnome-backgrounds" ,gnome-backgrounds)
6454 ("gnome-bluetooth" ,gnome-bluetooth)
6455 ("gnome-calculator" ,gnome-calculator)
6456 ("gnome-control-center" ,gnome-control-center)
6457 ("gnome-disk-utility" ,gnome-disk-utility)
6458 ("gnome-default-applications" ,gnome-default-applications)
6459 ("gnome-keyring" ,gnome-keyring)
6460 ("gnome-online-accounts" ,gnome-online-accounts)
6461 ("gnome-session" ,gnome-session)
6462 ("gnome-settings-daemon" ,gnome-settings-daemon)
6463 ("gnome-shell" ,gnome-shell)
6464 ("gnome-system-monitor" ,gnome-system-monitor)
6465 ("gnome-terminal" ,gnome-terminal)
6466 ("gnome-themes-standard" ,gnome-themes-standard)
6467 ("gst-plugins-base" ,gst-plugins-base)
6468 ("gst-plugins-good" ,gst-plugins-good)
6469 ("gucharmap" ,gucharmap)
6471 ("hicolor-icon-theme" ,hicolor-icon-theme)
6472 ("nautilus" ,nautilus)
6473 ("pinentry-gnome3" ,pinentry-gnome3)
6474 ("pulseaudio" ,pulseaudio)
6475 ("shared-mime-info" ,shared-mime-info)
6476 ("system-config-printer" ,system-config-printer)
6478 ("xdg-user-dirs" ,xdg-user-dirs)
6480 ("zenity" ,zenity)))
6481 (synopsis "The GNU desktop environment")
6482 (home-page "https://www.gnome.org/")
6484 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6485 applications for browsing the web, editing text and images, creating
6486 documents and diagrams, playing media, scanning, and much more.")
6487 (license license:gpl2+)))
6489 (define-public byzanz
6490 ;; The last stable release of Byzanz was in 2011, but there have been many
6491 ;; useful commits made to the Byzanz repository since then that it would be
6492 ;; silly to use such an old release.
6493 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6496 (version (string-append "0.2-1." (string-take commit 7)))
6500 (url "https://git.gnome.org/browse/byzanz")
6502 (file-name (string-append name "-" version "-checkout"))
6505 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6506 (build-system glib-or-gtk-build-system)
6509 (modify-phases %standard-phases
6512 ;; The build system cleverly detects that we're not building from
6513 ;; a release tarball and turns on -Werror for GCC.
6514 ;; Unsurprisingly, there is a warning during compilation that
6515 ;; causes the build to fail unnecessarily, so we remove the flag.
6516 (substitute* '("configure.ac")
6518 ;; The autogen.sh script in gnome-common will run ./configure
6519 ;; by default, which is problematic because source shebangs
6520 ;; have not yet been patched.
6521 (setenv "NOCONFIGURE" "t")
6522 (zero? (system* "sh" "autogen.sh")))))))
6524 `(("autoconf" ,autoconf)
6525 ("automake" ,automake)
6526 ("gnome-common" ,gnome-common)
6527 ("intltool" ,intltool)
6528 ("libtool" ,libtool)
6529 ("pkg-config" ,pkg-config)
6533 ("gstreamer" ,gstreamer)
6534 ("gst-plugins-base" ,gst-plugins-base)
6536 (synopsis "Desktop recording program")
6537 (description "Byzanz is a simple desktop recording program with a
6538 command-line interface. It can record part or all of an X display for a
6539 specified duration and save it as a GIF encoded animated image file.")
6540 (home-page "https://git.gnome.org/browse/byzanz")
6541 (license license:gpl2+))))
6543 (define-public gsound
6549 (uri (string-append "mirror://gnome/sources/" name "/"
6550 (version-major+minor version) "/"
6551 name "-" version ".tar.xz"))
6554 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6555 (build-system glib-or-gtk-build-system)
6557 `(("pkg-config" ,pkg-config)
6558 ("gobject-introspection" ,gobject-introspection)
6562 ("libcanberra" ,libcanberra)))
6563 (home-page "https://wiki.gnome.org/Projects/GSound")
6564 (synopsis "GObject wrapper for libcanberra")
6566 "GSound is a small library for playing system sounds. It's designed to be
6567 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6569 (license license:lgpl2.1+)))
6571 (define-public libzapojit
6577 (uri (string-append "mirror://gnome/sources/" name "/"
6578 (version-major+minor version) "/"
6579 name "-" version ".tar.xz"))
6582 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6583 (build-system gnu-build-system)
6585 `(("gobject-introspection" ,gobject-introspection)
6586 ("intltool" ,intltool)
6587 ("pkg-config" ,pkg-config)))
6589 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6590 ("json-glib" ,json-glib)
6592 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6593 (synopsis "Library for accessing SkyDrive and Hotmail")
6595 "Libzapojit is a GLib-based library for accessing online service APIs of
6596 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6597 (license license:lgpl2.1+)))
6599 (define-public gnome-clocks
6601 (name "gnome-clocks")
6605 (uri (string-append "mirror://gnome/sources/" name "/"
6606 (version-major+minor version) "/"
6607 name "-" version ".tar.xz"))
6610 "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl"))))
6611 (build-system meson-build-system)
6613 '(#:glib-or-gtk? #t))
6616 ("pkg-config" ,pkg-config)
6617 ("glib" ,glib "bin") ; for glib-compile-resources
6618 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6619 ("desktop-file-utils" ,desktop-file-utils)
6620 ("gettext" ,gettext-minimal)
6621 ("itstool" ,itstool)))
6626 ("geoclue" ,geoclue)
6627 ("geocode-glib" ,geocode-glib)
6628 ("libgweather" ,libgweather)
6629 ("gnome-desktop" ,gnome-desktop)))
6630 (home-page "https://wiki.gnome.org/Apps/Clocks")
6631 (synopsis "GNOME's clock application")
6633 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6634 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6635 (license license:gpl3+)))
6637 (define-public gnome-calendar
6639 (name "gnome-calendar")
6643 (uri (string-append "mirror://gnome/sources/" name "/"
6644 (version-major+minor version) "/"
6645 name "-" version ".tar.xz"))
6648 "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw"))))
6649 (build-system meson-build-system)
6652 ;; gnome-calendar has to be installed before the tests can be run
6653 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6656 `(("gettext" ,gettext-minimal)
6657 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6658 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6659 ("pkg-config" ,pkg-config)))
6661 `(("evolution-data-server" ,evolution-data-server)
6662 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6663 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6664 ("libdazzle" ,libdazzle)
6665 ("libedataserverui" ,evolution-data-server "libedataserverui")
6666 ("libgweather" ,libgweather)
6667 ("geoclue" ,geoclue)))
6668 (home-page "https://wiki.gnome.org/Apps/Calendar")
6669 (synopsis "GNOME's calendar application")
6671 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6672 desktop. It supports multiple calendars, month, week and year view.")
6673 (license license:gpl3+)))
6675 (define-public gnome-todo
6681 (uri (string-append "mirror://gnome/sources/" name "/"
6682 (version-major+minor version) "/"
6683 name "-" version ".tar.xz"))
6686 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
6687 (build-system meson-build-system)
6690 #:phases (modify-phases %standard-phases
6692 'install 'wrap-gnome-todo
6693 (lambda* (#:key inputs outputs #:allow-other-keys)
6694 (let ((out (assoc-ref outputs "out"))
6695 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6696 (python-path (getenv "PYTHONPATH")))
6697 (wrap-program (string-append out "/bin/gnome-todo")
6698 ;; XXX: gi plugins are broken.
6699 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6701 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6702 `("PYTHONPATH" ":" prefix (,python-path))))
6705 `(("gettext" ,gettext-minimal)
6706 ("gobject-introspection" ,gobject-introspection)
6707 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6708 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6709 ("pkg-config" ,pkg-config)))
6711 `(("rest" ,rest) ; For Todoist plugin
6712 ("json-glib" ,json-glib) ; For Todoist plugin
6713 ("libedataserverui" ,evolution-data-server "libedataserverui")
6714 ("libical" ,libical)
6715 ("libpeas" ,libpeas)
6716 ("python-pygobject" ,python-pygobject)
6717 ("evolution-data-server" ,evolution-data-server)
6718 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6719 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6720 (home-page "https://wiki.gnome.org/Apps/Todo")
6721 (synopsis "GNOME's ToDo Application")
6723 "GNOME To Do is a simplistic personal task manager designed to perfectly
6724 fit the GNOME desktop.")
6725 (license license:gpl3+)))
6727 (define-public gnome-dictionary
6729 (name "gnome-dictionary")
6733 (uri (string-append "mirror://gnome/sources/" name "/"
6734 (version-major+minor version) "/"
6735 name "-" version ".tar.xz"))
6738 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6739 (build-system meson-build-system)
6740 (arguments '(#:glib-or-gtk? #t
6741 #:phases (modify-phases %standard-phases
6742 (add-after 'unpack 'patch-install-script
6744 ;; This script attempts to compile glib schemas
6745 ;; and create an empty MIME database. We do
6746 ;; that elsewhere, so prevent it from running.
6747 (substitute* "build-aux/post-install.sh"
6748 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6751 `(("glib:bin" ,glib "bin")
6752 ("gobject-introspection" ,gobject-introspection)
6753 ("intltool" ,intltool)
6754 ("itstool" ,itstool)
6755 ("pkg-config" ,pkg-config)
6756 ("xmllint" ,libxml2)))
6758 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6760 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6761 (synopsis "Look up words in dictionary sources")
6763 "GNOME Dictionary can look for the definition or translation of a word in
6764 existing databases over the internet.")
6765 (license license:gpl3+)))
6767 (define-public gnome-tweak-tool
6769 (name "gnome-tweak-tool")
6773 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
6774 (version-major+minor version) "/"
6775 "gnome-tweak-tool-" version ".tar.xz"))
6777 (search-patch "gnome-tweak-tool-search-paths.patch")))
6780 "1pq5a0kzh1sz7s7ax5c7p6212k9d51nk5bfvjfyqn99cs928187x"))))
6781 (build-system glib-or-gtk-build-system)
6783 `(#:configure-flags '("--localstatedir=/tmp"
6784 "--sysconfdir=/tmp")
6785 #:imported-modules ((guix build python-build-system)
6786 ,@%glib-or-gtk-build-system-modules)
6787 #:phases (modify-phases %standard-phases
6790 (lambda* (#:key outputs #:allow-other-keys)
6791 (invoke "meson" "build"
6792 "--prefix" (assoc-ref outputs "out"))))
6794 (lambda _ (invoke "ninja" "-C" "build" "test")))
6796 (lambda* (#:key outputs #:allow-other-keys)
6797 (invoke "ninja" "-C" "build" "install")))
6798 (add-after 'install 'wrap-program
6799 (lambda* (#:key outputs #:allow-other-keys)
6800 (let ((out (assoc-ref outputs "out"))
6801 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6802 (wrap-program (string-append out "/bin/gnome-tweak-tool")
6803 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6805 (add-after 'install 'wrap
6806 (@@ (guix build python-build-system) wrap)))))
6808 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6809 ("intltool" ,intltool)
6810 ("meson" ,meson-for-build)
6812 ("pkg-config" ,pkg-config)))
6814 `(("gnome-desktop" ,gnome-desktop)
6816 ("gobject-introspection" ,gobject-introspection)
6817 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6818 ("libnotify" ,libnotify)
6819 ("libsoup" ,libsoup)
6820 ("nautilus" ,nautilus)
6822 ("python-pygobject" ,python-pygobject)))
6823 (synopsis "Customize advanced GNOME 3 options")
6824 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
6826 "GNOME Tweak Tool allows adjusting advanced configuration settings in
6827 GNOME 3. This includes things like the fonts used in user interface elements,
6828 alternative user interface themes, changes in window management behavior,
6829 GNOME Shell appearance and extension, etc.")
6830 (license license:gpl3+)))
6832 (define-public gnome-shell-extensions
6834 (name "gnome-shell-extensions")
6838 (uri (string-append "mirror://gnome/sources/" name "/"
6839 (version-major+minor version) "/"
6840 name "-" version ".tar.xz"))
6843 "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9"))))
6844 (build-system meson-build-system)
6846 '(#:configure-flags '("-Dextension_set=all")))
6848 `(("intltool" ,intltool)
6849 ("pkg-config" ,pkg-config)))
6852 ("glib" ,glib "bin")))
6853 (synopsis "Extensions for GNOME Shell")
6854 (description "GNOME Shell extensions modify and extend GNOME Shell
6855 functionality and behavior.")
6856 (home-page "https://extensions.gnome.org/")
6857 (license license:gpl3+)))
6859 (define-public arc-theme
6862 (version "20181022")
6866 (url "https://github.com/NicoHood/arc-theme.git")
6868 (file-name (git-file-name name version))
6871 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
6872 (build-system gnu-build-system)
6875 (modify-phases %standard-phases
6876 ;; autogen.sh calls configure at the end of the script.
6878 (lambda _ (invoke "autoreconf" "-vfi"))))))
6880 `(("autoconf" ,autoconf)
6881 ("automake" ,automake)
6882 ("glib" ,glib "bin") ; for glib-compile-resources
6883 ("gnome-shell" ,gnome-shell)
6885 ("inkscape" ,inkscape)
6886 ("optipng" ,optipng)
6887 ("pkg-config" ,pkg-config)
6889 (synopsis "A flat GTK+ theme with transparent elements")
6890 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6891 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6892 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6893 (home-page "https://github.com/horst3180/arc-theme")
6894 ;; No "or later" language found.
6895 (license license:gpl3+)))
6897 (define-public faba-icon-theme
6899 (name "faba-icon-theme")
6904 (uri (string-append "https://github.com/moka-project/"
6905 name "/archive/v" version ".tar.gz"))
6906 (file-name (string-append name "-" version ".tar.gz"))
6909 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
6910 (build-system meson-build-system)
6913 (modify-phases %standard-phases
6914 (add-before 'configure 'disable-post-install
6916 (substitute* "meson.build"
6917 (("meson.add_install_script.*") "")))))))
6919 `(("autoconf" ,autoconf)
6920 ("automake" ,automake)))
6921 (synopsis "Faba icon theme")
6923 "Faba is a minimal icon set used as a basis for other themes such as
6925 (home-page "https://snwh.org/moka")
6926 (license (list license:lgpl3+
6927 license:cc-by-sa4.0))))
6929 (define-public moka-icon-theme
6931 (inherit faba-icon-theme)
6932 (name "moka-icon-theme")
6936 (uri (string-append "https://github.com/moka-project"
6937 "/moka-icon-theme/archive/v"
6939 (file-name (string-append name "-" version ".tar.gz"))
6942 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
6944 ;; Moka is based on Faba by using it as a fallback icon set instead of
6945 ;; bundling it, so we need to add it as a propagated input.
6946 `(("faba-icon-theme" ,faba-icon-theme)))
6947 (synopsis "Moka icon theme")
6948 (description "Moka is a stylized desktop icon set, designed to be clear,
6949 simple and consistent.")
6950 (license (list license:gpl3+
6951 license:cc-by-sa4.0))))
6953 (define-public arc-icon-theme
6955 (name "arc-icon-theme")
6956 (version "20161122")
6959 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6960 "/archive/" version ".tar.gz"))
6961 (file-name (string-append name "-" version ".tar.gz"))
6964 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6965 (build-system gnu-build-system)
6968 (modify-phases %standard-phases
6969 (add-after 'unpack 'disable-configure-during-bootstrap
6971 (substitute* "autogen.sh"
6972 (("^\"\\$srcdir/configure\".*") ""))
6975 `(("autoconf" ,autoconf)
6976 ("automake" ,automake)))
6977 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
6979 `(("moka-icon-theme" ,moka-icon-theme)))
6980 (synopsis "Arc icon theme")
6981 (description "The Arc icon theme provides a set of icons matching the
6982 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
6983 the Moka icon theme.")
6984 (home-page "https://github.com/horst3180/arc-icon-theme")
6985 (license license:gpl3+)))
6987 (define-public folks
6994 "mirror://gnome/sources/folks/"
6995 (version-major+minor version) "/"
6996 "folks-" version ".tar.xz"))
6999 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
7000 (build-system glib-or-gtk-build-system)
7003 ("dbus-glib" ,dbus-glib)
7004 ("evolution-data-server" ,evolution-data-server)
7007 ("telepathy-glib" ,telepathy-glib)))
7009 `(("gobject-introspection" ,gobject-introspection)
7010 ("intltool" ,intltool)
7011 ("pkg-config" ,pkg-config)
7013 (synopsis "Library to aggregate data about people")
7014 (description "Libfolks is a library that aggregates information about people
7015 from multiple sources (e.g., Telepathy connection managers for IM contacts,
7016 Evolution Data Server for local contacts, libsocialweb for web service contacts,
7017 etc.) to create metacontacts. It's written in Vala, which generates C code when
7019 (home-page "https://wiki.gnome.org/Projects/Folks")
7020 (license license:lgpl2.1+)))
7022 (define-public gfbgraph
7029 "mirror://gnome/sources/" name "/"
7030 (version-major+minor version) "/"
7031 name "-" version ".tar.xz"))
7034 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7035 (build-system glib-or-gtk-build-system)
7037 `(#:tests? #f ; Tests appear to require the network.
7038 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7039 #:configure-flags '("--disable-gtk-doc"
7041 "--enable-introspection")))
7043 `(("pkg-config" ,pkg-config)
7044 ("gobject-introspection" ,gobject-introspection)))
7046 `(("json-glib" ,json-glib)
7047 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7049 (synopsis "GLib/GObject wrapper for the Facebook API")
7050 (description "This library allows you to use the Facebook API from
7051 GLib/GObject code.")
7052 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7053 (license license:lgpl2.1+)))
7055 (define-public libgnomekbd
7057 (name "libgnomekbd")
7061 (uri (string-append "mirror://gnome/sources/" name "/"
7062 (version-major+minor version) "/"
7063 name "-" version ".tar.xz"))
7066 "0xc8jrc44x2h24v28wv36k70k7bwxy6p2vsvxvvia1n3ay642fza"))))
7067 (build-system gnu-build-system)
7069 `(("pkg-config" ,pkg-config)
7070 ("glib" ,glib "bin")
7071 ("intltool" ,intltool)))
7073 ;; Referred to in .h files and .pc.
7076 ("libxklavier" ,libxklavier)))
7077 (home-page "https://www.gnome.org")
7078 (synopsis "GNOME keyboard configuration library")
7080 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7081 environment, which can notably display keyboard layouts.")
7082 (license license:lgpl2.0+)))
7084 ;;; This package is no longer maintained:
7085 ;;; https://wiki.gnome.org/Attic/LibUnique
7086 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7087 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7088 (define-public libunique
7094 (uri (string-append "mirror://gnome/sources/" name "/"
7095 (version-major+minor version) "/"
7096 name "-" version ".tar.xz"))
7099 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7100 (build-system glib-or-gtk-build-system)
7102 `(#:configure-flags '("--disable-static"
7103 "--disable-dbus" ; use gdbus
7104 "--enable-introspection")))
7106 `(("pkg-config" ,pkg-config)
7107 ("gobject-introspection" ,gobject-introspection)
7108 ("glib:bin" ,glib "bin")
7109 ("gtk-doc" ,gtk-doc)))
7111 ;; Referred to in .h files and .pc.
7113 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7114 (synopsis "Library for writing single instance applications")
7116 "Libunique is a library for writing single instance applications. If you
7117 launch a single instance application twice, the second instance will either just
7118 quit or will send a message to the running instance. Libunique makes it easy to
7119 write this kind of application, by providing a base class, taking care of all
7120 the IPC machinery needed to send messages to a running instance, and also
7121 handling the startup notification side.")
7122 (license license:lgpl2.1+)))
7124 (define-public gnome-calculator
7126 (name "gnome-calculator")
7131 (uri (string-append "mirror://gnome/sources/" name "/"
7132 (version-major+minor version) "/"
7133 name "-" version ".tar.xz"))
7136 "0izsrqc9fm2lh25jr3nzi94p5hh2d3cklxqczbq16by85wr1xm5s"))))
7137 (build-system glib-or-gtk-build-system)
7139 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7140 ("intltool" ,intltool)
7141 ("itstool" ,itstool)
7142 ("pkg-config" ,pkg-config)))
7145 ("gtksourceview" ,gtksourceview-3)
7146 ("libsoup" ,libsoup)
7147 ("libxml2" ,libxml2)
7150 (home-page "https://wiki.gnome.org/Apps/Calculator")
7151 (synopsis "Desktop calculator")
7153 "Calculator is an application that solves mathematical equations and
7154 is suitable as a default application in a Desktop environment.")
7155 (license license:gpl3)))
7164 (uri (string-append "https://launchpad.net/xpad/trunk/"
7165 version "/+download/"
7166 name "-" version ".tar.bz2"))
7169 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
7170 (build-system gnu-build-system)
7172 `(("autoconf" ,autoconf)
7173 ("automake" ,automake)
7174 ("gtk+:bin" ,gtk+ "bin")
7175 ("intltool" ,intltool)
7176 ("pkg-config" ,pkg-config)))
7178 `(("gtksourceview" ,gtksourceview)
7180 (home-page "https://wiki.gnome.org/Apps/Xpad")
7181 (synopsis "Virtual sticky note")
7183 "Xpad is a sticky note that strives to be simple, fault tolerant,
7184 and customizable. Xpad consists of independent pad windows, each is
7185 basically a text box in which notes can be written.")
7186 (license license:gpl3+)))
7188 (define-public gucharmap
7189 (let ((unicode-files
7191 "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
7193 "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
7195 "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
7197 "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
7199 "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
7201 "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
7208 (uri (string-append "mirror://gnome/sources/" name "/"
7209 (version-major+minor version) "/"
7210 name "-" version ".tar.xz"))
7213 "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
7214 (build-system glib-or-gtk-build-system)
7216 `(#:modules ((ice-9 match)
7217 (guix build glib-or-gtk-build-system)
7220 (list "--with-unicode-data=../unicode-data")
7222 (modify-phases %standard-phases
7223 (add-after 'unpack 'prepare-unicode-data
7224 (lambda* (#:key inputs #:allow-other-keys)
7225 (mkdir-p "../unicode-data")
7226 (with-directory-excursion "../unicode-data"
7227 (for-each (match-lambda
7229 (install-file (assoc-ref inputs file) ".")))
7233 `(("desktop-file-utils" ,desktop-file-utils)
7234 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7235 ("gobject-introspection" ,gobject-introspection)
7236 ("intltool" ,intltool)
7237 ("itstool" ,itstool)
7238 ("pkg-config" ,pkg-config)
7239 ,@(map (match-lambda
7245 "http://www.unicode.org/Public/10.0.0/ucd/"
7247 (sha256 (base32 hash))))))
7252 ("xmllint" ,libxml2)))
7253 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7254 (synopsis "Unicode character picker and font browser")
7256 "This program allows you to browse through all the available Unicode
7257 characters and categories for the installed fonts, and to examine their
7258 detailed properties. It is an easy way to find the character you might
7259 only know by its Unicode name or code point.")
7260 (license license:gpl3+))))
7262 (define-public bluefish
7269 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7270 name "-" version ".tar.gz"))
7273 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
7274 (build-system gnu-build-system)
7276 `(("desktop-file-utils" ,desktop-file-utils)
7277 ("intltool" ,intltool)
7278 ("pkg-config" ,pkg-config)))
7280 `(("enchant" ,enchant)
7282 ("python" ,python-2)
7283 ("xmllint" ,libxml2)
7284 ("gucharmap" ,gucharmap)))
7285 (home-page "http://bluefish.openoffice.nl")
7286 (synopsis "Web development studio")
7288 "Bluefish is an editor targeted towards programmers and web developers,
7289 with many options to write web sites, scripts and other code.
7290 Bluefish supports many programming and markup languages.")
7291 (license license:gpl3+)))
7293 (define-public gnome-system-monitor
7295 (name "gnome-system-monitor")
7300 (uri (string-append "mirror://gnome/sources/" name "/"
7301 (version-major+minor version) "/"
7302 name "-" version ".tar.xz"))
7305 "164in885dyfvna5yjzgdyrbrsskvh5wzxdmkjgb4mbh54lzqd1zb"))))
7306 (build-system glib-or-gtk-build-system)
7308 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
7309 ("intltool" ,intltool)
7310 ("itstool" ,itstool)
7311 ("libgtop" ,libgtop)
7313 ("pkg-config" ,pkg-config)))
7315 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7318 ("librsvg" ,librsvg)
7319 ("libxml2" ,libxml2)
7320 ("libwnck" ,libwnck)))
7321 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7322 (synopsis "Process viewer and system resource monitor for GNOME")
7324 "GNOME System Monitor is a GNOME process viewer and system monitor with
7325 an attractive, easy-to-use interface. It has features, such as a tree view
7326 for process dependencies, icons for processes, the ability to hide processes,
7327 graphical time histories of CPU/memory/swap usage and the ability to
7328 kill/reinice processes.")
7329 (license license:gpl2+)))
7331 (define-public python-pyatspi
7333 (name "python-pyatspi")
7338 "mirror://gnome/sources/pyatspi/"
7339 (version-major+minor version)
7340 "/pyatspi-" version ".tar.xz"))
7343 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))))
7344 (build-system gnu-build-system)
7346 `(("pkg-config" ,pkg-config)))
7348 `(("python" ,python)
7349 ("python-pygobject" ,python-pygobject)))
7350 (synopsis "Python client bindings for D-Bus AT-SPI")
7351 (home-page "https://wiki.linuxfoundation.org/accessibility\
7352 /atk/at-spi/at-spi_on_d-bus")
7354 "This package includes a python client library for the AT-SPI D-Bus
7355 accessibility infrastructure.")
7356 (license license:lgpl2.0)
7357 (properties '((upstream-name . "pyatspi")))))
7366 "mirror://gnome/sources/" name "/"
7367 (version-major+minor version) "/"
7368 name "-" version ".tar.xz"))
7371 "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g"))))
7372 (build-system glib-or-gtk-build-system)
7375 (modify-phases %standard-phases
7376 (add-before 'configure 'qualify-xkbcomp
7377 (lambda* (#:key inputs #:allow-other-keys)
7378 (let ((xkbcomp (string-append
7379 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7380 (substitute* "src/orca/orca.py"
7381 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7383 (add-after 'install 'wrap-orca
7384 (lambda* (#:key outputs #:allow-other-keys)
7385 (let* ((out (assoc-ref outputs "out"))
7386 (prog (string-append out "/bin/orca")))
7388 `("GI_TYPELIB_PATH" ":" prefix
7389 (,(getenv "GI_TYPELIB_PATH")))
7390 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7391 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7392 `("PYTHONPATH" ":" prefix
7393 (,(getenv "PYTHONPATH")))))
7396 `(("intltool" ,intltool)
7397 ("itstool" ,itstool)
7398 ("pkg-config" ,pkg-config)
7399 ("xmllint" ,libxml2)))
7401 `(("at-spi2-atk" ,at-spi2-atk)
7402 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7403 ("gstreamer" ,gstreamer)
7404 ("gst-plugins-base" ,gst-plugins-base)
7405 ("gst-plugins-good" ,gst-plugins-good)
7408 ("python-pygobject" ,python-pygobject)
7409 ("python-pyatspi" ,python-pyatspi)
7410 ("python-speechd" ,speech-dispatcher)
7411 ("xkbcomp" ,xkbcomp)))
7413 "Screen reader for individuals who are blind or visually impaired")
7414 (home-page "https://wiki.gnome.org/Projects/Orca")
7416 "Orca is a screen reader that provides access to the graphical desktop
7417 via speech and refreshable braille. Orca works with applications and toolkits
7418 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7419 (license license:lgpl2.1+)))
7421 (define-public gspell
7427 (uri (string-append "mirror://gnome/sources/" name "/"
7428 (version-major+minor version) "/"
7429 name "-" version ".tar.xz"))
7432 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
7433 (patches (search-patches "gspell-dash-test.patch"))))
7434 (build-system glib-or-gtk-build-system)
7437 (modify-phases %standard-phases
7438 (add-before 'check 'pre-check
7439 (lambda* (#:key inputs #:allow-other-keys)
7440 ;; Tests require a running X server.
7441 (system "Xvfb :1 &")
7442 (setenv "DISPLAY" ":1")
7444 ;; For the missing /etc/machine-id.
7445 (setenv "DBUS_FATAL_WARNINGS" "0")
7447 ;; Allow Enchant and its Aspell backend to find the en_US
7449 (setenv "ASPELL_DICT_DIR"
7450 (string-append (assoc-ref inputs "aspell-dict-en")
7456 ("iso-codes" ,iso-codes)))
7458 `(("glib" ,glib "bin")
7459 ("pkg-config" ,pkg-config)
7460 ("xmllint" ,libxml2)
7463 ("aspell-dict-en" ,aspell-dict-en)
7464 ("xorg-server" ,xorg-server)))
7466 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7467 (home-page "https://wiki.gnome.org/Projects/gspell")
7468 (synopsis "GNOME's alternative spell checker")
7470 "gspell provides a flexible API to add spell-checking to a GTK+
7471 application. It provides a GObject API, spell-checking to text entries and
7472 text views, and buttons to choose the language.")
7473 (license license:gpl2+)))
7475 (define-public gnome-planner
7477 (name "gnome-planner")
7481 (uri (string-append "mirror://gnome/sources/planner/"
7482 (version-major+minor version) "/planner-"
7486 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7487 (build-system glib-or-gtk-build-system)
7489 ;; Disable the Python bindings because the Planner program functions
7490 ;; without them, and (as of 2017-06-13) we have not packaged all of
7491 ;; packages that are necessary for building the Python bindings.
7493 (list "--disable-python"
7494 ,@(if (string=? "aarch64-linux" (%current-system))
7495 '("--build=aarch64-unknown-linux-gnu")
7498 `(("libgnomecanvas" ,libgnomecanvas)
7499 ("libgnomeui" ,libgnomeui)
7500 ("libglade" ,libglade)
7501 ("gnome-vfs" ,gnome-vfs)
7503 ("libxml2" ,libxml2)
7504 ("libxslt" ,libxslt)
7508 `(("intltool" ,intltool)
7509 ("scrollkeeper" ,scrollkeeper)
7510 ("pkg-config" ,pkg-config)))
7511 (home-page "https://wiki.gnome.org/Apps/Planner")
7512 (synopsis "Project management software for the GNOME desktop")
7514 "GNOME Planner is a project management tool based on the Work Breakdown
7515 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7516 the resources, tasks, and constraints that you define, Planner generates
7517 various views into a project. For example, Planner can show a Gantt chart of
7518 the project. It can show a detailed summary of tasks including their
7519 duration, cost, and current progress. It can also show a report of resource
7520 utilization that highlights under-utilized and over-utilized resources. These
7521 views can be printed as PDF or PostScript files, or exported to HTML.")
7522 (license license:gpl2+)))
7524 (define-public lollypop
7531 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7532 "e4df2ed75c5ed71d64afcc668e579b2a/"
7533 name "-" version ".tar.xz"))
7536 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
7537 (build-system meson-build-system)
7539 `(#:imported-modules ((guix build python-build-system)
7540 ,@%meson-build-system-modules)
7542 #:tests? #f ; no test suite
7544 (modify-phases %standard-phases
7545 (add-after 'install 'wrap-program
7546 (lambda* (#:key outputs #:allow-other-keys)
7547 (let ((out (assoc-ref outputs "out"))
7548 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7549 (wrap-program (string-append out "/bin/lollypop")
7550 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7552 (add-after 'install 'wrap
7553 (@@ (guix build python-build-system) wrap)))))
7555 `(("intltool" ,intltool)
7556 ("itstool" ,itstool)
7557 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7558 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7559 ("pkg-config" ,pkg-config)))
7561 `(("gobject-introspection" ,gobject-introspection)
7562 ("gst-plugins-base" ,gst-plugins-base)
7563 ("libnotify" ,libnotify)
7564 ("libsecret" ,libsecret)
7565 ("libsoup" ,libsoup)
7567 ("python-beautifulsoup4" ,python-beautifulsoup4)
7568 ("python-gst" ,python-gst)
7569 ("python-pycairo" ,python-pycairo)
7570 ("python-pygobject" ,python-pygobject)
7571 ("python-pylast" ,python-pylast)
7572 ("totem-pl-parser" ,totem-pl-parser)
7573 ("webkitgtk" ,webkitgtk)))
7575 `(;; gst-plugins-base is required to start Lollypop,
7576 ;; the others are required to play streaming.
7577 ("gst-plugins-good" ,gst-plugins-good)
7578 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7579 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7580 (synopsis "GNOME music playing application")
7582 "Lollypop is a music player designed to play well with GNOME desktop.
7583 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7584 from artists and tracks from the web. It also fetches cover artworks
7585 automatically and it can stream songs from online music services and charts.")
7586 (license license:gpl3+)))
7588 (define-public gnome-video-effects
7590 (name "gnome-video-effects")
7594 (uri (string-append "mirror://gnome/sources/" name "/"
7595 (version-major+minor version) "/" name "-"
7599 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7600 (build-system glib-or-gtk-build-system)
7602 `(#:out-of-source? #f))
7604 `(("glib:bin" ,glib "bin")
7605 ("intltool" ,intltool)
7606 ("gettext" ,gettext-minimal)
7607 ("pkg-config" ,pkg-config)))
7608 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7609 (synopsis "Video effects for Cheese and other GNOME applications")
7611 "A collection of GStreamer video filters and effects to be used in
7612 photo-booth-like software, such as Cheese.")
7613 (license license:gpl2+)))
7615 (define-public cheese
7621 (uri (string-append "mirror://gnome/sources/" name "/"
7622 (version-major+minor version) "/" name "-"
7626 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
7628 ;; Tests require GDK.
7631 (modify-phases %standard-phases
7632 (add-before 'install 'skip-gtk-update-icon-cache
7634 ;; Don't create 'icon-theme.cache'
7635 (substitute* "Makefile"
7636 (("gtk-update-icon-cache") (which "true")))
7638 (add-after 'install 'wrap-cheese
7639 (lambda* (#:key inputs outputs #:allow-other-keys)
7640 (let ((out (assoc-ref outputs "out"))
7641 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7642 (wrap-program (string-append out "/bin/cheese")
7643 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7645 (build-system glib-or-gtk-build-system)
7647 `(("glib:bin" ,glib "bin")
7648 ("intltool" ,intltool)
7649 ("itstool" ,itstool)
7650 ("libxml2" ,libxml2)
7651 ("pkg-config" ,pkg-config)
7654 `(("gnome-video-effects" ,gnome-video-effects)
7655 ("clutter" ,clutter)
7656 ("clutter-gst" ,clutter-gst)
7657 ("clutter-gtk" ,clutter-gtk)
7658 ("libcanberra" ,libcanberra)
7659 ("gdk-pixbuf" ,gdk-pixbuf)
7661 ("gstreamer" ,gstreamer)))
7663 `(("gnome-desktop" ,gnome-desktop)
7664 ("gobject-introspection" ,gobject-introspection)
7665 ("gst-plugins-base" ,gst-plugins-base)
7666 ("gst-plugins-bad" ,gst-plugins-bad)
7669 ("libxtst" ,libxtst)))
7670 (home-page "https://wiki.gnome.org/Apps/Cheese")
7671 (synopsis "Webcam photo booth software for GNOME")
7673 "Cheese uses your webcam to take photos and videos. Cheese can also
7674 apply fancy special effects and lets you share the fun with others.")
7675 (license license:gpl2+)))
7677 (define-public sound-juicer
7679 (name "sound-juicer")
7684 (uri (string-append "mirror://gnome/sources/" name "/"
7685 (version-major+minor version) "/"
7686 name "-" version ".tar.xz"))
7689 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7690 (build-system glib-or-gtk-build-system)
7692 `(("desktop-file-utils" ,desktop-file-utils)
7693 ("intltool" ,intltool)
7694 ("itstool" ,itstool)
7695 ("pkg-config" ,pkg-config)
7696 ("xmllint" ,libxml2)))
7699 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7700 ("gstreamer" ,gstreamer)
7701 ("gst-plugins-base" ,gst-plugins-base)
7702 ("gst-plugins-good" ,gst-plugins-good)
7703 ("iso-codes" ,iso-codes)
7704 ("libbrasero-media3" ,brasero)
7705 ("libcanberra" ,libcanberra)
7706 ("libdiscid" ,libdiscid)
7707 ("libmusicbrainz" ,libmusicbrainz)
7709 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7710 (synopsis "Audio music cd ripper")
7711 (description "Sound Juicer extracts audio from compact discs and convert it
7712 into audio files that a personal computer or digital audio player can play.
7713 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7714 mp3, Ogg Vorbis and FLAC")
7715 (license license:gpl2+)))
7717 (define-public soundconverter
7719 (name "soundconverter")
7724 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7725 version "/+download/"
7726 "soundconverter-" version ".tar.xz"))
7729 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
7732 "soundconverter-remove-gconf-dependency.patch"))))
7733 (build-system glib-or-gtk-build-system)
7735 `(#:imported-modules ((guix build python-build-system)
7736 (guix build glib-or-gtk-build-system)
7737 ,@%gnu-build-system-modules)
7739 #:modules ((guix build glib-or-gtk-build-system)
7741 ((guix build gnu-build-system) #:prefix gnu:)
7742 ((guix build python-build-system) #:prefix python:))
7745 (modify-phases %standard-phases
7746 (add-after 'install 'wrap-soundconverter-for-python
7747 (assoc-ref python:%standard-phases 'wrap))
7748 (add-after 'install 'wrap-soundconverter
7749 (lambda* (#:key inputs outputs #:allow-other-keys)
7750 (let ((out (assoc-ref outputs "out"))
7751 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7752 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7753 (wrap-program (string-append out "/bin/soundconverter")
7754 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7755 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7758 `(("intltool" ,intltool)
7759 ("pkg-config" ,pkg-config)
7760 ("glib:bin" ,glib "bin")))
7764 ("python-pygobject" ,python-pygobject)
7765 ("gstreamer" ,gstreamer)
7766 ("gst-plugins-base" ,gst-plugins-base)))
7767 (home-page "http://soundconverter.org/")
7768 (synopsis "Convert between audio formats with a graphical interface")
7770 "SoundConverter supports converting between many audio formats including
7771 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7772 configurable file renaming. ")
7773 (license license:gpl3)))
7775 (define-public workrave
7783 (url "https://github.com/rcaelers/workrave.git")
7784 (commit (string-append "v" (string-map
7785 (match-lambda (#\. #\_) (chr chr))
7787 (file-name (git-file-name name version))
7789 (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw"))))
7790 (build-system glib-or-gtk-build-system)
7791 (propagated-inputs `(("glib" ,glib)
7793 ("gdk-pixbuf" ,gdk-pixbuf)
7797 ("libxtst" ,libxtst)
7799 ("libice" ,libice)))
7800 (inputs `(("libsm" ,libsm)
7801 ("python-cheetah" ,python2-cheetah)))
7802 (native-inputs `(("glib" ,glib "bin")
7803 ("pkg-config" ,pkg-config)
7804 ("gettext" ,gnu-gettext)
7805 ("autoconf" ,autoconf)
7806 ("autoconf-archive" , autoconf-archive)
7807 ("automake" ,automake)
7808 ("libtool" ,libtool)
7809 ("intltool" ,intltool)
7810 ("libxscrnsaver" ,libxscrnsaver)
7811 ("gobject-introspection" ,gobject-introspection)
7812 ("python2" ,python-2)))
7813 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7815 "Workrave is a program that assists in the recovery and prevention of
7816 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7817 micro-pauses and rest breaks, and restricts you to your daily limit.")
7818 (home-page "http://www.workrave.org")
7819 (license license:gpl3+)))
7827 (uri (string-append "mirror://gnome/sources/ghex/"
7828 (version-major+minor version) "/"
7829 "ghex-" version ".tar.xz"))
7832 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7833 (build-system glib-or-gtk-build-system)
7835 `(("pkg-config" ,pkg-config)
7836 ("gnome-common" ,gnome-common)
7838 ("intltool" ,intltool)
7839 ("yelp-tools" ,yelp-tools)
7840 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
7844 (synopsis "GNOME hexadecimal editor")
7845 (description "The GHex program can view and edit files in two ways:
7846 hexadecimal or ASCII. It is useful for editing binary files in general.")
7847 (home-page "https://wiki.gnome.org/Apps/Ghex")
7848 (license license:gpl2)))
7850 (define-public libdazzle
7856 (uri (string-append "mirror://gnome/sources/libdazzle/"
7857 (version-major+minor version) "/"
7858 "libdazzle-" version ".tar.xz"))
7861 "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg"))))
7862 (build-system meson-build-system)
7865 (modify-phases %standard-phases
7866 (add-after 'unpack 'disable-failing-test
7868 ;; Disable failing test.
7869 (substitute* "tests/meson.build"
7870 (("test\\('test-application") "#"))
7872 (add-before 'check 'pre-check
7874 ;; Tests require a running X server.
7875 (system "Xvfb :1 &")
7876 (setenv "DISPLAY" ":1")
7879 `(("glib" ,glib "bin") ; glib-compile-resources
7880 ("pkg-config" ,pkg-config)
7882 ("xorg-server" ,xorg-server)))
7885 ("gobject-introspection" ,gobject-introspection)
7888 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7889 (synopsis "Companion library to GObject and Gtk+")
7890 (description "The libdazzle library is a companion library to GObject and
7891 Gtk+. It provides various features that the authors wish were in the
7892 underlying library but cannot for various reasons. In most cases, they are
7893 wildly out of scope for those libraries. In other cases, they are not quite
7894 generic enough to work for everyone.")
7895 (license license:gpl3+)))
7897 (define-public evolution
7903 (uri (string-append "mirror://gnome/sources/evolution/"
7904 (version-major+minor version) "/"
7905 "evolution-" version ".tar.xz"))
7908 "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
7909 (build-system cmake-build-system)
7912 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
7913 "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
7914 ; in four years and cannot be built.
7916 `(("glib" ,glib "bin") ; glib-mkenums
7917 ("pkg-config" ,pkg-config)
7918 ("intltool" ,intltool)
7919 ("itstool" ,itstool)))
7921 `(("enchant" ,enchant)
7922 ("evolution-data-server" ,evolution-data-server) ; must be the same version
7924 ("gnome-autoar" ,gnome-autoar)
7925 ("gnome-desktop" ,gnome-desktop)
7926 ("gtkspell3" ,gtkspell3)
7927 ("highlight" ,highlight)
7928 ("libcanberra" ,libcanberra)
7929 ("libedataserverui" ,evolution-data-server "libedataserverui")
7930 ("libgweather" ,libgweather)
7931 ("libnotify" ,libnotify)
7932 ("libsoup" ,libsoup)
7934 ("openldap" ,openldap)
7935 ("webkitgtk" ,webkitgtk)
7937 (home-page "https://gitlab.gnome.org/GNOME/evolution")
7938 (synopsis "Manage your email, contacts and schedule")
7939 (description "Evolution is a personal information management application
7940 that provides integrated mail, calendaring and address book
7942 ;; See COPYING for details.
7943 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7944 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
7945 license:lgpl2.1+)))) ; smime/lib/*