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") | |
0daf0efb | 596 | (version "3.28.0") |
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 | |
604 | "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m")))) | |
8ff49011 RW |
605 | (build-system gnu-build-system) |
606 | (arguments | |
0daf0efb RW |
607 | '(#:phases |
608 | (modify-phases %standard-phases | |
609 | ;; These fail because /var/lib/dbus/machine-id is not present in the | |
610 | ;; build environment. | |
611 | (add-after 'unpack 'disable-failing-tests | |
612 | (lambda _ | |
613 | (substitute* "gcr/test-system-prompt.c" | |
614 | (("g_test_add") "//") | |
615 | (("return.*") "return 0;")) | |
616 | #t)) | |
617 | (add-before 'check 'pre-check | |
618 | (lambda _ | |
619 | ;; Some tests expect to write to $HOME. | |
620 | (setenv "HOME" "/tmp") | |
621 | #t))))) | |
8ff49011 RW |
622 | (inputs |
623 | `(("dbus" ,dbus) | |
0daf0efb | 624 | ("gnupg" ,gnupg) ;called as a child process during tests |
8ff49011 RW |
625 | ("libgcrypt" ,libgcrypt))) |
626 | (native-inputs | |
0daf0efb | 627 | `(("python" ,python-2) ;for tests |
8ff49011 RW |
628 | ("pkg-config" ,pkg-config) |
629 | ("glib" ,glib "bin") | |
2af4f5b0 SB |
630 | ("gobject-introspection" ,gobject-introspection) |
631 | ("intltool" ,intltool) | |
0daf0efb | 632 | ("libxml2" ,libxml2) |
2af4f5b0 | 633 | ("xsltproc" ,libxslt))) |
8ff49011 RW |
634 | ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc |
635 | (propagated-inputs | |
636 | `(("p11-kit" ,p11-kit) | |
637 | ("glib" ,glib) | |
638 | ("gtk+" ,gtk+))) | |
f032d0be | 639 | (home-page "https://www.gnome.org") |
8ff49011 RW |
640 | (synopsis "Libraries for displaying certificates and accessing key stores") |
641 | (description | |
642 | "The GCR package contains libraries used for displaying certificates and | |
643 | accessing key stores. It also provides the viewer for crypto files on the | |
644 | GNOME Desktop.") | |
645 | (license license:lgpl2.1+))) | |
646 | ||
c1354b90 LC |
647 | (define-public libgnome-keyring |
648 | (package | |
649 | (name "libgnome-keyring") | |
5e8aec2c | 650 | (version "3.12.0") |
c1354b90 LC |
651 | (source (origin |
652 | (method url-fetch) | |
b38e45d8 EB |
653 | (uri (string-append "mirror://gnome/sources/" name "/" |
654 | (version-major+minor version) "/" | |
655 | name "-" version ".tar.xz")) | |
c1354b90 LC |
656 | (sha256 |
657 | (base32 | |
5e8aec2c | 658 | "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4")))) |
c1354b90 | 659 | (build-system gnu-build-system) |
c1354b90 | 660 | (inputs |
c4c4cc05 | 661 | `(("libgcrypt" ,libgcrypt) |
c1354b90 | 662 | ("dbus" ,dbus))) |
c4c4cc05 JD |
663 | (native-inputs |
664 | `(("pkg-config" ,pkg-config) | |
426adbe8 | 665 | ("glib" ,glib "bin") |
c4c4cc05 | 666 | ("intltool" ,intltool))) |
c1354b90 LC |
667 | (propagated-inputs |
668 | ;; Referred to in .h files and .pc. | |
669 | `(("glib" ,glib))) | |
f032d0be | 670 | (home-page "https://www.gnome.org") |
c1354b90 LC |
671 | (synopsis "Accessing passwords from the GNOME keyring") |
672 | (description | |
673 | "Client library to access passwords from the GNOME keyring.") | |
674 | ||
675 | ;; Though a couple of files are LGPLv2.1+. | |
1dd26275 | 676 | (license license:lgpl2.0+))) |
c1354b90 | 677 | |
e99a3d6f RW |
678 | (define-public gnome-keyring |
679 | (package | |
680 | (name "gnome-keyring") | |
ab35cc6e | 681 | (version "3.28.2") |
e99a3d6f RW |
682 | (source (origin |
683 | (method url-fetch) | |
684 | (uri (string-append "mirror://gnome/sources/" name "/" | |
685 | (version-major+minor version) "/" | |
686 | name "-" version ".tar.xz")) | |
687 | (sha256 | |
688 | (base32 | |
ab35cc6e | 689 | "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1")))) |
e99a3d6f RW |
690 | (build-system gnu-build-system) |
691 | (arguments | |
692 | `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does | |
693 | ;not exist | |
694 | #:configure-flags | |
695 | (list | |
696 | (string-append "--with-pkcs11-config=" | |
697 | (assoc-ref %outputs "out") "/share/p11-kit/modules/") | |
698 | (string-append "--with-pkcs11-modules=" | |
699 | (assoc-ref %outputs "out") "/share/p11-kit/modules/")) | |
700 | #:phases | |
701 | (modify-phases %standard-phases | |
ab35cc6e RW |
702 | (add-after 'unpack 'fix-/bin/sh-reference |
703 | (lambda _ | |
704 | (substitute* "po/Makefile.in.in" | |
705 | (("/bin/sh") (which "sh"))) | |
706 | #t)) | |
5120f24f RW |
707 | (add-after 'unpack 'fix-docbook |
708 | (lambda* (#:key inputs #:allow-other-keys) | |
709 | (substitute* "docs/Makefile.am" | |
710 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
711 | (string-append (assoc-ref inputs "docbook-xsl") | |
712 | "/xml/xsl/docbook-xsl-" | |
713 | ,(package-version docbook-xsl) | |
714 | "/manpages/docbook.xsl"))) | |
715 | (setenv "XML_CATALOG_FILES" | |
716 | (string-append (assoc-ref inputs "docbook-xml") | |
717 | "/xml/dtd/docbook/catalog.xml")) | |
718 | ;; Rerun the whole thing to avoid version mismatch ("This is | |
719 | ;; Automake 1.15.1, but the definition used by this | |
720 | ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't | |
721 | ;; use 'autoreconf' because it insists on running 'libtoolize'. | |
722 | (invoke "autoconf") | |
723 | (invoke "aclocal") | |
724 | (invoke "automake" "-ac")))))) | |
e99a3d6f RW |
725 | (inputs |
726 | `(("libgcrypt" ,libgcrypt) | |
1a0b2d82 | 727 | ("linux-pam" ,linux-pam) |
ab35cc6e | 728 | ("openssh" ,openssh) |
e99a3d6f RW |
729 | ("dbus" ,dbus) |
730 | ("gcr" ,gcr))) | |
731 | (native-inputs | |
732 | `(("pkg-config" ,pkg-config) | |
733 | ("glib" ,glib "bin") | |
5120f24f | 734 | ("glib" ,glib) ; for m4 macros |
e99a3d6f RW |
735 | ("python" ,python-2) ;for tests |
736 | ("intltool" ,intltool) | |
737 | ("autoconf" ,autoconf) | |
738 | ("automake" ,automake) | |
739 | ("libxslt" ,libxslt) ;for documentation | |
740 | ("docbook-xml" ,docbook-xml-4.2) | |
741 | ("docbook-xsl" ,docbook-xsl))) | |
f032d0be | 742 | (home-page "https://www.gnome.org") |
e99a3d6f RW |
743 | (synopsis "Daemon to store passwords and encryption keys") |
744 | (description | |
745 | "gnome-keyring is a program that keeps passwords and other secrets for | |
746 | users. It is run as a daemon in the session, similar to ssh-agent, and other | |
747 | applications locate it via an environment variable or D-Bus. | |
748 | ||
749 | The program can manage several keyrings, each with its own master password, | |
750 | and there is also a session keyring which is never stored to disk, but | |
751 | forgotten when the session ends.") | |
752 | (license license:lgpl2.1+))) | |
753 | ||
c1354b90 LC |
754 | (define-public evince |
755 | (package | |
756 | (name "evince") | |
2dfc16d1 | 757 | (version "3.30.2") |
c1354b90 LC |
758 | (source (origin |
759 | (method url-fetch) | |
b38e45d8 EB |
760 | (uri (string-append "mirror://gnome/sources/" name "/" |
761 | (version-major+minor version) "/" | |
762 | name "-" version ".tar.xz")) | |
c1354b90 LC |
763 | (sha256 |
764 | (base32 | |
2dfc16d1 | 765 | "0k7jln6dpg4bpv61niicjzkzyq6fhb3yfld7pc8ck71c8pmvsnx9")))) |
121de2e1 | 766 | (build-system glib-or-gtk-build-system) |
c1354b90 LC |
767 | (arguments |
768 | `(#:configure-flags '("--disable-nautilus") | |
554b2dac SB |
769 | #:phases |
770 | (modify-phases %standard-phases | |
771 | (add-before 'install 'skip-gtk-update-icon-cache | |
772 | ;; Don't create 'icon-theme.cache'. | |
773 | (lambda _ | |
774 | (substitute* "data/Makefile" | |
775 | (("gtk-update-icon-cache") "true")) | |
776 | #t))))) | |
c1354b90 | 777 | (inputs |
9a096881 KK |
778 | `(("libarchive" ,libarchive) |
779 | ("libgxps" ,libgxps) | |
780 | ("libspectre" ,libspectre) | |
c769cf9f | 781 | ("djvulibre" ,djvulibre) |
c1354b90 LC |
782 | ("ghostscript" ,ghostscript) |
783 | ("poppler" ,poppler) | |
c769cf9f SB |
784 | ("libtiff" ,libtiff) |
785 | ;; TODO: | |
c769cf9f SB |
786 | ;; Build libkpathsea as a shared library for DVI support. |
787 | ;; ("libkpathsea" ,texlive-bin) | |
788 | ("gnome-desktop" ,gnome-desktop) | |
c1354b90 | 789 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2dfc16d1 | 790 | ("gspell" ,gspell) |
c1354b90 | 791 | ("libgnome-keyring" ,libgnome-keyring) |
c769cf9f | 792 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
c1354b90 LC |
793 | ("gdk-pixbuf" ,gdk-pixbuf) |
794 | ("atk" ,atk) | |
795 | ("pango" ,pango) | |
796 | ("gtk+" ,gtk+) | |
797 | ("glib" ,glib) | |
798 | ("libxml2" ,libxml2) | |
c1354b90 LC |
799 | ("libsm" ,libsm) |
800 | ("libice" ,libice) | |
96e42467 | 801 | ("shared-mime-info" ,shared-mime-info) |
3d243e9c FB |
802 | ("dconf" ,dconf) |
803 | ("libcanberra" ,libcanberra) | |
c769cf9f | 804 | ("libsecret" ,libsecret) |
a271096b LC |
805 | |
806 | ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be | |
807 | ;; propagated from there. | |
808 | ("nettle" ,nettle) | |
809 | ||
c1354b90 LC |
810 | ;; For tests. |
811 | ("dogtail" ,python2-dogtail))) | |
96e42467 | 812 | (native-inputs |
bcb354ad SB |
813 | `(("itstool" ,itstool) |
814 | ("intltool" ,intltool) | |
426adbe8 | 815 | ("glib" ,glib "bin") |
bcb354ad SB |
816 | ("pkg-config" ,pkg-config) |
817 | ("xmllint" ,libxml2))) | |
c1354b90 | 818 | (home-page |
f032d0be | 819 | "https://www.gnome.org/projects/evince/") |
c1354b90 LC |
820 | (synopsis "GNOME's document viewer") |
821 | (description | |
822 | "Evince is a document viewer for multiple document formats. It | |
823 | currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal | |
824 | of Evince is to replace the multiple document viewers that exist | |
96e42467 | 825 | on the GNOME Desktop with a single simple application.") |
1dd26275 | 826 | (license license:gpl2+))) |
c1354b90 | 827 | |
22e32e69 AE |
828 | (define-public gsettings-desktop-schemas |
829 | (package | |
830 | (name "gsettings-desktop-schemas") | |
10ff872f | 831 | (version "3.28.1") |
22e32e69 AE |
832 | (source |
833 | (origin | |
834 | (method url-fetch) | |
835 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 836 | (version-major+minor version) "/" |
22e32e69 AE |
837 | name "-" version ".tar.xz")) |
838 | (sha256 | |
839 | (base32 | |
10ff872f | 840 | "0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq")))) |
22e32e69 AE |
841 | (build-system gnu-build-system) |
842 | (inputs | |
c4c4cc05 JD |
843 | `(("glib" ,glib))) |
844 | (native-inputs | |
845 | `(("intltool" ,intltool) | |
426adbe8 | 846 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
7211944a | 847 | ("gobject-introspection" ,gobject-introspection) |
22e32e69 AE |
848 | ("pkg-config" ,pkg-config))) |
849 | (home-page "https://launchpad.net/gsettings-desktop-schemas") | |
850 | (synopsis | |
851 | "GNOME settings for various desktop components") | |
852 | (description | |
853 | "Gsettings-desktop-schemas contains a collection of GSettings schemas | |
854 | for settings shared by various components of the GNOME desktop.") | |
1dd26275 | 855 | (license license:lgpl2.1+))) |
22e32e69 | 856 | |
27477d2d AE |
857 | (define-public icon-naming-utils |
858 | (package | |
859 | (name "icon-naming-utils") | |
860 | (version "0.8.90") | |
861 | (source | |
862 | (origin | |
863 | (method url-fetch) | |
5cc3096c | 864 | (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-" |
27477d2d AE |
865 | version ".tar.bz2")) |
866 | (sha256 | |
867 | (base32 | |
868 | "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi")))) | |
869 | (build-system gnu-build-system) | |
870 | (inputs | |
871 | `(("perl" ,perl) | |
872 | ("perl-xml-simple" ,perl-xml-simple))) | |
f4e97277 SB |
873 | (arguments |
874 | '(#:phases | |
dc1d3cde KK |
875 | (modify-phases %standard-phases |
876 | (add-after 'install 'set-load-paths | |
877 | ;; Tell 'icon-name-mapping' where XML::Simple is. | |
878 | (lambda* (#:key outputs #:allow-other-keys) | |
879 | (let* ((out (assoc-ref outputs "out")) | |
880 | (prog (string-append out "/libexec/icon-name-mapping"))) | |
881 | (wrap-program | |
882 | prog | |
883 | `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))) | |
884 | #t))))) | |
27477d2d AE |
885 | (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification") |
886 | (synopsis | |
887 | "Utility to implement the Freedesktop Icon Naming Specification") | |
888 | (description | |
889 | "To help with the transition to the Freedesktop Icon Naming | |
890 | Specification, the icon naming utility maps the icon names used by the | |
891 | GNOME and KDE desktops to the icon names proposed in the specification.") | |
1dd26275 | 892 | (license license:lgpl2.1+))) |
27477d2d | 893 | |
7d3f3651 AE |
894 | (define-public gnome-icon-theme |
895 | (package | |
896 | (name "gnome-icon-theme") | |
b32f58dd | 897 | (version "3.12.0") |
7d3f3651 AE |
898 | (source |
899 | (origin | |
900 | (method url-fetch) | |
901 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 902 | (version-major+minor version) "/" |
7d3f3651 AE |
903 | name "-" version ".tar.xz")) |
904 | (sha256 | |
905 | (base32 | |
b32f58dd | 906 | "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im")))) |
7d3f3651 | 907 | (build-system gnu-build-system) |
5613c27d SB |
908 | (arguments |
909 | '(#:configure-flags | |
910 | ;; Don't create 'icon-theme.cache'. | |
911 | (let* ((coreutils (assoc-ref %build-inputs "coreutils")) | |
912 | (true (string-append coreutils "/bin/true"))) | |
913 | (list (string-append "GTK_UPDATE_ICON_CACHE=" true))))) | |
c4c4cc05 | 914 | (native-inputs |
5613c27d | 915 | `(("icon-naming-utils" ,icon-naming-utils) |
73b6cf42 SB |
916 | ("intltool" ,intltool) |
917 | ("pkg-config" ,pkg-config))) | |
f032d0be | 918 | (home-page "https://art.gnome.org/") |
7d3f3651 AE |
919 | (synopsis |
920 | "GNOME icon theme") | |
921 | (description | |
922 | "Icons for the GNOME desktop.") | |
1dd26275 | 923 | (license license:lgpl3))) ; or Creative Commons BY-SA 3.0 |
7d3f3651 | 924 | |
14eeefa2 SB |
925 | ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0. |
926 | (define-public adwaita-icon-theme | |
927 | (package (inherit gnome-icon-theme) | |
928 | (name "adwaita-icon-theme") | |
412e5302 | 929 | (version "3.30.1") |
14eeefa2 SB |
930 | (source (origin |
931 | (method url-fetch) | |
932 | (uri (string-append "mirror://gnome/sources/" name "/" | |
933 | (version-major+minor version) "/" | |
934 | name "-" version ".tar.xz")) | |
935 | (sha256 | |
936 | (base32 | |
412e5302 | 937 | "1kp1lis3dr16jmlgycz1b29jsr6ir8wmqj6laqwlhs663cmjlxbd")))) |
5613c27d SB |
938 | (native-inputs |
939 | `(("gtk-encode-symbolic-svg" ,gtk+ "bin"))))) | |
14eeefa2 | 940 | |
ae792dba RW |
941 | (define-public tango-icon-theme |
942 | (package | |
943 | (name "tango-icon-theme") | |
944 | (version "0.8.90") | |
945 | (source (origin | |
946 | (method url-fetch) | |
947 | (uri (string-append "http://tango.freedesktop.org/releases/" | |
948 | "tango-icon-theme-" version ".tar.bz2")) | |
949 | (sha256 | |
950 | (base32 | |
951 | "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79")))) | |
952 | (build-system gnu-build-system) | |
953 | (native-inputs | |
954 | `(("icon-naming-utils" ,icon-naming-utils) | |
955 | ("intltool" ,intltool) | |
956 | ("imagemagick" ,imagemagick) | |
957 | ("pkg-config" ,pkg-config))) | |
958 | (home-page "http://tango-project.org/") | |
959 | (synopsis "Tango icon theme") | |
960 | (description "This is an icon theme that follows the Tango visual | |
961 | guidelines.") | |
962 | (license license:public-domain))) | |
963 | ||
9167f8e6 LC |
964 | (define-public shared-mime-info |
965 | (package | |
966 | (name "shared-mime-info") | |
d577e00f | 967 | (version "1.9") |
9167f8e6 LC |
968 | (source (origin |
969 | (method url-fetch) | |
5cc3096c | 970 | (uri (string-append "https://freedesktop.org/~hadess/" |
b38e45d8 | 971 | "shared-mime-info-" version ".tar.xz")) |
9167f8e6 LC |
972 | (sha256 |
973 | (base32 | |
d577e00f | 974 | "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw")))) |
9167f8e6 LC |
975 | (build-system gnu-build-system) |
976 | (arguments | |
977 | ;; The build system appears not to be parallel-safe. | |
978 | '(#:parallel-build? #f)) | |
979 | (inputs | |
980 | `(("glib" ,glib) | |
c4c4cc05 | 981 | ("libxml2" ,libxml2))) |
9167f8e6 | 982 | (native-inputs |
c4c4cc05 JD |
983 | `(("intltool" ,intltool) |
984 | ("pkg-config" ,pkg-config))) | |
57e7d748 | 985 | (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info") |
9167f8e6 LC |
986 | (synopsis "Database of common MIME types") |
987 | (description | |
988 | "The shared-mime-info package contains the core database of common types | |
989 | and the update-mime-database command used to extend it. It requires glib2 to | |
990 | be installed for building the update command. Additionally, it uses intltool | |
991 | for translations, though this is only a dependency for the maintainers. This | |
992 | database is translated at Transifex.") | |
1dd26275 | 993 | (license license:gpl2+))) |
9167f8e6 | 994 | |
dd1fcddc CB |
995 | (define-public system-config-printer |
996 | (package | |
997 | (name "system-config-printer") | |
998 | (version "1.5.11") | |
999 | (source (origin | |
1000 | (method url-fetch) | |
1001 | (uri (string-append | |
1002 | "https://github.com/zdohnal/system-config-printer/releases/" | |
1003 | "download/" version | |
1004 | "/system-config-printer-" version ".tar.xz")) | |
1005 | (sha256 | |
1006 | (base32 | |
1007 | "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q")))) | |
1008 | (build-system glib-or-gtk-build-system) | |
1009 | (arguments | |
1010 | `(#:imported-modules ((guix build python-build-system) | |
1011 | ,@%glib-or-gtk-build-system-modules) | |
1012 | #:phases | |
1013 | (modify-phases %standard-phases | |
1014 | (add-after 'unpack 'patch-Makefile.am | |
1015 | (lambda _ | |
1016 | ;; The Makefile generates some scripts, so set a valid shebang | |
1017 | (substitute* "Makefile.am" | |
1018 | (("/bin/bash") (which "bash"))) | |
1019 | (delete-file "configure") | |
1020 | #t)) | |
1021 | (add-after 'unpack 'patch-docbook-xml | |
1022 | (lambda* (#:key inputs #:allow-other-keys) | |
1023 | ;; Modify the man XML otherwise xmlto tries to access the network | |
1024 | (substitute* "man/system-config-printer.xml" | |
1025 | (("http://www.oasis-open.org/docbook/xml/4.1.2/") | |
1026 | (string-append (assoc-ref inputs "docbook-xml") | |
1027 | "/xml/dtd/docbook/"))) | |
1028 | #t)) | |
1029 | (add-after 'install 'wrap-for-python | |
1030 | (@@ (guix build python-build-system) wrap)) | |
1031 | (add-after 'install 'wrap | |
1032 | (lambda* (#:key outputs #:allow-other-keys) | |
1033 | (let ((out (assoc-ref outputs "out")) | |
1034 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
1035 | (for-each | |
1036 | (lambda (program) | |
1037 | (wrap-program program | |
1038 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
1039 | (map (lambda (name) | |
1040 | (string-append out "/bin/" name)) | |
1041 | '("system-config-printer" | |
1042 | "system-config-printer-applet" | |
1043 | "install-printerdriver" | |
1044 | "scp-dbus-service")))) | |
1045 | #t))))) | |
1046 | (inputs | |
1047 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1048 | ("gobject-introspection" ,gobject-introspection) | |
1049 | ("python" ,python) | |
1050 | ("cups" ,cups) | |
1051 | ("python-dbus" ,python-dbus) | |
1052 | ("python-pygobject" ,python-pygobject) | |
1053 | ("python-pycups" ,python-pycups) | |
1054 | ("python-requests" ,python-requests) | |
1055 | ("python-pycairo" ,python-pycairo) | |
1056 | ("libnotify" ,libnotify) | |
1057 | ("packagekit" ,packagekit))) | |
1058 | (native-inputs | |
1059 | `(("pkg-config" ,pkg-config) | |
1060 | ("desktop-file-utils" ,desktop-file-utils) | |
1061 | ("glib" ,glib) | |
1062 | ("autoconf" ,autoconf) | |
1063 | ("automake" ,automake) | |
1064 | ("intltool" ,intltool) | |
1065 | ("xmlto" ,xmlto) | |
1066 | ("docbook-xml" ,docbook-xml-4.1.2) | |
1067 | ("docbook-xsl" ,docbook-xsl) | |
1068 | ("libxml2" ,libxml2))) | |
1069 | (home-page "https://github.com/zdohnal/system-config-printer") | |
1070 | (synopsis "CUPS administration tool") | |
1071 | (description | |
1072 | "system-config-printer is a CUPS administration tool. It's written in | |
1073 | Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when | |
1074 | configuring CUPS.") | |
1075 | (license license:gpl2+))) | |
1076 | ||
bef4dd92 AE |
1077 | (define-public hicolor-icon-theme |
1078 | (package | |
1079 | (name "hicolor-icon-theme") | |
851cb6dd | 1080 | (version "0.17") |
bef4dd92 AE |
1081 | (source |
1082 | (origin | |
1083 | (method url-fetch) | |
5cc3096c | 1084 | (uri (string-append "https://icon-theme.freedesktop.org/releases/" |
b62a0070 | 1085 | "hicolor-icon-theme-" version ".tar.xz")) |
bef4dd92 AE |
1086 | (sha256 |
1087 | (base32 | |
851cb6dd | 1088 | "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i")))) |
bef4dd92 AE |
1089 | (build-system gnu-build-system) |
1090 | (arguments | |
1091 | `(#:tests? #f)) ; no check target | |
57e7d748 | 1092 | (home-page "https://icon-theme.freedesktop.org/releases/") |
bef4dd92 AE |
1093 | (synopsis |
1094 | "Freedesktop icon theme") | |
1095 | (description | |
1096 | "Freedesktop icon theme.") | |
1dd26275 | 1097 | (license license:gpl2))) |
bef4dd92 | 1098 | |
d9c1a22b AE |
1099 | (define-public libnotify |
1100 | (package | |
1101 | (name "libnotify") | |
195bfa68 | 1102 | (version "0.7.7") |
d9c1a22b AE |
1103 | (source |
1104 | (origin | |
1105 | (method url-fetch) | |
1106 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 1107 | (version-major+minor version) "/" |
d9c1a22b AE |
1108 | name "-" version ".tar.xz")) |
1109 | (sha256 | |
1110 | (base32 | |
195bfa68 | 1111 | "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w")))) |
d9c1a22b | 1112 | (build-system gnu-build-system) |
6acf6cec MB |
1113 | (arguments |
1114 | `(#:configure-flags '("--disable-static"))) | |
7ef08efa UK |
1115 | (propagated-inputs |
1116 | `(;; In Requires of libnotify.pc. | |
1117 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1118 | ("glib" ,glib))) | |
d9c1a22b | 1119 | (inputs |
7ef08efa | 1120 | `(("gtk+" ,gtk+) |
c4c4cc05 JD |
1121 | ("libpng" ,libpng))) |
1122 | (native-inputs | |
426adbe8 | 1123 | `(("pkg-config" ,pkg-config) |
277a7d82 JN |
1124 | ("glib" ,glib "bin") |
1125 | ("gobject-introspection" ,gobject-introspection))) | |
d9c1a22b AE |
1126 | (home-page "https://developer-next.gnome.org/libnotify/") |
1127 | (synopsis | |
1128 | "GNOME desktop notification library") | |
1129 | (description | |
1130 | "Libnotify is a library that sends desktop notifications to a | |
35b9e423 | 1131 | notification daemon, as defined in the Desktop Notifications spec. These |
d9c1a22b AE |
1132 | notifications can be used to inform the user about an event or display |
1133 | some form of information without getting in the user's way.") | |
1dd26275 | 1134 | (license license:lgpl2.1+))) |
7a8605ce CR |
1135 | |
1136 | (define-public libpeas | |
1137 | (package | |
1138 | (name "libpeas") | |
db122a9b | 1139 | (version "1.22.0") |
7a8605ce CR |
1140 | (source |
1141 | (origin | |
1142 | (method url-fetch) | |
1143 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 1144 | (version-major+minor version) "/" |
7a8605ce CR |
1145 | name "-" version ".tar.xz")) |
1146 | (sha256 | |
1147 | (base32 | |
db122a9b | 1148 | "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv")))) |
7a8605ce | 1149 | (build-system gnu-build-system) |
7a8605ce | 1150 | (inputs |
2ed6522a SB |
1151 | `(("gtk+" ,gtk+) |
1152 | ("glade" ,glade3) | |
2ed6522a SB |
1153 | ("python" ,python) |
1154 | ("python-pygobject" ,python-pygobject))) | |
141aed80 LC |
1155 | (native-inputs |
1156 | `(("pkg-config" ,pkg-config) | |
93622993 | 1157 | ("glib:bin" ,glib "bin") |
141aed80 LC |
1158 | ("gobject-introspection" ,gobject-introspection) |
1159 | ("intltool" ,intltool))) | |
55b7bbd8 LC |
1160 | (propagated-inputs |
1161 | ;; The .pc file "Requires" gobject-introspection. | |
1162 | `(("gobject-introspection" ,gobject-introspection))) | |
7a8605ce CR |
1163 | (home-page "https://wiki.gnome.org/Libpeas") |
1164 | (synopsis "GObject plugin system") | |
1165 | (description | |
d1e4ad1b TGR |
1166 | "Libpeas is a gobject-based plugin engine, targeted at giving every |
1167 | application the chance to assume its own extensibility. It also has a set of | |
1168 | features including, but not limited to: multiple extension points; on-demand | |
1169 | (lazy) programming language support for C, Python and JS; simplicity of the | |
1170 | API.") | |
1dd26275 | 1171 | (license license:lgpl2.0+))) |
ed19903d JD |
1172 | |
1173 | (define-public gtkglext | |
1174 | (package | |
1175 | (name "gtkglext") | |
1176 | (version "1.2.0") | |
1177 | (source (origin | |
1178 | (method url-fetch) | |
0f971a04 | 1179 | (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/" |
ed19903d JD |
1180 | version "/gtkglext-" version ".tar.gz")) |
1181 | (sha256 | |
1182 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
fc1adab1 AK |
1183 | (patches (search-patches |
1184 | "gtkglext-disable-disable-deprecated.patch")))) | |
ed19903d | 1185 | (build-system gnu-build-system) |
14e2f61a RW |
1186 | (arguments |
1187 | `(#:phases | |
1188 | (modify-phases %standard-phases | |
1189 | ;; Fix a collision between a local variable and a definition from | |
1190 | ;; glibc's string.h. | |
1191 | (add-after 'unpack 'fix-collision | |
1192 | (lambda _ | |
1193 | (substitute* "gdk/gdkglshapes.c" | |
1194 | ((" index") " triangle_index")) | |
1195 | #t))))) | |
ed19903d JD |
1196 | (inputs `(("gtk+" ,gtk+-2) |
1197 | ("mesa" ,mesa) | |
cc8b02f4 | 1198 | ("glu" ,glu) |
ed19903d JD |
1199 | ("libx11" ,libx11) |
1200 | ("libxt" ,libxt))) | |
426adbe8 LC |
1201 | (native-inputs `(("pkg-config" ,pkg-config) |
1202 | ("glib" ,glib "bin"))) | |
a83b6a06 | 1203 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 1204 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 1205 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 1206 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
1207 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
1208 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 1209 | (license license:lgpl2.1+))) |
3600420e JD |
1210 | |
1211 | (define-public glade3 | |
1212 | (package | |
1213 | (name "glade") | |
c6571adb | 1214 | (version "3.22.1") |
b38e45d8 EB |
1215 | (source (origin |
1216 | (method url-fetch) | |
1217 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1218 | (version-major+minor version) "/" | |
f5ca44b8 | 1219 | name "-" version ".tar.xz")) |
3600420e | 1220 | (sha256 |
f714d9fe | 1221 | (base32 |
c6571adb | 1222 | "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z")))) |
6983ba56 | 1223 | (build-system glib-or-gtk-build-system) |
f5ca44b8 RW |
1224 | (arguments |
1225 | `(#:tests? #f ; needs X, GL, and software rendering | |
1226 | #:phases | |
1227 | (modify-phases %standard-phases | |
1228 | (add-before 'configure 'fix-docbook | |
1229 | (lambda* (#:key inputs #:allow-other-keys) | |
1230 | (substitute* "man/Makefile.in" | |
1231 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
1232 | (string-append (assoc-ref inputs "docbook-xsl") | |
1233 | "/xml/xsl/docbook-xsl-" | |
1234 | ,(package-version docbook-xsl) | |
1235 | "/manpages/docbook.xsl"))) | |
1236 | #t))))) | |
3600420e | 1237 | (inputs |
f5ca44b8 | 1238 | `(("gtk+" ,gtk+) |
3600420e JD |
1239 | ("libxml2" ,libxml2))) |
1240 | (native-inputs | |
1241 | `(("intltool" ,intltool) | |
f5ca44b8 RW |
1242 | ("itstool" ,itstool) |
1243 | ("libxslt" ,libxslt) ;for xsltproc | |
1244 | ("docbook-xml" ,docbook-xml-4.2) | |
1245 | ("docbook-xsl" ,docbook-xsl) | |
1246 | ("python" ,python-2) | |
3600420e JD |
1247 | ("pkg-config" ,pkg-config))) |
1248 | (home-page "https://glade.gnome.org") | |
1249 | (synopsis "GTK+ rapid application development tool") | |
1250 | (description "Glade is a rapid application development (RAD) tool to | |
1251 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
1252 | the GNOME desktop environment.") | |
1dd26275 LC |
1253 | (license license:lgpl2.0+))) |
1254 | ||
1255 | (define-public libcroco | |
1256 | (package | |
1257 | (name "libcroco") | |
8bdacad2 | 1258 | (version "0.6.13") |
1dd26275 LC |
1259 | (source (origin |
1260 | (method url-fetch) | |
b38e45d8 EB |
1261 | (uri (string-append "mirror://gnome/sources/" name "/" |
1262 | (version-major+minor version) "/" | |
1263 | name "-" version ".tar.xz")) | |
1dd26275 LC |
1264 | (sha256 |
1265 | (base32 | |
8bdacad2 | 1266 | "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn")))) |
1dd26275 LC |
1267 | (build-system gnu-build-system) |
1268 | (native-inputs | |
1269 | `(("pkg-config" ,pkg-config))) | |
1270 | (inputs | |
1271 | `(("glib" ,glib) | |
1272 | ("libxml2" ,libxml2) | |
1273 | ("zlib" ,zlib))) | |
1274 | (home-page "https://github.com/GNOME/libcroco") | |
1275 | (synopsis "CSS2 parsing and manipulation library") | |
1276 | (description | |
1277 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
1278 | The parser provides a low level event driven SAC-like API and a CSS object | |
1279 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
1280 | XML/CSS rendering engine.") | |
1281 | ||
1282 | ;; LGPLv2.1-only. | |
1283 | (license license:lgpl2.1))) | |
25178594 LC |
1284 | |
1285 | (define-public libgsf | |
1286 | (package | |
1287 | (name "libgsf") | |
8d1644a1 | 1288 | (version "1.14.46") |
25178594 LC |
1289 | (source (origin |
1290 | (method url-fetch) | |
b38e45d8 EB |
1291 | (uri (string-append "mirror://gnome/sources/" name "/" |
1292 | (version-major+minor version) "/" | |
1293 | name "-" version ".tar.xz")) | |
25178594 LC |
1294 | (sha256 |
1295 | (base32 | |
8d1644a1 | 1296 | "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa")))) |
25178594 LC |
1297 | (build-system gnu-build-system) |
1298 | (native-inputs | |
1299 | `(("intltool" ,intltool) | |
1300 | ("pkg-config" ,pkg-config))) | |
1301 | (inputs | |
1302 | `(("python" ,python) | |
1303 | ("zlib" ,zlib) | |
1304 | ("bzip2" ,bzip2))) | |
1305 | (propagated-inputs | |
1306 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
1307 | ("glib" ,glib) | |
1308 | ("libxml2" ,libxml2))) | |
f032d0be | 1309 | (home-page "https://www.gnome.org/projects/libgsf") |
25178594 LC |
1310 | (synopsis "GNOME's Structured File Library") |
1311 | (description | |
1312 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
1313 | dealing with different structured file formats.") | |
1314 | ||
1315 | ;; LGPLv2.1-only. | |
1316 | (license license:lgpl2.1))) | |
63016e7c LC |
1317 | |
1318 | (define-public librsvg | |
f67417a1 MB |
1319 | (package |
1320 | (name "librsvg") | |
1321 | (version "2.40.20") | |
1322 | (source (origin | |
1323 | (method url-fetch) | |
1324 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1325 | (version-major+minor version) "/" | |
1326 | name "-" version ".tar.xz")) | |
1327 | (sha256 | |
1328 | (base32 | |
1329 | "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g")))) | |
1330 | (build-system gnu-build-system) | |
1331 | (arguments | |
1332 | `(#:configure-flags | |
1333 | (list "--disable-static" | |
1334 | "--enable-vala") ; needed for e.g. gnome-mines | |
1335 | #:phases | |
1336 | (modify-phases %standard-phases | |
1337 | (add-before 'configure 'pre-configure | |
1338 | (lambda* (#:key inputs #:allow-other-keys) | |
1339 | (substitute* "gdk-pixbuf-loader/Makefile.in" | |
1340 | ;; By default the gdk-pixbuf loader is installed under | |
1341 | ;; gdk-pixbuf's prefix. Work around that. | |
1342 | (("gdk_pixbuf_moduledir = .*$") | |
1343 | (string-append "gdk_pixbuf_moduledir = " | |
1344 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" | |
1345 | "loaders\n")) | |
1346 | ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg. | |
1347 | (("gdk_pixbuf_cache_file = .*$") | |
1348 | "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")) | |
1349 | #t)) | |
1350 | (add-before 'check 'remove-failing-tests | |
1351 | (lambda _ | |
1352 | (with-directory-excursion "tests/fixtures/reftests" | |
1353 | (for-each delete-file | |
1354 | '(;; This test fails on i686: | |
1355 | "svg1.1/masking-path-04-b.svg" | |
1356 | ;; This test fails on armhf: | |
1357 | "svg1.1/masking-mask-01-b.svg" | |
1358 | ;; This test fails on aarch64: | |
1359 | "bugs/777834-empty-text-children.svg"))) | |
1360 | #t))))) | |
1361 | (native-inputs | |
1362 | `(("pkg-config" ,pkg-config) | |
1363 | ("vala" ,vala) | |
1364 | ("glib" ,glib "bin") ; glib-mkenums, etc. | |
1365 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. | |
1366 | (inputs | |
1367 | `(("pango" ,pango) | |
1368 | ("libcroco" ,libcroco) | |
1369 | ("bzip2" ,bzip2) | |
1370 | ("libgsf" ,libgsf) | |
1371 | ("libxml2" ,libxml2))) | |
1372 | (propagated-inputs | |
1373 | ;; librsvg-2.0.pc refers to all of that. | |
1374 | `(("cairo" ,cairo) | |
1375 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1376 | ("glib" ,glib))) | |
1377 | (home-page "https://wiki.gnome.org/LibRsvg") | |
1378 | (synopsis "Render SVG files using Cairo") | |
1379 | (description | |
1380 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics | |
1381 | library.") | |
1382 | (license license:lgpl2.0+))) | |
1383 | ||
1384 | (define-public librsvg-next | |
63016e7c LC |
1385 | (package |
1386 | (name "librsvg") | |
ec47c07d | 1387 | (version "2.44.12") |
63016e7c LC |
1388 | (source (origin |
1389 | (method url-fetch) | |
b38e45d8 EB |
1390 | (uri (string-append "mirror://gnome/sources/" name "/" |
1391 | (version-major+minor version) "/" | |
1392 | name "-" version ".tar.xz")) | |
63016e7c LC |
1393 | (sha256 |
1394 | (base32 | |
ec47c07d | 1395 | "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6")))) |
63016e7c LC |
1396 | (build-system gnu-build-system) |
1397 | (arguments | |
d953418a RW |
1398 | `(#:configure-flags |
1399 | (list "--disable-static" | |
1400 | "--enable-vala") ; needed for e.g. gnome-mines | |
7e0f4cb1 | 1401 | #:make-flags '("CC=gcc") |
ec47c07d | 1402 | #:phases |
b6239e45 | 1403 | (modify-phases %standard-phases |
ec47c07d MB |
1404 | ;; Don't patch anything in vendor/ to avoid having to recompute |
1405 | ;; checksums for the bundled Cargo "crates". TODO: Unbundle those. | |
1406 | (delete 'patch-source-shebangs) | |
1407 | (delete 'patch-generated-file-shebangs) | |
1408 | (delete 'patch-usr-bin-file) | |
1409 | (add-before 'configure 'patch-all-the-things | |
1410 | (lambda _ | |
1411 | (for-each patch-shebang '("tap-driver.sh" "tap-test")) | |
1412 | (patch-/usr/bin/file "configure") | |
1413 | #t)) | |
b6239e45 EF |
1414 | (add-before 'configure 'pre-configure |
1415 | (lambda* (#:key inputs #:allow-other-keys) | |
1416 | (substitute* "gdk-pixbuf-loader/Makefile.in" | |
1417 | ;; By default the gdk-pixbuf loader is installed under | |
1418 | ;; gdk-pixbuf's prefix. Work around that. | |
1419 | (("gdk_pixbuf_moduledir = .*$") | |
1420 | (string-append "gdk_pixbuf_moduledir = " | |
1421 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" | |
1422 | "loaders\n")) | |
1423 | ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg. | |
1424 | (("gdk_pixbuf_cache_file = .*$") | |
1425 | "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")) | |
1426 | #t)) | |
ec47c07d | 1427 | (add-before 'check 'remove-failing-tests |
b6239e45 | 1428 | (lambda _ |
64a153bd MW |
1429 | (with-directory-excursion "tests/fixtures/reftests" |
1430 | (for-each delete-file | |
ec47c07d MB |
1431 | '(;; The images produced by these tests differ slightly |
1432 | ;; from their reference counterparts due to differences | |
1433 | ;; in the build environment (missing fonts, etc). See | |
1434 | ;; <tests/README.md> for details. | |
1435 | ;; These fail on x86_64. | |
1436 | "svg1.1/coords-viewattr-02-b.svg" | |
1437 | "svg1.1/filters-composite-04-f.svg" | |
1438 | "svg1.1/filters-image-01-b.svg" | |
1439 | "svg1.1/filters-conv-02-f.svg" | |
1440 | "svg1.1/filters-conv-04-f.svg" | |
1441 | ;; This test fails on i686: | |
64a153bd | 1442 | "svg1.1/masking-path-04-b.svg" |
64a153bd MW |
1443 | ;; This test fails on armhf: |
1444 | "svg1.1/masking-mask-01-b.svg" | |
64a153bd | 1445 | ;; This test fails on aarch64: |
ec47c07d | 1446 | "bugs/777834-empty-text-children.svg"))) |
b6239e45 | 1447 | #t))))) |
63016e7c LC |
1448 | (native-inputs |
1449 | `(("pkg-config" ,pkg-config) | |
ec47c07d MB |
1450 | ;; This is the minimum supported Rust version in Librsvg 2.44. |
1451 | ("rust" ,rust-1.27) | |
1452 | ("cargo" ,rust-1.27 "cargo") | |
d953418a | 1453 | ("vala" ,vala) |
44add1ce | 1454 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
1455 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
1456 | (inputs | |
1457 | `(("pango" ,pango) | |
1458 | ("libcroco" ,libcroco) | |
1459 | ("bzip2" ,bzip2) | |
1460 | ("libgsf" ,libgsf) | |
1461 | ("libxml2" ,libxml2))) | |
1462 | (propagated-inputs | |
1463 | ;; librsvg-2.0.pc refers to all of that. | |
1464 | `(("cairo" ,cairo) | |
1465 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1466 | ("glib" ,glib))) | |
1467 | (home-page "https://wiki.gnome.org/LibRsvg") | |
1468 | (synopsis "Render SVG files using Cairo") | |
1469 | (description | |
35b9e423 | 1470 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
1471 | library.") |
1472 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
1473 | |
1474 | (define-public libidl | |
1475 | (package | |
1476 | (name "libidl") | |
1477 | (version "0.8.14") | |
1478 | (source (origin | |
1479 | (method url-fetch) | |
1480 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
1481 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1482 | (version-major+minor version) "/" | |
1483 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1484 | (sha256 |
1485 | (base32 | |
1486 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
1487 | (build-system gnu-build-system) | |
1488 | (inputs `(("glib" ,glib))) | |
1489 | (native-inputs | |
1490 | `(("pkg-config" ,pkg-config) | |
b3546174 | 1491 | ("flex" ,flex) |
5698b8b8 JD |
1492 | ("bison" ,bison))) |
1493 | (home-page "http://freecode.com/projects/libidl") | |
1494 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 1495 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
1496 | Definition Language (idl) files, which is a specification for defining |
1497 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 1498 | GNOME project, and the primary means of libidl distribution). However, the |
2e6ecc5c | 1499 | functionality was designed to be as reusable and portable as possible.") |
5698b8b8 JD |
1500 | (license license:lgpl2.0+))) |
1501 | ||
1502 | ||
1503 | (define-public orbit2 | |
1504 | (package | |
1505 | (name "orbit2") | |
1506 | (version "2.14.19") | |
1507 | (source (origin | |
1508 | (method url-fetch) | |
2e6ecc5c | 1509 | (uri (let ((upstream-name "ORBit2")) |
a124bbd2 | 1510 | (string-append "mirror://gnome/sources/" upstream-name "/" |
b38e45d8 EB |
1511 | (version-major+minor version) "/" |
1512 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 | 1513 | (sha256 |
a124bbd2 SB |
1514 | (base32 |
1515 | "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
5698b8b8 JD |
1516 | (build-system gnu-build-system) |
1517 | (arguments | |
a124bbd2 | 1518 | `(#:configure-flags |
8aad2e32 LC |
1519 | '(;; We don't need static libraries, plus they don't build reproducibly |
1520 | ;; (non-deterministic ordering of .o files in the archive.) | |
1521 | "--disable-static" | |
1522 | ||
1523 | ;; The programmer kindly gives us a hook to turn off deprecation | |
1524 | ;; warnings ... | |
1525 | "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
a124bbd2 SB |
1526 | ;; ... which they then completly ignore !! |
1527 | #:phases | |
dc1d3cde KK |
1528 | (modify-phases %standard-phases |
1529 | (add-before 'configure 'ignore-deprecations | |
1530 | (lambda _ | |
1531 | (substitute* "linc2/src/Makefile.in" | |
1532 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1533 | #t))))) | |
5698b8b8 JD |
1534 | (inputs `(("glib" ,glib) |
1535 | ("libidl" ,libidl))) | |
1536 | (native-inputs | |
1537 | `(("pkg-config" ,pkg-config))) | |
1538 | (home-page "https://projects.gnome.org/orbit2/") | |
1539 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 1540 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
2e6ecc5c | 1541 | featuring mature C, C++ and Python bindings.") |
a124bbd2 SB |
1542 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving |
1543 | ;; a version. SOME of the code files have licence notices for GPLv2+. | |
1544 | ;; The tarball contains files of the text of GPLv2 and LGPLv2. | |
892307ae LC |
1545 | (license license:gpl2+) |
1546 | (properties `((upstream-name . "ORBit2"))))) | |
5698b8b8 JD |
1547 | |
1548 | ||
1549 | (define-public libbonobo | |
1550 | (package | |
1551 | (name "libbonobo") | |
1552 | (version "2.32.1") | |
1553 | (source (origin | |
1554 | (method url-fetch) | |
5becd025 | 1555 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 1556 | (version-major+minor version) |
5becd025 | 1557 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 1558 | (sha256 |
f1fc45a9 | 1559 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
fc1adab1 AK |
1560 | (patches (search-patches |
1561 | "libbonobo-activation-test-race.patch")))) | |
5698b8b8 JD |
1562 | (build-system gnu-build-system) |
1563 | (arguments | |
1564 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
1565 | `(#:configure-flags |
1566 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
1567 | ;; ... which they then completly ignore !! | |
1568 | #:phases | |
dc1d3cde KK |
1569 | (modify-phases %standard-phases |
1570 | (add-before 'configure 'ignore-deprecations | |
1571 | (lambda _ | |
1572 | (substitute* "activation-server/Makefile.in" | |
1573 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
994b5b1d LC |
1574 | #t))) |
1575 | ||
1576 | ;; There's apparently a race condition between the server stub | |
1577 | ;; generation and linking of the example under 'samples/echo' that can | |
1578 | ;; lead do undefined references when building in parallel, as reported | |
1579 | ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>. | |
1580 | ;; Thus, disable parallel builds. | |
1581 | #:parallel-build? #f)) | |
5698b8b8 JD |
1582 | (inputs `(("popt" ,popt) |
1583 | ("libxml2" ,libxml2))) | |
1584 | ;; The following are Required by the .pc file | |
44add1ce | 1585 | (propagated-inputs |
5698b8b8 JD |
1586 | `(("glib" ,glib) |
1587 | ("orbit2" ,orbit2))) | |
1588 | (native-inputs | |
1589 | `(("intltool" ,intltool) | |
1590 | ("pkg-config" ,pkg-config) | |
221ed17a | 1591 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1592 | ("flex" ,flex) |
1593 | ("bison" ,bison))) | |
1594 | (home-page "https://developer.gnome.org/libbonobo/") | |
1595 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
1596 | (description "Bonobo is a framework for creating reusable components for | |
2e6ecc5c | 1597 | use in GNOME applications, built on top of CORBA.") |
5698b8b8 JD |
1598 | ;; Licence not explicitly stated. Source files contain no licence notices. |
1599 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
1600 | ;; GPLv2 covers both conditions | |
1601 | (license license:gpl2+))) | |
1602 | ||
1603 | ||
1604 | (define-public gconf | |
1605 | (package | |
1606 | (name "gconf") | |
1607 | (version "3.2.6") | |
1608 | (source (origin | |
1609 | (method url-fetch) | |
a124bbd2 SB |
1610 | (uri |
1611 | (let ((upstream-name "GConf")) | |
1612 | (string-append "mirror://gnome/sources/" upstream-name "/" | |
b38e45d8 EB |
1613 | (version-major+minor version) "/" |
1614 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
1615 | (sha256 |
1616 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
1617 | (build-system gnu-build-system) | |
2e88d113 | 1618 | (inputs `(("dbus-glib" ,dbus-glib) |
5698b8b8 | 1619 | ("libxml2" ,libxml2))) |
2e6ecc5c AE |
1620 | (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file |
1621 | ("orbit2" ,orbit2))) | |
5698b8b8 JD |
1622 | (native-inputs |
1623 | `(("intltool" ,intltool) | |
221ed17a | 1624 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1625 | ("pkg-config" ,pkg-config))) |
1626 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
1627 | (synopsis "Store application preferences") |
1628 | (description "Gconf is a system for storing application preferences. It | |
1629 | is intended for user preferences; not arbitrary data storage.") | |
29d2f451 LC |
1630 | (license license:lgpl2.0+) |
1631 | (properties '((upstream-name . "GConf"))))) | |
5698b8b8 JD |
1632 | |
1633 | ||
1634 | (define-public gnome-mime-data | |
1635 | (package | |
1636 | (name "gnome-mime-data") | |
1637 | (version "2.18.0") | |
1638 | (source (origin | |
1639 | (method url-fetch) | |
b38e45d8 EB |
1640 | (uri (string-append "mirror://gnome/sources/" name "/" |
1641 | (version-major+minor version) "/" | |
1642 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1643 | (sha256 |
1644 | (base32 | |
1645 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
1646 | (build-system gnu-build-system) | |
1647 | (native-inputs | |
1648 | `(("perl" ,perl) | |
1649 | ("intltool" ,intltool))) | |
3e6add96 LC |
1650 | (arguments |
1651 | '(#:phases (modify-phases %standard-phases | |
1652 | (add-after 'configure 'use-our-intltool | |
1653 | (lambda _ | |
1654 | ;; Do not use the bundled intltool commands, which lack | |
1655 | ;; the "dotless @INC" fixes of our 'intltool' package. | |
1656 | (substitute* (find-files "." "^Makefile$") | |
1657 | (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool) | |
1658 | (string-append "INTLTOOL_" tool " = intltool-" | |
1659 | (string-downcase tool) "\n"))) | |
1660 | #t))))) | |
f032d0be | 1661 | (home-page "https://www.gnome.org") |
35b9e423 | 1662 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
1663 | (description "GNOME Mime Data is a module which contains the base MIME |
1664 | and Application database for GNOME. The data stored by this module is | |
1665 | designed to be accessed through the MIME functions in GnomeVFS.") | |
1666 | (license license:gpl2+))) | |
1667 | ||
1668 | ||
1669 | (define-public gnome-vfs | |
1670 | (package | |
1671 | (name "gnome-vfs") | |
1672 | (version "2.24.4") | |
1673 | (source (origin | |
1674 | (method url-fetch) | |
b38e45d8 EB |
1675 | (uri (string-append "mirror://gnome/sources/" name "/" |
1676 | (version-major+minor version) "/" | |
1677 | name "-" version ".tar.bz2")) | |
5698b8b8 | 1678 | (sha256 |
9e12bc34 MW |
1679 | (base32 |
1680 | "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
5698b8b8 JD |
1681 | (build-system gnu-build-system) |
1682 | (arguments | |
db5127d8 | 1683 | `(#:phases |
dc1d3cde KK |
1684 | (modify-phases %standard-phases |
1685 | (add-before 'configure 'ignore-deprecations | |
1686 | (lambda _ | |
1687 | (substitute* '("libgnomevfs/Makefile.in" | |
1688 | "daemon/Makefile.in") | |
1689 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1690 | #t)) | |
1691 | (add-before 'configure 'patch-test-async-cancel-to-never-fail | |
1692 | (lambda _ | |
1693 | (substitute* "test/test-async-cancel.c" | |
1694 | (("EXIT_FAILURE") "77")) | |
1695 | #t))))) | |
2e6ecc5c | 1696 | (inputs `(("libxml2" ,libxml2) |
5698b8b8 | 1697 | ("dbus-glib" ,dbus-glib) |
5698b8b8 JD |
1698 | ("gconf" ,gconf) |
1699 | ("gnome-mime-data" ,gnome-mime-data) | |
1700 | ("zlib" ,zlib))) | |
1701 | (native-inputs | |
221ed17a EB |
1702 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1703 | ("intltool" ,intltool) | |
5698b8b8 JD |
1704 | ("pkg-config" ,pkg-config))) |
1705 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 1706 | (synopsis "Access files and folders in GNOME applications") |
9e12bc34 MW |
1707 | (description |
1708 | "GnomeVFS is the core library used to access files and folders in GNOME | |
1709 | applications. It provides a file system abstraction which allows applications | |
1710 | to access local and remote files with a single consistent API.") | |
5698b8b8 JD |
1711 | (license license:lgpl2.0+))) |
1712 | ||
1713 | ||
1714 | ||
1715 | (define-public libgnome | |
1716 | (package | |
1717 | (name "libgnome") | |
1718 | (version "2.32.1") | |
1719 | (source (origin | |
1720 | (method url-fetch) | |
b38e45d8 EB |
1721 | (uri (string-append "mirror://gnome/sources/" name "/" |
1722 | (version-major+minor version) "/" | |
1723 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1724 | (sha256 |
1725 | (base32 | |
17c3eea7 LC |
1726 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")) |
1727 | (patches (search-patches "libgnome-encoding.patch")))) | |
5698b8b8 JD |
1728 | (build-system gnu-build-system) |
1729 | (arguments | |
1730 | `(#:phases | |
dc1d3cde KK |
1731 | (modify-phases %standard-phases |
1732 | (add-before 'configure 'enable-deprecated | |
1733 | (lambda _ | |
1734 | (substitute* "libgnome/Makefile.in" | |
1735 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1736 | #t))))) | |
25338e9f | 1737 | (inputs `(("libxml2" ,libxml2))) |
5698b8b8 | 1738 | (native-inputs |
221ed17a EB |
1739 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1740 | ("intltool" ,intltool) | |
5698b8b8 JD |
1741 | ("pkg-config" ,pkg-config))) |
1742 | ;; The following are listed as Required in the .pc file | |
1743 | ;; (except for libcanberra -- which seems to be oversight on the part | |
1744 | ;; of the upstream developers -- anything that links against libgnome, | |
1745 | ;; must also link against libcanberra | |
1746 | (propagated-inputs | |
1747 | `(("libcanberra" ,libcanberra) | |
1748 | ("libbonobo" ,libbonobo) | |
1749 | ("gconf" ,gconf) | |
a640d3d5 LC |
1750 | ("gnome-vfs" ,gnome-vfs) |
1751 | ("popt" ,popt))) ;gnome-program.h includes popt.h | |
5698b8b8 JD |
1752 | (home-page "https://developer.gnome.org/libgnome/") |
1753 | (synopsis "Useful routines for building applications") | |
1754 | (description "The libgnome library provides a number of useful routines | |
1755 | for building modern applications, including session management, activation of | |
1756 | files and URIs, and displaying help.") | |
1757 | (license license:lgpl2.0+))) | |
1758 | ||
1759 | ||
1760 | (define-public libart-lgpl | |
1761 | (package | |
1762 | (name "libart-lgpl") | |
76c9b6aa | 1763 | (version "2.3.21") |
5698b8b8 JD |
1764 | (source (origin |
1765 | (method url-fetch) | |
1766 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
1767 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1768 | (version-major+minor version) "/" | |
1769 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1770 | (sha256 |
1771 | (base32 | |
76c9b6aa | 1772 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
1773 | (build-system gnu-build-system) |
1774 | (native-inputs | |
1775 | `(("pkg-config" ,pkg-config))) | |
1776 | (home-page "https://people.gnome.org/~mathieu/libart") | |
1777 | (synopsis "2D drawing library") | |
2e6ecc5c | 1778 | (description "Libart is a 2D drawing library intended as a |
5698b8b8 JD |
1779 | high-quality vector-based 2D library with antialiasing and alpha composition.") |
1780 | (license license:lgpl2.0+))) | |
1781 | ||
1782 | ||
1783 | ||
1784 | (define-public libgnomecanvas | |
1785 | (package | |
1786 | (name "libgnomecanvas") | |
1787 | (version "2.30.3") | |
1788 | (source (origin | |
1789 | (method url-fetch) | |
b38e45d8 EB |
1790 | (uri (string-append "mirror://gnome/sources/" name "/" |
1791 | (version-major+minor version) "/" | |
1792 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
1793 | (sha256 |
1794 | (base32 | |
1795 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
1796 | (build-system gnu-build-system) | |
1797 | ;; Mentioned as Required in the .pc file | |
1798 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
1799 | ("gtk+" ,gtk+-2))) | |
1800 | (native-inputs | |
1801 | `(("intltool" ,intltool) | |
221ed17a | 1802 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1803 | ("pkg-config" ,pkg-config))) |
1804 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
1805 | (synopsis "Flexible widget for creating interactive structured graphics") | |
1806 | (description "The GnomeCanvas widget provides a flexible widget for | |
1807 | creating interactive structured graphics.") | |
1808 | (license license:lgpl2.0+))) | |
1809 | ||
eadc734e RW |
1810 | (define-public libgnomecanvasmm |
1811 | (package | |
1812 | (name "libgnomecanvasmm") | |
1813 | (version "2.26.0") | |
1814 | (source (origin | |
1815 | (method url-fetch) | |
1816 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1817 | (version-major+minor version) "/" | |
1818 | name "-" version ".tar.bz2")) | |
1819 | (sha256 | |
1820 | (base32 | |
1821 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1822 | (build-system gnu-build-system) | |
1823 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) | |
1824 | (native-inputs | |
1825 | `(("gtkmm-2" ,gtkmm-2) | |
1826 | ("pkg-config" ,pkg-config))) | |
8e933cb3 | 1827 | (home-page "https://gtkmm.org") |
eadc734e RW |
1828 | (synopsis "C++ bindings to the GNOME Canvas library") |
1829 | (description "C++ bindings to the GNOME Canvas library.") | |
1830 | (license license:lgpl2.0+))) | |
1831 | ||
5698b8b8 JD |
1832 | (define-public libgnomeui |
1833 | (package | |
1834 | (name "libgnomeui") | |
1835 | (version "2.24.5") | |
1836 | (source (origin | |
1837 | (method url-fetch) | |
b38e45d8 EB |
1838 | (uri (string-append "mirror://gnome/sources/" name "/" |
1839 | (version-major+minor version) "/" | |
1840 | name "-" version ".tar.bz2")) | |
8fa1872a | 1841 | (patches (search-patches "libgnomeui-utf8.patch")) |
5698b8b8 JD |
1842 | (sha256 |
1843 | (base32 | |
1844 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1845 | (build-system gnu-build-system) | |
1846 | ;; Mentioned as Required in the .pc file | |
0a38a497 AE |
1847 | (propagated-inputs `(("libbonoboui" ,libbonoboui) |
1848 | ("libgnome" ,libgnome) | |
1849 | ("libgnomecanvas" ,libgnomecanvas) | |
5698b8b8 | 1850 | ("libgnome-keyring" ,libgnome-keyring))) |
0a38a497 | 1851 | (inputs `(("libjpeg" ,libjpeg) |
5698b8b8 JD |
1852 | ("popt" ,popt) |
1853 | ("libbonobo" ,libbonobo) | |
1854 | ("libxml2" ,libxml2) | |
1855 | ("libglade" ,libglade))) | |
1856 | (native-inputs | |
221ed17a EB |
1857 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1858 | ("intltool" ,intltool) | |
5698b8b8 JD |
1859 | ("pkg-config" ,pkg-config))) |
1860 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1861 | (synopsis "Additional widgets for applications") | |
35b9e423 | 1862 | (description "The libgnomeui library provides additional widgets for |
e881752c AK |
1863 | applications. Many of the widgets from libgnomeui have already been |
1864 | ported to GTK+.") | |
5698b8b8 JD |
1865 | (license license:lgpl2.0+))) |
1866 | ||
1867 | (define-public libglade | |
1868 | (package | |
1869 | (name "libglade") | |
1870 | (version "2.6.4") | |
1871 | (source (origin | |
1872 | (method url-fetch) | |
b38e45d8 EB |
1873 | (uri (string-append "mirror://gnome/sources/" name "/" |
1874 | (version-major+minor version) "/" | |
1875 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1876 | (sha256 |
1877 | (base32 | |
1878 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1879 | (build-system gnu-build-system) | |
1880 | (inputs | |
92dcc23d AE |
1881 | `(("python" ,python))) ;; needed for the optional libglade-convert program |
1882 | (propagated-inputs | |
5698b8b8 | 1883 | `(("gtk+-2" ,gtk+-2) |
92dcc23d | 1884 | ("libxml2" ,libxml2))) ; required by libglade-2.0.pc |
5698b8b8 JD |
1885 | (native-inputs |
1886 | `(("pkg-config" ,pkg-config))) | |
1887 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1888 | (synopsis "Load glade interfaces and access the glade built widgets") |
1889 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1890 | graphical interfaces described in glade files and for accessing the |
1891 | widgets built in the loading process.") | |
1892 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1893 | ||
1894 | (define-public libgnomeprint | |
eb497b66 LC |
1895 | ;; This library has been deprecated since 2006; see |
1896 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1897 | (package |
1898 | (name "libgnomeprint") | |
d19db454 | 1899 | (version "2.18.8") |
5698b8b8 JD |
1900 | (source (origin |
1901 | (method url-fetch) | |
b38e45d8 EB |
1902 | (uri (string-append "mirror://gnome/sources/" name "/" |
1903 | (version-major+minor version) "/" | |
1904 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1905 | (sha256 |
1906 | (base32 | |
d19db454 | 1907 | "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h")))) |
5698b8b8 JD |
1908 | (build-system gnu-build-system) |
1909 | (inputs | |
1910 | `(("popt" ,popt) | |
1911 | ("libart-lgpl" ,libart-lgpl) | |
1912 | ("gtk+" ,gtk+-2) | |
44add1ce | 1913 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1914 | (native-inputs |
1915 | `(("intltool" ,intltool) | |
221ed17a | 1916 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1917 | ("pkg-config" ,pkg-config))) |
1918 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1919 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1920 | (description |
1921 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1922 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1923 | (license license:lgpl2.0+))) |
1924 | ||
1925 | ||
1926 | (define-public libgnomeprintui | |
eb497b66 | 1927 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1928 | (package |
1929 | (name "libgnomeprintui") | |
36053d7f | 1930 | (version "2.18.6") |
5698b8b8 JD |
1931 | (source (origin |
1932 | (method url-fetch) | |
b38e45d8 EB |
1933 | (uri (string-append "mirror://gnome/sources/" name "/" |
1934 | (version-major+minor version) "/" | |
1935 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1936 | (sha256 |
1937 | (base32 | |
36053d7f | 1938 | "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm")))) |
5698b8b8 JD |
1939 | (build-system gnu-build-system) |
1940 | ;; Mentioned as Required in the .pc file | |
1941 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1942 | (inputs `(("gtk+" ,gtk+-2) | |
1943 | ("glib" ,glib) | |
1944 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1945 | ("libgnomecanvas" ,libgnomecanvas) | |
2e6ecc5c | 1946 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1947 | (native-inputs |
1948 | `(("intltool" ,intltool) | |
1949 | ("pkg-config" ,pkg-config))) | |
1950 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1951 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1952 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1953 | (license license:lgpl2.0+))) |
1954 | ||
5698b8b8 JD |
1955 | (define-public libbonoboui |
1956 | (package | |
1957 | (name "libbonoboui") | |
1958 | (version "2.24.5") | |
1959 | (source (origin | |
1960 | (method url-fetch) | |
b38e45d8 EB |
1961 | (uri (string-append "mirror://gnome/sources/" name "/" |
1962 | (version-major+minor version) "/" | |
1963 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1964 | (sha256 |
1965 | (base32 | |
1966 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1967 | (build-system gnu-build-system) | |
1968 | (arguments | |
1969 | `(#:phases | |
dc1d3cde KK |
1970 | (modify-phases %standard-phases |
1971 | (add-before 'check 'start-xserver | |
1972 | (lambda* (#:key inputs #:allow-other-keys) | |
1973 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1974 | (disp ":1")) | |
1975 | ||
1976 | (setenv "HOME" (getcwd)) | |
1977 | (setenv "DISPLAY" disp) | |
1978 | ;; There must be a running X server and make check doesn't start one. | |
1979 | ;; Therefore we must do it. | |
1980 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))))))) | |
5698b8b8 JD |
1981 | ;; Mentioned as Required by the .pc file |
1982 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1983 | (inputs | |
1984 | `(("popt" ,popt) | |
1985 | ("pangox-compat" ,pangox-compat) | |
1986 | ("libgnome" ,libgnome) | |
1987 | ("libgnomecanvas" ,libgnomecanvas) | |
1988 | ("libglade" ,libglade))) | |
1989 | (native-inputs | |
221ed17a EB |
1990 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
1991 | ("intltool" ,intltool) | |
5698b8b8 JD |
1992 | ("xorg-server" ,xorg-server) ; For running the tests |
1993 | ("pkg-config" ,pkg-config))) | |
1994 | (home-page "https://developer.gnome.org/libbonoboui/") | |
1995 | (synopsis "Some user interface controls using Bonobo") | |
1996 | (description "The Bonobo UI library provides a number of user interface | |
1997 | controls using the Bonobo component framework.") | |
1998 | (license license:lgpl2.0+))) | |
1999 | ||
fecbf86e SB |
2000 | (define-public libwnck |
2001 | (package | |
2002 | (name "libwnck") | |
6cc6e3e5 | 2003 | (version "3.30.0") |
fecbf86e SB |
2004 | (source (origin |
2005 | (method url-fetch) | |
2006 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2007 | (version-major+minor version) "/" | |
2008 | name "-" version ".tar.xz")) | |
2009 | (sha256 | |
ad9b8987 | 2010 | (base32 |
6cc6e3e5 | 2011 | "0f9lvhm3w25046dqq8xyg7nzggxpmdriwrb661nng05a8qk0svdc")))) |
fecbf86e SB |
2012 | (build-system gnu-build-system) |
2013 | (native-inputs | |
2014 | `(("pkg-config" ,pkg-config) | |
2015 | ("intltool" ,intltool))) | |
2016 | (propagated-inputs | |
427476d5 SB |
2017 | `(("gtk+" ,gtk+) |
2018 | ("libxres" ,libxres) | |
2019 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
2020 | (home-page "https://developer.gnome.org/libwnck/") |
2021 | (synopsis "Window Navigator Construction Kit") | |
2022 | (description | |
2023 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
2024 | writing pagers, tasklists, and more generally applications that are dealing | |
2025 | with window management. It tries hard to respect the Extended Window Manager | |
2026 | Hints specification (EWMH).") | |
2027 | (license license:lgpl2.0+))) | |
2028 | ||
2029 | ;; stable version for gtk2, required by xfwm4. | |
dbb7a081 | 2030 | (define-public libwnck-2 |
fecbf86e SB |
2031 | (package (inherit libwnck) |
2032 | (name "libwnck") | |
2033 | (version "2.30.7") | |
2034 | (source (origin | |
2035 | (method url-fetch) | |
2036 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2037 | (version-major+minor version) "/" | |
2038 | name "-" version ".tar.xz")) | |
2039 | (sha256 | |
2040 | (base32 | |
2041 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
2042 | (propagated-inputs | |
427476d5 SB |
2043 | `(("gtk+" ,gtk+-2) |
2044 | ("libxres" ,libxres) | |
2045 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
2046 | |
2047 | (define-public goffice | |
2048 | (package | |
2049 | (name "goffice") | |
0528f70d | 2050 | (version "0.10.44") |
b804c61e JD |
2051 | (source (origin |
2052 | (method url-fetch) | |
b38e45d8 EB |
2053 | (uri (string-append "mirror://gnome/sources/" name "/" |
2054 | (version-major+minor version) "/" | |
2055 | name "-" version ".tar.xz")) | |
b804c61e | 2056 | (sha256 |
0528f70d | 2057 | (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d")))) |
b804c61e | 2058 | (build-system gnu-build-system) |
72a06d3e | 2059 | (outputs '("out" |
0528f70d | 2060 | "doc")) ;4.0 MiB of gtk-doc |
72a06d3e LC |
2061 | (arguments |
2062 | '(#:configure-flags (list (string-append "--with-html-dir=" | |
2063 | (assoc-ref %outputs "doc") | |
2064 | "/share/gtk-doc/html")))) | |
b804c61e JD |
2065 | (inputs |
2066 | `(("gtk+" ,gtk+) | |
2067 | ("libgsf" ,libgsf) | |
2068 | ("librsvg" ,librsvg) | |
2069 | ("libxslt" ,libxslt) | |
2070 | ("libxml2" ,libxml2))) | |
2071 | (native-inputs | |
2072 | `(("intltool" ,intltool) | |
f280cdb1 | 2073 | ("glib" ,glib "bin") |
b804c61e JD |
2074 | ("pkg-config" ,pkg-config))) |
2075 | (home-page "https://developer.gnome.org/goffice/") | |
2076 | (synopsis "Document-centric objects and utilities") | |
2077 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
2e6ecc5c | 2078 | (license |
b804c61e JD |
2079 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
2080 | ;; Note: NOT LGPL | |
2081 | (list license:gpl2 license:gpl3)))) | |
2082 | ||
c024ae36 RW |
2083 | (define-public goffice-0.8 |
2084 | (package (inherit goffice) | |
2085 | (version "0.8.17") | |
2086 | (source (origin | |
2087 | (method url-fetch) | |
2088 | (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/" | |
2089 | (version-major+minor version) "/" | |
2090 | (package-name goffice) "-" version ".tar.xz")) | |
2091 | (sha256 | |
2092 | (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n")))) | |
2093 | (arguments | |
2094 | `(#:phases | |
dc1d3cde KK |
2095 | (modify-phases %standard-phases |
2096 | (add-after 'unpack 'fix-pcre-check | |
2097 | (lambda _ | |
2098 | ;; Only glib.h can be included directly. See | |
2099 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316 | |
2100 | (substitute* "configure" | |
2101 | (("glib/gregex\\.h") "glib.h")) #t))) | |
72a06d3e LC |
2102 | |
2103 | ,@(package-arguments goffice))) | |
c024ae36 RW |
2104 | (propagated-inputs |
2105 | ;; libgoffice-0.8.pc mentions libgsf-1 | |
2106 | `(("libgsf" ,libgsf))) | |
2107 | (inputs | |
2108 | `(("gtk" ,gtk+-2) | |
2109 | ,@(alist-delete "gtk" (package-inputs goffice)))))) | |
2110 | ||
b804c61e JD |
2111 | (define-public gnumeric |
2112 | (package | |
2113 | (name "gnumeric") | |
597ab33d | 2114 | (version "1.12.45") |
b804c61e JD |
2115 | (source (origin |
2116 | (method url-fetch) | |
b7fd0217 | 2117 | (uri (string-append "mirror://gnome/sources/gnumeric/" |
b38e45d8 | 2118 | (version-major+minor version) "/" |
b7fd0217 | 2119 | "gnumeric-" version ".tar.xz")) |
b804c61e JD |
2120 | (sha256 |
2121 | (base32 | |
597ab33d | 2122 | "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h")))) |
bd1b1e05 | 2123 | (build-system glib-or-gtk-build-system) |
b804c61e JD |
2124 | (arguments |
2125 | `(;; The gnumeric developers don't worry much about failing tests. | |
2126 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
2e6ecc5c | 2127 | #:tests? #f |
b804c61e | 2128 | #:phases |
7bcbd40d EF |
2129 | (modify-phases %standard-phases |
2130 | (add-before | |
2131 | 'configure 'pre-conf | |
2132 | (lambda* (#:key outputs #:allow-other-keys) | |
2133 | ;; Make install tries to write into the directory of goffice | |
2134 | ;; I am informed that this only affects the possibility to embed a | |
2135 | ;; spreadsheet inside an Abiword document. So presumably when we | |
2136 | ;; package Abiword we'll have to refer it to this directory. | |
2137 | (substitute* "configure" | |
2138 | (("^GOFFICE_PLUGINS_DIR=.*") | |
2139 | (string-append "GOFFICE_PLUGINS_DIR=" | |
2140 | (assoc-ref outputs "out") | |
2141 | "/goffice/plugins")))))))) | |
b804c61e JD |
2142 | (inputs |
2143 | `(("glib" ,glib) | |
2144 | ("gtk+" ,gtk+) | |
2145 | ("goffice" ,goffice) | |
2146 | ("libgsf" ,libgsf) | |
7bcbd40d | 2147 | ("librsvg" ,librsvg) |
b804c61e | 2148 | ("libxml2" ,libxml2) |
7bcbd40d | 2149 | ("libxslt" ,libxslt) |
2e4c5457 | 2150 | ("python" ,python-2) |
6983ba56 | 2151 | ("python2-pygobject" ,python2-pygobject) |
b804c61e JD |
2152 | ("zlib" ,zlib))) |
2153 | (native-inputs | |
6983ba56 | 2154 | `(("bison" ,bison) |
1ed398d1 | 2155 | ("docbook-xml" ,docbook-xml) |
6983ba56 | 2156 | ("intltool" ,intltool) |
1ed398d1 | 2157 | ("itstool" ,itstool) |
b9663471 | 2158 | ("glib:bin" ,glib "bin") |
b804c61e JD |
2159 | ("pkg-config" ,pkg-config))) |
2160 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
2161 | (synopsis "Spreadsheet application") |
2162 | (description | |
2163 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
2164 | interoperable with other spreadsheet applications. It has a vast array of | |
2165 | features beyond typical spreadsheet functionality, such as support for linear | |
2166 | and non-linear solvers, statistical analysis, and telecommunication | |
2167 | engineering.") | |
2168 | (license | |
b804c61e JD |
2169 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
2170 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
2171 | |
2172 | (define-public gnome-themes-standard | |
2173 | (package | |
2174 | (name "gnome-themes-standard") | |
0b7b8fb0 | 2175 | (version "3.22.3") |
6f885c05 FB |
2176 | (source |
2177 | (origin | |
2178 | (method url-fetch) | |
2e6ecc5c | 2179 | (uri (string-append "mirror://gnome/sources/" name "/" |
6f885c05 FB |
2180 | (version-major+minor version) "/" name "-" |
2181 | version ".tar.xz")) | |
2182 | (sha256 | |
2183 | (base32 | |
0b7b8fb0 | 2184 | "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31")))) |
6f885c05 | 2185 | (build-system gnu-build-system) |
8ac70c7f SB |
2186 | (arguments |
2187 | '(#:configure-flags | |
2188 | ;; Don't create 'icon-theme.cache'. | |
2189 | (let* ((coreutils (assoc-ref %build-inputs "coreutils")) | |
2190 | (true (string-append coreutils "/bin/true"))) | |
2191 | (list (string-append "GTK_UPDATE_ICON_CACHE=" true))))) | |
6f885c05 FB |
2192 | (inputs |
2193 | `(("gtk+" ,gtk+) | |
2194 | ("gtk+-2" ,gtk+-2) | |
2195 | ("librsvg" ,librsvg) | |
2196 | ("libxml2" ,libxml2) | |
2197 | ("glib" ,glib))) | |
2198 | (native-inputs | |
2199 | `(("intltool" ,intltool) | |
2200 | ("glib:bin" ,glib "bin") | |
2201 | ("pkg-config" ,pkg-config))) | |
6f885c05 FB |
2202 | (home-page "https://launchpad.net/gnome-themes-standard") |
2203 | (synopsis "Default GNOME 3 themes") | |
2204 | (description | |
2205 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
2206 | (license license:lgpl2.1+))) | |
5a659a48 | 2207 | |
df90c701 RW |
2208 | (define-public seahorse |
2209 | (package | |
2210 | (name "seahorse") | |
0db6bafb | 2211 | (version "3.30") |
df90c701 RW |
2212 | (source |
2213 | (origin | |
2214 | (method url-fetch) | |
2215 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2216 | (version-major+minor version) "/" name "-" | |
2217 | version ".tar.xz")) | |
2218 | (sha256 | |
2219 | (base32 | |
0db6bafb | 2220 | "1sbj1czlx1fakm72dwgbn0bwm12j838yaky4mkf6hf8j8afnxmzp")))) |
df90c701 RW |
2221 | (build-system glib-or-gtk-build-system) |
2222 | (inputs | |
2223 | `(("gtk+" ,gtk+) | |
2224 | ("gcr" ,gcr) | |
34b979b9 | 2225 | ("gnupg" ,gnupg) |
df90c701 | 2226 | ("gpgme" ,gpgme) |
34b979b9 | 2227 | ("openldap" ,openldap) |
4a1bf090 | 2228 | ("openssh" ,openssh) |
34b979b9 EF |
2229 | ("libsecret" ,libsecret) |
2230 | ("libsoup" ,libsoup))) | |
df90c701 RW |
2231 | (native-inputs |
2232 | `(("intltool" ,intltool) | |
2233 | ("glib:bin" ,glib "bin") | |
2234 | ("itstool" ,itstool) | |
bcb354ad SB |
2235 | ("pkg-config" ,pkg-config) |
2236 | ("xmllint" ,libxml2))) | |
df90c701 RW |
2237 | (home-page "https://launchpad.net/gnome-themes-standard") |
2238 | (synopsis "Manage encryption keys and passwords in the GNOME keyring") | |
2239 | (description | |
2240 | "Seahorse is a GNOME application for managing encryption keys and | |
2241 | passwords in the GNOME keyring.") | |
2242 | (license license:gpl2+))) | |
2243 | ||
5a659a48 SB |
2244 | (define-public vala |
2245 | (package | |
2246 | (name "vala") | |
2d6872f6 | 2247 | (version "0.44.5") |
5a659a48 SB |
2248 | (source (origin |
2249 | (method url-fetch) | |
2250 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2251 | (version-major+minor version) "/" | |
2252 | name "-" version ".tar.xz")) | |
2253 | (sha256 | |
2254 | (base32 | |
2d6872f6 | 2255 | "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv")))) |
5a659a48 | 2256 | (build-system gnu-build-system) |
1ea90625 SB |
2257 | (arguments |
2258 | '(#:phases | |
2259 | (modify-phases %standard-phases | |
f4925a4f | 2260 | (add-before 'check 'pre-check |
1ea90625 SB |
2261 | (lambda _ |
2262 | (setenv "CC" "gcc") | |
8839b6be RW |
2263 | (substitute* "valadoc/tests/testrunner.sh" |
2264 | (("export PKG_CONFIG_PATH=" m) | |
2265 | (string-append m "$PKG_CONFIG_PATH:"))) | |
f4925a4f SB |
2266 | ;; For missing '/etc/machine-id'. |
2267 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
8839b6be | 2268 | #t))))) |
5a659a48 SB |
2269 | (native-inputs |
2270 | `(("pkg-config" ,pkg-config) | |
2271 | ("flex" ,flex) | |
2272 | ("bison" ,bison) | |
2273 | ("xsltproc" ,libxslt) | |
2274 | ("dbus" ,dbus) ; for dbus tests | |
2275 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
8839b6be RW |
2276 | (inputs |
2277 | `(("graphviz" ,graphviz))) | |
5a659a48 | 2278 | (propagated-inputs |
8839b6be | 2279 | `(("glib" ,glib))) ; required by libvala-0.40.pc |
f032d0be | 2280 | (home-page "https://live.gnome.org/Vala/") |
5a659a48 SB |
2281 | (synopsis "Compiler for the GObject type system") |
2282 | (description | |
2283 | "Vala is a programming language that aims to bring modern programming | |
2284 | language features to GNOME developers without imposing any additional runtime | |
2285 | requirements and without using a different ABI compared to applications and | |
2286 | libraries written in C.") | |
2287 | (license license:lgpl2.1+))) | |
ea57378f SB |
2288 | |
2289 | (define-public vte | |
2290 | (package | |
2291 | (name "vte") | |
5f36c5eb | 2292 | (version "0.54.2") |
ea57378f SB |
2293 | (source (origin |
2294 | (method url-fetch) | |
2295 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2296 | (version-major+minor version) "/" | |
2297 | name "-" version ".tar.xz")) | |
2298 | (sha256 | |
2299 | (base32 | |
5f36c5eb | 2300 | "0d1q2nc7lic4zax6csy7xdxq8hxjsf7m7dq6a21s1w8s2fslhzaj")))) |
ea57378f SB |
2301 | (build-system gnu-build-system) |
2302 | (native-inputs | |
2303 | `(("pkg-config" ,pkg-config) | |
2304 | ("intltool" ,intltool) | |
2305 | ("vala" ,vala) | |
2306 | ("gobject-introspection" ,gobject-introspection) | |
2307 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
73f0e1ab | 2308 | ("gperf" ,gperf) |
ea57378f SB |
2309 | ("xmllint" ,libxml2))) |
2310 | (propagated-inputs | |
302393bc | 2311 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
de1215e2 MW |
2312 | ("gnutls" ,gnutls) ;ditto |
2313 | ("pcre2" ,pcre2))) ;ditto | |
f032d0be | 2314 | (home-page "https://www.gnome.org/") |
ea57378f SB |
2315 | (synopsis "Virtual Terminal Emulator") |
2316 | (description | |
2317 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
2318 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
2319 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
2320 | editors, IDEs, etc.") | |
2321 | (license license:lgpl2.1+))) | |
2322 | ||
c44fb4df MO |
2323 | (define-public vte-ng |
2324 | (package | |
2325 | (inherit vte) | |
2326 | (name "vte-ng") | |
03c59a25 | 2327 | (version "0.56.2.a") |
afd90f8d | 2328 | (home-page "https://github.com/thestinger/vte-ng") |
6bc00737 MB |
2329 | (source (origin |
2330 | (method git-fetch) | |
2331 | (uri (git-reference (url home-page) (commit version))) | |
2332 | (file-name (git-file-name name version)) | |
2333 | (sha256 | |
2334 | (base32 | |
03c59a25 | 2335 | "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki")))) |
c44fb4df MO |
2336 | (native-inputs |
2337 | `(("gtk-doc" ,gtk-doc) | |
011b858b | 2338 | ("gperf" ,gperf) |
c44fb4df MO |
2339 | ("autoconf" ,autoconf) |
2340 | ("automake" ,automake) | |
2341 | ("libtool" ,libtool) | |
2342 | ,@(package-native-inputs vte))) | |
c44fb4df | 2343 | (arguments |
76c6bdc0 MB |
2344 | `(#:phases (modify-phases %standard-phases |
2345 | (replace 'bootstrap | |
c44fb4df MO |
2346 | (lambda _ |
2347 | (setenv "NOCONFIGURE" "true") | |
e1d887fb | 2348 | (invoke "sh" "autogen.sh")))))) |
c44fb4df MO |
2349 | (synopsis "Enhanced VTE terminal widget") |
2350 | (description | |
2351 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
2352 | GTK+, this fork provides additional functions exposed for keyboard text | |
2353 | selection and URL hints."))) | |
2354 | ||
2776d72c EF |
2355 | ;; provides vte 2.90, required for some terminal emulators |
2356 | ;; tilda bug: https://github.com/lanoxx/tilda/issues/94 | |
2357 | ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021 | |
2358 | ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/ | |
2359 | ;; pantheon-terminal, roxterm are not currently packaged | |
2360 | (define-public vte-0.36 | |
2361 | (package (inherit vte) | |
2362 | (name "vte") | |
2363 | (version "0.36.5") | |
2364 | (source (origin | |
2365 | (method url-fetch) | |
2366 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2367 | (version-major+minor version) "/" | |
2368 | name "-" version ".tar.xz")) | |
2369 | (sha256 | |
2370 | (base32 | |
2371 | "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2")))) | |
2372 | (propagated-inputs | |
2373 | `(("gtk" ,gtk+) | |
2374 | ("ncurses" ,ncurses))))) | |
2375 | ||
ea57378f SB |
2376 | ;; stable version for gtk2, required by xfce4-terminal. |
2377 | (define-public vte/gtk+-2 | |
2378 | (package (inherit vte) | |
2379 | (name "vte") | |
2380 | (version "0.28.2") | |
2381 | (source (origin | |
2382 | (method url-fetch) | |
2383 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2384 | (version-major+minor version) "/" | |
2385 | name "-" version ".tar.xz")) | |
2386 | (sha256 | |
2387 | (base32 | |
7d48938a EF |
2388 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")) |
2389 | (patches (search-patches | |
2390 | "vte-CVE-2012-2738-pt1.patch" | |
2391 | "vte-CVE-2012-2738-pt2.patch")))) | |
ea57378f SB |
2392 | (arguments |
2393 | '(#:configure-flags '("--disable-python"))) | |
2394 | (native-inputs | |
2395 | `(("pkg-config" ,pkg-config) | |
2396 | ("intltool" ,intltool) | |
2397 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
2398 | (propagated-inputs | |
2399 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
2400 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 | 2401 | |
cce0da5e TD |
2402 | (define-public vinagre |
2403 | (package | |
2404 | (name "vinagre") | |
2405 | (version "3.22.0") | |
2406 | (source (origin | |
2407 | (method url-fetch) | |
2408 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2409 | (version-major+minor version) "/" | |
2410 | name "-" version ".tar.xz")) | |
684f97f8 EF |
2411 | (patches (search-patches "vinagre-newer-freerdp.patch" |
2412 | "vinagre-newer-rdp-parameters.patch")) | |
cce0da5e TD |
2413 | (sha256 |
2414 | (base32 | |
2415 | "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d")))) | |
2416 | (build-system glib-or-gtk-build-system) | |
684f97f8 EF |
2417 | (arguments |
2418 | '(#:phases | |
2419 | (modify-phases %standard-phases | |
1839768c EF |
2420 | (add-before 'install 'skip-gtk-update-icon-cache |
2421 | (lambda _ | |
2422 | ;; Don't create 'icon-theme.cache' | |
2423 | (substitute* (find-files "." "^Makefile$") | |
2424 | (("gtk-update-icon-cache") (which "true"))) | |
2425 | #t)) | |
684f97f8 EF |
2426 | (add-after 'unpack 'patch-configure |
2427 | (lambda _ | |
2428 | (substitute* "configure" | |
2429 | (("freerdp") "freerdp2")) | |
2430 | #t))))) | |
cce0da5e TD |
2431 | (native-inputs |
2432 | `(("pkg-config" ,pkg-config) | |
2433 | ("intltool" ,intltool) | |
2434 | ("itstool" ,itstool) | |
1839768c | 2435 | ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas |
cce0da5e TD |
2436 | (inputs |
2437 | `(("libxml2" ,libxml2) | |
2438 | ("gtk-vnc" ,gtk-vnc) | |
2439 | ("gnome-keyring" ,gnome-keyring) | |
2440 | ("libsecret" ,libsecret) | |
2441 | ("freerdp" ,freerdp) | |
2442 | ("spice" ,spice) | |
2443 | ("spice-gtk" ,spice-gtk) | |
2444 | ("telepathy-glib" ,telepathy-glib) | |
2445 | ("vte" ,vte))) | |
cce0da5e TD |
2446 | (home-page "https://wiki.gnome.org/Apps/Vinagre") |
2447 | (synopsis "Remote desktop viewer for GNOME") | |
2448 | (description "Vinagre is a remote display client supporting the VNC, SPICE | |
2449 | and RDP protocols.") | |
2450 | (license license:gpl3+))) | |
2451 | ||
b47e1b20 FB |
2452 | (define-public dconf |
2453 | (package | |
2454 | (name "dconf") | |
1e33331c | 2455 | (version "0.32.0") |
b47e1b20 FB |
2456 | (source (origin |
2457 | (method url-fetch) | |
2458 | (uri (string-append | |
2e6ecc5c | 2459 | "mirror://gnome/sources/" name "/" |
b47e1b20 FB |
2460 | (version-major+minor version) "/" |
2461 | name "-" version ".tar.xz")) | |
2462 | (sha256 | |
f05c809f | 2463 | (base32 |
1e33331c | 2464 | "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38")))) |
35fa923d | 2465 | (build-system meson-build-system) |
bc036f4c MB |
2466 | (propagated-inputs |
2467 | ;; In Requires of dconf.pc. | |
2468 | `(("glib" ,glib))) | |
b47e1b20 FB |
2469 | (inputs |
2470 | `(("gtk+" ,gtk+) | |
bc036f4c | 2471 | ("dbus" ,dbus))) |
b47e1b20 | 2472 | (native-inputs |
1e33331c MB |
2473 | `(("bash-completion" ,bash-completion) |
2474 | ("libxslt" ,libxslt) ;for xsltproc | |
bc036f4c | 2475 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES |
b47e1b20 FB |
2476 | ("docbook-xml" ,docbook-xml-4.2) |
2477 | ("docbook-xsl" ,docbook-xsl) | |
35fa923d | 2478 | ("glib:bin" ,glib "bin") |
03676d6f | 2479 | ("gtk-doc" ,gtk-doc) |
35fa923d MB |
2480 | ("pkg-config" ,pkg-config) |
2481 | ("vala" ,vala))) | |
b47e1b20 FB |
2482 | (arguments |
2483 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
2484 | ; or /etc/machine-id. | |
35fa923d MB |
2485 | #:glib-or-gtk? #t |
2486 | #:configure-flags '("-Denable-gtk-doc=true"))) | |
b47e1b20 FB |
2487 | (home-page "https://developer.gnome.org/dconf") |
2488 | (synopsis "Low-level GNOME configuration system") | |
2489 | (description "Dconf is a low-level configuration system. Its main purpose | |
2490 | is to provide a backend to GSettings on platforms that don't already have | |
2491 | configuration storage systems.") | |
e20e6b40 | 2492 | (license license:lgpl2.1+))) |
109da1c0 AE |
2493 | |
2494 | (define-public json-glib | |
2495 | (package | |
2496 | (name "json-glib") | |
4115e8ea | 2497 | (version "1.4.4") |
109da1c0 AE |
2498 | (source (origin |
2499 | (method url-fetch) | |
2500 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2501 | (version-major+minor version) "/" | |
2502 | name "-" version ".tar.xz")) | |
2503 | (sha256 | |
2504 | (base32 | |
4115e8ea | 2505 | "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j")))) |
98afa184 | 2506 | (build-system meson-build-system) |
109da1c0 | 2507 | (native-inputs |
98afa184 MB |
2508 | `(("gettext" ,gettext-minimal) |
2509 | ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal | |
109da1c0 AE |
2510 | ("gobject-introspection" ,gobject-introspection) |
2511 | ("pkg-config" ,pkg-config))) | |
2512 | (propagated-inputs | |
88c6b580 | 2513 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
2514 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
2515 | (synopsis "Compiler for the GObject type system") | |
7c125ce0 AK |
2516 | (description |
2517 | "JSON-GLib is a C library based on GLib providing serialization and | |
2518 | deserialization support for the JavaScript Object Notation (JSON) format | |
2519 | described by RFC 4627. It provides parser and generator GObject classes and | |
2520 | various wrappers for the complex data types employed by JSON, such as arrays | |
2521 | and objects.") | |
109da1c0 | 2522 | (license license:lgpl2.1+))) |
6f96a359 SB |
2523 | |
2524 | (define-public libxklavier | |
2525 | (package | |
2526 | (name "libxklavier") | |
2527 | (version "5.3") | |
2528 | (source (origin | |
2529 | (method url-fetch) | |
2530 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2531 | version "/" name "-" version ".tar.xz")) | |
2532 | (sha256 | |
2533 | (base32 | |
2534 | "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) | |
2535 | (build-system gnu-build-system) | |
2536 | (arguments | |
2537 | '(#:configure-flags | |
2538 | (list (string-append "--with-xkb-base=" | |
2539 | (assoc-ref %build-inputs "xkeyboard-config") | |
b19d6805 | 2540 | "/share/X11/xkb")))) |
6f96a359 SB |
2541 | (native-inputs |
2542 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
2543 | ("gobject-introspection" ,gobject-introspection) | |
2544 | ("pkg-config" ,pkg-config))) | |
2545 | (propagated-inputs | |
2546 | ;; Required by libxklavier.pc. | |
2547 | `(("glib" ,glib) | |
2548 | ("libxml2" ,libxml2))) | |
2549 | (inputs | |
2550 | `(("iso-codes" ,iso-codes) | |
2551 | ("libxi" ,libxi) | |
2552 | ("libxkbfile" ,libxkbfile) | |
2553 | ("xkbcomp" ,xkbcomp) | |
2554 | ("xkeyboard-config" ,xkeyboard-config))) | |
57e7d748 | 2555 | (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/") |
6f96a359 SB |
2556 | (synopsis "High-level API for X Keyboard Extension") |
2557 | (description | |
2558 | "LibXklavier is a library providing high-level API for X Keyboard | |
e881752c AK |
2559 | Extension known as XKB. This library is intended to support XFree86 and other |
2560 | commercial X servers. It is useful for creating XKB-related software (layout | |
6f96a359 SB |
2561 | indicators etc).") |
2562 | (license license:lgpl2.0+))) | |
619936a4 LC |
2563 | |
2564 | (define-public python2-rsvg | |
2565 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
2566 | (package | |
2567 | (name "python2-rsvg") | |
2568 | (version "2.32.0") | |
2569 | (source | |
2570 | (origin | |
2571 | (method url-fetch) | |
2572 | (uri (string-append | |
2573 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
2574 | version ".tar.bz2")) | |
2575 | (sha256 | |
2576 | (base32 | |
2577 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
2578 | (build-system gnu-build-system) | |
2579 | (native-inputs | |
2580 | `(("pkg-config" ,pkg-config))) | |
2581 | (inputs | |
2582 | `(("python" ,python-2) | |
2583 | ("python2-pygtk" ,python2-pygtk) | |
2584 | ("librsvg" ,librsvg))) | |
f032d0be | 2585 | (home-page "https://www.gnome.org") |
619936a4 LC |
2586 | (synopsis "Python bindings to librsvg") |
2587 | (description | |
3ad75446 | 2588 | "This package provides Python bindings to librsvg, the SVG rendering |
619936a4 LC |
2589 | library.") |
2590 | ||
2591 | ;; This is the license of the rsvg bindings. The license of each module | |
2592 | ;; of gnome-python-desktop is given in 'COPYING'. | |
2593 | (license license:lgpl2.1+))) | |
a31a6d22 | 2594 | |
f2ca414a SB |
2595 | (define-public glib-networking |
2596 | (package | |
2597 | (name "glib-networking") | |
0d75c64d | 2598 | (version "2.60.3") |
f2ca414a SB |
2599 | (source (origin |
2600 | (method url-fetch) | |
2601 | (uri (string-append "mirror://gnome/sources/glib-networking/" | |
2602 | (version-major+minor version) "/" | |
2603 | name "-" version ".tar.xz")) | |
2604 | (sha256 | |
2605 | (base32 | |
0d75c64d | 2606 | "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm")))) |
65211552 | 2607 | (build-system meson-build-system) |
f2ca414a | 2608 | (arguments |
0d75c64d | 2609 | `(#:configure-flags '("-Dlibproxy_support=false"))) |
f2ca414a SB |
2610 | (native-inputs |
2611 | `(("pkg-config" ,pkg-config) | |
2612 | ("intltool" ,intltool))) | |
2613 | (inputs | |
2614 | `(("glib" ,glib) | |
2615 | ("gnutls" ,gnutls) | |
2616 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
2617 | ("p11-kit" ,p11-kit))) | |
f032d0be | 2618 | (home-page "https://www.gnome.org") |
f2ca414a SB |
2619 | (synopsis "Network-related GIO modules") |
2620 | (description | |
2621 | "This package contains various network related extensions for the GIO | |
2622 | library.") | |
2623 | (license license:lgpl2.0+))) | |
2624 | ||
ca649680 | 2625 | (define-public rest |
4510b2da | 2626 | (package |
ca649680 | 2627 | (name "rest") |
a4194d16 | 2628 | (version "0.8.1") |
4510b2da SB |
2629 | (source (origin |
2630 | (method url-fetch) | |
2631 | (uri (string-append "mirror://gnome/sources/rest/" | |
ca649680 SB |
2632 | (version-major+minor version) "/" |
2633 | name "-" version ".tar.xz")) | |
4510b2da SB |
2634 | (sha256 |
2635 | (base32 | |
a4194d16 | 2636 | "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5")))) |
4510b2da SB |
2637 | (build-system gnu-build-system) |
2638 | (arguments | |
2639 | '(#:tests? #f ; tests require internet connection | |
2640 | #:configure-flags | |
2641 | '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"))) | |
2642 | (native-inputs | |
2643 | `(("glib-mkenums" ,glib "bin") | |
2644 | ("gobject-introspection" ,gobject-introspection) | |
2645 | ("pkg-config" ,pkg-config))) | |
2646 | (propagated-inputs | |
2647 | ;; rest-0.7.pc refers to all these. | |
2648 | `(("glib" ,glib) | |
2649 | ("libsoup" ,libsoup) | |
2650 | ("libxml2" ,libxml2))) | |
24d6cc1d | 2651 | (home-page "https://www.gtk.org/") |
4510b2da SB |
2652 | (synopsis "RESTful web api query library") |
2653 | (description | |
2654 | "This library was designed to make it easier to access web services that | |
2655 | claim to be \"RESTful\". It includes convenience wrappers for libsoup and | |
2656 | libxml to ease remote use of the RESTful API.") | |
2657 | (license license:lgpl2.1+))) | |
2658 | ||
6e1bb642 SB |
2659 | (define-public libsoup |
2660 | (package | |
2661 | (name "libsoup") | |
b1d81ba0 | 2662 | (version "2.66.2") |
6e1bb642 SB |
2663 | (source (origin |
2664 | (method url-fetch) | |
2665 | (uri (string-append "mirror://gnome/sources/libsoup/" | |
2666 | (version-major+minor version) "/" | |
2667 | name "-" version ".tar.xz")) | |
2668 | (sha256 | |
2669 | (base32 | |
b1d81ba0 | 2670 | "0amfw1yvy1kjrg41rfh2vvrw5gkwnyckqbw1fab50hm6xc1acbmx")))) |
eccaa8bf | 2671 | (build-system meson-build-system) |
6e1bb642 SB |
2672 | (outputs '("out" "doc")) |
2673 | (arguments | |
2deb146f | 2674 | `(#:modules ((guix build utils) |
eccaa8bf | 2675 | (guix build meson-build-system) |
2deb146f LC |
2676 | (ice-9 popen)) |
2677 | ||
eccaa8bf | 2678 | #:configure-flags '("-Ddoc=true") |
6e1bb642 SB |
2679 | #:phases |
2680 | (modify-phases %standard-phases | |
eccaa8bf | 2681 | (add-after 'unpack 'adjust-tests |
26c228f9 | 2682 | (lambda _ |
eccaa8bf MB |
2683 | ;; This test fails due to missing /etc/nsswitch.conf |
2684 | ;; in the build environment. | |
26c228f9 LC |
2685 | (substitute* "tests/socket-test.c" |
2686 | ((".*/sockets/unconnected.*") "")) | |
2deb146f LC |
2687 | |
2688 | ;; Generate a self-signed certificate that has "localhost" as its | |
2689 | ;; 'dnsName'. Failing to do that, and starting with GnuTLS | |
2690 | ;; 3.5.12, tests such as "ssl-tests" fail: | |
2691 | ;; | |
2692 | ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK) | |
2693 | ;; | |
2694 | ;; 'certtool' is interactive so we have to pipe it the answers. | |
2695 | ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>. | |
2696 | (let ((pipe (open-output-pipe "certtool --generate-self-signed \ | |
2697 | --load-privkey tests/test-key.pem --outfile tests/test-cert.pem"))) | |
2698 | (for-each (lambda (line) | |
2699 | (display line pipe) | |
2700 | (newline pipe)) | |
2701 | '("" ;Common name | |
2702 | "" ;UID | |
2703 | "Guix" ;Organizational unit name | |
2704 | "GNU" ;Organization name | |
2705 | "" ;Locality name | |
2706 | "" ;State or province | |
2707 | "" ;Country | |
2708 | "" ;subject's domain component (DC) | |
2709 | ||
2710 | "" ;serial number | |
2711 | "-1" ;expiration time | |
2712 | "N" ;belong to authority? | |
2713 | "N" ;web client certificate? | |
2714 | "N" ;IPsec IKE? | |
2715 | "Y" ;web server certificate? | |
2716 | "localhost" ;dnsName of subject | |
2717 | "" ;dnsName of subject (end) | |
2718 | "" ;URI of subject | |
2719 | "127.0.0.1" ;IP address of subject | |
2720 | "" ;signing? | |
06f5bc4e MB |
2721 | "" ;encryption (RSA)? |
2722 | "" ;data encryption? | |
2deb146f LC |
2723 | "" ;sign OCSP requests? |
2724 | "" ;sign code? | |
2725 | "" ;time stamping? | |
2726 | "" ;email protection? | |
2727 | "" ;URI of the CRL distribution point | |
2728 | "y" ;above info OK? | |
2729 | )) | |
2730 | (close-pipe pipe)) | |
26c228f9 | 2731 | #t)) |
eccaa8bf MB |
2732 | (add-after 'install 'move-doc |
2733 | (lambda* (#:key outputs #:allow-other-keys) | |
2734 | (let ((out (assoc-ref outputs "out")) | |
2735 | (doc (assoc-ref outputs "doc"))) | |
2736 | (mkdir-p (string-append doc "/share")) | |
2737 | (copy-recursively (string-append out "/share/gtk-doc") | |
2738 | (string-append doc "/share/gtk-doc")) | |
2739 | (delete-file-recursively (string-append out "/share/gtk-doc")) | |
2740 | #t)))))) | |
6e1bb642 | 2741 | (native-inputs |
26c228f9 | 2742 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
6e1bb642 | 2743 | ("gobject-introspection" ,gobject-introspection) |
eccaa8bf | 2744 | ("gtk-doc" ,gtk-doc) |
6e1bb642 SB |
2745 | ("intltool" ,intltool) |
2746 | ("pkg-config" ,pkg-config) | |
2747 | ("python" ,python-wrapper) | |
fd730590 | 2748 | ("vala" ,vala) |
6e1bb642 SB |
2749 | ;; These are needed for the tests. |
2750 | ;; FIXME: Add PHP once available. | |
2751 | ("curl" ,curl) | |
2deb146f | 2752 | ("gnutls" ,gnutls) ;for 'certtool' |
6e1bb642 SB |
2753 | ("httpd" ,httpd))) |
2754 | (propagated-inputs | |
2755 | ;; libsoup-2.4.pc refers to all these. | |
2756 | `(("glib" ,glib) | |
249846bf | 2757 | ("libpsl" ,libpsl) |
eccaa8bf | 2758 | ("libxml2" ,libxml2) |
6e1bb642 | 2759 | ("sqlite" ,sqlite))) |
eccaa8bf MB |
2760 | (inputs |
2761 | `(("glib-networking" ,glib-networking) | |
2762 | ("mit-krb5" ,mit-krb5))) | |
6e1bb642 SB |
2763 | (home-page "https://live.gnome.org/LibSoup/") |
2764 | (synopsis "GLib-based HTTP Library") | |
2765 | (description | |
2766 | "LibSoup is an HTTP client/server library for GNOME. It uses GObjects | |
2767 | and the GLib main loop, to integrate well with GNOME applications.") | |
2768 | (license license:lgpl2.0+))) | |
2769 | ||
bba229a3 SB |
2770 | (define-public libsecret |
2771 | (package | |
2772 | (name "libsecret") | |
b0251c71 | 2773 | (version "0.18.8") |
bba229a3 SB |
2774 | (source (origin |
2775 | (method url-fetch) | |
2776 | (uri (string-append | |
896dcbc7 EF |
2777 | "mirror://gnome/sources/libsecret/" |
2778 | (version-major+minor version) "/" | |
bba229a3 SB |
2779 | name "-" version ".tar.xz")) |
2780 | (sha256 | |
2781 | (base32 | |
b0251c71 | 2782 | "058x64689k55wxfkdp4svhnwvv8jmqm7z5mrynybl38f4sfqiyiv")))) |
bba229a3 SB |
2783 | (build-system gnu-build-system) |
2784 | (outputs '("out" "doc")) | |
2785 | (arguments | |
2786 | `(#:tests? #f ; FIXME: Testing hangs. | |
bba229a3 SB |
2787 | #:configure-flags |
2788 | (list (string-append "--with-html-dir=" | |
2789 | (assoc-ref %outputs "doc") | |
2790 | "/share/gtk-doc/html")))) | |
2791 | (native-inputs | |
c06ef010 MB |
2792 | `(("gettext" ,gettext-minimal) |
2793 | ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
bba229a3 | 2794 | ("gobject-introspection" ,gobject-introspection) |
bba229a3 SB |
2795 | ("pkg-config" ,pkg-config) |
2796 | ("vala" ,vala) | |
2797 | ("xsltproc" ,libxslt))) | |
2798 | ;; These are needed for the tests. | |
2799 | ;; FIXME: Add gjs once available. | |
2800 | ;("dbus" ,dbus) | |
2801 | ;("python2" ,python-2) | |
2802 | ;("python2-dbus" ,python2-dbus) | |
2803 | ;("python2-pygobject" ,python2-pygobject) | |
2804 | ;("python2-pygobject-2" ,python2-pygobject-2))) | |
2805 | (propagated-inputs | |
2806 | `(("glib" ,glib))) ; required by libsecret-1.pc | |
2807 | (inputs | |
2808 | `(("docbook-xsl" ,docbook-xsl) | |
2809 | ("libgcrypt" ,libgcrypt) | |
2810 | ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES | |
2811 | (home-page "https://wiki.gnome.org/Projects/Libsecret/") | |
2812 | (synopsis "GObject bindings for \"Secret Service\" API") | |
2813 | (description | |
2814 | "Libsecret is a GObject based library for storing and retrieving passwords | |
2815 | and other secrets. It communicates with the \"Secret Service\" using DBus.") | |
2816 | (license license:lgpl2.1+))) | |
2817 | ||
b6821ee0 | 2818 | (define-public five-or-more |
2819 | (package | |
2820 | (name "five-or-more") | |
fd0557f8 | 2821 | (version "3.30.0") |
b6821ee0 | 2822 | (source |
2823 | (origin | |
2824 | (method url-fetch) | |
2825 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2826 | (version-major+minor version) "/" | |
2827 | name "-" version ".tar.xz")) | |
2828 | (sha256 | |
2829 | (base32 | |
fd0557f8 | 2830 | "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x")))) |
b6821ee0 | 2831 | (build-system glib-or-gtk-build-system) |
2832 | (native-inputs | |
2833 | `(("pkg-config" ,pkg-config) | |
2834 | ("desktop-file-utils" ,desktop-file-utils) | |
2835 | ("intltool" ,intltool) | |
2836 | ("itstool" ,itstool) | |
2837 | ("xmllint" ,libxml2))) | |
2838 | (inputs | |
2839 | `(("gtk+" ,gtk+) | |
2840 | ("librsvg" ,librsvg))) | |
2841 | (home-page "https://wiki.gnome.org/Apps/Five%20or%20more") | |
2842 | (synopsis "Logic puzzle game") | |
2843 | (description "Five or More is a game where you try to align | |
2844 | five or more objects of the same color and shape causing them to disappear. | |
2845 | On every turn more objects will appear, until the board is full. | |
2846 | Try to last as long as possible.") | |
2847 | (license license:gpl2+))) | |
2848 | ||
a31a6d22 SB |
2849 | (define-public gnome-mines |
2850 | (package | |
2851 | (name "gnome-mines") | |
f7a584f4 | 2852 | (version "3.30.1.1") |
a31a6d22 SB |
2853 | (source |
2854 | (origin | |
2855 | (method url-fetch) | |
2856 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2857 | (version-major+minor version) "/" | |
2858 | name "-" version ".tar.xz")) | |
2859 | (sha256 | |
2860 | (base32 | |
f7a584f4 | 2861 | "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z")))) |
8c0fab36 | 2862 | (build-system meson-build-system) |
a31a6d22 | 2863 | (arguments |
8c0fab36 | 2864 | `(#:phases |
a31a6d22 | 2865 | (modify-phases %standard-phases |
8c0fab36 | 2866 | (delete 'bootstrap)))) |
a31a6d22 | 2867 | (native-inputs |
8c0fab36 RW |
2868 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources |
2869 | ("pkg-config" ,pkg-config) | |
a31a6d22 SB |
2870 | ("desktop-file-utils" ,desktop-file-utils) |
2871 | ("intltool" ,intltool) | |
bcb354ad | 2872 | ("itstool" ,itstool) |
8c0fab36 RW |
2873 | ("vala" ,vala) |
2874 | ("yelp" ,yelp) | |
2875 | ("appstream-glib" ,appstream-glib))) | |
a31a6d22 SB |
2876 | (inputs |
2877 | `(("gtk+" ,gtk+) | |
73992962 | 2878 | ("libgnome-games-support" ,libgnome-games-support) |
a31a6d22 SB |
2879 | ("librsvg" ,librsvg))) |
2880 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
2881 | (synopsis "Minesweeper game") | |
2882 | (description | |
2883 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
2884 | floating in an ocean using only your brain and a little bit of luck.") | |
2885 | (license license:gpl2+))) | |
88f70665 | 2886 | |
dfc407f3 KY |
2887 | (define-public gnome-sudoku |
2888 | (package | |
2889 | (name "gnome-sudoku") | |
b3f95507 | 2890 | (version "3.30.0") |
dfc407f3 KY |
2891 | (source |
2892 | (origin | |
2893 | (method url-fetch) | |
2894 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2895 | (version-major+minor version) "/" | |
2896 | name "-" version ".tar.xz")) | |
2897 | (sha256 | |
2898 | (base32 | |
b3f95507 | 2899 | "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f")))) |
dfc407f3 KY |
2900 | (build-system glib-or-gtk-build-system) |
2901 | (native-inputs | |
2902 | `(("pkg-config" ,pkg-config) | |
2903 | ("desktop-file-utils" ,desktop-file-utils) | |
2904 | ("intltool" ,intltool) | |
2905 | ("itstool" ,itstool) | |
2906 | ("xmllint" ,libxml2))) | |
2907 | (inputs | |
2908 | `(("gtk+" ,gtk+) | |
2909 | ("json-glib" ,json-glib) | |
2910 | ("libgee" ,libgee) | |
2911 | ("librsvg" ,librsvg) | |
2912 | ("qqwing" ,qqwing))) | |
2913 | (home-page "https://wiki.gnome.org/Apps/Sudoku") | |
2914 | (synopsis "Japanese logic game") | |
2915 | (description | |
2916 | "Sudoku is a Japanese logic game that exploded in popularity in 2005. | |
2917 | GNOME Sudoku is meant to have an interface as simple and unobstrusive as | |
2918 | possible while still providing features that make playing difficult Sudoku | |
2919 | more fun.") | |
2920 | (license license:gpl2+))) | |
2921 | ||
88f70665 AW |
2922 | (define-public gnome-terminal |
2923 | (package | |
2924 | (name "gnome-terminal") | |
1d7cb36e | 2925 | (version "3.30.2") |
88f70665 AW |
2926 | (source |
2927 | (origin | |
2928 | (method url-fetch) | |
2929 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2930 | (version-major+minor version) "/" | |
2931 | name "-" version ".tar.xz")) | |
2932 | (sha256 | |
2933 | (base32 | |
1d7cb36e | 2934 | "0f2y76gs72sw5l5lkkkvxzsvvwm0sg83h7nl8lk5kz1v1rrc47vb")))) |
88f70665 AW |
2935 | (build-system glib-or-gtk-build-system) |
2936 | (arguments | |
2937 | '(#:configure-flags | |
2938 | (list "--disable-migration" "--disable-search-provider" | |
2939 | "--without-nautilus-extension") | |
2940 | #:phases | |
2941 | (modify-phases %standard-phases | |
3a4de6b2 | 2942 | (add-before 'configure 'patch-/bin/true |
88f70665 AW |
2943 | (lambda _ |
2944 | (substitute* "configure" | |
2945 | (("/bin/true") (which "true")))))))) | |
2946 | (native-inputs | |
2947 | `(("pkg-config" ,pkg-config) | |
2948 | ("desktop-file-utils" ,desktop-file-utils) | |
2949 | ("intltool" ,intltool) | |
bcb354ad SB |
2950 | ("itstool" ,itstool) |
2951 | ("xmllint" ,libxml2))) | |
68702167 MW |
2952 | (propagated-inputs |
2953 | `(("dconf" ,dconf))) | |
88f70665 AW |
2954 | (inputs |
2955 | `(("gtk+" ,gtk+) | |
2956 | ("vte" ,vte) | |
2957 | ("gnutls" ,gnutls) | |
88f70665 AW |
2958 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2959 | ("util-linux" ,util-linux) | |
2960 | ("vala" ,vala))) | |
2961 | (home-page "https://wiki.gnome.org/Apps/Terminal") | |
2962 | (synopsis "Terminal emulator") | |
2963 | (description | |
2964 | "GNOME Terminal is a terminal emulator application for accessing a | |
2965 | UNIX shell environment which can be used to run programs available on | |
2966 | your system. | |
2967 | ||
2968 | It supports several profiles, multiple tabs and implements several | |
2969 | keyboard shortcuts.") | |
2970 | (license license:gpl3+))) | |
75016d07 AW |
2971 | |
2972 | (define-public colord | |
2973 | (package | |
2974 | (name "colord") | |
a68544a8 | 2975 | (version "1.4.3") |
75016d07 AW |
2976 | (source |
2977 | (origin | |
2978 | (method url-fetch) | |
5cc3096c | 2979 | (uri (string-append "https://www.freedesktop.org/software/colord/releases/" |
75016d07 AW |
2980 | name "-" version ".tar.xz")) |
2981 | (sha256 | |
2982 | (base32 | |
a68544a8 RW |
2983 | "1xwxahg9mgmapc16xkb4kgmc40zpadrwav33xqmn6cgaw6g6d3ls")))) |
2984 | (build-system meson-build-system) | |
75016d07 | 2985 | (arguments |
a68544a8 RW |
2986 | '(;; FIXME: One test fails: |
2987 | ;; /colord/icc-store (in lib/colord/colord-self-test-private): | |
2988 | ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got | |
2989 | ;; application/x-zerosize | |
75016d07 | 2990 | #:tests? #f |
a68544a8 RW |
2991 | #:glib-or-gtk? #t |
2992 | #:configure-flags (list "-Dlocalstatedir=/var" | |
75016d07 | 2993 | ;; No dep on systemd. |
a68544a8 | 2994 | "-Dsystemd=false" |
75016d07 AW |
2995 | ;; Wants to install to global completion dir; |
2996 | ;; punt. | |
a68544a8 | 2997 | "-Dbash_completion=false" |
75016d07 | 2998 | ;; colord-gtk not packaged yet. |
a68544a8 RW |
2999 | "-Dsession_example=false" |
3000 | "-Ddaemon_user=colord" | |
3001 | "-Dsane=true" | |
3002 | ;; Requires spotread | |
3003 | "-Dargyllcms_sensor=false" | |
3004 | ;; TODO: Requires docbook2x | |
3005 | "-Dman=false") | |
75016d07 AW |
3006 | #:phases |
3007 | (modify-phases %standard-phases | |
a68544a8 RW |
3008 | (add-before 'configure 'patch-build-system |
3009 | (lambda* (#:key outputs #:allow-other-keys) | |
3010 | (substitute* "rules/meson.build" | |
3011 | (("udev.get_pkgconfig_variable\\('udevdir'\\)") | |
3012 | (string-append "'" (assoc-ref outputs "out") "/lib/udev'"))) | |
3013 | #t))))) | |
75016d07 AW |
3014 | (native-inputs |
3015 | `(("pkg-config" ,pkg-config) | |
a68544a8 | 3016 | ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc. |
75016d07 | 3017 | ("gobject-introspection" ,gobject-introspection) |
a68544a8 | 3018 | ("gtk-doc" ,gtk-doc) |
75016d07 AW |
3019 | ("libtool" ,libtool) |
3020 | ("intltool" ,intltool))) | |
65cb2d61 SB |
3021 | (propagated-inputs |
3022 | ;; colord.pc refers to all these. | |
3023 | `(("glib" ,glib) | |
3024 | ("udev" ,eudev) | |
3025 | ("lcms" ,lcms))) | |
75016d07 | 3026 | (inputs |
65cb2d61 | 3027 | `(("dbus-glib" ,dbus-glib) |
a68544a8 | 3028 | ("gusb" ,gusb) |
80c7dd1a | 3029 | ("libgudev" ,libgudev) |
75016d07 | 3030 | ("libusb" ,libusb) |
75016d07 AW |
3031 | ("sqlite" ,sqlite) |
3032 | ("polkit" ,polkit) | |
a68544a8 | 3033 | ("python" ,python-wrapper) |
4c928743 | 3034 | ("sane-backends" ,sane-backends))) |
57e7d748 | 3035 | (home-page "https://www.freedesktop.org/software/colord/") |
75016d07 AW |
3036 | (synopsis "Color management service") |
3037 | (description "Colord is a system service that makes it easy to manage, | |
3038 | install and generate color profiles to accurately color manage input and | |
3039 | output devices.") | |
3040 | (license license:gpl2+))) | |
7b2abd00 AW |
3041 | |
3042 | (define-public geoclue | |
3043 | (package | |
3044 | (name "geoclue") | |
b433c7b3 | 3045 | (version "2.4.8") |
7b2abd00 AW |
3046 | (source |
3047 | (origin | |
3048 | (method url-fetch) | |
5cc3096c | 3049 | (uri (string-append "https://www.freedesktop.org/software/" name |
7b2abd00 AW |
3050 | "/releases/" (version-major+minor version) "/" |
3051 | name "-" version ".tar.xz")) | |
3052 | (sha256 | |
3053 | (base32 | |
b433c7b3 | 3054 | "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj")) |
fc1adab1 | 3055 | (patches (search-patches "geoclue-config.patch")))) |
7b2abd00 AW |
3056 | (build-system glib-or-gtk-build-system) |
3057 | (arguments | |
3058 | '(;; The tests want to run the system bus. | |
3059 | #:tests? #f | |
3060 | #:configure-flags (list ;; Disable bits requiring ModemManager. | |
3061 | "--disable-3g-source" | |
3062 | "--disable-cdma-source" | |
3063 | "--disable-modem-gps-source" | |
3064 | "--with-dbus-service-user=geoclue") | |
3065 | #:phases | |
3066 | (modify-phases %standard-phases | |
3a4de6b2 | 3067 | (add-before 'configure 'patch-/bin/true |
7b2abd00 AW |
3068 | (lambda _ |
3069 | (substitute* "configure" | |
e3eb53e7 MW |
3070 | (("/bin/true") (which "true"))) |
3071 | #t))))) | |
7b2abd00 AW |
3072 | (native-inputs |
3073 | `(("pkg-config" ,pkg-config) | |
758798a9 | 3074 | ("gobject-introspection" ,gobject-introspection) |
7b2abd00 AW |
3075 | ("intltool" ,intltool))) |
3076 | (inputs | |
54e911bc SB |
3077 | `(("avahi" ,avahi) |
3078 | ("glib" ,glib) | |
7b2abd00 AW |
3079 | ("json-glib" ,json-glib) |
3080 | ("libsoup" ,libsoup))) | |
99adfd7d | 3081 | (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/") |
7b2abd00 AW |
3082 | (synopsis "Geolocation service") |
3083 | (description "Geoclue is a D-Bus service that provides location | |
3084 | information. The primary goal of the Geoclue project is to make creating | |
3085 | location-aware applications as simple as possible, while the secondary goal is | |
3086 | to ensure that no application can access location information without explicit | |
e881752c | 3087 | permission from user.") |
7b2abd00 | 3088 | (license license:gpl2+))) |
2bfe7437 AW |
3089 | |
3090 | (define-public geocode-glib | |
3091 | (package | |
3092 | (name "geocode-glib") | |
a7dd0c02 | 3093 | (version "3.26.0") |
2bfe7437 AW |
3094 | (source (origin |
3095 | (method url-fetch) | |
3096 | (uri (string-append "mirror://gnome/sources/geocode-glib/" | |
3097 | (version-major+minor version) "/" | |
3098 | name "-" version ".tar.xz")) | |
3099 | (sha256 | |
3100 | (base32 | |
a7dd0c02 RW |
3101 | "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a")))) |
3102 | (build-system meson-build-system) | |
2bfe7437 | 3103 | (arguments |
a7dd0c02 RW |
3104 | `(#:phases |
3105 | (modify-phases %standard-phases | |
3106 | ;; The tests require a bunch of locales. | |
3107 | (add-before 'check 'set-locales | |
3108 | (lambda* (#:key inputs #:allow-other-keys) | |
3109 | (setenv "GUIX_LOCPATH" | |
3110 | (string-append (assoc-ref inputs "glibc-locales") | |
3111 | "/lib/locale")) | |
3112 | #t))))) | |
2bfe7437 AW |
3113 | (native-inputs |
3114 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
a7dd0c02 RW |
3115 | ("glibc-locales" ,glibc-locales) ; for tests |
3116 | ("gettext" ,gettext-minimal) | |
2bfe7437 | 3117 | ("gobject-introspection" ,gobject-introspection) |
a7dd0c02 | 3118 | ("gtk-doc" ,gtk-doc) |
2bfe7437 AW |
3119 | ("pkg-config" ,pkg-config) |
3120 | ("json-glib" ,json-glib))) | |
3121 | (propagated-inputs | |
3122 | ;; geocode-glib-1.0.pc refers to GIO. | |
3123 | `(("glib" ,glib))) | |
3124 | (inputs | |
3125 | `(("libsoup" ,libsoup))) | |
3126 | (home-page "https://github.com/GNOME/geocode-glib/") | |
3127 | (synopsis "Geocoding and reverse-geocoding library") | |
3128 | (description | |
3129 | "geocode-glib is a convenience library for geocoding (finding longitude, | |
3130 | and latitude from an address) and reverse geocoding (finding an address from | |
3131 | coordinates) using the Nominatim service. geocode-glib caches requests for | |
3132 | faster results and to avoid unnecessary server load.") | |
3133 | (license license:lgpl2.0+))) | |
a1d5bb0e AW |
3134 | |
3135 | (define-public upower | |
3136 | (package | |
3137 | (name "upower") | |
4088d809 | 3138 | (version "0.99.10") |
a1d5bb0e AW |
3139 | (source (origin |
3140 | (method url-fetch) | |
9ec54965 | 3141 | (uri (string-append "https://gitlab.freedesktop.org/upower/upower/" |
4088d809 | 3142 | "uploads/c438511024b9bc5a904f8775cfc8e4c4/" |
9ec54965 | 3143 | "upower-" version ".tar.xz")) |
a1d5bb0e AW |
3144 | (sha256 |
3145 | (base32 | |
4088d809 | 3146 | "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4")) |
fc1adab1 | 3147 | (patches (search-patches "upower-builddir.patch")))) |
a1d5bb0e AW |
3148 | (build-system glib-or-gtk-build-system) |
3149 | (arguments | |
3150 | '( ;; The tests want to contact the system bus, which can't be done in the | |
3151 | ;; build environment. The integration test can run, but the last of | |
3152 | ;; the up-self-tests doesn't. Disable tests for now. | |
3153 | #:tests? #f | |
3154 | #:configure-flags (list "--localstatedir=/var" | |
3155 | (string-append "--with-udevrulesdir=" | |
3156 | (assoc-ref %outputs "out") | |
9ec54965 | 3157 | "/lib/udev/rules.d")))) |
a1d5bb0e | 3158 | (native-inputs |
ebeabe2d SB |
3159 | `(("gobject-introspection" ,gobject-introspection) |
3160 | ("pkg-config" ,pkg-config) | |
a1d5bb0e | 3161 | ("intltool" ,intltool) |
55409295 LC |
3162 | ("python" ,python) |
3163 | ||
3164 | ;; For man pages. | |
3165 | ("libxslt" ,libxslt) ;for 'xsltproc' | |
3166 | ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' | |
3167 | ("docbook-xsl" ,docbook-xsl))) | |
a1d5bb0e | 3168 | (inputs |
ea226291 SB |
3169 | `(("dbus-glib" ,dbus-glib) |
3170 | ("libgudev" ,libgudev) | |
a1d5bb0e | 3171 | ("libusb" ,libusb))) |
d7a503fc MB |
3172 | (propagated-inputs |
3173 | ;; In Requires of upower-glib.pc. | |
3174 | `(("glib" ,glib))) | |
57e7d748 | 3175 | (home-page "https://upower.freedesktop.org/") |
a1d5bb0e AW |
3176 | (synopsis "System daemon for managing power devices") |
3177 | (description | |
3178 | "UPower is an abstraction for enumerating power devices, | |
3179 | listening to device events and querying history and statistics. Any | |
3180 | application or service on the system can access the org.freedesktop.UPower | |
3181 | service via the system message bus.") | |
3182 | (license license:gpl2+))) | |
6a180f6f AW |
3183 | |
3184 | (define-public libgweather | |
3185 | (package | |
3186 | (name "libgweather") | |
cf6cbc34 | 3187 | (version "3.28.2") |
6a180f6f AW |
3188 | (source (origin |
3189 | (method url-fetch) | |
3190 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3191 | (version-major+minor version) "/" | |
3192 | name "-" version ".tar.xz")) | |
3193 | (sha256 | |
3194 | (base32 | |
cf6cbc34 RW |
3195 | "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708")))) |
3196 | (build-system meson-build-system) | |
6a180f6f | 3197 | (arguments |
cf6cbc34 RW |
3198 | `(#:tests? #f ; one of two tests requires network access |
3199 | #:configure-flags | |
3200 | `(,(string-append "-Dzoneinfo_dir=" | |
b6072e6b | 3201 | (assoc-ref %build-inputs "tzdata") |
cf6cbc34 | 3202 | "/share/zoneinfo")))) |
6a180f6f AW |
3203 | (native-inputs |
3204 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
b6072e6b | 3205 | ("gobject-introspection" ,gobject-introspection) |
6a180f6f | 3206 | ("pkg-config" ,pkg-config) |
1d3fcf94 | 3207 | ("vala" ,vala) |
6a180f6f AW |
3208 | ("intltool" ,intltool))) |
3209 | (propagated-inputs | |
3210 | ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and | |
3211 | ;; libsoup. | |
3212 | `(("gtk+" ,gtk+) | |
3213 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3214 | ("libxml2" ,libxml2) | |
cf6cbc34 | 3215 | ("libsoup" ,libsoup) |
6a180f6f | 3216 | ("geocode-glib" ,geocode-glib))) |
cf6cbc34 RW |
3217 | (inputs |
3218 | `(("tzdata" ,tzdata))) | |
6a180f6f AW |
3219 | (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") |
3220 | (synopsis "Location, time zone, and weather library for GNOME") | |
3221 | (description | |
3222 | "libgweather is a library to access weather information from online | |
3223 | services for numerous locations.") | |
3224 | (license license:gpl2+))) | |
23a22af6 AW |
3225 | |
3226 | (define-public gnome-settings-daemon | |
3227 | (package | |
3228 | (name "gnome-settings-daemon") | |
2fbe8cdb | 3229 | (version "3.30.1.2") |
23a22af6 AW |
3230 | (source |
3231 | (origin | |
3232 | (method url-fetch) | |
3233 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3234 | (version-major+minor version) "/" | |
3235 | name "-" version ".tar.xz")) | |
3236 | (sha256 | |
3237 | (base32 | |
2fbe8cdb | 3238 | "079dh609rvpwfyzg4m898q8km9g7x04hg18rwwb1izj1dr7zdp2w")))) |
e644f9fa | 3239 | (build-system meson-build-system) |
23a22af6 | 3240 | (arguments |
e644f9fa RW |
3241 | `(#:glib-or-gtk? #t |
3242 | #:configure-flags | |
3243 | (list (string-append "-Dudev_dir=" | |
3244 | (assoc-ref %outputs "out") | |
4d0e085b RW |
3245 | "/lib/udev/rules.d/") |
3246 | ;; Otherwise, the RUNPATH will lack the final path component. | |
3247 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
3248 | (assoc-ref %outputs "out") | |
3249 | "/lib/gnome-settings-daemon-3.0")) | |
e644f9fa | 3250 | ;; Color management test can't reach the colord system service. |
23a22af6 AW |
3251 | #:tests? #f)) |
3252 | (native-inputs | |
e644f9fa RW |
3253 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
3254 | ("pkg-config" ,pkg-config) | |
23a22af6 AW |
3255 | ("intltool" ,intltool) |
3256 | ("xsltproc" ,libxslt) | |
3257 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES | |
3258 | ("docbook-xml" ,docbook-xml-4.2) | |
3259 | ("docbook-xsl" ,docbook-xsl))) | |
3260 | (inputs | |
e644f9fa RW |
3261 | `(("alsa-lib" ,alsa-lib) |
3262 | ("colord" ,colord) | |
ea226291 | 3263 | ("libgudev" ,libgudev) |
23a22af6 AW |
3264 | ("upower" ,upower) |
3265 | ("polkit" ,polkit) | |
3266 | ("pulseaudio" ,pulseaudio) | |
3267 | ("libcanberra" ,libcanberra) | |
3268 | ("libx11" ,libx11) | |
3269 | ("libxtst" ,libxtst) | |
3270 | ("lcms" ,lcms) | |
3271 | ("libnotify" ,libnotify) | |
3272 | ("geoclue" ,geoclue) | |
3273 | ("geocode-glib" ,geocode-glib) | |
3274 | ("libgweather" ,libgweather) | |
3275 | ("gnome-desktop" ,gnome-desktop) | |
3276 | ("nss" ,nss) | |
3277 | ("cups" ,cups) | |
ec2b1921 AW |
3278 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
3279 | ("libwacom" ,libwacom) | |
3280 | ("librsvg" ,librsvg) | |
eee7878f | 3281 | ("xf86-input-wacom" ,xf86-input-wacom) |
e644f9fa | 3282 | ("wayland" ,wayland) |
eee7878f | 3283 | ("network-manager" ,network-manager))) |
f032d0be | 3284 | (home-page "https://www.gnome.org") |
23a22af6 AW |
3285 | (synopsis "GNOME settings daemon") |
3286 | (description | |
3287 | "This package contains the daemon responsible for setting the various | |
3288 | parameters of a GNOME session and the applications that run under it. It | |
3289 | handles settings such keyboard layout, shortcuts, and accessibility, clipboard | |
3290 | settings, themes, mouse settings, and startup of other daemons.") | |
3291 | (license license:gpl2+))) | |
1e7464a9 DH |
3292 | |
3293 | (define-public totem-pl-parser | |
3294 | (package | |
3295 | (name "totem-pl-parser") | |
1e9b19dd | 3296 | (version "3.26.1") |
1e7464a9 DH |
3297 | (source (origin |
3298 | (method url-fetch) | |
e980cbe9 MW |
3299 | (uri (string-append "mirror://gnome/sources/totem-pl-parser/" |
3300 | (version-major+minor version) "/" | |
1e7464a9 DH |
3301 | "totem-pl-parser-" version ".tar.xz")) |
3302 | (sha256 | |
3303 | (base32 | |
1e9b19dd RW |
3304 | "0k5pnka907invgds48d73c1xx1a366v5dcld3gr2l1dgmjwc9qka")))) |
3305 | (build-system meson-build-system) | |
1e7464a9 DH |
3306 | (arguments |
3307 | ;; FIXME: Tests require gvfs. | |
3308 | `(#:tests? #f)) | |
3309 | (native-inputs | |
3310 | `(("intltool" ,intltool) | |
3311 | ("glib" ,glib "bin") | |
4d6d8281 | 3312 | ("gobject-introspection" ,gobject-introspection) |
1e7464a9 | 3313 | ("pkg-config" ,pkg-config))) |
22a6ad6a | 3314 | (propagated-inputs |
1e7464a9 DH |
3315 | `(("glib" ,glib) |
3316 | ("gmime" ,gmime) | |
1e9b19dd RW |
3317 | ("libarchive" ,libarchive) |
3318 | ("libgcrypt" ,libgcrypt) | |
22a6ad6a MW |
3319 | ("libxml2" ,libxml2))) |
3320 | (inputs | |
1e9b19dd | 3321 | `(("nettle" ,nettle) |
22a6ad6a | 3322 | ("libsoup" ,libsoup))) |
1e7464a9 DH |
3323 | (home-page "https://projects.gnome.org/totem") |
3324 | (synopsis "Library to parse and save media playlists for GNOME") | |
3325 | (description "Totem-pl-parser is a GObjects-based library to parse and save | |
3326 | playlists in a variety of formats.") | |
3327 | (license license:lgpl2.0+))) | |
3328 | ||
6b888eff SB |
3329 | (define-public aisleriot |
3330 | (package | |
3331 | (name "aisleriot") | |
39c0a3fd | 3332 | (version "3.22.8") |
6b888eff SB |
3333 | (source (origin |
3334 | (method url-fetch) | |
e43f622a | 3335 | (uri (string-append "mirror://gnome/sources/aisleriot/" |
6b888eff | 3336 | (version-major+minor version) "/" |
e43f622a | 3337 | "aisleriot-" version ".tar.xz")) |
6b888eff SB |
3338 | (sha256 |
3339 | (base32 | |
39c0a3fd | 3340 | "15pm39679ymxki07sb5nvhycz4z53zwbvascyp5wm4864bn98815")))) |
6b888eff SB |
3341 | (build-system glib-or-gtk-build-system) |
3342 | (arguments | |
3343 | '(#:configure-flags | |
3344 | '("--with-platform=gtk-only" | |
3345 | "--with-card-theme-formats=svg"))) | |
3346 | (native-inputs | |
3347 | `(("desktop-file-utils" ,desktop-file-utils) | |
3348 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
3349 | ("intltool" ,intltool) | |
3350 | ("itstool" ,itstool) | |
3351 | ("pkg-config" ,pkg-config) | |
3352 | ("xmllint" ,libxml2))) | |
3353 | (inputs | |
3354 | `(("gtk+" ,gtk+) | |
226e57d6 | 3355 | ("guile" ,guile-2.2) |
6b888eff SB |
3356 | ("libcanberra" ,libcanberra) |
3357 | ("librsvg" ,librsvg))) | |
3358 | (home-page "https://wiki.gnome.org/Apps/Aisleriot") | |
3359 | (synopsis "Solitaire card games") | |
3360 | (description | |
3361 | "Aisleriot (also known as Solitaire or sol) is a collection of card games | |
3362 | which are easy to play with the aid of a mouse.") | |
3363 | (license license:gpl3+))) | |
4a79e256 SB |
3364 | |
3365 | (define-public devhelp | |
3366 | (package | |
3367 | (name "devhelp") | |
5dd12afc | 3368 | (version "3.28.1") |
4a79e256 SB |
3369 | (source (origin |
3370 | (method url-fetch) | |
3371 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3372 | (version-major+minor version) "/" | |
3373 | name "-" version ".tar.xz")) | |
3374 | (sha256 | |
3375 | (base32 | |
5dd12afc | 3376 | "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s")))) |
4a79e256 SB |
3377 | (build-system glib-or-gtk-build-system) |
3378 | (native-inputs | |
3379 | `(("intltool" ,intltool) | |
5dd12afc | 3380 | ("itstool" ,itstool) |
4a79e256 SB |
3381 | ("pkg-config" ,pkg-config))) |
3382 | (inputs | |
3383 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3384 | ("webkitgtk" ,webkitgtk))) | |
3385 | (home-page "https://wiki.gnome.org/Apps/Devhelp") | |
3386 | (synopsis "API documentation browser for GNOME") | |
3387 | (description | |
3388 | "Devhelp is an API documentation browser for GTK+ and GNOME. It works | |
3389 | natively with GTK-Doc (the API reference system developed for GTK+ and used | |
3390 | throughout GNOME for API documentation).") | |
3391 | (license license:gpl2+))) | |
ba421ab7 MW |
3392 | |
3393 | (define-public cogl | |
3394 | (package | |
3395 | (name "cogl") | |
6a55accc | 3396 | (version "1.22.2") |
ba421ab7 MW |
3397 | (source |
3398 | (origin | |
3399 | (method url-fetch) | |
3400 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3401 | (version-major+minor version) "/" | |
3402 | name "-" version ".tar.xz")) | |
3403 | (sha256 | |
3404 | (base32 | |
6a55accc | 3405 | "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr")))) |
a88d5a0c MW |
3406 | ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to |
3407 | ;; cogl, corresponding changes may be appropriate in mutter as well. | |
ba421ab7 MW |
3408 | (build-system gnu-build-system) |
3409 | (native-inputs | |
3410 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
3411 | ("gobject-introspection" ,gobject-introspection) | |
3412 | ;;("xorg-server" ,xorg-server) ; for the test suite | |
3413 | ("pkg-config" ,pkg-config))) | |
3414 | (propagated-inputs | |
3415 | `(("glib" ,glib) | |
3416 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3417 | ("libx11" ,libx11) | |
3418 | ("libxext" ,libxext) | |
3419 | ("libxfixes" ,libxfixes) | |
3420 | ("libxdamage" ,libxdamage) | |
3421 | ("libxcomposite" ,libxcomposite) | |
3422 | ("libxrandr" ,libxrandr))) | |
3423 | (inputs | |
3424 | `(("mesa" ,mesa) | |
3425 | ("cairo" ,cairo) | |
3426 | ("pango" ,pango) | |
3427 | ("gstreamer" ,gstreamer) | |
31860852 KK |
3428 | ("gst-plugins-base" ,gst-plugins-base) |
3429 | ("wayland" ,wayland))) | |
ba421ab7 MW |
3430 | (arguments |
3431 | `(#:configure-flags (list "--enable-cogl-gst" | |
31860852 KK |
3432 | "--enable-wayland-egl-platform" |
3433 | "--enable-wayland-egl-server" | |
3434 | ||
ba421ab7 MW |
3435 | ;; Arrange to pass an absolute file name to |
3436 | ;; dlopen for libGL.so. | |
3437 | (string-append "--with-gl-libname=" | |
3438 | (assoc-ref %build-inputs "mesa") | |
3439 | "/lib/libGL.so")) | |
3440 | ;; XXX FIXME: All tests fail, with many warnings printed like this: | |
3441 | ;; _FontTransOpen: Unable to Parse address | |
3442 | ;; ${prefix}/share/fonts/X11/misc/ | |
3443 | #:tests? #f | |
3444 | #; #:phases | |
3445 | #; | |
3446 | (modify-phases %standard-phases | |
3447 | (add-before 'check 'start-xorg-server | |
3448 | (lambda* (#:key inputs #:allow-other-keys) | |
3449 | ;; The test suite requires a running X server. | |
3450 | (system (format #f "~a/bin/Xvfb :1 &" | |
3451 | (assoc-ref inputs "xorg-server"))) | |
3452 | (setenv "DISPLAY" ":1") | |
3453 | #t))))) | |
3454 | (home-page "http://www.cogl3d.org") | |
3455 | (synopsis "Object oriented GL/GLES Abstraction/Utility Layer") | |
3456 | (description | |
3457 | "Cogl is a small library for using 3D graphics hardware to draw pretty | |
3458 | pictures. The API departs from the flat state machine style of OpenGL and is | |
3459 | designed to make it easy to write orthogonal components that can render | |
3460 | without stepping on each others toes.") | |
3461 | (license (list license:expat ; most of the code | |
3462 | license:bsd-3 ; cogl/cogl-point-in-poly.c | |
3463 | license:sgifreeb2.0 ; cogl-path/tesselator/ | |
3464 | license:asl2.0)))) ; examples/android/ | |
fb182b8a MW |
3465 | |
3466 | (define-public clutter | |
3467 | (package | |
3468 | (name "clutter") | |
6a88e4ee | 3469 | (version "1.26.2") |
fb182b8a MW |
3470 | (source |
3471 | (origin | |
3472 | (method url-fetch) | |
3473 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3474 | (version-major+minor version) "/" | |
3475 | name "-" version ".tar.xz")) | |
3476 | (sha256 | |
3477 | (base32 | |
6a88e4ee | 3478 | "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7")))) |
a88d5a0c MW |
3479 | ;; NOTE: mutter exports a bundled fork of clutter, so when making changes |
3480 | ;; to clutter, corresponding changes may be appropriate in mutter as well. | |
fb182b8a | 3481 | (build-system gnu-build-system) |
600233bd LC |
3482 | (outputs '("out" |
3483 | "doc")) ;9 MiB of gtk-doc HTML pages | |
fb182b8a MW |
3484 | (native-inputs |
3485 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal | |
3486 | ("gobject-introspection" ,gobject-introspection) | |
3487 | ("pkg-config" ,pkg-config) | |
3488 | ("xsltproc" ,libxslt))) | |
3489 | (propagated-inputs | |
3490 | `(("cogl" ,cogl) | |
3491 | ("cairo" ,cairo) | |
3492 | ("atk" ,atk) | |
3493 | ("gtk+" ,gtk+) | |
3494 | ("json-glib" ,json-glib) | |
3495 | ("glib" ,glib) | |
3496 | ("libxcomposite" ,libxcomposite) | |
3497 | ("libxdamage" ,libxdamage) | |
3498 | ("libxext" ,libxext) | |
3499 | ("xinput" ,xinput))) | |
3500 | (inputs | |
3501 | `(("libxkbcommon" ,libxkbcommon) | |
3502 | ("udev" ,eudev))) | |
3503 | (arguments | |
600233bd LC |
3504 | `(#:configure-flags (list "--enable-x11-backend=yes" |
3505 | ||
3506 | ;; This produces share/doc/{clutter,cally}. | |
3507 | (string-append "--with-html-dir=" | |
3508 | (assoc-ref %outputs "doc") | |
3509 | "/share/doc")) | |
fb182b8a MW |
3510 | ;; XXX FIXME: Get test suite working. It would probably fail in the |
3511 | ;; same way the cogl tests fail, since clutter is based on cogl. | |
3512 | #:tests? #f)) | |
3513 | (home-page "http://www.clutter-project.org") | |
476af713 | 3514 | (synopsis "OpenGL-based interactive canvas library") |
fb182b8a | 3515 | (description |
476af713 | 3516 | "Clutter is an OpenGL-based interactive canvas library, designed for |
fb182b8a MW |
3517 | creating fast, mainly 2D single window applications such as media box UIs, |
3518 | presentations, kiosk style applications and so on.") | |
3519 | (license license:lgpl2.0+))) | |
bf7f17ba MW |
3520 | |
3521 | (define-public clutter-gtk | |
3522 | (package | |
3523 | (name "clutter-gtk") | |
5d1a3219 | 3524 | (version "1.8.4") |
bf7f17ba MW |
3525 | (source |
3526 | (origin | |
3527 | (method url-fetch) | |
3528 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3529 | (version-major+minor version) "/" | |
3530 | name "-" version ".tar.xz")) | |
3531 | (sha256 | |
3532 | (base32 | |
5d1a3219 | 3533 | "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j")))) |
bf7f17ba MW |
3534 | (build-system gnu-build-system) |
3535 | (native-inputs | |
3536 | `(("pkg-config" ,pkg-config) | |
3537 | ("gobject-introspection" ,gobject-introspection))) | |
9a3a8b8e SB |
3538 | (propagated-inputs |
3539 | ;; clutter-gtk.pc refers to all these. | |
bf7f17ba MW |
3540 | `(("clutter" ,clutter) |
3541 | ("gtk+" ,gtk+))) | |
3542 | (home-page "http://www.clutter-project.org") | |
476af713 | 3543 | (synopsis "OpenGL-based interactive canvas library GTK+ widget") |
bf7f17ba | 3544 | (description |
476af713 | 3545 | "Clutter is an OpenGL-based interactive canvas library, designed for |
bf7f17ba MW |
3546 | creating fast, mainly 2D single window applications such as media box UIs, |
3547 | presentations, kiosk style applications and so on.") | |
3548 | (license license:lgpl2.0+))) | |
86d6a893 MW |
3549 | |
3550 | (define-public clutter-gst | |
3551 | (package | |
3552 | (name "clutter-gst") | |
ba07ac19 | 3553 | (version "3.0.27") |
86d6a893 MW |
3554 | (source |
3555 | (origin | |
3556 | (method url-fetch) | |
f010f89b | 3557 | (uri (string-append "mirror://gnome/sources/clutter-gst/" |
86d6a893 | 3558 | (version-major+minor version) "/" |
f010f89b | 3559 | "clutter-gst-" version ".tar.xz")) |
86d6a893 | 3560 | (sha256 |
ba07ac19 | 3561 | (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy")))) |
86d6a893 MW |
3562 | (build-system gnu-build-system) |
3563 | (native-inputs | |
ba07ac19 | 3564 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
86d6a893 MW |
3565 | ("pkg-config" ,pkg-config) |
3566 | ("gobject-introspection" ,gobject-introspection))) | |
3567 | (inputs | |
3568 | `(("clutter" ,clutter) | |
3569 | ("gstreamer" ,gstreamer) | |
3570 | ("gst-plugins-base" ,gst-plugins-base))) | |
3571 | (home-page "http://www.clutter-project.org") | |
3572 | (synopsis "Integration library for using GStreamer with Clutter") | |
3573 | (description | |
3574 | "Clutter-Gst is an integration library for using GStreamer with Clutter. | |
3575 | It provides a GStreamer sink to upload frames to GL and an actor that | |
476af713 TGR |
3576 | implements the ClutterGstPlayer interface using playbin. Clutter is an |
3577 | OpenGL-based interactive canvas library.") | |
86d6a893 | 3578 | (license license:lgpl2.0+))) |
607a04ae | 3579 | |
30dc88d9 LC |
3580 | (define-public libchamplain |
3581 | (package | |
3582 | (name "libchamplain") | |
5564b2c5 | 3583 | (version "0.12.16") |
30dc88d9 LC |
3584 | (source (origin |
3585 | (method url-fetch) | |
3586 | (uri (string-append | |
3587 | "mirror://gnome/sources/libchamplain/0.12/libchamplain-" | |
3588 | version ".tar.xz")) | |
3589 | (sha256 | |
3590 | (base32 | |
5564b2c5 | 3591 | "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja")))) |
30dc88d9 | 3592 | (build-system gnu-build-system) |
f7c6833f LF |
3593 | (arguments '(#:configure-flags '("--enable-vala"))) |
3594 | (native-inputs | |
3595 | `(("gobject-introspection" ,gobject-introspection) | |
3596 | ("pkg-config" ,pkg-config) | |
3597 | ("vala" ,vala))) | |
30dc88d9 LC |
3598 | (propagated-inputs |
3599 | `(("libsoup" ,libsoup) | |
3600 | ("sqlite" ,sqlite) | |
3601 | ("clutter" ,clutter) | |
3602 | ("clutter-gtk" ,clutter-gtk) | |
3603 | ("glib:bin" ,glib "bin") ;glib-mkenums, etc. | |
3604 | ("cairo" ,cairo) | |
3605 | ("gtk+3" ,gtk+) | |
3606 | ("glib" ,glib))) | |
f032d0be | 3607 | (home-page "https://projects.gnome.org/libchamplain/") |
30dc88d9 LC |
3608 | (synopsis "C library providing a ClutterActor to display maps") |
3609 | (description | |
3610 | "libchamplain is a C library providing a ClutterActor to display maps. | |
3611 | It also provides a Gtk+ widget to display maps in Gtk+ applications. Python | |
3612 | and Perl bindings are also available. It supports numerous free map sources | |
3613 | such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.") | |
3614 | (license license:lgpl2.1+))) | |
3615 | ||
607a04ae MW |
3616 | (define-public gom |
3617 | (package | |
3618 | (name "gom") | |
0510440b | 3619 | (version "0.3.2") |
607a04ae MW |
3620 | (source |
3621 | (origin | |
3622 | (method url-fetch) | |
6c8a0b6f | 3623 | (uri (string-append "mirror://gnome/sources/gom/" |
607a04ae | 3624 | (version-major+minor version) "/" |
6c8a0b6f | 3625 | "gom-" version ".tar.xz")) |
607a04ae MW |
3626 | (sha256 |
3627 | (base32 | |
0510440b | 3628 | "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w")))) |
607a04ae MW |
3629 | (build-system gnu-build-system) |
3630 | (native-inputs | |
3631 | `(("intltool" ,intltool) | |
3632 | ("pkg-config" ,pkg-config) | |
3633 | ("gobject-introspection" ,gobject-introspection))) | |
3634 | (inputs | |
3635 | `(("glib" ,glib) | |
3636 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3637 | ("sqlite" ,sqlite))) | |
3638 | ;; XXX TODO: Figure out how to run the test suite. | |
3639 | (arguments `(#:tests? #f)) | |
3640 | (home-page "https://wiki.gnome.org/Projects/Gom") | |
3641 | (synopsis "Object mapper from GObjects to SQLite") | |
3642 | (description | |
3643 | "Gom provides an object mapper from GObjects to SQLite. It helps you | |
3644 | write applications that need to store structured data as well as make complex | |
3645 | queries upon that data.") | |
3646 | (license license:lgpl2.1+))) | |
b7a3cf11 | 3647 | |
865aacc9 | 3648 | (define-public libgnome-games-support |
f09520db | 3649 | (package |
865aacc9 | 3650 | (name "libgnome-games-support") |
45caa055 | 3651 | (version "1.4.2") |
f09520db SB |
3652 | (source (origin |
3653 | (method url-fetch) | |
3654 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3655 | (version-major+minor version) "/" | |
3656 | name "-" version ".tar.xz")) | |
3657 | (sha256 | |
3658 | (base32 | |
45caa055 | 3659 | "02hirpk885jndwarbl3cl5fk7w2z5ziv677csyv1wi2n6rmpn088")))) |
f09520db SB |
3660 | (build-system gnu-build-system) |
3661 | (arguments | |
3662 | '(#:phases | |
3663 | (modify-phases %standard-phases | |
3664 | (add-before 'check 'pre-check | |
3665 | (lambda _ | |
865aacc9 | 3666 | ;; Tests require a writable HOME. |
f09520db SB |
3667 | (setenv "HOME" (getcwd)) |
3668 | #t))))) | |
3669 | (native-inputs | |
3670 | `(("intltool" ,intltool) | |
3671 | ("pkg-config" ,pkg-config) | |
3672 | ("vala" ,vala))) | |
3673 | (propagated-inputs | |
865aacc9 | 3674 | ;; Required by libgnome-games-support-1.0.pc |
f09520db SB |
3675 | `(("gtk+" ,gtk+) |
3676 | ("libgee" ,libgee))) | |
3677 | (home-page "https://www.gnome.org/") | |
3678 | (synopsis "Useful functionality shared among GNOME games") | |
3679 | (description | |
865aacc9 | 3680 | "libgnome-games-support is a small library intended for internal use by |
f09520db SB |
3681 | GNOME Games, but it may be used by others.") |
3682 | (license license:lgpl3+))) | |
3683 | ||
b7a3cf11 SB |
3684 | (define-public gnome-klotski |
3685 | (package | |
3686 | (name "gnome-klotski") | |
36828576 | 3687 | (version "3.22.3") |
b7a3cf11 SB |
3688 | (source (origin |
3689 | (method url-fetch) | |
3690 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3691 | (version-major+minor version) "/" | |
3692 | name "-" version ".tar.xz")) | |
3693 | (sha256 | |
3694 | (base32 | |
36828576 | 3695 | "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f")))) |
b7a3cf11 SB |
3696 | (build-system glib-or-gtk-build-system) |
3697 | (native-inputs | |
3698 | `(("desktop-file-utils" ,desktop-file-utils) | |
3699 | ("intltool" ,intltool) | |
3700 | ("itstool" ,itstool) | |
bcb354ad SB |
3701 | ("pkg-config" ,pkg-config) |
3702 | ("xmllint" ,libxml2))) | |
b7a3cf11 SB |
3703 | (inputs |
3704 | `(("gtk+" ,gtk+) | |
f4eae76f | 3705 | ("libgnome-games-support" ,libgnome-games-support) |
b7a3cf11 SB |
3706 | ("librsvg" ,librsvg))) |
3707 | (home-page "https://wiki.gnome.org/Apps/Klotski") | |
3708 | (synopsis "Sliding block puzzles") | |
3709 | (description | |
3710 | "GNOME Klotski is a set of block sliding puzzles. The objective is to move | |
3711 | the patterned block to the area bordered by green markers. To do so, you will | |
3712 | need to slide other blocks out of the way. Complete each puzzle in as few moves | |
3713 | as possible!") | |
3714 | (license license:gpl2+))) | |
8d4791bf MW |
3715 | |
3716 | (define-public grilo | |
3717 | (package | |
3718 | (name "grilo") | |
99dd2af9 | 3719 | (version "0.3.3") |
8d4791bf MW |
3720 | (source |
3721 | (origin | |
3722 | (method url-fetch) | |
3723 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3724 | (version-major+minor version) "/" | |
3725 | name "-" version ".tar.xz")) | |
3726 | (sha256 | |
3727 | (base32 | |
99dd2af9 | 3728 | "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw")))) |
8d4791bf MW |
3729 | (build-system gnu-build-system) |
3730 | (native-inputs | |
3731 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3732 | ("intltool" ,intltool) | |
3733 | ("pkg-config" ,pkg-config) | |
3734 | ("gobject-introspection" ,gobject-introspection))) | |
3735 | (inputs | |
6d7273a0 KK |
3736 | `(("cyrus-sasl" ,cyrus-sasl) |
3737 | ("glib" ,glib) | |
8d4791bf MW |
3738 | ("gtk+" ,gtk+) |
3739 | ("libxml2" ,libxml2) | |
6d7273a0 | 3740 | ("liboauth" ,liboauth) |
8d4791bf | 3741 | ("libsoup" ,libsoup) |
e7305878 | 3742 | ("nettle" ,nettle) |
8d4791bf MW |
3743 | ("totem-pl-parser" ,totem-pl-parser))) |
3744 | (arguments | |
3745 | `(#:phases | |
3746 | (modify-phases %standard-phases | |
3747 | (add-after 'unpack 'fix-introspection-install-dir | |
3748 | (lambda* (#:key outputs #:allow-other-keys) | |
3749 | (let ((out (assoc-ref outputs "out"))) | |
3750 | (substitute* '("src/Makefile.in" | |
3751 | "libs/pls/Makefile.in" | |
3752 | "libs/net/Makefile.in") | |
3753 | (("@INTROSPECTION_GIRDIR@") | |
3754 | (string-append out "/share/gir-1.0/")) | |
3755 | (("@INTROSPECTION_TYPELIBDIR@") | |
8c52aab4 MW |
3756 | (string-append out "/lib/girepository-1.0/"))) |
3757 | #t)))))) | |
8d4791bf MW |
3758 | (native-search-paths |
3759 | (list (search-path-specification | |
3760 | (variable "GRL_PLUGIN_PATH") | |
3761 | (files (list (string-append "lib/grilo-" | |
3762 | (version-major+minor version))))))) | |
f032d0be | 3763 | (home-page "https://live.gnome.org/Grilo") |
8d4791bf MW |
3764 | (synopsis "Framework for discovering and browsing media") |
3765 | (description | |
3766 | "Grilo is a framework focused on making media discovery and browsing easy | |
3767 | for application developers.") | |
3768 | (license license:lgpl2.1+))) | |
7b212526 MW |
3769 | |
3770 | (define-public grilo-plugins | |
3771 | (package | |
3772 | (name "grilo-plugins") | |
22753632 | 3773 | (version "0.3.3") |
7b212526 MW |
3774 | (source |
3775 | (origin | |
3776 | (method url-fetch) | |
3777 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3778 | (version-major+minor version) "/" | |
3779 | name "-" version ".tar.xz")) | |
3780 | (sha256 | |
3781 | (base32 | |
22753632 | 3782 | "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy")))) |
7b212526 MW |
3783 | (build-system gnu-build-system) |
3784 | (native-inputs | |
3785 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3786 | ("intltool" ,intltool) | |
3787 | ("itstool" ,itstool) | |
3788 | ("pkg-config" ,pkg-config))) | |
3789 | (inputs | |
3790 | `(("grilo" ,grilo) | |
924ae80f | 3791 | ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la |
7b212526 MW |
3792 | ("glib" ,glib) |
3793 | ("libxml2" ,libxml2) | |
3794 | ("sqlite" ,sqlite) | |
3795 | ("gom" ,gom) | |
3796 | ;; XXX TODO: Add oauth | |
3797 | ;; XXX TODO: Add goa | |
3798 | ;; XXX TODO: Add gdata (e.g. needed for youtube plugin) | |
3799 | ;; XXX TODO: Add lua (needs help finding it) | |
3800 | ("json-glib" ,json-glib) | |
3801 | ("avahi" ,avahi) | |
3802 | ("gmime" ,gmime) | |
3803 | ("libsoup" ,libsoup) | |
3804 | ("libarchive" ,libarchive) | |
3805 | ("totem-pl-parser" ,totem-pl-parser))) | |
3806 | (arguments | |
3807 | `(#:make-flags (list (string-append "GRL_PLUGINS_DIR=" | |
3808 | %output | |
3809 | "/lib/grilo-" | |
3810 | ,(version-major+minor version))) | |
3811 | ;; XXX FIXME: Try to get the test suite working. It appears to require | |
3812 | ;; a working system dbus. Inside the build container, all tests fail | |
3813 | ;; with: "assertion failed: (source)". Outside of the build container, | |
3814 | ;; most tests succeed. | |
3815 | #:tests? #f)) | |
f032d0be | 3816 | (home-page "https://live.gnome.org/Grilo") |
7b212526 MW |
3817 | (synopsis "Plugins for the Grilo media discovery library") |
3818 | (description | |
3819 | "Grilo is a framework focused on making media discovery and browsing easy | |
3820 | for application developers.") | |
3821 | (license license:lgpl2.1+))) | |
4e3fc547 MW |
3822 | |
3823 | (define-public totem | |
3824 | (package | |
3825 | (name "totem") | |
0e091b3e | 3826 | (version "3.26.2") |
4e3fc547 MW |
3827 | (source |
3828 | (origin | |
3829 | (method url-fetch) | |
3830 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3831 | (version-major+minor version) "/" | |
3832 | name "-" version ".tar.xz")) | |
3833 | (sha256 | |
3834 | (base32 | |
0e091b3e | 3835 | "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g")) |
81382e3f MB |
3836 | (patches (search-patches "totem-meson-easy-codec.patch" |
3837 | "totem-meson-compat.patch")))) | |
7ad81b8b | 3838 | (build-system meson-build-system) |
4e3fc547 MW |
3839 | (native-inputs |
3840 | `(("pkg-config" ,pkg-config) | |
3841 | ("desktop-file-utils" ,desktop-file-utils) | |
3842 | ("gobject-introspection" ,gobject-introspection) | |
7ad81b8b LC |
3843 | ("glib:bin" ,glib "bin") ;for 'glib-mkenums' |
3844 | ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache' | |
4e3fc547 | 3845 | ("intltool" ,intltool) |
bcb354ad SB |
3846 | ("itstool" ,itstool) |
3847 | ("xmllint" ,libxml2))) | |
4e3fc547 MW |
3848 | (propagated-inputs |
3849 | `(("dconf" ,dconf))) | |
3850 | (inputs | |
3851 | `(("gtk+" ,gtk+) | |
3852 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3853 | ("atk" ,atk) | |
3854 | ("cairo" ,cairo) | |
3855 | ("dbus-glib" ,dbus-glib) | |
3856 | ("clutter" ,clutter) | |
3857 | ("clutter-gtk" ,clutter-gtk) | |
3858 | ("clutter-gst" ,clutter-gst) | |
6a6db57f | 3859 | ("xorgproto" ,xorgproto) |
4e3fc547 MW |
3860 | ("libxxf86vm" ,libxxf86vm) |
3861 | ("libxtst" ,libxtst) | |
3862 | ("libxrandr" ,libxrandr) | |
3863 | ("libxml2" ,libxml2) | |
3864 | ("libsoup" ,libsoup) | |
3865 | ("libpeas" ,libpeas) | |
3866 | ("librsvg" ,librsvg) | |
3867 | ("lirc" ,lirc) | |
3868 | ("gnome-desktop" ,gnome-desktop) | |
3869 | ("gstreamer" ,gstreamer) | |
3870 | ("gst-plugins-base" ,gst-plugins-base) | |
3871 | ("gst-plugins-good" ,gst-plugins-good) | |
3872 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3873 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
3874 | ;; XXX We use python-2 because libxml2 because itstool (which needs | |
3875 | ;; libxml) currently uses python-2. | |
3876 | ("python" ,python-2) | |
3877 | ("python-pygobject" ,python2-pygobject) | |
3878 | ;; XXX TODO pylint needed for python support | |
3879 | ("totem-pl-parser" ,totem-pl-parser) | |
3880 | ("grilo" ,grilo) | |
3881 | ("grilo-plugins" ,grilo-plugins) | |
3882 | ("nettle" ,nettle) | |
3883 | ("vala" ,vala))) | |
3884 | (arguments | |
7ad81b8b LC |
3885 | `(#:glib-or-gtk? #t |
3886 | ||
a97bfa46 AVY |
3887 | ;; Disable parallel builds until |
3888 | ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is | |
3889 | ;; fixed. Try enabling it when updating this package in case | |
3890 | ;; upstream has fixed it. | |
3891 | #:parallel-build? #f | |
3892 | ||
7ad81b8b | 3893 | ;; Disable automatic GStreamer plugin installation via PackageKit and |
ec5c24f9 | 3894 | ;; all that. |
7ad81b8b | 3895 | #:configure-flags '("-D" "enable-easy-codec-installation=no" |
a388c951 LC |
3896 | |
3897 | ;; Do not build .a files for the plugins, it's | |
3898 | ;; completely useless. This saves 2 MiB. | |
7ad81b8b | 3899 | "--default-library" "shared") |
ec5c24f9 LC |
3900 | |
3901 | #:phases | |
4e3fc547 | 3902 | (modify-phases %standard-phases |
6368eb39 DM |
3903 | (add-before |
3904 | 'install 'disable-cache-generation | |
3905 | (lambda _ | |
3906 | (setenv "DESTDIR" "/") | |
3907 | #t)) | |
4e3fc547 MW |
3908 | (add-after |
3909 | 'install 'wrap-totem | |
3910 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
3911 | (let ((out (assoc-ref outputs "out")) | |
3912 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
3913 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
3914 | (wrap-program (string-append out "/bin/totem") | |
3915 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
39c853bd AW |
3916 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))) |
3917 | (wrap-program (string-append out "/bin/totem-video-thumbnailer") | |
3918 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
4e3fc547 MW |
3919 | #t))))) |
3920 | (home-page "https://wiki.gnome.org/Apps/Videos") | |
3921 | (synopsis "Simple media player for GNOME based on GStreamer") | |
3922 | (description "Totem is a simple yet featureful media player for GNOME | |
3923 | which can read a large number of file formats.") | |
3924 | ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins | |
3925 | ;; to be used and distributed together with GStreamer and Totem. See | |
3926 | ;; file://COPYING in the source distribution for details. | |
3927 | (license license:gpl2+))) | |
f0afb0c8 DH |
3928 | |
3929 | (define-public rhythmbox | |
3930 | (package | |
3931 | (name "rhythmbox") | |
8190e1ed | 3932 | (version "3.4.3") |
f0afb0c8 DH |
3933 | (source (origin |
3934 | (method url-fetch) | |
3935 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3936 | (version-major+minor version) "/" | |
3937 | name "-" version ".tar.xz")) | |
3938 | (sha256 | |
3939 | (base32 | |
8190e1ed | 3940 | "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx")))) |
f0afb0c8 DH |
3941 | (build-system glib-or-gtk-build-system) |
3942 | (arguments | |
3943 | `(#:configure-flags | |
3944 | (list "--enable-lirc" | |
3945 | "--enable-python" | |
3946 | "--enable-vala" | |
3947 | "--with-brasero" | |
3948 | "--with-gudev" | |
3949 | "--with-libsecret") | |
3950 | #:phases | |
3951 | (modify-phases %standard-phases | |
3952 | (add-after | |
3953 | 'install 'wrap-rhythmbox | |
3954 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
3955 | (let ((out (assoc-ref outputs "out")) | |
3956 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
3957 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
349cef58 TGR |
3958 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH")) |
3959 | (python-path (getenv "PYTHONPATH"))) | |
f0afb0c8 DH |
3960 | (wrap-program (string-append out "/bin/rhythmbox") |
3961 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
3962 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
349cef58 TGR |
3963 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)) |
3964 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
f0afb0c8 DH |
3965 | #t))))) |
3966 | (propagated-inputs | |
3967 | `(("dconf" ,dconf))) | |
3968 | (native-inputs | |
bcb354ad SB |
3969 | `(("itstool" ,itstool) |
3970 | ("intltool" ,intltool) | |
f0afb0c8 DH |
3971 | ("glib" ,glib "bin") |
3972 | ("gobject-introspection" ,gobject-introspection) | |
3973 | ("desktop-file-utils" ,desktop-file-utils) | |
bcb354ad SB |
3974 | ("pkg-config" ,pkg-config) |
3975 | ("xmllint" ,libxml2))) | |
f0afb0c8 DH |
3976 | (inputs |
3977 | `(("json-glib" ,json-glib) | |
3978 | ("tdb" ,tdb) | |
3979 | ("gnome-desktop" ,gnome-desktop) | |
3980 | ("python" ,python) | |
3981 | ("python-pygobject" ,python2-pygobject) | |
3982 | ("vala" ,vala) | |
3983 | ("gmime" ,gmime) | |
3984 | ("nettle" ,nettle) | |
f0afb0c8 DH |
3985 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
3986 | ("grilo" ,grilo) | |
3987 | ("grilo-plugins" ,grilo-plugins) | |
3988 | ("gstreamer" ,gstreamer) | |
3989 | ("gst-plugins-base" ,gst-plugins-base) | |
3990 | ("gst-plugins-good" ,gst-plugins-good) | |
f0afb0c8 | 3991 | ("totem-pl-parser" ,totem-pl-parser) |
ea226291 | 3992 | ("libgudev" ,libgudev) |
f0afb0c8 DH |
3993 | ;;("libmtp" ,libmtp) FIXME: Not detected |
3994 | ("libsecret" ,libsecret) | |
3995 | ("libsoup" ,libsoup) | |
3996 | ("libnotify" ,libnotify) | |
3997 | ("libpeas" ,libpeas) | |
3998 | ("lirc" ,lirc) | |
3999 | ;; TODO: clutter* only used by visualizer plugin, which also requires mx | |
4000 | ;;("clutter" ,clutter) | |
4001 | ;;("clutter-gtk" ,clutter-gtk) | |
4002 | ;;("clutter-gst" ,clutter-gst) | |
4003 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4004 | ("atk" ,atk) | |
4005 | ("pango" ,pango) | |
4006 | ("gtk+" ,gtk+) | |
4007 | ;; TODO: | |
4008 | ;; * libgpod | |
4009 | ;; * mx | |
f0afb0c8 DH |
4010 | ("brasero" ,brasero))) |
4011 | (home-page "https://wiki.gnome.org/Apps/Rhythmbox") | |
4012 | (synopsis "Music player for GNOME") | |
4013 | (description "Rhythmbox is a music playing application for GNOME. It | |
4014 | supports playlists, song ratings, and any codecs installed through gstreamer.") | |
4015 | (license license:gpl2+))) | |
f70d8383 DH |
4016 | |
4017 | (define-public eog | |
4018 | (package | |
4019 | (name "eog") | |
ec7d4bc7 | 4020 | (version "3.28.4") |
f70d8383 DH |
4021 | (source (origin |
4022 | (method url-fetch) | |
4023 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4024 | (version-major+minor version) "/" | |
4025 | name "-" version ".tar.xz")) | |
4026 | (sha256 | |
4027 | (base32 | |
ec7d4bc7 | 4028 | "1wrq3l3z0x6q0hnc1vqr2hnyb1b14qw6aqvc5dldfgbs0yys6p55")))) |
61fb581f | 4029 | (build-system meson-build-system) |
f70d8383 | 4030 | (arguments |
34c44a34 RW |
4031 | `(#:configure-flags |
4032 | ;; Otherwise, the RUNPATH will lack the final 'eog' path component. | |
4033 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
4034 | (assoc-ref %outputs "out") "/lib/eog")) | |
4035 | #:phases | |
f70d8383 | 4036 | (modify-phases %standard-phases |
61fb581f RW |
4037 | (add-after 'install 'wrap-eog |
4038 | (lambda* (#:key outputs #:allow-other-keys) | |
4039 | (let ((out (assoc-ref outputs "out")) | |
4040 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
4041 | (wrap-program (string-append out "/bin/eog") | |
4042 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
4043 | #t))))) | |
f70d8383 DH |
4044 | (propagated-inputs |
4045 | `(("dconf" ,dconf))) | |
4046 | (native-inputs | |
4047 | `(("intltool" ,intltool) | |
b3546174 | 4048 | ("itstool" ,itstool) |
f70d8383 | 4049 | ("glib" ,glib "bin") |
61fb581f | 4050 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
f70d8383 | 4051 | ("gobject-introspection" ,gobject-introspection) |
bcb354ad SB |
4052 | ("pkg-config" ,pkg-config) |
4053 | ("xmllint" ,libxml2))) | |
f70d8383 DH |
4054 | (inputs |
4055 | `(("gnome-desktop" ,gnome-desktop) | |
4056 | ("shared-mime-info" ,shared-mime-info) | |
4057 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
4058 | ("exempi" ,exempi) | |
4059 | ("lcms" ,lcms) | |
4060 | ("libexif" ,libexif) | |
4061 | ("libpeas" ,libpeas) | |
4062 | ("libjpeg" ,libjpeg) | |
4063 | ("librsvg" ,librsvg) | |
4064 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4065 | ("gtk+" ,gtk+))) | |
4066 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome") | |
4067 | (synopsis "GNOME image viewer") | |
4068 | (description "Eye of GNOME is the GNOME image viewer. It | |
4069 | supports image conversion, rotation, and slideshows.") | |
4070 | (license license:gpl2+))) | |
41af5e7b | 4071 | |
0c3f8cb8 LC |
4072 | (define-public eog-plugins |
4073 | ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as | |
4074 | ;; $DATA/lib/eog/plugins, where DATA is one of the entries in | |
4075 | ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have | |
4076 | ;; 'XDG_DATA_DIRS' appropriately set. | |
4077 | (package | |
4078 | (name "eog-plugins") | |
5fed63dd | 4079 | (version "3.26.3") |
0c3f8cb8 LC |
4080 | (source (origin |
4081 | (method url-fetch) | |
f3b88ed2 | 4082 | (uri (string-append "mirror://gnome/sources/eog-plugins/" |
0c3f8cb8 | 4083 | (version-major+minor version) "/" |
f3b88ed2 | 4084 | "eog-plugins-" version ".tar.xz")) |
0c3f8cb8 LC |
4085 | (sha256 |
4086 | (base32 | |
5fed63dd | 4087 | "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3")))) |
0c3f8cb8 LC |
4088 | (build-system gnu-build-system) |
4089 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins") | |
4090 | (synopsis "Extensions for the Eye of GNOME image viewer") | |
4091 | (native-inputs | |
4092 | `(("pkg-config" ,pkg-config) | |
4093 | ("gettext" ,gnu-gettext))) | |
4094 | (inputs | |
4095 | `(("eog" ,eog) | |
4096 | ("glib" ,glib) | |
4097 | ("gtk+" ,gtk+) | |
4098 | ("libpeas" ,libpeas) | |
4099 | ("libexif" ,libexif) | |
4100 | ("libchamplain" ,libchamplain))) | |
4101 | (description | |
4102 | "This package provides plugins for the Eye of GNOME (EOG) image viewer, | |
4103 | notably: | |
4104 | ||
4105 | @itemize | |
4106 | @item @dfn{EXIF Display}, which displays camera (EXIF) information; | |
4107 | @item @dfn{Map}, which displays a map of where the picture was taken on the | |
4108 | side panel; | |
4109 | @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode. | |
4110 | @end itemize\n") | |
4111 | ||
4112 | ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a | |
4113 | ;; long suspicious byte stream that goes to a | |
4114 | ;; ".gresource.eog_postasa_plugin" ELF section. | |
4115 | (license license:gpl2+))) | |
4116 | ||
41af5e7b SB |
4117 | (define-public libgudev |
4118 | (package | |
4119 | (name "libgudev") | |
b78f5118 | 4120 | (version "232") |
41af5e7b SB |
4121 | (source (origin |
4122 | (method url-fetch) | |
4123 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4124 | version "/" name "-" version ".tar.xz")) | |
4125 | (sha256 | |
4126 | (base32 | |
b78f5118 | 4127 | "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f")))) |
41af5e7b | 4128 | (build-system gnu-build-system) |
b78f5118 RW |
4129 | (arguments |
4130 | '(#:configure-flags | |
4131 | ;; umockdev depends on libgudev. | |
4132 | (list "--disable-umockdev"))) | |
41af5e7b SB |
4133 | (native-inputs |
4134 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
4135 | ("gobject-introspection" ,gobject-introspection) | |
4136 | ("pkg-config" ,pkg-config))) | |
4137 | (propagated-inputs | |
4138 | `(("glib" ,glib))) ; required by gudev-1.0.pc | |
4139 | (inputs | |
4140 | `(("udev" ,eudev))) | |
4141 | (home-page "https://wiki.gnome.org/Projects/libgudev") | |
4142 | (synopsis "GObject bindings for libudev") | |
4143 | (description | |
4144 | "This library provides GObject bindings for libudev. It was originally | |
4145 | part of udev-extras, then udev, then systemd. It's now a project on its own.") | |
4146 | (license license:lgpl2.1+))) | |
3dc8828f SB |
4147 | |
4148 | (define-public gvfs | |
4149 | (package | |
4150 | (name "gvfs") | |
e762d943 | 4151 | (version "1.38.1") |
3dc8828f SB |
4152 | (source (origin |
4153 | (method url-fetch) | |
4154 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4155 | (version-major+minor version) "/" | |
4156 | name "-" version ".tar.xz")) | |
4157 | (sha256 | |
4158 | (base32 | |
e762d943 RW |
4159 | "18311pn5kp9b4kf5prvhcjs0cwf7fm3mqh6s6p42avcr5j26l4zd")))) |
4160 | (build-system meson-build-system) | |
3dc8828f | 4161 | (arguments |
e762d943 RW |
4162 | '(#:glib-or-gtk? #t |
4163 | #:configure-flags | |
4164 | (list "-Dsystemduserunitdir=no" | |
4165 | "-Dtmpfilesdir=no" | |
4166 | ;; Otherwise, the RUNPATH will lack the final path component. | |
4167 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
4168 | (assoc-ref %outputs "out") "/lib/gvfs")))) | |
3dc8828f SB |
4169 | (native-inputs |
4170 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
0ab9f949 RW |
4171 | ("gettext" ,gettext-minimal) |
4172 | ("gtk-doc" ,gtk-doc) | |
3dc8828f SB |
4173 | ("pkg-config" ,pkg-config) |
4174 | ("xsltproc" ,libxslt))) | |
4175 | (inputs | |
4176 | `(("avahi" ,avahi) | |
4177 | ("docbook-xml" ,docbook-xml-4.2) | |
4178 | ("docbook-xsl" ,docbook-xsl) | |
4179 | ("dbus" ,dbus) | |
e762d943 | 4180 | ("elogind" ,elogind) |
3dc8828f | 4181 | ("fuse" ,fuse) |
24a78aa6 | 4182 | ("gcr" ,gcr) |
3dc8828f | 4183 | ("glib" ,glib) |
e762d943 | 4184 | ("gnome-online-accounts" ,gnome-online-accounts) |
3dc8828f SB |
4185 | ("libarchive" ,libarchive) |
4186 | ("libbluray" ,libbluray) | |
8852ca24 | 4187 | ("libcap" ,libcap) |
3dc8828f SB |
4188 | ("libcdio-paranoia" ,libcdio-paranoia) |
4189 | ("libgcrypt" ,libgcrypt) | |
e762d943 | 4190 | ("libgdata" ,libgdata) |
3dc8828f SB |
4191 | ("libgphoto2" ,libgphoto2) |
4192 | ("libgudev" ,libgudev) | |
0ab9f949 | 4193 | ("libimobiledevice" ,libimobiledevice) |
3dc8828f | 4194 | ("libmtp" ,libmtp) |
e762d943 | 4195 | ("libnfs" ,libnfs) |
3dc8828f SB |
4196 | ("libsecret" ,libsecret) |
4197 | ("libsmbclient" ,samba) | |
4198 | ("libsoup" ,libsoup) | |
4199 | ("libxml2" ,libxml2) | |
4200 | ("nettle" ,nettle) ; XXX: required by libarchive.pc | |
e762d943 | 4201 | ("openssh" ,openssh) |
8852ca24 | 4202 | ("polkit" ,polkit) |
3dc8828f SB |
4203 | ("udisks" ,udisks))) |
4204 | (home-page "https://wiki.gnome.org/gvfs/") | |
8f65585b | 4205 | (synopsis "Userspace virtual file system for GIO") |
3dc8828f | 4206 | (description |
8f65585b | 4207 | "GVFS is a userspace virtual file system designed to work with the I/O |
3dc8828f SB |
4208 | abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support |
4209 | to all applications using the GIO API. It also supports exposing the GVFS | |
4210 | mounts to non-GIO applications using FUSE. | |
4211 | ||
4212 | GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP, | |
4213 | DAV, and others.") | |
4214 | (license license:lgpl2.0+))) | |
7c88b6bd AW |
4215 | |
4216 | (define-public gusb | |
4217 | (package | |
4218 | (name "gusb") | |
536b3274 | 4219 | (version "0.3.0") |
7c88b6bd AW |
4220 | (source (origin |
4221 | (method url-fetch) | |
4222 | (uri (string-append "https://github.com/hughsie/libgusb/archive/" | |
536b3274 | 4223 | version ".tar.gz")) |
7c88b6bd AW |
4224 | (sha256 |
4225 | (base32 | |
536b3274 MB |
4226 | "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk")))) |
4227 | (build-system meson-build-system) | |
7c88b6bd | 4228 | (native-inputs |
536b3274 | 4229 | `(("gobject-introspection" ,gobject-introspection) |
7c88b6bd AW |
4230 | ("pkg-config" ,pkg-config) |
4231 | ("vala" ,vala) | |
7c88b6bd AW |
4232 | ("gtk-doc" ,gtk-doc))) |
4233 | (propagated-inputs | |
4234 | ;; Both of these are required by gusb.pc. | |
4235 | `(("glib" ,glib) | |
4236 | ("libusb" ,libusb))) | |
4237 | (arguments | |
536b3274 | 4238 | `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is. |
8f1640ed | 4239 | (home-page "https://github.com/hughsie/libgusb") |
a124bbd2 | 4240 | (synopsis "GLib binding for libusb1") |
7c88b6bd AW |
4241 | (description |
4242 | "GUsb is a GObject wrapper for libusb1 that makes it easy to do | |
4243 | asynchronous control, bulk and interrupt transfers with proper cancellation | |
4244 | and integration into a mainloop. This makes it easy to integrate low level | |
4245 | USB transfers with your high-level application or system daemon.") | |
4246 | (license license:lgpl2.1+))) | |
0abe1d86 AW |
4247 | |
4248 | (define-public simple-scan | |
4249 | (package | |
4250 | (name "simple-scan") | |
baca5333 | 4251 | (version "3.24.1") |
0abe1d86 AW |
4252 | (source (origin |
4253 | (method url-fetch) | |
4254 | (uri (string-append "https://launchpad.net/simple-scan/" | |
4255 | (version-major+minor version) "/" | |
4256 | version "/+download/simple-scan-" | |
4257 | version ".tar.xz")) | |
4258 | (sha256 | |
4259 | (base32 | |
baca5333 | 4260 | "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy")))) |
0abe1d86 AW |
4261 | (build-system glib-or-gtk-build-system) |
4262 | (inputs | |
4263 | `(("gtk" ,gtk+) | |
4264 | ("zlib" ,zlib) | |
4265 | ("cairo" ,cairo) | |
4266 | ("gdk-pixbuf" ,gdk-pixbuf) | |
4267 | ("gusb" ,gusb) | |
4c928743 | 4268 | ("libsane" ,sane-backends))) |
0abe1d86 | 4269 | (native-inputs |
b94a6ca0 | 4270 | `(("gettext" ,gettext-minimal) |
0abe1d86 AW |
4271 | ("itstool" ,itstool) |
4272 | ("colord" ,colord) | |
4273 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. | |
4274 | ("pkg-config" ,pkg-config) | |
bcb354ad SB |
4275 | ("vala" ,vala) |
4276 | ("xmllint" ,libxml2))) | |
fb9ca511 TGR |
4277 | (arguments |
4278 | '(#:configure-flags '("--disable-packagekit") | |
4279 | #:phases | |
4280 | (modify-phases %standard-phases | |
4281 | (add-after 'unpack 'clean | |
4282 | (lambda _ | |
4283 | ;; Remove a left-over reference to PackageKit. | |
4284 | ||
4285 | ;; https://bugs.launchpad.net/simple-scan/+bug/1462769 | |
4286 | ||
4287 | ;; There are some generated C files erroneously | |
4288 | ;; included in the source distribution, and this | |
4289 | ;; one breaks the build by referring to a | |
4290 | ;; non-existent header (packagekit.h) | |
4291 | (delete-file "src/ui.c")))))) | |
0abe1d86 AW |
4292 | (home-page "https://launchpad.net/simple-scan") |
4293 | (synopsis "Document and image scanner") | |
4294 | (description "Simple Scan is an easy-to-use application, designed to let | |
4295 | users connect their scanner and quickly have the image/document in an | |
4296 | appropriate format. Simple Scan is basically a frontend for SANE - which is | |
4297 | the same backend as XSANE uses. This means that all existing scanners will | |
4298 | work and the interface is well tested.") | |
4299 | (license license:gpl3+))) | |
7549f984 | 4300 | |
ab466d79 RW |
4301 | (define-public eolie |
4302 | (package | |
4303 | (name "eolie") | |
1d7cf144 | 4304 | (version "0.9.62") |
ab466d79 RW |
4305 | (source (origin |
4306 | (method url-fetch) | |
00014781 | 4307 | (uri (string-append "https://gitlab.gnome.org/World/eolie/" |
1d7cf144 | 4308 | "uploads/bb4aad19272cc636bd17f2f6602127fe/" |
00014781 | 4309 | "eolie-" version ".tar.xz")) |
ab466d79 RW |
4310 | (sha256 |
4311 | (base32 | |
1d7cf144 | 4312 | "06v76hg87fnhw45dil5vvl20myvaa38n1jqsl0lmkkq6af4mk8wx")))) |
00014781 | 4313 | (build-system meson-build-system) |
ab466d79 | 4314 | (arguments |
00014781 RW |
4315 | `(#:glib-or-gtk? #t |
4316 | #:phases | |
ab466d79 RW |
4317 | (modify-phases %standard-phases |
4318 | (add-after 'wrap 'wrap-more | |
4319 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4320 | (let* ((out (assoc-ref outputs "out")) | |
4321 | ;; These libraries must be on LD_LIBRARY_PATH. | |
4322 | (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret" | |
4323 | "atk" "gtk+" "gsettings-desktop-schemas" | |
4324 | "gobject-introspection")) | |
4325 | (path (string-join | |
4326 | (map (lambda (lib) | |
4327 | (string-append (assoc-ref inputs lib) "/lib")) | |
4328 | libs) | |
4329 | ":"))) | |
4330 | (wrap-program (string-append out "/bin/eolie") | |
4331 | `("LD_LIBRARY_PATH" ":" prefix (,path)) | |
4332 | `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))) | |
4333 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))) | |
4334 | #t))))) | |
4335 | (native-inputs | |
f85ca6ed | 4336 | `(("intltool" ,intltool) |
ab466d79 | 4337 | ("itstool" ,itstool) |
d95f1041 | 4338 | ("pkg-config" ,pkg-config) |
d95f1041 | 4339 | ("python" ,python) |
00014781 | 4340 | ("glib:bin" ,glib "bin") |
d95f1041 | 4341 | ("gtk+" ,gtk+ "bin"))) |
ab466d79 RW |
4342 | (inputs |
4343 | `(("gobject-introspection" ,gobject-introspection) | |
4344 | ("glib-networking" ,glib-networking) | |
4345 | ("cairo" ,cairo) | |
4346 | ("gtk+" ,gtk+) | |
4347 | ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH | |
4348 | ("python" ,python-wrapper) | |
d72f76df | 4349 | ("python-dateutil" ,python-dateutil) |
00014781 | 4350 | ("python-pyfxa" ,python-pyfxa) |
ab466d79 RW |
4351 | ("python-pygobject" ,python-pygobject) |
4352 | ("python-pycairo" ,python-pycairo) | |
00014781 | 4353 | ("python-pycrypto" ,python-pycrypto) |
ab466d79 RW |
4354 | ("libsecret" ,libsecret) |
4355 | ("gtkspell3" ,gtkspell3) | |
4356 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
f85ca6ed | 4357 | ("webkitgtk" ,webkitgtk))) |
166b2c97 | 4358 | (home-page "https://wiki.gnome.org/Apps/Eolie") |
ab466d79 RW |
4359 | (synopsis "Web browser for GNOME") |
4360 | (description | |
4361 | "Eolie is a new web browser for GNOME. It features Firefox sync support, | |
4362 | a secret password store, an adblocker, and a modern UI.") | |
4363 | (license license:gpl3+))) | |
4364 | ||
7549f984 SB |
4365 | (define-public epiphany |
4366 | (package | |
4367 | (name "epiphany") | |
8748e29c | 4368 | (version "3.30.2") |
7549f984 SB |
4369 | (source (origin |
4370 | (method url-fetch) | |
dd3266ec | 4371 | (uri (string-append "mirror://gnome/sources/epiphany/" |
7549f984 | 4372 | (version-major+minor version) "/" |
dd3266ec | 4373 | "epiphany-" version ".tar.xz")) |
7549f984 SB |
4374 | (sha256 |
4375 | (base32 | |
8748e29c | 4376 | "0141bb37nd8wc743g4wy491crjh6ig76ack07aj2ba4z3gjz2zlc")))) |
fc5c5b92 R |
4377 | |
4378 | (build-system meson-build-system) | |
7549f984 SB |
4379 | (arguments |
4380 | ;; FIXME: tests run under Xvfb, but fail with: | |
4381 | ;; /src/bookmarks/ephy-bookmarks/create: | |
4382 | ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf | |
4383 | ;; subsystem | |
4384 | ;; FAIL | |
6f48d9db | 4385 | '(#:tests? #f |
e19f9c24 LF |
4386 | #:glib-or-gtk? #t |
4387 | #:configure-flags | |
4388 | ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component. | |
4389 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
4390 | (assoc-ref %outputs "out") "/lib/epiphany")))) | |
80a747c4 SB |
4391 | (propagated-inputs |
4392 | `(("dconf" ,dconf))) | |
7549f984 | 4393 | (native-inputs |
fc5c5b92 R |
4394 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
4395 | ("glib:bin" ,glib "bin") ; for glib-mkenums | |
4396 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
4397 | ("intltool" ,intltool) | |
7549f984 | 4398 | ("itstool" ,itstool) |
bcb354ad SB |
4399 | ("pkg-config" ,pkg-config) |
4400 | ("xmllint" ,libxml2))) | |
7549f984 SB |
4401 | (inputs |
4402 | `(("avahi" ,avahi) | |
4403 | ("gcr" ,gcr) | |
fc5c5b92 | 4404 | ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files |
7549f984 SB |
4405 | ("glib-networking" ,glib-networking) |
4406 | ("gnome-desktop" ,gnome-desktop) | |
4407 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
eb6f315b | 4408 | ("json-glib" ,json-glib) |
7549f984 | 4409 | ("iso-codes" ,iso-codes) |
8748e29c | 4410 | ("libdazzle" ,libdazzle) |
7549f984 SB |
4411 | ("libnotify" ,libnotify) |
4412 | ("libsecret" ,libsecret) | |
7549f984 | 4413 | ("libxslt" ,libxslt) |
fc5c5b92 | 4414 | ("nettle" ,nettle) ; for hogweed |
7549f984 | 4415 | ("sqlite" ,sqlite) |
f85ca6ed | 4416 | ("webkitgtk" ,webkitgtk))) |
7549f984 SB |
4417 | (home-page "https://wiki.gnome.org/Apps/Web") |
4418 | (synopsis "GNOME web browser") | |
4419 | (description | |
4420 | "Epiphany is a GNOME web browser targeted at non-technical users. Its | |
4421 | principles are simplicity and standards compliance.") | |
4422 | (license license:gpl2+))) | |
a3856b2c SB |
4423 | |
4424 | (define-public d-feet | |
4425 | (package | |
4426 | (name "d-feet") | |
458e9221 | 4427 | (version "0.3.14") |
a3856b2c SB |
4428 | (source (origin |
4429 | (method url-fetch) | |
4430 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4431 | (version-major+minor version) "/" | |
4432 | name "-" version ".tar.xz")) | |
4433 | (sha256 | |
4434 | (base32 | |
458e9221 | 4435 | "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f")))) |
a3856b2c SB |
4436 | (build-system glib-or-gtk-build-system) |
4437 | (arguments | |
4438 | '(#:out-of-source? #f ; tests need to run in the source directory. | |
4439 | #:phases | |
4440 | (modify-phases %standard-phases | |
4441 | (add-before | |
4442 | 'check 'pre-check | |
86aff791 | 4443 | (lambda _ |
a3856b2c SB |
4444 | ;; The test suite requires a running X server. |
4445 | (system "Xvfb :1 &") | |
4446 | (setenv "DISPLAY" ":1") | |
4447 | ;; Don't fail on missing '/etc/machine-id'. | |
4448 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
4449 | ;; tests.py and window.py don't meet E402: | |
4450 | ;; E402 module level import not at top of file | |
4451 | (substitute* "src/tests/Makefile" | |
86aff791 MW |
4452 | (("--ignore=E123") "--ignore=E123,E402")) |
4453 | #t)) | |
a3856b2c SB |
4454 | (add-after |
4455 | 'install 'wrap-program | |
4456 | (lambda* (#:key outputs #:allow-other-keys) | |
4457 | (let ((prog (string-append (assoc-ref outputs "out") | |
4458 | "/bin/d-feet"))) | |
4459 | (wrap-program prog | |
4460 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
86aff791 MW |
4461 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) |
4462 | #t)))))) | |
a3856b2c SB |
4463 | (native-inputs |
4464 | `(("intltool" ,intltool) | |
4465 | ("itstool" ,itstool) | |
4466 | ("pkg-config" ,pkg-config) | |
4467 | ("python-pep8" ,python-pep8) | |
4468 | ("xmllint" ,libxml2) | |
4469 | ("xorg-server" ,xorg-server))) | |
4470 | (inputs | |
4471 | `(("gobject-introspection" ,gobject-introspection) | |
4472 | ("gtk+" ,gtk+) | |
4473 | ("python" ,python-wrapper) | |
458e9221 | 4474 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
a3856b2c SB |
4475 | ("python-pygobject" ,python-pygobject))) |
4476 | (home-page "https://wiki.gnome.org/Apps/DFeet") | |
4477 | (synopsis "D-Bus debugger") | |
4478 | (description | |
4479 | "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces | |
4480 | of running programs and invoke methods on those interfaces.") | |
4481 | (license license:gpl2+))) | |
c3b97bd9 SB |
4482 | |
4483 | (define-public yelp-xsl | |
4484 | (package | |
4485 | (name "yelp-xsl") | |
b3640e79 | 4486 | (version "3.32.1") |
c3b97bd9 SB |
4487 | (source (origin |
4488 | (method url-fetch) | |
4489 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4490 | (version-major+minor version) "/" | |
4491 | name "-" version ".tar.xz")) | |
4492 | (sha256 | |
4493 | (base32 | |
b3640e79 | 4494 | "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya")))) |
c3b97bd9 SB |
4495 | (build-system gnu-build-system) |
4496 | (native-inputs | |
4497 | `(("intltool" ,intltool) | |
4498 | ("itstool" ,itstool) | |
4499 | ("xmllint" ,libxml2))) | |
4500 | (home-page "https://wiki.gnome.org/Apps/Yelp") | |
4501 | (synopsis "XSL stylesheets for Yelp") | |
4502 | (description | |
4503 | "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser | |
4504 | to format Docbook and Mallard documents.") | |
4505 | (license license:gpl2+))) | |
de3d612a SB |
4506 | |
4507 | (define-public yelp | |
4508 | (package | |
4509 | (name "yelp") | |
9d029b7f | 4510 | (version "3.30.0") |
de3d612a SB |
4511 | (source (origin |
4512 | (method url-fetch) | |
4513 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4514 | (version-major+minor version) "/" | |
4515 | name "-" version ".tar.xz")) | |
4516 | (sha256 | |
4517 | (base32 | |
9d029b7f | 4518 | "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4")))) |
de3d612a SB |
4519 | (build-system glib-or-gtk-build-system) |
4520 | (native-inputs | |
4521 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
4522 | ("intltool" ,intltool) | |
4523 | ("itstool" ,itstool) | |
4524 | ("pkg-config" ,pkg-config))) | |
4525 | (propagated-inputs | |
4526 | `(("dconf" ,dconf))) | |
4527 | (inputs | |
ad1b7d8b SB |
4528 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
4529 | ("libxslt" ,libxslt) | |
de3d612a | 4530 | ("sqlite" ,sqlite) |
4c28ca1d SB |
4531 | ("webkitgtk" ,webkitgtk) |
4532 | ("yelp-xsl" ,yelp-xsl))) | |
de3d612a SB |
4533 | (home-page "https://wiki.gnome.org/Apps/Yelp") |
4534 | (synopsis "GNOME help browser") | |
4535 | (description | |
4536 | "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook, | |
4537 | man, info, and HTML documents. It can locate documents according to the | |
4538 | freedesktop.org help system specification.") | |
4539 | (license license:gpl2+))) | |
122d0d10 SB |
4540 | |
4541 | (define-public yelp-tools | |
4542 | (package | |
4543 | (name "yelp-tools") | |
2089bca5 | 4544 | (version "3.28.0") |
122d0d10 SB |
4545 | (source (origin |
4546 | (method url-fetch) | |
4547 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4548 | (version-major+minor version) "/" | |
4549 | name "-" version ".tar.xz")) | |
4550 | (sha256 | |
4551 | (base32 | |
2089bca5 | 4552 | "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2")))) |
122d0d10 SB |
4553 | (build-system gnu-build-system) |
4554 | (native-inputs | |
4555 | `(("pkg-config" ,pkg-config))) | |
4556 | (propagated-inputs | |
4557 | ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'. | |
4558 | `(("itstool" ,itstool) | |
4559 | ("xmllint" ,libxml2) | |
4560 | ("xsltproc" ,libxslt))) | |
4561 | (inputs | |
4562 | `(("yelp-xsl" ,yelp-xsl))) | |
4563 | (home-page "https://wiki.gnome.org/Apps/Yelp/Tools") | |
4564 | (synopsis "Yelp documentation tools") | |
4565 | (description | |
4566 | "Yelp-tools is a collection of scripts and build utilities to help create, | |
4567 | manage, and publish documentation for Yelp and the web. Most of the heavy | |
4568 | lifting is done by packages like yelp-xsl and itstool. This package just | |
4569 | wraps things up in a developer-friendly way.") | |
4570 | (license license:gpl2+))) | |
af8f9f23 RW |
4571 | |
4572 | (define-public libgee | |
4573 | (package | |
4574 | (name "libgee") | |
b1be07cf | 4575 | (version "0.20.1") |
af8f9f23 RW |
4576 | (source (origin |
4577 | (method url-fetch) | |
4578 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4579 | (version-major+minor version) "/" | |
4580 | name "-" version ".tar.xz")) | |
4581 | (sha256 | |
4582 | (base32 | |
b1be07cf | 4583 | "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v")))) |
af8f9f23 RW |
4584 | (build-system gnu-build-system) |
4585 | (arguments | |
4586 | `(#:phases | |
4587 | (modify-phases %standard-phases | |
4588 | (add-after 'unpack 'fix-introspection-install-dir | |
4589 | (lambda* (#:key outputs #:allow-other-keys) | |
4590 | (let ((out (assoc-ref outputs "out"))) | |
4591 | (substitute* "gee/Makefile.in" | |
4592 | (("@INTROSPECTION_GIRDIR@") | |
4593 | (string-append out "/share/gir-1.0/")) | |
4594 | (("@INTROSPECTION_TYPELIBDIR@") | |
4595 | (string-append out "/lib/girepository-1.0/"))))))))) | |
4596 | (native-inputs | |
4597 | `(("glib" ,glib "bin") | |
4598 | ("pkg-config" ,pkg-config))) | |
4599 | (inputs | |
4600 | `(("glib" ,glib) | |
4601 | ("gobject-introspection" ,gobject-introspection))) | |
4602 | (home-page "https://wiki.gnome.org/Projects/Libgee") | |
4603 | (synopsis "GObject collection library") | |
4604 | (description | |
4605 | "Libgee is a utility library providing GObject-based interfaces and | |
4606 | classes for commonly used data structures.") | |
4607 | (license license:lgpl2.1+))) | |
b0f9c4b8 RW |
4608 | |
4609 | (define-public gexiv2 | |
4610 | (package | |
4611 | (name "gexiv2") | |
adf0b482 | 4612 | (version "0.10.10") |
b0f9c4b8 RW |
4613 | (source (origin |
4614 | (method url-fetch) | |
4615 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4616 | (version-major+minor version) "/" | |
4617 | name "-" version ".tar.xz")) | |
4618 | (sha256 | |
4619 | (base32 | |
adf0b482 | 4620 | "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx")))) |
51c482e4 | 4621 | (build-system meson-build-system) |
094aaa1a LC |
4622 | (arguments |
4623 | ;; On 32-bit platforms, the test fails with a rounding error: | |
4624 | ;; <https://bugzilla.gnome.org/show_bug.cgi?id=775249>. Just skip it for | |
4625 | ;; now. | |
4626 | (if (and (not (%current-target-system)) | |
4627 | (member (%current-system) '("i686-linux" "armhf-linux"))) | |
4628 | '(#:tests? #f) | |
4629 | '())) | |
b0f9c4b8 RW |
4630 | (native-inputs |
4631 | `(("glib" ,glib "bin") | |
4632 | ("pkg-config" ,pkg-config))) | |
4633 | (propagated-inputs | |
4634 | ;; Listed in "Requires" section of gexiv2.pc | |
4635 | `(("exiv2" ,exiv2))) | |
4636 | (inputs | |
4637 | `(("glib" ,glib) | |
4638 | ("gobject-introspection" ,gobject-introspection))) | |
4639 | (home-page "https://wiki.gnome.org/Projects/gexiv2") | |
4640 | (synopsis "GObject wrapper around the Exiv2 photo metadata library") | |
4641 | (description | |
4642 | "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It | |
4643 | allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP | |
4644 | metadata in photo and video files of various formats.") | |
4645 | (license license:gpl2+))) | |
fed5a689 RW |
4646 | |
4647 | (define-public shotwell | |
4648 | (package | |
4649 | (name "shotwell") | |
e266043e | 4650 | (version "0.28.4") |
fed5a689 RW |
4651 | (source (origin |
4652 | (method url-fetch) | |
4653 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4654 | (version-major+minor version) "/" | |
4655 | name "-" version ".tar.xz")) | |
4656 | (sha256 | |
4657 | (base32 | |
e266043e | 4658 | "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9")))) |
fed5a689 | 4659 | (build-system glib-or-gtk-build-system) |
735b8db6 TGR |
4660 | (propagated-inputs |
4661 | `(("dconf" ,dconf))) | |
fed5a689 RW |
4662 | (native-inputs |
4663 | `(("pkg-config" ,pkg-config) | |
f819c21d | 4664 | ("itstool" ,itstool) |
b94a6ca0 | 4665 | ("gettext" ,gettext-minimal) |
77e9c993 | 4666 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
735b8db6 TGR |
4667 | ("itstool" ,itstool) |
4668 | ("vala" ,vala))) | |
fed5a689 | 4669 | (inputs |
735b8db6 TGR |
4670 | `(("glib:bin" ,glib "bin") |
4671 | ("gstreamer" ,gstreamer) | |
fed5a689 | 4672 | ("gst-plugins-base" ,gst-plugins-base) |
dfb0323d | 4673 | ("libgdata" ,libgdata) |
fed5a689 RW |
4674 | ("libgee" ,libgee) |
4675 | ("gexiv2" ,gexiv2) | |
4676 | ("libraw" ,libraw) | |
4677 | ("json-glib" ,json-glib) | |
7108425c | 4678 | ("webkitgtk" ,webkitgtk) |
fed5a689 RW |
4679 | ("sqlite" ,sqlite) |
4680 | ("libsoup" ,libsoup) | |
4681 | ("libxml2" ,libxml2) | |
fed5a689 | 4682 | ("libgudev" ,libgudev) |
522fc32e LF |
4683 | ("libgphoto2" ,libgphoto2) |
4684 | ("gcr" ,gcr))) | |
fed5a689 RW |
4685 | (home-page "https://wiki.gnome.org/Apps/Shotwell") |
4686 | (synopsis "Photo manager for GNOME 3") | |
4687 | (description | |
4688 | "Shotwell is a digital photo manager designed for the GNOME desktop | |
4689 | environment. It allows you to import photos from disk or camera, organize | |
4690 | them by keywords and events, view them in full-window or fullscreen mode, and | |
4691 | share them with others via social networking and more.") | |
4692 | (license license:lgpl2.1+))) | |
293ff8b2 DT |
4693 | |
4694 | (define-public file-roller | |
4695 | (package | |
4696 | (name "file-roller") | |
0a500745 | 4697 | (version "3.28.0") |
293ff8b2 DT |
4698 | (source (origin |
4699 | (method url-fetch) | |
4700 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4701 | (version-major+minor version) "/" | |
4702 | name "-" version ".tar.xz")) | |
4703 | (sha256 | |
4704 | (base32 | |
0a500745 RW |
4705 | "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1")))) |
4706 | (build-system meson-build-system) | |
293ff8b2 | 4707 | (native-inputs |
0a500745 RW |
4708 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
4709 | ("intltool" ,intltool) | |
4710 | ("pkg-config" ,pkg-config) | |
4711 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache | |
4712 | ("glib:bin" ,glib "bin"))) | |
293ff8b2 DT |
4713 | ;; TODO: Add libnautilus. |
4714 | (inputs | |
4715 | `(("gtk+" ,gtk+) | |
4716 | ("gdk-pixbuf" ,gdk-pixbuf) | |
4717 | ("json-glib" ,json-glib) | |
4718 | ("libarchive" ,libarchive) | |
4719 | ("libnotify" ,libnotify) | |
4720 | ("nettle" ,nettle) | |
4721 | ("itstool" ,itstool) | |
4722 | ("libxml2" ,libxml2))) | |
4723 | (synopsis "Graphical archive manager for GNOME") | |
4724 | (description "File Roller is an archive manager for the GNOME desktop | |
4725 | environment that allows users to view, unpack, and create compressed archives | |
4726 | such as gzip tarballs.") | |
4727 | (home-page "http://fileroller.sourceforge.net/") | |
4728 | (license license:gpl2+))) | |
7ce49365 SB |
4729 | |
4730 | (define-public gnome-session | |
4731 | (package | |
4732 | (name "gnome-session") | |
df278071 | 4733 | (version "3.28.1") |
7ce49365 SB |
4734 | (source (origin |
4735 | (method url-fetch) | |
4736 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4737 | (version-major+minor version) "/" | |
4738 | name "-" version ".tar.xz")) | |
4739 | (sha256 | |
4740 | (base32 | |
df278071 | 4741 | "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq")))) |
2914af3c | 4742 | (arguments |
df278071 RW |
4743 | '(#:glib-or-gtk? #t |
4744 | #:phases | |
2914af3c AW |
4745 | (modify-phases %standard-phases |
4746 | (add-before 'configure 'pre-configure | |
4747 | (lambda* (#:key outputs #:allow-other-keys) | |
4748 | ;; Use elogind instead of systemd. | |
df278071 RW |
4749 | (substitute* "meson.build" |
4750 | (("libsystemd-login") "libelogind") | |
4751 | (("and libsystemd_daemon_dep.found.*") ",")) | |
2914af3c AW |
4752 | (substitute* "gnome-session/gsm-systemd.c" |
4753 | (("#include <systemd/sd-login.h>") | |
4754 | "#include <elogind/sd-login.h>")) | |
df278071 | 4755 | ;; Remove uses of the systemd daemon. |
803ab416 SB |
4756 | (substitute* "gnome-session/gsm-autostart-app.c" |
4757 | (("#ifdef HAVE_SYSTEMD") "#if 0")) | |
a0d7baaf LC |
4758 | #t)) |
4759 | (add-after 'install 'wrap-gnome-session | |
4760 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4761 | ;; Make sure 'gnome-session' finds the 'gsettings' program. | |
4762 | (let ((glib (assoc-ref inputs "glib:bin")) | |
4763 | (out (assoc-ref outputs "out"))) | |
4764 | (wrap-program (string-append out "/bin/gnome-session") | |
4765 | `("PATH" ":" prefix (,(string-append glib "/bin")))) | |
1d7bff4b TS |
4766 | #t))) |
4767 | (add-after 'install 'add-absolute-paths-to-desktop-files | |
4768 | (lambda* (#:key outputs #:allow-other-keys) | |
4769 | (let* ((out (assoc-ref outputs "out"))) | |
4770 | (substitute* (map (lambda (x) | |
4771 | (string-append out "/share/xsessions/" x)) | |
4772 | '("gnome.desktop" "gnome-xorg.desktop")) | |
4773 | (("gnome-session") (string-append out "/bin/gnome-session"))) | |
a0d7baaf | 4774 | #t)))) |
6cbc8d57 | 4775 | |
2914af3c | 4776 | #:configure-flags |
df278071 RW |
4777 | '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error |
4778 | "-Dman=false" ; FIXME: disabled because of docbook validation error | |
4779 | "-Dsystemd_journal=false"))) | |
4780 | (build-system meson-build-system) | |
7ce49365 SB |
4781 | (native-inputs |
4782 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4783 | ("pkg-config" ,pkg-config) | |
4784 | ("intltool" ,intltool) | |
df278071 RW |
4785 | ("xsltproc" ,libxslt) |
4786 | ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' | |
4787 | ("docbook-xsl" ,docbook-xsl) | |
4788 | ("docbook-xml" ,docbook-xml) | |
4789 | ("xmlto" ,xmlto))) | |
7ce49365 | 4790 | (inputs |
2914af3c AW |
4791 | `(("elogind" ,elogind) |
4792 | ("gnome-desktop" ,gnome-desktop) | |
ba3cb5ab | 4793 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
7ce49365 SB |
4794 | ("gtk+" ,gtk+) |
4795 | ("json-glib" ,json-glib) | |
4796 | ("libsm" ,libsm) | |
4797 | ("libxcomposite" ,libxcomposite) | |
4798 | ("libxtst" ,libxtst) | |
4799 | ("mesa" ,mesa) | |
4800 | ("upower" ,upower) | |
4801 | ("xtrans" ,xtrans))) | |
4802 | (synopsis "Session manager for GNOME") | |
4803 | (description | |
4804 | "This package contains the GNOME session manager, as well as a | |
4805 | configuration program to choose applications starting on login.") | |
4806 | (home-page "https://wiki.gnome.org/Projects/SessionManagement") | |
4807 | (license license:gpl2+))) | |
f47ba77e SB |
4808 | |
4809 | (define-public gjs | |
4810 | (package | |
4811 | (name "gjs") | |
72717817 | 4812 | (version "1.52.3") |
f47ba77e SB |
4813 | (source (origin |
4814 | (method url-fetch) | |
4815 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4816 | (version-major+minor version) "/" | |
4817 | name "-" version ".tar.xz")) | |
4818 | (sha256 | |
4819 | (base32 | |
72717817 | 4820 | "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff")))) |
f47ba77e SB |
4821 | (build-system gnu-build-system) |
4822 | (arguments | |
4823 | '(#:phases | |
4824 | (modify-phases %standard-phases | |
4825 | (add-before | |
4826 | 'check 'pre-check | |
4827 | (lambda _ | |
fc119619 MW |
4828 | ;; The test suite requires a running X server. |
4829 | (system "Xvfb :1 &") | |
4830 | (setenv "DISPLAY" ":1") | |
4831 | ||
f47ba77e SB |
4832 | ;; For the missing /etc/machine-id. |
4833 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
ba666b07 | 4834 | |
144f94d0 KK |
4835 | ;; Our mozjs-38 package does not compile the required Intl API |
4836 | ;; support for these failing tests. | |
4837 | (substitute* "installed-tests/js/testLocale.js" | |
4838 | ((".*toBeDefined.*") "") | |
4839 | ((".*expect\\(datestr\\).*") "")) | |
f47ba77e SB |
4840 | #t))))) |
4841 | (native-inputs | |
8a831c6f | 4842 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources |
f47ba77e SB |
4843 | ("pkg-config" ,pkg-config) |
4844 | ("xmllint" ,libxml2) | |
4845 | ;; For testing | |
4846 | ("dbus-launch" ,dbus) | |
4847 | ("uuidgen" ,util-linux) | |
ebebee94 | 4848 | ("xvfb" ,xorg-server-for-tests))) |
f47ba77e SB |
4849 | (propagated-inputs |
4850 | ;; These are all in the Requires.private field of gjs-1.0.pc. | |
144f94d0 KK |
4851 | `(("cairo" ,cairo) |
4852 | ("gobject-introspection" ,gobject-introspection) | |
72717817 | 4853 | ("mozjs" ,mozjs-52))) |
f47ba77e SB |
4854 | (inputs |
4855 | `(("gtk+" ,gtk+) | |
4856 | ("readline" ,readline))) | |
4857 | (synopsis "Javascript bindings for GNOME") | |
f032d0be | 4858 | (home-page "https://live.gnome.org/Gjs") |
f47ba77e SB |
4859 | (description |
4860 | "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey | |
4861 | javascript engine and the GObject introspection framework.") | |
4862 | (license license:gpl2+))) | |
329d731b DH |
4863 | |
4864 | (define-public gedit | |
4865 | (package | |
4866 | (name "gedit") | |
6a29c8d3 | 4867 | (version "3.28.1") |
329d731b DH |
4868 | (source (origin |
4869 | (method url-fetch) | |
4870 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4871 | (version-major+minor version) "/" | |
4872 | name "-" version ".tar.xz")) | |
4873 | (sha256 | |
4874 | (base32 | |
6a29c8d3 | 4875 | "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i")))) |
329d731b DH |
4876 | (build-system glib-or-gtk-build-system) |
4877 | (arguments | |
0d2df50c | 4878 | `(#:phases |
329d731b DH |
4879 | (modify-phases %standard-phases |
4880 | (add-after | |
4881 | 'install 'wrap-gedit | |
4882 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4883 | (let ((out (assoc-ref outputs "out")) | |
4884 | (gtksourceview (assoc-ref inputs "gtksourceview")) | |
afc25242 SB |
4885 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) |
4886 | (python-path (getenv "PYTHONPATH"))) | |
329d731b | 4887 | (wrap-program (string-append out "/bin/gedit") |
afc25242 | 4888 | ;; For plugins. |
329d731b | 4889 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) |
afc25242 | 4890 | `("PYTHONPATH" ":" prefix (,python-path)) |
329d731b DH |
4891 | ;; For language-specs. |
4892 | `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview | |
4893 | "/share"))))) | |
4894 | #t))))) | |
4895 | (propagated-inputs | |
4896 | `(("dconf" ,dconf))) | |
4897 | (native-inputs | |
4898 | `(("intltool" ,intltool) | |
b3546174 | 4899 | ("itstool" ,itstool) |
329d731b DH |
4900 | ("gobject-introspection" ,gobject-introspection) |
4901 | ("pkg-config" ,pkg-config))) | |
4902 | (inputs | |
4903 | `(("glib" ,glib) | |
0d2df50c | 4904 | ("gspell" ,gspell) |
329d731b | 4905 | ("gtk+" ,gtk+) |
b54c2289 | 4906 | ("gtksourceview" ,gtksourceview-3) |
329d731b DH |
4907 | ("libpeas" ,libpeas) |
4908 | ("libxml2" ,libxml2) | |
329d731b DH |
4909 | ("iso-codes" ,iso-codes) |
4910 | ("python-pygobject" ,python-pygobject) | |
4911 | ("python" ,python) | |
4912 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4913 | ("libx11" ,libx11) | |
4914 | ("vala" ,vala) | |
4915 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
4916 | ("libsoup" ,libsoup) | |
4917 | ("gnome-desktop" ,gnome-desktop))) | |
4918 | (home-page "https://wiki.gnome.org/Apps/Gedit") | |
4919 | (synopsis "GNOME text editor") | |
4920 | (description "While aiming at simplicity and ease of use, gedit is a | |
4921 | powerful general purpose text editor.") | |
4922 | (license license:gpl2+))) | |
b7179363 SB |
4923 | |
4924 | (define-public zenity | |
4925 | (package | |
4926 | (name "zenity") | |
f8e2b577 | 4927 | (version "3.28.1") |
b7179363 SB |
4928 | (source (origin |
4929 | (method url-fetch) | |
4930 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4931 | (version-major+minor version) "/" | |
4932 | name "-" version ".tar.xz")) | |
4933 | (sha256 | |
4934 | (base32 | |
f8e2b577 | 4935 | "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv")))) |
b7179363 SB |
4936 | (build-system gnu-build-system) |
4937 | (native-inputs | |
b94a6ca0 | 4938 | `(("gettext" ,gettext-minimal) |
b7179363 SB |
4939 | ("itstool" ,itstool) |
4940 | ("pkg-config" ,pkg-config))) | |
4941 | (inputs | |
4942 | `(("libnotify" ,libnotify) | |
4943 | ("webkitgtk" ,webkitgtk))) | |
4944 | (synopsis "Display graphical dialog boxes from shell scripts") | |
f032d0be | 4945 | (home-page "https://www.gnome.org") |
b7179363 SB |
4946 | (description |
4947 | "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you | |
4948 | to display dialog boxes from the commandline and shell scripts.") | |
4949 | (license license:lgpl2.0+))) | |
60c3627c SB |
4950 | |
4951 | (define-public mutter | |
4952 | (package | |
4953 | (name "mutter") | |
e402eae6 | 4954 | (version "3.30.2") |
60c3627c | 4955 | (source (origin |
86c44e72 KK |
4956 | (method url-fetch) |
4957 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4958 | (version-major+minor version) "/" | |
4959 | name "-" version ".tar.xz")) | |
60c3627c SB |
4960 | (sha256 |
4961 | (base32 | |
e402eae6 | 4962 | "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z")))) |
86c44e72 KK |
4963 | ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked |
4964 | ;; versions of cogl and clutter. As a result, many of the inputs, | |
4965 | ;; propagated-inputs, and configure flags used in cogl and clutter are | |
4966 | ;; needed here as well. | |
60c3627c SB |
4967 | (build-system gnu-build-system) |
4968 | (arguments | |
4969 | '(#:configure-flags | |
4970 | ;; XXX: build fails with [-Werror]: | |
4971 | ;; backends/meta-cursor-renderer.c:112:5: error: | |
4972 | ;; implicit declaration of function ?roundf? | |
a88d5a0c MW |
4973 | (list "--enable-compile-warnings=minimum" |
4974 | ||
86c44e72 | 4975 | "--enable-native-backend" |
a88d5a0c MW |
4976 | |
4977 | ;; The following flags are needed for the bundled clutter | |
4978 | "--enable-x11-backend=yes" | |
4979 | ||
d633f2f6 RH |
4980 | (string-append "--with-xwayland-path=" |
4981 | (assoc-ref %build-inputs "xorg-server-xwayland") | |
4982 | "/bin/Xwayland") | |
4983 | ||
a88d5a0c MW |
4984 | ;; the remaining flags are needed for the bundled cogl |
4985 | "--enable-cogl-gst" | |
4986 | (string-append "--with-gl-libname=" | |
4987 | (assoc-ref %build-inputs "mesa") | |
f23052a6 DC |
4988 | "/lib/libGL.so")) |
4989 | #:phases | |
4990 | (modify-phases %standard-phases | |
86c44e72 KK |
4991 | ;; Replace references to systemd libraries to elogind references. |
4992 | (add-before 'configure 'use-elogind | |
4993 | (lambda _ | |
4994 | (substitute* (list "configure" | |
4995 | "src/backends/native/meta-launcher.c" | |
4996 | "src/core/main.c") | |
4997 | (("systemd") "elogind")) | |
4998 | #t))))) | |
60c3627c SB |
4999 | (native-inputs |
5000 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5001 | ("gobject-introspection" ,gobject-introspection) | |
5002 | ("intltool" ,intltool) | |
f23052a6 DC |
5003 | ("pkg-config" ,pkg-config) |
5004 | ;; For git build | |
5005 | ("autoconf" ,autoconf) | |
5006 | ("automake" ,automake) | |
5007 | ("libtool" ,libtool))) | |
60c3627c | 5008 | (propagated-inputs |
a88d5a0c MW |
5009 | `(;; libmutter.pc refers to these: |
5010 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
5011 | ("gtk+" ,gtk+) | |
5012 | ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these: | |
5013 | ("atk" ,atk) | |
5014 | ("cairo" ,cairo) | |
5015 | ("gdk-pixbuf" ,gdk-pixbuf) | |
5016 | ("glib" ,glib) | |
60c3627c | 5017 | ("gtk+" ,gtk+) |
a88d5a0c MW |
5018 | ("json-glib" ,json-glib) |
5019 | ("libinput" ,libinput) | |
5020 | ("libx11" ,libx11) | |
5021 | ("libxcomposite" ,libxcomposite) | |
5022 | ("libxdamage" ,libxdamage) | |
5023 | ("libxext" ,libxext) | |
5024 | ("libxfixes" ,libxfixes) | |
5025 | ("libxkbcommon" ,libxkbcommon) | |
5026 | ("libxrandr" ,libxrandr) | |
5027 | ("mesa" ,mesa) | |
5028 | ("pango" ,pango) | |
5029 | ("udev" ,eudev) | |
a88d5a0c | 5030 | ("xinput" ,xinput))) |
60c3627c | 5031 | (inputs |
86c44e72 KK |
5032 | `(("elogind" ,elogind) |
5033 | ("gnome-desktop" ,gnome-desktop) | |
60c3627c | 5034 | ("libcanberra-gtk" ,libcanberra) |
a88d5a0c | 5035 | ("libgudev" ,libgudev) |
60c3627c SB |
5036 | ("libice" ,libice) |
5037 | ("libsm" ,libsm) | |
60c3627c | 5038 | ("libxkbfile" ,libxkbfile) |
a88d5a0c | 5039 | ("libxrandr" ,libxrandr) |
86c44e72 | 5040 | ("libxtst" ,libxtst) |
60c3627c SB |
5041 | ("startup-notification" ,startup-notification) |
5042 | ("upower-glib" ,upower) | |
5043 | ("xkeyboard-config" ,xkeyboard-config) | |
d633f2f6 | 5044 | ("xorg-server-xwayland" ,xorg-server-xwayland) |
60c3627c SB |
5045 | ("zenity" ,zenity))) |
5046 | (synopsis "Window and compositing manager") | |
f032d0be | 5047 | (home-page "https://www.gnome.org") |
60c3627c SB |
5048 | (description |
5049 | "Mutter is a window and compositing manager that displays and manages your | |
5050 | desktop via OpenGL. Mutter combines a sophisticated display engine using the | |
5051 | Clutter toolkit with solid window-management logic inherited from the Metacity | |
5052 | window manager.") | |
86c44e72 | 5053 | (license license:gpl2+))) |
685cee87 SB |
5054 | |
5055 | (define-public gnome-online-accounts | |
5056 | (package | |
5057 | (name "gnome-online-accounts") | |
9b848f03 | 5058 | (version "3.30.0") |
685cee87 SB |
5059 | (source (origin |
5060 | (method url-fetch) | |
5061 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5062 | (version-major+minor version) "/" | |
5063 | name "-" version ".tar.xz")) | |
5064 | (sha256 | |
5065 | (base32 | |
9b848f03 | 5066 | "1hyg9g7l4ypnirx2j7ms2vr8711x90aybpq3s3wa20ma8a4xin97")))) |
14c297fd | 5067 | (outputs '("out" "lib")) |
685cee87 | 5068 | (build-system glib-or-gtk-build-system) |
14c297fd TS |
5069 | (arguments |
5070 | `(#:configure-flags | |
5071 | (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib")) | |
5072 | #:phases | |
5073 | (modify-phases %standard-phases | |
5074 | (add-before 'configure 'patch-libgoa-output | |
5075 | (lambda* (#:key outputs #:allow-other-keys) | |
5076 | (let ((lib (assoc-ref outputs "lib"))) | |
5077 | (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in") | |
5078 | (("@prefix@") lib) | |
5079 | (("@exec_prefix@") lib) | |
5080 | (("@libdir@") (string-append lib "/lib")) | |
5081 | (("@includedir@") (string-append lib "/include")) | |
5082 | (("@datadir@") (string-append lib "/share"))) | |
5083 | #t)))))) | |
685cee87 SB |
5084 | (native-inputs |
5085 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5086 | ("gobject-introspection" ,gobject-introspection) | |
5087 | ("intltool" ,intltool) | |
5088 | ("pkg-config" ,pkg-config) | |
5089 | ("xsltproc" ,libxslt))) | |
5090 | (propagated-inputs | |
5091 | `(("glib" ,glib) ; required by goa-1.0.pc | |
5092 | ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc | |
5093 | (inputs | |
5094 | `(("docbook-xsl" ,docbook-xsl) | |
5095 | ("json-glib" ,json-glib) | |
5096 | ("libsecret" ,libsecret) | |
5097 | ("rest" ,rest) | |
685cee87 SB |
5098 | ("webkitgtk" ,webkitgtk))) |
5099 | (synopsis "Single sign-on framework for GNOME") | |
5100 | (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts") | |
5101 | (description | |
5102 | "GNOME Online Accounts provides interfaces so that applications and | |
5103 | libraries in GNOME can access the user's online accounts. It has providers for | |
5104 | Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft | |
5105 | Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.") | |
5106 | (license license:lgpl2.0+))) | |
df217748 SB |
5107 | |
5108 | (define-public evolution-data-server | |
5109 | (package | |
5110 | (name "evolution-data-server") | |
b468eedc | 5111 | (version "3.30.2") |
df217748 SB |
5112 | (source (origin |
5113 | (method url-fetch) | |
5114 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5115 | (version-major+minor version) "/" | |
5116 | name "-" version ".tar.xz")) | |
5117 | (sha256 | |
5118 | (base32 | |
b468eedc | 5119 | "0h4f71kpf2ypdgifg369z35pk4cq99daw540yzjpax52grav2fjv")))) |
743aebd7 | 5120 | (build-system cmake-build-system) |
df217748 | 5121 | (arguments |
b468eedc RW |
5122 | '(#:configure-flags |
5123 | (let* ((lib (string-append (assoc-ref %outputs "out") "/lib")) | |
5124 | (runpaths (map (lambda (s) | |
5125 | (string-append lib "/evolution-data-server/" s)) | |
ac033c7b MB |
5126 | '("addressbook-backends" "calendar-backends" |
5127 | "camel-providers" "credential-modules" | |
5128 | "registry-modules")))) | |
5129 | (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support | |
5130 | "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support | |
5131 | "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication | |
5132 | "-DENABLE_VALA_BINDINGS=ON" | |
5133 | ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove | |
c97f2f70 MW |
5134 | ;; "-std=gnu++11" when our default compiler is >= GCC6. |
5135 | ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until | |
5136 | ;; evolution-data-server has been updated to qualify ICU types | |
5137 | ;; explicitly, as required by ICU 61 and later. See: | |
5138 | ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild> | |
5139 | "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1" | |
ac033c7b MB |
5140 | (string-append "-DCMAKE_INSTALL_RPATH=" lib ";" |
5141 | (string-append lib "/evolution-data-server;") | |
5142 | (string-join runpaths ";")) | |
5143 | "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings | |
df217748 SB |
5144 | #:phases |
5145 | (modify-phases %standard-phases | |
b468eedc RW |
5146 | (add-after 'unpack 'disable-failing-tests |
5147 | (lambda _ | |
5148 | ;; tests/book-migration/test-migration.c:160:test_fetch_contacts: | |
5149 | ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20) | |
5150 | (delete-file-recursively "tests/book-migration") | |
5151 | (substitute* "tests/CMakeLists.txt" | |
5152 | (("add_subdirectory\\(book-migration\\)") "")) | |
5153 | ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris: | |
5154 | ;; assertion failed (uris->data == expected_uri): | |
5155 | ;; ("" == "file:///tests/libedata-cal/components/event-1.ics") | |
5156 | (substitute* "tests/libedata-cal/CMakeLists.txt" | |
5157 | (("test-cal-meta-backend") "")) | |
5158 | #t)) | |
743aebd7 | 5159 | (add-after 'unpack 'patch-paths |
df217748 | 5160 | (lambda _ |
b468eedc RW |
5161 | (substitute* '("tests/test-server-utils/e-test-server-utils.c" |
5162 | "tests/libedata-book/data-test-utils.c" | |
5163 | "tests/libedata-book/test-book-cache-utils.c" | |
5164 | "tests/libedata-cal/test-cal-cache-utils.c") | |
df217748 | 5165 | (("/bin/rm") (which "rm"))) |
ac033c7b MB |
5166 | #t)) |
5167 | (add-before 'configure 'dont-override-rpath | |
5168 | (lambda _ | |
5169 | (substitute* "CMakeLists.txt" | |
5170 | ;; CMakeLists.txt hard-codes runpath to just the libdir. | |
5171 | ;; Remove it so the configure flag is respected. | |
5172 | (("SET\\(CMAKE_INSTALL_RPATH .*") "")) | |
b63c06f1 | 5173 | #t))))) |
df217748 SB |
5174 | (native-inputs |
5175 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
5176 | ("gobject-introspection" ,gobject-introspection) | |
5177 | ("gperf" ,gperf) | |
5178 | ("intltool" ,intltool) | |
5179 | ("pkg-config" ,pkg-config) | |
a73c1cf8 | 5180 | ("vala" ,vala) |
743aebd7 | 5181 | ("python" ,python-wrapper))) |
df217748 SB |
5182 | (propagated-inputs |
5183 | ;; These are all in the Requires field of .pc files. | |
5184 | `(("gtk+" ,gtk+) | |
5185 | ("libical" ,libical) | |
5186 | ("libsecret" ,libsecret) | |
5187 | ("libsoup" ,libsoup) | |
5188 | ("nss" ,nss) | |
5189 | ("sqlite" ,sqlite))) | |
5190 | (inputs | |
5191 | `(("bdb" ,bdb) | |
5192 | ("gcr" ,gcr) | |
14c297fd | 5193 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
891199c6 | 5194 | ("json-glib" ,json-glib) |
b468eedc | 5195 | ("libcanberra" ,libcanberra) |
743aebd7 MB |
5196 | ("libgweather" ,libgweather) |
5197 | ("mit-krb5" ,mit-krb5) | |
891199c6 MW |
5198 | ("openldap" ,openldap) |
5199 | ("webkitgtk" ,webkitgtk))) | |
df217748 SB |
5200 | (synopsis "Store address books and calendars") |
5201 | (home-page "https://wiki.gnome.org/Apps/Evolution") | |
5202 | (description | |
5203 | "This package provides a unified backend for programs that work with | |
5204 | contacts, tasks, and calendar information. It was originally developed for | |
5205 | Evolution (hence the name), but is now used by other packages as well.") | |
5206 | (license license:lgpl2.0))) | |
bd7dfafa SB |
5207 | |
5208 | (define-public caribou | |
5209 | (package | |
5210 | (name "caribou") | |
fe964bb5 | 5211 | (version "0.4.21") |
bd7dfafa SB |
5212 | (source (origin |
5213 | (method url-fetch) | |
5214 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5215 | (version-major+minor version) "/" | |
5216 | name "-" version ".tar.xz")) | |
5217 | (sha256 | |
5218 | (base32 | |
fe964bb5 | 5219 | "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww")))) |
bd7dfafa SB |
5220 | (build-system glib-or-gtk-build-system) |
5221 | (arguments | |
5222 | '(#:phases | |
5223 | (modify-phases %standard-phases | |
5224 | (add-before | |
5225 | 'build 'pre-build | |
5226 | (lambda* (#:key outputs #:allow-other-keys) | |
5227 | (let ((out (assoc-ref outputs "out"))) | |
5228 | ;; Use absolute shared library path in Caribou-1.0.typelib. | |
5229 | (substitute* "libcaribou/Makefile" | |
5230 | (("--shared-library=libcaribou.so") | |
5231 | (string-append "--shared-library=" | |
5232 | out "/lib/libcaribou.so"))) | |
5233 | #t))) | |
5234 | (add-after 'install 'wrap-programs | |
5235 | (lambda* (#:key outputs #:allow-other-keys) | |
5236 | (let* ((out (assoc-ref outputs "out")) | |
5237 | (python-path (getenv "PYTHONPATH")) | |
5238 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
5239 | (for-each | |
5240 | (lambda (prog) | |
5241 | (wrap-program prog | |
5242 | `("PYTHONPATH" ":" prefix (,python-path)) | |
5243 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
5244 | (list (string-append out "/bin/caribou-preferences") | |
5245 | (string-append out "/libexec/antler-keyboard")))) | |
5246 | #t))))) | |
5247 | (native-inputs | |
5248 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5249 | ("gobject-introspection" ,gobject-introspection) | |
5250 | ("intltool" ,intltool) | |
5251 | ("pkg-config" ,pkg-config) | |
5252 | ("python" ,python-2) ; incompatible with Python 3 (print syntax) | |
5253 | ("vala" ,vala) | |
5254 | ("xsltproc" ,libxslt))) | |
5255 | (propagated-inputs | |
5256 | ;; caribou-1.0.pc refers to all these. | |
5257 | `(("libgee" ,libgee) | |
5258 | ("libxklavier" ,libxklavier) | |
5259 | ("libxtst" ,libxtst) | |
5260 | ("gtk+" ,gtk+))) | |
5261 | (inputs | |
5262 | `(("clutter" ,clutter) | |
5263 | ("dconf" ,dconf) | |
5264 | ("gtk+-2" ,gtk+-2) | |
5265 | ("python-pygobject" ,python2-pygobject))) | |
5266 | (synopsis "Text entry and UI navigation application") | |
5267 | (home-page "https://wiki.gnome.org/Projects/Caribou") | |
5268 | (description | |
5269 | "Caribou is an input assistive technology intended for switch and pointer | |
5270 | users.") | |
5271 | (license license:lgpl2.1))) | |
ba5dd105 | 5272 | |
ba5dd105 SB |
5273 | (define-public network-manager |
5274 | (package | |
5275 | (name "network-manager") | |
02710a9b | 5276 | (version "1.14.4") |
ba5dd105 SB |
5277 | (source (origin |
5278 | (method url-fetch) | |
5279 | (uri (string-append "mirror://gnome/sources/NetworkManager/" | |
5280 | (version-major+minor version) "/" | |
5281 | "NetworkManager-" version ".tar.xz")) | |
5282 | (sha256 | |
5283 | (base32 | |
02710a9b RW |
5284 | "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm")) |
5285 | (modules '((guix build utils))) | |
fd070f35 | 5286 | (snippet |
02710a9b RW |
5287 | '(begin |
5288 | (substitute* "src/devices/wwan/nm-modem-manager.c" | |
5289 | (("systemd") "elogind")) | |
5290 | #t)))) | |
ba5dd105 SB |
5291 | (build-system gnu-build-system) |
5292 | (outputs '("out" | |
5293 | "doc")) ; 8 MiB of gtk-doc HTML | |
5294 | (arguments | |
5295 | '(#:configure-flags | |
5296 | (let ((out (assoc-ref %outputs "out")) | |
5297 | (doc (assoc-ref %outputs "doc")) | |
5298 | (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp") | |
5299 | "/sbin/dhclient"))) | |
02710a9b RW |
5300 | (list "--with-libnm-glib" ; needed by network-manager-applet |
5301 | "--with-systemd-journal=no" | |
5302 | "--with-session-tracking=elogind" | |
5303 | "--with-suspend-resume=elogind" | |
fd070f35 CM |
5304 | "--with-consolekit=no" |
5305 | "--with-crypto=gnutls" | |
ba5dd105 SB |
5306 | "--disable-config-plugin-ibft" |
5307 | "--sysconfdir=/etc" | |
5308 | "--localstatedir=/var" | |
5309 | (string-append "--with-udev-dir=" | |
5310 | out "/lib/udev") | |
5311 | (string-append "--with-dbus-sys-dir=" | |
5312 | out "/etc/dbus-1/system.d") | |
5313 | (string-append "--with-html-dir=" | |
5314 | doc "/share/gtk-doc/html") | |
5315 | (string-append "--with-dhclient=" dhclient))) | |
5316 | #:phases | |
5317 | (modify-phases %standard-phases | |
02710a9b RW |
5318 | ;; This bare "ls" invocation breaks some tests. |
5319 | (add-after 'unpack 'patch-ls-invocation | |
5320 | (lambda _ | |
5321 | (substitute* "build-aux/ltmain.sh" | |
5322 | (("`ls -") | |
5323 | (string-append "`" (which "ls") " -"))) | |
5324 | #t)) | |
b4f59d87 AW |
5325 | (add-before 'configure 'pre-configure |
5326 | (lambda _ | |
5327 | ;; These tests try to test aspects of network-manager's | |
5328 | ;; functionality within restricted containers, but they don't | |
5329 | ;; cope with being already in the Guix build jail as that jail | |
5330 | ;; lacks some features that they would like to proxy over (like | |
5331 | ;; a /sys mount). | |
d04687dc HG |
5332 | (substitute* '("Makefile.in") |
5333 | (("src/platform/tests/test-address-linux") " ") | |
5334 | (("src/platform/tests/test-cleanup-linux") " ") | |
5335 | (("src/platform/tests/test-link-linux") " ") | |
5336 | (("src/platform/tests/test-route-linux") " ") | |
02710a9b | 5337 | (("src/devices/tests/test-acd") "") |
d04687dc HG |
5338 | (("src/devices/tests/test-arping") " ") |
5339 | (("src/devices/tests/test-lldp") " ") | |
5340 | (("src/tests/test-route-manager-linux") " ")) | |
b4f59d87 | 5341 | #t)) |
45f80fce RW |
5342 | (add-after 'unpack 'delete-failing-tests |
5343 | (lambda _ | |
02710a9b | 5344 | ;; FIXME: These three tests fail for unknown reasons. |
45f80fce RW |
5345 | ;; ERROR:libnm-core/tests/test-general.c:5842: |
5346 | ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0) | |
5347 | ;; ERROR:libnm-core/tests/test-keyfile.c:647: | |
5348 | ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL) | |
5349 | ;; ERROR:libnm-core/tests/test-setting.c:907: | |
5350 | ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner)) | |
45f80fce RW |
5351 | (substitute* "Makefile.in" |
5352 | (("libnm-core/tests/test-general") " ") | |
5353 | (("libnm-core/tests/test-keyfile") " ") | |
02710a9b | 5354 | (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " ")) |
45f80fce | 5355 | #t)) |
ba5dd105 SB |
5356 | (add-before 'check 'pre-check |
5357 | (lambda _ | |
5358 | ;; For the missing /etc/machine-id. | |
5359 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
5360 | #t)) | |
5361 | (replace 'install | |
5362 | (lambda _ | |
45f80fce RW |
5363 | (invoke "make" |
5364 | "sysconfdir=/tmp" | |
5365 | "rundir=/tmp" | |
5366 | "statedir=/tmp" | |
5367 | "nmstatedir=/tmp/nm" | |
5368 | "install") | |
5369 | #t))))) | |
b93502d6 DC |
5370 | (propagated-inputs |
5371 | `(("glib" ,glib))) | |
ba5dd105 SB |
5372 | (native-inputs |
5373 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen | |
5374 | ("gobject-introspection" ,gobject-introspection) | |
d04687dc | 5375 | ("docbook-xsl" ,docbook-xsl) |
ba5dd105 | 5376 | ("intltool" ,intltool) |
d04687dc HG |
5377 | ("libxslt" ,libxslt) |
5378 | ("libxml2" ,libxml2) | |
ba5dd105 SB |
5379 | ("pkg-config" ,pkg-config) |
5380 | ;; For testing. | |
5381 | ("python" ,python-wrapper) | |
5382 | ("python-dbus" ,python-dbus) | |
5383 | ("python-pygobject" ,python-pygobject))) | |
5384 | (inputs | |
02710a9b RW |
5385 | `(("coreutils" ,coreutils) ; for ls |
5386 | ("curl" ,curl) | |
856ca567 KK |
5387 | ("cyrus-sasl" ,cyrus-sasl) |
5388 | ("dbus-glib" ,dbus-glib) | |
ba5dd105 | 5389 | ("dnsmasq" ,dnsmasq) |
856ca567 | 5390 | ("eudev" ,eudev) |
ba5dd105 SB |
5391 | ("gnutls" ,gnutls) |
5392 | ("iptables" ,iptables) | |
5393 | ("isc-dhcp" ,isc-dhcp) | |
d04687dc | 5394 | ("jansson" ,jansson) |
ba5dd105 SB |
5395 | ("libgcrypt" ,libgcrypt) |
5396 | ("libgudev" ,libgudev) | |
5397 | ("libndp" ,libndp) | |
5398 | ("libnl" ,libnl) | |
5399 | ("libsoup" ,libsoup) | |
142bdcbc | 5400 | ("modem-manager" ,modem-manager) |
c27e02bf | 5401 | ("newt" ,newt) ;for the 'nmtui' console interface |
ba5dd105 SB |
5402 | ("polkit" ,polkit) |
5403 | ("ppp" ,ppp) | |
5404 | ("readline" ,readline) | |
fd070f35 CM |
5405 | ("util-linux" ,util-linux) |
5406 | ("elogind" ,elogind))) | |
ba5dd105 | 5407 | (synopsis "Network connection manager") |
f032d0be | 5408 | (home-page "https://www.gnome.org/projects/NetworkManager/") |
ba5dd105 SB |
5409 | (description |
5410 | "NetworkManager is a system network service that manages your network | |
5411 | devices and connections, attempting to keep active network connectivity when | |
5412 | available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE | |
5413 | devices, and provides VPN integration with a variety of different VPN | |
5414 | services.") | |
29d2f451 LC |
5415 | (license license:gpl2+) |
5416 | (properties '((upstream-name . "NetworkManager"))))) | |
4d62a9d3 | 5417 | |
f2b96b3a LC |
5418 | (define-public network-manager-openvpn |
5419 | (package | |
5420 | (name "network-manager-openvpn") | |
0310eb96 | 5421 | (version "1.8.4") |
f2b96b3a LC |
5422 | (source (origin |
5423 | (method url-fetch) | |
5424 | (uri (string-append | |
5425 | "mirror://gnome/sources/NetworkManager-openvpn/" | |
5426 | (version-major+minor version) | |
5427 | "/NetworkManager-openvpn-" version ".tar.xz")) | |
5428 | (sha256 | |
5429 | (base32 | |
0310eb96 | 5430 | "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr")))) |
f2b96b3a LC |
5431 | (build-system gnu-build-system) |
5432 | (arguments | |
5433 | '(#:configure-flags '("--enable-absolute-paths"))) | |
5434 | (native-inputs | |
5435 | `(("pkg-config" ,pkg-config) | |
5436 | ("intltool" ,intltool))) | |
5437 | (inputs | |
5438 | `(("gtk+" ,gtk+) | |
5439 | ("openvpn" ,openvpn) | |
5440 | ("network-manager" ,network-manager) | |
5441 | ("network-manager-applet" ,network-manager-applet) ;for libnma | |
5442 | ("libsecret" ,libsecret))) | |
5443 | (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN") | |
5444 | (synopsis "OpenVPN plug-in for NetworkManager") | |
5445 | (description | |
5446 | "This extension of NetworkManager allows it to take care of connections | |
5447 | to virtual private networks (VPNs) via OpenVPN.") | |
5448 | (license license:gpl2+) | |
5449 | (properties `((upstream-name . "NetworkManager-openvpn"))))) | |
5450 | ||
e5e1df4d DC |
5451 | (define-public mobile-broadband-provider-info |
5452 | (package | |
5453 | (name "mobile-broadband-provider-info") | |
310c89e3 | 5454 | (version "20190116") |
e5e1df4d DC |
5455 | (source (origin |
5456 | (method url-fetch) | |
5457 | (uri (string-append | |
5458 | "mirror://gnome/sources/" | |
5459 | "mobile-broadband-provider-info/" version "/" | |
5460 | "mobile-broadband-provider-info-" version ".tar.xz")) | |
5461 | (sha256 | |
5462 | (base32 | |
310c89e3 | 5463 | "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic")))) |
e5e1df4d DC |
5464 | (build-system gnu-build-system) |
5465 | (arguments | |
310c89e3 | 5466 | `(#:tests? #f)) ; no tests |
e5e1df4d DC |
5467 | (home-page "https://wiki.gnome.org/Projects/NetworkManager") |
5468 | (synopsis "Database of broadband connection configuration") | |
5469 | (description "Database of broadband connection configuration.") | |
5470 | (license license:public-domain))) | |
5471 | ||
4d62a9d3 SB |
5472 | (define-public network-manager-applet |
5473 | (package | |
5474 | (name "network-manager-applet") | |
8c6d7b61 | 5475 | (version "1.8.18") |
4d62a9d3 SB |
5476 | (source (origin |
5477 | (method url-fetch) | |
5478 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5479 | (version-major+minor version) "/" | |
5480 | name "-" version ".tar.xz")) | |
5481 | (sha256 | |
5482 | (base32 | |
8c6d7b61 | 5483 | "0y31g0lxr93370xi74hbpvcy9m81n5wdkdhq8xy2nqp0y4219p13")))) |
cd7f718e RW |
5484 | (build-system meson-build-system) |
5485 | (arguments | |
5486 | '(#:glib-or-gtk? #t)) | |
4d62a9d3 SB |
5487 | (native-inputs |
5488 | `(("intltool" ,intltool) | |
cd7f718e | 5489 | ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc. |
4d62a9d3 | 5490 | ("gobject-introspection" ,gobject-introspection) |
cd7f718e | 5491 | ("gtk-doc" ,gtk-doc) |
4d62a9d3 SB |
5492 | ("pkg-config" ,pkg-config))) |
5493 | (propagated-inputs | |
5494 | ;; libnm-gtk.pc refers to all these. | |
5495 | `(("dbus-glib" ,dbus-glib) | |
5496 | ("gtk+" ,gtk+) | |
5497 | ("network-manager" ,network-manager))) | |
5498 | (inputs | |
cd7f718e RW |
5499 | `(("gcr" ,gcr) |
5500 | ("iso-codes" ,iso-codes) | |
4d62a9d3 SB |
5501 | ("libgudev" ,libgudev) |
5502 | ("libnotify" ,libnotify) | |
2116bfb3 | 5503 | ("libsecret" ,libsecret) |
240cee8a KK |
5504 | ("libselinux" ,libselinux) |
5505 | ("jansson" ,jansson) ; for team support | |
3e9c80b2 FP |
5506 | ("modem-manager" ,modem-manager) |
5507 | ("mobile-broadband-provider-info" ,mobile-broadband-provider-info))) | |
4d62a9d3 | 5508 | (synopsis "Applet for managing network connections") |
f032d0be | 5509 | (home-page "https://www.gnome.org/projects/NetworkManager/") |
4d62a9d3 SB |
5510 | (description |
5511 | "This package contains a systray applet for NetworkManager. It displays | |
5512 | the available networks and allows users to easily switch between them.") | |
5513 | (license license:gpl2+))) | |
56196594 RW |
5514 | |
5515 | (define-public libxml++ | |
5516 | (package | |
5517 | (name "libxml++") | |
8344a85e | 5518 | (version "3.0.1") |
56196594 RW |
5519 | (source (origin |
5520 | (method url-fetch) | |
5521 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5522 | (version-major+minor version) "/" | |
5523 | name "-" version ".tar.xz")) | |
5524 | (sha256 | |
5525 | (base32 | |
8344a85e | 5526 | "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r")))) |
56196594 RW |
5527 | (build-system gnu-build-system) |
5528 | ;; libxml++-3.0.pc refers to all these. | |
5529 | (propagated-inputs | |
5530 | `(("libxml2" ,libxml2) | |
5531 | ("glibmm" ,glibmm))) | |
5532 | (native-inputs | |
5533 | `(("perl" ,perl) | |
5534 | ("pkg-config" ,pkg-config))) | |
5535 | (home-page "http://libxmlplusplus.sourceforge.net/") | |
5536 | (synopsis "C++ wrapper for XML parser library libxml2") | |
5537 | (description | |
5538 | "This package provides a C++ wrapper for the XML parser library | |
5539 | libxml2.") | |
5540 | (license license:lgpl2.1+))) | |
df12f04a | 5541 | |
b61d9627 AW |
5542 | (define-public libxml++-2 |
5543 | (package | |
5544 | (inherit libxml++) | |
5545 | (name "libxml++") | |
5546 | (version "2.40.1") | |
5547 | (source (origin | |
5548 | (method url-fetch) | |
5549 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5550 | (version-major+minor version) "/" | |
5551 | name "-" version ".tar.xz")) | |
5552 | (sha256 | |
5553 | (base32 | |
5554 | "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a")))))) | |
5555 | ||
df12f04a SB |
5556 | (define-public gdm |
5557 | (package | |
5558 | (name "gdm") | |
b74ef0ba | 5559 | (version "3.30.2") |
df12f04a SB |
5560 | (source (origin |
5561 | (method url-fetch) | |
5562 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5563 | (version-major+minor version) "/" | |
5564 | name "-" version ".tar.xz")) | |
5565 | (sha256 | |
5566 | (base32 | |
b74ef0ba | 5567 | "1handy65r1n0zby09jr492b3643wszzigdkxp7q2ypgxb3hyv45y")))) |
957dbc0a | 5568 | (build-system glib-or-gtk-build-system) |
df12f04a SB |
5569 | (arguments |
5570 | '(#:configure-flags | |
af37e6bb | 5571 | `("--without-plymouth" |
957dbc0a | 5572 | "--disable-systemd-journal" |
51bc8357 TS |
5573 | |
5574 | ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1, | |
5575 | ;; instead of having to replace it (i.e., stopping the mingetty | |
5576 | ;; service for TTY 1 before starting GDM). | |
5577 | "--with-initial-vt=7" | |
5578 | ||
89c86562 TS |
5579 | ;; Use '/etc/environment' for locale settings instead of the |
5580 | ;; systemd-specific '/etc/locale.conf'. | |
5581 | "--with-lang-file=/etc/environment" | |
5582 | ||
b74ef0ba RW |
5583 | ,(string-append "--with-udevdir=" |
5584 | (assoc-ref %outputs "out") "/lib/udev") | |
5585 | ||
af37e6bb AW |
5586 | "--localstatedir=/var" |
5587 | ,(string-append "--with-default-path=" | |
5588 | (string-join '("/run/setuid-programs" | |
5589 | "/run/current-system/profile/bin" | |
5590 | "/run/current-system/profile/sbin") | |
957dbc0a AW |
5591 | ":")) |
5592 | ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the | |
5593 | ;; XDG_DATA_DIRS so that it finds its schemas. | |
5594 | "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin")) | |
df12f04a SB |
5595 | #:phases |
5596 | (modify-phases %standard-phases | |
5597 | (add-before | |
5598 | 'configure 'pre-configure | |
e8c6e771 | 5599 | (lambda* (#:key inputs outputs #:allow-other-keys) |
df12f04a SB |
5600 | ;; We don't have <systemd/sd-daemon.h>. |
5601 | (substitute* '("common/gdm-log.c" | |
5602 | "daemon/gdm-server.c" | |
5603 | "daemon/gdm-session-worker.c" | |
5604 | "daemon/gdm-session-worker-job.c") | |
5605 | (("#include <systemd/sd-daemon\\.h>") "")) | |
5606 | ;; Use elogind for sd-login. | |
5607 | (substitute* '("common/gdm-common.c" | |
5608 | "daemon/gdm-manager.c" | |
5609 | "libgdm/gdm-user-switching.c") | |
5610 | (("#include <systemd/sd-login\\.h>") | |
5611 | "#include <elogind/sd-login.h>")) | |
957dbc0a AW |
5612 | ;; Check for elogind. |
5613 | (substitute* '("configure") | |
5614 | (("libsystemd") | |
5615 | "libelogind")) | |
af37e6bb AW |
5616 | ;; Look for system-installed sessions in |
5617 | ;; /run/current-system/profile/share. | |
5618 | (substitute* '("libgdm/gdm-sessions.c" | |
5619 | "daemon/gdm-session.c" | |
5620 | "daemon/gdm-display.c" | |
5621 | "daemon/gdm-launch-environment.c") | |
5622 | (("DATADIR \"/x") | |
5623 | "\"/run/current-system/profile/share/x") | |
5624 | (("DATADIR \"/wayland") | |
5625 | "\"/run/current-system/profile/share/wayland") | |
5626 | (("DATADIR \"/gnome") | |
5627 | "\"/run/current-system/profile/share/gnome")) | |
c9ff92b5 | 5628 | (let ((propagate '("GDM_CUSTOM_CONF" |
1f564c15 | 5629 | "GDM_DBUS_DAEMON" |
c9ff92b5 | 5630 | "GDM_X_SERVER" |
41fa9f18 | 5631 | "GDM_X_SESSION" |
c9ff92b5 TS |
5632 | ;; XXX: Remove this once GNOME Shell is |
5633 | ;; a dependency of GDM. | |
5634 | "XDG_DATA_DIRS"))) | |
5635 | (substitute* "daemon/gdm-session.c" | |
5636 | (("set_up_session_environment \\(self\\);") | |
5637 | (apply string-append | |
5638 | "set_up_session_environment (self);\n" | |
5639 | (map (lambda (name) | |
5640 | (string-append | |
5641 | "gdm_session_set_environment_variable " | |
5642 | "(self, \"" name "\"," | |
5643 | "g_getenv (\"" name "\"));\n")) | |
5644 | propagate))))) | |
a430a350 TS |
5645 | ;; Find the configuration file using an environment variable. |
5646 | (substitute* '("common/gdm-settings.c") | |
e0e6756f | 5647 | (("GDM_CUSTOM_CONF") |
e57c2adb TS |
5648 | (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL" |
5649 | " ? g_getenv(\"GDM_CUSTOM_CONF\")" | |
5650 | " : GDM_CUSTOM_CONF)"))) | |
e0e6756f AW |
5651 | ;; Use service-supplied path to X. |
5652 | (substitute* '("daemon/gdm-server.c") | |
5653 | (("\\(X_SERVER X_SERVER_ARG_FORMAT") | |
5654 | "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")")) | |
5655 | (substitute* '("daemon/gdm-x-session.c") | |
1f564c15 TS |
5656 | (("\"dbus-daemon\"") |
5657 | "g_getenv (\"GDM_DBUS_DAEMON\")") | |
e0e6756f | 5658 | (("X_SERVER") |
41fa9f18 TS |
5659 | "g_getenv (\"GDM_X_SERVER\")") |
5660 | (("GDMCONFDIR \"/Xsession\"") | |
5661 | "g_getenv (\"GDM_X_SESSION\")")) | |
def6d6b6 TS |
5662 | ;; Use an absolute path for GNOME Session. |
5663 | (substitute* "daemon/gdm-launch-environment.c" | |
5664 | (("\"gnome-session\"") | |
5665 | (string-append "\"" (assoc-ref inputs "gnome-session") | |
5666 | "/bin/gnome-session\""))) | |
e8c6e771 TS |
5667 | ;; Do not automatically select the placeholder session. |
5668 | (substitute* "daemon/gdm-session.c" | |
5669 | (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]") | |
5670 | (string-append "!g_str_has_suffix (base_name, \".desktop\") || " | |
5671 | "(g_strcmp0(search_dirs[i], \"" | |
5672 | (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/" | |
5673 | "\") == 0 && " | |
5674 | "g_strcmp0(base_name, \"fail.desktop\") == 0)")) | |
5675 | (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];") | |
5676 | "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }")) | |
69544798 | 5677 | #t)) |
8caa4589 TS |
5678 | ;; GDM requires that there be at least one desktop entry |
5679 | ;; file. This phase installs a hidden one that simply | |
5680 | ;; fails. This enables users to use GDM with a | |
5681 | ;; '~/.xsession' script with no other desktop entry files. | |
5682 | ;; See <https://bugs.gnu.org/35068>. | |
5683 | (add-after 'install 'install-placeholder-desktop-entry | |
5684 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5685 | (let* ((out (assoc-ref outputs "out")) | |
5686 | (sessions (string-append out "/share/gdm/BuiltInSessions")) | |
5687 | (fail (string-append sessions "/fail.desktop"))) | |
5688 | (mkdir-p sessions) | |
5689 | (with-output-to-file fail | |
5690 | (lambda () | |
5691 | (for-each | |
5692 | display | |
5693 | '("[Desktop Entry]\n" | |
5694 | "Encoding=UTF-8\n" | |
5695 | "Type=Application\n" | |
5696 | "Name=Fail\n" | |
5697 | "Comment=This session fails immediately.\n" | |
5698 | "NoDisplay=true\n" | |
5699 | "Exec=false\n")))) | |
5700 | #t))) | |
69544798 TS |
5701 | ;; GDM needs GNOME Session to run these applications. We link |
5702 | ;; their autostart files in `share/gdm/greeter/autostart' | |
5703 | ;; because GDM explicitly tells GNOME Session to look there. | |
5704 | ;; | |
5705 | ;; XXX: GNOME Shell should be linked here too, but currently | |
5706 | ;; GNOME Shell depends on GDM. | |
5707 | (add-after 'install 'link-autostart-files | |
5708 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5709 | (let* ((out (assoc-ref outputs "out")) | |
5710 | (autostart (string-append out "/share/gdm/" | |
5711 | "greeter/autostart")) | |
5712 | (settings (assoc-ref inputs "gnome-settings-daemon"))) | |
5713 | (mkdir-p autostart) | |
5714 | (with-directory-excursion autostart | |
5715 | (for-each (lambda (desktop) | |
5716 | (symlink desktop (basename desktop))) | |
5717 | (find-files (string-append settings "/etc/xdg")))) | |
5718 | #t)))))) | |
df12f04a SB |
5719 | (native-inputs |
5720 | `(("dconf" ,dconf) | |
5721 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5722 | ("gobject-introspection" ,gobject-introspection) | |
5723 | ("intltool" ,intltool) | |
5724 | ("itstool" ,itstool) | |
5725 | ("pkg-config" ,pkg-config) | |
5726 | ("xmllint" ,libxml2))) | |
5727 | (inputs | |
5728 | `(("accountsservice" ,accountsservice) | |
5729 | ("check" ,check) ; for testing | |
5730 | ("elogind" ,elogind) | |
def6d6b6 | 5731 | ("gnome-session" ,gnome-session) |
69544798 | 5732 | ("gnome-settings-daemon" ,gnome-settings-daemon) |
df12f04a SB |
5733 | ("gtk+" ,gtk+) |
5734 | ("iso-codes" ,iso-codes) | |
5735 | ("libcanberra" ,libcanberra) | |
5736 | ("linux-pam" ,linux-pam))) | |
5737 | (synopsis "Display manager for GNOME") | |
f032d0be | 5738 | (home-page "https://wiki.gnome.org/Projects/GDM/") |
df12f04a SB |
5739 | (description |
5740 | "GNOME Display Manager is a system service that is responsible for | |
5741 | providing graphical log-ins and managing local and remote displays.") | |
5742 | (license license:gpl2+))) | |
8e1dd04f SB |
5743 | |
5744 | (define-public libgtop | |
5745 | (package | |
5746 | (name "libgtop") | |
4f80158d | 5747 | (version "2.38.0") |
8e1dd04f SB |
5748 | (source (origin |
5749 | (method url-fetch) | |
5750 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5751 | (version-major+minor version) "/" | |
5752 | name "-" version ".tar.xz")) | |
5753 | (sha256 | |
5754 | (base32 | |
4f80158d | 5755 | "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g")))) |
8e1dd04f SB |
5756 | (build-system gnu-build-system) |
5757 | (native-inputs | |
5758 | `(("gobject-introspection" ,gobject-introspection) | |
5759 | ("intltool" ,intltool) | |
5760 | ("perl" ,perl) | |
5761 | ("pkg-config" ,pkg-config))) | |
5762 | (propagated-inputs | |
5763 | `(("glib" ,glib))) ; required by libgtop-2.0.pc | |
5764 | (synopsis "Portable system access library") | |
5765 | (home-page "https://www.gnome.org/") | |
5766 | (description | |
5767 | "LibGTop is a library to get system specific data such as CPU and memory | |
5768 | usage and information about running processes.") | |
5769 | (license license:gpl2+))) | |
b96c4260 SB |
5770 | |
5771 | (define-public gnome-bluetooth | |
5772 | (package | |
5773 | (name "gnome-bluetooth") | |
fd3b1171 | 5774 | (version "3.28.0") |
b96c4260 SB |
5775 | (source (origin |
5776 | (method url-fetch) | |
5777 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5778 | (version-major+minor version) "/" | |
5779 | name "-" version ".tar.xz")) | |
5780 | (sha256 | |
5781 | (base32 | |
fd3b1171 RW |
5782 | "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p")))) |
5783 | (build-system meson-build-system) | |
b96c4260 SB |
5784 | (native-inputs |
5785 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
fd3b1171 | 5786 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
b96c4260 SB |
5787 | ("gobject-introspection" ,gobject-introspection) |
5788 | ("intltool" ,intltool) | |
5789 | ("pkg-config" ,pkg-config) | |
5790 | ("xmllint" ,libxml2))) | |
5791 | (propagated-inputs | |
5792 | ;; gnome-bluetooth-1.0.pc refers to all these. | |
5793 | `(("gtk+" ,gtk+) | |
5794 | ("udev" ,eudev))) | |
5795 | (inputs | |
5796 | `(("libcanberra" ,libcanberra) | |
5797 | ("libnotify" ,libnotify))) | |
5798 | (synopsis "GNOME Bluetooth subsystem") | |
5799 | (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth") | |
5800 | (description | |
5801 | "This package contains tools for managing and manipulating Bluetooth | |
5802 | devices using the GNOME desktop.") | |
5803 | (license license:lgpl2.1+))) | |
b645146f SB |
5804 | |
5805 | (define-public gnome-control-center | |
5806 | (package | |
5807 | (name "gnome-control-center") | |
59dac026 | 5808 | (version "3.28.2") |
b645146f SB |
5809 | (source (origin |
5810 | (method url-fetch) | |
5811 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5812 | (version-major+minor version) "/" | |
5813 | name "-" version ".tar.xz")) | |
5814 | (sha256 | |
5815 | (base32 | |
59dac026 RW |
5816 | "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz")))) |
5817 | (build-system meson-build-system) | |
b645146f | 5818 | (arguments |
59dac026 RW |
5819 | '(#:glib-or-gtk? #t |
5820 | #:configure-flags | |
5821 | (list "-Dcheese=false") | |
5822 | #:phases | |
b645146f SB |
5823 | (modify-phases %standard-phases |
5824 | (add-before 'configure 'patch-paths | |
5825 | (lambda* (#:key inputs #:allow-other-keys) | |
5826 | (let ((libc (assoc-ref inputs "libc")) | |
1df38cfc | 5827 | (tzdata (assoc-ref inputs "tzdata")) |
341225ac LC |
5828 | (libgnomekbd (assoc-ref inputs "libgnomekbd")) |
5829 | (nm-applet (assoc-ref inputs "network-manager-applet"))) | |
b645146f SB |
5830 | (substitute* "panels/datetime/tz.h" |
5831 | (("/usr/share/zoneinfo/zone.tab") | |
5832 | (string-append tzdata "/share/zoneinfo/zone.tab"))) | |
5833 | (substitute* "panels/datetime/test-endianess.c" | |
5834 | (("/usr/share/locale") | |
5835 | (string-append libc "/share/locale"))) | |
1df38cfc LC |
5836 | (substitute* "panels/region/cc-region-panel.c" |
5837 | (("\"gkbd-keyboard-display") | |
5838 | (string-append "\"" libgnomekbd | |
5839 | "/bin/gkbd-keyboard-display"))) | |
341225ac LC |
5840 | (substitute* '("panels/network/net-device-wifi.c" |
5841 | "panels/network/net-device.c" | |
5842 | "panels/network/connection-editor/net-connection-editor.c") | |
5843 | (("\"nm-connection-editor") | |
5844 | (string-append "\"" nm-applet | |
5845 | "/bin/nm-connection-editor"))) | |
1acd107c FP |
5846 | (substitute* '("panels/user-accounts/run-passwd.c") |
5847 | (("/usr/bin/passwd") | |
5848 | "/run/setuid-programs/passwd")) | |
b645146f SB |
5849 | #t)))))) |
5850 | (native-inputs | |
5851 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
59dac026 | 5852 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
b645146f SB |
5853 | ("intltool" ,intltool) |
5854 | ("pkg-config" ,pkg-config) | |
5855 | ("xsltproc" ,libxslt))) | |
5856 | (inputs | |
5857 | `(("accountsservice" ,accountsservice) | |
5858 | ("clutter-gtk" ,clutter-gtk) | |
5859 | ("colord-gtk" ,colord-gtk) | |
5860 | ("cups" ,cups) | |
5861 | ("dconf" ,dconf) | |
5862 | ("docbook-xsl" ,docbook-xsl) | |
3446ffb5 | 5863 | ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files |
b645146f SB |
5864 | ("gnome-bluetooth" ,gnome-bluetooth) |
5865 | ("gnome-desktop" ,gnome-desktop) | |
5866 | ("gnome-online-accounts" ,gnome-online-accounts) | |
14c297fd | 5867 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
b645146f SB |
5868 | ("gnome-settings-daemon" ,gnome-settings-daemon) |
5869 | ("grilo" ,grilo) | |
5870 | ("ibus" ,ibus) | |
5871 | ("libcanberra" ,libcanberra) | |
1df38cfc | 5872 | ("libgnomekbd" ,libgnomekbd) |
b645146f SB |
5873 | ("libgudev" ,libgudev) |
5874 | ("libgtop" ,libgtop) | |
5875 | ("libpwquality" ,libpwquality) | |
5876 | ("libsoup" ,libsoup) | |
5877 | ("libxml2" ,libxml2) | |
5878 | ("libwacom" ,libwacom) | |
5879 | ("mesa" ,mesa) | |
5880 | ("mit-krb5" ,mit-krb5) | |
5881 | ("modem-manager" ,modem-manager) | |
5882 | ("network-manager-applet" ,network-manager-applet) | |
5883 | ("polkit" ,polkit) | |
5884 | ("pulseaudio" ,pulseaudio) | |
5885 | ("smbclient" ,samba) | |
5886 | ("tzdata" ,tzdata) | |
5887 | ("upower" ,upower))) | |
5888 | (synopsis "Utilities to configure the GNOME desktop") | |
5889 | (home-page "https://www.gnome.org/") | |
5890 | (description | |
5891 | "This package contains configuration applets for the GNOME desktop, | |
5892 | allowing to set accessibility configuration, desktop fonts, keyboard and mouse | |
5893 | properties, sound setup, desktop theme and background, user interface | |
5894 | properties, screen resolution, and other GNOME parameters.") | |
5895 | (license license:gpl2+))) | |
a4df5756 SB |
5896 | |
5897 | (define-public gnome-shell | |
5898 | (package | |
5899 | (name "gnome-shell") | |
bd0dc2df | 5900 | (version "3.30.2") |
a4df5756 SB |
5901 | (source (origin |
5902 | (method url-fetch) | |
5903 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5904 | (version-major+minor version) "/" | |
5905 | name "-" version ".tar.xz")) | |
5906 | (sha256 | |
5907 | (base32 | |
bd0dc2df | 5908 | "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2")) |
a76d0f03 LC |
5909 | (patches (search-patches "gnome-shell-theme.patch")) |
5910 | (modules '((guix build utils))) | |
5911 | (snippet | |
5912 | #~(begin | |
a76d0f03 LC |
5913 | ;; Copy images for use on the GDM log-in screen. |
5914 | (copy-file #$(file-append %artwork-repository | |
5915 | "/slim/0.x/background.png") | |
5916 | "data/theme/guix-background.png") | |
45fef894 LC |
5917 | (copy-file #$(file-append %artwork-repository |
5918 | "/logo/Guix-horizontal-white.svg") | |
5919 | "data/theme/guix-logo.svg") | |
a76d0f03 | 5920 | #t)))) |
2b0c755d | 5921 | (build-system meson-build-system) |
a4df5756 | 5922 | (arguments |
08185081 MB |
5923 | `(#:glib-or-gtk? #t |
5924 | #:disallowed-references ((,glib "bin") | |
11e1df56 LC |
5925 | ,inkscape ,libxslt |
5926 | ,ruby-sass) | |
2b0c755d RW |
5927 | #:configure-flags |
5928 | (list "-Dsystemd=false" | |
5929 | ;; Otherwise, the RUNPATH will lack the final path component. | |
5930 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
5931 | (assoc-ref %outputs "out") | |
5932 | "/lib/gnome-shell")) | |
11e1df56 | 5933 | |
08185081 | 5934 | #:modules ((guix build meson-build-system) |
11e1df56 LC |
5935 | (guix build utils) |
5936 | (srfi srfi-1)) | |
5937 | ||
2b0c755d | 5938 | #:phases |
a4df5756 | 5939 | (modify-phases %standard-phases |
2b0c755d | 5940 | (add-after 'unpack 'fix-keysdir |
a4df5756 SB |
5941 | (lambda* (#:key outputs #:allow-other-keys) |
5942 | (let* ((out (assoc-ref outputs "out")) | |
5943 | (keysdir (string-append | |
5944 | out "/share/gnome-control-center/keybindings"))) | |
2b0c755d RW |
5945 | (substitute* "meson.build" |
5946 | (("keysdir =.*") | |
5947 | (string-append "keysdir = '" keysdir "'\n"))) | |
5948 | #t))) | |
ebfe259f MB |
5949 | (add-before 'configure 'convert-logo-to-png |
5950 | (lambda* (#:key inputs #:allow-other-keys) | |
5951 | ;; Convert the logo from SVG to PNG. | |
5952 | (invoke "inkscape" "--export-png=data/theme/guix-logo.png" | |
5953 | "data/theme/guix-logo.svg"))) | |
ba00235a | 5954 | (add-before 'configure 'record-absolute-file-names |
2472cdec LC |
5955 | (lambda* (#:key inputs #:allow-other-keys) |
5956 | (substitute* "js/misc/ibusManager.js" | |
5957 | (("'ibus-daemon'") | |
5958 | (string-append "'" (assoc-ref inputs "ibus") | |
5959 | "/bin/ibus-daemon'"))) | |
d6fda4d3 LC |
5960 | (substitute* "js/ui/status/keyboard.js" |
5961 | (("'gkbd-keyboard-display'") | |
5962 | (string-append "'" (assoc-ref inputs "libgnomekbd") | |
5963 | "/bin/gkbd-keyboard-display'"))) | |
2472cdec | 5964 | #t)) |
2b0c755d RW |
5965 | (add-before 'check 'pre-check |
5966 | (lambda* (#:key inputs #:allow-other-keys) | |
5967 | ;; Tests require a running X server. | |
5968 | (system "Xvfb :1 &") | |
5969 | (setenv "DISPLAY" ":1") | |
5970 | #t)) | |
5971 | (add-after 'install 'wrap-programs | |
5972 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5973 | (let ((out (assoc-ref outputs "out")) | |
5974 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
5975 | (python-path (getenv "PYTHONPATH"))) | |
5976 | (wrap-program (string-append out "/bin/gnome-shell") | |
5977 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
5978 | ;; FIXME: gnome-shell loads these libraries with unqualified | |
5979 | ;; names only, so they need to be on LD_LIBRARY_PATH. The | |
5980 | ;; alternative might be to patch gnome-shell. | |
5981 | `("LD_LIBRARY_PATH" ":" prefix | |
5982 | ,(map (lambda (pkg) | |
5983 | (string-append (assoc-ref inputs pkg) "/lib")) | |
cd8dce8a RW |
5984 | '("gdk-pixbuf" |
5985 | "gnome-bluetooth" "librsvg" "libgweather")))) | |
2b0c755d RW |
5986 | (for-each |
5987 | (lambda (prog) | |
5988 | (wrap-program (string-append out "/bin/" prog) | |
5989 | `("PYTHONPATH" ":" prefix (,python-path)) | |
5990 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
5991 | '("gnome-shell-extension-tool" "gnome-shell-perf-tool")) | |
08185081 | 5992 | #t))) |
11e1df56 LC |
5993 | (replace 'glib-or-gtk-wrap |
5994 | (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap))) | |
5995 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest) | |
5996 | ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS | |
5997 | ;; settings of the wrappers created by the 'glib-or-gtk-wrap' | |
5998 | ;; phase. Fix that since we don't need these. | |
5999 | (wrap #:inputs (fold alist-delete inputs | |
6000 | '("inkscape" "intltool" "glib:bin")) | |
6001 | #:outputs outputs))))))) | |
a4df5756 SB |
6002 | (native-inputs |
6003 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
2b0c755d | 6004 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
a4df5756 | 6005 | ("gobject-introspection" ,gobject-introspection) |
ebfe259f | 6006 | ("inkscape" ,inkscape) |
a4df5756 SB |
6007 | ("intltool" ,intltool) |
6008 | ("pkg-config" ,pkg-config) | |
6009 | ("python" ,python) | |
2b0c755d RW |
6010 | ("ruby-sass" ,ruby-sass) |
6011 | ("sassc" ,sassc) | |
a76d0f03 | 6012 | ("xsltproc" ,libxslt) |
2b0c755d | 6013 | ;; For tests |
0b4504f6 | 6014 | ("xorg-server" ,xorg-server-for-tests))) |
a4df5756 SB |
6015 | (inputs |
6016 | `(("accountsservice" ,accountsservice) | |
6017 | ("caribou" ,caribou) | |
6018 | ("docbook-xsl" ,docbook-xsl) | |
6019 | ("evolution-data-server" ,evolution-data-server) | |
6020 | ("gcr" ,gcr) | |
6021 | ("gdm" ,gdm) | |
c5db31d4 | 6022 | ("gdk-pixbuf" ,gdk-pixbuf+svg) |
a4df5756 SB |
6023 | ("gjs" ,gjs) |
6024 | ("gnome-bluetooth" ,gnome-bluetooth) | |
a4df5756 SB |
6025 | ("gnome-desktop" ,gnome-desktop) |
6026 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
6027 | ("gst-plugins-base" ,gst-plugins-base) | |
6028 | ("ibus" ,ibus) | |
6029 | ("libcanberra" ,libcanberra) | |
6030 | ("libcroco" ,libcroco) | |
d6fda4d3 | 6031 | ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display |
a4df5756 SB |
6032 | ("libgweather" ,libgweather) |
6033 | ("libsoup" ,libsoup) | |
6034 | ("mesa-headers" ,mesa-headers) | |
6035 | ("mutter" ,mutter) | |
6036 | ("network-manager-applet" ,network-manager-applet) | |
6037 | ("polkit" ,polkit) | |
6038 | ("pulseaudio" ,pulseaudio) | |
6039 | ("python-pygobject" ,python-pygobject) | |
6040 | ("startup-notification" ,startup-notification) | |
6041 | ("telepathy-logger" ,telepathy-logger) | |
6042 | ("upower" ,upower) | |
30e760f0 MB |
6043 | ;; XXX: These requirements were added in 3.24, but no mention in NEWS. |
6044 | ;; Missing propagation? See also: <https://bugs.gnu.org/27264> | |
6045 | ("librsvg" ,librsvg) | |
2b0c755d | 6046 | ("geoclue" ,geoclue))) |
a4df5756 SB |
6047 | (synopsis "Desktop shell for GNOME") |
6048 | (home-page "https://wiki.gnome.org/Projects/GnomeShell") | |
6049 | (description | |
6050 | "GNOME Shell provides core user interface functions for the GNOME desktop, | |
6051 | like switching to windows and launching applications.") | |
6052 | (license license:gpl2+))) | |
c3f29bc9 RS |
6053 | |
6054 | (define-public gtk-vnc | |
6055 | (package | |
6056 | (name "gtk-vnc") | |
965ff023 | 6057 | (version "0.9.0") |
c3f29bc9 RS |
6058 | (source |
6059 | (origin | |
6060 | (method url-fetch) | |
6061 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6062 | (version-major+minor version) "/" | |
6063 | name "-" version ".tar.xz")) | |
6064 | (sha256 | |
6065 | (base32 | |
965ff023 | 6066 | "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is")))) |
c3f29bc9 RS |
6067 | (build-system gnu-build-system) |
6068 | (arguments | |
6069 | '(#:configure-flags '("--with-gtk=3.0"))) | |
6070 | (propagated-inputs | |
6071 | `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc. | |
6072 | (inputs | |
6073 | `(("cyrus-sasl" ,cyrus-sasl) | |
6074 | ("gnutls" ,gnutls) | |
6075 | ("libgcrypt" ,libgcrypt) | |
6076 | ("pulseaudio" ,pulseaudio))) | |
6077 | (native-inputs | |
6078 | `(("glib:bin" ,glib "bin") | |
6079 | ("gobject-introspection" ,gobject-introspection) | |
6080 | ("intltool" ,intltool) | |
6081 | ("pkg-config" ,pkg-config) | |
2f17e939 | 6082 | ("python-wrapper" ,python-wrapper) |
c3f29bc9 RS |
6083 | ("vala" ,vala))) |
6084 | (home-page "https://wiki.gnome.org/Projects/gtk-vnc") | |
6085 | (synopsis "VNC viewer widget for GTK+") | |
6086 | (description | |
6087 | "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing | |
6088 | applications, for instance the Vinagre client, GNOME Boxes and virt-viewer. | |
6089 | GTK-VNC implements client side RFB protocol and authentication extensions such | |
6090 | as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.") | |
6091 | (license license:lgpl2.1+))) | |
8b877545 | 6092 | |
dc69fe18 MW |
6093 | (define-public gnome-autoar |
6094 | (package | |
6095 | (name "gnome-autoar") | |
c7da8510 | 6096 | (version "0.2.3") |
dc69fe18 MW |
6097 | (source (origin |
6098 | (method url-fetch) | |
6099 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6100 | (version-major+minor version) "/" | |
6101 | name "-" version ".tar.xz")) | |
6102 | (sha256 | |
6103 | (base32 | |
c7da8510 | 6104 | "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax")))) |
dc69fe18 MW |
6105 | (build-system glib-or-gtk-build-system) |
6106 | (native-inputs | |
6107 | `(("gnome-common" ,gnome-common) | |
6108 | ("gobject-introspection" ,gobject-introspection) | |
6109 | ("pkg-config" ,pkg-config))) | |
6110 | (propagated-inputs | |
6111 | `(("libarchive" ,libarchive))) ; XXX document why | |
6112 | (inputs | |
6113 | `(("gtk+" ,gtk+) | |
6114 | ("nettle" ,nettle))) ; XXX: required by libarchive.pc | |
6115 | (synopsis "Archives integration support for GNOME") | |
6116 | (home-page "https://git.gnome.org/browse/gnome-autoar/") | |
6117 | (description | |
6118 | "GNOME Autoar is a library which makes creating and extracting archives | |
6119 | easy, safe, and automatic.") | |
6120 | (license license:lgpl2.1+))) | |
6121 | ||
b64e217f MW |
6122 | (define-public tracker |
6123 | (package | |
6124 | (name "tracker") | |
c8bdf589 | 6125 | (version "2.0.4") |
b64e217f MW |
6126 | (source (origin |
6127 | (method url-fetch) | |
6128 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6129 | (version-major+minor version) "/" | |
6130 | name "-" version ".tar.xz")) | |
6131 | (sha256 | |
6132 | (base32 | |
c8bdf589 | 6133 | "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf")))) |
b64e217f | 6134 | (build-system glib-or-gtk-build-system) |
c8bdf589 RW |
6135 | (arguments |
6136 | `(#:phases | |
6137 | (modify-phases %standard-phases | |
6138 | (add-after 'unpack 'disable-broken-tests | |
6139 | (lambda _ | |
6140 | ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings | |
6141 | ;; schema 'org.freedesktop.Tracker.FTS' is not installed. | |
6142 | (substitute* "tests/libtracker-miner/Makefile.in" | |
6143 | (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "") | |
6144 | (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "") | |
6145 | (("tracker-monitor-test\\$\\(EXEEXT\\)") "")) | |
6146 | (substitute* "tests/libtracker-fts/Makefile.in" | |
6147 | (("tracker-fts-test\\$\\(EXEEXT\\)") "")) | |
6148 | (substitute* "tests/libtracker-data/Makefile.in" | |
6149 | (("tracker-ontology\\$\\(EXEEXT\\)") "") | |
6150 | (("tracker-ontology-change\\$\\(EXEEXT\\)") "") | |
6151 | (("tracker-backup\\$\\(EXEEXT\\)") "") | |
6152 | (("tracker-sparql-blank\\$\\(EXEEXT\\)") "") | |
6153 | (("tracker-sparql\\$\\(EXEEXT\\)") "")) | |
6154 | ;; These fail because the SPARQL backend could not be loaded. | |
6155 | ;; That's because /etc/machine-id is missing, but | |
6156 | ;; DBUS_FATAL_WARNINGS does not help here. | |
6157 | (substitute* "tests/libtracker-sparql/Makefile.in" | |
6158 | (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "") | |
6159 | (("tracker-sparql-test\\$\\(EXEEXT\\)") "")) | |
6160 | (substitute* "tests/tracker-steroids/Makefile.in" | |
6161 | (("tracker-test\\$\\(EXEEXT\\)") "")) | |
6162 | #t)) | |
6163 | ;; Two tests fail if LANG is not set. | |
6164 | (add-before 'check 'pre-check | |
6165 | (lambda _ | |
6166 | (setenv "LANG" "en_US.UTF-8") | |
6167 | ;; For the missing /etc/machine-id. | |
6168 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
6169 | #t))))) | |
b64e217f MW |
6170 | (native-inputs |
6171 | `(("gnome-common" ,gnome-common) | |
6172 | ("gobject-introspection" ,gobject-introspection) | |
6173 | ("intltool" ,intltool) | |
6174 | ("pkg-config" ,pkg-config) | |
6175 | ("vala" ,vala))) | |
6176 | (inputs | |
6177 | `(("gtk+" ,gtk+) | |
6178 | ("dbus" ,dbus) | |
6179 | ("gstreamer" ,gstreamer) | |
6180 | ("gst-plugins-base" ,gst-plugins-base) | |
44ed6284 | 6181 | ("sqlite" ,sqlite) |
b64e217f | 6182 | ("nettle" ,nettle) ; XXX why is this needed? |
c8bdf589 | 6183 | ("python" ,python) |
b64e217f MW |
6184 | ("poppler" ,poppler) |
6185 | ("libgsf" ,libgsf) | |
6186 | ("libexif" ,libexif) | |
6187 | ("libpng" ,libpng) | |
6188 | ("libtiff" ,libtiff) | |
6189 | ("libvorbis" ,libvorbis) | |
6190 | ("flac" ,flac) | |
6191 | ("totem-pl-parser" ,totem-pl-parser) | |
6192 | ("zlib" ,zlib) | |
6193 | ("exempi" ,exempi) | |
6194 | ("libxml2" ,libxml2) | |
6195 | ("upower" ,upower) | |
b64e217f MW |
6196 | ("libunistring" ,libunistring) |
6197 | ("giflib" ,giflib) | |
0ef48cd9 | 6198 | ("json-glib" ,json-glib) |
b64e217f MW |
6199 | ("openjpeg" ,openjpeg-1) |
6200 | ("libosinfo" ,libosinfo) | |
6201 | ("libcue" ,libcue) | |
6202 | ("libseccomp" ,libseccomp) | |
0ef48cd9 | 6203 | ("libsoup" ,libsoup) |
b64e217f | 6204 | ("libuuid" ,util-linux))) |
b64e217f MW |
6205 | (synopsis "Metadata database, indexer and search tool") |
6206 | (home-page "https://wiki.gnome.org/Projects/Tracker") | |
6207 | (description | |
6208 | "Tracker is an advanced framework for first class objects with associated | |
6209 | metadata and tags. It provides a one stop solution for all metadata, tags, | |
6210 | shared object databases, search tools and indexing.") | |
6211 | ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+, | |
6212 | ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+. | |
6213 | (license (list license:gpl2+ | |
6214 | license:lgpl2.1+ | |
6215 | license:lgpl2.0+)))) | |
6216 | ||
8b877545 RS |
6217 | (define-public nautilus |
6218 | (package | |
6219 | (name "nautilus") | |
ec66ebd4 | 6220 | (version "3.30.4") |
8b877545 RS |
6221 | (source (origin |
6222 | (method url-fetch) | |
6223 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6224 | (version-major+minor version) "/" | |
6225 | name "-" version ".tar.xz")) | |
6226 | (sha256 | |
6227 | (base32 | |
ec66ebd4 | 6228 | "1fcavvv85mpaz53k5kx5mls7npx7b95s8isnhrgq2iglz4kpr7s1")))) |
35e2d0cf | 6229 | (build-system meson-build-system) |
8b877545 | 6230 | (arguments |
35e2d0cf | 6231 | '(#:glib-or-gtk? #t |
8b877545 RS |
6232 | ;; XXX: FAIL: check-nautilus |
6233 | ;; Settings schema 'org.gnome.nautilus.preferences' is not installed | |
6234 | #:tests? #f)) | |
6235 | (native-inputs | |
35e2d0cf R |
6236 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
6237 | ("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
6238 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
8b877545 RS |
6239 | ("gobject-introspection" ,gobject-introspection) |
6240 | ("intltool" ,intltool) | |
6241 | ("pkg-config" ,pkg-config))) | |
8b877545 | 6242 | (inputs |
8b877545 | 6243 | `(("dconf" ,dconf) |
caf6c363 | 6244 | ("gexiv2" ,gexiv2) |
dd05e731 | 6245 | ("gvfs" ,gvfs) |
8b877545 RS |
6246 | ("exempi" ,exempi) |
6247 | ("gnome-desktop" ,gnome-desktop) | |
09d88905 | 6248 | ("gnome-autoar" ,gnome-autoar) |
ec66ebd4 | 6249 | ("libseccomp" ,libseccomp) |
35e2d0cf R |
6250 | ("libselinux" ,libselinux) |
6251 | ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar | |
09d88905 | 6252 | ("tracker" ,tracker) |
ce6027bf SB |
6253 | ;; XXX: gtk+ is required by libnautilus-extension.pc |
6254 | ;; | |
6255 | ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta | |
6256 | ;; package. See: | |
6257 | ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>. | |
6258 | ("gtk+" ,gtk+) | |
8b877545 RS |
6259 | ("libexif" ,libexif) |
6260 | ("libxml2" ,libxml2))) | |
6261 | (synopsis "File manager for GNOME") | |
6262 | (home-page "https://wiki.gnome.org/Apps/Nautilus") | |
6263 | (description | |
6264 | "Nautilus (Files) is a file manager designed to fit the GNOME desktop | |
6265 | design and behaviour, giving the user a simple way to navigate and manage its | |
6266 | files.") | |
6267 | (license license:gpl2+))) | |
3c697ffd JR |
6268 | |
6269 | (define-public baobab | |
6270 | (package | |
6271 | (name "baobab") | |
d233d373 | 6272 | (version "3.28.0") |
3c697ffd JR |
6273 | (source (origin |
6274 | (method url-fetch) | |
6275 | (uri (string-append | |
6276 | "mirror://gnome/sources/" name "/" | |
6277 | (version-major+minor version) "/" | |
6278 | name "-" version ".tar.xz")) | |
6279 | (sha256 | |
6280 | (base32 | |
d233d373 RJ |
6281 | "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk")))) |
6282 | (build-system meson-build-system) | |
6283 | (arguments | |
6284 | '(#:glib-or-gtk? #t)) | |
3c697ffd JR |
6285 | (native-inputs |
6286 | `(("intltool" ,intltool) | |
6287 | ("pkg-config" ,pkg-config) | |
d233d373 RJ |
6288 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
6289 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
3c697ffd JR |
6290 | ("itstool" ,itstool) |
6291 | ("xmllint" ,libxml2) | |
6292 | ("glib" ,glib "bin") | |
6293 | ("vala" ,vala))) | |
6294 | (inputs | |
6295 | `(("gtk+" ,gtk+))) | |
6296 | (synopsis "Disk usage analyzer for GNOME") | |
6297 | (description | |
6298 | "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk | |
6299 | usage in the GNOME desktop environment. It can easily scan device volumes or | |
6300 | a specific user-requested directory branch (local or remote). Once the scan | |
6301 | is complete it provides a graphical representation of each selected folder.") | |
6302 | (home-page "https://wiki.gnome.org/Apps/Baobab") | |
6303 | (license license:gpl2+))) | |
dc050251 | 6304 | |
fdba447c RS |
6305 | (define-public gnome-backgrounds |
6306 | (package | |
6307 | (name "gnome-backgrounds") | |
9ca381f0 | 6308 | (version "3.28.0") |
fdba447c RS |
6309 | (source |
6310 | (origin | |
6311 | (method url-fetch) | |
6312 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6313 | (version-major+minor version) "/" | |
6314 | name "-" version ".tar.xz")) | |
6315 | (sha256 | |
6316 | (base32 | |
9ca381f0 RW |
6317 | "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj")))) |
6318 | (build-system meson-build-system) | |
fdba447c RS |
6319 | (native-inputs |
6320 | `(("intltool" ,intltool))) | |
6321 | (home-page "https://git.gnome.org/browse/gnome-backgrounds") | |
6322 | (synopsis "Background images for the GNOME desktop") | |
6323 | (description | |
6324 | "GNOME backgrounds package contains a collection of graphics files which | |
6325 | can be used as backgrounds in the GNOME Desktop environment. Additionally, | |
6326 | the package creates the proper framework and directory structure so that you | |
6327 | can add your own files to the collection.") | |
6328 | (license (list license:gpl2+ | |
6329 | license:cc-by2.0 | |
6330 | license:cc-by-sa2.0 | |
6331 | license:cc-by-sa3.0)))) | |
6332 | ||
b784b1a9 RS |
6333 | (define-public gnome-screenshot |
6334 | (package | |
6335 | (name "gnome-screenshot") | |
8356aefa | 6336 | (version "3.26.0") |
b784b1a9 RS |
6337 | (source |
6338 | (origin | |
6339 | (method url-fetch) | |
6340 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6341 | (version-major+minor version) "/" | |
6342 | name "-" version ".tar.xz")) | |
6343 | (sha256 | |
6344 | (base32 | |
8356aefa RW |
6345 | "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v")))) |
6346 | (build-system meson-build-system) | |
b784b1a9 RS |
6347 | (native-inputs |
6348 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
8356aefa RW |
6349 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
6350 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database | |
b784b1a9 | 6351 | ("intltool" ,intltool) |
8356aefa | 6352 | ("appstream-glib" ,appstream-glib) |
b784b1a9 RS |
6353 | ("pkg-config" ,pkg-config))) |
6354 | (inputs | |
6355 | `(("gtk+" ,gtk+) | |
6356 | ("libcanberra" ,libcanberra) | |
6357 | ("libx11" ,libx11) | |
6358 | ("libxext" ,libxext))) | |
6359 | (home-page "https://git.gnome.org/browse/gnome-screenshot") | |
6360 | (synopsis "Take pictures of your screen") | |
6361 | (description | |
6362 | "GNOME Screenshot is a utility used for taking screenshots of the entire | |
6363 | screen, a window or a user defined area of the screen, with optional | |
6364 | beautifying border effects.") | |
6365 | (license license:gpl2+))) | |
6366 | ||
66d59111 RS |
6367 | (define-public dconf-editor |
6368 | (package | |
6369 | (name "dconf-editor") | |
294ff39d | 6370 | (version "3.28.0") |
66d59111 RS |
6371 | (source |
6372 | (origin | |
6373 | (method url-fetch) | |
6374 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6375 | (version-major+minor version) "/" | |
6376 | name "-" version ".tar.xz")) | |
6377 | (sha256 | |
6378 | (base32 | |
294ff39d RW |
6379 | "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5")))) |
6380 | (build-system meson-build-system) | |
66d59111 RS |
6381 | (native-inputs |
6382 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. | |
294ff39d | 6383 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
66d59111 | 6384 | ("intltool" ,intltool) |
294ff39d RW |
6385 | ("pkg-config" ,pkg-config) |
6386 | ("vala" ,vala))) | |
66d59111 RS |
6387 | (inputs |
6388 | `(("dconf" ,dconf) | |
6389 | ("gtk+" ,gtk+) | |
6390 | ("libxml2" ,libxml2))) | |
6391 | (home-page "https://git.gnome.org/browse/dconf-editor") | |
6392 | (synopsis "Graphical editor for GNOME's dconf configuration system") | |
6393 | (description | |
6394 | "Dconf-editor is a graphical tool for browsing and editing the dconf | |
6395 | configuration system for GNOME. It allows users to configure desktop | |
6396 | software that do not provide their own configuration interface.") | |
6397 | (license license:lgpl2.1+))) | |
6398 | ||
96d36f38 AW |
6399 | (define-public gnome-default-applications |
6400 | (package | |
6401 | (name "gnome-default-applications") | |
6402 | (version "0") | |
6403 | (build-system trivial-build-system) | |
6404 | (source #f) | |
6405 | (propagated-inputs | |
8ad4f0aa LC |
6406 | `(("nautilus" ,nautilus) |
6407 | ("evince" ,evince))) | |
96d36f38 AW |
6408 | (arguments |
6409 | `(#:modules ((guix build utils)) | |
6410 | #:builder | |
6411 | (begin | |
6412 | (use-modules (guix build utils)) | |
6413 | (let* ((out (assoc-ref %outputs "out")) | |
6414 | (apps (string-append out "/share/applications"))) | |
6415 | (mkdir-p apps) | |
6416 | (call-with-output-file (string-append apps "/defaults.list") | |
6417 | (lambda (port) | |
6418 | (format port "[Default Applications]\n") | |
8ad4f0aa LC |
6419 | (format port "inode/directory=org.gnome.Nautilus.desktop\n") |
6420 | (format port "application/pdf=evince.desktop\n") | |
6421 | (format port "application/postscript=evince.desktop\n"))) | |
96d36f38 AW |
6422 | #t)))) |
6423 | (synopsis "Default MIME type associations for the GNOME desktop") | |
6424 | (description | |
6425 | "Given many installed packages which might handle a given MIME type, a | |
6426 | user running the GNOME desktop probably has some preferences: for example, | |
6427 | that folders be opened by default by the Nautilus file manager, not the Baobab | |
6428 | disk usage analyzer. This package establishes that set of default MIME type | |
6429 | associations for GNOME.") | |
6430 | (license license:gpl3+) | |
6431 | (home-page #f))) | |
6432 | ||
dc050251 SB |
6433 | (define-public gnome |
6434 | (package | |
6435 | (name "gnome") | |
6436 | (version (package-version gnome-shell)) | |
6437 | (source #f) | |
6438 | (build-system trivial-build-system) | |
e3cfef22 | 6439 | (arguments '(#:builder (begin (mkdir %output) #t))) |
dc050251 SB |
6440 | (propagated-inputs |
6441 | ;; TODO: Add more packages according to: | |
6442 | ;; <https://packages.debian.org/jessie/gnome-core>. | |
6443 | `(("adwaita-icon-theme" ,adwaita-icon-theme) | |
05f651c4 | 6444 | ("baobab" ,baobab) |
0bd3597b | 6445 | ("font-cantarell" ,font-cantarell) |
a9dbefdc | 6446 | ("font-dejavu" ,font-dejavu) |
dc050251 SB |
6447 | ("at-spi2-core" ,at-spi2-core) |
6448 | ("dbus" ,dbus) | |
6449 | ("dconf" ,dconf) | |
72360453 | 6450 | ("desktop-file-utils" ,desktop-file-utils) |
dc050251 SB |
6451 | ("eog" ,eog) |
6452 | ("epiphany" ,epiphany) | |
6453 | ("evince" ,evince) | |
71d9b980 | 6454 | ("file-roller" ,file-roller) |
dc050251 SB |
6455 | ("gedit" ,gedit) |
6456 | ("glib-networking" ,glib-networking) | |
05f651c4 | 6457 | ("gnome-backgrounds" ,gnome-backgrounds) |
63ad9b80 AW |
6458 | ("gnome-bluetooth" ,gnome-bluetooth) |
6459 | ("gnome-calculator" ,gnome-calculator) | |
dc050251 | 6460 | ("gnome-control-center" ,gnome-control-center) |
63ad9b80 | 6461 | ("gnome-disk-utility" ,gnome-disk-utility) |
96d36f38 | 6462 | ("gnome-default-applications" ,gnome-default-applications) |
dc050251 | 6463 | ("gnome-keyring" ,gnome-keyring) |
63ad9b80 | 6464 | ("gnome-online-accounts" ,gnome-online-accounts) |
dc050251 SB |
6465 | ("gnome-session" ,gnome-session) |
6466 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
6467 | ("gnome-shell" ,gnome-shell) | |
63ad9b80 | 6468 | ("gnome-system-monitor" ,gnome-system-monitor) |
dc050251 SB |
6469 | ("gnome-terminal" ,gnome-terminal) |
6470 | ("gnome-themes-standard" ,gnome-themes-standard) | |
2999dcd5 AW |
6471 | ("gst-plugins-base" ,gst-plugins-base) |
6472 | ("gst-plugins-good" ,gst-plugins-good) | |
63ad9b80 | 6473 | ("gucharmap" ,gucharmap) |
05f651c4 | 6474 | ("gvfs" ,gvfs) |
dc050251 SB |
6475 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
6476 | ("nautilus" ,nautilus) | |
69308043 | 6477 | ("pinentry-gnome3" ,pinentry-gnome3) |
dc050251 SB |
6478 | ("pulseaudio" ,pulseaudio) |
6479 | ("shared-mime-info" ,shared-mime-info) | |
f6f4370f | 6480 | ("system-config-printer" ,system-config-printer) |
dc050251 | 6481 | ("totem" ,totem) |
c20cd0d2 | 6482 | ("xdg-user-dirs" ,xdg-user-dirs) |
dc050251 SB |
6483 | ("yelp" ,yelp) |
6484 | ("zenity" ,zenity))) | |
fe4e698d | 6485 | (synopsis "The GNU desktop environment") |
dc050251 SB |
6486 | (home-page "https://www.gnome.org/") |
6487 | (description | |
fe4e698d LC |
6488 | "GNOME is the graphical desktop for GNU. It includes a wide variety of |
6489 | applications for browsing the web, editing text and images, creating | |
6490 | documents and diagrams, playing media, scanning, and much more.") | |
dc050251 | 6491 | (license license:gpl2+))) |
4a526711 DT |
6492 | |
6493 | (define-public byzanz | |
6494 | ;; The last stable release of Byzanz was in 2011, but there have been many | |
6495 | ;; useful commits made to the Byzanz repository since then that it would be | |
6496 | ;; silly to use such an old release. | |
6497 | (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af")) | |
6498 | (package | |
6499 | (name "byzanz") | |
6500 | (version (string-append "0.2-1." (string-take commit 7))) | |
6501 | (source (origin | |
6502 | (method git-fetch) | |
6503 | (uri (git-reference | |
5f13bf09 | 6504 | (url "https://git.gnome.org/browse/byzanz") |
4a526711 | 6505 | (commit commit))) |
5a6527e4 | 6506 | (file-name (string-append name "-" version "-checkout")) |
4a526711 DT |
6507 | (sha256 |
6508 | (base32 | |
6509 | "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3")))) | |
6510 | (build-system glib-or-gtk-build-system) | |
6511 | (arguments | |
6512 | '(#:phases | |
6513 | (modify-phases %standard-phases | |
189be331 | 6514 | (replace 'bootstrap |
4a526711 DT |
6515 | (lambda _ |
6516 | ;; The build system cleverly detects that we're not building from | |
6517 | ;; a release tarball and turns on -Werror for GCC. | |
6518 | ;; Unsurprisingly, there is a warning during compilation that | |
6519 | ;; causes the build to fail unnecessarily, so we remove the flag. | |
6520 | (substitute* '("configure.ac") | |
6521 | (("-Werror") "")) | |
6522 | ;; The autogen.sh script in gnome-common will run ./configure | |
6523 | ;; by default, which is problematic because source shebangs | |
6524 | ;; have not yet been patched. | |
6525 | (setenv "NOCONFIGURE" "t") | |
6526 | (zero? (system* "sh" "autogen.sh"))))))) | |
6527 | (native-inputs | |
6528 | `(("autoconf" ,autoconf) | |
6529 | ("automake" ,automake) | |
6530 | ("gnome-common" ,gnome-common) | |
6531 | ("intltool" ,intltool) | |
6532 | ("libtool" ,libtool) | |
6533 | ("pkg-config" ,pkg-config) | |
6534 | ("which" ,which))) | |
6535 | (inputs | |
6536 | `(("glib" ,glib) | |
6537 | ("gstreamer" ,gstreamer) | |
6538 | ("gst-plugins-base" ,gst-plugins-base) | |
6539 | ("gtk+" ,gtk+))) | |
6540 | (synopsis "Desktop recording program") | |
6541 | (description "Byzanz is a simple desktop recording program with a | |
6542 | command-line interface. It can record part or all of an X display for a | |
6543 | specified duration and save it as a GIF encoded animated image file.") | |
6544 | (home-page "https://git.gnome.org/browse/byzanz") | |
6545 | (license license:gpl2+)))) | |
3a9a4c51 | 6546 | |
0ec171ec MS |
6547 | (define-public gsound |
6548 | (package | |
6549 | (name "gsound") | |
6550 | (version "1.0.2") | |
6551 | (source (origin | |
6552 | (method url-fetch) | |
6553 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6554 | (version-major+minor version) "/" | |
6555 | name "-" version ".tar.xz")) | |
6556 | (sha256 | |
6557 | (base32 | |
6558 | "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v")))) | |
6559 | (build-system glib-or-gtk-build-system) | |
6560 | (native-inputs | |
6561 | `(("pkg-config" ,pkg-config) | |
6562 | ("gobject-introspection" ,gobject-introspection) | |
6563 | ("vala" ,vala))) | |
6564 | (inputs | |
6565 | `(("glib" ,glib) | |
6566 | ("libcanberra" ,libcanberra))) | |
6567 | (home-page "https://wiki.gnome.org/Projects/GSound") | |
6568 | (synopsis "GObject wrapper for libcanberra") | |
6569 | (description | |
6570 | "GSound is a small library for playing system sounds. It's designed to be | |
6571 | used via GObject Introspection, and is a thin wrapper around the libcanberra C | |
6572 | library.") | |
6573 | (license license:lgpl2.1+))) | |
6574 | ||
3a9a4c51 RS |
6575 | (define-public libzapojit |
6576 | (package | |
6577 | (name "libzapojit") | |
6578 | (version "0.0.3") | |
6579 | (source (origin | |
6580 | (method url-fetch) | |
6581 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6582 | (version-major+minor version) "/" | |
6583 | name "-" version ".tar.xz")) | |
6584 | (sha256 | |
6585 | (base32 | |
6586 | "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x")))) | |
6587 | (build-system gnu-build-system) | |
6588 | (native-inputs | |
6589 | `(("gobject-introspection" ,gobject-introspection) | |
6590 | ("intltool" ,intltool) | |
6591 | ("pkg-config" ,pkg-config))) | |
6592 | (inputs | |
14c297fd | 6593 | `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
3a9a4c51 RS |
6594 | ("json-glib" ,json-glib) |
6595 | ("rest" ,rest))) | |
6596 | (home-page "https://wiki.gnome.org/Projects/Zapojit") | |
6597 | (synopsis "Library for accessing SkyDrive and Hotmail") | |
6598 | (description | |
6599 | "Libzapojit is a GLib-based library for accessing online service APIs of | |
6600 | Microsoft SkyDrive and Hotmail, using their REST protocols.") | |
6601 | (license license:lgpl2.1+))) | |
9365ee1c | 6602 | |
60e2a9ae MS |
6603 | (define-public gnome-clocks |
6604 | (package | |
6605 | (name "gnome-clocks") | |
80d1e4c0 | 6606 | (version "3.28.0") |
60e2a9ae MS |
6607 | (source (origin |
6608 | (method url-fetch) | |
6609 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6610 | (version-major+minor version) "/" | |
6611 | name "-" version ".tar.xz")) | |
6612 | (sha256 | |
6613 | (base32 | |
80d1e4c0 | 6614 | "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl")))) |
60e2a9ae MS |
6615 | (build-system meson-build-system) |
6616 | (arguments | |
6617 | '(#:glib-or-gtk? #t)) | |
6618 | (native-inputs | |
6619 | `(("vala" ,vala) | |
6620 | ("pkg-config" ,pkg-config) | |
6621 | ("glib" ,glib "bin") ; for glib-compile-resources | |
6622 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
6623 | ("desktop-file-utils" ,desktop-file-utils) | |
6624 | ("gettext" ,gettext-minimal) | |
6625 | ("itstool" ,itstool))) | |
6626 | (inputs | |
6627 | `(("glib" ,glib) | |
6628 | ("gtk+" ,gtk+) | |
6629 | ("gsound" ,gsound) | |
6630 | ("geoclue" ,geoclue) | |
6631 | ("geocode-glib" ,geocode-glib) | |
6632 | ("libgweather" ,libgweather) | |
6633 | ("gnome-desktop" ,gnome-desktop))) | |
6634 | (home-page "https://wiki.gnome.org/Apps/Clocks") | |
6635 | (synopsis "GNOME's clock application") | |
6636 | (description | |
6637 | "GNOME Clocks is a simple clocks application designed to fit the GNOME | |
6638 | desktop. It supports world clock, stop watch, alarms, and count down timer.") | |
6639 | (license license:gpl3+))) | |
6640 | ||
3c474897 KY |
6641 | (define-public gnome-calendar |
6642 | (package | |
6643 | (name "gnome-calendar") | |
a286b5eb | 6644 | (version "3.28.2") |
3c474897 KY |
6645 | (source (origin |
6646 | (method url-fetch) | |
6647 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6648 | (version-major+minor version) "/" | |
6649 | name "-" version ".tar.xz")) | |
6650 | (sha256 | |
6651 | (base32 | |
a286b5eb | 6652 | "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw")))) |
a49d3e37 MS |
6653 | (build-system meson-build-system) |
6654 | (arguments | |
6655 | '(#:glib-or-gtk? #t | |
6656 | ;; gnome-calendar has to be installed before the tests can be run | |
6657 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224 | |
6658 | #:tests? #f)) | |
3c474897 | 6659 | (native-inputs |
a49d3e37 MS |
6660 | `(("gettext" ,gettext-minimal) |
6661 | ("glib-bin" ,glib "bin") ; For glib-compile-schemas | |
6662 | ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
3c474897 KY |
6663 | ("pkg-config" ,pkg-config))) |
6664 | (inputs | |
a49d3e37 | 6665 | `(("evolution-data-server" ,evolution-data-server) |
14c297fd | 6666 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
a286b5eb RW |
6667 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
6668 | ("libdazzle" ,libdazzle) | |
b63c06f1 | 6669 | ("libedataserverui" ,evolution-data-server) |
a286b5eb RW |
6670 | ("libgweather" ,libgweather) |
6671 | ("geoclue" ,geoclue))) | |
3c474897 KY |
6672 | (home-page "https://wiki.gnome.org/Apps/Calendar") |
6673 | (synopsis "GNOME's calendar application") | |
6674 | (description | |
6675 | "GNOME Calendar is a simple calendar application designed to fit the GNOME | |
a49d3e37 | 6676 | desktop. It supports multiple calendars, month, week and year view.") |
3c474897 KY |
6677 | (license license:gpl3+))) |
6678 | ||
57b14665 MS |
6679 | (define-public gnome-todo |
6680 | (package | |
6681 | (name "gnome-todo") | |
9f3c6c88 | 6682 | (version "3.28.1") |
57b14665 MS |
6683 | (source (origin |
6684 | (method url-fetch) | |
6685 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6686 | (version-major+minor version) "/" | |
6687 | name "-" version ".tar.xz")) | |
6688 | (sha256 | |
6689 | (base32 | |
9f3c6c88 | 6690 | "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7")))) |
57b14665 MS |
6691 | (build-system meson-build-system) |
6692 | (arguments | |
6693 | '(#:glib-or-gtk? #t | |
6694 | #:phases (modify-phases %standard-phases | |
6695 | (add-after | |
6696 | 'install 'wrap-gnome-todo | |
6697 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6698 | (let ((out (assoc-ref outputs "out")) | |
6699 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
6700 | (python-path (getenv "PYTHONPATH"))) | |
6701 | (wrap-program (string-append out "/bin/gnome-todo") | |
6702 | ;; XXX: gi plugins are broken. | |
6703 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212 | |
6704 | ;; For plugins. | |
6705 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
6706 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
6707 | #t))))) | |
6708 | (native-inputs | |
6709 | `(("gettext" ,gettext-minimal) | |
6710 | ("gobject-introspection" ,gobject-introspection) | |
6711 | ("glib:bin" ,glib "bin") ; For glib-compile-resources | |
6712 | ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
6713 | ("pkg-config" ,pkg-config))) | |
6714 | (inputs | |
6715 | `(("rest" ,rest) ; For Todoist plugin | |
6716 | ("json-glib" ,json-glib) ; For Todoist plugin | |
b63c06f1 | 6717 | ("libedataserverui" ,evolution-data-server) |
57b14665 MS |
6718 | ("libical" ,libical) |
6719 | ("libpeas" ,libpeas) | |
6720 | ("python-pygobject" ,python-pygobject) | |
6721 | ("evolution-data-server" ,evolution-data-server) | |
14c297fd | 6722 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
57b14665 MS |
6723 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) |
6724 | (home-page "https://wiki.gnome.org/Apps/Todo") | |
6725 | (synopsis "GNOME's ToDo Application") | |
6726 | (description | |
6727 | "GNOME To Do is a simplistic personal task manager designed to perfectly | |
6728 | fit the GNOME desktop.") | |
6729 | (license license:gpl3+))) | |
6730 | ||
ab179eaf SB |
6731 | (define-public gnome-dictionary |
6732 | (package | |
6733 | (name "gnome-dictionary") | |
cf81ddef | 6734 | (version "3.26.1") |
ab179eaf SB |
6735 | (source (origin |
6736 | (method url-fetch) | |
6737 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6738 | (version-major+minor version) "/" | |
6739 | name "-" version ".tar.xz")) | |
6740 | (sha256 | |
6741 | (base32 | |
cf81ddef LC |
6742 | "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n")))) |
6743 | (build-system meson-build-system) | |
2776b5d5 MB |
6744 | (arguments '(#:glib-or-gtk? #t |
6745 | #:phases (modify-phases %standard-phases | |
6746 | (add-after 'unpack 'patch-install-script | |
6747 | (lambda _ | |
6748 | ;; This script attempts to compile glib schemas | |
6749 | ;; and create an empty MIME database. We do | |
6750 | ;; that elsewhere, so prevent it from running. | |
6751 | (substitute* "build-aux/post-install.sh" | |
6752 | (("\\[ -z \"\\$DESTDIR\" \\]") "false")) | |
6753 | #t))))) | |
ab179eaf SB |
6754 | (native-inputs |
6755 | `(("glib:bin" ,glib "bin") | |
6756 | ("gobject-introspection" ,gobject-introspection) | |
6757 | ("intltool" ,intltool) | |
6758 | ("itstool" ,itstool) | |
6759 | ("pkg-config" ,pkg-config) | |
6760 | ("xmllint" ,libxml2))) | |
6761 | (inputs | |
6762 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
6763 | ("gtk+" ,gtk+))) | |
6764 | (home-page "https://wiki.gnome.org/Apps/Dictionary") | |
6765 | (synopsis "Look up words in dictionary sources") | |
6766 | (description | |
6767 | "GNOME Dictionary can look for the definition or translation of a word in | |
6768 | existing databases over the internet.") | |
6769 | (license license:gpl3+))) | |
6770 | ||
d13f3a03 | 6771 | (define-public gnome-tweaks |
9365ee1c | 6772 | (package |
d13f3a03 | 6773 | (name "gnome-tweaks") |
bf6cb316 | 6774 | (version "3.30.1") |
9365ee1c JN |
6775 | (source (origin |
6776 | (method url-fetch) | |
d13f3a03 | 6777 | (uri (string-append "mirror://gnome/sources/gnome-tweaks/" |
9365ee1c | 6778 | (version-major+minor version) "/" |
d13f3a03 RW |
6779 | "gnome-tweaks-" version ".tar.xz")) |
6780 | (patches | |
6781 | (list (search-patch "gnome-tweaks-search-paths.patch"))) | |
9365ee1c JN |
6782 | (sha256 |
6783 | (base32 | |
bf6cb316 | 6784 | "0pj6k0106dy92lnb646dd656qdvljqwbaya95xp369a016pzngpa")))) |
d13f3a03 | 6785 | (build-system meson-build-system) |
9365ee1c | 6786 | (arguments |
d13f3a03 RW |
6787 | `(#:glib-or-gtk? #t |
6788 | #:configure-flags '("-Dlocalstatedir=/tmp" | |
6789 | "-Dsysconfdir=/tmp") | |
9365ee1c | 6790 | #:imported-modules ((guix build python-build-system) |
d13f3a03 RW |
6791 | ,@%meson-build-system-modules) |
6792 | #:phases | |
6793 | (modify-phases %standard-phases | |
6794 | (add-after 'install 'wrap | |
6795 | (@@ (guix build python-build-system) wrap)) | |
6796 | (add-after 'wrap 'wrap-gi-typelib | |
6797 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6798 | (let ((out (assoc-ref outputs "out")) | |
6799 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
6800 | (wrap-program (string-append out "/bin/gnome-tweaks") | |
6801 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
6802 | #t))))) | |
9365ee1c | 6803 | (native-inputs |
c7fc414e RH |
6804 | `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache |
6805 | ("intltool" ,intltool) | |
9365ee1c JN |
6806 | ("pkg-config" ,pkg-config))) |
6807 | (inputs | |
c7fc414e RH |
6808 | `(("gnome-desktop" ,gnome-desktop) |
6809 | ("gtk+" ,gtk+) | |
9365ee1c JN |
6810 | ("gobject-introspection" ,gobject-introspection) |
6811 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
c7fc414e RH |
6812 | ("libnotify" ,libnotify) |
6813 | ("libsoup" ,libsoup) | |
6814 | ("nautilus" ,nautilus) | |
6815 | ("python" ,python) | |
6816 | ("python-pygobject" ,python-pygobject))) | |
9365ee1c | 6817 | (synopsis "Customize advanced GNOME 3 options") |
d13f3a03 | 6818 | (home-page "https://wiki.gnome.org/Apps/Tweaks") |
9365ee1c | 6819 | (description |
d13f3a03 | 6820 | "GNOME Tweaks allows adjusting advanced configuration settings in |
9365ee1c JN |
6821 | GNOME 3. This includes things like the fonts used in user interface elements, |
6822 | alternative user interface themes, changes in window management behavior, | |
6823 | GNOME Shell appearance and extension, etc.") | |
6824 | (license license:gpl3+))) | |
813f814a | 6825 | |
d13f3a03 RW |
6826 | ;; This package has been renamed by upstream. |
6827 | (define-public gnome-tweak-tool | |
6828 | (deprecated-package "gnome-tweak-tool" gnome-tweaks)) | |
6829 | ||
32ac717c DT |
6830 | (define-public gnome-shell-extensions |
6831 | (package | |
6832 | (name "gnome-shell-extensions") | |
100f625b | 6833 | (version "3.28.1") |
32ac717c DT |
6834 | (source (origin |
6835 | (method url-fetch) | |
6836 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6837 | (version-major+minor version) "/" | |
6838 | name "-" version ".tar.xz")) | |
6839 | (sha256 | |
6840 | (base32 | |
100f625b RW |
6841 | "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9")))) |
6842 | (build-system meson-build-system) | |
32ac717c | 6843 | (arguments |
100f625b | 6844 | '(#:configure-flags '("-Dextension_set=all"))) |
32ac717c DT |
6845 | (native-inputs |
6846 | `(("intltool" ,intltool) | |
6847 | ("pkg-config" ,pkg-config))) | |
6848 | (propagated-inputs | |
6849 | `(("glib" ,glib) | |
6850 | ("glib" ,glib "bin"))) | |
6851 | (synopsis "Extensions for GNOME Shell") | |
6852 | (description "GNOME Shell extensions modify and extend GNOME Shell | |
6853 | functionality and behavior.") | |
6854 | (home-page "https://extensions.gnome.org/") | |
6855 | (license license:gpl3+))) | |
6856 | ||
a7a31827 GL |
6857 | (define-public numix-theme |
6858 | (package | |
6859 | (name "numix-theme") | |
6860 | (version "2.6.7") | |
6861 | (source (origin | |
6862 | (method git-fetch) | |
6863 | (uri (git-reference | |
6864 | (url "https://github.com/numixproject/numix-gtk-theme.git") | |
6865 | (commit version))) | |
6866 | (file-name (git-file-name name version)) | |
6867 | (sha256 | |
6868 | (base32 | |
6869 | "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7")))) | |
6870 | (build-system gnu-build-system) | |
6871 | (arguments | |
6872 | '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))) | |
6873 | #:phases | |
6874 | (modify-phases %standard-phases | |
6875 | (delete 'configure) | |
6876 | (delete 'check)))) | |
6877 | (native-inputs | |
6878 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas | |
6879 | ("gnome-shell" ,gnome-shell) | |
6880 | ("gtk+" ,gtk+) | |
6881 | ("xmllint" ,libxml2) | |
6882 | ("ruby-sass" ,ruby-sass))) | |
6883 | (synopsis "Flat theme with light and dark elements") | |
6884 | (description "Numix is a modern flat theme with a combination of light and | |
6885 | dark elements. It supports GNOME, Unity, Xfce, and Openbox.") | |
6886 | (home-page "https://numixproject.github.io") | |
6887 | (license license:gpl3+))) | |
6888 | ||
813f814a DT |
6889 | (define-public arc-theme |
6890 | (package | |
6891 | (name "arc-theme") | |
a18f8eaf | 6892 | (version "20181022") |
813f814a | 6893 | (source (origin |
a18f8eaf BH |
6894 | (method git-fetch) |
6895 | (uri (git-reference | |
6896 | (url "https://github.com/NicoHood/arc-theme.git") | |
6897 | (commit version))) | |
6898 | (file-name (git-file-name name version)) | |
813f814a DT |
6899 | (sha256 |
6900 | (base32 | |
a18f8eaf | 6901 | "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663")))) |
813f814a | 6902 | (build-system gnu-build-system) |
d88884fa EF |
6903 | (arguments |
6904 | '(#:phases | |
6905 | (modify-phases %standard-phases | |
6906 | ;; autogen.sh calls configure at the end of the script. | |
6907 | (replace 'bootstrap | |
6908 | (lambda _ (invoke "autoreconf" "-vfi")))))) | |
813f814a DT |
6909 | (native-inputs |
6910 | `(("autoconf" ,autoconf) | |
6911 | ("automake" ,automake) | |
a18f8eaf BH |
6912 | ("glib" ,glib "bin") ; for glib-compile-resources |
6913 | ("gnome-shell" ,gnome-shell) | |
6914 | ("gtk+" ,gtk+) | |
6915 | ("inkscape" ,inkscape) | |
6916 | ("optipng" ,optipng) | |
6917 | ("pkg-config" ,pkg-config) | |
6918 | ("sassc" ,sassc))) | |
813f814a DT |
6919 | (synopsis "A flat GTK+ theme with transparent elements") |
6920 | (description "Arc is a flat theme with transparent elements for GTK 3, GTK | |
6921 | 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments | |
6922 | like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.") | |
6923 | (home-page "https://github.com/horst3180/arc-theme") | |
6924 | ;; No "or later" language found. | |
a18f8eaf | 6925 | (license license:gpl3+))) |
9987c57c | 6926 | |
d935e6a1 | 6927 | (define-public faba-icon-theme |
9987c57c | 6928 | (package |
d935e6a1 | 6929 | (name "faba-icon-theme") |
2eee7ee3 | 6930 | (version "4.3") |
d935e6a1 BT |
6931 | (source |
6932 | (origin | |
6933 | (method url-fetch) | |
6934 | (uri (string-append "https://github.com/moka-project/" | |
6935 | name "/archive/v" version ".tar.gz")) | |
6936 | (file-name (string-append name "-" version ".tar.gz")) | |
6937 | (sha256 | |
6938 | (base32 | |
2eee7ee3 | 6939 | "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68")))) |
f6a9b345 | 6940 | (build-system meson-build-system) |
9987c57c | 6941 | (arguments |
82da291a | 6942 | `(#:phases |
9987c57c | 6943 | (modify-phases %standard-phases |
82da291a | 6944 | (add-before 'configure 'disable-post-install |
9987c57c | 6945 | (lambda _ |
82da291a JL |
6946 | (substitute* "meson.build" |
6947 | (("meson.add_install_script.*") ""))))))) | |
9987c57c DT |
6948 | (native-inputs |
6949 | `(("autoconf" ,autoconf) | |
6950 | ("automake" ,automake))) | |
d935e6a1 BT |
6951 | (synopsis "Faba icon theme") |
6952 | (description | |
6953 | "Faba is a minimal icon set used as a basis for other themes such as | |
6954 | Moka") | |
6955 | (home-page "https://snwh.org/moka") | |
6956 | (license (list license:lgpl3+ | |
6957 | license:cc-by-sa4.0)))) | |
6958 | ||
9987c57c DT |
6959 | (define-public moka-icon-theme |
6960 | (package | |
8b0e4177 | 6961 | (inherit faba-icon-theme) |
9987c57c | 6962 | (name "moka-icon-theme") |
105a3625 | 6963 | (version "5.4.0") |
9987c57c DT |
6964 | (source (origin |
6965 | (method url-fetch) | |
6966 | (uri (string-append "https://github.com/moka-project" | |
6967 | "/moka-icon-theme/archive/v" | |
6968 | version ".tar.gz")) | |
6969 | (file-name (string-append name "-" version ".tar.gz")) | |
6970 | (sha256 | |
6971 | (base32 | |
105a3625 | 6972 | "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk")))) |
550281fb BT |
6973 | (propagated-inputs |
6974 | ;; Moka is based on Faba by using it as a fallback icon set instead of | |
6975 | ;; bundling it, so we need to add it as a propagated input. | |
6976 | `(("faba-icon-theme" ,faba-icon-theme))) | |
9987c57c DT |
6977 | (synopsis "Moka icon theme") |
6978 | (description "Moka is a stylized desktop icon set, designed to be clear, | |
6979 | simple and consistent.") | |
fedde43b BT |
6980 | (license (list license:gpl3+ |
6981 | license:cc-by-sa4.0)))) | |
6fd8f8d6 DT |
6982 | |
6983 | (define-public arc-icon-theme | |
6984 | (package | |
6985 | (name "arc-icon-theme") | |
c4180240 | 6986 | (version "20161122") |
6fd8f8d6 DT |
6987 | (source (origin |
6988 | (method url-fetch) | |
6989 | (uri (string-append "https://github.com/horst3180/arc-icon-theme" | |
6990 | "/archive/" version ".tar.gz")) | |
6991 | (file-name (string-append name "-" version ".tar.gz")) | |
6992 | (sha256 | |
6993 | (base32 | |
c4180240 | 6994 | "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b")))) |
6fd8f8d6 | 6995 | (build-system gnu-build-system) |
9e1ede95 JL |
6996 | (arguments |
6997 | `(#:phases | |
6998 | (modify-phases %standard-phases | |
6999 | (add-after 'unpack 'disable-configure-during-bootstrap | |
7000 | (lambda _ | |
7001 | (substitute* "autogen.sh" | |
7002 | (("^\"\\$srcdir/configure\".*") "")) | |
7003 | #t))))) | |
6fd8f8d6 DT |
7004 | (native-inputs |
7005 | `(("autoconf" ,autoconf) | |
7006 | ("automake" ,automake))) | |
7007 | ;; When Arc is missing an icon, it looks in the Moka icon theme for it. | |
7008 | (propagated-inputs | |
7009 | `(("moka-icon-theme" ,moka-icon-theme))) | |
7010 | (synopsis "Arc icon theme") | |
7011 | (description "The Arc icon theme provides a set of icons matching the | |
7012 | style of the Arc GTK theme. Icons missing from the Arc theme are provided by | |
7013 | the Moka icon theme.") | |
7014 | (home-page "https://github.com/horst3180/arc-icon-theme") | |
7015 | (license license:gpl3+))) | |
6064a4e8 LF |
7016 | |
7017 | (define-public folks | |
7018 | (package | |
7019 | (name "folks") | |
d23495fa | 7020 | (version "0.11.4") |
6064a4e8 LF |
7021 | (source (origin |
7022 | (method url-fetch) | |
7023 | (uri (string-append | |
e5f4796e | 7024 | "mirror://gnome/sources/folks/" |
6064a4e8 | 7025 | (version-major+minor version) "/" |
e5f4796e | 7026 | "folks-" version ".tar.xz")) |
6064a4e8 LF |
7027 | (sha256 |
7028 | (base32 | |
d23495fa | 7029 | "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57")))) |
6064a4e8 LF |
7030 | (build-system glib-or-gtk-build-system) |
7031 | (inputs | |
7032 | `(("bdb" ,bdb) | |
7033 | ("dbus-glib" ,dbus-glib) | |
7034 | ("evolution-data-server" ,evolution-data-server) | |
7035 | ("glib" ,glib) | |
7036 | ("libgee" ,libgee) | |
7037 | ("telepathy-glib" ,telepathy-glib))) | |
7038 | (native-inputs | |
7039 | `(("gobject-introspection" ,gobject-introspection) | |
7040 | ("intltool" ,intltool) | |
7041 | ("pkg-config" ,pkg-config) | |
7042 | ("vala" ,vala))) | |
7043 | (synopsis "Library to aggregate data about people") | |
7044 | (description "Libfolks is a library that aggregates information about people | |
7045 | from multiple sources (e.g., Telepathy connection managers for IM contacts, | |
7046 | Evolution Data Server for local contacts, libsocialweb for web service contacts, | |
7047 | etc.) to create metacontacts. It's written in Vala, which generates C code when | |
7048 | compiled.") | |
7049 | (home-page "https://wiki.gnome.org/Projects/Folks") | |
7050 | (license license:lgpl2.1+))) | |
01ea778f LF |
7051 | |
7052 | (define-public gfbgraph | |
7053 | (package | |
7054 | (name "gfbgraph") | |
7055 | (version "0.2.3") | |
7056 | (source (origin | |
7057 | (method url-fetch) | |
7058 | (uri (string-append | |
7059 | "mirror://gnome/sources/" name "/" | |
7060 | (version-major+minor version) "/" | |
7061 | name "-" version ".tar.xz")) | |
7062 | (sha256 | |
7063 | (base32 | |
7064 | "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs")))) | |
7065 | (build-system glib-or-gtk-build-system) | |
7066 | (arguments | |
7067 | `(#:tests? #f ; Tests appear to require the network. | |
7068 | ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input. | |
7069 | #:configure-flags '("--disable-gtk-doc" | |
7070 | "--disable-static" | |
7071 | "--enable-introspection"))) | |
7072 | (native-inputs | |
7073 | `(("pkg-config" ,pkg-config) | |
7074 | ("gobject-introspection" ,gobject-introspection))) | |
7075 | (inputs | |
7076 | `(("json-glib" ,json-glib) | |
14c297fd | 7077 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
01ea778f LF |
7078 | ("rest" ,rest))) |
7079 | (synopsis "GLib/GObject wrapper for the Facebook API") | |
7080 | (description "This library allows you to use the Facebook API from | |
7081 | GLib/GObject code.") | |
7082 | (home-page "https://wiki.gnome.org/Projects/GFBGraph") | |
7083 | (license license:lgpl2.1+))) | |
3920868c | 7084 | |
7085 | (define-public libgnomekbd | |
7086 | (package | |
7087 | (name "libgnomekbd") | |
4a3f6e02 | 7088 | (version "3.26.0") |
3920868c | 7089 | (source (origin |
7090 | (method url-fetch) | |
7091 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7092 | (version-major+minor version) "/" | |
7093 | name "-" version ".tar.xz")) | |
7094 | (sha256 | |
7095 | (base32 | |
4a3f6e02 | 7096 | "0xc8jrc44x2h24v28wv36k70k7bwxy6p2vsvxvvia1n3ay642fza")))) |
3920868c | 7097 | (build-system gnu-build-system) |
7098 | (native-inputs | |
7099 | `(("pkg-config" ,pkg-config) | |
7100 | ("glib" ,glib "bin") | |
7101 | ("intltool" ,intltool))) | |
7102 | (propagated-inputs | |
7103 | ;; Referred to in .h files and .pc. | |
7104 | `(("glib" ,glib) | |
7105 | ("gtk+" ,gtk+) | |
7106 | ("libxklavier" ,libxklavier))) | |
7107 | (home-page "https://www.gnome.org") | |
7108 | (synopsis "GNOME keyboard configuration library") | |
7109 | (description | |
7110 | "Libgnomekbd is a keyboard configuration library for the GNOME desktop | |
7111 | environment, which can notably display keyboard layouts.") | |
7112 | (license license:lgpl2.0+))) | |
85327d0d | 7113 | |
7114 | ;;; This package is no longer maintained: | |
7115 | ;;; https://wiki.gnome.org/Attic/LibUnique | |
7116 | ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged. | |
7117 | ;;; Applications should use the GtkApplication class provided by GTK+ 3.0." | |
7118 | (define-public libunique | |
7119 | (package | |
7120 | (name "libunique") | |
7121 | (version "3.0.2") | |
7122 | (source (origin | |
7123 | (method url-fetch) | |
7124 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7125 | (version-major+minor version) "/" | |
7126 | name "-" version ".tar.xz")) | |
7127 | (sha256 | |
7128 | (base32 | |
7129 | "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58")))) | |
7130 | (build-system glib-or-gtk-build-system) | |
7131 | (arguments | |
7132 | `(#:configure-flags '("--disable-static" | |
7133 | "--disable-dbus" ; use gdbus | |
7134 | "--enable-introspection"))) | |
7135 | (native-inputs | |
7136 | `(("pkg-config" ,pkg-config) | |
7137 | ("gobject-introspection" ,gobject-introspection) | |
7138 | ("glib:bin" ,glib "bin") | |
7139 | ("gtk-doc" ,gtk-doc))) | |
7140 | (propagated-inputs | |
7141 | ;; Referred to in .h files and .pc. | |
7142 | `(("gtk+" ,gtk+))) | |
7143 | (home-page "https://wiki.gnome.org/Attic/LibUnique") | |
7144 | (synopsis "Library for writing single instance applications") | |
7145 | (description | |
7146 | "Libunique is a library for writing single instance applications. If you | |
7147 | launch a single instance application twice, the second instance will either just | |
7148 | quit or will send a message to the running instance. Libunique makes it easy to | |
7149 | write this kind of application, by providing a base class, taking care of all | |
7150 | the IPC machinery needed to send messages to a running instance, and also | |
7151 | handling the startup notification side.") | |
7152 | (license license:lgpl2.1+))) | |
54021cd8 RS |
7153 | |
7154 | (define-public gnome-calculator | |
7155 | (package | |
7156 | (name "gnome-calculator") | |
2d475910 | 7157 | (version "3.30.1") |
54021cd8 RS |
7158 | (source |
7159 | (origin | |
7160 | (method url-fetch) | |
7161 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7162 | (version-major+minor version) "/" | |
7163 | name "-" version ".tar.xz")) | |
7164 | (sha256 | |
7165 | (base32 | |
2d475910 RW |
7166 | "0qkzcmj51cjmljxl1nc84h6jgq1a51xj4g6jwh3ymgm19m3sqypc")))) |
7167 | (build-system meson-build-system) | |
7168 | (arguments '(#:glib-or-gtk? #t)) | |
54021cd8 RS |
7169 | (native-inputs |
7170 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. | |
2d475910 | 7171 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
54021cd8 RS |
7172 | ("intltool" ,intltool) |
7173 | ("itstool" ,itstool) | |
2d475910 | 7174 | ("vala" ,vala) |
54021cd8 RS |
7175 | ("pkg-config" ,pkg-config))) |
7176 | (inputs | |
112e9083 RW |
7177 | `(("glib" ,glib) |
7178 | ("gtksourceview" ,gtksourceview-3) | |
54021cd8 | 7179 | ("libsoup" ,libsoup) |
112e9083 | 7180 | ("libxml2" ,libxml2) |
2c2da7ec | 7181 | ("mpc" ,mpc) |
54021cd8 RS |
7182 | ("mpfr" ,mpfr))) |
7183 | (home-page "https://wiki.gnome.org/Apps/Calculator") | |
7184 | (synopsis "Desktop calculator") | |
7185 | (description | |
7186 | "Calculator is an application that solves mathematical equations and | |
7187 | is suitable as a default application in a Desktop environment.") | |
7188 | (license license:gpl3))) | |
0bd69759 RS |
7189 | |
7190 | (define-public xpad | |
7191 | (package | |
7192 | (name "xpad") | |
c85626bb | 7193 | (version "5.1.0") |
0bd69759 RS |
7194 | (source |
7195 | (origin | |
7196 | (method url-fetch) | |
08fda9c6 R |
7197 | (uri (string-append "https://launchpad.net/xpad/trunk/" |
7198 | version "/+download/" | |
0bd69759 RS |
7199 | name "-" version ".tar.bz2")) |
7200 | (sha256 | |
7201 | (base32 | |
c85626bb | 7202 | "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3")))) |
0bd69759 RS |
7203 | (build-system gnu-build-system) |
7204 | (native-inputs | |
08fda9c6 R |
7205 | `(("autoconf" ,autoconf) |
7206 | ("automake" ,automake) | |
7207 | ("gtk+:bin" ,gtk+ "bin") | |
7208 | ("intltool" ,intltool) | |
0bd69759 RS |
7209 | ("pkg-config" ,pkg-config))) |
7210 | (inputs | |
08fda9c6 | 7211 | `(("gtksourceview" ,gtksourceview) |
0bd69759 RS |
7212 | ("libsm" ,libsm))) |
7213 | (home-page "https://wiki.gnome.org/Apps/Xpad") | |
7214 | (synopsis "Virtual sticky note") | |
7215 | (description | |
7216 | "Xpad is a sticky note that strives to be simple, fault tolerant, | |
7217 | and customizable. Xpad consists of independent pad windows, each is | |
7218 | basically a text box in which notes can be written.") | |
7219 | (license license:gpl3+))) | |
3ad7dce1 RS |
7220 | |
7221 | (define-public gucharmap | |
c60063ea RW |
7222 | (let ((unicode-files |
7223 | '(("Blocks.txt" | |
7224 | "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas") | |
7225 | ("DerivedAge.txt" | |
7226 | "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h") | |
7227 | ("NamesList.txt" | |
7228 | "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1") | |
7229 | ("Scripts.txt" | |
7230 | "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh") | |
7231 | ("UnicodeData.txt" | |
7232 | "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj") | |
7233 | ("Unihan.zip" | |
7234 | "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1")))) | |
7235 | (package | |
7236 | (name "gucharmap") | |
7237 | (version "10.0.4") | |
7238 | (source | |
7239 | (origin | |
7240 | (method url-fetch) | |
7241 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7242 | (version-major+minor version) "/" | |
7243 | name "-" version ".tar.xz")) | |
7244 | (sha256 | |
7245 | (base32 | |
7246 | "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv")))) | |
7247 | (build-system glib-or-gtk-build-system) | |
7248 | (arguments | |
7249 | `(#:modules ((ice-9 match) | |
7250 | (guix build glib-or-gtk-build-system) | |
7251 | (guix build utils)) | |
7252 | #:configure-flags | |
7253 | (list "--with-unicode-data=../unicode-data") | |
7254 | #:phases | |
7255 | (modify-phases %standard-phases | |
7256 | (add-after 'unpack 'prepare-unicode-data | |
7257 | (lambda* (#:key inputs #:allow-other-keys) | |
7258 | (mkdir-p "../unicode-data") | |
7259 | (with-directory-excursion "../unicode-data" | |
7260 | (for-each (match-lambda | |
7261 | ((file _) | |
7262 | (install-file (assoc-ref inputs file) "."))) | |
7263 | ',unicode-files)) | |
7264 | #t))))) | |
7265 | (native-inputs | |
7266 | `(("desktop-file-utils" ,desktop-file-utils) | |
7267 | ("glib:bin" ,glib "bin") ; for glib-compile-resources. | |
7268 | ("gobject-introspection" ,gobject-introspection) | |
7269 | ("intltool" ,intltool) | |
7270 | ("itstool" ,itstool) | |
7271 | ("pkg-config" ,pkg-config) | |
7272 | ,@(map (match-lambda | |
7273 | ((file hash) | |
7274 | `(,file | |
7275 | ,(origin | |
7276 | (method url-fetch) | |
7277 | (uri (string-append | |
7278 | "http://www.unicode.org/Public/10.0.0/ucd/" | |
7279 | file)) | |
7280 | (sha256 (base32 hash)))))) | |
7281 | unicode-files) | |
7282 | ("unzip" ,unzip))) | |
7283 | (inputs | |
7284 | `(("gtk+" ,gtk+) | |
7285 | ("xmllint" ,libxml2))) | |
7286 | (home-page "https://wiki.gnome.org/Apps/Gucharmap") | |
7287 | (synopsis "Unicode character picker and font browser") | |
7288 | (description | |
7289 | "This program allows you to browse through all the available Unicode | |
3ad7dce1 RS |
7290 | characters and categories for the installed fonts, and to examine their |
7291 | detailed properties. It is an easy way to find the character you might | |
7292 | only know by its Unicode name or code point.") | |
c60063ea | 7293 | (license license:gpl3+)))) |
04ce840a RS |
7294 | |
7295 | (define-public bluefish | |
7296 | (package | |
7297 | (name "bluefish") | |
ea8afaf3 | 7298 | (version "2.2.10") |
04ce840a RS |
7299 | (source |
7300 | (origin | |
7301 | (method url-fetch) | |
7302 | (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/" | |
7303 | name "-" version ".tar.gz")) | |
7304 | (sha256 | |
7305 | (base32 | |
ea8afaf3 | 7306 | "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4")))) |
04ce840a RS |
7307 | (build-system gnu-build-system) |
7308 | (native-inputs | |
7309 | `(("desktop-file-utils" ,desktop-file-utils) | |
7310 | ("intltool" ,intltool) | |
7311 | ("pkg-config" ,pkg-config))) | |
7312 | (inputs | |
7313 | `(("enchant" ,enchant) | |
7314 | ("gtk+" ,gtk+) | |
7315 | ("python" ,python-2) | |
7316 | ("xmllint" ,libxml2) | |
7317 | ("gucharmap" ,gucharmap))) | |
7318 | (home-page "http://bluefish.openoffice.nl") | |
7319 | (synopsis "Web development studio") | |
7320 | (description | |
7321 | "Bluefish is an editor targeted towards programmers and web developers, | |
7322 | with many options to write web sites, scripts and other code. | |
7323 | Bluefish supports many programming and markup languages.") | |
7324 | (license license:gpl3+))) | |
1f6a73ee RS |
7325 | |
7326 | (define-public gnome-system-monitor | |
7327 | (package | |
7328 | (name "gnome-system-monitor") | |
85fb3df3 | 7329 | (version "3.30.0") |
1f6a73ee RS |
7330 | (source |
7331 | (origin | |
7332 | (method url-fetch) | |
7333 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7334 | (version-major+minor version) "/" | |
7335 | name "-" version ".tar.xz")) | |
7336 | (sha256 | |
7337 | (base32 | |
85fb3df3 RW |
7338 | "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888")))) |
7339 | (build-system meson-build-system) | |
7340 | (arguments | |
7341 | '(#:glib-or-gtk? #t | |
7342 | #:configure-flags '("-Dsystemd=false"))) | |
1f6a73ee RS |
7343 | (native-inputs |
7344 | `(("glib:bin" ,glib "bin") ; for glib-mkenums. | |
85fb3df3 | 7345 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
1f6a73ee RS |
7346 | ("intltool" ,intltool) |
7347 | ("itstool" ,itstool) | |
7348 | ("libgtop" ,libgtop) | |
4985d9aa | 7349 | ("polkit" ,polkit) |
1f6a73ee RS |
7350 | ("pkg-config" ,pkg-config))) |
7351 | (inputs | |
7352 | `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files. | |
7353 | ("gtk+" ,gtk+) | |
7354 | ("gtkmm" ,gtkmm) | |
7355 | ("librsvg" ,librsvg) | |
4985d9aa RW |
7356 | ("libxml2" ,libxml2) |
7357 | ("libwnck" ,libwnck))) | |
1f6a73ee RS |
7358 | (home-page "https://wiki.gnome.org/Apps/SystemMonitor") |
7359 | (synopsis "Process viewer and system resource monitor for GNOME") | |
7360 | (description | |
7361 | "GNOME System Monitor is a GNOME process viewer and system monitor with | |
7362 | an attractive, easy-to-use interface. It has features, such as a tree view | |
7363 | for process dependencies, icons for processes, the ability to hide processes, | |
7364 | graphical time histories of CPU/memory/swap usage and the ability to | |
7365 | kill/reinice processes.") | |
7366 | (license license:gpl2+))) | |
3e00ac47 SB |
7367 | |
7368 | (define-public python-pyatspi | |
7369 | (package | |
7370 | (name "python-pyatspi") | |
84548bd7 | 7371 | (version "2.26.0") |
3e00ac47 SB |
7372 | (source (origin |
7373 | (method url-fetch) | |
7374 | (uri (string-append | |
7375 | "mirror://gnome/sources/pyatspi/" | |
7376 | (version-major+minor version) | |
7377 | "/pyatspi-" version ".tar.xz")) | |
7378 | (sha256 | |
7379 | (base32 | |
b95af3f6 JL |
7380 | "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6")) |
7381 | ;; Patch from upstream, fixed in newer versions. | |
7382 | (patches (search-patches "python-pyatspi-python-37.patch")))) | |
3e00ac47 | 7383 | (build-system gnu-build-system) |
b95af3f6 JL |
7384 | (arguments |
7385 | `(#:phases | |
7386 | (modify-phases %standard-phases | |
7387 | (add-before 'build 'fix-atk-load | |
7388 | (lambda _ | |
7389 | (substitute* "pyatspi/__init__.py" | |
7390 | (("from gi.repository import Atspi") | |
7391 | "gi.require_version('Gtk', '3.0') | |
7392 | from gi.repository import Gtk | |
7393 | from gi.repository import Atspi")) | |
7394 | #t))))) | |
3e00ac47 SB |
7395 | (native-inputs |
7396 | `(("pkg-config" ,pkg-config))) | |
7397 | (inputs | |
7398 | `(("python" ,python) | |
7399 | ("python-pygobject" ,python-pygobject))) | |
7400 | (synopsis "Python client bindings for D-Bus AT-SPI") | |
7401 | (home-page "https://wiki.linuxfoundation.org/accessibility\ | |
7402 | /atk/at-spi/at-spi_on_d-bus") | |
7403 | (description | |
7404 | "This package includes a python client library for the AT-SPI D-Bus | |
7405 | accessibility infrastructure.") | |
7406 | (license license:lgpl2.0) | |
7407 | (properties '((upstream-name . "pyatspi"))))) | |
53201c0d SB |
7408 | |
7409 | (define-public orca | |
7410 | (package | |
7411 | (name "orca") | |
870a4e70 | 7412 | (version "3.28.1") |
53201c0d SB |
7413 | (source (origin |
7414 | (method url-fetch) | |
7415 | (uri (string-append | |
7416 | "mirror://gnome/sources/" name "/" | |
7417 | (version-major+minor version) "/" | |
7418 | name "-" version ".tar.xz")) | |
7419 | (sha256 | |
7420 | (base32 | |
870a4e70 | 7421 | "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g")))) |
53201c0d SB |
7422 | (build-system glib-or-gtk-build-system) |
7423 | (arguments | |
7424 | '(#:phases | |
7425 | (modify-phases %standard-phases | |
7426 | (add-before 'configure 'qualify-xkbcomp | |
7427 | (lambda* (#:key inputs #:allow-other-keys) | |
7428 | (let ((xkbcomp (string-append | |
7429 | (assoc-ref inputs "xkbcomp") "/bin/xkbcomp"))) | |
7430 | (substitute* "src/orca/orca.py" | |
7431 | (("'xkbcomp'") (format #f "'~a'" xkbcomp)))) | |
7432 | #t)) | |
7433 | (add-after 'install 'wrap-orca | |
7434 | (lambda* (#:key outputs #:allow-other-keys) | |
7435 | (let* ((out (assoc-ref outputs "out")) | |
7436 | (prog (string-append out "/bin/orca"))) | |
7437 | (wrap-program prog | |
7438 | `("GI_TYPELIB_PATH" ":" prefix | |
7439 | (,(getenv "GI_TYPELIB_PATH"))) | |
7440 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix | |
7441 | (,(getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7442 | `("PYTHONPATH" ":" prefix | |
7443 | (,(getenv "PYTHONPATH"))))) | |
7444 | #t))))) | |
7445 | (native-inputs | |
7446 | `(("intltool" ,intltool) | |
7447 | ("itstool" ,itstool) | |
7448 | ("pkg-config" ,pkg-config) | |
7449 | ("xmllint" ,libxml2))) | |
7450 | (inputs | |
7451 | `(("at-spi2-atk" ,at-spi2-atk) | |
7452 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
7453 | ("gstreamer" ,gstreamer) | |
7454 | ("gst-plugins-base" ,gst-plugins-base) | |
7455 | ("gst-plugins-good" ,gst-plugins-good) | |
7456 | ("gtk+" ,gtk+) | |
7457 | ("python" ,python) | |
7458 | ("python-pygobject" ,python-pygobject) | |
7459 | ("python-pyatspi" ,python-pyatspi) | |
7460 | ("python-speechd" ,speech-dispatcher) | |
7461 | ("xkbcomp" ,xkbcomp))) | |
7462 | (synopsis | |
7463 | "Screen reader for individuals who are blind or visually impaired") | |
7464 | (home-page "https://wiki.gnome.org/Projects/Orca") | |
7465 | (description | |
7466 | "Orca is a screen reader that provides access to the graphical desktop | |
7467 | via speech and refreshable braille. Orca works with applications and toolkits | |
7468 | that support the Assistive Technology Service Provider Interface (AT-SPI).") | |
7469 | (license license:lgpl2.1+))) | |
411ba511 LC |
7470 | |
7471 | (define-public gspell | |
7472 | (package | |
7473 | (name "gspell") | |
9b1bb757 | 7474 | (version "1.8.1") |
411ba511 LC |
7475 | (source (origin |
7476 | (method url-fetch) | |
7477 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7478 | (version-major+minor version) "/" | |
7479 | name "-" version ".tar.xz")) | |
7480 | (sha256 | |
7481 | (base32 | |
9b1bb757 | 7482 | "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1")) |
411ba511 LC |
7483 | (patches (search-patches "gspell-dash-test.patch")))) |
7484 | (build-system glib-or-gtk-build-system) | |
7485 | (arguments | |
7486 | '(#:phases | |
7487 | (modify-phases %standard-phases | |
7488 | (add-before 'check 'pre-check | |
7489 | (lambda* (#:key inputs #:allow-other-keys) | |
7490 | ;; Tests require a running X server. | |
7491 | (system "Xvfb :1 &") | |
7492 | (setenv "DISPLAY" ":1") | |
7493 | ||
7494 | ;; For the missing /etc/machine-id. | |
7495 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
7496 | ||
7497 | ;; Allow Enchant and its Aspell backend to find the en_US | |
7498 | ;; dictionary. | |
7499 | (setenv "ASPELL_DICT_DIR" | |
7500 | (string-append (assoc-ref inputs "aspell-dict-en") | |
7501 | "/lib/aspell")) | |
7502 | #t))))) | |
7503 | (inputs | |
eccd35be | 7504 | `(("gtk+" ,gtk+) |
a801ae4c TGR |
7505 | ("glib" ,glib) |
7506 | ("iso-codes" ,iso-codes))) | |
411ba511 LC |
7507 | (native-inputs |
7508 | `(("glib" ,glib "bin") | |
7509 | ("pkg-config" ,pkg-config) | |
7510 | ("xmllint" ,libxml2) | |
7511 | ||
7512 | ;; For tests. | |
a801ae4c TGR |
7513 | ("aspell-dict-en" ,aspell-dict-en) |
7514 | ("xorg-server" ,xorg-server))) | |
eccd35be | 7515 | (propagated-inputs |
9b1bb757 | 7516 | `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc |
411ba511 LC |
7517 | (home-page "https://wiki.gnome.org/Projects/gspell") |
7518 | (synopsis "GNOME's alternative spell checker") | |
7519 | (description | |
7520 | "gspell provides a flexible API to add spell-checking to a GTK+ | |
7521 | application. It provides a GObject API, spell-checking to text entries and | |
7522 | text views, and buttons to choose the language.") | |
7523 | (license license:gpl2+))) | |
d1d739fa CM |
7524 | |
7525 | (define-public gnome-planner | |
7526 | (package | |
7527 | (name "gnome-planner") | |
7528 | (version "0.14.6") | |
7529 | (source (origin | |
7530 | (method url-fetch) | |
7531 | (uri (string-append "mirror://gnome/sources/planner/" | |
7532 | (version-major+minor version) "/planner-" | |
7533 | version ".tar.xz")) | |
7534 | (sha256 | |
7535 | (base32 | |
7536 | "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k")))) | |
7537 | (build-system glib-or-gtk-build-system) | |
7538 | (arguments | |
7539 | ;; Disable the Python bindings because the Planner program functions | |
7540 | ;; without them, and (as of 2017-06-13) we have not packaged all of | |
7541 | ;; packages that are necessary for building the Python bindings. | |
20b7b75c EF |
7542 | `(#:configure-flags |
7543 | (list "--disable-python" | |
7544 | ,@(if (string=? "aarch64-linux" (%current-system)) | |
7545 | '("--build=aarch64-unknown-linux-gnu") | |
7546 | '())))) | |
d1d739fa CM |
7547 | (inputs |
7548 | `(("libgnomecanvas" ,libgnomecanvas) | |
7549 | ("libgnomeui" ,libgnomeui) | |
7550 | ("libglade" ,libglade) | |
7551 | ("gnome-vfs" ,gnome-vfs) | |
7552 | ("gconf" ,gconf) | |
7553 | ("libxml2" ,libxml2) | |
7554 | ("libxslt" ,libxslt) | |
7555 | ("gtk+" ,gtk+) | |
7556 | ("glib" ,glib))) | |
7557 | (native-inputs | |
7558 | `(("intltool" ,intltool) | |
7559 | ("scrollkeeper" ,scrollkeeper) | |
7560 | ("pkg-config" ,pkg-config))) | |
7561 | (home-page "https://wiki.gnome.org/Apps/Planner") | |
7562 | (synopsis "Project management software for the GNOME desktop") | |
7563 | (description | |
7564 | "GNOME Planner is a project management tool based on the Work Breakdown | |
7565 | Structure (WBS). Its goal is to enable you to easily plan projects. Based on | |
7566 | the resources, tasks, and constraints that you define, Planner generates | |
7567 | various views into a project. For example, Planner can show a Gantt chart of | |
7568 | the project. It can show a detailed summary of tasks including their | |
7569 | duration, cost, and current progress. It can also show a report of resource | |
7570 | utilization that highlights under-utilized and over-utilized resources. These | |
7571 | views can be printed as PDF or PostScript files, or exported to HTML.") | |
4b926cb6 | 7572 | (license license:gpl2+))) |
64fce637 RS |
7573 | |
7574 | (define-public lollypop | |
7575 | (package | |
7576 | (name "lollypop") | |
b98eace8 | 7577 | (version "0.9.521") |
64fce637 RS |
7578 | (source |
7579 | (origin | |
7580 | (method url-fetch) | |
b98eace8 CB |
7581 | (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/" |
7582 | "e4df2ed75c5ed71d64afcc668e579b2a/" | |
64fce637 RS |
7583 | name "-" version ".tar.xz")) |
7584 | (sha256 | |
7585 | (base32 | |
b98eace8 | 7586 | "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx")))) |
aa498fc0 | 7587 | (build-system meson-build-system) |
64fce637 RS |
7588 | (arguments |
7589 | `(#:imported-modules ((guix build python-build-system) | |
aa498fc0 TD |
7590 | ,@%meson-build-system-modules) |
7591 | #:glib-or-gtk? #t | |
5fc9b6c1 EF |
7592 | #:tests? #f ; no test suite |
7593 | #:phases | |
7594 | (modify-phases %standard-phases | |
5fc9b6c1 EF |
7595 | (add-after 'install 'wrap-program |
7596 | (lambda* (#:key outputs #:allow-other-keys) | |
7597 | (let ((out (assoc-ref outputs "out")) | |
7598 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
7599 | (wrap-program (string-append out "/bin/lollypop") | |
7600 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
7601 | #t)) | |
7602 | (add-after 'install 'wrap | |
7603 | (@@ (guix build python-build-system) wrap))))) | |
64fce637 RS |
7604 | (native-inputs |
7605 | `(("intltool" ,intltool) | |
7606 | ("itstool" ,itstool) | |
aa498fc0 TD |
7607 | ("glib:bin" ,glib "bin") ; For glib-compile-resources |
7608 | ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
64fce637 RS |
7609 | ("pkg-config" ,pkg-config))) |
7610 | (inputs | |
7611 | `(("gobject-introspection" ,gobject-introspection) | |
5fc9b6c1 | 7612 | ("gst-plugins-base" ,gst-plugins-base) |
64fce637 RS |
7613 | ("libnotify" ,libnotify) |
7614 | ("libsecret" ,libsecret) | |
7615 | ("libsoup" ,libsoup) | |
7616 | ("python" ,python) | |
7617 | ("python-beautifulsoup4" ,python-beautifulsoup4) | |
7618 | ("python-gst" ,python-gst) | |
7619 | ("python-pycairo" ,python-pycairo) | |
7620 | ("python-pygobject" ,python-pygobject) | |
7621 | ("python-pylast" ,python-pylast) | |
7622 | ("totem-pl-parser" ,totem-pl-parser) | |
7623 | ("webkitgtk" ,webkitgtk))) | |
7624 | (propagated-inputs | |
7625 | `(;; gst-plugins-base is required to start Lollypop, | |
7626 | ;; the others are required to play streaming. | |
64fce637 RS |
7627 | ("gst-plugins-good" ,gst-plugins-good) |
7628 | ("gst-plugins-ugly" ,gst-plugins-ugly))) | |
b98eace8 | 7629 | (home-page "https://wiki.gnome.org/Apps/Lollypop") |
64fce637 RS |
7630 | (synopsis "GNOME music playing application") |
7631 | (description | |
7632 | "Lollypop is a music player designed to play well with GNOME desktop. | |
7633 | Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information | |
7634 | from artists and tracks from the web. It also fetches cover artworks | |
7635 | automatically and it can stream songs from online music services and charts.") | |
7636 | (license license:gpl3+))) | |
d831d49d AW |
7637 | |
7638 | (define-public gnome-video-effects | |
7639 | (package | |
7640 | (name "gnome-video-effects") | |
7641 | (version "0.4.3") | |
7642 | (source (origin | |
7643 | (method url-fetch) | |
7644 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7645 | (version-major+minor version) "/" name "-" | |
7646 | version ".tar.xz")) | |
7647 | (sha256 | |
7648 | (base32 | |
7649 | "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs")))) | |
7650 | (build-system glib-or-gtk-build-system) | |
7651 | (arguments | |
7652 | `(#:out-of-source? #f)) | |
7653 | (native-inputs | |
7654 | `(("glib:bin" ,glib "bin") | |
7655 | ("intltool" ,intltool) | |
7656 | ("gettext" ,gettext-minimal) | |
7657 | ("pkg-config" ,pkg-config))) | |
7658 | (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects") | |
7659 | (synopsis "Video effects for Cheese and other GNOME applications") | |
7660 | (description | |
7661 | "A collection of GStreamer video filters and effects to be used in | |
7662 | photo-booth-like software, such as Cheese.") | |
7663 | (license license:gpl2+))) | |
3511c780 AW |
7664 | |
7665 | (define-public cheese | |
7666 | (package | |
7667 | (name "cheese") | |
4b3480d6 | 7668 | (version "3.28.0") |
3511c780 AW |
7669 | (source (origin |
7670 | (method url-fetch) | |
7671 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7672 | (version-major+minor version) "/" name "-" | |
7673 | version ".tar.xz")) | |
7674 | (sha256 | |
7675 | (base32 | |
4b3480d6 | 7676 | "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw")))) |
3511c780 AW |
7677 | (arguments |
7678 | ;; Tests require GDK. | |
7679 | `(#:tests? #f | |
7680 | #:phases | |
7681 | (modify-phases %standard-phases | |
7682 | (add-before 'install 'skip-gtk-update-icon-cache | |
7683 | (lambda _ | |
7684 | ;; Don't create 'icon-theme.cache' | |
7685 | (substitute* "Makefile" | |
7686 | (("gtk-update-icon-cache") (which "true"))) | |
7687 | #t)) | |
7688 | (add-after 'install 'wrap-cheese | |
7689 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
7690 | (let ((out (assoc-ref outputs "out")) | |
7691 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7692 | (wrap-program (string-append out "/bin/cheese") | |
7693 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
7694 | #t))))) | |
7695 | (build-system glib-or-gtk-build-system) | |
7696 | (native-inputs | |
7697 | `(("glib:bin" ,glib "bin") | |
7698 | ("intltool" ,intltool) | |
7699 | ("itstool" ,itstool) | |
7700 | ("libxml2" ,libxml2) | |
7701 | ("pkg-config" ,pkg-config) | |
7702 | ("vala" ,vala))) | |
7703 | (propagated-inputs | |
6a19f03e RW |
7704 | `(("gnome-video-effects" ,gnome-video-effects) |
7705 | ("clutter" ,clutter) | |
3511c780 AW |
7706 | ("clutter-gst" ,clutter-gst) |
7707 | ("clutter-gtk" ,clutter-gtk) | |
6a19f03e | 7708 | ("libcanberra" ,libcanberra) |
3511c780 AW |
7709 | ("gdk-pixbuf" ,gdk-pixbuf) |
7710 | ("glib" ,glib) | |
6a19f03e RW |
7711 | ("gstreamer" ,gstreamer))) |
7712 | (inputs | |
7713 | `(("gnome-desktop" ,gnome-desktop) | |
3511c780 | 7714 | ("gobject-introspection" ,gobject-introspection) |
3511c780 AW |
7715 | ("gst-plugins-base" ,gst-plugins-base) |
7716 | ("gst-plugins-bad" ,gst-plugins-bad) | |
7717 | ("gtk+" ,gtk+) | |
3511c780 AW |
7718 | ("libx11" ,libx11) |
7719 | ("libxtst" ,libxtst))) | |
7720 | (home-page "https://wiki.gnome.org/Apps/Cheese") | |
7721 | (synopsis "Webcam photo booth software for GNOME") | |
7722 | (description | |
7723 | "Cheese uses your webcam to take photos and videos. Cheese can also | |
7724 | apply fancy special effects and lets you share the fun with others.") | |
7725 | (license license:gpl2+))) | |
3c5dbd2b | 7726 | |
7727 | (define-public sound-juicer | |
7728 | (package | |
7729 | (name "sound-juicer") | |
7730 | (version "3.24.0") | |
7731 | (source | |
7732 | (origin | |
7733 | (method url-fetch) | |
7734 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7735 | (version-major+minor version) "/" | |
7736 | name "-" version ".tar.xz")) | |
7737 | (sha256 | |
7738 | (base32 | |
7739 | "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny")))) | |
7740 | (build-system glib-or-gtk-build-system) | |
7741 | (native-inputs | |
7742 | `(("desktop-file-utils" ,desktop-file-utils) | |
7743 | ("intltool" ,intltool) | |
7744 | ("itstool" ,itstool) | |
7745 | ("pkg-config" ,pkg-config) | |
7746 | ("xmllint" ,libxml2))) | |
7747 | (inputs | |
7748 | `(("gtk+" ,gtk+) | |
7749 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
7750 | ("gstreamer" ,gstreamer) | |
7751 | ("gst-plugins-base" ,gst-plugins-base) | |
7752 | ("gst-plugins-good" ,gst-plugins-good) | |
7753 | ("iso-codes" ,iso-codes) | |
7754 | ("libbrasero-media3" ,brasero) | |
7755 | ("libcanberra" ,libcanberra) | |
7756 | ("libdiscid" ,libdiscid) | |
7757 | ("libmusicbrainz" ,libmusicbrainz) | |
7758 | ("neon" ,neon))) | |
7759 | (home-page "https://wiki.gnome.org/Apps/SoundJuicer") | |
7760 | (synopsis "Audio music cd ripper") | |
7761 | (description "Sound Juicer extracts audio from compact discs and convert it | |
7762 | into audio files that a personal computer or digital audio player can play. | |
7763 | It supports ripping to any audio codec supported by a GStreamer plugin, such as | |
7764 | mp3, Ogg Vorbis and FLAC") | |
7765 | (license license:gpl2+))) | |
4e3fdeb7 | 7766 | |
0d3f1708 CB |
7767 | (define-public soundconverter |
7768 | (package | |
7769 | (name "soundconverter") | |
fa75a213 | 7770 | (version "3.0.1") |
0d3f1708 CB |
7771 | (source |
7772 | (origin | |
7773 | (method url-fetch) | |
7774 | (uri (string-append "https://launchpad.net/soundconverter/trunk/" | |
7775 | version "/+download/" | |
7776 | "soundconverter-" version ".tar.xz")) | |
7777 | ||
7778 | (sha256 | |
fa75a213 | 7779 | (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5")) |
0d3f1708 CB |
7780 | (patches |
7781 | (search-patches | |
7782 | "soundconverter-remove-gconf-dependency.patch")))) | |
7783 | (build-system glib-or-gtk-build-system) | |
7784 | (arguments | |
7785 | `(#:imported-modules ((guix build python-build-system) | |
7786 | (guix build glib-or-gtk-build-system) | |
7787 | ,@%gnu-build-system-modules) | |
7788 | ||
7789 | #:modules ((guix build glib-or-gtk-build-system) | |
7790 | (guix build utils) | |
7791 | ((guix build gnu-build-system) #:prefix gnu:) | |
7792 | ((guix build python-build-system) #:prefix python:)) | |
7793 | ||
7794 | #:phases | |
7795 | (modify-phases %standard-phases | |
0d3f1708 CB |
7796 | (add-after 'install 'wrap-soundconverter-for-python |
7797 | (assoc-ref python:%standard-phases 'wrap)) | |
7798 | (add-after 'install 'wrap-soundconverter | |
7799 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
7800 | (let ((out (assoc-ref outputs "out")) | |
7801 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
7802 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7803 | (wrap-program (string-append out "/bin/soundconverter") | |
7804 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
7805 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
7806 | #t))))) | |
7807 | (native-inputs | |
7808 | `(("intltool" ,intltool) | |
7809 | ("pkg-config" ,pkg-config) | |
7810 | ("glib:bin" ,glib "bin"))) | |
7811 | (inputs | |
7812 | `(("gtk+" ,gtk+) | |
7813 | ("python" ,python) | |
7814 | ("python-pygobject" ,python-pygobject) | |
7815 | ("gstreamer" ,gstreamer) | |
7816 | ("gst-plugins-base" ,gst-plugins-base))) | |
7817 | (home-page "http://soundconverter.org/") | |
7818 | (synopsis "Convert between audio formats with a graphical interface") | |
7819 | (description | |
7820 | "SoundConverter supports converting between many audio formats including | |
7821 | Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and | |
7822 | configurable file renaming. ") | |
7823 | (license license:gpl3))) | |
7824 | ||
4e3fdeb7 | 7825 | (define-public workrave |
89f2d736 TGR |
7826 | (package |
7827 | (name "workrave") | |
c2e50474 | 7828 | (version "1.10.23") |
89f2d736 TGR |
7829 | (source |
7830 | (origin | |
7831 | (method git-fetch) | |
7832 | (uri (git-reference | |
7833 | (url "https://github.com/rcaelers/workrave.git") | |
c2e50474 TGR |
7834 | (commit (string-append "v" (string-map |
7835 | (match-lambda (#\. #\_) (chr chr)) | |
7836 | version))))) | |
89f2d736 TGR |
7837 | (file-name (git-file-name name version)) |
7838 | (sha256 | |
c2e50474 | 7839 | (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw")))) |
89f2d736 TGR |
7840 | (build-system glib-or-gtk-build-system) |
7841 | (propagated-inputs `(("glib" ,glib) | |
7842 | ("gtk+" ,gtk+) | |
7843 | ("gdk-pixbuf" ,gdk-pixbuf) | |
7844 | ("gtkmm" ,gtkmm) | |
7845 | ("glibmm" ,glibmm) | |
7846 | ("libx11" ,libx11) | |
7847 | ("libxtst" ,libxtst) | |
7848 | ("dconf" ,dconf) | |
7849 | ("libice" ,libice))) | |
7850 | (inputs `(("libsm" ,libsm) | |
7851 | ("python-cheetah" ,python2-cheetah))) | |
7852 | (native-inputs `(("glib" ,glib "bin") | |
7853 | ("pkg-config" ,pkg-config) | |
7854 | ("gettext" ,gnu-gettext) | |
7855 | ("autoconf" ,autoconf) | |
7856 | ("autoconf-archive" , autoconf-archive) | |
7857 | ("automake" ,automake) | |
7858 | ("libtool" ,libtool) | |
7859 | ("intltool" ,intltool) | |
7860 | ("libxscrnsaver" ,libxscrnsaver) | |
7861 | ("gobject-introspection" ,gobject-introspection) | |
7862 | ("python2" ,python-2))) | |
7863 | (synopsis "Tool to help prevent repetitive strain injury (RSI)") | |
7864 | (description | |
7865 | "Workrave is a program that assists in the recovery and prevention of | |
cc00249b TGR |
7866 | repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take |
7867 | micro-pauses and rest breaks, and restricts you to your daily limit.") | |
89f2d736 TGR |
7868 | (home-page "http://www.workrave.org") |
7869 | (license license:gpl3+))) | |
312afa7d LC |
7870 | |
7871 | (define-public ghex | |
7872 | (package | |
7873 | (name "ghex") | |
7874 | (version "3.18.3") | |
7875 | (source (origin | |
7876 | (method url-fetch) | |
2fbab848 | 7877 | (uri (string-append "mirror://gnome/sources/ghex/" |
312afa7d | 7878 | (version-major+minor version) "/" |
2fbab848 | 7879 | "ghex-" version ".tar.xz")) |
312afa7d LC |
7880 | (sha256 |
7881 | (base32 | |
7882 | "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66")))) | |
7883 | (build-system glib-or-gtk-build-system) | |
7884 | (native-inputs | |
7885 | `(("pkg-config" ,pkg-config) | |
7886 | ("gnome-common" ,gnome-common) | |
7887 | ("which" ,which) | |
7888 | ("intltool" ,intltool) | |
7889 | ("yelp-tools" ,yelp-tools) | |
2fbab848 | 7890 | ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate' |
312afa7d LC |
7891 | (inputs |
7892 | `(("atk" ,atk) | |
7893 | ("gtk" ,gtk+))) | |
7894 | (synopsis "GNOME hexadecimal editor") | |
7895 | (description "The GHex program can view and edit files in two ways: | |
7896 | hexadecimal or ASCII. It is useful for editing binary files in general.") | |
7897 | (home-page "https://wiki.gnome.org/Apps/Ghex") | |
7898 | (license license:gpl2))) | |
4b2ed6c2 RW |
7899 | |
7900 | (define-public libdazzle | |
7901 | (package | |
7902 | (name "libdazzle") | |
817b3fd1 | 7903 | (version "3.30.2") |
4b2ed6c2 RW |
7904 | (source (origin |
7905 | (method url-fetch) | |
687b4909 | 7906 | (uri (string-append "mirror://gnome/sources/libdazzle/" |
4b2ed6c2 | 7907 | (version-major+minor version) "/" |
687b4909 | 7908 | "libdazzle-" version ".tar.xz")) |
4b2ed6c2 RW |
7909 | (sha256 |
7910 | (base32 | |
817b3fd1 | 7911 | "1m9n1gcxndly24rjkxzvmx02a2rkb6ad4cy7p6ncanm1kyp0wxvq")))) |
4b2ed6c2 RW |
7912 | (build-system meson-build-system) |
7913 | (arguments | |
7914 | `(#:phases | |
7915 | (modify-phases %standard-phases | |
7916 | (add-after 'unpack 'disable-failing-test | |
7917 | (lambda _ | |
7918 | ;; Disable failing test. | |
7919 | (substitute* "tests/meson.build" | |
7920 | (("test\\('test-application") "#")) | |
7921 | #t)) | |
7922 | (add-before 'check 'pre-check | |
7923 | (lambda _ | |
7924 | ;; Tests require a running X server. | |
7925 | (system "Xvfb :1 &") | |
7926 | (setenv "DISPLAY" ":1") | |
7927 | #t))))) | |
7928 | (native-inputs | |
687b4909 | 7929 | `(("glib" ,glib "bin") ; glib-compile-resources |
4b2ed6c2 | 7930 | ("pkg-config" ,pkg-config) |
687b4909 | 7931 | ;; For tests. |
4b2ed6c2 RW |
7932 | ("xorg-server" ,xorg-server))) |
7933 | (inputs | |
7934 | `(("glib" ,glib) | |
7935 | ("gobject-introspection" ,gobject-introspection) | |
7936 | ("gtk+" ,gtk+) | |
7937 | ("vala" ,vala))) | |
7938 | (home-page "https://gitlab.gnome.org/GNOME/libdazzle") | |
7939 | (synopsis "Companion library to GObject and Gtk+") | |
7940 | (description "The libdazzle library is a companion library to GObject and | |
7941 | Gtk+. It provides various features that the authors wish were in the | |
7942 | underlying library but cannot for various reasons. In most cases, they are | |
7943 | wildly out of scope for those libraries. In other cases, they are not quite | |
7944 | generic enough to work for everyone.") | |
7945 | (license license:gpl3+))) | |
7d3bb433 RW |
7946 | |
7947 | (define-public evolution | |
7948 | (package | |
7949 | (name "evolution") | |
7950 | (version "3.28.1") | |
7951 | (source (origin | |
7952 | (method url-fetch) | |
7953 | (uri (string-append "mirror://gnome/sources/evolution/" | |
7954 | (version-major+minor version) "/" | |
7955 | "evolution-" version ".tar.xz")) | |
7956 | (sha256 | |
7957 | (base32 | |
7958 | "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l")))) | |
7959 | (build-system cmake-build-system) | |
7960 | (arguments | |
7961 | `(#:configure-flags | |
7962 | (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged | |
7963 | "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release | |
7964 | ; in four years and cannot be built. | |
7965 | (native-inputs | |
7966 | `(("glib" ,glib "bin") ; glib-mkenums | |
7967 | ("pkg-config" ,pkg-config) | |
7968 | ("intltool" ,intltool) | |
7969 | ("itstool" ,itstool))) | |
7970 | (inputs | |
7971 | `(("enchant" ,enchant) | |
7972 | ("evolution-data-server" ,evolution-data-server) ; must be the same version | |
7973 | ("gcr" ,gcr) | |
7974 | ("gnome-autoar" ,gnome-autoar) | |
7975 | ("gnome-desktop" ,gnome-desktop) | |
7976 | ("gtkspell3" ,gtkspell3) | |
7977 | ("highlight" ,highlight) | |
7978 | ("libcanberra" ,libcanberra) | |
b63c06f1 | 7979 | ("libedataserverui" ,evolution-data-server) |
7d3bb433 RW |
7980 | ("libgweather" ,libgweather) |
7981 | ("libnotify" ,libnotify) | |
7982 | ("libsoup" ,libsoup) | |
7983 | ("nss" ,nss) | |
7984 | ("openldap" ,openldap) | |
7985 | ("webkitgtk" ,webkitgtk) | |
7986 | ("ytnef" ,ytnef))) | |
7987 | (home-page "https://gitlab.gnome.org/GNOME/evolution") | |
7988 | (synopsis "Manage your email, contacts and schedule") | |
7989 | (description "Evolution is a personal information management application | |
7990 | that provides integrated mail, calendaring and address book | |
7991 | functionality.") | |
7992 | ;; See COPYING for details. | |
23dbe621 | 7993 | (license (list license:lgpl2.1 license:lgpl3 ; either one of these |
7d3bb433 | 7994 | license:openldap2.8 ; addressbook/gui/component/openldap-extract.h |
23dbe621 | 7995 | license:lgpl2.1+)))) ; smime/lib/* |
169d63f5 AT |
7996 | |
7997 | (define-public gthumb | |
7998 | (package | |
7999 | (name "gthumb") | |
8000 | (version "3.8.0") | |
8001 | (source (origin | |
8002 | (method url-fetch) | |
8003 | (uri (string-append "mirror://gnome/sources/gthumb/" | |
8004 | (version-major+minor version) "/" | |
8005 | "gthumb-" version ".tar.xz")) | |
8006 | (sha256 | |
8007 | (base32 | |
8008 | "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f")))) | |
8009 | (build-system meson-build-system) | |
8010 | (arguments | |
8011 | `(#:glib-or-gtk? #t | |
8012 | #:configure-flags | |
8013 | ;; Ensure the RUNPATH contains all installed library locations. | |
8014 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
8015 | (assoc-ref %outputs "out") | |
8016 | "/lib/gthumb/extensions") | |
8017 | (string-append "-Dcpp_link_args=-Wl,-rpath=" | |
8018 | (assoc-ref %outputs "out") | |
8019 | "/lib/gthumb/extensions")))) | |
8020 | (native-inputs | |
8021 | `(("pkg-config" ,pkg-config) | |
8022 | ("glib:bin" ,glib "bin") ; for glib-compile-resources | |
8023 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
8024 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database | |
8025 | ("intltool" ,intltool) | |
8026 | ("itstool" ,itstool))) | |
8027 | (inputs | |
8028 | `(("exiv2" ,exiv2) | |
8029 | ("gtk" ,gtk+) | |
8030 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
8031 | ("gstreamer" ,gstreamer) | |
8032 | ("clutter" ,clutter) | |
8033 | ("clutter-gst" ,clutter-gst) | |
8034 | ("clutter-gtk" ,clutter-gtk) | |
8035 | ("libjpeg" ,libjpeg) | |
8036 | ("libtiff" ,libtiff) | |
8037 | ("libraw" ,libraw))) | |
8038 | (home-page "https://wiki.gnome.org/Apps/Gthumb") | |
8039 | (synopsis "GNOME image viewer and browser") | |
8040 | (description "GThumb is an image viewer, browser, organizer, editor and | |
8041 | advanced image management tool") | |
8042 | (license license:gpl2+))) | |
08be02be AT |
8043 | |
8044 | (define-public terminator | |
8045 | (package | |
8046 | (name "terminator") | |
8047 | (version "1.91") | |
8048 | (source (origin | |
8049 | (method url-fetch) | |
8050 | (uri (string-append "https://launchpad.net/" name "/" | |
8051 | "gtk3/" version "/" "+download/" | |
8052 | name "-" version ".tar.gz")) | |
8053 | (sha256 | |
8054 | (base32 | |
8055 | "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm")))) | |
8056 | (build-system python-build-system) | |
8057 | (native-inputs | |
8058 | `(("intltool" ,intltool) | |
8059 | ("glib:bin" ,glib "bin") ; for glib-compile-resources | |
8060 | ("gettext" ,gettext-minimal) | |
8061 | ("pkg-config" ,pkg-config))) | |
8062 | (inputs | |
8063 | `(("cairo" ,cairo) | |
8064 | ("gobject-introspection" ,gobject-introspection) | |
8065 | ("python2-pycairo" ,python2-pycairo) | |
8066 | ("python2-pygobject" ,python2-pygobject) | |
8067 | ("python2-psutil" ,python2-psutil) | |
8068 | ("vte" ,vte))) | |
8069 | (arguments | |
8070 | `(#:python ,python-2 ;Python 3 not supported | |
8071 | #:phases | |
8072 | (modify-phases %standard-phases | |
8073 | (add-after | |
8074 | 'install 'wrap-program | |
8075 | (lambda* (#:key outputs #:allow-other-keys) | |
8076 | (let ((prog (string-append (assoc-ref outputs "out") | |
8077 | "/bin/terminator"))) | |
8078 | (wrap-program prog | |
8079 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
8080 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) | |
8081 | #t)))))) | |
8082 | (home-page "https://gnometerminator.blogspot.com/") | |
8083 | (synopsis "Store and run multiple GNOME terminals in one window") | |
8084 | (description | |
8085 | "Terminator allows you to run multiple GNOME terminals in a grid and | |
8086 | +tabs, and it supports drag and drop re-ordering of terminals.") | |
8087 | (license license:gpl2))) |