1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018 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 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 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 Nils Gillmann <ng0@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017 Brendan Tildesley <brendan.tildesley@openmailbox.org>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com>
37 ;;; This file is part of GNU Guix.
39 ;;; GNU Guix is free software; you can redistribute it and/or modify it
40 ;;; under the terms of the GNU General Public License as published by
41 ;;; the Free Software Foundation; either version 3 of the License, or (at
42 ;;; your option) any later version.
44 ;;; GNU Guix is distributed in the hope that it will be useful, but
45 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
46 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47 ;;; GNU General Public License for more details.
49 ;;; You should have received a copy of the GNU General Public License
50 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
52 (define-module (gnu packages gnome)
53 #:use-module ((guix licenses) #:prefix license:)
54 #:use-module (guix packages)
55 #:use-module (guix download)
56 #:use-module (guix git-download)
57 #:use-module (guix utils)
58 #:use-module (guix build-system cmake)
59 #:use-module (guix build-system gnu)
60 #:use-module (guix build-system glib-or-gtk)
61 #:use-module (guix build-system meson)
62 #:use-module (guix build-system trivial)
63 #:use-module (gnu packages)
64 #:use-module (gnu packages admin)
65 #:use-module (gnu packages aspell)
66 #:use-module (gnu packages autotools)
67 #:use-module (gnu packages avahi)
68 #:use-module (gnu packages base)
69 #:use-module (gnu packages bison)
70 #:use-module (gnu packages build-tools)
71 #:use-module (gnu packages calendar)
72 #:use-module (gnu packages check)
73 #:use-module (gnu packages cmake)
74 #:use-module (gnu packages cups)
75 #:use-module (gnu packages curl)
76 #:use-module (gnu packages cyrus-sasl)
77 #:use-module (gnu packages databases)
78 #:use-module (gnu packages djvu)
79 #:use-module (gnu packages dns)
80 #:use-module (gnu packages documentation)
81 #:use-module (gnu packages flex)
82 #:use-module (gnu packages docbook)
83 #:use-module (gnu packages enchant)
84 #:use-module (gnu packages fontutils)
85 #:use-module (gnu packages game-development)
86 #:use-module (gnu packages gcc)
87 #:use-module (gnu packages gettext)
88 #:use-module (gnu packages glib)
89 #:use-module (gnu packages gnupg)
90 #:use-module (gnu packages gnuzilla)
91 #:use-module (gnu packages gstreamer)
92 #:use-module (gnu packages gtk)
93 #:use-module (gnu packages gperf)
94 #:use-module (gnu packages guile)
95 #:use-module (gnu packages openldap)
96 #:use-module (gnu packages pdf)
97 #:use-module (gnu packages polkit)
98 #:use-module (gnu packages popt)
99 #:use-module (gnu packages ghostscript)
100 #:use-module (gnu packages inkscape)
101 #:use-module (gnu packages ibus)
102 #:use-module (gnu packages iso-codes)
103 #:use-module (gnu packages libcanberra)
104 #:use-module (gnu packages libunistring)
105 #:use-module (gnu packages linux)
106 #:use-module (gnu packages libusb)
107 #:use-module (gnu packages lirc)
108 #:use-module (gnu packages lua)
109 #:use-module (gnu packages image)
110 #:use-module (gnu packages imagemagick)
111 #:use-module (gnu packages music)
112 #:use-module (gnu packages networking)
113 #:use-module (gnu packages ninja)
114 #:use-module (gnu packages password-utils)
115 #:use-module (gnu packages pcre)
116 #:use-module (gnu packages perl)
117 #:use-module (gnu packages photo)
118 #:use-module (gnu packages pkg-config)
119 #:use-module (gnu packages pulseaudio)
120 #:use-module (gnu packages python)
121 #:use-module (gnu packages python-crypto)
122 #:use-module (gnu packages python-web)
123 #:use-module (gnu packages rdesktop)
124 #:use-module (gnu packages scanner)
125 #:use-module (gnu packages selinux)
126 #:use-module (gnu packages slang)
127 #:use-module (gnu packages ssh)
128 #:use-module (gnu packages xml)
129 #:use-module (gnu packages gl)
130 #:use-module (gnu packages graphviz)
131 #:use-module (gnu packages compression)
132 #:use-module (gnu packages spice)
133 #:use-module (gnu packages tex)
134 #:use-module (gnu packages time)
135 #:use-module (gnu packages tls)
136 #:use-module (gnu packages web)
137 #:use-module (gnu packages webkit)
138 #:use-module (gnu packages xiph)
139 #:use-module (gnu packages xorg)
140 #:use-module (gnu packages xdisorg)
141 #:use-module (gnu packages freedesktop)
142 #:use-module (gnu packages mail)
143 #:use-module (gnu packages kerberos)
144 #:use-module (gnu packages multiprecision)
145 #:use-module (gnu packages backup)
146 #:use-module (gnu packages nettle)
147 #:use-module (gnu packages ncurses)
148 #:use-module (gnu packages video)
149 #:use-module (gnu packages cdrom)
150 #:use-module (gnu packages samba)
151 #:use-module (gnu packages readline)
152 #:use-module (gnu packages fonts)
153 #:use-module (gnu packages speech)
154 #:use-module (gnu packages version-control)
155 #:use-module (gnu packages virtualization)
156 #:use-module (gnu packages vpn)
157 #:use-module (gnu packages web)
158 #:use-module (gnu packages xorg)
159 #:use-module (ice-9 match)
160 #:use-module (srfi srfi-1))
162 (define-public brasero
168 (uri (string-append "mirror://gnome/sources/" name "/"
169 (version-major+minor version) "/"
170 name "-" version ".tar.xz"))
173 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
174 (build-system glib-or-gtk-build-system)
176 `(#:configure-flags (list
177 (string-append "--with-girdir="
178 (assoc-ref %outputs "out")
180 (string-append "--with-typelibdir="
181 (assoc-ref %outputs "out")
182 "/lib/girepository-1.0"))
184 (modify-phases %standard-phases
185 (add-before 'configure 'embed-growisofs
186 (lambda* (#:key inputs #:allow-other-keys)
187 (substitute* "plugins/growisofs/burn-growisofs.c"
188 (("\"growisofs") (string-append "\"" (which "growisofs"))))
191 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
193 `(("intltool" ,intltool)
194 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
195 ("gobject-introspection" ,gobject-introspection)
196 ("pkg-config" ,pkg-config)))
198 `(("dvd+rw-tools" ,dvd+rw-tools)
200 ("gnome-doc-utils" ,gnome-doc-utils)
201 ("gstreamer" ,gstreamer)
202 ("gst-plugins-base" ,gst-plugins-base)
205 ("libcanberra" ,libcanberra)
207 ("libnotify" ,libnotify)
211 ("totem-pl-parser" ,totem-pl-parser)))
212 (home-page "https://projects.gnome.org/brasero/")
213 (synopsis "CD/DVD burning tool for Gnome")
214 (description "Brasero is an application to burn CD/DVD for the Gnome
215 Desktop. It is designed to be as simple as possible and has some unique
216 features to enable users to create their discs easily and quickly.")
217 (license license:gpl2+)))
219 (define-public deja-dup
225 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
228 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
230 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
231 (build-system glib-or-gtk-build-system)
233 `(#:modules ((guix build gnu-build-system)
234 ((guix build cmake-build-system) #:prefix cmake:)
235 (guix build glib-or-gtk-build-system)
237 #:imported-modules (,@%glib-or-gtk-build-system-modules
238 (guix build cmake-build-system))
240 #:configure-flags (list (string-append
241 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
243 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
245 (modify-phases %standard-phases
246 (add-after 'unpack 'patch-lockfile-deletion
248 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
252 (assoc-ref cmake:%standard-phases 'configure))
253 (delete 'check) ;; Fails due to issues with DBus
254 (add-after 'install 'wrap-deja-dup
255 (lambda* (#:key inputs outputs #:allow-other-keys)
256 (let ((python (assoc-ref inputs "python"))
257 (python-path (getenv "PYTHONPATH"))
258 (duplicity (assoc-ref inputs "duplicity"))
259 (out (assoc-ref outputs "out")))
262 (wrap-program program
263 `("PATH" ":" prefix (,(string-append python "/bin")
264 ,(string-append duplicity "/bin"))))
265 (wrap-program program
266 `("PYTHONPATH" ":" prefix (,python-path))))
268 (find-files (string-append out "/bin")))
271 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
272 ("gobject-introspection" ,gobject-introspection)
273 ("duplicity" ,duplicity)
274 ("python" ,python2-minimal)
275 ("python-pygobject" ,python2-pygobject)
277 ("libnotify" ,libnotify)
279 ("libsecret" ,libsecret)
280 ("packagekit" ,packagekit)))
282 `(("pkg-config" ,pkg-config)
284 ("gettext" ,gettext-minimal)
286 ("intltool" ,intltool)
288 (home-page "https://launchpad.net/deja-dup")
289 (synopsis "Simple backup tool, for regular encrypted backups")
291 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
292 uses duplicity as the backend, which supports incremental backups and storage
293 either on a local, or remote machine via a number of methods.")
294 (license license:gpl3+)))
297 ;; This version from GNOME's repository includes fixes for compiling with
298 ;; recent versions of the build tools. The latest activity on the
299 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
301 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
304 (version (string-append "0.97.2-" (string-take commit 7)))
308 (url "https://git.gnome.org/browse/dia")
310 (file-name (string-append name "-" version "-checkout"))
313 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
314 (build-system gnu-build-system)
316 `(("glib" ,glib "bin")
318 ("gdk-pixbuf" ,gdk-pixbuf)
321 ("freetype" ,freetype)
322 ("libart-lgpl" ,libart-lgpl)))
324 `(("intltool" ,intltool)
325 ("pkg-config" ,pkg-config)
326 ("automake" ,automake)
327 ("autoconf" ,autoconf)
330 ("python-wrapper" ,python-wrapper)))
333 (modify-phases %standard-phases
334 (add-after 'unpack 'run-autogen
336 (system* "sh" "autogen.sh"))))))
337 (home-page "https://wiki.gnome.org/Apps/Dia")
338 (synopsis "Diagram creation for GNOME")
339 (description "Dia can be used to draw different types of diagrams, and
340 includes support for UML static structure diagrams (class diagrams), entity
341 relationship modeling, and network diagrams. The program supports various file
342 formats like PNG, SVG, PDF and EPS.")
343 (license license:gpl2+))))
345 (define-public libgdata
351 (uri (string-append "mirror://gnome/sources/" name "/"
352 (version-major+minor version) "/"
353 name "-" version ".tar.xz"))
356 "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47"))
358 (search-patches "libgdata-fix-tests.patch"
359 "libgdata-glib-duplicate-tests.patch"))))
360 (build-system gnu-build-system)
363 (modify-phases %standard-phases
364 (add-before 'check 'use-empty-ssl-cert-file
366 ;; The ca-certificates.crt is not available in the build
368 (setenv "SSL_CERT_FILE" "/dev/null")
370 (add-before 'check 'disable-failing-tests
372 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
373 ;; They have been removed in libgdata 0.17.6, so just do the same.
374 (substitute* "gdata/tests/Makefile"
375 (("picasaweb\\$\\(EXEEXT\\) ") ""))
378 `(("glib:bin" ,glib "bin")
379 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
380 ("intltool" ,intltool)
381 ("pkg-config" ,pkg-config)
382 ("uhttpmock" ,uhttpmock)))
384 `(("cyrus-sasl" ,cyrus-sasl)
386 ("glib-networking" ,glib-networking)
387 ("json-glib" ,json-glib)
388 ("libsoup" ,libsoup)))
391 ("gnome-online-accounts" ,gnome-online-accounts)
392 ("liboauth" ,liboauth)
393 ("libxml2" ,libxml2)))
394 (home-page "https://wiki.gnome.org/Projects/libgdata")
395 (synopsis "Library for accessing online service APIs")
397 "libgdata is a GLib-based library for accessing online service APIs using
398 the GData protocol — most notably, Google's services. It provides APIs to
399 access the common Google services, and has full asynchronous support.")
400 (license license:lgpl2.1+)))
402 (define-public libgxps
408 (uri (string-append "mirror://gnome/sources/" name "/"
409 (version-major+minor version) "/"
410 name "-" version ".tar.xz"))
413 "1bhgrpb6ndlp11qwr95g9piklmjcsca7bi04f8gy9ziipm1i6as1"))))
414 (build-system meson-build-system)
416 `(("gobject-introspection" ,gobject-introspection)
417 ("pkg-config" ,pkg-config)))
420 ("libjpeg" ,libjpeg-turbo)
425 ;; In Requires of libgxps.pc.
428 ("libarchive" ,libarchive)))
429 (home-page "https://wiki.gnome.org/Projects/libgxps")
430 (synopsis "GObject-based library for handling and rendering XPS documents")
432 "libgxps is a GObject-based library for handling and rendering XPS
433 documents. This package also contains binaries that can convert XPS documents
435 (license license:lgpl2.1+)))
437 (define-public gnome-common
439 (name "gnome-common")
444 (uri (string-append "mirror://gnome/sources/" name "/"
445 (version-major+minor version) "/"
446 name "-" version ".tar.xz"))
449 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
450 (build-system gnu-build-system)
451 (home-page "https://www.gnome.org/")
452 (synopsis "Bootstrap GNOME modules built from Git")
453 (description "gnome-common contains various files needed to bootstrap
454 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
455 can be used to configure a source directory checked out from Git and some
456 commonly used macros.")
457 (license license:gpl2+)))
459 (define-public gnome-desktop
461 (name "gnome-desktop")
466 (uri (string-append "mirror://gnome/sources/" name "/"
467 (version-major+minor version) "/"
468 name "-" version ".tar.xz"))
471 "0pkq5l1llw8gkjhfq6y58iyj6wac8dh1mc3rzjzn6nd7lrkdx8cg"))))
472 (build-system gnu-build-system)
475 (modify-phases %standard-phases
476 (add-before 'configure 'patch-path
477 (lambda* (#:key inputs #:allow-other-keys)
478 (let ((libc (assoc-ref inputs "libc")))
479 (substitute* "libgnome-desktop/gnome-languages.c"
481 (string-append "\"" libc "/bin/locale\"")))
484 `(("gobject-introspection" ,gobject-introspection)
486 ("intltool" ,intltool)
487 ("pkg-config" ,pkg-config)
488 ("xmllint" ,libxml2)))
490 ;; Required by gnome-desktop-3.0.pc.
491 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
494 `(("gdk-pixbuf" ,gdk-pixbuf)
496 ("iso-codes" ,iso-codes)
499 ("libxkbfile" ,libxkbfile)
500 ("libxrandr" ,libxrandr)
501 ("xkeyboard-config" ,xkeyboard-config)))
502 (home-page "https://www.gnome.org/")
504 "Libgnome-desktop, gnome-about, and desktop-wide documents")
506 "The libgnome-desktop library provides API shared by several applications
507 on the desktop, but that cannot live in the platform for various reasons.
508 There is no API or ABI guarantee, although we are doing our best to provide
509 stability. Documentation for the API is available with gtk-doc.
511 The gnome-about program helps find which version of GNOME is installed.")
512 ; Some bits under the LGPL.
513 (license license:gpl2+)))
515 (define-public gnome-doc-utils
517 (name "gnome-doc-utils")
522 (uri (string-append "mirror://gnome/sources/" name "/"
523 (version-major+minor version) "/"
524 name "-" version ".tar.xz"))
527 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
528 (build-system gnu-build-system)
530 `(("intltool" ,intltool)
531 ("docbook-xml" ,docbook-xml-4.4)
532 ("python2-libxml2" ,python2-libxml2)
535 ("pkg-config" ,pkg-config)
536 ("python-2" ,python-2)))
537 (home-page "https://wiki.gnome.org/GnomeDocUtils")
539 "Documentation utilities for the Gnome project")
541 "Gnome-doc-utils is a collection of documentation utilities for the
542 Gnome project. It includes xml2po tool which makes it easier to translate
543 and keep up to date translations of documentation.")
544 (license license:gpl2+))) ; xslt under lgpl
546 (define-public gnome-disk-utility
548 (name "gnome-disk-utility")
552 (uri (string-append "mirror://gnome/sources/" name "/"
553 (version-major+minor version) "/"
554 name "-" version ".tar.xz"))
557 "11ajz4cbsdns81kihd6242b6pwxbw8bkr9qqkf4qnb4kp363a38m"))))
558 (build-system meson-build-system)
560 `(("glib:bin" ,glib "bin")
561 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
562 ("intltool" ,intltool)
563 ("pkg-config" ,pkg-config)
564 ("docbook-xml" ,docbook-xml)
565 ("docbook-xsl" ,docbook-xsl)
567 ("libxslt" ,libxslt)))
570 ("appstream-glib" ,appstream-glib)
571 ("gnome-settings-daemon" ,gnome-settings-daemon)
573 ("libcanberra" ,libcanberra)
574 ("libdvdread" ,libdvdread)
575 ("libnotify" ,libnotify)
576 ("libpwquality" ,libpwquality)
577 ("libsecret" ,libsecret)
579 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
580 (synopsis "Disk management utility for GNOME")
581 (description "Disk management utility for GNOME.")
582 (license license:gpl2+)))
590 (uri (string-append "mirror://gnome/sources/" name "/"
591 (version-major+minor version) "/"
592 name "-" version ".tar.xz"))
595 "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh"))
597 (search-patches "gcr-disable-failing-tests.patch"
598 "gcr-fix-collection-tests-to-work-with-gpg-21.patch"))))
599 (build-system gnu-build-system)
601 '(#:phases (modify-phases %standard-phases
604 (lambda* (#:key inputs #:allow-other-keys)
605 (substitute* "build/tap-driver"
606 (("/usr/bin/env python") (which "python"))))))))
609 ("gnupg" ,gnupg) ;called as a child process during tests
610 ("libgcrypt" ,libgcrypt)))
612 `(("python" ,python-2) ;for tests
613 ("pkg-config" ,pkg-config)
615 ("gobject-introspection" ,gobject-introspection)
616 ("intltool" ,intltool)
617 ("xsltproc" ,libxslt)))
618 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
620 `(("p11-kit" ,p11-kit)
623 (home-page "https://www.gnome.org")
624 (synopsis "Libraries for displaying certificates and accessing key stores")
626 "The GCR package contains libraries used for displaying certificates and
627 accessing key stores. It also provides the viewer for crypto files on the
629 (license license:lgpl2.1+)))
631 (define-public libgnome-keyring
633 (name "libgnome-keyring")
637 (uri (string-append "mirror://gnome/sources/" name "/"
638 (version-major+minor version) "/"
639 name "-" version ".tar.xz"))
642 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
643 (build-system gnu-build-system)
645 `(("libgcrypt" ,libgcrypt)
648 `(("pkg-config" ,pkg-config)
650 ("intltool" ,intltool)))
652 ;; Referred to in .h files and .pc.
654 (home-page "https://www.gnome.org")
655 (synopsis "Accessing passwords from the GNOME keyring")
657 "Client library to access passwords from the GNOME keyring.")
659 ;; Though a couple of files are LGPLv2.1+.
660 (license license:lgpl2.0+)))
662 (define-public gnome-keyring
664 (name "gnome-keyring")
668 (uri (string-append "mirror://gnome/sources/" name "/"
669 (version-major+minor version) "/"
670 name "-" version ".tar.xz"))
673 "134ci3mn6jjap59z3lrvyiip7zf2nlw5xvanr44yajs57xr4x5lp"))))
674 (build-system gnu-build-system)
676 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
680 (string-append "--with-pkcs11-config="
681 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
682 (string-append "--with-pkcs11-modules="
683 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
685 (modify-phases %standard-phases
688 (lambda* (#:key inputs #:allow-other-keys)
689 (substitute* "build/tap-driver"
690 (("/usr/bin/env python") (which "python")))))
692 'configure 'fix-docbook
693 (lambda* (#:key inputs #:allow-other-keys)
694 (substitute* "docs/Makefile.am"
695 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
696 (string-append (assoc-ref inputs "docbook-xsl")
697 "/xml/xsl/docbook-xsl-"
698 ,(package-version docbook-xsl)
699 "/manpages/docbook.xsl")))
700 (setenv "XML_CATALOG_FILES"
701 (string-append (assoc-ref inputs "docbook-xml")
702 "/xml/dtd/docbook/catalog.xml"))
704 ;; Rerun the whole thing to avoid version mismatch ("This is
705 ;; Automake 1.15.1, but the definition used by this
706 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
707 ;; use 'autoreconf' because it insists on running 'libtoolize'.
710 (invoke "automake" "-ac"))))))
712 `(("libgcrypt" ,libgcrypt)
713 ("linux-pam" ,linux-pam)
717 `(("pkg-config" ,pkg-config)
719 ("python" ,python-2) ;for tests
720 ("intltool" ,intltool)
721 ("autoconf" ,autoconf)
722 ("automake" ,automake)
723 ("libxslt" ,libxslt) ;for documentation
724 ("docbook-xml" ,docbook-xml-4.2)
725 ("docbook-xsl" ,docbook-xsl)))
726 (home-page "https://www.gnome.org")
727 (synopsis "Daemon to store passwords and encryption keys")
729 "gnome-keyring is a program that keeps passwords and other secrets for
730 users. It is run as a daemon in the session, similar to ssh-agent, and other
731 applications locate it via an environment variable or D-Bus.
733 The program can manage several keyrings, each with its own master password,
734 and there is also a session keyring which is never stored to disk, but
735 forgotten when the session ends.")
736 (license license:lgpl2.1+)))
738 (define-public evince
744 (uri (string-append "mirror://gnome/sources/" name "/"
745 (version-major+minor version) "/"
746 name "-" version ".tar.xz"))
749 "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89"))))
750 (build-system glib-or-gtk-build-system)
752 `(#:configure-flags '("--disable-nautilus")
754 (modify-phases %standard-phases
755 (add-before 'install 'skip-gtk-update-icon-cache
756 ;; Don't create 'icon-theme.cache'.
758 (substitute* "data/Makefile"
759 (("gtk-update-icon-cache") "true"))
762 `(("libarchive" ,libarchive)
764 ("libspectre" ,libspectre)
765 ("djvulibre" ,djvulibre)
766 ("ghostscript" ,ghostscript)
770 ;; Build libkpathsea as a shared library for DVI support.
771 ;; ("libkpathsea" ,texlive-bin)
772 ("gnome-desktop" ,gnome-desktop)
773 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
774 ("libgnome-keyring" ,libgnome-keyring)
775 ("adwaita-icon-theme" ,adwaita-icon-theme)
776 ("gdk-pixbuf" ,gdk-pixbuf)
784 ("shared-mime-info" ,shared-mime-info)
786 ("libcanberra" ,libcanberra)
787 ("libsecret" ,libsecret)
789 ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be
790 ;; propagated from there.
794 ("dogtail" ,python2-dogtail)))
796 `(("itstool" ,itstool)
797 ("intltool" ,intltool)
799 ("pkg-config" ,pkg-config)
800 ("xmllint" ,libxml2)))
802 "https://www.gnome.org/projects/evince/")
803 (synopsis "GNOME's document viewer")
805 "Evince is a document viewer for multiple document formats. It
806 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
807 of Evince is to replace the multiple document viewers that exist
808 on the GNOME Desktop with a single simple application.")
809 (license license:gpl2+)))
811 (define-public gsettings-desktop-schemas
813 (name "gsettings-desktop-schemas")
818 (uri (string-append "mirror://gnome/sources/" name "/"
819 (version-major+minor version) "/"
820 name "-" version ".tar.xz"))
823 "19zfqy58missq5cck13ip8j824hb9whqg2c4cr6hgrlxkwqgm8vn"))))
824 (build-system gnu-build-system)
828 `(("intltool" ,intltool)
829 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
830 ("gobject-introspection" ,gobject-introspection)
831 ("pkg-config" ,pkg-config)))
832 (home-page "https://launchpad.net/gsettings-desktop-schemas")
834 "GNOME settings for various desktop components")
836 "Gsettings-desktop-schemas contains a collection of GSettings schemas
837 for settings shared by various components of the GNOME desktop.")
838 (license license:lgpl2.1+)))
840 (define-public icon-naming-utils
842 (name "icon-naming-utils")
847 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
851 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
852 (build-system gnu-build-system)
855 ("perl-xml-simple" ,perl-xml-simple)))
858 (modify-phases %standard-phases
859 (add-after 'install 'set-load-paths
860 ;; Tell 'icon-name-mapping' where XML::Simple is.
861 (lambda* (#:key outputs #:allow-other-keys)
862 (let* ((out (assoc-ref outputs "out"))
863 (prog (string-append out "/libexec/icon-name-mapping")))
866 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
868 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
870 "Utility to implement the Freedesktop Icon Naming Specification")
872 "To help with the transition to the Freedesktop Icon Naming
873 Specification, the icon naming utility maps the icon names used by the
874 GNOME and KDE desktops to the icon names proposed in the specification.")
875 (license license:lgpl2.1+)))
877 (define-public gnome-icon-theme
879 (name "gnome-icon-theme")
884 (uri (string-append "mirror://gnome/sources/" name "/"
885 (version-major+minor version) "/"
886 name "-" version ".tar.xz"))
889 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
890 (build-system gnu-build-system)
893 ;; Don't create 'icon-theme.cache'.
894 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
895 (true (string-append coreutils "/bin/true")))
896 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
898 `(("icon-naming-utils" ,icon-naming-utils)
899 ("intltool" ,intltool)
900 ("pkg-config" ,pkg-config)))
901 (home-page "https://art.gnome.org/")
905 "Icons for the GNOME desktop.")
906 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
908 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
909 (define-public adwaita-icon-theme
910 (package (inherit gnome-icon-theme)
911 (name "adwaita-icon-theme")
915 (uri (string-append "mirror://gnome/sources/" name "/"
916 (version-major+minor version) "/"
917 name "-" version ".tar.xz"))
920 "17fpahgh5dyckgz7rwqvzgnhx53cx9kr2xw0szprc6bnqy977fi8"))))
922 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
924 (define-public tango-icon-theme
926 (name "tango-icon-theme")
930 (uri (string-append "http://tango.freedesktop.org/releases/"
931 "tango-icon-theme-" version ".tar.bz2"))
934 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
935 (build-system gnu-build-system)
937 `(("icon-naming-utils" ,icon-naming-utils)
938 ("intltool" ,intltool)
939 ("imagemagick" ,imagemagick)
940 ("pkg-config" ,pkg-config)))
941 (home-page "http://tango-project.org/")
942 (synopsis "Tango icon theme")
943 (description "This is an icon theme that follows the Tango visual
945 (license license:public-domain)))
947 (define-public shared-mime-info
949 (name "shared-mime-info")
953 (uri (string-append "https://freedesktop.org/~hadess/"
954 "shared-mime-info-" version ".tar.xz"))
957 "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw"))))
958 (build-system gnu-build-system)
960 ;; The build system appears not to be parallel-safe.
961 '(#:parallel-build? #f))
964 ("libxml2" ,libxml2)))
966 `(("intltool" ,intltool)
967 ("pkg-config" ,pkg-config)))
968 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
969 (synopsis "Database of common MIME types")
971 "The shared-mime-info package contains the core database of common types
972 and the update-mime-database command used to extend it. It requires glib2 to
973 be installed for building the update command. Additionally, it uses intltool
974 for translations, though this is only a dependency for the maintainers. This
975 database is translated at Transifex.")
976 (license license:gpl2+)))
978 (define-public hicolor-icon-theme
980 (name "hicolor-icon-theme")
985 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
986 "hicolor-icon-theme-" version ".tar.xz"))
989 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
990 (build-system gnu-build-system)
992 `(#:tests? #f)) ; no check target
993 (home-page "https://icon-theme.freedesktop.org/releases/")
995 "Freedesktop icon theme")
997 "Freedesktop icon theme.")
998 (license license:gpl2)))
1000 (define-public libnotify
1007 (uri (string-append "mirror://gnome/sources/" name "/"
1008 (version-major+minor version) "/"
1009 name "-" version ".tar.xz"))
1012 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1013 (build-system gnu-build-system)
1015 `(("gdk-pixbuf" ,gdk-pixbuf)
1018 ("libpng" ,libpng)))
1020 `(("pkg-config" ,pkg-config)
1021 ("glib" ,glib "bin")
1022 ("gobject-introspection" ,gobject-introspection)))
1023 (home-page "https://developer-next.gnome.org/libnotify/")
1025 "GNOME desktop notification library")
1027 "Libnotify is a library that sends desktop notifications to a
1028 notification daemon, as defined in the Desktop Notifications spec. These
1029 notifications can be used to inform the user about an event or display
1030 some form of information without getting in the user's way.")
1031 (license license:lgpl2.1+)))
1033 (define-public libpeas
1040 (uri (string-append "mirror://gnome/sources/" name "/"
1041 (version-major+minor version) "/"
1042 name "-" version ".tar.xz"))
1045 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1046 (build-system gnu-build-system)
1051 ("python-pygobject" ,python-pygobject)))
1053 `(("pkg-config" ,pkg-config)
1054 ("glib:bin" ,glib "bin")
1055 ("gobject-introspection" ,gobject-introspection)
1056 ("intltool" ,intltool)))
1058 ;; The .pc file "Requires" gobject-introspection.
1059 `(("gobject-introspection" ,gobject-introspection)))
1060 (home-page "https://wiki.gnome.org/Libpeas")
1061 (synopsis "GObject plugin system")
1063 "Libpeas is a gobject-based plugin engine, targeted at giving every
1064 application the chance to assume its own extensibility. It also has a set of
1065 features including, but not limited to: multiple extension points; on-demand
1066 (lazy) programming language support for C, Python and JS; simplicity of the
1068 (license license:lgpl2.0+)))
1070 (define-public gtkglext
1076 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1077 version "/gtkglext-" version ".tar.gz"))
1079 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1080 (patches (search-patches
1081 "gtkglext-disable-disable-deprecated.patch"))))
1082 (build-system gnu-build-system)
1085 (modify-phases %standard-phases
1086 ;; Fix a collision between a local variable and a definition from
1087 ;; glibc's string.h.
1088 (add-after 'unpack 'fix-collision
1090 (substitute* "gdk/gdkglshapes.c"
1091 ((" index") " triangle_index"))
1093 (inputs `(("gtk+" ,gtk+-2)
1098 (native-inputs `(("pkg-config" ,pkg-config)
1099 ("glib" ,glib "bin")))
1100 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1101 (home-page "https://projects.gnome.org/gtkglext")
1102 (synopsis "OpenGL extension to GTK+")
1103 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1104 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1105 API add-ons to make GTK+ widgets OpenGL-capable.")
1106 (license license:lgpl2.1+)))
1108 (define-public glade3
1114 (uri (string-append "mirror://gnome/sources/" name "/"
1115 (version-major+minor version) "/"
1116 name "-" version ".tar.xz"))
1119 "1vdbqqvf6nrkqml4awrq4pzfwsm5v39wdzg943nys6lmf1am9l87"))))
1120 (build-system glib-or-gtk-build-system)
1122 `(#:tests? #f ; needs X, GL, and software rendering
1124 (modify-phases %standard-phases
1125 (add-before 'configure 'fix-docbook
1126 (lambda* (#:key inputs #:allow-other-keys)
1127 (substitute* "man/Makefile.in"
1128 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1129 (string-append (assoc-ref inputs "docbook-xsl")
1130 "/xml/xsl/docbook-xsl-"
1131 ,(package-version docbook-xsl)
1132 "/manpages/docbook.xsl")))
1136 ("libxml2" ,libxml2)))
1138 `(("intltool" ,intltool)
1139 ("itstool" ,itstool)
1140 ("libxslt" ,libxslt) ;for xsltproc
1141 ("docbook-xml" ,docbook-xml-4.2)
1142 ("docbook-xsl" ,docbook-xsl)
1143 ("python" ,python-2)
1144 ("pkg-config" ,pkg-config)))
1145 (home-page "https://glade.gnome.org")
1146 (synopsis "GTK+ rapid application development tool")
1147 (description "Glade is a rapid application development (RAD) tool to
1148 enable quick & easy development of user interfaces for the GTK+ toolkit and
1149 the GNOME desktop environment.")
1150 (license license:lgpl2.0+)))
1152 (define-public libcroco
1158 (uri (string-append "mirror://gnome/sources/" name "/"
1159 (version-major+minor version) "/"
1160 name "-" version ".tar.xz"))
1162 (search-patches "libcroco-CVE-2017-7960.patch"
1163 "libcroco-CVE-2017-7961.patch"))
1166 "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x"))))
1167 (build-system gnu-build-system)
1169 `(("pkg-config" ,pkg-config)))
1172 ("libxml2" ,libxml2)
1174 (home-page "https://github.com/GNOME/libcroco")
1175 (synopsis "CSS2 parsing and manipulation library")
1177 "Libcroco is a standalone CSS2 parsing and manipulation library.
1178 The parser provides a low level event driven SAC-like API and a CSS object
1179 model like API. Libcroco provides a CSS2 selection engine and an experimental
1180 XML/CSS rendering engine.")
1183 (license license:lgpl2.1)))
1185 (define-public libgsf
1191 (uri (string-append "mirror://gnome/sources/" name "/"
1192 (version-major+minor version) "/"
1193 name "-" version ".tar.xz"))
1196 "1ppzfk3zmmgrg9jh8vc4dacddbfngjslq2wpj94pcr3i0c8dxgk8"))))
1197 (build-system gnu-build-system)
1199 `(("intltool" ,intltool)
1200 ("pkg-config" ,pkg-config)))
1202 `(("python" ,python)
1206 `(("gdk-pixbuf" ,gdk-pixbuf)
1208 ("libxml2" ,libxml2)))
1209 (home-page "https://www.gnome.org/projects/libgsf")
1210 (synopsis "GNOME's Structured File Library")
1212 "Libgsf aims to provide an efficient extensible I/O abstraction for
1213 dealing with different structured file formats.")
1216 (license license:lgpl2.1)))
1218 (define-public librsvg
1224 (uri (string-append "mirror://gnome/sources/" name "/"
1225 (version-major+minor version) "/"
1226 name "-" version ".tar.xz"))
1229 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1230 (build-system gnu-build-system)
1233 (modify-phases %standard-phases
1234 (add-before 'configure 'pre-configure
1235 (lambda* (#:key inputs #:allow-other-keys)
1236 (substitute* "gdk-pixbuf-loader/Makefile.in"
1237 ;; By default the gdk-pixbuf loader is installed under
1238 ;; gdk-pixbuf's prefix. Work around that.
1239 (("gdk_pixbuf_moduledir = .*$")
1240 (string-append "gdk_pixbuf_moduledir = "
1241 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1243 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1244 (("gdk_pixbuf_cache_file = .*$")
1245 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1247 (add-after 'unpack 'remove-failing-tests
1249 (with-directory-excursion "tests/fixtures/reftests"
1250 (for-each delete-file
1251 '(;; This test fails on i686:
1252 "svg1.1/masking-path-04-b.svg"
1253 "svg1.1/masking-path-04-b-ref.png"
1254 ;; This test fails on armhf:
1255 "svg1.1/masking-mask-01-b.svg"
1256 "svg1.1/masking-mask-01-b-ref.png"
1257 ;; This test fails on aarch64:
1258 "bugs/777834-empty-text-children.svg"
1259 "bugs/777834-empty-text-children-ref.png")))
1262 `(("pkg-config" ,pkg-config)
1263 ("glib" ,glib "bin") ; glib-mkenums, etc.
1264 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1267 ("libcroco" ,libcroco)
1270 ("libxml2" ,libxml2)))
1272 ;; librsvg-2.0.pc refers to all of that.
1274 ("gdk-pixbuf" ,gdk-pixbuf)
1276 (home-page "https://wiki.gnome.org/LibRsvg")
1277 (synopsis "Render SVG files using Cairo")
1279 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1281 (license license:lgpl2.0+)))
1283 (define-public libidl
1289 (uri (let ((upstream-name "libIDL"))
1290 (string-append "mirror://gnome/sources/" upstream-name "/"
1291 (version-major+minor version) "/"
1292 upstream-name "-" version ".tar.bz2")))
1295 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
1296 (build-system gnu-build-system)
1297 (inputs `(("glib" ,glib)))
1299 `(("pkg-config" ,pkg-config)
1302 (home-page "http://freecode.com/projects/libidl")
1303 (synopsis "Create trees of CORBA Interface Definition Language files")
1304 (description "Libidl is a library for creating trees of CORBA Interface
1305 Definition Language (idl) files, which is a specification for defining
1306 portable interfaces. libidl was initially written for orbit (the orb from the
1307 GNOME project, and the primary means of libidl distribution). However, the
1308 functionality was designed to be as reusable and portable as possible.")
1309 (license license:lgpl2.0+)))
1312 (define-public orbit2
1318 (uri (let ((upstream-name "ORBit2"))
1319 (string-append "mirror://gnome/sources/" upstream-name "/"
1320 (version-major+minor version) "/"
1321 upstream-name "-" version ".tar.bz2")))
1324 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
1325 (build-system gnu-build-system)
1328 '(;; We don't need static libraries, plus they don't build reproducibly
1329 ;; (non-deterministic ordering of .o files in the archive.)
1332 ;; The programmer kindly gives us a hook to turn off deprecation
1334 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1335 ;; ... which they then completly ignore !!
1337 (modify-phases %standard-phases
1338 (add-before 'configure 'ignore-deprecations
1340 (substitute* "linc2/src/Makefile.in"
1341 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1343 (inputs `(("glib" ,glib)
1344 ("libidl" ,libidl)))
1346 `(("pkg-config" ,pkg-config)))
1347 (home-page "https://projects.gnome.org/orbit2/")
1348 (synopsis "CORBA 2.4-compliant Object Request Broker")
1349 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
1350 featuring mature C, C++ and Python bindings.")
1351 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
1352 ;; a version. SOME of the code files have licence notices for GPLv2+.
1353 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
1354 (license license:gpl2+)
1355 (properties `((upstream-name . "ORBit2")))))
1358 (define-public libbonobo
1364 (uri (string-append "mirror://gnome/sources/" name "/"
1365 (version-major+minor version)
1366 "/" name "-" version ".tar.bz2"))
1368 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
1369 (patches (search-patches
1370 "libbonobo-activation-test-race.patch"))))
1371 (build-system gnu-build-system)
1373 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
1375 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
1376 ;; ... which they then completly ignore !!
1378 (modify-phases %standard-phases
1379 (add-before 'configure 'ignore-deprecations
1381 (substitute* "activation-server/Makefile.in"
1382 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1385 ;; There's apparently a race condition between the server stub
1386 ;; generation and linking of the example under 'samples/echo' that can
1387 ;; lead do undefined references when building in parallel, as reported
1388 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
1389 ;; Thus, disable parallel builds.
1390 #:parallel-build? #f))
1391 (inputs `(("popt" ,popt)
1392 ("libxml2" ,libxml2)))
1393 ;; The following are Required by the .pc file
1396 ("orbit2" ,orbit2)))
1398 `(("intltool" ,intltool)
1399 ("pkg-config" ,pkg-config)
1400 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1403 (home-page "https://developer.gnome.org/libbonobo/")
1404 (synopsis "Framework for creating reusable components for use in GNOME applications")
1405 (description "Bonobo is a framework for creating reusable components for
1406 use in GNOME applications, built on top of CORBA.")
1407 ;; Licence not explicitly stated. Source files contain no licence notices.
1408 ;; Tarball contains text of both GPLv2 and LGPLv2
1409 ;; GPLv2 covers both conditions
1410 (license license:gpl2+)))
1413 (define-public gconf
1420 (let ((upstream-name "GConf"))
1421 (string-append "mirror://gnome/sources/" upstream-name "/"
1422 (version-major+minor version) "/"
1423 upstream-name "-" version ".tar.xz")))
1425 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
1426 (build-system gnu-build-system)
1427 (inputs `(("dbus-glib" ,dbus-glib)
1428 ("libxml2" ,libxml2)))
1429 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
1430 ("orbit2" ,orbit2)))
1432 `(("intltool" ,intltool)
1433 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1434 ("pkg-config" ,pkg-config)))
1435 (home-page "https://projects.gnome.org/gconf/")
1436 (synopsis "Store application preferences")
1437 (description "Gconf is a system for storing application preferences. It
1438 is intended for user preferences; not arbitrary data storage.")
1439 (license license:lgpl2.0+)
1440 (properties '((upstream-name . "GConf")))))
1443 (define-public gnome-mime-data
1445 (name "gnome-mime-data")
1449 (uri (string-append "mirror://gnome/sources/" name "/"
1450 (version-major+minor version) "/"
1451 name "-" version ".tar.bz2"))
1454 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
1455 (build-system gnu-build-system)
1458 ("intltool" ,intltool)))
1460 '(#:phases (modify-phases %standard-phases
1461 (add-after 'configure 'use-our-intltool
1463 ;; Do not use the bundled intltool commands, which lack
1464 ;; the "dotless @INC" fixes of our 'intltool' package.
1465 (substitute* (find-files "." "^Makefile$")
1466 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
1467 (string-append "INTLTOOL_" tool " = intltool-"
1468 (string-downcase tool) "\n")))
1470 (home-page "https://www.gnome.org")
1471 (synopsis "Base MIME and Application database for GNOME")
1472 (description "GNOME Mime Data is a module which contains the base MIME
1473 and Application database for GNOME. The data stored by this module is
1474 designed to be accessed through the MIME functions in GnomeVFS.")
1475 (license license:gpl2+)))
1478 (define-public gnome-vfs
1484 (uri (string-append "mirror://gnome/sources/" name "/"
1485 (version-major+minor version) "/"
1486 name "-" version ".tar.bz2"))
1489 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
1490 (build-system gnu-build-system)
1493 (modify-phases %standard-phases
1494 (add-before 'configure 'ignore-deprecations
1496 (substitute* '("libgnomevfs/Makefile.in"
1497 "daemon/Makefile.in")
1498 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1500 (add-before 'configure 'patch-test-async-cancel-to-never-fail
1502 (substitute* "test/test-async-cancel.c"
1503 (("EXIT_FAILURE") "77"))
1505 (inputs `(("libxml2" ,libxml2)
1506 ("dbus-glib" ,dbus-glib)
1508 ("gnome-mime-data" ,gnome-mime-data)
1511 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1512 ("intltool" ,intltool)
1513 ("pkg-config" ,pkg-config)))
1514 (home-page "https://developer.gnome.org/gnome-vfs/")
1515 (synopsis "Access files and folders in GNOME applications")
1517 "GnomeVFS is the core library used to access files and folders in GNOME
1518 applications. It provides a file system abstraction which allows applications
1519 to access local and remote files with a single consistent API.")
1520 (license license:lgpl2.0+)))
1524 (define-public libgnome
1530 (uri (string-append "mirror://gnome/sources/" name "/"
1531 (version-major+minor version) "/"
1532 name "-" version ".tar.bz2"))
1535 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
1536 (patches (search-patches "libgnome-encoding.patch"))))
1537 (build-system gnu-build-system)
1540 (modify-phases %standard-phases
1541 (add-before 'configure 'enable-deprecated
1543 (substitute* "libgnome/Makefile.in"
1544 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
1546 (inputs `(("libxml2" ,libxml2)))
1548 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1549 ("intltool" ,intltool)
1550 ("pkg-config" ,pkg-config)))
1551 ;; The following are listed as Required in the .pc file
1552 ;; (except for libcanberra -- which seems to be oversight on the part
1553 ;; of the upstream developers -- anything that links against libgnome,
1554 ;; must also link against libcanberra
1556 `(("libcanberra" ,libcanberra)
1557 ("libbonobo" ,libbonobo)
1559 ("gnome-vfs" ,gnome-vfs)
1560 ("popt" ,popt))) ;gnome-program.h includes popt.h
1561 (home-page "https://developer.gnome.org/libgnome/")
1562 (synopsis "Useful routines for building applications")
1563 (description "The libgnome library provides a number of useful routines
1564 for building modern applications, including session management, activation of
1565 files and URIs, and displaying help.")
1566 (license license:lgpl2.0+)))
1569 (define-public libart-lgpl
1571 (name "libart-lgpl")
1575 (uri (let ((upstream-name "libart_lgpl"))
1576 (string-append "mirror://gnome/sources/" upstream-name "/"
1577 (version-major+minor version) "/"
1578 upstream-name "-" version ".tar.bz2")))
1581 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
1582 (build-system gnu-build-system)
1584 `(("pkg-config" ,pkg-config)))
1585 (home-page "https://people.gnome.org/~mathieu/libart")
1586 (synopsis "2D drawing library")
1587 (description "Libart is a 2D drawing library intended as a
1588 high-quality vector-based 2D library with antialiasing and alpha composition.")
1589 (license license:lgpl2.0+)))
1593 (define-public libgnomecanvas
1595 (name "libgnomecanvas")
1599 (uri (string-append "mirror://gnome/sources/" name "/"
1600 (version-major+minor version) "/"
1601 name "-" version ".tar.gz"))
1604 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
1605 (build-system gnu-build-system)
1606 ;; Mentioned as Required in the .pc file
1607 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
1610 `(("intltool" ,intltool)
1611 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1612 ("pkg-config" ,pkg-config)))
1613 (home-page "https://developer.gnome.org/libgnomecanvas/")
1614 (synopsis "Flexible widget for creating interactive structured graphics")
1615 (description "The GnomeCanvas widget provides a flexible widget for
1616 creating interactive structured graphics.")
1617 (license license:lgpl2.0+)))
1619 (define-public libgnomecanvasmm
1621 (name "libgnomecanvasmm")
1625 (uri (string-append "mirror://gnome/sources/" name "/"
1626 (version-major+minor version) "/"
1627 name "-" version ".tar.bz2"))
1630 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
1631 (build-system gnu-build-system)
1633 '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
1634 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
1636 `(("gtkmm-2" ,gtkmm-2)
1637 ("pkg-config" ,pkg-config)))
1638 (home-page "https://gtkmm.org")
1639 (synopsis "C++ bindings to the GNOME Canvas library")
1640 (description "C++ bindings to the GNOME Canvas library.")
1641 (license license:lgpl2.0+)))
1643 (define-public libgnomeui
1649 (uri (string-append "mirror://gnome/sources/" name "/"
1650 (version-major+minor version) "/"
1651 name "-" version ".tar.bz2"))
1652 (patches (search-patches "libgnomeui-utf8.patch"))
1655 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1656 (build-system gnu-build-system)
1657 ;; Mentioned as Required in the .pc file
1658 (propagated-inputs `(("libbonoboui" ,libbonoboui)
1659 ("libgnome" ,libgnome)
1660 ("libgnomecanvas" ,libgnomecanvas)
1661 ("libgnome-keyring" ,libgnome-keyring)))
1662 (inputs `(("libjpeg" ,libjpeg)
1664 ("libbonobo" ,libbonobo)
1665 ("libxml2" ,libxml2)
1666 ("libglade" ,libglade)))
1668 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1669 ("intltool" ,intltool)
1670 ("pkg-config" ,pkg-config)))
1671 (home-page "https://developer.gnome.org/libgnomeui/")
1672 (synopsis "Additional widgets for applications")
1673 (description "The libgnomeui library provides additional widgets for
1674 applications. Many of the widgets from libgnomeui have already been
1676 (license license:lgpl2.0+)))
1678 (define-public libglade
1684 (uri (string-append "mirror://gnome/sources/" name "/"
1685 (version-major+minor version) "/"
1686 name "-" version ".tar.bz2"))
1689 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1690 (build-system gnu-build-system)
1692 `(("python" ,python))) ;; needed for the optional libglade-convert program
1694 `(("gtk+-2" ,gtk+-2)
1695 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
1697 `(("pkg-config" ,pkg-config)))
1698 (home-page "https://developer.gnome.org/libglade")
1699 (synopsis "Load glade interfaces and access the glade built widgets")
1700 (description "Libglade is a library that provides interfaces for loading
1701 graphical interfaces described in glade files and for accessing the
1702 widgets built in the loading process.")
1703 (license license:gpl2+))) ; This is correct. GPL not LGPL
1705 (define-public libgnomeprint
1706 ;; This library has been deprecated since 2006; see
1707 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
1709 (name "libgnomeprint")
1713 (uri (string-append "mirror://gnome/sources/" name "/"
1714 (version-major+minor version) "/"
1715 name "-" version ".tar.bz2"))
1718 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1719 (build-system gnu-build-system)
1722 ("libart-lgpl" ,libart-lgpl)
1724 ("libxml2" ,libxml2)))
1726 `(("intltool" ,intltool)
1727 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1728 ("pkg-config" ,pkg-config)))
1729 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1730 (synopsis "Printing framework for GNOME")
1732 "GNOME-print was a printing framework for GNOME. It has been deprecated
1733 since ca. 2006, when GTK+ itself incorporated printing support.")
1734 (license license:lgpl2.0+)))
1737 (define-public libgnomeprintui
1738 ;; Deprecated; see libgnomeprint.
1740 (name "libgnomeprintui")
1744 (uri (string-append "mirror://gnome/sources/" name "/"
1745 (version-major+minor version) "/"
1746 name "-" version ".tar.bz2"))
1749 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1750 (build-system gnu-build-system)
1751 ;; Mentioned as Required in the .pc file
1752 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1753 (inputs `(("gtk+" ,gtk+-2)
1755 ("gnome-icon-theme" ,gnome-icon-theme)
1756 ("libgnomecanvas" ,libgnomecanvas)
1757 ("libxml2" ,libxml2)))
1759 `(("intltool" ,intltool)
1760 ("pkg-config" ,pkg-config)))
1761 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1762 (synopsis "Printing framework for GNOME")
1763 (description (package-description libgnomeprint))
1764 (license license:lgpl2.0+)))
1766 (define-public libbonoboui
1768 (name "libbonoboui")
1772 (uri (string-append "mirror://gnome/sources/" name "/"
1773 (version-major+minor version) "/"
1774 name "-" version ".tar.bz2"))
1777 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1778 (build-system gnu-build-system)
1781 (modify-phases %standard-phases
1782 (add-before 'check 'start-xserver
1783 (lambda* (#:key inputs #:allow-other-keys)
1784 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1787 (setenv "HOME" (getcwd))
1788 (setenv "DISPLAY" disp)
1789 ;; There must be a running X server and make check doesn't start one.
1790 ;; Therefore we must do it.
1791 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
1792 ;; Mentioned as Required by the .pc file
1793 (propagated-inputs `(("libxml2" ,libxml2)))
1796 ("pangox-compat" ,pangox-compat)
1797 ("libgnome" ,libgnome)
1798 ("libgnomecanvas" ,libgnomecanvas)
1799 ("libglade" ,libglade)))
1801 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1802 ("intltool" ,intltool)
1803 ("xorg-server" ,xorg-server) ; For running the tests
1804 ("pkg-config" ,pkg-config)))
1805 (home-page "https://developer.gnome.org/libbonoboui/")
1806 (synopsis "Some user interface controls using Bonobo")
1807 (description "The Bonobo UI library provides a number of user interface
1808 controls using the Bonobo component framework.")
1809 (license license:lgpl2.0+)))
1811 (define-public libwnck
1817 (uri (string-append "mirror://gnome/sources/" name "/"
1818 (version-major+minor version) "/"
1819 name "-" version ".tar.xz"))
1822 "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg"))))
1823 (build-system gnu-build-system)
1825 `(("pkg-config" ,pkg-config)
1826 ("intltool" ,intltool)))
1829 ("libxres" ,libxres)
1830 ("startup-notification" ,startup-notification)))
1831 (home-page "https://developer.gnome.org/libwnck/")
1832 (synopsis "Window Navigator Construction Kit")
1834 "Libwnck is the Window Navigator Construction Kit, a library for use in
1835 writing pagers, tasklists, and more generally applications that are dealing
1836 with window management. It tries hard to respect the Extended Window Manager
1837 Hints specification (EWMH).")
1838 (license license:lgpl2.0+)))
1840 ;; stable version for gtk2, required by xfwm4.
1841 (define-public libwnck-2
1842 (package (inherit libwnck)
1847 (uri (string-append "mirror://gnome/sources/" name "/"
1848 (version-major+minor version) "/"
1849 name "-" version ".tar.xz"))
1852 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1855 ("libxres" ,libxres)
1856 ("startup-notification" ,startup-notification)))))
1858 (define-public goffice
1864 (uri (string-append "mirror://gnome/sources/" name "/"
1865 (version-major+minor version) "/"
1866 name "-" version ".tar.xz"))
1868 (base32 "1mma1gp179dh7kvwzd7q3mwg0719hhbm9f5sqw28flv5lv05zrng"))))
1869 (build-system gnu-build-system)
1871 "doc")) ;4.1 MiB of gtk-doc
1873 '(#:configure-flags (list (string-append "--with-html-dir="
1874 (assoc-ref %outputs "doc")
1875 "/share/gtk-doc/html"))))
1879 ("librsvg" ,librsvg)
1880 ("libxslt" ,libxslt)
1881 ("libxml2" ,libxml2)))
1883 `(("intltool" ,intltool)
1884 ("glib" ,glib "bin")
1885 ("pkg-config" ,pkg-config)))
1886 (home-page "https://developer.gnome.org/goffice/")
1887 (synopsis "Document-centric objects and utilities")
1888 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1890 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1892 (list license:gpl2 license:gpl3))))
1894 (define-public goffice-0.8
1895 (package (inherit goffice)
1899 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
1900 (version-major+minor version) "/"
1901 (package-name goffice) "-" version ".tar.xz"))
1903 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
1906 (modify-phases %standard-phases
1907 (add-after 'unpack 'fix-pcre-check
1909 ;; Only glib.h can be included directly. See
1910 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
1911 (substitute* "configure"
1912 (("glib/gregex\\.h") "glib.h")) #t)))
1914 ,@(package-arguments goffice)))
1916 ;; libgoffice-0.8.pc mentions libgsf-1
1917 `(("libgsf" ,libgsf)))
1920 ,@(alist-delete "gtk" (package-inputs goffice))))))
1922 (define-public gnumeric
1928 (uri (string-append "mirror://gnome/sources/" name "/"
1929 (version-major+minor version) "/"
1930 name "-" version ".tar.xz"))
1933 "0j28qpbz9a9p80x27kcwxl5n1hf36nn2fa7dxwrbhcdx4rgy5grw"))))
1934 (build-system glib-or-gtk-build-system)
1936 `(;; The gnumeric developers don't worry much about failing tests.
1937 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1940 (modify-phases %standard-phases
1942 'configure 'pre-conf
1943 (lambda* (#:key outputs #:allow-other-keys)
1944 ;; Make install tries to write into the directory of goffice
1945 ;; I am informed that this only affects the possibility to embed a
1946 ;; spreadsheet inside an Abiword document. So presumably when we
1947 ;; package Abiword we'll have to refer it to this directory.
1948 (substitute* "configure"
1949 (("^GOFFICE_PLUGINS_DIR=.*")
1950 (string-append "GOFFICE_PLUGINS_DIR="
1951 (assoc-ref outputs "out")
1952 "/goffice/plugins"))))))))
1956 ("goffice" ,goffice)
1958 ("librsvg" ,librsvg)
1959 ("libxml2" ,libxml2)
1960 ("libxslt" ,libxslt)
1961 ("python" ,python-2)
1962 ("python2-pygobject" ,python2-pygobject)
1966 ("docbook-xml" ,docbook-xml)
1967 ("intltool" ,intltool)
1968 ("itstool" ,itstool)
1969 ("glib:bin" ,glib "bin")
1970 ("pkg-config" ,pkg-config)))
1971 (home-page "http://www.gnumeric.org")
1972 (synopsis "Spreadsheet application")
1974 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1975 interoperable with other spreadsheet applications. It has a vast array of
1976 features beyond typical spreadsheet functionality, such as support for linear
1977 and non-linear solvers, statistical analysis, and telecommunication
1980 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1981 (list license:gpl2 license:gpl3))))
1983 (define-public gnome-themes-standard
1985 (name "gnome-themes-standard")
1990 (uri (string-append "mirror://gnome/sources/" name "/"
1991 (version-major+minor version) "/" name "-"
1995 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
1996 (build-system gnu-build-system)
1999 ;; Don't create 'icon-theme.cache'.
2000 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2001 (true (string-append coreutils "/bin/true")))
2002 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2006 ("librsvg" ,librsvg)
2007 ("libxml2" ,libxml2)
2010 `(("intltool" ,intltool)
2011 ("glib:bin" ,glib "bin")
2012 ("pkg-config" ,pkg-config)))
2013 (home-page "https://launchpad.net/gnome-themes-standard")
2014 (synopsis "Default GNOME 3 themes")
2016 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2017 (license license:lgpl2.1+)))
2019 (define-public seahorse
2026 (uri (string-append "mirror://gnome/sources/" name "/"
2027 (version-major+minor version) "/" name "-"
2031 "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72"))))
2032 (build-system glib-or-gtk-build-system)
2038 ("openldap" ,openldap)
2039 ("openssh" ,openssh)
2040 ("libsecret" ,libsecret)
2041 ("libsoup" ,libsoup)))
2043 `(("intltool" ,intltool)
2044 ("glib:bin" ,glib "bin")
2045 ("itstool" ,itstool)
2046 ("pkg-config" ,pkg-config)
2047 ("xmllint" ,libxml2)))
2048 (home-page "https://launchpad.net/gnome-themes-standard")
2049 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2051 "Seahorse is a GNOME application for managing encryption keys and
2052 passwords in the GNOME keyring.")
2053 (license license:gpl2+)))
2061 (uri (string-append "mirror://gnome/sources/" name "/"
2062 (version-major+minor version) "/"
2063 name "-" version ".tar.xz"))
2066 "0yvaijkpahzz26sa37cyzbj75a9vbcbgvxbqzzb7hbcvfy009zy7"))))
2067 (build-system gnu-build-system)
2070 (modify-phases %standard-phases
2071 (add-before 'check 'pre-check
2074 (substitute* "valadoc/tests/testrunner.sh"
2075 (("export PKG_CONFIG_PATH=" m)
2076 (string-append m "$PKG_CONFIG_PATH:")))
2077 ;; For missing '/etc/machine-id'.
2078 (setenv "DBUS_FATAL_WARNINGS" "0")
2081 `(("pkg-config" ,pkg-config)
2084 ("xsltproc" ,libxslt)
2087 ("dbus" ,dbus) ; for dbus tests
2088 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
2090 `(("graphviz" ,graphviz)))
2092 `(("glib" ,glib))) ; required by libvala-0.40.pc
2093 (home-page "https://live.gnome.org/Vala/")
2094 (synopsis "Compiler for the GObject type system")
2096 "Vala is a programming language that aims to bring modern programming
2097 language features to GNOME developers without imposing any additional runtime
2098 requirements and without using a different ABI compared to applications and
2099 libraries written in C.")
2100 (license license:lgpl2.1+)))
2108 (uri (string-append "mirror://gnome/sources/" name "/"
2109 (version-major+minor version) "/"
2110 name "-" version ".tar.xz"))
2113 "1br6kg0wzf1wmww1hadihhcpqbamalqmbppfdzjvzk1ayp75f9hg"))))
2114 (build-system gnu-build-system)
2116 `(("pkg-config" ,pkg-config)
2117 ("intltool" ,intltool)
2119 ("gobject-introspection" ,gobject-introspection)
2120 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2122 ("xmllint" ,libxml2)))
2124 `(("gtk+" ,gtk+) ;required by vte-2.91.pc
2125 ("gnutls" ,gnutls) ;ditto
2126 ("pcre2" ,pcre2))) ;ditto
2127 (home-page "https://www.gnome.org/")
2128 (synopsis "Virtual Terminal Emulator")
2130 "VTE is a library (libvte) implementing a terminal emulator widget for
2131 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2132 gnome-terminal, but can also be used to embed a console/terminal in games,
2133 editors, IDEs, etc.")
2134 (license license:lgpl2.1+)))
2136 (define-public vte-ng
2140 (version "0.54.2.a")
2141 (home-page "https://github.com/thestinger/vte-ng")
2144 (uri (git-reference (url home-page) (commit version)))
2145 (file-name (git-file-name name version))
2148 "1r7d9m07cpdr4f7rw3yx33hmp4jmsk0dn5byq5wgksb2qjbc4ags"))))
2150 `(("gtk-doc" ,gtk-doc)
2152 ("autoconf" ,autoconf)
2153 ("automake" ,automake)
2154 ("libtool" ,libtool)
2155 ,@(package-native-inputs vte)))
2157 `(#:phases (modify-phases %standard-phases
2160 (setenv "NOCONFIGURE" "true")
2161 (invoke "sh" "autogen.sh"))))))
2162 (synopsis "Enhanced VTE terminal widget")
2164 "VTE is a library (libvte) implementing a terminal emulator widget for
2165 GTK+, this fork provides additional functions exposed for keyboard text
2166 selection and URL hints.")))
2168 ;; provides vte 2.90, required for some terminal emulators
2169 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2170 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2171 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2172 ;; pantheon-terminal, roxterm are not currently packaged
2173 (define-public vte-0.36
2174 (package (inherit vte)
2179 (uri (string-append "mirror://gnome/sources/" name "/"
2180 (version-major+minor version) "/"
2181 name "-" version ".tar.xz"))
2184 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2187 ("ncurses" ,ncurses)))))
2189 ;; stable version for gtk2, required by xfce4-terminal.
2190 (define-public vte/gtk+-2
2191 (package (inherit vte)
2196 (uri (string-append "mirror://gnome/sources/" name "/"
2197 (version-major+minor version) "/"
2198 name "-" version ".tar.xz"))
2201 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2202 (patches (search-patches
2203 "vte-CVE-2012-2738-pt1.patch"
2204 "vte-CVE-2012-2738-pt2.patch"))))
2206 '(#:configure-flags '("--disable-python")))
2208 `(("pkg-config" ,pkg-config)
2209 ("intltool" ,intltool)
2210 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2212 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2213 ("ncurses" ,ncurses))))) ; required by libvte.la
2215 (define-public vinagre
2221 (uri (string-append "mirror://gnome/sources/" name "/"
2222 (version-major+minor version) "/"
2223 name "-" version ".tar.xz"))
2224 (patches (search-patches "vinagre-newer-freerdp.patch"
2225 "vinagre-newer-rdp-parameters.patch"))
2228 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2229 (build-system glib-or-gtk-build-system)
2232 (modify-phases %standard-phases
2233 (add-after 'unpack 'patch-configure
2235 (substitute* "configure"
2236 (("freerdp") "freerdp2"))
2239 `(("pkg-config" ,pkg-config)
2240 ("intltool" ,intltool)
2241 ("itstool" ,itstool)
2242 ("glib-bin" ,glib "bin") ;for glib-compile-schemas
2243 ("gtk+-bin" ,gtk+ "bin"))) ;for gtk-update-icon-cache
2245 `(("libxml2" ,libxml2)
2246 ("gtk-vnc" ,gtk-vnc)
2247 ("gnome-keyring" ,gnome-keyring)
2248 ("libsecret" ,libsecret)
2249 ("freerdp" ,freerdp)
2251 ("spice-gtk" ,spice-gtk)
2252 ("telepathy-glib" ,telepathy-glib)
2254 (home-page "https://wiki.gnome.org/Apps/Vinagre")
2255 (synopsis "Remote desktop viewer for GNOME")
2256 (description "Vinagre is a remote display client supporting the VNC, SPICE
2257 and RDP protocols.")
2258 (license license:gpl3+)))
2260 (define-public dconf
2267 "mirror://gnome/sources/" name "/"
2268 (version-major+minor version) "/"
2269 name "-" version ".tar.xz"))
2272 "0hn7v6769xabqz7kvyb2hfm19h46z1whkair7ff752zmbs3b7lv1"))))
2273 (build-system meson-build-system)
2275 ;; In Requires of dconf.pc.
2281 `(("libxslt" ,libxslt) ;for xsltproc
2282 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
2283 ("docbook-xml" ,docbook-xml-4.2)
2284 ("docbook-xsl" ,docbook-xsl)
2285 ("glib:bin" ,glib "bin")
2286 ("gtk-doc" ,gtk-doc)
2287 ("pkg-config" ,pkg-config)
2290 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
2291 ; or /etc/machine-id.
2293 #:configure-flags '("-Denable-gtk-doc=true")))
2294 (home-page "https://developer.gnome.org/dconf")
2295 (synopsis "Low-level GNOME configuration system")
2296 (description "Dconf is a low-level configuration system. Its main purpose
2297 is to provide a backend to GSettings on platforms that don't already have
2298 configuration storage systems.")
2299 (license license:lgpl2.1+)))
2301 (define-public json-glib
2307 (uri (string-append "mirror://gnome/sources/" name "/"
2308 (version-major+minor version) "/"
2309 name "-" version ".tar.xz"))
2310 (patches (search-patches "json-glib-fix-tests-32bit.patch"))
2313 "1j3dd2xj1l9fi12m1gpmfgf5p4c1w0i970m6k62k3is98yj0jxrd"))))
2314 (build-system meson-build-system)
2316 `(("gettext" ,gettext-minimal)
2317 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
2318 ("gobject-introspection" ,gobject-introspection)
2319 ("pkg-config" ,pkg-config)))
2321 `(("glib" ,glib))) ;according to json-glib-1.0.pc
2322 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
2323 (synopsis "Compiler for the GObject type system")
2325 "JSON-GLib is a C library based on GLib providing serialization and
2326 deserialization support for the JavaScript Object Notation (JSON) format
2327 described by RFC 4627. It provides parser and generator GObject classes and
2328 various wrappers for the complex data types employed by JSON, such as arrays
2330 (license license:lgpl2.1+)))
2332 (define-public libxklavier
2334 (name "libxklavier")
2338 (uri (string-append "mirror://gnome/sources/" name "/"
2339 version "/" name "-" version ".tar.xz"))
2342 "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b"))))
2343 (build-system gnu-build-system)
2346 (list (string-append "--with-xkb-base="
2347 (assoc-ref %build-inputs "xkeyboard-config")
2348 "/share/X11/xkb"))))
2350 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
2351 ("gobject-introspection" ,gobject-introspection)
2352 ("pkg-config" ,pkg-config)))
2354 ;; Required by libxklavier.pc.
2356 ("libxml2" ,libxml2)))
2358 `(("iso-codes" ,iso-codes)
2360 ("libxkbfile" ,libxkbfile)
2361 ("xkbcomp" ,xkbcomp)
2362 ("xkeyboard-config" ,xkeyboard-config)))
2363 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
2364 (synopsis "High-level API for X Keyboard Extension")
2366 "LibXklavier is a library providing high-level API for X Keyboard
2367 Extension known as XKB. This library is intended to support XFree86 and other
2368 commercial X servers. It is useful for creating XKB-related software (layout
2370 (license license:lgpl2.0+)))
2372 (define-public python2-rsvg
2373 ;; XXX: This is actually a subset of gnome-python-desktop.
2375 (name "python2-rsvg")
2381 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
2382 version ".tar.bz2"))
2385 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
2386 (build-system gnu-build-system)
2388 `(("pkg-config" ,pkg-config)))
2390 `(("python" ,python-2)
2391 ("python2-pygtk" ,python2-pygtk)
2392 ("librsvg" ,librsvg)))
2393 (home-page "https://www.gnome.org")
2394 (synopsis "Python bindings to librsvg")
2396 "This packages provides Python bindings to librsvg, the SVG rendering
2399 ;; This is the license of the rsvg bindings. The license of each module
2400 ;; of gnome-python-desktop is given in 'COPYING'.
2401 (license license:lgpl2.1+)))
2403 (define-public glib-networking
2405 (name "glib-networking")
2409 (uri (string-append "mirror://gnome/sources/glib-networking/"
2410 (version-major+minor version) "/"
2411 name "-" version ".tar.xz"))
2414 "0bq16m9nh3gcz9x2fvygr0iwxd2pxcbrm3lj3kihsnh1afv8g9za"))
2416 (search-patches "glib-networking-ssl-cert-file.patch"))))
2417 (build-system gnu-build-system)
2420 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
2422 (modify-phases %standard-phases
2423 (add-before 'configure 'patch-giomoduledir
2424 ;; Install GIO modules into $out/lib/gio/modules.
2426 (substitute* "configure"
2427 (("GIO_MODULE_DIR=.*")
2428 (string-append "GIO_MODULE_DIR=" %output
2429 "/lib/gio/modules\n")))
2431 (add-before 'check 'use-empty-ssl-cert-file
2433 ;; The ca-certificates.crt is not available in the build
2435 (setenv "SSL_CERT_FILE" "/dev/null")
2438 `(("pkg-config" ,pkg-config)
2439 ("intltool" ,intltool)))
2443 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2444 ("p11-kit" ,p11-kit)))
2445 (home-page "https://www.gnome.org")
2446 (synopsis "Network-related GIO modules")
2448 "This package contains various network related extensions for the GIO
2450 (license license:lgpl2.0+)))
2458 (uri (string-append "mirror://gnome/sources/rest/"
2459 (version-major+minor version) "/"
2460 name "-" version ".tar.xz"))
2463 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
2464 (build-system gnu-build-system)
2466 '(#:tests? #f ; tests require internet connection
2468 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
2470 `(("glib-mkenums" ,glib "bin")
2471 ("gobject-introspection" ,gobject-introspection)
2472 ("pkg-config" ,pkg-config)))
2474 ;; rest-0.7.pc refers to all these.
2476 ("libsoup" ,libsoup)
2477 ("libxml2" ,libxml2)))
2478 (home-page "https://www.gtk.org/")
2479 (synopsis "RESTful web api query library")
2481 "This library was designed to make it easier to access web services that
2482 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
2483 libxml to ease remote use of the RESTful API.")
2484 (license license:lgpl2.1+)))
2486 (define-public libsoup
2492 (uri (string-append "mirror://gnome/sources/libsoup/"
2493 (version-major+minor version) "/"
2494 name "-" version ".tar.xz"))
2497 "1il6lyrmfi0hfh3ysw8w1qzc1rdz0igkb7dv6d8g5mmilnac3pbm"))))
2498 (build-system gnu-build-system)
2499 (outputs '("out" "doc"))
2501 `(#:modules ((guix build utils)
2502 (guix build gnu-build-system)
2506 (list (string-append "--with-html-dir="
2507 (assoc-ref %outputs "doc")
2508 "/share/gtk-doc/html")
2509 (string-append "--with-apache-module-dir="
2510 (assoc-ref %build-inputs "httpd")
2513 (modify-phases %standard-phases
2514 (add-before 'configure 'disable-unconnected-socket-test
2515 ;; This test fails due to missing /etc/nsswitch.conf
2516 ;; in the build environment.
2518 (substitute* "tests/socket-test.c"
2519 ((".*/sockets/unconnected.*") ""))
2521 (add-before 'check 'pre-check
2523 ;; The 'check-local' target runs 'env LANG=C sort -u',
2524 ;; unset 'LC_ALL' to make 'LANG' working.
2526 ;; The ca-certificates.crt is not available in the build
2528 (setenv "SSL_CERT_FILE" "/dev/null")
2529 ;; HTTPD in Guix uses mod_event and does not build prefork.
2530 (substitute* "tests/httpd.conf"
2531 (("^LoadModule mpm_prefork_module.*$") "\n"))
2533 ;; Generate a self-signed certificate that has "localhost" as its
2534 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
2535 ;; 3.5.12, tests such as "ssl-tests" fail:
2537 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
2539 ;; 'certtool' is interactive so we have to pipe it the answers.
2540 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
2541 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
2542 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
2543 (for-each (lambda (line)
2548 "Guix" ;Organizational unit name
2549 "GNU" ;Organization name
2551 "" ;State or province
2553 "" ;subject's domain component (DC)
2556 "-1" ;expiration time
2557 "N" ;belong to authority?
2558 "N" ;web client certificate?
2560 "Y" ;web server certificate?
2561 "localhost" ;dnsName of subject
2562 "" ;dnsName of subject (end)
2564 "127.0.0.1" ;IP address of subject
2567 "" ;sign OCSP requests?
2570 "" ;email protection?
2571 "" ;URI of the CRL distribution point
2579 ;; Install vala bindings into $out.
2580 (string-append "vapidir=" %output
2584 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2585 ("gobject-introspection" ,gobject-introspection)
2586 ("intltool" ,intltool)
2587 ("pkg-config" ,pkg-config)
2588 ("python" ,python-wrapper)
2590 ;; These are needed for the tests.
2591 ;; FIXME: Add PHP once available.
2593 ("gnutls" ,gnutls) ;for 'certtool'
2596 ;; libsoup-2.4.pc refers to all these.
2598 ("libxml2" ,libxml2)))
2600 `(("glib-networking" ,glib-networking)
2602 ("sqlite" ,sqlite)))
2603 (home-page "https://live.gnome.org/LibSoup/")
2604 (synopsis "GLib-based HTTP Library")
2606 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
2607 and the GLib main loop, to integrate well with GNOME applications.")
2608 (license license:lgpl2.0+)))
2610 (define-public libsecret
2617 "mirror://gnome/sources/libsecret/"
2618 (version-major+minor version) "/"
2619 name "-" version ".tar.xz"))
2622 "0vynag97a9bnnb8ipah45av8xg8jzmhd572rw3zj78s1pa8ciysy"))))
2623 (build-system gnu-build-system)
2624 (outputs '("out" "doc"))
2626 `(#:tests? #f ; FIXME: Testing hangs.
2628 (list (string-append "--with-html-dir="
2629 (assoc-ref %outputs "doc")
2630 "/share/gtk-doc/html"))))
2632 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
2633 ("gobject-introspection" ,gobject-introspection)
2634 ("intltool" ,intltool)
2635 ("pkg-config" ,pkg-config)
2637 ("xsltproc" ,libxslt)))
2638 ;; These are needed for the tests.
2639 ;; FIXME: Add gjs once available.
2641 ;("python2" ,python-2)
2642 ;("python2-dbus" ,python2-dbus)
2643 ;("python2-pygobject" ,python2-pygobject)
2644 ;("python2-pygobject-2" ,python2-pygobject-2)))
2646 `(("glib" ,glib))) ; required by libsecret-1.pc
2648 `(("docbook-xsl" ,docbook-xsl)
2649 ("libgcrypt" ,libgcrypt)
2650 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
2651 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
2652 (synopsis "GObject bindings for \"Secret Service\" API")
2654 "Libsecret is a GObject based library for storing and retrieving passwords
2655 and other secrets. It communicates with the \"Secret Service\" using DBus.")
2656 (license license:lgpl2.1+)))
2658 (define-public five-or-more
2660 (name "five-or-more")
2665 (uri (string-append "mirror://gnome/sources/" name "/"
2666 (version-major+minor version) "/"
2667 name "-" version ".tar.xz"))
2670 "0wkp08xsqr9p9cgdfghi424diajs016b2h4bsfcr5y9xc3rgf93w"))))
2671 (build-system glib-or-gtk-build-system)
2673 `(("pkg-config" ,pkg-config)
2674 ("desktop-file-utils" ,desktop-file-utils)
2675 ("intltool" ,intltool)
2676 ("itstool" ,itstool)
2677 ("xmllint" ,libxml2)))
2680 ("librsvg" ,librsvg)))
2681 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
2682 (synopsis "Logic puzzle game")
2683 (description "Five or More is a game where you try to align
2684 five or more objects of the same color and shape causing them to disappear.
2685 On every turn more objects will appear, until the board is full.
2686 Try to last as long as possible.")
2687 (license license:gpl2+)))
2689 (define-public gnome-mines
2691 (name "gnome-mines")
2696 (uri (string-append "mirror://gnome/sources/" name "/"
2697 (version-major+minor version) "/"
2698 name "-" version ".tar.xz"))
2701 "1sfxdvns8nppdagnhpd9vd7n77sk5rdji3kdqnc78c2p1npiw11b"))))
2702 (build-system glib-or-gtk-build-system)
2705 (modify-phases %standard-phases
2706 (add-before 'configure 'patch-/bin/true
2708 (substitute* "configure"
2709 (("/bin/true") (which "true"))))))))
2711 `(("pkg-config" ,pkg-config)
2712 ("desktop-file-utils" ,desktop-file-utils)
2713 ("intltool" ,intltool)
2714 ("itstool" ,itstool)
2715 ("xmllint" ,libxml2)))
2718 ("libgnome-games-support" ,libgnome-games-support)
2719 ("librsvg" ,librsvg)))
2720 (home-page "https://wiki.gnome.org/Apps/Mines")
2721 (synopsis "Minesweeper game")
2723 "Mines (previously gnomine) is a puzzle game where you locate mines
2724 floating in an ocean using only your brain and a little bit of luck.")
2725 (license license:gpl2+)))
2727 (define-public gnome-sudoku
2729 (name "gnome-sudoku")
2734 (uri (string-append "mirror://gnome/sources/" name "/"
2735 (version-major+minor version) "/"
2736 name "-" version ".tar.xz"))
2739 "07b4lzniaf3gjsss6zl1lslv18smwc4nrijykvn2z90f423q2xav"))))
2740 (build-system glib-or-gtk-build-system)
2742 `(("pkg-config" ,pkg-config)
2743 ("desktop-file-utils" ,desktop-file-utils)
2744 ("intltool" ,intltool)
2745 ("itstool" ,itstool)
2746 ("xmllint" ,libxml2)))
2749 ("json-glib" ,json-glib)
2751 ("librsvg" ,librsvg)
2752 ("qqwing" ,qqwing)))
2753 (home-page "https://wiki.gnome.org/Apps/Sudoku")
2754 (synopsis "Japanese logic game")
2756 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
2757 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
2758 possible while still providing features that make playing difficult Sudoku
2760 (license license:gpl2+)))
2762 (define-public gnome-terminal
2764 (name "gnome-terminal")
2769 (uri (string-append "mirror://gnome/sources/" name "/"
2770 (version-major+minor version) "/"
2771 name "-" version ".tar.xz"))
2774 "0ybjansg6lr279191w8z8r45gy4rxwzw1ajm98cgkv0fk2jdr0x2"))))
2775 (build-system glib-or-gtk-build-system)
2778 (list "--disable-migration" "--disable-search-provider"
2779 "--without-nautilus-extension")
2781 (modify-phases %standard-phases
2782 (add-before 'configure 'patch-/bin/true
2784 (substitute* "configure"
2785 (("/bin/true") (which "true"))))))))
2787 `(("pkg-config" ,pkg-config)
2788 ("desktop-file-utils" ,desktop-file-utils)
2789 ("intltool" ,intltool)
2790 ("itstool" ,itstool)
2791 ("xmllint" ,libxml2)))
2793 `(("dconf" ,dconf)))
2798 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2799 ("util-linux" ,util-linux)
2801 (home-page "https://wiki.gnome.org/Apps/Terminal")
2802 (synopsis "Terminal emulator")
2804 "GNOME Terminal is a terminal emulator application for accessing a
2805 UNIX shell environment which can be used to run programs available on
2808 It supports several profiles, multiple tabs and implements several
2809 keyboard shortcuts.")
2810 (license license:gpl3+)))
2812 (define-public colord
2819 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
2820 name "-" version ".tar.xz"))
2823 "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph"))))
2824 (build-system glib-or-gtk-build-system)
2826 '(;; The tests want to run valgrind. Punt for now.
2828 #:configure-flags (list "--localstatedir=/var"
2829 ;; GUSB not packaged yet.
2831 ;; No dep on systemd.
2832 "--disable-systemd-login"
2833 ;; Wants to install to global completion dir;
2835 "--disable-bash-completion"
2836 ;; colord-gtk not packaged yet.
2837 "--disable-session-example"
2838 "--with-daemon-user=colord"
2840 (string-append "--with-udevrulesdir="
2841 (assoc-ref %outputs "out")
2842 "/lib/udev/rules.d"))
2844 (modify-phases %standard-phases
2845 (add-before 'configure 'patch-/bin/true
2847 (substitute* "configure"
2848 (("/bin/true") (which "true")))
2849 (substitute* "src/Makefile.in"
2850 (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;")
2851 "if test -w $(DESTDIR)$(localstatedir);")))))))
2853 `(("pkg-config" ,pkg-config)
2854 ("gobject-introspection" ,gobject-introspection)
2855 ("libtool" ,libtool)
2856 ("intltool" ,intltool)))
2858 ;; colord.pc refers to all these.
2863 `(("dbus-glib" ,dbus-glib)
2864 ("libgudev" ,libgudev)
2868 ("sane-backends" ,sane-backends)))
2869 (home-page "https://www.freedesktop.org/software/colord/")
2870 (synopsis "Color management service")
2871 (description "Colord is a system service that makes it easy to manage,
2872 install and generate color profiles to accurately color manage input and
2874 (license license:gpl2+)))
2876 (define-public geoclue
2883 (uri (string-append "https://www.freedesktop.org/software/" name
2884 "/releases/" (version-major+minor version) "/"
2885 name "-" version ".tar.xz"))
2888 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
2889 (patches (search-patches "geoclue-config.patch"))))
2890 (build-system glib-or-gtk-build-system)
2892 '(;; The tests want to run the system bus.
2894 #:configure-flags (list ;; Disable bits requiring ModemManager.
2895 "--disable-3g-source"
2896 "--disable-cdma-source"
2897 "--disable-modem-gps-source"
2898 "--with-dbus-service-user=geoclue")
2900 (modify-phases %standard-phases
2901 (add-before 'configure 'patch-/bin/true
2903 (substitute* "configure"
2904 (("/bin/true") (which "true")))
2907 `(("pkg-config" ,pkg-config)
2908 ("gobject-introspection" ,gobject-introspection)
2909 ("intltool" ,intltool)))
2913 ("json-glib" ,json-glib)
2914 ("libsoup" ,libsoup)))
2915 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
2916 (synopsis "Geolocation service")
2917 (description "Geoclue is a D-Bus service that provides location
2918 information. The primary goal of the Geoclue project is to make creating
2919 location-aware applications as simple as possible, while the secondary goal is
2920 to ensure that no application can access location information without explicit
2921 permission from user.")
2922 (license license:gpl2+)))
2924 (define-public geocode-glib
2926 (name "geocode-glib")
2930 (uri (string-append "mirror://gnome/sources/geocode-glib/"
2931 (version-major+minor version) "/"
2932 name "-" version ".tar.xz"))
2935 "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6"))))
2936 (build-system gnu-build-system)
2938 `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
2939 ;; work for the builder. Punt.
2942 `(("glib:bin" ,glib "bin") ; for glib-mkenums
2943 ("gobject-introspection" ,gobject-introspection)
2944 ("pkg-config" ,pkg-config)
2945 ("json-glib" ,json-glib)))
2947 ;; geocode-glib-1.0.pc refers to GIO.
2950 `(("libsoup" ,libsoup)))
2951 (home-page "https://github.com/GNOME/geocode-glib/")
2952 (synopsis "Geocoding and reverse-geocoding library")
2954 "geocode-glib is a convenience library for geocoding (finding longitude,
2955 and latitude from an address) and reverse geocoding (finding an address from
2956 coordinates) using the Nominatim service. geocode-glib caches requests for
2957 faster results and to avoid unnecessary server load.")
2958 (license license:lgpl2.0+)))
2960 (define-public upower
2966 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
2967 "uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/"
2968 "upower-" version ".tar.xz"))
2971 "00lzr0vyxz5lvmgya48gdb2cdgmfdim4b34jlfdyqakk1i9sl8xv"))
2972 (patches (search-patches "upower-builddir.patch"))))
2973 (build-system glib-or-gtk-build-system)
2975 '( ;; The tests want to contact the system bus, which can't be done in the
2976 ;; build environment. The integration test can run, but the last of
2977 ;; the up-self-tests doesn't. Disable tests for now.
2979 #:configure-flags (list "--localstatedir=/var"
2980 (string-append "--with-udevrulesdir="
2981 (assoc-ref %outputs "out")
2982 "/lib/udev/rules.d"))))
2984 `(("gobject-introspection" ,gobject-introspection)
2985 ("pkg-config" ,pkg-config)
2986 ("intltool" ,intltool)
2990 ("libxslt" ,libxslt) ;for 'xsltproc'
2991 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
2992 ("docbook-xsl" ,docbook-xsl)))
2994 `(("dbus-glib" ,dbus-glib)
2995 ("libgudev" ,libgudev)
2996 ("libusb" ,libusb)))
2998 ;; In Requires of upower-glib.pc.
3000 (home-page "https://upower.freedesktop.org/")
3001 (synopsis "System daemon for managing power devices")
3003 "UPower is an abstraction for enumerating power devices,
3004 listening to device events and querying history and statistics. Any
3005 application or service on the system can access the org.freedesktop.UPower
3006 service via the system message bus.")
3007 (license license:gpl2+)))
3009 (define-public libgweather
3011 (name "libgweather")
3015 (uri (string-append "mirror://gnome/sources/" name "/"
3016 (version-major+minor version) "/"
3017 name "-" version ".tar.xz"))
3020 "1f64ix7acj0j0qvxwxaazii2bhsjgh5ang1kw14fkg25ndq899zw"))))
3021 (build-system gnu-build-system)
3024 `(,(string-append "--with-zoneinfo-dir="
3025 (assoc-ref %build-inputs "tzdata")
3028 (modify-phases %standard-phases
3029 (add-before 'check 'pre-check
3030 (lambda* (#:key inputs #:allow-other-keys)
3031 (substitute* "data/check-timezones.sh"
3032 (("/usr/share/zoneinfo/zone.tab")
3033 (string-append (assoc-ref inputs "tzdata")
3034 "/share/zoneinfo/zone.tab")))
3040 ;; Install vala bindings into $out.
3041 (string-append "vapidir=" %output
3045 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3046 ("gobject-introspection" ,gobject-introspection)
3047 ("pkg-config" ,pkg-config)
3049 ("intltool" ,intltool)))
3051 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3054 ("gdk-pixbuf" ,gdk-pixbuf)
3055 ("libxml2" ,libxml2)
3056 ("libsoup" ,libsoup)))
3058 `(("tzdata" ,tzdata)
3059 ("geocode-glib" ,geocode-glib)))
3060 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3061 (synopsis "Location, time zone, and weather library for GNOME")
3063 "libgweather is a library to access weather information from online
3064 services for numerous locations.")
3065 (license license:gpl2+)))
3067 (define-public gnome-settings-daemon
3069 (name "gnome-settings-daemon")
3074 (uri (string-append "mirror://gnome/sources/" name "/"
3075 (version-major+minor version) "/"
3076 name "-" version ".tar.xz"))
3079 "14w5jhpq02mbcxvn41qcj3cjfqdr3sgzl96c6glwpdrjphw61i38"))))
3080 (build-system glib-or-gtk-build-system)
3082 `(;; Color management test can't reach the colord system service.
3085 `(("pkg-config" ,pkg-config)
3086 ("intltool" ,intltool)
3087 ("xsltproc" ,libxslt)
3088 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3089 ("docbook-xml" ,docbook-xml-4.2)
3090 ("docbook-xsl" ,docbook-xsl)))
3092 `(("colord" ,colord)
3093 ("libgudev" ,libgudev)
3096 ("pulseaudio" ,pulseaudio)
3097 ("libcanberra" ,libcanberra)
3099 ("libxtst" ,libxtst)
3101 ("libnotify" ,libnotify)
3102 ("geoclue" ,geoclue)
3103 ("geocode-glib" ,geocode-glib)
3104 ("libgweather" ,libgweather)
3105 ("gnome-desktop" ,gnome-desktop)
3108 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3109 ("libwacom" ,libwacom)
3110 ("librsvg" ,librsvg)
3111 ("xf86-input-wacom" ,xf86-input-wacom)
3112 ("network-manager" ,network-manager)))
3113 (home-page "https://www.gnome.org")
3114 (synopsis "GNOME settings daemon")
3116 "This package contains the daemon responsible for setting the various
3117 parameters of a GNOME session and the applications that run under it. It
3118 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3119 settings, themes, mouse settings, and startup of other daemons.")
3120 (license license:gpl2+)))
3122 (define-public totem-pl-parser
3124 (name "totem-pl-parser")
3128 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3129 (version-major+minor version) "/"
3130 "totem-pl-parser-" version ".tar.xz"))
3133 "0ayxg0gfs5h5jhr811ja5hxlhryklzp6jlal2ach9wym2c3hmigz"))))
3134 (build-system gnu-build-system)
3136 ;; FIXME: Tests require gvfs.
3139 `(("intltool" ,intltool)
3140 ("glib" ,glib "bin")
3141 ("gobject-introspection" ,gobject-introspection)
3142 ("pkg-config" ,pkg-config)))
3146 ("libxml2" ,libxml2)))
3148 `(("libarchive" ,libarchive)
3149 ("libgcrypt" ,libgcrypt)
3151 ("libsoup" ,libsoup)))
3152 (home-page "https://projects.gnome.org/totem")
3153 (synopsis "Library to parse and save media playlists for GNOME")
3154 (description "Totem-pl-parser is a GObjects-based library to parse and save
3155 playlists in a variety of formats.")
3156 (license license:lgpl2.0+)))
3158 (define-public aisleriot
3164 (uri (string-append "mirror://gnome/sources/" name "/"
3165 (version-major+minor version) "/"
3166 name "-" version ".tar.xz"))
3169 "0rl39psr5xi584310pyrgw36ini4wn7yr2m1q5118w3a3v1dkhzh"))))
3170 (build-system glib-or-gtk-build-system)
3173 '("--with-platform=gtk-only"
3174 "--with-card-theme-formats=svg")))
3176 `(("desktop-file-utils" ,desktop-file-utils)
3177 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3178 ("intltool" ,intltool)
3179 ("itstool" ,itstool)
3180 ("pkg-config" ,pkg-config)
3181 ("xmllint" ,libxml2)))
3184 ("guile" ,guile-2.2)
3185 ("libcanberra" ,libcanberra)
3186 ("librsvg" ,librsvg)))
3187 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3188 (synopsis "Solitaire card games")
3190 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3191 which are easy to play with the aid of a mouse.")
3192 (license license:gpl3+)))
3194 (define-public devhelp
3200 (uri (string-append "mirror://gnome/sources/" name "/"
3201 (version-major+minor version) "/"
3202 name "-" version ".tar.xz"))
3205 "0f4fmkqzn95zmc2paljma33fkj74qj1m6n23qrc5hfwmgx7p3wkb"))))
3206 (build-system glib-or-gtk-build-system)
3208 `(("intltool" ,intltool)
3209 ("pkg-config" ,pkg-config)))
3211 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3212 ("webkitgtk" ,webkitgtk)))
3213 (home-page "https://wiki.gnome.org/Apps/Devhelp")
3214 (synopsis "API documentation browser for GNOME")
3216 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
3217 natively with GTK-Doc (the API reference system developed for GTK+ and used
3218 throughout GNOME for API documentation).")
3219 (license license:gpl2+)))
3228 (uri (string-append "mirror://gnome/sources/" name "/"
3229 (version-major+minor version) "/"
3230 name "-" version ".tar.xz"))
3233 "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr"))))
3234 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
3235 ;; cogl, corresponding changes may be appropriate in mutter as well.
3236 (build-system gnu-build-system)
3238 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3239 ("gobject-introspection" ,gobject-introspection)
3240 ;;("xorg-server" ,xorg-server) ; for the test suite
3241 ("pkg-config" ,pkg-config)))
3244 ("gdk-pixbuf" ,gdk-pixbuf)
3246 ("libxext" ,libxext)
3247 ("libxfixes" ,libxfixes)
3248 ("libxdamage" ,libxdamage)
3249 ("libxcomposite" ,libxcomposite)
3250 ("libxrandr" ,libxrandr)))
3255 ("gstreamer" ,gstreamer)
3256 ("gst-plugins-base" ,gst-plugins-base)
3257 ("wayland" ,wayland)))
3259 `(#:configure-flags (list "--enable-cogl-gst"
3260 "--enable-wayland-egl-platform"
3261 "--enable-wayland-egl-server"
3263 ;; Arrange to pass an absolute file name to
3264 ;; dlopen for libGL.so.
3265 (string-append "--with-gl-libname="
3266 (assoc-ref %build-inputs "mesa")
3268 ;; XXX FIXME: All tests fail, with many warnings printed like this:
3269 ;; _FontTransOpen: Unable to Parse address
3270 ;; ${prefix}/share/fonts/X11/misc/
3274 (modify-phases %standard-phases
3275 (add-before 'check 'start-xorg-server
3276 (lambda* (#:key inputs #:allow-other-keys)
3277 ;; The test suite requires a running X server.
3278 (system (format #f "~a/bin/Xvfb :1 &"
3279 (assoc-ref inputs "xorg-server")))
3280 (setenv "DISPLAY" ":1")
3282 (home-page "http://www.cogl3d.org")
3283 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
3285 "Cogl is a small library for using 3D graphics hardware to draw pretty
3286 pictures. The API departs from the flat state machine style of OpenGL and is
3287 designed to make it easy to write orthogonal components that can render
3288 without stepping on each others toes.")
3289 (license (list license:expat ; most of the code
3290 license:bsd-3 ; cogl/cogl-point-in-poly.c
3291 license:sgifreeb2.0 ; cogl-path/tesselator/
3292 license:asl2.0)))) ; examples/android/
3294 (define-public clutter
3301 (uri (string-append "mirror://gnome/sources/" name "/"
3302 (version-major+minor version) "/"
3303 name "-" version ".tar.xz"))
3306 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
3307 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
3308 ;; to clutter, corresponding changes may be appropriate in mutter as well.
3309 (build-system gnu-build-system)
3311 "doc")) ;9 MiB of gtk-doc HTML pages
3313 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
3314 ("gobject-introspection" ,gobject-introspection)
3315 ("pkg-config" ,pkg-config)
3316 ("xsltproc" ,libxslt)))
3322 ("json-glib" ,json-glib)
3324 ("libxcomposite" ,libxcomposite)
3325 ("libxdamage" ,libxdamage)
3326 ("libxext" ,libxext)
3327 ("xinput" ,xinput)))
3329 `(("libxkbcommon" ,libxkbcommon)
3332 `(#:configure-flags (list "--enable-x11-backend=yes"
3334 ;; This produces share/doc/{clutter,cally}.
3335 (string-append "--with-html-dir="
3336 (assoc-ref %outputs "doc")
3338 ;; XXX FIXME: Get test suite working. It would probably fail in the
3339 ;; same way the cogl tests fail, since clutter is based on cogl.
3341 (home-page "http://www.clutter-project.org")
3342 (synopsis "Open GL based interactive canvas library")
3344 "Clutter is an Open GL based interactive canvas library, designed for
3345 creating fast, mainly 2D single window applications such as media box UIs,
3346 presentations, kiosk style applications and so on.")
3347 (license license:lgpl2.0+)))
3349 (define-public clutter-gtk
3351 (name "clutter-gtk")
3356 (uri (string-append "mirror://gnome/sources/" name "/"
3357 (version-major+minor version) "/"
3358 name "-" version ".tar.xz"))
3361 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
3362 (build-system gnu-build-system)
3364 `(("pkg-config" ,pkg-config)
3365 ("gobject-introspection" ,gobject-introspection)))
3367 ;; clutter-gtk.pc refers to all these.
3368 `(("clutter" ,clutter)
3370 (home-page "http://www.clutter-project.org")
3371 (synopsis "Open GL based interactive canvas library GTK+ widget")
3373 "Clutter is an Open GL based interactive canvas library, designed for
3374 creating fast, mainly 2D single window applications such as media box UIs,
3375 presentations, kiosk style applications and so on.")
3376 (license license:lgpl2.0+)))
3378 (define-public clutter-gst
3380 (name "clutter-gst")
3385 (uri (string-append "mirror://gnome/sources/" name "/"
3386 (version-major+minor version) "/"
3387 name "-" version ".tar.xz"))
3390 "0fnblqm4igdx4rn3681bp1gm1y2i00if3iblhlm0zv6ck9nqlqfq"))))
3391 (build-system gnu-build-system)
3393 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3394 ("pkg-config" ,pkg-config)
3395 ("gobject-introspection" ,gobject-introspection)))
3397 `(("clutter" ,clutter)
3398 ("gstreamer" ,gstreamer)
3399 ("gst-plugins-base" ,gst-plugins-base)))
3400 (home-page "http://www.clutter-project.org")
3401 (synopsis "Integration library for using GStreamer with Clutter")
3403 "Clutter-Gst is an integration library for using GStreamer with Clutter.
3404 It provides a GStreamer sink to upload frames to GL and an actor that
3405 implements the ClutterGstPlayer interface using playbin. Clutter is an Open
3406 GL based interactive canvas library.")
3407 (license license:lgpl2.0+)))
3409 (define-public libchamplain
3411 (name "libchamplain")
3416 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
3420 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
3421 (build-system gnu-build-system)
3422 (arguments '(#:configure-flags '("--enable-vala")))
3424 `(("gobject-introspection" ,gobject-introspection)
3425 ("pkg-config" ,pkg-config)
3428 `(("libsoup" ,libsoup)
3430 ("clutter" ,clutter)
3431 ("clutter-gtk" ,clutter-gtk)
3432 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
3436 (home-page "https://projects.gnome.org/libchamplain/")
3437 (synopsis "C library providing a ClutterActor to display maps")
3439 "libchamplain is a C library providing a ClutterActor to display maps.
3440 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
3441 and Perl bindings are also available. It supports numerous free map sources
3442 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
3443 (license license:lgpl2.1+)))
3452 (uri (string-append "mirror://gnome/sources/" name "/"
3453 (version-major+minor version) "/"
3454 name "-" version ".tar.xz"))
3457 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
3458 (build-system gnu-build-system)
3460 `(("intltool" ,intltool)
3461 ("pkg-config" ,pkg-config)
3462 ("gobject-introspection" ,gobject-introspection)))
3465 ("gdk-pixbuf" ,gdk-pixbuf)
3466 ("sqlite" ,sqlite)))
3467 ;; XXX TODO: Figure out how to run the test suite.
3468 (arguments `(#:tests? #f))
3469 (home-page "https://wiki.gnome.org/Projects/Gom")
3470 (synopsis "Object mapper from GObjects to SQLite")
3472 "Gom provides an object mapper from GObjects to SQLite. It helps you
3473 write applications that need to store structured data as well as make complex
3474 queries upon that data.")
3475 (license license:lgpl2.1+)))
3477 (define-public libgnome-games-support
3479 (name "libgnome-games-support")
3483 (uri (string-append "mirror://gnome/sources/" name "/"
3484 (version-major+minor version) "/"
3485 name "-" version ".tar.xz"))
3488 "1vwad7kqy7yd6wqyr71nq0blh7m53r3lz6ya16dmh942kd0w48v1"))))
3489 (build-system gnu-build-system)
3492 (modify-phases %standard-phases
3493 (add-before 'check 'pre-check
3495 ;; Tests require a writable HOME.
3496 (setenv "HOME" (getcwd))
3499 `(("intltool" ,intltool)
3500 ("pkg-config" ,pkg-config)
3503 ;; Required by libgnome-games-support-1.0.pc
3505 ("libgee" ,libgee)))
3506 (home-page "https://www.gnome.org/")
3507 (synopsis "Useful functionality shared among GNOME games")
3509 "libgnome-games-support is a small library intended for internal use by
3510 GNOME Games, but it may be used by others.")
3511 (license license:lgpl3+)))
3513 (define-public gnome-klotski
3515 (name "gnome-klotski")
3519 (uri (string-append "mirror://gnome/sources/" name "/"
3520 (version-major+minor version) "/"
3521 name "-" version ".tar.xz"))
3524 "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f"))))
3525 (build-system glib-or-gtk-build-system)
3527 `(("desktop-file-utils" ,desktop-file-utils)
3528 ("intltool" ,intltool)
3529 ("itstool" ,itstool)
3530 ("pkg-config" ,pkg-config)
3531 ("xmllint" ,libxml2)))
3534 ("libgnome-games-support" ,libgnome-games-support)
3535 ("librsvg" ,librsvg)))
3536 (home-page "https://wiki.gnome.org/Apps/Klotski")
3537 (synopsis "Sliding block puzzles")
3539 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
3540 the patterned block to the area bordered by green markers. To do so, you will
3541 need to slide other blocks out of the way. Complete each puzzle in as few moves
3543 (license license:gpl2+)))
3545 (define-public grilo
3552 (uri (string-append "mirror://gnome/sources/" name "/"
3553 (version-major+minor version) "/"
3554 name "-" version ".tar.xz"))
3557 "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw"))))
3558 (build-system gnu-build-system)
3560 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3561 ("intltool" ,intltool)
3562 ("pkg-config" ,pkg-config)
3563 ("gobject-introspection" ,gobject-introspection)))
3565 `(("cyrus-sasl" ,cyrus-sasl)
3568 ("libxml2" ,libxml2)
3569 ("liboauth" ,liboauth)
3570 ("libsoup" ,libsoup)
3572 ("totem-pl-parser" ,totem-pl-parser)))
3575 (modify-phases %standard-phases
3576 (add-after 'unpack 'fix-introspection-install-dir
3577 (lambda* (#:key outputs #:allow-other-keys)
3578 (let ((out (assoc-ref outputs "out")))
3579 (substitute* '("src/Makefile.in"
3580 "libs/pls/Makefile.in"
3581 "libs/net/Makefile.in")
3582 (("@INTROSPECTION_GIRDIR@")
3583 (string-append out "/share/gir-1.0/"))
3584 (("@INTROSPECTION_TYPELIBDIR@")
3585 (string-append out "/lib/girepository-1.0/")))
3587 (native-search-paths
3588 (list (search-path-specification
3589 (variable "GRL_PLUGIN_PATH")
3590 (files (list (string-append "lib/grilo-"
3591 (version-major+minor version)))))))
3592 (home-page "https://live.gnome.org/Grilo")
3593 (synopsis "Framework for discovering and browsing media")
3595 "Grilo is a framework focused on making media discovery and browsing easy
3596 for application developers.")
3597 (license license:lgpl2.1+)))
3599 (define-public grilo-plugins
3601 (name "grilo-plugins")
3606 (uri (string-append "mirror://gnome/sources/" name "/"
3607 (version-major+minor version) "/"
3608 name "-" version ".tar.xz"))
3611 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
3612 (build-system gnu-build-system)
3614 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
3615 ("intltool" ,intltool)
3616 ("itstool" ,itstool)
3617 ("pkg-config" ,pkg-config)))
3620 ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la
3622 ("libxml2" ,libxml2)
3625 ;; XXX TODO: Add oauth
3626 ;; XXX TODO: Add goa
3627 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
3628 ;; XXX TODO: Add lua (needs help finding it)
3629 ("json-glib" ,json-glib)
3632 ("libsoup" ,libsoup)
3633 ("libarchive" ,libarchive)
3634 ("totem-pl-parser" ,totem-pl-parser)))
3636 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
3639 ,(version-major+minor version)))
3640 ;; XXX FIXME: Try to get the test suite working. It appears to require
3641 ;; a working system dbus. Inside the build container, all tests fail
3642 ;; with: "assertion failed: (source)". Outside of the build container,
3643 ;; most tests succeed.
3645 (home-page "https://live.gnome.org/Grilo")
3646 (synopsis "Plugins for the Grilo media discovery library")
3648 "Grilo is a framework focused on making media discovery and browsing easy
3649 for application developers.")
3650 (license license:lgpl2.1+)))
3652 (define-public totem
3659 (uri (string-append "mirror://gnome/sources/" name "/"
3660 (version-major+minor version) "/"
3661 name "-" version ".tar.xz"))
3664 "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"))
3665 (patches (search-patches "totem-meson-easy-codec.patch"))))
3666 (build-system meson-build-system)
3668 `(("pkg-config" ,pkg-config)
3669 ("desktop-file-utils" ,desktop-file-utils)
3670 ("gobject-introspection" ,gobject-introspection)
3671 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
3672 ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache'
3673 ("intltool" ,intltool)
3674 ("itstool" ,itstool)
3675 ("xmllint" ,libxml2)))
3677 `(("dconf" ,dconf)))
3680 ("gdk-pixbuf" ,gdk-pixbuf)
3683 ("dbus-glib" ,dbus-glib)
3684 ("clutter" ,clutter)
3685 ("clutter-gtk" ,clutter-gtk)
3686 ("clutter-gst" ,clutter-gst)
3687 ("xorgproto" ,xorgproto)
3688 ("libxxf86vm" ,libxxf86vm)
3689 ("libxtst" ,libxtst)
3690 ("libxrandr" ,libxrandr)
3691 ("libxml2" ,libxml2)
3692 ("libsoup" ,libsoup)
3693 ("libpeas" ,libpeas)
3694 ("librsvg" ,librsvg)
3696 ("gnome-desktop" ,gnome-desktop)
3697 ("gstreamer" ,gstreamer)
3698 ("gst-plugins-base" ,gst-plugins-base)
3699 ("gst-plugins-good" ,gst-plugins-good)
3700 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3701 ("adwaita-icon-theme" ,adwaita-icon-theme)
3702 ;; XXX We use python-2 because libxml2 because itstool (which needs
3703 ;; libxml) currently uses python-2.
3704 ("python" ,python-2)
3705 ("python-pygobject" ,python2-pygobject)
3706 ;; XXX TODO pylint needed for python support
3707 ("totem-pl-parser" ,totem-pl-parser)
3709 ("grilo-plugins" ,grilo-plugins)
3715 ;; Disable parallel builds until
3716 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is
3717 ;; fixed. Try enabling it when updating this package in case
3718 ;; upstream has fixed it.
3719 #:parallel-build? #f
3721 ;; Disable automatic GStreamer plugin installation via PackageKit and
3723 #:configure-flags '("-D" "enable-easy-codec-installation=no"
3725 ;; Do not build .a files for the plugins, it's
3726 ;; completely useless. This saves 2 MiB.
3727 "--default-library" "shared")
3730 (modify-phases %standard-phases
3732 'install 'disable-cache-generation
3734 (setenv "DESTDIR" "/")
3737 'install 'wrap-totem
3738 (lambda* (#:key inputs outputs #:allow-other-keys)
3739 (let ((out (assoc-ref outputs "out"))
3740 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3741 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
3742 (wrap-program (string-append out "/bin/totem")
3743 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3744 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
3745 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
3746 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
3748 (home-page "https://wiki.gnome.org/Apps/Videos")
3749 (synopsis "Simple media player for GNOME based on GStreamer")
3750 (description "Totem is a simple yet featureful media player for GNOME
3751 which can read a large number of file formats.")
3752 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
3753 ;; to be used and distributed together with GStreamer and Totem. See
3754 ;; file://COPYING in the source distribution for details.
3755 (license license:gpl2+)))
3757 (define-public rhythmbox
3763 (uri (string-append "mirror://gnome/sources/" name "/"
3764 (version-major+minor version) "/"
3765 name "-" version ".tar.xz"))
3768 ;; fmradio: Fix build with GStreamer master
3772 "https://gitlab.gnome.org/GNOME/rhythmbox/commit/"
3773 "b182c6b9e1d09e601bac0b703cc5f8b159ebbc3a.patch"))
3776 "06n87xgf927djmv1vshal84nqx7g8nwgljza3g2vydhy7g2n1csq")))))
3779 "0hzcns8gf5yb0rm4ss8jd8qzarcaplp5cylk6plwilsqfvxj4xn2"))))
3780 (build-system glib-or-gtk-build-system)
3783 (list "--enable-lirc"
3790 (modify-phases %standard-phases
3792 'install 'wrap-rhythmbox
3793 (lambda* (#:key inputs outputs #:allow-other-keys)
3794 (let ((out (assoc-ref outputs "out"))
3795 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
3796 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
3797 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
3798 (python-path (getenv "PYTHONPATH")))
3799 (wrap-program (string-append out "/bin/rhythmbox")
3800 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
3801 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
3802 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
3803 `("PYTHONPATH" ":" prefix (,python-path))))
3806 `(("dconf" ,dconf)))
3808 `(("itstool" ,itstool)
3809 ("intltool" ,intltool)
3810 ("glib" ,glib "bin")
3811 ("gobject-introspection" ,gobject-introspection)
3812 ("desktop-file-utils" ,desktop-file-utils)
3813 ("pkg-config" ,pkg-config)
3814 ("xmllint" ,libxml2)))
3816 `(("json-glib" ,json-glib)
3818 ("gnome-desktop" ,gnome-desktop)
3820 ("python-pygobject" ,python2-pygobject)
3824 ("adwaita-icon-theme" ,adwaita-icon-theme)
3826 ("grilo-plugins" ,grilo-plugins)
3827 ("gstreamer" ,gstreamer)
3828 ("gst-plugins-base" ,gst-plugins-base)
3829 ("gst-plugins-good" ,gst-plugins-good)
3830 ("totem-pl-parser" ,totem-pl-parser)
3831 ("libgudev" ,libgudev)
3832 ;;("libmtp" ,libmtp) FIXME: Not detected
3833 ("libsecret" ,libsecret)
3834 ("libsoup" ,libsoup)
3835 ("libnotify" ,libnotify)
3836 ("libpeas" ,libpeas)
3838 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
3839 ;;("clutter" ,clutter)
3840 ;;("clutter-gtk" ,clutter-gtk)
3841 ;;("clutter-gst" ,clutter-gst)
3842 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3849 ("brasero" ,brasero)))
3850 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
3851 (synopsis "Music player for GNOME")
3852 (description "Rhythmbox is a music playing application for GNOME. It
3853 supports playlists, song ratings, and any codecs installed through gstreamer.")
3854 (license license:gpl2+)))
3862 (uri (string-append "mirror://gnome/sources/" name "/"
3863 (version-major+minor version) "/"
3864 name "-" version ".tar.xz"))
3867 "1b87i31mxzayd3knn9zg00y816d093qrbyx556w8a03xz96ksgmm"))))
3868 (build-system glib-or-gtk-build-system)
3871 (modify-phases %standard-phases
3874 (lambda* (#:key outputs #:allow-other-keys)
3875 (let ((out (assoc-ref outputs "out"))
3876 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3877 (wrap-program (string-append out "/bin/eog")
3878 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3881 `(("dconf" ,dconf)))
3883 `(("intltool" ,intltool)
3884 ("itstool" ,itstool)
3885 ("glib" ,glib "bin")
3886 ("gobject-introspection" ,gobject-introspection)
3887 ("pkg-config" ,pkg-config)
3888 ("xmllint" ,libxml2)))
3890 `(("gnome-desktop" ,gnome-desktop)
3891 ("shared-mime-info" ,shared-mime-info)
3892 ("adwaita-icon-theme" ,adwaita-icon-theme)
3895 ("libexif" ,libexif)
3896 ("libpeas" ,libpeas)
3897 ("libjpeg" ,libjpeg)
3898 ("librsvg" ,librsvg)
3899 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3901 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
3902 (synopsis "GNOME image viewer")
3903 (description "Eye of GNOME is the GNOME image viewer. It
3904 supports image conversion, rotation, and slideshows.")
3905 (license license:gpl2+)))
3907 (define-public eog-plugins
3908 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
3909 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
3910 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
3911 ;; 'XDG_DATA_DIRS' appropriately set.
3913 (name "eog-plugins")
3917 (uri (string-append "mirror://gnome/sources/" name "/"
3918 (version-major+minor version) "/"
3919 name "-" version ".tar.xz"))
3922 "1w8zw7kwfvlwlyb1k1inqdvbwnzq959sqawlmnwfb8ykn98hbk8y"))))
3923 (build-system gnu-build-system)
3924 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
3925 (synopsis "Extensions for the Eye of GNOME image viewer")
3927 `(("pkg-config" ,pkg-config)
3928 ("gettext" ,gnu-gettext)))
3933 ("libpeas" ,libpeas)
3934 ("libexif" ,libexif)
3935 ("libchamplain" ,libchamplain)))
3937 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
3941 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
3942 @item @dfn{Map}, which displays a map of where the picture was taken on the
3944 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
3947 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
3948 ;; long suspicious byte stream that goes to a
3949 ;; ".gresource.eog_postasa_plugin" ELF section.
3950 (license license:gpl2+)))
3952 (define-public libgudev
3958 (uri (string-append "mirror://gnome/sources/" name "/"
3959 version "/" name "-" version ".tar.xz"))
3962 "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2"))))
3963 (build-system gnu-build-system)
3965 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3966 ("gobject-introspection" ,gobject-introspection)
3967 ("pkg-config" ,pkg-config)))
3969 `(("glib" ,glib))) ; required by gudev-1.0.pc
3972 (home-page "https://wiki.gnome.org/Projects/libgudev")
3973 (synopsis "GObject bindings for libudev")
3975 "This library provides GObject bindings for libudev. It was originally
3976 part of udev-extras, then udev, then systemd. It's now a project on its own.")
3977 (license license:lgpl2.1+)))
3985 (uri (string-append "mirror://gnome/sources/" name "/"
3986 (version-major+minor version) "/"
3987 name "-" version ".tar.xz"))
3990 "1pkahczniar1yyas7awcqpkb4ca8l7qa4msn6mr29m89mgnwkdnh"))))
3991 (build-system gnu-build-system)
3993 '(#:tests? #f)) ; XXX: requiring `pidof'
3995 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
3996 ("intltool" ,intltool)
3997 ("pkg-config" ,pkg-config)
3998 ("xsltproc" ,libxslt)))
4001 ("docbook-xml" ,docbook-xml-4.2)
4002 ("docbook-xsl" ,docbook-xsl)
4007 ("libarchive" ,libarchive)
4008 ("libbluray" ,libbluray)
4010 ("libcdio-paranoia" ,libcdio-paranoia)
4011 ("libgcrypt" ,libgcrypt)
4012 ("libgphoto2" ,libgphoto2)
4013 ("libgudev" ,libgudev)
4015 ("libsecret" ,libsecret)
4016 ("libsmbclient" ,samba)
4017 ("libsoup" ,libsoup)
4018 ("libxml2" ,libxml2)
4019 ("nettle" ,nettle) ; XXX: required by libarchive.pc
4021 ("udisks" ,udisks)))
4022 (home-page "https://wiki.gnome.org/gvfs/")
4023 (synopsis "Userspace virtual file system for GIO")
4025 "GVFS is a userspace virtual file system designed to work with the I/O
4026 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4027 to all applications using the GIO API. It also supports exposing the GVFS
4028 mounts to non-GIO applications using FUSE.
4030 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4032 (license license:lgpl2.0+)))
4040 (uri (string-append "https://github.com/hughsie/libgusb/archive/"
4044 "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
4045 (build-system meson-build-system)
4047 `(("gobject-introspection" ,gobject-introspection)
4048 ("pkg-config" ,pkg-config)
4050 ("gtk-doc" ,gtk-doc)))
4052 ;; Both of these are required by gusb.pc.
4054 ("libusb" ,libusb)))
4056 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
4057 (home-page "https://github.com/hughsie/libgusb")
4058 (synopsis "GLib binding for libusb1")
4060 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4061 asynchronous control, bulk and interrupt transfers with proper cancellation
4062 and integration into a mainloop. This makes it easy to integrate low level
4063 USB transfers with your high-level application or system daemon.")
4064 (license license:lgpl2.1+)))
4066 (define-public simple-scan
4068 (name "simple-scan")
4072 (uri (string-append "https://launchpad.net/simple-scan/"
4073 (version-major+minor version) "/"
4074 version "/+download/simple-scan-"
4078 "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy"))))
4079 (build-system glib-or-gtk-build-system)
4084 ("gdk-pixbuf" ,gdk-pixbuf)
4086 ("libsane" ,sane-backends)))
4088 `(("gettext" ,gettext-minimal)
4089 ("itstool" ,itstool)
4091 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
4092 ("pkg-config" ,pkg-config)
4094 ("xmllint" ,libxml2)))
4096 '(#:configure-flags '("--disable-packagekit")
4098 (modify-phases %standard-phases
4099 (add-after 'unpack 'clean
4101 ;; Remove a left-over reference to PackageKit.
4103 ;; https://bugs.launchpad.net/simple-scan/+bug/1462769
4105 ;; There are some generated C files erroneously
4106 ;; included in the source distribution, and this
4107 ;; one breaks the build by referring to a
4108 ;; non-existent header (packagekit.h)
4109 (delete-file "src/ui.c"))))))
4110 (home-page "https://launchpad.net/simple-scan")
4111 (synopsis "Document and image scanner")
4112 (description "Simple Scan is an easy-to-use application, designed to let
4113 users connect their scanner and quickly have the image/document in an
4114 appropriate format. Simple Scan is basically a frontend for SANE - which is
4115 the same backend as XSANE uses. This means that all existing scanners will
4116 work and the interface is well tested.")
4117 (license license:gpl3+)))
4119 (define-public eolie
4125 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
4126 "uploads/020f3f686e2b938731752a1d9f5bfa7e/"
4127 "eolie-" version ".tar.xz"))
4130 "0371p7g13r0b7zjc48fdcil43ddwpmyvkd2a4vv6ifsqmny6kl42"))))
4131 (build-system meson-build-system)
4135 (modify-phases %standard-phases
4136 (add-after 'wrap 'wrap-more
4137 (lambda* (#:key inputs outputs #:allow-other-keys)
4138 (let* ((out (assoc-ref outputs "out"))
4139 ;; These libraries must be on LD_LIBRARY_PATH.
4140 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4141 "atk" "gtk+" "gsettings-desktop-schemas"
4142 "gcc:lib" ; needed b/c webkitgtk is built with gcc-7
4143 "gobject-introspection"))
4146 (string-append (assoc-ref inputs lib) "/lib"))
4149 (wrap-program (string-append out "/bin/eolie")
4150 `("LD_LIBRARY_PATH" ":" prefix (,path))
4151 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
4152 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
4155 `(("gcc:lib" ,gcc-7 "lib") ; needed because webkitgtk is built with gcc-7
4156 ("intltool" ,intltool)
4157 ("itstool" ,itstool)
4158 ("pkg-config" ,pkg-config)
4160 ("glib:bin" ,glib "bin")
4161 ("gtk+" ,gtk+ "bin")))
4163 `(("gobject-introspection" ,gobject-introspection)
4164 ("glib-networking" ,glib-networking)
4167 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
4168 ("python" ,python-wrapper)
4169 ("python-dateutil" ,python-dateutil)
4170 ("python-pyfxa" ,python-pyfxa)
4171 ("python-pygobject" ,python-pygobject)
4172 ("python-pycairo" ,python-pycairo)
4173 ("python-pycrypto" ,python-pycrypto)
4174 ("libsecret" ,libsecret)
4175 ("gtkspell3" ,gtkspell3)
4176 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4177 ("webkitgtk" ,webkitgtk-2.22)))
4178 (home-page "https://wiki.gnome.org/Apps/Eolie")
4179 (synopsis "Web browser for GNOME")
4181 "Eolie is a new web browser for GNOME. It features Firefox sync support,
4182 a secret password store, an adblocker, and a modern UI.")
4183 (license license:gpl3+)))
4185 (define-public epiphany
4188 (version "3.28.3.1")
4191 (uri (string-append "mirror://gnome/sources/" name "/"
4192 (version-major+minor version) "/"
4193 name "-" version ".tar.xz"))
4196 "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9"))))
4198 (build-system meson-build-system)
4200 ;; FIXME: tests run under Xvfb, but fail with:
4201 ;; /src/bookmarks/ephy-bookmarks/create:
4202 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
4208 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
4209 (list (string-append "-Dc_link_args=-Wl,-rpath="
4210 (assoc-ref %outputs "out") "/lib/epiphany"))))
4212 `(("dconf" ,dconf)))
4214 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
4215 ("gcc" ,gcc-7) ; needed because webkitgtk-2.22 is compiled with gcc-7
4216 ("glib:bin" ,glib "bin") ; for glib-mkenums
4217 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
4218 ("intltool" ,intltool)
4219 ("itstool" ,itstool)
4220 ("pkg-config" ,pkg-config)
4221 ("xmllint" ,libxml2)))
4225 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
4226 ("glib-networking" ,glib-networking)
4227 ("gnome-desktop" ,gnome-desktop)
4228 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4229 ("json-glib" ,json-glib)
4230 ("iso-codes" ,iso-codes)
4231 ("libnotify" ,libnotify)
4232 ("libsecret" ,libsecret)
4233 ("libxslt" ,libxslt)
4234 ("nettle" ,nettle) ; for hogweed
4236 ("webkitgtk" ,webkitgtk-2.22)))
4237 (home-page "https://wiki.gnome.org/Apps/Web")
4238 (synopsis "GNOME web browser")
4240 "Epiphany is a GNOME web browser targeted at non-technical users. Its
4241 principles are simplicity and standards compliance.")
4242 (license license:gpl2+)))
4244 (define-public d-feet
4250 (uri (string-append "mirror://gnome/sources/" name "/"
4251 (version-major+minor version) "/"
4252 name "-" version ".tar.xz"))
4255 "1hmrijm4d9vwzx2r8qzzsy8ccpj79l1y6cc569n9jjzqcq699p53"))))
4256 (build-system glib-or-gtk-build-system)
4258 '(#:out-of-source? #f ; tests need to run in the source directory.
4260 (modify-phases %standard-phases
4264 ;; The test suite requires a running X server.
4265 (system "Xvfb :1 &")
4266 (setenv "DISPLAY" ":1")
4267 ;; Don't fail on missing '/etc/machine-id'.
4268 (setenv "DBUS_FATAL_WARNINGS" "0")
4269 ;; tests.py and window.py don't meet E402:
4270 ;; E402 module level import not at top of file
4271 (substitute* "src/tests/Makefile"
4272 (("--ignore=E123") "--ignore=E123,E402"))
4275 'install 'wrap-program
4276 (lambda* (#:key outputs #:allow-other-keys)
4277 (let ((prog (string-append (assoc-ref outputs "out")
4280 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
4281 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4284 `(("intltool" ,intltool)
4285 ("itstool" ,itstool)
4286 ("pkg-config" ,pkg-config)
4287 ("python-pep8" ,python-pep8)
4288 ("xmllint" ,libxml2)
4289 ("xorg-server" ,xorg-server)))
4291 `(("gobject-introspection" ,gobject-introspection)
4293 ("python" ,python-wrapper)
4294 ("python-pygobject" ,python-pygobject)))
4295 (home-page "https://wiki.gnome.org/Apps/DFeet")
4296 (synopsis "D-Bus debugger")
4298 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
4299 of running programs and invoke methods on those interfaces.")
4300 (license license:gpl2+)))
4302 (define-public yelp-xsl
4308 (uri (string-append "mirror://gnome/sources/" name "/"
4309 (version-major+minor version) "/"
4310 name "-" version ".tar.xz"))
4313 "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw"))))
4314 (build-system gnu-build-system)
4316 `(("intltool" ,intltool)
4317 ("itstool" ,itstool)
4318 ("xmllint" ,libxml2)))
4319 (home-page "https://wiki.gnome.org/Apps/Yelp")
4320 (synopsis "XSL stylesheets for Yelp")
4322 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
4323 to format Docbook and Mallard documents.")
4324 (license license:gpl2+)))
4332 (uri (string-append "mirror://gnome/sources/" name "/"
4333 (version-major+minor version) "/"
4334 name "-" version ".tar.xz"))
4337 "13kpi0qmnfx2xwizyhmf5i5xaw9ckcn1k7v0289p7als4dybf5l6"))))
4338 (build-system glib-or-gtk-build-system)
4340 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4341 ("intltool" ,intltool)
4342 ("itstool" ,itstool)
4343 ("pkg-config" ,pkg-config)))
4345 `(("dconf" ,dconf)))
4347 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4348 ("libxslt" ,libxslt)
4350 ("webkitgtk" ,webkitgtk)
4351 ("yelp-xsl" ,yelp-xsl)))
4352 (home-page "https://wiki.gnome.org/Apps/Yelp")
4353 (synopsis "GNOME help browser")
4355 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
4356 man, info, and HTML documents. It can locate documents according to the
4357 freedesktop.org help system specification.")
4358 (license license:gpl2+)))
4360 (define-public yelp-tools
4366 (uri (string-append "mirror://gnome/sources/" name "/"
4367 (version-major+minor version) "/"
4368 name "-" version ".tar.xz"))
4371 "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6"))))
4372 (build-system gnu-build-system)
4374 `(("pkg-config" ,pkg-config)))
4376 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
4377 `(("itstool" ,itstool)
4378 ("xmllint" ,libxml2)
4379 ("xsltproc" ,libxslt)))
4381 `(("yelp-xsl" ,yelp-xsl)))
4382 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
4383 (synopsis "Yelp documentation tools")
4385 "Yelp-tools is a collection of scripts and build utilities to help create,
4386 manage, and publish documentation for Yelp and the web. Most of the heavy
4387 lifting is done by packages like yelp-xsl and itstool. This package just
4388 wraps things up in a developer-friendly way.")
4389 (license license:gpl2+)))
4391 (define-public libgee
4397 (uri (string-append "mirror://gnome/sources/" name "/"
4398 (version-major+minor version) "/"
4399 name "-" version ".tar.xz"))
4402 "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v"))))
4403 (build-system gnu-build-system)
4406 (modify-phases %standard-phases
4407 (add-after 'unpack 'fix-introspection-install-dir
4408 (lambda* (#:key outputs #:allow-other-keys)
4409 (let ((out (assoc-ref outputs "out")))
4410 (substitute* "gee/Makefile.in"
4411 (("@INTROSPECTION_GIRDIR@")
4412 (string-append out "/share/gir-1.0/"))
4413 (("@INTROSPECTION_TYPELIBDIR@")
4414 (string-append out "/lib/girepository-1.0/")))))))))
4416 `(("glib" ,glib "bin")
4417 ("pkg-config" ,pkg-config)))
4420 ("gobject-introspection" ,gobject-introspection)))
4421 (home-page "https://wiki.gnome.org/Projects/Libgee")
4422 (synopsis "GObject collection library")
4424 "Libgee is a utility library providing GObject-based interfaces and
4425 classes for commonly used data structures.")
4426 (license license:lgpl2.1+)))
4428 (define-public gexiv2
4434 (uri (string-append "mirror://gnome/sources/" name "/"
4435 (version-major+minor version) "/"
4436 name "-" version ".tar.xz"))
4439 "0088m7p044n741ly1m6i7w25z513h9wpgyw0rmx5f0sy3vyjiic1"))))
4440 (build-system meson-build-system)
4442 `(("glib" ,glib "bin")
4443 ("pkg-config" ,pkg-config)))
4445 ;; Listed in "Requires" section of gexiv2.pc
4446 `(("exiv2" ,exiv2)))
4449 ("gobject-introspection" ,gobject-introspection)))
4450 (home-page "https://wiki.gnome.org/Projects/gexiv2")
4451 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
4453 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
4454 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
4455 metadata in photo and video files of various formats.")
4456 (license license:gpl2+)))
4458 (define-public shotwell
4464 (uri (string-append "mirror://gnome/sources/" name "/"
4465 (version-major+minor version) "/"
4466 name "-" version ".tar.xz"))
4469 "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9"))))
4470 (build-system glib-or-gtk-build-system)
4472 `(("dconf" ,dconf)))
4474 `(("pkg-config" ,pkg-config)
4475 ("itstool" ,itstool)
4476 ("gettext" ,gettext-minimal)
4477 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
4478 ("itstool" ,itstool)
4481 `(("glib:bin" ,glib "bin")
4482 ("gstreamer" ,gstreamer)
4483 ("gst-plugins-base" ,gst-plugins-base)
4484 ("libgdata" ,libgdata)
4488 ("json-glib" ,json-glib)
4489 ("webkitgtk" ,webkitgtk)
4491 ("libsoup" ,libsoup)
4492 ("libxml2" ,libxml2)
4493 ("libgudev" ,libgudev)
4494 ("libgphoto2" ,libgphoto2)
4496 (home-page "https://wiki.gnome.org/Apps/Shotwell")
4497 (synopsis "Photo manager for GNOME 3")
4499 "Shotwell is a digital photo manager designed for the GNOME desktop
4500 environment. It allows you to import photos from disk or camera, organize
4501 them by keywords and events, view them in full-window or fullscreen mode, and
4502 share them with others via social networking and more.")
4503 (license license:lgpl2.1+)))
4505 (define-public file-roller
4507 (name "file-roller")
4511 (uri (string-append "mirror://gnome/sources/" name "/"
4512 (version-major+minor version) "/"
4513 name "-" version ".tar.xz"))
4516 "19d8pc5z2xzhnicgaysxmwx3ghwzl4cw8kygd6nsw69g3j77nrry"))))
4517 (build-system glib-or-gtk-build-system)
4520 (modify-phases %standard-phases
4521 (add-before 'install 'skip-gtk-update-icon-cache
4523 ;; Don't create 'icon-theme.cache'
4524 (substitute* (find-files "data" "^Makefile$")
4525 (("gtk-update-icon-cache") (which "true")))
4528 `(("intltool" ,intltool)
4529 ("pkg-config" ,pkg-config)))
4530 ;; TODO: Add libnautilus.
4533 ("gdk-pixbuf" ,gdk-pixbuf)
4534 ("json-glib" ,json-glib)
4535 ("libarchive" ,libarchive)
4536 ("libnotify" ,libnotify)
4538 ("itstool" ,itstool)
4539 ("libxml2" ,libxml2)))
4540 (synopsis "Graphical archive manager for GNOME")
4541 (description "File Roller is an archive manager for the GNOME desktop
4542 environment that allows users to view, unpack, and create compressed archives
4543 such as gzip tarballs.")
4544 (home-page "http://fileroller.sourceforge.net/")
4545 (license license:gpl2+)))
4547 (define-public gnome-session
4549 (name "gnome-session")
4553 (uri (string-append "mirror://gnome/sources/" name "/"
4554 (version-major+minor version) "/"
4555 name "-" version ".tar.xz"))
4558 "1vkfjsgks9czajivcg3y1krzlnilv2cnzzbdc7wrasrriqilji1v"))))
4561 (modify-phases %standard-phases
4562 (add-before 'configure 'pre-configure
4563 (lambda* (#:key outputs #:allow-other-keys)
4564 ;; Use elogind instead of systemd.
4565 (substitute* "configure"
4566 (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal")
4568 (("systemd") "elogind"))
4569 (substitute* "gnome-session/gsm-systemd.c"
4570 (("#include <systemd/sd-login.h>")
4571 "#include <elogind/sd-login.h>"))
4572 ;; Remove uses of the systemd journal.
4573 (substitute* "gnome-session/main.c"
4574 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4575 (substitute* "gnome-session/gsm-manager.c"
4576 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4577 (substitute* "gnome-session/gsm-autostart-app.c"
4578 (("#ifdef HAVE_SYSTEMD") "#if 0"))
4580 (add-after 'install 'wrap-gnome-session
4581 (lambda* (#:key inputs outputs #:allow-other-keys)
4582 ;; Make sure 'gnome-session' finds the 'gsettings' program.
4583 (let ((glib (assoc-ref inputs "glib:bin"))
4584 (out (assoc-ref outputs "out")))
4585 (wrap-program (string-append out "/bin/gnome-session")
4586 `("PATH" ":" prefix (,(string-append glib "/bin"))))
4588 (add-after 'install 'disable-hardware-acceleration-check
4589 (lambda* (#:key outputs #:allow-other-keys)
4590 ;; Do not abort if hardware acceleration is missing. This allows
4591 ;; GNOME to run in QEMU and on low-end devices.
4592 (let ((out (assoc-ref outputs "out")))
4593 (substitute* (string-append out
4594 "/share/xsessions/gnome.desktop")
4596 "gnome-session --disable-acceleration-check"))
4600 '("--enable-elogind")))
4601 (build-system glib-or-gtk-build-system)
4603 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4604 ("pkg-config" ,pkg-config)
4605 ("intltool" ,intltool)
4606 ("xsltproc" ,libxslt)))
4608 `(("elogind" ,elogind)
4609 ("gnome-desktop" ,gnome-desktop)
4610 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4612 ("json-glib" ,json-glib)
4614 ("libxcomposite" ,libxcomposite)
4615 ("libxtst" ,libxtst)
4618 ("xtrans" ,xtrans)))
4619 (synopsis "Session manager for GNOME")
4621 "This package contains the GNOME session manager, as well as a
4622 configuration program to choose applications starting on login.")
4623 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
4624 (license license:gpl2+)))
4632 (uri (string-append "mirror://gnome/sources/" name "/"
4633 (version-major+minor version) "/"
4634 name "-" version ".tar.xz"))
4637 "04nkig077r7xq55dxg9v46w8i7p8zkkdyja92yv81grq9fx6apz8"))))
4638 (build-system gnu-build-system)
4641 (modify-phases %standard-phases
4645 ;; The test suite requires a running X server.
4646 (system "Xvfb :1 &")
4647 (setenv "DISPLAY" ":1")
4649 ;; For the missing /etc/machine-id.
4650 (setenv "DBUS_FATAL_WARNINGS" "0")
4652 ;; Our mozjs-38 package does not compile the required Intl API
4653 ;; support for these failing tests.
4654 (substitute* "installed-tests/js/testLocale.js"
4655 ((".*toBeDefined.*") "")
4656 ((".*expect\\(datestr\\).*") ""))
4659 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4660 ("pkg-config" ,pkg-config)
4661 ("xmllint" ,libxml2)
4663 ("dbus-launch" ,dbus)
4664 ("uuidgen" ,util-linux)
4665 ("xvfb" ,xorg-server)))
4667 ;; These are all in the Requires.private field of gjs-1.0.pc.
4669 ("gobject-introspection" ,gobject-introspection)
4670 ("mozjs" ,mozjs-38)))
4673 ("readline" ,readline)))
4674 (synopsis "Javascript bindings for GNOME")
4675 (home-page "https://live.gnome.org/Gjs")
4677 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
4678 javascript engine and the GObject introspection framework.")
4679 (license license:gpl2+)))
4681 (define-public gedit
4687 (uri (string-append "mirror://gnome/sources/" name "/"
4688 (version-major+minor version) "/"
4689 name "-" version ".tar.xz"))
4692 "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"))))
4693 (build-system glib-or-gtk-build-system)
4696 (modify-phases %standard-phases
4698 'install 'wrap-gedit
4699 (lambda* (#:key inputs outputs #:allow-other-keys)
4700 (let ((out (assoc-ref outputs "out"))
4701 (gtksourceview (assoc-ref inputs "gtksourceview"))
4702 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4703 (python-path (getenv "PYTHONPATH")))
4704 (wrap-program (string-append out "/bin/gedit")
4706 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4707 `("PYTHONPATH" ":" prefix (,python-path))
4708 ;; For language-specs.
4709 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
4713 `(("dconf" ,dconf)))
4715 `(("intltool" ,intltool)
4716 ("itstool" ,itstool)
4717 ("gobject-introspection" ,gobject-introspection)
4718 ("pkg-config" ,pkg-config)))
4723 ("gtksourceview" ,gtksourceview)
4724 ("libpeas" ,libpeas)
4725 ("libxml2" ,libxml2)
4726 ("iso-codes" ,iso-codes)
4727 ("python-pygobject" ,python-pygobject)
4729 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4732 ("adwaita-icon-theme" ,adwaita-icon-theme)
4733 ("libsoup" ,libsoup)
4734 ("gnome-desktop" ,gnome-desktop)))
4735 (home-page "https://wiki.gnome.org/Apps/Gedit")
4736 (synopsis "GNOME text editor")
4737 (description "While aiming at simplicity and ease of use, gedit is a
4738 powerful general purpose text editor.")
4739 (license license:gpl2+)))
4741 (define-public zenity
4747 (uri (string-append "mirror://gnome/sources/" name "/"
4748 (version-major+minor version) "/"
4749 name "-" version ".tar.xz"))
4752 "1xzpm63cib2xzr99phplhbcjzy7lahggk3gp60dvrrclxhka1w3g"))))
4753 (build-system gnu-build-system)
4755 `(("gettext" ,gettext-minimal)
4756 ("itstool" ,itstool)
4757 ("pkg-config" ,pkg-config)))
4759 `(("libnotify" ,libnotify)
4760 ("webkitgtk" ,webkitgtk)))
4761 (synopsis "Display graphical dialog boxes from shell scripts")
4762 (home-page "https://www.gnome.org")
4764 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
4765 to display dialog boxes from the commandline and shell scripts.")
4766 (license license:lgpl2.0+)))
4768 (define-public mutter
4774 (uri (string-append "mirror://gnome/sources/" name "/"
4775 (version-major+minor version) "/"
4776 name "-" version ".tar.xz"))
4779 "1slspy5krbqfvnma72lvdnxjf8ag2cvxssa8bvi7y3xxy7xv603k"))))
4780 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
4781 ;; versions of cogl and clutter. As a result, many of the inputs,
4782 ;; propagated-inputs, and configure flags used in cogl and clutter are
4783 ;; needed here as well.
4784 (build-system gnu-build-system)
4787 ;; XXX: build fails with [-Werror]:
4788 ;; backends/meta-cursor-renderer.c:112:5: error:
4789 ;; implicit declaration of function ?roundf?
4790 (list "--enable-compile-warnings=minimum"
4792 "--enable-native-backend"
4794 ;; The following flags are needed for the bundled clutter
4795 "--enable-x11-backend=yes"
4797 (string-append "--with-xwayland-path="
4798 (assoc-ref %build-inputs "xorg-server-xwayland")
4801 ;; the remaining flags are needed for the bundled cogl
4803 (string-append "--with-gl-libname="
4804 (assoc-ref %build-inputs "mesa")
4807 (modify-phases %standard-phases
4808 ;; Replace references to systemd libraries to elogind references.
4809 (add-before 'configure 'use-elogind
4811 (substitute* (list "configure"
4812 "src/backends/native/meta-launcher.c"
4814 (("systemd") "elogind"))
4817 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4818 ("gobject-introspection" ,gobject-introspection)
4819 ("intltool" ,intltool)
4820 ("pkg-config" ,pkg-config)
4822 ("autoconf" ,autoconf)
4823 ("automake" ,automake)
4824 ("libtool" ,libtool)))
4826 `(;; libmutter.pc refers to these:
4827 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4829 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
4832 ("gdk-pixbuf" ,gdk-pixbuf)
4835 ("json-glib" ,json-glib)
4836 ("libinput" ,libinput)
4838 ("libxcomposite" ,libxcomposite)
4839 ("libxdamage" ,libxdamage)
4840 ("libxext" ,libxext)
4841 ("libxfixes" ,libxfixes)
4842 ("libxkbcommon" ,libxkbcommon)
4843 ("libxrandr" ,libxrandr)
4847 ("xinput" ,xinput)))
4849 `(("elogind" ,elogind)
4850 ("gnome-desktop" ,gnome-desktop)
4851 ("libcanberra-gtk" ,libcanberra)
4852 ("libgudev" ,libgudev)
4855 ("libxkbfile" ,libxkbfile)
4856 ("libxrandr" ,libxrandr)
4857 ("libxtst" ,libxtst)
4858 ("startup-notification" ,startup-notification)
4859 ("upower-glib" ,upower)
4860 ("xkeyboard-config" ,xkeyboard-config)
4861 ("xorg-server-xwayland" ,xorg-server-xwayland)
4862 ("zenity" ,zenity)))
4863 (synopsis "Window and compositing manager")
4864 (home-page "https://www.gnome.org")
4866 "Mutter is a window and compositing manager that displays and manages your
4867 desktop via OpenGL. Mutter combines a sophisticated display engine using the
4868 Clutter toolkit with solid window-management logic inherited from the Metacity
4870 (license license:gpl2+)))
4872 (define-public gnome-online-accounts
4874 (name "gnome-online-accounts")
4878 (uri (string-append "mirror://gnome/sources/" name "/"
4879 (version-major+minor version) "/"
4880 name "-" version ".tar.xz"))
4883 "1l8p1ghknmkmjpnpl7jr53j66qbzpikickzbmrz0aczyhq6pdy29"))))
4884 (build-system glib-or-gtk-build-system)
4886 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4887 ("gobject-introspection" ,gobject-introspection)
4888 ("intltool" ,intltool)
4889 ("pkg-config" ,pkg-config)
4890 ("xsltproc" ,libxslt)))
4892 `(("glib" ,glib) ; required by goa-1.0.pc
4893 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
4895 `(("docbook-xsl" ,docbook-xsl)
4896 ("json-glib" ,json-glib)
4897 ("libsecret" ,libsecret)
4899 ("webkitgtk" ,webkitgtk)))
4900 (synopsis "Single sign-on framework for GNOME")
4901 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
4903 "GNOME Online Accounts provides interfaces so that applications and
4904 libraries in GNOME can access the user's online accounts. It has providers for
4905 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
4906 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
4907 (license license:lgpl2.0+)))
4909 (define-public evolution-data-server
4911 (name "evolution-data-server")
4915 (uri (string-append "mirror://gnome/sources/" name "/"
4916 (version-major+minor version) "/"
4917 name "-" version ".tar.xz"))
4920 "12b9lfgwd57rzn9394xrbvl9ym5aqldpz9v7c9a421dsv8dgq13b"))))
4921 (build-system cmake-build-system)
4923 '(;; XXX FIXME: 11/85 tests are failing.
4926 (let* ((lib (string-append (assoc-ref %outputs "out")
4928 (runpaths (map (lambda (s) (string-append
4929 lib "/evolution-data-server/" s))
4930 '("addressbook-backends" "calendar-backends"
4931 "camel-providers" "credential-modules"
4932 "registry-modules"))))
4933 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
4934 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
4935 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
4936 "-DENABLE_VALA_BINDINGS=ON"
4937 ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove
4938 ;; "-std=gnu++11" when our default compiler is >= GCC6.
4939 ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until
4940 ;; evolution-data-server has been updated to qualify ICU types
4941 ;; explicitly, as required by ICU 61 and later. See:
4942 ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild>
4943 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1"
4944 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
4945 (string-append lib "/evolution-data-server;")
4946 (string-join runpaths ";"))
4947 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
4949 (modify-phases %standard-phases
4950 (add-after 'unpack 'patch-paths
4952 (substitute* "tests/test-server-utils/e-test-server-utils.c"
4953 (("/bin/rm") (which "rm")))
4955 (add-before 'configure 'dont-override-rpath
4957 (substitute* "CMakeLists.txt"
4958 ;; CMakeLists.txt hard-codes runpath to just the libdir.
4959 ;; Remove it so the configure flag is respected.
4960 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
4963 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4964 ("gobject-introspection" ,gobject-introspection)
4966 ("intltool" ,intltool)
4967 ("pkg-config" ,pkg-config)
4969 ("python" ,python-wrapper)))
4971 ;; These are all in the Requires field of .pc files.
4973 ("libical" ,libical)
4974 ("libsecret" ,libsecret)
4975 ("libsoup" ,libsoup)
4977 ("sqlite" ,sqlite)))
4981 ("gnome-online-accounts" ,gnome-online-accounts)
4982 ("json-glib" ,json-glib)
4983 ("libgweather" ,libgweather)
4984 ("mit-krb5" ,mit-krb5)
4985 ("openldap" ,openldap)
4986 ("webkitgtk" ,webkitgtk)))
4987 (synopsis "Store address books and calendars")
4988 (home-page "https://wiki.gnome.org/Apps/Evolution")
4990 "This package provides a unified backend for programs that work with
4991 contacts, tasks, and calendar information. It was originally developed for
4992 Evolution (hence the name), but is now used by other packages as well.")
4993 (license license:lgpl2.0)))
4995 (define-public caribou
5001 (uri (string-append "mirror://gnome/sources/" name "/"
5002 (version-major+minor version) "/"
5003 name "-" version ".tar.xz"))
5006 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
5007 (build-system glib-or-gtk-build-system)
5010 (modify-phases %standard-phases
5013 (lambda* (#:key outputs #:allow-other-keys)
5014 (let ((out (assoc-ref outputs "out")))
5015 ;; Use absolute shared library path in Caribou-1.0.typelib.
5016 (substitute* "libcaribou/Makefile"
5017 (("--shared-library=libcaribou.so")
5018 (string-append "--shared-library="
5019 out "/lib/libcaribou.so")))
5021 (add-after 'install 'wrap-programs
5022 (lambda* (#:key outputs #:allow-other-keys)
5023 (let* ((out (assoc-ref outputs "out"))
5024 (python-path (getenv "PYTHONPATH"))
5025 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5029 `("PYTHONPATH" ":" prefix (,python-path))
5030 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5031 (list (string-append out "/bin/caribou-preferences")
5032 (string-append out "/libexec/antler-keyboard"))))
5035 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5036 ("gobject-introspection" ,gobject-introspection)
5037 ("intltool" ,intltool)
5038 ("pkg-config" ,pkg-config)
5039 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5041 ("xsltproc" ,libxslt)))
5043 ;; caribou-1.0.pc refers to all these.
5044 `(("libgee" ,libgee)
5045 ("libxklavier" ,libxklavier)
5046 ("libxtst" ,libxtst)
5049 `(("clutter" ,clutter)
5052 ("python-pygobject" ,python2-pygobject)))
5053 (synopsis "Text entry and UI navigation application")
5054 (home-page "https://wiki.gnome.org/Projects/Caribou")
5056 "Caribou is an input assistive technology intended for switch and pointer
5058 (license license:lgpl2.1)))
5060 (define-public network-manager
5062 (name "network-manager")
5066 (uri (string-append "mirror://gnome/sources/NetworkManager/"
5067 (version-major+minor version) "/"
5068 "NetworkManager-" version ".tar.xz"))
5071 "04lj081a5cdkhcnj1xs77chhy08d2h0648kmj1csxp46cfrjwpk2"))
5074 (use-modules (guix build utils))
5075 (substitute* "configure"
5076 ;; Replace libsystemd-login with libelogind.
5077 (("libsystemd-login") "libelogind"))
5078 (substitute* "src/devices/wwan/nm-modem-manager.c"
5079 (("systemd") "elogind"))
5080 (substitute* "src/nm-session-monitor.c"
5081 (("systemd") "elogind"))
5082 (substitute* "./src/nm-logging.c"
5083 (("systemd") "elogind"))
5085 (build-system gnu-build-system)
5087 "doc")) ; 8 MiB of gtk-doc HTML
5090 (let ((out (assoc-ref %outputs "out"))
5091 (doc (assoc-ref %outputs "doc"))
5092 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
5094 (list "--with-systemd-logind=yes" ;In GuixSD, this is provided by elogind.
5095 "--with-consolekit=no"
5096 "--with-crypto=gnutls"
5097 "--disable-config-plugin-ibft"
5099 "--localstatedir=/var"
5100 (string-append "--with-udev-dir="
5102 (string-append "--with-dbus-sys-dir="
5103 out "/etc/dbus-1/system.d")
5104 (string-append "--with-html-dir="
5105 doc "/share/gtk-doc/html")
5106 (string-append "--with-dhclient=" dhclient)))
5108 (modify-phases %standard-phases
5109 (add-before 'configure 'pre-configure
5111 ;; These tests try to test aspects of network-manager's
5112 ;; functionality within restricted containers, but they don't
5113 ;; cope with being already in the Guix build jail as that jail
5114 ;; lacks some features that they would like to proxy over (like
5116 (substitute* '("Makefile.in")
5117 (("src/platform/tests/test-address-linux") " ")
5118 (("src/platform/tests/test-cleanup-linux") " ")
5119 (("src/platform/tests/test-link-linux") " ")
5120 (("src/platform/tests/test-route-linux") " ")
5121 (("src/devices/tests/test-arping") " ")
5122 (("src/devices/tests/test-lldp") " ")
5123 (("src/tests/test-route-manager-linux") " "))
5125 (add-before 'check 'pre-check
5127 ;; For the missing /etc/machine-id.
5128 (setenv "DBUS_FATAL_WARNINGS" "0")
5132 (zero? (system* "make"
5136 "nmstatedir=/tmp/nm"
5141 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
5142 ("gobject-introspection" ,gobject-introspection)
5143 ("docbook-xsl" ,docbook-xsl)
5144 ("intltool" ,intltool)
5145 ("libxslt" ,libxslt)
5146 ("libxml2" ,libxml2)
5147 ("pkg-config" ,pkg-config)
5149 ("python" ,python-wrapper)
5150 ("python-dbus" ,python-dbus)
5151 ("python-pygobject" ,python-pygobject)))
5154 ("cyrus-sasl" ,cyrus-sasl)
5155 ("dbus-glib" ,dbus-glib)
5156 ("dnsmasq" ,dnsmasq)
5159 ("iptables" ,iptables)
5160 ("isc-dhcp" ,isc-dhcp)
5161 ("jansson" ,jansson)
5162 ("libgcrypt" ,libgcrypt)
5163 ("libgudev" ,libgudev)
5166 ("libsoup" ,libsoup)
5167 ("modem-manager" ,modem-manager)
5168 ("newt" ,newt) ;for the 'nmtui' console interface
5171 ("readline" ,readline)
5172 ("util-linux" ,util-linux)
5173 ("elogind" ,elogind)))
5174 (synopsis "Network connection manager")
5175 (home-page "https://www.gnome.org/projects/NetworkManager/")
5177 "NetworkManager is a system network service that manages your network
5178 devices and connections, attempting to keep active network connectivity when
5179 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
5180 devices, and provides VPN integration with a variety of different VPN
5182 (license license:gpl2+)
5183 (properties '((upstream-name . "NetworkManager")))))
5185 (define-public network-manager-openvpn
5187 (name "network-manager-openvpn")
5192 "mirror://gnome/sources/NetworkManager-openvpn/"
5193 (version-major+minor version)
5194 "/NetworkManager-openvpn-" version ".tar.xz"))
5197 "1973n89g66a3jfx8r45a811fga4kadh6r1w35cb25cz1mlii2vhn"))))
5198 (build-system gnu-build-system)
5200 '(#:configure-flags '("--enable-absolute-paths")))
5202 `(("pkg-config" ,pkg-config)
5203 ("intltool" ,intltool)))
5206 ("openvpn" ,openvpn)
5207 ("network-manager" ,network-manager)
5208 ("network-manager-applet" ,network-manager-applet) ;for libnma
5209 ("libsecret" ,libsecret)))
5210 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
5211 (synopsis "OpenVPN plug-in for NetworkManager")
5213 "This extension of NetworkManager allows it to take care of connections
5214 to virtual private networks (VPNs) via OpenVPN.")
5215 (license license:gpl2+)
5216 (properties `((upstream-name . "NetworkManager-openvpn")))))
5218 (define-public mobile-broadband-provider-info
5220 (name "mobile-broadband-provider-info")
5221 (version "20170310")
5225 "mirror://gnome/sources/"
5226 "mobile-broadband-provider-info/" version "/"
5227 "mobile-broadband-provider-info-" version ".tar.xz"))
5230 "0fxm11x8k9hxjg8l5inaldfmmjnwkay3ibjv899jra03bv4h6kql"))))
5231 (build-system gnu-build-system)
5233 `(#:tests? #f)) ; No tests
5234 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
5235 (synopsis "Database of broadband connection configuration")
5236 (description "Database of broadband connection configuration.")
5237 (license license:public-domain)))
5239 (define-public network-manager-applet
5241 (name "network-manager-applet")
5245 (uri (string-append "mirror://gnome/sources/" name "/"
5246 (version-major+minor version) "/"
5247 name "-" version ".tar.xz"))
5250 "0ag3pvjp58ykrzsjfbdxi0j5xd2i796jk7nns67zy03xwg9i0l0h"))))
5251 (build-system glib-or-gtk-build-system)
5252 (arguments '(#:configure-flags '("--disable-migration")))
5254 `(("intltool" ,intltool)
5255 ("gobject-introspection" ,gobject-introspection)
5256 ("pkg-config" ,pkg-config)))
5258 ;; libnm-gtk.pc refers to all these.
5259 `(("dbus-glib" ,dbus-glib)
5261 ("network-manager" ,network-manager)))
5263 `(("iso-codes" ,iso-codes)
5264 ("libgudev" ,libgudev)
5265 ("libnotify" ,libnotify)
5266 ("libsecret" ,libsecret)
5267 ("libselinux" ,libselinux)
5268 ("jansson" ,jansson) ; for team support
5269 ("modem-manager" ,modem-manager)))
5270 (synopsis "Applet for managing network connections")
5271 (home-page "https://www.gnome.org/projects/NetworkManager/")
5273 "This package contains a systray applet for NetworkManager. It displays
5274 the available networks and allows users to easily switch between them.")
5275 (license license:gpl2+)))
5277 (define-public libxml++
5283 (uri (string-append "mirror://gnome/sources/" name "/"
5284 (version-major+minor version) "/"
5285 name "-" version ".tar.xz"))
5288 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
5289 (build-system gnu-build-system)
5290 ;; libxml++-3.0.pc refers to all these.
5292 `(("libxml2" ,libxml2)
5293 ("glibmm" ,glibmm)))
5296 ("pkg-config" ,pkg-config)))
5297 (home-page "http://libxmlplusplus.sourceforge.net/")
5298 (synopsis "C++ wrapper for XML parser library libxml2")
5300 "This package provides a C++ wrapper for the XML parser library
5302 (license license:lgpl2.1+)))
5304 (define-public libxml++-2
5311 (uri (string-append "mirror://gnome/sources/" name "/"
5312 (version-major+minor version) "/"
5313 name "-" version ".tar.xz"))
5316 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
5321 (version "3.26.2.1")
5324 (uri (string-append "mirror://gnome/sources/" name "/"
5325 (version-major+minor version) "/"
5326 name "-" version ".tar.xz"))
5327 (patches (search-patches "gdm-CVE-2018-14424.patch"))
5330 "0mxdal6hh345xk2xqmw5192jgpprkbcv1d4bwmnl4arcc00cpp8p"))))
5331 (build-system glib-or-gtk-build-system)
5334 `("--without-plymouth"
5335 "--disable-systemd-journal"
5337 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
5338 ;; instead of having to replace it (i.e., stopping the mingetty
5339 ;; service for TTY 1 before starting GDM).
5340 "--with-initial-vt=7"
5342 ;; By default, GDM expects distributions to install a custom Xsession
5343 ;; script. It provides a generic one if --enable-gdm-xsession is set.
5344 "--enable-gdm-xsession"
5346 ;; Use '/etc/environment' for locale settings instead of the
5347 ;; systemd-specific '/etc/locale.conf'.
5348 "--with-lang-file=/etc/environment"
5350 "--localstatedir=/var"
5351 ,(string-append "--with-default-path="
5352 (string-join '("/run/setuid-programs"
5353 "/run/current-system/profile/bin"
5354 "/run/current-system/profile/sbin")
5356 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
5357 ;; XDG_DATA_DIRS so that it finds its schemas.
5358 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
5360 (modify-phases %standard-phases
5362 'configure 'pre-configure
5364 ;; We don't have <systemd/sd-daemon.h>.
5365 (substitute* '("common/gdm-log.c"
5366 "daemon/gdm-server.c"
5367 "daemon/gdm-session-worker.c"
5368 "daemon/gdm-session-worker-job.c")
5369 (("#include <systemd/sd-daemon\\.h>") ""))
5370 ;; Use elogind for sd-login.
5371 (substitute* '("common/gdm-common.c"
5372 "daemon/gdm-manager.c"
5373 "libgdm/gdm-user-switching.c")
5374 (("#include <systemd/sd-login\\.h>")
5375 "#include <elogind/sd-login.h>"))
5376 ;; Check for elogind.
5377 (substitute* '("configure")
5380 ;; Look for system-installed sessions in
5381 ;; /run/current-system/profile/share.
5382 (substitute* '("libgdm/gdm-sessions.c"
5383 "daemon/gdm-session.c"
5384 "daemon/gdm-display.c"
5385 "daemon/gdm-launch-environment.c")
5387 "\"/run/current-system/profile/share/x")
5388 (("DATADIR \"/wayland")
5389 "\"/run/current-system/profile/share/wayland")
5390 (("DATADIR \"/gnome")
5391 "\"/run/current-system/profile/share/gnome"))
5392 (substitute* '("daemon/gdm-session.c")
5393 (("set_up_session_environment \\(self\\);")
5395 "set_up_session_environment (self);\n"
5396 ;; Propagate GDM_X_SERVER environment variable (which is set
5397 ;; by the GDM service, as it's a function of what X modules
5398 ;; the user decides to have available) down to worker
5400 "gdm_session_set_environment_variable (self, \"GDM_X_SERVER\",\n"
5401 " g_getenv (\"GDM_X_SERVER\"));\n"
5402 ;; FIXME: Really glib should be declaring XDG_CONFIG_DIRS as a
5403 ;; variable, but it doesn't do that right now. Anyway
5404 ;; /run/current-system/profile/share/gnome-session/sessions/gnome.desktop
5405 ;; requires that a number of .desktop files be present, and
5406 ;; these special .desktop files are in $XDG_CONFIG_DIRS (which
5407 ;; defaults to /etc/xdg if it's not set). Here we need to
5408 ;; provide a value such that the GNOME session's requirements
5409 ;; are met (provided GNOME is installed of course).
5410 "gdm_session_set_environment_variable (self, \"XDG_CONFIG_DIRS\",\n"
5411 " \"/run/current-system/profile/etc/xdg\");\n"
5412 ;; The session bus (which GDM will initialize from the this
5413 ;; session environment) needs to know where to find the system
5415 "gdm_session_set_environment_variable (self, \"XDG_DATA_DIRS\",\n"
5416 " \"/run/current-system/profile/share\");\n"
5418 ;; Look for custom GDM conf in /run/current-system.
5419 (substitute* '("common/gdm-settings-desktop-backend.c")
5420 (("GDM_CUSTOM_CONF")
5421 "\"/run/current-system/etc/gdm/custom.conf\""))
5422 ;; Use service-supplied path to X.
5423 (substitute* '("daemon/gdm-server.c")
5424 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
5425 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
5426 (substitute* '("daemon/gdm-x-session.c")
5428 "g_getenv (\"GDM_X_SERVER\")"))
5432 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5433 ("gobject-introspection" ,gobject-introspection)
5434 ("intltool" ,intltool)
5435 ("itstool" ,itstool)
5436 ("pkg-config" ,pkg-config)
5437 ("xmllint" ,libxml2)))
5439 `(("accountsservice" ,accountsservice)
5440 ("check" ,check) ; for testing
5441 ("elogind" ,elogind)
5443 ("iso-codes" ,iso-codes)
5444 ("libcanberra" ,libcanberra)
5445 ("linux-pam" ,linux-pam)))
5446 (synopsis "Display manager for GNOME")
5447 (home-page "https://wiki.gnome.org/Projects/GDM/")
5449 "GNOME Display Manager is a system service that is responsible for
5450 providing graphical log-ins and managing local and remote displays.")
5451 (license license:gpl2+)))
5453 (define-public libgtop
5459 (uri (string-append "mirror://gnome/sources/" name "/"
5460 (version-major+minor version) "/"
5461 name "-" version ".tar.xz"))
5464 "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g"))))
5465 (build-system gnu-build-system)
5467 `(("gobject-introspection" ,gobject-introspection)
5468 ("intltool" ,intltool)
5470 ("pkg-config" ,pkg-config)))
5472 `(("glib" ,glib))) ; required by libgtop-2.0.pc
5473 (synopsis "Portable system access library")
5474 (home-page "https://www.gnome.org/")
5476 "LibGTop is a library to get system specific data such as CPU and memory
5477 usage and information about running processes.")
5478 (license license:gpl2+)))
5480 (define-public gnome-bluetooth
5482 (name "gnome-bluetooth")
5486 (uri (string-append "mirror://gnome/sources/" name "/"
5487 (version-major+minor version) "/"
5488 name "-" version ".tar.xz"))
5491 "1zlqcz6jz4vzzr8gd1678i9s4015kiwcpr5szrwz4kmryfsm147a"))))
5492 (build-system glib-or-gtk-build-system)
5494 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5495 ("gobject-introspection" ,gobject-introspection)
5496 ("intltool" ,intltool)
5497 ("pkg-config" ,pkg-config)
5498 ("xmllint" ,libxml2)))
5500 ;; gnome-bluetooth-1.0.pc refers to all these.
5504 `(("libcanberra" ,libcanberra)
5505 ("libnotify" ,libnotify)))
5506 (synopsis "GNOME Bluetooth subsystem")
5507 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
5509 "This package contains tools for managing and manipulating Bluetooth
5510 devices using the GNOME desktop.")
5511 (license license:lgpl2.1+)))
5513 (define-public gnome-control-center
5515 (name "gnome-control-center")
5519 (uri (string-append "mirror://gnome/sources/" name "/"
5520 (version-major+minor version) "/"
5521 name "-" version ".tar.xz"))
5524 "18ncjqjj93a39sla2zjr9i6pw59yh87p4jla899lmvi2qajd5923"))))
5525 (build-system glib-or-gtk-build-system)
5528 (modify-phases %standard-phases
5529 (add-before 'configure 'patch-paths
5530 (lambda* (#:key inputs #:allow-other-keys)
5531 (let ((libc (assoc-ref inputs "libc"))
5532 (tzdata (assoc-ref inputs "tzdata")))
5533 (substitute* "panels/datetime/tz.h"
5534 (("/usr/share/zoneinfo/zone.tab")
5535 (string-append tzdata "/share/zoneinfo/zone.tab")))
5536 (substitute* "panels/datetime/test-endianess.c"
5537 (("/usr/share/locale")
5538 (string-append libc "/share/locale")))
5541 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5542 ("intltool" ,intltool)
5543 ("pkg-config" ,pkg-config)
5544 ("xsltproc" ,libxslt)))
5546 `(("accountsservice" ,accountsservice)
5547 ("clutter-gtk" ,clutter-gtk)
5548 ("colord-gtk" ,colord-gtk)
5551 ("docbook-xsl" ,docbook-xsl)
5552 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
5553 ("gnome-bluetooth" ,gnome-bluetooth)
5554 ("gnome-desktop" ,gnome-desktop)
5555 ("gnome-online-accounts" ,gnome-online-accounts)
5556 ("gnome-settings-daemon" ,gnome-settings-daemon)
5559 ("libcanberra" ,libcanberra)
5560 ("libgudev" ,libgudev)
5561 ("libgtop" ,libgtop)
5562 ("libpwquality" ,libpwquality)
5563 ("libsoup" ,libsoup)
5564 ("libxml2" ,libxml2)
5565 ("libwacom" ,libwacom)
5567 ("mit-krb5" ,mit-krb5)
5568 ("modem-manager" ,modem-manager)
5569 ("network-manager-applet" ,network-manager-applet)
5571 ("pulseaudio" ,pulseaudio)
5572 ("smbclient" ,samba)
5574 ("upower" ,upower)))
5575 (synopsis "Utilities to configure the GNOME desktop")
5576 (home-page "https://www.gnome.org/")
5578 "This package contains configuration applets for the GNOME desktop,
5579 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
5580 properties, sound setup, desktop theme and background, user interface
5581 properties, screen resolution, and other GNOME parameters.")
5582 (license license:gpl2+)))
5584 (define-public gnome-shell
5586 (name "gnome-shell")
5590 (uri (string-append "mirror://gnome/sources/" name "/"
5591 (version-major+minor version) "/"
5592 name "-" version ".tar.xz"))
5595 "1f20x36ymkp1j667hb7s7byly2gqc4m0anldy3qwp38vm8437caq"))))
5596 (build-system glib-or-gtk-build-system)
5599 (modify-phases %standard-phases
5601 (lambda* (#:key outputs #:allow-other-keys)
5602 (let* ((out (assoc-ref outputs "out"))
5603 (keysdir (string-append
5604 out "/share/gnome-control-center/keybindings")))
5605 (zero? (system* "make"
5606 (string-append "keysdir=" keysdir)
5609 'install 'wrap-programs
5610 (lambda* (#:key outputs #:allow-other-keys)
5611 (let ((out (assoc-ref outputs "out"))
5612 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5613 (python-path (getenv "PYTHONPATH")))
5614 (wrap-program (string-append out "/bin/gnome-shell")
5615 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
5618 (wrap-program (string-append out "/bin/" prog)
5619 `("PYTHONPATH" ":" prefix (,python-path))
5620 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5621 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
5624 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5625 ("gobject-introspection" ,gobject-introspection)
5626 ("intltool" ,intltool)
5627 ("pkg-config" ,pkg-config)
5629 ("xsltproc" ,libxslt)))
5631 `(("accountsservice" ,accountsservice)
5632 ("caribou" ,caribou)
5633 ("docbook-xsl" ,docbook-xsl)
5634 ("evolution-data-server" ,evolution-data-server)
5638 ("gnome-bluetooth" ,gnome-bluetooth)
5639 ("gnome-control-center" ,gnome-control-center)
5640 ("gnome-desktop" ,gnome-desktop)
5641 ("gnome-settings-daemon" ,gnome-settings-daemon)
5642 ("gst-plugins-base" ,gst-plugins-base)
5644 ("libcanberra" ,libcanberra)
5645 ("libcroco" ,libcroco)
5646 ("libgweather" ,libgweather)
5647 ("libsoup" ,libsoup)
5648 ("mesa-headers" ,mesa-headers)
5650 ("network-manager-applet" ,network-manager-applet)
5652 ("pulseaudio" ,pulseaudio)
5653 ("python-pygobject" ,python-pygobject)
5654 ("startup-notification" ,startup-notification)
5655 ("telepathy-logger" ,telepathy-logger)
5657 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
5658 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
5659 ("librsvg" ,librsvg)
5660 ("geoclue" ,geoclue)
5661 ;; XXX: required by libgjs.la.
5662 ("readline" ,readline)))
5663 (synopsis "Desktop shell for GNOME")
5664 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
5666 "GNOME Shell provides core user interface functions for the GNOME desktop,
5667 like switching to windows and launching applications.")
5668 (license license:gpl2+)))
5670 (define-public gtk-vnc
5677 (uri (string-append "mirror://gnome/sources/" name "/"
5678 (version-major+minor version) "/"
5679 name "-" version ".tar.xz"))
5682 "1cdaywj5lqnl5b22qzd7k7lmacsnmk8b8rc4drk6gvqmcrlsljzk"))))
5683 (build-system gnu-build-system)
5685 '(#:configure-flags '("--with-gtk=3.0")))
5687 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
5689 `(("cyrus-sasl" ,cyrus-sasl)
5691 ("libgcrypt" ,libgcrypt)
5692 ("pulseaudio" ,pulseaudio)))
5694 `(("glib:bin" ,glib "bin")
5695 ("gobject-introspection" ,gobject-introspection)
5696 ("intltool" ,intltool)
5697 ("pkg-config" ,pkg-config)
5698 ("python-wrapper" ,python-wrapper)
5700 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
5701 (synopsis "VNC viewer widget for GTK+")
5703 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
5704 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
5705 GTK-VNC implements client side RFB protocol and authentication extensions such
5706 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
5707 (license license:lgpl2.1+)))
5709 (define-public gnome-autoar
5711 (name "gnome-autoar")
5715 (uri (string-append "mirror://gnome/sources/" name "/"
5716 (version-major+minor version) "/"
5717 name "-" version ".tar.xz"))
5720 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
5721 (build-system glib-or-gtk-build-system)
5723 `(("gnome-common" ,gnome-common)
5724 ("gobject-introspection" ,gobject-introspection)
5725 ("pkg-config" ,pkg-config)))
5727 `(("libarchive" ,libarchive))) ; XXX document why
5730 ("nettle" ,nettle))) ; XXX: required by libarchive.pc
5731 (synopsis "Archives integration support for GNOME")
5732 (home-page "https://git.gnome.org/browse/gnome-autoar/")
5734 "GNOME Autoar is a library which makes creating and extracting archives
5735 easy, safe, and automatic.")
5736 (license license:lgpl2.1+)))
5738 (define-public tracker
5744 (uri (string-append "mirror://gnome/sources/" name "/"
5745 (version-major+minor version) "/"
5746 name "-" version ".tar.xz"))
5749 "1mpq418lzba7fad0w0m3bnxvz3khf461b5zya8zmq5n1g0w99ki3"))))
5750 (build-system glib-or-gtk-build-system)
5752 `(("gnome-common" ,gnome-common)
5753 ("gobject-introspection" ,gobject-introspection)
5754 ("intltool" ,intltool)
5755 ("pkg-config" ,pkg-config)
5760 ("gstreamer" ,gstreamer)
5761 ("gst-plugins-base" ,gst-plugins-base)
5762 ("sqlite" ,sqlite-with-fts5)
5763 ("nettle" ,nettle) ; XXX why is this needed?
5764 ("poppler" ,poppler)
5766 ("libexif" ,libexif)
5768 ("libtiff" ,libtiff)
5769 ("libvorbis" ,libvorbis)
5771 ("totem-pl-parser" ,totem-pl-parser)
5774 ("libxml2" ,libxml2)
5776 ("libunistring" ,libunistring)
5778 ("json-glib" ,json-glib)
5779 ("openjpeg" ,openjpeg-1)
5780 ("libosinfo" ,libosinfo)
5782 ("libseccomp" ,libseccomp)
5783 ("libsoup" ,libsoup)
5784 ("libuuid" ,util-linux)))
5785 (arguments `(#:tests? #f)) ; XXX FIXME enable tests (some fail)
5786 (synopsis "Metadata database, indexer and search tool")
5787 (home-page "https://wiki.gnome.org/Projects/Tracker")
5789 "Tracker is an advanced framework for first class objects with associated
5790 metadata and tags. It provides a one stop solution for all metadata, tags,
5791 shared object databases, search tools and indexing.")
5792 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
5793 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
5794 (license (list license:gpl2+
5796 license:lgpl2.0+))))
5798 (define-public nautilus
5804 (uri (string-append "mirror://gnome/sources/" name "/"
5805 (version-major+minor version) "/"
5806 name "-" version ".tar.xz"))
5809 "1d0l4vgcjqj4671hb6s2a56baqlasbxn3wl6vfrpdsk5qq299jbr"))))
5810 (build-system meson-build-system)
5813 ;; XXX: FAIL: check-nautilus
5814 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
5817 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5818 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5819 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5820 ("gobject-introspection" ,gobject-introspection)
5821 ("intltool" ,intltool)
5822 ("pkg-config" ,pkg-config)))
5827 ("gnome-desktop" ,gnome-desktop)
5828 ("gnome-autoar" ,gnome-autoar)
5829 ("libselinux" ,libselinux)
5830 ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar
5831 ("tracker" ,tracker)
5832 ;; XXX: gtk+ is required by libnautilus-extension.pc
5834 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
5836 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
5838 ("libexif" ,libexif)
5839 ("libxml2" ,libxml2)))
5840 (synopsis "File manager for GNOME")
5841 (home-page "https://wiki.gnome.org/Apps/Nautilus")
5843 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
5844 design and behaviour, giving the user a simple way to navigate and manage its
5846 (license license:gpl2+)))
5848 (define-public baobab
5855 "mirror://gnome/sources/" name "/"
5856 (version-major+minor version) "/"
5857 name "-" version ".tar.xz"))
5860 "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk"))))
5861 (build-system meson-build-system)
5863 '(#:glib-or-gtk? #t))
5865 `(("intltool" ,intltool)
5866 ("pkg-config" ,pkg-config)
5867 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5868 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
5869 ("itstool" ,itstool)
5870 ("xmllint" ,libxml2)
5871 ("glib" ,glib "bin")
5875 (synopsis "Disk usage analyzer for GNOME")
5877 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
5878 usage in the GNOME desktop environment. It can easily scan device volumes or
5879 a specific user-requested directory branch (local or remote). Once the scan
5880 is complete it provides a graphical representation of each selected folder.")
5881 (home-page "https://wiki.gnome.org/Apps/Baobab")
5882 (license license:gpl2+)))
5884 (define-public gnome-backgrounds
5886 (name "gnome-backgrounds")
5891 (uri (string-append "mirror://gnome/sources/" name "/"
5892 (version-major+minor version) "/"
5893 name "-" version ".tar.xz"))
5896 "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj"))))
5897 (build-system meson-build-system)
5899 `(("intltool" ,intltool)))
5900 (home-page "https://git.gnome.org/browse/gnome-backgrounds")
5901 (synopsis "Background images for the GNOME desktop")
5903 "GNOME backgrounds package contains a collection of graphics files which
5904 can be used as backgrounds in the GNOME Desktop environment. Additionally,
5905 the package creates the proper framework and directory structure so that you
5906 can add your own files to the collection.")
5907 (license (list license:gpl2+
5910 license:cc-by-sa3.0))))
5912 (define-public gnome-screenshot
5914 (name "gnome-screenshot")
5919 (uri (string-append "mirror://gnome/sources/" name "/"
5920 (version-major+minor version) "/"
5921 name "-" version ".tar.xz"))
5924 "0c02n1hgv21m4082jx399b1yazsc0cr07ba8k0pv8v3w7i5z21ca"))))
5925 (build-system glib-or-gtk-build-system)
5927 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5928 ("intltool" ,intltool)
5929 ("pkg-config" ,pkg-config)))
5932 ("libcanberra" ,libcanberra)
5934 ("libxext" ,libxext)))
5935 (home-page "https://git.gnome.org/browse/gnome-screenshot")
5936 (synopsis "Take pictures of your screen")
5938 "GNOME Screenshot is a utility used for taking screenshots of the entire
5939 screen, a window or a user defined area of the screen, with optional
5940 beautifying border effects.")
5941 (license license:gpl2+)))
5943 (define-public dconf-editor
5945 (name "dconf-editor")
5950 (uri (string-append "mirror://gnome/sources/" name "/"
5951 (version-major+minor version) "/"
5952 name "-" version ".tar.xz"))
5955 "1lcarg8igsqpq4iv5834mf9kz4cmfhfw11bwy3x7v7f497z57d18"))))
5956 (build-system glib-or-gtk-build-system)
5959 (modify-phases %standard-phases
5960 (add-before 'install 'skip-gtk-update-icon-cache
5962 ;; Don't create 'icon-theme.cache'.
5963 (substitute* "editor/Makefile"
5964 (("gtk-update-icon-cache") "true"))
5967 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
5968 ("intltool" ,intltool)
5969 ("pkg-config" ,pkg-config)))
5973 ("libxml2" ,libxml2)))
5974 (home-page "https://git.gnome.org/browse/dconf-editor")
5975 (synopsis "Graphical editor for GNOME's dconf configuration system")
5977 "Dconf-editor is a graphical tool for browsing and editing the dconf
5978 configuration system for GNOME. It allows users to configure desktop
5979 software that do not provide their own configuration interface.")
5980 (license license:lgpl2.1+)))
5982 (define-public gnome-default-applications
5984 (name "gnome-default-applications")
5986 (build-system trivial-build-system)
5989 `(("nautilus" ,nautilus)
5990 ("evince" ,evince)))
5992 `(#:modules ((guix build utils))
5995 (use-modules (guix build utils))
5996 (let* ((out (assoc-ref %outputs "out"))
5997 (apps (string-append out "/share/applications")))
5999 (call-with-output-file (string-append apps "/defaults.list")
6001 (format port "[Default Applications]\n")
6002 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
6003 (format port "application/pdf=evince.desktop\n")
6004 (format port "application/postscript=evince.desktop\n")))
6006 (synopsis "Default MIME type associations for the GNOME desktop")
6008 "Given many installed packages which might handle a given MIME type, a
6009 user running the GNOME desktop probably has some preferences: for example,
6010 that folders be opened by default by the Nautilus file manager, not the Baobab
6011 disk usage analyzer. This package establishes that set of default MIME type
6012 associations for GNOME.")
6013 (license license:gpl3+)
6016 (define-public gnome
6019 (version (package-version gnome-shell))
6021 (build-system trivial-build-system)
6022 (arguments '(#:builder (begin (mkdir %output) #t)))
6024 ;; TODO: Add more packages according to:
6025 ;; <https://packages.debian.org/jessie/gnome-core>.
6026 `(("adwaita-icon-theme" ,adwaita-icon-theme)
6028 ("font-cantarell" ,font-cantarell)
6029 ("font-dejavu" ,font-dejavu)
6030 ("at-spi2-core" ,at-spi2-core)
6033 ("desktop-file-utils" ,desktop-file-utils)
6035 ("epiphany" ,epiphany)
6037 ("file-roller" ,file-roller)
6039 ("glib-networking" ,glib-networking)
6040 ("gnome-backgrounds" ,gnome-backgrounds)
6041 ("gnome-bluetooth" ,gnome-bluetooth)
6042 ("gnome-calculator" ,gnome-calculator)
6043 ("gnome-control-center" ,gnome-control-center)
6044 ("gnome-disk-utility" ,gnome-disk-utility)
6045 ("gnome-default-applications" ,gnome-default-applications)
6046 ("gnome-keyring" ,gnome-keyring)
6047 ("gnome-online-accounts" ,gnome-online-accounts)
6048 ("gnome-session" ,gnome-session)
6049 ("gnome-settings-daemon" ,gnome-settings-daemon)
6050 ("gnome-shell" ,gnome-shell)
6051 ("gnome-system-monitor" ,gnome-system-monitor)
6052 ("gnome-terminal" ,gnome-terminal)
6053 ("gnome-themes-standard" ,gnome-themes-standard)
6054 ("gst-plugins-base" ,gst-plugins-base)
6055 ("gst-plugins-good" ,gst-plugins-good)
6056 ("gucharmap" ,gucharmap)
6058 ("hicolor-icon-theme" ,hicolor-icon-theme)
6059 ("nautilus" ,nautilus)
6060 ("pinentry-gnome3" ,pinentry-gnome3)
6061 ("pulseaudio" ,pulseaudio)
6062 ("shared-mime-info" ,shared-mime-info)
6064 ("xdg-user-dirs" ,xdg-user-dirs)
6066 ("zenity" ,zenity)))
6067 (synopsis "The GNU desktop environment")
6068 (home-page "https://www.gnome.org/")
6070 "GNOME is the graphical desktop for GNU. It includes a wide variety of
6071 applications for browsing the web, editing text and images, creating
6072 documents and diagrams, playing media, scanning, and much more.")
6073 (license license:gpl2+)))
6075 (define-public byzanz
6076 ;; The last stable release of Byzanz was in 2011, but there have been many
6077 ;; useful commits made to the Byzanz repository since then that it would be
6078 ;; silly to use such an old release.
6079 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
6082 (version (string-append "0.2-1." (string-take commit 7)))
6086 (url "https://git.gnome.org/browse/byzanz")
6088 (file-name (string-append name "-" version "-checkout"))
6091 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
6092 (build-system glib-or-gtk-build-system)
6095 (modify-phases %standard-phases
6098 ;; The build system cleverly detects that we're not building from
6099 ;; a release tarball and turns on -Werror for GCC.
6100 ;; Unsurprisingly, there is a warning during compilation that
6101 ;; causes the build to fail unnecessarily, so we remove the flag.
6102 (substitute* '("configure.ac")
6104 ;; The autogen.sh script in gnome-common will run ./configure
6105 ;; by default, which is problematic because source shebangs
6106 ;; have not yet been patched.
6107 (setenv "NOCONFIGURE" "t")
6108 (zero? (system* "sh" "autogen.sh")))))))
6110 `(("autoconf" ,autoconf)
6111 ("automake" ,automake)
6112 ("gnome-common" ,gnome-common)
6113 ("intltool" ,intltool)
6114 ("libtool" ,libtool)
6115 ("pkg-config" ,pkg-config)
6119 ("gstreamer" ,gstreamer)
6120 ("gst-plugins-base" ,gst-plugins-base)
6122 (synopsis "Desktop recording program")
6123 (description "Byzanz is a simple desktop recording program with a
6124 command-line interface. It can record part or all of an X display for a
6125 specified duration and save it as a GIF encoded animated image file.")
6126 (home-page "https://git.gnome.org/browse/byzanz")
6127 (license license:gpl2+))))
6129 (define-public gsound
6135 (uri (string-append "mirror://gnome/sources/" name "/"
6136 (version-major+minor version) "/"
6137 name "-" version ".tar.xz"))
6140 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
6141 (build-system glib-or-gtk-build-system)
6143 `(("pkg-config" ,pkg-config)
6144 ("gobject-introspection" ,gobject-introspection)
6148 ("libcanberra" ,libcanberra)))
6149 (home-page "https://wiki.gnome.org/Projects/GSound")
6150 (synopsis "GObject wrapper for libcanberra")
6152 "GSound is a small library for playing system sounds. It's designed to be
6153 used via GObject Introspection, and is a thin wrapper around the libcanberra C
6155 (license license:lgpl2.1+)))
6157 (define-public libzapojit
6163 (uri (string-append "mirror://gnome/sources/" name "/"
6164 (version-major+minor version) "/"
6165 name "-" version ".tar.xz"))
6168 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
6169 (build-system gnu-build-system)
6171 `(("gobject-introspection" ,gobject-introspection)
6172 ("intltool" ,intltool)
6173 ("pkg-config" ,pkg-config)))
6175 `(("gnome-online-accounts" ,gnome-online-accounts)
6176 ("json-glib" ,json-glib)
6178 (home-page "https://wiki.gnome.org/Projects/Zapojit")
6179 (synopsis "Library for accessing SkyDrive and Hotmail")
6181 "Libzapojit is a GLib-based library for accessing online service APIs of
6182 Microsoft SkyDrive and Hotmail, using their REST protocols.")
6183 (license license:lgpl2.1+)))
6185 (define-public gnome-clocks
6187 (name "gnome-clocks")
6191 (uri (string-append "mirror://gnome/sources/" name "/"
6192 (version-major+minor version) "/"
6193 name "-" version ".tar.xz"))
6196 "1xqirnf7xkiv5vj3ng4slpyh50ihn625vhdgskfzx83a3pgxin1b"))))
6197 (build-system meson-build-system)
6199 '(#:glib-or-gtk? #t))
6202 ("pkg-config" ,pkg-config)
6203 ("glib" ,glib "bin") ; for glib-compile-resources
6204 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6205 ("desktop-file-utils" ,desktop-file-utils)
6206 ("gettext" ,gettext-minimal)
6207 ("itstool" ,itstool)))
6212 ("geoclue" ,geoclue)
6213 ("geocode-glib" ,geocode-glib)
6214 ("libgweather" ,libgweather)
6215 ("gnome-desktop" ,gnome-desktop)))
6216 (home-page "https://wiki.gnome.org/Apps/Clocks")
6217 (synopsis "GNOME's clock application")
6219 "GNOME Clocks is a simple clocks application designed to fit the GNOME
6220 desktop. It supports world clock, stop watch, alarms, and count down timer.")
6221 (license license:gpl3+)))
6223 (define-public gnome-calendar
6225 (name "gnome-calendar")
6229 (uri (string-append "mirror://gnome/sources/" name "/"
6230 (version-major+minor version) "/"
6231 name "-" version ".tar.xz"))
6234 "1clnfvvsaqw9vpxrs6qrxzmgpaw9x2nkjik2x2vwvm07pdvhddxn"))))
6235 (build-system meson-build-system)
6238 ;; gnome-calendar has to be installed before the tests can be run
6239 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
6242 `(("gettext" ,gettext-minimal)
6243 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
6244 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6245 ("pkg-config" ,pkg-config)))
6247 `(("evolution-data-server" ,evolution-data-server)
6248 ("gnome-online-accounts" ,gnome-online-accounts)
6249 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6250 (home-page "https://wiki.gnome.org/Apps/Calendar")
6251 (synopsis "GNOME's calendar application")
6253 "GNOME Calendar is a simple calendar application designed to fit the GNOME
6254 desktop. It supports multiple calendars, month, week and year view.")
6255 (license license:gpl3+)))
6257 (define-public gnome-todo
6263 (uri (string-append "mirror://gnome/sources/" name "/"
6264 (version-major+minor version) "/"
6265 name "-" version ".tar.xz"))
6266 (patches (search-patches "gnome-todo-libical-compat.patch"))
6269 "106xx1w18pxjmj5k0k2qjzi6b3c3kaz7b5kyrpknykibnr401ff9"))))
6270 (build-system meson-build-system)
6273 #:phases (modify-phases %standard-phases
6275 'install 'wrap-gnome-todo
6276 (lambda* (#:key inputs outputs #:allow-other-keys)
6277 (let ((out (assoc-ref outputs "out"))
6278 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6279 (python-path (getenv "PYTHONPATH")))
6280 (wrap-program (string-append out "/bin/gnome-todo")
6281 ;; XXX: gi plugins are broken.
6282 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
6284 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6285 `("PYTHONPATH" ":" prefix (,python-path))))
6288 `(("gettext" ,gettext-minimal)
6289 ("gobject-introspection" ,gobject-introspection)
6290 ("glib:bin" ,glib "bin") ; For glib-compile-resources
6291 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6292 ("pkg-config" ,pkg-config)))
6294 `(("rest" ,rest) ; For Todoist plugin
6295 ("json-glib" ,json-glib) ; For Todoist plugin
6296 ("libical" ,libical)
6297 ("libpeas" ,libpeas)
6298 ("python-pygobject" ,python-pygobject)
6299 ("evolution-data-server" ,evolution-data-server)
6300 ("gnome-online-accounts" ,gnome-online-accounts)
6301 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
6302 (home-page "https://wiki.gnome.org/Apps/Todo")
6303 (synopsis "GNOME's ToDo Application")
6305 "GNOME To Do is a simplistic personal task manager designed to perfectly
6306 fit the GNOME desktop.")
6307 (license license:gpl3+)))
6309 (define-public gnome-dictionary
6311 (name "gnome-dictionary")
6315 (uri (string-append "mirror://gnome/sources/" name "/"
6316 (version-major+minor version) "/"
6317 name "-" version ".tar.xz"))
6320 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
6321 (build-system meson-build-system)
6322 (arguments '(#:glib-or-gtk? #t
6323 #:phases (modify-phases %standard-phases
6324 (add-after 'unpack 'patch-install-script
6326 ;; This script attempts to compile glib schemas
6327 ;; and create an empty MIME database. We do
6328 ;; that elsewhere, so prevent it from running.
6329 (substitute* "build-aux/post-install.sh"
6330 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
6333 `(("glib:bin" ,glib "bin")
6334 ("gobject-introspection" ,gobject-introspection)
6335 ("intltool" ,intltool)
6336 ("itstool" ,itstool)
6337 ("pkg-config" ,pkg-config)
6338 ("xmllint" ,libxml2)))
6340 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6342 (home-page "https://wiki.gnome.org/Apps/Dictionary")
6343 (synopsis "Look up words in dictionary sources")
6345 "GNOME Dictionary can look for the definition or translation of a word in
6346 existing databases over the internet.")
6347 (license license:gpl3+)))
6349 (define-public gnome-tweak-tool
6351 (name "gnome-tweak-tool")
6355 (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
6356 (version-major+minor version) "/"
6357 "gnome-tweak-tool-" version ".tar.xz"))
6359 (search-patch "gnome-tweak-tool-search-paths.patch")))
6362 "1pq5a0kzh1sz7s7ax5c7p6212k9d51nk5bfvjfyqn99cs928187x"))))
6363 (build-system glib-or-gtk-build-system)
6365 `(#:configure-flags '("--localstatedir=/tmp"
6366 "--sysconfdir=/tmp")
6367 #:imported-modules ((guix build python-build-system)
6368 ,@%glib-or-gtk-build-system-modules)
6369 #:phases (modify-phases %standard-phases
6372 (lambda* (#:key outputs #:allow-other-keys)
6373 (invoke "meson" "build"
6374 "--prefix" (assoc-ref outputs "out"))))
6376 (lambda _ (invoke "ninja" "-C" "build" "test")))
6378 (lambda* (#:key outputs #:allow-other-keys)
6379 (invoke "ninja" "-C" "build" "install")))
6380 (add-after 'install 'wrap-program
6381 (lambda* (#:key outputs #:allow-other-keys)
6382 (let ((out (assoc-ref outputs "out"))
6383 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6384 (wrap-program (string-append out "/bin/gnome-tweak-tool")
6385 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6387 (add-after 'install 'wrap
6388 (@@ (guix build python-build-system) wrap)))))
6390 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
6391 ("intltool" ,intltool)
6392 ("meson" ,meson-for-build)
6394 ("pkg-config" ,pkg-config)))
6396 `(("gnome-desktop" ,gnome-desktop)
6398 ("gobject-introspection" ,gobject-introspection)
6399 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6400 ("libnotify" ,libnotify)
6401 ("libsoup" ,libsoup)
6402 ("nautilus" ,nautilus)
6404 ("python-pygobject" ,python-pygobject)))
6405 (synopsis "Customize advanced GNOME 3 options")
6406 (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
6408 "GNOME Tweak Tool allows adjusting advanced configuration settings in
6409 GNOME 3. This includes things like the fonts used in user interface elements,
6410 alternative user interface themes, changes in window management behavior,
6411 GNOME Shell appearance and extension, etc.")
6412 (license license:gpl3+)))
6414 (define-public gnome-shell-extensions
6416 (name "gnome-shell-extensions")
6420 (uri (string-append "mirror://gnome/sources/" name "/"
6421 (version-major+minor version) "/"
6422 name "-" version ".tar.xz"))
6425 "0y8anpp9ymp0lxn15w63ra6zxxf8nvbl48xqkvqdjzida73fyz9w"))))
6426 (build-system gnu-build-system)
6428 '(#:configure-flags '("--enable-extensions=all")))
6430 `(("intltool" ,intltool)
6431 ("pkg-config" ,pkg-config)))
6434 ("glib" ,glib "bin")))
6435 (synopsis "Extensions for GNOME Shell")
6436 (description "GNOME Shell extensions modify and extend GNOME Shell
6437 functionality and behavior.")
6438 (home-page "https://extensions.gnome.org/")
6439 (license license:gpl3+)))
6441 (define-public arc-theme
6444 (version "20181022")
6448 (url "https://github.com/NicoHood/arc-theme.git")
6450 (file-name (git-file-name name version))
6453 "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663"))))
6454 (build-system gnu-build-system)
6457 (modify-phases %standard-phases
6458 ;; autogen.sh calls configure at the end of the script.
6460 (lambda _ (invoke "autoreconf" "-vfi"))))))
6462 `(("autoconf" ,autoconf)
6463 ("automake" ,automake)
6464 ("glib" ,glib "bin") ; for glib-compile-resources
6465 ("gnome-shell" ,gnome-shell)
6467 ("inkscape" ,inkscape)
6468 ("optipng" ,optipng)
6469 ("pkg-config" ,pkg-config)
6471 (synopsis "A flat GTK+ theme with transparent elements")
6472 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
6473 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
6474 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
6475 (home-page "https://github.com/horst3180/arc-theme")
6476 ;; No "or later" language found.
6477 (license license:gpl3+)))
6479 (define-public faba-icon-theme
6481 (name "faba-icon-theme")
6486 (uri (string-append "https://github.com/moka-project/"
6487 name "/archive/v" version ".tar.gz"))
6488 (file-name (string-append name "-" version ".tar.gz"))
6491 "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68"))))
6492 (build-system meson-build-system)
6495 (modify-phases %standard-phases
6496 (add-before 'configure 'disable-post-install
6498 (substitute* "meson.build"
6499 (("meson.add_install_script.*") "")))))))
6501 `(("autoconf" ,autoconf)
6502 ("automake" ,automake)))
6503 (synopsis "Faba icon theme")
6505 "Faba is a minimal icon set used as a basis for other themes such as
6507 (home-page "https://snwh.org/moka")
6508 (license (list license:lgpl3+
6509 license:cc-by-sa4.0))))
6511 (define-public moka-icon-theme
6513 (inherit faba-icon-theme)
6514 (name "moka-icon-theme")
6518 (uri (string-append "https://github.com/moka-project"
6519 "/moka-icon-theme/archive/v"
6521 (file-name (string-append name "-" version ".tar.gz"))
6524 "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk"))))
6526 ;; Moka is based on Faba by using it as a fallback icon set instead of
6527 ;; bundling it, so we need to add it as a propagated input.
6528 `(("faba-icon-theme" ,faba-icon-theme)))
6529 (synopsis "Moka icon theme")
6530 (description "Moka is a stylized desktop icon set, designed to be clear,
6531 simple and consistent.")
6532 (license (list license:gpl3+
6533 license:cc-by-sa4.0))))
6535 (define-public arc-icon-theme
6537 (name "arc-icon-theme")
6538 (version "20161122")
6541 (uri (string-append "https://github.com/horst3180/arc-icon-theme"
6542 "/archive/" version ".tar.gz"))
6543 (file-name (string-append name "-" version ".tar.gz"))
6546 "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
6547 (build-system gnu-build-system)
6550 (modify-phases %standard-phases
6551 (add-after 'unpack 'disable-configure-during-bootstrap
6553 (substitute* "autogen.sh"
6554 (("^\"\\$srcdir/configure\".*") ""))
6557 `(("autoconf" ,autoconf)
6558 ("automake" ,automake)))
6559 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
6561 `(("moka-icon-theme" ,moka-icon-theme)))
6562 (synopsis "Arc icon theme")
6563 (description "The Arc icon theme provides a set of icons matching the
6564 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
6565 the Moka icon theme.")
6566 (home-page "https://github.com/horst3180/arc-icon-theme")
6567 (license license:gpl3+)))
6569 (define-public folks
6576 "mirror://gnome/sources/" name "/"
6577 (version-major+minor version) "/"
6578 name "-" version ".tar.xz"))
6581 "1f51albxgfqxbax57i3pcgv2fx7i419xaapzdvldas6gw100ma1m"))))
6582 (build-system glib-or-gtk-build-system)
6585 ("dbus-glib" ,dbus-glib)
6586 ("evolution-data-server" ,evolution-data-server)
6589 ("telepathy-glib" ,telepathy-glib)))
6591 `(("gobject-introspection" ,gobject-introspection)
6592 ("intltool" ,intltool)
6593 ("pkg-config" ,pkg-config)
6595 (synopsis "Library to aggregate data about people")
6596 (description "Libfolks is a library that aggregates information about people
6597 from multiple sources (e.g., Telepathy connection managers for IM contacts,
6598 Evolution Data Server for local contacts, libsocialweb for web service contacts,
6599 etc.) to create metacontacts. It's written in Vala, which generates C code when
6601 (home-page "https://wiki.gnome.org/Projects/Folks")
6602 (license license:lgpl2.1+)))
6604 (define-public gfbgraph
6611 "mirror://gnome/sources/" name "/"
6612 (version-major+minor version) "/"
6613 name "-" version ".tar.xz"))
6616 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
6617 (build-system glib-or-gtk-build-system)
6619 `(#:tests? #f ; Tests appear to require the network.
6620 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
6621 #:configure-flags '("--disable-gtk-doc"
6623 "--enable-introspection")))
6625 `(("pkg-config" ,pkg-config)
6626 ("gobject-introspection" ,gobject-introspection)))
6628 `(("json-glib" ,json-glib)
6629 ("gnome-online-accounts" ,gnome-online-accounts)
6631 (synopsis "GLib/GObject wrapper for the Facebook API")
6632 (description "This library allows you to use the Facebook API from
6633 GLib/GObject code.")
6634 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
6635 (license license:lgpl2.1+)))
6637 (define-public libgnomekbd
6639 (name "libgnomekbd")
6640 (version "3.22.0.1")
6643 (uri (string-append "mirror://gnome/sources/" name "/"
6644 (version-major+minor version) "/"
6645 name "-" version ".tar.xz"))
6648 "1plkkack6s8b21gcmmly0lapgcjz53dmw2vixnn4rw4jxjwbdzaf"))))
6649 (build-system gnu-build-system)
6651 `(("pkg-config" ,pkg-config)
6652 ("glib" ,glib "bin")
6653 ("intltool" ,intltool)))
6655 ;; Referred to in .h files and .pc.
6658 ("libxklavier" ,libxklavier)))
6659 (home-page "https://www.gnome.org")
6660 (synopsis "GNOME keyboard configuration library")
6662 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
6663 environment, which can notably display keyboard layouts.")
6664 (license license:lgpl2.0+)))
6666 ;;; This package is no longer maintained:
6667 ;;; https://wiki.gnome.org/Attic/LibUnique
6668 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
6669 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
6670 (define-public libunique
6676 (uri (string-append "mirror://gnome/sources/" name "/"
6677 (version-major+minor version) "/"
6678 name "-" version ".tar.xz"))
6681 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
6682 (build-system glib-or-gtk-build-system)
6684 `(#:configure-flags '("--disable-static"
6685 "--disable-dbus" ; use gdbus
6686 "--enable-introspection")))
6688 `(("pkg-config" ,pkg-config)
6689 ("gobject-introspection" ,gobject-introspection)
6690 ("glib:bin" ,glib "bin")
6691 ("gtk-doc" ,gtk-doc)))
6693 ;; Referred to in .h files and .pc.
6695 (home-page "https://wiki.gnome.org/Attic/LibUnique")
6696 (synopsis "Library for writing single instance applications")
6698 "Libunique is a library for writing single instance applications. If you
6699 launch a single instance application twice, the second instance will either just
6700 quit or will send a message to the running instance. Libunique makes it easy to
6701 write this kind of application, by providing a base class, taking care of all
6702 the IPC machinery needed to send messages to a running instance, and also
6703 handling the startup notification side.")
6704 (license license:lgpl2.1+)))
6706 (define-public gnome-calculator
6708 (name "gnome-calculator")
6713 (uri (string-append "mirror://gnome/sources/" name "/"
6714 (version-major+minor version) "/"
6715 name "-" version ".tar.xz"))
6718 "1iv3b3mvqxm17r5gv15dyq6gz08w0ljhzgbf22xnnfnpzhvmn8b2"))))
6719 (build-system glib-or-gtk-build-system)
6721 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
6722 ("intltool" ,intltool)
6723 ("itstool" ,itstool)
6724 ("pkg-config" ,pkg-config)))
6726 `(("gtksourceview" ,gtksourceview)
6727 ("libsoup" ,libsoup)
6730 (home-page "https://wiki.gnome.org/Apps/Calculator")
6731 (synopsis "Desktop calculator")
6733 "Calculator is an application that solves mathematical equations and
6734 is suitable as a default application in a Desktop environment.")
6735 (license license:gpl3)))
6744 (uri (string-append "https://launchpad.net/xpad/trunk/"
6745 version "/+download/"
6746 name "-" version ".tar.bz2"))
6749 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
6750 (build-system gnu-build-system)
6752 `(("autoconf" ,autoconf)
6753 ("automake" ,automake)
6754 ("gtk+:bin" ,gtk+ "bin")
6755 ("intltool" ,intltool)
6756 ("pkg-config" ,pkg-config)))
6758 `(("gtksourceview" ,gtksourceview)
6760 (home-page "https://wiki.gnome.org/Apps/Xpad")
6761 (synopsis "Virtual sticky note")
6763 "Xpad is a sticky note that strives to be simple, fault tolerant,
6764 and customizable. Xpad consists of independent pad windows, each is
6765 basically a text box in which notes can be written.")
6766 (license license:gpl3+)))
6768 (define-public gucharmap
6775 (uri (string-append "mirror://gnome/sources/" name "/"
6776 (version-major+minor version) "/"
6777 name "-" version ".tar.xz"))
6780 "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
6781 (build-system glib-or-gtk-build-system)
6783 `(("desktop-file-utils" ,desktop-file-utils)
6784 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
6785 ("gobject-introspection" ,gobject-introspection)
6786 ("intltool" ,intltool)
6787 ("itstool" ,itstool)
6788 ("pkg-config" ,pkg-config)))
6791 ("xmllint" ,libxml2)))
6792 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
6793 (synopsis "Unicode character picker and font browser")
6795 "This program allows you to browse through all the available Unicode
6796 characters and categories for the installed fonts, and to examine their
6797 detailed properties. It is an easy way to find the character you might
6798 only know by its Unicode name or code point.")
6799 (license license:gpl3+)))
6801 (define-public bluefish
6808 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
6809 name "-" version ".tar.gz"))
6812 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
6813 (build-system gnu-build-system)
6815 `(("desktop-file-utils" ,desktop-file-utils)
6816 ("intltool" ,intltool)
6817 ("pkg-config" ,pkg-config)))
6819 `(("enchant" ,enchant)
6821 ("python" ,python-2)
6822 ("xmllint" ,libxml2)
6823 ("gucharmap" ,gucharmap)))
6824 (home-page "http://bluefish.openoffice.nl")
6825 (synopsis "Web development studio")
6827 "Bluefish is an editor targeted towards programmers and web developers,
6828 with many options to write web sites, scripts and other code.
6829 Bluefish supports many programming and markup languages.")
6830 (license license:gpl3+)))
6832 (define-public gnome-system-monitor
6834 (name "gnome-system-monitor")
6839 (uri (string-append "mirror://gnome/sources/" name "/"
6840 (version-major+minor version) "/"
6841 name "-" version ".tar.xz"))
6844 "1cz6s0cvagj422f9dc231nvg8jsfkva5s81skpq4q5jyrb1ahj7q"))))
6845 (build-system glib-or-gtk-build-system)
6847 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
6848 ("intltool" ,intltool)
6849 ("itstool" ,itstool)
6850 ("libgtop" ,libgtop)
6851 ("pkg-config" ,pkg-config)))
6853 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
6856 ("librsvg" ,librsvg)
6857 ("libxml2" ,libxml2)))
6858 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
6859 (synopsis "Process viewer and system resource monitor for GNOME")
6861 "GNOME System Monitor is a GNOME process viewer and system monitor with
6862 an attractive, easy-to-use interface. It has features, such as a tree view
6863 for process dependencies, icons for processes, the ability to hide processes,
6864 graphical time histories of CPU/memory/swap usage and the ability to
6865 kill/reinice processes.")
6866 (license license:gpl2+)))
6868 (define-public python-pyatspi
6870 (name "python-pyatspi")
6875 "mirror://gnome/sources/pyatspi/"
6876 (version-major+minor version)
6877 "/pyatspi-" version ".tar.xz"))
6880 "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
6881 (build-system gnu-build-system)
6883 `(("pkg-config" ,pkg-config)))
6885 `(("python" ,python)
6886 ("python-pygobject" ,python-pygobject)))
6887 (synopsis "Python client bindings for D-Bus AT-SPI")
6888 (home-page "https://wiki.linuxfoundation.org/accessibility\
6889 /atk/at-spi/at-spi_on_d-bus")
6891 "This package includes a python client library for the AT-SPI D-Bus
6892 accessibility infrastructure.")
6893 (license license:lgpl2.0)
6894 (properties '((upstream-name . "pyatspi")))))
6903 "mirror://gnome/sources/" name "/"
6904 (version-major+minor version) "/"
6905 name "-" version ".tar.xz"))
6908 "0xk5k9cbswymma60nrfj00dl97wypx59c107fb1hwi75gm0i07a7"))))
6909 (build-system glib-or-gtk-build-system)
6912 (modify-phases %standard-phases
6913 (add-before 'configure 'qualify-xkbcomp
6914 (lambda* (#:key inputs #:allow-other-keys)
6915 (let ((xkbcomp (string-append
6916 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
6917 (substitute* "src/orca/orca.py"
6918 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
6920 (add-after 'install 'wrap-orca
6921 (lambda* (#:key outputs #:allow-other-keys)
6922 (let* ((out (assoc-ref outputs "out"))
6923 (prog (string-append out "/bin/orca")))
6925 `("GI_TYPELIB_PATH" ":" prefix
6926 (,(getenv "GI_TYPELIB_PATH")))
6927 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6928 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6929 `("PYTHONPATH" ":" prefix
6930 (,(getenv "PYTHONPATH")))))
6933 `(("intltool" ,intltool)
6934 ("itstool" ,itstool)
6935 ("pkg-config" ,pkg-config)
6936 ("xmllint" ,libxml2)))
6938 `(("at-spi2-atk" ,at-spi2-atk)
6939 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6940 ("gstreamer" ,gstreamer)
6941 ("gst-plugins-base" ,gst-plugins-base)
6942 ("gst-plugins-good" ,gst-plugins-good)
6945 ("python-pygobject" ,python-pygobject)
6946 ("python-pyatspi" ,python-pyatspi)
6947 ("python-speechd" ,speech-dispatcher)
6948 ("xkbcomp" ,xkbcomp)))
6950 "Screen reader for individuals who are blind or visually impaired")
6951 (home-page "https://wiki.gnome.org/Projects/Orca")
6953 "Orca is a screen reader that provides access to the graphical desktop
6954 via speech and refreshable braille. Orca works with applications and toolkits
6955 that support the Assistive Technology Service Provider Interface (AT-SPI).")
6956 (license license:lgpl2.1+)))
6958 (define-public gspell
6964 (uri (string-append "mirror://gnome/sources/" name "/"
6965 (version-major+minor version) "/"
6966 name "-" version ".tar.xz"))
6969 "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1"))
6970 (patches (search-patches "gspell-dash-test.patch"))))
6971 (build-system glib-or-gtk-build-system)
6974 (modify-phases %standard-phases
6975 (add-before 'check 'pre-check
6976 (lambda* (#:key inputs #:allow-other-keys)
6977 ;; Tests require a running X server.
6978 (system "Xvfb :1 &")
6979 (setenv "DISPLAY" ":1")
6981 ;; For the missing /etc/machine-id.
6982 (setenv "DBUS_FATAL_WARNINGS" "0")
6984 ;; Allow Enchant and its Aspell backend to find the en_US
6986 (setenv "ASPELL_DICT_DIR"
6987 (string-append (assoc-ref inputs "aspell-dict-en")
6993 ("iso-codes" ,iso-codes)))
6995 `(("glib" ,glib "bin")
6996 ("pkg-config" ,pkg-config)
6997 ("xmllint" ,libxml2)
7000 ("aspell-dict-en" ,aspell-dict-en)
7001 ("xorg-server" ,xorg-server)))
7003 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
7004 (home-page "https://wiki.gnome.org/Projects/gspell")
7005 (synopsis "GNOME's alternative spell checker")
7007 "gspell provides a flexible API to add spell-checking to a GTK+
7008 application. It provides a GObject API, spell-checking to text entries and
7009 text views, and buttons to choose the language.")
7010 (license license:gpl2+)))
7012 (define-public gnome-planner
7014 (name "gnome-planner")
7018 (uri (string-append "mirror://gnome/sources/planner/"
7019 (version-major+minor version) "/planner-"
7023 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
7024 (build-system glib-or-gtk-build-system)
7026 ;; Disable the Python bindings because the Planner program functions
7027 ;; without them, and (as of 2017-06-13) we have not packaged all of
7028 ;; packages that are necessary for building the Python bindings.
7030 (list "--disable-python"
7031 ,@(if (string=? "aarch64-linux" (%current-system))
7032 '("--build=aarch64-unknown-linux-gnu")
7035 `(("libgnomecanvas" ,libgnomecanvas)
7036 ("libgnomeui" ,libgnomeui)
7037 ("libglade" ,libglade)
7038 ("gnome-vfs" ,gnome-vfs)
7040 ("libxml2" ,libxml2)
7041 ("libxslt" ,libxslt)
7045 `(("intltool" ,intltool)
7046 ("scrollkeeper" ,scrollkeeper)
7047 ("pkg-config" ,pkg-config)))
7048 (home-page "https://wiki.gnome.org/Apps/Planner")
7049 (synopsis "Project management software for the GNOME desktop")
7051 "GNOME Planner is a project management tool based on the Work Breakdown
7052 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
7053 the resources, tasks, and constraints that you define, Planner generates
7054 various views into a project. For example, Planner can show a Gantt chart of
7055 the project. It can show a detailed summary of tasks including their
7056 duration, cost, and current progress. It can also show a report of resource
7057 utilization that highlights under-utilized and over-utilized resources. These
7058 views can be printed as PDF or PostScript files, or exported to HTML.")
7059 (license license:gpl2+)))
7061 (define-public lollypop
7068 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
7069 "e4df2ed75c5ed71d64afcc668e579b2a/"
7070 name "-" version ".tar.xz"))
7073 "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx"))))
7074 (build-system meson-build-system)
7076 `(#:imported-modules ((guix build python-build-system)
7077 ,@%meson-build-system-modules)
7079 #:tests? #f ; no test suite
7081 (modify-phases %standard-phases
7082 (add-after 'install 'wrap-program
7083 (lambda* (#:key outputs #:allow-other-keys)
7084 (let ((out (assoc-ref outputs "out"))
7085 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7086 (wrap-program (string-append out "/bin/lollypop")
7087 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7089 (add-after 'install 'wrap
7090 (@@ (guix build python-build-system) wrap)))))
7092 `(("intltool" ,intltool)
7093 ("itstool" ,itstool)
7094 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7095 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7096 ("pkg-config" ,pkg-config)))
7098 `(("gobject-introspection" ,gobject-introspection)
7099 ("gst-plugins-base" ,gst-plugins-base)
7100 ("libnotify" ,libnotify)
7101 ("libsecret" ,libsecret)
7102 ("libsoup" ,libsoup)
7104 ("python-beautifulsoup4" ,python-beautifulsoup4)
7105 ("python-gst" ,python-gst)
7106 ("python-pycairo" ,python-pycairo)
7107 ("python-pygobject" ,python-pygobject)
7108 ("python-pylast" ,python-pylast)
7109 ("totem-pl-parser" ,totem-pl-parser)
7110 ("webkitgtk" ,webkitgtk)))
7112 `(;; gst-plugins-base is required to start Lollypop,
7113 ;; the others are required to play streaming.
7114 ("gst-plugins-good" ,gst-plugins-good)
7115 ("gst-plugins-ugly" ,gst-plugins-ugly)))
7116 (home-page "https://wiki.gnome.org/Apps/Lollypop")
7117 (synopsis "GNOME music playing application")
7119 "Lollypop is a music player designed to play well with GNOME desktop.
7120 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
7121 from artists and tracks from the web. It also fetches cover artworks
7122 automatically and it can stream songs from online music services and charts.")
7123 (license license:gpl3+)))
7125 (define-public gnome-video-effects
7127 (name "gnome-video-effects")
7131 (uri (string-append "mirror://gnome/sources/" name "/"
7132 (version-major+minor version) "/" name "-"
7136 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
7137 (build-system glib-or-gtk-build-system)
7139 `(#:out-of-source? #f))
7141 `(("glib:bin" ,glib "bin")
7142 ("intltool" ,intltool)
7143 ("gettext" ,gettext-minimal)
7144 ("pkg-config" ,pkg-config)))
7145 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
7146 (synopsis "Video effects for Cheese and other GNOME applications")
7148 "A collection of GStreamer video filters and effects to be used in
7149 photo-booth-like software, such as Cheese.")
7150 (license license:gpl2+)))
7152 (define-public cheese
7158 (uri (string-append "mirror://gnome/sources/" name "/"
7159 (version-major+minor version) "/" name "-"
7163 "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw"))))
7165 ;; Tests require GDK.
7168 (modify-phases %standard-phases
7169 (add-before 'install 'skip-gtk-update-icon-cache
7171 ;; Don't create 'icon-theme.cache'
7172 (substitute* "Makefile"
7173 (("gtk-update-icon-cache") (which "true")))
7175 (add-after 'install 'wrap-cheese
7176 (lambda* (#:key inputs outputs #:allow-other-keys)
7177 (let ((out (assoc-ref outputs "out"))
7178 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7179 (wrap-program (string-append out "/bin/cheese")
7180 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7182 (build-system glib-or-gtk-build-system)
7184 `(("glib:bin" ,glib "bin")
7185 ("intltool" ,intltool)
7186 ("itstool" ,itstool)
7187 ("libxml2" ,libxml2)
7188 ("pkg-config" ,pkg-config)
7191 `(("gnome-video-effects" ,gnome-video-effects)))
7193 `(("clutter" ,clutter)
7194 ("clutter-gst" ,clutter-gst)
7195 ("clutter-gtk" ,clutter-gtk)
7196 ("gdk-pixbuf" ,gdk-pixbuf)
7198 ("gnome-desktop" ,gnome-desktop)
7199 ("gobject-introspection" ,gobject-introspection)
7200 ("gstreamer" ,gstreamer)
7201 ("gst-plugins-base" ,gst-plugins-base)
7202 ("gst-plugins-bad" ,gst-plugins-bad)
7204 ("libcanberra" ,libcanberra)
7206 ("libxtst" ,libxtst)))
7207 (home-page "https://wiki.gnome.org/Apps/Cheese")
7208 (synopsis "Webcam photo booth software for GNOME")
7210 "Cheese uses your webcam to take photos and videos. Cheese can also
7211 apply fancy special effects and lets you share the fun with others.")
7212 (license license:gpl2+)))
7214 (define-public sound-juicer
7216 (name "sound-juicer")
7221 (uri (string-append "mirror://gnome/sources/" name "/"
7222 (version-major+minor version) "/"
7223 name "-" version ".tar.xz"))
7226 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
7227 (build-system glib-or-gtk-build-system)
7229 `(("desktop-file-utils" ,desktop-file-utils)
7230 ("intltool" ,intltool)
7231 ("itstool" ,itstool)
7232 ("pkg-config" ,pkg-config)
7233 ("xmllint" ,libxml2)))
7236 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7237 ("gstreamer" ,gstreamer)
7238 ("gst-plugins-base" ,gst-plugins-base)
7239 ("gst-plugins-good" ,gst-plugins-good)
7240 ("iso-codes" ,iso-codes)
7241 ("libbrasero-media3" ,brasero)
7242 ("libcanberra" ,libcanberra)
7243 ("libdiscid" ,libdiscid)
7244 ("libmusicbrainz" ,libmusicbrainz)
7246 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
7247 (synopsis "Audio music cd ripper")
7248 (description "Sound Juicer extracts audio from compact discs and convert it
7249 into audio files that a personal computer or digital audio player can play.
7250 It supports ripping to any audio codec supported by a GStreamer plugin, such as
7251 mp3, Ogg Vorbis and FLAC")
7252 (license license:gpl2+)))
7254 (define-public soundconverter
7256 (name "soundconverter")
7261 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
7262 version "/+download/"
7263 "soundconverter-" version ".tar.xz"))
7267 "1wrxf5py54xplrf97qp24pzbis0cvax5c6k0c7vr3z3ry8r7gd7c"))
7270 "soundconverter-remove-gconf-dependency.patch"))))
7271 (build-system glib-or-gtk-build-system)
7273 `(#:imported-modules ((guix build python-build-system)
7274 (guix build glib-or-gtk-build-system)
7275 ,@%gnu-build-system-modules)
7277 #:modules ((guix build glib-or-gtk-build-system)
7279 ((guix build gnu-build-system) #:prefix gnu:)
7280 ((guix build python-build-system) #:prefix python:))
7283 (modify-phases %standard-phases
7284 (add-after 'unpack 'fix-POTFILES.in
7286 (substitute* "po/POTFILES.in"
7287 ;; This file doesn't exist, so without removing it, the 'check
7288 ;; phase fails for the po directory
7289 (("soundconverter/gconfstore\\.py") ""))))
7290 (add-after 'install 'wrap-soundconverter-for-python
7291 (assoc-ref python:%standard-phases 'wrap))
7292 (add-after 'install 'wrap-soundconverter
7293 (lambda* (#:key inputs outputs #:allow-other-keys)
7294 (let ((out (assoc-ref outputs "out"))
7295 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7296 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
7297 (wrap-program (string-append out "/bin/soundconverter")
7298 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7299 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
7302 `(("intltool" ,intltool)
7303 ("pkg-config" ,pkg-config)
7304 ("glib:bin" ,glib "bin")))
7308 ("python-pygobject" ,python-pygobject)
7309 ("gstreamer" ,gstreamer)
7310 ("gst-plugins-base" ,gst-plugins-base)))
7311 (home-page "http://soundconverter.org/")
7312 (synopsis "Convert between audio formats with a graphical interface")
7314 "SoundConverter supports converting between many audio formats including
7315 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
7316 configurable file renaming. ")
7317 (license license:gpl3)))
7319 (define-public workrave
7320 (let ((commit "v1_10_21"))
7323 (version (string-map (match-lambda
7326 (string-drop commit 1)))
7330 (url "https://github.com/rcaelers/workrave.git")
7332 (file-name (git-file-name name version))
7335 "150qca8c552fakjlzkgarsxgp87l1xcwn19svqsa9d0cygqxjgia"))))
7336 (build-system glib-or-gtk-build-system)
7337 (propagated-inputs `(("glib" ,glib)
7339 ("gdk-pixbuf" ,gdk-pixbuf)
7343 ("libxtst" ,libxtst)
7345 ("libice" ,libice)))
7346 (inputs `(("libsm" ,libsm)
7347 ("python-cheetah" ,python2-cheetah)))
7348 (native-inputs `(("glib" ,glib "bin")
7349 ("pkg-config" ,pkg-config)
7350 ("gettext" ,gnu-gettext)
7351 ("autoconf" ,autoconf)
7352 ("autoconf-archive" , autoconf-archive)
7353 ("automake" ,automake)
7354 ("libtool" ,libtool)
7355 ("intltool" ,intltool)
7356 ("libxscrnsaver" ,libxscrnsaver)
7357 ("gobject-introspection" ,gobject-introspection)
7358 ("python2" ,python-2)))
7359 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
7361 "Workrave is a program that assists in the recovery and prevention of
7362 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
7363 micro-pauses and rest breaks, and restricts you to your daily limit.")
7364 (home-page "http://www.workrave.org")
7365 (license license:gpl3+))))
7373 (uri (string-append "mirror://gnome/sources/" name "/"
7374 (version-major+minor version) "/"
7375 name "-" version ".tar.xz"))
7378 "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66"))))
7379 (build-system glib-or-gtk-build-system)
7381 `(("pkg-config" ,pkg-config)
7382 ("gnome-common" ,gnome-common)
7384 ("intltool" ,intltool)
7385 ("yelp-tools" ,yelp-tools)
7386 ("desktop-file-utils" ,desktop-file-utils))) ;for 'desktop-file-validate'
7390 (synopsis "GNOME hexadecimal editor")
7391 (description "The GHex program can view and edit files in two ways:
7392 hexadecimal or ASCII. It is useful for editing binary files in general.")
7393 (home-page "https://wiki.gnome.org/Apps/Ghex")
7394 (license license:gpl2)))