Commit | Line | Data |
---|---|---|
995b7261 | 1 | ;;; GNU Guix --- Functional package management for GNU |
109da1c0 | 2 | ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> |
44a06c94 | 3 | ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> |
29a7c98a | 4 | ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> |
7108425c | 5 | ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org> |
58d32305 | 6 | ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch> |
8b877545 | 7 | ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com> |
7aab13f1 | 8 | ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org> |
63ad9b80 | 9 | ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com> |
1e7464a9 | 10 | ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com> |
7d3bb433 | 11 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net> |
64a153bd | 12 | ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org> |
293ff8b2 | 13 | ;;; Copyright © 2015 David Thompson <davet@gnu.org> |
0528f70d | 14 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il> |
35e2d0cf | 15 | ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com> |
3c697ffd | 16 | ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net> |
3c8ba11a | 17 | ;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net> |
277a7d82 | 18 | ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org> |
a56be436 | 19 | ;;; Copyright © 2016 Roel Janssen <roel@gnu.org> |
e19f9c24 | 20 | ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name> |
71d9b980 | 21 | ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> |
47956fa0 | 22 | ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is> |
e5e1df4d | 23 | ;;; Copyright © 2016 David Craven <david@craven.ch> |
fa75a213 | 24 | ;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> |
cce0da5e | 25 | ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> |
d04687dc | 26 | ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com> |
3c5dbd2b | 27 | ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue> |
d1d739fa | 28 | ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com> |
1d3fcf94 | 29 | ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org> |
dcfa0acd | 30 | ;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot> |
0438f1d8 | 31 | ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com> |
4e3fdeb7 | 32 | ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net> |
2eee7ee3 | 33 | ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com> |
a18f8eaf | 34 | ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> |
e57c2adb | 35 | ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com> |
8caa4589 | 36 | ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org> |
ec47c07d | 37 | ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com> |
3e9c80b2 | 38 | ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de> |
a7a31827 | 39 | ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org> |
995b7261 AE |
40 | ;;; |
41 | ;;; This file is part of GNU Guix. | |
42 | ;;; | |
43 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
44 | ;;; under the terms of the GNU General Public License as published by | |
45 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
46 | ;;; your option) any later version. | |
47 | ;;; | |
48 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
49 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
50 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
51 | ;;; GNU General Public License for more details. | |
52 | ;;; | |
53 | ;;; You should have received a copy of the GNU General Public License | |
54 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
55 | ||
56 | (define-module (gnu packages gnome) | |
ed19903d | 57 | #:use-module (gnu packages) |
ba5dd105 | 58 | #:use-module (gnu packages admin) |
411ba511 | 59 | #:use-module (gnu packages aspell) |
75016d07 | 60 | #:use-module (gnu packages autotools) |
7b212526 | 61 | #:use-module (gnu packages avahi) |
b29909b4 | 62 | #:use-module (gnu packages backup) |
6a180f6f | 63 | #:use-module (gnu packages base) |
1e33331c | 64 | #:use-module (gnu packages bash) |
5698b8b8 | 65 | #:use-module (gnu packages bison) |
5fc9b6c1 | 66 | #:use-module (gnu packages build-tools) |
df217748 | 67 | #:use-module (gnu packages calendar) |
b29909b4 | 68 | #:use-module (gnu packages cdrom) |
df12f04a | 69 | #:use-module (gnu packages check) |
d61a894b | 70 | #:use-module (gnu packages cmake) |
b29909b4 | 71 | #:use-module (gnu packages compression) |
23a22af6 | 72 | #:use-module (gnu packages cups) |
6e1bb642 | 73 | #:use-module (gnu packages curl) |
c3f29bc9 | 74 | #:use-module (gnu packages cyrus-sasl) |
6e1bb642 | 75 | #:use-module (gnu packages databases) |
255d1bbe | 76 | #:use-module (gnu packages dbm) |
c769cf9f | 77 | #:use-module (gnu packages djvu) |
ba5dd105 | 78 | #:use-module (gnu packages dns) |
b4ce6300 | 79 | #:use-module (gnu packages docbook) |
b29909b4 | 80 | #:use-module (gnu packages documentation) |
329d731b | 81 | #:use-module (gnu packages enchant) |
b29909b4 TGR |
82 | #:use-module (gnu packages flex) |
83 | #:use-module (gnu packages fonts) | |
e762d943 | 84 | #:use-module (gnu packages file-systems) |
a56be436 | 85 | #:use-module (gnu packages fontutils) |
b29909b4 | 86 | #:use-module (gnu packages freedesktop) |
dfc407f3 | 87 | #:use-module (gnu packages game-development) |
fed5a689 | 88 | #:use-module (gnu packages gettext) |
b29909b4 TGR |
89 | #:use-module (gnu packages ghostscript) |
90 | #:use-module (gnu packages gl) | |
995b7261 | 91 | #:use-module (gnu packages glib) |
c1354b90 | 92 | #:use-module (gnu packages gnupg) |
23a22af6 | 93 | #:use-module (gnu packages gnuzilla) |
b29909b4 TGR |
94 | #:use-module (gnu packages gperf) |
95 | #:use-module (gnu packages graphviz) | |
85f5dc19 | 96 | #:use-module (gnu packages gstreamer) |
d9c1a22b | 97 | #:use-module (gnu packages gtk) |
6b888eff | 98 | #:use-module (gnu packages guile) |
b645146f | 99 | #:use-module (gnu packages ibus) |
b29909b4 TGR |
100 | #:use-module (gnu packages image) |
101 | #:use-module (gnu packages imagemagick) | |
102 | #:use-module (gnu packages inkscape) | |
9cc98f8a | 103 | #:use-module (gnu packages iso-codes) |
b29909b4 | 104 | #:use-module (gnu packages kerberos) |
85f5dc19 | 105 | #:use-module (gnu packages libcanberra) |
b64e217f | 106 | #:use-module (gnu packages libunistring) |
75016d07 | 107 | #:use-module (gnu packages libusb) |
b29909b4 | 108 | #:use-module (gnu packages linux) |
4e3fc547 | 109 | #:use-module (gnu packages lirc) |
7b212526 | 110 | #:use-module (gnu packages lua) |
b29909b4 TGR |
111 | #:use-module (gnu packages mail) |
112 | #:use-module (gnu packages multiprecision) | |
64fce637 | 113 | #:use-module (gnu packages music) |
b29909b4 TGR |
114 | #:use-module (gnu packages ncurses) |
115 | #:use-module (gnu packages nettle) | |
ba5dd105 | 116 | #:use-module (gnu packages networking) |
5fc9b6c1 | 117 | #:use-module (gnu packages ninja) |
aff0cce9 | 118 | #:use-module (gnu packages nss) |
b29909b4 | 119 | #:use-module (gnu packages openldap) |
b645146f | 120 | #:use-module (gnu packages password-utils) |
de1215e2 | 121 | #:use-module (gnu packages pcre) |
b29909b4 | 122 | #:use-module (gnu packages pdf) |
27477d2d | 123 | #:use-module (gnu packages perl) |
f70d8383 | 124 | #:use-module (gnu packages photo) |
995b7261 | 125 | #:use-module (gnu packages pkg-config) |
b29909b4 TGR |
126 | #:use-module (gnu packages polkit) |
127 | #:use-module (gnu packages popt) | |
7d3bb433 | 128 | #:use-module (gnu packages pretty-print) |
23a22af6 | 129 | #:use-module (gnu packages pulseaudio) |
995b7261 | 130 | #:use-module (gnu packages python) |
00014781 RW |
131 | #:use-module (gnu packages python-crypto) |
132 | #:use-module (gnu packages python-web) | |
44d10b1f | 133 | #:use-module (gnu packages python-xyz) |
cce0da5e | 134 | #:use-module (gnu packages rdesktop) |
b29909b4 | 135 | #:use-module (gnu packages readline) |
a76d0f03 | 136 | #:use-module (gnu packages ruby) |
ec47c07d | 137 | #:use-module (gnu packages rust) |
b29909b4 | 138 | #:use-module (gnu packages samba) |
75016d07 | 139 | #:use-module (gnu packages scanner) |
240cee8a | 140 | #:use-module (gnu packages selinux) |
c27e02bf | 141 | #:use-module (gnu packages slang) |
b29909b4 TGR |
142 | #:use-module (gnu packages speech) |
143 | #:use-module (gnu packages spice) | |
cd0322a3 | 144 | #:use-module (gnu packages sqlite) |
4a1bf090 | 145 | #:use-module (gnu packages ssh) |
8f9ac901 | 146 | #:use-module (gnu packages tex) |
33dc54b0 | 147 | #:use-module (gnu packages time) |
a7fd7b68 | 148 | #:use-module (gnu packages tls) |
3c5dbd2b | 149 | #:use-module (gnu packages version-control) |
b29909b4 | 150 | #:use-module (gnu packages video) |
59132b80 | 151 | #:use-module (gnu packages virtualization) |
f2b96b3a | 152 | #:use-module (gnu packages vpn) |
a18f8eaf | 153 | #:use-module (gnu packages web) |
b29909b4 TGR |
154 | #:use-module (gnu packages web) |
155 | #:use-module (gnu packages webkit) | |
156 | #:use-module (gnu packages xdisorg) | |
157 | #:use-module (gnu packages xiph) | |
158 | #:use-module (gnu packages xml) | |
d633f2f6 | 159 | #:use-module (gnu packages xorg) |
b29909b4 | 160 | #:use-module (gnu packages xorg) |
a76d0f03 | 161 | #:use-module (gnu artwork) |
b29909b4 TGR |
162 | #:use-module (guix build-system cmake) |
163 | #:use-module (guix build-system glib-or-gtk) | |
164 | #:use-module (guix build-system gnu) | |
165 | #:use-module (guix build-system meson) | |
08be02be | 166 | #:use-module (guix build-system python) |
b29909b4 TGR |
167 | #:use-module (guix build-system trivial) |
168 | #:use-module (guix download) | |
169 | #:use-module (guix git-download) | |
170 | #:use-module ((guix licenses) #:prefix license:) | |
171 | #:use-module (guix packages) | |
172 | #:use-module (guix utils) | |
a76d0f03 | 173 | #:use-module (guix gexp) |
4e3fdeb7 | 174 | #:use-module (ice-9 match) |
c024ae36 | 175 | #:use-module (srfi srfi-1)) |
85f5dc19 AE |
176 | |
177 | (define-public brasero | |
178 | (package | |
179 | (name "brasero") | |
e2bf423a | 180 | (version "3.12.2") |
85f5dc19 AE |
181 | (source (origin |
182 | (method url-fetch) | |
e8627cd9 DH |
183 | (uri (string-append "mirror://gnome/sources/" name "/" |
184 | (version-major+minor version) "/" | |
185 | name "-" version ".tar.xz")) | |
85f5dc19 AE |
186 | (sha256 |
187 | (base32 | |
e2bf423a | 188 | "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8")))) |
1c40e3b7 | 189 | (build-system glib-or-gtk-build-system) |
e8627cd9 DH |
190 | (arguments |
191 | `(#:configure-flags (list | |
192 | (string-append "--with-girdir=" | |
193 | (assoc-ref %outputs "out") | |
194 | "/share/gir-1.0") | |
195 | (string-append "--with-typelibdir=" | |
196 | (assoc-ref %outputs "out") | |
ce426deb TD |
197 | "/lib/girepository-1.0")) |
198 | #:phases | |
199 | (modify-phases %standard-phases | |
200 | (add-before 'configure 'embed-growisofs | |
201 | (lambda* (#:key inputs #:allow-other-keys) | |
202 | (substitute* "plugins/growisofs/burn-growisofs.c" | |
203 | (("\"growisofs") (string-append "\"" (which "growisofs")))) | |
e2bf423a | 204 | #t))))) |
85f5dc19 AE |
205 | (propagated-inputs |
206 | `(("hicolor-icon-theme" ,hicolor-icon-theme))) | |
9cc98f8a CR |
207 | (native-inputs |
208 | `(("intltool" ,intltool) | |
426adbe8 | 209 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
e8627cd9 | 210 | ("gobject-introspection" ,gobject-introspection) |
9cc98f8a | 211 | ("pkg-config" ,pkg-config))) |
85f5dc19 | 212 | (inputs |
ce426deb TD |
213 | `(("dvd+rw-tools" ,dvd+rw-tools) |
214 | ("glib" ,glib) | |
85f5dc19 AE |
215 | ("gnome-doc-utils" ,gnome-doc-utils) |
216 | ("gstreamer" ,gstreamer) | |
217 | ("gst-plugins-base" ,gst-plugins-base) | |
218 | ("gtk+" ,gtk+) | |
85f5dc19 AE |
219 | ("itstool" ,itstool) |
220 | ("libcanberra" ,libcanberra) | |
221 | ("libice" ,libice) | |
222 | ("libnotify" ,libnotify) | |
223 | ("libsm" ,libsm) | |
e8627cd9 DH |
224 | ("libxml2" ,libxml2) |
225 | ("nettle" ,nettle) | |
226 | ("totem-pl-parser" ,totem-pl-parser))) | |
85f5dc19 AE |
227 | (home-page "https://projects.gnome.org/brasero/") |
228 | (synopsis "CD/DVD burning tool for Gnome") | |
229 | (description "Brasero is an application to burn CD/DVD for the Gnome | |
230 | Desktop. It is designed to be as simple as possible and has some unique | |
231 | features to enable users to create their discs easily and quickly.") | |
1dd26275 | 232 | (license license:gpl2+))) |
995b7261 | 233 | |
d61a894b CB |
234 | (define-public deja-dup |
235 | (package | |
236 | (name "deja-dup") | |
237 | (version "34.3") | |
238 | (source (origin | |
239 | (method url-fetch) | |
240 | (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz") | |
241 | (sha256 | |
242 | (base32 | |
243 | "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9")) | |
244 | (patches | |
245 | (search-patches "deja-dup-use-ref-keyword-for-iter.patch")))) | |
246 | (build-system glib-or-gtk-build-system) | |
247 | (arguments | |
248 | `(#:modules ((guix build gnu-build-system) | |
249 | ((guix build cmake-build-system) #:prefix cmake:) | |
250 | (guix build glib-or-gtk-build-system) | |
251 | (guix build utils)) | |
252 | #:imported-modules (,@%glib-or-gtk-build-system-modules | |
253 | (guix build cmake-build-system)) | |
254 | #:test-target "test" | |
255 | #:configure-flags (list (string-append | |
256 | "-DCMAKE_INSTALL_FULL_DATADIR=" %output) | |
257 | (string-append | |
258 | "-DCMAKE_INSTALL_LIBEXECDIR=" %output)) | |
259 | #:phases | |
260 | (modify-phases %standard-phases | |
261 | (add-after 'unpack 'patch-lockfile-deletion | |
262 | (lambda rest | |
263 | (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala" | |
264 | (("/bin/rm") | |
265 | (which "rm"))))) | |
266 | (replace 'configure | |
267 | (assoc-ref cmake:%standard-phases 'configure)) | |
268 | (delete 'check) ;; Fails due to issues with DBus | |
269 | (add-after 'install 'wrap-deja-dup | |
270 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
271 | (let ((python (assoc-ref inputs "python")) | |
272 | (python-path (getenv "PYTHONPATH")) | |
273 | (duplicity (assoc-ref inputs "duplicity")) | |
274 | (out (assoc-ref outputs "out"))) | |
275 | (for-each | |
276 | (lambda (program) | |
277 | (wrap-program program | |
278 | `("PATH" ":" prefix (,(string-append python "/bin") | |
279 | ,(string-append duplicity "/bin")))) | |
280 | (wrap-program program | |
281 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
282 | ||
283 | (find-files (string-append out "/bin"))) | |
284 | #t)))))) | |
285 | (inputs | |
286 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
287 | ("gobject-introspection" ,gobject-introspection) | |
288 | ("duplicity" ,duplicity) | |
61506fe5 | 289 | ("python" ,python-2) |
d61a894b CB |
290 | ("python-pygobject" ,python2-pygobject) |
291 | ("gtk+" ,gtk+) | |
292 | ("libnotify" ,libnotify) | |
293 | ("libpeas" ,libpeas) | |
294 | ("libsecret" ,libsecret) | |
295 | ("packagekit" ,packagekit))) | |
296 | (native-inputs | |
297 | `(("pkg-config" ,pkg-config) | |
298 | ("vala" ,vala) | |
299 | ("gettext" ,gettext-minimal) | |
300 | ("itstool" ,itstool) | |
301 | ("intltool" ,intltool) | |
c69959f0 | 302 | ("cmake" ,cmake-minimal))) |
d61a894b CB |
303 | (home-page "https://launchpad.net/deja-dup") |
304 | (synopsis "Simple backup tool, for regular encrypted backups") | |
305 | (description | |
306 | "Déjà Dup is a simple backup tool, for regular encrypted backups. It | |
307 | uses duplicity as the backend, which supports incremental backups and storage | |
308 | either on a local, or remote machine via a number of methods.") | |
309 | (license license:gpl3+))) | |
310 | ||
a56be436 RJ |
311 | (define-public dia |
312 | ;; This version from GNOME's repository includes fixes for compiling with | |
313 | ;; recent versions of the build tools. The latest activity on the | |
314 | ;; pre-GNOME version has been in 2014, while GNOME has continued applying | |
315 | ;; fixes in 2016. | |
316 | (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4")) | |
317 | (package | |
318 | (name "dia") | |
319 | (version (string-append "0.97.2-" (string-take commit 7))) | |
320 | (source (origin | |
321 | (method git-fetch) | |
322 | (uri (git-reference | |
323 | (url "https://git.gnome.org/browse/dia") | |
324 | (commit commit))) | |
325 | (file-name (string-append name "-" version "-checkout")) | |
326 | (sha256 | |
327 | (base32 | |
328 | "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l")))) | |
329 | (build-system gnu-build-system) | |
330 | (inputs | |
331 | `(("glib" ,glib "bin") | |
332 | ("pango" ,pango) | |
333 | ("gdk-pixbuf" ,gdk-pixbuf) | |
334 | ("gtk+" ,gtk+-2) | |
335 | ("libxml2" ,libxml2) | |
336 | ("freetype" ,freetype) | |
337 | ("libart-lgpl" ,libart-lgpl))) | |
338 | (native-inputs | |
339 | `(("intltool" ,intltool) | |
340 | ("pkg-config" ,pkg-config) | |
341 | ("automake" ,automake) | |
342 | ("autoconf" ,autoconf) | |
343 | ("libtool" ,libtool) | |
344 | ("perl" ,perl) | |
345 | ("python-wrapper" ,python-wrapper))) | |
346 | (arguments | |
347 | `(#:phases | |
348 | (modify-phases %standard-phases | |
d10092b8 | 349 | (add-after 'unpack 'run-autogen |
a56be436 RJ |
350 | (lambda _ |
351 | (system* "sh" "autogen.sh")))))) | |
352 | (home-page "https://wiki.gnome.org/Apps/Dia") | |
353 | (synopsis "Diagram creation for GNOME") | |
354 | (description "Dia can be used to draw different types of diagrams, and | |
355 | includes support for UML static structure diagrams (class diagrams), entity | |
356 | relationship modeling, and network diagrams. The program supports various file | |
357 | formats like PNG, SVG, PDF and EPS.") | |
358 | (license license:gpl2+)))) | |
359 | ||
d0b19e44 RW |
360 | ;; This is the unstable release, but it is required for the current stable |
361 | ;; release of gvfs (1.38.1). | |
adc5cb1b KK |
362 | (define-public libgdata |
363 | (package | |
364 | (name "libgdata") | |
d0b19e44 | 365 | (version "0.17.9") |
adc5cb1b KK |
366 | (source (origin |
367 | (method url-fetch) | |
368 | (uri (string-append "mirror://gnome/sources/" name "/" | |
369 | (version-major+minor version) "/" | |
370 | name "-" version ".tar.xz")) | |
371 | (sha256 | |
372 | (base32 | |
d0b19e44 | 373 | "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45")))) |
adc5cb1b KK |
374 | (build-system gnu-build-system) |
375 | (arguments | |
376 | '(#:phases | |
377 | (modify-phases %standard-phases | |
448052b7 TGR |
378 | (add-before 'check 'disable-failing-tests |
379 | (lambda _ | |
380 | ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2. | |
381 | ;; They have been removed in libgdata 0.17.6, so just do the same. | |
382 | (substitute* "gdata/tests/Makefile" | |
383 | (("picasaweb\\$\\(EXEEXT\\) ") "")) | |
adc5cb1b KK |
384 | #t))))) |
385 | (native-inputs | |
386 | `(("glib:bin" ,glib "bin") | |
387 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
388 | ("intltool" ,intltool) | |
389 | ("pkg-config" ,pkg-config) | |
390 | ("uhttpmock" ,uhttpmock))) | |
391 | (inputs | |
392 | `(("cyrus-sasl" ,cyrus-sasl) | |
d0b19e44 | 393 | ("glib-networking" ,glib-networking))) |
adc5cb1b KK |
394 | (propagated-inputs |
395 | `(("gcr" ,gcr) | |
d0b19e44 | 396 | ("glib" ,glib) |
14c297fd | 397 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
d0b19e44 | 398 | ("json-glib" ,json-glib) |
adc5cb1b | 399 | ("liboauth" ,liboauth) |
d0b19e44 | 400 | ("libsoup" ,libsoup) |
adc5cb1b KK |
401 | ("libxml2" ,libxml2))) |
402 | (home-page "https://wiki.gnome.org/Projects/libgdata") | |
403 | (synopsis "Library for accessing online service APIs") | |
404 | (description | |
405 | "libgdata is a GLib-based library for accessing online service APIs using | |
406 | the GData protocol — most notably, Google's services. It provides APIs to | |
407 | access the common Google services, and has full asynchronous support.") | |
408 | (license license:lgpl2.1+))) | |
409 | ||
94e10cf4 KK |
410 | (define-public libgxps |
411 | (package | |
412 | (name "libgxps") | |
66470a5a | 413 | (version "0.3.1") |
94e10cf4 KK |
414 | (source (origin |
415 | (method url-fetch) | |
7f10628c | 416 | (uri (string-append "mirror://gnome/sources/" name "/" |
94e10cf4 KK |
417 | (version-major+minor version) "/" |
418 | name "-" version ".tar.xz")) | |
419 | (sha256 | |
420 | (base32 | |
66470a5a | 421 | "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs")))) |
b6b3e512 | 422 | (build-system meson-build-system) |
94e10cf4 KK |
423 | (native-inputs |
424 | `(("gobject-introspection" ,gobject-introspection) | |
425 | ("pkg-config" ,pkg-config))) | |
426 | (inputs | |
c8d62d93 | 427 | `(("gtk+" ,gtk+) |
b6b3e512 | 428 | ("libjpeg" ,libjpeg-turbo) |
94e10cf4 KK |
429 | ("lcms" ,lcms) |
430 | ("libtiff" ,libtiff) | |
431 | ("nettle" ,nettle))) | |
c8d62d93 MB |
432 | (propagated-inputs |
433 | ;; In Requires of libgxps.pc. | |
434 | `(("cairo" ,cairo) | |
435 | ("glib" ,glib) | |
436 | ("libarchive" ,libarchive))) | |
94e10cf4 KK |
437 | (home-page "https://wiki.gnome.org/Projects/libgxps") |
438 | (synopsis "GObject-based library for handling and rendering XPS documents") | |
439 | (description | |
440 | "libgxps is a GObject-based library for handling and rendering XPS | |
441 | documents. This package also contains binaries that can convert XPS documents | |
442 | to other formats.") | |
443 | (license license:lgpl2.1+))) | |
444 | ||
7aab13f1 ML |
445 | (define-public gnome-common |
446 | (package | |
447 | (name "gnome-common") | |
af83490d | 448 | (version "3.18.0") |
7aab13f1 ML |
449 | (source |
450 | (origin | |
451 | (method url-fetch) | |
452 | (uri (string-append "mirror://gnome/sources/" name "/" | |
453 | (version-major+minor version) "/" | |
454 | name "-" version ".tar.xz")) | |
455 | (sha256 | |
456 | (base32 | |
af83490d | 457 | "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2")))) |
7aab13f1 ML |
458 | (build-system gnu-build-system) |
459 | (home-page "https://www.gnome.org/") | |
460 | (synopsis "Bootstrap GNOME modules built from Git") | |
461 | (description "gnome-common contains various files needed to bootstrap | |
462 | GNOME modules built from Git. It contains a common \"autogen.sh\" script that | |
463 | can be used to configure a source directory checked out from Git and some | |
464 | commonly used macros.") | |
465 | (license license:gpl2+))) | |
466 | ||
9cc98f8a CR |
467 | (define-public gnome-desktop |
468 | (package | |
469 | (name "gnome-desktop") | |
3387ee41 | 470 | (version "3.30.2") |
9cc98f8a CR |
471 | (source |
472 | (origin | |
473 | (method url-fetch) | |
b38e45d8 EB |
474 | (uri (string-append "mirror://gnome/sources/" name "/" |
475 | (version-major+minor version) "/" | |
9cc98f8a CR |
476 | name "-" version ".tar.xz")) |
477 | (sha256 | |
478 | (base32 | |
3387ee41 | 479 | "0k6iccfj9naw42dl2mgljfvk12dmvg06plg86qd81nksrf9ycxal")))) |
9cc98f8a | 480 | (build-system gnu-build-system) |
a0fe7c06 CB |
481 | (arguments |
482 | '(#:phases | |
483 | (modify-phases %standard-phases | |
484 | (add-before 'configure 'patch-path | |
485 | (lambda* (#:key inputs #:allow-other-keys) | |
486 | (let ((libc (assoc-ref inputs "libc"))) | |
487 | (substitute* "libgnome-desktop/gnome-languages.c" | |
488 | (("\"locale\"") | |
489 | (string-append "\"" libc "/bin/locale\""))) | |
490 | #t)))))) | |
9cc98f8a | 491 | (native-inputs |
a8340482 SB |
492 | `(("gobject-introspection" ,gobject-introspection) |
493 | ("itstool" ,itstool) | |
bcb354ad SB |
494 | ("intltool" ,intltool) |
495 | ("pkg-config" ,pkg-config) | |
496 | ("xmllint" ,libxml2))) | |
a8340482 SB |
497 | (propagated-inputs |
498 | ;; Required by gnome-desktop-3.0.pc. | |
499 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
500 | ("gtk+" ,gtk+))) | |
9cc98f8a CR |
501 | (inputs |
502 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
503 | ("glib" ,glib) | |
9cc98f8a | 504 | ("iso-codes" ,iso-codes) |
9863ce20 | 505 | ("libseccomp" ,libseccomp) |
9cc98f8a CR |
506 | ("libx11" ,libx11) |
507 | ("libxext" ,libxext) | |
508 | ("libxkbfile" ,libxkbfile) | |
509 | ("libxrandr" ,libxrandr) | |
510 | ("xkeyboard-config" ,xkeyboard-config))) | |
511 | (home-page "https://www.gnome.org/") | |
512 | (synopsis | |
35b9e423 | 513 | "Libgnome-desktop, gnome-about, and desktop-wide documents") |
9cc98f8a CR |
514 | (description |
515 | "The libgnome-desktop library provides API shared by several applications | |
35b9e423 EB |
516 | on the desktop, but that cannot live in the platform for various reasons. |
517 | There is no API or ABI guarantee, although we are doing our best to provide | |
518 | stability. Documentation for the API is available with gtk-doc. | |
9cc98f8a CR |
519 | |
520 | The gnome-about program helps find which version of GNOME is installed.") | |
521 | ; Some bits under the LGPL. | |
1dd26275 | 522 | (license license:gpl2+))) |
9cc98f8a | 523 | |
995b7261 AE |
524 | (define-public gnome-doc-utils |
525 | (package | |
526 | (name "gnome-doc-utils") | |
527 | (version "0.20.10") | |
528 | (source | |
529 | (origin | |
530 | (method url-fetch) | |
b38e45d8 EB |
531 | (uri (string-append "mirror://gnome/sources/" name "/" |
532 | (version-major+minor version) "/" | |
995b7261 AE |
533 | name "-" version ".tar.xz")) |
534 | (sha256 | |
535 | (base32 | |
536 | "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb")))) | |
537 | (build-system gnu-build-system) | |
c4c4cc05 | 538 | (native-inputs |
995b7261 | 539 | `(("intltool" ,intltool) |
b4ce6300 | 540 | ("docbook-xml" ,docbook-xml-4.4) |
d80b0d4a | 541 | ("python2-libxml2" ,python2-libxml2) |
995b7261 AE |
542 | ("libxml2" ,libxml2) |
543 | ("libxslt" ,libxslt) | |
544 | ("pkg-config" ,pkg-config) | |
545 | ("python-2" ,python-2))) | |
995b7261 AE |
546 | (home-page "https://wiki.gnome.org/GnomeDocUtils") |
547 | (synopsis | |
548 | "Documentation utilities for the Gnome project") | |
549 | (description | |
550 | "Gnome-doc-utils is a collection of documentation utilities for the | |
551 | Gnome project. It includes xml2po tool which makes it easier to translate | |
552 | and keep up to date translations of documentation.") | |
1dd26275 | 553 | (license license:gpl2+))) ; xslt under lgpl |
d9c1a22b | 554 | |
6c4f7022 DC |
555 | (define-public gnome-disk-utility |
556 | (package | |
557 | (name "gnome-disk-utility") | |
0dd65d5a | 558 | (version "3.30.2") |
6c4f7022 DC |
559 | (source (origin |
560 | (method url-fetch) | |
561 | (uri (string-append "mirror://gnome/sources/" name "/" | |
562 | (version-major+minor version) "/" | |
563 | name "-" version ".tar.xz")) | |
564 | (sha256 | |
565 | (base32 | |
0dd65d5a | 566 | "1365fabz3q7n3bl775z82m1nzg18birxxyd7l2ssbbkqrx3h7wgi")))) |
4b9a65bf | 567 | (build-system meson-build-system) |
6c4f7022 DC |
568 | (native-inputs |
569 | `(("glib:bin" ,glib "bin") | |
4b9a65bf | 570 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
6c4f7022 DC |
571 | ("intltool" ,intltool) |
572 | ("pkg-config" ,pkg-config) | |
573 | ("docbook-xml" ,docbook-xml) | |
574 | ("docbook-xsl" ,docbook-xsl) | |
575 | ("libxml2" ,libxml2) | |
576 | ("libxslt" ,libxslt))) | |
577 | (inputs | |
578 | `(("glib" ,glib) | |
579 | ("appstream-glib" ,appstream-glib) | |
580 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
581 | ("gtk+" ,gtk+) | |
582 | ("libcanberra" ,libcanberra) | |
583 | ("libdvdread" ,libdvdread) | |
584 | ("libnotify" ,libnotify) | |
585 | ("libpwquality" ,libpwquality) | |
586 | ("libsecret" ,libsecret) | |
587 | ("udisks" ,udisks))) | |
588 | (home-page "https://git.gnome.org/browse/gnome-disk-utility") | |
589 | (synopsis "Disk management utility for GNOME") | |
590 | (description "Disk management utility for GNOME.") | |
591 | (license license:gpl2+))) | |
592 | ||
8ff49011 RW |
593 | (define-public gcr |
594 | (package | |
595 | (name "gcr") | |
bea6b829 | 596 | (version "3.28.1") |
8ff49011 | 597 | (source (origin |
0daf0efb RW |
598 | (method url-fetch) |
599 | (uri (string-append "mirror://gnome/sources/" name "/" | |
600 | (version-major+minor version) "/" | |
601 | name "-" version ".tar.xz")) | |
602 | (sha256 | |
603 | (base32 | |
bea6b829 | 604 | "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m")) |
03ecf85a MB |
605 | (patches |
606 | (list | |
607 | ;; This patch solves an ordering issue that showed up when | |
608 | ;; running the test suite against newer Glib 2.60. See | |
609 | ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>. | |
610 | (origin | |
611 | (method url-fetch) | |
612 | (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/" | |
613 | "45d637578d7643ff96c0183ac267497a0b4c6344.diff")) | |
614 | (file-name "gcr-hashtable-ordering.patch") | |
615 | (sha256 | |
616 | (base32 | |
617 | "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi"))))))) | |
8ff49011 RW |
618 | (build-system gnu-build-system) |
619 | (arguments | |
0daf0efb RW |
620 | '(#:phases |
621 | (modify-phases %standard-phases | |
622 | ;; These fail because /var/lib/dbus/machine-id is not present in the | |
623 | ;; build environment. | |
624 | (add-after 'unpack 'disable-failing-tests | |
625 | (lambda _ | |
626 | (substitute* "gcr/test-system-prompt.c" | |
627 | (("g_test_add") "//") | |
628 | (("return.*") "return 0;")) | |
629 | #t)) | |
630 | (add-before 'check 'pre-check | |
631 | (lambda _ | |
632 | ;; Some tests expect to write to $HOME. | |
633 | (setenv "HOME" "/tmp") | |
634 | #t))))) | |
8ff49011 RW |
635 | (inputs |
636 | `(("dbus" ,dbus) | |
0daf0efb | 637 | ("gnupg" ,gnupg) ;called as a child process during tests |
8ff49011 RW |
638 | ("libgcrypt" ,libgcrypt))) |
639 | (native-inputs | |
0daf0efb | 640 | `(("python" ,python-2) ;for tests |
8ff49011 RW |
641 | ("pkg-config" ,pkg-config) |
642 | ("glib" ,glib "bin") | |
2af4f5b0 SB |
643 | ("gobject-introspection" ,gobject-introspection) |
644 | ("intltool" ,intltool) | |
0daf0efb | 645 | ("libxml2" ,libxml2) |
bea6b829 | 646 | ("vala" ,vala) |
2af4f5b0 | 647 | ("xsltproc" ,libxslt))) |
8ff49011 RW |
648 | ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc |
649 | (propagated-inputs | |
650 | `(("p11-kit" ,p11-kit) | |
651 | ("glib" ,glib) | |
652 | ("gtk+" ,gtk+))) | |
f032d0be | 653 | (home-page "https://www.gnome.org") |
8ff49011 RW |
654 | (synopsis "Libraries for displaying certificates and accessing key stores") |
655 | (description | |
656 | "The GCR package contains libraries used for displaying certificates and | |
657 | accessing key stores. It also provides the viewer for crypto files on the | |
658 | GNOME Desktop.") | |
659 | (license license:lgpl2.1+))) | |
660 | ||
c1354b90 LC |
661 | (define-public libgnome-keyring |
662 | (package | |
663 | (name "libgnome-keyring") | |
5e8aec2c | 664 | (version "3.12.0") |
c1354b90 LC |
665 | (source (origin |
666 | (method url-fetch) | |
b38e45d8 EB |
667 | (uri (string-append "mirror://gnome/sources/" name "/" |
668 | (version-major+minor version) "/" | |
669 | name "-" version ".tar.xz")) | |
c1354b90 LC |
670 | (sha256 |
671 | (base32 | |
5e8aec2c | 672 | "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4")))) |
c1354b90 | 673 | (build-system gnu-build-system) |
c1354b90 | 674 | (inputs |
c4c4cc05 | 675 | `(("libgcrypt" ,libgcrypt) |
c1354b90 | 676 | ("dbus" ,dbus))) |
c4c4cc05 JD |
677 | (native-inputs |
678 | `(("pkg-config" ,pkg-config) | |
426adbe8 | 679 | ("glib" ,glib "bin") |
c4c4cc05 | 680 | ("intltool" ,intltool))) |
c1354b90 LC |
681 | (propagated-inputs |
682 | ;; Referred to in .h files and .pc. | |
683 | `(("glib" ,glib))) | |
f032d0be | 684 | (home-page "https://www.gnome.org") |
c1354b90 LC |
685 | (synopsis "Accessing passwords from the GNOME keyring") |
686 | (description | |
687 | "Client library to access passwords from the GNOME keyring.") | |
688 | ||
689 | ;; Though a couple of files are LGPLv2.1+. | |
1dd26275 | 690 | (license license:lgpl2.0+))) |
c1354b90 | 691 | |
e99a3d6f RW |
692 | (define-public gnome-keyring |
693 | (package | |
694 | (name "gnome-keyring") | |
ab35cc6e | 695 | (version "3.28.2") |
e99a3d6f RW |
696 | (source (origin |
697 | (method url-fetch) | |
698 | (uri (string-append "mirror://gnome/sources/" name "/" | |
699 | (version-major+minor version) "/" | |
700 | name "-" version ".tar.xz")) | |
701 | (sha256 | |
702 | (base32 | |
ab35cc6e | 703 | "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1")))) |
e99a3d6f RW |
704 | (build-system gnu-build-system) |
705 | (arguments | |
706 | `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does | |
707 | ;not exist | |
708 | #:configure-flags | |
709 | (list | |
710 | (string-append "--with-pkcs11-config=" | |
711 | (assoc-ref %outputs "out") "/share/p11-kit/modules/") | |
712 | (string-append "--with-pkcs11-modules=" | |
713 | (assoc-ref %outputs "out") "/share/p11-kit/modules/")) | |
714 | #:phases | |
715 | (modify-phases %standard-phases | |
ab35cc6e RW |
716 | (add-after 'unpack 'fix-/bin/sh-reference |
717 | (lambda _ | |
718 | (substitute* "po/Makefile.in.in" | |
719 | (("/bin/sh") (which "sh"))) | |
720 | #t)) | |
5120f24f RW |
721 | (add-after 'unpack 'fix-docbook |
722 | (lambda* (#:key inputs #:allow-other-keys) | |
723 | (substitute* "docs/Makefile.am" | |
724 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
725 | (string-append (assoc-ref inputs "docbook-xsl") | |
726 | "/xml/xsl/docbook-xsl-" | |
727 | ,(package-version docbook-xsl) | |
728 | "/manpages/docbook.xsl"))) | |
729 | (setenv "XML_CATALOG_FILES" | |
730 | (string-append (assoc-ref inputs "docbook-xml") | |
731 | "/xml/dtd/docbook/catalog.xml")) | |
732 | ;; Rerun the whole thing to avoid version mismatch ("This is | |
733 | ;; Automake 1.15.1, but the definition used by this | |
734 | ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't | |
735 | ;; use 'autoreconf' because it insists on running 'libtoolize'. | |
736 | (invoke "autoconf") | |
737 | (invoke "aclocal") | |
738 | (invoke "automake" "-ac")))))) | |
e99a3d6f RW |
739 | (inputs |
740 | `(("libgcrypt" ,libgcrypt) | |
1a0b2d82 | 741 | ("linux-pam" ,linux-pam) |
ab35cc6e | 742 | ("openssh" ,openssh) |
e99a3d6f RW |
743 | ("dbus" ,dbus) |
744 | ("gcr" ,gcr))) | |
745 | (native-inputs | |
746 | `(("pkg-config" ,pkg-config) | |
747 | ("glib" ,glib "bin") | |
5120f24f | 748 | ("glib" ,glib) ; for m4 macros |
e99a3d6f RW |
749 | ("python" ,python-2) ;for tests |
750 | ("intltool" ,intltool) | |
751 | ("autoconf" ,autoconf) | |
752 | ("automake" ,automake) | |
753 | ("libxslt" ,libxslt) ;for documentation | |
754 | ("docbook-xml" ,docbook-xml-4.2) | |
755 | ("docbook-xsl" ,docbook-xsl))) | |
f032d0be | 756 | (home-page "https://www.gnome.org") |
e99a3d6f RW |
757 | (synopsis "Daemon to store passwords and encryption keys") |
758 | (description | |
759 | "gnome-keyring is a program that keeps passwords and other secrets for | |
760 | users. It is run as a daemon in the session, similar to ssh-agent, and other | |
761 | applications locate it via an environment variable or D-Bus. | |
762 | ||
763 | The program can manage several keyrings, each with its own master password, | |
764 | and there is also a session keyring which is never stored to disk, but | |
765 | forgotten when the session ends.") | |
766 | (license license:lgpl2.1+))) | |
767 | ||
c1354b90 LC |
768 | (define-public evince |
769 | (package | |
770 | (name "evince") | |
2dfc16d1 | 771 | (version "3.30.2") |
c1354b90 LC |
772 | (source (origin |
773 | (method url-fetch) | |
b38e45d8 EB |
774 | (uri (string-append "mirror://gnome/sources/" name "/" |
775 | (version-major+minor version) "/" | |
776 | name "-" version ".tar.xz")) | |
c1354b90 LC |
777 | (sha256 |
778 | (base32 | |
2dfc16d1 | 779 | "0k7jln6dpg4bpv61niicjzkzyq6fhb3yfld7pc8ck71c8pmvsnx9")))) |
121de2e1 | 780 | (build-system glib-or-gtk-build-system) |
c1354b90 LC |
781 | (arguments |
782 | `(#:configure-flags '("--disable-nautilus") | |
554b2dac SB |
783 | #:phases |
784 | (modify-phases %standard-phases | |
785 | (add-before 'install 'skip-gtk-update-icon-cache | |
786 | ;; Don't create 'icon-theme.cache'. | |
787 | (lambda _ | |
788 | (substitute* "data/Makefile" | |
789 | (("gtk-update-icon-cache") "true")) | |
790 | #t))))) | |
c1354b90 | 791 | (inputs |
9a096881 KK |
792 | `(("libarchive" ,libarchive) |
793 | ("libgxps" ,libgxps) | |
794 | ("libspectre" ,libspectre) | |
c769cf9f | 795 | ("djvulibre" ,djvulibre) |
c1354b90 LC |
796 | ("ghostscript" ,ghostscript) |
797 | ("poppler" ,poppler) | |
c769cf9f SB |
798 | ("libtiff" ,libtiff) |
799 | ;; TODO: | |
c769cf9f SB |
800 | ;; Build libkpathsea as a shared library for DVI support. |
801 | ;; ("libkpathsea" ,texlive-bin) | |
802 | ("gnome-desktop" ,gnome-desktop) | |
c1354b90 | 803 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2dfc16d1 | 804 | ("gspell" ,gspell) |
c1354b90 | 805 | ("libgnome-keyring" ,libgnome-keyring) |
c769cf9f | 806 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
c1354b90 LC |
807 | ("gdk-pixbuf" ,gdk-pixbuf) |
808 | ("atk" ,atk) | |
809 | ("pango" ,pango) | |
810 | ("gtk+" ,gtk+) | |
811 | ("glib" ,glib) | |
812 | ("libxml2" ,libxml2) | |
c1354b90 LC |
813 | ("libsm" ,libsm) |
814 | ("libice" ,libice) | |
96e42467 | 815 | ("shared-mime-info" ,shared-mime-info) |
3d243e9c FB |
816 | ("dconf" ,dconf) |
817 | ("libcanberra" ,libcanberra) | |
c769cf9f | 818 | ("libsecret" ,libsecret) |
a271096b LC |
819 | |
820 | ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be | |
821 | ;; propagated from there. | |
822 | ("nettle" ,nettle) | |
823 | ||
c1354b90 LC |
824 | ;; For tests. |
825 | ("dogtail" ,python2-dogtail))) | |
96e42467 | 826 | (native-inputs |
bcb354ad SB |
827 | `(("itstool" ,itstool) |
828 | ("intltool" ,intltool) | |
426adbe8 | 829 | ("glib" ,glib "bin") |
bcb354ad SB |
830 | ("pkg-config" ,pkg-config) |
831 | ("xmllint" ,libxml2))) | |
c1354b90 | 832 | (home-page |
f032d0be | 833 | "https://www.gnome.org/projects/evince/") |
c1354b90 LC |
834 | (synopsis "GNOME's document viewer") |
835 | (description | |
836 | "Evince is a document viewer for multiple document formats. It | |
837 | currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal | |
838 | of Evince is to replace the multiple document viewers that exist | |
96e42467 | 839 | on the GNOME Desktop with a single simple application.") |
1dd26275 | 840 | (license license:gpl2+))) |
c1354b90 | 841 | |
22e32e69 AE |
842 | (define-public gsettings-desktop-schemas |
843 | (package | |
844 | (name "gsettings-desktop-schemas") | |
10ff872f | 845 | (version "3.28.1") |
22e32e69 AE |
846 | (source |
847 | (origin | |
848 | (method url-fetch) | |
849 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 850 | (version-major+minor version) "/" |
22e32e69 AE |
851 | name "-" version ".tar.xz")) |
852 | (sha256 | |
853 | (base32 | |
10ff872f | 854 | "0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq")))) |
22e32e69 AE |
855 | (build-system gnu-build-system) |
856 | (inputs | |
c4c4cc05 JD |
857 | `(("glib" ,glib))) |
858 | (native-inputs | |
859 | `(("intltool" ,intltool) | |
426adbe8 | 860 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
7211944a | 861 | ("gobject-introspection" ,gobject-introspection) |
22e32e69 AE |
862 | ("pkg-config" ,pkg-config))) |
863 | (home-page "https://launchpad.net/gsettings-desktop-schemas") | |
864 | (synopsis | |
865 | "GNOME settings for various desktop components") | |
866 | (description | |
867 | "Gsettings-desktop-schemas contains a collection of GSettings schemas | |
868 | for settings shared by various components of the GNOME desktop.") | |
1dd26275 | 869 | (license license:lgpl2.1+))) |
22e32e69 | 870 | |
27477d2d AE |
871 | (define-public icon-naming-utils |
872 | (package | |
873 | (name "icon-naming-utils") | |
874 | (version "0.8.90") | |
875 | (source | |
876 | (origin | |
877 | (method url-fetch) | |
5cc3096c | 878 | (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-" |
27477d2d AE |
879 | version ".tar.bz2")) |
880 | (sha256 | |
881 | (base32 | |
882 | "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi")))) | |
883 | (build-system gnu-build-system) | |
884 | (inputs | |
885 | `(("perl" ,perl) | |
886 | ("perl-xml-simple" ,perl-xml-simple))) | |
f4e97277 SB |
887 | (arguments |
888 | '(#:phases | |
dc1d3cde KK |
889 | (modify-phases %standard-phases |
890 | (add-after 'install 'set-load-paths | |
891 | ;; Tell 'icon-name-mapping' where XML::Simple is. | |
892 | (lambda* (#:key outputs #:allow-other-keys) | |
893 | (let* ((out (assoc-ref outputs "out")) | |
894 | (prog (string-append out "/libexec/icon-name-mapping"))) | |
895 | (wrap-program | |
896 | prog | |
897 | `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))) | |
898 | #t))))) | |
27477d2d AE |
899 | (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification") |
900 | (synopsis | |
901 | "Utility to implement the Freedesktop Icon Naming Specification") | |
902 | (description | |
903 | "To help with the transition to the Freedesktop Icon Naming | |
904 | Specification, the icon naming utility maps the icon names used by the | |
905 | GNOME and KDE desktops to the icon names proposed in the specification.") | |
1dd26275 | 906 | (license license:lgpl2.1+))) |
27477d2d | 907 | |
7d3f3651 AE |
908 | (define-public gnome-icon-theme |
909 | (package | |
910 | (name "gnome-icon-theme") | |
b32f58dd | 911 | (version "3.12.0") |
7d3f3651 AE |
912 | (source |
913 | (origin | |
914 | (method url-fetch) | |
915 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 916 | (version-major+minor version) "/" |
7d3f3651 AE |
917 | name "-" version ".tar.xz")) |
918 | (sha256 | |
919 | (base32 | |
b32f58dd | 920 | "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im")))) |
7d3f3651 | 921 | (build-system gnu-build-system) |
5613c27d SB |
922 | (arguments |
923 | '(#:configure-flags | |
924 | ;; Don't create 'icon-theme.cache'. | |
925 | (let* ((coreutils (assoc-ref %build-inputs "coreutils")) | |
926 | (true (string-append coreutils "/bin/true"))) | |
927 | (list (string-append "GTK_UPDATE_ICON_CACHE=" true))))) | |
c4c4cc05 | 928 | (native-inputs |
5613c27d | 929 | `(("icon-naming-utils" ,icon-naming-utils) |
73b6cf42 SB |
930 | ("intltool" ,intltool) |
931 | ("pkg-config" ,pkg-config))) | |
f032d0be | 932 | (home-page "https://art.gnome.org/") |
7d3f3651 AE |
933 | (synopsis |
934 | "GNOME icon theme") | |
935 | (description | |
936 | "Icons for the GNOME desktop.") | |
1dd26275 | 937 | (license license:lgpl3))) ; or Creative Commons BY-SA 3.0 |
7d3f3651 | 938 | |
14eeefa2 SB |
939 | ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0. |
940 | (define-public adwaita-icon-theme | |
941 | (package (inherit gnome-icon-theme) | |
942 | (name "adwaita-icon-theme") | |
412e5302 | 943 | (version "3.30.1") |
14eeefa2 SB |
944 | (source (origin |
945 | (method url-fetch) | |
946 | (uri (string-append "mirror://gnome/sources/" name "/" | |
947 | (version-major+minor version) "/" | |
948 | name "-" version ".tar.xz")) | |
949 | (sha256 | |
950 | (base32 | |
412e5302 | 951 | "1kp1lis3dr16jmlgycz1b29jsr6ir8wmqj6laqwlhs663cmjlxbd")))) |
5613c27d SB |
952 | (native-inputs |
953 | `(("gtk-encode-symbolic-svg" ,gtk+ "bin"))))) | |
14eeefa2 | 954 | |
ae792dba RW |
955 | (define-public tango-icon-theme |
956 | (package | |
957 | (name "tango-icon-theme") | |
958 | (version "0.8.90") | |
959 | (source (origin | |
960 | (method url-fetch) | |
961 | (uri (string-append "http://tango.freedesktop.org/releases/" | |
962 | "tango-icon-theme-" version ".tar.bz2")) | |
963 | (sha256 | |
964 | (base32 | |
965 | "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79")))) | |
966 | (build-system gnu-build-system) | |
967 | (native-inputs | |
968 | `(("icon-naming-utils" ,icon-naming-utils) | |
969 | ("intltool" ,intltool) | |
970 | ("imagemagick" ,imagemagick) | |
971 | ("pkg-config" ,pkg-config))) | |
972 | (home-page "http://tango-project.org/") | |
973 | (synopsis "Tango icon theme") | |
974 | (description "This is an icon theme that follows the Tango visual | |
975 | guidelines.") | |
976 | (license license:public-domain))) | |
977 | ||
9167f8e6 LC |
978 | (define-public shared-mime-info |
979 | (package | |
980 | (name "shared-mime-info") | |
18138ab9 | 981 | (version "1.10") |
9167f8e6 LC |
982 | (source (origin |
983 | (method url-fetch) | |
5cc3096c | 984 | (uri (string-append "https://freedesktop.org/~hadess/" |
b38e45d8 | 985 | "shared-mime-info-" version ".tar.xz")) |
9167f8e6 LC |
986 | (sha256 |
987 | (base32 | |
18138ab9 | 988 | "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6")))) |
9167f8e6 LC |
989 | (build-system gnu-build-system) |
990 | (arguments | |
991 | ;; The build system appears not to be parallel-safe. | |
992 | '(#:parallel-build? #f)) | |
993 | (inputs | |
994 | `(("glib" ,glib) | |
c4c4cc05 | 995 | ("libxml2" ,libxml2))) |
9167f8e6 | 996 | (native-inputs |
c4c4cc05 JD |
997 | `(("intltool" ,intltool) |
998 | ("pkg-config" ,pkg-config))) | |
57e7d748 | 999 | (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info") |
9167f8e6 LC |
1000 | (synopsis "Database of common MIME types") |
1001 | (description | |
1002 | "The shared-mime-info package contains the core database of common types | |
1003 | and the update-mime-database command used to extend it. It requires glib2 to | |
1004 | be installed for building the update command. Additionally, it uses intltool | |
1005 | for translations, though this is only a dependency for the maintainers. This | |
1006 | database is translated at Transifex.") | |
1dd26275 | 1007 | (license license:gpl2+))) |
9167f8e6 | 1008 | |
dd1fcddc CB |
1009 | (define-public system-config-printer |
1010 | (package | |
1011 | (name "system-config-printer") | |
1012 | (version "1.5.11") | |
1013 | (source (origin | |
1014 | (method url-fetch) | |
1015 | (uri (string-append | |
1016 | "https://github.com/zdohnal/system-config-printer/releases/" | |
1017 | "download/" version | |
1018 | "/system-config-printer-" version ".tar.xz")) | |
1019 | (sha256 | |
1020 | (base32 | |
1021 | "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q")))) | |
1022 | (build-system glib-or-gtk-build-system) | |
1023 | (arguments | |
1024 | `(#:imported-modules ((guix build python-build-system) | |
1025 | ,@%glib-or-gtk-build-system-modules) | |
1026 | #:phases | |
1027 | (modify-phases %standard-phases | |
1028 | (add-after 'unpack 'patch-Makefile.am | |
1029 | (lambda _ | |
1030 | ;; The Makefile generates some scripts, so set a valid shebang | |
1031 | (substitute* "Makefile.am" | |
1032 | (("/bin/bash") (which "bash"))) | |
1033 | (delete-file "configure") | |
1034 | #t)) | |
1035 | (add-after 'unpack 'patch-docbook-xml | |
1036 | (lambda* (#:key inputs #:allow-other-keys) | |
1037 | ;; Modify the man XML otherwise xmlto tries to access the network | |
1038 | (substitute* "man/system-config-printer.xml" | |
1039 | (("http://www.oasis-open.org/docbook/xml/4.1.2/") | |
1040 | (string-append (assoc-ref inputs "docbook-xml") | |
1041 | "/xml/dtd/docbook/"))) | |
1042 | #t)) | |
1043 | (add-after 'install 'wrap-for-python | |
1044 | (@@ (guix build python-build-system) wrap)) | |
1045 | (add-after 'install 'wrap | |
1046 | (lambda* (#:key outputs #:allow-other-keys) | |
1047 | (let ((out (assoc-ref outputs "out")) | |
1048 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
1049 | (for-each | |
1050 | (lambda (program) | |
1051 | (wrap-program program | |
1052 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
1053 | (map (lambda (name) | |
1054 | (string-append out "/bin/" name)) | |
1055 | '("system-config-printer" | |
1056 | "system-config-printer-applet" | |
1057 | "install-printerdriver" | |
1058 | "scp-dbus-service")))) | |
1059 | #t))))) | |
1060 | (inputs | |
1061 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1062 | ("gobject-introspection" ,gobject-introspection) | |
1063 | ("python" ,python) | |
1064 | ("cups" ,cups) | |
1065 | ("python-dbus" ,python-dbus) | |
1066 | ("python-pygobject" ,python-pygobject) | |
1067 | ("python-pycups" ,python-pycups) | |
1068 | ("python-requests" ,python-requests) | |
1069 | ("python-pycairo" ,python-pycairo) | |
1070 | ("libnotify" ,libnotify) | |
1071 | ("packagekit" ,packagekit))) | |
1072 | (native-inputs | |
1073 | `(("pkg-config" ,pkg-config) | |
1074 | ("desktop-file-utils" ,desktop-file-utils) | |
1075 | ("glib" ,glib) | |
1076 | ("autoconf" ,autoconf) | |
1077 | ("automake" ,automake) | |
1078 | ("intltool" ,intltool) | |
1079 | ("xmlto" ,xmlto) | |
1080 | ("docbook-xml" ,docbook-xml-4.1.2) | |
1081 | ("docbook-xsl" ,docbook-xsl) | |
1082 | ("libxml2" ,libxml2))) | |
1083 | (home-page "https://github.com/zdohnal/system-config-printer") | |
1084 | (synopsis "CUPS administration tool") | |
1085 | (description | |
1086 | "system-config-printer is a CUPS administration tool. It's written in | |
1087 | Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when | |
1088 | configuring CUPS.") | |
1089 | (license license:gpl2+))) | |
1090 | ||
bef4dd92 AE |
1091 | (define-public hicolor-icon-theme |
1092 | (package | |
1093 | (name "hicolor-icon-theme") | |
851cb6dd | 1094 | (version "0.17") |
bef4dd92 AE |
1095 | (source |
1096 | (origin | |
1097 | (method url-fetch) | |
5cc3096c | 1098 | (uri (string-append "https://icon-theme.freedesktop.org/releases/" |
b62a0070 | 1099 | "hicolor-icon-theme-" version ".tar.xz")) |
bef4dd92 AE |
1100 | (sha256 |
1101 | (base32 | |
851cb6dd | 1102 | "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i")))) |
bef4dd92 AE |
1103 | (build-system gnu-build-system) |
1104 | (arguments | |
1105 | `(#:tests? #f)) ; no check target | |
57e7d748 | 1106 | (home-page "https://icon-theme.freedesktop.org/releases/") |
bef4dd92 AE |
1107 | (synopsis |
1108 | "Freedesktop icon theme") | |
1109 | (description | |
1110 | "Freedesktop icon theme.") | |
1dd26275 | 1111 | (license license:gpl2))) |
bef4dd92 | 1112 | |
d9c1a22b AE |
1113 | (define-public libnotify |
1114 | (package | |
1115 | (name "libnotify") | |
195bfa68 | 1116 | (version "0.7.7") |
d9c1a22b AE |
1117 | (source |
1118 | (origin | |
1119 | (method url-fetch) | |
1120 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 1121 | (version-major+minor version) "/" |
d9c1a22b AE |
1122 | name "-" version ".tar.xz")) |
1123 | (sha256 | |
1124 | (base32 | |
195bfa68 | 1125 | "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w")))) |
d9c1a22b | 1126 | (build-system gnu-build-system) |
6acf6cec MB |
1127 | (arguments |
1128 | `(#:configure-flags '("--disable-static"))) | |
7ef08efa UK |
1129 | (propagated-inputs |
1130 | `(;; In Requires of libnotify.pc. | |
1131 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1132 | ("glib" ,glib))) | |
d9c1a22b | 1133 | (inputs |
7ef08efa | 1134 | `(("gtk+" ,gtk+) |
c4c4cc05 JD |
1135 | ("libpng" ,libpng))) |
1136 | (native-inputs | |
426adbe8 | 1137 | `(("pkg-config" ,pkg-config) |
277a7d82 JN |
1138 | ("glib" ,glib "bin") |
1139 | ("gobject-introspection" ,gobject-introspection))) | |
d9c1a22b AE |
1140 | (home-page "https://developer-next.gnome.org/libnotify/") |
1141 | (synopsis | |
1142 | "GNOME desktop notification library") | |
1143 | (description | |
1144 | "Libnotify is a library that sends desktop notifications to a | |
35b9e423 | 1145 | notification daemon, as defined in the Desktop Notifications spec. These |
d9c1a22b AE |
1146 | notifications can be used to inform the user about an event or display |
1147 | some form of information without getting in the user's way.") | |
1dd26275 | 1148 | (license license:lgpl2.1+))) |
7a8605ce CR |
1149 | |
1150 | (define-public libpeas | |
1151 | (package | |
1152 | (name "libpeas") | |
db122a9b | 1153 | (version "1.22.0") |
7a8605ce CR |
1154 | (source |
1155 | (origin | |
1156 | (method url-fetch) | |
1157 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 1158 | (version-major+minor version) "/" |
7a8605ce CR |
1159 | name "-" version ".tar.xz")) |
1160 | (sha256 | |
1161 | (base32 | |
db122a9b | 1162 | "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv")))) |
7a8605ce | 1163 | (build-system gnu-build-system) |
7a8605ce | 1164 | (inputs |
2ed6522a SB |
1165 | `(("gtk+" ,gtk+) |
1166 | ("glade" ,glade3) | |
2ed6522a SB |
1167 | ("python" ,python) |
1168 | ("python-pygobject" ,python-pygobject))) | |
141aed80 LC |
1169 | (native-inputs |
1170 | `(("pkg-config" ,pkg-config) | |
93622993 | 1171 | ("glib:bin" ,glib "bin") |
141aed80 LC |
1172 | ("gobject-introspection" ,gobject-introspection) |
1173 | ("intltool" ,intltool))) | |
55b7bbd8 LC |
1174 | (propagated-inputs |
1175 | ;; The .pc file "Requires" gobject-introspection. | |
1176 | `(("gobject-introspection" ,gobject-introspection))) | |
7a8605ce CR |
1177 | (home-page "https://wiki.gnome.org/Libpeas") |
1178 | (synopsis "GObject plugin system") | |
1179 | (description | |
d1e4ad1b TGR |
1180 | "Libpeas is a gobject-based plugin engine, targeted at giving every |
1181 | application the chance to assume its own extensibility. It also has a set of | |
1182 | features including, but not limited to: multiple extension points; on-demand | |
1183 | (lazy) programming language support for C, Python and JS; simplicity of the | |
1184 | API.") | |
1dd26275 | 1185 | (license license:lgpl2.0+))) |
ed19903d JD |
1186 | |
1187 | (define-public gtkglext | |
1188 | (package | |
1189 | (name "gtkglext") | |
1190 | (version "1.2.0") | |
1191 | (source (origin | |
1192 | (method url-fetch) | |
0f971a04 | 1193 | (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/" |
ed19903d JD |
1194 | version "/gtkglext-" version ".tar.gz")) |
1195 | (sha256 | |
1196 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
fc1adab1 AK |
1197 | (patches (search-patches |
1198 | "gtkglext-disable-disable-deprecated.patch")))) | |
ed19903d | 1199 | (build-system gnu-build-system) |
14e2f61a RW |
1200 | (arguments |
1201 | `(#:phases | |
1202 | (modify-phases %standard-phases | |
1203 | ;; Fix a collision between a local variable and a definition from | |
1204 | ;; glibc's string.h. | |
1205 | (add-after 'unpack 'fix-collision | |
1206 | (lambda _ | |
1207 | (substitute* "gdk/gdkglshapes.c" | |
1208 | ((" index") " triangle_index")) | |
1209 | #t))))) | |
ed19903d JD |
1210 | (inputs `(("gtk+" ,gtk+-2) |
1211 | ("mesa" ,mesa) | |
cc8b02f4 | 1212 | ("glu" ,glu) |
ed19903d JD |
1213 | ("libx11" ,libx11) |
1214 | ("libxt" ,libxt))) | |
426adbe8 LC |
1215 | (native-inputs `(("pkg-config" ,pkg-config) |
1216 | ("glib" ,glib "bin"))) | |
a83b6a06 | 1217 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 1218 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 1219 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 1220 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
1221 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
1222 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 1223 | (license license:lgpl2.1+))) |
3600420e JD |
1224 | |
1225 | (define-public glade3 | |
1226 | (package | |
1227 | (name "glade") | |
c6571adb | 1228 | (version "3.22.1") |
b38e45d8 EB |
1229 | (source (origin |
1230 | (method url-fetch) | |
1231 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1232 | (version-major+minor version) "/" | |
f5ca44b8 | 1233 | name "-" version ".tar.xz")) |
3600420e | 1234 | (sha256 |
f714d9fe | 1235 | (base32 |
c6571adb | 1236 | "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z")))) |
6983ba56 | 1237 | (build-system glib-or-gtk-build-system) |
f5ca44b8 RW |
1238 | (arguments |
1239 | `(#:tests? #f ; needs X, GL, and software rendering | |
1240 | #:phases | |
1241 | (modify-phases %standard-phases | |
1242 | (add-before 'configure 'fix-docbook | |
1243 | (lambda* (#:key inputs #:allow-other-keys) | |
1244 | (substitute* "man/Makefile.in" | |
1245 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
1246 | (string-append (assoc-ref inputs "docbook-xsl") | |
1247 | "/xml/xsl/docbook-xsl-" | |
1248 | ,(package-version docbook-xsl) | |
1249 | "/manpages/docbook.xsl"))) | |
1250 | #t))))) | |
3600420e | 1251 | (inputs |
f5ca44b8 | 1252 | `(("gtk+" ,gtk+) |
3600420e JD |
1253 | ("libxml2" ,libxml2))) |
1254 | (native-inputs | |
1255 | `(("intltool" ,intltool) | |
f5ca44b8 RW |
1256 | ("itstool" ,itstool) |
1257 | ("libxslt" ,libxslt) ;for xsltproc | |
1258 | ("docbook-xml" ,docbook-xml-4.2) | |
1259 | ("docbook-xsl" ,docbook-xsl) | |
1260 | ("python" ,python-2) | |
3600420e JD |
1261 | ("pkg-config" ,pkg-config))) |
1262 | (home-page "https://glade.gnome.org") | |
1263 | (synopsis "GTK+ rapid application development tool") | |
1264 | (description "Glade is a rapid application development (RAD) tool to | |
1265 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
1266 | the GNOME desktop environment.") | |
1dd26275 LC |
1267 | (license license:lgpl2.0+))) |
1268 | ||
1269 | (define-public libcroco | |
1270 | (package | |
1271 | (name "libcroco") | |
8bdacad2 | 1272 | (version "0.6.13") |
1dd26275 LC |
1273 | (source (origin |
1274 | (method url-fetch) | |
b38e45d8 EB |
1275 | (uri (string-append "mirror://gnome/sources/" name "/" |
1276 | (version-major+minor version) "/" | |
1277 | name "-" version ".tar.xz")) | |
1dd26275 LC |
1278 | (sha256 |
1279 | (base32 | |
8bdacad2 | 1280 | "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn")))) |
1dd26275 LC |
1281 | (build-system gnu-build-system) |
1282 | (native-inputs | |
1283 | `(("pkg-config" ,pkg-config))) | |
1284 | (inputs | |
1285 | `(("glib" ,glib) | |
1286 | ("libxml2" ,libxml2) | |
1287 | ("zlib" ,zlib))) | |
1288 | (home-page "https://github.com/GNOME/libcroco") | |
1289 | (synopsis "CSS2 parsing and manipulation library") | |
1290 | (description | |
1291 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
1292 | The parser provides a low level event driven SAC-like API and a CSS object | |
1293 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
1294 | XML/CSS rendering engine.") | |
1295 | ||
1296 | ;; LGPLv2.1-only. | |
1297 | (license license:lgpl2.1))) | |
25178594 LC |
1298 | |
1299 | (define-public libgsf | |
1300 | (package | |
1301 | (name "libgsf") | |
8d1644a1 | 1302 | (version "1.14.46") |
25178594 LC |
1303 | (source (origin |
1304 | (method url-fetch) | |
b38e45d8 EB |
1305 | (uri (string-append "mirror://gnome/sources/" name "/" |
1306 | (version-major+minor version) "/" | |
1307 | name "-" version ".tar.xz")) | |
25178594 LC |
1308 | (sha256 |
1309 | (base32 | |
8d1644a1 | 1310 | "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa")))) |
25178594 LC |
1311 | (build-system gnu-build-system) |
1312 | (native-inputs | |
1313 | `(("intltool" ,intltool) | |
1314 | ("pkg-config" ,pkg-config))) | |
1315 | (inputs | |
1316 | `(("python" ,python) | |
1317 | ("zlib" ,zlib) | |
1318 | ("bzip2" ,bzip2))) | |
1319 | (propagated-inputs | |
1320 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
1321 | ("glib" ,glib) | |
1322 | ("libxml2" ,libxml2))) | |
f032d0be | 1323 | (home-page "https://www.gnome.org/projects/libgsf") |
25178594 LC |
1324 | (synopsis "GNOME's Structured File Library") |
1325 | (description | |
1326 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
1327 | dealing with different structured file formats.") | |
1328 | ||
1329 | ;; LGPLv2.1-only. | |
1330 | (license license:lgpl2.1))) | |
63016e7c LC |
1331 | |
1332 | (define-public librsvg | |
f67417a1 MB |
1333 | (package |
1334 | (name "librsvg") | |
1335 | (version "2.40.20") | |
1336 | (source (origin | |
1337 | (method url-fetch) | |
1338 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1339 | (version-major+minor version) "/" | |
1340 | name "-" version ".tar.xz")) | |
1341 | (sha256 | |
1342 | (base32 | |
1343 | "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g")))) | |
1344 | (build-system gnu-build-system) | |
1345 | (arguments | |
1346 | `(#:configure-flags | |
1347 | (list "--disable-static" | |
1348 | "--enable-vala") ; needed for e.g. gnome-mines | |
1349 | #:phases | |
1350 | (modify-phases %standard-phases | |
1351 | (add-before 'configure 'pre-configure | |
1352 | (lambda* (#:key inputs #:allow-other-keys) | |
1353 | (substitute* "gdk-pixbuf-loader/Makefile.in" | |
1354 | ;; By default the gdk-pixbuf loader is installed under | |
1355 | ;; gdk-pixbuf's prefix. Work around that. | |
1356 | (("gdk_pixbuf_moduledir = .*$") | |
1357 | (string-append "gdk_pixbuf_moduledir = " | |
1358 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" | |
1359 | "loaders\n")) | |
1360 | ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg. | |
1361 | (("gdk_pixbuf_cache_file = .*$") | |
1362 | "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")) | |
1363 | #t)) | |
1364 | (add-before 'check 'remove-failing-tests | |
1365 | (lambda _ | |
1366 | (with-directory-excursion "tests/fixtures/reftests" | |
1367 | (for-each delete-file | |
1368 | '(;; This test fails on i686: | |
1369 | "svg1.1/masking-path-04-b.svg" | |
1370 | ;; This test fails on armhf: | |
1371 | "svg1.1/masking-mask-01-b.svg" | |
1372 | ;; This test fails on aarch64: | |
1373 | "bugs/777834-empty-text-children.svg"))) | |
1374 | #t))))) | |
1375 | (native-inputs | |
1376 | `(("pkg-config" ,pkg-config) | |
1377 | ("vala" ,vala) | |
1378 | ("glib" ,glib "bin") ; glib-mkenums, etc. | |
1379 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. | |
1380 | (inputs | |
1381 | `(("pango" ,pango) | |
1382 | ("libcroco" ,libcroco) | |
1383 | ("bzip2" ,bzip2) | |
1384 | ("libgsf" ,libgsf) | |
1385 | ("libxml2" ,libxml2))) | |
1386 | (propagated-inputs | |
1387 | ;; librsvg-2.0.pc refers to all of that. | |
1388 | `(("cairo" ,cairo) | |
1389 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1390 | ("glib" ,glib))) | |
1391 | (home-page "https://wiki.gnome.org/LibRsvg") | |
1392 | (synopsis "Render SVG files using Cairo") | |
1393 | (description | |
1394 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics | |
1395 | library.") | |
1396 | (license license:lgpl2.0+))) | |
1397 | ||
1398 | (define-public librsvg-next | |
63016e7c LC |
1399 | (package |
1400 | (name "librsvg") | |
ec47c07d | 1401 | (version "2.44.12") |
63016e7c LC |
1402 | (source (origin |
1403 | (method url-fetch) | |
b38e45d8 EB |
1404 | (uri (string-append "mirror://gnome/sources/" name "/" |
1405 | (version-major+minor version) "/" | |
1406 | name "-" version ".tar.xz")) | |
63016e7c LC |
1407 | (sha256 |
1408 | (base32 | |
ec47c07d | 1409 | "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6")))) |
63016e7c LC |
1410 | (build-system gnu-build-system) |
1411 | (arguments | |
d953418a RW |
1412 | `(#:configure-flags |
1413 | (list "--disable-static" | |
1414 | "--enable-vala") ; needed for e.g. gnome-mines | |
7e0f4cb1 | 1415 | #:make-flags '("CC=gcc") |
ec47c07d | 1416 | #:phases |
b6239e45 | 1417 | (modify-phases %standard-phases |
ec47c07d MB |
1418 | ;; Don't patch anything in vendor/ to avoid having to recompute |
1419 | ;; checksums for the bundled Cargo "crates". TODO: Unbundle those. | |
1420 | (delete 'patch-source-shebangs) | |
1421 | (delete 'patch-generated-file-shebangs) | |
1422 | (delete 'patch-usr-bin-file) | |
1423 | (add-before 'configure 'patch-all-the-things | |
1424 | (lambda _ | |
1425 | (for-each patch-shebang '("tap-driver.sh" "tap-test")) | |
1426 | (patch-/usr/bin/file "configure") | |
1427 | #t)) | |
b6239e45 EF |
1428 | (add-before 'configure 'pre-configure |
1429 | (lambda* (#:key inputs #:allow-other-keys) | |
1430 | (substitute* "gdk-pixbuf-loader/Makefile.in" | |
1431 | ;; By default the gdk-pixbuf loader is installed under | |
1432 | ;; gdk-pixbuf's prefix. Work around that. | |
1433 | (("gdk_pixbuf_moduledir = .*$") | |
1434 | (string-append "gdk_pixbuf_moduledir = " | |
1435 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" | |
1436 | "loaders\n")) | |
1437 | ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg. | |
1438 | (("gdk_pixbuf_cache_file = .*$") | |
1439 | "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")) | |
1440 | #t)) | |
ec47c07d | 1441 | (add-before 'check 'remove-failing-tests |
b6239e45 | 1442 | (lambda _ |
64a153bd MW |
1443 | (with-directory-excursion "tests/fixtures/reftests" |
1444 | (for-each delete-file | |
ec47c07d MB |
1445 | '(;; The images produced by these tests differ slightly |
1446 | ;; from their reference counterparts due to differences | |
1447 | ;; in the build environment (missing fonts, etc). See | |
1448 | ;; <tests/README.md> for details. | |
1449 | ;; These fail on x86_64. | |
1450 | "svg1.1/coords-viewattr-02-b.svg" | |
1451 | "svg1.1/filters-composite-04-f.svg" | |
1452 | "svg1.1/filters-image-01-b.svg" | |
1453 | "svg1.1/filters-conv-02-f.svg" | |
1454 | "svg1.1/filters-conv-04-f.svg" | |
1455 | ;; This test fails on i686: | |
64a153bd | 1456 | "svg1.1/masking-path-04-b.svg" |
64a153bd MW |
1457 | ;; This test fails on armhf: |
1458 | "svg1.1/masking-mask-01-b.svg" | |
64a153bd | 1459 | ;; This test fails on aarch64: |
ec47c07d | 1460 | "bugs/777834-empty-text-children.svg"))) |
b6239e45 | 1461 | #t))))) |
63016e7c LC |
1462 | (native-inputs |
1463 | `(("pkg-config" ,pkg-config) | |
ec47c07d MB |
1464 | ;; This is the minimum supported Rust version in Librsvg 2.44. |
1465 | ("rust" ,rust-1.27) | |
1466 | ("cargo" ,rust-1.27 "cargo") | |
d953418a | 1467 | ("vala" ,vala) |
44add1ce | 1468 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
1469 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
1470 | (inputs | |
1471 | `(("pango" ,pango) | |
1472 | ("libcroco" ,libcroco) | |
1473 | ("bzip2" ,bzip2) | |
1474 | ("libgsf" ,libgsf) | |
1475 | ("libxml2" ,libxml2))) | |
1476 | (propagated-inputs | |
1477 | ;; librsvg-2.0.pc refers to all of that. | |
1478 | `(("cairo" ,cairo) | |
1479 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1480 | ("glib" ,glib))) | |
1481 | (home-page "https://wiki.gnome.org/LibRsvg") | |
1482 | (synopsis "Render SVG files using Cairo") | |
1483 | (description | |
35b9e423 | 1484 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
1485 | library.") |
1486 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
1487 | |
1488 | (define-public libidl | |
1489 | (package | |
1490 | (name "libidl") | |
1491 | (version "0.8.14") | |
1492 | (source (origin | |
1493 | (method url-fetch) | |
1494 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
1495 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1496 | (version-major+minor version) "/" | |
1497 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1498 | (sha256 |
1499 | (base32 | |
1500 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
1501 | (build-system gnu-build-system) | |
1502 | (inputs `(("glib" ,glib))) | |
1503 | (native-inputs | |
1504 | `(("pkg-config" ,pkg-config) | |
b3546174 | 1505 | ("flex" ,flex) |
5698b8b8 JD |
1506 | ("bison" ,bison))) |
1507 | (home-page "http://freecode.com/projects/libidl") | |
1508 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 1509 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
1510 | Definition Language (idl) files, which is a specification for defining |
1511 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 1512 | GNOME project, and the primary means of libidl distribution). However, the |
2e6ecc5c | 1513 | functionality was designed to be as reusable and portable as possible.") |
5698b8b8 JD |
1514 | (license license:lgpl2.0+))) |
1515 | ||
1516 | ||
1517 | (define-public orbit2 | |
1518 | (package | |
1519 | (name "orbit2") | |
1520 | (version "2.14.19") | |
1521 | (source (origin | |
1522 | (method url-fetch) | |
2e6ecc5c | 1523 | (uri (let ((upstream-name "ORBit2")) |
a124bbd2 | 1524 | (string-append "mirror://gnome/sources/" upstream-name "/" |
b38e45d8 EB |
1525 | (version-major+minor version) "/" |
1526 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 | 1527 | (sha256 |
a124bbd2 SB |
1528 | (base32 |
1529 | "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
5698b8b8 JD |
1530 | (build-system gnu-build-system) |
1531 | (arguments | |
a124bbd2 | 1532 | `(#:configure-flags |
8aad2e32 LC |
1533 | '(;; We don't need static libraries, plus they don't build reproducibly |
1534 | ;; (non-deterministic ordering of .o files in the archive.) | |
1535 | "--disable-static" | |
1536 | ||
1537 | ;; The programmer kindly gives us a hook to turn off deprecation | |
1538 | ;; warnings ... | |
1539 | "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
a124bbd2 SB |
1540 | ;; ... which they then completly ignore !! |
1541 | #:phases | |
dc1d3cde KK |
1542 | (modify-phases %standard-phases |
1543 | (add-before 'configure 'ignore-deprecations | |
1544 | (lambda _ | |
1545 | (substitute* "linc2/src/Makefile.in" | |
1546 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1547 | #t))))) | |
5698b8b8 JD |
1548 | (inputs `(("glib" ,glib) |
1549 | ("libidl" ,libidl))) | |
1550 | (native-inputs | |
1551 | `(("pkg-config" ,pkg-config))) | |
1552 | (home-page "https://projects.gnome.org/orbit2/") | |
1553 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 1554 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
2e6ecc5c | 1555 | featuring mature C, C++ and Python bindings.") |
a124bbd2 SB |
1556 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving |
1557 | ;; a version. SOME of the code files have licence notices for GPLv2+. | |
1558 | ;; The tarball contains files of the text of GPLv2 and LGPLv2. | |
892307ae LC |
1559 | (license license:gpl2+) |
1560 | (properties `((upstream-name . "ORBit2"))))) | |
5698b8b8 JD |
1561 | |
1562 | ||
1563 | (define-public libbonobo | |
1564 | (package | |
1565 | (name "libbonobo") | |
1566 | (version "2.32.1") | |
1567 | (source (origin | |
1568 | (method url-fetch) | |
5becd025 | 1569 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 1570 | (version-major+minor version) |
5becd025 | 1571 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 1572 | (sha256 |
f1fc45a9 | 1573 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
fc1adab1 AK |
1574 | (patches (search-patches |
1575 | "libbonobo-activation-test-race.patch")))) | |
5698b8b8 JD |
1576 | (build-system gnu-build-system) |
1577 | (arguments | |
1578 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
1579 | `(#:configure-flags |
1580 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
1581 | ;; ... which they then completly ignore !! | |
1582 | #:phases | |
dc1d3cde KK |
1583 | (modify-phases %standard-phases |
1584 | (add-before 'configure 'ignore-deprecations | |
1585 | (lambda _ | |
1586 | (substitute* "activation-server/Makefile.in" | |
1587 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
994b5b1d LC |
1588 | #t))) |
1589 | ||
1590 | ;; There's apparently a race condition between the server stub | |
1591 | ;; generation and linking of the example under 'samples/echo' that can | |
1592 | ;; lead do undefined references when building in parallel, as reported | |
1593 | ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>. | |
1594 | ;; Thus, disable parallel builds. | |
1595 | #:parallel-build? #f)) | |
5698b8b8 JD |
1596 | (inputs `(("popt" ,popt) |
1597 | ("libxml2" ,libxml2))) | |
1598 | ;; The following are Required by the .pc file | |
44add1ce | 1599 | (propagated-inputs |
5698b8b8 JD |
1600 | `(("glib" ,glib) |
1601 | ("orbit2" ,orbit2))) | |
1602 | (native-inputs | |
1603 | `(("intltool" ,intltool) | |
1604 | ("pkg-config" ,pkg-config) | |
221ed17a | 1605 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1606 | ("flex" ,flex) |
1607 | ("bison" ,bison))) | |
1608 | (home-page "https://developer.gnome.org/libbonobo/") | |
1609 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
1610 | (description "Bonobo is a framework for creating reusable components for | |
2e6ecc5c | 1611 | use in GNOME applications, built on top of CORBA.") |
5698b8b8 JD |
1612 | ;; Licence not explicitly stated. Source files contain no licence notices. |
1613 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
1614 | ;; GPLv2 covers both conditions | |
1615 | (license license:gpl2+))) | |
1616 | ||
1617 | ||
1618 | (define-public gconf | |
1619 | (package | |
1620 | (name "gconf") | |
1621 | (version "3.2.6") | |
1622 | (source (origin | |
1623 | (method url-fetch) | |
a124bbd2 SB |
1624 | (uri |
1625 | (let ((upstream-name "GConf")) | |
1626 | (string-append "mirror://gnome/sources/" upstream-name "/" | |
b38e45d8 EB |
1627 | (version-major+minor version) "/" |
1628 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
1629 | (sha256 |
1630 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
1631 | (build-system gnu-build-system) | |
2e88d113 | 1632 | (inputs `(("dbus-glib" ,dbus-glib) |
5698b8b8 | 1633 | ("libxml2" ,libxml2))) |
2e6ecc5c AE |
1634 | (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file |
1635 | ("orbit2" ,orbit2))) | |
5698b8b8 JD |
1636 | (native-inputs |
1637 | `(("intltool" ,intltool) | |
221ed17a | 1638 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1639 | ("pkg-config" ,pkg-config))) |
1640 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
1641 | (synopsis "Store application preferences") |
1642 | (description "Gconf is a system for storing application preferences. It | |
1643 | is intended for user preferences; not arbitrary data storage.") | |
29d2f451 LC |
1644 | (license license:lgpl2.0+) |
1645 | (properties '((upstream-name . "GConf"))))) | |
5698b8b8 JD |
1646 | |
1647 | ||
1648 | (define-public gnome-mime-data | |
1649 | (package | |
1650 | (name "gnome-mime-data") | |
1651 | (version "2.18.0") | |
1652 | (source (origin | |
1653 | (method url-fetch) | |
b38e45d8 EB |
1654 | (uri (string-append "mirror://gnome/sources/" name "/" |
1655 | (version-major+minor version) "/" | |
1656 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1657 | (sha256 |
1658 | (base32 | |
1659 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
1660 | (build-system gnu-build-system) | |
1661 | (native-inputs | |
1662 | `(("perl" ,perl) | |
1663 | ("intltool" ,intltool))) | |
3e6add96 LC |
1664 | (arguments |
1665 | '(#:phases (modify-phases %standard-phases | |
1666 | (add-after 'configure 'use-our-intltool | |
1667 | (lambda _ | |
1668 | ;; Do not use the bundled intltool commands, which lack | |
1669 | ;; the "dotless @INC" fixes of our 'intltool' package. | |
1670 | (substitute* (find-files "." "^Makefile$") | |
1671 | (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool) | |
1672 | (string-append "INTLTOOL_" tool " = intltool-" | |
1673 | (string-downcase tool) "\n"))) | |
1674 | #t))))) | |
f032d0be | 1675 | (home-page "https://www.gnome.org") |
35b9e423 | 1676 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
1677 | (description "GNOME Mime Data is a module which contains the base MIME |
1678 | and Application database for GNOME. The data stored by this module is | |
1679 | designed to be accessed through the MIME functions in GnomeVFS.") | |
1680 | (license license:gpl2+))) | |
1681 | ||
1682 | ||
1683 | (define-public gnome-vfs | |
1684 | (package | |
1685 | (name "gnome-vfs") | |
1686 | (version "2.24.4") | |
1687 | (source (origin | |
1688 | (method url-fetch) | |
b38e45d8 EB |
1689 | (uri (string-append "mirror://gnome/sources/" name "/" |
1690 | (version-major+minor version) "/" | |
1691 | name "-" version ".tar.bz2")) | |
5698b8b8 | 1692 | (sha256 |
9e12bc34 MW |
1693 | (base32 |
1694 | "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
5698b8b8 JD |
1695 | (build-system gnu-build-system) |
1696 | (arguments | |
db5127d8 | 1697 | `(#:phases |
dc1d3cde KK |
1698 | (modify-phases %standard-phases |
1699 | (add-before 'configure 'ignore-deprecations | |
1700 | (lambda _ | |
1701 | (substitute* '("libgnomevfs/Makefile.in" | |
1702 | "daemon/Makefile.in") | |
1703 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1704 | #t)) | |
1705 | (add-before 'configure 'patch-test-async-cancel-to-never-fail | |
1706 | (lambda _ | |
1707 | (substitute* "test/test-async-cancel.c" | |
1708 | (("EXIT_FAILURE") "77")) | |
1709 | #t))))) | |
2e6ecc5c | 1710 | (inputs `(("libxml2" ,libxml2) |
5698b8b8 | 1711 | ("dbus-glib" ,dbus-glib) |
5698b8b8 JD |
1712 | ("gconf" ,gconf) |
1713 | ("gnome-mime-data" ,gnome-mime-data) | |
1714 | ("zlib" ,zlib))) | |
1715 | (native-inputs | |
221ed17a EB |
1716 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1717 | ("intltool" ,intltool) | |
5698b8b8 JD |
1718 | ("pkg-config" ,pkg-config))) |
1719 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 1720 | (synopsis "Access files and folders in GNOME applications") |
9e12bc34 MW |
1721 | (description |
1722 | "GnomeVFS is the core library used to access files and folders in GNOME | |
1723 | applications. It provides a file system abstraction which allows applications | |
1724 | to access local and remote files with a single consistent API.") | |
5698b8b8 JD |
1725 | (license license:lgpl2.0+))) |
1726 | ||
1727 | ||
1728 | ||
1729 | (define-public libgnome | |
1730 | (package | |
1731 | (name "libgnome") | |
1732 | (version "2.32.1") | |
1733 | (source (origin | |
1734 | (method url-fetch) | |
b38e45d8 EB |
1735 | (uri (string-append "mirror://gnome/sources/" name "/" |
1736 | (version-major+minor version) "/" | |
1737 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1738 | (sha256 |
1739 | (base32 | |
17c3eea7 LC |
1740 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")) |
1741 | (patches (search-patches "libgnome-encoding.patch")))) | |
5698b8b8 JD |
1742 | (build-system gnu-build-system) |
1743 | (arguments | |
1744 | `(#:phases | |
dc1d3cde KK |
1745 | (modify-phases %standard-phases |
1746 | (add-before 'configure 'enable-deprecated | |
1747 | (lambda _ | |
1748 | (substitute* "libgnome/Makefile.in" | |
1749 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1750 | #t))))) | |
25338e9f | 1751 | (inputs `(("libxml2" ,libxml2))) |
5698b8b8 | 1752 | (native-inputs |
221ed17a EB |
1753 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1754 | ("intltool" ,intltool) | |
5698b8b8 JD |
1755 | ("pkg-config" ,pkg-config))) |
1756 | ;; The following are listed as Required in the .pc file | |
1757 | ;; (except for libcanberra -- which seems to be oversight on the part | |
1758 | ;; of the upstream developers -- anything that links against libgnome, | |
1759 | ;; must also link against libcanberra | |
1760 | (propagated-inputs | |
1761 | `(("libcanberra" ,libcanberra) | |
1762 | ("libbonobo" ,libbonobo) | |
1763 | ("gconf" ,gconf) | |
a640d3d5 LC |
1764 | ("gnome-vfs" ,gnome-vfs) |
1765 | ("popt" ,popt))) ;gnome-program.h includes popt.h | |
5698b8b8 JD |
1766 | (home-page "https://developer.gnome.org/libgnome/") |
1767 | (synopsis "Useful routines for building applications") | |
1768 | (description "The libgnome library provides a number of useful routines | |
1769 | for building modern applications, including session management, activation of | |
1770 | files and URIs, and displaying help.") | |
1771 | (license license:lgpl2.0+))) | |
1772 | ||
1773 | ||
1774 | (define-public libart-lgpl | |
1775 | (package | |
1776 | (name "libart-lgpl") | |
76c9b6aa | 1777 | (version "2.3.21") |
5698b8b8 JD |
1778 | (source (origin |
1779 | (method url-fetch) | |
1780 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
1781 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1782 | (version-major+minor version) "/" | |
1783 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1784 | (sha256 |
1785 | (base32 | |
76c9b6aa | 1786 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
1787 | (build-system gnu-build-system) |
1788 | (native-inputs | |
1789 | `(("pkg-config" ,pkg-config))) | |
1790 | (home-page "https://people.gnome.org/~mathieu/libart") | |
1791 | (synopsis "2D drawing library") | |
2e6ecc5c | 1792 | (description "Libart is a 2D drawing library intended as a |
5698b8b8 JD |
1793 | high-quality vector-based 2D library with antialiasing and alpha composition.") |
1794 | (license license:lgpl2.0+))) | |
1795 | ||
1796 | ||
1797 | ||
1798 | (define-public libgnomecanvas | |
1799 | (package | |
1800 | (name "libgnomecanvas") | |
1801 | (version "2.30.3") | |
1802 | (source (origin | |
1803 | (method url-fetch) | |
b38e45d8 EB |
1804 | (uri (string-append "mirror://gnome/sources/" name "/" |
1805 | (version-major+minor version) "/" | |
1806 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
1807 | (sha256 |
1808 | (base32 | |
1809 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
1810 | (build-system gnu-build-system) | |
1811 | ;; Mentioned as Required in the .pc file | |
1812 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
1813 | ("gtk+" ,gtk+-2))) | |
1814 | (native-inputs | |
1815 | `(("intltool" ,intltool) | |
221ed17a | 1816 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1817 | ("pkg-config" ,pkg-config))) |
1818 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
1819 | (synopsis "Flexible widget for creating interactive structured graphics") | |
1820 | (description "The GnomeCanvas widget provides a flexible widget for | |
1821 | creating interactive structured graphics.") | |
1822 | (license license:lgpl2.0+))) | |
1823 | ||
eadc734e RW |
1824 | (define-public libgnomecanvasmm |
1825 | (package | |
1826 | (name "libgnomecanvasmm") | |
1827 | (version "2.26.0") | |
1828 | (source (origin | |
1829 | (method url-fetch) | |
1830 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1831 | (version-major+minor version) "/" | |
1832 | name "-" version ".tar.bz2")) | |
1833 | (sha256 | |
1834 | (base32 | |
1835 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1836 | (build-system gnu-build-system) | |
1837 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) | |
1838 | (native-inputs | |
1839 | `(("gtkmm-2" ,gtkmm-2) | |
1840 | ("pkg-config" ,pkg-config))) | |
8e933cb3 | 1841 | (home-page "https://gtkmm.org") |
eadc734e RW |
1842 | (synopsis "C++ bindings to the GNOME Canvas library") |
1843 | (description "C++ bindings to the GNOME Canvas library.") | |
1844 | (license license:lgpl2.0+))) | |
1845 | ||
5698b8b8 JD |
1846 | (define-public libgnomeui |
1847 | (package | |
1848 | (name "libgnomeui") | |
1849 | (version "2.24.5") | |
1850 | (source (origin | |
1851 | (method url-fetch) | |
b38e45d8 EB |
1852 | (uri (string-append "mirror://gnome/sources/" name "/" |
1853 | (version-major+minor version) "/" | |
1854 | name "-" version ".tar.bz2")) | |
8fa1872a | 1855 | (patches (search-patches "libgnomeui-utf8.patch")) |
5698b8b8 JD |
1856 | (sha256 |
1857 | (base32 | |
1858 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1859 | (build-system gnu-build-system) | |
1860 | ;; Mentioned as Required in the .pc file | |
0a38a497 AE |
1861 | (propagated-inputs `(("libbonoboui" ,libbonoboui) |
1862 | ("libgnome" ,libgnome) | |
1863 | ("libgnomecanvas" ,libgnomecanvas) | |
5698b8b8 | 1864 | ("libgnome-keyring" ,libgnome-keyring))) |
0a38a497 | 1865 | (inputs `(("libjpeg" ,libjpeg) |
5698b8b8 JD |
1866 | ("popt" ,popt) |
1867 | ("libbonobo" ,libbonobo) | |
1868 | ("libxml2" ,libxml2) | |
1869 | ("libglade" ,libglade))) | |
1870 | (native-inputs | |
221ed17a EB |
1871 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1872 | ("intltool" ,intltool) | |
5698b8b8 JD |
1873 | ("pkg-config" ,pkg-config))) |
1874 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1875 | (synopsis "Additional widgets for applications") | |
35b9e423 | 1876 | (description "The libgnomeui library provides additional widgets for |
e881752c AK |
1877 | applications. Many of the widgets from libgnomeui have already been |
1878 | ported to GTK+.") | |
5698b8b8 JD |
1879 | (license license:lgpl2.0+))) |
1880 | ||
1881 | (define-public libglade | |
1882 | (package | |
1883 | (name "libglade") | |
1884 | (version "2.6.4") | |
1885 | (source (origin | |
1886 | (method url-fetch) | |
b38e45d8 EB |
1887 | (uri (string-append "mirror://gnome/sources/" name "/" |
1888 | (version-major+minor version) "/" | |
1889 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1890 | (sha256 |
1891 | (base32 | |
1892 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1893 | (build-system gnu-build-system) | |
1894 | (inputs | |
92dcc23d AE |
1895 | `(("python" ,python))) ;; needed for the optional libglade-convert program |
1896 | (propagated-inputs | |
5698b8b8 | 1897 | `(("gtk+-2" ,gtk+-2) |
92dcc23d | 1898 | ("libxml2" ,libxml2))) ; required by libglade-2.0.pc |
5698b8b8 JD |
1899 | (native-inputs |
1900 | `(("pkg-config" ,pkg-config))) | |
1901 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1902 | (synopsis "Load glade interfaces and access the glade built widgets") |
1903 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1904 | graphical interfaces described in glade files and for accessing the |
1905 | widgets built in the loading process.") | |
1906 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1907 | ||
1908 | (define-public libgnomeprint | |
eb497b66 LC |
1909 | ;; This library has been deprecated since 2006; see |
1910 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1911 | (package |
1912 | (name "libgnomeprint") | |
d19db454 | 1913 | (version "2.18.8") |
5698b8b8 JD |
1914 | (source (origin |
1915 | (method url-fetch) | |
b38e45d8 EB |
1916 | (uri (string-append "mirror://gnome/sources/" name "/" |
1917 | (version-major+minor version) "/" | |
1918 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1919 | (sha256 |
1920 | (base32 | |
d19db454 | 1921 | "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h")))) |
5698b8b8 JD |
1922 | (build-system gnu-build-system) |
1923 | (inputs | |
1924 | `(("popt" ,popt) | |
1925 | ("libart-lgpl" ,libart-lgpl) | |
1926 | ("gtk+" ,gtk+-2) | |
44add1ce | 1927 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1928 | (native-inputs |
1929 | `(("intltool" ,intltool) | |
221ed17a | 1930 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1931 | ("pkg-config" ,pkg-config))) |
1932 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1933 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1934 | (description |
1935 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1936 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1937 | (license license:lgpl2.0+))) |
1938 | ||
1939 | ||
1940 | (define-public libgnomeprintui | |
eb497b66 | 1941 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1942 | (package |
1943 | (name "libgnomeprintui") | |
36053d7f | 1944 | (version "2.18.6") |
5698b8b8 JD |
1945 | (source (origin |
1946 | (method url-fetch) | |
b38e45d8 EB |
1947 | (uri (string-append "mirror://gnome/sources/" name "/" |
1948 | (version-major+minor version) "/" | |
1949 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1950 | (sha256 |
1951 | (base32 | |
36053d7f | 1952 | "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm")))) |
5698b8b8 JD |
1953 | (build-system gnu-build-system) |
1954 | ;; Mentioned as Required in the .pc file | |
1955 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1956 | (inputs `(("gtk+" ,gtk+-2) | |
1957 | ("glib" ,glib) | |
1958 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1959 | ("libgnomecanvas" ,libgnomecanvas) | |
2e6ecc5c | 1960 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1961 | (native-inputs |
1962 | `(("intltool" ,intltool) | |
1963 | ("pkg-config" ,pkg-config))) | |
1964 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1965 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1966 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1967 | (license license:lgpl2.0+))) |
1968 | ||
5698b8b8 JD |
1969 | (define-public libbonoboui |
1970 | (package | |
1971 | (name "libbonoboui") | |
1972 | (version "2.24.5") | |
1973 | (source (origin | |
1974 | (method url-fetch) | |
b38e45d8 EB |
1975 | (uri (string-append "mirror://gnome/sources/" name "/" |
1976 | (version-major+minor version) "/" | |
1977 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1978 | (sha256 |
1979 | (base32 | |
1980 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1981 | (build-system gnu-build-system) | |
1982 | (arguments | |
1983 | `(#:phases | |
dc1d3cde KK |
1984 | (modify-phases %standard-phases |
1985 | (add-before 'check 'start-xserver | |
1986 | (lambda* (#:key inputs #:allow-other-keys) | |
1987 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1988 | (disp ":1")) | |
1989 | ||
1990 | (setenv "HOME" (getcwd)) | |
1991 | (setenv "DISPLAY" disp) | |
1992 | ;; There must be a running X server and make check doesn't start one. | |
1993 | ;; Therefore we must do it. | |
1994 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))))))) | |
5698b8b8 JD |
1995 | ;; Mentioned as Required by the .pc file |
1996 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1997 | (inputs | |
1998 | `(("popt" ,popt) | |
1999 | ("pangox-compat" ,pangox-compat) | |
2000 | ("libgnome" ,libgnome) | |
2001 | ("libgnomecanvas" ,libgnomecanvas) | |
2002 | ("libglade" ,libglade))) | |
2003 | (native-inputs | |
221ed17a EB |
2004 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
2005 | ("intltool" ,intltool) | |
5698b8b8 JD |
2006 | ("xorg-server" ,xorg-server) ; For running the tests |
2007 | ("pkg-config" ,pkg-config))) | |
2008 | (home-page "https://developer.gnome.org/libbonoboui/") | |
2009 | (synopsis "Some user interface controls using Bonobo") | |
2010 | (description "The Bonobo UI library provides a number of user interface | |
2011 | controls using the Bonobo component framework.") | |
2012 | (license license:lgpl2.0+))) | |
2013 | ||
fecbf86e SB |
2014 | (define-public libwnck |
2015 | (package | |
2016 | (name "libwnck") | |
6cc6e3e5 | 2017 | (version "3.30.0") |
fecbf86e SB |
2018 | (source (origin |
2019 | (method url-fetch) | |
2020 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2021 | (version-major+minor version) "/" | |
2022 | name "-" version ".tar.xz")) | |
2023 | (sha256 | |
ad9b8987 | 2024 | (base32 |
6cc6e3e5 | 2025 | "0f9lvhm3w25046dqq8xyg7nzggxpmdriwrb661nng05a8qk0svdc")))) |
fecbf86e SB |
2026 | (build-system gnu-build-system) |
2027 | (native-inputs | |
2028 | `(("pkg-config" ,pkg-config) | |
2029 | ("intltool" ,intltool))) | |
2030 | (propagated-inputs | |
427476d5 SB |
2031 | `(("gtk+" ,gtk+) |
2032 | ("libxres" ,libxres) | |
2033 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
2034 | (home-page "https://developer.gnome.org/libwnck/") |
2035 | (synopsis "Window Navigator Construction Kit") | |
2036 | (description | |
2037 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
2038 | writing pagers, tasklists, and more generally applications that are dealing | |
2039 | with window management. It tries hard to respect the Extended Window Manager | |
2040 | Hints specification (EWMH).") | |
2041 | (license license:lgpl2.0+))) | |
2042 | ||
2043 | ;; stable version for gtk2, required by xfwm4. | |
dbb7a081 | 2044 | (define-public libwnck-2 |
fecbf86e SB |
2045 | (package (inherit libwnck) |
2046 | (name "libwnck") | |
2047 | (version "2.30.7") | |
2048 | (source (origin | |
2049 | (method url-fetch) | |
2050 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2051 | (version-major+minor version) "/" | |
2052 | name "-" version ".tar.xz")) | |
2053 | (sha256 | |
2054 | (base32 | |
2055 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
2056 | (propagated-inputs | |
427476d5 SB |
2057 | `(("gtk+" ,gtk+-2) |
2058 | ("libxres" ,libxres) | |
2059 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
2060 | |
2061 | (define-public goffice | |
2062 | (package | |
2063 | (name "goffice") | |
0528f70d | 2064 | (version "0.10.44") |
b804c61e JD |
2065 | (source (origin |
2066 | (method url-fetch) | |
b38e45d8 EB |
2067 | (uri (string-append "mirror://gnome/sources/" name "/" |
2068 | (version-major+minor version) "/" | |
2069 | name "-" version ".tar.xz")) | |
b804c61e | 2070 | (sha256 |
0528f70d | 2071 | (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d")))) |
b804c61e | 2072 | (build-system gnu-build-system) |
72a06d3e | 2073 | (outputs '("out" |
0528f70d | 2074 | "doc")) ;4.0 MiB of gtk-doc |
72a06d3e LC |
2075 | (arguments |
2076 | '(#:configure-flags (list (string-append "--with-html-dir=" | |
2077 | (assoc-ref %outputs "doc") | |
2078 | "/share/gtk-doc/html")))) | |
b804c61e JD |
2079 | (inputs |
2080 | `(("gtk+" ,gtk+) | |
2081 | ("libgsf" ,libgsf) | |
2082 | ("librsvg" ,librsvg) | |
2083 | ("libxslt" ,libxslt) | |
2084 | ("libxml2" ,libxml2))) | |
2085 | (native-inputs | |
2086 | `(("intltool" ,intltool) | |
f280cdb1 | 2087 | ("glib" ,glib "bin") |
b804c61e JD |
2088 | ("pkg-config" ,pkg-config))) |
2089 | (home-page "https://developer.gnome.org/goffice/") | |
2090 | (synopsis "Document-centric objects and utilities") | |
2091 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
2e6ecc5c | 2092 | (license |
b804c61e JD |
2093 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
2094 | ;; Note: NOT LGPL | |
2095 | (list license:gpl2 license:gpl3)))) | |
2096 | ||
c024ae36 RW |
2097 | (define-public goffice-0.8 |
2098 | (package (inherit goffice) | |
2099 | (version "0.8.17") | |
2100 | (source (origin | |
2101 | (method url-fetch) | |
2102 | (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/" | |
2103 | (version-major+minor version) "/" | |
2104 | (package-name goffice) "-" version ".tar.xz")) | |
2105 | (sha256 | |
2106 | (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n")))) | |
2107 | (arguments | |
2108 | `(#:phases | |
dc1d3cde KK |
2109 | (modify-phases %standard-phases |
2110 | (add-after 'unpack 'fix-pcre-check | |
2111 | (lambda _ | |
2112 | ;; Only glib.h can be included directly. See | |
2113 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316 | |
2114 | (substitute* "configure" | |
2115 | (("glib/gregex\\.h") "glib.h")) #t))) | |
72a06d3e LC |
2116 | |
2117 | ,@(package-arguments goffice))) | |
c024ae36 RW |
2118 | (propagated-inputs |
2119 | ;; libgoffice-0.8.pc mentions libgsf-1 | |
2120 | `(("libgsf" ,libgsf))) | |
2121 | (inputs | |
2122 | `(("gtk" ,gtk+-2) | |
2123 | ,@(alist-delete "gtk" (package-inputs goffice)))))) | |
2124 | ||
b804c61e JD |
2125 | (define-public gnumeric |
2126 | (package | |
2127 | (name "gnumeric") | |
597ab33d | 2128 | (version "1.12.45") |
b804c61e JD |
2129 | (source (origin |
2130 | (method url-fetch) | |
b7fd0217 | 2131 | (uri (string-append "mirror://gnome/sources/gnumeric/" |
b38e45d8 | 2132 | (version-major+minor version) "/" |
b7fd0217 | 2133 | "gnumeric-" version ".tar.xz")) |
b804c61e JD |
2134 | (sha256 |
2135 | (base32 | |
597ab33d | 2136 | "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h")))) |
bd1b1e05 | 2137 | (build-system glib-or-gtk-build-system) |
b804c61e JD |
2138 | (arguments |
2139 | `(;; The gnumeric developers don't worry much about failing tests. | |
2140 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
2e6ecc5c | 2141 | #:tests? #f |
b804c61e | 2142 | #:phases |
7bcbd40d EF |
2143 | (modify-phases %standard-phases |
2144 | (add-before | |
2145 | 'configure 'pre-conf | |
2146 | (lambda* (#:key outputs #:allow-other-keys) | |
2147 | ;; Make install tries to write into the directory of goffice | |
2148 | ;; I am informed that this only affects the possibility to embed a | |
2149 | ;; spreadsheet inside an Abiword document. So presumably when we | |
2150 | ;; package Abiword we'll have to refer it to this directory. | |
2151 | (substitute* "configure" | |
2152 | (("^GOFFICE_PLUGINS_DIR=.*") | |
2153 | (string-append "GOFFICE_PLUGINS_DIR=" | |
2154 | (assoc-ref outputs "out") | |
2155 | "/goffice/plugins")))))))) | |
b804c61e JD |
2156 | (inputs |
2157 | `(("glib" ,glib) | |
2158 | ("gtk+" ,gtk+) | |
2159 | ("goffice" ,goffice) | |
2160 | ("libgsf" ,libgsf) | |
7bcbd40d | 2161 | ("librsvg" ,librsvg) |
b804c61e | 2162 | ("libxml2" ,libxml2) |
7bcbd40d | 2163 | ("libxslt" ,libxslt) |
2e4c5457 | 2164 | ("python" ,python-2) |
6983ba56 | 2165 | ("python2-pygobject" ,python2-pygobject) |
b804c61e JD |
2166 | ("zlib" ,zlib))) |
2167 | (native-inputs | |
6983ba56 | 2168 | `(("bison" ,bison) |
1ed398d1 | 2169 | ("docbook-xml" ,docbook-xml) |
6983ba56 | 2170 | ("intltool" ,intltool) |
1ed398d1 | 2171 | ("itstool" ,itstool) |
b9663471 | 2172 | ("glib:bin" ,glib "bin") |
b804c61e JD |
2173 | ("pkg-config" ,pkg-config))) |
2174 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
2175 | (synopsis "Spreadsheet application") |
2176 | (description | |
2177 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
2178 | interoperable with other spreadsheet applications. It has a vast array of | |
2179 | features beyond typical spreadsheet functionality, such as support for linear | |
2180 | and non-linear solvers, statistical analysis, and telecommunication | |
2181 | engineering.") | |
2182 | (license | |
b804c61e JD |
2183 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
2184 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
2185 | |
2186 | (define-public gnome-themes-standard | |
2187 | (package | |
2188 | (name "gnome-themes-standard") | |
0b7b8fb0 | 2189 | (version "3.22.3") |
6f885c05 FB |
2190 | (source |
2191 | (origin | |
2192 | (method url-fetch) | |
2e6ecc5c | 2193 | (uri (string-append "mirror://gnome/sources/" name "/" |
6f885c05 FB |
2194 | (version-major+minor version) "/" name "-" |
2195 | version ".tar.xz")) | |
2196 | (sha256 | |
2197 | (base32 | |
0b7b8fb0 | 2198 | "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31")))) |
6f885c05 | 2199 | (build-system gnu-build-system) |
8ac70c7f SB |
2200 | (arguments |
2201 | '(#:configure-flags | |
2202 | ;; Don't create 'icon-theme.cache'. | |
2203 | (let* ((coreutils (assoc-ref %build-inputs "coreutils")) | |
2204 | (true (string-append coreutils "/bin/true"))) | |
2205 | (list (string-append "GTK_UPDATE_ICON_CACHE=" true))))) | |
6f885c05 FB |
2206 | (inputs |
2207 | `(("gtk+" ,gtk+) | |
2208 | ("gtk+-2" ,gtk+-2) | |
2209 | ("librsvg" ,librsvg) | |
2210 | ("libxml2" ,libxml2) | |
2211 | ("glib" ,glib))) | |
2212 | (native-inputs | |
2213 | `(("intltool" ,intltool) | |
2214 | ("glib:bin" ,glib "bin") | |
2215 | ("pkg-config" ,pkg-config))) | |
6f885c05 FB |
2216 | (home-page "https://launchpad.net/gnome-themes-standard") |
2217 | (synopsis "Default GNOME 3 themes") | |
2218 | (description | |
2219 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
2220 | (license license:lgpl2.1+))) | |
5a659a48 | 2221 | |
df90c701 RW |
2222 | (define-public seahorse |
2223 | (package | |
2224 | (name "seahorse") | |
0db6bafb | 2225 | (version "3.30") |
df90c701 RW |
2226 | (source |
2227 | (origin | |
2228 | (method url-fetch) | |
2229 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2230 | (version-major+minor version) "/" name "-" | |
2231 | version ".tar.xz")) | |
2232 | (sha256 | |
2233 | (base32 | |
0db6bafb | 2234 | "1sbj1czlx1fakm72dwgbn0bwm12j838yaky4mkf6hf8j8afnxmzp")))) |
df90c701 RW |
2235 | (build-system glib-or-gtk-build-system) |
2236 | (inputs | |
2237 | `(("gtk+" ,gtk+) | |
2238 | ("gcr" ,gcr) | |
34b979b9 | 2239 | ("gnupg" ,gnupg) |
df90c701 | 2240 | ("gpgme" ,gpgme) |
34b979b9 | 2241 | ("openldap" ,openldap) |
4a1bf090 | 2242 | ("openssh" ,openssh) |
34b979b9 EF |
2243 | ("libsecret" ,libsecret) |
2244 | ("libsoup" ,libsoup))) | |
df90c701 RW |
2245 | (native-inputs |
2246 | `(("intltool" ,intltool) | |
2247 | ("glib:bin" ,glib "bin") | |
2248 | ("itstool" ,itstool) | |
bcb354ad SB |
2249 | ("pkg-config" ,pkg-config) |
2250 | ("xmllint" ,libxml2))) | |
df90c701 RW |
2251 | (home-page "https://launchpad.net/gnome-themes-standard") |
2252 | (synopsis "Manage encryption keys and passwords in the GNOME keyring") | |
2253 | (description | |
2254 | "Seahorse is a GNOME application for managing encryption keys and | |
2255 | passwords in the GNOME keyring.") | |
2256 | (license license:gpl2+))) | |
2257 | ||
5a659a48 SB |
2258 | (define-public vala |
2259 | (package | |
2260 | (name "vala") | |
2d6872f6 | 2261 | (version "0.44.5") |
5a659a48 SB |
2262 | (source (origin |
2263 | (method url-fetch) | |
2264 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2265 | (version-major+minor version) "/" | |
2266 | name "-" version ".tar.xz")) | |
2267 | (sha256 | |
2268 | (base32 | |
2d6872f6 | 2269 | "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv")))) |
5a659a48 | 2270 | (build-system gnu-build-system) |
1ea90625 SB |
2271 | (arguments |
2272 | '(#:phases | |
2273 | (modify-phases %standard-phases | |
f4925a4f | 2274 | (add-before 'check 'pre-check |
1ea90625 SB |
2275 | (lambda _ |
2276 | (setenv "CC" "gcc") | |
8839b6be RW |
2277 | (substitute* "valadoc/tests/testrunner.sh" |
2278 | (("export PKG_CONFIG_PATH=" m) | |
2279 | (string-append m "$PKG_CONFIG_PATH:"))) | |
f4925a4f SB |
2280 | ;; For missing '/etc/machine-id'. |
2281 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
8839b6be | 2282 | #t))))) |
5a659a48 SB |
2283 | (native-inputs |
2284 | `(("pkg-config" ,pkg-config) | |
2285 | ("flex" ,flex) | |
2286 | ("bison" ,bison) | |
2287 | ("xsltproc" ,libxslt) | |
2288 | ("dbus" ,dbus) ; for dbus tests | |
2289 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
8839b6be RW |
2290 | (inputs |
2291 | `(("graphviz" ,graphviz))) | |
5a659a48 | 2292 | (propagated-inputs |
8839b6be | 2293 | `(("glib" ,glib))) ; required by libvala-0.40.pc |
f032d0be | 2294 | (home-page "https://live.gnome.org/Vala/") |
5a659a48 SB |
2295 | (synopsis "Compiler for the GObject type system") |
2296 | (description | |
2297 | "Vala is a programming language that aims to bring modern programming | |
2298 | language features to GNOME developers without imposing any additional runtime | |
2299 | requirements and without using a different ABI compared to applications and | |
2300 | libraries written in C.") | |
2301 | (license license:lgpl2.1+))) | |
ea57378f SB |
2302 | |
2303 | (define-public vte | |
2304 | (package | |
2305 | (name "vte") | |
838a52a5 | 2306 | (version "0.56.3") |
ea57378f SB |
2307 | (source (origin |
2308 | (method url-fetch) | |
2309 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2310 | (version-major+minor version) "/" | |
2311 | name "-" version ".tar.xz")) | |
2312 | (sha256 | |
2313 | (base32 | |
838a52a5 | 2314 | "0j166gic5znssdb9r45qazq4kb4v9fial82czand5wa8i2yd988p")))) |
ea57378f SB |
2315 | (build-system gnu-build-system) |
2316 | (native-inputs | |
2317 | `(("pkg-config" ,pkg-config) | |
2318 | ("intltool" ,intltool) | |
2319 | ("vala" ,vala) | |
2320 | ("gobject-introspection" ,gobject-introspection) | |
2321 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
73f0e1ab | 2322 | ("gperf" ,gperf) |
ea57378f SB |
2323 | ("xmllint" ,libxml2))) |
2324 | (propagated-inputs | |
302393bc | 2325 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
de1215e2 MW |
2326 | ("gnutls" ,gnutls) ;ditto |
2327 | ("pcre2" ,pcre2))) ;ditto | |
f032d0be | 2328 | (home-page "https://www.gnome.org/") |
ea57378f SB |
2329 | (synopsis "Virtual Terminal Emulator") |
2330 | (description | |
2331 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
2332 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
2333 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
2334 | editors, IDEs, etc.") | |
2335 | (license license:lgpl2.1+))) | |
2336 | ||
c44fb4df MO |
2337 | (define-public vte-ng |
2338 | (package | |
2339 | (inherit vte) | |
2340 | (name "vte-ng") | |
03c59a25 | 2341 | (version "0.56.2.a") |
afd90f8d | 2342 | (home-page "https://github.com/thestinger/vte-ng") |
6bc00737 MB |
2343 | (source (origin |
2344 | (method git-fetch) | |
2345 | (uri (git-reference (url home-page) (commit version))) | |
2346 | (file-name (git-file-name name version)) | |
2347 | (sha256 | |
2348 | (base32 | |
03c59a25 | 2349 | "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki")))) |
c44fb4df MO |
2350 | (native-inputs |
2351 | `(("gtk-doc" ,gtk-doc) | |
011b858b | 2352 | ("gperf" ,gperf) |
c44fb4df MO |
2353 | ("autoconf" ,autoconf) |
2354 | ("automake" ,automake) | |
2355 | ("libtool" ,libtool) | |
2356 | ,@(package-native-inputs vte))) | |
c44fb4df | 2357 | (arguments |
76c6bdc0 MB |
2358 | `(#:phases (modify-phases %standard-phases |
2359 | (replace 'bootstrap | |
c44fb4df MO |
2360 | (lambda _ |
2361 | (setenv "NOCONFIGURE" "true") | |
e1d887fb | 2362 | (invoke "sh" "autogen.sh")))))) |
c44fb4df MO |
2363 | (synopsis "Enhanced VTE terminal widget") |
2364 | (description | |
2365 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
2366 | GTK+, this fork provides additional functions exposed for keyboard text | |
2367 | selection and URL hints."))) | |
2368 | ||
2776d72c EF |
2369 | ;; provides vte 2.90, required for some terminal emulators |
2370 | ;; tilda bug: https://github.com/lanoxx/tilda/issues/94 | |
2371 | ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021 | |
2372 | ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/ | |
2373 | ;; pantheon-terminal, roxterm are not currently packaged | |
2374 | (define-public vte-0.36 | |
2375 | (package (inherit vte) | |
2376 | (name "vte") | |
2377 | (version "0.36.5") | |
2378 | (source (origin | |
2379 | (method url-fetch) | |
2380 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2381 | (version-major+minor version) "/" | |
2382 | name "-" version ".tar.xz")) | |
2383 | (sha256 | |
2384 | (base32 | |
2385 | "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2")))) | |
2386 | (propagated-inputs | |
2387 | `(("gtk" ,gtk+) | |
2388 | ("ncurses" ,ncurses))))) | |
2389 | ||
ea57378f SB |
2390 | ;; stable version for gtk2, required by xfce4-terminal. |
2391 | (define-public vte/gtk+-2 | |
2392 | (package (inherit vte) | |
2393 | (name "vte") | |
2394 | (version "0.28.2") | |
2395 | (source (origin | |
2396 | (method url-fetch) | |
2397 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2398 | (version-major+minor version) "/" | |
2399 | name "-" version ".tar.xz")) | |
2400 | (sha256 | |
2401 | (base32 | |
7d48938a EF |
2402 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")) |
2403 | (patches (search-patches | |
2404 | "vte-CVE-2012-2738-pt1.patch" | |
2405 | "vte-CVE-2012-2738-pt2.patch")))) | |
ea57378f SB |
2406 | (arguments |
2407 | '(#:configure-flags '("--disable-python"))) | |
2408 | (native-inputs | |
2409 | `(("pkg-config" ,pkg-config) | |
2410 | ("intltool" ,intltool) | |
2411 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
2412 | (propagated-inputs | |
2413 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
2414 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 | 2415 | |
cce0da5e TD |
2416 | (define-public vinagre |
2417 | (package | |
2418 | (name "vinagre") | |
2419 | (version "3.22.0") | |
2420 | (source (origin | |
2421 | (method url-fetch) | |
2422 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2423 | (version-major+minor version) "/" | |
2424 | name "-" version ".tar.xz")) | |
684f97f8 EF |
2425 | (patches (search-patches "vinagre-newer-freerdp.patch" |
2426 | "vinagre-newer-rdp-parameters.patch")) | |
cce0da5e TD |
2427 | (sha256 |
2428 | (base32 | |
2429 | "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d")))) | |
2430 | (build-system glib-or-gtk-build-system) | |
684f97f8 EF |
2431 | (arguments |
2432 | '(#:phases | |
2433 | (modify-phases %standard-phases | |
1839768c EF |
2434 | (add-before 'install 'skip-gtk-update-icon-cache |
2435 | (lambda _ | |
2436 | ;; Don't create 'icon-theme.cache' | |
2437 | (substitute* (find-files "." "^Makefile$") | |
2438 | (("gtk-update-icon-cache") (which "true"))) | |
2439 | #t)) | |
684f97f8 EF |
2440 | (add-after 'unpack 'patch-configure |
2441 | (lambda _ | |
2442 | (substitute* "configure" | |
2443 | (("freerdp") "freerdp2")) | |
2444 | #t))))) | |
cce0da5e TD |
2445 | (native-inputs |
2446 | `(("pkg-config" ,pkg-config) | |
2447 | ("intltool" ,intltool) | |
2448 | ("itstool" ,itstool) | |
1839768c | 2449 | ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas |
cce0da5e TD |
2450 | (inputs |
2451 | `(("libxml2" ,libxml2) | |
2452 | ("gtk-vnc" ,gtk-vnc) | |
2453 | ("gnome-keyring" ,gnome-keyring) | |
2454 | ("libsecret" ,libsecret) | |
2455 | ("freerdp" ,freerdp) | |
2456 | ("spice" ,spice) | |
2457 | ("spice-gtk" ,spice-gtk) | |
2458 | ("telepathy-glib" ,telepathy-glib) | |
2459 | ("vte" ,vte))) | |
cce0da5e TD |
2460 | (home-page "https://wiki.gnome.org/Apps/Vinagre") |
2461 | (synopsis "Remote desktop viewer for GNOME") | |
2462 | (description "Vinagre is a remote display client supporting the VNC, SPICE | |
2463 | and RDP protocols.") | |
2464 | (license license:gpl3+))) | |
2465 | ||
b47e1b20 FB |
2466 | (define-public dconf |
2467 | (package | |
2468 | (name "dconf") | |
1e33331c | 2469 | (version "0.32.0") |
b47e1b20 FB |
2470 | (source (origin |
2471 | (method url-fetch) | |
2472 | (uri (string-append | |
2e6ecc5c | 2473 | "mirror://gnome/sources/" name "/" |
b47e1b20 FB |
2474 | (version-major+minor version) "/" |
2475 | name "-" version ".tar.xz")) | |
2476 | (sha256 | |
f05c809f | 2477 | (base32 |
1e33331c | 2478 | "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38")))) |
35fa923d | 2479 | (build-system meson-build-system) |
bc036f4c MB |
2480 | (propagated-inputs |
2481 | ;; In Requires of dconf.pc. | |
2482 | `(("glib" ,glib))) | |
b47e1b20 FB |
2483 | (inputs |
2484 | `(("gtk+" ,gtk+) | |
bc036f4c | 2485 | ("dbus" ,dbus))) |
b47e1b20 | 2486 | (native-inputs |
1e33331c MB |
2487 | `(("bash-completion" ,bash-completion) |
2488 | ("libxslt" ,libxslt) ;for xsltproc | |
bc036f4c | 2489 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES |
b47e1b20 FB |
2490 | ("docbook-xml" ,docbook-xml-4.2) |
2491 | ("docbook-xsl" ,docbook-xsl) | |
35fa923d | 2492 | ("glib:bin" ,glib "bin") |
03676d6f | 2493 | ("gtk-doc" ,gtk-doc) |
35fa923d MB |
2494 | ("pkg-config" ,pkg-config) |
2495 | ("vala" ,vala))) | |
b47e1b20 FB |
2496 | (arguments |
2497 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
2498 | ; or /etc/machine-id. | |
35fa923d MB |
2499 | #:glib-or-gtk? #t |
2500 | #:configure-flags '("-Denable-gtk-doc=true"))) | |
b47e1b20 FB |
2501 | (home-page "https://developer.gnome.org/dconf") |
2502 | (synopsis "Low-level GNOME configuration system") | |
2503 | (description "Dconf is a low-level configuration system. Its main purpose | |
2504 | is to provide a backend to GSettings on platforms that don't already have | |
2505 | configuration storage systems.") | |
e20e6b40 | 2506 | (license license:lgpl2.1+))) |
109da1c0 AE |
2507 | |
2508 | (define-public json-glib | |
2509 | (package | |
2510 | (name "json-glib") | |
4115e8ea | 2511 | (version "1.4.4") |
109da1c0 AE |
2512 | (source (origin |
2513 | (method url-fetch) | |
2514 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2515 | (version-major+minor version) "/" | |
2516 | name "-" version ".tar.xz")) | |
2517 | (sha256 | |
2518 | (base32 | |
4115e8ea | 2519 | "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j")))) |
98afa184 | 2520 | (build-system meson-build-system) |
109da1c0 | 2521 | (native-inputs |
98afa184 MB |
2522 | `(("gettext" ,gettext-minimal) |
2523 | ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal | |
109da1c0 AE |
2524 | ("gobject-introspection" ,gobject-introspection) |
2525 | ("pkg-config" ,pkg-config))) | |
2526 | (propagated-inputs | |
88c6b580 | 2527 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
2528 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
2529 | (synopsis "Compiler for the GObject type system") | |
7c125ce0 AK |
2530 | (description |
2531 | "JSON-GLib is a C library based on GLib providing serialization and | |
2532 | deserialization support for the JavaScript Object Notation (JSON) format | |
2533 | described by RFC 4627. It provides parser and generator GObject classes and | |
2534 | various wrappers for the complex data types employed by JSON, such as arrays | |
2535 | and objects.") | |
109da1c0 | 2536 | (license license:lgpl2.1+))) |
6f96a359 SB |
2537 | |
2538 | (define-public libxklavier | |
2539 | (package | |
2540 | (name "libxklavier") | |
2541 | (version "5.3") | |
2542 | (source (origin | |
2543 | (method url-fetch) | |
2544 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2545 | version "/" name "-" version ".tar.xz")) | |
2546 | (sha256 | |
2547 | (base32 | |
2548 | "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) | |
2549 | (build-system gnu-build-system) | |
2550 | (arguments | |
2551 | '(#:configure-flags | |
2552 | (list (string-append "--with-xkb-base=" | |
2553 | (assoc-ref %build-inputs "xkeyboard-config") | |
b19d6805 | 2554 | "/share/X11/xkb")))) |
6f96a359 SB |
2555 | (native-inputs |
2556 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
2557 | ("gobject-introspection" ,gobject-introspection) | |
2558 | ("pkg-config" ,pkg-config))) | |
2559 | (propagated-inputs | |
2560 | ;; Required by libxklavier.pc. | |
2561 | `(("glib" ,glib) | |
2562 | ("libxml2" ,libxml2))) | |
2563 | (inputs | |
2564 | `(("iso-codes" ,iso-codes) | |
2565 | ("libxi" ,libxi) | |
2566 | ("libxkbfile" ,libxkbfile) | |
2567 | ("xkbcomp" ,xkbcomp) | |
2568 | ("xkeyboard-config" ,xkeyboard-config))) | |
57e7d748 | 2569 | (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/") |
6f96a359 SB |
2570 | (synopsis "High-level API for X Keyboard Extension") |
2571 | (description | |
2572 | "LibXklavier is a library providing high-level API for X Keyboard | |
e881752c AK |
2573 | Extension known as XKB. This library is intended to support XFree86 and other |
2574 | commercial X servers. It is useful for creating XKB-related software (layout | |
6f96a359 SB |
2575 | indicators etc).") |
2576 | (license license:lgpl2.0+))) | |
619936a4 LC |
2577 | |
2578 | (define-public python2-rsvg | |
2579 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
2580 | (package | |
2581 | (name "python2-rsvg") | |
2582 | (version "2.32.0") | |
2583 | (source | |
2584 | (origin | |
2585 | (method url-fetch) | |
2586 | (uri (string-append | |
2587 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
2588 | version ".tar.bz2")) | |
2589 | (sha256 | |
2590 | (base32 | |
2591 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
2592 | (build-system gnu-build-system) | |
2593 | (native-inputs | |
2594 | `(("pkg-config" ,pkg-config))) | |
2595 | (inputs | |
2596 | `(("python" ,python-2) | |
2597 | ("python2-pygtk" ,python2-pygtk) | |
2598 | ("librsvg" ,librsvg))) | |
f032d0be | 2599 | (home-page "https://www.gnome.org") |
619936a4 LC |
2600 | (synopsis "Python bindings to librsvg") |
2601 | (description | |
3ad75446 | 2602 | "This package provides Python bindings to librsvg, the SVG rendering |
619936a4 LC |
2603 | library.") |
2604 | ||
2605 | ;; This is the license of the rsvg bindings. The license of each module | |
2606 | ;; of gnome-python-desktop is given in 'COPYING'. | |
2607 | (license license:lgpl2.1+))) | |
a31a6d22 | 2608 | |
f2ca414a SB |
2609 | (define-public glib-networking |
2610 | (package | |
2611 | (name "glib-networking") | |
0d75c64d | 2612 | (version "2.60.3") |
f2ca414a SB |
2613 | (source (origin |
2614 | (method url-fetch) | |
2615 | (uri (string-append "mirror://gnome/sources/glib-networking/" | |
2616 | (version-major+minor version) "/" | |
2617 | name "-" version ".tar.xz")) | |
2618 | (sha256 | |
2619 | (base32 | |
0d75c64d | 2620 | "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm")))) |
65211552 | 2621 | (build-system meson-build-system) |
f2ca414a | 2622 | (arguments |
0d75c64d | 2623 | `(#:configure-flags '("-Dlibproxy_support=false"))) |
f2ca414a SB |
2624 | (native-inputs |
2625 | `(("pkg-config" ,pkg-config) | |
2626 | ("intltool" ,intltool))) | |
2627 | (inputs | |
2628 | `(("glib" ,glib) | |
2629 | ("gnutls" ,gnutls) | |
4b8f1313 | 2630 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) |
f032d0be | 2631 | (home-page "https://www.gnome.org") |
f2ca414a SB |
2632 | (synopsis "Network-related GIO modules") |
2633 | (description | |
2634 | "This package contains various network related extensions for the GIO | |
2635 | library.") | |
2636 | (license license:lgpl2.0+))) | |
2637 | ||
ca649680 | 2638 | (define-public rest |
4510b2da | 2639 | (package |
ca649680 | 2640 | (name "rest") |
a4194d16 | 2641 | (version "0.8.1") |
4510b2da SB |
2642 | (source (origin |
2643 | (method url-fetch) | |
2644 | (uri (string-append "mirror://gnome/sources/rest/" | |
ca649680 SB |
2645 | (version-major+minor version) "/" |
2646 | name "-" version ".tar.xz")) | |
4510b2da SB |
2647 | (sha256 |
2648 | (base32 | |
a4194d16 | 2649 | "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5")))) |
4510b2da SB |
2650 | (build-system gnu-build-system) |
2651 | (arguments | |
2652 | '(#:tests? #f ; tests require internet connection | |
2653 | #:configure-flags | |
2654 | '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"))) | |
2655 | (native-inputs | |
2656 | `(("glib-mkenums" ,glib "bin") | |
2657 | ("gobject-introspection" ,gobject-introspection) | |
2658 | ("pkg-config" ,pkg-config))) | |
2659 | (propagated-inputs | |
2660 | ;; rest-0.7.pc refers to all these. | |
2661 | `(("glib" ,glib) | |
2662 | ("libsoup" ,libsoup) | |
2663 | ("libxml2" ,libxml2))) | |
24d6cc1d | 2664 | (home-page "https://www.gtk.org/") |
4510b2da SB |
2665 | (synopsis "RESTful web api query library") |
2666 | (description | |
2667 | "This library was designed to make it easier to access web services that | |
2668 | claim to be \"RESTful\". It includes convenience wrappers for libsoup and | |
2669 | libxml to ease remote use of the RESTful API.") | |
2670 | (license license:lgpl2.1+))) | |
2671 | ||
6e1bb642 SB |
2672 | (define-public libsoup |
2673 | (package | |
2674 | (name "libsoup") | |
b1d81ba0 | 2675 | (version "2.66.2") |
6e1bb642 SB |
2676 | (source (origin |
2677 | (method url-fetch) | |
2678 | (uri (string-append "mirror://gnome/sources/libsoup/" | |
2679 | (version-major+minor version) "/" | |
2680 | name "-" version ".tar.xz")) | |
2681 | (sha256 | |
2682 | (base32 | |
b1d81ba0 | 2683 | "0amfw1yvy1kjrg41rfh2vvrw5gkwnyckqbw1fab50hm6xc1acbmx")))) |
eccaa8bf | 2684 | (build-system meson-build-system) |
6e1bb642 SB |
2685 | (outputs '("out" "doc")) |
2686 | (arguments | |
2deb146f | 2687 | `(#:modules ((guix build utils) |
eccaa8bf | 2688 | (guix build meson-build-system) |
2deb146f LC |
2689 | (ice-9 popen)) |
2690 | ||
eccaa8bf | 2691 | #:configure-flags '("-Ddoc=true") |
6e1bb642 SB |
2692 | #:phases |
2693 | (modify-phases %standard-phases | |
eccaa8bf | 2694 | (add-after 'unpack 'adjust-tests |
26c228f9 | 2695 | (lambda _ |
eccaa8bf MB |
2696 | ;; This test fails due to missing /etc/nsswitch.conf |
2697 | ;; in the build environment. | |
26c228f9 LC |
2698 | (substitute* "tests/socket-test.c" |
2699 | ((".*/sockets/unconnected.*") "")) | |
2deb146f LC |
2700 | |
2701 | ;; Generate a self-signed certificate that has "localhost" as its | |
2702 | ;; 'dnsName'. Failing to do that, and starting with GnuTLS | |
2703 | ;; 3.5.12, tests such as "ssl-tests" fail: | |
2704 | ;; | |
2705 | ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK) | |
2706 | ;; | |
2707 | ;; 'certtool' is interactive so we have to pipe it the answers. | |
2708 | ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>. | |
2709 | (let ((pipe (open-output-pipe "certtool --generate-self-signed \ | |
2710 | --load-privkey tests/test-key.pem --outfile tests/test-cert.pem"))) | |
2711 | (for-each (lambda (line) | |
2712 | (display line pipe) | |
2713 | (newline pipe)) | |
2714 | '("" ;Common name | |
2715 | "" ;UID | |
2716 | "Guix" ;Organizational unit name | |
2717 | "GNU" ;Organization name | |
2718 | "" ;Locality name | |
2719 | "" ;State or province | |
2720 | "" ;Country | |
2721 | "" ;subject's domain component (DC) | |
2722 | ||
2723 | "" ;serial number | |
2724 | "-1" ;expiration time | |
2725 | "N" ;belong to authority? | |
2726 | "N" ;web client certificate? | |
2727 | "N" ;IPsec IKE? | |
2728 | "Y" ;web server certificate? | |
2729 | "localhost" ;dnsName of subject | |
2730 | "" ;dnsName of subject (end) | |
2731 | "" ;URI of subject | |
2732 | "127.0.0.1" ;IP address of subject | |
2733 | "" ;signing? | |
06f5bc4e MB |
2734 | "" ;encryption (RSA)? |
2735 | "" ;data encryption? | |
2deb146f LC |
2736 | "" ;sign OCSP requests? |
2737 | "" ;sign code? | |
2738 | "" ;time stamping? | |
2739 | "" ;email protection? | |
2740 | "" ;URI of the CRL distribution point | |
2741 | "y" ;above info OK? | |
2742 | )) | |
2743 | (close-pipe pipe)) | |
26c228f9 | 2744 | #t)) |
eccaa8bf MB |
2745 | (add-after 'install 'move-doc |
2746 | (lambda* (#:key outputs #:allow-other-keys) | |
2747 | (let ((out (assoc-ref outputs "out")) | |
2748 | (doc (assoc-ref outputs "doc"))) | |
2749 | (mkdir-p (string-append doc "/share")) | |
2750 | (copy-recursively (string-append out "/share/gtk-doc") | |
2751 | (string-append doc "/share/gtk-doc")) | |
2752 | (delete-file-recursively (string-append out "/share/gtk-doc")) | |
2753 | #t)))))) | |
6e1bb642 | 2754 | (native-inputs |
26c228f9 | 2755 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
6e1bb642 | 2756 | ("gobject-introspection" ,gobject-introspection) |
eccaa8bf | 2757 | ("gtk-doc" ,gtk-doc) |
6e1bb642 SB |
2758 | ("intltool" ,intltool) |
2759 | ("pkg-config" ,pkg-config) | |
2760 | ("python" ,python-wrapper) | |
fd730590 | 2761 | ("vala" ,vala) |
6e1bb642 SB |
2762 | ;; These are needed for the tests. |
2763 | ;; FIXME: Add PHP once available. | |
2764 | ("curl" ,curl) | |
2deb146f | 2765 | ("gnutls" ,gnutls) ;for 'certtool' |
6e1bb642 SB |
2766 | ("httpd" ,httpd))) |
2767 | (propagated-inputs | |
2768 | ;; libsoup-2.4.pc refers to all these. | |
2769 | `(("glib" ,glib) | |
249846bf | 2770 | ("libpsl" ,libpsl) |
eccaa8bf | 2771 | ("libxml2" ,libxml2) |
6e1bb642 | 2772 | ("sqlite" ,sqlite))) |
eccaa8bf MB |
2773 | (inputs |
2774 | `(("glib-networking" ,glib-networking) | |
2775 | ("mit-krb5" ,mit-krb5))) | |
6e1bb642 SB |
2776 | (home-page "https://live.gnome.org/LibSoup/") |
2777 | (synopsis "GLib-based HTTP Library") | |
2778 | (description | |
2779 | "LibSoup is an HTTP client/server library for GNOME. It uses GObjects | |
2780 | and the GLib main loop, to integrate well with GNOME applications.") | |
2781 | (license license:lgpl2.0+))) | |
2782 | ||
bba229a3 SB |
2783 | (define-public libsecret |
2784 | (package | |
2785 | (name "libsecret") | |
b0251c71 | 2786 | (version "0.18.8") |
bba229a3 SB |
2787 | (source (origin |
2788 | (method url-fetch) | |
2789 | (uri (string-append | |
896dcbc7 EF |
2790 | "mirror://gnome/sources/libsecret/" |
2791 | (version-major+minor version) "/" | |
bba229a3 SB |
2792 | name "-" version ".tar.xz")) |
2793 | (sha256 | |
2794 | (base32 | |
b0251c71 | 2795 | "058x64689k55wxfkdp4svhnwvv8jmqm7z5mrynybl38f4sfqiyiv")))) |
bba229a3 SB |
2796 | (build-system gnu-build-system) |
2797 | (outputs '("out" "doc")) | |
2798 | (arguments | |
2799 | `(#:tests? #f ; FIXME: Testing hangs. | |
bba229a3 SB |
2800 | #:configure-flags |
2801 | (list (string-append "--with-html-dir=" | |
2802 | (assoc-ref %outputs "doc") | |
2803 | "/share/gtk-doc/html")))) | |
2804 | (native-inputs | |
c06ef010 MB |
2805 | `(("gettext" ,gettext-minimal) |
2806 | ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
bba229a3 | 2807 | ("gobject-introspection" ,gobject-introspection) |
bba229a3 SB |
2808 | ("pkg-config" ,pkg-config) |
2809 | ("vala" ,vala) | |
2810 | ("xsltproc" ,libxslt))) | |
2811 | ;; These are needed for the tests. | |
2812 | ;; FIXME: Add gjs once available. | |
2813 | ;("dbus" ,dbus) | |
2814 | ;("python2" ,python-2) | |
2815 | ;("python2-dbus" ,python2-dbus) | |
2816 | ;("python2-pygobject" ,python2-pygobject) | |
2817 | ;("python2-pygobject-2" ,python2-pygobject-2))) | |
2818 | (propagated-inputs | |
2819 | `(("glib" ,glib))) ; required by libsecret-1.pc | |
2820 | (inputs | |
2821 | `(("docbook-xsl" ,docbook-xsl) | |
2822 | ("libgcrypt" ,libgcrypt) | |
2823 | ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES | |
2824 | (home-page "https://wiki.gnome.org/Projects/Libsecret/") | |
2825 | (synopsis "GObject bindings for \"Secret Service\" API") | |
2826 | (description | |
2827 | "Libsecret is a GObject based library for storing and retrieving passwords | |
2828 | and other secrets. It communicates with the \"Secret Service\" using DBus.") | |
2829 | (license license:lgpl2.1+))) | |
2830 | ||
b6821ee0 | 2831 | (define-public five-or-more |
2832 | (package | |
2833 | (name "five-or-more") | |
fd0557f8 | 2834 | (version "3.30.0") |
b6821ee0 | 2835 | (source |
2836 | (origin | |
2837 | (method url-fetch) | |
2838 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2839 | (version-major+minor version) "/" | |
2840 | name "-" version ".tar.xz")) | |
2841 | (sha256 | |
2842 | (base32 | |
fd0557f8 | 2843 | "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x")))) |
b6821ee0 | 2844 | (build-system glib-or-gtk-build-system) |
2845 | (native-inputs | |
2846 | `(("pkg-config" ,pkg-config) | |
2847 | ("desktop-file-utils" ,desktop-file-utils) | |
2848 | ("intltool" ,intltool) | |
2849 | ("itstool" ,itstool) | |
2850 | ("xmllint" ,libxml2))) | |
2851 | (inputs | |
2852 | `(("gtk+" ,gtk+) | |
2853 | ("librsvg" ,librsvg))) | |
2854 | (home-page "https://wiki.gnome.org/Apps/Five%20or%20more") | |
2855 | (synopsis "Logic puzzle game") | |
2856 | (description "Five or More is a game where you try to align | |
2857 | five or more objects of the same color and shape causing them to disappear. | |
2858 | On every turn more objects will appear, until the board is full. | |
2859 | Try to last as long as possible.") | |
2860 | (license license:gpl2+))) | |
2861 | ||
a31a6d22 SB |
2862 | (define-public gnome-mines |
2863 | (package | |
2864 | (name "gnome-mines") | |
f7a584f4 | 2865 | (version "3.30.1.1") |
a31a6d22 SB |
2866 | (source |
2867 | (origin | |
2868 | (method url-fetch) | |
2869 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2870 | (version-major+minor version) "/" | |
2871 | name "-" version ".tar.xz")) | |
2872 | (sha256 | |
2873 | (base32 | |
f7a584f4 | 2874 | "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z")))) |
8c0fab36 | 2875 | (build-system meson-build-system) |
a31a6d22 | 2876 | (arguments |
8c0fab36 | 2877 | `(#:phases |
a31a6d22 | 2878 | (modify-phases %standard-phases |
8c0fab36 | 2879 | (delete 'bootstrap)))) |
a31a6d22 | 2880 | (native-inputs |
8c0fab36 RW |
2881 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources |
2882 | ("pkg-config" ,pkg-config) | |
a31a6d22 SB |
2883 | ("desktop-file-utils" ,desktop-file-utils) |
2884 | ("intltool" ,intltool) | |
bcb354ad | 2885 | ("itstool" ,itstool) |
8c0fab36 RW |
2886 | ("vala" ,vala) |
2887 | ("yelp" ,yelp) | |
2888 | ("appstream-glib" ,appstream-glib))) | |
a31a6d22 SB |
2889 | (inputs |
2890 | `(("gtk+" ,gtk+) | |
73992962 | 2891 | ("libgnome-games-support" ,libgnome-games-support) |
a31a6d22 SB |
2892 | ("librsvg" ,librsvg))) |
2893 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
2894 | (synopsis "Minesweeper game") | |
2895 | (description | |
2896 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
2897 | floating in an ocean using only your brain and a little bit of luck.") | |
2898 | (license license:gpl2+))) | |
88f70665 | 2899 | |
dfc407f3 KY |
2900 | (define-public gnome-sudoku |
2901 | (package | |
2902 | (name "gnome-sudoku") | |
b3f95507 | 2903 | (version "3.30.0") |
dfc407f3 KY |
2904 | (source |
2905 | (origin | |
2906 | (method url-fetch) | |
2907 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2908 | (version-major+minor version) "/" | |
2909 | name "-" version ".tar.xz")) | |
2910 | (sha256 | |
2911 | (base32 | |
b3f95507 | 2912 | "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f")))) |
dfc407f3 KY |
2913 | (build-system glib-or-gtk-build-system) |
2914 | (native-inputs | |
2915 | `(("pkg-config" ,pkg-config) | |
2916 | ("desktop-file-utils" ,desktop-file-utils) | |
2917 | ("intltool" ,intltool) | |
2918 | ("itstool" ,itstool) | |
2919 | ("xmllint" ,libxml2))) | |
2920 | (inputs | |
2921 | `(("gtk+" ,gtk+) | |
2922 | ("json-glib" ,json-glib) | |
2923 | ("libgee" ,libgee) | |
2924 | ("librsvg" ,librsvg) | |
2925 | ("qqwing" ,qqwing))) | |
2926 | (home-page "https://wiki.gnome.org/Apps/Sudoku") | |
2927 | (synopsis "Japanese logic game") | |
2928 | (description | |
2929 | "Sudoku is a Japanese logic game that exploded in popularity in 2005. | |
2930 | GNOME Sudoku is meant to have an interface as simple and unobstrusive as | |
2931 | possible while still providing features that make playing difficult Sudoku | |
2932 | more fun.") | |
2933 | (license license:gpl2+))) | |
2934 | ||
88f70665 AW |
2935 | (define-public gnome-terminal |
2936 | (package | |
2937 | (name "gnome-terminal") | |
50888342 | 2938 | (version "3.30.3") |
88f70665 AW |
2939 | (source |
2940 | (origin | |
2941 | (method url-fetch) | |
2942 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2943 | (version-major+minor version) "/" | |
2944 | name "-" version ".tar.xz")) | |
2945 | (sha256 | |
2946 | (base32 | |
50888342 | 2947 | "0bar8qazk39acsif31h8i408nl82mzdcdg6p7ymak4l9pxyscxf8")))) |
88f70665 AW |
2948 | (build-system glib-or-gtk-build-system) |
2949 | (arguments | |
2950 | '(#:configure-flags | |
2951 | (list "--disable-migration" "--disable-search-provider" | |
2952 | "--without-nautilus-extension") | |
2953 | #:phases | |
2954 | (modify-phases %standard-phases | |
3a4de6b2 | 2955 | (add-before 'configure 'patch-/bin/true |
88f70665 AW |
2956 | (lambda _ |
2957 | (substitute* "configure" | |
2958 | (("/bin/true") (which "true")))))))) | |
2959 | (native-inputs | |
2960 | `(("pkg-config" ,pkg-config) | |
2961 | ("desktop-file-utils" ,desktop-file-utils) | |
2962 | ("intltool" ,intltool) | |
bcb354ad SB |
2963 | ("itstool" ,itstool) |
2964 | ("xmllint" ,libxml2))) | |
68702167 MW |
2965 | (propagated-inputs |
2966 | `(("dconf" ,dconf))) | |
88f70665 AW |
2967 | (inputs |
2968 | `(("gtk+" ,gtk+) | |
2969 | ("vte" ,vte) | |
2970 | ("gnutls" ,gnutls) | |
88f70665 AW |
2971 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2972 | ("util-linux" ,util-linux) | |
2973 | ("vala" ,vala))) | |
2974 | (home-page "https://wiki.gnome.org/Apps/Terminal") | |
2975 | (synopsis "Terminal emulator") | |
2976 | (description | |
2977 | "GNOME Terminal is a terminal emulator application for accessing a | |
2978 | UNIX shell environment which can be used to run programs available on | |
2979 | your system. | |
2980 | ||
2981 | It supports several profiles, multiple tabs and implements several | |
2982 | keyboard shortcuts.") | |
2983 | (license license:gpl3+))) | |
75016d07 AW |
2984 | |
2985 | (define-public colord | |
2986 | (package | |
2987 | (name "colord") | |
a68544a8 | 2988 | (version "1.4.3") |
75016d07 AW |
2989 | (source |
2990 | (origin | |
2991 | (method url-fetch) | |
5cc3096c | 2992 | (uri (string-append "https://www.freedesktop.org/software/colord/releases/" |
75016d07 AW |
2993 | name "-" version ".tar.xz")) |
2994 | (sha256 | |
2995 | (base32 | |
a68544a8 RW |
2996 | "1xwxahg9mgmapc16xkb4kgmc40zpadrwav33xqmn6cgaw6g6d3ls")))) |
2997 | (build-system meson-build-system) | |
75016d07 | 2998 | (arguments |
a68544a8 RW |
2999 | '(;; FIXME: One test fails: |
3000 | ;; /colord/icc-store (in lib/colord/colord-self-test-private): | |
3001 | ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got | |
3002 | ;; application/x-zerosize | |
75016d07 | 3003 | #:tests? #f |
a68544a8 RW |
3004 | #:glib-or-gtk? #t |
3005 | #:configure-flags (list "-Dlocalstatedir=/var" | |
75016d07 | 3006 | ;; No dep on systemd. |
a68544a8 | 3007 | "-Dsystemd=false" |
75016d07 AW |
3008 | ;; Wants to install to global completion dir; |
3009 | ;; punt. | |
a68544a8 | 3010 | "-Dbash_completion=false" |
75016d07 | 3011 | ;; colord-gtk not packaged yet. |
a68544a8 RW |
3012 | "-Dsession_example=false" |
3013 | "-Ddaemon_user=colord" | |
3014 | "-Dsane=true" | |
3015 | ;; Requires spotread | |
3016 | "-Dargyllcms_sensor=false" | |
3017 | ;; TODO: Requires docbook2x | |
3018 | "-Dman=false") | |
75016d07 AW |
3019 | #:phases |
3020 | (modify-phases %standard-phases | |
a68544a8 RW |
3021 | (add-before 'configure 'patch-build-system |
3022 | (lambda* (#:key outputs #:allow-other-keys) | |
3023 | (substitute* "rules/meson.build" | |
3024 | (("udev.get_pkgconfig_variable\\('udevdir'\\)") | |
3025 | (string-append "'" (assoc-ref outputs "out") "/lib/udev'"))) | |
3026 | #t))))) | |
75016d07 AW |
3027 | (native-inputs |
3028 | `(("pkg-config" ,pkg-config) | |
a68544a8 | 3029 | ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc. |
75016d07 | 3030 | ("gobject-introspection" ,gobject-introspection) |
a68544a8 | 3031 | ("gtk-doc" ,gtk-doc) |
75016d07 AW |
3032 | ("libtool" ,libtool) |
3033 | ("intltool" ,intltool))) | |
65cb2d61 SB |
3034 | (propagated-inputs |
3035 | ;; colord.pc refers to all these. | |
3036 | `(("glib" ,glib) | |
3037 | ("udev" ,eudev) | |
3038 | ("lcms" ,lcms))) | |
75016d07 | 3039 | (inputs |
65cb2d61 | 3040 | `(("dbus-glib" ,dbus-glib) |
a68544a8 | 3041 | ("gusb" ,gusb) |
80c7dd1a | 3042 | ("libgudev" ,libgudev) |
75016d07 | 3043 | ("libusb" ,libusb) |
75016d07 AW |
3044 | ("sqlite" ,sqlite) |
3045 | ("polkit" ,polkit) | |
a68544a8 | 3046 | ("python" ,python-wrapper) |
4c928743 | 3047 | ("sane-backends" ,sane-backends))) |
57e7d748 | 3048 | (home-page "https://www.freedesktop.org/software/colord/") |
75016d07 AW |
3049 | (synopsis "Color management service") |
3050 | (description "Colord is a system service that makes it easy to manage, | |
3051 | install and generate color profiles to accurately color manage input and | |
3052 | output devices.") | |
3053 | (license license:gpl2+))) | |
7b2abd00 AW |
3054 | |
3055 | (define-public geoclue | |
3056 | (package | |
3057 | (name "geoclue") | |
b433c7b3 | 3058 | (version "2.4.8") |
7b2abd00 AW |
3059 | (source |
3060 | (origin | |
3061 | (method url-fetch) | |
5cc3096c | 3062 | (uri (string-append "https://www.freedesktop.org/software/" name |
7b2abd00 AW |
3063 | "/releases/" (version-major+minor version) "/" |
3064 | name "-" version ".tar.xz")) | |
3065 | (sha256 | |
3066 | (base32 | |
b433c7b3 | 3067 | "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj")) |
fc1adab1 | 3068 | (patches (search-patches "geoclue-config.patch")))) |
7b2abd00 AW |
3069 | (build-system glib-or-gtk-build-system) |
3070 | (arguments | |
3071 | '(;; The tests want to run the system bus. | |
3072 | #:tests? #f | |
3073 | #:configure-flags (list ;; Disable bits requiring ModemManager. | |
3074 | "--disable-3g-source" | |
3075 | "--disable-cdma-source" | |
3076 | "--disable-modem-gps-source" | |
3077 | "--with-dbus-service-user=geoclue") | |
3078 | #:phases | |
3079 | (modify-phases %standard-phases | |
3a4de6b2 | 3080 | (add-before 'configure 'patch-/bin/true |
7b2abd00 AW |
3081 | (lambda _ |
3082 | (substitute* "configure" | |
e3eb53e7 MW |
3083 | (("/bin/true") (which "true"))) |
3084 | #t))))) | |
7b2abd00 AW |
3085 | (native-inputs |
3086 | `(("pkg-config" ,pkg-config) | |
758798a9 | 3087 | ("gobject-introspection" ,gobject-introspection) |
7b2abd00 AW |
3088 | ("intltool" ,intltool))) |
3089 | (inputs | |
54e911bc SB |
3090 | `(("avahi" ,avahi) |
3091 | ("glib" ,glib) | |
7b2abd00 AW |
3092 | ("json-glib" ,json-glib) |
3093 | ("libsoup" ,libsoup))) | |
99adfd7d | 3094 | (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/") |
7b2abd00 AW |
3095 | (synopsis "Geolocation service") |
3096 | (description "Geoclue is a D-Bus service that provides location | |
3097 | information. The primary goal of the Geoclue project is to make creating | |
3098 | location-aware applications as simple as possible, while the secondary goal is | |
3099 | to ensure that no application can access location information without explicit | |
e881752c | 3100 | permission from user.") |
7b2abd00 | 3101 | (license license:gpl2+))) |
2bfe7437 AW |
3102 | |
3103 | (define-public geocode-glib | |
3104 | (package | |
3105 | (name "geocode-glib") | |
a7dd0c02 | 3106 | (version "3.26.0") |
2bfe7437 AW |
3107 | (source (origin |
3108 | (method url-fetch) | |
3109 | (uri (string-append "mirror://gnome/sources/geocode-glib/" | |
3110 | (version-major+minor version) "/" | |
3111 | name "-" version ".tar.xz")) | |
3112 | (sha256 | |
3113 | (base32 | |
a7dd0c02 RW |
3114 | "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a")))) |
3115 | (build-system meson-build-system) | |
2bfe7437 | 3116 | (arguments |
a7dd0c02 RW |
3117 | `(#:phases |
3118 | (modify-phases %standard-phases | |
3119 | ;; The tests require a bunch of locales. | |
3120 | (add-before 'check 'set-locales | |
3121 | (lambda* (#:key inputs #:allow-other-keys) | |
3122 | (setenv "GUIX_LOCPATH" | |
3123 | (string-append (assoc-ref inputs "glibc-locales") | |
3124 | "/lib/locale")) | |
3125 | #t))))) | |
2bfe7437 AW |
3126 | (native-inputs |
3127 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
a7dd0c02 RW |
3128 | ("glibc-locales" ,glibc-locales) ; for tests |
3129 | ("gettext" ,gettext-minimal) | |
2bfe7437 | 3130 | ("gobject-introspection" ,gobject-introspection) |
a7dd0c02 | 3131 | ("gtk-doc" ,gtk-doc) |
2bfe7437 AW |
3132 | ("pkg-config" ,pkg-config) |
3133 | ("json-glib" ,json-glib))) | |
3134 | (propagated-inputs | |
3135 | ;; geocode-glib-1.0.pc refers to GIO. | |
3136 | `(("glib" ,glib))) | |
3137 | (inputs | |
3138 | `(("libsoup" ,libsoup))) | |
3139 | (home-page "https://github.com/GNOME/geocode-glib/") | |
3140 | (synopsis "Geocoding and reverse-geocoding library") | |
3141 | (description | |
3142 | "geocode-glib is a convenience library for geocoding (finding longitude, | |
3143 | and latitude from an address) and reverse geocoding (finding an address from | |
3144 | coordinates) using the Nominatim service. geocode-glib caches requests for | |
3145 | faster results and to avoid unnecessary server load.") | |
3146 | (license license:lgpl2.0+))) | |
a1d5bb0e AW |
3147 | |
3148 | (define-public upower | |
3149 | (package | |
3150 | (name "upower") | |
4088d809 | 3151 | (version "0.99.10") |
a1d5bb0e AW |
3152 | (source (origin |
3153 | (method url-fetch) | |
9ec54965 | 3154 | (uri (string-append "https://gitlab.freedesktop.org/upower/upower/" |
4088d809 | 3155 | "uploads/c438511024b9bc5a904f8775cfc8e4c4/" |
9ec54965 | 3156 | "upower-" version ".tar.xz")) |
a1d5bb0e AW |
3157 | (sha256 |
3158 | (base32 | |
4088d809 | 3159 | "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4")) |
fc1adab1 | 3160 | (patches (search-patches "upower-builddir.patch")))) |
a1d5bb0e AW |
3161 | (build-system glib-or-gtk-build-system) |
3162 | (arguments | |
3163 | '( ;; The tests want to contact the system bus, which can't be done in the | |
3164 | ;; build environment. The integration test can run, but the last of | |
3165 | ;; the up-self-tests doesn't. Disable tests for now. | |
3166 | #:tests? #f | |
3167 | #:configure-flags (list "--localstatedir=/var" | |
3168 | (string-append "--with-udevrulesdir=" | |
3169 | (assoc-ref %outputs "out") | |
9ec54965 | 3170 | "/lib/udev/rules.d")))) |
a1d5bb0e | 3171 | (native-inputs |
ebeabe2d SB |
3172 | `(("gobject-introspection" ,gobject-introspection) |
3173 | ("pkg-config" ,pkg-config) | |
a1d5bb0e | 3174 | ("intltool" ,intltool) |
55409295 LC |
3175 | ("python" ,python) |
3176 | ||
3177 | ;; For man pages. | |
3178 | ("libxslt" ,libxslt) ;for 'xsltproc' | |
3179 | ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' | |
3180 | ("docbook-xsl" ,docbook-xsl))) | |
a1d5bb0e | 3181 | (inputs |
ea226291 SB |
3182 | `(("dbus-glib" ,dbus-glib) |
3183 | ("libgudev" ,libgudev) | |
a1d5bb0e | 3184 | ("libusb" ,libusb))) |
d7a503fc MB |
3185 | (propagated-inputs |
3186 | ;; In Requires of upower-glib.pc. | |
3187 | `(("glib" ,glib))) | |
57e7d748 | 3188 | (home-page "https://upower.freedesktop.org/") |
a1d5bb0e AW |
3189 | (synopsis "System daemon for managing power devices") |
3190 | (description | |
3191 | "UPower is an abstraction for enumerating power devices, | |
3192 | listening to device events and querying history and statistics. Any | |
3193 | application or service on the system can access the org.freedesktop.UPower | |
3194 | service via the system message bus.") | |
3195 | (license license:gpl2+))) | |
6a180f6f AW |
3196 | |
3197 | (define-public libgweather | |
3198 | (package | |
3199 | (name "libgweather") | |
cf6cbc34 | 3200 | (version "3.28.2") |
6a180f6f AW |
3201 | (source (origin |
3202 | (method url-fetch) | |
3203 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3204 | (version-major+minor version) "/" | |
3205 | name "-" version ".tar.xz")) | |
3206 | (sha256 | |
3207 | (base32 | |
cf6cbc34 RW |
3208 | "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708")))) |
3209 | (build-system meson-build-system) | |
6a180f6f | 3210 | (arguments |
cf6cbc34 RW |
3211 | `(#:tests? #f ; one of two tests requires network access |
3212 | #:configure-flags | |
3213 | `(,(string-append "-Dzoneinfo_dir=" | |
b6072e6b | 3214 | (assoc-ref %build-inputs "tzdata") |
cf6cbc34 | 3215 | "/share/zoneinfo")))) |
6a180f6f AW |
3216 | (native-inputs |
3217 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
b6072e6b | 3218 | ("gobject-introspection" ,gobject-introspection) |
6a180f6f | 3219 | ("pkg-config" ,pkg-config) |
1d3fcf94 | 3220 | ("vala" ,vala) |
6a180f6f AW |
3221 | ("intltool" ,intltool))) |
3222 | (propagated-inputs | |
3223 | ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and | |
3224 | ;; libsoup. | |
3225 | `(("gtk+" ,gtk+) | |
3226 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3227 | ("libxml2" ,libxml2) | |
cf6cbc34 | 3228 | ("libsoup" ,libsoup) |
6a180f6f | 3229 | ("geocode-glib" ,geocode-glib))) |
cf6cbc34 RW |
3230 | (inputs |
3231 | `(("tzdata" ,tzdata))) | |
6a180f6f AW |
3232 | (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") |
3233 | (synopsis "Location, time zone, and weather library for GNOME") | |
3234 | (description | |
3235 | "libgweather is a library to access weather information from online | |
3236 | services for numerous locations.") | |
3237 | (license license:gpl2+))) | |
23a22af6 AW |
3238 | |
3239 | (define-public gnome-settings-daemon | |
3240 | (package | |
3241 | (name "gnome-settings-daemon") | |
90fdc80f | 3242 | (version "3.30.2") |
23a22af6 AW |
3243 | (source |
3244 | (origin | |
3245 | (method url-fetch) | |
3246 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3247 | (version-major+minor version) "/" | |
3248 | name "-" version ".tar.xz")) | |
3249 | (sha256 | |
3250 | (base32 | |
90fdc80f | 3251 | "0c663csa3gnsr6wm0xfll6aani45snkdj7zjwjfzcwfh8w4a3z12")))) |
e644f9fa | 3252 | (build-system meson-build-system) |
23a22af6 | 3253 | (arguments |
e644f9fa RW |
3254 | `(#:glib-or-gtk? #t |
3255 | #:configure-flags | |
3256 | (list (string-append "-Dudev_dir=" | |
3257 | (assoc-ref %outputs "out") | |
4d0e085b RW |
3258 | "/lib/udev/rules.d/") |
3259 | ;; Otherwise, the RUNPATH will lack the final path component. | |
3260 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
3261 | (assoc-ref %outputs "out") | |
3262 | "/lib/gnome-settings-daemon-3.0")) | |
e644f9fa | 3263 | ;; Color management test can't reach the colord system service. |
23a22af6 AW |
3264 | #:tests? #f)) |
3265 | (native-inputs | |
e644f9fa RW |
3266 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
3267 | ("pkg-config" ,pkg-config) | |
23a22af6 AW |
3268 | ("intltool" ,intltool) |
3269 | ("xsltproc" ,libxslt) | |
3270 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES | |
3271 | ("docbook-xml" ,docbook-xml-4.2) | |
3272 | ("docbook-xsl" ,docbook-xsl))) | |
3273 | (inputs | |
e644f9fa RW |
3274 | `(("alsa-lib" ,alsa-lib) |
3275 | ("colord" ,colord) | |
ea226291 | 3276 | ("libgudev" ,libgudev) |
23a22af6 AW |
3277 | ("upower" ,upower) |
3278 | ("polkit" ,polkit) | |
3279 | ("pulseaudio" ,pulseaudio) | |
3280 | ("libcanberra" ,libcanberra) | |
3281 | ("libx11" ,libx11) | |
3282 | ("libxtst" ,libxtst) | |
3283 | ("lcms" ,lcms) | |
3284 | ("libnotify" ,libnotify) | |
3285 | ("geoclue" ,geoclue) | |
3286 | ("geocode-glib" ,geocode-glib) | |
3287 | ("libgweather" ,libgweather) | |
3288 | ("gnome-desktop" ,gnome-desktop) | |
3289 | ("nss" ,nss) | |
3290 | ("cups" ,cups) | |
ec2b1921 AW |
3291 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
3292 | ("libwacom" ,libwacom) | |
3293 | ("librsvg" ,librsvg) | |
eee7878f | 3294 | ("xf86-input-wacom" ,xf86-input-wacom) |
e644f9fa | 3295 | ("wayland" ,wayland) |
eee7878f | 3296 | ("network-manager" ,network-manager))) |
f032d0be | 3297 | (home-page "https://www.gnome.org") |
23a22af6 AW |
3298 | (synopsis "GNOME settings daemon") |
3299 | (description | |
3300 | "This package contains the daemon responsible for setting the various | |
3301 | parameters of a GNOME session and the applications that run under it. It | |
3302 | handles settings such keyboard layout, shortcuts, and accessibility, clipboard | |
3303 | settings, themes, mouse settings, and startup of other daemons.") | |
3304 | (license license:gpl2+))) | |
1e7464a9 DH |
3305 | |
3306 | (define-public totem-pl-parser | |
3307 | (package | |
3308 | (name "totem-pl-parser") | |
77425f04 | 3309 | (version "3.26.3") |
1e7464a9 DH |
3310 | (source (origin |
3311 | (method url-fetch) | |
e980cbe9 MW |
3312 | (uri (string-append "mirror://gnome/sources/totem-pl-parser/" |
3313 | (version-major+minor version) "/" | |
1e7464a9 DH |
3314 | "totem-pl-parser-" version ".tar.xz")) |
3315 | (sha256 | |
3316 | (base32 | |
77425f04 | 3317 | "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f")))) |
1e9b19dd | 3318 | (build-system meson-build-system) |
1e7464a9 DH |
3319 | (arguments |
3320 | ;; FIXME: Tests require gvfs. | |
3321 | `(#:tests? #f)) | |
3322 | (native-inputs | |
3323 | `(("intltool" ,intltool) | |
3324 | ("glib" ,glib "bin") | |
4d6d8281 | 3325 | ("gobject-introspection" ,gobject-introspection) |
1e7464a9 | 3326 | ("pkg-config" ,pkg-config))) |
22a6ad6a | 3327 | (propagated-inputs |
1e7464a9 DH |
3328 | `(("glib" ,glib) |
3329 | ("gmime" ,gmime) | |
1e9b19dd RW |
3330 | ("libarchive" ,libarchive) |
3331 | ("libgcrypt" ,libgcrypt) | |
22a6ad6a MW |
3332 | ("libxml2" ,libxml2))) |
3333 | (inputs | |
1e9b19dd | 3334 | `(("nettle" ,nettle) |
22a6ad6a | 3335 | ("libsoup" ,libsoup))) |
1e7464a9 DH |
3336 | (home-page "https://projects.gnome.org/totem") |
3337 | (synopsis "Library to parse and save media playlists for GNOME") | |
3338 | (description "Totem-pl-parser is a GObjects-based library to parse and save | |
3339 | playlists in a variety of formats.") | |
3340 | (license license:lgpl2.0+))) | |
3341 | ||
6b888eff SB |
3342 | (define-public aisleriot |
3343 | (package | |
3344 | (name "aisleriot") | |
39c0a3fd | 3345 | (version "3.22.8") |
6b888eff SB |
3346 | (source (origin |
3347 | (method url-fetch) | |
e43f622a | 3348 | (uri (string-append "mirror://gnome/sources/aisleriot/" |
6b888eff | 3349 | (version-major+minor version) "/" |
e43f622a | 3350 | "aisleriot-" version ".tar.xz")) |
6b888eff SB |
3351 | (sha256 |
3352 | (base32 | |
39c0a3fd | 3353 | "15pm39679ymxki07sb5nvhycz4z53zwbvascyp5wm4864bn98815")))) |
6b888eff SB |
3354 | (build-system glib-or-gtk-build-system) |
3355 | (arguments | |
3356 | '(#:configure-flags | |
3357 | '("--with-platform=gtk-only" | |
3358 | "--with-card-theme-formats=svg"))) | |
3359 | (native-inputs | |
3360 | `(("desktop-file-utils" ,desktop-file-utils) | |
3361 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
3362 | ("intltool" ,intltool) | |
3363 | ("itstool" ,itstool) | |
3364 | ("pkg-config" ,pkg-config) | |
3365 | ("xmllint" ,libxml2))) | |
3366 | (inputs | |
3367 | `(("gtk+" ,gtk+) | |
226e57d6 | 3368 | ("guile" ,guile-2.2) |
6b888eff SB |
3369 | ("libcanberra" ,libcanberra) |
3370 | ("librsvg" ,librsvg))) | |
3371 | (home-page "https://wiki.gnome.org/Apps/Aisleriot") | |
3372 | (synopsis "Solitaire card games") | |
3373 | (description | |
3374 | "Aisleriot (also known as Solitaire or sol) is a collection of card games | |
3375 | which are easy to play with the aid of a mouse.") | |
3376 | (license license:gpl3+))) | |
4a79e256 | 3377 | |
f828d05b KK |
3378 | (define-public amtk |
3379 | (package | |
3380 | (name "amtk") | |
3381 | (version "5.0.0") | |
3382 | (source (origin | |
3383 | (method url-fetch) | |
3384 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3385 | (version-major+minor version) "/" | |
3386 | name "-" version ".tar.xz")) | |
3387 | (sha256 | |
3388 | (base32 | |
3389 | "1zriix7bdwcg0868mfc7jy6zbwjwdmjwbh0ah6dbddrhiabrda8j")))) | |
3390 | (build-system gnu-build-system) | |
3391 | (arguments | |
3392 | '(#:configure-flags '("--enable-gtk-doc"))) | |
3393 | (native-inputs | |
3394 | `(("gobject-introspection" ,gobject-introspection) | |
3395 | ("glib:bin" ,glib "bin") ; for glib-mkenums | |
3396 | ("gtk-doc" ,gtk-doc) | |
3397 | ("pkg-config" ,pkg-config))) | |
3398 | (inputs | |
3399 | `(("glib" ,glib) | |
3400 | ("gtk+" ,gtk+))) | |
3401 | (home-page "https://wiki.gnome.org/Projects/Amtk") | |
3402 | (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications") | |
3403 | (description | |
3404 | "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}. | |
3405 | It is a basic GtkUIManager replacement based on GAction. It is suitable for | |
3406 | both a traditional UI or a modern UI with a GtkHeaderBar.") | |
3407 | (license license:lgpl2.1+))) | |
3408 | ||
4a79e256 SB |
3409 | (define-public devhelp |
3410 | (package | |
3411 | (name "devhelp") | |
5dd12afc | 3412 | (version "3.28.1") |
4a79e256 SB |
3413 | (source (origin |
3414 | (method url-fetch) | |
3415 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3416 | (version-major+minor version) "/" | |
3417 | name "-" version ".tar.xz")) | |
3418 | (sha256 | |
3419 | (base32 | |
5dd12afc | 3420 | "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s")))) |
4a79e256 SB |
3421 | (build-system glib-or-gtk-build-system) |
3422 | (native-inputs | |
3423 | `(("intltool" ,intltool) | |
5dd12afc | 3424 | ("itstool" ,itstool) |
4a79e256 SB |
3425 | ("pkg-config" ,pkg-config))) |
3426 | (inputs | |
3427 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3428 | ("webkitgtk" ,webkitgtk))) | |
3429 | (home-page "https://wiki.gnome.org/Apps/Devhelp") | |
3430 | (synopsis "API documentation browser for GNOME") | |
3431 | (description | |
3432 | "Devhelp is an API documentation browser for GTK+ and GNOME. It works | |
3433 | natively with GTK-Doc (the API reference system developed for GTK+ and used | |
3434 | throughout GNOME for API documentation).") | |
3435 | (license license:gpl2+))) | |
ba421ab7 MW |
3436 | |
3437 | (define-public cogl | |
3438 | (package | |
3439 | (name "cogl") | |
6a55accc | 3440 | (version "1.22.2") |
ba421ab7 MW |
3441 | (source |
3442 | (origin | |
3443 | (method url-fetch) | |
3444 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3445 | (version-major+minor version) "/" | |
3446 | name "-" version ".tar.xz")) | |
3447 | (sha256 | |
3448 | (base32 | |
6a55accc | 3449 | "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr")))) |
a88d5a0c MW |
3450 | ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to |
3451 | ;; cogl, corresponding changes may be appropriate in mutter as well. | |
ba421ab7 MW |
3452 | (build-system gnu-build-system) |
3453 | (native-inputs | |
3454 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
3455 | ("gobject-introspection" ,gobject-introspection) | |
3456 | ;;("xorg-server" ,xorg-server) ; for the test suite | |
3457 | ("pkg-config" ,pkg-config))) | |
3458 | (propagated-inputs | |
3459 | `(("glib" ,glib) | |
3460 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3461 | ("libx11" ,libx11) | |
3462 | ("libxext" ,libxext) | |
3463 | ("libxfixes" ,libxfixes) | |
3464 | ("libxdamage" ,libxdamage) | |
3465 | ("libxcomposite" ,libxcomposite) | |
3466 | ("libxrandr" ,libxrandr))) | |
3467 | (inputs | |
3468 | `(("mesa" ,mesa) | |
3469 | ("cairo" ,cairo) | |
3470 | ("pango" ,pango) | |
3471 | ("gstreamer" ,gstreamer) | |
31860852 KK |
3472 | ("gst-plugins-base" ,gst-plugins-base) |
3473 | ("wayland" ,wayland))) | |
ba421ab7 MW |
3474 | (arguments |
3475 | `(#:configure-flags (list "--enable-cogl-gst" | |
31860852 KK |
3476 | "--enable-wayland-egl-platform" |
3477 | "--enable-wayland-egl-server" | |
3478 | ||
ba421ab7 MW |
3479 | ;; Arrange to pass an absolute file name to |
3480 | ;; dlopen for libGL.so. | |
3481 | (string-append "--with-gl-libname=" | |
3482 | (assoc-ref %build-inputs "mesa") | |
3483 | "/lib/libGL.so")) | |
3484 | ;; XXX FIXME: All tests fail, with many warnings printed like this: | |
3485 | ;; _FontTransOpen: Unable to Parse address | |
3486 | ;; ${prefix}/share/fonts/X11/misc/ | |
3487 | #:tests? #f | |
3488 | #; #:phases | |
3489 | #; | |
3490 | (modify-phases %standard-phases | |
3491 | (add-before 'check 'start-xorg-server | |
3492 | (lambda* (#:key inputs #:allow-other-keys) | |
3493 | ;; The test suite requires a running X server. | |
3494 | (system (format #f "~a/bin/Xvfb :1 &" | |
3495 | (assoc-ref inputs "xorg-server"))) | |
3496 | (setenv "DISPLAY" ":1") | |
3497 | #t))))) | |
3498 | (home-page "http://www.cogl3d.org") | |
3499 | (synopsis "Object oriented GL/GLES Abstraction/Utility Layer") | |
3500 | (description | |
3501 | "Cogl is a small library for using 3D graphics hardware to draw pretty | |
3502 | pictures. The API departs from the flat state machine style of OpenGL and is | |
3503 | designed to make it easy to write orthogonal components that can render | |
3504 | without stepping on each others toes.") | |
3505 | (license (list license:expat ; most of the code | |
3506 | license:bsd-3 ; cogl/cogl-point-in-poly.c | |
3507 | license:sgifreeb2.0 ; cogl-path/tesselator/ | |
3508 | license:asl2.0)))) ; examples/android/ | |
fb182b8a MW |
3509 | |
3510 | (define-public clutter | |
3511 | (package | |
3512 | (name "clutter") | |
6a88e4ee | 3513 | (version "1.26.2") |
fb182b8a MW |
3514 | (source |
3515 | (origin | |
3516 | (method url-fetch) | |
3517 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3518 | (version-major+minor version) "/" | |
3519 | name "-" version ".tar.xz")) | |
3520 | (sha256 | |
3521 | (base32 | |
6a88e4ee | 3522 | "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7")))) |
a88d5a0c MW |
3523 | ;; NOTE: mutter exports a bundled fork of clutter, so when making changes |
3524 | ;; to clutter, corresponding changes may be appropriate in mutter as well. | |
fb182b8a | 3525 | (build-system gnu-build-system) |
600233bd LC |
3526 | (outputs '("out" |
3527 | "doc")) ;9 MiB of gtk-doc HTML pages | |
fb182b8a MW |
3528 | (native-inputs |
3529 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal | |
3530 | ("gobject-introspection" ,gobject-introspection) | |
3531 | ("pkg-config" ,pkg-config) | |
3532 | ("xsltproc" ,libxslt))) | |
3533 | (propagated-inputs | |
3534 | `(("cogl" ,cogl) | |
3535 | ("cairo" ,cairo) | |
3536 | ("atk" ,atk) | |
3537 | ("gtk+" ,gtk+) | |
3538 | ("json-glib" ,json-glib) | |
3539 | ("glib" ,glib) | |
3540 | ("libxcomposite" ,libxcomposite) | |
3541 | ("libxdamage" ,libxdamage) | |
3542 | ("libxext" ,libxext) | |
3543 | ("xinput" ,xinput))) | |
3544 | (inputs | |
3545 | `(("libxkbcommon" ,libxkbcommon) | |
3546 | ("udev" ,eudev))) | |
3547 | (arguments | |
600233bd LC |
3548 | `(#:configure-flags (list "--enable-x11-backend=yes" |
3549 | ||
3550 | ;; This produces share/doc/{clutter,cally}. | |
3551 | (string-append "--with-html-dir=" | |
3552 | (assoc-ref %outputs "doc") | |
3553 | "/share/doc")) | |
fb182b8a MW |
3554 | ;; XXX FIXME: Get test suite working. It would probably fail in the |
3555 | ;; same way the cogl tests fail, since clutter is based on cogl. | |
3556 | #:tests? #f)) | |
3557 | (home-page "http://www.clutter-project.org") | |
476af713 | 3558 | (synopsis "OpenGL-based interactive canvas library") |
fb182b8a | 3559 | (description |
476af713 | 3560 | "Clutter is an OpenGL-based interactive canvas library, designed for |
fb182b8a MW |
3561 | creating fast, mainly 2D single window applications such as media box UIs, |
3562 | presentations, kiosk style applications and so on.") | |
3563 | (license license:lgpl2.0+))) | |
bf7f17ba MW |
3564 | |
3565 | (define-public clutter-gtk | |
3566 | (package | |
3567 | (name "clutter-gtk") | |
5d1a3219 | 3568 | (version "1.8.4") |
bf7f17ba MW |
3569 | (source |
3570 | (origin | |
3571 | (method url-fetch) | |
3572 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3573 | (version-major+minor version) "/" | |
3574 | name "-" version ".tar.xz")) | |
3575 | (sha256 | |
3576 | (base32 | |
5d1a3219 | 3577 | "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j")))) |
bf7f17ba MW |
3578 | (build-system gnu-build-system) |
3579 | (native-inputs | |
3580 | `(("pkg-config" ,pkg-config) | |
3581 | ("gobject-introspection" ,gobject-introspection))) | |
9a3a8b8e SB |
3582 | (propagated-inputs |
3583 | ;; clutter-gtk.pc refers to all these. | |
bf7f17ba MW |
3584 | `(("clutter" ,clutter) |
3585 | ("gtk+" ,gtk+))) | |
3586 | (home-page "http://www.clutter-project.org") | |
476af713 | 3587 | (synopsis "OpenGL-based interactive canvas library GTK+ widget") |
bf7f17ba | 3588 | (description |
476af713 | 3589 | "Clutter is an OpenGL-based interactive canvas library, designed for |
bf7f17ba MW |
3590 | creating fast, mainly 2D single window applications such as media box UIs, |
3591 | presentations, kiosk style applications and so on.") | |
3592 | (license license:lgpl2.0+))) | |
86d6a893 MW |
3593 | |
3594 | (define-public clutter-gst | |
3595 | (package | |
3596 | (name "clutter-gst") | |
ba07ac19 | 3597 | (version "3.0.27") |
86d6a893 MW |
3598 | (source |
3599 | (origin | |
3600 | (method url-fetch) | |
f010f89b | 3601 | (uri (string-append "mirror://gnome/sources/clutter-gst/" |
86d6a893 | 3602 | (version-major+minor version) "/" |
f010f89b | 3603 | "clutter-gst-" version ".tar.xz")) |
86d6a893 | 3604 | (sha256 |
ba07ac19 | 3605 | (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy")))) |
86d6a893 MW |
3606 | (build-system gnu-build-system) |
3607 | (native-inputs | |
ba07ac19 | 3608 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
86d6a893 MW |
3609 | ("pkg-config" ,pkg-config) |
3610 | ("gobject-introspection" ,gobject-introspection))) | |
3611 | (inputs | |
3612 | `(("clutter" ,clutter) | |
3613 | ("gstreamer" ,gstreamer) | |
3614 | ("gst-plugins-base" ,gst-plugins-base))) | |
3615 | (home-page "http://www.clutter-project.org") | |
3616 | (synopsis "Integration library for using GStreamer with Clutter") | |
3617 | (description | |
3618 | "Clutter-Gst is an integration library for using GStreamer with Clutter. | |
3619 | It provides a GStreamer sink to upload frames to GL and an actor that | |
476af713 TGR |
3620 | implements the ClutterGstPlayer interface using playbin. Clutter is an |
3621 | OpenGL-based interactive canvas library.") | |
86d6a893 | 3622 | (license license:lgpl2.0+))) |
607a04ae | 3623 | |
30dc88d9 LC |
3624 | (define-public libchamplain |
3625 | (package | |
3626 | (name "libchamplain") | |
5564b2c5 | 3627 | (version "0.12.16") |
30dc88d9 LC |
3628 | (source (origin |
3629 | (method url-fetch) | |
3630 | (uri (string-append | |
3631 | "mirror://gnome/sources/libchamplain/0.12/libchamplain-" | |
3632 | version ".tar.xz")) | |
3633 | (sha256 | |
3634 | (base32 | |
5564b2c5 | 3635 | "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja")))) |
30dc88d9 | 3636 | (build-system gnu-build-system) |
f7c6833f LF |
3637 | (arguments '(#:configure-flags '("--enable-vala"))) |
3638 | (native-inputs | |
3639 | `(("gobject-introspection" ,gobject-introspection) | |
3640 | ("pkg-config" ,pkg-config) | |
3641 | ("vala" ,vala))) | |
30dc88d9 LC |
3642 | (propagated-inputs |
3643 | `(("libsoup" ,libsoup) | |
3644 | ("sqlite" ,sqlite) | |
3645 | ("clutter" ,clutter) | |
3646 | ("clutter-gtk" ,clutter-gtk) | |
3647 | ("glib:bin" ,glib "bin") ;glib-mkenums, etc. | |
3648 | ("cairo" ,cairo) | |
3649 | ("gtk+3" ,gtk+) | |
3650 | ("glib" ,glib))) | |
f032d0be | 3651 | (home-page "https://projects.gnome.org/libchamplain/") |
30dc88d9 LC |
3652 | (synopsis "C library providing a ClutterActor to display maps") |
3653 | (description | |
3654 | "libchamplain is a C library providing a ClutterActor to display maps. | |
3655 | It also provides a Gtk+ widget to display maps in Gtk+ applications. Python | |
3656 | and Perl bindings are also available. It supports numerous free map sources | |
3657 | such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.") | |
3658 | (license license:lgpl2.1+))) | |
3659 | ||
607a04ae MW |
3660 | (define-public gom |
3661 | (package | |
3662 | (name "gom") | |
0510440b | 3663 | (version "0.3.2") |
607a04ae MW |
3664 | (source |
3665 | (origin | |
3666 | (method url-fetch) | |
6c8a0b6f | 3667 | (uri (string-append "mirror://gnome/sources/gom/" |
607a04ae | 3668 | (version-major+minor version) "/" |
6c8a0b6f | 3669 | "gom-" version ".tar.xz")) |
607a04ae MW |
3670 | (sha256 |
3671 | (base32 | |
0510440b | 3672 | "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w")))) |
607a04ae MW |
3673 | (build-system gnu-build-system) |
3674 | (native-inputs | |
3675 | `(("intltool" ,intltool) | |
3676 | ("pkg-config" ,pkg-config) | |
3677 | ("gobject-introspection" ,gobject-introspection))) | |
3678 | (inputs | |
3679 | `(("glib" ,glib) | |
3680 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3681 | ("sqlite" ,sqlite))) | |
3682 | ;; XXX TODO: Figure out how to run the test suite. | |
3683 | (arguments `(#:tests? #f)) | |
3684 | (home-page "https://wiki.gnome.org/Projects/Gom") | |
3685 | (synopsis "Object mapper from GObjects to SQLite") | |
3686 | (description | |
3687 | "Gom provides an object mapper from GObjects to SQLite. It helps you | |
3688 | write applications that need to store structured data as well as make complex | |
3689 | queries upon that data.") | |
3690 | (license license:lgpl2.1+))) | |
b7a3cf11 | 3691 | |
865aacc9 | 3692 | (define-public libgnome-games-support |
f09520db | 3693 | (package |
865aacc9 | 3694 | (name "libgnome-games-support") |
45caa055 | 3695 | (version "1.4.2") |
f09520db SB |
3696 | (source (origin |
3697 | (method url-fetch) | |
3698 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3699 | (version-major+minor version) "/" | |
3700 | name "-" version ".tar.xz")) | |
3701 | (sha256 | |
3702 | (base32 | |
45caa055 | 3703 | "02hirpk885jndwarbl3cl5fk7w2z5ziv677csyv1wi2n6rmpn088")))) |
f09520db SB |
3704 | (build-system gnu-build-system) |
3705 | (arguments | |
3706 | '(#:phases | |
3707 | (modify-phases %standard-phases | |
3708 | (add-before 'check 'pre-check | |
3709 | (lambda _ | |
865aacc9 | 3710 | ;; Tests require a writable HOME. |
f09520db SB |
3711 | (setenv "HOME" (getcwd)) |
3712 | #t))))) | |
3713 | (native-inputs | |
3714 | `(("intltool" ,intltool) | |
3715 | ("pkg-config" ,pkg-config) | |
3716 | ("vala" ,vala))) | |
3717 | (propagated-inputs | |
865aacc9 | 3718 | ;; Required by libgnome-games-support-1.0.pc |
f09520db SB |
3719 | `(("gtk+" ,gtk+) |
3720 | ("libgee" ,libgee))) | |
3721 | (home-page "https://www.gnome.org/") | |
3722 | (synopsis "Useful functionality shared among GNOME games") | |
3723 | (description | |
865aacc9 | 3724 | "libgnome-games-support is a small library intended for internal use by |
f09520db SB |
3725 | GNOME Games, but it may be used by others.") |
3726 | (license license:lgpl3+))) | |
3727 | ||
b7a3cf11 SB |
3728 | (define-public gnome-klotski |
3729 | (package | |
3730 | (name "gnome-klotski") | |
36828576 | 3731 | (version "3.22.3") |
b7a3cf11 SB |
3732 | (source (origin |
3733 | (method url-fetch) | |
3734 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3735 | (version-major+minor version) "/" | |
3736 | name "-" version ".tar.xz")) | |
3737 | (sha256 | |
3738 | (base32 | |
36828576 | 3739 | "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f")))) |
b7a3cf11 SB |
3740 | (build-system glib-or-gtk-build-system) |
3741 | (native-inputs | |
3742 | `(("desktop-file-utils" ,desktop-file-utils) | |
3743 | ("intltool" ,intltool) | |
3744 | ("itstool" ,itstool) | |
bcb354ad SB |
3745 | ("pkg-config" ,pkg-config) |
3746 | ("xmllint" ,libxml2))) | |
b7a3cf11 SB |
3747 | (inputs |
3748 | `(("gtk+" ,gtk+) | |
f4eae76f | 3749 | ("libgnome-games-support" ,libgnome-games-support) |
b7a3cf11 SB |
3750 | ("librsvg" ,librsvg))) |
3751 | (home-page "https://wiki.gnome.org/Apps/Klotski") | |
3752 | (synopsis "Sliding block puzzles") | |
3753 | (description | |
3754 | "GNOME Klotski is a set of block sliding puzzles. The objective is to move | |
3755 | the patterned block to the area bordered by green markers. To do so, you will | |
3756 | need to slide other blocks out of the way. Complete each puzzle in as few moves | |
3757 | as possible!") | |
3758 | (license license:gpl2+))) | |
8d4791bf MW |
3759 | |
3760 | (define-public grilo | |
3761 | (package | |
3762 | (name "grilo") | |
99dd2af9 | 3763 | (version "0.3.3") |
8d4791bf MW |
3764 | (source |
3765 | (origin | |
3766 | (method url-fetch) | |
3767 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3768 | (version-major+minor version) "/" | |
3769 | name "-" version ".tar.xz")) | |
3770 | (sha256 | |
3771 | (base32 | |
99dd2af9 | 3772 | "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw")))) |
8d4791bf MW |
3773 | (build-system gnu-build-system) |
3774 | (native-inputs | |
3775 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3776 | ("intltool" ,intltool) | |
3777 | ("pkg-config" ,pkg-config) | |
3778 | ("gobject-introspection" ,gobject-introspection))) | |
3779 | (inputs | |
6d7273a0 KK |
3780 | `(("cyrus-sasl" ,cyrus-sasl) |
3781 | ("glib" ,glib) | |
8d4791bf MW |
3782 | ("gtk+" ,gtk+) |
3783 | ("libxml2" ,libxml2) | |
6d7273a0 | 3784 | ("liboauth" ,liboauth) |
8d4791bf | 3785 | ("libsoup" ,libsoup) |
e7305878 | 3786 | ("nettle" ,nettle) |
8d4791bf MW |
3787 | ("totem-pl-parser" ,totem-pl-parser))) |
3788 | (arguments | |
3789 | `(#:phases | |
3790 | (modify-phases %standard-phases | |
3791 | (add-after 'unpack 'fix-introspection-install-dir | |
3792 | (lambda* (#:key outputs #:allow-other-keys) | |
3793 | (let ((out (assoc-ref outputs "out"))) | |
3794 | (substitute* '("src/Makefile.in" | |
3795 | "libs/pls/Makefile.in" | |
3796 | "libs/net/Makefile.in") | |
3797 | (("@INTROSPECTION_GIRDIR@") | |
3798 | (string-append out "/share/gir-1.0/")) | |
3799 | (("@INTROSPECTION_TYPELIBDIR@") | |
8c52aab4 MW |
3800 | (string-append out "/lib/girepository-1.0/"))) |
3801 | #t)))))) | |
8d4791bf MW |
3802 | (native-search-paths |
3803 | (list (search-path-specification | |
3804 | (variable "GRL_PLUGIN_PATH") | |
3805 | (files (list (string-append "lib/grilo-" | |
3806 | (version-major+minor version))))))) | |
f032d0be | 3807 | (home-page "https://live.gnome.org/Grilo") |
8d4791bf MW |
3808 | (synopsis "Framework for discovering and browsing media") |
3809 | (description | |
3810 | "Grilo is a framework focused on making media discovery and browsing easy | |
3811 | for application developers.") | |
3812 | (license license:lgpl2.1+))) | |
7b212526 MW |
3813 | |
3814 | (define-public grilo-plugins | |
3815 | (package | |
3816 | (name "grilo-plugins") | |
22753632 | 3817 | (version "0.3.3") |
7b212526 MW |
3818 | (source |
3819 | (origin | |
3820 | (method url-fetch) | |
3821 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3822 | (version-major+minor version) "/" | |
3823 | name "-" version ".tar.xz")) | |
3824 | (sha256 | |
3825 | (base32 | |
22753632 | 3826 | "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy")))) |
7b212526 MW |
3827 | (build-system gnu-build-system) |
3828 | (native-inputs | |
3829 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3830 | ("intltool" ,intltool) | |
3831 | ("itstool" ,itstool) | |
3832 | ("pkg-config" ,pkg-config))) | |
3833 | (inputs | |
3834 | `(("grilo" ,grilo) | |
924ae80f | 3835 | ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la |
7b212526 MW |
3836 | ("glib" ,glib) |
3837 | ("libxml2" ,libxml2) | |
3838 | ("sqlite" ,sqlite) | |
3839 | ("gom" ,gom) | |
3840 | ;; XXX TODO: Add oauth | |
3841 | ;; XXX TODO: Add goa | |
3842 | ;; XXX TODO: Add gdata (e.g. needed for youtube plugin) | |
3843 | ;; XXX TODO: Add lua (needs help finding it) | |
3844 | ("json-glib" ,json-glib) | |
3845 | ("avahi" ,avahi) | |
3846 | ("gmime" ,gmime) | |
3847 | ("libsoup" ,libsoup) | |
3848 | ("libarchive" ,libarchive) | |
3849 | ("totem-pl-parser" ,totem-pl-parser))) | |
3850 | (arguments | |
3851 | `(#:make-flags (list (string-append "GRL_PLUGINS_DIR=" | |
3852 | %output | |
3853 | "/lib/grilo-" | |
3854 | ,(version-major+minor version))) | |
3855 | ;; XXX FIXME: Try to get the test suite working. It appears to require | |
3856 | ;; a working system dbus. Inside the build container, all tests fail | |
3857 | ;; with: "assertion failed: (source)". Outside of the build container, | |
3858 | ;; most tests succeed. | |
3859 | #:tests? #f)) | |
f032d0be | 3860 | (home-page "https://live.gnome.org/Grilo") |
7b212526 MW |
3861 | (synopsis "Plugins for the Grilo media discovery library") |
3862 | (description | |
3863 | "Grilo is a framework focused on making media discovery and browsing easy | |
3864 | for application developers.") | |
3865 | (license license:lgpl2.1+))) | |
4e3fc547 MW |
3866 | |
3867 | (define-public totem | |
3868 | (package | |
3869 | (name "totem") | |
77425f04 | 3870 | (version "3.30.0") |
4e3fc547 MW |
3871 | (source |
3872 | (origin | |
3873 | (method url-fetch) | |
3874 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3875 | (version-major+minor version) "/" | |
3876 | name "-" version ".tar.xz")) | |
3877 | (sha256 | |
3878 | (base32 | |
77425f04 | 3879 | "0rahkybxbmxhlmrrgrzxny1xm7wycx7ib4blxp1i2l1q3i8s84b0")) |
81382e3f MB |
3880 | (patches (search-patches "totem-meson-easy-codec.patch" |
3881 | "totem-meson-compat.patch")))) | |
7ad81b8b | 3882 | (build-system meson-build-system) |
4e3fc547 MW |
3883 | (native-inputs |
3884 | `(("pkg-config" ,pkg-config) | |
3885 | ("desktop-file-utils" ,desktop-file-utils) | |
3886 | ("gobject-introspection" ,gobject-introspection) | |
7ad81b8b LC |
3887 | ("glib:bin" ,glib "bin") ;for 'glib-mkenums' |
3888 | ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache' | |
4e3fc547 | 3889 | ("intltool" ,intltool) |
bcb354ad SB |
3890 | ("itstool" ,itstool) |
3891 | ("xmllint" ,libxml2))) | |
4e3fc547 MW |
3892 | (propagated-inputs |
3893 | `(("dconf" ,dconf))) | |
3894 | (inputs | |
3895 | `(("gtk+" ,gtk+) | |
3896 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3897 | ("atk" ,atk) | |
3898 | ("cairo" ,cairo) | |
3899 | ("dbus-glib" ,dbus-glib) | |
3900 | ("clutter" ,clutter) | |
3901 | ("clutter-gtk" ,clutter-gtk) | |
3902 | ("clutter-gst" ,clutter-gst) | |
6a6db57f | 3903 | ("xorgproto" ,xorgproto) |
4e3fc547 MW |
3904 | ("libxxf86vm" ,libxxf86vm) |
3905 | ("libxtst" ,libxtst) | |
3906 | ("libxrandr" ,libxrandr) | |
3907 | ("libxml2" ,libxml2) | |
3908 | ("libsoup" ,libsoup) | |
3909 | ("libpeas" ,libpeas) | |
3910 | ("librsvg" ,librsvg) | |
3911 | ("lirc" ,lirc) | |
3912 | ("gnome-desktop" ,gnome-desktop) | |
3913 | ("gstreamer" ,gstreamer) | |
3914 | ("gst-plugins-base" ,gst-plugins-base) | |
3915 | ("gst-plugins-good" ,gst-plugins-good) | |
3916 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3917 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
d7b63ba9 | 3918 | ("python" ,python) |
4e3fc547 MW |
3919 | ("python-pygobject" ,python2-pygobject) |
3920 | ;; XXX TODO pylint needed for python support | |
3921 | ("totem-pl-parser" ,totem-pl-parser) | |
3922 | ("grilo" ,grilo) | |
3923 | ("grilo-plugins" ,grilo-plugins) | |
3924 | ("nettle" ,nettle) | |
3925 | ("vala" ,vala))) | |
3926 | (arguments | |
7ad81b8b LC |
3927 | `(#:glib-or-gtk? #t |
3928 | ||
a97bfa46 AVY |
3929 | ;; Disable parallel builds until |
3930 | ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is | |
3931 | ;; fixed. Try enabling it when updating this package in case | |
3932 | ;; upstream has fixed it. | |
3933 | #:parallel-build? #f | |
3934 | ||
7ad81b8b | 3935 | ;; Disable automatic GStreamer plugin installation via PackageKit and |
ec5c24f9 | 3936 | ;; all that. |
7ad81b8b | 3937 | #:configure-flags '("-D" "enable-easy-codec-installation=no" |
a388c951 LC |
3938 | |
3939 | ;; Do not build .a files for the plugins, it's | |
3940 | ;; completely useless. This saves 2 MiB. | |
7ad81b8b | 3941 | "--default-library" "shared") |
ec5c24f9 LC |
3942 | |
3943 | #:phases | |
4e3fc547 | 3944 | (modify-phases %standard-phases |
6368eb39 DM |
3945 | (add-before |
3946 | 'install 'disable-cache-generation | |
3947 | (lambda _ | |
3948 | (setenv "DESTDIR" "/") | |
3949 | #t)) | |
4e3fc547 MW |
3950 | (add-after |
3951 | 'install 'wrap-totem | |
3952 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
3953 | (let ((out (assoc-ref outputs "out")) | |
3954 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
3955 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
3956 | (wrap-program (string-append out "/bin/totem") | |
3957 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
39c853bd AW |
3958 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))) |
3959 | (wrap-program (string-append out "/bin/totem-video-thumbnailer") | |
3960 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
4e3fc547 MW |
3961 | #t))))) |
3962 | (home-page "https://wiki.gnome.org/Apps/Videos") | |
3963 | (synopsis "Simple media player for GNOME based on GStreamer") | |
3964 | (description "Totem is a simple yet featureful media player for GNOME | |
3965 | which can read a large number of file formats.") | |
3966 | ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins | |
3967 | ;; to be used and distributed together with GStreamer and Totem. See | |
3968 | ;; file://COPYING in the source distribution for details. | |
3969 | (license license:gpl2+))) | |
f0afb0c8 DH |
3970 | |
3971 | (define-public rhythmbox | |
3972 | (package | |
3973 | (name "rhythmbox") | |
8190e1ed | 3974 | (version "3.4.3") |
f0afb0c8 DH |
3975 | (source (origin |
3976 | (method url-fetch) | |
3977 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3978 | (version-major+minor version) "/" | |
3979 | name "-" version ".tar.xz")) | |
3980 | (sha256 | |
3981 | (base32 | |
8190e1ed | 3982 | "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx")))) |
f0afb0c8 DH |
3983 | (build-system glib-or-gtk-build-system) |
3984 | (arguments | |
3985 | `(#:configure-flags | |
3986 | (list "--enable-lirc" | |
3987 | "--enable-python" | |
3988 | "--enable-vala" | |
3989 | "--with-brasero" | |
3990 | "--with-gudev" | |
3991 | "--with-libsecret") | |
3992 | #:phases | |
3993 | (modify-phases %standard-phases | |
3994 | (add-after | |
3995 | 'install 'wrap-rhythmbox | |
3996 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
3997 | (let ((out (assoc-ref outputs "out")) | |
3998 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
3999 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
349cef58 TGR |
4000 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH")) |
4001 | (python-path (getenv "PYTHONPATH"))) | |
f0afb0c8 DH |
4002 | (wrap-program (string-append out "/bin/rhythmbox") |
4003 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
4004 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
349cef58 TGR |
4005 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)) |
4006 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
f0afb0c8 DH |
4007 | #t))))) |
4008 | (propagated-inputs | |
4009 | `(("dconf" ,dconf))) | |
4010 | (native-inputs | |
bcb354ad SB |
4011 | `(("itstool" ,itstool) |
4012 | ("intltool" ,intltool) | |
f0afb0c8 DH |
4013 | ("glib" ,glib "bin") |
4014 | ("gobject-introspection" ,gobject-introspection) | |
4015 | ("desktop-file-utils" ,desktop-file-utils) | |
bcb354ad SB |
4016 | ("pkg-config" ,pkg-config) |
4017 | ("xmllint" ,libxml2))) | |
f0afb0c8 DH |
4018 | (inputs |
4019 | `(("json-glib" ,json-glib) | |
4020 | ("tdb" ,tdb) | |
4021 | ("gnome-desktop" ,gnome-desktop) | |
4022 | ("python" ,python) | |
4023 | ("python-pygobject" ,python2-pygobject) | |
4024 | ("vala" ,vala) | |
4025 | ("gmime" ,gmime) | |
4026 | ("nettle" ,nettle) | |
f0afb0c8 DH |
4027 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
4028 | ("grilo" ,grilo) | |
4029 | ("grilo-plugins" ,grilo-plugins) | |
4030 | ("gstreamer" ,gstreamer) | |
4031 | ("gst-plugins-base" ,gst-plugins-base) | |
4032 | ("gst-plugins-good" ,gst-plugins-good) | |
f0afb0c8 | 4033 | ("totem-pl-parser" ,totem-pl-parser) |
ea226291 | 4034 | ("libgudev" ,libgudev) |
f0afb0c8 DH |
4035 | ;;("libmtp" ,libmtp) FIXME: Not detected |
4036 | ("libsecret" ,libsecret) | |
4037 | ("libsoup" ,libsoup) | |
4038 | ("libnotify" ,libnotify) | |
4039 | ("libpeas" ,libpeas) | |
4040 | ("lirc" ,lirc) | |
4041 | ;; TODO: clutter* only used by visualizer plugin, which also requires mx | |
4042 | ;;("clutter" ,clutter) | |
4043 | ;;("clutter-gtk" ,clutter-gtk) | |
4044 | ;;("clutter-gst" ,clutter-gst) | |
4045 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4046 | ("atk" ,atk) | |
4047 | ("pango" ,pango) | |
4048 | ("gtk+" ,gtk+) | |
4049 | ;; TODO: | |
4050 | ;; * libgpod | |
4051 | ;; * mx | |
f0afb0c8 DH |
4052 | ("brasero" ,brasero))) |
4053 | (home-page "https://wiki.gnome.org/Apps/Rhythmbox") | |
4054 | (synopsis "Music player for GNOME") | |
4055 | (description "Rhythmbox is a music playing application for GNOME. It | |
4056 | supports playlists, song ratings, and any codecs installed through gstreamer.") | |
4057 | (license license:gpl2+))) | |
f70d8383 DH |
4058 | |
4059 | (define-public eog | |
4060 | (package | |
4061 | (name "eog") | |
ec7d4bc7 | 4062 | (version "3.28.4") |
f70d8383 DH |
4063 | (source (origin |
4064 | (method url-fetch) | |
4065 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4066 | (version-major+minor version) "/" | |
4067 | name "-" version ".tar.xz")) | |
4068 | (sha256 | |
4069 | (base32 | |
ec7d4bc7 | 4070 | "1wrq3l3z0x6q0hnc1vqr2hnyb1b14qw6aqvc5dldfgbs0yys6p55")))) |
61fb581f | 4071 | (build-system meson-build-system) |
f70d8383 | 4072 | (arguments |
34c44a34 RW |
4073 | `(#:configure-flags |
4074 | ;; Otherwise, the RUNPATH will lack the final 'eog' path component. | |
4075 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
4076 | (assoc-ref %outputs "out") "/lib/eog")) | |
4077 | #:phases | |
f70d8383 | 4078 | (modify-phases %standard-phases |
61fb581f RW |
4079 | (add-after 'install 'wrap-eog |
4080 | (lambda* (#:key outputs #:allow-other-keys) | |
4081 | (let ((out (assoc-ref outputs "out")) | |
4082 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
4083 | (wrap-program (string-append out "/bin/eog") | |
4084 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
4085 | #t))))) | |
f70d8383 DH |
4086 | (propagated-inputs |
4087 | `(("dconf" ,dconf))) | |
4088 | (native-inputs | |
4089 | `(("intltool" ,intltool) | |
b3546174 | 4090 | ("itstool" ,itstool) |
f70d8383 | 4091 | ("glib" ,glib "bin") |
61fb581f | 4092 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
f70d8383 | 4093 | ("gobject-introspection" ,gobject-introspection) |
bcb354ad SB |
4094 | ("pkg-config" ,pkg-config) |
4095 | ("xmllint" ,libxml2))) | |
f70d8383 DH |
4096 | (inputs |
4097 | `(("gnome-desktop" ,gnome-desktop) | |
4098 | ("shared-mime-info" ,shared-mime-info) | |
4099 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
4100 | ("exempi" ,exempi) | |
4101 | ("lcms" ,lcms) | |
4102 | ("libexif" ,libexif) | |
4103 | ("libpeas" ,libpeas) | |
4104 | ("libjpeg" ,libjpeg) | |
4105 | ("librsvg" ,librsvg) | |
4106 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4107 | ("gtk+" ,gtk+))) | |
4108 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome") | |
4109 | (synopsis "GNOME image viewer") | |
4110 | (description "Eye of GNOME is the GNOME image viewer. It | |
4111 | supports image conversion, rotation, and slideshows.") | |
4112 | (license license:gpl2+))) | |
41af5e7b | 4113 | |
0c3f8cb8 LC |
4114 | (define-public eog-plugins |
4115 | ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as | |
4116 | ;; $DATA/lib/eog/plugins, where DATA is one of the entries in | |
4117 | ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have | |
4118 | ;; 'XDG_DATA_DIRS' appropriately set. | |
4119 | (package | |
4120 | (name "eog-plugins") | |
5fed63dd | 4121 | (version "3.26.3") |
0c3f8cb8 LC |
4122 | (source (origin |
4123 | (method url-fetch) | |
f3b88ed2 | 4124 | (uri (string-append "mirror://gnome/sources/eog-plugins/" |
0c3f8cb8 | 4125 | (version-major+minor version) "/" |
f3b88ed2 | 4126 | "eog-plugins-" version ".tar.xz")) |
0c3f8cb8 LC |
4127 | (sha256 |
4128 | (base32 | |
5fed63dd | 4129 | "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3")))) |
0c3f8cb8 LC |
4130 | (build-system gnu-build-system) |
4131 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins") | |
4132 | (synopsis "Extensions for the Eye of GNOME image viewer") | |
4133 | (native-inputs | |
4134 | `(("pkg-config" ,pkg-config) | |
4135 | ("gettext" ,gnu-gettext))) | |
4136 | (inputs | |
4137 | `(("eog" ,eog) | |
4138 | ("glib" ,glib) | |
4139 | ("gtk+" ,gtk+) | |
4140 | ("libpeas" ,libpeas) | |
4141 | ("libexif" ,libexif) | |
4142 | ("libchamplain" ,libchamplain))) | |
4143 | (description | |
4144 | "This package provides plugins for the Eye of GNOME (EOG) image viewer, | |
4145 | notably: | |
4146 | ||
4147 | @itemize | |
4148 | @item @dfn{EXIF Display}, which displays camera (EXIF) information; | |
4149 | @item @dfn{Map}, which displays a map of where the picture was taken on the | |
4150 | side panel; | |
4151 | @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode. | |
4152 | @end itemize\n") | |
4153 | ||
4154 | ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a | |
4155 | ;; long suspicious byte stream that goes to a | |
4156 | ;; ".gresource.eog_postasa_plugin" ELF section. | |
4157 | (license license:gpl2+))) | |
4158 | ||
41af5e7b SB |
4159 | (define-public libgudev |
4160 | (package | |
4161 | (name "libgudev") | |
b78f5118 | 4162 | (version "232") |
41af5e7b SB |
4163 | (source (origin |
4164 | (method url-fetch) | |
4165 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4166 | version "/" name "-" version ".tar.xz")) | |
4167 | (sha256 | |
4168 | (base32 | |
b78f5118 | 4169 | "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f")))) |
41af5e7b | 4170 | (build-system gnu-build-system) |
b78f5118 RW |
4171 | (arguments |
4172 | '(#:configure-flags | |
4173 | ;; umockdev depends on libgudev. | |
4174 | (list "--disable-umockdev"))) | |
41af5e7b SB |
4175 | (native-inputs |
4176 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
4177 | ("gobject-introspection" ,gobject-introspection) | |
4178 | ("pkg-config" ,pkg-config))) | |
4179 | (propagated-inputs | |
4180 | `(("glib" ,glib))) ; required by gudev-1.0.pc | |
4181 | (inputs | |
4182 | `(("udev" ,eudev))) | |
4183 | (home-page "https://wiki.gnome.org/Projects/libgudev") | |
4184 | (synopsis "GObject bindings for libudev") | |
4185 | (description | |
4186 | "This library provides GObject bindings for libudev. It was originally | |
4187 | part of udev-extras, then udev, then systemd. It's now a project on its own.") | |
4188 | (license license:lgpl2.1+))) | |
3dc8828f SB |
4189 | |
4190 | (define-public gvfs | |
4191 | (package | |
4192 | (name "gvfs") | |
12fe4846 | 4193 | (version "1.40.1") |
3dc8828f SB |
4194 | (source (origin |
4195 | (method url-fetch) | |
4196 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4197 | (version-major+minor version) "/" | |
4198 | name "-" version ".tar.xz")) | |
4199 | (sha256 | |
4200 | (base32 | |
12fe4846 | 4201 | "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj")))) |
e762d943 | 4202 | (build-system meson-build-system) |
3dc8828f | 4203 | (arguments |
e762d943 RW |
4204 | '(#:glib-or-gtk? #t |
4205 | #:configure-flags | |
4206 | (list "-Dsystemduserunitdir=no" | |
4207 | "-Dtmpfilesdir=no" | |
4208 | ;; Otherwise, the RUNPATH will lack the final path component. | |
4209 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
4210 | (assoc-ref %outputs "out") "/lib/gvfs")))) | |
3dc8828f SB |
4211 | (native-inputs |
4212 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
0ab9f949 RW |
4213 | ("gettext" ,gettext-minimal) |
4214 | ("gtk-doc" ,gtk-doc) | |
3dc8828f SB |
4215 | ("pkg-config" ,pkg-config) |
4216 | ("xsltproc" ,libxslt))) | |
4217 | (inputs | |
4218 | `(("avahi" ,avahi) | |
4219 | ("docbook-xml" ,docbook-xml-4.2) | |
4220 | ("docbook-xsl" ,docbook-xsl) | |
4221 | ("dbus" ,dbus) | |
e762d943 | 4222 | ("elogind" ,elogind) |
3dc8828f | 4223 | ("fuse" ,fuse) |
24a78aa6 | 4224 | ("gcr" ,gcr) |
3dc8828f | 4225 | ("glib" ,glib) |
e762d943 | 4226 | ("gnome-online-accounts" ,gnome-online-accounts) |
3dc8828f SB |
4227 | ("libarchive" ,libarchive) |
4228 | ("libbluray" ,libbluray) | |
8852ca24 | 4229 | ("libcap" ,libcap) |
3dc8828f SB |
4230 | ("libcdio-paranoia" ,libcdio-paranoia) |
4231 | ("libgcrypt" ,libgcrypt) | |
e762d943 | 4232 | ("libgdata" ,libgdata) |
3dc8828f SB |
4233 | ("libgphoto2" ,libgphoto2) |
4234 | ("libgudev" ,libgudev) | |
0ab9f949 | 4235 | ("libimobiledevice" ,libimobiledevice) |
3dc8828f | 4236 | ("libmtp" ,libmtp) |
e762d943 | 4237 | ("libnfs" ,libnfs) |
3dc8828f SB |
4238 | ("libsecret" ,libsecret) |
4239 | ("libsmbclient" ,samba) | |
4240 | ("libsoup" ,libsoup) | |
4241 | ("libxml2" ,libxml2) | |
4242 | ("nettle" ,nettle) ; XXX: required by libarchive.pc | |
e762d943 | 4243 | ("openssh" ,openssh) |
8852ca24 | 4244 | ("polkit" ,polkit) |
3dc8828f SB |
4245 | ("udisks" ,udisks))) |
4246 | (home-page "https://wiki.gnome.org/gvfs/") | |
8f65585b | 4247 | (synopsis "Userspace virtual file system for GIO") |
3dc8828f | 4248 | (description |
8f65585b | 4249 | "GVFS is a userspace virtual file system designed to work with the I/O |
3dc8828f SB |
4250 | abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support |
4251 | to all applications using the GIO API. It also supports exposing the GVFS | |
4252 | mounts to non-GIO applications using FUSE. | |
4253 | ||
4254 | GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP, | |
4255 | DAV, and others.") | |
4256 | (license license:lgpl2.0+))) | |
7c88b6bd AW |
4257 | |
4258 | (define-public gusb | |
4259 | (package | |
4260 | (name "gusb") | |
536b3274 | 4261 | (version "0.3.0") |
7c88b6bd AW |
4262 | (source (origin |
4263 | (method url-fetch) | |
4264 | (uri (string-append "https://github.com/hughsie/libgusb/archive/" | |
536b3274 | 4265 | version ".tar.gz")) |
7c88b6bd AW |
4266 | (sha256 |
4267 | (base32 | |
536b3274 MB |
4268 | "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk")))) |
4269 | (build-system meson-build-system) | |
7c88b6bd | 4270 | (native-inputs |
536b3274 | 4271 | `(("gobject-introspection" ,gobject-introspection) |
7c88b6bd AW |
4272 | ("pkg-config" ,pkg-config) |
4273 | ("vala" ,vala) | |
7c88b6bd AW |
4274 | ("gtk-doc" ,gtk-doc))) |
4275 | (propagated-inputs | |
4276 | ;; Both of these are required by gusb.pc. | |
4277 | `(("glib" ,glib) | |
4278 | ("libusb" ,libusb))) | |
4279 | (arguments | |
536b3274 | 4280 | `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is. |
8f1640ed | 4281 | (home-page "https://github.com/hughsie/libgusb") |
a124bbd2 | 4282 | (synopsis "GLib binding for libusb1") |
7c88b6bd AW |
4283 | (description |
4284 | "GUsb is a GObject wrapper for libusb1 that makes it easy to do | |
4285 | asynchronous control, bulk and interrupt transfers with proper cancellation | |
4286 | and integration into a mainloop. This makes it easy to integrate low level | |
4287 | USB transfers with your high-level application or system daemon.") | |
4288 | (license license:lgpl2.1+))) | |
0abe1d86 AW |
4289 | |
4290 | (define-public simple-scan | |
4291 | (package | |
4292 | (name "simple-scan") | |
baca5333 | 4293 | (version "3.24.1") |
0abe1d86 AW |
4294 | (source (origin |
4295 | (method url-fetch) | |
4296 | (uri (string-append "https://launchpad.net/simple-scan/" | |
4297 | (version-major+minor version) "/" | |
4298 | version "/+download/simple-scan-" | |
4299 | version ".tar.xz")) | |
4300 | (sha256 | |
4301 | (base32 | |
baca5333 | 4302 | "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy")))) |
0abe1d86 AW |
4303 | (build-system glib-or-gtk-build-system) |
4304 | (inputs | |
4305 | `(("gtk" ,gtk+) | |
4306 | ("zlib" ,zlib) | |
4307 | ("cairo" ,cairo) | |
4308 | ("gdk-pixbuf" ,gdk-pixbuf) | |
4309 | ("gusb" ,gusb) | |
4c928743 | 4310 | ("libsane" ,sane-backends))) |
0abe1d86 | 4311 | (native-inputs |
b94a6ca0 | 4312 | `(("gettext" ,gettext-minimal) |
0abe1d86 AW |
4313 | ("itstool" ,itstool) |
4314 | ("colord" ,colord) | |
4315 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. | |
4316 | ("pkg-config" ,pkg-config) | |
bcb354ad SB |
4317 | ("vala" ,vala) |
4318 | ("xmllint" ,libxml2))) | |
fb9ca511 TGR |
4319 | (arguments |
4320 | '(#:configure-flags '("--disable-packagekit") | |
4321 | #:phases | |
4322 | (modify-phases %standard-phases | |
4323 | (add-after 'unpack 'clean | |
4324 | (lambda _ | |
4325 | ;; Remove a left-over reference to PackageKit. | |
4326 | ||
4327 | ;; https://bugs.launchpad.net/simple-scan/+bug/1462769 | |
4328 | ||
4329 | ;; There are some generated C files erroneously | |
4330 | ;; included in the source distribution, and this | |
4331 | ;; one breaks the build by referring to a | |
4332 | ;; non-existent header (packagekit.h) | |
4333 | (delete-file "src/ui.c")))))) | |
0abe1d86 AW |
4334 | (home-page "https://launchpad.net/simple-scan") |
4335 | (synopsis "Document and image scanner") | |
4336 | (description "Simple Scan is an easy-to-use application, designed to let | |
4337 | users connect their scanner and quickly have the image/document in an | |
4338 | appropriate format. Simple Scan is basically a frontend for SANE - which is | |
4339 | the same backend as XSANE uses. This means that all existing scanners will | |
4340 | work and the interface is well tested.") | |
4341 | (license license:gpl3+))) | |
7549f984 | 4342 | |
ab466d79 RW |
4343 | (define-public eolie |
4344 | (package | |
4345 | (name "eolie") | |
1d7cf144 | 4346 | (version "0.9.62") |
ab466d79 RW |
4347 | (source (origin |
4348 | (method url-fetch) | |
00014781 | 4349 | (uri (string-append "https://gitlab.gnome.org/World/eolie/" |
1d7cf144 | 4350 | "uploads/bb4aad19272cc636bd17f2f6602127fe/" |
00014781 | 4351 | "eolie-" version ".tar.xz")) |
ab466d79 RW |
4352 | (sha256 |
4353 | (base32 | |
1d7cf144 | 4354 | "06v76hg87fnhw45dil5vvl20myvaa38n1jqsl0lmkkq6af4mk8wx")))) |
00014781 | 4355 | (build-system meson-build-system) |
ab466d79 | 4356 | (arguments |
00014781 RW |
4357 | `(#:glib-or-gtk? #t |
4358 | #:phases | |
ab466d79 RW |
4359 | (modify-phases %standard-phases |
4360 | (add-after 'wrap 'wrap-more | |
4361 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4362 | (let* ((out (assoc-ref outputs "out")) | |
4363 | ;; These libraries must be on LD_LIBRARY_PATH. | |
4364 | (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret" | |
4365 | "atk" "gtk+" "gsettings-desktop-schemas" | |
4366 | "gobject-introspection")) | |
4367 | (path (string-join | |
4368 | (map (lambda (lib) | |
4369 | (string-append (assoc-ref inputs lib) "/lib")) | |
4370 | libs) | |
4371 | ":"))) | |
4372 | (wrap-program (string-append out "/bin/eolie") | |
4373 | `("LD_LIBRARY_PATH" ":" prefix (,path)) | |
4374 | `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))) | |
4375 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))) | |
4376 | #t))))) | |
4377 | (native-inputs | |
f85ca6ed | 4378 | `(("intltool" ,intltool) |
ab466d79 | 4379 | ("itstool" ,itstool) |
d95f1041 | 4380 | ("pkg-config" ,pkg-config) |
d95f1041 | 4381 | ("python" ,python) |
00014781 | 4382 | ("glib:bin" ,glib "bin") |
d95f1041 | 4383 | ("gtk+" ,gtk+ "bin"))) |
ab466d79 RW |
4384 | (inputs |
4385 | `(("gobject-introspection" ,gobject-introspection) | |
4386 | ("glib-networking" ,glib-networking) | |
4387 | ("cairo" ,cairo) | |
4388 | ("gtk+" ,gtk+) | |
4389 | ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH | |
4390 | ("python" ,python-wrapper) | |
d72f76df | 4391 | ("python-dateutil" ,python-dateutil) |
00014781 | 4392 | ("python-pyfxa" ,python-pyfxa) |
ab466d79 RW |
4393 | ("python-pygobject" ,python-pygobject) |
4394 | ("python-pycairo" ,python-pycairo) | |
00014781 | 4395 | ("python-pycrypto" ,python-pycrypto) |
ab466d79 RW |
4396 | ("libsecret" ,libsecret) |
4397 | ("gtkspell3" ,gtkspell3) | |
4398 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
f85ca6ed | 4399 | ("webkitgtk" ,webkitgtk))) |
166b2c97 | 4400 | (home-page "https://wiki.gnome.org/Apps/Eolie") |
ab466d79 RW |
4401 | (synopsis "Web browser for GNOME") |
4402 | (description | |
4403 | "Eolie is a new web browser for GNOME. It features Firefox sync support, | |
4404 | a secret password store, an adblocker, and a modern UI.") | |
4405 | (license license:gpl3+))) | |
4406 | ||
7549f984 SB |
4407 | (define-public epiphany |
4408 | (package | |
4409 | (name "epiphany") | |
f37dfe1e | 4410 | (version "3.30.4") |
7549f984 SB |
4411 | (source (origin |
4412 | (method url-fetch) | |
dd3266ec | 4413 | (uri (string-append "mirror://gnome/sources/epiphany/" |
7549f984 | 4414 | (version-major+minor version) "/" |
dd3266ec | 4415 | "epiphany-" version ".tar.xz")) |
7549f984 SB |
4416 | (sha256 |
4417 | (base32 | |
f37dfe1e | 4418 | "0nk0krzrfck6hhfs52f4sjmj93yjyvabm72bq8i8f9l1pass5vgd")))) |
fc5c5b92 R |
4419 | |
4420 | (build-system meson-build-system) | |
7549f984 SB |
4421 | (arguments |
4422 | ;; FIXME: tests run under Xvfb, but fail with: | |
4423 | ;; /src/bookmarks/ephy-bookmarks/create: | |
4424 | ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf | |
4425 | ;; subsystem | |
4426 | ;; FAIL | |
6f48d9db | 4427 | '(#:tests? #f |
e19f9c24 LF |
4428 | #:glib-or-gtk? #t |
4429 | #:configure-flags | |
4430 | ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component. | |
4431 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
4432 | (assoc-ref %outputs "out") "/lib/epiphany")))) | |
80a747c4 SB |
4433 | (propagated-inputs |
4434 | `(("dconf" ,dconf))) | |
7549f984 | 4435 | (native-inputs |
fc5c5b92 R |
4436 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
4437 | ("glib:bin" ,glib "bin") ; for glib-mkenums | |
4438 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
4439 | ("intltool" ,intltool) | |
7549f984 | 4440 | ("itstool" ,itstool) |
bcb354ad SB |
4441 | ("pkg-config" ,pkg-config) |
4442 | ("xmllint" ,libxml2))) | |
7549f984 SB |
4443 | (inputs |
4444 | `(("avahi" ,avahi) | |
4445 | ("gcr" ,gcr) | |
fc5c5b92 | 4446 | ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files |
7549f984 SB |
4447 | ("glib-networking" ,glib-networking) |
4448 | ("gnome-desktop" ,gnome-desktop) | |
4449 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
eb6f315b | 4450 | ("json-glib" ,json-glib) |
7549f984 | 4451 | ("iso-codes" ,iso-codes) |
8748e29c | 4452 | ("libdazzle" ,libdazzle) |
7549f984 SB |
4453 | ("libnotify" ,libnotify) |
4454 | ("libsecret" ,libsecret) | |
7549f984 | 4455 | ("libxslt" ,libxslt) |
fc5c5b92 | 4456 | ("nettle" ,nettle) ; for hogweed |
7549f984 | 4457 | ("sqlite" ,sqlite) |
f85ca6ed | 4458 | ("webkitgtk" ,webkitgtk))) |
7549f984 SB |
4459 | (home-page "https://wiki.gnome.org/Apps/Web") |
4460 | (synopsis "GNOME web browser") | |
4461 | (description | |
4462 | "Epiphany is a GNOME web browser targeted at non-technical users. Its | |
4463 | principles are simplicity and standards compliance.") | |
4464 | (license license:gpl2+))) | |
a3856b2c SB |
4465 | |
4466 | (define-public d-feet | |
4467 | (package | |
4468 | (name "d-feet") | |
458e9221 | 4469 | (version "0.3.14") |
a3856b2c SB |
4470 | (source (origin |
4471 | (method url-fetch) | |
4472 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4473 | (version-major+minor version) "/" | |
4474 | name "-" version ".tar.xz")) | |
4475 | (sha256 | |
4476 | (base32 | |
458e9221 | 4477 | "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f")))) |
a3856b2c SB |
4478 | (build-system glib-or-gtk-build-system) |
4479 | (arguments | |
4480 | '(#:out-of-source? #f ; tests need to run in the source directory. | |
4481 | #:phases | |
4482 | (modify-phases %standard-phases | |
4483 | (add-before | |
4484 | 'check 'pre-check | |
86aff791 | 4485 | (lambda _ |
a3856b2c SB |
4486 | ;; The test suite requires a running X server. |
4487 | (system "Xvfb :1 &") | |
4488 | (setenv "DISPLAY" ":1") | |
4489 | ;; Don't fail on missing '/etc/machine-id'. | |
4490 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
4491 | ;; tests.py and window.py don't meet E402: | |
4492 | ;; E402 module level import not at top of file | |
4493 | (substitute* "src/tests/Makefile" | |
86aff791 MW |
4494 | (("--ignore=E123") "--ignore=E123,E402")) |
4495 | #t)) | |
a3856b2c SB |
4496 | (add-after |
4497 | 'install 'wrap-program | |
4498 | (lambda* (#:key outputs #:allow-other-keys) | |
4499 | (let ((prog (string-append (assoc-ref outputs "out") | |
4500 | "/bin/d-feet"))) | |
4501 | (wrap-program prog | |
4502 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
86aff791 MW |
4503 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) |
4504 | #t)))))) | |
a3856b2c SB |
4505 | (native-inputs |
4506 | `(("intltool" ,intltool) | |
4507 | ("itstool" ,itstool) | |
4508 | ("pkg-config" ,pkg-config) | |
4509 | ("python-pep8" ,python-pep8) | |
4510 | ("xmllint" ,libxml2) | |
4511 | ("xorg-server" ,xorg-server))) | |
4512 | (inputs | |
4513 | `(("gobject-introspection" ,gobject-introspection) | |
4514 | ("gtk+" ,gtk+) | |
4515 | ("python" ,python-wrapper) | |
458e9221 | 4516 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
a3856b2c SB |
4517 | ("python-pygobject" ,python-pygobject))) |
4518 | (home-page "https://wiki.gnome.org/Apps/DFeet") | |
4519 | (synopsis "D-Bus debugger") | |
4520 | (description | |
4521 | "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces | |
4522 | of running programs and invoke methods on those interfaces.") | |
4523 | (license license:gpl2+))) | |
c3b97bd9 SB |
4524 | |
4525 | (define-public yelp-xsl | |
4526 | (package | |
4527 | (name "yelp-xsl") | |
b3640e79 | 4528 | (version "3.32.1") |
c3b97bd9 SB |
4529 | (source (origin |
4530 | (method url-fetch) | |
4531 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4532 | (version-major+minor version) "/" | |
4533 | name "-" version ".tar.xz")) | |
4534 | (sha256 | |
4535 | (base32 | |
b3640e79 | 4536 | "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya")))) |
c3b97bd9 SB |
4537 | (build-system gnu-build-system) |
4538 | (native-inputs | |
4539 | `(("intltool" ,intltool) | |
4540 | ("itstool" ,itstool) | |
4541 | ("xmllint" ,libxml2))) | |
4542 | (home-page "https://wiki.gnome.org/Apps/Yelp") | |
4543 | (synopsis "XSL stylesheets for Yelp") | |
4544 | (description | |
4545 | "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser | |
4546 | to format Docbook and Mallard documents.") | |
4547 | (license license:gpl2+))) | |
de3d612a SB |
4548 | |
4549 | (define-public yelp | |
4550 | (package | |
4551 | (name "yelp") | |
9d029b7f | 4552 | (version "3.30.0") |
de3d612a SB |
4553 | (source (origin |
4554 | (method url-fetch) | |
4555 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4556 | (version-major+minor version) "/" | |
4557 | name "-" version ".tar.xz")) | |
4558 | (sha256 | |
4559 | (base32 | |
9d029b7f | 4560 | "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4")))) |
de3d612a SB |
4561 | (build-system glib-or-gtk-build-system) |
4562 | (native-inputs | |
4563 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
4564 | ("intltool" ,intltool) | |
4565 | ("itstool" ,itstool) | |
4566 | ("pkg-config" ,pkg-config))) | |
4567 | (propagated-inputs | |
4568 | `(("dconf" ,dconf))) | |
4569 | (inputs | |
ad1b7d8b SB |
4570 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
4571 | ("libxslt" ,libxslt) | |
de3d612a | 4572 | ("sqlite" ,sqlite) |
4c28ca1d SB |
4573 | ("webkitgtk" ,webkitgtk) |
4574 | ("yelp-xsl" ,yelp-xsl))) | |
de3d612a SB |
4575 | (home-page "https://wiki.gnome.org/Apps/Yelp") |
4576 | (synopsis "GNOME help browser") | |
4577 | (description | |
4578 | "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook, | |
4579 | man, info, and HTML documents. It can locate documents according to the | |
4580 | freedesktop.org help system specification.") | |
4581 | (license license:gpl2+))) | |
122d0d10 SB |
4582 | |
4583 | (define-public yelp-tools | |
4584 | (package | |
4585 | (name "yelp-tools") | |
2089bca5 | 4586 | (version "3.28.0") |
122d0d10 SB |
4587 | (source (origin |
4588 | (method url-fetch) | |
4589 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4590 | (version-major+minor version) "/" | |
4591 | name "-" version ".tar.xz")) | |
4592 | (sha256 | |
4593 | (base32 | |
2089bca5 | 4594 | "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2")))) |
122d0d10 SB |
4595 | (build-system gnu-build-system) |
4596 | (native-inputs | |
4597 | `(("pkg-config" ,pkg-config))) | |
4598 | (propagated-inputs | |
4599 | ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'. | |
4600 | `(("itstool" ,itstool) | |
4601 | ("xmllint" ,libxml2) | |
4602 | ("xsltproc" ,libxslt))) | |
4603 | (inputs | |
4604 | `(("yelp-xsl" ,yelp-xsl))) | |
4605 | (home-page "https://wiki.gnome.org/Apps/Yelp/Tools") | |
4606 | (synopsis "Yelp documentation tools") | |
4607 | (description | |
4608 | "Yelp-tools is a collection of scripts and build utilities to help create, | |
4609 | manage, and publish documentation for Yelp and the web. Most of the heavy | |
4610 | lifting is done by packages like yelp-xsl and itstool. This package just | |
4611 | wraps things up in a developer-friendly way.") | |
4612 | (license license:gpl2+))) | |
af8f9f23 RW |
4613 | |
4614 | (define-public libgee | |
4615 | (package | |
4616 | (name "libgee") | |
b1be07cf | 4617 | (version "0.20.1") |
af8f9f23 RW |
4618 | (source (origin |
4619 | (method url-fetch) | |
4620 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4621 | (version-major+minor version) "/" | |
4622 | name "-" version ".tar.xz")) | |
4623 | (sha256 | |
4624 | (base32 | |
b1be07cf | 4625 | "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v")))) |
af8f9f23 RW |
4626 | (build-system gnu-build-system) |
4627 | (arguments | |
4628 | `(#:phases | |
4629 | (modify-phases %standard-phases | |
4630 | (add-after 'unpack 'fix-introspection-install-dir | |
4631 | (lambda* (#:key outputs #:allow-other-keys) | |
4632 | (let ((out (assoc-ref outputs "out"))) | |
4633 | (substitute* "gee/Makefile.in" | |
4634 | (("@INTROSPECTION_GIRDIR@") | |
4635 | (string-append out "/share/gir-1.0/")) | |
4636 | (("@INTROSPECTION_TYPELIBDIR@") | |
4637 | (string-append out "/lib/girepository-1.0/"))))))))) | |
4638 | (native-inputs | |
4639 | `(("glib" ,glib "bin") | |
4640 | ("pkg-config" ,pkg-config))) | |
4641 | (inputs | |
4642 | `(("glib" ,glib) | |
4643 | ("gobject-introspection" ,gobject-introspection))) | |
4644 | (home-page "https://wiki.gnome.org/Projects/Libgee") | |
4645 | (synopsis "GObject collection library") | |
4646 | (description | |
4647 | "Libgee is a utility library providing GObject-based interfaces and | |
4648 | classes for commonly used data structures.") | |
4649 | (license license:lgpl2.1+))) | |
b0f9c4b8 RW |
4650 | |
4651 | (define-public gexiv2 | |
4652 | (package | |
4653 | (name "gexiv2") | |
adf0b482 | 4654 | (version "0.10.10") |
b0f9c4b8 RW |
4655 | (source (origin |
4656 | (method url-fetch) | |
4657 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4658 | (version-major+minor version) "/" | |
4659 | name "-" version ".tar.xz")) | |
4660 | (sha256 | |
4661 | (base32 | |
adf0b482 | 4662 | "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx")))) |
51c482e4 | 4663 | (build-system meson-build-system) |
b0f9c4b8 RW |
4664 | (native-inputs |
4665 | `(("glib" ,glib "bin") | |
4666 | ("pkg-config" ,pkg-config))) | |
4667 | (propagated-inputs | |
4668 | ;; Listed in "Requires" section of gexiv2.pc | |
4669 | `(("exiv2" ,exiv2))) | |
4670 | (inputs | |
4671 | `(("glib" ,glib) | |
4672 | ("gobject-introspection" ,gobject-introspection))) | |
4673 | (home-page "https://wiki.gnome.org/Projects/gexiv2") | |
4674 | (synopsis "GObject wrapper around the Exiv2 photo metadata library") | |
4675 | (description | |
4676 | "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It | |
4677 | allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP | |
4678 | metadata in photo and video files of various formats.") | |
4679 | (license license:gpl2+))) | |
fed5a689 RW |
4680 | |
4681 | (define-public shotwell | |
4682 | (package | |
4683 | (name "shotwell") | |
e266043e | 4684 | (version "0.28.4") |
fed5a689 RW |
4685 | (source (origin |
4686 | (method url-fetch) | |
4687 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4688 | (version-major+minor version) "/" | |
4689 | name "-" version ".tar.xz")) | |
4690 | (sha256 | |
4691 | (base32 | |
e266043e | 4692 | "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9")))) |
fed5a689 | 4693 | (build-system glib-or-gtk-build-system) |
735b8db6 TGR |
4694 | (propagated-inputs |
4695 | `(("dconf" ,dconf))) | |
fed5a689 RW |
4696 | (native-inputs |
4697 | `(("pkg-config" ,pkg-config) | |
f819c21d | 4698 | ("itstool" ,itstool) |
b94a6ca0 | 4699 | ("gettext" ,gettext-minimal) |
77e9c993 | 4700 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
735b8db6 TGR |
4701 | ("itstool" ,itstool) |
4702 | ("vala" ,vala))) | |
fed5a689 | 4703 | (inputs |
735b8db6 TGR |
4704 | `(("glib:bin" ,glib "bin") |
4705 | ("gstreamer" ,gstreamer) | |
fed5a689 | 4706 | ("gst-plugins-base" ,gst-plugins-base) |
dfb0323d | 4707 | ("libgdata" ,libgdata) |
fed5a689 RW |
4708 | ("libgee" ,libgee) |
4709 | ("gexiv2" ,gexiv2) | |
4710 | ("libraw" ,libraw) | |
4711 | ("json-glib" ,json-glib) | |
7108425c | 4712 | ("webkitgtk" ,webkitgtk) |
fed5a689 RW |
4713 | ("sqlite" ,sqlite) |
4714 | ("libsoup" ,libsoup) | |
4715 | ("libxml2" ,libxml2) | |
fed5a689 | 4716 | ("libgudev" ,libgudev) |
522fc32e LF |
4717 | ("libgphoto2" ,libgphoto2) |
4718 | ("gcr" ,gcr))) | |
fed5a689 RW |
4719 | (home-page "https://wiki.gnome.org/Apps/Shotwell") |
4720 | (synopsis "Photo manager for GNOME 3") | |
4721 | (description | |
4722 | "Shotwell is a digital photo manager designed for the GNOME desktop | |
4723 | environment. It allows you to import photos from disk or camera, organize | |
4724 | them by keywords and events, view them in full-window or fullscreen mode, and | |
4725 | share them with others via social networking and more.") | |
4726 | (license license:lgpl2.1+))) | |
293ff8b2 DT |
4727 | |
4728 | (define-public file-roller | |
4729 | (package | |
4730 | (name "file-roller") | |
976e7801 | 4731 | (version "3.30.1") |
293ff8b2 DT |
4732 | (source (origin |
4733 | (method url-fetch) | |
4734 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4735 | (version-major+minor version) "/" | |
4736 | name "-" version ".tar.xz")) | |
4737 | (sha256 | |
4738 | (base32 | |
976e7801 | 4739 | "0kiragsqyixyx15747b71qc4nw8y4jx9d55wgg612xb0hp5l9pj1")))) |
0a500745 | 4740 | (build-system meson-build-system) |
293ff8b2 | 4741 | (native-inputs |
0a500745 RW |
4742 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
4743 | ("intltool" ,intltool) | |
4744 | ("pkg-config" ,pkg-config) | |
4745 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache | |
4746 | ("glib:bin" ,glib "bin"))) | |
293ff8b2 DT |
4747 | ;; TODO: Add libnautilus. |
4748 | (inputs | |
4749 | `(("gtk+" ,gtk+) | |
4750 | ("gdk-pixbuf" ,gdk-pixbuf) | |
4751 | ("json-glib" ,json-glib) | |
4752 | ("libarchive" ,libarchive) | |
4753 | ("libnotify" ,libnotify) | |
4754 | ("nettle" ,nettle) | |
4755 | ("itstool" ,itstool) | |
4756 | ("libxml2" ,libxml2))) | |
4757 | (synopsis "Graphical archive manager for GNOME") | |
4758 | (description "File Roller is an archive manager for the GNOME desktop | |
4759 | environment that allows users to view, unpack, and create compressed archives | |
4760 | such as gzip tarballs.") | |
4761 | (home-page "http://fileroller.sourceforge.net/") | |
4762 | (license license:gpl2+))) | |
7ce49365 SB |
4763 | |
4764 | (define-public gnome-session | |
4765 | (package | |
4766 | (name "gnome-session") | |
da886d6f | 4767 | (version "3.30.1") |
7ce49365 SB |
4768 | (source (origin |
4769 | (method url-fetch) | |
4770 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4771 | (version-major+minor version) "/" | |
4772 | name "-" version ".tar.xz")) | |
4773 | (sha256 | |
4774 | (base32 | |
da886d6f | 4775 | "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa")))) |
2914af3c | 4776 | (arguments |
df278071 RW |
4777 | '(#:glib-or-gtk? #t |
4778 | #:phases | |
2914af3c AW |
4779 | (modify-phases %standard-phases |
4780 | (add-before 'configure 'pre-configure | |
4781 | (lambda* (#:key outputs #:allow-other-keys) | |
4782 | ;; Use elogind instead of systemd. | |
df278071 RW |
4783 | (substitute* "meson.build" |
4784 | (("libsystemd-login") "libelogind") | |
4785 | (("and libsystemd_daemon_dep.found.*") ",")) | |
2914af3c AW |
4786 | (substitute* "gnome-session/gsm-systemd.c" |
4787 | (("#include <systemd/sd-login.h>") | |
4788 | "#include <elogind/sd-login.h>")) | |
df278071 | 4789 | ;; Remove uses of the systemd daemon. |
803ab416 SB |
4790 | (substitute* "gnome-session/gsm-autostart-app.c" |
4791 | (("#ifdef HAVE_SYSTEMD") "#if 0")) | |
a0d7baaf LC |
4792 | #t)) |
4793 | (add-after 'install 'wrap-gnome-session | |
4794 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4795 | ;; Make sure 'gnome-session' finds the 'gsettings' program. | |
4796 | (let ((glib (assoc-ref inputs "glib:bin")) | |
4797 | (out (assoc-ref outputs "out"))) | |
4798 | (wrap-program (string-append out "/bin/gnome-session") | |
4799 | `("PATH" ":" prefix (,(string-append glib "/bin")))) | |
1d7bff4b TS |
4800 | #t))) |
4801 | (add-after 'install 'add-absolute-paths-to-desktop-files | |
4802 | (lambda* (#:key outputs #:allow-other-keys) | |
4803 | (let* ((out (assoc-ref outputs "out"))) | |
4804 | (substitute* (map (lambda (x) | |
4805 | (string-append out "/share/xsessions/" x)) | |
4806 | '("gnome.desktop" "gnome-xorg.desktop")) | |
4807 | (("gnome-session") (string-append out "/bin/gnome-session"))) | |
a0d7baaf | 4808 | #t)))) |
6cbc8d57 | 4809 | |
2914af3c | 4810 | #:configure-flags |
df278071 RW |
4811 | '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error |
4812 | "-Dman=false" ; FIXME: disabled because of docbook validation error | |
4813 | "-Dsystemd_journal=false"))) | |
4814 | (build-system meson-build-system) | |
7ce49365 SB |
4815 | (native-inputs |
4816 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4817 | ("pkg-config" ,pkg-config) | |
4818 | ("intltool" ,intltool) | |
df278071 RW |
4819 | ("xsltproc" ,libxslt) |
4820 | ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' | |
4821 | ("docbook-xsl" ,docbook-xsl) | |
4822 | ("docbook-xml" ,docbook-xml) | |
4823 | ("xmlto" ,xmlto))) | |
7ce49365 | 4824 | (inputs |
2914af3c AW |
4825 | `(("elogind" ,elogind) |
4826 | ("gnome-desktop" ,gnome-desktop) | |
ba3cb5ab | 4827 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
7ce49365 SB |
4828 | ("gtk+" ,gtk+) |
4829 | ("json-glib" ,json-glib) | |
4830 | ("libsm" ,libsm) | |
4831 | ("libxcomposite" ,libxcomposite) | |
4832 | ("libxtst" ,libxtst) | |
4833 | ("mesa" ,mesa) | |
4834 | ("upower" ,upower) | |
4835 | ("xtrans" ,xtrans))) | |
4836 | (synopsis "Session manager for GNOME") | |
4837 | (description | |
4838 | "This package contains the GNOME session manager, as well as a | |
4839 | configuration program to choose applications starting on login.") | |
4840 | (home-page "https://wiki.gnome.org/Projects/SessionManagement") | |
4841 | (license license:gpl2+))) | |
f47ba77e SB |
4842 | |
4843 | (define-public gjs | |
4844 | (package | |
4845 | (name "gjs") | |
d054fbf5 | 4846 | (version "1.56.2") |
f47ba77e SB |
4847 | (source (origin |
4848 | (method url-fetch) | |
4849 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4850 | (version-major+minor version) "/" | |
4851 | name "-" version ".tar.xz")) | |
4852 | (sha256 | |
4853 | (base32 | |
d054fbf5 | 4854 | "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac")))) |
f47ba77e SB |
4855 | (build-system gnu-build-system) |
4856 | (arguments | |
4857 | '(#:phases | |
4858 | (modify-phases %standard-phases | |
4859 | (add-before | |
4860 | 'check 'pre-check | |
4861 | (lambda _ | |
fc119619 MW |
4862 | ;; The test suite requires a running X server. |
4863 | (system "Xvfb :1 &") | |
4864 | (setenv "DISPLAY" ":1") | |
4865 | ||
f47ba77e SB |
4866 | ;; For the missing /etc/machine-id. |
4867 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
ba666b07 | 4868 | |
144f94d0 KK |
4869 | ;; Our mozjs-38 package does not compile the required Intl API |
4870 | ;; support for these failing tests. | |
4871 | (substitute* "installed-tests/js/testLocale.js" | |
4872 | ((".*toBeDefined.*") "") | |
4873 | ((".*expect\\(datestr\\).*") "")) | |
d054fbf5 KK |
4874 | (substitute* "installed-tests/scripts/testCommandLine.sh" |
4875 | (("Valentín") "") | |
4876 | (("☭") "")) | |
f47ba77e SB |
4877 | #t))))) |
4878 | (native-inputs | |
8a831c6f | 4879 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources |
f47ba77e SB |
4880 | ("pkg-config" ,pkg-config) |
4881 | ("xmllint" ,libxml2) | |
4882 | ;; For testing | |
4883 | ("dbus-launch" ,dbus) | |
4884 | ("uuidgen" ,util-linux) | |
ebebee94 | 4885 | ("xvfb" ,xorg-server-for-tests))) |
f47ba77e SB |
4886 | (propagated-inputs |
4887 | ;; These are all in the Requires.private field of gjs-1.0.pc. | |
144f94d0 KK |
4888 | `(("cairo" ,cairo) |
4889 | ("gobject-introspection" ,gobject-introspection) | |
d054fbf5 | 4890 | ("mozjs" ,mozjs-60))) |
f47ba77e SB |
4891 | (inputs |
4892 | `(("gtk+" ,gtk+) | |
4893 | ("readline" ,readline))) | |
4894 | (synopsis "Javascript bindings for GNOME") | |
f032d0be | 4895 | (home-page "https://live.gnome.org/Gjs") |
f47ba77e SB |
4896 | (description |
4897 | "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey | |
4898 | javascript engine and the GObject introspection framework.") | |
4899 | (license license:gpl2+))) | |
329d731b DH |
4900 | |
4901 | (define-public gedit | |
4902 | (package | |
4903 | (name "gedit") | |
42f95e34 | 4904 | (version "3.30.2") |
329d731b DH |
4905 | (source (origin |
4906 | (method url-fetch) | |
4907 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4908 | (version-major+minor version) "/" | |
4909 | name "-" version ".tar.xz")) | |
4910 | (sha256 | |
4911 | (base32 | |
42f95e34 | 4912 | "0qwig35hzvjaqic9x92jcpmycnvcybsbnbiw6rppryx0arwb3wza")))) |
329d731b DH |
4913 | (build-system glib-or-gtk-build-system) |
4914 | (arguments | |
0d2df50c | 4915 | `(#:phases |
329d731b DH |
4916 | (modify-phases %standard-phases |
4917 | (add-after | |
4918 | 'install 'wrap-gedit | |
4919 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4920 | (let ((out (assoc-ref outputs "out")) | |
4921 | (gtksourceview (assoc-ref inputs "gtksourceview")) | |
afc25242 SB |
4922 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) |
4923 | (python-path (getenv "PYTHONPATH"))) | |
329d731b | 4924 | (wrap-program (string-append out "/bin/gedit") |
afc25242 | 4925 | ;; For plugins. |
329d731b | 4926 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) |
afc25242 | 4927 | `("PYTHONPATH" ":" prefix (,python-path)) |
329d731b DH |
4928 | ;; For language-specs. |
4929 | `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview | |
4930 | "/share"))))) | |
4931 | #t))))) | |
4932 | (propagated-inputs | |
4933 | `(("dconf" ,dconf))) | |
4934 | (native-inputs | |
4935 | `(("intltool" ,intltool) | |
b3546174 | 4936 | ("itstool" ,itstool) |
329d731b DH |
4937 | ("gobject-introspection" ,gobject-introspection) |
4938 | ("pkg-config" ,pkg-config))) | |
4939 | (inputs | |
4940 | `(("glib" ,glib) | |
0d2df50c | 4941 | ("gspell" ,gspell) |
329d731b | 4942 | ("gtk+" ,gtk+) |
b54c2289 | 4943 | ("gtksourceview" ,gtksourceview-3) |
329d731b DH |
4944 | ("libpeas" ,libpeas) |
4945 | ("libxml2" ,libxml2) | |
329d731b DH |
4946 | ("iso-codes" ,iso-codes) |
4947 | ("python-pygobject" ,python-pygobject) | |
4948 | ("python" ,python) | |
4949 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4950 | ("libx11" ,libx11) | |
4951 | ("vala" ,vala) | |
4952 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
4953 | ("libsoup" ,libsoup) | |
4954 | ("gnome-desktop" ,gnome-desktop))) | |
4955 | (home-page "https://wiki.gnome.org/Apps/Gedit") | |
4956 | (synopsis "GNOME text editor") | |
4957 | (description "While aiming at simplicity and ease of use, gedit is a | |
4958 | powerful general purpose text editor.") | |
4959 | (license license:gpl2+))) | |
b7179363 SB |
4960 | |
4961 | (define-public zenity | |
4962 | (package | |
4963 | (name "zenity") | |
235743a6 | 4964 | (version "3.30.0") |
b7179363 SB |
4965 | (source (origin |
4966 | (method url-fetch) | |
4967 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4968 | (version-major+minor version) "/" | |
4969 | name "-" version ".tar.xz")) | |
4970 | (sha256 | |
4971 | (base32 | |
235743a6 | 4972 | "1wipnp46pd238z9ck5rsckbaw7yla6c936fswq5w94k4c6bgcplr")))) |
b7179363 SB |
4973 | (build-system gnu-build-system) |
4974 | (native-inputs | |
b94a6ca0 | 4975 | `(("gettext" ,gettext-minimal) |
b7179363 SB |
4976 | ("itstool" ,itstool) |
4977 | ("pkg-config" ,pkg-config))) | |
4978 | (inputs | |
4979 | `(("libnotify" ,libnotify) | |
4980 | ("webkitgtk" ,webkitgtk))) | |
4981 | (synopsis "Display graphical dialog boxes from shell scripts") | |
f032d0be | 4982 | (home-page "https://www.gnome.org") |
b7179363 SB |
4983 | (description |
4984 | "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you | |
4985 | to display dialog boxes from the commandline and shell scripts.") | |
4986 | (license license:lgpl2.0+))) | |
60c3627c SB |
4987 | |
4988 | (define-public mutter | |
4989 | (package | |
4990 | (name "mutter") | |
e402eae6 | 4991 | (version "3.30.2") |
60c3627c | 4992 | (source (origin |
86c44e72 KK |
4993 | (method url-fetch) |
4994 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4995 | (version-major+minor version) "/" | |
4996 | name "-" version ".tar.xz")) | |
60c3627c SB |
4997 | (sha256 |
4998 | (base32 | |
e402eae6 | 4999 | "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z")))) |
86c44e72 KK |
5000 | ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked |
5001 | ;; versions of cogl and clutter. As a result, many of the inputs, | |
5002 | ;; propagated-inputs, and configure flags used in cogl and clutter are | |
5003 | ;; needed here as well. | |
60c3627c SB |
5004 | (build-system gnu-build-system) |
5005 | (arguments | |
5006 | '(#:configure-flags | |
5007 | ;; XXX: build fails with [-Werror]: | |
5008 | ;; backends/meta-cursor-renderer.c:112:5: error: | |
5009 | ;; implicit declaration of function ?roundf? | |
a88d5a0c MW |
5010 | (list "--enable-compile-warnings=minimum" |
5011 | ||
86c44e72 | 5012 | "--enable-native-backend" |
a88d5a0c MW |
5013 | |
5014 | ;; The following flags are needed for the bundled clutter | |
5015 | "--enable-x11-backend=yes" | |
5016 | ||
d633f2f6 RH |
5017 | (string-append "--with-xwayland-path=" |
5018 | (assoc-ref %build-inputs "xorg-server-xwayland") | |
5019 | "/bin/Xwayland") | |
5020 | ||
a88d5a0c MW |
5021 | ;; the remaining flags are needed for the bundled cogl |
5022 | "--enable-cogl-gst" | |
5023 | (string-append "--with-gl-libname=" | |
5024 | (assoc-ref %build-inputs "mesa") | |
f23052a6 DC |
5025 | "/lib/libGL.so")) |
5026 | #:phases | |
5027 | (modify-phases %standard-phases | |
86c44e72 KK |
5028 | ;; Replace references to systemd libraries to elogind references. |
5029 | (add-before 'configure 'use-elogind | |
5030 | (lambda _ | |
5031 | (substitute* (list "configure" | |
5032 | "src/backends/native/meta-launcher.c" | |
5033 | "src/core/main.c") | |
5034 | (("systemd") "elogind")) | |
5035 | #t))))) | |
60c3627c SB |
5036 | (native-inputs |
5037 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5038 | ("gobject-introspection" ,gobject-introspection) | |
5039 | ("intltool" ,intltool) | |
f23052a6 DC |
5040 | ("pkg-config" ,pkg-config) |
5041 | ;; For git build | |
5042 | ("autoconf" ,autoconf) | |
5043 | ("automake" ,automake) | |
5044 | ("libtool" ,libtool))) | |
60c3627c | 5045 | (propagated-inputs |
a88d5a0c MW |
5046 | `(;; libmutter.pc refers to these: |
5047 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
5048 | ("gtk+" ,gtk+) | |
5049 | ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these: | |
5050 | ("atk" ,atk) | |
5051 | ("cairo" ,cairo) | |
5052 | ("gdk-pixbuf" ,gdk-pixbuf) | |
5053 | ("glib" ,glib) | |
a88d5a0c MW |
5054 | ("json-glib" ,json-glib) |
5055 | ("libinput" ,libinput) | |
5056 | ("libx11" ,libx11) | |
5057 | ("libxcomposite" ,libxcomposite) | |
5058 | ("libxdamage" ,libxdamage) | |
5059 | ("libxext" ,libxext) | |
5060 | ("libxfixes" ,libxfixes) | |
5061 | ("libxkbcommon" ,libxkbcommon) | |
5062 | ("libxrandr" ,libxrandr) | |
5063 | ("mesa" ,mesa) | |
5064 | ("pango" ,pango) | |
5065 | ("udev" ,eudev) | |
a88d5a0c | 5066 | ("xinput" ,xinput))) |
60c3627c | 5067 | (inputs |
86c44e72 KK |
5068 | `(("elogind" ,elogind) |
5069 | ("gnome-desktop" ,gnome-desktop) | |
60c3627c | 5070 | ("libcanberra-gtk" ,libcanberra) |
a88d5a0c | 5071 | ("libgudev" ,libgudev) |
60c3627c SB |
5072 | ("libice" ,libice) |
5073 | ("libsm" ,libsm) | |
60c3627c | 5074 | ("libxkbfile" ,libxkbfile) |
a88d5a0c | 5075 | ("libxrandr" ,libxrandr) |
86c44e72 | 5076 | ("libxtst" ,libxtst) |
60c3627c SB |
5077 | ("startup-notification" ,startup-notification) |
5078 | ("upower-glib" ,upower) | |
5079 | ("xkeyboard-config" ,xkeyboard-config) | |
d633f2f6 | 5080 | ("xorg-server-xwayland" ,xorg-server-xwayland) |
60c3627c SB |
5081 | ("zenity" ,zenity))) |
5082 | (synopsis "Window and compositing manager") | |
f032d0be | 5083 | (home-page "https://www.gnome.org") |
60c3627c SB |
5084 | (description |
5085 | "Mutter is a window and compositing manager that displays and manages your | |
5086 | desktop via OpenGL. Mutter combines a sophisticated display engine using the | |
5087 | Clutter toolkit with solid window-management logic inherited from the Metacity | |
5088 | window manager.") | |
86c44e72 | 5089 | (license license:gpl2+))) |
685cee87 SB |
5090 | |
5091 | (define-public gnome-online-accounts | |
5092 | (package | |
5093 | (name "gnome-online-accounts") | |
d29298ef | 5094 | (version "3.30.2") |
685cee87 SB |
5095 | (source (origin |
5096 | (method url-fetch) | |
5097 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5098 | (version-major+minor version) "/" | |
5099 | name "-" version ".tar.xz")) | |
5100 | (sha256 | |
5101 | (base32 | |
d29298ef | 5102 | "1p1gdgryziklrgngn6m13xnvfx4gb01h723nndfi9944r24fbiq5")))) |
14c297fd | 5103 | (outputs '("out" "lib")) |
685cee87 | 5104 | (build-system glib-or-gtk-build-system) |
14c297fd TS |
5105 | (arguments |
5106 | `(#:configure-flags | |
5107 | (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib")) | |
5108 | #:phases | |
5109 | (modify-phases %standard-phases | |
5110 | (add-before 'configure 'patch-libgoa-output | |
5111 | (lambda* (#:key outputs #:allow-other-keys) | |
5112 | (let ((lib (assoc-ref outputs "lib"))) | |
5113 | (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in") | |
5114 | (("@prefix@") lib) | |
5115 | (("@exec_prefix@") lib) | |
5116 | (("@libdir@") (string-append lib "/lib")) | |
5117 | (("@includedir@") (string-append lib "/include")) | |
5118 | (("@datadir@") (string-append lib "/share"))) | |
7555d539 MB |
5119 | ;; Make sure gobject-introspection knows about the output |
5120 | ;; too (see <https://bugs.gnu.org/36535>). | |
5121 | (setenv "outputs" "out lib") | |
14c297fd | 5122 | #t)))))) |
685cee87 SB |
5123 | (native-inputs |
5124 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5125 | ("gobject-introspection" ,gobject-introspection) | |
5126 | ("intltool" ,intltool) | |
5127 | ("pkg-config" ,pkg-config) | |
5128 | ("xsltproc" ,libxslt))) | |
5129 | (propagated-inputs | |
5130 | `(("glib" ,glib) ; required by goa-1.0.pc | |
5131 | ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc | |
5132 | (inputs | |
5133 | `(("docbook-xsl" ,docbook-xsl) | |
5134 | ("json-glib" ,json-glib) | |
5135 | ("libsecret" ,libsecret) | |
5136 | ("rest" ,rest) | |
685cee87 SB |
5137 | ("webkitgtk" ,webkitgtk))) |
5138 | (synopsis "Single sign-on framework for GNOME") | |
5139 | (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts") | |
5140 | (description | |
5141 | "GNOME Online Accounts provides interfaces so that applications and | |
5142 | libraries in GNOME can access the user's online accounts. It has providers for | |
5143 | Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft | |
5144 | Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.") | |
5145 | (license license:lgpl2.0+))) | |
df217748 SB |
5146 | |
5147 | (define-public evolution-data-server | |
5148 | (package | |
5149 | (name "evolution-data-server") | |
b468eedc | 5150 | (version "3.30.2") |
df217748 SB |
5151 | (source (origin |
5152 | (method url-fetch) | |
5153 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5154 | (version-major+minor version) "/" | |
5155 | name "-" version ".tar.xz")) | |
5156 | (sha256 | |
5157 | (base32 | |
b468eedc | 5158 | "0h4f71kpf2ypdgifg369z35pk4cq99daw540yzjpax52grav2fjv")))) |
743aebd7 | 5159 | (build-system cmake-build-system) |
df217748 | 5160 | (arguments |
b468eedc RW |
5161 | '(#:configure-flags |
5162 | (let* ((lib (string-append (assoc-ref %outputs "out") "/lib")) | |
5163 | (runpaths (map (lambda (s) | |
5164 | (string-append lib "/evolution-data-server/" s)) | |
ac033c7b MB |
5165 | '("addressbook-backends" "calendar-backends" |
5166 | "camel-providers" "credential-modules" | |
5167 | "registry-modules")))) | |
5168 | (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support | |
5169 | "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support | |
5170 | "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication | |
5171 | "-DENABLE_VALA_BINDINGS=ON" | |
5172 | ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove | |
c97f2f70 MW |
5173 | ;; "-std=gnu++11" when our default compiler is >= GCC6. |
5174 | ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until | |
5175 | ;; evolution-data-server has been updated to qualify ICU types | |
5176 | ;; explicitly, as required by ICU 61 and later. See: | |
5177 | ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild> | |
5178 | "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1" | |
ac033c7b MB |
5179 | (string-append "-DCMAKE_INSTALL_RPATH=" lib ";" |
5180 | (string-append lib "/evolution-data-server;") | |
5181 | (string-join runpaths ";")) | |
5182 | "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings | |
df217748 SB |
5183 | #:phases |
5184 | (modify-phases %standard-phases | |
b468eedc RW |
5185 | (add-after 'unpack 'disable-failing-tests |
5186 | (lambda _ | |
5187 | ;; tests/book-migration/test-migration.c:160:test_fetch_contacts: | |
5188 | ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20) | |
5189 | (delete-file-recursively "tests/book-migration") | |
5190 | (substitute* "tests/CMakeLists.txt" | |
5191 | (("add_subdirectory\\(book-migration\\)") "")) | |
5192 | ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris: | |
5193 | ;; assertion failed (uris->data == expected_uri): | |
5194 | ;; ("" == "file:///tests/libedata-cal/components/event-1.ics") | |
5195 | (substitute* "tests/libedata-cal/CMakeLists.txt" | |
5196 | (("test-cal-meta-backend") "")) | |
5197 | #t)) | |
743aebd7 | 5198 | (add-after 'unpack 'patch-paths |
df217748 | 5199 | (lambda _ |
b468eedc RW |
5200 | (substitute* '("tests/test-server-utils/e-test-server-utils.c" |
5201 | "tests/libedata-book/data-test-utils.c" | |
5202 | "tests/libedata-book/test-book-cache-utils.c" | |
5203 | "tests/libedata-cal/test-cal-cache-utils.c") | |
df217748 | 5204 | (("/bin/rm") (which "rm"))) |
ac033c7b MB |
5205 | #t)) |
5206 | (add-before 'configure 'dont-override-rpath | |
5207 | (lambda _ | |
5208 | (substitute* "CMakeLists.txt" | |
5209 | ;; CMakeLists.txt hard-codes runpath to just the libdir. | |
5210 | ;; Remove it so the configure flag is respected. | |
5211 | (("SET\\(CMAKE_INSTALL_RPATH .*") "")) | |
b63c06f1 | 5212 | #t))))) |
df217748 SB |
5213 | (native-inputs |
5214 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
5215 | ("gobject-introspection" ,gobject-introspection) | |
5216 | ("gperf" ,gperf) | |
5217 | ("intltool" ,intltool) | |
5218 | ("pkg-config" ,pkg-config) | |
a73c1cf8 | 5219 | ("vala" ,vala) |
743aebd7 | 5220 | ("python" ,python-wrapper))) |
df217748 SB |
5221 | (propagated-inputs |
5222 | ;; These are all in the Requires field of .pc files. | |
5223 | `(("gtk+" ,gtk+) | |
5224 | ("libical" ,libical) | |
5225 | ("libsecret" ,libsecret) | |
5226 | ("libsoup" ,libsoup) | |
5227 | ("nss" ,nss) | |
5228 | ("sqlite" ,sqlite))) | |
5229 | (inputs | |
5230 | `(("bdb" ,bdb) | |
5231 | ("gcr" ,gcr) | |
14c297fd | 5232 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
891199c6 | 5233 | ("json-glib" ,json-glib) |
b468eedc | 5234 | ("libcanberra" ,libcanberra) |
743aebd7 MB |
5235 | ("libgweather" ,libgweather) |
5236 | ("mit-krb5" ,mit-krb5) | |
891199c6 MW |
5237 | ("openldap" ,openldap) |
5238 | ("webkitgtk" ,webkitgtk))) | |
df217748 SB |
5239 | (synopsis "Store address books and calendars") |
5240 | (home-page "https://wiki.gnome.org/Apps/Evolution") | |
5241 | (description | |
5242 | "This package provides a unified backend for programs that work with | |
5243 | contacts, tasks, and calendar information. It was originally developed for | |
5244 | Evolution (hence the name), but is now used by other packages as well.") | |
5245 | (license license:lgpl2.0))) | |
bd7dfafa SB |
5246 | |
5247 | (define-public caribou | |
5248 | (package | |
5249 | (name "caribou") | |
fe964bb5 | 5250 | (version "0.4.21") |
bd7dfafa SB |
5251 | (source (origin |
5252 | (method url-fetch) | |
5253 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5254 | (version-major+minor version) "/" | |
5255 | name "-" version ".tar.xz")) | |
5256 | (sha256 | |
5257 | (base32 | |
fe964bb5 | 5258 | "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww")))) |
bd7dfafa SB |
5259 | (build-system glib-or-gtk-build-system) |
5260 | (arguments | |
5261 | '(#:phases | |
5262 | (modify-phases %standard-phases | |
5263 | (add-before | |
5264 | 'build 'pre-build | |
5265 | (lambda* (#:key outputs #:allow-other-keys) | |
5266 | (let ((out (assoc-ref outputs "out"))) | |
5267 | ;; Use absolute shared library path in Caribou-1.0.typelib. | |
5268 | (substitute* "libcaribou/Makefile" | |
5269 | (("--shared-library=libcaribou.so") | |
5270 | (string-append "--shared-library=" | |
5271 | out "/lib/libcaribou.so"))) | |
5272 | #t))) | |
5273 | (add-after 'install 'wrap-programs | |
5274 | (lambda* (#:key outputs #:allow-other-keys) | |
5275 | (let* ((out (assoc-ref outputs "out")) | |
5276 | (python-path (getenv "PYTHONPATH")) | |
5277 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
5278 | (for-each | |
5279 | (lambda (prog) | |
5280 | (wrap-program prog | |
5281 | `("PYTHONPATH" ":" prefix (,python-path)) | |
5282 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
5283 | (list (string-append out "/bin/caribou-preferences") | |
5284 | (string-append out "/libexec/antler-keyboard")))) | |
5285 | #t))))) | |
5286 | (native-inputs | |
5287 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5288 | ("gobject-introspection" ,gobject-introspection) | |
5289 | ("intltool" ,intltool) | |
5290 | ("pkg-config" ,pkg-config) | |
5291 | ("python" ,python-2) ; incompatible with Python 3 (print syntax) | |
5292 | ("vala" ,vala) | |
5293 | ("xsltproc" ,libxslt))) | |
5294 | (propagated-inputs | |
5295 | ;; caribou-1.0.pc refers to all these. | |
5296 | `(("libgee" ,libgee) | |
5297 | ("libxklavier" ,libxklavier) | |
5298 | ("libxtst" ,libxtst) | |
5299 | ("gtk+" ,gtk+))) | |
5300 | (inputs | |
5301 | `(("clutter" ,clutter) | |
5302 | ("dconf" ,dconf) | |
5303 | ("gtk+-2" ,gtk+-2) | |
5304 | ("python-pygobject" ,python2-pygobject))) | |
5305 | (synopsis "Text entry and UI navigation application") | |
5306 | (home-page "https://wiki.gnome.org/Projects/Caribou") | |
5307 | (description | |
5308 | "Caribou is an input assistive technology intended for switch and pointer | |
5309 | users.") | |
5310 | (license license:lgpl2.1))) | |
ba5dd105 | 5311 | |
ba5dd105 SB |
5312 | (define-public network-manager |
5313 | (package | |
5314 | (name "network-manager") | |
02710a9b | 5315 | (version "1.14.4") |
ba5dd105 SB |
5316 | (source (origin |
5317 | (method url-fetch) | |
5318 | (uri (string-append "mirror://gnome/sources/NetworkManager/" | |
5319 | (version-major+minor version) "/" | |
5320 | "NetworkManager-" version ".tar.xz")) | |
5321 | (sha256 | |
5322 | (base32 | |
02710a9b RW |
5323 | "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm")) |
5324 | (modules '((guix build utils))) | |
fd070f35 | 5325 | (snippet |
02710a9b RW |
5326 | '(begin |
5327 | (substitute* "src/devices/wwan/nm-modem-manager.c" | |
5328 | (("systemd") "elogind")) | |
5329 | #t)))) | |
ba5dd105 SB |
5330 | (build-system gnu-build-system) |
5331 | (outputs '("out" | |
5332 | "doc")) ; 8 MiB of gtk-doc HTML | |
5333 | (arguments | |
5334 | '(#:configure-flags | |
5335 | (let ((out (assoc-ref %outputs "out")) | |
5336 | (doc (assoc-ref %outputs "doc")) | |
5337 | (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp") | |
5338 | "/sbin/dhclient"))) | |
02710a9b RW |
5339 | (list "--with-libnm-glib" ; needed by network-manager-applet |
5340 | "--with-systemd-journal=no" | |
5341 | "--with-session-tracking=elogind" | |
5342 | "--with-suspend-resume=elogind" | |
fd070f35 CM |
5343 | "--with-consolekit=no" |
5344 | "--with-crypto=gnutls" | |
ba5dd105 SB |
5345 | "--disable-config-plugin-ibft" |
5346 | "--sysconfdir=/etc" | |
5347 | "--localstatedir=/var" | |
5348 | (string-append "--with-udev-dir=" | |
5349 | out "/lib/udev") | |
5350 | (string-append "--with-dbus-sys-dir=" | |
5351 | out "/etc/dbus-1/system.d") | |
5352 | (string-append "--with-html-dir=" | |
5353 | doc "/share/gtk-doc/html") | |
5354 | (string-append "--with-dhclient=" dhclient))) | |
5355 | #:phases | |
5356 | (modify-phases %standard-phases | |
02710a9b RW |
5357 | ;; This bare "ls" invocation breaks some tests. |
5358 | (add-after 'unpack 'patch-ls-invocation | |
5359 | (lambda _ | |
5360 | (substitute* "build-aux/ltmain.sh" | |
5361 | (("`ls -") | |
5362 | (string-append "`" (which "ls") " -"))) | |
5363 | #t)) | |
b4f59d87 AW |
5364 | (add-before 'configure 'pre-configure |
5365 | (lambda _ | |
5366 | ;; These tests try to test aspects of network-manager's | |
5367 | ;; functionality within restricted containers, but they don't | |
5368 | ;; cope with being already in the Guix build jail as that jail | |
5369 | ;; lacks some features that they would like to proxy over (like | |
5370 | ;; a /sys mount). | |
d04687dc HG |
5371 | (substitute* '("Makefile.in") |
5372 | (("src/platform/tests/test-address-linux") " ") | |
5373 | (("src/platform/tests/test-cleanup-linux") " ") | |
5374 | (("src/platform/tests/test-link-linux") " ") | |
5375 | (("src/platform/tests/test-route-linux") " ") | |
02710a9b | 5376 | (("src/devices/tests/test-acd") "") |
d04687dc HG |
5377 | (("src/devices/tests/test-arping") " ") |
5378 | (("src/devices/tests/test-lldp") " ") | |
5379 | (("src/tests/test-route-manager-linux") " ")) | |
b4f59d87 | 5380 | #t)) |
45f80fce RW |
5381 | (add-after 'unpack 'delete-failing-tests |
5382 | (lambda _ | |
02710a9b | 5383 | ;; FIXME: These three tests fail for unknown reasons. |
45f80fce RW |
5384 | ;; ERROR:libnm-core/tests/test-general.c:5842: |
5385 | ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0) | |
5386 | ;; ERROR:libnm-core/tests/test-keyfile.c:647: | |
5387 | ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL) | |
5388 | ;; ERROR:libnm-core/tests/test-setting.c:907: | |
5389 | ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner)) | |
45f80fce RW |
5390 | (substitute* "Makefile.in" |
5391 | (("libnm-core/tests/test-general") " ") | |
5392 | (("libnm-core/tests/test-keyfile") " ") | |
02710a9b | 5393 | (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " ")) |
45f80fce | 5394 | #t)) |
ba5dd105 SB |
5395 | (add-before 'check 'pre-check |
5396 | (lambda _ | |
5397 | ;; For the missing /etc/machine-id. | |
5398 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
5399 | #t)) | |
5400 | (replace 'install | |
5401 | (lambda _ | |
45f80fce RW |
5402 | (invoke "make" |
5403 | "sysconfdir=/tmp" | |
5404 | "rundir=/tmp" | |
5405 | "statedir=/tmp" | |
5406 | "nmstatedir=/tmp/nm" | |
5407 | "install") | |
5408 | #t))))) | |
b93502d6 DC |
5409 | (propagated-inputs |
5410 | `(("glib" ,glib))) | |
ba5dd105 SB |
5411 | (native-inputs |
5412 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen | |
5413 | ("gobject-introspection" ,gobject-introspection) | |
d04687dc | 5414 | ("docbook-xsl" ,docbook-xsl) |
ba5dd105 | 5415 | ("intltool" ,intltool) |
d04687dc HG |
5416 | ("libxslt" ,libxslt) |
5417 | ("libxml2" ,libxml2) | |
ba5dd105 SB |
5418 | ("pkg-config" ,pkg-config) |
5419 | ;; For testing. | |
5420 | ("python" ,python-wrapper) | |
5421 | ("python-dbus" ,python-dbus) | |
5422 | ("python-pygobject" ,python-pygobject))) | |
5423 | (inputs | |
02710a9b RW |
5424 | `(("coreutils" ,coreutils) ; for ls |
5425 | ("curl" ,curl) | |
856ca567 KK |
5426 | ("cyrus-sasl" ,cyrus-sasl) |
5427 | ("dbus-glib" ,dbus-glib) | |
ba5dd105 | 5428 | ("dnsmasq" ,dnsmasq) |
856ca567 | 5429 | ("eudev" ,eudev) |
ba5dd105 SB |
5430 | ("gnutls" ,gnutls) |
5431 | ("iptables" ,iptables) | |
5432 | ("isc-dhcp" ,isc-dhcp) | |
d04687dc | 5433 | ("jansson" ,jansson) |
ba5dd105 SB |
5434 | ("libgcrypt" ,libgcrypt) |
5435 | ("libgudev" ,libgudev) | |
5436 | ("libndp" ,libndp) | |
5437 | ("libnl" ,libnl) | |
5438 | ("libsoup" ,libsoup) | |
142bdcbc | 5439 | ("modem-manager" ,modem-manager) |
c27e02bf | 5440 | ("newt" ,newt) ;for the 'nmtui' console interface |
ba5dd105 SB |
5441 | ("polkit" ,polkit) |
5442 | ("ppp" ,ppp) | |
5443 | ("readline" ,readline) | |
fd070f35 CM |
5444 | ("util-linux" ,util-linux) |
5445 | ("elogind" ,elogind))) | |
ba5dd105 | 5446 | (synopsis "Network connection manager") |
f032d0be | 5447 | (home-page "https://www.gnome.org/projects/NetworkManager/") |
ba5dd105 SB |
5448 | (description |
5449 | "NetworkManager is a system network service that manages your network | |
5450 | devices and connections, attempting to keep active network connectivity when | |
5451 | available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE | |
5452 | devices, and provides VPN integration with a variety of different VPN | |
5453 | services.") | |
29d2f451 LC |
5454 | (license license:gpl2+) |
5455 | (properties '((upstream-name . "NetworkManager"))))) | |
4d62a9d3 | 5456 | |
f2b96b3a LC |
5457 | (define-public network-manager-openvpn |
5458 | (package | |
5459 | (name "network-manager-openvpn") | |
0310eb96 | 5460 | (version "1.8.4") |
f2b96b3a LC |
5461 | (source (origin |
5462 | (method url-fetch) | |
5463 | (uri (string-append | |
5464 | "mirror://gnome/sources/NetworkManager-openvpn/" | |
5465 | (version-major+minor version) | |
5466 | "/NetworkManager-openvpn-" version ".tar.xz")) | |
5467 | (sha256 | |
5468 | (base32 | |
0310eb96 | 5469 | "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr")))) |
f2b96b3a LC |
5470 | (build-system gnu-build-system) |
5471 | (arguments | |
5472 | '(#:configure-flags '("--enable-absolute-paths"))) | |
5473 | (native-inputs | |
5474 | `(("pkg-config" ,pkg-config) | |
5475 | ("intltool" ,intltool))) | |
5476 | (inputs | |
5477 | `(("gtk+" ,gtk+) | |
5478 | ("openvpn" ,openvpn) | |
5479 | ("network-manager" ,network-manager) | |
5480 | ("network-manager-applet" ,network-manager-applet) ;for libnma | |
5481 | ("libsecret" ,libsecret))) | |
5482 | (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN") | |
5483 | (synopsis "OpenVPN plug-in for NetworkManager") | |
5484 | (description | |
5485 | "This extension of NetworkManager allows it to take care of connections | |
5486 | to virtual private networks (VPNs) via OpenVPN.") | |
5487 | (license license:gpl2+) | |
5488 | (properties `((upstream-name . "NetworkManager-openvpn"))))) | |
5489 | ||
e5e1df4d DC |
5490 | (define-public mobile-broadband-provider-info |
5491 | (package | |
5492 | (name "mobile-broadband-provider-info") | |
310c89e3 | 5493 | (version "20190116") |
e5e1df4d DC |
5494 | (source (origin |
5495 | (method url-fetch) | |
5496 | (uri (string-append | |
5497 | "mirror://gnome/sources/" | |
5498 | "mobile-broadband-provider-info/" version "/" | |
5499 | "mobile-broadband-provider-info-" version ".tar.xz")) | |
5500 | (sha256 | |
5501 | (base32 | |
310c89e3 | 5502 | "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic")))) |
e5e1df4d DC |
5503 | (build-system gnu-build-system) |
5504 | (arguments | |
310c89e3 | 5505 | `(#:tests? #f)) ; no tests |
e5e1df4d DC |
5506 | (home-page "https://wiki.gnome.org/Projects/NetworkManager") |
5507 | (synopsis "Database of broadband connection configuration") | |
5508 | (description "Database of broadband connection configuration.") | |
5509 | (license license:public-domain))) | |
5510 | ||
4d62a9d3 SB |
5511 | (define-public network-manager-applet |
5512 | (package | |
5513 | (name "network-manager-applet") | |
8c6d7b61 | 5514 | (version "1.8.18") |
4d62a9d3 SB |
5515 | (source (origin |
5516 | (method url-fetch) | |
5517 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5518 | (version-major+minor version) "/" | |
5519 | name "-" version ".tar.xz")) | |
5520 | (sha256 | |
5521 | (base32 | |
8c6d7b61 | 5522 | "0y31g0lxr93370xi74hbpvcy9m81n5wdkdhq8xy2nqp0y4219p13")))) |
cd7f718e RW |
5523 | (build-system meson-build-system) |
5524 | (arguments | |
5525 | '(#:glib-or-gtk? #t)) | |
4d62a9d3 SB |
5526 | (native-inputs |
5527 | `(("intltool" ,intltool) | |
cd7f718e | 5528 | ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc. |
4d62a9d3 | 5529 | ("gobject-introspection" ,gobject-introspection) |
cd7f718e | 5530 | ("gtk-doc" ,gtk-doc) |
4d62a9d3 SB |
5531 | ("pkg-config" ,pkg-config))) |
5532 | (propagated-inputs | |
5533 | ;; libnm-gtk.pc refers to all these. | |
5534 | `(("dbus-glib" ,dbus-glib) | |
5535 | ("gtk+" ,gtk+) | |
5536 | ("network-manager" ,network-manager))) | |
5537 | (inputs | |
cd7f718e RW |
5538 | `(("gcr" ,gcr) |
5539 | ("iso-codes" ,iso-codes) | |
4d62a9d3 SB |
5540 | ("libgudev" ,libgudev) |
5541 | ("libnotify" ,libnotify) | |
2116bfb3 | 5542 | ("libsecret" ,libsecret) |
240cee8a KK |
5543 | ("libselinux" ,libselinux) |
5544 | ("jansson" ,jansson) ; for team support | |
3e9c80b2 FP |
5545 | ("modem-manager" ,modem-manager) |
5546 | ("mobile-broadband-provider-info" ,mobile-broadband-provider-info))) | |
4d62a9d3 | 5547 | (synopsis "Applet for managing network connections") |
f032d0be | 5548 | (home-page "https://www.gnome.org/projects/NetworkManager/") |
4d62a9d3 SB |
5549 | (description |
5550 | "This package contains a systray applet for NetworkManager. It displays | |
5551 | the available networks and allows users to easily switch between them.") | |
5552 | (license license:gpl2+))) | |
56196594 RW |
5553 | |
5554 | (define-public libxml++ | |
5555 | (package | |
5556 | (name "libxml++") | |
8344a85e | 5557 | (version "3.0.1") |
56196594 RW |
5558 | (source (origin |
5559 | (method url-fetch) | |
5560 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5561 | (version-major+minor version) "/" | |
5562 | name "-" version ".tar.xz")) | |
5563 | (sha256 | |
5564 | (base32 | |
8344a85e | 5565 | "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r")))) |
56196594 RW |
5566 | (build-system gnu-build-system) |
5567 | ;; libxml++-3.0.pc refers to all these. | |
5568 | (propagated-inputs | |
5569 | `(("libxml2" ,libxml2) | |
5570 | ("glibmm" ,glibmm))) | |
5571 | (native-inputs | |
5572 | `(("perl" ,perl) | |
5573 | ("pkg-config" ,pkg-config))) | |
5574 | (home-page "http://libxmlplusplus.sourceforge.net/") | |
5575 | (synopsis "C++ wrapper for XML parser library libxml2") | |
5576 | (description | |
5577 | "This package provides a C++ wrapper for the XML parser library | |
5578 | libxml2.") | |
5579 | (license license:lgpl2.1+))) | |
df12f04a | 5580 | |
b61d9627 AW |
5581 | (define-public libxml++-2 |
5582 | (package | |
5583 | (inherit libxml++) | |
5584 | (name "libxml++") | |
5585 | (version "2.40.1") | |
5586 | (source (origin | |
5587 | (method url-fetch) | |
5588 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5589 | (version-major+minor version) "/" | |
5590 | name "-" version ".tar.xz")) | |
5591 | (sha256 | |
5592 | (base32 | |
5593 | "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a")))))) | |
5594 | ||
df12f04a SB |
5595 | (define-public gdm |
5596 | (package | |
5597 | (name "gdm") | |
b74ef0ba | 5598 | (version "3.30.2") |
df12f04a SB |
5599 | (source (origin |
5600 | (method url-fetch) | |
5601 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5602 | (version-major+minor version) "/" | |
5603 | name "-" version ".tar.xz")) | |
5604 | (sha256 | |
5605 | (base32 | |
b74ef0ba | 5606 | "1handy65r1n0zby09jr492b3643wszzigdkxp7q2ypgxb3hyv45y")))) |
957dbc0a | 5607 | (build-system glib-or-gtk-build-system) |
df12f04a SB |
5608 | (arguments |
5609 | '(#:configure-flags | |
af37e6bb | 5610 | `("--without-plymouth" |
957dbc0a | 5611 | "--disable-systemd-journal" |
51bc8357 TS |
5612 | |
5613 | ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1, | |
5614 | ;; instead of having to replace it (i.e., stopping the mingetty | |
5615 | ;; service for TTY 1 before starting GDM). | |
5616 | "--with-initial-vt=7" | |
5617 | ||
89c86562 TS |
5618 | ;; Use '/etc/environment' for locale settings instead of the |
5619 | ;; systemd-specific '/etc/locale.conf'. | |
5620 | "--with-lang-file=/etc/environment" | |
5621 | ||
b74ef0ba RW |
5622 | ,(string-append "--with-udevdir=" |
5623 | (assoc-ref %outputs "out") "/lib/udev") | |
5624 | ||
af37e6bb AW |
5625 | "--localstatedir=/var" |
5626 | ,(string-append "--with-default-path=" | |
5627 | (string-join '("/run/setuid-programs" | |
5628 | "/run/current-system/profile/bin" | |
5629 | "/run/current-system/profile/sbin") | |
957dbc0a AW |
5630 | ":")) |
5631 | ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the | |
5632 | ;; XDG_DATA_DIRS so that it finds its schemas. | |
5633 | "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin")) | |
df12f04a SB |
5634 | #:phases |
5635 | (modify-phases %standard-phases | |
5636 | (add-before | |
5637 | 'configure 'pre-configure | |
e8c6e771 | 5638 | (lambda* (#:key inputs outputs #:allow-other-keys) |
df12f04a SB |
5639 | ;; We don't have <systemd/sd-daemon.h>. |
5640 | (substitute* '("common/gdm-log.c" | |
5641 | "daemon/gdm-server.c" | |
5642 | "daemon/gdm-session-worker.c" | |
5643 | "daemon/gdm-session-worker-job.c") | |
5644 | (("#include <systemd/sd-daemon\\.h>") "")) | |
5645 | ;; Use elogind for sd-login. | |
5646 | (substitute* '("common/gdm-common.c" | |
5647 | "daemon/gdm-manager.c" | |
5648 | "libgdm/gdm-user-switching.c") | |
5649 | (("#include <systemd/sd-login\\.h>") | |
5650 | "#include <elogind/sd-login.h>")) | |
957dbc0a AW |
5651 | ;; Check for elogind. |
5652 | (substitute* '("configure") | |
5653 | (("libsystemd") | |
5654 | "libelogind")) | |
af37e6bb AW |
5655 | ;; Look for system-installed sessions in |
5656 | ;; /run/current-system/profile/share. | |
5657 | (substitute* '("libgdm/gdm-sessions.c" | |
5658 | "daemon/gdm-session.c" | |
5659 | "daemon/gdm-display.c" | |
5660 | "daemon/gdm-launch-environment.c") | |
5661 | (("DATADIR \"/x") | |
5662 | "\"/run/current-system/profile/share/x") | |
5663 | (("DATADIR \"/wayland") | |
5664 | "\"/run/current-system/profile/share/wayland") | |
5665 | (("DATADIR \"/gnome") | |
5666 | "\"/run/current-system/profile/share/gnome")) | |
c9ff92b5 | 5667 | (let ((propagate '("GDM_CUSTOM_CONF" |
1f564c15 | 5668 | "GDM_DBUS_DAEMON" |
c9ff92b5 | 5669 | "GDM_X_SERVER" |
41fa9f18 | 5670 | "GDM_X_SESSION" |
c9ff92b5 TS |
5671 | ;; XXX: Remove this once GNOME Shell is |
5672 | ;; a dependency of GDM. | |
5673 | "XDG_DATA_DIRS"))) | |
5674 | (substitute* "daemon/gdm-session.c" | |
5675 | (("set_up_session_environment \\(self\\);") | |
5676 | (apply string-append | |
5677 | "set_up_session_environment (self);\n" | |
5678 | (map (lambda (name) | |
5679 | (string-append | |
5680 | "gdm_session_set_environment_variable " | |
5681 | "(self, \"" name "\"," | |
5682 | "g_getenv (\"" name "\"));\n")) | |
5683 | propagate))))) | |
a430a350 TS |
5684 | ;; Find the configuration file using an environment variable. |
5685 | (substitute* '("common/gdm-settings.c") | |
e0e6756f | 5686 | (("GDM_CUSTOM_CONF") |
e57c2adb TS |
5687 | (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL" |
5688 | " ? g_getenv(\"GDM_CUSTOM_CONF\")" | |
5689 | " : GDM_CUSTOM_CONF)"))) | |
e0e6756f AW |
5690 | ;; Use service-supplied path to X. |
5691 | (substitute* '("daemon/gdm-server.c") | |
5692 | (("\\(X_SERVER X_SERVER_ARG_FORMAT") | |
5693 | "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")")) | |
5694 | (substitute* '("daemon/gdm-x-session.c") | |
1f564c15 TS |
5695 | (("\"dbus-daemon\"") |
5696 | "g_getenv (\"GDM_DBUS_DAEMON\")") | |
e0e6756f | 5697 | (("X_SERVER") |
41fa9f18 TS |
5698 | "g_getenv (\"GDM_X_SERVER\")") |
5699 | (("GDMCONFDIR \"/Xsession\"") | |
5700 | "g_getenv (\"GDM_X_SESSION\")")) | |
def6d6b6 TS |
5701 | ;; Use an absolute path for GNOME Session. |
5702 | (substitute* "daemon/gdm-launch-environment.c" | |
5703 | (("\"gnome-session\"") | |
5704 | (string-append "\"" (assoc-ref inputs "gnome-session") | |
5705 | "/bin/gnome-session\""))) | |
e8c6e771 TS |
5706 | ;; Do not automatically select the placeholder session. |
5707 | (substitute* "daemon/gdm-session.c" | |
5708 | (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]") | |
5709 | (string-append "!g_str_has_suffix (base_name, \".desktop\") || " | |
5710 | "(g_strcmp0(search_dirs[i], \"" | |
5711 | (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/" | |
5712 | "\") == 0 && " | |
5713 | "g_strcmp0(base_name, \"fail.desktop\") == 0)")) | |
5714 | (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];") | |
5715 | "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }")) | |
69544798 | 5716 | #t)) |
8caa4589 TS |
5717 | ;; GDM requires that there be at least one desktop entry |
5718 | ;; file. This phase installs a hidden one that simply | |
5719 | ;; fails. This enables users to use GDM with a | |
5720 | ;; '~/.xsession' script with no other desktop entry files. | |
5721 | ;; See <https://bugs.gnu.org/35068>. | |
5722 | (add-after 'install 'install-placeholder-desktop-entry | |
5723 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5724 | (let* ((out (assoc-ref outputs "out")) | |
5725 | (sessions (string-append out "/share/gdm/BuiltInSessions")) | |
5726 | (fail (string-append sessions "/fail.desktop"))) | |
5727 | (mkdir-p sessions) | |
5728 | (with-output-to-file fail | |
5729 | (lambda () | |
5730 | (for-each | |
5731 | display | |
5732 | '("[Desktop Entry]\n" | |
5733 | "Encoding=UTF-8\n" | |
5734 | "Type=Application\n" | |
5735 | "Name=Fail\n" | |
5736 | "Comment=This session fails immediately.\n" | |
5737 | "NoDisplay=true\n" | |
5738 | "Exec=false\n")))) | |
5739 | #t))) | |
69544798 TS |
5740 | ;; GDM needs GNOME Session to run these applications. We link |
5741 | ;; their autostart files in `share/gdm/greeter/autostart' | |
5742 | ;; because GDM explicitly tells GNOME Session to look there. | |
5743 | ;; | |
5744 | ;; XXX: GNOME Shell should be linked here too, but currently | |
5745 | ;; GNOME Shell depends on GDM. | |
5746 | (add-after 'install 'link-autostart-files | |
5747 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5748 | (let* ((out (assoc-ref outputs "out")) | |
5749 | (autostart (string-append out "/share/gdm/" | |
5750 | "greeter/autostart")) | |
5751 | (settings (assoc-ref inputs "gnome-settings-daemon"))) | |
5752 | (mkdir-p autostart) | |
5753 | (with-directory-excursion autostart | |
5754 | (for-each (lambda (desktop) | |
5755 | (symlink desktop (basename desktop))) | |
5756 | (find-files (string-append settings "/etc/xdg")))) | |
5757 | #t)))))) | |
df12f04a SB |
5758 | (native-inputs |
5759 | `(("dconf" ,dconf) | |
5760 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5761 | ("gobject-introspection" ,gobject-introspection) | |
5762 | ("intltool" ,intltool) | |
5763 | ("itstool" ,itstool) | |
5764 | ("pkg-config" ,pkg-config) | |
5765 | ("xmllint" ,libxml2))) | |
5766 | (inputs | |
5767 | `(("accountsservice" ,accountsservice) | |
5768 | ("check" ,check) ; for testing | |
5769 | ("elogind" ,elogind) | |
def6d6b6 | 5770 | ("gnome-session" ,gnome-session) |
69544798 | 5771 | ("gnome-settings-daemon" ,gnome-settings-daemon) |
df12f04a SB |
5772 | ("gtk+" ,gtk+) |
5773 | ("iso-codes" ,iso-codes) | |
5774 | ("libcanberra" ,libcanberra) | |
5775 | ("linux-pam" ,linux-pam))) | |
5776 | (synopsis "Display manager for GNOME") | |
f032d0be | 5777 | (home-page "https://wiki.gnome.org/Projects/GDM/") |
df12f04a SB |
5778 | (description |
5779 | "GNOME Display Manager is a system service that is responsible for | |
5780 | providing graphical log-ins and managing local and remote displays.") | |
5781 | (license license:gpl2+))) | |
8e1dd04f SB |
5782 | |
5783 | (define-public libgtop | |
5784 | (package | |
5785 | (name "libgtop") | |
4f80158d | 5786 | (version "2.38.0") |
8e1dd04f SB |
5787 | (source (origin |
5788 | (method url-fetch) | |
5789 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5790 | (version-major+minor version) "/" | |
5791 | name "-" version ".tar.xz")) | |
5792 | (sha256 | |
5793 | (base32 | |
4f80158d | 5794 | "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g")))) |
8e1dd04f SB |
5795 | (build-system gnu-build-system) |
5796 | (native-inputs | |
5797 | `(("gobject-introspection" ,gobject-introspection) | |
5798 | ("intltool" ,intltool) | |
5799 | ("perl" ,perl) | |
5800 | ("pkg-config" ,pkg-config))) | |
5801 | (propagated-inputs | |
5802 | `(("glib" ,glib))) ; required by libgtop-2.0.pc | |
5803 | (synopsis "Portable system access library") | |
5804 | (home-page "https://www.gnome.org/") | |
5805 | (description | |
5806 | "LibGTop is a library to get system specific data such as CPU and memory | |
5807 | usage and information about running processes.") | |
5808 | (license license:gpl2+))) | |
b96c4260 SB |
5809 | |
5810 | (define-public gnome-bluetooth | |
5811 | (package | |
5812 | (name "gnome-bluetooth") | |
fd3b1171 | 5813 | (version "3.28.0") |
b96c4260 SB |
5814 | (source (origin |
5815 | (method url-fetch) | |
5816 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5817 | (version-major+minor version) "/" | |
5818 | name "-" version ".tar.xz")) | |
5819 | (sha256 | |
5820 | (base32 | |
fd3b1171 RW |
5821 | "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p")))) |
5822 | (build-system meson-build-system) | |
b96c4260 SB |
5823 | (native-inputs |
5824 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
fd3b1171 | 5825 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
b96c4260 SB |
5826 | ("gobject-introspection" ,gobject-introspection) |
5827 | ("intltool" ,intltool) | |
5828 | ("pkg-config" ,pkg-config) | |
5829 | ("xmllint" ,libxml2))) | |
5830 | (propagated-inputs | |
5831 | ;; gnome-bluetooth-1.0.pc refers to all these. | |
5832 | `(("gtk+" ,gtk+) | |
5833 | ("udev" ,eudev))) | |
5834 | (inputs | |
5835 | `(("libcanberra" ,libcanberra) | |
5836 | ("libnotify" ,libnotify))) | |
5837 | (synopsis "GNOME Bluetooth subsystem") | |
5838 | (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth") | |
5839 | (description | |
5840 | "This package contains tools for managing and manipulating Bluetooth | |
5841 | devices using the GNOME desktop.") | |
5842 | (license license:lgpl2.1+))) | |
b645146f SB |
5843 | |
5844 | (define-public gnome-control-center | |
5845 | (package | |
5846 | (name "gnome-control-center") | |
982c0b36 | 5847 | (version "3.30.3") |
b645146f SB |
5848 | (source (origin |
5849 | (method url-fetch) | |
5850 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5851 | (version-major+minor version) "/" | |
5852 | name "-" version ".tar.xz")) | |
5853 | (sha256 | |
5854 | (base32 | |
982c0b36 KK |
5855 | "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r")) |
5856 | (patches | |
5857 | (search-patches | |
5858 | "gnome-control-center-use-udisks-to-get-disk-size.patch")))) | |
59dac026 | 5859 | (build-system meson-build-system) |
b645146f | 5860 | (arguments |
59dac026 RW |
5861 | '(#:glib-or-gtk? #t |
5862 | #:configure-flags | |
5863 | (list "-Dcheese=false") | |
5864 | #:phases | |
b645146f SB |
5865 | (modify-phases %standard-phases |
5866 | (add-before 'configure 'patch-paths | |
5867 | (lambda* (#:key inputs #:allow-other-keys) | |
5868 | (let ((libc (assoc-ref inputs "libc")) | |
1df38cfc | 5869 | (tzdata (assoc-ref inputs "tzdata")) |
341225ac LC |
5870 | (libgnomekbd (assoc-ref inputs "libgnomekbd")) |
5871 | (nm-applet (assoc-ref inputs "network-manager-applet"))) | |
b645146f SB |
5872 | (substitute* "panels/datetime/tz.h" |
5873 | (("/usr/share/zoneinfo/zone.tab") | |
5874 | (string-append tzdata "/share/zoneinfo/zone.tab"))) | |
982c0b36 | 5875 | (substitute* "tests/datetime/test-endianess.c" |
b645146f SB |
5876 | (("/usr/share/locale") |
5877 | (string-append libc "/share/locale"))) | |
1df38cfc LC |
5878 | (substitute* "panels/region/cc-region-panel.c" |
5879 | (("\"gkbd-keyboard-display") | |
5880 | (string-append "\"" libgnomekbd | |
5881 | "/bin/gkbd-keyboard-display"))) | |
341225ac LC |
5882 | (substitute* '("panels/network/net-device-wifi.c" |
5883 | "panels/network/net-device.c" | |
5884 | "panels/network/connection-editor/net-connection-editor.c") | |
5885 | (("\"nm-connection-editor") | |
5886 | (string-append "\"" nm-applet | |
5887 | "/bin/nm-connection-editor"))) | |
1acd107c FP |
5888 | (substitute* '("panels/user-accounts/run-passwd.c") |
5889 | (("/usr/bin/passwd") | |
5890 | "/run/setuid-programs/passwd")) | |
b645146f SB |
5891 | #t)))))) |
5892 | (native-inputs | |
5893 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
59dac026 | 5894 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
b645146f SB |
5895 | ("intltool" ,intltool) |
5896 | ("pkg-config" ,pkg-config) | |
5897 | ("xsltproc" ,libxslt))) | |
5898 | (inputs | |
5899 | `(("accountsservice" ,accountsservice) | |
5900 | ("clutter-gtk" ,clutter-gtk) | |
5901 | ("colord-gtk" ,colord-gtk) | |
5902 | ("cups" ,cups) | |
5903 | ("dconf" ,dconf) | |
5904 | ("docbook-xsl" ,docbook-xsl) | |
3446ffb5 | 5905 | ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files |
b645146f SB |
5906 | ("gnome-bluetooth" ,gnome-bluetooth) |
5907 | ("gnome-desktop" ,gnome-desktop) | |
5908 | ("gnome-online-accounts" ,gnome-online-accounts) | |
14c297fd | 5909 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
b645146f SB |
5910 | ("gnome-settings-daemon" ,gnome-settings-daemon) |
5911 | ("grilo" ,grilo) | |
5912 | ("ibus" ,ibus) | |
5913 | ("libcanberra" ,libcanberra) | |
1df38cfc | 5914 | ("libgnomekbd" ,libgnomekbd) |
b645146f SB |
5915 | ("libgudev" ,libgudev) |
5916 | ("libgtop" ,libgtop) | |
5917 | ("libpwquality" ,libpwquality) | |
982c0b36 | 5918 | ("libsecret" ,libsecret) |
b645146f SB |
5919 | ("libsoup" ,libsoup) |
5920 | ("libxml2" ,libxml2) | |
5921 | ("libwacom" ,libwacom) | |
5922 | ("mesa" ,mesa) | |
5923 | ("mit-krb5" ,mit-krb5) | |
5924 | ("modem-manager" ,modem-manager) | |
5925 | ("network-manager-applet" ,network-manager-applet) | |
5926 | ("polkit" ,polkit) | |
5927 | ("pulseaudio" ,pulseaudio) | |
5928 | ("smbclient" ,samba) | |
5929 | ("tzdata" ,tzdata) | |
982c0b36 | 5930 | ("udisks" ,udisks) |
b645146f SB |
5931 | ("upower" ,upower))) |
5932 | (synopsis "Utilities to configure the GNOME desktop") | |
5933 | (home-page "https://www.gnome.org/") | |
5934 | (description | |
5935 | "This package contains configuration applets for the GNOME desktop, | |
5936 | allowing to set accessibility configuration, desktop fonts, keyboard and mouse | |
5937 | properties, sound setup, desktop theme and background, user interface | |
5938 | properties, screen resolution, and other GNOME parameters.") | |
5939 | (license license:gpl2+))) | |
a4df5756 SB |
5940 | |
5941 | (define-public gnome-shell | |
5942 | (package | |
5943 | (name "gnome-shell") | |
bd0dc2df | 5944 | (version "3.30.2") |
a4df5756 SB |
5945 | (source (origin |
5946 | (method url-fetch) | |
5947 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5948 | (version-major+minor version) "/" | |
5949 | name "-" version ".tar.xz")) | |
5950 | (sha256 | |
5951 | (base32 | |
bd0dc2df | 5952 | "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2")) |
a76d0f03 LC |
5953 | (patches (search-patches "gnome-shell-theme.patch")) |
5954 | (modules '((guix build utils))) | |
5955 | (snippet | |
5956 | #~(begin | |
a76d0f03 LC |
5957 | ;; Copy images for use on the GDM log-in screen. |
5958 | (copy-file #$(file-append %artwork-repository | |
5959 | "/slim/0.x/background.png") | |
5960 | "data/theme/guix-background.png") | |
45fef894 LC |
5961 | (copy-file #$(file-append %artwork-repository |
5962 | "/logo/Guix-horizontal-white.svg") | |
5963 | "data/theme/guix-logo.svg") | |
a76d0f03 | 5964 | #t)))) |
2b0c755d | 5965 | (build-system meson-build-system) |
a4df5756 | 5966 | (arguments |
08185081 MB |
5967 | `(#:glib-or-gtk? #t |
5968 | #:disallowed-references ((,glib "bin") | |
11e1df56 LC |
5969 | ,inkscape ,libxslt |
5970 | ,ruby-sass) | |
2b0c755d RW |
5971 | #:configure-flags |
5972 | (list "-Dsystemd=false" | |
5973 | ;; Otherwise, the RUNPATH will lack the final path component. | |
5974 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
5975 | (assoc-ref %outputs "out") | |
5976 | "/lib/gnome-shell")) | |
11e1df56 | 5977 | |
08185081 | 5978 | #:modules ((guix build meson-build-system) |
11e1df56 LC |
5979 | (guix build utils) |
5980 | (srfi srfi-1)) | |
5981 | ||
2b0c755d | 5982 | #:phases |
a4df5756 | 5983 | (modify-phases %standard-phases |
2b0c755d | 5984 | (add-after 'unpack 'fix-keysdir |
a4df5756 SB |
5985 | (lambda* (#:key outputs #:allow-other-keys) |
5986 | (let* ((out (assoc-ref outputs "out")) | |
5987 | (keysdir (string-append | |
5988 | out "/share/gnome-control-center/keybindings"))) | |
2b0c755d RW |
5989 | (substitute* "meson.build" |
5990 | (("keysdir =.*") | |
5991 | (string-append "keysdir = '" keysdir "'\n"))) | |
5992 | #t))) | |
ebfe259f MB |
5993 | (add-before 'configure 'convert-logo-to-png |
5994 | (lambda* (#:key inputs #:allow-other-keys) | |
5995 | ;; Convert the logo from SVG to PNG. | |
5996 | (invoke "inkscape" "--export-png=data/theme/guix-logo.png" | |
5997 | "data/theme/guix-logo.svg"))) | |
ba00235a | 5998 | (add-before 'configure 'record-absolute-file-names |
2472cdec LC |
5999 | (lambda* (#:key inputs #:allow-other-keys) |
6000 | (substitute* "js/misc/ibusManager.js" | |
6001 | (("'ibus-daemon'") | |
6002 | (string-append "'" (assoc-ref inputs "ibus") | |
6003 | "/bin/ibus-daemon'"))) | |
d6fda4d3 LC |
6004 | (substitute* "js/ui/status/keyboard.js" |
6005 | (("'gkbd-keyboard-display'") | |
6006 | (string-append "'" (assoc-ref inputs "libgnomekbd") | |
6007 | "/bin/gkbd-keyboard-display'"))) | |
2472cdec | 6008 | #t)) |
2b0c755d RW |
6009 | (add-before 'check 'pre-check |
6010 | (lambda* (#:key inputs #:allow-other-keys) | |
6011 | ;; Tests require a running X server. | |
6012 | (system "Xvfb :1 &") | |
6013 | (setenv "DISPLAY" ":1") | |
6014 | #t)) | |
6015 | (add-after 'install 'wrap-programs | |
6016 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6017 | (let ((out (assoc-ref outputs "out")) | |
6018 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
6019 | (python-path (getenv "PYTHONPATH"))) | |
6020 | (wrap-program (string-append out "/bin/gnome-shell") | |
6021 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
6022 | ;; FIXME: gnome-shell loads these libraries with unqualified | |
6023 | ;; names only, so they need to be on LD_LIBRARY_PATH. The | |
6024 | ;; alternative might be to patch gnome-shell. | |
6025 | `("LD_LIBRARY_PATH" ":" prefix | |
6026 | ,(map (lambda (pkg) | |
6027 | (string-append (assoc-ref inputs pkg) "/lib")) | |
cd8dce8a RW |
6028 | '("gdk-pixbuf" |
6029 | "gnome-bluetooth" "librsvg" "libgweather")))) | |
2b0c755d RW |
6030 | (for-each |
6031 | (lambda (prog) | |
6032 | (wrap-program (string-append out "/bin/" prog) | |
6033 | `("PYTHONPATH" ":" prefix (,python-path)) | |
6034 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
6035 | '("gnome-shell-extension-tool" "gnome-shell-perf-tool")) | |
08185081 | 6036 | #t))) |
11e1df56 LC |
6037 | (replace 'glib-or-gtk-wrap |
6038 | (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap))) | |
6039 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest) | |
6040 | ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS | |
6041 | ;; settings of the wrappers created by the 'glib-or-gtk-wrap' | |
6042 | ;; phase. Fix that since we don't need these. | |
6043 | (wrap #:inputs (fold alist-delete inputs | |
6044 | '("inkscape" "intltool" "glib:bin")) | |
6045 | #:outputs outputs))))))) | |
a4df5756 SB |
6046 | (native-inputs |
6047 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
2b0c755d | 6048 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
a4df5756 | 6049 | ("gobject-introspection" ,gobject-introspection) |
ebfe259f | 6050 | ("inkscape" ,inkscape) |
a4df5756 SB |
6051 | ("intltool" ,intltool) |
6052 | ("pkg-config" ,pkg-config) | |
6053 | ("python" ,python) | |
2b0c755d RW |
6054 | ("ruby-sass" ,ruby-sass) |
6055 | ("sassc" ,sassc) | |
a76d0f03 | 6056 | ("xsltproc" ,libxslt) |
2b0c755d | 6057 | ;; For tests |
0b4504f6 | 6058 | ("xorg-server" ,xorg-server-for-tests))) |
a4df5756 SB |
6059 | (inputs |
6060 | `(("accountsservice" ,accountsservice) | |
6061 | ("caribou" ,caribou) | |
6062 | ("docbook-xsl" ,docbook-xsl) | |
6063 | ("evolution-data-server" ,evolution-data-server) | |
6064 | ("gcr" ,gcr) | |
6065 | ("gdm" ,gdm) | |
c5db31d4 | 6066 | ("gdk-pixbuf" ,gdk-pixbuf+svg) |
a4df5756 SB |
6067 | ("gjs" ,gjs) |
6068 | ("gnome-bluetooth" ,gnome-bluetooth) | |
a4df5756 SB |
6069 | ("gnome-desktop" ,gnome-desktop) |
6070 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
6071 | ("gst-plugins-base" ,gst-plugins-base) | |
6072 | ("ibus" ,ibus) | |
6073 | ("libcanberra" ,libcanberra) | |
6074 | ("libcroco" ,libcroco) | |
d6fda4d3 | 6075 | ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display |
a4df5756 SB |
6076 | ("libgweather" ,libgweather) |
6077 | ("libsoup" ,libsoup) | |
6078 | ("mesa-headers" ,mesa-headers) | |
6079 | ("mutter" ,mutter) | |
6080 | ("network-manager-applet" ,network-manager-applet) | |
6081 | ("polkit" ,polkit) | |
6082 | ("pulseaudio" ,pulseaudio) | |
6083 | ("python-pygobject" ,python-pygobject) | |
6084 | ("startup-notification" ,startup-notification) | |
6085 | ("telepathy-logger" ,telepathy-logger) | |
6086 | ("upower" ,upower) | |
30e760f0 MB |
6087 | ;; XXX: These requirements were added in 3.24, but no mention in NEWS. |
6088 | ;; Missing propagation? See also: <https://bugs.gnu.org/27264> | |
6089 | ("librsvg" ,librsvg) | |
2b0c755d | 6090 | ("geoclue" ,geoclue))) |
a4df5756 SB |
6091 | (synopsis "Desktop shell for GNOME") |
6092 | (home-page "https://wiki.gnome.org/Projects/GnomeShell") | |
6093 | (description | |
6094 | "GNOME Shell provides core user interface functions for the GNOME desktop, | |
6095 | like switching to windows and launching applications.") | |
6096 | (license license:gpl2+))) | |
c3f29bc9 RS |
6097 | |
6098 | (define-public gtk-vnc | |
6099 | (package | |
6100 | (name "gtk-vnc") | |
965ff023 | 6101 | (version "0.9.0") |
c3f29bc9 RS |
6102 | (source |
6103 | (origin | |
6104 | (method url-fetch) | |
6105 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6106 | (version-major+minor version) "/" | |
6107 | name "-" version ".tar.xz")) | |
6108 | (sha256 | |
6109 | (base32 | |
965ff023 | 6110 | "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is")))) |
c3f29bc9 RS |
6111 | (build-system gnu-build-system) |
6112 | (arguments | |
6113 | '(#:configure-flags '("--with-gtk=3.0"))) | |
6114 | (propagated-inputs | |
6115 | `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc. | |
6116 | (inputs | |
6117 | `(("cyrus-sasl" ,cyrus-sasl) | |
6118 | ("gnutls" ,gnutls) | |
6119 | ("libgcrypt" ,libgcrypt) | |
6120 | ("pulseaudio" ,pulseaudio))) | |
6121 | (native-inputs | |
6122 | `(("glib:bin" ,glib "bin") | |
6123 | ("gobject-introspection" ,gobject-introspection) | |
6124 | ("intltool" ,intltool) | |
6125 | ("pkg-config" ,pkg-config) | |
2f17e939 | 6126 | ("python-wrapper" ,python-wrapper) |
c3f29bc9 RS |
6127 | ("vala" ,vala))) |
6128 | (home-page "https://wiki.gnome.org/Projects/gtk-vnc") | |
6129 | (synopsis "VNC viewer widget for GTK+") | |
6130 | (description | |
6131 | "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing | |
6132 | applications, for instance the Vinagre client, GNOME Boxes and virt-viewer. | |
6133 | GTK-VNC implements client side RFB protocol and authentication extensions such | |
6134 | as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.") | |
6135 | (license license:lgpl2.1+))) | |
8b877545 | 6136 | |
dc69fe18 MW |
6137 | (define-public gnome-autoar |
6138 | (package | |
6139 | (name "gnome-autoar") | |
c7da8510 | 6140 | (version "0.2.3") |
dc69fe18 MW |
6141 | (source (origin |
6142 | (method url-fetch) | |
6143 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6144 | (version-major+minor version) "/" | |
6145 | name "-" version ".tar.xz")) | |
6146 | (sha256 | |
6147 | (base32 | |
c7da8510 | 6148 | "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax")))) |
dc69fe18 MW |
6149 | (build-system glib-or-gtk-build-system) |
6150 | (native-inputs | |
6151 | `(("gnome-common" ,gnome-common) | |
6152 | ("gobject-introspection" ,gobject-introspection) | |
6153 | ("pkg-config" ,pkg-config))) | |
6154 | (propagated-inputs | |
6155 | `(("libarchive" ,libarchive))) ; XXX document why | |
6156 | (inputs | |
6157 | `(("gtk+" ,gtk+) | |
6158 | ("nettle" ,nettle))) ; XXX: required by libarchive.pc | |
6159 | (synopsis "Archives integration support for GNOME") | |
6160 | (home-page "https://git.gnome.org/browse/gnome-autoar/") | |
6161 | (description | |
6162 | "GNOME Autoar is a library which makes creating and extracting archives | |
6163 | easy, safe, and automatic.") | |
6164 | (license license:lgpl2.1+))) | |
6165 | ||
b64e217f MW |
6166 | (define-public tracker |
6167 | (package | |
6168 | (name "tracker") | |
c8bdf589 | 6169 | (version "2.0.4") |
b64e217f MW |
6170 | (source (origin |
6171 | (method url-fetch) | |
6172 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6173 | (version-major+minor version) "/" | |
6174 | name "-" version ".tar.xz")) | |
6175 | (sha256 | |
6176 | (base32 | |
c8bdf589 | 6177 | "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf")))) |
b64e217f | 6178 | (build-system glib-or-gtk-build-system) |
c8bdf589 RW |
6179 | (arguments |
6180 | `(#:phases | |
6181 | (modify-phases %standard-phases | |
6182 | (add-after 'unpack 'disable-broken-tests | |
6183 | (lambda _ | |
6184 | ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings | |
6185 | ;; schema 'org.freedesktop.Tracker.FTS' is not installed. | |
6186 | (substitute* "tests/libtracker-miner/Makefile.in" | |
6187 | (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "") | |
6188 | (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "") | |
6189 | (("tracker-monitor-test\\$\\(EXEEXT\\)") "")) | |
6190 | (substitute* "tests/libtracker-fts/Makefile.in" | |
6191 | (("tracker-fts-test\\$\\(EXEEXT\\)") "")) | |
6192 | (substitute* "tests/libtracker-data/Makefile.in" | |
6193 | (("tracker-ontology\\$\\(EXEEXT\\)") "") | |
6194 | (("tracker-ontology-change\\$\\(EXEEXT\\)") "") | |
6195 | (("tracker-backup\\$\\(EXEEXT\\)") "") | |
6196 | (("tracker-sparql-blank\\$\\(EXEEXT\\)") "") | |
6197 | (("tracker-sparql\\$\\(EXEEXT\\)") "")) | |
6198 | ;; These fail because the SPARQL backend could not be loaded. | |
6199 | ;; That's because /etc/machine-id is missing, but | |
6200 | ;; DBUS_FATAL_WARNINGS does not help here. | |
6201 | (substitute* "tests/libtracker-sparql/Makefile.in" | |
6202 | (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "") | |
6203 | (("tracker-sparql-test\\$\\(EXEEXT\\)") "")) | |
6204 | (substitute* "tests/tracker-steroids/Makefile.in" | |
6205 | (("tracker-test\\$\\(EXEEXT\\)") "")) | |
6206 | #t)) | |
6207 | ;; Two tests fail if LANG is not set. | |
6208 | (add-before 'check 'pre-check | |
6209 | (lambda _ | |
6210 | (setenv "LANG" "en_US.UTF-8") | |
6211 | ;; For the missing /etc/machine-id. | |
6212 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
6213 | #t))))) | |
b64e217f MW |
6214 | (native-inputs |
6215 | `(("gnome-common" ,gnome-common) | |
6216 | ("gobject-introspection" ,gobject-introspection) | |
6217 | ("intltool" ,intltool) | |
6218 | ("pkg-config" ,pkg-config) | |
6219 | ("vala" ,vala))) | |
6220 | (inputs | |
6221 | `(("gtk+" ,gtk+) | |
6222 | ("dbus" ,dbus) | |
6223 | ("gstreamer" ,gstreamer) | |
6224 | ("gst-plugins-base" ,gst-plugins-base) | |
44ed6284 | 6225 | ("sqlite" ,sqlite) |
b64e217f | 6226 | ("nettle" ,nettle) ; XXX why is this needed? |
c8bdf589 | 6227 | ("python" ,python) |
b64e217f MW |
6228 | ("poppler" ,poppler) |
6229 | ("libgsf" ,libgsf) | |
6230 | ("libexif" ,libexif) | |
6231 | ("libpng" ,libpng) | |
6232 | ("libtiff" ,libtiff) | |
6233 | ("libvorbis" ,libvorbis) | |
6234 | ("flac" ,flac) | |
6235 | ("totem-pl-parser" ,totem-pl-parser) | |
6236 | ("zlib" ,zlib) | |
6237 | ("exempi" ,exempi) | |
6238 | ("libxml2" ,libxml2) | |
6239 | ("upower" ,upower) | |
b64e217f MW |
6240 | ("libunistring" ,libunistring) |
6241 | ("giflib" ,giflib) | |
0ef48cd9 | 6242 | ("json-glib" ,json-glib) |
b64e217f MW |
6243 | ("openjpeg" ,openjpeg-1) |
6244 | ("libosinfo" ,libosinfo) | |
6245 | ("libcue" ,libcue) | |
6246 | ("libseccomp" ,libseccomp) | |
0ef48cd9 | 6247 | ("libsoup" ,libsoup) |
b64e217f | 6248 | ("libuuid" ,util-linux))) |
b64e217f MW |
6249 | (synopsis "Metadata database, indexer and search tool") |
6250 | (home-page "https://wiki.gnome.org/Projects/Tracker") | |
6251 | (description | |
6252 | "Tracker is an advanced framework for first class objects with associated | |
6253 | metadata and tags. It provides a one stop solution for all metadata, tags, | |
6254 | shared object databases, search tools and indexing.") | |
6255 | ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+, | |
6256 | ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+. | |
6257 | (license (list license:gpl2+ | |
6258 | license:lgpl2.1+ | |
6259 | license:lgpl2.0+)))) | |
6260 | ||
8b877545 RS |
6261 | (define-public nautilus |
6262 | (package | |
6263 | (name "nautilus") | |
c71bb3f2 | 6264 | (version "3.30.5") |
8b877545 RS |
6265 | (source (origin |
6266 | (method url-fetch) | |
6267 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6268 | (version-major+minor version) "/" | |
6269 | name "-" version ".tar.xz")) | |
6270 | (sha256 | |
6271 | (base32 | |
c71bb3f2 | 6272 | "144r4py9b8w9ycsg6fggjg05kwvymh003qsb3h6apgpch5y3zgnv")))) |
35e2d0cf | 6273 | (build-system meson-build-system) |
8b877545 | 6274 | (arguments |
35e2d0cf | 6275 | '(#:glib-or-gtk? #t |
8b877545 RS |
6276 | ;; XXX: FAIL: check-nautilus |
6277 | ;; Settings schema 'org.gnome.nautilus.preferences' is not installed | |
6278 | #:tests? #f)) | |
6279 | (native-inputs | |
35e2d0cf R |
6280 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
6281 | ("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
6282 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
8b877545 RS |
6283 | ("gobject-introspection" ,gobject-introspection) |
6284 | ("intltool" ,intltool) | |
6285 | ("pkg-config" ,pkg-config))) | |
8b877545 | 6286 | (inputs |
8b877545 | 6287 | `(("dconf" ,dconf) |
caf6c363 | 6288 | ("gexiv2" ,gexiv2) |
dd05e731 | 6289 | ("gvfs" ,gvfs) |
8b877545 RS |
6290 | ("exempi" ,exempi) |
6291 | ("gnome-desktop" ,gnome-desktop) | |
09d88905 | 6292 | ("gnome-autoar" ,gnome-autoar) |
ec66ebd4 | 6293 | ("libseccomp" ,libseccomp) |
35e2d0cf R |
6294 | ("libselinux" ,libselinux) |
6295 | ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar | |
09d88905 | 6296 | ("tracker" ,tracker) |
ce6027bf SB |
6297 | ;; XXX: gtk+ is required by libnautilus-extension.pc |
6298 | ;; | |
6299 | ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta | |
6300 | ;; package. See: | |
6301 | ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>. | |
6302 | ("gtk+" ,gtk+) | |
8b877545 RS |
6303 | ("libexif" ,libexif) |
6304 | ("libxml2" ,libxml2))) | |
6305 | (synopsis "File manager for GNOME") | |
6306 | (home-page "https://wiki.gnome.org/Apps/Nautilus") | |
6307 | (description | |
6308 | "Nautilus (Files) is a file manager designed to fit the GNOME desktop | |
6309 | design and behaviour, giving the user a simple way to navigate and manage its | |
6310 | files.") | |
6311 | (license license:gpl2+))) | |
3c697ffd JR |
6312 | |
6313 | (define-public baobab | |
6314 | (package | |
6315 | (name "baobab") | |
d4ae2d15 | 6316 | (version "3.30.0") |
3c697ffd JR |
6317 | (source (origin |
6318 | (method url-fetch) | |
6319 | (uri (string-append | |
6320 | "mirror://gnome/sources/" name "/" | |
6321 | (version-major+minor version) "/" | |
6322 | name "-" version ".tar.xz")) | |
6323 | (sha256 | |
6324 | (base32 | |
d4ae2d15 | 6325 | "0kx721s1hhw1g0nvbqhb93g8iq6f852imyhfhl02zcqy4ipx0kay")))) |
d233d373 RJ |
6326 | (build-system meson-build-system) |
6327 | (arguments | |
6328 | '(#:glib-or-gtk? #t)) | |
3c697ffd JR |
6329 | (native-inputs |
6330 | `(("intltool" ,intltool) | |
6331 | ("pkg-config" ,pkg-config) | |
d233d373 RJ |
6332 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
6333 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
3c697ffd JR |
6334 | ("itstool" ,itstool) |
6335 | ("xmllint" ,libxml2) | |
6336 | ("glib" ,glib "bin") | |
6337 | ("vala" ,vala))) | |
6338 | (inputs | |
6339 | `(("gtk+" ,gtk+))) | |
6340 | (synopsis "Disk usage analyzer for GNOME") | |
6341 | (description | |
6342 | "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk | |
6343 | usage in the GNOME desktop environment. It can easily scan device volumes or | |
6344 | a specific user-requested directory branch (local or remote). Once the scan | |
6345 | is complete it provides a graphical representation of each selected folder.") | |
6346 | (home-page "https://wiki.gnome.org/Apps/Baobab") | |
6347 | (license license:gpl2+))) | |
dc050251 | 6348 | |
fdba447c RS |
6349 | (define-public gnome-backgrounds |
6350 | (package | |
6351 | (name "gnome-backgrounds") | |
29b85910 | 6352 | (version "3.30.0") |
fdba447c RS |
6353 | (source |
6354 | (origin | |
6355 | (method url-fetch) | |
6356 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6357 | (version-major+minor version) "/" | |
6358 | name "-" version ".tar.xz")) | |
6359 | (sha256 | |
6360 | (base32 | |
29b85910 | 6361 | "1179jrl16bp9gqabqhw7nnfp8qzf5y1vf9fi45bni6rfmwm3mrpc")))) |
9ca381f0 | 6362 | (build-system meson-build-system) |
fdba447c RS |
6363 | (native-inputs |
6364 | `(("intltool" ,intltool))) | |
6365 | (home-page "https://git.gnome.org/browse/gnome-backgrounds") | |
6366 | (synopsis "Background images for the GNOME desktop") | |
6367 | (description | |
6368 | "GNOME backgrounds package contains a collection of graphics files which | |
6369 | can be used as backgrounds in the GNOME Desktop environment. Additionally, | |
6370 | the package creates the proper framework and directory structure so that you | |
6371 | can add your own files to the collection.") | |
6372 | (license (list license:gpl2+ | |
6373 | license:cc-by2.0 | |
6374 | license:cc-by-sa2.0 | |
6375 | license:cc-by-sa3.0)))) | |
6376 | ||
b784b1a9 RS |
6377 | (define-public gnome-screenshot |
6378 | (package | |
6379 | (name "gnome-screenshot") | |
8356aefa | 6380 | (version "3.26.0") |
b784b1a9 RS |
6381 | (source |
6382 | (origin | |
6383 | (method url-fetch) | |
6384 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6385 | (version-major+minor version) "/" | |
6386 | name "-" version ".tar.xz")) | |
6387 | (sha256 | |
6388 | (base32 | |
8356aefa RW |
6389 | "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v")))) |
6390 | (build-system meson-build-system) | |
b784b1a9 RS |
6391 | (native-inputs |
6392 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
8356aefa RW |
6393 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
6394 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database | |
b784b1a9 | 6395 | ("intltool" ,intltool) |
8356aefa | 6396 | ("appstream-glib" ,appstream-glib) |
b784b1a9 RS |
6397 | ("pkg-config" ,pkg-config))) |
6398 | (inputs | |
6399 | `(("gtk+" ,gtk+) | |
6400 | ("libcanberra" ,libcanberra) | |
6401 | ("libx11" ,libx11) | |
6402 | ("libxext" ,libxext))) | |
6403 | (home-page "https://git.gnome.org/browse/gnome-screenshot") | |
6404 | (synopsis "Take pictures of your screen") | |
6405 | (description | |
6406 | "GNOME Screenshot is a utility used for taking screenshots of the entire | |
6407 | screen, a window or a user defined area of the screen, with optional | |
6408 | beautifying border effects.") | |
6409 | (license license:gpl2+))) | |
6410 | ||
66d59111 RS |
6411 | (define-public dconf-editor |
6412 | (package | |
6413 | (name "dconf-editor") | |
294ff39d | 6414 | (version "3.28.0") |
66d59111 RS |
6415 | (source |
6416 | (origin | |
6417 | (method url-fetch) | |
6418 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6419 | (version-major+minor version) "/" | |
6420 | name "-" version ".tar.xz")) | |
6421 | (sha256 | |
6422 | (base32 | |
294ff39d RW |
6423 | "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5")))) |
6424 | (build-system meson-build-system) | |
66d59111 RS |
6425 | (native-inputs |
6426 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. | |
294ff39d | 6427 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
66d59111 | 6428 | ("intltool" ,intltool) |
294ff39d RW |
6429 | ("pkg-config" ,pkg-config) |
6430 | ("vala" ,vala))) | |
66d59111 RS |
6431 | (inputs |
6432 | `(("dconf" ,dconf) | |
6433 | ("gtk+" ,gtk+) | |
6434 | ("libxml2" ,libxml2))) | |
6435 | (home-page "https://git.gnome.org/browse/dconf-editor") | |
6436 | (synopsis "Graphical editor for GNOME's dconf configuration system") | |
6437 | (description | |
6438 | "Dconf-editor is a graphical tool for browsing and editing the dconf | |
6439 | configuration system for GNOME. It allows users to configure desktop | |
6440 | software that do not provide their own configuration interface.") | |
6441 | (license license:lgpl2.1+))) | |
6442 | ||
96d36f38 AW |
6443 | (define-public gnome-default-applications |
6444 | (package | |
6445 | (name "gnome-default-applications") | |
6446 | (version "0") | |
6447 | (build-system trivial-build-system) | |
6448 | (source #f) | |
6449 | (propagated-inputs | |
8ad4f0aa LC |
6450 | `(("nautilus" ,nautilus) |
6451 | ("evince" ,evince))) | |
96d36f38 AW |
6452 | (arguments |
6453 | `(#:modules ((guix build utils)) | |
6454 | #:builder | |
6455 | (begin | |
6456 | (use-modules (guix build utils)) | |
6457 | (let* ((out (assoc-ref %outputs "out")) | |
6458 | (apps (string-append out "/share/applications"))) | |
6459 | (mkdir-p apps) | |
6460 | (call-with-output-file (string-append apps "/defaults.list") | |
6461 | (lambda (port) | |
6462 | (format port "[Default Applications]\n") | |
8ad4f0aa LC |
6463 | (format port "inode/directory=org.gnome.Nautilus.desktop\n") |
6464 | (format port "application/pdf=evince.desktop\n") | |
6465 | (format port "application/postscript=evince.desktop\n"))) | |
96d36f38 AW |
6466 | #t)))) |
6467 | (synopsis "Default MIME type associations for the GNOME desktop") | |
6468 | (description | |
6469 | "Given many installed packages which might handle a given MIME type, a | |
6470 | user running the GNOME desktop probably has some preferences: for example, | |
6471 | that folders be opened by default by the Nautilus file manager, not the Baobab | |
6472 | disk usage analyzer. This package establishes that set of default MIME type | |
6473 | associations for GNOME.") | |
6474 | (license license:gpl3+) | |
6475 | (home-page #f))) | |
6476 | ||
dc050251 SB |
6477 | (define-public gnome |
6478 | (package | |
6479 | (name "gnome") | |
6480 | (version (package-version gnome-shell)) | |
6481 | (source #f) | |
6482 | (build-system trivial-build-system) | |
e3cfef22 | 6483 | (arguments '(#:builder (begin (mkdir %output) #t))) |
dc050251 SB |
6484 | (propagated-inputs |
6485 | ;; TODO: Add more packages according to: | |
6486 | ;; <https://packages.debian.org/jessie/gnome-core>. | |
6487 | `(("adwaita-icon-theme" ,adwaita-icon-theme) | |
05f651c4 | 6488 | ("baobab" ,baobab) |
0bd3597b | 6489 | ("font-cantarell" ,font-cantarell) |
a9dbefdc | 6490 | ("font-dejavu" ,font-dejavu) |
dc050251 SB |
6491 | ("at-spi2-core" ,at-spi2-core) |
6492 | ("dbus" ,dbus) | |
6493 | ("dconf" ,dconf) | |
72360453 | 6494 | ("desktop-file-utils" ,desktop-file-utils) |
dc050251 SB |
6495 | ("eog" ,eog) |
6496 | ("epiphany" ,epiphany) | |
6497 | ("evince" ,evince) | |
71d9b980 | 6498 | ("file-roller" ,file-roller) |
dc050251 SB |
6499 | ("gedit" ,gedit) |
6500 | ("glib-networking" ,glib-networking) | |
05f651c4 | 6501 | ("gnome-backgrounds" ,gnome-backgrounds) |
63ad9b80 AW |
6502 | ("gnome-bluetooth" ,gnome-bluetooth) |
6503 | ("gnome-calculator" ,gnome-calculator) | |
dc050251 | 6504 | ("gnome-control-center" ,gnome-control-center) |
63ad9b80 | 6505 | ("gnome-disk-utility" ,gnome-disk-utility) |
96d36f38 | 6506 | ("gnome-default-applications" ,gnome-default-applications) |
dc050251 | 6507 | ("gnome-keyring" ,gnome-keyring) |
63ad9b80 | 6508 | ("gnome-online-accounts" ,gnome-online-accounts) |
dc050251 SB |
6509 | ("gnome-session" ,gnome-session) |
6510 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
6511 | ("gnome-shell" ,gnome-shell) | |
63ad9b80 | 6512 | ("gnome-system-monitor" ,gnome-system-monitor) |
dc050251 SB |
6513 | ("gnome-terminal" ,gnome-terminal) |
6514 | ("gnome-themes-standard" ,gnome-themes-standard) | |
2999dcd5 AW |
6515 | ("gst-plugins-base" ,gst-plugins-base) |
6516 | ("gst-plugins-good" ,gst-plugins-good) | |
63ad9b80 | 6517 | ("gucharmap" ,gucharmap) |
05f651c4 | 6518 | ("gvfs" ,gvfs) |
dc050251 SB |
6519 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
6520 | ("nautilus" ,nautilus) | |
69308043 | 6521 | ("pinentry-gnome3" ,pinentry-gnome3) |
dc050251 SB |
6522 | ("pulseaudio" ,pulseaudio) |
6523 | ("shared-mime-info" ,shared-mime-info) | |
f6f4370f | 6524 | ("system-config-printer" ,system-config-printer) |
dc050251 | 6525 | ("totem" ,totem) |
c20cd0d2 | 6526 | ("xdg-user-dirs" ,xdg-user-dirs) |
dc050251 SB |
6527 | ("yelp" ,yelp) |
6528 | ("zenity" ,zenity))) | |
fe4e698d | 6529 | (synopsis "The GNU desktop environment") |
dc050251 SB |
6530 | (home-page "https://www.gnome.org/") |
6531 | (description | |
fe4e698d LC |
6532 | "GNOME is the graphical desktop for GNU. It includes a wide variety of |
6533 | applications for browsing the web, editing text and images, creating | |
6534 | documents and diagrams, playing media, scanning, and much more.") | |
dc050251 | 6535 | (license license:gpl2+))) |
4a526711 DT |
6536 | |
6537 | (define-public byzanz | |
6538 | ;; The last stable release of Byzanz was in 2011, but there have been many | |
6539 | ;; useful commits made to the Byzanz repository since then that it would be | |
6540 | ;; silly to use such an old release. | |
6541 | (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af")) | |
6542 | (package | |
6543 | (name "byzanz") | |
6544 | (version (string-append "0.2-1." (string-take commit 7))) | |
6545 | (source (origin | |
6546 | (method git-fetch) | |
6547 | (uri (git-reference | |
5f13bf09 | 6548 | (url "https://git.gnome.org/browse/byzanz") |
4a526711 | 6549 | (commit commit))) |
5a6527e4 | 6550 | (file-name (string-append name "-" version "-checkout")) |
4a526711 DT |
6551 | (sha256 |
6552 | (base32 | |
6553 | "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3")))) | |
6554 | (build-system glib-or-gtk-build-system) | |
6555 | (arguments | |
6556 | '(#:phases | |
6557 | (modify-phases %standard-phases | |
189be331 | 6558 | (replace 'bootstrap |
4a526711 DT |
6559 | (lambda _ |
6560 | ;; The build system cleverly detects that we're not building from | |
6561 | ;; a release tarball and turns on -Werror for GCC. | |
6562 | ;; Unsurprisingly, there is a warning during compilation that | |
6563 | ;; causes the build to fail unnecessarily, so we remove the flag. | |
6564 | (substitute* '("configure.ac") | |
6565 | (("-Werror") "")) | |
6566 | ;; The autogen.sh script in gnome-common will run ./configure | |
6567 | ;; by default, which is problematic because source shebangs | |
6568 | ;; have not yet been patched. | |
6569 | (setenv "NOCONFIGURE" "t") | |
6570 | (zero? (system* "sh" "autogen.sh"))))))) | |
6571 | (native-inputs | |
6572 | `(("autoconf" ,autoconf) | |
6573 | ("automake" ,automake) | |
6574 | ("gnome-common" ,gnome-common) | |
6575 | ("intltool" ,intltool) | |
6576 | ("libtool" ,libtool) | |
6577 | ("pkg-config" ,pkg-config) | |
6578 | ("which" ,which))) | |
6579 | (inputs | |
6580 | `(("glib" ,glib) | |
6581 | ("gstreamer" ,gstreamer) | |
6582 | ("gst-plugins-base" ,gst-plugins-base) | |
6583 | ("gtk+" ,gtk+))) | |
6584 | (synopsis "Desktop recording program") | |
6585 | (description "Byzanz is a simple desktop recording program with a | |
6586 | command-line interface. It can record part or all of an X display for a | |
6587 | specified duration and save it as a GIF encoded animated image file.") | |
6588 | (home-page "https://git.gnome.org/browse/byzanz") | |
6589 | (license license:gpl2+)))) | |
3a9a4c51 | 6590 | |
0ec171ec MS |
6591 | (define-public gsound |
6592 | (package | |
6593 | (name "gsound") | |
6594 | (version "1.0.2") | |
6595 | (source (origin | |
6596 | (method url-fetch) | |
6597 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6598 | (version-major+minor version) "/" | |
6599 | name "-" version ".tar.xz")) | |
6600 | (sha256 | |
6601 | (base32 | |
6602 | "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v")))) | |
6603 | (build-system glib-or-gtk-build-system) | |
6604 | (native-inputs | |
6605 | `(("pkg-config" ,pkg-config) | |
6606 | ("gobject-introspection" ,gobject-introspection) | |
6607 | ("vala" ,vala))) | |
6608 | (inputs | |
6609 | `(("glib" ,glib) | |
6610 | ("libcanberra" ,libcanberra))) | |
6611 | (home-page "https://wiki.gnome.org/Projects/GSound") | |
6612 | (synopsis "GObject wrapper for libcanberra") | |
6613 | (description | |
6614 | "GSound is a small library for playing system sounds. It's designed to be | |
6615 | used via GObject Introspection, and is a thin wrapper around the libcanberra C | |
6616 | library.") | |
6617 | (license license:lgpl2.1+))) | |
6618 | ||
3a9a4c51 RS |
6619 | (define-public libzapojit |
6620 | (package | |
6621 | (name "libzapojit") | |
6622 | (version "0.0.3") | |
6623 | (source (origin | |
6624 | (method url-fetch) | |
6625 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6626 | (version-major+minor version) "/" | |
6627 | name "-" version ".tar.xz")) | |
6628 | (sha256 | |
6629 | (base32 | |
6630 | "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x")))) | |
6631 | (build-system gnu-build-system) | |
6632 | (native-inputs | |
6633 | `(("gobject-introspection" ,gobject-introspection) | |
6634 | ("intltool" ,intltool) | |
6635 | ("pkg-config" ,pkg-config))) | |
6636 | (inputs | |
14c297fd | 6637 | `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
3a9a4c51 RS |
6638 | ("json-glib" ,json-glib) |
6639 | ("rest" ,rest))) | |
6640 | (home-page "https://wiki.gnome.org/Projects/Zapojit") | |
6641 | (synopsis "Library for accessing SkyDrive and Hotmail") | |
6642 | (description | |
6643 | "Libzapojit is a GLib-based library for accessing online service APIs of | |
6644 | Microsoft SkyDrive and Hotmail, using their REST protocols.") | |
6645 | (license license:lgpl2.1+))) | |
9365ee1c | 6646 | |
60e2a9ae MS |
6647 | (define-public gnome-clocks |
6648 | (package | |
6649 | (name "gnome-clocks") | |
80d1e4c0 | 6650 | (version "3.28.0") |
60e2a9ae MS |
6651 | (source (origin |
6652 | (method url-fetch) | |
6653 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6654 | (version-major+minor version) "/" | |
6655 | name "-" version ".tar.xz")) | |
6656 | (sha256 | |
6657 | (base32 | |
80d1e4c0 | 6658 | "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl")))) |
60e2a9ae MS |
6659 | (build-system meson-build-system) |
6660 | (arguments | |
6661 | '(#:glib-or-gtk? #t)) | |
6662 | (native-inputs | |
6663 | `(("vala" ,vala) | |
6664 | ("pkg-config" ,pkg-config) | |
6665 | ("glib" ,glib "bin") ; for glib-compile-resources | |
6666 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
6667 | ("desktop-file-utils" ,desktop-file-utils) | |
6668 | ("gettext" ,gettext-minimal) | |
6669 | ("itstool" ,itstool))) | |
6670 | (inputs | |
6671 | `(("glib" ,glib) | |
6672 | ("gtk+" ,gtk+) | |
6673 | ("gsound" ,gsound) | |
6674 | ("geoclue" ,geoclue) | |
6675 | ("geocode-glib" ,geocode-glib) | |
6676 | ("libgweather" ,libgweather) | |
6677 | ("gnome-desktop" ,gnome-desktop))) | |
6678 | (home-page "https://wiki.gnome.org/Apps/Clocks") | |
6679 | (synopsis "GNOME's clock application") | |
6680 | (description | |
6681 | "GNOME Clocks is a simple clocks application designed to fit the GNOME | |
6682 | desktop. It supports world clock, stop watch, alarms, and count down timer.") | |
6683 | (license license:gpl3+))) | |
6684 | ||
3c474897 KY |
6685 | (define-public gnome-calendar |
6686 | (package | |
6687 | (name "gnome-calendar") | |
a286b5eb | 6688 | (version "3.28.2") |
3c474897 KY |
6689 | (source (origin |
6690 | (method url-fetch) | |
6691 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6692 | (version-major+minor version) "/" | |
6693 | name "-" version ".tar.xz")) | |
6694 | (sha256 | |
6695 | (base32 | |
a286b5eb | 6696 | "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw")))) |
a49d3e37 MS |
6697 | (build-system meson-build-system) |
6698 | (arguments | |
6699 | '(#:glib-or-gtk? #t | |
6700 | ;; gnome-calendar has to be installed before the tests can be run | |
6701 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224 | |
6702 | #:tests? #f)) | |
3c474897 | 6703 | (native-inputs |
a49d3e37 MS |
6704 | `(("gettext" ,gettext-minimal) |
6705 | ("glib-bin" ,glib "bin") ; For glib-compile-schemas | |
6706 | ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
3c474897 KY |
6707 | ("pkg-config" ,pkg-config))) |
6708 | (inputs | |
a49d3e37 | 6709 | `(("evolution-data-server" ,evolution-data-server) |
14c297fd | 6710 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
a286b5eb RW |
6711 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
6712 | ("libdazzle" ,libdazzle) | |
b63c06f1 | 6713 | ("libedataserverui" ,evolution-data-server) |
a286b5eb RW |
6714 | ("libgweather" ,libgweather) |
6715 | ("geoclue" ,geoclue))) | |
3c474897 KY |
6716 | (home-page "https://wiki.gnome.org/Apps/Calendar") |
6717 | (synopsis "GNOME's calendar application") | |
6718 | (description | |
6719 | "GNOME Calendar is a simple calendar application designed to fit the GNOME | |
a49d3e37 | 6720 | desktop. It supports multiple calendars, month, week and year view.") |
3c474897 KY |
6721 | (license license:gpl3+))) |
6722 | ||
57b14665 MS |
6723 | (define-public gnome-todo |
6724 | (package | |
6725 | (name "gnome-todo") | |
9f3c6c88 | 6726 | (version "3.28.1") |
57b14665 MS |
6727 | (source (origin |
6728 | (method url-fetch) | |
6729 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6730 | (version-major+minor version) "/" | |
6731 | name "-" version ".tar.xz")) | |
6732 | (sha256 | |
6733 | (base32 | |
9f3c6c88 | 6734 | "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7")))) |
57b14665 MS |
6735 | (build-system meson-build-system) |
6736 | (arguments | |
6737 | '(#:glib-or-gtk? #t | |
6738 | #:phases (modify-phases %standard-phases | |
6739 | (add-after | |
6740 | 'install 'wrap-gnome-todo | |
6741 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6742 | (let ((out (assoc-ref outputs "out")) | |
6743 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
6744 | (python-path (getenv "PYTHONPATH"))) | |
6745 | (wrap-program (string-append out "/bin/gnome-todo") | |
6746 | ;; XXX: gi plugins are broken. | |
6747 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212 | |
6748 | ;; For plugins. | |
6749 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
6750 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
6751 | #t))))) | |
6752 | (native-inputs | |
6753 | `(("gettext" ,gettext-minimal) | |
6754 | ("gobject-introspection" ,gobject-introspection) | |
6755 | ("glib:bin" ,glib "bin") ; For glib-compile-resources | |
6756 | ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
6757 | ("pkg-config" ,pkg-config))) | |
6758 | (inputs | |
6759 | `(("rest" ,rest) ; For Todoist plugin | |
6760 | ("json-glib" ,json-glib) ; For Todoist plugin | |
b63c06f1 | 6761 | ("libedataserverui" ,evolution-data-server) |
57b14665 MS |
6762 | ("libical" ,libical) |
6763 | ("libpeas" ,libpeas) | |
6764 | ("python-pygobject" ,python-pygobject) | |
6765 | ("evolution-data-server" ,evolution-data-server) | |
14c297fd | 6766 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
57b14665 MS |
6767 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) |
6768 | (home-page "https://wiki.gnome.org/Apps/Todo") | |
6769 | (synopsis "GNOME's ToDo Application") | |
6770 | (description | |
6771 | "GNOME To Do is a simplistic personal task manager designed to perfectly | |
6772 | fit the GNOME desktop.") | |
6773 | (license license:gpl3+))) | |
6774 | ||
ab179eaf SB |
6775 | (define-public gnome-dictionary |
6776 | (package | |
6777 | (name "gnome-dictionary") | |
cf81ddef | 6778 | (version "3.26.1") |
ab179eaf SB |
6779 | (source (origin |
6780 | (method url-fetch) | |
6781 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6782 | (version-major+minor version) "/" | |
6783 | name "-" version ".tar.xz")) | |
6784 | (sha256 | |
6785 | (base32 | |
cf81ddef LC |
6786 | "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n")))) |
6787 | (build-system meson-build-system) | |
2776b5d5 MB |
6788 | (arguments '(#:glib-or-gtk? #t |
6789 | #:phases (modify-phases %standard-phases | |
6790 | (add-after 'unpack 'patch-install-script | |
6791 | (lambda _ | |
6792 | ;; This script attempts to compile glib schemas | |
6793 | ;; and create an empty MIME database. We do | |
6794 | ;; that elsewhere, so prevent it from running. | |
6795 | (substitute* "build-aux/post-install.sh" | |
6796 | (("\\[ -z \"\\$DESTDIR\" \\]") "false")) | |
6797 | #t))))) | |
ab179eaf SB |
6798 | (native-inputs |
6799 | `(("glib:bin" ,glib "bin") | |
6800 | ("gobject-introspection" ,gobject-introspection) | |
6801 | ("intltool" ,intltool) | |
6802 | ("itstool" ,itstool) | |
6803 | ("pkg-config" ,pkg-config) | |
6804 | ("xmllint" ,libxml2))) | |
6805 | (inputs | |
6806 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
6807 | ("gtk+" ,gtk+))) | |
6808 | (home-page "https://wiki.gnome.org/Apps/Dictionary") | |
6809 | (synopsis "Look up words in dictionary sources") | |
6810 | (description | |
6811 | "GNOME Dictionary can look for the definition or translation of a word in | |
6812 | existing databases over the internet.") | |
6813 | (license license:gpl3+))) | |
6814 | ||
d13f3a03 | 6815 | (define-public gnome-tweaks |
9365ee1c | 6816 | (package |
d13f3a03 | 6817 | (name "gnome-tweaks") |
9d4d439b | 6818 | (version "3.30.2") |
9365ee1c JN |
6819 | (source (origin |
6820 | (method url-fetch) | |
d13f3a03 | 6821 | (uri (string-append "mirror://gnome/sources/gnome-tweaks/" |
9365ee1c | 6822 | (version-major+minor version) "/" |
d13f3a03 RW |
6823 | "gnome-tweaks-" version ".tar.xz")) |
6824 | (patches | |
6825 | (list (search-patch "gnome-tweaks-search-paths.patch"))) | |
9365ee1c JN |
6826 | (sha256 |
6827 | (base32 | |
9d4d439b | 6828 | "0j63siy1i5pl2g6di1r9vjn54m9ahh42wj20j6689pza2lamay1z")))) |
d13f3a03 | 6829 | (build-system meson-build-system) |
9365ee1c | 6830 | (arguments |
d13f3a03 RW |
6831 | `(#:glib-or-gtk? #t |
6832 | #:configure-flags '("-Dlocalstatedir=/tmp" | |
6833 | "-Dsysconfdir=/tmp") | |
9365ee1c | 6834 | #:imported-modules ((guix build python-build-system) |
d13f3a03 RW |
6835 | ,@%meson-build-system-modules) |
6836 | #:phases | |
6837 | (modify-phases %standard-phases | |
6838 | (add-after 'install 'wrap | |
6839 | (@@ (guix build python-build-system) wrap)) | |
6840 | (add-after 'wrap 'wrap-gi-typelib | |
6841 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6842 | (let ((out (assoc-ref outputs "out")) | |
6843 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
6844 | (wrap-program (string-append out "/bin/gnome-tweaks") | |
6845 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
6846 | #t))))) | |
9365ee1c | 6847 | (native-inputs |
c7fc414e RH |
6848 | `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache |
6849 | ("intltool" ,intltool) | |
9365ee1c JN |
6850 | ("pkg-config" ,pkg-config))) |
6851 | (inputs | |
c7fc414e RH |
6852 | `(("gnome-desktop" ,gnome-desktop) |
6853 | ("gtk+" ,gtk+) | |
9365ee1c JN |
6854 | ("gobject-introspection" ,gobject-introspection) |
6855 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
c7fc414e RH |
6856 | ("libnotify" ,libnotify) |
6857 | ("libsoup" ,libsoup) | |
6858 | ("nautilus" ,nautilus) | |
6859 | ("python" ,python) | |
6860 | ("python-pygobject" ,python-pygobject))) | |
9365ee1c | 6861 | (synopsis "Customize advanced GNOME 3 options") |
d13f3a03 | 6862 | (home-page "https://wiki.gnome.org/Apps/Tweaks") |
9365ee1c | 6863 | (description |
d13f3a03 | 6864 | "GNOME Tweaks allows adjusting advanced configuration settings in |
9365ee1c JN |
6865 | GNOME 3. This includes things like the fonts used in user interface elements, |
6866 | alternative user interface themes, changes in window management behavior, | |
6867 | GNOME Shell appearance and extension, etc.") | |
6868 | (license license:gpl3+))) | |
813f814a | 6869 | |
d13f3a03 RW |
6870 | ;; This package has been renamed by upstream. |
6871 | (define-public gnome-tweak-tool | |
6872 | (deprecated-package "gnome-tweak-tool" gnome-tweaks)) | |
6873 | ||
32ac717c DT |
6874 | (define-public gnome-shell-extensions |
6875 | (package | |
6876 | (name "gnome-shell-extensions") | |
100f625b | 6877 | (version "3.28.1") |
32ac717c DT |
6878 | (source (origin |
6879 | (method url-fetch) | |
6880 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6881 | (version-major+minor version) "/" | |
6882 | name "-" version ".tar.xz")) | |
6883 | (sha256 | |
6884 | (base32 | |
100f625b RW |
6885 | "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9")))) |
6886 | (build-system meson-build-system) | |
32ac717c | 6887 | (arguments |
100f625b | 6888 | '(#:configure-flags '("-Dextension_set=all"))) |
32ac717c DT |
6889 | (native-inputs |
6890 | `(("intltool" ,intltool) | |
6891 | ("pkg-config" ,pkg-config))) | |
6892 | (propagated-inputs | |
6893 | `(("glib" ,glib) | |
6894 | ("glib" ,glib "bin"))) | |
6895 | (synopsis "Extensions for GNOME Shell") | |
6896 | (description "GNOME Shell extensions modify and extend GNOME Shell | |
6897 | functionality and behavior.") | |
6898 | (home-page "https://extensions.gnome.org/") | |
6899 | (license license:gpl3+))) | |
6900 | ||
a7a31827 GL |
6901 | (define-public numix-theme |
6902 | (package | |
6903 | (name "numix-theme") | |
6904 | (version "2.6.7") | |
6905 | (source (origin | |
6906 | (method git-fetch) | |
6907 | (uri (git-reference | |
6908 | (url "https://github.com/numixproject/numix-gtk-theme.git") | |
6909 | (commit version))) | |
6910 | (file-name (git-file-name name version)) | |
6911 | (sha256 | |
6912 | (base32 | |
6913 | "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7")))) | |
6914 | (build-system gnu-build-system) | |
6915 | (arguments | |
6916 | '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))) | |
6917 | #:phases | |
6918 | (modify-phases %standard-phases | |
6919 | (delete 'configure) | |
6920 | (delete 'check)))) | |
6921 | (native-inputs | |
6922 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas | |
6923 | ("gnome-shell" ,gnome-shell) | |
6924 | ("gtk+" ,gtk+) | |
6925 | ("xmllint" ,libxml2) | |
6926 | ("ruby-sass" ,ruby-sass))) | |
6927 | (synopsis "Flat theme with light and dark elements") | |
6928 | (description "Numix is a modern flat theme with a combination of light and | |
6929 | dark elements. It supports GNOME, Unity, Xfce, and Openbox.") | |
6930 | (home-page "https://numixproject.github.io") | |
6931 | (license license:gpl3+))) | |
6932 | ||
813f814a DT |
6933 | (define-public arc-theme |
6934 | (package | |
6935 | (name "arc-theme") | |
a18f8eaf | 6936 | (version "20181022") |
813f814a | 6937 | (source (origin |
a18f8eaf BH |
6938 | (method git-fetch) |
6939 | (uri (git-reference | |
6940 | (url "https://github.com/NicoHood/arc-theme.git") | |
6941 | (commit version))) | |
6942 | (file-name (git-file-name name version)) | |
813f814a DT |
6943 | (sha256 |
6944 | (base32 | |
a18f8eaf | 6945 | "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663")))) |
813f814a | 6946 | (build-system gnu-build-system) |
d88884fa EF |
6947 | (arguments |
6948 | '(#:phases | |
6949 | (modify-phases %standard-phases | |
6950 | ;; autogen.sh calls configure at the end of the script. | |
6951 | (replace 'bootstrap | |
6952 | (lambda _ (invoke "autoreconf" "-vfi")))))) | |
813f814a DT |
6953 | (native-inputs |
6954 | `(("autoconf" ,autoconf) | |
6955 | ("automake" ,automake) | |
a18f8eaf BH |
6956 | ("glib" ,glib "bin") ; for glib-compile-resources |
6957 | ("gnome-shell" ,gnome-shell) | |
6958 | ("gtk+" ,gtk+) | |
6959 | ("inkscape" ,inkscape) | |
6960 | ("optipng" ,optipng) | |
6961 | ("pkg-config" ,pkg-config) | |
6962 | ("sassc" ,sassc))) | |
813f814a DT |
6963 | (synopsis "A flat GTK+ theme with transparent elements") |
6964 | (description "Arc is a flat theme with transparent elements for GTK 3, GTK | |
6965 | 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments | |
6966 | like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.") | |
6967 | (home-page "https://github.com/horst3180/arc-theme") | |
6968 | ;; No "or later" language found. | |
a18f8eaf | 6969 | (license license:gpl3+))) |
9987c57c | 6970 | |
d935e6a1 | 6971 | (define-public faba-icon-theme |
9987c57c | 6972 | (package |
d935e6a1 | 6973 | (name "faba-icon-theme") |
2eee7ee3 | 6974 | (version "4.3") |
d935e6a1 BT |
6975 | (source |
6976 | (origin | |
6977 | (method url-fetch) | |
6978 | (uri (string-append "https://github.com/moka-project/" | |
6979 | name "/archive/v" version ".tar.gz")) | |
6980 | (file-name (string-append name "-" version ".tar.gz")) | |
6981 | (sha256 | |
6982 | (base32 | |
2eee7ee3 | 6983 | "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68")))) |
f6a9b345 | 6984 | (build-system meson-build-system) |
9987c57c | 6985 | (arguments |
82da291a | 6986 | `(#:phases |
9987c57c | 6987 | (modify-phases %standard-phases |
82da291a | 6988 | (add-before 'configure 'disable-post-install |
9987c57c | 6989 | (lambda _ |
82da291a JL |
6990 | (substitute* "meson.build" |
6991 | (("meson.add_install_script.*") ""))))))) | |
9987c57c DT |
6992 | (native-inputs |
6993 | `(("autoconf" ,autoconf) | |
6994 | ("automake" ,automake))) | |
d935e6a1 BT |
6995 | (synopsis "Faba icon theme") |
6996 | (description | |
6997 | "Faba is a minimal icon set used as a basis for other themes such as | |
6998 | Moka") | |
6999 | (home-page "https://snwh.org/moka") | |
7000 | (license (list license:lgpl3+ | |
7001 | license:cc-by-sa4.0)))) | |
7002 | ||
9987c57c DT |
7003 | (define-public moka-icon-theme |
7004 | (package | |
8b0e4177 | 7005 | (inherit faba-icon-theme) |
9987c57c | 7006 | (name "moka-icon-theme") |
105a3625 | 7007 | (version "5.4.0") |
9987c57c DT |
7008 | (source (origin |
7009 | (method url-fetch) | |
7010 | (uri (string-append "https://github.com/moka-project" | |
7011 | "/moka-icon-theme/archive/v" | |
7012 | version ".tar.gz")) | |
7013 | (file-name (string-append name "-" version ".tar.gz")) | |
7014 | (sha256 | |
7015 | (base32 | |
105a3625 | 7016 | "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk")))) |
550281fb BT |
7017 | (propagated-inputs |
7018 | ;; Moka is based on Faba by using it as a fallback icon set instead of | |
7019 | ;; bundling it, so we need to add it as a propagated input. | |
7020 | `(("faba-icon-theme" ,faba-icon-theme))) | |
9987c57c DT |
7021 | (synopsis "Moka icon theme") |
7022 | (description "Moka is a stylized desktop icon set, designed to be clear, | |
7023 | simple and consistent.") | |
fedde43b BT |
7024 | (license (list license:gpl3+ |
7025 | license:cc-by-sa4.0)))) | |
6fd8f8d6 DT |
7026 | |
7027 | (define-public arc-icon-theme | |
7028 | (package | |
7029 | (name "arc-icon-theme") | |
c4180240 | 7030 | (version "20161122") |
6fd8f8d6 DT |
7031 | (source (origin |
7032 | (method url-fetch) | |
7033 | (uri (string-append "https://github.com/horst3180/arc-icon-theme" | |
7034 | "/archive/" version ".tar.gz")) | |
7035 | (file-name (string-append name "-" version ".tar.gz")) | |
7036 | (sha256 | |
7037 | (base32 | |
c4180240 | 7038 | "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b")))) |
6fd8f8d6 | 7039 | (build-system gnu-build-system) |
9e1ede95 JL |
7040 | (arguments |
7041 | `(#:phases | |
7042 | (modify-phases %standard-phases | |
7043 | (add-after 'unpack 'disable-configure-during-bootstrap | |
7044 | (lambda _ | |
7045 | (substitute* "autogen.sh" | |
7046 | (("^\"\\$srcdir/configure\".*") "")) | |
7047 | #t))))) | |
6fd8f8d6 DT |
7048 | (native-inputs |
7049 | `(("autoconf" ,autoconf) | |
7050 | ("automake" ,automake))) | |
7051 | ;; When Arc is missing an icon, it looks in the Moka icon theme for it. | |
7052 | (propagated-inputs | |
7053 | `(("moka-icon-theme" ,moka-icon-theme))) | |
7054 | (synopsis "Arc icon theme") | |
7055 | (description "The Arc icon theme provides a set of icons matching the | |
7056 | style of the Arc GTK theme. Icons missing from the Arc theme are provided by | |
7057 | the Moka icon theme.") | |
7058 | (home-page "https://github.com/horst3180/arc-icon-theme") | |
7059 | (license license:gpl3+))) | |
6064a4e8 LF |
7060 | |
7061 | (define-public folks | |
7062 | (package | |
7063 | (name "folks") | |
d23495fa | 7064 | (version "0.11.4") |
6064a4e8 LF |
7065 | (source (origin |
7066 | (method url-fetch) | |
7067 | (uri (string-append | |
e5f4796e | 7068 | "mirror://gnome/sources/folks/" |
6064a4e8 | 7069 | (version-major+minor version) "/" |
e5f4796e | 7070 | "folks-" version ".tar.xz")) |
6064a4e8 LF |
7071 | (sha256 |
7072 | (base32 | |
d23495fa | 7073 | "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57")))) |
6064a4e8 LF |
7074 | (build-system glib-or-gtk-build-system) |
7075 | (inputs | |
7076 | `(("bdb" ,bdb) | |
7077 | ("dbus-glib" ,dbus-glib) | |
7078 | ("evolution-data-server" ,evolution-data-server) | |
7079 | ("glib" ,glib) | |
7080 | ("libgee" ,libgee) | |
7081 | ("telepathy-glib" ,telepathy-glib))) | |
7082 | (native-inputs | |
7083 | `(("gobject-introspection" ,gobject-introspection) | |
7084 | ("intltool" ,intltool) | |
7085 | ("pkg-config" ,pkg-config) | |
7086 | ("vala" ,vala))) | |
7087 | (synopsis "Library to aggregate data about people") | |
7088 | (description "Libfolks is a library that aggregates information about people | |
7089 | from multiple sources (e.g., Telepathy connection managers for IM contacts, | |
7090 | Evolution Data Server for local contacts, libsocialweb for web service contacts, | |
7091 | etc.) to create metacontacts. It's written in Vala, which generates C code when | |
7092 | compiled.") | |
7093 | (home-page "https://wiki.gnome.org/Projects/Folks") | |
7094 | (license license:lgpl2.1+))) | |
01ea778f LF |
7095 | |
7096 | (define-public gfbgraph | |
7097 | (package | |
7098 | (name "gfbgraph") | |
7099 | (version "0.2.3") | |
7100 | (source (origin | |
7101 | (method url-fetch) | |
7102 | (uri (string-append | |
7103 | "mirror://gnome/sources/" name "/" | |
7104 | (version-major+minor version) "/" | |
7105 | name "-" version ".tar.xz")) | |
7106 | (sha256 | |
7107 | (base32 | |
7108 | "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs")))) | |
7109 | (build-system glib-or-gtk-build-system) | |
7110 | (arguments | |
7111 | `(#:tests? #f ; Tests appear to require the network. | |
7112 | ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input. | |
7113 | #:configure-flags '("--disable-gtk-doc" | |
7114 | "--disable-static" | |
7115 | "--enable-introspection"))) | |
7116 | (native-inputs | |
7117 | `(("pkg-config" ,pkg-config) | |
7118 | ("gobject-introspection" ,gobject-introspection))) | |
7119 | (inputs | |
7120 | `(("json-glib" ,json-glib) | |
14c297fd | 7121 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
01ea778f LF |
7122 | ("rest" ,rest))) |
7123 | (synopsis "GLib/GObject wrapper for the Facebook API") | |
7124 | (description "This library allows you to use the Facebook API from | |
7125 | GLib/GObject code.") | |
7126 | (home-page "https://wiki.gnome.org/Projects/GFBGraph") | |
7127 | (license license:lgpl2.1+))) | |
3920868c | 7128 | |
7129 | (define-public libgnomekbd | |
7130 | (package | |
7131 | (name "libgnomekbd") | |
70f2b0f9 | 7132 | (version "3.26.1") |
3920868c | 7133 | (source (origin |
7134 | (method url-fetch) | |
7135 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7136 | (version-major+minor version) "/" | |
7137 | name "-" version ".tar.xz")) | |
7138 | (sha256 | |
7139 | (base32 | |
70f2b0f9 | 7140 | "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp")))) |
3920868c | 7141 | (build-system gnu-build-system) |
7142 | (native-inputs | |
7143 | `(("pkg-config" ,pkg-config) | |
7144 | ("glib" ,glib "bin") | |
7145 | ("intltool" ,intltool))) | |
7146 | (propagated-inputs | |
7147 | ;; Referred to in .h files and .pc. | |
7148 | `(("glib" ,glib) | |
7149 | ("gtk+" ,gtk+) | |
7150 | ("libxklavier" ,libxklavier))) | |
7151 | (home-page "https://www.gnome.org") | |
7152 | (synopsis "GNOME keyboard configuration library") | |
7153 | (description | |
7154 | "Libgnomekbd is a keyboard configuration library for the GNOME desktop | |
7155 | environment, which can notably display keyboard layouts.") | |
7156 | (license license:lgpl2.0+))) | |
85327d0d | 7157 | |
7158 | ;;; This package is no longer maintained: | |
7159 | ;;; https://wiki.gnome.org/Attic/LibUnique | |
7160 | ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged. | |
7161 | ;;; Applications should use the GtkApplication class provided by GTK+ 3.0." | |
7162 | (define-public libunique | |
7163 | (package | |
7164 | (name "libunique") | |
7165 | (version "3.0.2") | |
7166 | (source (origin | |
7167 | (method url-fetch) | |
7168 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7169 | (version-major+minor version) "/" | |
7170 | name "-" version ".tar.xz")) | |
7171 | (sha256 | |
7172 | (base32 | |
7173 | "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58")))) | |
7174 | (build-system glib-or-gtk-build-system) | |
7175 | (arguments | |
7176 | `(#:configure-flags '("--disable-static" | |
7177 | "--disable-dbus" ; use gdbus | |
7178 | "--enable-introspection"))) | |
7179 | (native-inputs | |
7180 | `(("pkg-config" ,pkg-config) | |
7181 | ("gobject-introspection" ,gobject-introspection) | |
7182 | ("glib:bin" ,glib "bin") | |
7183 | ("gtk-doc" ,gtk-doc))) | |
7184 | (propagated-inputs | |
7185 | ;; Referred to in .h files and .pc. | |
7186 | `(("gtk+" ,gtk+))) | |
7187 | (home-page "https://wiki.gnome.org/Attic/LibUnique") | |
7188 | (synopsis "Library for writing single instance applications") | |
7189 | (description | |
7190 | "Libunique is a library for writing single instance applications. If you | |
7191 | launch a single instance application twice, the second instance will either just | |
7192 | quit or will send a message to the running instance. Libunique makes it easy to | |
7193 | write this kind of application, by providing a base class, taking care of all | |
7194 | the IPC machinery needed to send messages to a running instance, and also | |
7195 | handling the startup notification side.") | |
7196 | (license license:lgpl2.1+))) | |
54021cd8 RS |
7197 | |
7198 | (define-public gnome-calculator | |
7199 | (package | |
7200 | (name "gnome-calculator") | |
07ace641 | 7201 | (version "3.32.2") |
54021cd8 RS |
7202 | (source |
7203 | (origin | |
7204 | (method url-fetch) | |
7205 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7206 | (version-major+minor version) "/" | |
7207 | name "-" version ".tar.xz")) | |
7208 | (sha256 | |
7209 | (base32 | |
07ace641 | 7210 | "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41")))) |
2d475910 RW |
7211 | (build-system meson-build-system) |
7212 | (arguments '(#:glib-or-gtk? #t)) | |
54021cd8 RS |
7213 | (native-inputs |
7214 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. | |
2d475910 | 7215 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
54021cd8 RS |
7216 | ("intltool" ,intltool) |
7217 | ("itstool" ,itstool) | |
2d475910 | 7218 | ("vala" ,vala) |
54021cd8 RS |
7219 | ("pkg-config" ,pkg-config))) |
7220 | (inputs | |
112e9083 | 7221 | `(("glib" ,glib) |
07ace641 | 7222 | ("gtksourceview" ,gtksourceview) |
54021cd8 | 7223 | ("libsoup" ,libsoup) |
112e9083 | 7224 | ("libxml2" ,libxml2) |
2c2da7ec | 7225 | ("mpc" ,mpc) |
54021cd8 RS |
7226 | ("mpfr" ,mpfr))) |
7227 | (home-page "https://wiki.gnome.org/Apps/Calculator") | |
7228 | (synopsis "Desktop calculator") | |
7229 | (description | |
7230 | "Calculator is an application that solves mathematical equations and | |
7231 | is suitable as a default application in a Desktop environment.") | |
7232 | (license license:gpl3))) | |
0bd69759 RS |
7233 | |
7234 | (define-public xpad | |
7235 | (package | |
7236 | (name "xpad") | |
c85626bb | 7237 | (version "5.1.0") |
0bd69759 RS |
7238 | (source |
7239 | (origin | |
7240 | (method url-fetch) | |
08fda9c6 R |
7241 | (uri (string-append "https://launchpad.net/xpad/trunk/" |
7242 | version "/+download/" | |
0bd69759 RS |
7243 | name "-" version ".tar.bz2")) |
7244 | (sha256 | |
7245 | (base32 | |
c85626bb | 7246 | "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3")))) |
0bd69759 RS |
7247 | (build-system gnu-build-system) |
7248 | (native-inputs | |
08fda9c6 R |
7249 | `(("autoconf" ,autoconf) |
7250 | ("automake" ,automake) | |
7251 | ("gtk+:bin" ,gtk+ "bin") | |
7252 | ("intltool" ,intltool) | |
0bd69759 RS |
7253 | ("pkg-config" ,pkg-config))) |
7254 | (inputs | |
c72647fb | 7255 | `(("gtksourceview" ,gtksourceview-3) |
0bd69759 RS |
7256 | ("libsm" ,libsm))) |
7257 | (home-page "https://wiki.gnome.org/Apps/Xpad") | |
7258 | (synopsis "Virtual sticky note") | |
7259 | (description | |
7260 | "Xpad is a sticky note that strives to be simple, fault tolerant, | |
7261 | and customizable. Xpad consists of independent pad windows, each is | |
7262 | basically a text box in which notes can be written.") | |
7263 | (license license:gpl3+))) | |
3ad7dce1 RS |
7264 | |
7265 | (define-public gucharmap | |
c60063ea RW |
7266 | (let ((unicode-files |
7267 | '(("Blocks.txt" | |
1f8b5515 | 7268 | "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1") |
c60063ea | 7269 | ("DerivedAge.txt" |
1f8b5515 | 7270 | "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6") |
c60063ea | 7271 | ("NamesList.txt" |
1f8b5515 | 7272 | "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61") |
c60063ea | 7273 | ("Scripts.txt" |
1f8b5515 | 7274 | "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx") |
c60063ea | 7275 | ("UnicodeData.txt" |
1f8b5515 | 7276 | "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap") |
c60063ea | 7277 | ("Unihan.zip" |
1f8b5515 | 7278 | "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf")))) |
c60063ea RW |
7279 | (package |
7280 | (name "gucharmap") | |
1f8b5515 | 7281 | (version "12.0.1") |
c60063ea RW |
7282 | (source |
7283 | (origin | |
7284 | (method url-fetch) | |
7285 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7286 | (version-major+minor version) "/" | |
7287 | name "-" version ".tar.xz")) | |
7288 | (sha256 | |
7289 | (base32 | |
1f8b5515 | 7290 | "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir")))) |
c60063ea RW |
7291 | (build-system glib-or-gtk-build-system) |
7292 | (arguments | |
7293 | `(#:modules ((ice-9 match) | |
7294 | (guix build glib-or-gtk-build-system) | |
7295 | (guix build utils)) | |
7296 | #:configure-flags | |
7297 | (list "--with-unicode-data=../unicode-data") | |
7298 | #:phases | |
7299 | (modify-phases %standard-phases | |
7300 | (add-after 'unpack 'prepare-unicode-data | |
7301 | (lambda* (#:key inputs #:allow-other-keys) | |
7302 | (mkdir-p "../unicode-data") | |
7303 | (with-directory-excursion "../unicode-data" | |
7304 | (for-each (match-lambda | |
7305 | ((file _) | |
7306 | (install-file (assoc-ref inputs file) "."))) | |
7307 | ',unicode-files)) | |
7308 | #t))))) | |
7309 | (native-inputs | |
7310 | `(("desktop-file-utils" ,desktop-file-utils) | |
7311 | ("glib:bin" ,glib "bin") ; for glib-compile-resources. | |
7312 | ("gobject-introspection" ,gobject-introspection) | |
7313 | ("intltool" ,intltool) | |
7314 | ("itstool" ,itstool) | |
7315 | ("pkg-config" ,pkg-config) | |
7316 | ,@(map (match-lambda | |
7317 | ((file hash) | |
7318 | `(,file | |
7319 | ,(origin | |
7320 | (method url-fetch) | |
7321 | (uri (string-append | |
1f8b5515 | 7322 | "http://www.unicode.org/Public/12.0.0/ucd/" |
c60063ea RW |
7323 | file)) |
7324 | (sha256 (base32 hash)))))) | |
7325 | unicode-files) | |
7326 | ("unzip" ,unzip))) | |
7327 | (inputs | |
7328 | `(("gtk+" ,gtk+) | |
7329 | ("xmllint" ,libxml2))) | |
7330 | (home-page "https://wiki.gnome.org/Apps/Gucharmap") | |
7331 | (synopsis "Unicode character picker and font browser") | |
7332 | (description | |
7333 | "This program allows you to browse through all the available Unicode | |
3ad7dce1 RS |
7334 | characters and categories for the installed fonts, and to examine their |
7335 | detailed properties. It is an easy way to find the character you might | |
7336 | only know by its Unicode name or code point.") | |
c60063ea | 7337 | (license license:gpl3+)))) |
04ce840a RS |
7338 | |
7339 | (define-public bluefish | |
7340 | (package | |
7341 | (name "bluefish") | |
ea8afaf3 | 7342 | (version "2.2.10") |
04ce840a RS |
7343 | (source |
7344 | (origin | |
7345 | (method url-fetch) | |
7346 | (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/" | |
7347 | name "-" version ".tar.gz")) | |
7348 | (sha256 | |
7349 | (base32 | |
ea8afaf3 | 7350 | "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4")))) |
04ce840a RS |
7351 | (build-system gnu-build-system) |
7352 | (native-inputs | |
7353 | `(("desktop-file-utils" ,desktop-file-utils) | |
7354 | ("intltool" ,intltool) | |
7355 | ("pkg-config" ,pkg-config))) | |
7356 | (inputs | |
7357 | `(("enchant" ,enchant) | |
7358 | ("gtk+" ,gtk+) | |
7359 | ("python" ,python-2) | |
7360 | ("xmllint" ,libxml2) | |
7361 | ("gucharmap" ,gucharmap))) | |
7362 | (home-page "http://bluefish.openoffice.nl") | |
7363 | (synopsis "Web development studio") | |
7364 | (description | |
7365 | "Bluefish is an editor targeted towards programmers and web developers, | |
7366 | with many options to write web sites, scripts and other code. | |
7367 | Bluefish supports many programming and markup languages.") | |
7368 | (license license:gpl3+))) | |
1f6a73ee RS |
7369 | |
7370 | (define-public gnome-system-monitor | |
7371 | (package | |
7372 | (name "gnome-system-monitor") | |
85fb3df3 | 7373 | (version "3.30.0") |
1f6a73ee RS |
7374 | (source |
7375 | (origin | |
7376 | (method url-fetch) | |
7377 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7378 | (version-major+minor version) "/" | |
7379 | name "-" version ".tar.xz")) | |
7380 | (sha256 | |
7381 | (base32 | |
85fb3df3 RW |
7382 | "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888")))) |
7383 | (build-system meson-build-system) | |
7384 | (arguments | |
7385 | '(#:glib-or-gtk? #t | |
7386 | #:configure-flags '("-Dsystemd=false"))) | |
1f6a73ee RS |
7387 | (native-inputs |
7388 | `(("glib:bin" ,glib "bin") ; for glib-mkenums. | |
85fb3df3 | 7389 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
1f6a73ee RS |
7390 | ("intltool" ,intltool) |
7391 | ("itstool" ,itstool) | |
7392 | ("libgtop" ,libgtop) | |
4985d9aa | 7393 | ("polkit" ,polkit) |
1f6a73ee RS |
7394 | ("pkg-config" ,pkg-config))) |
7395 | (inputs | |
7396 | `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files. | |
7397 | ("gtk+" ,gtk+) | |
7398 | ("gtkmm" ,gtkmm) | |
7399 | ("librsvg" ,librsvg) | |
4985d9aa RW |
7400 | ("libxml2" ,libxml2) |
7401 | ("libwnck" ,libwnck))) | |
1f6a73ee RS |
7402 | (home-page "https://wiki.gnome.org/Apps/SystemMonitor") |
7403 | (synopsis "Process viewer and system resource monitor for GNOME") | |
7404 | (description | |
7405 | "GNOME System Monitor is a GNOME process viewer and system monitor with | |
7406 | an attractive, easy-to-use interface. It has features, such as a tree view | |
7407 | for process dependencies, icons for processes, the ability to hide processes, | |
7408 | graphical time histories of CPU/memory/swap usage and the ability to | |
7409 | kill/reinice processes.") | |
7410 | (license license:gpl2+))) | |
3e00ac47 SB |
7411 | |
7412 | (define-public python-pyatspi | |
7413 | (package | |
7414 | (name "python-pyatspi") | |
84548bd7 | 7415 | (version "2.26.0") |
3e00ac47 SB |
7416 | (source (origin |
7417 | (method url-fetch) | |
7418 | (uri (string-append | |
7419 | "mirror://gnome/sources/pyatspi/" | |
7420 | (version-major+minor version) | |
7421 | "/pyatspi-" version ".tar.xz")) | |
7422 | (sha256 | |
7423 | (base32 | |
b95af3f6 JL |
7424 | "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6")) |
7425 | ;; Patch from upstream, fixed in newer versions. | |
7426 | (patches (search-patches "python-pyatspi-python-37.patch")))) | |
3e00ac47 | 7427 | (build-system gnu-build-system) |
b95af3f6 JL |
7428 | (arguments |
7429 | `(#:phases | |
7430 | (modify-phases %standard-phases | |
7431 | (add-before 'build 'fix-atk-load | |
7432 | (lambda _ | |
7433 | (substitute* "pyatspi/__init__.py" | |
7434 | (("from gi.repository import Atspi") | |
7435 | "gi.require_version('Gtk', '3.0') | |
7436 | from gi.repository import Gtk | |
7437 | from gi.repository import Atspi")) | |
7438 | #t))))) | |
3e00ac47 SB |
7439 | (native-inputs |
7440 | `(("pkg-config" ,pkg-config))) | |
7441 | (inputs | |
7442 | `(("python" ,python) | |
7443 | ("python-pygobject" ,python-pygobject))) | |
7444 | (synopsis "Python client bindings for D-Bus AT-SPI") | |
7445 | (home-page "https://wiki.linuxfoundation.org/accessibility\ | |
7446 | /atk/at-spi/at-spi_on_d-bus") | |
7447 | (description | |
7448 | "This package includes a python client library for the AT-SPI D-Bus | |
7449 | accessibility infrastructure.") | |
7450 | (license license:lgpl2.0) | |
7451 | (properties '((upstream-name . "pyatspi"))))) | |
53201c0d SB |
7452 | |
7453 | (define-public orca | |
7454 | (package | |
7455 | (name "orca") | |
870a4e70 | 7456 | (version "3.28.1") |
53201c0d SB |
7457 | (source (origin |
7458 | (method url-fetch) | |
7459 | (uri (string-append | |
7460 | "mirror://gnome/sources/" name "/" | |
7461 | (version-major+minor version) "/" | |
7462 | name "-" version ".tar.xz")) | |
7463 | (sha256 | |
7464 | (base32 | |
870a4e70 | 7465 | "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g")))) |
53201c0d SB |
7466 | (build-system glib-or-gtk-build-system) |
7467 | (arguments | |
7468 | '(#:phases | |
7469 | (modify-phases %standard-phases | |
7470 | (add-before 'configure 'qualify-xkbcomp | |
7471 | (lambda* (#:key inputs #:allow-other-keys) | |
7472 | (let ((xkbcomp (string-append | |
7473 | (assoc-ref inputs "xkbcomp") "/bin/xkbcomp"))) | |
7474 | (substitute* "src/orca/orca.py" | |
7475 | (("'xkbcomp'") (format #f "'~a'" xkbcomp)))) | |
7476 | #t)) | |
7477 | (add-after 'install 'wrap-orca | |
7478 | (lambda* (#:key outputs #:allow-other-keys) | |
7479 | (let* ((out (assoc-ref outputs "out")) | |
7480 | (prog (string-append out "/bin/orca"))) | |
7481 | (wrap-program prog | |
7482 | `("GI_TYPELIB_PATH" ":" prefix | |
7483 | (,(getenv "GI_TYPELIB_PATH"))) | |
7484 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix | |
7485 | (,(getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7486 | `("PYTHONPATH" ":" prefix | |
7487 | (,(getenv "PYTHONPATH"))))) | |
7488 | #t))))) | |
7489 | (native-inputs | |
7490 | `(("intltool" ,intltool) | |
7491 | ("itstool" ,itstool) | |
7492 | ("pkg-config" ,pkg-config) | |
7493 | ("xmllint" ,libxml2))) | |
7494 | (inputs | |
7495 | `(("at-spi2-atk" ,at-spi2-atk) | |
7496 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
7497 | ("gstreamer" ,gstreamer) | |
7498 | ("gst-plugins-base" ,gst-plugins-base) | |
7499 | ("gst-plugins-good" ,gst-plugins-good) | |
7500 | ("gtk+" ,gtk+) | |
7501 | ("python" ,python) | |
7502 | ("python-pygobject" ,python-pygobject) | |
7503 | ("python-pyatspi" ,python-pyatspi) | |
7504 | ("python-speechd" ,speech-dispatcher) | |
7505 | ("xkbcomp" ,xkbcomp))) | |
7506 | (synopsis | |
7507 | "Screen reader for individuals who are blind or visually impaired") | |
7508 | (home-page "https://wiki.gnome.org/Projects/Orca") | |
7509 | (description | |
7510 | "Orca is a screen reader that provides access to the graphical desktop | |
7511 | via speech and refreshable braille. Orca works with applications and toolkits | |
7512 | that support the Assistive Technology Service Provider Interface (AT-SPI).") | |
7513 | (license license:lgpl2.1+))) | |
411ba511 LC |
7514 | |
7515 | (define-public gspell | |
7516 | (package | |
7517 | (name "gspell") | |
9b1bb757 | 7518 | (version "1.8.1") |
411ba511 LC |
7519 | (source (origin |
7520 | (method url-fetch) | |
7521 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7522 | (version-major+minor version) "/" | |
7523 | name "-" version ".tar.xz")) | |
7524 | (sha256 | |
7525 | (base32 | |
9b1bb757 | 7526 | "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1")) |
411ba511 LC |
7527 | (patches (search-patches "gspell-dash-test.patch")))) |
7528 | (build-system glib-or-gtk-build-system) | |
7529 | (arguments | |
7530 | '(#:phases | |
7531 | (modify-phases %standard-phases | |
7532 | (add-before 'check 'pre-check | |
7533 | (lambda* (#:key inputs #:allow-other-keys) | |
7534 | ;; Tests require a running X server. | |
7535 | (system "Xvfb :1 &") | |
7536 | (setenv "DISPLAY" ":1") | |
7537 | ||
7538 | ;; For the missing /etc/machine-id. | |
7539 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
7540 | ||
7541 | ;; Allow Enchant and its Aspell backend to find the en_US | |
7542 | ;; dictionary. | |
7543 | (setenv "ASPELL_DICT_DIR" | |
7544 | (string-append (assoc-ref inputs "aspell-dict-en") | |
7545 | "/lib/aspell")) | |
7546 | #t))))) | |
7547 | (inputs | |
eccd35be | 7548 | `(("gtk+" ,gtk+) |
a801ae4c TGR |
7549 | ("glib" ,glib) |
7550 | ("iso-codes" ,iso-codes))) | |
411ba511 LC |
7551 | (native-inputs |
7552 | `(("glib" ,glib "bin") | |
7553 | ("pkg-config" ,pkg-config) | |
7554 | ("xmllint" ,libxml2) | |
7555 | ||
7556 | ;; For tests. | |
a801ae4c TGR |
7557 | ("aspell-dict-en" ,aspell-dict-en) |
7558 | ("xorg-server" ,xorg-server))) | |
eccd35be | 7559 | (propagated-inputs |
9b1bb757 | 7560 | `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc |
411ba511 LC |
7561 | (home-page "https://wiki.gnome.org/Projects/gspell") |
7562 | (synopsis "GNOME's alternative spell checker") | |
7563 | (description | |
7564 | "gspell provides a flexible API to add spell-checking to a GTK+ | |
7565 | application. It provides a GObject API, spell-checking to text entries and | |
7566 | text views, and buttons to choose the language.") | |
7567 | (license license:gpl2+))) | |
d1d739fa CM |
7568 | |
7569 | (define-public gnome-planner | |
7570 | (package | |
7571 | (name "gnome-planner") | |
7572 | (version "0.14.6") | |
7573 | (source (origin | |
7574 | (method url-fetch) | |
7575 | (uri (string-append "mirror://gnome/sources/planner/" | |
7576 | (version-major+minor version) "/planner-" | |
7577 | version ".tar.xz")) | |
7578 | (sha256 | |
7579 | (base32 | |
7580 | "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k")))) | |
7581 | (build-system glib-or-gtk-build-system) | |
7582 | (arguments | |
7583 | ;; Disable the Python bindings because the Planner program functions | |
7584 | ;; without them, and (as of 2017-06-13) we have not packaged all of | |
7585 | ;; packages that are necessary for building the Python bindings. | |
20b7b75c EF |
7586 | `(#:configure-flags |
7587 | (list "--disable-python" | |
7588 | ,@(if (string=? "aarch64-linux" (%current-system)) | |
7589 | '("--build=aarch64-unknown-linux-gnu") | |
7590 | '())))) | |
d1d739fa CM |
7591 | (inputs |
7592 | `(("libgnomecanvas" ,libgnomecanvas) | |
7593 | ("libgnomeui" ,libgnomeui) | |
7594 | ("libglade" ,libglade) | |
7595 | ("gnome-vfs" ,gnome-vfs) | |
7596 | ("gconf" ,gconf) | |
7597 | ("libxml2" ,libxml2) | |
7598 | ("libxslt" ,libxslt) | |
7599 | ("gtk+" ,gtk+) | |
7600 | ("glib" ,glib))) | |
7601 | (native-inputs | |
7602 | `(("intltool" ,intltool) | |
7603 | ("scrollkeeper" ,scrollkeeper) | |
7604 | ("pkg-config" ,pkg-config))) | |
7605 | (home-page "https://wiki.gnome.org/Apps/Planner") | |
7606 | (synopsis "Project management software for the GNOME desktop") | |
7607 | (description | |
7608 | "GNOME Planner is a project management tool based on the Work Breakdown | |
7609 | Structure (WBS). Its goal is to enable you to easily plan projects. Based on | |
7610 | the resources, tasks, and constraints that you define, Planner generates | |
7611 | various views into a project. For example, Planner can show a Gantt chart of | |
7612 | the project. It can show a detailed summary of tasks including their | |
7613 | duration, cost, and current progress. It can also show a report of resource | |
7614 | utilization that highlights under-utilized and over-utilized resources. These | |
7615 | views can be printed as PDF or PostScript files, or exported to HTML.") | |
4b926cb6 | 7616 | (license license:gpl2+))) |
64fce637 RS |
7617 | |
7618 | (define-public lollypop | |
7619 | (package | |
7620 | (name "lollypop") | |
d029afdd | 7621 | (version "1.1.3.1") |
64fce637 RS |
7622 | (source |
7623 | (origin | |
7624 | (method url-fetch) | |
b98eace8 | 7625 | (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/" |
d029afdd | 7626 | "5a7cd7c72b6d83ae08d0c54c4691f9df/" |
64fce637 RS |
7627 | name "-" version ".tar.xz")) |
7628 | (sha256 | |
7629 | (base32 | |
d029afdd | 7630 | "1r5wn0bja9psz6nr1rcaysdkkwz84rbyzpdfw66cxa6wiy52pkjm")))) |
aa498fc0 | 7631 | (build-system meson-build-system) |
64fce637 RS |
7632 | (arguments |
7633 | `(#:imported-modules ((guix build python-build-system) | |
aa498fc0 TD |
7634 | ,@%meson-build-system-modules) |
7635 | #:glib-or-gtk? #t | |
5fc9b6c1 EF |
7636 | #:tests? #f ; no test suite |
7637 | #:phases | |
7638 | (modify-phases %standard-phases | |
5fc9b6c1 EF |
7639 | (add-after 'install 'wrap-program |
7640 | (lambda* (#:key outputs #:allow-other-keys) | |
7641 | (let ((out (assoc-ref outputs "out")) | |
7642 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
7643 | (wrap-program (string-append out "/bin/lollypop") | |
7644 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
7645 | #t)) | |
7646 | (add-after 'install 'wrap | |
7647 | (@@ (guix build python-build-system) wrap))))) | |
64fce637 RS |
7648 | (native-inputs |
7649 | `(("intltool" ,intltool) | |
7650 | ("itstool" ,itstool) | |
aa498fc0 TD |
7651 | ("glib:bin" ,glib "bin") ; For glib-compile-resources |
7652 | ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
64fce637 RS |
7653 | ("pkg-config" ,pkg-config))) |
7654 | (inputs | |
7655 | `(("gobject-introspection" ,gobject-introspection) | |
5fc9b6c1 | 7656 | ("gst-plugins-base" ,gst-plugins-base) |
64fce637 RS |
7657 | ("libnotify" ,libnotify) |
7658 | ("libsecret" ,libsecret) | |
7659 | ("libsoup" ,libsoup) | |
7660 | ("python" ,python) | |
7661 | ("python-beautifulsoup4" ,python-beautifulsoup4) | |
7662 | ("python-gst" ,python-gst) | |
d029afdd | 7663 | ("python-pil" ,python-pillow) |
64fce637 RS |
7664 | ("python-pycairo" ,python-pycairo) |
7665 | ("python-pygobject" ,python-pygobject) | |
7666 | ("python-pylast" ,python-pylast) | |
7667 | ("totem-pl-parser" ,totem-pl-parser) | |
7668 | ("webkitgtk" ,webkitgtk))) | |
7669 | (propagated-inputs | |
7670 | `(;; gst-plugins-base is required to start Lollypop, | |
7671 | ;; the others are required to play streaming. | |
64fce637 RS |
7672 | ("gst-plugins-good" ,gst-plugins-good) |
7673 | ("gst-plugins-ugly" ,gst-plugins-ugly))) | |
b98eace8 | 7674 | (home-page "https://wiki.gnome.org/Apps/Lollypop") |
64fce637 RS |
7675 | (synopsis "GNOME music playing application") |
7676 | (description | |
7677 | "Lollypop is a music player designed to play well with GNOME desktop. | |
7678 | Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information | |
7679 | from artists and tracks from the web. It also fetches cover artworks | |
7680 | automatically and it can stream songs from online music services and charts.") | |
7681 | (license license:gpl3+))) | |
d831d49d AW |
7682 | |
7683 | (define-public gnome-video-effects | |
7684 | (package | |
7685 | (name "gnome-video-effects") | |
7686 | (version "0.4.3") | |
7687 | (source (origin | |
7688 | (method url-fetch) | |
7689 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7690 | (version-major+minor version) "/" name "-" | |
7691 | version ".tar.xz")) | |
7692 | (sha256 | |
7693 | (base32 | |
7694 | "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs")))) | |
7695 | (build-system glib-or-gtk-build-system) | |
7696 | (arguments | |
7697 | `(#:out-of-source? #f)) | |
7698 | (native-inputs | |
7699 | `(("glib:bin" ,glib "bin") | |
7700 | ("intltool" ,intltool) | |
7701 | ("gettext" ,gettext-minimal) | |
7702 | ("pkg-config" ,pkg-config))) | |
7703 | (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects") | |
7704 | (synopsis "Video effects for Cheese and other GNOME applications") | |
7705 | (description | |
7706 | "A collection of GStreamer video filters and effects to be used in | |
7707 | photo-booth-like software, such as Cheese.") | |
7708 | (license license:gpl2+))) | |
3511c780 AW |
7709 | |
7710 | (define-public cheese | |
7711 | (package | |
7712 | (name "cheese") | |
4b3480d6 | 7713 | (version "3.28.0") |
3511c780 AW |
7714 | (source (origin |
7715 | (method url-fetch) | |
7716 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7717 | (version-major+minor version) "/" name "-" | |
7718 | version ".tar.xz")) | |
7719 | (sha256 | |
7720 | (base32 | |
4b3480d6 | 7721 | "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw")))) |
3511c780 AW |
7722 | (arguments |
7723 | ;; Tests require GDK. | |
7724 | `(#:tests? #f | |
7725 | #:phases | |
7726 | (modify-phases %standard-phases | |
7727 | (add-before 'install 'skip-gtk-update-icon-cache | |
7728 | (lambda _ | |
7729 | ;; Don't create 'icon-theme.cache' | |
7730 | (substitute* "Makefile" | |
7731 | (("gtk-update-icon-cache") (which "true"))) | |
7732 | #t)) | |
7733 | (add-after 'install 'wrap-cheese | |
7734 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
7735 | (let ((out (assoc-ref outputs "out")) | |
7736 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7737 | (wrap-program (string-append out "/bin/cheese") | |
7738 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
7739 | #t))))) | |
7740 | (build-system glib-or-gtk-build-system) | |
7741 | (native-inputs | |
7742 | `(("glib:bin" ,glib "bin") | |
7743 | ("intltool" ,intltool) | |
7744 | ("itstool" ,itstool) | |
7745 | ("libxml2" ,libxml2) | |
7746 | ("pkg-config" ,pkg-config) | |
7747 | ("vala" ,vala))) | |
7748 | (propagated-inputs | |
6a19f03e RW |
7749 | `(("gnome-video-effects" ,gnome-video-effects) |
7750 | ("clutter" ,clutter) | |
3511c780 AW |
7751 | ("clutter-gst" ,clutter-gst) |
7752 | ("clutter-gtk" ,clutter-gtk) | |
6a19f03e | 7753 | ("libcanberra" ,libcanberra) |
3511c780 AW |
7754 | ("gdk-pixbuf" ,gdk-pixbuf) |
7755 | ("glib" ,glib) | |
6a19f03e RW |
7756 | ("gstreamer" ,gstreamer))) |
7757 | (inputs | |
7758 | `(("gnome-desktop" ,gnome-desktop) | |
3511c780 | 7759 | ("gobject-introspection" ,gobject-introspection) |
3511c780 AW |
7760 | ("gst-plugins-base" ,gst-plugins-base) |
7761 | ("gst-plugins-bad" ,gst-plugins-bad) | |
7762 | ("gtk+" ,gtk+) | |
3511c780 AW |
7763 | ("libx11" ,libx11) |
7764 | ("libxtst" ,libxtst))) | |
7765 | (home-page "https://wiki.gnome.org/Apps/Cheese") | |
7766 | (synopsis "Webcam photo booth software for GNOME") | |
7767 | (description | |
7768 | "Cheese uses your webcam to take photos and videos. Cheese can also | |
7769 | apply fancy special effects and lets you share the fun with others.") | |
7770 | (license license:gpl2+))) | |
3c5dbd2b | 7771 | |
7772 | (define-public sound-juicer | |
7773 | (package | |
7774 | (name "sound-juicer") | |
7775 | (version "3.24.0") | |
7776 | (source | |
7777 | (origin | |
7778 | (method url-fetch) | |
7779 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7780 | (version-major+minor version) "/" | |
7781 | name "-" version ".tar.xz")) | |
7782 | (sha256 | |
7783 | (base32 | |
7784 | "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny")))) | |
7785 | (build-system glib-or-gtk-build-system) | |
7786 | (native-inputs | |
7787 | `(("desktop-file-utils" ,desktop-file-utils) | |
7788 | ("intltool" ,intltool) | |
7789 | ("itstool" ,itstool) | |
7790 | ("pkg-config" ,pkg-config) | |
7791 | ("xmllint" ,libxml2))) | |
7792 | (inputs | |
7793 | `(("gtk+" ,gtk+) | |
7794 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
7795 | ("gstreamer" ,gstreamer) | |
7796 | ("gst-plugins-base" ,gst-plugins-base) | |
7797 | ("gst-plugins-good" ,gst-plugins-good) | |
7798 | ("iso-codes" ,iso-codes) | |
7799 | ("libbrasero-media3" ,brasero) | |
7800 | ("libcanberra" ,libcanberra) | |
7801 | ("libdiscid" ,libdiscid) | |
7802 | ("libmusicbrainz" ,libmusicbrainz) | |
7803 | ("neon" ,neon))) | |
7804 | (home-page "https://wiki.gnome.org/Apps/SoundJuicer") | |
7805 | (synopsis "Audio music cd ripper") | |
7806 | (description "Sound Juicer extracts audio from compact discs and convert it | |
7807 | into audio files that a personal computer or digital audio player can play. | |
7808 | It supports ripping to any audio codec supported by a GStreamer plugin, such as | |
7809 | mp3, Ogg Vorbis and FLAC") | |
7810 | (license license:gpl2+))) | |
4e3fdeb7 | 7811 | |
0d3f1708 CB |
7812 | (define-public soundconverter |
7813 | (package | |
7814 | (name "soundconverter") | |
fa75a213 | 7815 | (version "3.0.1") |
0d3f1708 CB |
7816 | (source |
7817 | (origin | |
7818 | (method url-fetch) | |
7819 | (uri (string-append "https://launchpad.net/soundconverter/trunk/" | |
7820 | version "/+download/" | |
7821 | "soundconverter-" version ".tar.xz")) | |
7822 | ||
7823 | (sha256 | |
fa75a213 | 7824 | (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5")) |
0d3f1708 CB |
7825 | (patches |
7826 | (search-patches | |
7827 | "soundconverter-remove-gconf-dependency.patch")))) | |
7828 | (build-system glib-or-gtk-build-system) | |
7829 | (arguments | |
7830 | `(#:imported-modules ((guix build python-build-system) | |
7831 | (guix build glib-or-gtk-build-system) | |
7832 | ,@%gnu-build-system-modules) | |
7833 | ||
7834 | #:modules ((guix build glib-or-gtk-build-system) | |
7835 | (guix build utils) | |
7836 | ((guix build gnu-build-system) #:prefix gnu:) | |
7837 | ((guix build python-build-system) #:prefix python:)) | |
7838 | ||
7839 | #:phases | |
7840 | (modify-phases %standard-phases | |
0d3f1708 CB |
7841 | (add-after 'install 'wrap-soundconverter-for-python |
7842 | (assoc-ref python:%standard-phases 'wrap)) | |
7843 | (add-after 'install 'wrap-soundconverter | |
7844 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
7845 | (let ((out (assoc-ref outputs "out")) | |
7846 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
7847 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7848 | (wrap-program (string-append out "/bin/soundconverter") | |
7849 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
7850 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
7851 | #t))))) | |
7852 | (native-inputs | |
7853 | `(("intltool" ,intltool) | |
7854 | ("pkg-config" ,pkg-config) | |
7855 | ("glib:bin" ,glib "bin"))) | |
7856 | (inputs | |
7857 | `(("gtk+" ,gtk+) | |
7858 | ("python" ,python) | |
7859 | ("python-pygobject" ,python-pygobject) | |
7860 | ("gstreamer" ,gstreamer) | |
7861 | ("gst-plugins-base" ,gst-plugins-base))) | |
7862 | (home-page "http://soundconverter.org/") | |
7863 | (synopsis "Convert between audio formats with a graphical interface") | |
7864 | (description | |
7865 | "SoundConverter supports converting between many audio formats including | |
7866 | Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and | |
7867 | configurable file renaming. ") | |
7868 | (license license:gpl3))) | |
7869 | ||
4e3fdeb7 | 7870 | (define-public workrave |
89f2d736 TGR |
7871 | (package |
7872 | (name "workrave") | |
c2e50474 | 7873 | (version "1.10.23") |
89f2d736 TGR |
7874 | (source |
7875 | (origin | |
7876 | (method git-fetch) | |
7877 | (uri (git-reference | |
7878 | (url "https://github.com/rcaelers/workrave.git") | |
c2e50474 TGR |
7879 | (commit (string-append "v" (string-map |
7880 | (match-lambda (#\. #\_) (chr chr)) | |
7881 | version))))) | |
89f2d736 TGR |
7882 | (file-name (git-file-name name version)) |
7883 | (sha256 | |
c2e50474 | 7884 | (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw")))) |
89f2d736 TGR |
7885 | (build-system glib-or-gtk-build-system) |
7886 | (propagated-inputs `(("glib" ,glib) | |
7887 | ("gtk+" ,gtk+) | |
7888 | ("gdk-pixbuf" ,gdk-pixbuf) | |
7889 | ("gtkmm" ,gtkmm) | |
7890 | ("glibmm" ,glibmm) | |
7891 | ("libx11" ,libx11) | |
7892 | ("libxtst" ,libxtst) | |
7893 | ("dconf" ,dconf) | |
7894 | ("libice" ,libice))) | |
7895 | (inputs `(("libsm" ,libsm) | |
7896 | ("python-cheetah" ,python2-cheetah))) | |
7897 | (native-inputs `(("glib" ,glib "bin") | |
7898 | ("pkg-config" ,pkg-config) | |
7899 | ("gettext" ,gnu-gettext) | |
7900 | ("autoconf" ,autoconf) | |
7901 | ("autoconf-archive" , autoconf-archive) | |
7902 | ("automake" ,automake) | |
7903 | ("libtool" ,libtool) | |
7904 | ("intltool" ,intltool) | |
7905 | ("libxscrnsaver" ,libxscrnsaver) | |
7906 | ("gobject-introspection" ,gobject-introspection) | |
7907 | ("python2" ,python-2))) | |
7908 | (synopsis "Tool to help prevent repetitive strain injury (RSI)") | |
7909 | (description | |
7910 | "Workrave is a program that assists in the recovery and prevention of | |
cc00249b TGR |
7911 | repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take |
7912 | micro-pauses and rest breaks, and restricts you to your daily limit.") | |
89f2d736 TGR |
7913 | (home-page "http://www.workrave.org") |
7914 | (license license:gpl3+))) | |
312afa7d LC |
7915 | |
7916 | (define-public ghex | |
7917 | (package | |
7918 | (name "ghex") | |
7919 | (version "3.18.3") | |
7920 | (source (origin | |
7921 | (method url-fetch) | |
2fbab848 | 7922 | (uri (string-append "mirror://gnome/sources/ghex/" |
312afa7d | 7923 | (version-major+minor version) "/" |
2fbab848 | 7924 | "ghex-" version ".tar.xz")) |
312afa7d LC |
7925 | (sha256 |
7926 | (base32 | |
7927 | "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66")))) | |
7928 | (build-system glib-or-gtk-build-system) | |
7929 | (native-inputs | |
7930 | `(("pkg-config" ,pkg-config) | |
7931 | ("gnome-common" ,gnome-common) | |
7932 | ("which" ,which) | |
7933 | ("intltool" ,intltool) | |
7934 | ("yelp-tools" ,yelp-tools) | |
2fbab848 | 7935 | ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate' |
312afa7d LC |
7936 | (inputs |
7937 | `(("atk" ,atk) | |
7938 | ("gtk" ,gtk+))) | |
7939 | (synopsis "GNOME hexadecimal editor") | |
7940 | (description "The GHex program can view and edit files in two ways: | |
7941 | hexadecimal or ASCII. It is useful for editing binary files in general.") | |
7942 | (home-page "https://wiki.gnome.org/Apps/Ghex") | |
7943 | (license license:gpl2))) | |
4b2ed6c2 RW |
7944 | |
7945 | (define-public libdazzle | |
7946 | (package | |
7947 | (name "libdazzle") | |
817b3fd1 | 7948 | (version "3.30.2") |
4b2ed6c2 RW |
7949 | (source (origin |
7950 | (method url-fetch) | |
687b4909 | 7951 | (uri (string-append "mirror://gnome/sources/libdazzle/" |
4b2ed6c2 | 7952 | (version-major+minor version) "/" |
687b4909 | 7953 | "libdazzle-" version ".tar.xz")) |
4b2ed6c2 RW |
7954 | (sha256 |
7955 | (base32 | |
817b3fd1 | 7956 | "1m9n1gcxndly24rjkxzvmx02a2rkb6ad4cy7p6ncanm1kyp0wxvq")))) |
4b2ed6c2 RW |
7957 | (build-system meson-build-system) |
7958 | (arguments | |
7959 | `(#:phases | |
7960 | (modify-phases %standard-phases | |
7961 | (add-after 'unpack 'disable-failing-test | |
7962 | (lambda _ | |
7963 | ;; Disable failing test. | |
7964 | (substitute* "tests/meson.build" | |
7965 | (("test\\('test-application") "#")) | |
7966 | #t)) | |
7967 | (add-before 'check 'pre-check | |
7968 | (lambda _ | |
7969 | ;; Tests require a running X server. | |
7970 | (system "Xvfb :1 &") | |
7971 | (setenv "DISPLAY" ":1") | |
7972 | #t))))) | |
7973 | (native-inputs | |
687b4909 | 7974 | `(("glib" ,glib "bin") ; glib-compile-resources |
4b2ed6c2 | 7975 | ("pkg-config" ,pkg-config) |
687b4909 | 7976 | ;; For tests. |
4b2ed6c2 RW |
7977 | ("xorg-server" ,xorg-server))) |
7978 | (inputs | |
7979 | `(("glib" ,glib) | |
7980 | ("gobject-introspection" ,gobject-introspection) | |
7981 | ("gtk+" ,gtk+) | |
7982 | ("vala" ,vala))) | |
7983 | (home-page "https://gitlab.gnome.org/GNOME/libdazzle") | |
7984 | (synopsis "Companion library to GObject and Gtk+") | |
7985 | (description "The libdazzle library is a companion library to GObject and | |
7986 | Gtk+. It provides various features that the authors wish were in the | |
7987 | underlying library but cannot for various reasons. In most cases, they are | |
7988 | wildly out of scope for those libraries. In other cases, they are not quite | |
7989 | generic enough to work for everyone.") | |
7990 | (license license:gpl3+))) | |
7d3bb433 RW |
7991 | |
7992 | (define-public evolution | |
7993 | (package | |
7994 | (name "evolution") | |
7995 | (version "3.28.1") | |
7996 | (source (origin | |
7997 | (method url-fetch) | |
7998 | (uri (string-append "mirror://gnome/sources/evolution/" | |
7999 | (version-major+minor version) "/" | |
8000 | "evolution-" version ".tar.xz")) | |
8001 | (sha256 | |
8002 | (base32 | |
8003 | "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l")))) | |
8004 | (build-system cmake-build-system) | |
8005 | (arguments | |
8006 | `(#:configure-flags | |
8007 | (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged | |
8008 | "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release | |
8009 | ; in four years and cannot be built. | |
8010 | (native-inputs | |
8011 | `(("glib" ,glib "bin") ; glib-mkenums | |
8012 | ("pkg-config" ,pkg-config) | |
8013 | ("intltool" ,intltool) | |
8014 | ("itstool" ,itstool))) | |
8015 | (inputs | |
8016 | `(("enchant" ,enchant) | |
8017 | ("evolution-data-server" ,evolution-data-server) ; must be the same version | |
8018 | ("gcr" ,gcr) | |
8019 | ("gnome-autoar" ,gnome-autoar) | |
8020 | ("gnome-desktop" ,gnome-desktop) | |
8021 | ("gtkspell3" ,gtkspell3) | |
8022 | ("highlight" ,highlight) | |
8023 | ("libcanberra" ,libcanberra) | |
b63c06f1 | 8024 | ("libedataserverui" ,evolution-data-server) |
7d3bb433 RW |
8025 | ("libgweather" ,libgweather) |
8026 | ("libnotify" ,libnotify) | |
8027 | ("libsoup" ,libsoup) | |
8028 | ("nss" ,nss) | |
8029 | ("openldap" ,openldap) | |
8030 | ("webkitgtk" ,webkitgtk) | |
8031 | ("ytnef" ,ytnef))) | |
8032 | (home-page "https://gitlab.gnome.org/GNOME/evolution") | |
8033 | (synopsis "Manage your email, contacts and schedule") | |
8034 | (description "Evolution is a personal information management application | |
8035 | that provides integrated mail, calendaring and address book | |
8036 | functionality.") | |
8037 | ;; See COPYING for details. | |
23dbe621 | 8038 | (license (list license:lgpl2.1 license:lgpl3 ; either one of these |
7d3bb433 | 8039 | license:openldap2.8 ; addressbook/gui/component/openldap-extract.h |
23dbe621 | 8040 | license:lgpl2.1+)))) ; smime/lib/* |
169d63f5 AT |
8041 | |
8042 | (define-public gthumb | |
8043 | (package | |
8044 | (name "gthumb") | |
8045 | (version "3.8.0") | |
8046 | (source (origin | |
8047 | (method url-fetch) | |
8048 | (uri (string-append "mirror://gnome/sources/gthumb/" | |
8049 | (version-major+minor version) "/" | |
8050 | "gthumb-" version ".tar.xz")) | |
8051 | (sha256 | |
8052 | (base32 | |
8053 | "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f")))) | |
8054 | (build-system meson-build-system) | |
8055 | (arguments | |
8056 | `(#:glib-or-gtk? #t | |
8057 | #:configure-flags | |
8058 | ;; Ensure the RUNPATH contains all installed library locations. | |
8059 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
8060 | (assoc-ref %outputs "out") | |
8061 | "/lib/gthumb/extensions") | |
8062 | (string-append "-Dcpp_link_args=-Wl,-rpath=" | |
8063 | (assoc-ref %outputs "out") | |
8064 | "/lib/gthumb/extensions")))) | |
8065 | (native-inputs | |
8066 | `(("pkg-config" ,pkg-config) | |
8067 | ("glib:bin" ,glib "bin") ; for glib-compile-resources | |
8068 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
8069 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database | |
8070 | ("intltool" ,intltool) | |
8071 | ("itstool" ,itstool))) | |
8072 | (inputs | |
8073 | `(("exiv2" ,exiv2) | |
8074 | ("gtk" ,gtk+) | |
8075 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
8076 | ("gstreamer" ,gstreamer) | |
8077 | ("clutter" ,clutter) | |
8078 | ("clutter-gst" ,clutter-gst) | |
8079 | ("clutter-gtk" ,clutter-gtk) | |
8080 | ("libjpeg" ,libjpeg) | |
8081 | ("libtiff" ,libtiff) | |
8082 | ("libraw" ,libraw))) | |
8083 | (home-page "https://wiki.gnome.org/Apps/Gthumb") | |
8084 | (synopsis "GNOME image viewer and browser") | |
8085 | (description "GThumb is an image viewer, browser, organizer, editor and | |
8086 | advanced image management tool") | |
8087 | (license license:gpl2+))) | |
08be02be AT |
8088 | |
8089 | (define-public terminator | |
8090 | (package | |
8091 | (name "terminator") | |
8092 | (version "1.91") | |
8093 | (source (origin | |
8094 | (method url-fetch) | |
8095 | (uri (string-append "https://launchpad.net/" name "/" | |
8096 | "gtk3/" version "/" "+download/" | |
8097 | name "-" version ".tar.gz")) | |
8098 | (sha256 | |
8099 | (base32 | |
8100 | "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm")))) | |
8101 | (build-system python-build-system) | |
8102 | (native-inputs | |
8103 | `(("intltool" ,intltool) | |
8104 | ("glib:bin" ,glib "bin") ; for glib-compile-resources | |
8105 | ("gettext" ,gettext-minimal) | |
8106 | ("pkg-config" ,pkg-config))) | |
8107 | (inputs | |
8108 | `(("cairo" ,cairo) | |
8109 | ("gobject-introspection" ,gobject-introspection) | |
8110 | ("python2-pycairo" ,python2-pycairo) | |
8111 | ("python2-pygobject" ,python2-pygobject) | |
8112 | ("python2-psutil" ,python2-psutil) | |
8113 | ("vte" ,vte))) | |
8114 | (arguments | |
8115 | `(#:python ,python-2 ;Python 3 not supported | |
8116 | #:phases | |
8117 | (modify-phases %standard-phases | |
8118 | (add-after | |
8119 | 'install 'wrap-program | |
8120 | (lambda* (#:key outputs #:allow-other-keys) | |
8121 | (let ((prog (string-append (assoc-ref outputs "out") | |
8122 | "/bin/terminator"))) | |
8123 | (wrap-program prog | |
8124 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
8125 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) | |
8126 | #t)))))) | |
8127 | (home-page "https://gnometerminator.blogspot.com/") | |
8128 | (synopsis "Store and run multiple GNOME terminals in one window") | |
8129 | (description | |
8130 | "Terminator allows you to run multiple GNOME terminals in a grid and | |
8131 | +tabs, and it supports drag and drop re-ordering of terminals.") | |
8132 | (license license:gpl2))) |