1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
41 ;;; This file is part of GNU Guix.
43 ;;; GNU Guix is free software; you can redistribute it and/or modify it
44 ;;; under the terms of the GNU General Public License as published by
45 ;;; the Free Software Foundation; either version 3 of the License, or (at
46 ;;; your option) any later version.
48 ;;; GNU Guix is distributed in the hope that it will be useful, but
49 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
50 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51 ;;; GNU General Public License for more details.
53 ;;; You should have received a copy of the GNU General Public License
54 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
56 (define-module (gnu packages gnome)
57 #:use-module (gnu packages)
58 #:use-module (gnu packages admin)
59 #:use-module (gnu packages aspell)
60 #:use-module (gnu packages autotools)
61 #:use-module (gnu packages avahi)
62 #:use-module (gnu packages backup)
63 #:use-module (gnu packages base)
64 #:use-module (gnu packages bash)
65 #:use-module (gnu packages bison)
66 #:use-module (gnu packages build-tools)
67 #:use-module (gnu packages calendar)
68 #:use-module (gnu packages cdrom)
69 #:use-module (gnu packages check)
70 #:use-module (gnu packages cmake)
71 #:use-module (gnu packages compression)
72 #:use-module (gnu packages cups)
73 #:use-module (gnu packages curl)
74 #:use-module (gnu packages cyrus-sasl)
75 #:use-module (gnu packages databases)
76 #:use-module (gnu packages dbm)
77 #:use-module (gnu packages djvu)
78 #:use-module (gnu packages dns)
79 #:use-module (gnu packages docbook)
80 #:use-module (gnu packages documentation)
81 #:use-module (gnu packages enchant)
82 #:use-module (gnu packages flex)
83 #:use-module (gnu packages fonts)
84 #:use-module (gnu packages file-systems)
85 #:use-module (gnu packages fontutils)
86 #:use-module (gnu packages freedesktop)
87 #:use-module (gnu packages game-development)
88 #:use-module (gnu packages gettext)
89 #:use-module (gnu packages ghostscript)
90 #:use-module (gnu packages gl)
91 #:use-module (gnu packages glib)
92 #:use-module (gnu packages gnupg)
93 #:use-module (gnu packages gnuzilla)
94 #:use-module (gnu packages gperf)
95 #:use-module (gnu packages graphviz)
96 #:use-module (gnu packages gstreamer)
97 #:use-module (gnu packages gtk)
98 #:use-module (gnu packages guile)
99 #:use-module (gnu packages ibus)
100 #:use-module (gnu packages image)
101 #:use-module (gnu packages imagemagick)
102 #:use-module (gnu packages inkscape)
103 #:use-module (gnu packages iso-codes)
104 #:use-module (gnu packages kerberos)
105 #:use-module (gnu packages libcanberra)
106 #:use-module (gnu packages libunistring)
107 #:use-module (gnu packages libusb)
108 #:use-module (gnu packages linux)
109 #:use-module (gnu packages lirc)
110 #:use-module (gnu packages lua)
111 #:use-module (gnu packages mail)
112 #:use-module (gnu packages multiprecision)
113 #:use-module (gnu packages music)
114 #:use-module (gnu packages ncurses)
115 #:use-module (gnu packages nettle)
116 #:use-module (gnu packages networking)
117 #:use-module (gnu packages ninja)
118 #:use-module (gnu packages nss)
119 #:use-module (gnu packages openldap)
120 #:use-module (gnu packages password-utils)
121 #:use-module (gnu packages pcre)
122 #:use-module (gnu packages pdf)
123 #:use-module (gnu packages perl)
124 #:use-module (gnu packages photo)
125 #:use-module (gnu packages pkg-config)
126 #:use-module (gnu packages polkit)
127 #:use-module (gnu packages popt)
128 #:use-module (gnu packages pretty-print)
129 #:use-module (gnu packages pulseaudio)
130 #:use-module (gnu packages python)
131 #:use-module (gnu packages python-crypto)
132 #:use-module (gnu packages python-web)
133 #:use-module (gnu packages python-xyz)
134 #:use-module (gnu packages rdesktop)
135 #:use-module (gnu packages readline)
136 #:use-module (gnu packages ruby)
137 #:use-module (gnu packages rust)
138 #:use-module (gnu packages samba)
139 #:use-module (gnu packages scanner)
140 #:use-module (gnu packages selinux)
141 #:use-module (gnu packages slang)
142 #:use-module (gnu packages speech)
143 #:use-module (gnu packages spice)
144 #:use-module (gnu packages sqlite)
145 #:use-module (gnu packages ssh)
146 #:use-module (gnu packages tex)
147 #:use-module (gnu packages time)
148 #:use-module (gnu packages tls)
149 #:use-module (gnu packages version-control)
150 #:use-module (gnu packages video)
151 #:use-module (gnu packages virtualization)
152 #:use-module (gnu packages vpn)
153 #:use-module (gnu packages web)
154 #:use-module (gnu packages web)
155 #:use-module (gnu packages webkit)
156 #:use-module (gnu packages xdisorg)
157 #:use-module (gnu packages xiph)
158 #:use-module (gnu packages xml)
159 #:use-module (gnu packages xorg)
160 #:use-module (gnu packages xorg)
161 #:use-module (gnu artwork)
162 #:use-module (guix build-system cmake)
163 #:use-module (guix build-system glib-or-gtk)
164 #:use-module (guix build-system gnu)
165 #:use-module (guix build-system meson)
166 #:use-module (guix build-system python)
167 #:use-module (guix build-system trivial)
168 #:use-module (guix download)
169 #:use-module (guix git-download)
170 #:use-module ((guix licenses) #:prefix license:)
171 #:use-module (guix packages)
172 #:use-module (guix utils)
173 #:use-module (guix gexp)
174 #:use-module (ice-9 match)
175 #:use-module (srfi srfi-1))
177 (define-public brasero
183 (uri (string-append "mirror://gnome/sources/" name "/"
184 (version-major+minor version) "/"
185 name "-" version ".tar.xz"))
188 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
189 (build-system glib-or-gtk-build-system)
191 `(#:configure-flags (list
192 (string-append "--with-girdir="
193 (assoc-ref %outputs "out")
195 (string-append "--with-typelibdir="
196 (assoc-ref %outputs "out")
197 "/lib/girepository-1.0"))
199 (modify-phases %standard-phases
200 (add-before 'configure 'embed-growisofs
201 (lambda* (#:key inputs #:allow-other-keys)
202 (substitute* "plugins/growisofs/burn-growisofs.c"
203 (("\"growisofs") (string-append "\"" (which "growisofs"))))
206 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
208 `(("intltool" ,intltool)
209 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
210 ("gobject-introspection" ,gobject-introspection)
211 ("pkg-config" ,pkg-config)))
213 `(("dvd+rw-tools" ,dvd+rw-tools)
215 ("gnome-doc-utils" ,gnome-doc-utils)
216 ("gstreamer" ,gstreamer)
217 ("gst-plugins-base" ,gst-plugins-base)
220 ("libcanberra" ,libcanberra)
222 ("libnotify" ,libnotify)
226 ("totem-pl-parser" ,totem-pl-parser)))
227 (home-page "https://projects.gnome.org/brasero/")
228 (synopsis "CD/DVD burning tool for Gnome")
229 (description "Brasero is an application to burn CD/DVD for the Gnome
230 Desktop. It is designed to be as simple as possible and has some unique
231 features to enable users to create their discs easily and quickly.")
232 (license license:gpl2+)))
234 (define-public deja-dup
240 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
243 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
245 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
246 (build-system glib-or-gtk-build-system)
248 `(#:modules ((guix build gnu-build-system)
249 ((guix build cmake-build-system) #:prefix cmake:)
250 (guix build glib-or-gtk-build-system)
252 #:imported-modules (,@%glib-or-gtk-build-system-modules
253 (guix build cmake-build-system))
255 #:configure-flags (list (string-append
256 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
258 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
260 (modify-phases %standard-phases
261 (add-after 'unpack 'patch-lockfile-deletion
263 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
267 (assoc-ref cmake:%standard-phases 'configure))
268 (delete 'check) ;; Fails due to issues with DBus
269 (add-after 'install 'wrap-deja-dup
270 (lambda* (#:key inputs outputs #:allow-other-keys)
271 (let ((python (assoc-ref inputs "python"))
272 (python-path (getenv "PYTHONPATH"))
273 (duplicity (assoc-ref inputs "duplicity"))
274 (out (assoc-ref outputs "out")))
277 (wrap-program program
278 `("PATH" ":" prefix (,(string-append python "/bin")
279 ,(string-append duplicity "/bin"))))
280 (wrap-program program
281 `("PYTHONPATH" ":" prefix (,python-path))))
283 (find-files (string-append out "/bin")))
286 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
287 ("gobject-introspection" ,gobject-introspection)
288 ("duplicity" ,duplicity)
290 ("python-pygobject" ,python2-pygobject)
292 ("libnotify" ,libnotify)
294 ("libsecret" ,libsecret)
295 ("packagekit" ,packagekit)))
297 `(("pkg-config" ,pkg-config)
299 ("gettext" ,gettext-minimal)
301 ("intltool" ,intltool)
302 ("cmake" ,cmake-minimal)))
303 (home-page "https://launchpad.net/deja-dup")
304 (synopsis "Simple backup tool, for regular encrypted backups")
306 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
307 uses duplicity as the backend, which supports incremental backups and storage
308 either on a local, or remote machine via a number of methods.")
309 (license license:gpl3+)))
312 ;; This version from GNOME's repository includes fixes for compiling with
313 ;; recent versions of the build tools. The latest activity on the
314 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
316 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
319 (version (string-append "0.97.2-" (string-take commit 7)))
323 (url "https://git.gnome.org/browse/dia")
325 (file-name (string-append name "-" version "-checkout"))
328 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
329 (build-system gnu-build-system)
331 `(("glib" ,glib "bin")
333 ("gdk-pixbuf" ,gdk-pixbuf)
336 ("freetype" ,freetype)
337 ("libart-lgpl" ,libart-lgpl)))
339 `(("intltool" ,intltool)
340 ("pkg-config" ,pkg-config)
341 ("automake" ,automake)
342 ("autoconf" ,autoconf)
345 ("python-wrapper" ,python-wrapper)))
348 (modify-phases %standard-phases
349 (add-after 'unpack 'run-autogen
351 (system* "sh" "autogen.sh"))))))
352 (home-page "https://wiki.gnome.org/Apps/Dia")
353 (synopsis "Diagram creation for GNOME")
354 (description "Dia can be used to draw different types of diagrams, and
355 includes support for UML static structure diagrams (class diagrams), entity
356 relationship modeling, and network diagrams. The program supports various file
357 formats like PNG, SVG, PDF and EPS.")
358 (license license:gpl2+))))
360 ;; This is the unstable release, but it is required for the current stable
361 ;; release of gvfs (1.38.1).
362 (define-public libgdata
368 (uri (string-append "mirror://gnome/sources/" name "/"
369 (version-major+minor version) "/"
370 name "-" version ".tar.xz"))
373 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
374 (build-system gnu-build-system)
377 (modify-phases %standard-phases
378 (add-before 'check 'disable-failing-tests
380 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
381 ;; They have been removed in libgdata 0.17.6, so just do the same.
382 (substitute* "gdata/tests/Makefile"
383 (("picasaweb\\$\\(EXEEXT\\) ") ""))
386 `(("glib:bin" ,glib "bin")
387 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
388 ("intltool" ,intltool)
389 ("pkg-config" ,pkg-config)
390 ("uhttpmock" ,uhttpmock)))
392 `(("cyrus-sasl" ,cyrus-sasl)
393 ("glib-networking" ,glib-networking)))
397 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
398 ("json-glib" ,json-glib)
399 ("liboauth" ,liboauth)
401 ("libxml2" ,libxml2)))
402 (home-page "https://wiki.gnome.org/Projects/libgdata")
403 (synopsis "Library for accessing online service APIs")
405 "libgdata is a GLib-based library for accessing online service APIs using
406 the GData protocol — most notably, Google's services. It provides APIs to
407 access the common Google services, and has full asynchronous support.")
408 (license license:lgpl2.1+)))
410 (define-public libgxps
416 (uri (string-append "mirror://gnome/sources/" name "/"
417 (version-major+minor version) "/"
418 name "-" version ".tar.xz"))
421 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
422 (build-system meson-build-system)
424 `(("gobject-introspection" ,gobject-introspection)
425 ("pkg-config" ,pkg-config)))
428 ("libjpeg" ,libjpeg-turbo)
433 ;; In Requires of libgxps.pc.
436 ("libarchive" ,libarchive)))
437 (home-page "https://wiki.gnome.org/Projects/libgxps")
438 (synopsis "GObject-based library for handling and rendering XPS documents")
440 "libgxps is a GObject-based library for handling and rendering XPS
441 documents. This package also contains binaries that can convert XPS documents
443 (license license:lgpl2.1+)))
445 (define-public gnome-common
447 (name "gnome-common")
452 (uri (string-append "mirror://gnome/sources/" name "/"
453 (version-major+minor version) "/"
454 name "-" version ".tar.xz"))
457 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
458 (build-system gnu-build-system)
459 (home-page "https://www.gnome.org/")
460 (synopsis "Bootstrap GNOME modules built from Git")
461 (description "gnome-common contains various files needed to bootstrap
462 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
463 can be used to configure a source directory checked out from Git and some
464 commonly used macros.")
465 (license license:gpl2+)))
467 (define-public gnome-desktop
469 (name "gnome-desktop")
474 (uri (string-append "mirror://gnome/sources/" name "/"
475 (version-major+minor version) "/"
476 name "-" version ".tar.xz"))
479 "0k6iccfj9naw42dl2mgljfvk12dmvg06plg86qd81nksrf9ycxal"))))
480 (build-system gnu-build-system)
483 (modify-phases %standard-phases
484 (add-before 'configure 'patch-path
485 (lambda* (#:key inputs #:allow-other-keys)
486 (let ((libc (assoc-ref inputs "libc")))
487 (substitute* "libgnome-desktop/gnome-languages.c"
489 (string-append "\"" libc "/bin/locale\"")))
492 `(("gobject-introspection" ,gobject-introspection)
494 ("intltool" ,intltool)
495 ("pkg-config" ,pkg-config)
496 ("xmllint" ,libxml2)))
498 ;; Required by gnome-desktop-3.0.pc.
499 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
502 `(("gdk-pixbuf" ,gdk-pixbuf)
504 ("iso-codes" ,iso-codes)
505 ("libseccomp" ,libseccomp)
508 ("libxkbfile" ,libxkbfile)
509 ("libxrandr" ,libxrandr)
510 ("xkeyboard-config" ,xkeyboard-config)))
511 (home-page "https://www.gnome.org/")
513 "Libgnome-desktop, gnome-about, and desktop-wide documents")
515 "The libgnome-desktop library provides API shared by several applications
516 on the desktop, but that cannot live in the platform for various reasons.
517 There is no API or ABI guarantee, although we are doing our best to provide
518 stability. Documentation for the API is available with gtk-doc.
520 The gnome-about program helps find which version of GNOME is installed.")
521 ; Some bits under the LGPL.
522 (license license:gpl2+)))
524 (define-public gnome-doc-utils
526 (name "gnome-doc-utils")
531 (uri (string-append "mirror://gnome/sources/" name "/"
532 (version-major+minor version) "/"
533 name "-" version ".tar.xz"))
536 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
537 (build-system gnu-build-system)
539 `(("intltool" ,intltool)
540 ("docbook-xml" ,docbook-xml-4.4)
541 ("python2-libxml2" ,python2-libxml2)
544 ("pkg-config" ,pkg-config)
545 ("python-2" ,python-2)))
546 (home-page "https://wiki.gnome.org/GnomeDocUtils")
548 "Documentation utilities for the Gnome project")
550 "Gnome-doc-utils is a collection of documentation utilities for the
551 Gnome project. It includes xml2po tool which makes it easier to translate
552 and keep up to date translations of documentation.")
553 (license license:gpl2+))) ; xslt under lgpl
555 (define-public gnome-disk-utility
557 (name "gnome-disk-utility")
561 (uri (string-append "mirror://gnome/sources/" name "/"
562 (version-major+minor version) "/"
563 name "-" version ".tar.xz"))
566 "1365fabz3q7n3bl775z82m1nzg18birxxyd7l2ssbbkqrx3h7wgi"))))
567 (build-system meson-build-system)
569 `(("glib:bin" ,glib "bin")
570 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
571 ("intltool" ,intltool)
572 ("pkg-config" ,pkg-config)
573 ("docbook-xml" ,docbook-xml)
574 ("docbook-xsl" ,docbook-xsl)
576 ("libxslt" ,libxslt)))
579 ("appstream-glib" ,appstream-glib)
580 ("gnome-settings-daemon" ,gnome-settings-daemon)
582 ("libcanberra" ,libcanberra)
583 ("libdvdread" ,libdvdread)
584 ("libnotify" ,libnotify)
585 ("libpwquality" ,libpwquality)
586 ("libsecret" ,libsecret)
588 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
589 (synopsis "Disk management utility for GNOME")
590 (description "Disk management utility for GNOME.")
591 (license license:gpl2+)))
599 (uri (string-append "mirror://gnome/sources/" name "/"
600 (version-major+minor version) "/"
601 name "-" version ".tar.xz"))
604 "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m"))
607 ;; This patch solves an ordering issue that showed up when
608 ;; running the test suite against newer Glib 2.60. See
609 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
612 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
613 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
614 (file-name "gcr-hashtable-ordering.patch")
617 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
618 (build-system gnu-build-system)
621 (modify-phases %standard-phases
622 ;; These fail because /var/lib/dbus/machine-id is not present in the
623 ;; build environment.
624 (add-after 'unpack 'disable-failing-tests
626 (substitute* "gcr/test-system-prompt.c"
627 (("g_test_add") "//")
628 (("return.*") "return 0;"))
630 (add-before 'check 'pre-check
632 ;; Some tests expect to write to $HOME.
633 (setenv "HOME" "/tmp")
637 ("gnupg" ,gnupg) ;called as a child process during tests
638 ("libgcrypt" ,libgcrypt)))
640 `(("python" ,python-2) ;for tests
641 ("pkg-config" ,pkg-config)
643 ("gobject-introspection" ,gobject-introspection)
644 ("intltool" ,intltool)
646 ("xsltproc" ,libxslt)))
647 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
649 `(("p11-kit" ,p11-kit)
652 (home-page "https://www.gnome.org")
653 (synopsis "Libraries for displaying certificates and accessing key stores")
655 "The GCR package contains libraries used for displaying certificates and
656 accessing key stores. It also provides the viewer for crypto files on the
658 (license license:lgpl2.1+)))
660 (define-public libgnome-keyring
662 (name "libgnome-keyring")
666 (uri (string-append "mirror://gnome/sources/" name "/"
667 (version-major+minor version) "/"
668 name "-" version ".tar.xz"))
671 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
672 (build-system gnu-build-system)
674 `(("libgcrypt" ,libgcrypt)
677 `(("pkg-config" ,pkg-config)
679 ("intltool" ,intltool)))
681 ;; Referred to in .h files and .pc.
683 (home-page "https://www.gnome.org")
684 (synopsis "Accessing passwords from the GNOME keyring")
686 "Client library to access passwords from the GNOME keyring.")
688 ;; Though a couple of files are LGPLv2.1+.
689 (license license:lgpl2.0+)))
691 (define-public gnome-keyring
693 (name "gnome-keyring")
697 (uri (string-append "mirror://gnome/sources/" name "/"
698 (version-major+minor version) "/"
699 name "-" version ".tar.xz"))
702 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
703 (build-system gnu-build-system)
705 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
709 (string-append "--with-pkcs11-config="
710 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
711 (string-append "--with-pkcs11-modules="
712 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
714 (modify-phases %standard-phases
715 (add-after 'unpack 'fix-/bin/sh-reference
717 (substitute* "po/Makefile.in.in"
718 (("/bin/sh") (which "sh")))
720 (add-after 'unpack 'fix-docbook
721 (lambda* (#:key inputs #:allow-other-keys)
722 (substitute* "docs/Makefile.am"
723 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
724 (string-append (assoc-ref inputs "docbook-xsl")
725 "/xml/xsl/docbook-xsl-"
726 ,(package-version docbook-xsl)
727 "/manpages/docbook.xsl")))
728 (setenv "XML_CATALOG_FILES"
729 (string-append (assoc-ref inputs "docbook-xml")
730 "/xml/dtd/docbook/catalog.xml"))
731 ;; Rerun the whole thing to avoid version mismatch ("This is
732 ;; Automake 1.15.1, but the definition used by this
733 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
734 ;; use 'autoreconf' because it insists on running 'libtoolize'.
737 (invoke "automake" "-ac"))))))
739 `(("libgcrypt" ,libgcrypt)
740 ("linux-pam" ,linux-pam)
745 `(("pkg-config" ,pkg-config)
747 ("glib" ,glib) ; for m4 macros
748 ("python" ,python-2) ;for tests
749 ("intltool" ,intltool)
750 ("autoconf" ,autoconf)
751 ("automake" ,automake)
752 ("libxslt" ,libxslt) ;for documentation
753 ("docbook-xml" ,docbook-xml-4.2)
754 ("docbook-xsl" ,docbook-xsl)))
755 (home-page "https://www.gnome.org")
756 (synopsis "Daemon to store passwords and encryption keys")
758 "gnome-keyring is a program that keeps passwords and other secrets for
759 users. It is run as a daemon in the session, similar to ssh-agent, and other
760 applications locate it via an environment variable or D-Bus.
762 The program can manage several keyrings, each with its own master password,
763 and there is also a session keyring which is never stored to disk, but
764 forgotten when the session ends.")
765 (license license:lgpl2.1+)))
767 (define-public evince
773 (uri (string-append "mirror://gnome/sources/" name "/"
774 (version-major+minor version) "/"
775 name "-" version ".tar.xz"))
778 "0k7jln6dpg4bpv61niicjzkzyq6fhb3yfld7pc8ck71c8pmvsnx9"))))
779 (build-system glib-or-gtk-build-system)
781 `(#:configure-flags '("--disable-nautilus")
783 (modify-phases %standard-phases
784 (add-before 'install 'skip-gtk-update-icon-cache
785 ;; Don't create 'icon-theme.cache'.
787 (substitute* "data/Makefile"
788 (("gtk-update-icon-cache") "true"))
791 `(("libarchive" ,libarchive)
793 ("libspectre" ,libspectre)
794 ("djvulibre" ,djvulibre)
795 ("ghostscript" ,ghostscript)
799 ;; Build libkpathsea as a shared library for DVI support.
800 ;; ("libkpathsea" ,texlive-bin)
801 ("gnome-desktop" ,gnome-desktop)
802 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
804 ("libgnome-keyring" ,libgnome-keyring)
805 ("adwaita-icon-theme" ,adwaita-icon-theme)
806 ("gdk-pixbuf" ,gdk-pixbuf)
814 ("shared-mime-info" ,shared-mime-info)
816 ("libcanberra" ,libcanberra)
817 ("libsecret" ,libsecret)
819 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
820 ;; propagated from there.
824 ("dogtail" ,python2-dogtail)))
826 `(("itstool" ,itstool)
827 ("intltool" ,intltool)
829 ("pkg-config" ,pkg-config)
830 ("xmllint" ,libxml2)))
832 "https://www.gnome.org/projects/evince/")
833 (synopsis "GNOME's document viewer")
835 "Evince is a document viewer for multiple document formats. It
836 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
837 of Evince is to replace the multiple document viewers that exist
838 on the GNOME Desktop with a single simple application.")
839 (license license:gpl2+)))
841 (define-public gsettings-desktop-schemas
843 (name "gsettings-desktop-schemas")
848 (uri (string-append "mirror://gnome/sources/" name "/"
849 (version-major+minor version) "/"
850 name "-" version ".tar.xz"))
853 "0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq"))))
854 (build-system gnu-build-system)
858 `(("intltool" ,intltool)
859 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
860 ("gobject-introspection" ,gobject-introspection)
861 ("pkg-config" ,pkg-config)))
862 (home-page "https://launchpad.net/gsettings-desktop-schemas")
864 "GNOME settings for various desktop components")
866 "Gsettings-desktop-schemas contains a collection of GSettings schemas
867 for settings shared by various components of the GNOME desktop.")
868 (license license:lgpl2.1+)))
870 (define-public icon-naming-utils
872 (name "icon-naming-utils")
877 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
881 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
882 (build-system gnu-build-system)
885 ("perl-xml-simple" ,perl-xml-simple)))
888 (modify-phases %standard-phases
889 (add-after 'install 'set-load-paths
890 ;; Tell 'icon-name-mapping' where XML::Simple is.
891 (lambda* (#:key outputs #:allow-other-keys)
892 (let* ((out (assoc-ref outputs "out"))
893 (prog (string-append out "/libexec/icon-name-mapping")))
896 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
898 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
900 "Utility to implement the Freedesktop Icon Naming Specification")
902 "To help with the transition to the Freedesktop Icon Naming
903 Specification, the icon naming utility maps the icon names used by the
904 GNOME and KDE desktops to the icon names proposed in the specification.")
905 (license license:lgpl2.1+)))
907 (define-public gnome-icon-theme
909 (name "gnome-icon-theme")
914 (uri (string-append "mirror://gnome/sources/" name "/"
915 (version-major+minor version) "/"
916 name "-" version ".tar.xz"))
919 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
920 (build-system gnu-build-system)
923 ;; Don't create 'icon-theme.cache'.
924 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
925 (true (string-append coreutils "/bin/true")))
926 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
928 `(("icon-naming-utils" ,icon-naming-utils)
929 ("intltool" ,intltool)
930 ("pkg-config" ,pkg-config)))
931 (home-page "https://art.gnome.org/")
935 "Icons for the GNOME desktop.")
936 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
938 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
939 (define-public adwaita-icon-theme
940 (package (inherit gnome-icon-theme)
941 (name "adwaita-icon-theme")
945 (uri (string-append "mirror://gnome/sources/" name "/"
946 (version-major+minor version) "/"
947 name "-" version ".tar.xz"))
950 "1kp1lis3dr16jmlgycz1b29jsr6ir8wmqj6laqwlhs663cmjlxbd"))))
952 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
954 (define-public tango-icon-theme
956 (name "tango-icon-theme")
960 (uri (string-append "http://tango.freedesktop.org/releases/"
961 "tango-icon-theme-" version ".tar.bz2"))
964 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
965 (build-system gnu-build-system)
967 `(("icon-naming-utils" ,icon-naming-utils)
968 ("intltool" ,intltool)
969 ("imagemagick" ,imagemagick)
970 ("pkg-config" ,pkg-config)))
971 (home-page "http://tango-project.org/")
972 (synopsis "Tango icon theme")
973 (description "This is an icon theme that follows the Tango visual
975 (license license:public-domain)))
977 (define-public shared-mime-info
979 (name "shared-mime-info")
983 (uri (string-append "https://freedesktop.org/~hadess/"
984 "shared-mime-info-" version ".tar.xz"))
987 "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw"))))
988 (build-system gnu-build-system)
990 ;; The build system appears not to be parallel-safe.
991 '(#:parallel-build? #f))
994 ("libxml2" ,libxml2)))
996 `(("intltool" ,intltool)
997 ("pkg-config" ,pkg-config)))
998 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
999 (synopsis "Database of common MIME types")
1001 "The shared-mime-info package contains the core database of common types
1002 and the update-mime-database command used to extend it. It requires glib2 to
1003 be installed for building the update command. Additionally, it uses intltool
1004 for translations, though this is only a dependency for the maintainers. This
1005 database is translated at Transifex.")
1006 (license license:gpl2+)))
1008 (define-public system-config-printer
1010 (name "system-config-printer")
1015 "https://github.com/zdohnal/system-config-printer/releases/"
1017 "/system-config-printer-" version ".tar.xz"))
1020 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
1021 (build-system glib-or-gtk-build-system)
1023 `(#:imported-modules ((guix build python-build-system)
1024 ,@%glib-or-gtk-build-system-modules)
1026 (modify-phases %standard-phases
1027 (add-after 'unpack 'patch-Makefile.am
1029 ;; The Makefile generates some scripts, so set a valid shebang
1030 (substitute* "Makefile.am"
1031 (("/bin/bash") (which "bash")))
1032 (delete-file "configure")
1034 (add-after 'unpack 'patch-docbook-xml
1035 (lambda* (#:key inputs #:allow-other-keys)
1036 ;; Modify the man XML otherwise xmlto tries to access the network
1037 (substitute* "man/system-config-printer.xml"
1038 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1039 (string-append (assoc-ref inputs "docbook-xml")
1040 "/xml/dtd/docbook/")))
1042 (add-after 'install 'wrap-for-python
1043 (@@ (guix build python-build-system) wrap))
1044 (add-after 'install 'wrap
1045 (lambda* (#:key outputs #:allow-other-keys)
1046 (let ((out (assoc-ref outputs "out"))
1047 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1050 (wrap-program program
1051 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1053 (string-append out "/bin/" name))
1054 '("system-config-printer"
1055 "system-config-printer-applet"
1056 "install-printerdriver"
1057 "scp-dbus-service"))))
1060 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1061 ("gobject-introspection" ,gobject-introspection)
1064 ("python-dbus" ,python-dbus)
1065 ("python-pygobject" ,python-pygobject)
1066 ("python-pycups" ,python-pycups)
1067 ("python-requests" ,python-requests)
1068 ("python-pycairo" ,python-pycairo)
1069 ("libnotify" ,libnotify)
1070 ("packagekit" ,packagekit)))
1072 `(("pkg-config" ,pkg-config)
1073 ("desktop-file-utils" ,desktop-file-utils)
1075 ("autoconf" ,autoconf)
1076 ("automake" ,automake)
1077 ("intltool" ,intltool)
1079 ("docbook-xml" ,docbook-xml-4.1.2)
1080 ("docbook-xsl" ,docbook-xsl)
1081 ("libxml2" ,libxml2)))
1082 (home-page "https://github.com/zdohnal/system-config-printer")
1083 (synopsis "CUPS administration tool")
1085 "system-config-printer is a CUPS administration tool. It's written in
1086 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1088 (license license:gpl2+)))
1090 (define-public hicolor-icon-theme
1092 (name "hicolor-icon-theme")
1097 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1098 "hicolor-icon-theme-" version ".tar.xz"))
1101 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1102 (build-system gnu-build-system)
1104 `(#:tests? #f)) ; no check target
1105 (home-page "https://icon-theme.freedesktop.org/releases/")
1107 "Freedesktop icon theme")
1109 "Freedesktop icon theme.")
1110 (license license:gpl2)))
1112 (define-public libnotify
1119 (uri (string-append "mirror://gnome/sources/" name "/"
1120 (version-major+minor version) "/"
1121 name "-" version ".tar.xz"))
1124 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1125 (build-system gnu-build-system)
1127 `(#:configure-flags '("--disable-static")))
1129 `(;; In Requires of libnotify.pc.
1130 ("gdk-pixbuf" ,gdk-pixbuf)
1134 ("libpng" ,libpng)))
1136 `(("pkg-config" ,pkg-config)
1137 ("glib" ,glib "bin")
1138 ("gobject-introspection" ,gobject-introspection)))
1139 (home-page "https://developer-next.gnome.org/libnotify/")
1141 "GNOME desktop notification library")
1143 "Libnotify is a library that sends desktop notifications to a
1144 notification daemon, as defined in the Desktop Notifications spec. These
1145 notifications can be used to inform the user about an event or display
1146 some form of information without getting in the user's way.")
1147 (license license:lgpl2.1+)))
1149 (define-public libpeas
1156 (uri (string-append "mirror://gnome/sources/" name "/"
1157 (version-major+minor version) "/"
1158 name "-" version ".tar.xz"))
1161 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1162 (build-system gnu-build-system)
1167 ("python-pygobject" ,python-pygobject)))
1169 `(("pkg-config" ,pkg-config)
1170 ("glib:bin" ,glib "bin")
1171 ("gobject-introspection" ,gobject-introspection)
1172 ("intltool" ,intltool)))
1174 ;; The .pc file "Requires" gobject-introspection.
1175 `(("gobject-introspection" ,gobject-introspection)))
1176 (home-page "https://wiki.gnome.org/Libpeas")
1177 (synopsis "GObject plugin system")
1179 "Libpeas is a gobject-based plugin engine, targeted at giving every
1180 application the chance to assume its own extensibility. It also has a set of
1181 features including, but not limited to: multiple extension points; on-demand
1182 (lazy) programming language support for C, Python and JS; simplicity of the
1184 (license license:lgpl2.0+)))
1186 (define-public gtkglext
1192 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1193 version "/gtkglext-" version ".tar.gz"))
1195 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1196 (patches (search-patches
1197 "gtkglext-disable-disable-deprecated.patch"))))
1198 (build-system gnu-build-system)
1201 (modify-phases %standard-phases
1202 ;; Fix a collision between a local variable and a definition from
1203 ;; glibc's string.h.
1204 (add-after 'unpack 'fix-collision
1206 (substitute* "gdk/gdkglshapes.c"
1207 ((" index") " triangle_index"))
1209 (inputs `(("gtk+" ,gtk+-2)
1214 (native-inputs `(("pkg-config" ,pkg-config)
1215 ("glib" ,glib "bin")))
1216 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1217 (home-page "https://projects.gnome.org/gtkglext")
1218 (synopsis "OpenGL extension to GTK+")
1219 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1220 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1221 API add-ons to make GTK+ widgets OpenGL-capable.")
1222 (license license:lgpl2.1+)))
1224 (define-public glade3
1230 (uri (string-append "mirror://gnome/sources/" name "/"
1231 (version-major+minor version) "/"
1232 name "-" version ".tar.xz"))
1235 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
1236 (build-system glib-or-gtk-build-system)
1238 `(#:tests? #f ; needs X, GL, and software rendering
1240 (modify-phases %standard-phases
1241 (add-before 'configure 'fix-docbook
1242 (lambda* (#:key inputs #:allow-other-keys)
1243 (substitute* "man/Makefile.in"
1244 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1245 (string-append (assoc-ref inputs "docbook-xsl")
1246 "/xml/xsl/docbook-xsl-"
1247 ,(package-version docbook-xsl)
1248 "/manpages/docbook.xsl")))
1252 ("libxml2" ,libxml2)))
1254 `(("intltool" ,intltool)
1255 ("itstool" ,itstool)
1256 ("libxslt" ,libxslt) ;for xsltproc
1257 ("docbook-xml" ,docbook-xml-4.2)
1258 ("docbook-xsl" ,docbook-xsl)
1259 ("python" ,python-2)
1260 ("pkg-config" ,pkg-config)))
1261 (home-page "https://glade.gnome.org")
1262 (synopsis "GTK+ rapid application development tool")
1263 (description "Glade is a rapid application development (RAD) tool to
1264 enable quick & easy development of user interfaces for the GTK+ toolkit and
1265 the GNOME desktop environment.")
1266 (license license:lgpl2.0+)))
1268 (define-public libcroco
1274 (uri (string-append "mirror://gnome/sources/" name "/"
1275 (version-major+minor version) "/"
1276 name "-" version ".tar.xz"))
1279 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1280 (build-system gnu-build-system)
1282 `(("pkg-config" ,pkg-config)))
1285 ("libxml2" ,libxml2)
1287 (home-page "https://github.com/GNOME/libcroco")
1288 (synopsis "CSS2 parsing and manipulation library")
1290 "Libcroco is a standalone CSS2 parsing and manipulation library.
1291 The parser provides a low level event driven SAC-like API and a CSS object
1292 model like API. Libcroco provides a CSS2 selection engine and an experimental
1293 XML/CSS rendering engine.")
1296 (license license:lgpl2.1)))
1298 (define-public libgsf
1304 (uri (string-append "mirror://gnome/sources/" name "/"
1305 (version-major+minor version) "/"
1306 name "-" version ".tar.xz"))
1309 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
1310 (build-system gnu-build-system)
1312 `(("intltool" ,intltool)
1313 ("pkg-config" ,pkg-config)))
1315 `(("python" ,python)
1319 `(("gdk-pixbuf" ,gdk-pixbuf)
1321 ("libxml2" ,libxml2)))
1322 (home-page "https://www.gnome.org/projects/libgsf")
1323 (synopsis "GNOME's Structured File Library")
1325 "Libgsf aims to provide an efficient extensible I/O abstraction for
1326 dealing with different structured file formats.")
1329 (license license:lgpl2.1)))
1331 (define-public librsvg
1337 (uri (string-append "mirror://gnome/sources/" name "/"
1338 (version-major+minor version) "/"
1339 name "-" version ".tar.xz"))
1342 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1343 (build-system gnu-build-system)
1346 (list "--disable-static"
1347 "--enable-vala") ; needed for e.g. gnome-mines
1349 (modify-phases %standard-phases
1350 (add-before 'configure 'pre-configure
1351 (lambda* (#:key inputs #:allow-other-keys)
1352 (substitute* "gdk-pixbuf-loader/Makefile.in"
1353 ;; By default the gdk-pixbuf loader is installed under
1354 ;; gdk-pixbuf's prefix. Work around that.
1355 (("gdk_pixbuf_moduledir = .*$")
1356 (string-append "gdk_pixbuf_moduledir = "
1357 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1359 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1360 (("gdk_pixbuf_cache_file = .*$")
1361 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1363 (add-before 'check 'remove-failing-tests
1365 (with-directory-excursion "tests/fixtures/reftests"
1366 (for-each delete-file
1367 '(;; This test fails on i686:
1368 "svg1.1/masking-path-04-b.svg"
1369 ;; This test fails on armhf:
1370 "svg1.1/masking-mask-01-b.svg"
1371 ;; This test fails on aarch64:
1372 "bugs/777834-empty-text-children.svg")))
1375 `(("pkg-config" ,pkg-config)
1377 ("glib" ,glib "bin") ; glib-mkenums, etc.
1378 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1381 ("libcroco" ,libcroco)
1384 ("libxml2" ,libxml2)))
1386 ;; librsvg-2.0.pc refers to all of that.
1388 ("gdk-pixbuf" ,gdk-pixbuf)
1390 (home-page "https://wiki.gnome.org/LibRsvg")
1391 (synopsis "Render SVG files using Cairo")
1393 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1395 (license license:lgpl2.0+)))
1397 (define-public librsvg-next
1403 (uri (string-append "mirror://gnome/sources/" name "/"
1404 (version-major+minor version) "/"
1405 name "-" version ".tar.xz"))
1408 "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6"))))
1409 (build-system gnu-build-system)
1412 (list "--disable-static"
1413 "--enable-vala") ; needed for e.g. gnome-mines
1414 #:make-flags '("CC=gcc")
1416 (modify-phases %standard-phases
1417 ;; Don't patch anything in vendor/ to avoid having to recompute
1418 ;; checksums for the bundled Cargo "crates". TODO: Unbundle those.
1419 (delete 'patch-source-shebangs)
1420 (delete 'patch-generated-file-shebangs)
1421 (delete 'patch-usr-bin-file)
1422 (add-before 'configure 'patch-all-the-things
1424 (for-each patch-shebang '("tap-driver.sh" "tap-test"))
1425 (patch-/usr/bin/file "configure")
1427 (add-before 'configure 'pre-configure
1428 (lambda* (#:key inputs #:allow-other-keys)
1429 (substitute* "gdk-pixbuf-loader/Makefile.in"
1430 ;; By default the gdk-pixbuf loader is installed under
1431 ;; gdk-pixbuf's prefix. Work around that.
1432 (("gdk_pixbuf_moduledir = .*$")
1433 (string-append "gdk_pixbuf_moduledir = "
1434 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1436 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1437 (("gdk_pixbuf_cache_file = .*$")
1438 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1440 (add-before 'check 'remove-failing-tests
1442 (with-directory-excursion "tests/fixtures/reftests"
1443 (for-each delete-file
1444 '(;; The images produced by these tests differ slightly
1445 ;; from their reference counterparts due to differences
1446 ;; in the build environment (missing fonts, etc). See
1447 ;; <tests/README.md> for details.
1448 ;; These fail on x86_64.
1449 "svg1.1/coords-viewattr-02-b.svg"
1450 "svg1.1/filters-composite-04-f.svg"
1451 "svg1.1/filters-image-01-b.svg"
1452 "svg1.1/filters-conv-02-f.svg"
1453 "svg1.1/filters-conv-04-f.svg"
1454 ;; This test fails on i686:
1455 "svg1.1/masking-path-04-b.svg"
1456 ;; This test fails on armhf:
1457 "svg1.1/masking-mask-01-b.svg"
1458 ;; This test fails on aarch64:
1459 "bugs/777834-empty-text-children.svg")))
1462 `(("pkg-config" ,pkg-config)
1463 ;; This is the minimum supported Rust version in Librsvg 2.44.
1465 ("cargo" ,rust-1.27 "cargo")
1467 ("glib" ,glib "bin") ; glib-mkenums, etc.
1468 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1471 ("libcroco" ,libcroco)
1474 ("libxml2" ,libxml2)))
1476 ;; librsvg-2.0.pc refers to all of that.
1478 ("gdk-pixbuf" ,gdk-pixbuf)
1480 (home-page "https://wiki.gnome.org/LibRsvg")
1481 (synopsis "Render SVG files using Cairo")
1483 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1485 (license license:lgpl2.0+)))
1487 (define-public libidl
1493 (uri (let ((upstream-name "libIDL"))
1494 (string-append "mirror://gnome/sources/" upstream-name "/"
1495 (version-major+minor version) "/"
1496 upstream-name "-" version ".tar.bz2")))
1499 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1500 (build-system gnu-build-system)
1501 (inputs `(("glib" ,glib)))
1503 `(("pkg-config" ,pkg-config)
1506 (home-page "http://freecode.com/projects/libidl")
1507 (synopsis "Create trees of CORBA Interface Definition Language files")
1508 (description "Libidl is a library for creating trees of CORBA Interface
1509 Definition Language (idl) files, which is a specification for defining
1510 portable interfaces. libidl was initially written for orbit (the orb from the
1511 GNOME project, and the primary means of libidl distribution). However, the
1512 functionality was designed to be as reusable and portable as possible.")
1513 (license license:lgpl2.0+)))
1516 (define-public orbit2
1522 (uri (let ((upstream-name "ORBit2"))
1523 (string-append "mirror://gnome/sources/" upstream-name "/"
1524 (version-major+minor version) "/"
1525 upstream-name "-" version ".tar.bz2")))
1528 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1529 (build-system gnu-build-system)
1532 '(;; We don't need static libraries, plus they don't build reproducibly
1533 ;; (non-deterministic ordering of .o files in the archive.)
1536 ;; The programmer kindly gives us a hook to turn off deprecation
1538 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1539 ;; ... which they then completly ignore !!
1541 (modify-phases %standard-phases
1542 (add-before 'configure 'ignore-deprecations
1544 (substitute* "linc2/src/Makefile.in"
1545 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1547 (inputs `(("glib" ,glib)
1548 ("libidl" ,libidl)))
1550 `(("pkg-config" ,pkg-config)))
1551 (home-page "https://projects.gnome.org/orbit2/")
1552 (synopsis "CORBA 2.4-compliant Object Request Broker")
1553 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1554 featuring mature C, C++ and Python bindings.")
1555 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1556 ;; a version. SOME of the code files have licence notices for GPLv2+.
1557 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1558 (license license:gpl2+)
1559 (properties `((upstream-name . "ORBit2")))))
1562 (define-public libbonobo
1568 (uri (string-append "mirror://gnome/sources/" name "/"
1569 (version-major+minor version)
1570 "/" name "-" version ".tar.bz2"))
1572 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1573 (patches (search-patches
1574 "libbonobo-activation-test-race.patch"))))
1575 (build-system gnu-build-system)
1577 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1579 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1580 ;; ... which they then completly ignore !!
1582 (modify-phases %standard-phases
1583 (add-before 'configure 'ignore-deprecations
1585 (substitute* "activation-server/Makefile.in"
1586 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1589 ;; There's apparently a race condition between the server stub
1590 ;; generation and linking of the example under 'samples/echo' that can
1591 ;; lead do undefined references when building in parallel, as reported
1592 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1593 ;; Thus, disable parallel builds.
1594 #:parallel-build? #f))
1595 (inputs `(("popt" ,popt)
1596 ("libxml2" ,libxml2)))
1597 ;; The following are Required by the .pc file
1600 ("orbit2" ,orbit2)))
1602 `(("intltool" ,intltool)
1603 ("pkg-config" ,pkg-config)
1604 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1607 (home-page "https://developer.gnome.org/libbonobo/")
1608 (synopsis "Framework for creating reusable components for use in GNOME applications")
1609 (description "Bonobo is a framework for creating reusable components for
1610 use in GNOME applications, built on top of CORBA.")
1611 ;; Licence not explicitly stated. Source files contain no licence notices.
1612 ;; Tarball contains text of both GPLv2 and LGPLv2
1613 ;; GPLv2 covers both conditions
1614 (license license:gpl2+)))
1617 (define-public gconf
1624 (let ((upstream-name "GConf"))
1625 (string-append "mirror://gnome/sources/" upstream-name "/"
1626 (version-major+minor version) "/"
1627 upstream-name "-" version ".tar.xz")))
1629 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1630 (build-system gnu-build-system)
1631 (inputs `(("dbus-glib" ,dbus-glib)
1632 ("libxml2" ,libxml2)))
1633 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1634 ("orbit2" ,orbit2)))
1636 `(("intltool" ,intltool)
1637 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1638 ("pkg-config" ,pkg-config)))
1639 (home-page "https://projects.gnome.org/gconf/")
1640 (synopsis "Store application preferences")
1641 (description "Gconf is a system for storing application preferences. It
1642 is intended for user preferences; not arbitrary data storage.")
1643 (license license:lgpl2.0+)
1644 (properties '((upstream-name . "GConf")))))
1647 (define-public gnome-mime-data
1649 (name "gnome-mime-data")
1653 (uri (string-append "mirror://gnome/sources/" name "/"
1654 (version-major+minor version) "/"
1655 name "-" version ".tar.bz2"))
1658 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1659 (build-system gnu-build-system)
1662 ("intltool" ,intltool)))
1664 '(#:phases (modify-phases %standard-phases
1665 (add-after 'configure 'use-our-intltool
1667 ;; Do not use the bundled intltool commands, which lack
1668 ;; the "dotless @INC" fixes of our 'intltool' package.
1669 (substitute* (find-files "." "^Makefile$")
1670 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1671 (string-append "INTLTOOL_" tool " = intltool-"
1672 (string-downcase tool) "\n")))
1674 (home-page "https://www.gnome.org")
1675 (synopsis "Base MIME and Application database for GNOME")
1676 (description "GNOME Mime Data is a module which contains the base MIME
1677 and Application database for GNOME. The data stored by this module is
1678 designed to be accessed through the MIME functions in GnomeVFS.")
1679 (license license:gpl2+)))
1682 (define-public gnome-vfs
1688 (uri (string-append "mirror://gnome/sources/" name "/"
1689 (version-major+minor version) "/"
1690 name "-" version ".tar.bz2"))
1693 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1694 (build-system gnu-build-system)
1697 (modify-phases %standard-phases
1698 (add-before 'configure 'ignore-deprecations
1700 (substitute* '("libgnomevfs/Makefile.in"
1701 "daemon/Makefile.in")
1702 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1704 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1706 (substitute* "test/test-async-cancel.c"
1707 (("EXIT_FAILURE") "77"))
1709 (inputs `(("libxml2" ,libxml2)
1710 ("dbus-glib" ,dbus-glib)
1712 ("gnome-mime-data" ,gnome-mime-data)
1715 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1716 ("intltool" ,intltool)
1717 ("pkg-config" ,pkg-config)))
1718 (home-page "https://developer.gnome.org/gnome-vfs/")
1719 (synopsis "Access files and folders in GNOME applications")
1721 "GnomeVFS is the core library used to access files and folders in GNOME
1722 applications. It provides a file system abstraction which allows applications
1723 to access local and remote files with a single consistent API.")
1724 (license license:lgpl2.0+)))
1728 (define-public libgnome
1734 (uri (string-append "mirror://gnome/sources/" name "/"
1735 (version-major+minor version) "/"
1736 name "-" version ".tar.bz2"))
1739 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1740 (patches (search-patches "libgnome-encoding.patch"))))
1741 (build-system gnu-build-system)
1744 (modify-phases %standard-phases
1745 (add-before 'configure 'enable-deprecated
1747 (substitute* "libgnome/Makefile.in"
1748 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1750 (inputs `(("libxml2" ,libxml2)))
1752 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1753 ("intltool" ,intltool)
1754 ("pkg-config" ,pkg-config)))
1755 ;; The following are listed as Required in the .pc file
1756 ;; (except for libcanberra -- which seems to be oversight on the part
1757 ;; of the upstream developers -- anything that links against libgnome,
1758 ;; must also link against libcanberra
1760 `(("libcanberra" ,libcanberra)
1761 ("libbonobo" ,libbonobo)
1763 ("gnome-vfs" ,gnome-vfs)
1764 ("popt" ,popt))) ;gnome-program.h includes popt.h
1765 (home-page "https://developer.gnome.org/libgnome/")
1766 (synopsis "Useful routines for building applications")
1767 (description "The libgnome library provides a number of useful routines
1768 for building modern applications, including session management, activation of
1769 files and URIs, and displaying help.")
1770 (license license:lgpl2.0+)))
1773 (define-public libart-lgpl
1775 (name "libart-lgpl")
1779 (uri (let ((upstream-name "libart_lgpl"))
1780 (string-append "mirror://gnome/sources/" upstream-name "/"
1781 (version-major+minor version) "/"
1782 upstream-name "-" version ".tar.bz2")))
1785 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1786 (build-system gnu-build-system)
1788 `(("pkg-config" ,pkg-config)))
1789 (home-page "https://people.gnome.org/~mathieu/libart")
1790 (synopsis "2D drawing library")
1791 (description "Libart is a 2D drawing library intended as a
1792 high-quality vector-based 2D library with antialiasing and alpha composition.")
1793 (license license:lgpl2.0+)))
1797 (define-public libgnomecanvas
1799 (name "libgnomecanvas")
1803 (uri (string-append "mirror://gnome/sources/" name "/"
1804 (version-major+minor version) "/"
1805 name "-" version ".tar.gz"))
1808 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1809 (build-system gnu-build-system)
1810 ;; Mentioned as Required in the .pc file
1811 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1814 `(("intltool" ,intltool)
1815 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1816 ("pkg-config" ,pkg-config)))
1817 (home-page "https://developer.gnome.org/libgnomecanvas/")
1818 (synopsis "Flexible widget for creating interactive structured graphics")
1819 (description "The GnomeCanvas widget provides a flexible widget for
1820 creating interactive structured graphics.")
1821 (license license:lgpl2.0+)))
1823 (define-public libgnomecanvasmm
1825 (name "libgnomecanvasmm")
1829 (uri (string-append "mirror://gnome/sources/" name "/"
1830 (version-major+minor version) "/"
1831 name "-" version ".tar.bz2"))
1834 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1835 (build-system gnu-build-system)
1836 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1838 `(("gtkmm-2" ,gtkmm-2)
1839 ("pkg-config" ,pkg-config)))
1840 (home-page "https://gtkmm.org")
1841 (synopsis "C++ bindings to the GNOME Canvas library")
1842 (description "C++ bindings to the GNOME Canvas library.")
1843 (license license:lgpl2.0+)))
1845 (define-public libgnomeui
1851 (uri (string-append "mirror://gnome/sources/" name "/"
1852 (version-major+minor version) "/"
1853 name "-" version ".tar.bz2"))
1854 (patches (search-patches "libgnomeui-utf8.patch"))
1857 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1858 (build-system gnu-build-system)
1859 ;; Mentioned as Required in the .pc file
1860 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1861 ("libgnome" ,libgnome)
1862 ("libgnomecanvas" ,libgnomecanvas)
1863 ("libgnome-keyring" ,libgnome-keyring)))
1864 (inputs `(("libjpeg" ,libjpeg)
1866 ("libbonobo" ,libbonobo)
1867 ("libxml2" ,libxml2)
1868 ("libglade" ,libglade)))
1870 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1871 ("intltool" ,intltool)
1872 ("pkg-config" ,pkg-config)))
1873 (home-page "https://developer.gnome.org/libgnomeui/")
1874 (synopsis "Additional widgets for applications")
1875 (description "The libgnomeui library provides additional widgets for
1876 applications. Many of the widgets from libgnomeui have already been
1878 (license license:lgpl2.0+)))
1880 (define-public libglade
1886 (uri (string-append "mirror://gnome/sources/" name "/"
1887 (version-major+minor version) "/"
1888 name "-" version ".tar.bz2"))
1891 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1892 (build-system gnu-build-system)
1894 `(("python" ,python))) ;; needed for the optional libglade-convert program
1896 `(("gtk+-2" ,gtk+-2)
1897 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1899 `(("pkg-config" ,pkg-config)))
1900 (home-page "https://developer.gnome.org/libglade")
1901 (synopsis "Load glade interfaces and access the glade built widgets")
1902 (description "Libglade is a library that provides interfaces for loading
1903 graphical interfaces described in glade files and for accessing the
1904 widgets built in the loading process.")
1905 (license license:gpl2+))) ; This is correct. GPL not LGPL
1907 (define-public libgnomeprint
1908 ;; This library has been deprecated since 2006; see
1909 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1911 (name "libgnomeprint")
1915 (uri (string-append "mirror://gnome/sources/" name "/"
1916 (version-major+minor version) "/"
1917 name "-" version ".tar.bz2"))
1920 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
1921 (build-system gnu-build-system)
1924 ("libart-lgpl" ,libart-lgpl)
1926 ("libxml2" ,libxml2)))
1928 `(("intltool" ,intltool)
1929 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1930 ("pkg-config" ,pkg-config)))
1931 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1932 (synopsis "Printing framework for GNOME")
1934 "GNOME-print was a printing framework for GNOME. It has been deprecated
1935 since ca. 2006, when GTK+ itself incorporated printing support.")
1936 (license license:lgpl2.0+)))
1939 (define-public libgnomeprintui
1940 ;; Deprecated; see libgnomeprint.
1942 (name "libgnomeprintui")
1946 (uri (string-append "mirror://gnome/sources/" name "/"
1947 (version-major+minor version) "/"
1948 name "-" version ".tar.bz2"))
1951 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
1952 (build-system gnu-build-system)
1953 ;; Mentioned as Required in the .pc file
1954 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1955 (inputs `(("gtk+" ,gtk+-2)
1957 ("gnome-icon-theme" ,gnome-icon-theme)
1958 ("libgnomecanvas" ,libgnomecanvas)
1959 ("libxml2" ,libxml2)))
1961 `(("intltool" ,intltool)
1962 ("pkg-config" ,pkg-config)))
1963 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1964 (synopsis "Printing framework for GNOME")
1965 (description (package-description libgnomeprint))
1966 (license license:lgpl2.0+)))
1968 (define-public libbonoboui
1970 (name "libbonoboui")
1974 (uri (string-append "mirror://gnome/sources/" name "/"
1975 (version-major+minor version) "/"
1976 name "-" version ".tar.bz2"))
1979 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1980 (build-system gnu-build-system)
1983 (modify-phases %standard-phases
1984 (add-before 'check 'start-xserver
1985 (lambda* (#:key inputs #:allow-other-keys)
1986 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1989 (setenv "HOME" (getcwd))
1990 (setenv "DISPLAY" disp)
1991 ;; There must be a running X server and make check doesn't start one.
1992 ;; Therefore we must do it.
1993 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1994 ;; Mentioned as Required by the .pc file
1995 (propagated-inputs `(("libxml2" ,libxml2)))
1998 ("pangox-compat" ,pangox-compat)
1999 ("libgnome" ,libgnome)
2000 ("libgnomecanvas" ,libgnomecanvas)
2001 ("libglade" ,libglade)))
2003 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2004 ("intltool" ,intltool)
2005 ("xorg-server" ,xorg-server) ; For running the tests
2006 ("pkg-config" ,pkg-config)))
2007 (home-page "https://developer.gnome.org/libbonoboui/")
2008 (synopsis "Some user interface controls using Bonobo")
2009 (description "The Bonobo UI library provides a number of user interface
2010 controls using the Bonobo component framework.")
2011 (license license:lgpl2.0+)))
2013 (define-public libwnck
2019 (uri (string-append "mirror://gnome/sources/" name "/"
2020 (version-major+minor version) "/"
2021 name "-" version ".tar.xz"))
2024 "0f9lvhm3w25046dqq8xyg7nzggxpmdriwrb661nng05a8qk0svdc"))))
2025 (build-system gnu-build-system)
2027 `(("pkg-config" ,pkg-config)
2028 ("intltool" ,intltool)))
2031 ("libxres" ,libxres)
2032 ("startup-notification" ,startup-notification)))
2033 (home-page "https://developer.gnome.org/libwnck/")
2034 (synopsis "Window Navigator Construction Kit")
2036 "Libwnck is the Window Navigator Construction Kit, a library for use in
2037 writing pagers, tasklists, and more generally applications that are dealing
2038 with window management. It tries hard to respect the Extended Window Manager
2039 Hints specification (EWMH).")
2040 (license license:lgpl2.0+)))
2042 ;; stable version for gtk2, required by xfwm4.
2043 (define-public libwnck-2
2044 (package (inherit libwnck)
2049 (uri (string-append "mirror://gnome/sources/" name "/"
2050 (version-major+minor version) "/"
2051 name "-" version ".tar.xz"))
2054 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2057 ("libxres" ,libxres)
2058 ("startup-notification" ,startup-notification)))))
2060 (define-public goffice
2066 (uri (string-append "mirror://gnome/sources/" name "/"
2067 (version-major+minor version) "/"
2068 name "-" version ".tar.xz"))
2070 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
2071 (build-system gnu-build-system)
2073 "doc")) ;4.0 MiB of gtk-doc
2075 '(#:configure-flags (list (string-append "--with-html-dir="
2076 (assoc-ref %outputs "doc")
2077 "/share/gtk-doc/html"))))
2081 ("librsvg" ,librsvg)
2082 ("libxslt" ,libxslt)
2083 ("libxml2" ,libxml2)))
2085 `(("intltool" ,intltool)
2086 ("glib" ,glib "bin")
2087 ("pkg-config" ,pkg-config)))
2088 (home-page "https://developer.gnome.org/goffice/")
2089 (synopsis "Document-centric objects and utilities")
2090 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2092 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2094 (list license:gpl2 license:gpl3))))
2096 (define-public goffice-0.8
2097 (package (inherit goffice)
2101 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2102 (version-major+minor version) "/"
2103 (package-name goffice) "-" version ".tar.xz"))
2105 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2108 (modify-phases %standard-phases
2109 (add-after 'unpack 'fix-pcre-check
2111 ;; Only glib.h can be included directly. See
2112 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2113 (substitute* "configure"
2114 (("glib/gregex\\.h") "glib.h")) #t)))
2116 ,@(package-arguments goffice)))
2118 ;; libgoffice-0.8.pc mentions libgsf-1
2119 `(("libgsf" ,libgsf)))
2122 ,@(alist-delete "gtk" (package-inputs goffice))))))
2124 (define-public gnumeric
2130 (uri (string-append "mirror://gnome/sources/gnumeric/"
2131 (version-major+minor version) "/"
2132 "gnumeric-" version ".tar.xz"))
2135 "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h"))))
2136 (build-system glib-or-gtk-build-system)
2138 `(;; The gnumeric developers don't worry much about failing tests.
2139 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2142 (modify-phases %standard-phases
2144 'configure 'pre-conf
2145 (lambda* (#:key outputs #:allow-other-keys)
2146 ;; Make install tries to write into the directory of goffice
2147 ;; I am informed that this only affects the possibility to embed a
2148 ;; spreadsheet inside an Abiword document. So presumably when we
2149 ;; package Abiword we'll have to refer it to this directory.
2150 (substitute* "configure"
2151 (("^GOFFICE_PLUGINS_DIR=.*")
2152 (string-append "GOFFICE_PLUGINS_DIR="
2153 (assoc-ref outputs "out")
2154 "/goffice/plugins"))))))))
2158 ("goffice" ,goffice)
2160 ("librsvg" ,librsvg)
2161 ("libxml2" ,libxml2)
2162 ("libxslt" ,libxslt)
2163 ("python" ,python-2)
2164 ("python2-pygobject" ,python2-pygobject)
2168 ("docbook-xml" ,docbook-xml)
2169 ("intltool" ,intltool)
2170 ("itstool" ,itstool)
2171 ("glib:bin" ,glib "bin")
2172 ("pkg-config" ,pkg-config)))
2173 (home-page "http://www.gnumeric.org")
2174 (synopsis "Spreadsheet application")
2176 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2177 interoperable with other spreadsheet applications. It has a vast array of
2178 features beyond typical spreadsheet functionality, such as support for linear
2179 and non-linear solvers, statistical analysis, and telecommunication
2182 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2183 (list license:gpl2 license:gpl3))))
2185 (define-public gnome-themes-standard
2187 (name "gnome-themes-standard")
2192 (uri (string-append "mirror://gnome/sources/" name "/"
2193 (version-major+minor version) "/" name "-"
2197 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2198 (build-system gnu-build-system)
2201 ;; Don't create 'icon-theme.cache'.
2202 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2203 (true (string-append coreutils "/bin/true")))
2204 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2208 ("librsvg" ,librsvg)
2209 ("libxml2" ,libxml2)
2212 `(("intltool" ,intltool)
2213 ("glib:bin" ,glib "bin")
2214 ("pkg-config" ,pkg-config)))
2215 (home-page "https://launchpad.net/gnome-themes-standard")
2216 (synopsis "Default GNOME 3 themes")
2218 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2219 (license license:lgpl2.1+)))
2221 (define-public seahorse
2228 (uri (string-append "mirror://gnome/sources/" name "/"
2229 (version-major+minor version) "/" name "-"
2233 "1sbj1czlx1fakm72dwgbn0bwm12j838yaky4mkf6hf8j8afnxmzp"))))
2234 (build-system glib-or-gtk-build-system)
2240 ("openldap" ,openldap)
2241 ("openssh" ,openssh)
2242 ("libsecret" ,libsecret)
2243 ("libsoup" ,libsoup)))
2245 `(("intltool" ,intltool)
2246 ("glib:bin" ,glib "bin")
2247 ("itstool" ,itstool)
2248 ("pkg-config" ,pkg-config)
2249 ("xmllint" ,libxml2)))
2250 (home-page "https://launchpad.net/gnome-themes-standard")
2251 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2253 "Seahorse is a GNOME application for managing encryption keys and
2254 passwords in the GNOME keyring.")
2255 (license license:gpl2+)))
2263 (uri (string-append "mirror://gnome/sources/" name "/"
2264 (version-major+minor version) "/"
2265 name "-" version ".tar.xz"))
2268 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
2269 (build-system gnu-build-system)
2272 (modify-phases %standard-phases
2273 (add-before 'check 'pre-check
2276 (substitute* "valadoc/tests/testrunner.sh"
2277 (("export PKG_CONFIG_PATH=" m)
2278 (string-append m "$PKG_CONFIG_PATH:")))
2279 ;; For missing '/etc/machine-id'.
2280 (setenv "DBUS_FATAL_WARNINGS" "0")
2283 `(("pkg-config" ,pkg-config)
2286 ("xsltproc" ,libxslt)
2287 ("dbus" ,dbus) ; for dbus tests
2288 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2290 `(("graphviz" ,graphviz)))
2292 `(("glib" ,glib))) ; required by libvala-0.40.pc
2293 (home-page "https://live.gnome.org/Vala/")
2294 (synopsis "Compiler for the GObject type system")
2296 "Vala is a programming language that aims to bring modern programming
2297 language features to GNOME developers without imposing any additional runtime
2298 requirements and without using a different ABI compared to applications and
2299 libraries written in C.")
2300 (license license:lgpl2.1+)))
2308 (uri (string-append "mirror://gnome/sources/" name "/"
2309 (version-major+minor version) "/"
2310 name "-" version ".tar.xz"))
2313 "0j166gic5znssdb9r45qazq4kb4v9fial82czand5wa8i2yd988p"))))
2314 (build-system gnu-build-system)
2316 `(("pkg-config" ,pkg-config)
2317 ("intltool" ,intltool)
2319 ("gobject-introspection" ,gobject-introspection)
2320 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2322 ("xmllint" ,libxml2)))
2324 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2325 ("gnutls" ,gnutls) ;ditto
2326 ("pcre2" ,pcre2))) ;ditto
2327 (home-page "https://www.gnome.org/")
2328 (synopsis "Virtual Terminal Emulator")
2330 "VTE is a library (libvte) implementing a terminal emulator widget for
2331 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2332 gnome-terminal, but can also be used to embed a console/terminal in games,
2333 editors, IDEs, etc.")
2334 (license license:lgpl2.1+)))
2336 (define-public vte-ng
2340 (version "0.56.2.a")
2341 (home-page "https://github.com/thestinger/vte-ng")
2344 (uri (git-reference (url home-page) (commit version)))
2345 (file-name (git-file-name name version))
2348 "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki"))))
2350 `(("gtk-doc" ,gtk-doc)
2352 ("autoconf" ,autoconf)
2353 ("automake" ,automake)
2354 ("libtool" ,libtool)
2355 ,@(package-native-inputs vte)))
2357 `(#:phases (modify-phases %standard-phases
2360 (setenv "NOCONFIGURE" "true")
2361 (invoke "sh" "autogen.sh"))))))
2362 (synopsis "Enhanced VTE terminal widget")
2364 "VTE is a library (libvte) implementing a terminal emulator widget for
2365 GTK+, this fork provides additional functions exposed for keyboard text
2366 selection and URL hints.")))
2368 ;; provides vte 2.90, required for some terminal emulators
2369 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2370 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2371 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2372 ;; pantheon-terminal, roxterm are not currently packaged
2373 (define-public vte-0.36
2374 (package (inherit vte)
2379 (uri (string-append "mirror://gnome/sources/" name "/"
2380 (version-major+minor version) "/"
2381 name "-" version ".tar.xz"))
2384 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2387 ("ncurses" ,ncurses)))))
2389 ;; stable version for gtk2, required by xfce4-terminal.
2390 (define-public vte/gtk+-2
2391 (package (inherit vte)
2396 (uri (string-append "mirror://gnome/sources/" name "/"
2397 (version-major+minor version) "/"
2398 name "-" version ".tar.xz"))
2401 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2402 (patches (search-patches
2403 "vte-CVE-2012-2738-pt1.patch"
2404 "vte-CVE-2012-2738-pt2.patch"))))
2406 '(#:configure-flags '("--disable-python")))
2408 `(("pkg-config" ,pkg-config)
2409 ("intltool" ,intltool)
2410 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2412 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2413 ("ncurses" ,ncurses))))) ; required by libvte.la
2415 (define-public vinagre
2421 (uri (string-append "mirror://gnome/sources/" name "/"
2422 (version-major+minor version) "/"
2423 name "-" version ".tar.xz"))
2424 (patches (search-patches "vinagre-newer-freerdp.patch"
2425 "vinagre-newer-rdp-parameters.patch"))
2428 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2429 (build-system glib-or-gtk-build-system)
2432 (modify-phases %standard-phases
2433 (add-before 'install 'skip-gtk-update-icon-cache
2435 ;; Don't create 'icon-theme.cache'
2436 (substitute* (find-files "." "^Makefile$")
2437 (("gtk-update-icon-cache") (which "true")))
2439 (add-after 'unpack 'patch-configure
2441 (substitute* "configure"
2442 (("freerdp") "freerdp2"))
2445 `(("pkg-config" ,pkg-config)
2446 ("intltool" ,intltool)
2447 ("itstool" ,itstool)
2448 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2450 `(("libxml2" ,libxml2)
2451 ("gtk-vnc" ,gtk-vnc)
2452 ("gnome-keyring" ,gnome-keyring)
2453 ("libsecret" ,libsecret)
2454 ("freerdp" ,freerdp)
2456 ("spice-gtk" ,spice-gtk)
2457 ("telepathy-glib" ,telepathy-glib)
2459 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2460 (synopsis "Remote desktop viewer for GNOME")
2461 (description "Vinagre is a remote display client supporting the VNC, SPICE
2462 and RDP protocols.")
2463 (license license:gpl3+)))
2465 (define-public dconf
2472 "mirror://gnome/sources/" name "/"
2473 (version-major+minor version) "/"
2474 name "-" version ".tar.xz"))
2477 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
2478 (build-system meson-build-system)
2480 ;; In Requires of dconf.pc.
2486 `(("bash-completion" ,bash-completion)
2487 ("libxslt" ,libxslt) ;for xsltproc
2488 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2489 ("docbook-xml" ,docbook-xml-4.2)
2490 ("docbook-xsl" ,docbook-xsl)
2491 ("glib:bin" ,glib "bin")
2492 ("gtk-doc" ,gtk-doc)
2493 ("pkg-config" ,pkg-config)
2496 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2497 ; or /etc/machine-id.
2499 #:configure-flags '("-Denable-gtk-doc=true")))
2500 (home-page "https://developer.gnome.org/dconf")
2501 (synopsis "Low-level GNOME configuration system")
2502 (description "Dconf is a low-level configuration system. Its main purpose
2503 is to provide a backend to GSettings on platforms that don't already have
2504 configuration storage systems.")
2505 (license license:lgpl2.1+)))
2507 (define-public json-glib
2513 (uri (string-append "mirror://gnome/sources/" name "/"
2514 (version-major+minor version) "/"
2515 name "-" version ".tar.xz"))
2518 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2519 (build-system meson-build-system)
2521 `(("gettext" ,gettext-minimal)
2522 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2523 ("gobject-introspection" ,gobject-introspection)
2524 ("pkg-config" ,pkg-config)))
2526 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2527 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2528 (synopsis "Compiler for the GObject type system")
2530 "JSON-GLib is a C library based on GLib providing serialization and
2531 deserialization support for the JavaScript Object Notation (JSON) format
2532 described by RFC 4627. It provides parser and generator GObject classes and
2533 various wrappers for the complex data types employed by JSON, such as arrays
2535 (license license:lgpl2.1+)))
2537 (define-public libxklavier
2539 (name "libxklavier")
2543 (uri (string-append "mirror://gnome/sources/" name "/"
2544 version "/" name "-" version ".tar.xz"))
2547 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2548 (build-system gnu-build-system)
2551 (list (string-append "--with-xkb-base="
2552 (assoc-ref %build-inputs "xkeyboard-config")
2553 "/share/X11/xkb"))))
2555 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2556 ("gobject-introspection" ,gobject-introspection)
2557 ("pkg-config" ,pkg-config)))
2559 ;; Required by libxklavier.pc.
2561 ("libxml2" ,libxml2)))
2563 `(("iso-codes" ,iso-codes)
2565 ("libxkbfile" ,libxkbfile)
2566 ("xkbcomp" ,xkbcomp)
2567 ("xkeyboard-config" ,xkeyboard-config)))
2568 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2569 (synopsis "High-level API for X Keyboard Extension")
2571 "LibXklavier is a library providing high-level API for X Keyboard
2572 Extension known as XKB. This library is intended to support XFree86 and other
2573 commercial X servers. It is useful for creating XKB-related software (layout
2575 (license license:lgpl2.0+)))
2577 (define-public python2-rsvg
2578 ;; XXX: This is actually a subset of gnome-python-desktop.
2580 (name "python2-rsvg")
2586 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2587 version ".tar.bz2"))
2590 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2591 (build-system gnu-build-system)
2593 `(("pkg-config" ,pkg-config)))
2595 `(("python" ,python-2)
2596 ("python2-pygtk" ,python2-pygtk)
2597 ("librsvg" ,librsvg)))
2598 (home-page "https://www.gnome.org")
2599 (synopsis "Python bindings to librsvg")
2601 "This package provides Python bindings to librsvg, the SVG rendering
2604 ;; This is the license of the rsvg bindings. The license of each module
2605 ;; of gnome-python-desktop is given in 'COPYING'.
2606 (license license:lgpl2.1+)))
2608 (define-public glib-networking
2610 (name "glib-networking")
2614 (uri (string-append "mirror://gnome/sources/glib-networking/"
2615 (version-major+minor version) "/"
2616 name "-" version ".tar.xz"))
2619 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
2620 (build-system meson-build-system)
2622 `(#:configure-flags '("-Dlibproxy_support=false")))
2624 `(("pkg-config" ,pkg-config)
2625 ("intltool" ,intltool)))
2629 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
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 "0amfw1yvy1kjrg41rfh2vvrw5gkwnyckqbw1fab50hm6xc1acbmx"))))
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 "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x"))))
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")
2864 (version "3.30.1.1")
2868 (uri (string-append "mirror://gnome/sources/" name "/"
2869 (version-major+minor version) "/"
2870 name "-" version ".tar.xz"))
2873 "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z"))))
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 "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f"))))
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 "0f2y76gs72sw5l5lkkkvxzsvvwm0sg83h7nl8lk5kz1v1rrc47vb"))))
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 "1xwxahg9mgmapc16xkb4kgmc40zpadrwav33xqmn6cgaw6g6d3ls"))))
2996 (build-system meson-build-system)
2998 '(;; FIXME: One test fails:
2999 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3000 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3001 ;; application/x-zerosize
3004 #:configure-flags (list "-Dlocalstatedir=/var"
3005 ;; No dep on systemd.
3007 ;; Wants to install to global completion dir;
3009 "-Dbash_completion=false"
3010 ;; colord-gtk not packaged yet.
3011 "-Dsession_example=false"
3012 "-Ddaemon_user=colord"
3014 ;; Requires spotread
3015 "-Dargyllcms_sensor=false"
3016 ;; TODO: Requires docbook2x
3019 (modify-phases %standard-phases
3020 (add-before 'configure 'patch-build-system
3021 (lambda* (#:key outputs #:allow-other-keys)
3022 (substitute* "rules/meson.build"
3023 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3024 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3027 `(("pkg-config" ,pkg-config)
3028 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3029 ("gobject-introspection" ,gobject-introspection)
3030 ("gtk-doc" ,gtk-doc)
3031 ("libtool" ,libtool)
3032 ("intltool" ,intltool)))
3034 ;; colord.pc refers to all these.
3039 `(("dbus-glib" ,dbus-glib)
3041 ("libgudev" ,libgudev)
3045 ("python" ,python-wrapper)
3046 ("sane-backends" ,sane-backends)))
3047 (home-page "https://www.freedesktop.org/software/colord/")
3048 (synopsis "Color management service")
3049 (description "Colord is a system service that makes it easy to manage,
3050 install and generate color profiles to accurately color manage input and
3052 (license license:gpl2+)))
3054 (define-public geoclue
3061 (uri (string-append "https://www.freedesktop.org/software/" name
3062 "/releases/" (version-major+minor version) "/"
3063 name "-" version ".tar.xz"))
3066 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
3067 (patches (search-patches "geoclue-config.patch"))))
3068 (build-system glib-or-gtk-build-system)
3070 '(;; The tests want to run the system bus.
3072 #:configure-flags (list ;; Disable bits requiring ModemManager.
3073 "--disable-3g-source"
3074 "--disable-cdma-source"
3075 "--disable-modem-gps-source"
3076 "--with-dbus-service-user=geoclue")
3078 (modify-phases %standard-phases
3079 (add-before 'configure 'patch-/bin/true
3081 (substitute* "configure"
3082 (("/bin/true") (which "true")))
3085 `(("pkg-config" ,pkg-config)
3086 ("gobject-introspection" ,gobject-introspection)
3087 ("intltool" ,intltool)))
3091 ("json-glib" ,json-glib)
3092 ("libsoup" ,libsoup)))
3093 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3094 (synopsis "Geolocation service")
3095 (description "Geoclue is a D-Bus service that provides location
3096 information. The primary goal of the Geoclue project is to make creating
3097 location-aware applications as simple as possible, while the secondary goal is
3098 to ensure that no application can access location information without explicit
3099 permission from user.")
3100 (license license:gpl2+)))
3102 (define-public geocode-glib
3104 (name "geocode-glib")
3108 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3109 (version-major+minor version) "/"
3110 name "-" version ".tar.xz"))
3113 "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a"))))
3114 (build-system meson-build-system)
3117 (modify-phases %standard-phases
3118 ;; The tests require a bunch of locales.
3119 (add-before 'check 'set-locales
3120 (lambda* (#:key inputs #:allow-other-keys)
3121 (setenv "GUIX_LOCPATH"
3122 (string-append (assoc-ref inputs "glibc-locales")
3126 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3127 ("glibc-locales" ,glibc-locales) ; for tests
3128 ("gettext" ,gettext-minimal)
3129 ("gobject-introspection" ,gobject-introspection)
3130 ("gtk-doc" ,gtk-doc)
3131 ("pkg-config" ,pkg-config)
3132 ("json-glib" ,json-glib)))
3134 ;; geocode-glib-1.0.pc refers to GIO.
3137 `(("libsoup" ,libsoup)))
3138 (home-page "https://github.com/GNOME/geocode-glib/")
3139 (synopsis "Geocoding and reverse-geocoding library")
3141 "geocode-glib is a convenience library for geocoding (finding longitude,
3142 and latitude from an address) and reverse geocoding (finding an address from
3143 coordinates) using the Nominatim service. geocode-glib caches requests for
3144 faster results and to avoid unnecessary server load.")
3145 (license license:lgpl2.0+)))
3147 (define-public upower
3153 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3154 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
3155 "upower-" version ".tar.xz"))
3158 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
3159 (patches (search-patches "upower-builddir.patch"))))
3160 (build-system glib-or-gtk-build-system)
3162 '( ;; The tests want to contact the system bus, which can't be done in the
3163 ;; build environment. The integration test can run, but the last of
3164 ;; the up-self-tests doesn't. Disable tests for now.
3166 #:configure-flags (list "--localstatedir=/var"
3167 (string-append "--with-udevrulesdir="
3168 (assoc-ref %outputs "out")
3169 "/lib/udev/rules.d"))))
3171 `(("gobject-introspection" ,gobject-introspection)
3172 ("pkg-config" ,pkg-config)
3173 ("intltool" ,intltool)
3177 ("libxslt" ,libxslt) ;for 'xsltproc'
3178 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3179 ("docbook-xsl" ,docbook-xsl)))
3181 `(("dbus-glib" ,dbus-glib)
3182 ("libgudev" ,libgudev)
3183 ("libusb" ,libusb)))
3185 ;; In Requires of upower-glib.pc.
3187 (home-page "https://upower.freedesktop.org/")
3188 (synopsis "System daemon for managing power devices")
3190 "UPower is an abstraction for enumerating power devices,
3191 listening to device events and querying history and statistics. Any
3192 application or service on the system can access the org.freedesktop.UPower
3193 service via the system message bus.")
3194 (license license:gpl2+)))
3196 (define-public libgweather
3198 (name "libgweather")
3202 (uri (string-append "mirror://gnome/sources/" name "/"
3203 (version-major+minor version) "/"
3204 name "-" version ".tar.xz"))
3207 "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708"))))
3208 (build-system meson-build-system)
3210 `(#:tests? #f ; one of two tests requires network access
3212 `(,(string-append "-Dzoneinfo_dir="
3213 (assoc-ref %build-inputs "tzdata")
3214 "/share/zoneinfo"))))
3216 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3217 ("gobject-introspection" ,gobject-introspection)
3218 ("pkg-config" ,pkg-config)
3220 ("intltool" ,intltool)))
3222 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3225 ("gdk-pixbuf" ,gdk-pixbuf)
3226 ("libxml2" ,libxml2)
3227 ("libsoup" ,libsoup)
3228 ("geocode-glib" ,geocode-glib)))
3230 `(("tzdata" ,tzdata)))
3231 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3232 (synopsis "Location, time zone, and weather library for GNOME")
3234 "libgweather is a library to access weather information from online
3235 services for numerous locations.")
3236 (license license:gpl2+)))
3238 (define-public gnome-settings-daemon
3240 (name "gnome-settings-daemon")
3241 (version "3.30.1.2")
3245 (uri (string-append "mirror://gnome/sources/" name "/"
3246 (version-major+minor version) "/"
3247 name "-" version ".tar.xz"))
3250 "079dh609rvpwfyzg4m898q8km9g7x04hg18rwwb1izj1dr7zdp2w"))))
3251 (build-system meson-build-system)
3255 (list (string-append "-Dudev_dir="
3256 (assoc-ref %outputs "out")
3257 "/lib/udev/rules.d/")
3258 ;; Otherwise, the RUNPATH will lack the final path component.
3259 (string-append "-Dc_link_args=-Wl,-rpath="
3260 (assoc-ref %outputs "out")
3261 "/lib/gnome-settings-daemon-3.0"))
3262 ;; Color management test can't reach the colord system service.
3265 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3266 ("pkg-config" ,pkg-config)
3267 ("intltool" ,intltool)
3268 ("xsltproc" ,libxslt)
3269 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3270 ("docbook-xml" ,docbook-xml-4.2)
3271 ("docbook-xsl" ,docbook-xsl)))
3273 `(("alsa-lib" ,alsa-lib)
3275 ("libgudev" ,libgudev)
3278 ("pulseaudio" ,pulseaudio)
3279 ("libcanberra" ,libcanberra)
3281 ("libxtst" ,libxtst)
3283 ("libnotify" ,libnotify)
3284 ("geoclue" ,geoclue)
3285 ("geocode-glib" ,geocode-glib)
3286 ("libgweather" ,libgweather)
3287 ("gnome-desktop" ,gnome-desktop)
3290 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3291 ("libwacom" ,libwacom)
3292 ("librsvg" ,librsvg)
3293 ("xf86-input-wacom" ,xf86-input-wacom)
3294 ("wayland" ,wayland)
3295 ("network-manager" ,network-manager)))
3296 (home-page "https://www.gnome.org")
3297 (synopsis "GNOME settings daemon")
3299 "This package contains the daemon responsible for setting the various
3300 parameters of a GNOME session and the applications that run under it. It
3301 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3302 settings, themes, mouse settings, and startup of other daemons.")
3303 (license license:gpl2+)))
3305 (define-public totem-pl-parser
3307 (name "totem-pl-parser")
3311 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3312 (version-major+minor version) "/"
3313 "totem-pl-parser-" version ".tar.xz"))
3316 "0k5pnka907invgds48d73c1xx1a366v5dcld3gr2l1dgmjwc9qka"))))
3317 (build-system meson-build-system)
3319 ;; FIXME: Tests require gvfs.
3322 `(("intltool" ,intltool)
3323 ("glib" ,glib "bin")
3324 ("gobject-introspection" ,gobject-introspection)
3325 ("pkg-config" ,pkg-config)))
3329 ("libarchive" ,libarchive)
3330 ("libgcrypt" ,libgcrypt)
3331 ("libxml2" ,libxml2)))
3333 `(("nettle" ,nettle)
3334 ("libsoup" ,libsoup)))
3335 (home-page "https://projects.gnome.org/totem")
3336 (synopsis "Library to parse and save media playlists for GNOME")
3337 (description "Totem-pl-parser is a GObjects-based library to parse and save
3338 playlists in a variety of formats.")
3339 (license license:lgpl2.0+)))
3341 (define-public aisleriot
3347 (uri (string-append "mirror://gnome/sources/aisleriot/"
3348 (version-major+minor version) "/"
3349 "aisleriot-" version ".tar.xz"))
3352 "15pm39679ymxki07sb5nvhycz4z53zwbvascyp5wm4864bn98815"))))
3353 (build-system glib-or-gtk-build-system)
3356 '("--with-platform=gtk-only"
3357 "--with-card-theme-formats=svg")))
3359 `(("desktop-file-utils" ,desktop-file-utils)
3360 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3361 ("intltool" ,intltool)
3362 ("itstool" ,itstool)
3363 ("pkg-config" ,pkg-config)
3364 ("xmllint" ,libxml2)))
3367 ("guile" ,guile-2.2)
3368 ("libcanberra" ,libcanberra)
3369 ("librsvg" ,librsvg)))
3370 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3371 (synopsis "Solitaire card games")
3373 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3374 which are easy to play with the aid of a mouse.")
3375 (license license:gpl3+)))
3377 (define-public devhelp
3383 (uri (string-append "mirror://gnome/sources/" name "/"
3384 (version-major+minor version) "/"
3385 name "-" version ".tar.xz"))
3388 "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s"))))
3389 (build-system glib-or-gtk-build-system)
3391 `(("intltool" ,intltool)
3392 ("itstool" ,itstool)
3393 ("pkg-config" ,pkg-config)))
3395 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3396 ("webkitgtk" ,webkitgtk)))
3397 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3398 (synopsis "API documentation browser for GNOME")
3400 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3401 natively with GTK-Doc (the API reference system developed for GTK+ and used
3402 throughout GNOME for API documentation).")
3403 (license license:gpl2+)))
3412 (uri (string-append "mirror://gnome/sources/" name "/"
3413 (version-major+minor version) "/"
3414 name "-" version ".tar.xz"))
3417 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3418 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3419 ;; cogl, corresponding changes may be appropriate in mutter as well.
3420 (build-system gnu-build-system)
3422 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3423 ("gobject-introspection" ,gobject-introspection)
3424 ;;("xorg-server" ,xorg-server) ; for the test suite
3425 ("pkg-config" ,pkg-config)))
3428 ("gdk-pixbuf" ,gdk-pixbuf)
3430 ("libxext" ,libxext)
3431 ("libxfixes" ,libxfixes)
3432 ("libxdamage" ,libxdamage)
3433 ("libxcomposite" ,libxcomposite)
3434 ("libxrandr" ,libxrandr)))
3439 ("gstreamer" ,gstreamer)
3440 ("gst-plugins-base" ,gst-plugins-base)
3441 ("wayland" ,wayland)))
3443 `(#:configure-flags (list "--enable-cogl-gst"
3444 "--enable-wayland-egl-platform"
3445 "--enable-wayland-egl-server"
3447 ;; Arrange to pass an absolute file name to
3448 ;; dlopen for libGL.so.
3449 (string-append "--with-gl-libname="
3450 (assoc-ref %build-inputs "mesa")
3452 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3453 ;; _FontTransOpen: Unable to Parse address
3454 ;; ${prefix}/share/fonts/X11/misc/
3458 (modify-phases %standard-phases
3459 (add-before 'check 'start-xorg-server
3460 (lambda* (#:key inputs #:allow-other-keys)
3461 ;; The test suite requires a running X server.
3462 (system (format #f "~a/bin/Xvfb :1 &"
3463 (assoc-ref inputs "xorg-server")))
3464 (setenv "DISPLAY" ":1")
3466 (home-page "http://www.cogl3d.org")
3467 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3469 "Cogl is a small library for using 3D graphics hardware to draw pretty
3470 pictures. The API departs from the flat state machine style of OpenGL and is
3471 designed to make it easy to write orthogonal components that can render
3472 without stepping on each others toes.")
3473 (license (list license:expat ; most of the code
3474 license:bsd-3 ; cogl/cogl-point-in-poly.c
3475 license:sgifreeb2.0 ; cogl-path/tesselator/
3476 license:asl2.0)))) ; examples/android/
3478 (define-public clutter
3485 (uri (string-append "mirror://gnome/sources/" name "/"
3486 (version-major+minor version) "/"
3487 name "-" version ".tar.xz"))
3490 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3491 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3492 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3493 (build-system gnu-build-system)
3495 "doc")) ;9 MiB of gtk-doc HTML pages
3497 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3498 ("gobject-introspection" ,gobject-introspection)
3499 ("pkg-config" ,pkg-config)
3500 ("xsltproc" ,libxslt)))
3506 ("json-glib" ,json-glib)
3508 ("libxcomposite" ,libxcomposite)
3509 ("libxdamage" ,libxdamage)
3510 ("libxext" ,libxext)
3511 ("xinput" ,xinput)))
3513 `(("libxkbcommon" ,libxkbcommon)
3516 `(#:configure-flags (list "--enable-x11-backend=yes"
3518 ;; This produces share/doc/{clutter,cally}.
3519 (string-append "--with-html-dir="
3520 (assoc-ref %outputs "doc")
3522 ;; XXX FIXME: Get test suite working. It would probably fail in the
3523 ;; same way the cogl tests fail, since clutter is based on cogl.
3525 (home-page "http://www.clutter-project.org")
3526 (synopsis "OpenGL-based interactive canvas library")
3528 "Clutter is an OpenGL-based interactive canvas library, designed for
3529 creating fast, mainly 2D single window applications such as media box UIs,
3530 presentations, kiosk style applications and so on.")
3531 (license license:lgpl2.0+)))
3533 (define-public clutter-gtk
3535 (name "clutter-gtk")
3540 (uri (string-append "mirror://gnome/sources/" name "/"
3541 (version-major+minor version) "/"
3542 name "-" version ".tar.xz"))
3545 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3546 (build-system gnu-build-system)
3548 `(("pkg-config" ,pkg-config)
3549 ("gobject-introspection" ,gobject-introspection)))
3551 ;; clutter-gtk.pc refers to all these.
3552 `(("clutter" ,clutter)
3554 (home-page "http://www.clutter-project.org")
3555 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
3557 "Clutter is an OpenGL-based interactive canvas library, designed for
3558 creating fast, mainly 2D single window applications such as media box UIs,
3559 presentations, kiosk style applications and so on.")
3560 (license license:lgpl2.0+)))
3562 (define-public clutter-gst
3564 (name "clutter-gst")
3569 (uri (string-append "mirror://gnome/sources/clutter-gst/"
3570 (version-major+minor version) "/"
3571 "clutter-gst-" version ".tar.xz"))
3573 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
3574 (build-system gnu-build-system)
3576 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3577 ("pkg-config" ,pkg-config)
3578 ("gobject-introspection" ,gobject-introspection)))
3580 `(("clutter" ,clutter)
3581 ("gstreamer" ,gstreamer)
3582 ("gst-plugins-base" ,gst-plugins-base)))
3583 (home-page "http://www.clutter-project.org")
3584 (synopsis "Integration library for using GStreamer with Clutter")
3586 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3587 It provides a GStreamer sink to upload frames to GL and an actor that
3588 implements the ClutterGstPlayer interface using playbin. Clutter is an
3589 OpenGL-based interactive canvas library.")
3590 (license license:lgpl2.0+)))
3592 (define-public libchamplain
3594 (name "libchamplain")
3599 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3603 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3604 (build-system gnu-build-system)
3605 (arguments '(#:configure-flags '("--enable-vala")))
3607 `(("gobject-introspection" ,gobject-introspection)
3608 ("pkg-config" ,pkg-config)
3611 `(("libsoup" ,libsoup)
3613 ("clutter" ,clutter)
3614 ("clutter-gtk" ,clutter-gtk)
3615 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3619 (home-page "https://projects.gnome.org/libchamplain/")
3620 (synopsis "C library providing a ClutterActor to display maps")
3622 "libchamplain is a C library providing a ClutterActor to display maps.
3623 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3624 and Perl bindings are also available. It supports numerous free map sources
3625 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3626 (license license:lgpl2.1+)))
3635 (uri (string-append "mirror://gnome/sources/gom/"
3636 (version-major+minor version) "/"
3637 "gom-" version ".tar.xz"))
3640 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3641 (build-system gnu-build-system)
3643 `(("intltool" ,intltool)
3644 ("pkg-config" ,pkg-config)
3645 ("gobject-introspection" ,gobject-introspection)))
3648 ("gdk-pixbuf" ,gdk-pixbuf)
3649 ("sqlite" ,sqlite)))
3650 ;; XXX TODO: Figure out how to run the test suite.
3651 (arguments `(#:tests? #f))
3652 (home-page "https://wiki.gnome.org/Projects/Gom")
3653 (synopsis "Object mapper from GObjects to SQLite")
3655 "Gom provides an object mapper from GObjects to SQLite. It helps you
3656 write applications that need to store structured data as well as make complex
3657 queries upon that data.")
3658 (license license:lgpl2.1+)))
3660 (define-public libgnome-games-support
3662 (name "libgnome-games-support")
3666 (uri (string-append "mirror://gnome/sources/" name "/"
3667 (version-major+minor version) "/"
3668 name "-" version ".tar.xz"))
3671 "02hirpk885jndwarbl3cl5fk7w2z5ziv677csyv1wi2n6rmpn088"))))
3672 (build-system gnu-build-system)
3675 (modify-phases %standard-phases
3676 (add-before 'check 'pre-check
3678 ;; Tests require a writable HOME.
3679 (setenv "HOME" (getcwd))
3682 `(("intltool" ,intltool)
3683 ("pkg-config" ,pkg-config)
3686 ;; Required by libgnome-games-support-1.0.pc
3688 ("libgee" ,libgee)))
3689 (home-page "https://www.gnome.org/")
3690 (synopsis "Useful functionality shared among GNOME games")
3692 "libgnome-games-support is a small library intended for internal use by
3693 GNOME Games, but it may be used by others.")
3694 (license license:lgpl3+)))
3696 (define-public gnome-klotski
3698 (name "gnome-klotski")
3702 (uri (string-append "mirror://gnome/sources/" name "/"
3703 (version-major+minor version) "/"
3704 name "-" version ".tar.xz"))
3707 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3708 (build-system glib-or-gtk-build-system)
3710 `(("desktop-file-utils" ,desktop-file-utils)
3711 ("intltool" ,intltool)
3712 ("itstool" ,itstool)
3713 ("pkg-config" ,pkg-config)
3714 ("xmllint" ,libxml2)))
3717 ("libgnome-games-support" ,libgnome-games-support)
3718 ("librsvg" ,librsvg)))
3719 (home-page "https://wiki.gnome.org/Apps/Klotski")
3720 (synopsis "Sliding block puzzles")
3722 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3723 the patterned block to the area bordered by green markers. To do so, you will
3724 need to slide other blocks out of the way. Complete each puzzle in as few moves
3726 (license license:gpl2+)))
3728 (define-public grilo
3735 (uri (string-append "mirror://gnome/sources/" name "/"
3736 (version-major+minor version) "/"
3737 name "-" version ".tar.xz"))
3740 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3741 (build-system gnu-build-system)
3743 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3744 ("intltool" ,intltool)
3745 ("pkg-config" ,pkg-config)
3746 ("gobject-introspection" ,gobject-introspection)))
3748 `(("cyrus-sasl" ,cyrus-sasl)
3751 ("libxml2" ,libxml2)
3752 ("liboauth" ,liboauth)
3753 ("libsoup" ,libsoup)
3755 ("totem-pl-parser" ,totem-pl-parser)))
3758 (modify-phases %standard-phases
3759 (add-after 'unpack 'fix-introspection-install-dir
3760 (lambda* (#:key outputs #:allow-other-keys)
3761 (let ((out (assoc-ref outputs "out")))
3762 (substitute* '("src/Makefile.in"
3763 "libs/pls/Makefile.in"
3764 "libs/net/Makefile.in")
3765 (("@INTROSPECTION_GIRDIR@")
3766 (string-append out "/share/gir-1.0/"))
3767 (("@INTROSPECTION_TYPELIBDIR@")
3768 (string-append out "/lib/girepository-1.0/")))
3770 (native-search-paths
3771 (list (search-path-specification
3772 (variable "GRL_PLUGIN_PATH")
3773 (files (list (string-append "lib/grilo-"
3774 (version-major+minor version)))))))
3775 (home-page "https://live.gnome.org/Grilo")
3776 (synopsis "Framework for discovering and browsing media")
3778 "Grilo is a framework focused on making media discovery and browsing easy
3779 for application developers.")
3780 (license license:lgpl2.1+)))
3782 (define-public grilo-plugins
3784 (name "grilo-plugins")
3789 (uri (string-append "mirror://gnome/sources/" name "/"
3790 (version-major+minor version) "/"
3791 name "-" version ".tar.xz"))
3794 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3795 (build-system gnu-build-system)
3797 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3798 ("intltool" ,intltool)
3799 ("itstool" ,itstool)
3800 ("pkg-config" ,pkg-config)))
3803 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3805 ("libxml2" ,libxml2)
3808 ;; XXX TODO: Add oauth
3809 ;; XXX TODO: Add goa
3810 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3811 ;; XXX TODO: Add lua (needs help finding it)
3812 ("json-glib" ,json-glib)
3815 ("libsoup" ,libsoup)
3816 ("libarchive" ,libarchive)
3817 ("totem-pl-parser" ,totem-pl-parser)))
3819 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3822 ,(version-major+minor version)))
3823 ;; XXX FIXME: Try to get the test suite working. It appears to require
3824 ;; a working system dbus. Inside the build container, all tests fail
3825 ;; with: "assertion failed: (source)". Outside of the build container,
3826 ;; most tests succeed.
3828 (home-page "https://live.gnome.org/Grilo")
3829 (synopsis "Plugins for the Grilo media discovery library")
3831 "Grilo is a framework focused on making media discovery and browsing easy
3832 for application developers.")
3833 (license license:lgpl2.1+)))
3835 (define-public totem
3842 (uri (string-append "mirror://gnome/sources/" name "/"
3843 (version-major+minor version) "/"
3844 name "-" version ".tar.xz"))
3847 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
3848 (patches (search-patches "totem-meson-easy-codec.patch"
3849 "totem-meson-compat.patch"))))
3850 (build-system meson-build-system)
3852 `(("pkg-config" ,pkg-config)
3853 ("desktop-file-utils" ,desktop-file-utils)
3854 ("gobject-introspection" ,gobject-introspection)
3855 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3856 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3857 ("intltool" ,intltool)
3858 ("itstool" ,itstool)
3859 ("xmllint" ,libxml2)))
3861 `(("dconf" ,dconf)))
3864 ("gdk-pixbuf" ,gdk-pixbuf)
3867 ("dbus-glib" ,dbus-glib)
3868 ("clutter" ,clutter)
3869 ("clutter-gtk" ,clutter-gtk)
3870 ("clutter-gst" ,clutter-gst)
3871 ("xorgproto" ,xorgproto)
3872 ("libxxf86vm" ,libxxf86vm)
3873 ("libxtst" ,libxtst)
3874 ("libxrandr" ,libxrandr)
3875 ("libxml2" ,libxml2)
3876 ("libsoup" ,libsoup)
3877 ("libpeas" ,libpeas)
3878 ("librsvg" ,librsvg)
3880 ("gnome-desktop" ,gnome-desktop)
3881 ("gstreamer" ,gstreamer)
3882 ("gst-plugins-base" ,gst-plugins-base)
3883 ("gst-plugins-good" ,gst-plugins-good)
3884 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3885 ("adwaita-icon-theme" ,adwaita-icon-theme)
3887 ("python-pygobject" ,python2-pygobject)
3888 ;; XXX TODO pylint needed for python support
3889 ("totem-pl-parser" ,totem-pl-parser)
3891 ("grilo-plugins" ,grilo-plugins)
3897 ;; Disable parallel builds until
3898 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3899 ;; fixed. Try enabling it when updating this package in case
3900 ;; upstream has fixed it.
3901 #:parallel-build? #f
3903 ;; Disable automatic GStreamer plugin installation via PackageKit and
3905 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3907 ;; Do not build .a files for the plugins, it's
3908 ;; completely useless. This saves 2 MiB.
3909 "--default-library" "shared")
3912 (modify-phases %standard-phases
3914 'install 'disable-cache-generation
3916 (setenv "DESTDIR" "/")
3919 'install 'wrap-totem
3920 (lambda* (#:key inputs outputs #:allow-other-keys)
3921 (let ((out (assoc-ref outputs "out"))
3922 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3923 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3924 (wrap-program (string-append out "/bin/totem")
3925 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3926 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3927 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3928 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3930 (home-page "https://wiki.gnome.org/Apps/Videos")
3931 (synopsis "Simple media player for GNOME based on GStreamer")
3932 (description "Totem is a simple yet featureful media player for GNOME
3933 which can read a large number of file formats.")
3934 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3935 ;; to be used and distributed together with GStreamer and Totem. See
3936 ;; file://COPYING in the source distribution for details.
3937 (license license:gpl2+)))
3939 (define-public rhythmbox
3945 (uri (string-append "mirror://gnome/sources/" name "/"
3946 (version-major+minor version) "/"
3947 name "-" version ".tar.xz"))
3950 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
3951 (build-system glib-or-gtk-build-system)
3954 (list "--enable-lirc"
3961 (modify-phases %standard-phases
3963 'install 'wrap-rhythmbox
3964 (lambda* (#:key inputs outputs #:allow-other-keys)
3965 (let ((out (assoc-ref outputs "out"))
3966 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3967 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3968 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3969 (python-path (getenv "PYTHONPATH")))
3970 (wrap-program (string-append out "/bin/rhythmbox")
3971 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3972 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3973 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3974 `("PYTHONPATH" ":" prefix (,python-path))))
3977 `(("dconf" ,dconf)))
3979 `(("itstool" ,itstool)
3980 ("intltool" ,intltool)
3981 ("glib" ,glib "bin")
3982 ("gobject-introspection" ,gobject-introspection)
3983 ("desktop-file-utils" ,desktop-file-utils)
3984 ("pkg-config" ,pkg-config)
3985 ("xmllint" ,libxml2)))
3987 `(("json-glib" ,json-glib)
3989 ("gnome-desktop" ,gnome-desktop)
3991 ("python-pygobject" ,python2-pygobject)
3995 ("adwaita-icon-theme" ,adwaita-icon-theme)
3997 ("grilo-plugins" ,grilo-plugins)
3998 ("gstreamer" ,gstreamer)
3999 ("gst-plugins-base" ,gst-plugins-base)
4000 ("gst-plugins-good" ,gst-plugins-good)
4001 ("totem-pl-parser" ,totem-pl-parser)
4002 ("libgudev" ,libgudev)
4003 ;;("libmtp" ,libmtp) FIXME: Not detected
4004 ("libsecret" ,libsecret)
4005 ("libsoup" ,libsoup)
4006 ("libnotify" ,libnotify)
4007 ("libpeas" ,libpeas)
4009 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4010 ;;("clutter" ,clutter)
4011 ;;("clutter-gtk" ,clutter-gtk)
4012 ;;("clutter-gst" ,clutter-gst)
4013 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4020 ("brasero" ,brasero)))
4021 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4022 (synopsis "Music player for GNOME")
4023 (description "Rhythmbox is a music playing application for GNOME. It
4024 supports playlists, song ratings, and any codecs installed through gstreamer.")
4025 (license license:gpl2+)))
4033 (uri (string-append "mirror://gnome/sources/" name "/"
4034 (version-major+minor version) "/"
4035 name "-" version ".tar.xz"))
4038 "1wrq3l3z0x6q0hnc1vqr2hnyb1b14qw6aqvc5dldfgbs0yys6p55"))))
4039 (build-system meson-build-system)
4042 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4043 (list (string-append "-Dc_link_args=-Wl,-rpath="
4044 (assoc-ref %outputs "out") "/lib/eog"))
4046 (modify-phases %standard-phases
4047 (add-after 'install 'wrap-eog
4048 (lambda* (#:key outputs #:allow-other-keys)
4049 (let ((out (assoc-ref outputs "out"))
4050 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4051 (wrap-program (string-append out "/bin/eog")
4052 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4055 `(("dconf" ,dconf)))
4057 `(("intltool" ,intltool)
4058 ("itstool" ,itstool)
4059 ("glib" ,glib "bin")
4060 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4061 ("gobject-introspection" ,gobject-introspection)
4062 ("pkg-config" ,pkg-config)
4063 ("xmllint" ,libxml2)))
4065 `(("gnome-desktop" ,gnome-desktop)
4066 ("shared-mime-info" ,shared-mime-info)
4067 ("adwaita-icon-theme" ,adwaita-icon-theme)
4070 ("libexif" ,libexif)
4071 ("libpeas" ,libpeas)
4072 ("libjpeg" ,libjpeg)
4073 ("librsvg" ,librsvg)
4074 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4076 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4077 (synopsis "GNOME image viewer")
4078 (description "Eye of GNOME is the GNOME image viewer. It
4079 supports image conversion, rotation, and slideshows.")
4080 (license license:gpl2+)))
4082 (define-public eog-plugins
4083 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4084 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4085 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4086 ;; 'XDG_DATA_DIRS' appropriately set.
4088 (name "eog-plugins")
4092 (uri (string-append "mirror://gnome/sources/eog-plugins/"
4093 (version-major+minor version) "/"
4094 "eog-plugins-" version ".tar.xz"))
4097 "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3"))))
4098 (build-system gnu-build-system)
4099 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4100 (synopsis "Extensions for the Eye of GNOME image viewer")
4102 `(("pkg-config" ,pkg-config)
4103 ("gettext" ,gnu-gettext)))
4108 ("libpeas" ,libpeas)
4109 ("libexif" ,libexif)
4110 ("libchamplain" ,libchamplain)))
4112 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4116 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4117 @item @dfn{Map}, which displays a map of where the picture was taken on the
4119 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4122 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4123 ;; long suspicious byte stream that goes to a
4124 ;; ".gresource.eog_postasa_plugin" ELF section.
4125 (license license:gpl2+)))
4127 (define-public libgudev
4133 (uri (string-append "mirror://gnome/sources/" name "/"
4134 version "/" name "-" version ".tar.xz"))
4137 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
4138 (build-system gnu-build-system)
4141 ;; umockdev depends on libgudev.
4142 (list "--disable-umockdev")))
4144 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4145 ("gobject-introspection" ,gobject-introspection)
4146 ("pkg-config" ,pkg-config)))
4148 `(("glib" ,glib))) ; required by gudev-1.0.pc
4151 (home-page "https://wiki.gnome.org/Projects/libgudev")
4152 (synopsis "GObject bindings for libudev")
4154 "This library provides GObject bindings for libudev. It was originally
4155 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4156 (license license:lgpl2.1+)))
4164 (uri (string-append "mirror://gnome/sources/" name "/"
4165 (version-major+minor version) "/"
4166 name "-" version ".tar.xz"))
4169 "18311pn5kp9b4kf5prvhcjs0cwf7fm3mqh6s6p42avcr5j26l4zd"))))
4170 (build-system meson-build-system)
4174 (list "-Dsystemduserunitdir=no"
4176 ;; Otherwise, the RUNPATH will lack the final path component.
4177 (string-append "-Dc_link_args=-Wl,-rpath="
4178 (assoc-ref %outputs "out") "/lib/gvfs"))))
4180 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4181 ("gettext" ,gettext-minimal)
4182 ("gtk-doc" ,gtk-doc)
4183 ("pkg-config" ,pkg-config)
4184 ("xsltproc" ,libxslt)))
4187 ("docbook-xml" ,docbook-xml-4.2)
4188 ("docbook-xsl" ,docbook-xsl)
4190 ("elogind" ,elogind)
4194 ("gnome-online-accounts" ,gnome-online-accounts)
4195 ("libarchive" ,libarchive)
4196 ("libbluray" ,libbluray)
4198 ("libcdio-paranoia" ,libcdio-paranoia)
4199 ("libgcrypt" ,libgcrypt)
4200 ("libgdata" ,libgdata)
4201 ("libgphoto2" ,libgphoto2)
4202 ("libgudev" ,libgudev)
4203 ("libimobiledevice" ,libimobiledevice)
4206 ("libsecret" ,libsecret)
4207 ("libsmbclient" ,samba)
4208 ("libsoup" ,libsoup)
4209 ("libxml2" ,libxml2)
4210 ("nettle" ,nettle) ; XXX: required by libarchive.pc
4211 ("openssh" ,openssh)
4213 ("udisks" ,udisks)))
4214 (home-page "https://wiki.gnome.org/gvfs/")
4215 (synopsis "Userspace virtual file system for GIO")
4217 "GVFS is a userspace virtual file system designed to work with the I/O
4218 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4219 to all applications using the GIO API. It also supports exposing the GVFS
4220 mounts to non-GIO applications using FUSE.
4222 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4224 (license license:lgpl2.0+)))
4232 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4236 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4237 (build-system meson-build-system)
4239 `(("gobject-introspection" ,gobject-introspection)
4240 ("pkg-config" ,pkg-config)
4242 ("gtk-doc" ,gtk-doc)))
4244 ;; Both of these are required by gusb.pc.
4246 ("libusb" ,libusb)))
4248 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4249 (home-page "https://github.com/hughsie/libgusb")
4250 (synopsis "GLib binding for libusb1")
4252 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4253 asynchronous control, bulk and interrupt transfers with proper cancellation
4254 and integration into a mainloop. This makes it easy to integrate low level
4255 USB transfers with your high-level application or system daemon.")
4256 (license license:lgpl2.1+)))
4258 (define-public simple-scan
4260 (name "simple-scan")
4264 (uri (string-append "https://launchpad.net/simple-scan/"
4265 (version-major+minor version) "/"
4266 version "/+download/simple-scan-"
4270 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4271 (build-system glib-or-gtk-build-system)
4276 ("gdk-pixbuf" ,gdk-pixbuf)
4278 ("libsane" ,sane-backends)))
4280 `(("gettext" ,gettext-minimal)
4281 ("itstool" ,itstool)
4283 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4284 ("pkg-config" ,pkg-config)
4286 ("xmllint" ,libxml2)))
4288 '(#:configure-flags '("--disable-packagekit")
4290 (modify-phases %standard-phases
4291 (add-after 'unpack 'clean
4293 ;; Remove a left-over reference to PackageKit.
4295 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4297 ;; There are some generated C files erroneously
4298 ;; included in the source distribution, and this
4299 ;; one breaks the build by referring to a
4300 ;; non-existent header (packagekit.h)
4301 (delete-file "src/ui.c"))))))
4302 (home-page "https://launchpad.net/simple-scan")
4303 (synopsis "Document and image scanner")
4304 (description "Simple Scan is an easy-to-use application, designed to let
4305 users connect their scanner and quickly have the image/document in an
4306 appropriate format. Simple Scan is basically a frontend for SANE - which is
4307 the same backend as XSANE uses. This means that all existing scanners will
4308 work and the interface is well tested.")
4309 (license license:gpl3+)))
4311 (define-public eolie
4317 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4318 "uploads/bb4aad19272cc636bd17f2f6602127fe/"
4319 "eolie-" version ".tar.xz"))
4322 "06v76hg87fnhw45dil5vvl20myvaa38n1jqsl0lmkkq6af4mk8wx"))))
4323 (build-system meson-build-system)
4327 (modify-phases %standard-phases
4328 (add-after 'wrap 'wrap-more
4329 (lambda* (#:key inputs outputs #:allow-other-keys)
4330 (let* ((out (assoc-ref outputs "out"))
4331 ;; These libraries must be on LD_LIBRARY_PATH.
4332 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4333 "atk" "gtk+" "gsettings-desktop-schemas"
4334 "gobject-introspection"))
4337 (string-append (assoc-ref inputs lib) "/lib"))
4340 (wrap-program (string-append out "/bin/eolie")
4341 `("LD_LIBRARY_PATH" ":" prefix (,path))
4342 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4343 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4346 `(("intltool" ,intltool)
4347 ("itstool" ,itstool)
4348 ("pkg-config" ,pkg-config)
4350 ("glib:bin" ,glib "bin")
4351 ("gtk+" ,gtk+ "bin")))
4353 `(("gobject-introspection" ,gobject-introspection)
4354 ("glib-networking" ,glib-networking)
4357 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4358 ("python" ,python-wrapper)
4359 ("python-dateutil" ,python-dateutil)
4360 ("python-pyfxa" ,python-pyfxa)
4361 ("python-pygobject" ,python-pygobject)
4362 ("python-pycairo" ,python-pycairo)
4363 ("python-pycrypto" ,python-pycrypto)
4364 ("libsecret" ,libsecret)
4365 ("gtkspell3" ,gtkspell3)
4366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4367 ("webkitgtk" ,webkitgtk)))
4368 (home-page "https://wiki.gnome.org/Apps/Eolie")
4369 (synopsis "Web browser for GNOME")
4371 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4372 a secret password store, an adblocker, and a modern UI.")
4373 (license license:gpl3+)))
4375 (define-public epiphany
4381 (uri (string-append "mirror://gnome/sources/epiphany/"
4382 (version-major+minor version) "/"
4383 "epiphany-" version ".tar.xz"))
4386 "0nk0krzrfck6hhfs52f4sjmj93yjyvabm72bq8i8f9l1pass5vgd"))))
4388 (build-system meson-build-system)
4390 ;; FIXME: tests run under Xvfb, but fail with:
4391 ;; /src/bookmarks/ephy-bookmarks/create:
4392 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4398 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4399 (list (string-append "-Dc_link_args=-Wl,-rpath="
4400 (assoc-ref %outputs "out") "/lib/epiphany"))))
4402 `(("dconf" ,dconf)))
4404 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4405 ("glib:bin" ,glib "bin") ; for glib-mkenums
4406 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4407 ("intltool" ,intltool)
4408 ("itstool" ,itstool)
4409 ("pkg-config" ,pkg-config)
4410 ("xmllint" ,libxml2)))
4414 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4415 ("glib-networking" ,glib-networking)
4416 ("gnome-desktop" ,gnome-desktop)
4417 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4418 ("json-glib" ,json-glib)
4419 ("iso-codes" ,iso-codes)
4420 ("libdazzle" ,libdazzle)
4421 ("libnotify" ,libnotify)
4422 ("libsecret" ,libsecret)
4423 ("libxslt" ,libxslt)
4424 ("nettle" ,nettle) ; for hogweed
4426 ("webkitgtk" ,webkitgtk)))
4427 (home-page "https://wiki.gnome.org/Apps/Web")
4428 (synopsis "GNOME web browser")
4430 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4431 principles are simplicity and standards compliance.")
4432 (license license:gpl2+)))
4434 (define-public d-feet
4440 (uri (string-append "mirror://gnome/sources/" name "/"
4441 (version-major+minor version) "/"
4442 name "-" version ".tar.xz"))
4445 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
4446 (build-system glib-or-gtk-build-system)
4448 '(#:out-of-source? #f ; tests need to run in the source directory.
4450 (modify-phases %standard-phases
4454 ;; The test suite requires a running X server.
4455 (system "Xvfb :1 &")
4456 (setenv "DISPLAY" ":1")
4457 ;; Don't fail on missing '/etc/machine-id'.
4458 (setenv "DBUS_FATAL_WARNINGS" "0")
4459 ;; tests.py and window.py don't meet E402:
4460 ;; E402 module level import not at top of file
4461 (substitute* "src/tests/Makefile"
4462 (("--ignore=E123") "--ignore=E123,E402"))
4465 'install 'wrap-program
4466 (lambda* (#:key outputs #:allow-other-keys)
4467 (let ((prog (string-append (assoc-ref outputs "out")
4470 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4471 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4474 `(("intltool" ,intltool)
4475 ("itstool" ,itstool)
4476 ("pkg-config" ,pkg-config)
4477 ("python-pep8" ,python-pep8)
4478 ("xmllint" ,libxml2)
4479 ("xorg-server" ,xorg-server)))
4481 `(("gobject-introspection" ,gobject-introspection)
4483 ("python" ,python-wrapper)
4484 ("hicolor-icon-theme" ,hicolor-icon-theme)
4485 ("python-pygobject" ,python-pygobject)))
4486 (home-page "https://wiki.gnome.org/Apps/DFeet")
4487 (synopsis "D-Bus debugger")
4489 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4490 of running programs and invoke methods on those interfaces.")
4491 (license license:gpl2+)))
4493 (define-public yelp-xsl
4499 (uri (string-append "mirror://gnome/sources/" name "/"
4500 (version-major+minor version) "/"
4501 name "-" version ".tar.xz"))
4504 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
4505 (build-system gnu-build-system)
4507 `(("intltool" ,intltool)
4508 ("itstool" ,itstool)
4509 ("xmllint" ,libxml2)))
4510 (home-page "https://wiki.gnome.org/Apps/Yelp")
4511 (synopsis "XSL stylesheets for Yelp")
4513 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4514 to format Docbook and Mallard documents.")
4515 (license license:gpl2+)))
4523 (uri (string-append "mirror://gnome/sources/" name "/"
4524 (version-major+minor version) "/"
4525 name "-" version ".tar.xz"))
4528 "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4"))))
4529 (build-system glib-or-gtk-build-system)
4531 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4532 ("intltool" ,intltool)
4533 ("itstool" ,itstool)
4534 ("pkg-config" ,pkg-config)))
4536 `(("dconf" ,dconf)))
4538 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4539 ("libxslt" ,libxslt)
4541 ("webkitgtk" ,webkitgtk)
4542 ("yelp-xsl" ,yelp-xsl)))
4543 (home-page "https://wiki.gnome.org/Apps/Yelp")
4544 (synopsis "GNOME help browser")
4546 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4547 man, info, and HTML documents. It can locate documents according to the
4548 freedesktop.org help system specification.")
4549 (license license:gpl2+)))
4551 (define-public yelp-tools
4557 (uri (string-append "mirror://gnome/sources/" name "/"
4558 (version-major+minor version) "/"
4559 name "-" version ".tar.xz"))
4562 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
4563 (build-system gnu-build-system)
4565 `(("pkg-config" ,pkg-config)))
4567 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4568 `(("itstool" ,itstool)
4569 ("xmllint" ,libxml2)
4570 ("xsltproc" ,libxslt)))
4572 `(("yelp-xsl" ,yelp-xsl)))
4573 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4574 (synopsis "Yelp documentation tools")
4576 "Yelp-tools is a collection of scripts and build utilities to help create,
4577 manage, and publish documentation for Yelp and the web. Most of the heavy
4578 lifting is done by packages like yelp-xsl and itstool. This package just
4579 wraps things up in a developer-friendly way.")
4580 (license license:gpl2+)))
4582 (define-public libgee
4588 (uri (string-append "mirror://gnome/sources/" name "/"
4589 (version-major+minor version) "/"
4590 name "-" version ".tar.xz"))
4593 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4594 (build-system gnu-build-system)
4597 (modify-phases %standard-phases
4598 (add-after 'unpack 'fix-introspection-install-dir
4599 (lambda* (#:key outputs #:allow-other-keys)
4600 (let ((out (assoc-ref outputs "out")))
4601 (substitute* "gee/Makefile.in"
4602 (("@INTROSPECTION_GIRDIR@")
4603 (string-append out "/share/gir-1.0/"))
4604 (("@INTROSPECTION_TYPELIBDIR@")
4605 (string-append out "/lib/girepository-1.0/")))))))))
4607 `(("glib" ,glib "bin")
4608 ("pkg-config" ,pkg-config)))
4611 ("gobject-introspection" ,gobject-introspection)))
4612 (home-page "https://wiki.gnome.org/Projects/Libgee")
4613 (synopsis "GObject collection library")
4615 "Libgee is a utility library providing GObject-based interfaces and
4616 classes for commonly used data structures.")
4617 (license license:lgpl2.1+)))
4619 (define-public gexiv2
4625 (uri (string-append "mirror://gnome/sources/" name "/"
4626 (version-major+minor version) "/"
4627 name "-" version ".tar.xz"))
4630 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
4631 (build-system meson-build-system)
4633 `(("glib" ,glib "bin")
4634 ("pkg-config" ,pkg-config)))
4636 ;; Listed in "Requires" section of gexiv2.pc
4637 `(("exiv2" ,exiv2)))
4640 ("gobject-introspection" ,gobject-introspection)))
4641 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4642 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4644 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4645 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4646 metadata in photo and video files of various formats.")
4647 (license license:gpl2+)))
4649 (define-public shotwell
4655 (uri (string-append "mirror://gnome/sources/" name "/"
4656 (version-major+minor version) "/"
4657 name "-" version ".tar.xz"))
4660 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
4661 (build-system glib-or-gtk-build-system)
4663 `(("dconf" ,dconf)))
4665 `(("pkg-config" ,pkg-config)
4666 ("itstool" ,itstool)
4667 ("gettext" ,gettext-minimal)
4668 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4669 ("itstool" ,itstool)
4672 `(("glib:bin" ,glib "bin")
4673 ("gstreamer" ,gstreamer)
4674 ("gst-plugins-base" ,gst-plugins-base)
4675 ("libgdata" ,libgdata)
4679 ("json-glib" ,json-glib)
4680 ("webkitgtk" ,webkitgtk)
4682 ("libsoup" ,libsoup)
4683 ("libxml2" ,libxml2)
4684 ("libgudev" ,libgudev)
4685 ("libgphoto2" ,libgphoto2)
4687 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4688 (synopsis "Photo manager for GNOME 3")
4690 "Shotwell is a digital photo manager designed for the GNOME desktop
4691 environment. It allows you to import photos from disk or camera, organize
4692 them by keywords and events, view them in full-window or fullscreen mode, and
4693 share them with others via social networking and more.")
4694 (license license:lgpl2.1+)))
4696 (define-public file-roller
4698 (name "file-roller")
4702 (uri (string-append "mirror://gnome/sources/" name "/"
4703 (version-major+minor version) "/"
4704 name "-" version ".tar.xz"))
4707 "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1"))))
4708 (build-system meson-build-system)
4710 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4711 ("intltool" ,intltool)
4712 ("pkg-config" ,pkg-config)
4713 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4714 ("glib:bin" ,glib "bin")))
4715 ;; TODO: Add libnautilus.
4718 ("gdk-pixbuf" ,gdk-pixbuf)
4719 ("json-glib" ,json-glib)
4720 ("libarchive" ,libarchive)
4721 ("libnotify" ,libnotify)
4723 ("itstool" ,itstool)
4724 ("libxml2" ,libxml2)))
4725 (synopsis "Graphical archive manager for GNOME")
4726 (description "File Roller is an archive manager for the GNOME desktop
4727 environment that allows users to view, unpack, and create compressed archives
4728 such as gzip tarballs.")
4729 (home-page "http://fileroller.sourceforge.net/")
4730 (license license:gpl2+)))
4732 (define-public gnome-session
4734 (name "gnome-session")
4738 (uri (string-append "mirror://gnome/sources/" name "/"
4739 (version-major+minor version) "/"
4740 name "-" version ".tar.xz"))
4743 "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq"))))
4747 (modify-phases %standard-phases
4748 (add-before 'configure 'pre-configure
4749 (lambda* (#:key outputs #:allow-other-keys)
4750 ;; Use elogind instead of systemd.
4751 (substitute* "meson.build"
4752 (("libsystemd-login") "libelogind")
4753 (("and libsystemd_daemon_dep.found.*") ","))
4754 (substitute* "gnome-session/gsm-systemd.c"
4755 (("#include <systemd/sd-login.h>")
4756 "#include <elogind/sd-login.h>"))
4757 ;; Remove uses of the systemd daemon.
4758 (substitute* "gnome-session/gsm-autostart-app.c"
4759 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4761 (add-after 'install 'wrap-gnome-session
4762 (lambda* (#:key inputs outputs #:allow-other-keys)
4763 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4764 (let ((glib (assoc-ref inputs "glib:bin"))
4765 (out (assoc-ref outputs "out")))
4766 (wrap-program (string-append out "/bin/gnome-session")
4767 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4769 (add-after 'install 'add-absolute-paths-to-desktop-files
4770 (lambda* (#:key outputs #:allow-other-keys)
4771 (let* ((out (assoc-ref outputs "out")))
4772 (substitute* (map (lambda (x)
4773 (string-append out "/share/xsessions/" x))
4774 '("gnome.desktop" "gnome-xorg.desktop"))
4775 (("gnome-session") (string-append out "/bin/gnome-session")))
4779 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4780 "-Dman=false" ; FIXME: disabled because of docbook validation error
4781 "-Dsystemd_journal=false")))
4782 (build-system meson-build-system)
4784 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4785 ("pkg-config" ,pkg-config)
4786 ("intltool" ,intltool)
4787 ("xsltproc" ,libxslt)
4788 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4789 ("docbook-xsl" ,docbook-xsl)
4790 ("docbook-xml" ,docbook-xml)
4793 `(("elogind" ,elogind)
4794 ("gnome-desktop" ,gnome-desktop)
4795 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4797 ("json-glib" ,json-glib)
4799 ("libxcomposite" ,libxcomposite)
4800 ("libxtst" ,libxtst)
4803 ("xtrans" ,xtrans)))
4804 (synopsis "Session manager for GNOME")
4806 "This package contains the GNOME session manager, as well as a
4807 configuration program to choose applications starting on login.")
4808 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4809 (license license:gpl2+)))
4817 (uri (string-append "mirror://gnome/sources/" name "/"
4818 (version-major+minor version) "/"
4819 name "-" version ".tar.xz"))
4822 "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff"))))
4823 (build-system gnu-build-system)
4826 (modify-phases %standard-phases
4830 ;; The test suite requires a running X server.
4831 (system "Xvfb :1 &")
4832 (setenv "DISPLAY" ":1")
4834 ;; For the missing /etc/machine-id.
4835 (setenv "DBUS_FATAL_WARNINGS" "0")
4837 ;; Our mozjs-38 package does not compile the required Intl API
4838 ;; support for these failing tests.
4839 (substitute* "installed-tests/js/testLocale.js"
4840 ((".*toBeDefined.*") "")
4841 ((".*expect\\(datestr\\).*") ""))
4844 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4845 ("pkg-config" ,pkg-config)
4846 ("xmllint" ,libxml2)
4848 ("dbus-launch" ,dbus)
4849 ("uuidgen" ,util-linux)
4850 ("xvfb" ,xorg-server-for-tests)))
4852 ;; These are all in the Requires.private field of gjs-1.0.pc.
4854 ("gobject-introspection" ,gobject-introspection)
4855 ("mozjs" ,mozjs-52)))
4858 ("readline" ,readline)))
4859 (synopsis "Javascript bindings for GNOME")
4860 (home-page "https://live.gnome.org/Gjs")
4862 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4863 javascript engine and the GObject introspection framework.")
4864 (license license:gpl2+)))
4866 (define-public gedit
4872 (uri (string-append "mirror://gnome/sources/" name "/"
4873 (version-major+minor version) "/"
4874 name "-" version ".tar.xz"))
4877 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
4878 (build-system glib-or-gtk-build-system)
4881 (modify-phases %standard-phases
4883 'install 'wrap-gedit
4884 (lambda* (#:key inputs outputs #:allow-other-keys)
4885 (let ((out (assoc-ref outputs "out"))
4886 (gtksourceview (assoc-ref inputs "gtksourceview"))
4887 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4888 (python-path (getenv "PYTHONPATH")))
4889 (wrap-program (string-append out "/bin/gedit")
4891 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4892 `("PYTHONPATH" ":" prefix (,python-path))
4893 ;; For language-specs.
4894 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4898 `(("dconf" ,dconf)))
4900 `(("intltool" ,intltool)
4901 ("itstool" ,itstool)
4902 ("gobject-introspection" ,gobject-introspection)
4903 ("pkg-config" ,pkg-config)))
4908 ("gtksourceview" ,gtksourceview-3)
4909 ("libpeas" ,libpeas)
4910 ("libxml2" ,libxml2)
4911 ("iso-codes" ,iso-codes)
4912 ("python-pygobject" ,python-pygobject)
4914 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4917 ("adwaita-icon-theme" ,adwaita-icon-theme)
4918 ("libsoup" ,libsoup)
4919 ("gnome-desktop" ,gnome-desktop)))
4920 (home-page "https://wiki.gnome.org/Apps/Gedit")
4921 (synopsis "GNOME text editor")
4922 (description "While aiming at simplicity and ease of use, gedit is a
4923 powerful general purpose text editor.")
4924 (license license:gpl2+)))
4926 (define-public zenity
4932 (uri (string-append "mirror://gnome/sources/" name "/"
4933 (version-major+minor version) "/"
4934 name "-" version ".tar.xz"))
4937 "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv"))))
4938 (build-system gnu-build-system)
4940 `(("gettext" ,gettext-minimal)
4941 ("itstool" ,itstool)
4942 ("pkg-config" ,pkg-config)))
4944 `(("libnotify" ,libnotify)
4945 ("webkitgtk" ,webkitgtk)))
4946 (synopsis "Display graphical dialog boxes from shell scripts")
4947 (home-page "https://www.gnome.org")
4949 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4950 to display dialog boxes from the commandline and shell scripts.")
4951 (license license:lgpl2.0+)))
4953 (define-public mutter
4959 (uri (string-append "mirror://gnome/sources/" name "/"
4960 (version-major+minor version) "/"
4961 name "-" version ".tar.xz"))
4964 "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z"))))
4965 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4966 ;; versions of cogl and clutter. As a result, many of the inputs,
4967 ;; propagated-inputs, and configure flags used in cogl and clutter are
4968 ;; needed here as well.
4969 (build-system gnu-build-system)
4972 ;; XXX: build fails with [-Werror]:
4973 ;; backends/meta-cursor-renderer.c:112:5: error:
4974 ;; implicit declaration of function ?roundf?
4975 (list "--enable-compile-warnings=minimum"
4977 "--enable-native-backend"
4979 ;; The following flags are needed for the bundled clutter
4980 "--enable-x11-backend=yes"
4982 (string-append "--with-xwayland-path="
4983 (assoc-ref %build-inputs "xorg-server-xwayland")
4986 ;; the remaining flags are needed for the bundled cogl
4988 (string-append "--with-gl-libname="
4989 (assoc-ref %build-inputs "mesa")
4992 (modify-phases %standard-phases
4993 ;; Replace references to systemd libraries to elogind references.
4994 (add-before 'configure 'use-elogind
4996 (substitute* (list "configure"
4997 "src/backends/native/meta-launcher.c"
4999 (("systemd") "elogind"))
5002 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5003 ("gobject-introspection" ,gobject-introspection)
5004 ("intltool" ,intltool)
5005 ("pkg-config" ,pkg-config)
5007 ("autoconf" ,autoconf)
5008 ("automake" ,automake)
5009 ("libtool" ,libtool)))
5011 `(;; libmutter.pc refers to these:
5012 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5014 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5017 ("gdk-pixbuf" ,gdk-pixbuf)
5019 ("json-glib" ,json-glib)
5020 ("libinput" ,libinput)
5022 ("libxcomposite" ,libxcomposite)
5023 ("libxdamage" ,libxdamage)
5024 ("libxext" ,libxext)
5025 ("libxfixes" ,libxfixes)
5026 ("libxkbcommon" ,libxkbcommon)
5027 ("libxrandr" ,libxrandr)
5031 ("xinput" ,xinput)))
5033 `(("elogind" ,elogind)
5034 ("gnome-desktop" ,gnome-desktop)
5035 ("libcanberra-gtk" ,libcanberra)
5036 ("libgudev" ,libgudev)
5039 ("libxkbfile" ,libxkbfile)
5040 ("libxrandr" ,libxrandr)
5041 ("libxtst" ,libxtst)
5042 ("startup-notification" ,startup-notification)
5043 ("upower-glib" ,upower)
5044 ("xkeyboard-config" ,xkeyboard-config)
5045 ("xorg-server-xwayland" ,xorg-server-xwayland)
5046 ("zenity" ,zenity)))
5047 (synopsis "Window and compositing manager")
5048 (home-page "https://www.gnome.org")
5050 "Mutter is a window and compositing manager that displays and manages your
5051 desktop via OpenGL. Mutter combines a sophisticated display engine using the
5052 Clutter toolkit with solid window-management logic inherited from the Metacity
5054 (license license:gpl2+)))
5056 (define-public gnome-online-accounts
5058 (name "gnome-online-accounts")
5062 (uri (string-append "mirror://gnome/sources/" name "/"
5063 (version-major+minor version) "/"
5064 name "-" version ".tar.xz"))
5067 "1hyg9g7l4ypnirx2j7ms2vr8711x90aybpq3s3wa20ma8a4xin97"))))
5068 (outputs '("out" "lib"))
5069 (build-system glib-or-gtk-build-system)
5072 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5074 (modify-phases %standard-phases
5075 (add-before 'configure 'patch-libgoa-output
5076 (lambda* (#:key outputs #:allow-other-keys)
5077 (let ((lib (assoc-ref outputs "lib")))
5078 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5080 (("@exec_prefix@") lib)
5081 (("@libdir@") (string-append lib "/lib"))
5082 (("@includedir@") (string-append lib "/include"))
5083 (("@datadir@") (string-append lib "/share")))
5084 ;; Make sure gobject-introspection knows about the output
5085 ;; too (see <https://bugs.gnu.org/36535>).
5086 (setenv "outputs" "out lib")
5089 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5090 ("gobject-introspection" ,gobject-introspection)
5091 ("intltool" ,intltool)
5092 ("pkg-config" ,pkg-config)
5093 ("xsltproc" ,libxslt)))
5095 `(("glib" ,glib) ; required by goa-1.0.pc
5096 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5098 `(("docbook-xsl" ,docbook-xsl)
5099 ("json-glib" ,json-glib)
5100 ("libsecret" ,libsecret)
5102 ("webkitgtk" ,webkitgtk)))
5103 (synopsis "Single sign-on framework for GNOME")
5104 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5106 "GNOME Online Accounts provides interfaces so that applications and
5107 libraries in GNOME can access the user's online accounts. It has providers for
5108 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5109 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5110 (license license:lgpl2.0+)))
5112 (define-public evolution-data-server
5114 (name "evolution-data-server")
5118 (uri (string-append "mirror://gnome/sources/" name "/"
5119 (version-major+minor version) "/"
5120 name "-" version ".tar.xz"))
5123 "0h4f71kpf2ypdgifg369z35pk4cq99daw540yzjpax52grav2fjv"))))
5124 (build-system cmake-build-system)
5127 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5128 (runpaths (map (lambda (s)
5129 (string-append lib "/evolution-data-server/" s))
5130 '("addressbook-backends" "calendar-backends"
5131 "camel-providers" "credential-modules"
5132 "registry-modules"))))
5133 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5134 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5135 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5136 "-DENABLE_VALA_BINDINGS=ON"
5137 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
5138 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5139 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5140 ;; evolution-data-server has been updated to qualify ICU types
5141 ;; explicitly, as required by ICU 61 and later. See:
5142 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5143 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
5144 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5145 (string-append lib "/evolution-data-server;")
5146 (string-join runpaths ";"))
5147 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5149 (modify-phases %standard-phases
5150 (add-after 'unpack 'disable-failing-tests
5152 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5153 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5154 (delete-file-recursively "tests/book-migration")
5155 (substitute* "tests/CMakeLists.txt"
5156 (("add_subdirectory\\(book-migration\\)") ""))
5157 ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris:
5158 ;; assertion failed (uris->data == expected_uri):
5159 ;; ("" == "file:///tests/libedata-cal/components/event-1.ics")
5160 (substitute* "tests/libedata-cal/CMakeLists.txt"
5161 (("test-cal-meta-backend") ""))
5163 (add-after 'unpack 'patch-paths
5165 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5166 "tests/libedata-book/data-test-utils.c"
5167 "tests/libedata-book/test-book-cache-utils.c"
5168 "tests/libedata-cal/test-cal-cache-utils.c")
5169 (("/bin/rm") (which "rm")))
5171 (add-before 'configure 'dont-override-rpath
5173 (substitute* "CMakeLists.txt"
5174 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5175 ;; Remove it so the configure flag is respected.
5176 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5179 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5180 ("gobject-introspection" ,gobject-introspection)
5182 ("intltool" ,intltool)
5183 ("pkg-config" ,pkg-config)
5185 ("python" ,python-wrapper)))
5187 ;; These are all in the Requires field of .pc files.
5189 ("libical" ,libical)
5190 ("libsecret" ,libsecret)
5191 ("libsoup" ,libsoup)
5193 ("sqlite" ,sqlite)))
5197 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5198 ("json-glib" ,json-glib)
5199 ("libcanberra" ,libcanberra)
5200 ("libgweather" ,libgweather)
5201 ("mit-krb5" ,mit-krb5)
5202 ("openldap" ,openldap)
5203 ("webkitgtk" ,webkitgtk)))
5204 (synopsis "Store address books and calendars")
5205 (home-page "https://wiki.gnome.org/Apps/Evolution")
5207 "This package provides a unified backend for programs that work with
5208 contacts, tasks, and calendar information. It was originally developed for
5209 Evolution (hence the name), but is now used by other packages as well.")
5210 (license license:lgpl2.0)))
5212 (define-public caribou
5218 (uri (string-append "mirror://gnome/sources/" name "/"
5219 (version-major+minor version) "/"
5220 name "-" version ".tar.xz"))
5223 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5224 (build-system glib-or-gtk-build-system)
5227 (modify-phases %standard-phases
5230 (lambda* (#:key outputs #:allow-other-keys)
5231 (let ((out (assoc-ref outputs "out")))
5232 ;; Use absolute shared library path in Caribou-1.0.typelib.
5233 (substitute* "libcaribou/Makefile"
5234 (("--shared-library=libcaribou.so")
5235 (string-append "--shared-library="
5236 out "/lib/libcaribou.so")))
5238 (add-after 'install 'wrap-programs
5239 (lambda* (#:key outputs #:allow-other-keys)
5240 (let* ((out (assoc-ref outputs "out"))
5241 (python-path (getenv "PYTHONPATH"))
5242 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5246 `("PYTHONPATH" ":" prefix (,python-path))
5247 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5248 (list (string-append out "/bin/caribou-preferences")
5249 (string-append out "/libexec/antler-keyboard"))))
5252 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5253 ("gobject-introspection" ,gobject-introspection)
5254 ("intltool" ,intltool)
5255 ("pkg-config" ,pkg-config)
5256 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5258 ("xsltproc" ,libxslt)))
5260 ;; caribou-1.0.pc refers to all these.
5261 `(("libgee" ,libgee)
5262 ("libxklavier" ,libxklavier)
5263 ("libxtst" ,libxtst)
5266 `(("clutter" ,clutter)
5269 ("python-pygobject" ,python2-pygobject)))
5270 (synopsis "Text entry and UI navigation application")
5271 (home-page "https://wiki.gnome.org/Projects/Caribou")
5273 "Caribou is an input assistive technology intended for switch and pointer
5275 (license license:lgpl2.1)))
5277 (define-public network-manager
5279 (name "network-manager")
5283 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5284 (version-major+minor version) "/"
5285 "NetworkManager-" version ".tar.xz"))
5288 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5289 (modules '((guix build utils)))
5292 (substitute* "src/devices/wwan/nm-modem-manager.c"
5293 (("systemd") "elogind"))
5295 (build-system gnu-build-system)
5297 "doc")) ; 8 MiB of gtk-doc HTML
5300 (let ((out (assoc-ref %outputs "out"))
5301 (doc (assoc-ref %outputs "doc"))
5302 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5304 (list "--with-libnm-glib" ; needed by network-manager-applet
5305 "--with-systemd-journal=no"
5306 "--with-session-tracking=elogind"
5307 "--with-suspend-resume=elogind"
5308 "--with-consolekit=no"
5309 "--with-crypto=gnutls"
5310 "--disable-config-plugin-ibft"
5312 "--localstatedir=/var"
5313 (string-append "--with-udev-dir="
5315 (string-append "--with-dbus-sys-dir="
5316 out "/etc/dbus-1/system.d")
5317 (string-append "--with-html-dir="
5318 doc "/share/gtk-doc/html")
5319 (string-append "--with-dhclient=" dhclient)))
5321 (modify-phases %standard-phases
5322 ;; This bare "ls" invocation breaks some tests.
5323 (add-after 'unpack 'patch-ls-invocation
5325 (substitute* "build-aux/ltmain.sh"
5327 (string-append "`" (which "ls") " -")))
5329 (add-before 'configure 'pre-configure
5331 ;; These tests try to test aspects of network-manager's
5332 ;; functionality within restricted containers, but they don't
5333 ;; cope with being already in the Guix build jail as that jail
5334 ;; lacks some features that they would like to proxy over (like
5336 (substitute* '("Makefile.in")
5337 (("src/platform/tests/test-address-linux") " ")
5338 (("src/platform/tests/test-cleanup-linux") " ")
5339 (("src/platform/tests/test-link-linux") " ")
5340 (("src/platform/tests/test-route-linux") " ")
5341 (("src/devices/tests/test-acd") "")
5342 (("src/devices/tests/test-arping") " ")
5343 (("src/devices/tests/test-lldp") " ")
5344 (("src/tests/test-route-manager-linux") " "))
5346 (add-after 'unpack 'delete-failing-tests
5348 ;; FIXME: These three tests fail for unknown reasons.
5349 ;; ERROR:libnm-core/tests/test-general.c:5842:
5350 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5351 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5352 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5353 ;; ERROR:libnm-core/tests/test-setting.c:907:
5354 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5355 (substitute* "Makefile.in"
5356 (("libnm-core/tests/test-general") " ")
5357 (("libnm-core/tests/test-keyfile") " ")
5358 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
5360 (add-before 'check 'pre-check
5362 ;; For the missing /etc/machine-id.
5363 (setenv "DBUS_FATAL_WARNINGS" "0")
5371 "nmstatedir=/tmp/nm"
5377 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5378 ("gobject-introspection" ,gobject-introspection)
5379 ("docbook-xsl" ,docbook-xsl)
5380 ("intltool" ,intltool)
5381 ("libxslt" ,libxslt)
5382 ("libxml2" ,libxml2)
5383 ("pkg-config" ,pkg-config)
5385 ("python" ,python-wrapper)
5386 ("python-dbus" ,python-dbus)
5387 ("python-pygobject" ,python-pygobject)))
5389 `(("coreutils" ,coreutils) ; for ls
5391 ("cyrus-sasl" ,cyrus-sasl)
5392 ("dbus-glib" ,dbus-glib)
5393 ("dnsmasq" ,dnsmasq)
5396 ("iptables" ,iptables)
5397 ("isc-dhcp" ,isc-dhcp)
5398 ("jansson" ,jansson)
5399 ("libgcrypt" ,libgcrypt)
5400 ("libgudev" ,libgudev)
5403 ("libsoup" ,libsoup)
5404 ("modem-manager" ,modem-manager)
5405 ("newt" ,newt) ;for the 'nmtui' console interface
5408 ("readline" ,readline)
5409 ("util-linux" ,util-linux)
5410 ("elogind" ,elogind)))
5411 (synopsis "Network connection manager")
5412 (home-page "https://www.gnome.org/projects/NetworkManager/")
5414 "NetworkManager is a system network service that manages your network
5415 devices and connections, attempting to keep active network connectivity when
5416 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5417 devices, and provides VPN integration with a variety of different VPN
5419 (license license:gpl2+)
5420 (properties '((upstream-name . "NetworkManager")))))
5422 (define-public network-manager-openvpn
5424 (name "network-manager-openvpn")
5429 "mirror://gnome/sources/NetworkManager-openvpn/"
5430 (version-major+minor version)
5431 "/NetworkManager-openvpn-" version ".tar.xz"))
5434 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
5435 (build-system gnu-build-system)
5437 '(#:configure-flags '("--enable-absolute-paths")))
5439 `(("pkg-config" ,pkg-config)
5440 ("intltool" ,intltool)))
5443 ("openvpn" ,openvpn)
5444 ("network-manager" ,network-manager)
5445 ("network-manager-applet" ,network-manager-applet) ;for libnma
5446 ("libsecret" ,libsecret)))
5447 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5448 (synopsis "OpenVPN plug-in for NetworkManager")
5450 "This extension of NetworkManager allows it to take care of connections
5451 to virtual private networks (VPNs) via OpenVPN.")
5452 (license license:gpl2+)
5453 (properties `((upstream-name . "NetworkManager-openvpn")))))
5455 (define-public mobile-broadband-provider-info
5457 (name "mobile-broadband-provider-info")
5458 (version "20190116")
5462 "mirror://gnome/sources/"
5463 "mobile-broadband-provider-info/" version "/"
5464 "mobile-broadband-provider-info-" version ".tar.xz"))
5467 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
5468 (build-system gnu-build-system)
5470 `(#:tests? #f)) ; no tests
5471 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5472 (synopsis "Database of broadband connection configuration")
5473 (description "Database of broadband connection configuration.")
5474 (license license:public-domain)))
5476 (define-public network-manager-applet
5478 (name "network-manager-applet")
5482 (uri (string-append "mirror://gnome/sources/" name "/"
5483 (version-major+minor version) "/"
5484 name "-" version ".tar.xz"))
5487 "0y31g0lxr93370xi74hbpvcy9m81n5wdkdhq8xy2nqp0y4219p13"))))
5488 (build-system meson-build-system)
5490 '(#:glib-or-gtk? #t))
5492 `(("intltool" ,intltool)
5493 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5494 ("gobject-introspection" ,gobject-introspection)
5495 ("gtk-doc" ,gtk-doc)
5496 ("pkg-config" ,pkg-config)))
5498 ;; libnm-gtk.pc refers to all these.
5499 `(("dbus-glib" ,dbus-glib)
5501 ("network-manager" ,network-manager)))
5504 ("iso-codes" ,iso-codes)
5505 ("libgudev" ,libgudev)
5506 ("libnotify" ,libnotify)
5507 ("libsecret" ,libsecret)
5508 ("libselinux" ,libselinux)
5509 ("jansson" ,jansson) ; for team support
5510 ("modem-manager" ,modem-manager)
5511 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
5512 (synopsis "Applet for managing network connections")
5513 (home-page "https://www.gnome.org/projects/NetworkManager/")
5515 "This package contains a systray applet for NetworkManager. It displays
5516 the available networks and allows users to easily switch between them.")
5517 (license license:gpl2+)))
5519 (define-public libxml++
5525 (uri (string-append "mirror://gnome/sources/" name "/"
5526 (version-major+minor version) "/"
5527 name "-" version ".tar.xz"))
5530 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5531 (build-system gnu-build-system)
5532 ;; libxml++-3.0.pc refers to all these.
5534 `(("libxml2" ,libxml2)
5535 ("glibmm" ,glibmm)))
5538 ("pkg-config" ,pkg-config)))
5539 (home-page "http://libxmlplusplus.sourceforge.net/")
5540 (synopsis "C++ wrapper for XML parser library libxml2")
5542 "This package provides a C++ wrapper for the XML parser library
5544 (license license:lgpl2.1+)))
5546 (define-public libxml++-2
5553 (uri (string-append "mirror://gnome/sources/" name "/"
5554 (version-major+minor version) "/"
5555 name "-" version ".tar.xz"))
5558 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5566 (uri (string-append "mirror://gnome/sources/" name "/"
5567 (version-major+minor version) "/"
5568 name "-" version ".tar.xz"))
5571 "1handy65r1n0zby09jr492b3643wszzigdkxp7q2ypgxb3hyv45y"))))
5572 (build-system glib-or-gtk-build-system)
5575 `("--without-plymouth"
5576 "--disable-systemd-journal"
5578 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5579 ;; instead of having to replace it (i.e., stopping the mingetty
5580 ;; service for TTY 1 before starting GDM).
5581 "--with-initial-vt=7"
5583 ;; Use '/etc/environment' for locale settings instead of the
5584 ;; systemd-specific '/etc/locale.conf'.
5585 "--with-lang-file=/etc/environment"
5587 ,(string-append "--with-udevdir="
5588 (assoc-ref %outputs "out") "/lib/udev")
5590 "--localstatedir=/var"
5591 ,(string-append "--with-default-path="
5592 (string-join '("/run/setuid-programs"
5593 "/run/current-system/profile/bin"
5594 "/run/current-system/profile/sbin")
5596 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5597 ;; XDG_DATA_DIRS so that it finds its schemas.
5598 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5600 (modify-phases %standard-phases
5602 'configure 'pre-configure
5603 (lambda* (#:key inputs outputs #:allow-other-keys)
5604 ;; We don't have <systemd/sd-daemon.h>.
5605 (substitute* '("common/gdm-log.c"
5606 "daemon/gdm-server.c"
5607 "daemon/gdm-session-worker.c"
5608 "daemon/gdm-session-worker-job.c")
5609 (("#include <systemd/sd-daemon\\.h>") ""))
5610 ;; Use elogind for sd-login.
5611 (substitute* '("common/gdm-common.c"
5612 "daemon/gdm-manager.c"
5613 "libgdm/gdm-user-switching.c")
5614 (("#include <systemd/sd-login\\.h>")
5615 "#include <elogind/sd-login.h>"))
5616 ;; Check for elogind.
5617 (substitute* '("configure")
5620 ;; Look for system-installed sessions in
5621 ;; /run/current-system/profile/share.
5622 (substitute* '("libgdm/gdm-sessions.c"
5623 "daemon/gdm-session.c"
5624 "daemon/gdm-display.c"
5625 "daemon/gdm-launch-environment.c")
5627 "\"/run/current-system/profile/share/x")
5628 (("DATADIR \"/wayland")
5629 "\"/run/current-system/profile/share/wayland")
5630 (("DATADIR \"/gnome")
5631 "\"/run/current-system/profile/share/gnome"))
5632 (let ((propagate '("GDM_CUSTOM_CONF"
5636 ;; XXX: Remove this once GNOME Shell is
5637 ;; a dependency of GDM.
5639 (substitute* "daemon/gdm-session.c"
5640 (("set_up_session_environment \\(self\\);")
5641 (apply string-append
5642 "set_up_session_environment (self);\n"
5645 "gdm_session_set_environment_variable "
5646 "(self, \"" name "\","
5647 "g_getenv (\"" name "\"));\n"))
5649 ;; Find the configuration file using an environment variable.
5650 (substitute* '("common/gdm-settings.c")
5651 (("GDM_CUSTOM_CONF")
5652 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5653 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5654 " : GDM_CUSTOM_CONF)")))
5655 ;; Use service-supplied path to X.
5656 (substitute* '("daemon/gdm-server.c")
5657 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5658 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5659 (substitute* '("daemon/gdm-x-session.c")
5660 (("\"dbus-daemon\"")
5661 "g_getenv (\"GDM_DBUS_DAEMON\")")
5663 "g_getenv (\"GDM_X_SERVER\")")
5664 (("GDMCONFDIR \"/Xsession\"")
5665 "g_getenv (\"GDM_X_SESSION\")"))
5666 ;; Use an absolute path for GNOME Session.
5667 (substitute* "daemon/gdm-launch-environment.c"
5668 (("\"gnome-session\"")
5669 (string-append "\"" (assoc-ref inputs "gnome-session")
5670 "/bin/gnome-session\"")))
5671 ;; Do not automatically select the placeholder session.
5672 (substitute* "daemon/gdm-session.c"
5673 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5674 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5675 "(g_strcmp0(search_dirs[i], \""
5676 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5678 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5679 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5680 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
5682 ;; GDM requires that there be at least one desktop entry
5683 ;; file. This phase installs a hidden one that simply
5684 ;; fails. This enables users to use GDM with a
5685 ;; '~/.xsession' script with no other desktop entry files.
5686 ;; See <https://bugs.gnu.org/35068>.
5687 (add-after 'install 'install-placeholder-desktop-entry
5688 (lambda* (#:key inputs outputs #:allow-other-keys)
5689 (let* ((out (assoc-ref outputs "out"))
5690 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5691 (fail (string-append sessions "/fail.desktop")))
5693 (with-output-to-file fail
5697 '("[Desktop Entry]\n"
5699 "Type=Application\n"
5701 "Comment=This session fails immediately.\n"
5705 ;; GDM needs GNOME Session to run these applications. We link
5706 ;; their autostart files in `share/gdm/greeter/autostart'
5707 ;; because GDM explicitly tells GNOME Session to look there.
5709 ;; XXX: GNOME Shell should be linked here too, but currently
5710 ;; GNOME Shell depends on GDM.
5711 (add-after 'install 'link-autostart-files
5712 (lambda* (#:key inputs outputs #:allow-other-keys)
5713 (let* ((out (assoc-ref outputs "out"))
5714 (autostart (string-append out "/share/gdm/"
5715 "greeter/autostart"))
5716 (settings (assoc-ref inputs "gnome-settings-daemon")))
5718 (with-directory-excursion autostart
5719 (for-each (lambda (desktop)
5720 (symlink desktop (basename desktop)))
5721 (find-files (string-append settings "/etc/xdg"))))
5725 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5726 ("gobject-introspection" ,gobject-introspection)
5727 ("intltool" ,intltool)
5728 ("itstool" ,itstool)
5729 ("pkg-config" ,pkg-config)
5730 ("xmllint" ,libxml2)))
5732 `(("accountsservice" ,accountsservice)
5733 ("check" ,check) ; for testing
5734 ("elogind" ,elogind)
5735 ("gnome-session" ,gnome-session)
5736 ("gnome-settings-daemon" ,gnome-settings-daemon)
5738 ("iso-codes" ,iso-codes)
5739 ("libcanberra" ,libcanberra)
5740 ("linux-pam" ,linux-pam)))
5741 (synopsis "Display manager for GNOME")
5742 (home-page "https://wiki.gnome.org/Projects/GDM/")
5744 "GNOME Display Manager is a system service that is responsible for
5745 providing graphical log-ins and managing local and remote displays.")
5746 (license license:gpl2+)))
5748 (define-public libgtop
5754 (uri (string-append "mirror://gnome/sources/" name "/"
5755 (version-major+minor version) "/"
5756 name "-" version ".tar.xz"))
5759 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5760 (build-system gnu-build-system)
5762 `(("gobject-introspection" ,gobject-introspection)
5763 ("intltool" ,intltool)
5765 ("pkg-config" ,pkg-config)))
5767 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5768 (synopsis "Portable system access library")
5769 (home-page "https://www.gnome.org/")
5771 "LibGTop is a library to get system specific data such as CPU and memory
5772 usage and information about running processes.")
5773 (license license:gpl2+)))
5775 (define-public gnome-bluetooth
5777 (name "gnome-bluetooth")
5781 (uri (string-append "mirror://gnome/sources/" name "/"
5782 (version-major+minor version) "/"
5783 name "-" version ".tar.xz"))
5786 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5787 (build-system meson-build-system)
5789 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5790 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5791 ("gobject-introspection" ,gobject-introspection)
5792 ("intltool" ,intltool)
5793 ("pkg-config" ,pkg-config)
5794 ("xmllint" ,libxml2)))
5796 ;; gnome-bluetooth-1.0.pc refers to all these.
5800 `(("libcanberra" ,libcanberra)
5801 ("libnotify" ,libnotify)))
5802 (synopsis "GNOME Bluetooth subsystem")
5803 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5805 "This package contains tools for managing and manipulating Bluetooth
5806 devices using the GNOME desktop.")
5807 (license license:lgpl2.1+)))
5809 (define-public gnome-control-center
5811 (name "gnome-control-center")
5815 (uri (string-append "mirror://gnome/sources/" name "/"
5816 (version-major+minor version) "/"
5817 name "-" version ".tar.xz"))
5820 "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz"))))
5821 (build-system meson-build-system)
5825 (list "-Dcheese=false")
5827 (modify-phases %standard-phases
5828 (add-before 'configure 'patch-paths
5829 (lambda* (#:key inputs #:allow-other-keys)
5830 (let ((libc (assoc-ref inputs "libc"))
5831 (tzdata (assoc-ref inputs "tzdata"))
5832 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
5833 (nm-applet (assoc-ref inputs "network-manager-applet")))
5834 (substitute* "panels/datetime/tz.h"
5835 (("/usr/share/zoneinfo/zone.tab")
5836 (string-append tzdata "/share/zoneinfo/zone.tab")))
5837 (substitute* "panels/datetime/test-endianess.c"
5838 (("/usr/share/locale")
5839 (string-append libc "/share/locale")))
5840 (substitute* "panels/region/cc-region-panel.c"
5841 (("\"gkbd-keyboard-display")
5842 (string-append "\"" libgnomekbd
5843 "/bin/gkbd-keyboard-display")))
5844 (substitute* '("panels/network/net-device-wifi.c"
5845 "panels/network/net-device.c"
5846 "panels/network/connection-editor/net-connection-editor.c")
5847 (("\"nm-connection-editor")
5848 (string-append "\"" nm-applet
5849 "/bin/nm-connection-editor")))
5850 (substitute* '("panels/user-accounts/run-passwd.c")
5851 (("/usr/bin/passwd")
5852 "/run/setuid-programs/passwd"))
5855 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5856 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5857 ("intltool" ,intltool)
5858 ("pkg-config" ,pkg-config)
5859 ("xsltproc" ,libxslt)))
5861 `(("accountsservice" ,accountsservice)
5862 ("clutter-gtk" ,clutter-gtk)
5863 ("colord-gtk" ,colord-gtk)
5866 ("docbook-xsl" ,docbook-xsl)
5867 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5868 ("gnome-bluetooth" ,gnome-bluetooth)
5869 ("gnome-desktop" ,gnome-desktop)
5870 ("gnome-online-accounts" ,gnome-online-accounts)
5871 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5872 ("gnome-settings-daemon" ,gnome-settings-daemon)
5875 ("libcanberra" ,libcanberra)
5876 ("libgnomekbd" ,libgnomekbd)
5877 ("libgudev" ,libgudev)
5878 ("libgtop" ,libgtop)
5879 ("libpwquality" ,libpwquality)
5880 ("libsoup" ,libsoup)
5881 ("libxml2" ,libxml2)
5882 ("libwacom" ,libwacom)
5884 ("mit-krb5" ,mit-krb5)
5885 ("modem-manager" ,modem-manager)
5886 ("network-manager-applet" ,network-manager-applet)
5888 ("pulseaudio" ,pulseaudio)
5889 ("smbclient" ,samba)
5891 ("upower" ,upower)))
5892 (synopsis "Utilities to configure the GNOME desktop")
5893 (home-page "https://www.gnome.org/")
5895 "This package contains configuration applets for the GNOME desktop,
5896 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5897 properties, sound setup, desktop theme and background, user interface
5898 properties, screen resolution, and other GNOME parameters.")
5899 (license license:gpl2+)))
5901 (define-public gnome-shell
5903 (name "gnome-shell")
5907 (uri (string-append "mirror://gnome/sources/" name "/"
5908 (version-major+minor version) "/"
5909 name "-" version ".tar.xz"))
5912 "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2"))
5913 (patches (search-patches "gnome-shell-theme.patch"))
5914 (modules '((guix build utils)))
5917 ;; Copy images for use on the GDM log-in screen.
5918 (copy-file #$(file-append %artwork-repository
5919 "/slim/0.x/background.png")
5920 "data/theme/guix-background.png")
5921 (copy-file #$(file-append %artwork-repository
5922 "/logo/Guix-horizontal-white.svg")
5923 "data/theme/guix-logo.svg")
5925 (build-system meson-build-system)
5928 #:disallowed-references ((,glib "bin")
5932 (list "-Dsystemd=false"
5933 ;; Otherwise, the RUNPATH will lack the final path component.
5934 (string-append "-Dc_link_args=-Wl,-rpath="
5935 (assoc-ref %outputs "out")
5936 "/lib/gnome-shell"))
5938 #:modules ((guix build meson-build-system)
5943 (modify-phases %standard-phases
5944 (add-after 'unpack 'fix-keysdir
5945 (lambda* (#:key outputs #:allow-other-keys)
5946 (let* ((out (assoc-ref outputs "out"))
5947 (keysdir (string-append
5948 out "/share/gnome-control-center/keybindings")))
5949 (substitute* "meson.build"
5951 (string-append "keysdir = '" keysdir "'\n")))
5953 (add-before 'configure 'convert-logo-to-png
5954 (lambda* (#:key inputs #:allow-other-keys)
5955 ;; Convert the logo from SVG to PNG.
5956 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
5957 "data/theme/guix-logo.svg")))
5958 (add-before 'configure 'record-absolute-file-names
5959 (lambda* (#:key inputs #:allow-other-keys)
5960 (substitute* "js/misc/ibusManager.js"
5962 (string-append "'" (assoc-ref inputs "ibus")
5963 "/bin/ibus-daemon'")))
5964 (substitute* "js/ui/status/keyboard.js"
5965 (("'gkbd-keyboard-display'")
5966 (string-append "'" (assoc-ref inputs "libgnomekbd")
5967 "/bin/gkbd-keyboard-display'")))
5969 (add-before 'check 'pre-check
5970 (lambda* (#:key inputs #:allow-other-keys)
5971 ;; Tests require a running X server.
5972 (system "Xvfb :1 &")
5973 (setenv "DISPLAY" ":1")
5975 (add-after 'install 'wrap-programs
5976 (lambda* (#:key inputs outputs #:allow-other-keys)
5977 (let ((out (assoc-ref outputs "out"))
5978 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5979 (python-path (getenv "PYTHONPATH")))
5980 (wrap-program (string-append out "/bin/gnome-shell")
5981 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5982 ;; FIXME: gnome-shell loads these libraries with unqualified
5983 ;; names only, so they need to be on LD_LIBRARY_PATH. The
5984 ;; alternative might be to patch gnome-shell.
5985 `("LD_LIBRARY_PATH" ":" prefix
5987 (string-append (assoc-ref inputs pkg) "/lib"))
5989 "gnome-bluetooth" "librsvg" "libgweather"))))
5992 (wrap-program (string-append out "/bin/" prog)
5993 `("PYTHONPATH" ":" prefix (,python-path))
5994 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5995 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5997 (replace 'glib-or-gtk-wrap
5998 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
5999 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6000 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6001 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6002 ;; phase. Fix that since we don't need these.
6003 (wrap #:inputs (fold alist-delete inputs
6004 '("inkscape" "intltool" "glib:bin"))
6005 #:outputs outputs)))))))
6007 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6008 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6009 ("gobject-introspection" ,gobject-introspection)
6010 ("inkscape" ,inkscape)
6011 ("intltool" ,intltool)
6012 ("pkg-config" ,pkg-config)
6014 ("ruby-sass" ,ruby-sass)
6016 ("xsltproc" ,libxslt)
6018 ("xorg-server" ,xorg-server-for-tests)))
6020 `(("accountsservice" ,accountsservice)
6021 ("caribou" ,caribou)
6022 ("docbook-xsl" ,docbook-xsl)
6023 ("evolution-data-server" ,evolution-data-server)
6026 ("gdk-pixbuf" ,gdk-pixbuf+svg)
6028 ("gnome-bluetooth" ,gnome-bluetooth)
6029 ("gnome-desktop" ,gnome-desktop)
6030 ("gnome-settings-daemon" ,gnome-settings-daemon)
6031 ("gst-plugins-base" ,gst-plugins-base)
6033 ("libcanberra" ,libcanberra)
6034 ("libcroco" ,libcroco)
6035 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
6036 ("libgweather" ,libgweather)
6037 ("libsoup" ,libsoup)
6038 ("mesa-headers" ,mesa-headers)
6040 ("network-manager-applet" ,network-manager-applet)
6042 ("pulseaudio" ,pulseaudio)
6043 ("python-pygobject" ,python-pygobject)
6044 ("startup-notification" ,startup-notification)
6045 ("telepathy-logger" ,telepathy-logger)
6047 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6048 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6049 ("librsvg" ,librsvg)
6050 ("geoclue" ,geoclue)))
6051 (synopsis "Desktop shell for GNOME")
6052 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6054 "GNOME Shell provides core user interface functions for the GNOME desktop,
6055 like switching to windows and launching applications.")
6056 (license license:gpl2+)))
6058 (define-public gtk-vnc
6065 (uri (string-append "mirror://gnome/sources/" name "/"
6066 (version-major+minor version) "/"
6067 name "-" version ".tar.xz"))
6070 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
6071 (build-system gnu-build-system)
6073 '(#:configure-flags '("--with-gtk=3.0")))
6075 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6077 `(("cyrus-sasl" ,cyrus-sasl)
6079 ("libgcrypt" ,libgcrypt)
6080 ("pulseaudio" ,pulseaudio)))
6082 `(("glib:bin" ,glib "bin")
6083 ("gobject-introspection" ,gobject-introspection)
6084 ("intltool" ,intltool)
6085 ("pkg-config" ,pkg-config)
6086 ("python-wrapper" ,python-wrapper)
6088 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6089 (synopsis "VNC viewer widget for GTK+")
6091 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6092 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6093 GTK-VNC implements client side RFB protocol and authentication extensions such
6094 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6095 (license license:lgpl2.1+)))
6097 (define-public gnome-autoar
6099 (name "gnome-autoar")
6103 (uri (string-append "mirror://gnome/sources/" name "/"
6104 (version-major+minor version) "/"
6105 name "-" version ".tar.xz"))
6108 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
6109 (build-system glib-or-gtk-build-system)
6111 `(("gnome-common" ,gnome-common)
6112 ("gobject-introspection" ,gobject-introspection)
6113 ("pkg-config" ,pkg-config)))
6115 `(("libarchive" ,libarchive))) ; XXX document why
6118 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
6119 (synopsis "Archives integration support for GNOME")
6120 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6122 "GNOME Autoar is a library which makes creating and extracting archives
6123 easy, safe, and automatic.")
6124 (license license:lgpl2.1+)))
6126 (define-public tracker
6132 (uri (string-append "mirror://gnome/sources/" name "/"
6133 (version-major+minor version) "/"
6134 name "-" version ".tar.xz"))
6137 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
6138 (build-system glib-or-gtk-build-system)
6141 (modify-phases %standard-phases
6142 (add-after 'unpack 'disable-broken-tests
6144 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6145 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6146 (substitute* "tests/libtracker-miner/Makefile.in"
6147 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6148 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6149 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6150 (substitute* "tests/libtracker-fts/Makefile.in"
6151 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6152 (substitute* "tests/libtracker-data/Makefile.in"
6153 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6154 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6155 (("tracker-backup\\$\\(EXEEXT\\)") "")
6156 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6157 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6158 ;; These fail because the SPARQL backend could not be loaded.
6159 ;; That's because /etc/machine-id is missing, but
6160 ;; DBUS_FATAL_WARNINGS does not help here.
6161 (substitute* "tests/libtracker-sparql/Makefile.in"
6162 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6163 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6164 (substitute* "tests/tracker-steroids/Makefile.in"
6165 (("tracker-test\\$\\(EXEEXT\\)") ""))
6167 ;; Two tests fail if LANG is not set.
6168 (add-before 'check 'pre-check
6170 (setenv "LANG" "en_US.UTF-8")
6171 ;; For the missing /etc/machine-id.
6172 (setenv "DBUS_FATAL_WARNINGS" "0")
6175 `(("gnome-common" ,gnome-common)
6176 ("gobject-introspection" ,gobject-introspection)
6177 ("intltool" ,intltool)
6178 ("pkg-config" ,pkg-config)
6183 ("gstreamer" ,gstreamer)
6184 ("gst-plugins-base" ,gst-plugins-base)
6186 ("nettle" ,nettle) ; XXX why is this needed?
6188 ("poppler" ,poppler)
6190 ("libexif" ,libexif)
6192 ("libtiff" ,libtiff)
6193 ("libvorbis" ,libvorbis)
6195 ("totem-pl-parser" ,totem-pl-parser)
6198 ("libxml2" ,libxml2)
6200 ("libunistring" ,libunistring)
6202 ("json-glib" ,json-glib)
6203 ("openjpeg" ,openjpeg-1)
6204 ("libosinfo" ,libosinfo)
6206 ("libseccomp" ,libseccomp)
6207 ("libsoup" ,libsoup)
6208 ("libuuid" ,util-linux)))
6209 (synopsis "Metadata database, indexer and search tool")
6210 (home-page "https://wiki.gnome.org/Projects/Tracker")
6212 "Tracker is an advanced framework for first class objects with associated
6213 metadata and tags. It provides a one stop solution for all metadata, tags,
6214 shared object databases, search tools and indexing.")
6215 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6216 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6217 (license (list license:gpl2+
6219 license:lgpl2.0+))))
6221 (define-public nautilus
6227 (uri (string-append "mirror://gnome/sources/" name "/"
6228 (version-major+minor version) "/"
6229 name "-" version ".tar.xz"))
6232 "1fcavvv85mpaz53k5kx5mls7npx7b95s8isnhrgq2iglz4kpr7s1"))))
6233 (build-system meson-build-system)
6236 ;; XXX: FAIL: check-nautilus
6237 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6240 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6241 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6242 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6243 ("gobject-introspection" ,gobject-introspection)
6244 ("intltool" ,intltool)
6245 ("pkg-config" ,pkg-config)))
6251 ("gnome-desktop" ,gnome-desktop)
6252 ("gnome-autoar" ,gnome-autoar)
6253 ("libseccomp" ,libseccomp)
6254 ("libselinux" ,libselinux)
6255 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
6256 ("tracker" ,tracker)
6257 ;; XXX: gtk+ is required by libnautilus-extension.pc
6259 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6261 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6263 ("libexif" ,libexif)
6264 ("libxml2" ,libxml2)))
6265 (synopsis "File manager for GNOME")
6266 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6268 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6269 design and behaviour, giving the user a simple way to navigate and manage its
6271 (license license:gpl2+)))
6273 (define-public baobab
6280 "mirror://gnome/sources/" name "/"
6281 (version-major+minor version) "/"
6282 name "-" version ".tar.xz"))
6285 "0kx721s1hhw1g0nvbqhb93g8iq6f852imyhfhl02zcqy4ipx0kay"))))
6286 (build-system meson-build-system)
6288 '(#:glib-or-gtk? #t))
6290 `(("intltool" ,intltool)
6291 ("pkg-config" ,pkg-config)
6292 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6293 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6294 ("itstool" ,itstool)
6295 ("xmllint" ,libxml2)
6296 ("glib" ,glib "bin")
6300 (synopsis "Disk usage analyzer for GNOME")
6302 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6303 usage in the GNOME desktop environment. It can easily scan device volumes or
6304 a specific user-requested directory branch (local or remote). Once the scan
6305 is complete it provides a graphical representation of each selected folder.")
6306 (home-page "https://wiki.gnome.org/Apps/Baobab")
6307 (license license:gpl2+)))
6309 (define-public gnome-backgrounds
6311 (name "gnome-backgrounds")
6316 (uri (string-append "mirror://gnome/sources/" name "/"
6317 (version-major+minor version) "/"
6318 name "-" version ".tar.xz"))
6321 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
6322 (build-system meson-build-system)
6324 `(("intltool" ,intltool)))
6325 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6326 (synopsis "Background images for the GNOME desktop")
6328 "GNOME backgrounds package contains a collection of graphics files which
6329 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6330 the package creates the proper framework and directory structure so that you
6331 can add your own files to the collection.")
6332 (license (list license:gpl2+
6335 license:cc-by-sa3.0))))
6337 (define-public gnome-screenshot
6339 (name "gnome-screenshot")
6344 (uri (string-append "mirror://gnome/sources/" name "/"
6345 (version-major+minor version) "/"
6346 name "-" version ".tar.xz"))
6349 "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v"))))
6350 (build-system meson-build-system)
6352 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6353 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6354 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6355 ("intltool" ,intltool)
6356 ("appstream-glib" ,appstream-glib)
6357 ("pkg-config" ,pkg-config)))
6360 ("libcanberra" ,libcanberra)
6362 ("libxext" ,libxext)))
6363 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6364 (synopsis "Take pictures of your screen")
6366 "GNOME Screenshot is a utility used for taking screenshots of the entire
6367 screen, a window or a user defined area of the screen, with optional
6368 beautifying border effects.")
6369 (license license:gpl2+)))
6371 (define-public dconf-editor
6373 (name "dconf-editor")
6378 (uri (string-append "mirror://gnome/sources/" name "/"
6379 (version-major+minor version) "/"
6380 name "-" version ".tar.xz"))
6383 "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5"))))
6384 (build-system meson-build-system)
6386 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6387 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6388 ("intltool" ,intltool)
6389 ("pkg-config" ,pkg-config)
6394 ("libxml2" ,libxml2)))
6395 (home-page "https://git.gnome.org/browse/dconf-editor")
6396 (synopsis "Graphical editor for GNOME's dconf configuration system")
6398 "Dconf-editor is a graphical tool for browsing and editing the dconf
6399 configuration system for GNOME. It allows users to configure desktop
6400 software that do not provide their own configuration interface.")
6401 (license license:lgpl2.1+)))
6403 (define-public gnome-default-applications
6405 (name "gnome-default-applications")
6407 (build-system trivial-build-system)
6410 `(("nautilus" ,nautilus)
6411 ("evince" ,evince)))
6413 `(#:modules ((guix build utils))
6416 (use-modules (guix build utils))
6417 (let* ((out (assoc-ref %outputs "out"))
6418 (apps (string-append out "/share/applications")))
6420 (call-with-output-file (string-append apps "/defaults.list")
6422 (format port "[Default Applications]\n")
6423 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6424 (format port "application/pdf=evince.desktop\n")
6425 (format port "application/postscript=evince.desktop\n")))
6427 (synopsis "Default MIME type associations for the GNOME desktop")
6429 "Given many installed packages which might handle a given MIME type, a
6430 user running the GNOME desktop probably has some preferences: for example,
6431 that folders be opened by default by the Nautilus file manager, not the Baobab
6432 disk usage analyzer. This package establishes that set of default MIME type
6433 associations for GNOME.")
6434 (license license:gpl3+)
6437 (define-public gnome
6440 (version (package-version gnome-shell))
6442 (build-system trivial-build-system)
6443 (arguments '(#:builder (begin (mkdir %output) #t)))
6445 ;; TODO: Add more packages according to:
6446 ;; <https://packages.debian.org/jessie/gnome-core>.
6447 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6449 ("font-cantarell" ,font-cantarell)
6450 ("font-dejavu" ,font-dejavu)
6451 ("at-spi2-core" ,at-spi2-core)
6454 ("desktop-file-utils" ,desktop-file-utils)
6456 ("epiphany" ,epiphany)
6458 ("file-roller" ,file-roller)
6460 ("glib-networking" ,glib-networking)
6461 ("gnome-backgrounds" ,gnome-backgrounds)
6462 ("gnome-bluetooth" ,gnome-bluetooth)
6463 ("gnome-calculator" ,gnome-calculator)
6464 ("gnome-control-center" ,gnome-control-center)
6465 ("gnome-disk-utility" ,gnome-disk-utility)
6466 ("gnome-default-applications" ,gnome-default-applications)
6467 ("gnome-keyring" ,gnome-keyring)
6468 ("gnome-online-accounts" ,gnome-online-accounts)
6469 ("gnome-session" ,gnome-session)
6470 ("gnome-settings-daemon" ,gnome-settings-daemon)
6471 ("gnome-shell" ,gnome-shell)
6472 ("gnome-system-monitor" ,gnome-system-monitor)
6473 ("gnome-terminal" ,gnome-terminal)
6474 ("gnome-themes-standard" ,gnome-themes-standard)
6475 ("gst-plugins-base" ,gst-plugins-base)
6476 ("gst-plugins-good" ,gst-plugins-good)
6477 ("gucharmap" ,gucharmap)
6479 ("hicolor-icon-theme" ,hicolor-icon-theme)
6480 ("nautilus" ,nautilus)
6481 ("pinentry-gnome3" ,pinentry-gnome3)
6482 ("pulseaudio" ,pulseaudio)
6483 ("shared-mime-info" ,shared-mime-info)
6484 ("system-config-printer" ,system-config-printer)
6486 ("xdg-user-dirs" ,xdg-user-dirs)
6488 ("zenity" ,zenity)))
6489 (synopsis "The GNU desktop environment")
6490 (home-page "https://www.gnome.org/")
6492 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6493 applications for browsing the web, editing text and images, creating
6494 documents and diagrams, playing media, scanning, and much more.")
6495 (license license:gpl2+)))
6497 (define-public byzanz
6498 ;; The last stable release of Byzanz was in 2011, but there have been many
6499 ;; useful commits made to the Byzanz repository since then that it would be
6500 ;; silly to use such an old release.
6501 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6504 (version (string-append "0.2-1." (string-take commit 7)))
6508 (url "https://git.gnome.org/browse/byzanz")
6510 (file-name (string-append name "-" version "-checkout"))
6513 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6514 (build-system glib-or-gtk-build-system)
6517 (modify-phases %standard-phases
6520 ;; The build system cleverly detects that we're not building from
6521 ;; a release tarball and turns on -Werror for GCC.
6522 ;; Unsurprisingly, there is a warning during compilation that
6523 ;; causes the build to fail unnecessarily, so we remove the flag.
6524 (substitute* '("configure.ac")
6526 ;; The autogen.sh script in gnome-common will run ./configure
6527 ;; by default, which is problematic because source shebangs
6528 ;; have not yet been patched.
6529 (setenv "NOCONFIGURE" "t")
6530 (zero? (system* "sh" "autogen.sh")))))))
6532 `(("autoconf" ,autoconf)
6533 ("automake" ,automake)
6534 ("gnome-common" ,gnome-common)
6535 ("intltool" ,intltool)
6536 ("libtool" ,libtool)
6537 ("pkg-config" ,pkg-config)
6541 ("gstreamer" ,gstreamer)
6542 ("gst-plugins-base" ,gst-plugins-base)
6544 (synopsis "Desktop recording program")
6545 (description "Byzanz is a simple desktop recording program with a
6546 command-line interface. It can record part or all of an X display for a
6547 specified duration and save it as a GIF encoded animated image file.")
6548 (home-page "https://git.gnome.org/browse/byzanz")
6549 (license license:gpl2+))))
6551 (define-public gsound
6557 (uri (string-append "mirror://gnome/sources/" name "/"
6558 (version-major+minor version) "/"
6559 name "-" version ".tar.xz"))
6562 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6563 (build-system glib-or-gtk-build-system)
6565 `(("pkg-config" ,pkg-config)
6566 ("gobject-introspection" ,gobject-introspection)
6570 ("libcanberra" ,libcanberra)))
6571 (home-page "https://wiki.gnome.org/Projects/GSound")
6572 (synopsis "GObject wrapper for libcanberra")
6574 "GSound is a small library for playing system sounds. It's designed to be
6575 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6577 (license license:lgpl2.1+)))
6579 (define-public libzapojit
6585 (uri (string-append "mirror://gnome/sources/" name "/"
6586 (version-major+minor version) "/"
6587 name "-" version ".tar.xz"))
6590 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6591 (build-system gnu-build-system)
6593 `(("gobject-introspection" ,gobject-introspection)
6594 ("intltool" ,intltool)
6595 ("pkg-config" ,pkg-config)))
6597 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6598 ("json-glib" ,json-glib)
6600 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6601 (synopsis "Library for accessing SkyDrive and Hotmail")
6603 "Libzapojit is a GLib-based library for accessing online service APIs of
6604 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6605 (license license:lgpl2.1+)))
6607 (define-public gnome-clocks
6609 (name "gnome-clocks")
6613 (uri (string-append "mirror://gnome/sources/" name "/"
6614 (version-major+minor version) "/"
6615 name "-" version ".tar.xz"))
6618 "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl"))))
6619 (build-system meson-build-system)
6621 '(#:glib-or-gtk? #t))
6624 ("pkg-config" ,pkg-config)
6625 ("glib" ,glib "bin") ; for glib-compile-resources
6626 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6627 ("desktop-file-utils" ,desktop-file-utils)
6628 ("gettext" ,gettext-minimal)
6629 ("itstool" ,itstool)))
6634 ("geoclue" ,geoclue)
6635 ("geocode-glib" ,geocode-glib)
6636 ("libgweather" ,libgweather)
6637 ("gnome-desktop" ,gnome-desktop)))
6638 (home-page "https://wiki.gnome.org/Apps/Clocks")
6639 (synopsis "GNOME's clock application")
6641 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6642 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6643 (license license:gpl3+)))
6645 (define-public gnome-calendar
6647 (name "gnome-calendar")
6651 (uri (string-append "mirror://gnome/sources/" name "/"
6652 (version-major+minor version) "/"
6653 name "-" version ".tar.xz"))
6656 "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw"))))
6657 (build-system meson-build-system)
6660 ;; gnome-calendar has to be installed before the tests can be run
6661 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6664 `(("gettext" ,gettext-minimal)
6665 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6666 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6667 ("pkg-config" ,pkg-config)))
6669 `(("evolution-data-server" ,evolution-data-server)
6670 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6671 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6672 ("libdazzle" ,libdazzle)
6673 ("libedataserverui" ,evolution-data-server)
6674 ("libgweather" ,libgweather)
6675 ("geoclue" ,geoclue)))
6676 (home-page "https://wiki.gnome.org/Apps/Calendar")
6677 (synopsis "GNOME's calendar application")
6679 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6680 desktop. It supports multiple calendars, month, week and year view.")
6681 (license license:gpl3+)))
6683 (define-public gnome-todo
6689 (uri (string-append "mirror://gnome/sources/" name "/"
6690 (version-major+minor version) "/"
6691 name "-" version ".tar.xz"))
6694 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
6695 (build-system meson-build-system)
6698 #:phases (modify-phases %standard-phases
6700 'install 'wrap-gnome-todo
6701 (lambda* (#:key inputs outputs #:allow-other-keys)
6702 (let ((out (assoc-ref outputs "out"))
6703 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6704 (python-path (getenv "PYTHONPATH")))
6705 (wrap-program (string-append out "/bin/gnome-todo")
6706 ;; XXX: gi plugins are broken.
6707 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6709 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6710 `("PYTHONPATH" ":" prefix (,python-path))))
6713 `(("gettext" ,gettext-minimal)
6714 ("gobject-introspection" ,gobject-introspection)
6715 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6716 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6717 ("pkg-config" ,pkg-config)))
6719 `(("rest" ,rest) ; For Todoist plugin
6720 ("json-glib" ,json-glib) ; For Todoist plugin
6721 ("libedataserverui" ,evolution-data-server)
6722 ("libical" ,libical)
6723 ("libpeas" ,libpeas)
6724 ("python-pygobject" ,python-pygobject)
6725 ("evolution-data-server" ,evolution-data-server)
6726 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6727 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6728 (home-page "https://wiki.gnome.org/Apps/Todo")
6729 (synopsis "GNOME's ToDo Application")
6731 "GNOME To Do is a simplistic personal task manager designed to perfectly
6732 fit the GNOME desktop.")
6733 (license license:gpl3+)))
6735 (define-public gnome-dictionary
6737 (name "gnome-dictionary")
6741 (uri (string-append "mirror://gnome/sources/" name "/"
6742 (version-major+minor version) "/"
6743 name "-" version ".tar.xz"))
6746 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6747 (build-system meson-build-system)
6748 (arguments '(#:glib-or-gtk? #t
6749 #:phases (modify-phases %standard-phases
6750 (add-after 'unpack 'patch-install-script
6752 ;; This script attempts to compile glib schemas
6753 ;; and create an empty MIME database. We do
6754 ;; that elsewhere, so prevent it from running.
6755 (substitute* "build-aux/post-install.sh"
6756 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6759 `(("glib:bin" ,glib "bin")
6760 ("gobject-introspection" ,gobject-introspection)
6761 ("intltool" ,intltool)
6762 ("itstool" ,itstool)
6763 ("pkg-config" ,pkg-config)
6764 ("xmllint" ,libxml2)))
6766 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6768 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6769 (synopsis "Look up words in dictionary sources")
6771 "GNOME Dictionary can look for the definition or translation of a word in
6772 existing databases over the internet.")
6773 (license license:gpl3+)))
6775 (define-public gnome-tweaks
6777 (name "gnome-tweaks")
6781 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
6782 (version-major+minor version) "/"
6783 "gnome-tweaks-" version ".tar.xz"))
6785 (list (search-patch "gnome-tweaks-search-paths.patch")))
6788 "0pj6k0106dy92lnb646dd656qdvljqwbaya95xp369a016pzngpa"))))
6789 (build-system meson-build-system)
6792 #:configure-flags '("-Dlocalstatedir=/tmp"
6793 "-Dsysconfdir=/tmp")
6794 #:imported-modules ((guix build python-build-system)
6795 ,@%meson-build-system-modules)
6797 (modify-phases %standard-phases
6798 (add-after 'install 'wrap
6799 (@@ (guix build python-build-system) wrap))
6800 (add-after 'wrap 'wrap-gi-typelib
6801 (lambda* (#:key inputs outputs #:allow-other-keys)
6802 (let ((out (assoc-ref outputs "out"))
6803 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6804 (wrap-program (string-append out "/bin/gnome-tweaks")
6805 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6808 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6809 ("intltool" ,intltool)
6810 ("pkg-config" ,pkg-config)))
6812 `(("gnome-desktop" ,gnome-desktop)
6814 ("gobject-introspection" ,gobject-introspection)
6815 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6816 ("libnotify" ,libnotify)
6817 ("libsoup" ,libsoup)
6818 ("nautilus" ,nautilus)
6820 ("python-pygobject" ,python-pygobject)))
6821 (synopsis "Customize advanced GNOME 3 options")
6822 (home-page "https://wiki.gnome.org/Apps/Tweaks")
6824 "GNOME Tweaks allows adjusting advanced configuration settings in
6825 GNOME 3. This includes things like the fonts used in user interface elements,
6826 alternative user interface themes, changes in window management behavior,
6827 GNOME Shell appearance and extension, etc.")
6828 (license license:gpl3+)))
6830 ;; This package has been renamed by upstream.
6831 (define-public gnome-tweak-tool
6832 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
6834 (define-public gnome-shell-extensions
6836 (name "gnome-shell-extensions")
6840 (uri (string-append "mirror://gnome/sources/" name "/"
6841 (version-major+minor version) "/"
6842 name "-" version ".tar.xz"))
6845 "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9"))))
6846 (build-system meson-build-system)
6848 '(#:configure-flags '("-Dextension_set=all")))
6850 `(("intltool" ,intltool)
6851 ("pkg-config" ,pkg-config)))
6854 ("glib" ,glib "bin")))
6855 (synopsis "Extensions for GNOME Shell")
6856 (description "GNOME Shell extensions modify and extend GNOME Shell
6857 functionality and behavior.")
6858 (home-page "https://extensions.gnome.org/")
6859 (license license:gpl3+)))
6861 (define-public numix-theme
6863 (name "numix-theme")
6868 (url "https://github.com/numixproject/numix-gtk-theme.git")
6870 (file-name (git-file-name name version))
6873 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
6874 (build-system gnu-build-system)
6876 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
6878 (modify-phases %standard-phases
6882 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
6883 ("gnome-shell" ,gnome-shell)
6885 ("xmllint" ,libxml2)
6886 ("ruby-sass" ,ruby-sass)))
6887 (synopsis "Flat theme with light and dark elements")
6888 (description "Numix is a modern flat theme with a combination of light and
6889 dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
6890 (home-page "https://numixproject.github.io")
6891 (license license:gpl3+)))
6893 (define-public arc-theme
6896 (version "20181022")
6900 (url "https://github.com/NicoHood/arc-theme.git")
6902 (file-name (git-file-name name version))
6905 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
6906 (build-system gnu-build-system)
6909 (modify-phases %standard-phases
6910 ;; autogen.sh calls configure at the end of the script.
6912 (lambda _ (invoke "autoreconf" "-vfi"))))))
6914 `(("autoconf" ,autoconf)
6915 ("automake" ,automake)
6916 ("glib" ,glib "bin") ; for glib-compile-resources
6917 ("gnome-shell" ,gnome-shell)
6919 ("inkscape" ,inkscape)
6920 ("optipng" ,optipng)
6921 ("pkg-config" ,pkg-config)
6923 (synopsis "A flat GTK+ theme with transparent elements")
6924 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6925 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6926 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6927 (home-page "https://github.com/horst3180/arc-theme")
6928 ;; No "or later" language found.
6929 (license license:gpl3+)))
6931 (define-public faba-icon-theme
6933 (name "faba-icon-theme")
6938 (uri (string-append "https://github.com/moka-project/"
6939 name "/archive/v" version ".tar.gz"))
6940 (file-name (string-append name "-" version ".tar.gz"))
6943 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
6944 (build-system meson-build-system)
6947 (modify-phases %standard-phases
6948 (add-before 'configure 'disable-post-install
6950 (substitute* "meson.build"
6951 (("meson.add_install_script.*") "")))))))
6953 `(("autoconf" ,autoconf)
6954 ("automake" ,automake)))
6955 (synopsis "Faba icon theme")
6957 "Faba is a minimal icon set used as a basis for other themes such as
6959 (home-page "https://snwh.org/moka")
6960 (license (list license:lgpl3+
6961 license:cc-by-sa4.0))))
6963 (define-public moka-icon-theme
6965 (inherit faba-icon-theme)
6966 (name "moka-icon-theme")
6970 (uri (string-append "https://github.com/moka-project"
6971 "/moka-icon-theme/archive/v"
6973 (file-name (string-append name "-" version ".tar.gz"))
6976 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
6978 ;; Moka is based on Faba by using it as a fallback icon set instead of
6979 ;; bundling it, so we need to add it as a propagated input.
6980 `(("faba-icon-theme" ,faba-icon-theme)))
6981 (synopsis "Moka icon theme")
6982 (description "Moka is a stylized desktop icon set, designed to be clear,
6983 simple and consistent.")
6984 (license (list license:gpl3+
6985 license:cc-by-sa4.0))))
6987 (define-public arc-icon-theme
6989 (name "arc-icon-theme")
6990 (version "20161122")
6993 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6994 "/archive/" version ".tar.gz"))
6995 (file-name (string-append name "-" version ".tar.gz"))
6998 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6999 (build-system gnu-build-system)
7002 (modify-phases %standard-phases
7003 (add-after 'unpack 'disable-configure-during-bootstrap
7005 (substitute* "autogen.sh"
7006 (("^\"\\$srcdir/configure\".*") ""))
7009 `(("autoconf" ,autoconf)
7010 ("automake" ,automake)))
7011 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7013 `(("moka-icon-theme" ,moka-icon-theme)))
7014 (synopsis "Arc icon theme")
7015 (description "The Arc icon theme provides a set of icons matching the
7016 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7017 the Moka icon theme.")
7018 (home-page "https://github.com/horst3180/arc-icon-theme")
7019 (license license:gpl3+)))
7021 (define-public folks
7028 "mirror://gnome/sources/folks/"
7029 (version-major+minor version) "/"
7030 "folks-" version ".tar.xz"))
7033 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
7034 (build-system glib-or-gtk-build-system)
7037 ("dbus-glib" ,dbus-glib)
7038 ("evolution-data-server" ,evolution-data-server)
7041 ("telepathy-glib" ,telepathy-glib)))
7043 `(("gobject-introspection" ,gobject-introspection)
7044 ("intltool" ,intltool)
7045 ("pkg-config" ,pkg-config)
7047 (synopsis "Library to aggregate data about people")
7048 (description "Libfolks is a library that aggregates information about people
7049 from multiple sources (e.g., Telepathy connection managers for IM contacts,
7050 Evolution Data Server for local contacts, libsocialweb for web service contacts,
7051 etc.) to create metacontacts. It's written in Vala, which generates C code when
7053 (home-page "https://wiki.gnome.org/Projects/Folks")
7054 (license license:lgpl2.1+)))
7056 (define-public gfbgraph
7063 "mirror://gnome/sources/" name "/"
7064 (version-major+minor version) "/"
7065 name "-" version ".tar.xz"))
7068 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7069 (build-system glib-or-gtk-build-system)
7071 `(#:tests? #f ; Tests appear to require the network.
7072 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7073 #:configure-flags '("--disable-gtk-doc"
7075 "--enable-introspection")))
7077 `(("pkg-config" ,pkg-config)
7078 ("gobject-introspection" ,gobject-introspection)))
7080 `(("json-glib" ,json-glib)
7081 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7083 (synopsis "GLib/GObject wrapper for the Facebook API")
7084 (description "This library allows you to use the Facebook API from
7085 GLib/GObject code.")
7086 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7087 (license license:lgpl2.1+)))
7089 (define-public libgnomekbd
7091 (name "libgnomekbd")
7095 (uri (string-append "mirror://gnome/sources/" name "/"
7096 (version-major+minor version) "/"
7097 name "-" version ".tar.xz"))
7100 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
7101 (build-system gnu-build-system)
7103 `(("pkg-config" ,pkg-config)
7104 ("glib" ,glib "bin")
7105 ("intltool" ,intltool)))
7107 ;; Referred to in .h files and .pc.
7110 ("libxklavier" ,libxklavier)))
7111 (home-page "https://www.gnome.org")
7112 (synopsis "GNOME keyboard configuration library")
7114 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7115 environment, which can notably display keyboard layouts.")
7116 (license license:lgpl2.0+)))
7118 ;;; This package is no longer maintained:
7119 ;;; https://wiki.gnome.org/Attic/LibUnique
7120 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7121 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7122 (define-public libunique
7128 (uri (string-append "mirror://gnome/sources/" name "/"
7129 (version-major+minor version) "/"
7130 name "-" version ".tar.xz"))
7133 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7134 (build-system glib-or-gtk-build-system)
7136 `(#:configure-flags '("--disable-static"
7137 "--disable-dbus" ; use gdbus
7138 "--enable-introspection")))
7140 `(("pkg-config" ,pkg-config)
7141 ("gobject-introspection" ,gobject-introspection)
7142 ("glib:bin" ,glib "bin")
7143 ("gtk-doc" ,gtk-doc)))
7145 ;; Referred to in .h files and .pc.
7147 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7148 (synopsis "Library for writing single instance applications")
7150 "Libunique is a library for writing single instance applications. If you
7151 launch a single instance application twice, the second instance will either just
7152 quit or will send a message to the running instance. Libunique makes it easy to
7153 write this kind of application, by providing a base class, taking care of all
7154 the IPC machinery needed to send messages to a running instance, and also
7155 handling the startup notification side.")
7156 (license license:lgpl2.1+)))
7158 (define-public gnome-calculator
7160 (name "gnome-calculator")
7165 (uri (string-append "mirror://gnome/sources/" name "/"
7166 (version-major+minor version) "/"
7167 name "-" version ".tar.xz"))
7170 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
7171 (build-system meson-build-system)
7172 (arguments '(#:glib-or-gtk? #t))
7174 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7175 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7176 ("intltool" ,intltool)
7177 ("itstool" ,itstool)
7179 ("pkg-config" ,pkg-config)))
7182 ("gtksourceview" ,gtksourceview)
7183 ("libsoup" ,libsoup)
7184 ("libxml2" ,libxml2)
7187 (home-page "https://wiki.gnome.org/Apps/Calculator")
7188 (synopsis "Desktop calculator")
7190 "Calculator is an application that solves mathematical equations and
7191 is suitable as a default application in a Desktop environment.")
7192 (license license:gpl3)))
7201 (uri (string-append "https://launchpad.net/xpad/trunk/"
7202 version "/+download/"
7203 name "-" version ".tar.bz2"))
7206 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
7207 (build-system gnu-build-system)
7209 `(("autoconf" ,autoconf)
7210 ("automake" ,automake)
7211 ("gtk+:bin" ,gtk+ "bin")
7212 ("intltool" ,intltool)
7213 ("pkg-config" ,pkg-config)))
7215 `(("gtksourceview" ,gtksourceview-3)
7217 (home-page "https://wiki.gnome.org/Apps/Xpad")
7218 (synopsis "Virtual sticky note")
7220 "Xpad is a sticky note that strives to be simple, fault tolerant,
7221 and customizable. Xpad consists of independent pad windows, each is
7222 basically a text box in which notes can be written.")
7223 (license license:gpl3+)))
7225 (define-public gucharmap
7226 (let ((unicode-files
7228 "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
7230 "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
7232 "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
7234 "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
7236 "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
7238 "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
7245 (uri (string-append "mirror://gnome/sources/" name "/"
7246 (version-major+minor version) "/"
7247 name "-" version ".tar.xz"))
7250 "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
7251 (build-system glib-or-gtk-build-system)
7253 `(#:modules ((ice-9 match)
7254 (guix build glib-or-gtk-build-system)
7257 (list "--with-unicode-data=../unicode-data")
7259 (modify-phases %standard-phases
7260 (add-after 'unpack 'prepare-unicode-data
7261 (lambda* (#:key inputs #:allow-other-keys)
7262 (mkdir-p "../unicode-data")
7263 (with-directory-excursion "../unicode-data"
7264 (for-each (match-lambda
7266 (install-file (assoc-ref inputs file) ".")))
7270 `(("desktop-file-utils" ,desktop-file-utils)
7271 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7272 ("gobject-introspection" ,gobject-introspection)
7273 ("intltool" ,intltool)
7274 ("itstool" ,itstool)
7275 ("pkg-config" ,pkg-config)
7276 ,@(map (match-lambda
7282 "http://www.unicode.org/Public/10.0.0/ucd/"
7284 (sha256 (base32 hash))))))
7289 ("xmllint" ,libxml2)))
7290 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7291 (synopsis "Unicode character picker and font browser")
7293 "This program allows you to browse through all the available Unicode
7294 characters and categories for the installed fonts, and to examine their
7295 detailed properties. It is an easy way to find the character you might
7296 only know by its Unicode name or code point.")
7297 (license license:gpl3+))))
7299 (define-public bluefish
7306 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7307 name "-" version ".tar.gz"))
7310 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
7311 (build-system gnu-build-system)
7313 `(("desktop-file-utils" ,desktop-file-utils)
7314 ("intltool" ,intltool)
7315 ("pkg-config" ,pkg-config)))
7317 `(("enchant" ,enchant)
7319 ("python" ,python-2)
7320 ("xmllint" ,libxml2)
7321 ("gucharmap" ,gucharmap)))
7322 (home-page "http://bluefish.openoffice.nl")
7323 (synopsis "Web development studio")
7325 "Bluefish is an editor targeted towards programmers and web developers,
7326 with many options to write web sites, scripts and other code.
7327 Bluefish supports many programming and markup languages.")
7328 (license license:gpl3+)))
7330 (define-public gnome-system-monitor
7332 (name "gnome-system-monitor")
7337 (uri (string-append "mirror://gnome/sources/" name "/"
7338 (version-major+minor version) "/"
7339 name "-" version ".tar.xz"))
7342 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7343 (build-system meson-build-system)
7346 #:configure-flags '("-Dsystemd=false")))
7348 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
7349 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7350 ("intltool" ,intltool)
7351 ("itstool" ,itstool)
7352 ("libgtop" ,libgtop)
7354 ("pkg-config" ,pkg-config)))
7356 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7359 ("librsvg" ,librsvg)
7360 ("libxml2" ,libxml2)
7361 ("libwnck" ,libwnck)))
7362 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7363 (synopsis "Process viewer and system resource monitor for GNOME")
7365 "GNOME System Monitor is a GNOME process viewer and system monitor with
7366 an attractive, easy-to-use interface. It has features, such as a tree view
7367 for process dependencies, icons for processes, the ability to hide processes,
7368 graphical time histories of CPU/memory/swap usage and the ability to
7369 kill/reinice processes.")
7370 (license license:gpl2+)))
7372 (define-public python-pyatspi
7374 (name "python-pyatspi")
7379 "mirror://gnome/sources/pyatspi/"
7380 (version-major+minor version)
7381 "/pyatspi-" version ".tar.xz"))
7384 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7385 ;; Patch from upstream, fixed in newer versions.
7386 (patches (search-patches "python-pyatspi-python-37.patch"))))
7387 (build-system gnu-build-system)
7390 (modify-phases %standard-phases
7391 (add-before 'build 'fix-atk-load
7393 (substitute* "pyatspi/__init__.py"
7394 (("from gi.repository import Atspi")
7395 "gi.require_version('Gtk', '3.0')
7396 from gi.repository import Gtk
7397 from gi.repository import Atspi"))
7400 `(("pkg-config" ,pkg-config)))
7402 `(("python" ,python)
7403 ("python-pygobject" ,python-pygobject)))
7404 (synopsis "Python client bindings for D-Bus AT-SPI")
7405 (home-page "https://wiki.linuxfoundation.org/accessibility\
7406 /atk/at-spi/at-spi_on_d-bus")
7408 "This package includes a python client library for the AT-SPI D-Bus
7409 accessibility infrastructure.")
7410 (license license:lgpl2.0)
7411 (properties '((upstream-name . "pyatspi")))))
7420 "mirror://gnome/sources/" name "/"
7421 (version-major+minor version) "/"
7422 name "-" version ".tar.xz"))
7425 "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g"))))
7426 (build-system glib-or-gtk-build-system)
7429 (modify-phases %standard-phases
7430 (add-before 'configure 'qualify-xkbcomp
7431 (lambda* (#:key inputs #:allow-other-keys)
7432 (let ((xkbcomp (string-append
7433 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7434 (substitute* "src/orca/orca.py"
7435 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7437 (add-after 'install 'wrap-orca
7438 (lambda* (#:key outputs #:allow-other-keys)
7439 (let* ((out (assoc-ref outputs "out"))
7440 (prog (string-append out "/bin/orca")))
7442 `("GI_TYPELIB_PATH" ":" prefix
7443 (,(getenv "GI_TYPELIB_PATH")))
7444 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7445 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7446 `("PYTHONPATH" ":" prefix
7447 (,(getenv "PYTHONPATH")))))
7450 `(("intltool" ,intltool)
7451 ("itstool" ,itstool)
7452 ("pkg-config" ,pkg-config)
7453 ("xmllint" ,libxml2)))
7455 `(("at-spi2-atk" ,at-spi2-atk)
7456 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7457 ("gstreamer" ,gstreamer)
7458 ("gst-plugins-base" ,gst-plugins-base)
7459 ("gst-plugins-good" ,gst-plugins-good)
7462 ("python-pygobject" ,python-pygobject)
7463 ("python-pyatspi" ,python-pyatspi)
7464 ("python-speechd" ,speech-dispatcher)
7465 ("xkbcomp" ,xkbcomp)))
7467 "Screen reader for individuals who are blind or visually impaired")
7468 (home-page "https://wiki.gnome.org/Projects/Orca")
7470 "Orca is a screen reader that provides access to the graphical desktop
7471 via speech and refreshable braille. Orca works with applications and toolkits
7472 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7473 (license license:lgpl2.1+)))
7475 (define-public gspell
7481 (uri (string-append "mirror://gnome/sources/" name "/"
7482 (version-major+minor version) "/"
7483 name "-" version ".tar.xz"))
7486 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
7487 (patches (search-patches "gspell-dash-test.patch"))))
7488 (build-system glib-or-gtk-build-system)
7491 (modify-phases %standard-phases
7492 (add-before 'check 'pre-check
7493 (lambda* (#:key inputs #:allow-other-keys)
7494 ;; Tests require a running X server.
7495 (system "Xvfb :1 &")
7496 (setenv "DISPLAY" ":1")
7498 ;; For the missing /etc/machine-id.
7499 (setenv "DBUS_FATAL_WARNINGS" "0")
7501 ;; Allow Enchant and its Aspell backend to find the en_US
7503 (setenv "ASPELL_DICT_DIR"
7504 (string-append (assoc-ref inputs "aspell-dict-en")
7510 ("iso-codes" ,iso-codes)))
7512 `(("glib" ,glib "bin")
7513 ("pkg-config" ,pkg-config)
7514 ("xmllint" ,libxml2)
7517 ("aspell-dict-en" ,aspell-dict-en)
7518 ("xorg-server" ,xorg-server)))
7520 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7521 (home-page "https://wiki.gnome.org/Projects/gspell")
7522 (synopsis "GNOME's alternative spell checker")
7524 "gspell provides a flexible API to add spell-checking to a GTK+
7525 application. It provides a GObject API, spell-checking to text entries and
7526 text views, and buttons to choose the language.")
7527 (license license:gpl2+)))
7529 (define-public gnome-planner
7531 (name "gnome-planner")
7535 (uri (string-append "mirror://gnome/sources/planner/"
7536 (version-major+minor version) "/planner-"
7540 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7541 (build-system glib-or-gtk-build-system)
7543 ;; Disable the Python bindings because the Planner program functions
7544 ;; without them, and (as of 2017-06-13) we have not packaged all of
7545 ;; packages that are necessary for building the Python bindings.
7547 (list "--disable-python"
7548 ,@(if (string=? "aarch64-linux" (%current-system))
7549 '("--build=aarch64-unknown-linux-gnu")
7552 `(("libgnomecanvas" ,libgnomecanvas)
7553 ("libgnomeui" ,libgnomeui)
7554 ("libglade" ,libglade)
7555 ("gnome-vfs" ,gnome-vfs)
7557 ("libxml2" ,libxml2)
7558 ("libxslt" ,libxslt)
7562 `(("intltool" ,intltool)
7563 ("scrollkeeper" ,scrollkeeper)
7564 ("pkg-config" ,pkg-config)))
7565 (home-page "https://wiki.gnome.org/Apps/Planner")
7566 (synopsis "Project management software for the GNOME desktop")
7568 "GNOME Planner is a project management tool based on the Work Breakdown
7569 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7570 the resources, tasks, and constraints that you define, Planner generates
7571 various views into a project. For example, Planner can show a Gantt chart of
7572 the project. It can show a detailed summary of tasks including their
7573 duration, cost, and current progress. It can also show a report of resource
7574 utilization that highlights under-utilized and over-utilized resources. These
7575 views can be printed as PDF or PostScript files, or exported to HTML.")
7576 (license license:gpl2+)))
7578 (define-public lollypop
7585 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7586 "5a7cd7c72b6d83ae08d0c54c4691f9df/"
7587 name "-" version ".tar.xz"))
7590 "1r5wn0bja9psz6nr1rcaysdkkwz84rbyzpdfw66cxa6wiy52pkjm"))))
7591 (build-system meson-build-system)
7593 `(#:imported-modules ((guix build python-build-system)
7594 ,@%meson-build-system-modules)
7596 #:tests? #f ; no test suite
7598 (modify-phases %standard-phases
7599 (add-after 'install 'wrap-program
7600 (lambda* (#:key outputs #:allow-other-keys)
7601 (let ((out (assoc-ref outputs "out"))
7602 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7603 (wrap-program (string-append out "/bin/lollypop")
7604 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7606 (add-after 'install 'wrap
7607 (@@ (guix build python-build-system) wrap)))))
7609 `(("intltool" ,intltool)
7610 ("itstool" ,itstool)
7611 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7612 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7613 ("pkg-config" ,pkg-config)))
7615 `(("gobject-introspection" ,gobject-introspection)
7616 ("gst-plugins-base" ,gst-plugins-base)
7617 ("libnotify" ,libnotify)
7618 ("libsecret" ,libsecret)
7619 ("libsoup" ,libsoup)
7621 ("python-beautifulsoup4" ,python-beautifulsoup4)
7622 ("python-gst" ,python-gst)
7623 ("python-pil" ,python-pillow)
7624 ("python-pycairo" ,python-pycairo)
7625 ("python-pygobject" ,python-pygobject)
7626 ("python-pylast" ,python-pylast)
7627 ("totem-pl-parser" ,totem-pl-parser)
7628 ("webkitgtk" ,webkitgtk)))
7630 `(;; gst-plugins-base is required to start Lollypop,
7631 ;; the others are required to play streaming.
7632 ("gst-plugins-good" ,gst-plugins-good)
7633 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7634 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7635 (synopsis "GNOME music playing application")
7637 "Lollypop is a music player designed to play well with GNOME desktop.
7638 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7639 from artists and tracks from the web. It also fetches cover artworks
7640 automatically and it can stream songs from online music services and charts.")
7641 (license license:gpl3+)))
7643 (define-public gnome-video-effects
7645 (name "gnome-video-effects")
7649 (uri (string-append "mirror://gnome/sources/" name "/"
7650 (version-major+minor version) "/" name "-"
7654 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7655 (build-system glib-or-gtk-build-system)
7657 `(#:out-of-source? #f))
7659 `(("glib:bin" ,glib "bin")
7660 ("intltool" ,intltool)
7661 ("gettext" ,gettext-minimal)
7662 ("pkg-config" ,pkg-config)))
7663 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7664 (synopsis "Video effects for Cheese and other GNOME applications")
7666 "A collection of GStreamer video filters and effects to be used in
7667 photo-booth-like software, such as Cheese.")
7668 (license license:gpl2+)))
7670 (define-public cheese
7676 (uri (string-append "mirror://gnome/sources/" name "/"
7677 (version-major+minor version) "/" name "-"
7681 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
7683 ;; Tests require GDK.
7686 (modify-phases %standard-phases
7687 (add-before 'install 'skip-gtk-update-icon-cache
7689 ;; Don't create 'icon-theme.cache'
7690 (substitute* "Makefile"
7691 (("gtk-update-icon-cache") (which "true")))
7693 (add-after 'install 'wrap-cheese
7694 (lambda* (#:key inputs outputs #:allow-other-keys)
7695 (let ((out (assoc-ref outputs "out"))
7696 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7697 (wrap-program (string-append out "/bin/cheese")
7698 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7700 (build-system glib-or-gtk-build-system)
7702 `(("glib:bin" ,glib "bin")
7703 ("intltool" ,intltool)
7704 ("itstool" ,itstool)
7705 ("libxml2" ,libxml2)
7706 ("pkg-config" ,pkg-config)
7709 `(("gnome-video-effects" ,gnome-video-effects)
7710 ("clutter" ,clutter)
7711 ("clutter-gst" ,clutter-gst)
7712 ("clutter-gtk" ,clutter-gtk)
7713 ("libcanberra" ,libcanberra)
7714 ("gdk-pixbuf" ,gdk-pixbuf)
7716 ("gstreamer" ,gstreamer)))
7718 `(("gnome-desktop" ,gnome-desktop)
7719 ("gobject-introspection" ,gobject-introspection)
7720 ("gst-plugins-base" ,gst-plugins-base)
7721 ("gst-plugins-bad" ,gst-plugins-bad)
7724 ("libxtst" ,libxtst)))
7725 (home-page "https://wiki.gnome.org/Apps/Cheese")
7726 (synopsis "Webcam photo booth software for GNOME")
7728 "Cheese uses your webcam to take photos and videos. Cheese can also
7729 apply fancy special effects and lets you share the fun with others.")
7730 (license license:gpl2+)))
7732 (define-public sound-juicer
7734 (name "sound-juicer")
7739 (uri (string-append "mirror://gnome/sources/" name "/"
7740 (version-major+minor version) "/"
7741 name "-" version ".tar.xz"))
7744 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7745 (build-system glib-or-gtk-build-system)
7747 `(("desktop-file-utils" ,desktop-file-utils)
7748 ("intltool" ,intltool)
7749 ("itstool" ,itstool)
7750 ("pkg-config" ,pkg-config)
7751 ("xmllint" ,libxml2)))
7754 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7755 ("gstreamer" ,gstreamer)
7756 ("gst-plugins-base" ,gst-plugins-base)
7757 ("gst-plugins-good" ,gst-plugins-good)
7758 ("iso-codes" ,iso-codes)
7759 ("libbrasero-media3" ,brasero)
7760 ("libcanberra" ,libcanberra)
7761 ("libdiscid" ,libdiscid)
7762 ("libmusicbrainz" ,libmusicbrainz)
7764 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7765 (synopsis "Audio music cd ripper")
7766 (description "Sound Juicer extracts audio from compact discs and convert it
7767 into audio files that a personal computer or digital audio player can play.
7768 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7769 mp3, Ogg Vorbis and FLAC")
7770 (license license:gpl2+)))
7772 (define-public soundconverter
7774 (name "soundconverter")
7779 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7780 version "/+download/"
7781 "soundconverter-" version ".tar.xz"))
7784 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
7787 "soundconverter-remove-gconf-dependency.patch"))))
7788 (build-system glib-or-gtk-build-system)
7790 `(#:imported-modules ((guix build python-build-system)
7791 (guix build glib-or-gtk-build-system)
7792 ,@%gnu-build-system-modules)
7794 #:modules ((guix build glib-or-gtk-build-system)
7796 ((guix build gnu-build-system) #:prefix gnu:)
7797 ((guix build python-build-system) #:prefix python:))
7800 (modify-phases %standard-phases
7801 (add-after 'install 'wrap-soundconverter-for-python
7802 (assoc-ref python:%standard-phases 'wrap))
7803 (add-after 'install 'wrap-soundconverter
7804 (lambda* (#:key inputs outputs #:allow-other-keys)
7805 (let ((out (assoc-ref outputs "out"))
7806 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7807 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7808 (wrap-program (string-append out "/bin/soundconverter")
7809 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7810 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7813 `(("intltool" ,intltool)
7814 ("pkg-config" ,pkg-config)
7815 ("glib:bin" ,glib "bin")))
7819 ("python-pygobject" ,python-pygobject)
7820 ("gstreamer" ,gstreamer)
7821 ("gst-plugins-base" ,gst-plugins-base)))
7822 (home-page "http://soundconverter.org/")
7823 (synopsis "Convert between audio formats with a graphical interface")
7825 "SoundConverter supports converting between many audio formats including
7826 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7827 configurable file renaming. ")
7828 (license license:gpl3)))
7830 (define-public workrave
7838 (url "https://github.com/rcaelers/workrave.git")
7839 (commit (string-append "v" (string-map
7840 (match-lambda (#\. #\_) (chr chr))
7842 (file-name (git-file-name name version))
7844 (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw"))))
7845 (build-system glib-or-gtk-build-system)
7846 (propagated-inputs `(("glib" ,glib)
7848 ("gdk-pixbuf" ,gdk-pixbuf)
7852 ("libxtst" ,libxtst)
7854 ("libice" ,libice)))
7855 (inputs `(("libsm" ,libsm)
7856 ("python-cheetah" ,python2-cheetah)))
7857 (native-inputs `(("glib" ,glib "bin")
7858 ("pkg-config" ,pkg-config)
7859 ("gettext" ,gnu-gettext)
7860 ("autoconf" ,autoconf)
7861 ("autoconf-archive" , autoconf-archive)
7862 ("automake" ,automake)
7863 ("libtool" ,libtool)
7864 ("intltool" ,intltool)
7865 ("libxscrnsaver" ,libxscrnsaver)
7866 ("gobject-introspection" ,gobject-introspection)
7867 ("python2" ,python-2)))
7868 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7870 "Workrave is a program that assists in the recovery and prevention of
7871 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7872 micro-pauses and rest breaks, and restricts you to your daily limit.")
7873 (home-page "http://www.workrave.org")
7874 (license license:gpl3+)))
7882 (uri (string-append "mirror://gnome/sources/ghex/"
7883 (version-major+minor version) "/"
7884 "ghex-" version ".tar.xz"))
7887 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7888 (build-system glib-or-gtk-build-system)
7890 `(("pkg-config" ,pkg-config)
7891 ("gnome-common" ,gnome-common)
7893 ("intltool" ,intltool)
7894 ("yelp-tools" ,yelp-tools)
7895 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
7899 (synopsis "GNOME hexadecimal editor")
7900 (description "The GHex program can view and edit files in two ways:
7901 hexadecimal or ASCII. It is useful for editing binary files in general.")
7902 (home-page "https://wiki.gnome.org/Apps/Ghex")
7903 (license license:gpl2)))
7905 (define-public libdazzle
7911 (uri (string-append "mirror://gnome/sources/libdazzle/"
7912 (version-major+minor version) "/"
7913 "libdazzle-" version ".tar.xz"))
7916 "1m9n1gcxndly24rjkxzvmx02a2rkb6ad4cy7p6ncanm1kyp0wxvq"))))
7917 (build-system meson-build-system)
7920 (modify-phases %standard-phases
7921 (add-after 'unpack 'disable-failing-test
7923 ;; Disable failing test.
7924 (substitute* "tests/meson.build"
7925 (("test\\('test-application") "#"))
7927 (add-before 'check 'pre-check
7929 ;; Tests require a running X server.
7930 (system "Xvfb :1 &")
7931 (setenv "DISPLAY" ":1")
7934 `(("glib" ,glib "bin") ; glib-compile-resources
7935 ("pkg-config" ,pkg-config)
7937 ("xorg-server" ,xorg-server)))
7940 ("gobject-introspection" ,gobject-introspection)
7943 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7944 (synopsis "Companion library to GObject and Gtk+")
7945 (description "The libdazzle library is a companion library to GObject and
7946 Gtk+. It provides various features that the authors wish were in the
7947 underlying library but cannot for various reasons. In most cases, they are
7948 wildly out of scope for those libraries. In other cases, they are not quite
7949 generic enough to work for everyone.")
7950 (license license:gpl3+)))
7952 (define-public evolution
7958 (uri (string-append "mirror://gnome/sources/evolution/"
7959 (version-major+minor version) "/"
7960 "evolution-" version ".tar.xz"))
7963 "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
7964 (build-system cmake-build-system)
7967 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
7968 "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
7969 ; in four years and cannot be built.
7971 `(("glib" ,glib "bin") ; glib-mkenums
7972 ("pkg-config" ,pkg-config)
7973 ("intltool" ,intltool)
7974 ("itstool" ,itstool)))
7976 `(("enchant" ,enchant)
7977 ("evolution-data-server" ,evolution-data-server) ; must be the same version
7979 ("gnome-autoar" ,gnome-autoar)
7980 ("gnome-desktop" ,gnome-desktop)
7981 ("gtkspell3" ,gtkspell3)
7982 ("highlight" ,highlight)
7983 ("libcanberra" ,libcanberra)
7984 ("libedataserverui" ,evolution-data-server)
7985 ("libgweather" ,libgweather)
7986 ("libnotify" ,libnotify)
7987 ("libsoup" ,libsoup)
7989 ("openldap" ,openldap)
7990 ("webkitgtk" ,webkitgtk)
7992 (home-page "https://gitlab.gnome.org/GNOME/evolution")
7993 (synopsis "Manage your email, contacts and schedule")
7994 (description "Evolution is a personal information management application
7995 that provides integrated mail, calendaring and address book
7997 ;; See COPYING for details.
7998 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7999 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
8000 license:lgpl2.1+)))) ; smime/lib/*
8002 (define-public gthumb
8008 (uri (string-append "mirror://gnome/sources/gthumb/"
8009 (version-major+minor version) "/"
8010 "gthumb-" version ".tar.xz"))
8013 "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f"))))
8014 (build-system meson-build-system)
8018 ;; Ensure the RUNPATH contains all installed library locations.
8019 (list (string-append "-Dc_link_args=-Wl,-rpath="
8020 (assoc-ref %outputs "out")
8021 "/lib/gthumb/extensions")
8022 (string-append "-Dcpp_link_args=-Wl,-rpath="
8023 (assoc-ref %outputs "out")
8024 "/lib/gthumb/extensions"))))
8026 `(("pkg-config" ,pkg-config)
8027 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8028 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8029 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8030 ("intltool" ,intltool)
8031 ("itstool" ,itstool)))
8035 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8036 ("gstreamer" ,gstreamer)
8037 ("clutter" ,clutter)
8038 ("clutter-gst" ,clutter-gst)
8039 ("clutter-gtk" ,clutter-gtk)
8040 ("libjpeg" ,libjpeg)
8041 ("libtiff" ,libtiff)
8042 ("libraw" ,libraw)))
8043 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8044 (synopsis "GNOME image viewer and browser")
8045 (description "GThumb is an image viewer, browser, organizer, editor and
8046 advanced image management tool")
8047 (license license:gpl2+)))
8049 (define-public terminator
8055 (uri (string-append "https://launchpad.net/" name "/"
8056 "gtk3/" version "/" "+download/"
8057 name "-" version ".tar.gz"))
8060 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8061 (build-system python-build-system)
8063 `(("intltool" ,intltool)
8064 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8065 ("gettext" ,gettext-minimal)
8066 ("pkg-config" ,pkg-config)))
8069 ("gobject-introspection" ,gobject-introspection)
8070 ("python2-pycairo" ,python2-pycairo)
8071 ("python2-pygobject" ,python2-pygobject)
8072 ("python2-psutil" ,python2-psutil)
8075 `(#:python ,python-2 ;Python 3 not supported
8077 (modify-phases %standard-phases
8079 'install 'wrap-program
8080 (lambda* (#:key outputs #:allow-other-keys)
8081 (let ((prog (string-append (assoc-ref outputs "out")
8082 "/bin/terminator")))
8084 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8085 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8087 (home-page "https://gnometerminator.blogspot.com/")
8088 (synopsis "Store and run multiple GNOME terminals in one window")
8090 "Terminator allows you to run multiple GNOME terminals in a grid and
8091 +tabs, and it supports drag and drop re-ordering of terminals.")
8092 (license license:gpl2)))