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 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
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)
647 ("xsltproc" ,libxslt)))
648 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
650 `(("p11-kit" ,p11-kit)
653 (home-page "https://www.gnome.org")
654 (synopsis "Libraries for displaying certificates and accessing key stores")
656 "The GCR package contains libraries used for displaying certificates and
657 accessing key stores. It also provides the viewer for crypto files on the
659 (license license:lgpl2.1+)))
661 (define-public libgnome-keyring
663 (name "libgnome-keyring")
667 (uri (string-append "mirror://gnome/sources/" name "/"
668 (version-major+minor version) "/"
669 name "-" version ".tar.xz"))
672 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
673 (build-system gnu-build-system)
675 `(("libgcrypt" ,libgcrypt)
678 `(("pkg-config" ,pkg-config)
680 ("intltool" ,intltool)))
682 ;; Referred to in .h files and .pc.
684 (home-page "https://www.gnome.org")
685 (synopsis "Accessing passwords from the GNOME keyring")
687 "Client library to access passwords from the GNOME keyring.")
689 ;; Though a couple of files are LGPLv2.1+.
690 (license license:lgpl2.0+)))
692 (define-public gnome-keyring
694 (name "gnome-keyring")
698 (uri (string-append "mirror://gnome/sources/" name "/"
699 (version-major+minor version) "/"
700 name "-" version ".tar.xz"))
703 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
704 (build-system gnu-build-system)
706 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
710 (string-append "--with-pkcs11-config="
711 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
712 (string-append "--with-pkcs11-modules="
713 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
715 (modify-phases %standard-phases
716 (add-after 'unpack 'fix-/bin/sh-reference
718 (substitute* "po/Makefile.in.in"
719 (("/bin/sh") (which "sh")))
721 (add-after 'unpack 'fix-docbook
722 (lambda* (#:key inputs #:allow-other-keys)
723 (substitute* "docs/Makefile.am"
724 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
725 (string-append (assoc-ref inputs "docbook-xsl")
726 "/xml/xsl/docbook-xsl-"
727 ,(package-version docbook-xsl)
728 "/manpages/docbook.xsl")))
729 (setenv "XML_CATALOG_FILES"
730 (string-append (assoc-ref inputs "docbook-xml")
731 "/xml/dtd/docbook/catalog.xml"))
732 ;; Rerun the whole thing to avoid version mismatch ("This is
733 ;; Automake 1.15.1, but the definition used by this
734 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
735 ;; use 'autoreconf' because it insists on running 'libtoolize'.
738 (invoke "automake" "-ac"))))))
740 `(("libgcrypt" ,libgcrypt)
741 ("linux-pam" ,linux-pam)
746 `(("pkg-config" ,pkg-config)
748 ("glib" ,glib) ; for m4 macros
749 ("python" ,python-2) ;for tests
750 ("intltool" ,intltool)
751 ("autoconf" ,autoconf)
752 ("automake" ,automake)
753 ("libxslt" ,libxslt) ;for documentation
754 ("docbook-xml" ,docbook-xml-4.2)
755 ("docbook-xsl" ,docbook-xsl)))
756 (home-page "https://www.gnome.org")
757 (synopsis "Daemon to store passwords and encryption keys")
759 "gnome-keyring is a program that keeps passwords and other secrets for
760 users. It is run as a daemon in the session, similar to ssh-agent, and other
761 applications locate it via an environment variable or D-Bus.
763 The program can manage several keyrings, each with its own master password,
764 and there is also a session keyring which is never stored to disk, but
765 forgotten when the session ends.")
766 (license license:lgpl2.1+)))
768 (define-public evince
774 (uri (string-append "mirror://gnome/sources/" name "/"
775 (version-major+minor version) "/"
776 name "-" version ".tar.xz"))
779 "0k7jln6dpg4bpv61niicjzkzyq6fhb3yfld7pc8ck71c8pmvsnx9"))))
780 (build-system glib-or-gtk-build-system)
782 `(#:configure-flags '("--disable-nautilus")
784 (modify-phases %standard-phases
785 (add-before 'install 'skip-gtk-update-icon-cache
786 ;; Don't create 'icon-theme.cache'.
788 (substitute* "data/Makefile"
789 (("gtk-update-icon-cache") "true"))
792 `(("libarchive" ,libarchive)
794 ("libspectre" ,libspectre)
795 ("djvulibre" ,djvulibre)
796 ("ghostscript" ,ghostscript)
800 ;; Build libkpathsea as a shared library for DVI support.
801 ;; ("libkpathsea" ,texlive-bin)
802 ("gnome-desktop" ,gnome-desktop)
803 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
805 ("libgnome-keyring" ,libgnome-keyring)
806 ("adwaita-icon-theme" ,adwaita-icon-theme)
807 ("gdk-pixbuf" ,gdk-pixbuf)
815 ("shared-mime-info" ,shared-mime-info)
817 ("libcanberra" ,libcanberra)
818 ("libsecret" ,libsecret)
820 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
821 ;; propagated from there.
825 ("dogtail" ,python2-dogtail)))
827 `(("itstool" ,itstool)
828 ("intltool" ,intltool)
830 ("pkg-config" ,pkg-config)
831 ("xmllint" ,libxml2)))
833 "https://www.gnome.org/projects/evince/")
834 (synopsis "GNOME's document viewer")
836 "Evince is a document viewer for multiple document formats. It
837 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
838 of Evince is to replace the multiple document viewers that exist
839 on the GNOME Desktop with a single simple application.")
840 (license license:gpl2+)))
842 (define-public gsettings-desktop-schemas
844 (name "gsettings-desktop-schemas")
849 (uri (string-append "mirror://gnome/sources/" name "/"
850 (version-major+minor version) "/"
851 name "-" version ".tar.xz"))
854 "0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq"))))
855 (build-system gnu-build-system)
859 `(("intltool" ,intltool)
860 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
861 ("gobject-introspection" ,gobject-introspection)
862 ("pkg-config" ,pkg-config)))
863 (home-page "https://launchpad.net/gsettings-desktop-schemas")
865 "GNOME settings for various desktop components")
867 "Gsettings-desktop-schemas contains a collection of GSettings schemas
868 for settings shared by various components of the GNOME desktop.")
869 (license license:lgpl2.1+)))
871 (define-public icon-naming-utils
873 (name "icon-naming-utils")
878 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
882 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
883 (build-system gnu-build-system)
886 ("perl-xml-simple" ,perl-xml-simple)))
889 (modify-phases %standard-phases
890 (add-after 'install 'set-load-paths
891 ;; Tell 'icon-name-mapping' where XML::Simple is.
892 (lambda* (#:key outputs #:allow-other-keys)
893 (let* ((out (assoc-ref outputs "out"))
894 (prog (string-append out "/libexec/icon-name-mapping")))
897 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
899 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
901 "Utility to implement the Freedesktop Icon Naming Specification")
903 "To help with the transition to the Freedesktop Icon Naming
904 Specification, the icon naming utility maps the icon names used by the
905 GNOME and KDE desktops to the icon names proposed in the specification.")
906 (license license:lgpl2.1+)))
908 (define-public gnome-icon-theme
910 (name "gnome-icon-theme")
915 (uri (string-append "mirror://gnome/sources/" name "/"
916 (version-major+minor version) "/"
917 name "-" version ".tar.xz"))
920 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
921 (build-system gnu-build-system)
924 ;; Don't create 'icon-theme.cache'.
925 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
926 (true (string-append coreutils "/bin/true")))
927 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
929 `(("icon-naming-utils" ,icon-naming-utils)
930 ("intltool" ,intltool)
931 ("pkg-config" ,pkg-config)))
932 (home-page "https://art.gnome.org/")
936 "Icons for the GNOME desktop.")
937 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
939 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
940 (define-public adwaita-icon-theme
941 (package (inherit gnome-icon-theme)
942 (name "adwaita-icon-theme")
946 (uri (string-append "mirror://gnome/sources/" name "/"
947 (version-major+minor version) "/"
948 name "-" version ".tar.xz"))
951 "1kp1lis3dr16jmlgycz1b29jsr6ir8wmqj6laqwlhs663cmjlxbd"))))
953 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
955 (define-public tango-icon-theme
957 (name "tango-icon-theme")
961 (uri (string-append "http://tango.freedesktop.org/releases/"
962 "tango-icon-theme-" version ".tar.bz2"))
965 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
966 (build-system gnu-build-system)
968 `(("icon-naming-utils" ,icon-naming-utils)
969 ("intltool" ,intltool)
970 ("imagemagick" ,imagemagick)
971 ("pkg-config" ,pkg-config)))
972 (home-page "http://tango-project.org/")
973 (synopsis "Tango icon theme")
974 (description "This is an icon theme that follows the Tango visual
976 (license license:public-domain)))
978 (define-public shared-mime-info
980 (name "shared-mime-info")
984 (uri (string-append "https://freedesktop.org/~hadess/"
985 "shared-mime-info-" version ".tar.xz"))
988 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
989 (build-system gnu-build-system)
991 ;; The build system appears not to be parallel-safe.
992 '(#:parallel-build? #f))
995 ("libxml2" ,libxml2)))
997 `(("intltool" ,intltool)
998 ("pkg-config" ,pkg-config)))
999 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1000 (synopsis "Database of common MIME types")
1002 "The shared-mime-info package contains the core database of common types
1003 and the update-mime-database command used to extend it. It requires glib2 to
1004 be installed for building the update command. Additionally, it uses intltool
1005 for translations, though this is only a dependency for the maintainers. This
1006 database is translated at Transifex.")
1007 (license license:gpl2+)))
1009 (define-public system-config-printer
1011 (name "system-config-printer")
1016 "https://github.com/zdohnal/system-config-printer/releases/"
1018 "/system-config-printer-" version ".tar.xz"))
1021 "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q"))))
1022 (build-system glib-or-gtk-build-system)
1024 `(#:imported-modules ((guix build python-build-system)
1025 ,@%glib-or-gtk-build-system-modules)
1027 (modify-phases %standard-phases
1028 (add-after 'unpack 'patch-Makefile.am
1030 ;; The Makefile generates some scripts, so set a valid shebang
1031 (substitute* "Makefile.am"
1032 (("/bin/bash") (which "bash")))
1033 (delete-file "configure")
1035 (add-after 'unpack 'patch-docbook-xml
1036 (lambda* (#:key inputs #:allow-other-keys)
1037 ;; Modify the man XML otherwise xmlto tries to access the network
1038 (substitute* "man/system-config-printer.xml"
1039 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1040 (string-append (assoc-ref inputs "docbook-xml")
1041 "/xml/dtd/docbook/")))
1043 (add-after 'install 'wrap-for-python
1044 (@@ (guix build python-build-system) wrap))
1045 (add-after 'install 'wrap
1046 (lambda* (#:key outputs #:allow-other-keys)
1047 (let ((out (assoc-ref outputs "out"))
1048 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1051 (wrap-program program
1052 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1054 (string-append out "/bin/" name))
1055 '("system-config-printer"
1056 "system-config-printer-applet"
1057 "install-printerdriver"
1058 "scp-dbus-service"))))
1061 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1062 ("gobject-introspection" ,gobject-introspection)
1065 ("python-dbus" ,python-dbus)
1066 ("python-pygobject" ,python-pygobject)
1067 ("python-pycups" ,python-pycups)
1068 ("python-requests" ,python-requests)
1069 ("python-pycairo" ,python-pycairo)
1070 ("libnotify" ,libnotify)
1071 ("packagekit" ,packagekit)))
1073 `(("pkg-config" ,pkg-config)
1074 ("desktop-file-utils" ,desktop-file-utils)
1076 ("autoconf" ,autoconf)
1077 ("automake" ,automake)
1078 ("intltool" ,intltool)
1080 ("docbook-xml" ,docbook-xml-4.1.2)
1081 ("docbook-xsl" ,docbook-xsl)
1082 ("libxml2" ,libxml2)))
1083 (home-page "https://github.com/zdohnal/system-config-printer")
1084 (synopsis "CUPS administration tool")
1086 "system-config-printer is a CUPS administration tool. It's written in
1087 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1089 (license license:gpl2+)))
1091 (define-public hicolor-icon-theme
1093 (name "hicolor-icon-theme")
1098 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1099 "hicolor-icon-theme-" version ".tar.xz"))
1102 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1103 (build-system gnu-build-system)
1105 `(#:tests? #f)) ; no check target
1106 (home-page "https://icon-theme.freedesktop.org/releases/")
1108 "Freedesktop icon theme")
1110 "Freedesktop icon theme.")
1111 (license license:gpl2)))
1113 (define-public libnotify
1120 (uri (string-append "mirror://gnome/sources/" name "/"
1121 (version-major+minor version) "/"
1122 name "-" version ".tar.xz"))
1125 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1126 (build-system gnu-build-system)
1128 `(#:configure-flags '("--disable-static")))
1130 `(;; In Requires of libnotify.pc.
1131 ("gdk-pixbuf" ,gdk-pixbuf)
1135 ("libpng" ,libpng)))
1137 `(("pkg-config" ,pkg-config)
1138 ("glib" ,glib "bin")
1139 ("gobject-introspection" ,gobject-introspection)))
1140 (home-page "https://developer-next.gnome.org/libnotify/")
1142 "GNOME desktop notification library")
1144 "Libnotify is a library that sends desktop notifications to a
1145 notification daemon, as defined in the Desktop Notifications spec. These
1146 notifications can be used to inform the user about an event or display
1147 some form of information without getting in the user's way.")
1148 (license license:lgpl2.1+)))
1150 (define-public libpeas
1157 (uri (string-append "mirror://gnome/sources/" name "/"
1158 (version-major+minor version) "/"
1159 name "-" version ".tar.xz"))
1162 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1163 (build-system gnu-build-system)
1168 ("python-pygobject" ,python-pygobject)))
1170 `(("pkg-config" ,pkg-config)
1171 ("glib:bin" ,glib "bin")
1172 ("gobject-introspection" ,gobject-introspection)
1173 ("intltool" ,intltool)))
1175 ;; The .pc file "Requires" gobject-introspection.
1176 `(("gobject-introspection" ,gobject-introspection)))
1177 (home-page "https://wiki.gnome.org/Libpeas")
1178 (synopsis "GObject plugin system")
1180 "Libpeas is a gobject-based plugin engine, targeted at giving every
1181 application the chance to assume its own extensibility. It also has a set of
1182 features including, but not limited to: multiple extension points; on-demand
1183 (lazy) programming language support for C, Python and JS; simplicity of the
1185 (license license:lgpl2.0+)))
1187 (define-public gtkglext
1193 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1194 version "/gtkglext-" version ".tar.gz"))
1196 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1197 (patches (search-patches
1198 "gtkglext-disable-disable-deprecated.patch"))))
1199 (build-system gnu-build-system)
1202 (modify-phases %standard-phases
1203 ;; Fix a collision between a local variable and a definition from
1204 ;; glibc's string.h.
1205 (add-after 'unpack 'fix-collision
1207 (substitute* "gdk/gdkglshapes.c"
1208 ((" index") " triangle_index"))
1210 (inputs `(("gtk+" ,gtk+-2)
1215 (native-inputs `(("pkg-config" ,pkg-config)
1216 ("glib" ,glib "bin")))
1217 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1218 (home-page "https://projects.gnome.org/gtkglext")
1219 (synopsis "OpenGL extension to GTK+")
1220 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1221 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1222 API add-ons to make GTK+ widgets OpenGL-capable.")
1223 (license license:lgpl2.1+)))
1225 (define-public glade3
1231 (uri (string-append "mirror://gnome/sources/" name "/"
1232 (version-major+minor version) "/"
1233 name "-" version ".tar.xz"))
1236 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
1237 (build-system glib-or-gtk-build-system)
1239 `(#:tests? #f ; needs X, GL, and software rendering
1241 (modify-phases %standard-phases
1242 (add-before 'configure 'fix-docbook
1243 (lambda* (#:key inputs #:allow-other-keys)
1244 (substitute* "man/Makefile.in"
1245 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1246 (string-append (assoc-ref inputs "docbook-xsl")
1247 "/xml/xsl/docbook-xsl-"
1248 ,(package-version docbook-xsl)
1249 "/manpages/docbook.xsl")))
1253 ("libxml2" ,libxml2)))
1255 `(("intltool" ,intltool)
1256 ("itstool" ,itstool)
1257 ("libxslt" ,libxslt) ;for xsltproc
1258 ("docbook-xml" ,docbook-xml-4.2)
1259 ("docbook-xsl" ,docbook-xsl)
1260 ("python" ,python-2)
1261 ("pkg-config" ,pkg-config)))
1262 (home-page "https://glade.gnome.org")
1263 (synopsis "GTK+ rapid application development tool")
1264 (description "Glade is a rapid application development (RAD) tool to
1265 enable quick & easy development of user interfaces for the GTK+ toolkit and
1266 the GNOME desktop environment.")
1267 (license license:lgpl2.0+)))
1269 (define-public libcroco
1275 (uri (string-append "mirror://gnome/sources/" name "/"
1276 (version-major+minor version) "/"
1277 name "-" version ".tar.xz"))
1280 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1281 (build-system gnu-build-system)
1283 `(("pkg-config" ,pkg-config)))
1286 ("libxml2" ,libxml2)
1288 (home-page "https://github.com/GNOME/libcroco")
1289 (synopsis "CSS2 parsing and manipulation library")
1291 "Libcroco is a standalone CSS2 parsing and manipulation library.
1292 The parser provides a low level event driven SAC-like API and a CSS object
1293 model like API. Libcroco provides a CSS2 selection engine and an experimental
1294 XML/CSS rendering engine.")
1297 (license license:lgpl2.1)))
1299 (define-public libgsf
1305 (uri (string-append "mirror://gnome/sources/" name "/"
1306 (version-major+minor version) "/"
1307 name "-" version ".tar.xz"))
1310 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
1311 (build-system gnu-build-system)
1313 `(("intltool" ,intltool)
1314 ("pkg-config" ,pkg-config)))
1316 `(("python" ,python)
1320 `(("gdk-pixbuf" ,gdk-pixbuf)
1322 ("libxml2" ,libxml2)))
1323 (home-page "https://www.gnome.org/projects/libgsf")
1324 (synopsis "GNOME's Structured File Library")
1326 "Libgsf aims to provide an efficient extensible I/O abstraction for
1327 dealing with different structured file formats.")
1330 (license license:lgpl2.1)))
1332 (define-public librsvg
1338 (uri (string-append "mirror://gnome/sources/" name "/"
1339 (version-major+minor version) "/"
1340 name "-" version ".tar.xz"))
1343 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1344 (build-system gnu-build-system)
1347 (list "--disable-static"
1348 "--enable-vala") ; needed for e.g. gnome-mines
1350 (modify-phases %standard-phases
1351 (add-before 'configure 'pre-configure
1352 (lambda* (#:key inputs #:allow-other-keys)
1353 (substitute* "gdk-pixbuf-loader/Makefile.in"
1354 ;; By default the gdk-pixbuf loader is installed under
1355 ;; gdk-pixbuf's prefix. Work around that.
1356 (("gdk_pixbuf_moduledir = .*$")
1357 (string-append "gdk_pixbuf_moduledir = "
1358 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1360 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1361 (("gdk_pixbuf_cache_file = .*$")
1362 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1364 (add-before 'check 'remove-failing-tests
1366 (with-directory-excursion "tests/fixtures/reftests"
1367 (for-each delete-file
1368 '(;; This test fails on i686:
1369 "svg1.1/masking-path-04-b.svg"
1370 ;; This test fails on armhf:
1371 "svg1.1/masking-mask-01-b.svg"
1372 ;; This test fails on aarch64:
1373 "bugs/777834-empty-text-children.svg")))
1376 `(("pkg-config" ,pkg-config)
1378 ("glib" ,glib "bin") ; glib-mkenums, etc.
1379 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1382 ("libcroco" ,libcroco)
1385 ("libxml2" ,libxml2)))
1387 ;; librsvg-2.0.pc refers to all of that.
1389 ("gdk-pixbuf" ,gdk-pixbuf)
1391 (home-page "https://wiki.gnome.org/LibRsvg")
1392 (synopsis "Render SVG files using Cairo")
1394 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1396 (license license:lgpl2.0+)))
1398 (define-public librsvg-next
1404 (uri (string-append "mirror://gnome/sources/" name "/"
1405 (version-major+minor version) "/"
1406 name "-" version ".tar.xz"))
1409 "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6"))))
1410 (build-system gnu-build-system)
1413 (list "--disable-static"
1414 "--enable-vala") ; needed for e.g. gnome-mines
1415 #:make-flags '("CC=gcc")
1417 (modify-phases %standard-phases
1418 ;; Don't patch anything in vendor/ to avoid having to recompute
1419 ;; checksums for the bundled Cargo "crates". TODO: Unbundle those.
1420 (delete 'patch-source-shebangs)
1421 (delete 'patch-generated-file-shebangs)
1422 (delete 'patch-usr-bin-file)
1423 (add-before 'configure 'patch-all-the-things
1425 (for-each patch-shebang '("tap-driver.sh" "tap-test"))
1426 (patch-/usr/bin/file "configure")
1428 (add-before 'configure 'pre-configure
1429 (lambda* (#:key inputs #:allow-other-keys)
1430 (substitute* "gdk-pixbuf-loader/Makefile.in"
1431 ;; By default the gdk-pixbuf loader is installed under
1432 ;; gdk-pixbuf's prefix. Work around that.
1433 (("gdk_pixbuf_moduledir = .*$")
1434 (string-append "gdk_pixbuf_moduledir = "
1435 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1437 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1438 (("gdk_pixbuf_cache_file = .*$")
1439 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1441 (add-before 'check 'remove-failing-tests
1443 (with-directory-excursion "tests/fixtures/reftests"
1444 (for-each delete-file
1445 '(;; The images produced by these tests differ slightly
1446 ;; from their reference counterparts due to differences
1447 ;; in the build environment (missing fonts, etc). See
1448 ;; <tests/README.md> for details.
1449 ;; These fail on x86_64.
1450 "svg1.1/coords-viewattr-02-b.svg"
1451 "svg1.1/filters-composite-04-f.svg"
1452 "svg1.1/filters-image-01-b.svg"
1453 "svg1.1/filters-conv-02-f.svg"
1454 "svg1.1/filters-conv-04-f.svg"
1455 ;; This test fails on i686:
1456 "svg1.1/masking-path-04-b.svg"
1457 ;; This test fails on armhf:
1458 "svg1.1/masking-mask-01-b.svg"
1459 ;; This test fails on aarch64:
1460 "bugs/777834-empty-text-children.svg")))
1463 `(("pkg-config" ,pkg-config)
1464 ;; This is the minimum supported Rust version in Librsvg 2.44.
1466 ("cargo" ,rust-1.27 "cargo")
1468 ("glib" ,glib "bin") ; glib-mkenums, etc.
1469 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1472 ("libcroco" ,libcroco)
1475 ("libxml2" ,libxml2)))
1477 ;; librsvg-2.0.pc refers to all of that.
1479 ("gdk-pixbuf" ,gdk-pixbuf)
1481 (home-page "https://wiki.gnome.org/LibRsvg")
1482 (synopsis "Render SVG files using Cairo")
1484 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1486 (license license:lgpl2.0+)))
1488 (define-public libidl
1494 (uri (let ((upstream-name "libIDL"))
1495 (string-append "mirror://gnome/sources/" upstream-name "/"
1496 (version-major+minor version) "/"
1497 upstream-name "-" version ".tar.bz2")))
1500 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1501 (build-system gnu-build-system)
1502 (inputs `(("glib" ,glib)))
1504 `(("pkg-config" ,pkg-config)
1507 (home-page "http://freecode.com/projects/libidl")
1508 (synopsis "Create trees of CORBA Interface Definition Language files")
1509 (description "Libidl is a library for creating trees of CORBA Interface
1510 Definition Language (idl) files, which is a specification for defining
1511 portable interfaces. libidl was initially written for orbit (the orb from the
1512 GNOME project, and the primary means of libidl distribution). However, the
1513 functionality was designed to be as reusable and portable as possible.")
1514 (license license:lgpl2.0+)))
1517 (define-public orbit2
1523 (uri (let ((upstream-name "ORBit2"))
1524 (string-append "mirror://gnome/sources/" upstream-name "/"
1525 (version-major+minor version) "/"
1526 upstream-name "-" version ".tar.bz2")))
1529 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1530 (build-system gnu-build-system)
1533 '(;; We don't need static libraries, plus they don't build reproducibly
1534 ;; (non-deterministic ordering of .o files in the archive.)
1537 ;; The programmer kindly gives us a hook to turn off deprecation
1539 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1540 ;; ... which they then completly ignore !!
1542 (modify-phases %standard-phases
1543 (add-before 'configure 'ignore-deprecations
1545 (substitute* "linc2/src/Makefile.in"
1546 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1548 (inputs `(("glib" ,glib)
1549 ("libidl" ,libidl)))
1551 `(("pkg-config" ,pkg-config)))
1552 (home-page "https://projects.gnome.org/orbit2/")
1553 (synopsis "CORBA 2.4-compliant Object Request Broker")
1554 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1555 featuring mature C, C++ and Python bindings.")
1556 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1557 ;; a version. SOME of the code files have licence notices for GPLv2+.
1558 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1559 (license license:gpl2+)
1560 (properties `((upstream-name . "ORBit2")))))
1563 (define-public libbonobo
1569 (uri (string-append "mirror://gnome/sources/" name "/"
1570 (version-major+minor version)
1571 "/" name "-" version ".tar.bz2"))
1573 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1574 (patches (search-patches
1575 "libbonobo-activation-test-race.patch"))))
1576 (build-system gnu-build-system)
1578 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1580 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1581 ;; ... which they then completly ignore !!
1583 (modify-phases %standard-phases
1584 (add-before 'configure 'ignore-deprecations
1586 (substitute* "activation-server/Makefile.in"
1587 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1590 ;; There's apparently a race condition between the server stub
1591 ;; generation and linking of the example under 'samples/echo' that can
1592 ;; lead do undefined references when building in parallel, as reported
1593 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1594 ;; Thus, disable parallel builds.
1595 #:parallel-build? #f))
1596 (inputs `(("popt" ,popt)
1597 ("libxml2" ,libxml2)))
1598 ;; The following are Required by the .pc file
1601 ("orbit2" ,orbit2)))
1603 `(("intltool" ,intltool)
1604 ("pkg-config" ,pkg-config)
1605 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1608 (home-page "https://developer.gnome.org/libbonobo/")
1609 (synopsis "Framework for creating reusable components for use in GNOME applications")
1610 (description "Bonobo is a framework for creating reusable components for
1611 use in GNOME applications, built on top of CORBA.")
1612 ;; Licence not explicitly stated. Source files contain no licence notices.
1613 ;; Tarball contains text of both GPLv2 and LGPLv2
1614 ;; GPLv2 covers both conditions
1615 (license license:gpl2+)))
1618 (define-public gconf
1625 (let ((upstream-name "GConf"))
1626 (string-append "mirror://gnome/sources/" upstream-name "/"
1627 (version-major+minor version) "/"
1628 upstream-name "-" version ".tar.xz")))
1630 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1631 (build-system gnu-build-system)
1632 (inputs `(("dbus-glib" ,dbus-glib)
1633 ("libxml2" ,libxml2)))
1634 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1635 ("orbit2" ,orbit2)))
1637 `(("intltool" ,intltool)
1638 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1639 ("pkg-config" ,pkg-config)))
1640 (home-page "https://projects.gnome.org/gconf/")
1641 (synopsis "Store application preferences")
1642 (description "Gconf is a system for storing application preferences. It
1643 is intended for user preferences; not arbitrary data storage.")
1644 (license license:lgpl2.0+)
1645 (properties '((upstream-name . "GConf")))))
1648 (define-public gnome-mime-data
1650 (name "gnome-mime-data")
1654 (uri (string-append "mirror://gnome/sources/" name "/"
1655 (version-major+minor version) "/"
1656 name "-" version ".tar.bz2"))
1659 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1660 (build-system gnu-build-system)
1663 ("intltool" ,intltool)))
1665 '(#:phases (modify-phases %standard-phases
1666 (add-after 'configure 'use-our-intltool
1668 ;; Do not use the bundled intltool commands, which lack
1669 ;; the "dotless @INC" fixes of our 'intltool' package.
1670 (substitute* (find-files "." "^Makefile$")
1671 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1672 (string-append "INTLTOOL_" tool " = intltool-"
1673 (string-downcase tool) "\n")))
1675 (home-page "https://www.gnome.org")
1676 (synopsis "Base MIME and Application database for GNOME")
1677 (description "GNOME Mime Data is a module which contains the base MIME
1678 and Application database for GNOME. The data stored by this module is
1679 designed to be accessed through the MIME functions in GnomeVFS.")
1680 (license license:gpl2+)))
1683 (define-public gnome-vfs
1689 (uri (string-append "mirror://gnome/sources/" name "/"
1690 (version-major+minor version) "/"
1691 name "-" version ".tar.bz2"))
1694 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1695 (build-system gnu-build-system)
1698 (modify-phases %standard-phases
1699 (add-before 'configure 'ignore-deprecations
1701 (substitute* '("libgnomevfs/Makefile.in"
1702 "daemon/Makefile.in")
1703 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1705 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1707 (substitute* "test/test-async-cancel.c"
1708 (("EXIT_FAILURE") "77"))
1710 (inputs `(("libxml2" ,libxml2)
1711 ("dbus-glib" ,dbus-glib)
1713 ("gnome-mime-data" ,gnome-mime-data)
1716 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1717 ("intltool" ,intltool)
1718 ("pkg-config" ,pkg-config)))
1719 (home-page "https://developer.gnome.org/gnome-vfs/")
1720 (synopsis "Access files and folders in GNOME applications")
1722 "GnomeVFS is the core library used to access files and folders in GNOME
1723 applications. It provides a file system abstraction which allows applications
1724 to access local and remote files with a single consistent API.")
1725 (license license:lgpl2.0+)))
1729 (define-public libgnome
1735 (uri (string-append "mirror://gnome/sources/" name "/"
1736 (version-major+minor version) "/"
1737 name "-" version ".tar.bz2"))
1740 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1741 (patches (search-patches "libgnome-encoding.patch"))))
1742 (build-system gnu-build-system)
1745 (modify-phases %standard-phases
1746 (add-before 'configure 'enable-deprecated
1748 (substitute* "libgnome/Makefile.in"
1749 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1751 (inputs `(("libxml2" ,libxml2)))
1753 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1754 ("intltool" ,intltool)
1755 ("pkg-config" ,pkg-config)))
1756 ;; The following are listed as Required in the .pc file
1757 ;; (except for libcanberra -- which seems to be oversight on the part
1758 ;; of the upstream developers -- anything that links against libgnome,
1759 ;; must also link against libcanberra
1761 `(("libcanberra" ,libcanberra)
1762 ("libbonobo" ,libbonobo)
1764 ("gnome-vfs" ,gnome-vfs)
1765 ("popt" ,popt))) ;gnome-program.h includes popt.h
1766 (home-page "https://developer.gnome.org/libgnome/")
1767 (synopsis "Useful routines for building applications")
1768 (description "The libgnome library provides a number of useful routines
1769 for building modern applications, including session management, activation of
1770 files and URIs, and displaying help.")
1771 (license license:lgpl2.0+)))
1774 (define-public libart-lgpl
1776 (name "libart-lgpl")
1780 (uri (let ((upstream-name "libart_lgpl"))
1781 (string-append "mirror://gnome/sources/" upstream-name "/"
1782 (version-major+minor version) "/"
1783 upstream-name "-" version ".tar.bz2")))
1786 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1787 (build-system gnu-build-system)
1789 `(("pkg-config" ,pkg-config)))
1790 (home-page "https://people.gnome.org/~mathieu/libart")
1791 (synopsis "2D drawing library")
1792 (description "Libart is a 2D drawing library intended as a
1793 high-quality vector-based 2D library with antialiasing and alpha composition.")
1794 (license license:lgpl2.0+)))
1798 (define-public libgnomecanvas
1800 (name "libgnomecanvas")
1804 (uri (string-append "mirror://gnome/sources/" name "/"
1805 (version-major+minor version) "/"
1806 name "-" version ".tar.gz"))
1809 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1810 (build-system gnu-build-system)
1811 ;; Mentioned as Required in the .pc file
1812 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1815 `(("intltool" ,intltool)
1816 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1817 ("pkg-config" ,pkg-config)))
1818 (home-page "https://developer.gnome.org/libgnomecanvas/")
1819 (synopsis "Flexible widget for creating interactive structured graphics")
1820 (description "The GnomeCanvas widget provides a flexible widget for
1821 creating interactive structured graphics.")
1822 (license license:lgpl2.0+)))
1824 (define-public libgnomecanvasmm
1826 (name "libgnomecanvasmm")
1830 (uri (string-append "mirror://gnome/sources/" name "/"
1831 (version-major+minor version) "/"
1832 name "-" version ".tar.bz2"))
1835 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1836 (build-system gnu-build-system)
1837 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1839 `(("gtkmm-2" ,gtkmm-2)
1840 ("pkg-config" ,pkg-config)))
1841 (home-page "https://gtkmm.org")
1842 (synopsis "C++ bindings to the GNOME Canvas library")
1843 (description "C++ bindings to the GNOME Canvas library.")
1844 (license license:lgpl2.0+)))
1846 (define-public libgnomeui
1852 (uri (string-append "mirror://gnome/sources/" name "/"
1853 (version-major+minor version) "/"
1854 name "-" version ".tar.bz2"))
1855 (patches (search-patches "libgnomeui-utf8.patch"))
1858 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1859 (build-system gnu-build-system)
1860 ;; Mentioned as Required in the .pc file
1861 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1862 ("libgnome" ,libgnome)
1863 ("libgnomecanvas" ,libgnomecanvas)
1864 ("libgnome-keyring" ,libgnome-keyring)))
1865 (inputs `(("libjpeg" ,libjpeg)
1867 ("libbonobo" ,libbonobo)
1868 ("libxml2" ,libxml2)
1869 ("libglade" ,libglade)))
1871 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1872 ("intltool" ,intltool)
1873 ("pkg-config" ,pkg-config)))
1874 (home-page "https://developer.gnome.org/libgnomeui/")
1875 (synopsis "Additional widgets for applications")
1876 (description "The libgnomeui library provides additional widgets for
1877 applications. Many of the widgets from libgnomeui have already been
1879 (license license:lgpl2.0+)))
1881 (define-public libglade
1887 (uri (string-append "mirror://gnome/sources/" name "/"
1888 (version-major+minor version) "/"
1889 name "-" version ".tar.bz2"))
1892 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1893 (build-system gnu-build-system)
1895 `(("python" ,python))) ;; needed for the optional libglade-convert program
1897 `(("gtk+-2" ,gtk+-2)
1898 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1900 `(("pkg-config" ,pkg-config)))
1901 (home-page "https://developer.gnome.org/libglade")
1902 (synopsis "Load glade interfaces and access the glade built widgets")
1903 (description "Libglade is a library that provides interfaces for loading
1904 graphical interfaces described in glade files and for accessing the
1905 widgets built in the loading process.")
1906 (license license:gpl2+))) ; This is correct. GPL not LGPL
1908 (define-public libgnomeprint
1909 ;; This library has been deprecated since 2006; see
1910 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1912 (name "libgnomeprint")
1916 (uri (string-append "mirror://gnome/sources/" name "/"
1917 (version-major+minor version) "/"
1918 name "-" version ".tar.bz2"))
1921 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
1922 (build-system gnu-build-system)
1925 ("libart-lgpl" ,libart-lgpl)
1927 ("libxml2" ,libxml2)))
1929 `(("intltool" ,intltool)
1930 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1931 ("pkg-config" ,pkg-config)))
1932 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1933 (synopsis "Printing framework for GNOME")
1935 "GNOME-print was a printing framework for GNOME. It has been deprecated
1936 since ca. 2006, when GTK+ itself incorporated printing support.")
1937 (license license:lgpl2.0+)))
1940 (define-public libgnomeprintui
1941 ;; Deprecated; see libgnomeprint.
1943 (name "libgnomeprintui")
1947 (uri (string-append "mirror://gnome/sources/" name "/"
1948 (version-major+minor version) "/"
1949 name "-" version ".tar.bz2"))
1952 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
1953 (build-system gnu-build-system)
1954 ;; Mentioned as Required in the .pc file
1955 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1956 (inputs `(("gtk+" ,gtk+-2)
1958 ("gnome-icon-theme" ,gnome-icon-theme)
1959 ("libgnomecanvas" ,libgnomecanvas)
1960 ("libxml2" ,libxml2)))
1962 `(("intltool" ,intltool)
1963 ("pkg-config" ,pkg-config)))
1964 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1965 (synopsis "Printing framework for GNOME")
1966 (description (package-description libgnomeprint))
1967 (license license:lgpl2.0+)))
1969 (define-public libbonoboui
1971 (name "libbonoboui")
1975 (uri (string-append "mirror://gnome/sources/" name "/"
1976 (version-major+minor version) "/"
1977 name "-" version ".tar.bz2"))
1980 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1981 (build-system gnu-build-system)
1984 (modify-phases %standard-phases
1985 (add-before 'check 'start-xserver
1986 (lambda* (#:key inputs #:allow-other-keys)
1987 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1990 (setenv "HOME" (getcwd))
1991 (setenv "DISPLAY" disp)
1992 ;; There must be a running X server and make check doesn't start one.
1993 ;; Therefore we must do it.
1994 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1995 ;; Mentioned as Required by the .pc file
1996 (propagated-inputs `(("libxml2" ,libxml2)))
1999 ("pangox-compat" ,pangox-compat)
2000 ("libgnome" ,libgnome)
2001 ("libgnomecanvas" ,libgnomecanvas)
2002 ("libglade" ,libglade)))
2004 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2005 ("intltool" ,intltool)
2006 ("xorg-server" ,xorg-server) ; For running the tests
2007 ("pkg-config" ,pkg-config)))
2008 (home-page "https://developer.gnome.org/libbonoboui/")
2009 (synopsis "Some user interface controls using Bonobo")
2010 (description "The Bonobo UI library provides a number of user interface
2011 controls using the Bonobo component framework.")
2012 (license license:lgpl2.0+)))
2014 (define-public libwnck
2020 (uri (string-append "mirror://gnome/sources/" name "/"
2021 (version-major+minor version) "/"
2022 name "-" version ".tar.xz"))
2025 "0f9lvhm3w25046dqq8xyg7nzggxpmdriwrb661nng05a8qk0svdc"))))
2026 (build-system gnu-build-system)
2028 `(("pkg-config" ,pkg-config)
2029 ("intltool" ,intltool)))
2032 ("libxres" ,libxres)
2033 ("startup-notification" ,startup-notification)))
2034 (home-page "https://developer.gnome.org/libwnck/")
2035 (synopsis "Window Navigator Construction Kit")
2037 "Libwnck is the Window Navigator Construction Kit, a library for use in
2038 writing pagers, tasklists, and more generally applications that are dealing
2039 with window management. It tries hard to respect the Extended Window Manager
2040 Hints specification (EWMH).")
2041 (license license:lgpl2.0+)))
2043 ;; stable version for gtk2, required by xfwm4.
2044 (define-public libwnck-2
2045 (package (inherit libwnck)
2050 (uri (string-append "mirror://gnome/sources/" name "/"
2051 (version-major+minor version) "/"
2052 name "-" version ".tar.xz"))
2055 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2058 ("libxres" ,libxres)
2059 ("startup-notification" ,startup-notification)))))
2061 (define-public goffice
2067 (uri (string-append "mirror://gnome/sources/" name "/"
2068 (version-major+minor version) "/"
2069 name "-" version ".tar.xz"))
2071 (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"))))
2072 (build-system gnu-build-system)
2074 "doc")) ;4.0 MiB of gtk-doc
2076 '(#:configure-flags (list (string-append "--with-html-dir="
2077 (assoc-ref %outputs "doc")
2078 "/share/gtk-doc/html"))))
2082 ("librsvg" ,librsvg)
2083 ("libxslt" ,libxslt)
2084 ("libxml2" ,libxml2)))
2086 `(("intltool" ,intltool)
2087 ("glib" ,glib "bin")
2088 ("pkg-config" ,pkg-config)))
2089 (home-page "https://developer.gnome.org/goffice/")
2090 (synopsis "Document-centric objects and utilities")
2091 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2093 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2095 (list license:gpl2 license:gpl3))))
2097 (define-public goffice-0.8
2098 (package (inherit goffice)
2102 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2103 (version-major+minor version) "/"
2104 (package-name goffice) "-" version ".tar.xz"))
2106 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2109 (modify-phases %standard-phases
2110 (add-after 'unpack 'fix-pcre-check
2112 ;; Only glib.h can be included directly. See
2113 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2114 (substitute* "configure"
2115 (("glib/gregex\\.h") "glib.h")) #t)))
2117 ,@(package-arguments goffice)))
2119 ;; libgoffice-0.8.pc mentions libgsf-1
2120 `(("libgsf" ,libgsf)))
2123 ,@(alist-delete "gtk" (package-inputs goffice))))))
2125 (define-public gnumeric
2131 (uri (string-append "mirror://gnome/sources/gnumeric/"
2132 (version-major+minor version) "/"
2133 "gnumeric-" version ".tar.xz"))
2136 "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h"))))
2137 (build-system glib-or-gtk-build-system)
2139 `(;; The gnumeric developers don't worry much about failing tests.
2140 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2143 (modify-phases %standard-phases
2145 'configure 'pre-conf
2146 (lambda* (#:key outputs #:allow-other-keys)
2147 ;; Make install tries to write into the directory of goffice
2148 ;; I am informed that this only affects the possibility to embed a
2149 ;; spreadsheet inside an Abiword document. So presumably when we
2150 ;; package Abiword we'll have to refer it to this directory.
2151 (substitute* "configure"
2152 (("^GOFFICE_PLUGINS_DIR=.*")
2153 (string-append "GOFFICE_PLUGINS_DIR="
2154 (assoc-ref outputs "out")
2155 "/goffice/plugins"))))))))
2159 ("goffice" ,goffice)
2161 ("librsvg" ,librsvg)
2162 ("libxml2" ,libxml2)
2163 ("libxslt" ,libxslt)
2164 ("python" ,python-2)
2165 ("python2-pygobject" ,python2-pygobject)
2169 ("docbook-xml" ,docbook-xml)
2170 ("intltool" ,intltool)
2171 ("itstool" ,itstool)
2172 ("glib:bin" ,glib "bin")
2173 ("pkg-config" ,pkg-config)))
2174 (home-page "http://www.gnumeric.org")
2175 (synopsis "Spreadsheet application")
2177 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2178 interoperable with other spreadsheet applications. It has a vast array of
2179 features beyond typical spreadsheet functionality, such as support for linear
2180 and non-linear solvers, statistical analysis, and telecommunication
2183 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2184 (list license:gpl2 license:gpl3))))
2186 (define-public gnome-themes-standard
2188 (name "gnome-themes-standard")
2193 (uri (string-append "mirror://gnome/sources/" name "/"
2194 (version-major+minor version) "/" name "-"
2198 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2199 (build-system gnu-build-system)
2202 ;; Don't create 'icon-theme.cache'.
2203 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2204 (true (string-append coreutils "/bin/true")))
2205 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2209 ("librsvg" ,librsvg)
2210 ("libxml2" ,libxml2)
2213 `(("intltool" ,intltool)
2214 ("glib:bin" ,glib "bin")
2215 ("pkg-config" ,pkg-config)))
2216 (home-page "https://launchpad.net/gnome-themes-standard")
2217 (synopsis "Default GNOME 3 themes")
2219 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2220 (license license:lgpl2.1+)))
2222 (define-public seahorse
2229 (uri (string-append "mirror://gnome/sources/" name "/"
2230 (version-major+minor version) "/" name "-"
2234 "1sbj1czlx1fakm72dwgbn0bwm12j838yaky4mkf6hf8j8afnxmzp"))))
2235 (build-system glib-or-gtk-build-system)
2241 ("openldap" ,openldap)
2242 ("openssh" ,openssh)
2243 ("libsecret" ,libsecret)
2244 ("libsoup" ,libsoup)))
2246 `(("intltool" ,intltool)
2247 ("glib:bin" ,glib "bin")
2248 ("itstool" ,itstool)
2249 ("pkg-config" ,pkg-config)
2250 ("xmllint" ,libxml2)))
2251 (home-page "https://launchpad.net/gnome-themes-standard")
2252 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2254 "Seahorse is a GNOME application for managing encryption keys and
2255 passwords in the GNOME keyring.")
2256 (license license:gpl2+)))
2264 (uri (string-append "mirror://gnome/sources/" name "/"
2265 (version-major+minor version) "/"
2266 name "-" version ".tar.xz"))
2269 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
2270 (build-system gnu-build-system)
2273 (modify-phases %standard-phases
2274 (add-before 'check 'pre-check
2277 (substitute* "valadoc/tests/testrunner.sh"
2278 (("export PKG_CONFIG_PATH=" m)
2279 (string-append m "$PKG_CONFIG_PATH:")))
2280 ;; For missing '/etc/machine-id'.
2281 (setenv "DBUS_FATAL_WARNINGS" "0")
2284 `(("pkg-config" ,pkg-config)
2287 ("xsltproc" ,libxslt)
2288 ("dbus" ,dbus) ; for dbus tests
2289 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2291 `(("graphviz" ,graphviz)))
2293 `(("glib" ,glib))) ; required by libvala-0.40.pc
2294 (home-page "https://live.gnome.org/Vala/")
2295 (synopsis "Compiler for the GObject type system")
2297 "Vala is a programming language that aims to bring modern programming
2298 language features to GNOME developers without imposing any additional runtime
2299 requirements and without using a different ABI compared to applications and
2300 libraries written in C.")
2301 (license license:lgpl2.1+)))
2309 (uri (string-append "mirror://gnome/sources/" name "/"
2310 (version-major+minor version) "/"
2311 name "-" version ".tar.xz"))
2314 "0j166gic5znssdb9r45qazq4kb4v9fial82czand5wa8i2yd988p"))))
2315 (build-system gnu-build-system)
2317 `(("pkg-config" ,pkg-config)
2318 ("intltool" ,intltool)
2320 ("gobject-introspection" ,gobject-introspection)
2321 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2323 ("xmllint" ,libxml2)))
2325 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2326 ("gnutls" ,gnutls) ;ditto
2327 ("pcre2" ,pcre2))) ;ditto
2328 (home-page "https://www.gnome.org/")
2329 (synopsis "Virtual Terminal Emulator")
2331 "VTE is a library (libvte) implementing a terminal emulator widget for
2332 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2333 gnome-terminal, but can also be used to embed a console/terminal in games,
2334 editors, IDEs, etc.")
2335 (license license:lgpl2.1+)))
2337 (define-public vte-ng
2341 (version "0.56.2.a")
2342 (home-page "https://github.com/thestinger/vte-ng")
2345 (uri (git-reference (url home-page) (commit version)))
2346 (file-name (git-file-name name version))
2349 "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki"))))
2351 `(("gtk-doc" ,gtk-doc)
2353 ("autoconf" ,autoconf)
2354 ("automake" ,automake)
2355 ("libtool" ,libtool)
2356 ,@(package-native-inputs vte)))
2358 `(#:phases (modify-phases %standard-phases
2361 (setenv "NOCONFIGURE" "true")
2362 (invoke "sh" "autogen.sh"))))))
2363 (synopsis "Enhanced VTE terminal widget")
2365 "VTE is a library (libvte) implementing a terminal emulator widget for
2366 GTK+, this fork provides additional functions exposed for keyboard text
2367 selection and URL hints.")))
2369 ;; provides vte 2.90, required for some terminal emulators
2370 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2371 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2372 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2373 ;; pantheon-terminal, roxterm are not currently packaged
2374 (define-public vte-0.36
2375 (package (inherit vte)
2380 (uri (string-append "mirror://gnome/sources/" name "/"
2381 (version-major+minor version) "/"
2382 name "-" version ".tar.xz"))
2385 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2388 ("ncurses" ,ncurses)))))
2390 ;; stable version for gtk2, required by xfce4-terminal.
2391 (define-public vte/gtk+-2
2392 (package (inherit vte)
2397 (uri (string-append "mirror://gnome/sources/" name "/"
2398 (version-major+minor version) "/"
2399 name "-" version ".tar.xz"))
2402 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2403 (patches (search-patches
2404 "vte-CVE-2012-2738-pt1.patch"
2405 "vte-CVE-2012-2738-pt2.patch"))))
2407 '(#:configure-flags '("--disable-python")))
2409 `(("pkg-config" ,pkg-config)
2410 ("intltool" ,intltool)
2411 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2413 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2414 ("ncurses" ,ncurses))))) ; required by libvte.la
2416 (define-public vinagre
2422 (uri (string-append "mirror://gnome/sources/" name "/"
2423 (version-major+minor version) "/"
2424 name "-" version ".tar.xz"))
2425 (patches (search-patches "vinagre-newer-freerdp.patch"
2426 "vinagre-newer-rdp-parameters.patch"))
2429 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2430 (build-system glib-or-gtk-build-system)
2433 (modify-phases %standard-phases
2434 (add-before 'install 'skip-gtk-update-icon-cache
2436 ;; Don't create 'icon-theme.cache'
2437 (substitute* (find-files "." "^Makefile$")
2438 (("gtk-update-icon-cache") (which "true")))
2440 (add-after 'unpack 'patch-configure
2442 (substitute* "configure"
2443 (("freerdp") "freerdp2"))
2446 `(("pkg-config" ,pkg-config)
2447 ("intltool" ,intltool)
2448 ("itstool" ,itstool)
2449 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
2451 `(("libxml2" ,libxml2)
2452 ("gtk-vnc" ,gtk-vnc)
2453 ("gnome-keyring" ,gnome-keyring)
2454 ("libsecret" ,libsecret)
2455 ("freerdp" ,freerdp)
2457 ("spice-gtk" ,spice-gtk)
2458 ("telepathy-glib" ,telepathy-glib)
2460 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2461 (synopsis "Remote desktop viewer for GNOME")
2462 (description "Vinagre is a remote display client supporting the VNC, SPICE
2463 and RDP protocols.")
2464 (license license:gpl3+)))
2466 (define-public dconf
2473 "mirror://gnome/sources/" name "/"
2474 (version-major+minor version) "/"
2475 name "-" version ".tar.xz"))
2478 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
2479 (build-system meson-build-system)
2481 ;; In Requires of dconf.pc.
2487 `(("bash-completion" ,bash-completion)
2488 ("libxslt" ,libxslt) ;for xsltproc
2489 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2490 ("docbook-xml" ,docbook-xml-4.2)
2491 ("docbook-xsl" ,docbook-xsl)
2492 ("glib:bin" ,glib "bin")
2493 ("gtk-doc" ,gtk-doc)
2494 ("pkg-config" ,pkg-config)
2497 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2498 ; or /etc/machine-id.
2500 #:configure-flags '("-Denable-gtk-doc=true")))
2501 (home-page "https://developer.gnome.org/dconf")
2502 (synopsis "Low-level GNOME configuration system")
2503 (description "Dconf is a low-level configuration system. Its main purpose
2504 is to provide a backend to GSettings on platforms that don't already have
2505 configuration storage systems.")
2506 (license license:lgpl2.1+)))
2508 (define-public json-glib
2514 (uri (string-append "mirror://gnome/sources/" name "/"
2515 (version-major+minor version) "/"
2516 name "-" version ".tar.xz"))
2519 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
2520 (build-system meson-build-system)
2522 `(("gettext" ,gettext-minimal)
2523 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2524 ("gobject-introspection" ,gobject-introspection)
2525 ("pkg-config" ,pkg-config)))
2527 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2528 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2529 (synopsis "Compiler for the GObject type system")
2531 "JSON-GLib is a C library based on GLib providing serialization and
2532 deserialization support for the JavaScript Object Notation (JSON) format
2533 described by RFC 4627. It provides parser and generator GObject classes and
2534 various wrappers for the complex data types employed by JSON, such as arrays
2536 (license license:lgpl2.1+)))
2538 (define-public libxklavier
2540 (name "libxklavier")
2544 (uri (string-append "mirror://gnome/sources/" name "/"
2545 version "/" name "-" version ".tar.xz"))
2548 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2549 (build-system gnu-build-system)
2552 (list (string-append "--with-xkb-base="
2553 (assoc-ref %build-inputs "xkeyboard-config")
2554 "/share/X11/xkb"))))
2556 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2557 ("gobject-introspection" ,gobject-introspection)
2558 ("pkg-config" ,pkg-config)))
2560 ;; Required by libxklavier.pc.
2562 ("libxml2" ,libxml2)))
2564 `(("iso-codes" ,iso-codes)
2566 ("libxkbfile" ,libxkbfile)
2567 ("xkbcomp" ,xkbcomp)
2568 ("xkeyboard-config" ,xkeyboard-config)))
2569 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2570 (synopsis "High-level API for X Keyboard Extension")
2572 "LibXklavier is a library providing high-level API for X Keyboard
2573 Extension known as XKB. This library is intended to support XFree86 and other
2574 commercial X servers. It is useful for creating XKB-related software (layout
2576 (license license:lgpl2.0+)))
2578 (define-public python2-rsvg
2579 ;; XXX: This is actually a subset of gnome-python-desktop.
2581 (name "python2-rsvg")
2587 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2588 version ".tar.bz2"))
2591 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2592 (build-system gnu-build-system)
2594 `(("pkg-config" ,pkg-config)))
2596 `(("python" ,python-2)
2597 ("python2-pygtk" ,python2-pygtk)
2598 ("librsvg" ,librsvg)))
2599 (home-page "https://www.gnome.org")
2600 (synopsis "Python bindings to librsvg")
2602 "This package provides Python bindings to librsvg, the SVG rendering
2605 ;; This is the license of the rsvg bindings. The license of each module
2606 ;; of gnome-python-desktop is given in 'COPYING'.
2607 (license license:lgpl2.1+)))
2609 (define-public glib-networking
2611 (name "glib-networking")
2615 (uri (string-append "mirror://gnome/sources/glib-networking/"
2616 (version-major+minor version) "/"
2617 name "-" version ".tar.xz"))
2620 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
2621 (build-system meson-build-system)
2623 `(#:configure-flags '("-Dlibproxy_support=false")))
2625 `(("pkg-config" ,pkg-config)
2626 ("intltool" ,intltool)))
2630 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
2631 (home-page "https://www.gnome.org")
2632 (synopsis "Network-related GIO modules")
2634 "This package contains various network related extensions for the GIO
2636 (license license:lgpl2.0+)))
2644 (uri (string-append "mirror://gnome/sources/rest/"
2645 (version-major+minor version) "/"
2646 name "-" version ".tar.xz"))
2649 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2650 (build-system gnu-build-system)
2652 '(#:tests? #f ; tests require internet connection
2654 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2656 `(("glib-mkenums" ,glib "bin")
2657 ("gobject-introspection" ,gobject-introspection)
2658 ("pkg-config" ,pkg-config)))
2660 ;; rest-0.7.pc refers to all these.
2662 ("libsoup" ,libsoup)
2663 ("libxml2" ,libxml2)))
2664 (home-page "https://www.gtk.org/")
2665 (synopsis "RESTful web api query library")
2667 "This library was designed to make it easier to access web services that
2668 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2669 libxml to ease remote use of the RESTful API.")
2670 (license license:lgpl2.1+)))
2672 (define-public libsoup
2678 (uri (string-append "mirror://gnome/sources/libsoup/"
2679 (version-major+minor version) "/"
2680 name "-" version ".tar.xz"))
2683 "0amfw1yvy1kjrg41rfh2vvrw5gkwnyckqbw1fab50hm6xc1acbmx"))))
2684 (build-system meson-build-system)
2685 (outputs '("out" "doc"))
2687 `(#:modules ((guix build utils)
2688 (guix build meson-build-system)
2691 #:configure-flags '("-Ddoc=true")
2693 (modify-phases %standard-phases
2694 (add-after 'unpack 'adjust-tests
2696 ;; This test fails due to missing /etc/nsswitch.conf
2697 ;; in the build environment.
2698 (substitute* "tests/socket-test.c"
2699 ((".*/sockets/unconnected.*") ""))
2701 ;; Generate a self-signed certificate that has "localhost" as its
2702 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2703 ;; 3.5.12, tests such as "ssl-tests" fail:
2705 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2707 ;; 'certtool' is interactive so we have to pipe it the answers.
2708 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2709 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2710 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2711 (for-each (lambda (line)
2716 "Guix" ;Organizational unit name
2717 "GNU" ;Organization name
2719 "" ;State or province
2721 "" ;subject's domain component (DC)
2724 "-1" ;expiration time
2725 "N" ;belong to authority?
2726 "N" ;web client certificate?
2728 "Y" ;web server certificate?
2729 "localhost" ;dnsName of subject
2730 "" ;dnsName of subject (end)
2732 "127.0.0.1" ;IP address of subject
2734 "" ;encryption (RSA)?
2735 "" ;data encryption?
2736 "" ;sign OCSP requests?
2739 "" ;email protection?
2740 "" ;URI of the CRL distribution point
2745 (add-after 'install 'move-doc
2746 (lambda* (#:key outputs #:allow-other-keys)
2747 (let ((out (assoc-ref outputs "out"))
2748 (doc (assoc-ref outputs "doc")))
2749 (mkdir-p (string-append doc "/share"))
2750 (copy-recursively (string-append out "/share/gtk-doc")
2751 (string-append doc "/share/gtk-doc"))
2752 (delete-file-recursively (string-append out "/share/gtk-doc"))
2755 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2756 ("gobject-introspection" ,gobject-introspection)
2757 ("gtk-doc" ,gtk-doc)
2758 ("intltool" ,intltool)
2759 ("pkg-config" ,pkg-config)
2760 ("python" ,python-wrapper)
2762 ;; These are needed for the tests.
2763 ;; FIXME: Add PHP once available.
2765 ("gnutls" ,gnutls) ;for 'certtool'
2768 ;; libsoup-2.4.pc refers to all these.
2771 ("libxml2" ,libxml2)
2772 ("sqlite" ,sqlite)))
2774 `(("glib-networking" ,glib-networking)
2775 ("mit-krb5" ,mit-krb5)))
2776 (home-page "https://live.gnome.org/LibSoup/")
2777 (synopsis "GLib-based HTTP Library")
2779 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2780 and the GLib main loop, to integrate well with GNOME applications.")
2781 (license license:lgpl2.0+)))
2783 (define-public libsecret
2790 "mirror://gnome/sources/libsecret/"
2791 (version-major+minor version) "/"
2792 name "-" version ".tar.xz"))
2795 "058x64689k55wxfkdp4svhnwvv8jmqm7z5mrynybl38f4sfqiyiv"))))
2796 (build-system gnu-build-system)
2797 (outputs '("out" "doc"))
2799 `(#:tests? #f ; FIXME: Testing hangs.
2801 (list (string-append "--with-html-dir="
2802 (assoc-ref %outputs "doc")
2803 "/share/gtk-doc/html"))))
2805 `(("gettext" ,gettext-minimal)
2806 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2807 ("gobject-introspection" ,gobject-introspection)
2808 ("pkg-config" ,pkg-config)
2810 ("xsltproc" ,libxslt)))
2811 ;; These are needed for the tests.
2812 ;; FIXME: Add gjs once available.
2814 ;("python2" ,python-2)
2815 ;("python2-dbus" ,python2-dbus)
2816 ;("python2-pygobject" ,python2-pygobject)
2817 ;("python2-pygobject-2" ,python2-pygobject-2)))
2819 `(("glib" ,glib))) ; required by libsecret-1.pc
2821 `(("docbook-xsl" ,docbook-xsl)
2822 ("libgcrypt" ,libgcrypt)
2823 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2824 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2825 (synopsis "GObject bindings for \"Secret Service\" API")
2827 "Libsecret is a GObject based library for storing and retrieving passwords
2828 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2829 (license license:lgpl2.1+)))
2831 (define-public five-or-more
2833 (name "five-or-more")
2838 (uri (string-append "mirror://gnome/sources/" name "/"
2839 (version-major+minor version) "/"
2840 name "-" version ".tar.xz"))
2843 "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x"))))
2844 (build-system glib-or-gtk-build-system)
2846 `(("pkg-config" ,pkg-config)
2847 ("desktop-file-utils" ,desktop-file-utils)
2848 ("intltool" ,intltool)
2849 ("itstool" ,itstool)
2850 ("xmllint" ,libxml2)))
2853 ("librsvg" ,librsvg)))
2854 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2855 (synopsis "Logic puzzle game")
2856 (description "Five or More is a game where you try to align
2857 five or more objects of the same color and shape causing them to disappear.
2858 On every turn more objects will appear, until the board is full.
2859 Try to last as long as possible.")
2860 (license license:gpl2+)))
2862 (define-public gnome-mines
2864 (name "gnome-mines")
2865 (version "3.30.1.1")
2869 (uri (string-append "mirror://gnome/sources/" name "/"
2870 (version-major+minor version) "/"
2871 name "-" version ".tar.xz"))
2874 "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z"))))
2875 (build-system meson-build-system)
2878 (modify-phases %standard-phases
2879 (delete 'bootstrap))))
2881 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
2882 ("pkg-config" ,pkg-config)
2883 ("desktop-file-utils" ,desktop-file-utils)
2884 ("intltool" ,intltool)
2885 ("itstool" ,itstool)
2888 ("appstream-glib" ,appstream-glib)))
2891 ("libgnome-games-support" ,libgnome-games-support)
2892 ("librsvg" ,librsvg)))
2893 (home-page "https://wiki.gnome.org/Apps/Mines")
2894 (synopsis "Minesweeper game")
2896 "Mines (previously gnomine) is a puzzle game where you locate mines
2897 floating in an ocean using only your brain and a little bit of luck.")
2898 (license license:gpl2+)))
2900 (define-public gnome-sudoku
2902 (name "gnome-sudoku")
2907 (uri (string-append "mirror://gnome/sources/" name "/"
2908 (version-major+minor version) "/"
2909 name "-" version ".tar.xz"))
2912 "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f"))))
2913 (build-system glib-or-gtk-build-system)
2915 `(("pkg-config" ,pkg-config)
2916 ("desktop-file-utils" ,desktop-file-utils)
2917 ("intltool" ,intltool)
2918 ("itstool" ,itstool)
2919 ("xmllint" ,libxml2)))
2922 ("json-glib" ,json-glib)
2924 ("librsvg" ,librsvg)
2925 ("qqwing" ,qqwing)))
2926 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2927 (synopsis "Japanese logic game")
2929 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2930 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2931 possible while still providing features that make playing difficult Sudoku
2933 (license license:gpl2+)))
2935 (define-public gnome-terminal
2937 (name "gnome-terminal")
2942 (uri (string-append "mirror://gnome/sources/" name "/"
2943 (version-major+minor version) "/"
2944 name "-" version ".tar.xz"))
2947 "0bar8qazk39acsif31h8i408nl82mzdcdg6p7ymak4l9pxyscxf8"))))
2948 (build-system glib-or-gtk-build-system)
2951 (list "--disable-migration" "--disable-search-provider"
2952 "--without-nautilus-extension")
2954 (modify-phases %standard-phases
2955 (add-before 'configure 'patch-/bin/true
2957 (substitute* "configure"
2958 (("/bin/true") (which "true"))))))))
2960 `(("pkg-config" ,pkg-config)
2961 ("desktop-file-utils" ,desktop-file-utils)
2962 ("intltool" ,intltool)
2963 ("itstool" ,itstool)
2964 ("xmllint" ,libxml2)))
2966 `(("dconf" ,dconf)))
2971 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2972 ("util-linux" ,util-linux)
2974 (home-page "https://wiki.gnome.org/Apps/Terminal")
2975 (synopsis "Terminal emulator")
2977 "GNOME Terminal is a terminal emulator application for accessing a
2978 UNIX shell environment which can be used to run programs available on
2981 It supports several profiles, multiple tabs and implements several
2982 keyboard shortcuts.")
2983 (license license:gpl3+)))
2985 (define-public colord
2992 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2993 name "-" version ".tar.xz"))
2996 "1xwxahg9mgmapc16xkb4kgmc40zpadrwav33xqmn6cgaw6g6d3ls"))))
2997 (build-system meson-build-system)
2999 '(;; FIXME: One test fails:
3000 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3001 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3002 ;; application/x-zerosize
3005 #:configure-flags (list "-Dlocalstatedir=/var"
3006 ;; No dep on systemd.
3008 ;; Wants to install to global completion dir;
3010 "-Dbash_completion=false"
3011 ;; colord-gtk not packaged yet.
3012 "-Dsession_example=false"
3013 "-Ddaemon_user=colord"
3015 ;; Requires spotread
3016 "-Dargyllcms_sensor=false"
3017 ;; TODO: Requires docbook2x
3020 (modify-phases %standard-phases
3021 (add-before 'configure 'patch-build-system
3022 (lambda* (#:key outputs #:allow-other-keys)
3023 (substitute* "rules/meson.build"
3024 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3025 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3028 `(("pkg-config" ,pkg-config)
3029 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3030 ("gobject-introspection" ,gobject-introspection)
3031 ("gtk-doc" ,gtk-doc)
3032 ("libtool" ,libtool)
3033 ("intltool" ,intltool)))
3035 ;; colord.pc refers to all these.
3040 `(("dbus-glib" ,dbus-glib)
3042 ("libgudev" ,libgudev)
3046 ("python" ,python-wrapper)
3047 ("sane-backends" ,sane-backends)))
3048 (home-page "https://www.freedesktop.org/software/colord/")
3049 (synopsis "Color management service")
3050 (description "Colord is a system service that makes it easy to manage,
3051 install and generate color profiles to accurately color manage input and
3053 (license license:gpl2+)))
3055 (define-public geoclue
3062 (uri (string-append "https://www.freedesktop.org/software/" name
3063 "/releases/" (version-major+minor version) "/"
3064 name "-" version ".tar.xz"))
3067 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
3068 (patches (search-patches "geoclue-config.patch"))))
3069 (build-system glib-or-gtk-build-system)
3071 '(;; The tests want to run the system bus.
3073 #:configure-flags (list ;; Disable bits requiring ModemManager.
3074 "--disable-3g-source"
3075 "--disable-cdma-source"
3076 "--disable-modem-gps-source"
3077 "--with-dbus-service-user=geoclue")
3079 (modify-phases %standard-phases
3080 (add-before 'configure 'patch-/bin/true
3082 (substitute* "configure"
3083 (("/bin/true") (which "true")))
3086 `(("pkg-config" ,pkg-config)
3087 ("gobject-introspection" ,gobject-introspection)
3088 ("intltool" ,intltool)))
3092 ("json-glib" ,json-glib)
3093 ("libsoup" ,libsoup)))
3094 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3095 (synopsis "Geolocation service")
3096 (description "Geoclue is a D-Bus service that provides location
3097 information. The primary goal of the Geoclue project is to make creating
3098 location-aware applications as simple as possible, while the secondary goal is
3099 to ensure that no application can access location information without explicit
3100 permission from user.")
3101 (license license:gpl2+)))
3103 (define-public geocode-glib
3105 (name "geocode-glib")
3109 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3110 (version-major+minor version) "/"
3111 name "-" version ".tar.xz"))
3114 "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a"))))
3115 (build-system meson-build-system)
3118 (modify-phases %standard-phases
3119 ;; The tests require a bunch of locales.
3120 (add-before 'check 'set-locales
3121 (lambda* (#:key inputs #:allow-other-keys)
3122 (setenv "GUIX_LOCPATH"
3123 (string-append (assoc-ref inputs "glibc-locales")
3127 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3128 ("glibc-locales" ,glibc-locales) ; for tests
3129 ("gettext" ,gettext-minimal)
3130 ("gobject-introspection" ,gobject-introspection)
3131 ("gtk-doc" ,gtk-doc)
3132 ("pkg-config" ,pkg-config)
3133 ("json-glib" ,json-glib)))
3135 ;; geocode-glib-1.0.pc refers to GIO.
3138 `(("libsoup" ,libsoup)))
3139 (home-page "https://github.com/GNOME/geocode-glib/")
3140 (synopsis "Geocoding and reverse-geocoding library")
3142 "geocode-glib is a convenience library for geocoding (finding longitude,
3143 and latitude from an address) and reverse geocoding (finding an address from
3144 coordinates) using the Nominatim service. geocode-glib caches requests for
3145 faster results and to avoid unnecessary server load.")
3146 (license license:lgpl2.0+)))
3148 (define-public upower
3154 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
3155 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
3156 "upower-" version ".tar.xz"))
3159 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
3160 (patches (search-patches "upower-builddir.patch"))))
3161 (build-system glib-or-gtk-build-system)
3163 '( ;; The tests want to contact the system bus, which can't be done in the
3164 ;; build environment. The integration test can run, but the last of
3165 ;; the up-self-tests doesn't. Disable tests for now.
3167 #:configure-flags (list "--localstatedir=/var"
3168 (string-append "--with-udevrulesdir="
3169 (assoc-ref %outputs "out")
3170 "/lib/udev/rules.d"))))
3172 `(("gobject-introspection" ,gobject-introspection)
3173 ("pkg-config" ,pkg-config)
3174 ("intltool" ,intltool)
3178 ("libxslt" ,libxslt) ;for 'xsltproc'
3179 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3180 ("docbook-xsl" ,docbook-xsl)))
3182 `(("dbus-glib" ,dbus-glib)
3183 ("libgudev" ,libgudev)
3184 ("libusb" ,libusb)))
3186 ;; In Requires of upower-glib.pc.
3188 (home-page "https://upower.freedesktop.org/")
3189 (synopsis "System daemon for managing power devices")
3191 "UPower is an abstraction for enumerating power devices,
3192 listening to device events and querying history and statistics. Any
3193 application or service on the system can access the org.freedesktop.UPower
3194 service via the system message bus.")
3195 (license license:gpl2+)))
3197 (define-public libgweather
3199 (name "libgweather")
3203 (uri (string-append "mirror://gnome/sources/" name "/"
3204 (version-major+minor version) "/"
3205 name "-" version ".tar.xz"))
3208 "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708"))))
3209 (build-system meson-build-system)
3211 `(#:tests? #f ; one of two tests requires network access
3213 `(,(string-append "-Dzoneinfo_dir="
3214 (assoc-ref %build-inputs "tzdata")
3215 "/share/zoneinfo"))))
3217 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3218 ("gobject-introspection" ,gobject-introspection)
3219 ("pkg-config" ,pkg-config)
3221 ("intltool" ,intltool)))
3223 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3226 ("gdk-pixbuf" ,gdk-pixbuf)
3227 ("libxml2" ,libxml2)
3228 ("libsoup" ,libsoup)
3229 ("geocode-glib" ,geocode-glib)))
3231 `(("tzdata" ,tzdata)))
3232 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3233 (synopsis "Location, time zone, and weather library for GNOME")
3235 "libgweather is a library to access weather information from online
3236 services for numerous locations.")
3237 (license license:gpl2+)))
3239 (define-public gnome-settings-daemon
3241 (name "gnome-settings-daemon")
3246 (uri (string-append "mirror://gnome/sources/" name "/"
3247 (version-major+minor version) "/"
3248 name "-" version ".tar.xz"))
3251 "0c663csa3gnsr6wm0xfll6aani45snkdj7zjwjfzcwfh8w4a3z12"))))
3252 (build-system meson-build-system)
3256 (list (string-append "-Dudev_dir="
3257 (assoc-ref %outputs "out")
3258 "/lib/udev/rules.d/")
3259 ;; Otherwise, the RUNPATH will lack the final path component.
3260 (string-append "-Dc_link_args=-Wl,-rpath="
3261 (assoc-ref %outputs "out")
3262 "/lib/gnome-settings-daemon-3.0"))
3263 ;; Color management test can't reach the colord system service.
3266 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3267 ("pkg-config" ,pkg-config)
3268 ("intltool" ,intltool)
3269 ("xsltproc" ,libxslt)
3270 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3271 ("docbook-xml" ,docbook-xml-4.2)
3272 ("docbook-xsl" ,docbook-xsl)))
3274 `(("alsa-lib" ,alsa-lib)
3276 ("libgudev" ,libgudev)
3279 ("pulseaudio" ,pulseaudio)
3280 ("libcanberra" ,libcanberra)
3282 ("libxtst" ,libxtst)
3284 ("libnotify" ,libnotify)
3285 ("geoclue" ,geoclue)
3286 ("geocode-glib" ,geocode-glib)
3287 ("libgweather" ,libgweather)
3288 ("gnome-desktop" ,gnome-desktop)
3291 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3292 ("libwacom" ,libwacom)
3293 ("librsvg" ,librsvg)
3294 ("xf86-input-wacom" ,xf86-input-wacom)
3295 ("wayland" ,wayland)
3296 ("network-manager" ,network-manager)))
3297 (home-page "https://www.gnome.org")
3298 (synopsis "GNOME settings daemon")
3300 "This package contains the daemon responsible for setting the various
3301 parameters of a GNOME session and the applications that run under it. It
3302 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3303 settings, themes, mouse settings, and startup of other daemons.")
3304 (license license:gpl2+)))
3306 (define-public totem-pl-parser
3308 (name "totem-pl-parser")
3312 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3313 (version-major+minor version) "/"
3314 "totem-pl-parser-" version ".tar.xz"))
3317 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
3318 (build-system meson-build-system)
3320 ;; FIXME: Tests require gvfs.
3323 `(("intltool" ,intltool)
3324 ("glib" ,glib "bin")
3325 ("gobject-introspection" ,gobject-introspection)
3326 ("pkg-config" ,pkg-config)))
3330 ("libarchive" ,libarchive)
3331 ("libgcrypt" ,libgcrypt)
3332 ("libxml2" ,libxml2)))
3334 `(("nettle" ,nettle)
3335 ("libsoup" ,libsoup)))
3336 (home-page "https://projects.gnome.org/totem")
3337 (synopsis "Library to parse and save media playlists for GNOME")
3338 (description "Totem-pl-parser is a GObjects-based library to parse and save
3339 playlists in a variety of formats.")
3340 (license license:lgpl2.0+)))
3342 (define-public aisleriot
3348 (uri (string-append "mirror://gnome/sources/aisleriot/"
3349 (version-major+minor version) "/"
3350 "aisleriot-" version ".tar.xz"))
3353 "15pm39679ymxki07sb5nvhycz4z53zwbvascyp5wm4864bn98815"))))
3354 (build-system glib-or-gtk-build-system)
3357 '("--with-platform=gtk-only"
3358 "--with-card-theme-formats=svg")))
3360 `(("desktop-file-utils" ,desktop-file-utils)
3361 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3362 ("intltool" ,intltool)
3363 ("itstool" ,itstool)
3364 ("pkg-config" ,pkg-config)
3365 ("xmllint" ,libxml2)))
3368 ("guile" ,guile-2.2)
3369 ("libcanberra" ,libcanberra)
3370 ("librsvg" ,librsvg)))
3371 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3372 (synopsis "Solitaire card games")
3374 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3375 which are easy to play with the aid of a mouse.")
3376 (license license:gpl3+)))
3384 (uri (string-append "mirror://gnome/sources/" name "/"
3385 (version-major+minor version) "/"
3386 name "-" version ".tar.xz"))
3389 "1zriix7bdwcg0868mfc7jy6zbwjwdmjwbh0ah6dbddrhiabrda8j"))))
3390 (build-system gnu-build-system)
3392 '(#:configure-flags '("--enable-gtk-doc")))
3394 `(("gobject-introspection" ,gobject-introspection)
3395 ("glib:bin" ,glib "bin") ; for glib-mkenums
3396 ("gtk-doc" ,gtk-doc)
3397 ("pkg-config" ,pkg-config)))
3401 (home-page "https://wiki.gnome.org/Projects/Amtk")
3402 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
3404 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
3405 It is a basic GtkUIManager replacement based on GAction. It is suitable for
3406 both a traditional UI or a modern UI with a GtkHeaderBar.")
3407 (license license:lgpl2.1+)))
3409 (define-public devhelp
3415 (uri (string-append "mirror://gnome/sources/" name "/"
3416 (version-major+minor version) "/"
3417 name "-" version ".tar.xz"))
3420 "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s"))))
3421 (build-system glib-or-gtk-build-system)
3423 `(("intltool" ,intltool)
3424 ("itstool" ,itstool)
3425 ("pkg-config" ,pkg-config)))
3427 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3428 ("webkitgtk" ,webkitgtk)))
3429 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3430 (synopsis "API documentation browser for GNOME")
3432 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3433 natively with GTK-Doc (the API reference system developed for GTK+ and used
3434 throughout GNOME for API documentation).")
3435 (license license:gpl2+)))
3444 (uri (string-append "mirror://gnome/sources/" name "/"
3445 (version-major+minor version) "/"
3446 name "-" version ".tar.xz"))
3449 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3450 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3451 ;; cogl, corresponding changes may be appropriate in mutter as well.
3452 (build-system gnu-build-system)
3454 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3455 ("gobject-introspection" ,gobject-introspection)
3456 ;;("xorg-server" ,xorg-server) ; for the test suite
3457 ("pkg-config" ,pkg-config)))
3460 ("gdk-pixbuf" ,gdk-pixbuf)
3462 ("libxext" ,libxext)
3463 ("libxfixes" ,libxfixes)
3464 ("libxdamage" ,libxdamage)
3465 ("libxcomposite" ,libxcomposite)
3466 ("libxrandr" ,libxrandr)))
3471 ("gstreamer" ,gstreamer)
3472 ("gst-plugins-base" ,gst-plugins-base)
3473 ("wayland" ,wayland)))
3475 `(#:configure-flags (list "--enable-cogl-gst"
3476 "--enable-wayland-egl-platform"
3477 "--enable-wayland-egl-server"
3479 ;; Arrange to pass an absolute file name to
3480 ;; dlopen for libGL.so.
3481 (string-append "--with-gl-libname="
3482 (assoc-ref %build-inputs "mesa")
3484 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3485 ;; _FontTransOpen: Unable to Parse address
3486 ;; ${prefix}/share/fonts/X11/misc/
3490 (modify-phases %standard-phases
3491 (add-before 'check 'start-xorg-server
3492 (lambda* (#:key inputs #:allow-other-keys)
3493 ;; The test suite requires a running X server.
3494 (system (format #f "~a/bin/Xvfb :1 &"
3495 (assoc-ref inputs "xorg-server")))
3496 (setenv "DISPLAY" ":1")
3498 (home-page "http://www.cogl3d.org")
3499 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3501 "Cogl is a small library for using 3D graphics hardware to draw pretty
3502 pictures. The API departs from the flat state machine style of OpenGL and is
3503 designed to make it easy to write orthogonal components that can render
3504 without stepping on each others toes.")
3505 (license (list license:expat ; most of the code
3506 license:bsd-3 ; cogl/cogl-point-in-poly.c
3507 license:sgifreeb2.0 ; cogl-path/tesselator/
3508 license:asl2.0)))) ; examples/android/
3510 (define-public clutter
3517 (uri (string-append "mirror://gnome/sources/" name "/"
3518 (version-major+minor version) "/"
3519 name "-" version ".tar.xz"))
3522 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3523 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3524 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3525 (build-system gnu-build-system)
3527 "doc")) ;9 MiB of gtk-doc HTML pages
3529 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3530 ("gobject-introspection" ,gobject-introspection)
3531 ("pkg-config" ,pkg-config)
3532 ("xsltproc" ,libxslt)))
3538 ("json-glib" ,json-glib)
3540 ("libxcomposite" ,libxcomposite)
3541 ("libxdamage" ,libxdamage)
3542 ("libxext" ,libxext)
3543 ("xinput" ,xinput)))
3545 `(("libxkbcommon" ,libxkbcommon)
3548 `(#:configure-flags (list "--enable-x11-backend=yes"
3550 ;; This produces share/doc/{clutter,cally}.
3551 (string-append "--with-html-dir="
3552 (assoc-ref %outputs "doc")
3554 ;; XXX FIXME: Get test suite working. It would probably fail in the
3555 ;; same way the cogl tests fail, since clutter is based on cogl.
3557 (home-page "http://www.clutter-project.org")
3558 (synopsis "OpenGL-based interactive canvas library")
3560 "Clutter is an OpenGL-based interactive canvas library, designed for
3561 creating fast, mainly 2D single window applications such as media box UIs,
3562 presentations, kiosk style applications and so on.")
3563 (license license:lgpl2.0+)))
3565 (define-public clutter-gtk
3567 (name "clutter-gtk")
3572 (uri (string-append "mirror://gnome/sources/" name "/"
3573 (version-major+minor version) "/"
3574 name "-" version ".tar.xz"))
3577 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3578 (build-system gnu-build-system)
3580 `(("pkg-config" ,pkg-config)
3581 ("gobject-introspection" ,gobject-introspection)))
3583 ;; clutter-gtk.pc refers to all these.
3584 `(("clutter" ,clutter)
3586 (home-page "http://www.clutter-project.org")
3587 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
3589 "Clutter is an OpenGL-based interactive canvas library, designed for
3590 creating fast, mainly 2D single window applications such as media box UIs,
3591 presentations, kiosk style applications and so on.")
3592 (license license:lgpl2.0+)))
3594 (define-public clutter-gst
3596 (name "clutter-gst")
3601 (uri (string-append "mirror://gnome/sources/clutter-gst/"
3602 (version-major+minor version) "/"
3603 "clutter-gst-" version ".tar.xz"))
3605 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
3606 (build-system gnu-build-system)
3608 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3609 ("pkg-config" ,pkg-config)
3610 ("gobject-introspection" ,gobject-introspection)))
3612 `(("clutter" ,clutter)
3613 ("gstreamer" ,gstreamer)
3614 ("gst-plugins-base" ,gst-plugins-base)))
3615 (home-page "http://www.clutter-project.org")
3616 (synopsis "Integration library for using GStreamer with Clutter")
3618 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3619 It provides a GStreamer sink to upload frames to GL and an actor that
3620 implements the ClutterGstPlayer interface using playbin. Clutter is an
3621 OpenGL-based interactive canvas library.")
3622 (license license:lgpl2.0+)))
3624 (define-public libchamplain
3626 (name "libchamplain")
3631 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3635 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3636 (build-system gnu-build-system)
3637 (arguments '(#:configure-flags '("--enable-vala")))
3639 `(("gobject-introspection" ,gobject-introspection)
3640 ("pkg-config" ,pkg-config)
3643 `(("libsoup" ,libsoup)
3645 ("clutter" ,clutter)
3646 ("clutter-gtk" ,clutter-gtk)
3647 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3651 (home-page "https://projects.gnome.org/libchamplain/")
3652 (synopsis "C library providing a ClutterActor to display maps")
3654 "libchamplain is a C library providing a ClutterActor to display maps.
3655 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3656 and Perl bindings are also available. It supports numerous free map sources
3657 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3658 (license license:lgpl2.1+)))
3667 (uri (string-append "mirror://gnome/sources/gom/"
3668 (version-major+minor version) "/"
3669 "gom-" version ".tar.xz"))
3672 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3673 (build-system gnu-build-system)
3675 `(("intltool" ,intltool)
3676 ("pkg-config" ,pkg-config)
3677 ("gobject-introspection" ,gobject-introspection)))
3680 ("gdk-pixbuf" ,gdk-pixbuf)
3681 ("sqlite" ,sqlite)))
3682 ;; XXX TODO: Figure out how to run the test suite.
3683 (arguments `(#:tests? #f))
3684 (home-page "https://wiki.gnome.org/Projects/Gom")
3685 (synopsis "Object mapper from GObjects to SQLite")
3687 "Gom provides an object mapper from GObjects to SQLite. It helps you
3688 write applications that need to store structured data as well as make complex
3689 queries upon that data.")
3690 (license license:lgpl2.1+)))
3692 (define-public libgnome-games-support
3694 (name "libgnome-games-support")
3698 (uri (string-append "mirror://gnome/sources/" name "/"
3699 (version-major+minor version) "/"
3700 name "-" version ".tar.xz"))
3703 "02hirpk885jndwarbl3cl5fk7w2z5ziv677csyv1wi2n6rmpn088"))))
3704 (build-system gnu-build-system)
3707 (modify-phases %standard-phases
3708 (add-before 'check 'pre-check
3710 ;; Tests require a writable HOME.
3711 (setenv "HOME" (getcwd))
3714 `(("intltool" ,intltool)
3715 ("pkg-config" ,pkg-config)
3718 ;; Required by libgnome-games-support-1.0.pc
3720 ("libgee" ,libgee)))
3721 (home-page "https://www.gnome.org/")
3722 (synopsis "Useful functionality shared among GNOME games")
3724 "libgnome-games-support is a small library intended for internal use by
3725 GNOME Games, but it may be used by others.")
3726 (license license:lgpl3+)))
3728 (define-public gnome-klotski
3730 (name "gnome-klotski")
3734 (uri (string-append "mirror://gnome/sources/" name "/"
3735 (version-major+minor version) "/"
3736 name "-" version ".tar.xz"))
3739 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3740 (build-system glib-or-gtk-build-system)
3742 `(("desktop-file-utils" ,desktop-file-utils)
3743 ("intltool" ,intltool)
3744 ("itstool" ,itstool)
3745 ("pkg-config" ,pkg-config)
3746 ("xmllint" ,libxml2)))
3749 ("libgnome-games-support" ,libgnome-games-support)
3750 ("librsvg" ,librsvg)))
3751 (home-page "https://wiki.gnome.org/Apps/Klotski")
3752 (synopsis "Sliding block puzzles")
3754 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3755 the patterned block to the area bordered by green markers. To do so, you will
3756 need to slide other blocks out of the way. Complete each puzzle in as few moves
3758 (license license:gpl2+)))
3760 (define-public grilo
3767 (uri (string-append "mirror://gnome/sources/" name "/"
3768 (version-major+minor version) "/"
3769 name "-" version ".tar.xz"))
3772 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3773 (build-system gnu-build-system)
3775 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3776 ("intltool" ,intltool)
3777 ("pkg-config" ,pkg-config)
3778 ("gobject-introspection" ,gobject-introspection)))
3780 `(("cyrus-sasl" ,cyrus-sasl)
3783 ("libxml2" ,libxml2)
3784 ("liboauth" ,liboauth)
3785 ("libsoup" ,libsoup)
3787 ("totem-pl-parser" ,totem-pl-parser)))
3790 (modify-phases %standard-phases
3791 (add-after 'unpack 'fix-introspection-install-dir
3792 (lambda* (#:key outputs #:allow-other-keys)
3793 (let ((out (assoc-ref outputs "out")))
3794 (substitute* '("src/Makefile.in"
3795 "libs/pls/Makefile.in"
3796 "libs/net/Makefile.in")
3797 (("@INTROSPECTION_GIRDIR@")
3798 (string-append out "/share/gir-1.0/"))
3799 (("@INTROSPECTION_TYPELIBDIR@")
3800 (string-append out "/lib/girepository-1.0/")))
3802 (native-search-paths
3803 (list (search-path-specification
3804 (variable "GRL_PLUGIN_PATH")
3805 (files (list (string-append "lib/grilo-"
3806 (version-major+minor version)))))))
3807 (home-page "https://live.gnome.org/Grilo")
3808 (synopsis "Framework for discovering and browsing media")
3810 "Grilo is a framework focused on making media discovery and browsing easy
3811 for application developers.")
3812 (license license:lgpl2.1+)))
3814 (define-public grilo-plugins
3816 (name "grilo-plugins")
3821 (uri (string-append "mirror://gnome/sources/" name "/"
3822 (version-major+minor version) "/"
3823 name "-" version ".tar.xz"))
3826 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3827 (build-system gnu-build-system)
3829 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3830 ("intltool" ,intltool)
3831 ("itstool" ,itstool)
3832 ("pkg-config" ,pkg-config)))
3835 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3837 ("libxml2" ,libxml2)
3840 ;; XXX TODO: Add oauth
3841 ;; XXX TODO: Add goa
3842 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3843 ;; XXX TODO: Add lua (needs help finding it)
3844 ("json-glib" ,json-glib)
3847 ("libsoup" ,libsoup)
3848 ("libarchive" ,libarchive)
3849 ("totem-pl-parser" ,totem-pl-parser)))
3851 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3854 ,(version-major+minor version)))
3855 ;; XXX FIXME: Try to get the test suite working. It appears to require
3856 ;; a working system dbus. Inside the build container, all tests fail
3857 ;; with: "assertion failed: (source)". Outside of the build container,
3858 ;; most tests succeed.
3860 (home-page "https://live.gnome.org/Grilo")
3861 (synopsis "Plugins for the Grilo media discovery library")
3863 "Grilo is a framework focused on making media discovery and browsing easy
3864 for application developers.")
3865 (license license:lgpl2.1+)))
3867 (define-public totem
3874 (uri (string-append "mirror://gnome/sources/" name "/"
3875 (version-major+minor version) "/"
3876 name "-" version ".tar.xz"))
3879 "0rahkybxbmxhlmrrgrzxny1xm7wycx7ib4blxp1i2l1q3i8s84b0"))
3880 (patches (search-patches "totem-meson-easy-codec.patch"
3881 "totem-meson-compat.patch"))))
3882 (build-system meson-build-system)
3884 `(("pkg-config" ,pkg-config)
3885 ("desktop-file-utils" ,desktop-file-utils)
3886 ("gobject-introspection" ,gobject-introspection)
3887 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3888 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3889 ("intltool" ,intltool)
3890 ("itstool" ,itstool)
3891 ("xmllint" ,libxml2)))
3893 `(("dconf" ,dconf)))
3896 ("gdk-pixbuf" ,gdk-pixbuf)
3899 ("dbus-glib" ,dbus-glib)
3900 ("clutter" ,clutter)
3901 ("clutter-gtk" ,clutter-gtk)
3902 ("clutter-gst" ,clutter-gst)
3903 ("xorgproto" ,xorgproto)
3904 ("libxxf86vm" ,libxxf86vm)
3905 ("libxtst" ,libxtst)
3906 ("libxrandr" ,libxrandr)
3907 ("libxml2" ,libxml2)
3908 ("libsoup" ,libsoup)
3909 ("libpeas" ,libpeas)
3910 ("librsvg" ,librsvg)
3912 ("gnome-desktop" ,gnome-desktop)
3913 ("gstreamer" ,gstreamer)
3914 ("gst-plugins-base" ,gst-plugins-base)
3915 ("gst-plugins-good" ,gst-plugins-good)
3916 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3917 ("adwaita-icon-theme" ,adwaita-icon-theme)
3919 ("python-pygobject" ,python2-pygobject)
3920 ;; XXX TODO pylint needed for python support
3921 ("totem-pl-parser" ,totem-pl-parser)
3923 ("grilo-plugins" ,grilo-plugins)
3929 ;; Disable parallel builds until
3930 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3931 ;; fixed. Try enabling it when updating this package in case
3932 ;; upstream has fixed it.
3933 #:parallel-build? #f
3935 ;; Disable automatic GStreamer plugin installation via PackageKit and
3937 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3939 ;; Do not build .a files for the plugins, it's
3940 ;; completely useless. This saves 2 MiB.
3941 "--default-library" "shared")
3944 (modify-phases %standard-phases
3946 'install 'disable-cache-generation
3948 (setenv "DESTDIR" "/")
3951 'install 'wrap-totem
3952 (lambda* (#:key inputs outputs #:allow-other-keys)
3953 (let ((out (assoc-ref outputs "out"))
3954 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3955 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3956 (wrap-program (string-append out "/bin/totem")
3957 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3958 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3959 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3960 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3962 (home-page "https://wiki.gnome.org/Apps/Videos")
3963 (synopsis "Simple media player for GNOME based on GStreamer")
3964 (description "Totem is a simple yet featureful media player for GNOME
3965 which can read a large number of file formats.")
3966 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3967 ;; to be used and distributed together with GStreamer and Totem. See
3968 ;; file://COPYING in the source distribution for details.
3969 (license license:gpl2+)))
3971 (define-public rhythmbox
3977 (uri (string-append "mirror://gnome/sources/" name "/"
3978 (version-major+minor version) "/"
3979 name "-" version ".tar.xz"))
3982 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
3983 (build-system glib-or-gtk-build-system)
3986 (list "--enable-lirc"
3993 (modify-phases %standard-phases
3995 'install 'wrap-rhythmbox
3996 (lambda* (#:key inputs outputs #:allow-other-keys)
3997 (let ((out (assoc-ref outputs "out"))
3998 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3999 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4000 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4001 (python-path (getenv "PYTHONPATH")))
4002 (wrap-program (string-append out "/bin/rhythmbox")
4003 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4004 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4005 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4006 `("PYTHONPATH" ":" prefix (,python-path))))
4009 `(("dconf" ,dconf)))
4011 `(("itstool" ,itstool)
4012 ("intltool" ,intltool)
4013 ("glib" ,glib "bin")
4014 ("gobject-introspection" ,gobject-introspection)
4015 ("desktop-file-utils" ,desktop-file-utils)
4016 ("pkg-config" ,pkg-config)
4017 ("xmllint" ,libxml2)))
4019 `(("json-glib" ,json-glib)
4021 ("gnome-desktop" ,gnome-desktop)
4023 ("python-pygobject" ,python2-pygobject)
4027 ("adwaita-icon-theme" ,adwaita-icon-theme)
4029 ("grilo-plugins" ,grilo-plugins)
4030 ("gstreamer" ,gstreamer)
4031 ("gst-plugins-base" ,gst-plugins-base)
4032 ("gst-plugins-good" ,gst-plugins-good)
4033 ("totem-pl-parser" ,totem-pl-parser)
4034 ("libgudev" ,libgudev)
4035 ;;("libmtp" ,libmtp) FIXME: Not detected
4036 ("libsecret" ,libsecret)
4037 ("libsoup" ,libsoup)
4038 ("libnotify" ,libnotify)
4039 ("libpeas" ,libpeas)
4041 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4042 ;;("clutter" ,clutter)
4043 ;;("clutter-gtk" ,clutter-gtk)
4044 ;;("clutter-gst" ,clutter-gst)
4045 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4052 ("brasero" ,brasero)))
4053 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4054 (synopsis "Music player for GNOME")
4055 (description "Rhythmbox is a music playing application for GNOME. It
4056 supports playlists, song ratings, and any codecs installed through gstreamer.")
4057 (license license:gpl2+)))
4065 (uri (string-append "mirror://gnome/sources/" name "/"
4066 (version-major+minor version) "/"
4067 name "-" version ".tar.xz"))
4070 "1wrq3l3z0x6q0hnc1vqr2hnyb1b14qw6aqvc5dldfgbs0yys6p55"))))
4071 (build-system meson-build-system)
4074 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4075 (list (string-append "-Dc_link_args=-Wl,-rpath="
4076 (assoc-ref %outputs "out") "/lib/eog"))
4078 (modify-phases %standard-phases
4079 (add-after 'install 'wrap-eog
4080 (lambda* (#:key outputs #:allow-other-keys)
4081 (let ((out (assoc-ref outputs "out"))
4082 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4083 (wrap-program (string-append out "/bin/eog")
4084 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4087 `(("dconf" ,dconf)))
4089 `(("intltool" ,intltool)
4090 ("itstool" ,itstool)
4091 ("glib" ,glib "bin")
4092 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4093 ("gobject-introspection" ,gobject-introspection)
4094 ("pkg-config" ,pkg-config)
4095 ("xmllint" ,libxml2)))
4097 `(("gnome-desktop" ,gnome-desktop)
4098 ("shared-mime-info" ,shared-mime-info)
4099 ("adwaita-icon-theme" ,adwaita-icon-theme)
4102 ("libexif" ,libexif)
4103 ("libpeas" ,libpeas)
4104 ("libjpeg" ,libjpeg)
4105 ("librsvg" ,librsvg)
4106 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4108 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4109 (synopsis "GNOME image viewer")
4110 (description "Eye of GNOME is the GNOME image viewer. It
4111 supports image conversion, rotation, and slideshows.")
4112 (license license:gpl2+)))
4114 (define-public eog-plugins
4115 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4116 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4117 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4118 ;; 'XDG_DATA_DIRS' appropriately set.
4120 (name "eog-plugins")
4124 (uri (string-append "mirror://gnome/sources/eog-plugins/"
4125 (version-major+minor version) "/"
4126 "eog-plugins-" version ".tar.xz"))
4129 "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3"))))
4130 (build-system gnu-build-system)
4131 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4132 (synopsis "Extensions for the Eye of GNOME image viewer")
4134 `(("pkg-config" ,pkg-config)
4135 ("gettext" ,gnu-gettext)))
4140 ("libpeas" ,libpeas)
4141 ("libexif" ,libexif)
4142 ("libchamplain" ,libchamplain)))
4144 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4148 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
4149 @item @dfn{Map}, which displays a map of where the picture was taken on the
4151 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4154 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4155 ;; long suspicious byte stream that goes to a
4156 ;; ".gresource.eog_postasa_plugin" ELF section.
4157 (license license:gpl2+)))
4159 (define-public libgudev
4165 (uri (string-append "mirror://gnome/sources/" name "/"
4166 version "/" name "-" version ".tar.xz"))
4169 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
4170 (build-system gnu-build-system)
4173 ;; umockdev depends on libgudev.
4174 (list "--disable-umockdev")))
4176 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4177 ("gobject-introspection" ,gobject-introspection)
4178 ("pkg-config" ,pkg-config)))
4180 `(("glib" ,glib))) ; required by gudev-1.0.pc
4183 (home-page "https://wiki.gnome.org/Projects/libgudev")
4184 (synopsis "GObject bindings for libudev")
4186 "This library provides GObject bindings for libudev. It was originally
4187 part of udev-extras, then udev, then systemd. It's now a project on its own.")
4188 (license license:lgpl2.1+)))
4196 (uri (string-append "mirror://gnome/sources/" name "/"
4197 (version-major+minor version) "/"
4198 name "-" version ".tar.xz"))
4201 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
4202 (build-system meson-build-system)
4206 (list "-Dsystemduserunitdir=no"
4208 ;; Otherwise, the RUNPATH will lack the final path component.
4209 (string-append "-Dc_link_args=-Wl,-rpath="
4210 (assoc-ref %outputs "out") "/lib/gvfs"))))
4212 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4213 ("gettext" ,gettext-minimal)
4214 ("gtk-doc" ,gtk-doc)
4215 ("pkg-config" ,pkg-config)
4216 ("xsltproc" ,libxslt)))
4219 ("docbook-xml" ,docbook-xml-4.2)
4220 ("docbook-xsl" ,docbook-xsl)
4222 ("elogind" ,elogind)
4226 ("gnome-online-accounts" ,gnome-online-accounts)
4227 ("libarchive" ,libarchive)
4228 ("libbluray" ,libbluray)
4230 ("libcdio-paranoia" ,libcdio-paranoia)
4231 ("libgcrypt" ,libgcrypt)
4232 ("libgdata" ,libgdata)
4233 ("libgphoto2" ,libgphoto2)
4234 ("libgudev" ,libgudev)
4235 ("libimobiledevice" ,libimobiledevice)
4238 ("libsecret" ,libsecret)
4239 ("libsmbclient" ,samba)
4240 ("libsoup" ,libsoup)
4241 ("libxml2" ,libxml2)
4242 ("nettle" ,nettle) ; XXX: required by libarchive.pc
4243 ("openssh" ,openssh)
4245 ("udisks" ,udisks)))
4246 (home-page "https://wiki.gnome.org/gvfs/")
4247 (synopsis "Userspace virtual file system for GIO")
4249 "GVFS is a userspace virtual file system designed to work with the I/O
4250 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4251 to all applications using the GIO API. It also supports exposing the GVFS
4252 mounts to non-GIO applications using FUSE.
4254 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4256 (license license:lgpl2.0+)))
4264 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4268 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4269 (build-system meson-build-system)
4271 `(("gobject-introspection" ,gobject-introspection)
4272 ("pkg-config" ,pkg-config)
4274 ("gtk-doc" ,gtk-doc)))
4276 ;; Both of these are required by gusb.pc.
4278 ("libusb" ,libusb)))
4280 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4281 (home-page "https://github.com/hughsie/libgusb")
4282 (synopsis "GLib binding for libusb1")
4284 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4285 asynchronous control, bulk and interrupt transfers with proper cancellation
4286 and integration into a mainloop. This makes it easy to integrate low level
4287 USB transfers with your high-level application or system daemon.")
4288 (license license:lgpl2.1+)))
4290 (define-public simple-scan
4292 (name "simple-scan")
4296 (uri (string-append "https://launchpad.net/simple-scan/"
4297 (version-major+minor version) "/"
4298 version "/+download/simple-scan-"
4302 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4303 (build-system glib-or-gtk-build-system)
4308 ("gdk-pixbuf" ,gdk-pixbuf)
4310 ("libsane" ,sane-backends)))
4312 `(("gettext" ,gettext-minimal)
4313 ("itstool" ,itstool)
4315 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4316 ("pkg-config" ,pkg-config)
4318 ("xmllint" ,libxml2)))
4320 '(#:configure-flags '("--disable-packagekit")
4322 (modify-phases %standard-phases
4323 (add-after 'unpack 'clean
4325 ;; Remove a left-over reference to PackageKit.
4327 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4329 ;; There are some generated C files erroneously
4330 ;; included in the source distribution, and this
4331 ;; one breaks the build by referring to a
4332 ;; non-existent header (packagekit.h)
4333 (delete-file "src/ui.c"))))))
4334 (home-page "https://launchpad.net/simple-scan")
4335 (synopsis "Document and image scanner")
4336 (description "Simple Scan is an easy-to-use application, designed to let
4337 users connect their scanner and quickly have the image/document in an
4338 appropriate format. Simple Scan is basically a frontend for SANE - which is
4339 the same backend as XSANE uses. This means that all existing scanners will
4340 work and the interface is well tested.")
4341 (license license:gpl3+)))
4343 (define-public eolie
4349 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4350 "uploads/bb4aad19272cc636bd17f2f6602127fe/"
4351 "eolie-" version ".tar.xz"))
4354 "06v76hg87fnhw45dil5vvl20myvaa38n1jqsl0lmkkq6af4mk8wx"))))
4355 (build-system meson-build-system)
4359 (modify-phases %standard-phases
4360 (add-after 'wrap 'wrap-more
4361 (lambda* (#:key inputs outputs #:allow-other-keys)
4362 (let* ((out (assoc-ref outputs "out"))
4363 ;; These libraries must be on LD_LIBRARY_PATH.
4364 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4365 "atk" "gtk+" "gsettings-desktop-schemas"
4366 "gobject-introspection"))
4369 (string-append (assoc-ref inputs lib) "/lib"))
4372 (wrap-program (string-append out "/bin/eolie")
4373 `("LD_LIBRARY_PATH" ":" prefix (,path))
4374 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4375 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4378 `(("intltool" ,intltool)
4379 ("itstool" ,itstool)
4380 ("pkg-config" ,pkg-config)
4382 ("glib:bin" ,glib "bin")
4383 ("gtk+" ,gtk+ "bin")))
4385 `(("gobject-introspection" ,gobject-introspection)
4386 ("glib-networking" ,glib-networking)
4389 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4390 ("python" ,python-wrapper)
4391 ("python-dateutil" ,python-dateutil)
4392 ("python-pyfxa" ,python-pyfxa)
4393 ("python-pygobject" ,python-pygobject)
4394 ("python-pycairo" ,python-pycairo)
4395 ("python-pycrypto" ,python-pycrypto)
4396 ("libsecret" ,libsecret)
4397 ("gtkspell3" ,gtkspell3)
4398 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4399 ("webkitgtk" ,webkitgtk)))
4400 (home-page "https://wiki.gnome.org/Apps/Eolie")
4401 (synopsis "Web browser for GNOME")
4403 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4404 a secret password store, an adblocker, and a modern UI.")
4405 (license license:gpl3+)))
4407 (define-public epiphany
4413 (uri (string-append "mirror://gnome/sources/epiphany/"
4414 (version-major+minor version) "/"
4415 "epiphany-" version ".tar.xz"))
4418 "0nk0krzrfck6hhfs52f4sjmj93yjyvabm72bq8i8f9l1pass5vgd"))))
4420 (build-system meson-build-system)
4422 ;; FIXME: tests run under Xvfb, but fail with:
4423 ;; /src/bookmarks/ephy-bookmarks/create:
4424 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4430 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4431 (list (string-append "-Dc_link_args=-Wl,-rpath="
4432 (assoc-ref %outputs "out") "/lib/epiphany"))))
4434 `(("dconf" ,dconf)))
4436 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4437 ("glib:bin" ,glib "bin") ; for glib-mkenums
4438 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4439 ("intltool" ,intltool)
4440 ("itstool" ,itstool)
4441 ("pkg-config" ,pkg-config)
4442 ("xmllint" ,libxml2)))
4446 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4447 ("glib-networking" ,glib-networking)
4448 ("gnome-desktop" ,gnome-desktop)
4449 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4450 ("json-glib" ,json-glib)
4451 ("iso-codes" ,iso-codes)
4452 ("libdazzle" ,libdazzle)
4453 ("libnotify" ,libnotify)
4454 ("libsecret" ,libsecret)
4455 ("libxslt" ,libxslt)
4456 ("nettle" ,nettle) ; for hogweed
4458 ("webkitgtk" ,webkitgtk)))
4459 (home-page "https://wiki.gnome.org/Apps/Web")
4460 (synopsis "GNOME web browser")
4462 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4463 principles are simplicity and standards compliance.")
4464 (license license:gpl2+)))
4466 (define-public d-feet
4472 (uri (string-append "mirror://gnome/sources/" name "/"
4473 (version-major+minor version) "/"
4474 name "-" version ".tar.xz"))
4477 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
4478 (build-system glib-or-gtk-build-system)
4480 '(#:out-of-source? #f ; tests need to run in the source directory.
4482 (modify-phases %standard-phases
4486 ;; The test suite requires a running X server.
4487 (system "Xvfb :1 &")
4488 (setenv "DISPLAY" ":1")
4489 ;; Don't fail on missing '/etc/machine-id'.
4490 (setenv "DBUS_FATAL_WARNINGS" "0")
4491 ;; tests.py and window.py don't meet E402:
4492 ;; E402 module level import not at top of file
4493 (substitute* "src/tests/Makefile"
4494 (("--ignore=E123") "--ignore=E123,E402"))
4497 'install 'wrap-program
4498 (lambda* (#:key outputs #:allow-other-keys)
4499 (let ((prog (string-append (assoc-ref outputs "out")
4502 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4503 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4506 `(("intltool" ,intltool)
4507 ("itstool" ,itstool)
4508 ("pkg-config" ,pkg-config)
4509 ("python-pep8" ,python-pep8)
4510 ("xmllint" ,libxml2)
4511 ("xorg-server" ,xorg-server)))
4513 `(("gobject-introspection" ,gobject-introspection)
4515 ("python" ,python-wrapper)
4516 ("hicolor-icon-theme" ,hicolor-icon-theme)
4517 ("python-pygobject" ,python-pygobject)))
4518 (home-page "https://wiki.gnome.org/Apps/DFeet")
4519 (synopsis "D-Bus debugger")
4521 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4522 of running programs and invoke methods on those interfaces.")
4523 (license license:gpl2+)))
4525 (define-public yelp-xsl
4531 (uri (string-append "mirror://gnome/sources/" name "/"
4532 (version-major+minor version) "/"
4533 name "-" version ".tar.xz"))
4536 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
4537 (build-system gnu-build-system)
4539 `(("intltool" ,intltool)
4540 ("itstool" ,itstool)
4541 ("xmllint" ,libxml2)))
4542 (home-page "https://wiki.gnome.org/Apps/Yelp")
4543 (synopsis "XSL stylesheets for Yelp")
4545 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4546 to format Docbook and Mallard documents.")
4547 (license license:gpl2+)))
4555 (uri (string-append "mirror://gnome/sources/" name "/"
4556 (version-major+minor version) "/"
4557 name "-" version ".tar.xz"))
4560 "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4"))))
4561 (build-system glib-or-gtk-build-system)
4563 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4564 ("intltool" ,intltool)
4565 ("itstool" ,itstool)
4566 ("pkg-config" ,pkg-config)))
4568 `(("dconf" ,dconf)))
4570 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4571 ("libxslt" ,libxslt)
4573 ("webkitgtk" ,webkitgtk)
4574 ("yelp-xsl" ,yelp-xsl)))
4575 (home-page "https://wiki.gnome.org/Apps/Yelp")
4576 (synopsis "GNOME help browser")
4578 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4579 man, info, and HTML documents. It can locate documents according to the
4580 freedesktop.org help system specification.")
4581 (license license:gpl2+)))
4583 (define-public yelp-tools
4589 (uri (string-append "mirror://gnome/sources/" name "/"
4590 (version-major+minor version) "/"
4591 name "-" version ".tar.xz"))
4594 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
4595 (build-system gnu-build-system)
4597 `(("pkg-config" ,pkg-config)))
4599 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4600 `(("itstool" ,itstool)
4601 ("xmllint" ,libxml2)
4602 ("xsltproc" ,libxslt)))
4604 `(("yelp-xsl" ,yelp-xsl)))
4605 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4606 (synopsis "Yelp documentation tools")
4608 "Yelp-tools is a collection of scripts and build utilities to help create,
4609 manage, and publish documentation for Yelp and the web. Most of the heavy
4610 lifting is done by packages like yelp-xsl and itstool. This package just
4611 wraps things up in a developer-friendly way.")
4612 (license license:gpl2+)))
4614 (define-public libgee
4620 (uri (string-append "mirror://gnome/sources/" name "/"
4621 (version-major+minor version) "/"
4622 name "-" version ".tar.xz"))
4625 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4626 (build-system gnu-build-system)
4629 (modify-phases %standard-phases
4630 (add-after 'unpack 'fix-introspection-install-dir
4631 (lambda* (#:key outputs #:allow-other-keys)
4632 (let ((out (assoc-ref outputs "out")))
4633 (substitute* "gee/Makefile.in"
4634 (("@INTROSPECTION_GIRDIR@")
4635 (string-append out "/share/gir-1.0/"))
4636 (("@INTROSPECTION_TYPELIBDIR@")
4637 (string-append out "/lib/girepository-1.0/")))))))))
4639 `(("glib" ,glib "bin")
4640 ("pkg-config" ,pkg-config)))
4643 ("gobject-introspection" ,gobject-introspection)))
4644 (home-page "https://wiki.gnome.org/Projects/Libgee")
4645 (synopsis "GObject collection library")
4647 "Libgee is a utility library providing GObject-based interfaces and
4648 classes for commonly used data structures.")
4649 (license license:lgpl2.1+)))
4651 (define-public gexiv2
4657 (uri (string-append "mirror://gnome/sources/" name "/"
4658 (version-major+minor version) "/"
4659 name "-" version ".tar.xz"))
4662 "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx"))))
4663 (build-system meson-build-system)
4665 `(("glib" ,glib "bin")
4666 ("pkg-config" ,pkg-config)))
4668 ;; Listed in "Requires" section of gexiv2.pc
4669 `(("exiv2" ,exiv2)))
4672 ("gobject-introspection" ,gobject-introspection)))
4673 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4674 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4676 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4677 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4678 metadata in photo and video files of various formats.")
4679 (license license:gpl2+)))
4681 (define-public shotwell
4687 (uri (string-append "mirror://gnome/sources/" name "/"
4688 (version-major+minor version) "/"
4689 name "-" version ".tar.xz"))
4692 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
4693 (build-system glib-or-gtk-build-system)
4695 `(("dconf" ,dconf)))
4697 `(("pkg-config" ,pkg-config)
4698 ("itstool" ,itstool)
4699 ("gettext" ,gettext-minimal)
4700 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4701 ("itstool" ,itstool)
4704 `(("glib:bin" ,glib "bin")
4705 ("gstreamer" ,gstreamer)
4706 ("gst-plugins-base" ,gst-plugins-base)
4707 ("libgdata" ,libgdata)
4711 ("json-glib" ,json-glib)
4712 ("webkitgtk" ,webkitgtk)
4714 ("libsoup" ,libsoup)
4715 ("libxml2" ,libxml2)
4716 ("libgudev" ,libgudev)
4717 ("libgphoto2" ,libgphoto2)
4719 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4720 (synopsis "Photo manager for GNOME 3")
4722 "Shotwell is a digital photo manager designed for the GNOME desktop
4723 environment. It allows you to import photos from disk or camera, organize
4724 them by keywords and events, view them in full-window or fullscreen mode, and
4725 share them with others via social networking and more.")
4726 (license license:lgpl2.1+)))
4728 (define-public file-roller
4730 (name "file-roller")
4734 (uri (string-append "mirror://gnome/sources/" name "/"
4735 (version-major+minor version) "/"
4736 name "-" version ".tar.xz"))
4739 "0kiragsqyixyx15747b71qc4nw8y4jx9d55wgg612xb0hp5l9pj1"))))
4740 (build-system meson-build-system)
4742 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4743 ("intltool" ,intltool)
4744 ("pkg-config" ,pkg-config)
4745 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4746 ("glib:bin" ,glib "bin")))
4747 ;; TODO: Add libnautilus.
4750 ("gdk-pixbuf" ,gdk-pixbuf)
4751 ("json-glib" ,json-glib)
4752 ("libarchive" ,libarchive)
4753 ("libnotify" ,libnotify)
4755 ("itstool" ,itstool)
4756 ("libxml2" ,libxml2)))
4757 (synopsis "Graphical archive manager for GNOME")
4758 (description "File Roller is an archive manager for the GNOME desktop
4759 environment that allows users to view, unpack, and create compressed archives
4760 such as gzip tarballs.")
4761 (home-page "http://fileroller.sourceforge.net/")
4762 (license license:gpl2+)))
4764 (define-public gnome-session
4766 (name "gnome-session")
4770 (uri (string-append "mirror://gnome/sources/" name "/"
4771 (version-major+minor version) "/"
4772 name "-" version ".tar.xz"))
4775 "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa"))))
4779 (modify-phases %standard-phases
4780 (add-before 'configure 'pre-configure
4781 (lambda* (#:key outputs #:allow-other-keys)
4782 ;; Use elogind instead of systemd.
4783 (substitute* "meson.build"
4784 (("libsystemd-login") "libelogind")
4785 (("and libsystemd_daemon_dep.found.*") ","))
4786 (substitute* "gnome-session/gsm-systemd.c"
4787 (("#include <systemd/sd-login.h>")
4788 "#include <elogind/sd-login.h>"))
4789 ;; Remove uses of the systemd daemon.
4790 (substitute* "gnome-session/gsm-autostart-app.c"
4791 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4793 (add-after 'install 'wrap-gnome-session
4794 (lambda* (#:key inputs outputs #:allow-other-keys)
4795 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4796 (let ((glib (assoc-ref inputs "glib:bin"))
4797 (out (assoc-ref outputs "out")))
4798 (wrap-program (string-append out "/bin/gnome-session")
4799 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4801 (add-after 'install 'add-absolute-paths-to-desktop-files
4802 (lambda* (#:key outputs #:allow-other-keys)
4803 (let* ((out (assoc-ref outputs "out")))
4804 (substitute* (map (lambda (x)
4805 (string-append out "/share/xsessions/" x))
4806 '("gnome.desktop" "gnome-xorg.desktop"))
4807 (("gnome-session") (string-append out "/bin/gnome-session")))
4811 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
4812 "-Dman=false" ; FIXME: disabled because of docbook validation error
4813 "-Dsystemd_journal=false")))
4814 (build-system meson-build-system)
4816 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4817 ("pkg-config" ,pkg-config)
4818 ("intltool" ,intltool)
4819 ("xsltproc" ,libxslt)
4820 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4821 ("docbook-xsl" ,docbook-xsl)
4822 ("docbook-xml" ,docbook-xml)
4825 `(("elogind" ,elogind)
4826 ("gnome-desktop" ,gnome-desktop)
4827 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4829 ("json-glib" ,json-glib)
4831 ("libxcomposite" ,libxcomposite)
4832 ("libxtst" ,libxtst)
4835 ("xtrans" ,xtrans)))
4836 (synopsis "Session manager for GNOME")
4838 "This package contains the GNOME session manager, as well as a
4839 configuration program to choose applications starting on login.")
4840 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4841 (license license:gpl2+)))
4849 (uri (string-append "mirror://gnome/sources/" name "/"
4850 (version-major+minor version) "/"
4851 name "-" version ".tar.xz"))
4854 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
4855 (build-system gnu-build-system)
4858 (modify-phases %standard-phases
4862 ;; The test suite requires a running X server.
4863 (system "Xvfb :1 &")
4864 (setenv "DISPLAY" ":1")
4866 ;; For the missing /etc/machine-id.
4867 (setenv "DBUS_FATAL_WARNINGS" "0")
4869 ;; Our mozjs-38 package does not compile the required Intl API
4870 ;; support for these failing tests.
4871 (substitute* "installed-tests/js/testLocale.js"
4872 ((".*toBeDefined.*") "")
4873 ((".*expect\\(datestr\\).*") ""))
4874 (substitute* "installed-tests/scripts/testCommandLine.sh"
4879 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4880 ("pkg-config" ,pkg-config)
4881 ("xmllint" ,libxml2)
4883 ("dbus-launch" ,dbus)
4884 ("uuidgen" ,util-linux)
4885 ("xvfb" ,xorg-server-for-tests)))
4887 ;; These are all in the Requires.private field of gjs-1.0.pc.
4889 ("gobject-introspection" ,gobject-introspection)
4890 ("mozjs" ,mozjs-60)))
4893 ("readline" ,readline)))
4894 (synopsis "Javascript bindings for GNOME")
4895 (home-page "https://live.gnome.org/Gjs")
4897 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4898 javascript engine and the GObject introspection framework.")
4899 (license license:gpl2+)))
4901 (define-public gedit
4907 (uri (string-append "mirror://gnome/sources/" name "/"
4908 (version-major+minor version) "/"
4909 name "-" version ".tar.xz"))
4912 "0qwig35hzvjaqic9x92jcpmycnvcybsbnbiw6rppryx0arwb3wza"))))
4913 (build-system glib-or-gtk-build-system)
4916 (modify-phases %standard-phases
4918 'install 'wrap-gedit
4919 (lambda* (#:key inputs outputs #:allow-other-keys)
4920 (let ((out (assoc-ref outputs "out"))
4921 (gtksourceview (assoc-ref inputs "gtksourceview"))
4922 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4923 (python-path (getenv "PYTHONPATH")))
4924 (wrap-program (string-append out "/bin/gedit")
4926 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4927 `("PYTHONPATH" ":" prefix (,python-path))
4928 ;; For language-specs.
4929 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4933 `(("dconf" ,dconf)))
4935 `(("intltool" ,intltool)
4936 ("itstool" ,itstool)
4937 ("gobject-introspection" ,gobject-introspection)
4938 ("pkg-config" ,pkg-config)))
4943 ("gtksourceview" ,gtksourceview-3)
4944 ("libpeas" ,libpeas)
4945 ("libxml2" ,libxml2)
4946 ("iso-codes" ,iso-codes)
4947 ("python-pygobject" ,python-pygobject)
4949 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4952 ("adwaita-icon-theme" ,adwaita-icon-theme)
4953 ("libsoup" ,libsoup)
4954 ("gnome-desktop" ,gnome-desktop)))
4955 (home-page "https://wiki.gnome.org/Apps/Gedit")
4956 (synopsis "GNOME text editor")
4957 (description "While aiming at simplicity and ease of use, gedit is a
4958 powerful general purpose text editor.")
4959 (license license:gpl2+)))
4961 (define-public zenity
4967 (uri (string-append "mirror://gnome/sources/" name "/"
4968 (version-major+minor version) "/"
4969 name "-" version ".tar.xz"))
4972 "1wipnp46pd238z9ck5rsckbaw7yla6c936fswq5w94k4c6bgcplr"))))
4973 (build-system gnu-build-system)
4975 `(("gettext" ,gettext-minimal)
4976 ("itstool" ,itstool)
4977 ("pkg-config" ,pkg-config)))
4979 `(("libnotify" ,libnotify)
4980 ("webkitgtk" ,webkitgtk)))
4981 (synopsis "Display graphical dialog boxes from shell scripts")
4982 (home-page "https://www.gnome.org")
4984 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4985 to display dialog boxes from the commandline and shell scripts.")
4986 (license license:lgpl2.0+)))
4988 (define-public mutter
4994 (uri (string-append "mirror://gnome/sources/" name "/"
4995 (version-major+minor version) "/"
4996 name "-" version ".tar.xz"))
4999 "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z"))))
5000 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5001 ;; versions of cogl and clutter. As a result, many of the inputs,
5002 ;; propagated-inputs, and configure flags used in cogl and clutter are
5003 ;; needed here as well.
5004 (build-system gnu-build-system)
5007 ;; XXX: build fails with [-Werror]:
5008 ;; backends/meta-cursor-renderer.c:112:5: error:
5009 ;; implicit declaration of function ?roundf?
5010 (list "--enable-compile-warnings=minimum"
5012 "--enable-native-backend"
5014 ;; The following flags are needed for the bundled clutter
5015 "--enable-x11-backend=yes"
5017 (string-append "--with-xwayland-path="
5018 (assoc-ref %build-inputs "xorg-server-xwayland")
5021 ;; the remaining flags are needed for the bundled cogl
5023 (string-append "--with-gl-libname="
5024 (assoc-ref %build-inputs "mesa")
5027 (modify-phases %standard-phases
5028 ;; Replace references to systemd libraries to elogind references.
5029 (add-before 'configure 'use-elogind
5031 (substitute* (list "configure"
5032 "src/backends/native/meta-launcher.c"
5034 (("systemd") "elogind"))
5037 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5038 ("gobject-introspection" ,gobject-introspection)
5039 ("intltool" ,intltool)
5040 ("pkg-config" ,pkg-config)
5042 ("autoconf" ,autoconf)
5043 ("automake" ,automake)
5044 ("libtool" ,libtool)))
5046 `(;; libmutter.pc refers to these:
5047 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5049 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5052 ("gdk-pixbuf" ,gdk-pixbuf)
5054 ("json-glib" ,json-glib)
5055 ("libinput" ,libinput)
5057 ("libxcomposite" ,libxcomposite)
5058 ("libxdamage" ,libxdamage)
5059 ("libxext" ,libxext)
5060 ("libxfixes" ,libxfixes)
5061 ("libxkbcommon" ,libxkbcommon)
5062 ("libxrandr" ,libxrandr)
5066 ("xinput" ,xinput)))
5068 `(("elogind" ,elogind)
5069 ("gnome-desktop" ,gnome-desktop)
5070 ("libcanberra-gtk" ,libcanberra)
5071 ("libgudev" ,libgudev)
5074 ("libxkbfile" ,libxkbfile)
5075 ("libxrandr" ,libxrandr)
5076 ("libxtst" ,libxtst)
5077 ("startup-notification" ,startup-notification)
5078 ("upower-glib" ,upower)
5079 ("xkeyboard-config" ,xkeyboard-config)
5080 ("xorg-server-xwayland" ,xorg-server-xwayland)
5081 ("zenity" ,zenity)))
5082 (synopsis "Window and compositing manager")
5083 (home-page "https://www.gnome.org")
5085 "Mutter is a window and compositing manager that displays and manages your
5086 desktop via OpenGL. Mutter combines a sophisticated display engine using the
5087 Clutter toolkit with solid window-management logic inherited from the Metacity
5089 (license license:gpl2+)))
5091 (define-public gnome-online-accounts
5093 (name "gnome-online-accounts")
5097 (uri (string-append "mirror://gnome/sources/" name "/"
5098 (version-major+minor version) "/"
5099 name "-" version ".tar.xz"))
5102 "1p1gdgryziklrgngn6m13xnvfx4gb01h723nndfi9944r24fbiq5"))))
5103 (outputs '("out" "lib"))
5104 (build-system glib-or-gtk-build-system)
5107 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5109 (modify-phases %standard-phases
5110 (add-before 'configure 'patch-libgoa-output
5111 (lambda* (#:key outputs #:allow-other-keys)
5112 (let ((lib (assoc-ref outputs "lib")))
5113 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5115 (("@exec_prefix@") lib)
5116 (("@libdir@") (string-append lib "/lib"))
5117 (("@includedir@") (string-append lib "/include"))
5118 (("@datadir@") (string-append lib "/share")))
5119 ;; Make sure gobject-introspection knows about the output
5120 ;; too (see <https://bugs.gnu.org/36535>).
5121 (setenv "outputs" "out lib")
5124 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5125 ("gobject-introspection" ,gobject-introspection)
5126 ("intltool" ,intltool)
5127 ("pkg-config" ,pkg-config)
5128 ("xsltproc" ,libxslt)))
5130 `(("glib" ,glib) ; required by goa-1.0.pc
5131 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5133 `(("docbook-xsl" ,docbook-xsl)
5134 ("json-glib" ,json-glib)
5135 ("libsecret" ,libsecret)
5137 ("webkitgtk" ,webkitgtk)))
5138 (synopsis "Single sign-on framework for GNOME")
5139 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5141 "GNOME Online Accounts provides interfaces so that applications and
5142 libraries in GNOME can access the user's online accounts. It has providers for
5143 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5144 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5145 (license license:lgpl2.0+)))
5147 (define-public evolution-data-server
5149 (name "evolution-data-server")
5153 (uri (string-append "mirror://gnome/sources/" name "/"
5154 (version-major+minor version) "/"
5155 name "-" version ".tar.xz"))
5158 "0h4f71kpf2ypdgifg369z35pk4cq99daw540yzjpax52grav2fjv"))))
5159 (build-system cmake-build-system)
5162 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5163 (runpaths (map (lambda (s)
5164 (string-append lib "/evolution-data-server/" s))
5165 '("addressbook-backends" "calendar-backends"
5166 "camel-providers" "credential-modules"
5167 "registry-modules"))))
5168 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5169 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5170 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5171 "-DENABLE_VALA_BINDINGS=ON"
5172 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
5173 ;; "-std=gnu++11" when our default compiler is >= GCC6.
5174 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
5175 ;; evolution-data-server has been updated to qualify ICU types
5176 ;; explicitly, as required by ICU 61 and later. See:
5177 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
5178 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
5179 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5180 (string-append lib "/evolution-data-server;")
5181 (string-join runpaths ";"))
5182 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
5184 (modify-phases %standard-phases
5185 (add-after 'unpack 'disable-failing-tests
5187 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5188 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5189 (delete-file-recursively "tests/book-migration")
5190 (substitute* "tests/CMakeLists.txt"
5191 (("add_subdirectory\\(book-migration\\)") ""))
5192 ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris:
5193 ;; assertion failed (uris->data == expected_uri):
5194 ;; ("" == "file:///tests/libedata-cal/components/event-1.ics")
5195 (substitute* "tests/libedata-cal/CMakeLists.txt"
5196 (("test-cal-meta-backend") ""))
5198 (add-after 'unpack 'patch-paths
5200 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5201 "tests/libedata-book/data-test-utils.c"
5202 "tests/libedata-book/test-book-cache-utils.c"
5203 "tests/libedata-cal/test-cal-cache-utils.c")
5204 (("/bin/rm") (which "rm")))
5206 (add-before 'configure 'dont-override-rpath
5208 (substitute* "CMakeLists.txt"
5209 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5210 ;; Remove it so the configure flag is respected.
5211 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
5214 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5215 ("gobject-introspection" ,gobject-introspection)
5217 ("intltool" ,intltool)
5218 ("pkg-config" ,pkg-config)
5220 ("python" ,python-wrapper)))
5222 ;; These are all in the Requires field of .pc files.
5224 ("libical" ,libical)
5225 ("libsecret" ,libsecret)
5226 ("libsoup" ,libsoup)
5228 ("sqlite" ,sqlite)))
5232 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5233 ("json-glib" ,json-glib)
5234 ("libcanberra" ,libcanberra)
5235 ("libgweather" ,libgweather)
5236 ("mit-krb5" ,mit-krb5)
5237 ("openldap" ,openldap)
5238 ("webkitgtk" ,webkitgtk)))
5239 (synopsis "Store address books and calendars")
5240 (home-page "https://wiki.gnome.org/Apps/Evolution")
5242 "This package provides a unified backend for programs that work with
5243 contacts, tasks, and calendar information. It was originally developed for
5244 Evolution (hence the name), but is now used by other packages as well.")
5245 (license license:lgpl2.0)))
5247 (define-public caribou
5253 (uri (string-append "mirror://gnome/sources/" name "/"
5254 (version-major+minor version) "/"
5255 name "-" version ".tar.xz"))
5258 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5259 (build-system glib-or-gtk-build-system)
5262 (modify-phases %standard-phases
5265 (lambda* (#:key outputs #:allow-other-keys)
5266 (let ((out (assoc-ref outputs "out")))
5267 ;; Use absolute shared library path in Caribou-1.0.typelib.
5268 (substitute* "libcaribou/Makefile"
5269 (("--shared-library=libcaribou.so")
5270 (string-append "--shared-library="
5271 out "/lib/libcaribou.so")))
5273 (add-after 'install 'wrap-programs
5274 (lambda* (#:key outputs #:allow-other-keys)
5275 (let* ((out (assoc-ref outputs "out"))
5276 (python-path (getenv "PYTHONPATH"))
5277 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5281 `("PYTHONPATH" ":" prefix (,python-path))
5282 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5283 (list (string-append out "/bin/caribou-preferences")
5284 (string-append out "/libexec/antler-keyboard"))))
5287 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5288 ("gobject-introspection" ,gobject-introspection)
5289 ("intltool" ,intltool)
5290 ("pkg-config" ,pkg-config)
5291 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5293 ("xsltproc" ,libxslt)))
5295 ;; caribou-1.0.pc refers to all these.
5296 `(("libgee" ,libgee)
5297 ("libxklavier" ,libxklavier)
5298 ("libxtst" ,libxtst)
5301 `(("clutter" ,clutter)
5304 ("python-pygobject" ,python2-pygobject)))
5305 (synopsis "Text entry and UI navigation application")
5306 (home-page "https://wiki.gnome.org/Projects/Caribou")
5308 "Caribou is an input assistive technology intended for switch and pointer
5310 (license license:lgpl2.1)))
5312 (define-public network-manager
5314 (name "network-manager")
5318 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5319 (version-major+minor version) "/"
5320 "NetworkManager-" version ".tar.xz"))
5323 "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm"))
5324 (modules '((guix build utils)))
5327 (substitute* "src/devices/wwan/nm-modem-manager.c"
5328 (("systemd") "elogind"))
5330 (build-system gnu-build-system)
5332 "doc")) ; 8 MiB of gtk-doc HTML
5335 (let ((out (assoc-ref %outputs "out"))
5336 (doc (assoc-ref %outputs "doc"))
5337 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5339 (list "--with-libnm-glib" ; needed by network-manager-applet
5340 "--with-systemd-journal=no"
5341 "--with-session-tracking=elogind"
5342 "--with-suspend-resume=elogind"
5343 "--with-consolekit=no"
5344 "--with-crypto=gnutls"
5345 "--disable-config-plugin-ibft"
5347 "--localstatedir=/var"
5348 (string-append "--with-udev-dir="
5350 (string-append "--with-dbus-sys-dir="
5351 out "/etc/dbus-1/system.d")
5352 (string-append "--with-html-dir="
5353 doc "/share/gtk-doc/html")
5354 (string-append "--with-dhclient=" dhclient)))
5356 (modify-phases %standard-phases
5357 ;; This bare "ls" invocation breaks some tests.
5358 (add-after 'unpack 'patch-ls-invocation
5360 (substitute* "build-aux/ltmain.sh"
5362 (string-append "`" (which "ls") " -")))
5364 (add-before 'configure 'pre-configure
5366 ;; These tests try to test aspects of network-manager's
5367 ;; functionality within restricted containers, but they don't
5368 ;; cope with being already in the Guix build jail as that jail
5369 ;; lacks some features that they would like to proxy over (like
5371 (substitute* '("Makefile.in")
5372 (("src/platform/tests/test-address-linux") " ")
5373 (("src/platform/tests/test-cleanup-linux") " ")
5374 (("src/platform/tests/test-link-linux") " ")
5375 (("src/platform/tests/test-route-linux") " ")
5376 (("src/devices/tests/test-acd") "")
5377 (("src/devices/tests/test-arping") " ")
5378 (("src/devices/tests/test-lldp") " ")
5379 (("src/tests/test-route-manager-linux") " "))
5381 (add-after 'unpack 'delete-failing-tests
5383 ;; FIXME: These three tests fail for unknown reasons.
5384 ;; ERROR:libnm-core/tests/test-general.c:5842:
5385 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
5386 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
5387 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
5388 ;; ERROR:libnm-core/tests/test-setting.c:907:
5389 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
5390 (substitute* "Makefile.in"
5391 (("libnm-core/tests/test-general") " ")
5392 (("libnm-core/tests/test-keyfile") " ")
5393 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
5395 (add-before 'check 'pre-check
5397 ;; For the missing /etc/machine-id.
5398 (setenv "DBUS_FATAL_WARNINGS" "0")
5406 "nmstatedir=/tmp/nm"
5412 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5413 ("gobject-introspection" ,gobject-introspection)
5414 ("docbook-xsl" ,docbook-xsl)
5415 ("intltool" ,intltool)
5416 ("libxslt" ,libxslt)
5417 ("libxml2" ,libxml2)
5418 ("pkg-config" ,pkg-config)
5420 ("python" ,python-wrapper)
5421 ("python-dbus" ,python-dbus)
5422 ("python-pygobject" ,python-pygobject)))
5424 `(("coreutils" ,coreutils) ; for ls
5426 ("cyrus-sasl" ,cyrus-sasl)
5427 ("dbus-glib" ,dbus-glib)
5428 ("dnsmasq" ,dnsmasq)
5431 ("iptables" ,iptables)
5432 ("isc-dhcp" ,isc-dhcp)
5433 ("jansson" ,jansson)
5434 ("libgcrypt" ,libgcrypt)
5435 ("libgudev" ,libgudev)
5438 ("libsoup" ,libsoup)
5439 ("modem-manager" ,modem-manager)
5440 ("newt" ,newt) ;for the 'nmtui' console interface
5443 ("readline" ,readline)
5444 ("util-linux" ,util-linux)
5445 ("elogind" ,elogind)))
5446 (synopsis "Network connection manager")
5447 (home-page "https://www.gnome.org/projects/NetworkManager/")
5449 "NetworkManager is a system network service that manages your network
5450 devices and connections, attempting to keep active network connectivity when
5451 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5452 devices, and provides VPN integration with a variety of different VPN
5454 (license license:gpl2+)
5455 (properties '((upstream-name . "NetworkManager")))))
5457 (define-public network-manager-openvpn
5459 (name "network-manager-openvpn")
5464 "mirror://gnome/sources/NetworkManager-openvpn/"
5465 (version-major+minor version)
5466 "/NetworkManager-openvpn-" version ".tar.xz"))
5469 "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr"))))
5470 (build-system gnu-build-system)
5472 '(#:configure-flags '("--enable-absolute-paths")))
5474 `(("pkg-config" ,pkg-config)
5475 ("intltool" ,intltool)))
5478 ("openvpn" ,openvpn)
5479 ("network-manager" ,network-manager)
5480 ("network-manager-applet" ,network-manager-applet) ;for libnma
5481 ("libsecret" ,libsecret)))
5482 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5483 (synopsis "OpenVPN plug-in for NetworkManager")
5485 "This extension of NetworkManager allows it to take care of connections
5486 to virtual private networks (VPNs) via OpenVPN.")
5487 (license license:gpl2+)
5488 (properties `((upstream-name . "NetworkManager-openvpn")))))
5490 (define-public mobile-broadband-provider-info
5492 (name "mobile-broadband-provider-info")
5493 (version "20190116")
5497 "mirror://gnome/sources/"
5498 "mobile-broadband-provider-info/" version "/"
5499 "mobile-broadband-provider-info-" version ".tar.xz"))
5502 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
5503 (build-system gnu-build-system)
5505 `(#:tests? #f)) ; no tests
5506 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5507 (synopsis "Database of broadband connection configuration")
5508 (description "Database of broadband connection configuration.")
5509 (license license:public-domain)))
5511 (define-public network-manager-applet
5513 (name "network-manager-applet")
5517 (uri (string-append "mirror://gnome/sources/" name "/"
5518 (version-major+minor version) "/"
5519 name "-" version ".tar.xz"))
5522 "0y31g0lxr93370xi74hbpvcy9m81n5wdkdhq8xy2nqp0y4219p13"))))
5523 (build-system meson-build-system)
5525 '(#:glib-or-gtk? #t))
5527 `(("intltool" ,intltool)
5528 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5529 ("gobject-introspection" ,gobject-introspection)
5530 ("gtk-doc" ,gtk-doc)
5531 ("pkg-config" ,pkg-config)))
5533 ;; libnm-gtk.pc refers to all these.
5534 `(("dbus-glib" ,dbus-glib)
5536 ("network-manager" ,network-manager)))
5539 ("iso-codes" ,iso-codes)
5540 ("libgudev" ,libgudev)
5541 ("libnotify" ,libnotify)
5542 ("libsecret" ,libsecret)
5543 ("libselinux" ,libselinux)
5544 ("jansson" ,jansson) ; for team support
5545 ("modem-manager" ,modem-manager)
5546 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
5547 (synopsis "Applet for managing network connections")
5548 (home-page "https://www.gnome.org/projects/NetworkManager/")
5550 "This package contains a systray applet for NetworkManager. It displays
5551 the available networks and allows users to easily switch between them.")
5552 (license license:gpl2+)))
5554 (define-public libxml++
5560 (uri (string-append "mirror://gnome/sources/" name "/"
5561 (version-major+minor version) "/"
5562 name "-" version ".tar.xz"))
5565 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5566 (build-system gnu-build-system)
5567 ;; libxml++-3.0.pc refers to all these.
5569 `(("libxml2" ,libxml2)
5570 ("glibmm" ,glibmm)))
5573 ("pkg-config" ,pkg-config)))
5574 (home-page "http://libxmlplusplus.sourceforge.net/")
5575 (synopsis "C++ wrapper for XML parser library libxml2")
5577 "This package provides a C++ wrapper for the XML parser library
5579 (license license:lgpl2.1+)))
5581 (define-public libxml++-2
5588 (uri (string-append "mirror://gnome/sources/" name "/"
5589 (version-major+minor version) "/"
5590 name "-" version ".tar.xz"))
5593 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5601 (uri (string-append "mirror://gnome/sources/" name "/"
5602 (version-major+minor version) "/"
5603 name "-" version ".tar.xz"))
5606 "1handy65r1n0zby09jr492b3643wszzigdkxp7q2ypgxb3hyv45y"))))
5607 (build-system glib-or-gtk-build-system)
5610 `("--without-plymouth"
5611 "--disable-systemd-journal"
5613 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5614 ;; instead of having to replace it (i.e., stopping the mingetty
5615 ;; service for TTY 1 before starting GDM).
5616 "--with-initial-vt=7"
5618 ;; Use '/etc/environment' for locale settings instead of the
5619 ;; systemd-specific '/etc/locale.conf'.
5620 "--with-lang-file=/etc/environment"
5622 ,(string-append "--with-udevdir="
5623 (assoc-ref %outputs "out") "/lib/udev")
5625 "--localstatedir=/var"
5626 ,(string-append "--with-default-path="
5627 (string-join '("/run/setuid-programs"
5628 "/run/current-system/profile/bin"
5629 "/run/current-system/profile/sbin")
5631 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5632 ;; XDG_DATA_DIRS so that it finds its schemas.
5633 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5635 (modify-phases %standard-phases
5637 'configure 'pre-configure
5638 (lambda* (#:key inputs outputs #:allow-other-keys)
5639 ;; We don't have <systemd/sd-daemon.h>.
5640 (substitute* '("common/gdm-log.c"
5641 "daemon/gdm-server.c"
5642 "daemon/gdm-session-worker.c"
5643 "daemon/gdm-session-worker-job.c")
5644 (("#include <systemd/sd-daemon\\.h>") ""))
5645 ;; Use elogind for sd-login.
5646 (substitute* '("common/gdm-common.c"
5647 "daemon/gdm-manager.c"
5648 "libgdm/gdm-user-switching.c")
5649 (("#include <systemd/sd-login\\.h>")
5650 "#include <elogind/sd-login.h>"))
5651 ;; Check for elogind.
5652 (substitute* '("configure")
5655 ;; Look for system-installed sessions in
5656 ;; /run/current-system/profile/share.
5657 (substitute* '("libgdm/gdm-sessions.c"
5658 "daemon/gdm-session.c"
5659 "daemon/gdm-display.c"
5660 "daemon/gdm-launch-environment.c")
5662 "\"/run/current-system/profile/share/x")
5663 (("DATADIR \"/wayland")
5664 "\"/run/current-system/profile/share/wayland")
5665 (("DATADIR \"/gnome")
5666 "\"/run/current-system/profile/share/gnome"))
5667 (let ((propagate '("GDM_CUSTOM_CONF"
5671 ;; XXX: Remove this once GNOME Shell is
5672 ;; a dependency of GDM.
5674 (substitute* "daemon/gdm-session.c"
5675 (("set_up_session_environment \\(self\\);")
5676 (apply string-append
5677 "set_up_session_environment (self);\n"
5680 "gdm_session_set_environment_variable "
5681 "(self, \"" name "\","
5682 "g_getenv (\"" name "\"));\n"))
5684 ;; Find the configuration file using an environment variable.
5685 (substitute* '("common/gdm-settings.c")
5686 (("GDM_CUSTOM_CONF")
5687 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
5688 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
5689 " : GDM_CUSTOM_CONF)")))
5690 ;; Use service-supplied path to X.
5691 (substitute* '("daemon/gdm-server.c")
5692 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5693 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5694 (substitute* '("daemon/gdm-x-session.c")
5695 (("\"dbus-daemon\"")
5696 "g_getenv (\"GDM_DBUS_DAEMON\")")
5698 "g_getenv (\"GDM_X_SERVER\")")
5699 (("GDMCONFDIR \"/Xsession\"")
5700 "g_getenv (\"GDM_X_SESSION\")"))
5701 ;; Use an absolute path for GNOME Session.
5702 (substitute* "daemon/gdm-launch-environment.c"
5703 (("\"gnome-session\"")
5704 (string-append "\"" (assoc-ref inputs "gnome-session")
5705 "/bin/gnome-session\"")))
5706 ;; Do not automatically select the placeholder session.
5707 (substitute* "daemon/gdm-session.c"
5708 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
5709 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
5710 "(g_strcmp0(search_dirs[i], \""
5711 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
5713 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
5714 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
5715 "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
5717 ;; GDM requires that there be at least one desktop entry
5718 ;; file. This phase installs a hidden one that simply
5719 ;; fails. This enables users to use GDM with a
5720 ;; '~/.xsession' script with no other desktop entry files.
5721 ;; See <https://bugs.gnu.org/35068>.
5722 (add-after 'install 'install-placeholder-desktop-entry
5723 (lambda* (#:key inputs outputs #:allow-other-keys)
5724 (let* ((out (assoc-ref outputs "out"))
5725 (sessions (string-append out "/share/gdm/BuiltInSessions"))
5726 (fail (string-append sessions "/fail.desktop")))
5728 (with-output-to-file fail
5732 '("[Desktop Entry]\n"
5734 "Type=Application\n"
5736 "Comment=This session fails immediately.\n"
5740 ;; GDM needs GNOME Session to run these applications. We link
5741 ;; their autostart files in `share/gdm/greeter/autostart'
5742 ;; because GDM explicitly tells GNOME Session to look there.
5744 ;; XXX: GNOME Shell should be linked here too, but currently
5745 ;; GNOME Shell depends on GDM.
5746 (add-after 'install 'link-autostart-files
5747 (lambda* (#:key inputs outputs #:allow-other-keys)
5748 (let* ((out (assoc-ref outputs "out"))
5749 (autostart (string-append out "/share/gdm/"
5750 "greeter/autostart"))
5751 (settings (assoc-ref inputs "gnome-settings-daemon")))
5753 (with-directory-excursion autostart
5754 (for-each (lambda (desktop)
5755 (symlink desktop (basename desktop)))
5756 (find-files (string-append settings "/etc/xdg"))))
5760 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5761 ("gobject-introspection" ,gobject-introspection)
5762 ("intltool" ,intltool)
5763 ("itstool" ,itstool)
5764 ("pkg-config" ,pkg-config)
5765 ("xmllint" ,libxml2)))
5767 `(("accountsservice" ,accountsservice)
5768 ("check" ,check) ; for testing
5769 ("elogind" ,elogind)
5770 ("gnome-session" ,gnome-session)
5771 ("gnome-settings-daemon" ,gnome-settings-daemon)
5773 ("iso-codes" ,iso-codes)
5774 ("libcanberra" ,libcanberra)
5775 ("linux-pam" ,linux-pam)))
5776 (synopsis "Display manager for GNOME")
5777 (home-page "https://wiki.gnome.org/Projects/GDM/")
5779 "GNOME Display Manager is a system service that is responsible for
5780 providing graphical log-ins and managing local and remote displays.")
5781 (license license:gpl2+)))
5783 (define-public libgtop
5789 (uri (string-append "mirror://gnome/sources/" name "/"
5790 (version-major+minor version) "/"
5791 name "-" version ".tar.xz"))
5794 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5795 (build-system gnu-build-system)
5797 `(("gobject-introspection" ,gobject-introspection)
5798 ("intltool" ,intltool)
5800 ("pkg-config" ,pkg-config)))
5802 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5803 (synopsis "Portable system access library")
5804 (home-page "https://www.gnome.org/")
5806 "LibGTop is a library to get system specific data such as CPU and memory
5807 usage and information about running processes.")
5808 (license license:gpl2+)))
5810 (define-public gnome-bluetooth
5812 (name "gnome-bluetooth")
5816 (uri (string-append "mirror://gnome/sources/" name "/"
5817 (version-major+minor version) "/"
5818 name "-" version ".tar.xz"))
5821 "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"))))
5822 (build-system meson-build-system)
5824 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5825 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5826 ("gobject-introspection" ,gobject-introspection)
5827 ("intltool" ,intltool)
5828 ("pkg-config" ,pkg-config)
5829 ("xmllint" ,libxml2)))
5831 ;; gnome-bluetooth-1.0.pc refers to all these.
5835 `(("libcanberra" ,libcanberra)
5836 ("libnotify" ,libnotify)))
5837 (synopsis "GNOME Bluetooth subsystem")
5838 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5840 "This package contains tools for managing and manipulating Bluetooth
5841 devices using the GNOME desktop.")
5842 (license license:lgpl2.1+)))
5844 (define-public gnome-control-center
5846 (name "gnome-control-center")
5850 (uri (string-append "mirror://gnome/sources/" name "/"
5851 (version-major+minor version) "/"
5852 name "-" version ".tar.xz"))
5855 "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r"))
5858 "gnome-control-center-use-udisks-to-get-disk-size.patch"))))
5859 (build-system meson-build-system)
5863 (list "-Dcheese=false")
5865 (modify-phases %standard-phases
5866 (add-before 'configure 'patch-paths
5867 (lambda* (#:key inputs #:allow-other-keys)
5868 (let ((libc (assoc-ref inputs "libc"))
5869 (tzdata (assoc-ref inputs "tzdata"))
5870 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
5871 (nm-applet (assoc-ref inputs "network-manager-applet")))
5872 (substitute* "panels/datetime/tz.h"
5873 (("/usr/share/zoneinfo/zone.tab")
5874 (string-append tzdata "/share/zoneinfo/zone.tab")))
5875 (substitute* "tests/datetime/test-endianess.c"
5876 (("/usr/share/locale")
5877 (string-append libc "/share/locale")))
5878 (substitute* "panels/region/cc-region-panel.c"
5879 (("\"gkbd-keyboard-display")
5880 (string-append "\"" libgnomekbd
5881 "/bin/gkbd-keyboard-display")))
5882 (substitute* '("panels/network/net-device-wifi.c"
5883 "panels/network/net-device.c"
5884 "panels/network/connection-editor/net-connection-editor.c")
5885 (("\"nm-connection-editor")
5886 (string-append "\"" nm-applet
5887 "/bin/nm-connection-editor")))
5888 (substitute* '("panels/user-accounts/run-passwd.c")
5889 (("/usr/bin/passwd")
5890 "/run/setuid-programs/passwd"))
5893 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5894 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5895 ("intltool" ,intltool)
5896 ("pkg-config" ,pkg-config)
5897 ("xsltproc" ,libxslt)))
5899 `(("accountsservice" ,accountsservice)
5900 ("clutter-gtk" ,clutter-gtk)
5901 ("colord-gtk" ,colord-gtk)
5904 ("docbook-xsl" ,docbook-xsl)
5905 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5906 ("gnome-bluetooth" ,gnome-bluetooth)
5907 ("gnome-desktop" ,gnome-desktop)
5908 ("gnome-online-accounts" ,gnome-online-accounts)
5909 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5910 ("gnome-settings-daemon" ,gnome-settings-daemon)
5913 ("libcanberra" ,libcanberra)
5914 ("libgnomekbd" ,libgnomekbd)
5915 ("libgudev" ,libgudev)
5916 ("libgtop" ,libgtop)
5917 ("libpwquality" ,libpwquality)
5918 ("libsecret" ,libsecret)
5919 ("libsoup" ,libsoup)
5920 ("libxml2" ,libxml2)
5921 ("libwacom" ,libwacom)
5923 ("mit-krb5" ,mit-krb5)
5924 ("modem-manager" ,modem-manager)
5925 ("network-manager-applet" ,network-manager-applet)
5927 ("pulseaudio" ,pulseaudio)
5928 ("smbclient" ,samba)
5931 ("upower" ,upower)))
5932 (synopsis "Utilities to configure the GNOME desktop")
5933 (home-page "https://www.gnome.org/")
5935 "This package contains configuration applets for the GNOME desktop,
5936 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5937 properties, sound setup, desktop theme and background, user interface
5938 properties, screen resolution, and other GNOME parameters.")
5939 (license license:gpl2+)))
5941 (define-public gnome-shell
5943 (name "gnome-shell")
5947 (uri (string-append "mirror://gnome/sources/" name "/"
5948 (version-major+minor version) "/"
5949 name "-" version ".tar.xz"))
5952 "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2"))
5953 (patches (search-patches "gnome-shell-theme.patch"))
5954 (modules '((guix build utils)))
5957 ;; Copy images for use on the GDM log-in screen.
5958 (copy-file #$(file-append %artwork-repository
5959 "/slim/0.x/background.png")
5960 "data/theme/guix-background.png")
5961 (copy-file #$(file-append %artwork-repository
5962 "/logo/Guix-horizontal-white.svg")
5963 "data/theme/guix-logo.svg")
5965 (build-system meson-build-system)
5968 #:disallowed-references ((,glib "bin")
5972 (list "-Dsystemd=false"
5973 ;; Otherwise, the RUNPATH will lack the final path component.
5974 (string-append "-Dc_link_args=-Wl,-rpath="
5975 (assoc-ref %outputs "out")
5976 "/lib/gnome-shell"))
5978 #:modules ((guix build meson-build-system)
5983 (modify-phases %standard-phases
5984 (add-after 'unpack 'fix-keysdir
5985 (lambda* (#:key outputs #:allow-other-keys)
5986 (let* ((out (assoc-ref outputs "out"))
5987 (keysdir (string-append
5988 out "/share/gnome-control-center/keybindings")))
5989 (substitute* "meson.build"
5991 (string-append "keysdir = '" keysdir "'\n")))
5993 (add-before 'configure 'convert-logo-to-png
5994 (lambda* (#:key inputs #:allow-other-keys)
5995 ;; Convert the logo from SVG to PNG.
5996 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
5997 "data/theme/guix-logo.svg")))
5998 (add-before 'configure 'record-absolute-file-names
5999 (lambda* (#:key inputs #:allow-other-keys)
6000 (substitute* "js/misc/ibusManager.js"
6002 (string-append "'" (assoc-ref inputs "ibus")
6003 "/bin/ibus-daemon'")))
6004 (substitute* "js/ui/status/keyboard.js"
6005 (("'gkbd-keyboard-display'")
6006 (string-append "'" (assoc-ref inputs "libgnomekbd")
6007 "/bin/gkbd-keyboard-display'")))
6009 (add-before 'check 'pre-check
6010 (lambda* (#:key inputs #:allow-other-keys)
6011 ;; Tests require a running X server.
6012 (system "Xvfb :1 &")
6013 (setenv "DISPLAY" ":1")
6015 (add-after 'install 'wrap-programs
6016 (lambda* (#:key inputs outputs #:allow-other-keys)
6017 (let ((out (assoc-ref outputs "out"))
6018 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6019 (python-path (getenv "PYTHONPATH")))
6020 (wrap-program (string-append out "/bin/gnome-shell")
6021 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6022 ;; FIXME: gnome-shell loads these libraries with unqualified
6023 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6024 ;; alternative might be to patch gnome-shell.
6025 `("LD_LIBRARY_PATH" ":" prefix
6027 (string-append (assoc-ref inputs pkg) "/lib"))
6029 "gnome-bluetooth" "librsvg" "libgweather"))))
6032 (wrap-program (string-append out "/bin/" prog)
6033 `("PYTHONPATH" ":" prefix (,python-path))
6034 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6035 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
6037 (replace 'glib-or-gtk-wrap
6038 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6039 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6040 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6041 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6042 ;; phase. Fix that since we don't need these.
6043 (wrap #:inputs (fold alist-delete inputs
6044 '("inkscape" "intltool" "glib:bin"))
6045 #:outputs outputs)))))))
6047 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6048 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6049 ("gobject-introspection" ,gobject-introspection)
6050 ("inkscape" ,inkscape)
6051 ("intltool" ,intltool)
6052 ("pkg-config" ,pkg-config)
6054 ("ruby-sass" ,ruby-sass)
6056 ("xsltproc" ,libxslt)
6058 ("xorg-server" ,xorg-server-for-tests)))
6060 `(("accountsservice" ,accountsservice)
6061 ("caribou" ,caribou)
6062 ("docbook-xsl" ,docbook-xsl)
6063 ("evolution-data-server" ,evolution-data-server)
6066 ("gdk-pixbuf" ,gdk-pixbuf+svg)
6068 ("gnome-bluetooth" ,gnome-bluetooth)
6069 ("gnome-desktop" ,gnome-desktop)
6070 ("gnome-settings-daemon" ,gnome-settings-daemon)
6071 ("gst-plugins-base" ,gst-plugins-base)
6073 ("libcanberra" ,libcanberra)
6074 ("libcroco" ,libcroco)
6075 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
6076 ("libgweather" ,libgweather)
6077 ("libsoup" ,libsoup)
6078 ("mesa-headers" ,mesa-headers)
6080 ("network-manager-applet" ,network-manager-applet)
6082 ("pulseaudio" ,pulseaudio)
6083 ("python-pygobject" ,python-pygobject)
6084 ("startup-notification" ,startup-notification)
6085 ("telepathy-logger" ,telepathy-logger)
6087 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6088 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6089 ("librsvg" ,librsvg)
6090 ("geoclue" ,geoclue)))
6091 (synopsis "Desktop shell for GNOME")
6092 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6094 "GNOME Shell provides core user interface functions for the GNOME desktop,
6095 like switching to windows and launching applications.")
6096 (license license:gpl2+)))
6098 (define-public gtk-vnc
6105 (uri (string-append "mirror://gnome/sources/" name "/"
6106 (version-major+minor version) "/"
6107 name "-" version ".tar.xz"))
6110 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
6111 (build-system gnu-build-system)
6113 '(#:configure-flags '("--with-gtk=3.0")))
6115 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6117 `(("cyrus-sasl" ,cyrus-sasl)
6119 ("libgcrypt" ,libgcrypt)
6120 ("pulseaudio" ,pulseaudio)))
6122 `(("glib:bin" ,glib "bin")
6123 ("gobject-introspection" ,gobject-introspection)
6124 ("intltool" ,intltool)
6125 ("pkg-config" ,pkg-config)
6126 ("python-wrapper" ,python-wrapper)
6128 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6129 (synopsis "VNC viewer widget for GTK+")
6131 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6132 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6133 GTK-VNC implements client side RFB protocol and authentication extensions such
6134 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6135 (license license:lgpl2.1+)))
6137 (define-public gnome-autoar
6139 (name "gnome-autoar")
6143 (uri (string-append "mirror://gnome/sources/" name "/"
6144 (version-major+minor version) "/"
6145 name "-" version ".tar.xz"))
6148 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
6149 (build-system glib-or-gtk-build-system)
6151 `(("gnome-common" ,gnome-common)
6152 ("gobject-introspection" ,gobject-introspection)
6153 ("pkg-config" ,pkg-config)))
6155 `(("libarchive" ,libarchive))) ; XXX document why
6158 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
6159 (synopsis "Archives integration support for GNOME")
6160 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6162 "GNOME Autoar is a library which makes creating and extracting archives
6163 easy, safe, and automatic.")
6164 (license license:lgpl2.1+)))
6166 (define-public tracker
6172 (uri (string-append "mirror://gnome/sources/" name "/"
6173 (version-major+minor version) "/"
6174 name "-" version ".tar.xz"))
6177 "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf"))))
6178 (build-system glib-or-gtk-build-system)
6181 (modify-phases %standard-phases
6182 (add-after 'unpack 'disable-broken-tests
6184 ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings
6185 ;; schema 'org.freedesktop.Tracker.FTS' is not installed.
6186 (substitute* "tests/libtracker-miner/Makefile.in"
6187 (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "")
6188 (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "")
6189 (("tracker-monitor-test\\$\\(EXEEXT\\)") ""))
6190 (substitute* "tests/libtracker-fts/Makefile.in"
6191 (("tracker-fts-test\\$\\(EXEEXT\\)") ""))
6192 (substitute* "tests/libtracker-data/Makefile.in"
6193 (("tracker-ontology\\$\\(EXEEXT\\)") "")
6194 (("tracker-ontology-change\\$\\(EXEEXT\\)") "")
6195 (("tracker-backup\\$\\(EXEEXT\\)") "")
6196 (("tracker-sparql-blank\\$\\(EXEEXT\\)") "")
6197 (("tracker-sparql\\$\\(EXEEXT\\)") ""))
6198 ;; These fail because the SPARQL backend could not be loaded.
6199 ;; That's because /etc/machine-id is missing, but
6200 ;; DBUS_FATAL_WARNINGS does not help here.
6201 (substitute* "tests/libtracker-sparql/Makefile.in"
6202 (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "")
6203 (("tracker-sparql-test\\$\\(EXEEXT\\)") ""))
6204 (substitute* "tests/tracker-steroids/Makefile.in"
6205 (("tracker-test\\$\\(EXEEXT\\)") ""))
6207 ;; Two tests fail if LANG is not set.
6208 (add-before 'check 'pre-check
6210 (setenv "LANG" "en_US.UTF-8")
6211 ;; For the missing /etc/machine-id.
6212 (setenv "DBUS_FATAL_WARNINGS" "0")
6215 `(("gnome-common" ,gnome-common)
6216 ("gobject-introspection" ,gobject-introspection)
6217 ("intltool" ,intltool)
6218 ("pkg-config" ,pkg-config)
6223 ("gstreamer" ,gstreamer)
6224 ("gst-plugins-base" ,gst-plugins-base)
6226 ("nettle" ,nettle) ; XXX why is this needed?
6228 ("poppler" ,poppler)
6230 ("libexif" ,libexif)
6232 ("libtiff" ,libtiff)
6233 ("libvorbis" ,libvorbis)
6235 ("totem-pl-parser" ,totem-pl-parser)
6238 ("libxml2" ,libxml2)
6240 ("libunistring" ,libunistring)
6242 ("json-glib" ,json-glib)
6243 ("openjpeg" ,openjpeg-1)
6244 ("libosinfo" ,libosinfo)
6246 ("libseccomp" ,libseccomp)
6247 ("libsoup" ,libsoup)
6248 ("libuuid" ,util-linux)))
6249 (synopsis "Metadata database, indexer and search tool")
6250 (home-page "https://wiki.gnome.org/Projects/Tracker")
6252 "Tracker is an advanced framework for first class objects with associated
6253 metadata and tags. It provides a one stop solution for all metadata, tags,
6254 shared object databases, search tools and indexing.")
6255 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
6256 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
6257 (license (list license:gpl2+
6259 license:lgpl2.0+))))
6261 (define-public nautilus
6267 (uri (string-append "mirror://gnome/sources/" name "/"
6268 (version-major+minor version) "/"
6269 name "-" version ".tar.xz"))
6272 "144r4py9b8w9ycsg6fggjg05kwvymh003qsb3h6apgpch5y3zgnv"))))
6273 (build-system meson-build-system)
6276 ;; XXX: FAIL: check-nautilus
6277 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
6280 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6281 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6282 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6283 ("gobject-introspection" ,gobject-introspection)
6284 ("intltool" ,intltool)
6285 ("pkg-config" ,pkg-config)))
6291 ("gnome-desktop" ,gnome-desktop)
6292 ("gnome-autoar" ,gnome-autoar)
6293 ("libseccomp" ,libseccomp)
6294 ("libselinux" ,libselinux)
6295 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
6296 ("tracker" ,tracker)
6297 ;; XXX: gtk+ is required by libnautilus-extension.pc
6299 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
6301 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
6303 ("libexif" ,libexif)
6304 ("libxml2" ,libxml2)))
6305 (synopsis "File manager for GNOME")
6306 (home-page "https://wiki.gnome.org/Apps/Nautilus")
6308 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
6309 design and behaviour, giving the user a simple way to navigate and manage its
6311 (license license:gpl2+)))
6313 (define-public baobab
6320 "mirror://gnome/sources/" name "/"
6321 (version-major+minor version) "/"
6322 name "-" version ".tar.xz"))
6325 "0kx721s1hhw1g0nvbqhb93g8iq6f852imyhfhl02zcqy4ipx0kay"))))
6326 (build-system meson-build-system)
6328 '(#:glib-or-gtk? #t))
6330 `(("intltool" ,intltool)
6331 ("pkg-config" ,pkg-config)
6332 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6333 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6334 ("itstool" ,itstool)
6335 ("xmllint" ,libxml2)
6336 ("glib" ,glib "bin")
6340 (synopsis "Disk usage analyzer for GNOME")
6342 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
6343 usage in the GNOME desktop environment. It can easily scan device volumes or
6344 a specific user-requested directory branch (local or remote). Once the scan
6345 is complete it provides a graphical representation of each selected folder.")
6346 (home-page "https://wiki.gnome.org/Apps/Baobab")
6347 (license license:gpl2+)))
6349 (define-public gnome-backgrounds
6351 (name "gnome-backgrounds")
6356 (uri (string-append "mirror://gnome/sources/" name "/"
6357 (version-major+minor version) "/"
6358 name "-" version ".tar.xz"))
6361 "1179jrl16bp9gqabqhw7nnfp8qzf5y1vf9fi45bni6rfmwm3mrpc"))))
6362 (build-system meson-build-system)
6364 `(("intltool" ,intltool)))
6365 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
6366 (synopsis "Background images for the GNOME desktop")
6368 "GNOME backgrounds package contains a collection of graphics files which
6369 can be used as backgrounds in the GNOME Desktop environment. Additionally,
6370 the package creates the proper framework and directory structure so that you
6371 can add your own files to the collection.")
6372 (license (list license:gpl2+
6375 license:cc-by-sa3.0))))
6377 (define-public gnome-screenshot
6379 (name "gnome-screenshot")
6384 (uri (string-append "mirror://gnome/sources/" name "/"
6385 (version-major+minor version) "/"
6386 name "-" version ".tar.xz"))
6389 "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v"))))
6390 (build-system meson-build-system)
6392 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6393 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6394 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6395 ("intltool" ,intltool)
6396 ("appstream-glib" ,appstream-glib)
6397 ("pkg-config" ,pkg-config)))
6400 ("libcanberra" ,libcanberra)
6402 ("libxext" ,libxext)))
6403 (home-page "https://git.gnome.org/browse/gnome-screenshot")
6404 (synopsis "Take pictures of your screen")
6406 "GNOME Screenshot is a utility used for taking screenshots of the entire
6407 screen, a window or a user defined area of the screen, with optional
6408 beautifying border effects.")
6409 (license license:gpl2+)))
6411 (define-public dconf-editor
6413 (name "dconf-editor")
6418 (uri (string-append "mirror://gnome/sources/" name "/"
6419 (version-major+minor version) "/"
6420 name "-" version ".tar.xz"))
6423 "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5"))))
6424 (build-system meson-build-system)
6426 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6427 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6428 ("intltool" ,intltool)
6429 ("pkg-config" ,pkg-config)
6434 ("libxml2" ,libxml2)))
6435 (home-page "https://git.gnome.org/browse/dconf-editor")
6436 (synopsis "Graphical editor for GNOME's dconf configuration system")
6438 "Dconf-editor is a graphical tool for browsing and editing the dconf
6439 configuration system for GNOME. It allows users to configure desktop
6440 software that do not provide their own configuration interface.")
6441 (license license:lgpl2.1+)))
6443 (define-public gnome-default-applications
6445 (name "gnome-default-applications")
6447 (build-system trivial-build-system)
6450 `(("nautilus" ,nautilus)
6451 ("evince" ,evince)))
6453 `(#:modules ((guix build utils))
6456 (use-modules (guix build utils))
6457 (let* ((out (assoc-ref %outputs "out"))
6458 (apps (string-append out "/share/applications")))
6460 (call-with-output-file (string-append apps "/defaults.list")
6462 (format port "[Default Applications]\n")
6463 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6464 (format port "application/pdf=evince.desktop\n")
6465 (format port "application/postscript=evince.desktop\n")))
6467 (synopsis "Default MIME type associations for the GNOME desktop")
6469 "Given many installed packages which might handle a given MIME type, a
6470 user running the GNOME desktop probably has some preferences: for example,
6471 that folders be opened by default by the Nautilus file manager, not the Baobab
6472 disk usage analyzer. This package establishes that set of default MIME type
6473 associations for GNOME.")
6474 (license license:gpl3+)
6477 (define-public gnome
6480 (version (package-version gnome-shell))
6482 (build-system trivial-build-system)
6483 (arguments '(#:builder (begin (mkdir %output) #t)))
6485 ;; TODO: Add more packages according to:
6486 ;; <https://packages.debian.org/jessie/gnome-core>.
6487 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6489 ("font-cantarell" ,font-cantarell)
6490 ("font-dejavu" ,font-dejavu)
6491 ("at-spi2-core" ,at-spi2-core)
6494 ("desktop-file-utils" ,desktop-file-utils)
6496 ("epiphany" ,epiphany)
6498 ("file-roller" ,file-roller)
6500 ("glib-networking" ,glib-networking)
6501 ("gnome-backgrounds" ,gnome-backgrounds)
6502 ("gnome-bluetooth" ,gnome-bluetooth)
6503 ("gnome-calculator" ,gnome-calculator)
6504 ("gnome-control-center" ,gnome-control-center)
6505 ("gnome-disk-utility" ,gnome-disk-utility)
6506 ("gnome-default-applications" ,gnome-default-applications)
6507 ("gnome-keyring" ,gnome-keyring)
6508 ("gnome-online-accounts" ,gnome-online-accounts)
6509 ("gnome-session" ,gnome-session)
6510 ("gnome-settings-daemon" ,gnome-settings-daemon)
6511 ("gnome-shell" ,gnome-shell)
6512 ("gnome-system-monitor" ,gnome-system-monitor)
6513 ("gnome-terminal" ,gnome-terminal)
6514 ("gnome-themes-standard" ,gnome-themes-standard)
6515 ("gst-plugins-base" ,gst-plugins-base)
6516 ("gst-plugins-good" ,gst-plugins-good)
6517 ("gucharmap" ,gucharmap)
6519 ("hicolor-icon-theme" ,hicolor-icon-theme)
6520 ("nautilus" ,nautilus)
6521 ("pinentry-gnome3" ,pinentry-gnome3)
6522 ("pulseaudio" ,pulseaudio)
6523 ("shared-mime-info" ,shared-mime-info)
6524 ("system-config-printer" ,system-config-printer)
6526 ("xdg-user-dirs" ,xdg-user-dirs)
6528 ("zenity" ,zenity)))
6529 (synopsis "The GNU desktop environment")
6530 (home-page "https://www.gnome.org/")
6532 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6533 applications for browsing the web, editing text and images, creating
6534 documents and diagrams, playing media, scanning, and much more.")
6535 (license license:gpl2+)))
6537 (define-public byzanz
6538 ;; The last stable release of Byzanz was in 2011, but there have been many
6539 ;; useful commits made to the Byzanz repository since then that it would be
6540 ;; silly to use such an old release.
6541 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6544 (version (string-append "0.2-1." (string-take commit 7)))
6548 (url "https://git.gnome.org/browse/byzanz")
6550 (file-name (string-append name "-" version "-checkout"))
6553 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6554 (build-system glib-or-gtk-build-system)
6557 (modify-phases %standard-phases
6560 ;; The build system cleverly detects that we're not building from
6561 ;; a release tarball and turns on -Werror for GCC.
6562 ;; Unsurprisingly, there is a warning during compilation that
6563 ;; causes the build to fail unnecessarily, so we remove the flag.
6564 (substitute* '("configure.ac")
6566 ;; The autogen.sh script in gnome-common will run ./configure
6567 ;; by default, which is problematic because source shebangs
6568 ;; have not yet been patched.
6569 (setenv "NOCONFIGURE" "t")
6570 (zero? (system* "sh" "autogen.sh")))))))
6572 `(("autoconf" ,autoconf)
6573 ("automake" ,automake)
6574 ("gnome-common" ,gnome-common)
6575 ("intltool" ,intltool)
6576 ("libtool" ,libtool)
6577 ("pkg-config" ,pkg-config)
6581 ("gstreamer" ,gstreamer)
6582 ("gst-plugins-base" ,gst-plugins-base)
6584 (synopsis "Desktop recording program")
6585 (description "Byzanz is a simple desktop recording program with a
6586 command-line interface. It can record part or all of an X display for a
6587 specified duration and save it as a GIF encoded animated image file.")
6588 (home-page "https://git.gnome.org/browse/byzanz")
6589 (license license:gpl2+))))
6591 (define-public gsound
6597 (uri (string-append "mirror://gnome/sources/" name "/"
6598 (version-major+minor version) "/"
6599 name "-" version ".tar.xz"))
6602 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6603 (build-system glib-or-gtk-build-system)
6605 `(("pkg-config" ,pkg-config)
6606 ("gobject-introspection" ,gobject-introspection)
6610 ("libcanberra" ,libcanberra)))
6611 (home-page "https://wiki.gnome.org/Projects/GSound")
6612 (synopsis "GObject wrapper for libcanberra")
6614 "GSound is a small library for playing system sounds. It's designed to be
6615 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6617 (license license:lgpl2.1+)))
6619 (define-public libzapojit
6625 (uri (string-append "mirror://gnome/sources/" name "/"
6626 (version-major+minor version) "/"
6627 name "-" version ".tar.xz"))
6630 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6631 (build-system gnu-build-system)
6633 `(("gobject-introspection" ,gobject-introspection)
6634 ("intltool" ,intltool)
6635 ("pkg-config" ,pkg-config)))
6637 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6638 ("json-glib" ,json-glib)
6640 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6641 (synopsis "Library for accessing SkyDrive and Hotmail")
6643 "Libzapojit is a GLib-based library for accessing online service APIs of
6644 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6645 (license license:lgpl2.1+)))
6647 (define-public gnome-clocks
6649 (name "gnome-clocks")
6653 (uri (string-append "mirror://gnome/sources/" name "/"
6654 (version-major+minor version) "/"
6655 name "-" version ".tar.xz"))
6658 "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl"))))
6659 (build-system meson-build-system)
6661 '(#:glib-or-gtk? #t))
6664 ("pkg-config" ,pkg-config)
6665 ("glib" ,glib "bin") ; for glib-compile-resources
6666 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6667 ("desktop-file-utils" ,desktop-file-utils)
6668 ("gettext" ,gettext-minimal)
6669 ("itstool" ,itstool)))
6674 ("geoclue" ,geoclue)
6675 ("geocode-glib" ,geocode-glib)
6676 ("libgweather" ,libgweather)
6677 ("gnome-desktop" ,gnome-desktop)))
6678 (home-page "https://wiki.gnome.org/Apps/Clocks")
6679 (synopsis "GNOME's clock application")
6681 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6682 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6683 (license license:gpl3+)))
6685 (define-public gnome-calendar
6687 (name "gnome-calendar")
6691 (uri (string-append "mirror://gnome/sources/" name "/"
6692 (version-major+minor version) "/"
6693 name "-" version ".tar.xz"))
6696 "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw"))))
6697 (build-system meson-build-system)
6700 ;; gnome-calendar has to be installed before the tests can be run
6701 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6704 `(("gettext" ,gettext-minimal)
6705 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6706 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6707 ("pkg-config" ,pkg-config)))
6709 `(("evolution-data-server" ,evolution-data-server)
6710 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6711 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6712 ("libdazzle" ,libdazzle)
6713 ("libedataserverui" ,evolution-data-server)
6714 ("libgweather" ,libgweather)
6715 ("geoclue" ,geoclue)))
6716 (home-page "https://wiki.gnome.org/Apps/Calendar")
6717 (synopsis "GNOME's calendar application")
6719 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6720 desktop. It supports multiple calendars, month, week and year view.")
6721 (license license:gpl3+)))
6723 (define-public gnome-todo
6729 (uri (string-append "mirror://gnome/sources/" name "/"
6730 (version-major+minor version) "/"
6731 name "-" version ".tar.xz"))
6734 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
6735 (build-system meson-build-system)
6738 #:phases (modify-phases %standard-phases
6740 'install 'wrap-gnome-todo
6741 (lambda* (#:key inputs outputs #:allow-other-keys)
6742 (let ((out (assoc-ref outputs "out"))
6743 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6744 (python-path (getenv "PYTHONPATH")))
6745 (wrap-program (string-append out "/bin/gnome-todo")
6746 ;; XXX: gi plugins are broken.
6747 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6749 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6750 `("PYTHONPATH" ":" prefix (,python-path))))
6753 `(("gettext" ,gettext-minimal)
6754 ("gobject-introspection" ,gobject-introspection)
6755 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6756 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6757 ("pkg-config" ,pkg-config)))
6759 `(("rest" ,rest) ; For Todoist plugin
6760 ("json-glib" ,json-glib) ; For Todoist plugin
6761 ("libedataserverui" ,evolution-data-server)
6762 ("libical" ,libical)
6763 ("libpeas" ,libpeas)
6764 ("python-pygobject" ,python-pygobject)
6765 ("evolution-data-server" ,evolution-data-server)
6766 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6767 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6768 (home-page "https://wiki.gnome.org/Apps/Todo")
6769 (synopsis "GNOME's ToDo Application")
6771 "GNOME To Do is a simplistic personal task manager designed to perfectly
6772 fit the GNOME desktop.")
6773 (license license:gpl3+)))
6775 (define-public gnome-dictionary
6777 (name "gnome-dictionary")
6781 (uri (string-append "mirror://gnome/sources/" name "/"
6782 (version-major+minor version) "/"
6783 name "-" version ".tar.xz"))
6786 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6787 (build-system meson-build-system)
6788 (arguments '(#:glib-or-gtk? #t
6789 #:phases (modify-phases %standard-phases
6790 (add-after 'unpack 'patch-install-script
6792 ;; This script attempts to compile glib schemas
6793 ;; and create an empty MIME database. We do
6794 ;; that elsewhere, so prevent it from running.
6795 (substitute* "build-aux/post-install.sh"
6796 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6799 `(("glib:bin" ,glib "bin")
6800 ("gobject-introspection" ,gobject-introspection)
6801 ("intltool" ,intltool)
6802 ("itstool" ,itstool)
6803 ("pkg-config" ,pkg-config)
6804 ("xmllint" ,libxml2)))
6806 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6808 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6809 (synopsis "Look up words in dictionary sources")
6811 "GNOME Dictionary can look for the definition or translation of a word in
6812 existing databases over the internet.")
6813 (license license:gpl3+)))
6815 (define-public gnome-tweaks
6817 (name "gnome-tweaks")
6821 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
6822 (version-major+minor version) "/"
6823 "gnome-tweaks-" version ".tar.xz"))
6825 (list (search-patch "gnome-tweaks-search-paths.patch")))
6828 "0j63siy1i5pl2g6di1r9vjn54m9ahh42wj20j6689pza2lamay1z"))))
6829 (build-system meson-build-system)
6832 #:configure-flags '("-Dlocalstatedir=/tmp"
6833 "-Dsysconfdir=/tmp")
6834 #:imported-modules ((guix build python-build-system)
6835 ,@%meson-build-system-modules)
6837 (modify-phases %standard-phases
6838 (add-after 'install 'wrap
6839 (@@ (guix build python-build-system) wrap))
6840 (add-after 'wrap 'wrap-gi-typelib
6841 (lambda* (#:key inputs outputs #:allow-other-keys)
6842 (let ((out (assoc-ref outputs "out"))
6843 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6844 (wrap-program (string-append out "/bin/gnome-tweaks")
6845 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6848 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6849 ("intltool" ,intltool)
6850 ("pkg-config" ,pkg-config)))
6852 `(("gnome-desktop" ,gnome-desktop)
6854 ("gobject-introspection" ,gobject-introspection)
6855 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6856 ("libnotify" ,libnotify)
6857 ("libsoup" ,libsoup)
6858 ("nautilus" ,nautilus)
6860 ("python-pygobject" ,python-pygobject)))
6861 (synopsis "Customize advanced GNOME 3 options")
6862 (home-page "https://wiki.gnome.org/Apps/Tweaks")
6864 "GNOME Tweaks allows adjusting advanced configuration settings in
6865 GNOME 3. This includes things like the fonts used in user interface elements,
6866 alternative user interface themes, changes in window management behavior,
6867 GNOME Shell appearance and extension, etc.")
6868 (license license:gpl3+)))
6870 ;; This package has been renamed by upstream.
6871 (define-public gnome-tweak-tool
6872 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
6874 (define-public gnome-shell-extensions
6876 (name "gnome-shell-extensions")
6880 (uri (string-append "mirror://gnome/sources/" name "/"
6881 (version-major+minor version) "/"
6882 name "-" version ".tar.xz"))
6885 "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9"))))
6886 (build-system meson-build-system)
6888 '(#:configure-flags '("-Dextension_set=all")))
6890 `(("intltool" ,intltool)
6891 ("pkg-config" ,pkg-config)))
6894 ("glib" ,glib "bin")))
6895 (synopsis "Extensions for GNOME Shell")
6896 (description "GNOME Shell extensions modify and extend GNOME Shell
6897 functionality and behavior.")
6898 (home-page "https://extensions.gnome.org/")
6899 (license license:gpl3+)))
6901 (define-public numix-theme
6903 (name "numix-theme")
6908 (url "https://github.com/numixproject/numix-gtk-theme.git")
6910 (file-name (git-file-name name version))
6913 "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
6914 (build-system gnu-build-system)
6916 '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
6918 (modify-phases %standard-phases
6922 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas
6923 ("gnome-shell" ,gnome-shell)
6925 ("xmllint" ,libxml2)
6926 ("ruby-sass" ,ruby-sass)))
6927 (synopsis "Flat theme with light and dark elements")
6928 (description "Numix is a modern flat theme with a combination of light and
6929 dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
6930 (home-page "https://numixproject.github.io")
6931 (license license:gpl3+)))
6933 (define-public arc-theme
6936 (version "20181022")
6940 (url "https://github.com/NicoHood/arc-theme.git")
6942 (file-name (git-file-name name version))
6945 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
6946 (build-system gnu-build-system)
6949 (modify-phases %standard-phases
6950 ;; autogen.sh calls configure at the end of the script.
6952 (lambda _ (invoke "autoreconf" "-vfi"))))))
6954 `(("autoconf" ,autoconf)
6955 ("automake" ,automake)
6956 ("glib" ,glib "bin") ; for glib-compile-resources
6957 ("gnome-shell" ,gnome-shell)
6959 ("inkscape" ,inkscape)
6960 ("optipng" ,optipng)
6961 ("pkg-config" ,pkg-config)
6963 (synopsis "A flat GTK+ theme with transparent elements")
6964 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6965 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6966 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6967 (home-page "https://github.com/horst3180/arc-theme")
6968 ;; No "or later" language found.
6969 (license license:gpl3+)))
6971 (define-public faba-icon-theme
6973 (name "faba-icon-theme")
6978 (uri (string-append "https://github.com/moka-project/"
6979 name "/archive/v" version ".tar.gz"))
6980 (file-name (string-append name "-" version ".tar.gz"))
6983 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
6984 (build-system meson-build-system)
6987 (modify-phases %standard-phases
6988 (add-before 'configure 'disable-post-install
6990 (substitute* "meson.build"
6991 (("meson.add_install_script.*") "")))))))
6993 `(("autoconf" ,autoconf)
6994 ("automake" ,automake)))
6995 (synopsis "Faba icon theme")
6997 "Faba is a minimal icon set used as a basis for other themes such as
6999 (home-page "https://snwh.org/moka")
7000 (license (list license:lgpl3+
7001 license:cc-by-sa4.0))))
7003 (define-public moka-icon-theme
7005 (inherit faba-icon-theme)
7006 (name "moka-icon-theme")
7010 (uri (string-append "https://github.com/moka-project"
7011 "/moka-icon-theme/archive/v"
7013 (file-name (string-append name "-" version ".tar.gz"))
7016 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
7018 ;; Moka is based on Faba by using it as a fallback icon set instead of
7019 ;; bundling it, so we need to add it as a propagated input.
7020 `(("faba-icon-theme" ,faba-icon-theme)))
7021 (synopsis "Moka icon theme")
7022 (description "Moka is a stylized desktop icon set, designed to be clear,
7023 simple and consistent.")
7024 (license (list license:gpl3+
7025 license:cc-by-sa4.0))))
7027 (define-public arc-icon-theme
7029 (name "arc-icon-theme")
7030 (version "20161122")
7033 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
7034 "/archive/" version ".tar.gz"))
7035 (file-name (string-append name "-" version ".tar.gz"))
7038 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
7039 (build-system gnu-build-system)
7042 (modify-phases %standard-phases
7043 (add-after 'unpack 'disable-configure-during-bootstrap
7045 (substitute* "autogen.sh"
7046 (("^\"\\$srcdir/configure\".*") ""))
7049 `(("autoconf" ,autoconf)
7050 ("automake" ,automake)))
7051 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7053 `(("moka-icon-theme" ,moka-icon-theme)))
7054 (synopsis "Arc icon theme")
7055 (description "The Arc icon theme provides a set of icons matching the
7056 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7057 the Moka icon theme.")
7058 (home-page "https://github.com/horst3180/arc-icon-theme")
7059 (license license:gpl3+)))
7061 (define-public folks
7068 "mirror://gnome/sources/folks/"
7069 (version-major+minor version) "/"
7070 "folks-" version ".tar.xz"))
7073 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
7074 (build-system glib-or-gtk-build-system)
7077 ("dbus-glib" ,dbus-glib)
7078 ("evolution-data-server" ,evolution-data-server)
7081 ("telepathy-glib" ,telepathy-glib)))
7083 `(("gobject-introspection" ,gobject-introspection)
7084 ("intltool" ,intltool)
7085 ("pkg-config" ,pkg-config)
7087 (synopsis "Library to aggregate data about people")
7088 (description "Libfolks is a library that aggregates information about people
7089 from multiple sources (e.g., Telepathy connection managers for IM contacts,
7090 Evolution Data Server for local contacts, libsocialweb for web service contacts,
7091 etc.) to create metacontacts. It's written in Vala, which generates C code when
7093 (home-page "https://wiki.gnome.org/Projects/Folks")
7094 (license license:lgpl2.1+)))
7096 (define-public gfbgraph
7103 "mirror://gnome/sources/" name "/"
7104 (version-major+minor version) "/"
7105 name "-" version ".tar.xz"))
7108 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7109 (build-system glib-or-gtk-build-system)
7111 `(#:tests? #f ; Tests appear to require the network.
7112 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7113 #:configure-flags '("--disable-gtk-doc"
7115 "--enable-introspection")))
7117 `(("pkg-config" ,pkg-config)
7118 ("gobject-introspection" ,gobject-introspection)))
7120 `(("json-glib" ,json-glib)
7121 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7123 (synopsis "GLib/GObject wrapper for the Facebook API")
7124 (description "This library allows you to use the Facebook API from
7125 GLib/GObject code.")
7126 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
7127 (license license:lgpl2.1+)))
7129 (define-public libgnomekbd
7131 (name "libgnomekbd")
7135 (uri (string-append "mirror://gnome/sources/" name "/"
7136 (version-major+minor version) "/"
7137 name "-" version ".tar.xz"))
7140 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
7141 (build-system gnu-build-system)
7143 `(("pkg-config" ,pkg-config)
7144 ("glib" ,glib "bin")
7145 ("intltool" ,intltool)))
7147 ;; Referred to in .h files and .pc.
7150 ("libxklavier" ,libxklavier)))
7151 (home-page "https://www.gnome.org")
7152 (synopsis "GNOME keyboard configuration library")
7154 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
7155 environment, which can notably display keyboard layouts.")
7156 (license license:lgpl2.0+)))
7158 ;;; This package is no longer maintained:
7159 ;;; https://wiki.gnome.org/Attic/LibUnique
7160 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
7161 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
7162 (define-public libunique
7168 (uri (string-append "mirror://gnome/sources/" name "/"
7169 (version-major+minor version) "/"
7170 name "-" version ".tar.xz"))
7173 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
7174 (build-system glib-or-gtk-build-system)
7176 `(#:configure-flags '("--disable-static"
7177 "--disable-dbus" ; use gdbus
7178 "--enable-introspection")))
7180 `(("pkg-config" ,pkg-config)
7181 ("gobject-introspection" ,gobject-introspection)
7182 ("glib:bin" ,glib "bin")
7183 ("gtk-doc" ,gtk-doc)))
7185 ;; Referred to in .h files and .pc.
7187 (home-page "https://wiki.gnome.org/Attic/LibUnique")
7188 (synopsis "Library for writing single instance applications")
7190 "Libunique is a library for writing single instance applications. If you
7191 launch a single instance application twice, the second instance will either just
7192 quit or will send a message to the running instance. Libunique makes it easy to
7193 write this kind of application, by providing a base class, taking care of all
7194 the IPC machinery needed to send messages to a running instance, and also
7195 handling the startup notification side.")
7196 (license license:lgpl2.1+)))
7198 (define-public gnome-calculator
7200 (name "gnome-calculator")
7205 (uri (string-append "mirror://gnome/sources/" name "/"
7206 (version-major+minor version) "/"
7207 name "-" version ".tar.xz"))
7210 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
7211 (build-system meson-build-system)
7212 (arguments '(#:glib-or-gtk? #t))
7214 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7215 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7216 ("intltool" ,intltool)
7217 ("itstool" ,itstool)
7219 ("pkg-config" ,pkg-config)))
7222 ("gtksourceview" ,gtksourceview)
7223 ("libsoup" ,libsoup)
7224 ("libxml2" ,libxml2)
7227 (home-page "https://wiki.gnome.org/Apps/Calculator")
7228 (synopsis "Desktop calculator")
7230 "Calculator is an application that solves mathematical equations and
7231 is suitable as a default application in a Desktop environment.")
7232 (license license:gpl3)))
7241 (uri (string-append "https://launchpad.net/xpad/trunk/"
7242 version "/+download/"
7243 name "-" version ".tar.bz2"))
7246 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
7247 (build-system gnu-build-system)
7249 `(("autoconf" ,autoconf)
7250 ("automake" ,automake)
7251 ("gtk+:bin" ,gtk+ "bin")
7252 ("intltool" ,intltool)
7253 ("pkg-config" ,pkg-config)))
7255 `(("gtksourceview" ,gtksourceview-3)
7257 (home-page "https://wiki.gnome.org/Apps/Xpad")
7258 (synopsis "Virtual sticky note")
7260 "Xpad is a sticky note that strives to be simple, fault tolerant,
7261 and customizable. Xpad consists of independent pad windows, each is
7262 basically a text box in which notes can be written.")
7263 (license license:gpl3+)))
7265 (define-public gucharmap
7266 (let ((unicode-files
7268 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
7270 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
7272 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
7274 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
7276 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
7278 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
7285 (uri (string-append "mirror://gnome/sources/" name "/"
7286 (version-major+minor version) "/"
7287 name "-" version ".tar.xz"))
7290 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
7291 (build-system glib-or-gtk-build-system)
7293 `(#:modules ((ice-9 match)
7294 (guix build glib-or-gtk-build-system)
7297 (list "--with-unicode-data=../unicode-data")
7299 (modify-phases %standard-phases
7300 (add-after 'unpack 'prepare-unicode-data
7301 (lambda* (#:key inputs #:allow-other-keys)
7302 (mkdir-p "../unicode-data")
7303 (with-directory-excursion "../unicode-data"
7304 (for-each (match-lambda
7306 (install-file (assoc-ref inputs file) ".")))
7310 `(("desktop-file-utils" ,desktop-file-utils)
7311 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
7312 ("gobject-introspection" ,gobject-introspection)
7313 ("intltool" ,intltool)
7314 ("itstool" ,itstool)
7315 ("pkg-config" ,pkg-config)
7316 ,@(map (match-lambda
7322 "http://www.unicode.org/Public/12.0.0/ucd/"
7324 (sha256 (base32 hash))))))
7329 ("xmllint" ,libxml2)))
7330 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
7331 (synopsis "Unicode character picker and font browser")
7333 "This program allows you to browse through all the available Unicode
7334 characters and categories for the installed fonts, and to examine their
7335 detailed properties. It is an easy way to find the character you might
7336 only know by its Unicode name or code point.")
7337 (license license:gpl3+))))
7339 (define-public bluefish
7346 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
7347 name "-" version ".tar.gz"))
7350 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
7351 (build-system gnu-build-system)
7353 `(("desktop-file-utils" ,desktop-file-utils)
7354 ("intltool" ,intltool)
7355 ("pkg-config" ,pkg-config)))
7357 `(("enchant" ,enchant)
7359 ("python" ,python-2)
7360 ("xmllint" ,libxml2)
7361 ("gucharmap" ,gucharmap)))
7362 (home-page "http://bluefish.openoffice.nl")
7363 (synopsis "Web development studio")
7365 "Bluefish is an editor targeted towards programmers and web developers,
7366 with many options to write web sites, scripts and other code.
7367 Bluefish supports many programming and markup languages.")
7368 (license license:gpl3+)))
7370 (define-public gnome-system-monitor
7372 (name "gnome-system-monitor")
7377 (uri (string-append "mirror://gnome/sources/" name "/"
7378 (version-major+minor version) "/"
7379 name "-" version ".tar.xz"))
7382 "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888"))))
7383 (build-system meson-build-system)
7386 #:configure-flags '("-Dsystemd=false")))
7388 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
7389 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7390 ("intltool" ,intltool)
7391 ("itstool" ,itstool)
7392 ("libgtop" ,libgtop)
7394 ("pkg-config" ,pkg-config)))
7396 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
7399 ("librsvg" ,librsvg)
7400 ("libxml2" ,libxml2)
7401 ("libwnck" ,libwnck)))
7402 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
7403 (synopsis "Process viewer and system resource monitor for GNOME")
7405 "GNOME System Monitor is a GNOME process viewer and system monitor with
7406 an attractive, easy-to-use interface. It has features, such as a tree view
7407 for process dependencies, icons for processes, the ability to hide processes,
7408 graphical time histories of CPU/memory/swap usage and the ability to
7409 kill/reinice processes.")
7410 (license license:gpl2+)))
7412 (define-public python-pyatspi
7414 (name "python-pyatspi")
7419 "mirror://gnome/sources/pyatspi/"
7420 (version-major+minor version)
7421 "/pyatspi-" version ".tar.xz"))
7424 "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
7425 ;; Patch from upstream, fixed in newer versions.
7426 (patches (search-patches "python-pyatspi-python-37.patch"))))
7427 (build-system gnu-build-system)
7430 (modify-phases %standard-phases
7431 (add-before 'build 'fix-atk-load
7433 (substitute* "pyatspi/__init__.py"
7434 (("from gi.repository import Atspi")
7435 "gi.require_version('Gtk', '3.0')
7436 from gi.repository import Gtk
7437 from gi.repository import Atspi"))
7440 `(("pkg-config" ,pkg-config)))
7442 `(("python" ,python)
7443 ("python-pygobject" ,python-pygobject)))
7444 (synopsis "Python client bindings for D-Bus AT-SPI")
7445 (home-page "https://wiki.linuxfoundation.org/accessibility\
7446 /atk/at-spi/at-spi_on_d-bus")
7448 "This package includes a python client library for the AT-SPI D-Bus
7449 accessibility infrastructure.")
7450 (license license:lgpl2.0)
7451 (properties '((upstream-name . "pyatspi")))))
7460 "mirror://gnome/sources/" name "/"
7461 (version-major+minor version) "/"
7462 name "-" version ".tar.xz"))
7465 "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g"))))
7466 (build-system glib-or-gtk-build-system)
7469 (modify-phases %standard-phases
7470 (add-before 'configure 'qualify-xkbcomp
7471 (lambda* (#:key inputs #:allow-other-keys)
7472 (let ((xkbcomp (string-append
7473 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
7474 (substitute* "src/orca/orca.py"
7475 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
7477 (add-after 'install 'wrap-orca
7478 (lambda* (#:key outputs #:allow-other-keys)
7479 (let* ((out (assoc-ref outputs "out"))
7480 (prog (string-append out "/bin/orca")))
7482 `("GI_TYPELIB_PATH" ":" prefix
7483 (,(getenv "GI_TYPELIB_PATH")))
7484 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
7485 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
7486 `("PYTHONPATH" ":" prefix
7487 (,(getenv "PYTHONPATH")))))
7490 `(("intltool" ,intltool)
7491 ("itstool" ,itstool)
7492 ("pkg-config" ,pkg-config)
7493 ("xmllint" ,libxml2)))
7495 `(("at-spi2-atk" ,at-spi2-atk)
7496 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7497 ("gstreamer" ,gstreamer)
7498 ("gst-plugins-base" ,gst-plugins-base)
7499 ("gst-plugins-good" ,gst-plugins-good)
7502 ("python-pygobject" ,python-pygobject)
7503 ("python-pyatspi" ,python-pyatspi)
7504 ("python-speechd" ,speech-dispatcher)
7505 ("xkbcomp" ,xkbcomp)))
7507 "Screen reader for individuals who are blind or visually impaired")
7508 (home-page "https://wiki.gnome.org/Projects/Orca")
7510 "Orca is a screen reader that provides access to the graphical desktop
7511 via speech and refreshable braille. Orca works with applications and toolkits
7512 that support the Assistive Technology Service Provider Interface (AT-SPI).")
7513 (license license:lgpl2.1+)))
7515 (define-public gspell
7521 (uri (string-append "mirror://gnome/sources/" name "/"
7522 (version-major+minor version) "/"
7523 name "-" version ".tar.xz"))
7526 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
7527 (patches (search-patches "gspell-dash-test.patch"))))
7528 (build-system glib-or-gtk-build-system)
7531 (modify-phases %standard-phases
7532 (add-before 'check 'pre-check
7533 (lambda* (#:key inputs #:allow-other-keys)
7534 ;; Tests require a running X server.
7535 (system "Xvfb :1 &")
7536 (setenv "DISPLAY" ":1")
7538 ;; For the missing /etc/machine-id.
7539 (setenv "DBUS_FATAL_WARNINGS" "0")
7541 ;; Allow Enchant and its Aspell backend to find the en_US
7543 (setenv "ASPELL_DICT_DIR"
7544 (string-append (assoc-ref inputs "aspell-dict-en")
7550 ("iso-codes" ,iso-codes)))
7552 `(("glib" ,glib "bin")
7553 ("pkg-config" ,pkg-config)
7554 ("xmllint" ,libxml2)
7557 ("aspell-dict-en" ,aspell-dict-en)
7558 ("xorg-server" ,xorg-server)))
7560 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7561 (home-page "https://wiki.gnome.org/Projects/gspell")
7562 (synopsis "GNOME's alternative spell checker")
7564 "gspell provides a flexible API to add spell-checking to a GTK+
7565 application. It provides a GObject API, spell-checking to text entries and
7566 text views, and buttons to choose the language.")
7567 (license license:gpl2+)))
7569 (define-public gnome-planner
7571 (name "gnome-planner")
7575 (uri (string-append "mirror://gnome/sources/planner/"
7576 (version-major+minor version) "/planner-"
7580 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7581 (build-system glib-or-gtk-build-system)
7583 ;; Disable the Python bindings because the Planner program functions
7584 ;; without them, and (as of 2017-06-13) we have not packaged all of
7585 ;; packages that are necessary for building the Python bindings.
7587 (list "--disable-python"
7588 ,@(if (string=? "aarch64-linux" (%current-system))
7589 '("--build=aarch64-unknown-linux-gnu")
7592 `(("libgnomecanvas" ,libgnomecanvas)
7593 ("libgnomeui" ,libgnomeui)
7594 ("libglade" ,libglade)
7595 ("gnome-vfs" ,gnome-vfs)
7597 ("libxml2" ,libxml2)
7598 ("libxslt" ,libxslt)
7602 `(("intltool" ,intltool)
7603 ("scrollkeeper" ,scrollkeeper)
7604 ("pkg-config" ,pkg-config)))
7605 (home-page "https://wiki.gnome.org/Apps/Planner")
7606 (synopsis "Project management software for the GNOME desktop")
7608 "GNOME Planner is a project management tool based on the Work Breakdown
7609 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7610 the resources, tasks, and constraints that you define, Planner generates
7611 various views into a project. For example, Planner can show a Gantt chart of
7612 the project. It can show a detailed summary of tasks including their
7613 duration, cost, and current progress. It can also show a report of resource
7614 utilization that highlights under-utilized and over-utilized resources. These
7615 views can be printed as PDF or PostScript files, or exported to HTML.")
7616 (license license:gpl2+)))
7618 (define-public lollypop
7625 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7626 "5a7cd7c72b6d83ae08d0c54c4691f9df/"
7627 name "-" version ".tar.xz"))
7630 "1r5wn0bja9psz6nr1rcaysdkkwz84rbyzpdfw66cxa6wiy52pkjm"))))
7631 (build-system meson-build-system)
7633 `(#:imported-modules ((guix build python-build-system)
7634 ,@%meson-build-system-modules)
7636 #:tests? #f ; no test suite
7638 (modify-phases %standard-phases
7639 (add-after 'install 'wrap-program
7640 (lambda* (#:key outputs #:allow-other-keys)
7641 (let ((out (assoc-ref outputs "out"))
7642 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7643 (wrap-program (string-append out "/bin/lollypop")
7644 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7646 (add-after 'install 'wrap
7647 (@@ (guix build python-build-system) wrap)))))
7649 `(("intltool" ,intltool)
7650 ("itstool" ,itstool)
7651 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7652 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7653 ("pkg-config" ,pkg-config)))
7655 `(("gobject-introspection" ,gobject-introspection)
7656 ("gst-plugins-base" ,gst-plugins-base)
7657 ("libnotify" ,libnotify)
7658 ("libsecret" ,libsecret)
7659 ("libsoup" ,libsoup)
7661 ("python-beautifulsoup4" ,python-beautifulsoup4)
7662 ("python-gst" ,python-gst)
7663 ("python-pil" ,python-pillow)
7664 ("python-pycairo" ,python-pycairo)
7665 ("python-pygobject" ,python-pygobject)
7666 ("python-pylast" ,python-pylast)
7667 ("totem-pl-parser" ,totem-pl-parser)
7668 ("webkitgtk" ,webkitgtk)))
7670 `(;; gst-plugins-base is required to start Lollypop,
7671 ;; the others are required to play streaming.
7672 ("gst-plugins-good" ,gst-plugins-good)
7673 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7674 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7675 (synopsis "GNOME music playing application")
7677 "Lollypop is a music player designed to play well with GNOME desktop.
7678 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7679 from artists and tracks from the web. It also fetches cover artworks
7680 automatically and it can stream songs from online music services and charts.")
7681 (license license:gpl3+)))
7683 (define-public gnome-video-effects
7685 (name "gnome-video-effects")
7689 (uri (string-append "mirror://gnome/sources/" name "/"
7690 (version-major+minor version) "/" name "-"
7694 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7695 (build-system glib-or-gtk-build-system)
7697 `(#:out-of-source? #f))
7699 `(("glib:bin" ,glib "bin")
7700 ("intltool" ,intltool)
7701 ("gettext" ,gettext-minimal)
7702 ("pkg-config" ,pkg-config)))
7703 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7704 (synopsis "Video effects for Cheese and other GNOME applications")
7706 "A collection of GStreamer video filters and effects to be used in
7707 photo-booth-like software, such as Cheese.")
7708 (license license:gpl2+)))
7710 (define-public cheese
7716 (uri (string-append "mirror://gnome/sources/" name "/"
7717 (version-major+minor version) "/" name "-"
7721 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
7723 ;; Tests require GDK.
7726 (modify-phases %standard-phases
7727 (add-before 'install 'skip-gtk-update-icon-cache
7729 ;; Don't create 'icon-theme.cache'
7730 (substitute* "Makefile"
7731 (("gtk-update-icon-cache") (which "true")))
7733 (add-after 'install 'wrap-cheese
7734 (lambda* (#:key inputs outputs #:allow-other-keys)
7735 (let ((out (assoc-ref outputs "out"))
7736 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7737 (wrap-program (string-append out "/bin/cheese")
7738 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7740 (build-system glib-or-gtk-build-system)
7742 `(("glib:bin" ,glib "bin")
7743 ("intltool" ,intltool)
7744 ("itstool" ,itstool)
7745 ("libxml2" ,libxml2)
7746 ("pkg-config" ,pkg-config)
7749 `(("gnome-video-effects" ,gnome-video-effects)
7750 ("clutter" ,clutter)
7751 ("clutter-gst" ,clutter-gst)
7752 ("clutter-gtk" ,clutter-gtk)
7753 ("libcanberra" ,libcanberra)
7754 ("gdk-pixbuf" ,gdk-pixbuf)
7756 ("gstreamer" ,gstreamer)))
7758 `(("gnome-desktop" ,gnome-desktop)
7759 ("gobject-introspection" ,gobject-introspection)
7760 ("gst-plugins-base" ,gst-plugins-base)
7761 ("gst-plugins-bad" ,gst-plugins-bad)
7764 ("libxtst" ,libxtst)))
7765 (home-page "https://wiki.gnome.org/Apps/Cheese")
7766 (synopsis "Webcam photo booth software for GNOME")
7768 "Cheese uses your webcam to take photos and videos. Cheese can also
7769 apply fancy special effects and lets you share the fun with others.")
7770 (license license:gpl2+)))
7772 (define-public sound-juicer
7774 (name "sound-juicer")
7779 (uri (string-append "mirror://gnome/sources/" name "/"
7780 (version-major+minor version) "/"
7781 name "-" version ".tar.xz"))
7784 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7785 (build-system glib-or-gtk-build-system)
7787 `(("desktop-file-utils" ,desktop-file-utils)
7788 ("intltool" ,intltool)
7789 ("itstool" ,itstool)
7790 ("pkg-config" ,pkg-config)
7791 ("xmllint" ,libxml2)))
7794 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7795 ("gstreamer" ,gstreamer)
7796 ("gst-plugins-base" ,gst-plugins-base)
7797 ("gst-plugins-good" ,gst-plugins-good)
7798 ("iso-codes" ,iso-codes)
7799 ("libbrasero-media3" ,brasero)
7800 ("libcanberra" ,libcanberra)
7801 ("libdiscid" ,libdiscid)
7802 ("libmusicbrainz" ,libmusicbrainz)
7804 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7805 (synopsis "Audio music cd ripper")
7806 (description "Sound Juicer extracts audio from compact discs and convert it
7807 into audio files that a personal computer or digital audio player can play.
7808 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7809 mp3, Ogg Vorbis and FLAC")
7810 (license license:gpl2+)))
7812 (define-public soundconverter
7814 (name "soundconverter")
7819 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7820 version "/+download/"
7821 "soundconverter-" version ".tar.xz"))
7824 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
7827 "soundconverter-remove-gconf-dependency.patch"))))
7828 (build-system glib-or-gtk-build-system)
7830 `(#:imported-modules ((guix build python-build-system)
7831 (guix build glib-or-gtk-build-system)
7832 ,@%gnu-build-system-modules)
7834 #:modules ((guix build glib-or-gtk-build-system)
7836 ((guix build gnu-build-system) #:prefix gnu:)
7837 ((guix build python-build-system) #:prefix python:))
7840 (modify-phases %standard-phases
7841 (add-after 'install 'wrap-soundconverter-for-python
7842 (assoc-ref python:%standard-phases 'wrap))
7843 (add-after 'install 'wrap-soundconverter
7844 (lambda* (#:key inputs outputs #:allow-other-keys)
7845 (let ((out (assoc-ref outputs "out"))
7846 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7847 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7848 (wrap-program (string-append out "/bin/soundconverter")
7849 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7850 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7853 `(("intltool" ,intltool)
7854 ("pkg-config" ,pkg-config)
7855 ("glib:bin" ,glib "bin")))
7859 ("python-pygobject" ,python-pygobject)
7860 ("gstreamer" ,gstreamer)
7861 ("gst-plugins-base" ,gst-plugins-base)))
7862 (home-page "http://soundconverter.org/")
7863 (synopsis "Convert between audio formats with a graphical interface")
7865 "SoundConverter supports converting between many audio formats including
7866 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7867 configurable file renaming. ")
7868 (license license:gpl3)))
7870 (define-public workrave
7878 (url "https://github.com/rcaelers/workrave.git")
7879 (commit (string-append "v" (string-map
7880 (match-lambda (#\. #\_) (chr chr))
7882 (file-name (git-file-name name version))
7884 (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw"))))
7885 (build-system glib-or-gtk-build-system)
7886 (propagated-inputs `(("glib" ,glib)
7888 ("gdk-pixbuf" ,gdk-pixbuf)
7892 ("libxtst" ,libxtst)
7894 ("libice" ,libice)))
7895 (inputs `(("libsm" ,libsm)
7896 ("python-cheetah" ,python2-cheetah)))
7897 (native-inputs `(("glib" ,glib "bin")
7898 ("pkg-config" ,pkg-config)
7899 ("gettext" ,gnu-gettext)
7900 ("autoconf" ,autoconf)
7901 ("autoconf-archive" , autoconf-archive)
7902 ("automake" ,automake)
7903 ("libtool" ,libtool)
7904 ("intltool" ,intltool)
7905 ("libxscrnsaver" ,libxscrnsaver)
7906 ("gobject-introspection" ,gobject-introspection)
7907 ("python2" ,python-2)))
7908 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7910 "Workrave is a program that assists in the recovery and prevention of
7911 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7912 micro-pauses and rest breaks, and restricts you to your daily limit.")
7913 (home-page "http://www.workrave.org")
7914 (license license:gpl3+)))
7922 (uri (string-append "mirror://gnome/sources/ghex/"
7923 (version-major+minor version) "/"
7924 "ghex-" version ".tar.xz"))
7927 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7928 (build-system glib-or-gtk-build-system)
7930 `(("pkg-config" ,pkg-config)
7931 ("gnome-common" ,gnome-common)
7933 ("intltool" ,intltool)
7934 ("yelp-tools" ,yelp-tools)
7935 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
7939 (synopsis "GNOME hexadecimal editor")
7940 (description "The GHex program can view and edit files in two ways:
7941 hexadecimal or ASCII. It is useful for editing binary files in general.")
7942 (home-page "https://wiki.gnome.org/Apps/Ghex")
7943 (license license:gpl2)))
7945 (define-public libdazzle
7951 (uri (string-append "mirror://gnome/sources/libdazzle/"
7952 (version-major+minor version) "/"
7953 "libdazzle-" version ".tar.xz"))
7956 "1m9n1gcxndly24rjkxzvmx02a2rkb6ad4cy7p6ncanm1kyp0wxvq"))))
7957 (build-system meson-build-system)
7960 (modify-phases %standard-phases
7961 (add-after 'unpack 'disable-failing-test
7963 ;; Disable failing test.
7964 (substitute* "tests/meson.build"
7965 (("test\\('test-application") "#"))
7967 (add-before 'check 'pre-check
7969 ;; Tests require a running X server.
7970 (system "Xvfb :1 &")
7971 (setenv "DISPLAY" ":1")
7974 `(("glib" ,glib "bin") ; glib-compile-resources
7975 ("pkg-config" ,pkg-config)
7977 ("xorg-server" ,xorg-server)))
7980 ("gobject-introspection" ,gobject-introspection)
7983 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
7984 (synopsis "Companion library to GObject and Gtk+")
7985 (description "The libdazzle library is a companion library to GObject and
7986 Gtk+. It provides various features that the authors wish were in the
7987 underlying library but cannot for various reasons. In most cases, they are
7988 wildly out of scope for those libraries. In other cases, they are not quite
7989 generic enough to work for everyone.")
7990 (license license:gpl3+)))
7992 (define-public evolution
7998 (uri (string-append "mirror://gnome/sources/evolution/"
7999 (version-major+minor version) "/"
8000 "evolution-" version ".tar.xz"))
8003 "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
8004 (build-system cmake-build-system)
8007 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
8008 "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
8009 ; in four years and cannot be built.
8011 `(("glib" ,glib "bin") ; glib-mkenums
8012 ("pkg-config" ,pkg-config)
8013 ("intltool" ,intltool)
8014 ("itstool" ,itstool)))
8016 `(("enchant" ,enchant)
8017 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8019 ("gnome-autoar" ,gnome-autoar)
8020 ("gnome-desktop" ,gnome-desktop)
8021 ("gtkspell3" ,gtkspell3)
8022 ("highlight" ,highlight)
8023 ("libcanberra" ,libcanberra)
8024 ("libedataserverui" ,evolution-data-server)
8025 ("libgweather" ,libgweather)
8026 ("libnotify" ,libnotify)
8027 ("libsoup" ,libsoup)
8029 ("openldap" ,openldap)
8030 ("webkitgtk" ,webkitgtk)
8032 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8033 (synopsis "Manage your email, contacts and schedule")
8034 (description "Evolution is a personal information management application
8035 that provides integrated mail, calendaring and address book
8037 ;; See COPYING for details.
8038 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
8039 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
8040 license:lgpl2.1+)))) ; smime/lib/*
8042 (define-public gthumb
8048 (uri (string-append "mirror://gnome/sources/gthumb/"
8049 (version-major+minor version) "/"
8050 "gthumb-" version ".tar.xz"))
8053 "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f"))))
8054 (build-system meson-build-system)
8058 ;; Ensure the RUNPATH contains all installed library locations.
8059 (list (string-append "-Dc_link_args=-Wl,-rpath="
8060 (assoc-ref %outputs "out")
8061 "/lib/gthumb/extensions")
8062 (string-append "-Dcpp_link_args=-Wl,-rpath="
8063 (assoc-ref %outputs "out")
8064 "/lib/gthumb/extensions"))))
8066 `(("pkg-config" ,pkg-config)
8067 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8068 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8069 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8070 ("intltool" ,intltool)
8071 ("itstool" ,itstool)))
8075 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8076 ("gstreamer" ,gstreamer)
8077 ("clutter" ,clutter)
8078 ("clutter-gst" ,clutter-gst)
8079 ("clutter-gtk" ,clutter-gtk)
8080 ("libjpeg" ,libjpeg)
8081 ("libtiff" ,libtiff)
8082 ("libraw" ,libraw)))
8083 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8084 (synopsis "GNOME image viewer and browser")
8085 (description "GThumb is an image viewer, browser, organizer, editor and
8086 advanced image management tool")
8087 (license license:gpl2+)))
8089 (define-public terminator
8095 (uri (string-append "https://launchpad.net/" name "/"
8096 "gtk3/" version "/" "+download/"
8097 name "-" version ".tar.gz"))
8100 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
8101 (build-system python-build-system)
8103 `(("intltool" ,intltool)
8104 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8105 ("gettext" ,gettext-minimal)
8106 ("pkg-config" ,pkg-config)))
8109 ("gobject-introspection" ,gobject-introspection)
8110 ("python2-pycairo" ,python2-pycairo)
8111 ("python2-pygobject" ,python2-pygobject)
8112 ("python2-psutil" ,python2-psutil)
8115 `(#:python ,python-2 ;Python 3 not supported
8117 (modify-phases %standard-phases
8119 'install 'wrap-program
8120 (lambda* (#:key outputs #:allow-other-keys)
8121 (let ((prog (string-append (assoc-ref outputs "out")
8122 "/bin/terminator")))
8124 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
8125 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
8127 (home-page "https://gnometerminator.blogspot.com/")
8128 (synopsis "Store and run multiple GNOME terminals in one window")
8130 "Terminator allows you to run multiple GNOME terminals in a grid and
8131 +tabs, and it supports drag and drop re-ordering of terminals.")
8132 (license license:gpl2)))