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> |
995b7261 AE |
39 | ;;; |
40 | ;;; This file is part of GNU Guix. | |
41 | ;;; | |
42 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
43 | ;;; under the terms of the GNU General Public License as published by | |
44 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
45 | ;;; your option) any later version. | |
46 | ;;; | |
47 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
48 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
49 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
50 | ;;; GNU General Public License for more details. | |
51 | ;;; | |
52 | ;;; You should have received a copy of the GNU General Public License | |
53 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
54 | ||
55 | (define-module (gnu packages gnome) | |
ed19903d | 56 | #:use-module (gnu packages) |
ba5dd105 | 57 | #:use-module (gnu packages admin) |
411ba511 | 58 | #:use-module (gnu packages aspell) |
75016d07 | 59 | #:use-module (gnu packages autotools) |
7b212526 | 60 | #:use-module (gnu packages avahi) |
b29909b4 | 61 | #:use-module (gnu packages backup) |
6a180f6f | 62 | #:use-module (gnu packages base) |
1e33331c | 63 | #:use-module (gnu packages bash) |
5698b8b8 | 64 | #:use-module (gnu packages bison) |
5fc9b6c1 | 65 | #:use-module (gnu packages build-tools) |
df217748 | 66 | #:use-module (gnu packages calendar) |
b29909b4 | 67 | #:use-module (gnu packages cdrom) |
df12f04a | 68 | #:use-module (gnu packages check) |
d61a894b | 69 | #:use-module (gnu packages cmake) |
b29909b4 | 70 | #:use-module (gnu packages compression) |
23a22af6 | 71 | #:use-module (gnu packages cups) |
6e1bb642 | 72 | #:use-module (gnu packages curl) |
c3f29bc9 | 73 | #:use-module (gnu packages cyrus-sasl) |
6e1bb642 | 74 | #:use-module (gnu packages databases) |
255d1bbe | 75 | #:use-module (gnu packages dbm) |
c769cf9f | 76 | #:use-module (gnu packages djvu) |
ba5dd105 | 77 | #:use-module (gnu packages dns) |
b4ce6300 | 78 | #:use-module (gnu packages docbook) |
b29909b4 | 79 | #:use-module (gnu packages documentation) |
329d731b | 80 | #:use-module (gnu packages enchant) |
b29909b4 TGR |
81 | #:use-module (gnu packages flex) |
82 | #:use-module (gnu packages fonts) | |
a56be436 | 83 | #:use-module (gnu packages fontutils) |
b29909b4 | 84 | #:use-module (gnu packages freedesktop) |
dfc407f3 | 85 | #:use-module (gnu packages game-development) |
90387432 | 86 | #:use-module (gnu packages gcc) |
fed5a689 | 87 | #:use-module (gnu packages gettext) |
b29909b4 TGR |
88 | #:use-module (gnu packages ghostscript) |
89 | #:use-module (gnu packages gl) | |
995b7261 | 90 | #:use-module (gnu packages glib) |
c1354b90 | 91 | #:use-module (gnu packages gnupg) |
23a22af6 | 92 | #:use-module (gnu packages gnuzilla) |
b29909b4 TGR |
93 | #:use-module (gnu packages gperf) |
94 | #:use-module (gnu packages graphviz) | |
85f5dc19 | 95 | #:use-module (gnu packages gstreamer) |
d9c1a22b | 96 | #:use-module (gnu packages gtk) |
6b888eff | 97 | #:use-module (gnu packages guile) |
b645146f | 98 | #:use-module (gnu packages ibus) |
b29909b4 TGR |
99 | #:use-module (gnu packages image) |
100 | #:use-module (gnu packages imagemagick) | |
101 | #:use-module (gnu packages inkscape) | |
9cc98f8a | 102 | #:use-module (gnu packages iso-codes) |
b29909b4 | 103 | #:use-module (gnu packages kerberos) |
85f5dc19 | 104 | #:use-module (gnu packages libcanberra) |
b64e217f | 105 | #:use-module (gnu packages libunistring) |
75016d07 | 106 | #:use-module (gnu packages libusb) |
b29909b4 | 107 | #:use-module (gnu packages linux) |
4e3fc547 | 108 | #:use-module (gnu packages lirc) |
7b212526 | 109 | #:use-module (gnu packages lua) |
b29909b4 TGR |
110 | #:use-module (gnu packages mail) |
111 | #:use-module (gnu packages multiprecision) | |
64fce637 | 112 | #:use-module (gnu packages music) |
b29909b4 TGR |
113 | #:use-module (gnu packages ncurses) |
114 | #:use-module (gnu packages nettle) | |
ba5dd105 | 115 | #:use-module (gnu packages networking) |
5fc9b6c1 | 116 | #:use-module (gnu packages ninja) |
aff0cce9 | 117 | #:use-module (gnu packages nss) |
b29909b4 | 118 | #:use-module (gnu packages openldap) |
b645146f | 119 | #:use-module (gnu packages password-utils) |
de1215e2 | 120 | #:use-module (gnu packages pcre) |
b29909b4 | 121 | #:use-module (gnu packages pdf) |
27477d2d | 122 | #:use-module (gnu packages perl) |
f70d8383 | 123 | #:use-module (gnu packages photo) |
995b7261 | 124 | #:use-module (gnu packages pkg-config) |
b29909b4 TGR |
125 | #:use-module (gnu packages polkit) |
126 | #:use-module (gnu packages popt) | |
7d3bb433 | 127 | #:use-module (gnu packages pretty-print) |
23a22af6 | 128 | #:use-module (gnu packages pulseaudio) |
995b7261 | 129 | #:use-module (gnu packages python) |
00014781 RW |
130 | #:use-module (gnu packages python-crypto) |
131 | #:use-module (gnu packages python-web) | |
44d10b1f | 132 | #:use-module (gnu packages python-xyz) |
cce0da5e | 133 | #:use-module (gnu packages rdesktop) |
b29909b4 | 134 | #:use-module (gnu packages readline) |
a76d0f03 | 135 | #:use-module (gnu packages ruby) |
ec47c07d | 136 | #:use-module (gnu packages rust) |
b29909b4 | 137 | #:use-module (gnu packages samba) |
75016d07 | 138 | #:use-module (gnu packages scanner) |
240cee8a | 139 | #:use-module (gnu packages selinux) |
c27e02bf | 140 | #:use-module (gnu packages slang) |
b29909b4 TGR |
141 | #:use-module (gnu packages speech) |
142 | #:use-module (gnu packages spice) | |
cd0322a3 | 143 | #:use-module (gnu packages sqlite) |
4a1bf090 | 144 | #:use-module (gnu packages ssh) |
8f9ac901 | 145 | #:use-module (gnu packages tex) |
33dc54b0 | 146 | #:use-module (gnu packages time) |
a7fd7b68 | 147 | #:use-module (gnu packages tls) |
3c5dbd2b | 148 | #:use-module (gnu packages version-control) |
b29909b4 | 149 | #:use-module (gnu packages video) |
59132b80 | 150 | #:use-module (gnu packages virtualization) |
f2b96b3a | 151 | #:use-module (gnu packages vpn) |
a18f8eaf | 152 | #:use-module (gnu packages web) |
b29909b4 TGR |
153 | #:use-module (gnu packages web) |
154 | #:use-module (gnu packages webkit) | |
155 | #:use-module (gnu packages xdisorg) | |
156 | #:use-module (gnu packages xiph) | |
157 | #:use-module (gnu packages xml) | |
d633f2f6 | 158 | #:use-module (gnu packages xorg) |
b29909b4 | 159 | #:use-module (gnu packages xorg) |
a76d0f03 | 160 | #:use-module (gnu artwork) |
b29909b4 TGR |
161 | #:use-module (guix build-system cmake) |
162 | #:use-module (guix build-system glib-or-gtk) | |
163 | #:use-module (guix build-system gnu) | |
164 | #:use-module (guix build-system meson) | |
08be02be | 165 | #:use-module (guix build-system python) |
b29909b4 TGR |
166 | #:use-module (guix build-system trivial) |
167 | #:use-module (guix download) | |
168 | #:use-module (guix git-download) | |
169 | #:use-module ((guix licenses) #:prefix license:) | |
170 | #:use-module (guix packages) | |
171 | #:use-module (guix utils) | |
a76d0f03 | 172 | #:use-module (guix gexp) |
4e3fdeb7 | 173 | #:use-module (ice-9 match) |
c024ae36 | 174 | #:use-module (srfi srfi-1)) |
85f5dc19 AE |
175 | |
176 | (define-public brasero | |
177 | (package | |
178 | (name "brasero") | |
e2bf423a | 179 | (version "3.12.2") |
85f5dc19 AE |
180 | (source (origin |
181 | (method url-fetch) | |
e8627cd9 DH |
182 | (uri (string-append "mirror://gnome/sources/" name "/" |
183 | (version-major+minor version) "/" | |
184 | name "-" version ".tar.xz")) | |
85f5dc19 AE |
185 | (sha256 |
186 | (base32 | |
e2bf423a | 187 | "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8")))) |
1c40e3b7 | 188 | (build-system glib-or-gtk-build-system) |
e8627cd9 DH |
189 | (arguments |
190 | `(#:configure-flags (list | |
191 | (string-append "--with-girdir=" | |
192 | (assoc-ref %outputs "out") | |
193 | "/share/gir-1.0") | |
194 | (string-append "--with-typelibdir=" | |
195 | (assoc-ref %outputs "out") | |
ce426deb TD |
196 | "/lib/girepository-1.0")) |
197 | #:phases | |
198 | (modify-phases %standard-phases | |
199 | (add-before 'configure 'embed-growisofs | |
200 | (lambda* (#:key inputs #:allow-other-keys) | |
201 | (substitute* "plugins/growisofs/burn-growisofs.c" | |
202 | (("\"growisofs") (string-append "\"" (which "growisofs")))) | |
e2bf423a | 203 | #t))))) |
85f5dc19 AE |
204 | (propagated-inputs |
205 | `(("hicolor-icon-theme" ,hicolor-icon-theme))) | |
9cc98f8a CR |
206 | (native-inputs |
207 | `(("intltool" ,intltool) | |
426adbe8 | 208 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
e8627cd9 | 209 | ("gobject-introspection" ,gobject-introspection) |
9cc98f8a | 210 | ("pkg-config" ,pkg-config))) |
85f5dc19 | 211 | (inputs |
ce426deb TD |
212 | `(("dvd+rw-tools" ,dvd+rw-tools) |
213 | ("glib" ,glib) | |
85f5dc19 AE |
214 | ("gnome-doc-utils" ,gnome-doc-utils) |
215 | ("gstreamer" ,gstreamer) | |
216 | ("gst-plugins-base" ,gst-plugins-base) | |
217 | ("gtk+" ,gtk+) | |
85f5dc19 AE |
218 | ("itstool" ,itstool) |
219 | ("libcanberra" ,libcanberra) | |
220 | ("libice" ,libice) | |
221 | ("libnotify" ,libnotify) | |
222 | ("libsm" ,libsm) | |
e8627cd9 DH |
223 | ("libxml2" ,libxml2) |
224 | ("nettle" ,nettle) | |
225 | ("totem-pl-parser" ,totem-pl-parser))) | |
85f5dc19 AE |
226 | (home-page "https://projects.gnome.org/brasero/") |
227 | (synopsis "CD/DVD burning tool for Gnome") | |
228 | (description "Brasero is an application to burn CD/DVD for the Gnome | |
229 | Desktop. It is designed to be as simple as possible and has some unique | |
230 | features to enable users to create their discs easily and quickly.") | |
1dd26275 | 231 | (license license:gpl2+))) |
995b7261 | 232 | |
d61a894b CB |
233 | (define-public deja-dup |
234 | (package | |
235 | (name "deja-dup") | |
236 | (version "34.3") | |
237 | (source (origin | |
238 | (method url-fetch) | |
239 | (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz") | |
240 | (sha256 | |
241 | (base32 | |
242 | "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9")) | |
243 | (patches | |
244 | (search-patches "deja-dup-use-ref-keyword-for-iter.patch")))) | |
245 | (build-system glib-or-gtk-build-system) | |
246 | (arguments | |
247 | `(#:modules ((guix build gnu-build-system) | |
248 | ((guix build cmake-build-system) #:prefix cmake:) | |
249 | (guix build glib-or-gtk-build-system) | |
250 | (guix build utils)) | |
251 | #:imported-modules (,@%glib-or-gtk-build-system-modules | |
252 | (guix build cmake-build-system)) | |
253 | #:test-target "test" | |
254 | #:configure-flags (list (string-append | |
255 | "-DCMAKE_INSTALL_FULL_DATADIR=" %output) | |
256 | (string-append | |
257 | "-DCMAKE_INSTALL_LIBEXECDIR=" %output)) | |
258 | #:phases | |
259 | (modify-phases %standard-phases | |
260 | (add-after 'unpack 'patch-lockfile-deletion | |
261 | (lambda rest | |
262 | (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala" | |
263 | (("/bin/rm") | |
264 | (which "rm"))))) | |
265 | (replace 'configure | |
266 | (assoc-ref cmake:%standard-phases 'configure)) | |
267 | (delete 'check) ;; Fails due to issues with DBus | |
268 | (add-after 'install 'wrap-deja-dup | |
269 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
270 | (let ((python (assoc-ref inputs "python")) | |
271 | (python-path (getenv "PYTHONPATH")) | |
272 | (duplicity (assoc-ref inputs "duplicity")) | |
273 | (out (assoc-ref outputs "out"))) | |
274 | (for-each | |
275 | (lambda (program) | |
276 | (wrap-program program | |
277 | `("PATH" ":" prefix (,(string-append python "/bin") | |
278 | ,(string-append duplicity "/bin")))) | |
279 | (wrap-program program | |
280 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
281 | ||
282 | (find-files (string-append out "/bin"))) | |
283 | #t)))))) | |
284 | (inputs | |
285 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
286 | ("gobject-introspection" ,gobject-introspection) | |
287 | ("duplicity" ,duplicity) | |
61506fe5 | 288 | ("python" ,python-2) |
d61a894b CB |
289 | ("python-pygobject" ,python2-pygobject) |
290 | ("gtk+" ,gtk+) | |
291 | ("libnotify" ,libnotify) | |
292 | ("libpeas" ,libpeas) | |
293 | ("libsecret" ,libsecret) | |
294 | ("packagekit" ,packagekit))) | |
295 | (native-inputs | |
296 | `(("pkg-config" ,pkg-config) | |
297 | ("vala" ,vala) | |
298 | ("gettext" ,gettext-minimal) | |
299 | ("itstool" ,itstool) | |
300 | ("intltool" ,intltool) | |
c695fb76 | 301 | ("cmake" ,cmake))) |
d61a894b CB |
302 | (home-page "https://launchpad.net/deja-dup") |
303 | (synopsis "Simple backup tool, for regular encrypted backups") | |
304 | (description | |
305 | "Déjà Dup is a simple backup tool, for regular encrypted backups. It | |
306 | uses duplicity as the backend, which supports incremental backups and storage | |
307 | either on a local, or remote machine via a number of methods.") | |
308 | (license license:gpl3+))) | |
309 | ||
a56be436 RJ |
310 | (define-public dia |
311 | ;; This version from GNOME's repository includes fixes for compiling with | |
312 | ;; recent versions of the build tools. The latest activity on the | |
313 | ;; pre-GNOME version has been in 2014, while GNOME has continued applying | |
314 | ;; fixes in 2016. | |
315 | (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4")) | |
316 | (package | |
317 | (name "dia") | |
318 | (version (string-append "0.97.2-" (string-take commit 7))) | |
319 | (source (origin | |
320 | (method git-fetch) | |
321 | (uri (git-reference | |
322 | (url "https://git.gnome.org/browse/dia") | |
323 | (commit commit))) | |
324 | (file-name (string-append name "-" version "-checkout")) | |
325 | (sha256 | |
326 | (base32 | |
327 | "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l")))) | |
328 | (build-system gnu-build-system) | |
329 | (inputs | |
330 | `(("glib" ,glib "bin") | |
331 | ("pango" ,pango) | |
332 | ("gdk-pixbuf" ,gdk-pixbuf) | |
333 | ("gtk+" ,gtk+-2) | |
334 | ("libxml2" ,libxml2) | |
335 | ("freetype" ,freetype) | |
336 | ("libart-lgpl" ,libart-lgpl))) | |
337 | (native-inputs | |
338 | `(("intltool" ,intltool) | |
339 | ("pkg-config" ,pkg-config) | |
340 | ("automake" ,automake) | |
341 | ("autoconf" ,autoconf) | |
342 | ("libtool" ,libtool) | |
343 | ("perl" ,perl) | |
344 | ("python-wrapper" ,python-wrapper))) | |
345 | (arguments | |
346 | `(#:phases | |
347 | (modify-phases %standard-phases | |
d10092b8 | 348 | (add-after 'unpack 'run-autogen |
a56be436 RJ |
349 | (lambda _ |
350 | (system* "sh" "autogen.sh")))))) | |
351 | (home-page "https://wiki.gnome.org/Apps/Dia") | |
352 | (synopsis "Diagram creation for GNOME") | |
353 | (description "Dia can be used to draw different types of diagrams, and | |
354 | includes support for UML static structure diagrams (class diagrams), entity | |
355 | relationship modeling, and network diagrams. The program supports various file | |
356 | formats like PNG, SVG, PDF and EPS.") | |
357 | (license license:gpl2+)))) | |
358 | ||
adc5cb1b KK |
359 | (define-public libgdata |
360 | (package | |
361 | (name "libgdata") | |
362 | (version "0.16.1") | |
363 | (source (origin | |
364 | (method url-fetch) | |
365 | (uri (string-append "mirror://gnome/sources/" name "/" | |
366 | (version-major+minor version) "/" | |
367 | name "-" version ".tar.xz")) | |
368 | (sha256 | |
369 | (base32 | |
370 | "09q8h1129xjpw33rvzz7856drygxwlm0s64z9cm0vbmjxiqy0h47")) | |
371 | (patches | |
372 | (search-patches "libgdata-fix-tests.patch" | |
373 | "libgdata-glib-duplicate-tests.patch")))) | |
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) | |
393 | ("glib" ,glib) | |
394 | ("glib-networking" ,glib-networking) | |
395 | ("json-glib" ,json-glib) | |
396 | ("libsoup" ,libsoup))) | |
397 | (propagated-inputs | |
398 | `(("gcr" ,gcr) | |
14c297fd | 399 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
adc5cb1b KK |
400 | ("liboauth" ,liboauth) |
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") | |
9863ce20 | 470 | (version "3.28.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 | |
9863ce20 | 479 | "0c439hhpfd9axmv4af6fzhibksh69pnn2nnbghbbqqbwy6zqfl30")))) |
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") | |
f9036105 | 558 | (version "3.28.3") |
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 | |
f9036105 | 566 | "11ajz4cbsdns81kihd6242b6pwxbw8bkr9qqkf4qnb4kp363a38m")))) |
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)) | |
e99a3d6f RW |
707 | (add-before |
708 | 'configure 'fix-docbook | |
709 | (lambda* (#:key inputs #:allow-other-keys) | |
710 | (substitute* "docs/Makefile.am" | |
711 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
712 | (string-append (assoc-ref inputs "docbook-xsl") | |
713 | "/xml/xsl/docbook-xsl-" | |
714 | ,(package-version docbook-xsl) | |
715 | "/manpages/docbook.xsl"))) | |
716 | (setenv "XML_CATALOG_FILES" | |
717 | (string-append (assoc-ref inputs "docbook-xml") | |
6915da22 | 718 | "/xml/dtd/docbook/catalog.xml")) |
6915da22 LC |
719 | ;; Rerun the whole thing to avoid version mismatch ("This is |
720 | ;; Automake 1.15.1, but the definition used by this | |
721 | ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't | |
722 | ;; use 'autoreconf' because it insists on running 'libtoolize'. | |
723 | (invoke "autoconf") | |
724 | (invoke "aclocal") | |
725 | (invoke "automake" "-ac")))))) | |
e99a3d6f RW |
726 | (inputs |
727 | `(("libgcrypt" ,libgcrypt) | |
1a0b2d82 | 728 | ("linux-pam" ,linux-pam) |
ab35cc6e | 729 | ("openssh" ,openssh) |
e99a3d6f RW |
730 | ("dbus" ,dbus) |
731 | ("gcr" ,gcr))) | |
732 | (native-inputs | |
733 | `(("pkg-config" ,pkg-config) | |
734 | ("glib" ,glib "bin") | |
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") | |
87bcd9bf | 757 | (version "3.28.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 | |
87bcd9bf | 765 | "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89")))) |
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 LC |
789 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
790 | ("libgnome-keyring" ,libgnome-keyring) | |
c769cf9f | 791 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
c1354b90 LC |
792 | ("gdk-pixbuf" ,gdk-pixbuf) |
793 | ("atk" ,atk) | |
794 | ("pango" ,pango) | |
795 | ("gtk+" ,gtk+) | |
796 | ("glib" ,glib) | |
797 | ("libxml2" ,libxml2) | |
c1354b90 LC |
798 | ("libsm" ,libsm) |
799 | ("libice" ,libice) | |
96e42467 | 800 | ("shared-mime-info" ,shared-mime-info) |
3d243e9c FB |
801 | ("dconf" ,dconf) |
802 | ("libcanberra" ,libcanberra) | |
c769cf9f | 803 | ("libsecret" ,libsecret) |
a271096b LC |
804 | |
805 | ;; XXX: 'libarchive.pc' adds '-lnettle' so Nettle should really be | |
806 | ;; propagated from there. | |
807 | ("nettle" ,nettle) | |
808 | ||
c1354b90 LC |
809 | ;; For tests. |
810 | ("dogtail" ,python2-dogtail))) | |
96e42467 | 811 | (native-inputs |
bcb354ad SB |
812 | `(("itstool" ,itstool) |
813 | ("intltool" ,intltool) | |
426adbe8 | 814 | ("glib" ,glib "bin") |
bcb354ad SB |
815 | ("pkg-config" ,pkg-config) |
816 | ("xmllint" ,libxml2))) | |
c1354b90 | 817 | (home-page |
f032d0be | 818 | "https://www.gnome.org/projects/evince/") |
c1354b90 LC |
819 | (synopsis "GNOME's document viewer") |
820 | (description | |
821 | "Evince is a document viewer for multiple document formats. It | |
822 | currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal | |
823 | of Evince is to replace the multiple document viewers that exist | |
96e42467 | 824 | on the GNOME Desktop with a single simple application.") |
1dd26275 | 825 | (license license:gpl2+))) |
c1354b90 | 826 | |
22e32e69 AE |
827 | (define-public gsettings-desktop-schemas |
828 | (package | |
829 | (name "gsettings-desktop-schemas") | |
934cc569 | 830 | (version "3.28.0") |
22e32e69 AE |
831 | (source |
832 | (origin | |
833 | (method url-fetch) | |
834 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 835 | (version-major+minor version) "/" |
22e32e69 AE |
836 | name "-" version ".tar.xz")) |
837 | (sha256 | |
838 | (base32 | |
934cc569 | 839 | "0rwidacwrxlc54x90h9g3wx2zlisc4vm49vmxi15azmpj1vwvd2c")))) |
22e32e69 AE |
840 | (build-system gnu-build-system) |
841 | (inputs | |
c4c4cc05 JD |
842 | `(("glib" ,glib))) |
843 | (native-inputs | |
844 | `(("intltool" ,intltool) | |
426adbe8 | 845 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
7211944a | 846 | ("gobject-introspection" ,gobject-introspection) |
22e32e69 AE |
847 | ("pkg-config" ,pkg-config))) |
848 | (home-page "https://launchpad.net/gsettings-desktop-schemas") | |
849 | (synopsis | |
850 | "GNOME settings for various desktop components") | |
851 | (description | |
852 | "Gsettings-desktop-schemas contains a collection of GSettings schemas | |
853 | for settings shared by various components of the GNOME desktop.") | |
1dd26275 | 854 | (license license:lgpl2.1+))) |
22e32e69 | 855 | |
27477d2d AE |
856 | (define-public icon-naming-utils |
857 | (package | |
858 | (name "icon-naming-utils") | |
859 | (version "0.8.90") | |
860 | (source | |
861 | (origin | |
862 | (method url-fetch) | |
5cc3096c | 863 | (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-" |
27477d2d AE |
864 | version ".tar.bz2")) |
865 | (sha256 | |
866 | (base32 | |
867 | "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi")))) | |
868 | (build-system gnu-build-system) | |
869 | (inputs | |
870 | `(("perl" ,perl) | |
871 | ("perl-xml-simple" ,perl-xml-simple))) | |
f4e97277 SB |
872 | (arguments |
873 | '(#:phases | |
dc1d3cde KK |
874 | (modify-phases %standard-phases |
875 | (add-after 'install 'set-load-paths | |
876 | ;; Tell 'icon-name-mapping' where XML::Simple is. | |
877 | (lambda* (#:key outputs #:allow-other-keys) | |
878 | (let* ((out (assoc-ref outputs "out")) | |
879 | (prog (string-append out "/libexec/icon-name-mapping"))) | |
880 | (wrap-program | |
881 | prog | |
882 | `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))) | |
883 | #t))))) | |
27477d2d AE |
884 | (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification") |
885 | (synopsis | |
886 | "Utility to implement the Freedesktop Icon Naming Specification") | |
887 | (description | |
888 | "To help with the transition to the Freedesktop Icon Naming | |
889 | Specification, the icon naming utility maps the icon names used by the | |
890 | GNOME and KDE desktops to the icon names proposed in the specification.") | |
1dd26275 | 891 | (license license:lgpl2.1+))) |
27477d2d | 892 | |
7d3f3651 AE |
893 | (define-public gnome-icon-theme |
894 | (package | |
895 | (name "gnome-icon-theme") | |
b32f58dd | 896 | (version "3.12.0") |
7d3f3651 AE |
897 | (source |
898 | (origin | |
899 | (method url-fetch) | |
900 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 901 | (version-major+minor version) "/" |
7d3f3651 AE |
902 | name "-" version ".tar.xz")) |
903 | (sha256 | |
904 | (base32 | |
b32f58dd | 905 | "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im")))) |
7d3f3651 | 906 | (build-system gnu-build-system) |
5613c27d SB |
907 | (arguments |
908 | '(#:configure-flags | |
909 | ;; Don't create 'icon-theme.cache'. | |
910 | (let* ((coreutils (assoc-ref %build-inputs "coreutils")) | |
911 | (true (string-append coreutils "/bin/true"))) | |
912 | (list (string-append "GTK_UPDATE_ICON_CACHE=" true))))) | |
c4c4cc05 | 913 | (native-inputs |
5613c27d | 914 | `(("icon-naming-utils" ,icon-naming-utils) |
73b6cf42 SB |
915 | ("intltool" ,intltool) |
916 | ("pkg-config" ,pkg-config))) | |
f032d0be | 917 | (home-page "https://art.gnome.org/") |
7d3f3651 AE |
918 | (synopsis |
919 | "GNOME icon theme") | |
920 | (description | |
921 | "Icons for the GNOME desktop.") | |
1dd26275 | 922 | (license license:lgpl3))) ; or Creative Commons BY-SA 3.0 |
7d3f3651 | 923 | |
14eeefa2 SB |
924 | ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0. |
925 | (define-public adwaita-icon-theme | |
926 | (package (inherit gnome-icon-theme) | |
927 | (name "adwaita-icon-theme") | |
3b5d5b4a | 928 | (version "3.28.0") |
14eeefa2 SB |
929 | (source (origin |
930 | (method url-fetch) | |
931 | (uri (string-append "mirror://gnome/sources/" name "/" | |
932 | (version-major+minor version) "/" | |
933 | name "-" version ".tar.xz")) | |
934 | (sha256 | |
935 | (base32 | |
3b5d5b4a | 936 | "0l114ildlb3lz3xymfxxi0wpr2x21rd3cg8slb8jyxynzwfqrbks")))) |
5613c27d SB |
937 | (native-inputs |
938 | `(("gtk-encode-symbolic-svg" ,gtk+ "bin"))))) | |
14eeefa2 | 939 | |
ae792dba RW |
940 | (define-public tango-icon-theme |
941 | (package | |
942 | (name "tango-icon-theme") | |
943 | (version "0.8.90") | |
944 | (source (origin | |
945 | (method url-fetch) | |
946 | (uri (string-append "http://tango.freedesktop.org/releases/" | |
947 | "tango-icon-theme-" version ".tar.bz2")) | |
948 | (sha256 | |
949 | (base32 | |
950 | "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79")))) | |
951 | (build-system gnu-build-system) | |
952 | (native-inputs | |
953 | `(("icon-naming-utils" ,icon-naming-utils) | |
954 | ("intltool" ,intltool) | |
955 | ("imagemagick" ,imagemagick) | |
956 | ("pkg-config" ,pkg-config))) | |
957 | (home-page "http://tango-project.org/") | |
958 | (synopsis "Tango icon theme") | |
959 | (description "This is an icon theme that follows the Tango visual | |
960 | guidelines.") | |
961 | (license license:public-domain))) | |
962 | ||
9167f8e6 LC |
963 | (define-public shared-mime-info |
964 | (package | |
965 | (name "shared-mime-info") | |
d577e00f | 966 | (version "1.9") |
9167f8e6 LC |
967 | (source (origin |
968 | (method url-fetch) | |
5cc3096c | 969 | (uri (string-append "https://freedesktop.org/~hadess/" |
b38e45d8 | 970 | "shared-mime-info-" version ".tar.xz")) |
9167f8e6 LC |
971 | (sha256 |
972 | (base32 | |
d577e00f | 973 | "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw")))) |
9167f8e6 LC |
974 | (build-system gnu-build-system) |
975 | (arguments | |
976 | ;; The build system appears not to be parallel-safe. | |
977 | '(#:parallel-build? #f)) | |
978 | (inputs | |
979 | `(("glib" ,glib) | |
c4c4cc05 | 980 | ("libxml2" ,libxml2))) |
9167f8e6 | 981 | (native-inputs |
c4c4cc05 JD |
982 | `(("intltool" ,intltool) |
983 | ("pkg-config" ,pkg-config))) | |
57e7d748 | 984 | (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info") |
9167f8e6 LC |
985 | (synopsis "Database of common MIME types") |
986 | (description | |
987 | "The shared-mime-info package contains the core database of common types | |
988 | and the update-mime-database command used to extend it. It requires glib2 to | |
989 | be installed for building the update command. Additionally, it uses intltool | |
990 | for translations, though this is only a dependency for the maintainers. This | |
991 | database is translated at Transifex.") | |
1dd26275 | 992 | (license license:gpl2+))) |
9167f8e6 | 993 | |
dd1fcddc CB |
994 | (define-public system-config-printer |
995 | (package | |
996 | (name "system-config-printer") | |
997 | (version "1.5.11") | |
998 | (source (origin | |
999 | (method url-fetch) | |
1000 | (uri (string-append | |
1001 | "https://github.com/zdohnal/system-config-printer/releases/" | |
1002 | "download/" version | |
1003 | "/system-config-printer-" version ".tar.xz")) | |
1004 | (sha256 | |
1005 | (base32 | |
1006 | "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q")))) | |
1007 | (build-system glib-or-gtk-build-system) | |
1008 | (arguments | |
1009 | `(#:imported-modules ((guix build python-build-system) | |
1010 | ,@%glib-or-gtk-build-system-modules) | |
1011 | #:phases | |
1012 | (modify-phases %standard-phases | |
1013 | (add-after 'unpack 'patch-Makefile.am | |
1014 | (lambda _ | |
1015 | ;; The Makefile generates some scripts, so set a valid shebang | |
1016 | (substitute* "Makefile.am" | |
1017 | (("/bin/bash") (which "bash"))) | |
1018 | (delete-file "configure") | |
1019 | #t)) | |
1020 | (add-after 'unpack 'patch-docbook-xml | |
1021 | (lambda* (#:key inputs #:allow-other-keys) | |
1022 | ;; Modify the man XML otherwise xmlto tries to access the network | |
1023 | (substitute* "man/system-config-printer.xml" | |
1024 | (("http://www.oasis-open.org/docbook/xml/4.1.2/") | |
1025 | (string-append (assoc-ref inputs "docbook-xml") | |
1026 | "/xml/dtd/docbook/"))) | |
1027 | #t)) | |
1028 | (add-after 'install 'wrap-for-python | |
1029 | (@@ (guix build python-build-system) wrap)) | |
1030 | (add-after 'install 'wrap | |
1031 | (lambda* (#:key outputs #:allow-other-keys) | |
1032 | (let ((out (assoc-ref outputs "out")) | |
1033 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
1034 | (for-each | |
1035 | (lambda (program) | |
1036 | (wrap-program program | |
1037 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
1038 | (map (lambda (name) | |
1039 | (string-append out "/bin/" name)) | |
1040 | '("system-config-printer" | |
1041 | "system-config-printer-applet" | |
1042 | "install-printerdriver" | |
1043 | "scp-dbus-service")))) | |
1044 | #t))))) | |
1045 | (inputs | |
1046 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1047 | ("gobject-introspection" ,gobject-introspection) | |
1048 | ("python" ,python) | |
1049 | ("cups" ,cups) | |
1050 | ("python-dbus" ,python-dbus) | |
1051 | ("python-pygobject" ,python-pygobject) | |
1052 | ("python-pycups" ,python-pycups) | |
1053 | ("python-requests" ,python-requests) | |
1054 | ("python-pycairo" ,python-pycairo) | |
1055 | ("libnotify" ,libnotify) | |
1056 | ("packagekit" ,packagekit))) | |
1057 | (native-inputs | |
1058 | `(("pkg-config" ,pkg-config) | |
1059 | ("desktop-file-utils" ,desktop-file-utils) | |
1060 | ("glib" ,glib) | |
1061 | ("autoconf" ,autoconf) | |
1062 | ("automake" ,automake) | |
1063 | ("intltool" ,intltool) | |
1064 | ("xmlto" ,xmlto) | |
1065 | ("docbook-xml" ,docbook-xml-4.1.2) | |
1066 | ("docbook-xsl" ,docbook-xsl) | |
1067 | ("libxml2" ,libxml2))) | |
1068 | (home-page "https://github.com/zdohnal/system-config-printer") | |
1069 | (synopsis "CUPS administration tool") | |
1070 | (description | |
1071 | "system-config-printer is a CUPS administration tool. It's written in | |
1072 | Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when | |
1073 | configuring CUPS.") | |
1074 | (license license:gpl2+))) | |
1075 | ||
bef4dd92 AE |
1076 | (define-public hicolor-icon-theme |
1077 | (package | |
1078 | (name "hicolor-icon-theme") | |
851cb6dd | 1079 | (version "0.17") |
bef4dd92 AE |
1080 | (source |
1081 | (origin | |
1082 | (method url-fetch) | |
5cc3096c | 1083 | (uri (string-append "https://icon-theme.freedesktop.org/releases/" |
b62a0070 | 1084 | "hicolor-icon-theme-" version ".tar.xz")) |
bef4dd92 AE |
1085 | (sha256 |
1086 | (base32 | |
851cb6dd | 1087 | "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i")))) |
bef4dd92 AE |
1088 | (build-system gnu-build-system) |
1089 | (arguments | |
1090 | `(#:tests? #f)) ; no check target | |
57e7d748 | 1091 | (home-page "https://icon-theme.freedesktop.org/releases/") |
bef4dd92 AE |
1092 | (synopsis |
1093 | "Freedesktop icon theme") | |
1094 | (description | |
1095 | "Freedesktop icon theme.") | |
1dd26275 | 1096 | (license license:gpl2))) |
bef4dd92 | 1097 | |
d9c1a22b AE |
1098 | (define-public libnotify |
1099 | (package | |
1100 | (name "libnotify") | |
195bfa68 | 1101 | (version "0.7.7") |
d9c1a22b AE |
1102 | (source |
1103 | (origin | |
1104 | (method url-fetch) | |
1105 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 1106 | (version-major+minor version) "/" |
d9c1a22b AE |
1107 | name "-" version ".tar.xz")) |
1108 | (sha256 | |
1109 | (base32 | |
195bfa68 | 1110 | "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w")))) |
d9c1a22b | 1111 | (build-system gnu-build-system) |
6acf6cec MB |
1112 | (arguments |
1113 | `(#:configure-flags '("--disable-static"))) | |
7ef08efa UK |
1114 | (propagated-inputs |
1115 | `(;; In Requires of libnotify.pc. | |
1116 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1117 | ("glib" ,glib))) | |
d9c1a22b | 1118 | (inputs |
7ef08efa | 1119 | `(("gtk+" ,gtk+) |
c4c4cc05 JD |
1120 | ("libpng" ,libpng))) |
1121 | (native-inputs | |
426adbe8 | 1122 | `(("pkg-config" ,pkg-config) |
277a7d82 JN |
1123 | ("glib" ,glib "bin") |
1124 | ("gobject-introspection" ,gobject-introspection))) | |
d9c1a22b AE |
1125 | (home-page "https://developer-next.gnome.org/libnotify/") |
1126 | (synopsis | |
1127 | "GNOME desktop notification library") | |
1128 | (description | |
1129 | "Libnotify is a library that sends desktop notifications to a | |
35b9e423 | 1130 | notification daemon, as defined in the Desktop Notifications spec. These |
d9c1a22b AE |
1131 | notifications can be used to inform the user about an event or display |
1132 | some form of information without getting in the user's way.") | |
1dd26275 | 1133 | (license license:lgpl2.1+))) |
7a8605ce CR |
1134 | |
1135 | (define-public libpeas | |
1136 | (package | |
1137 | (name "libpeas") | |
db122a9b | 1138 | (version "1.22.0") |
7a8605ce CR |
1139 | (source |
1140 | (origin | |
1141 | (method url-fetch) | |
1142 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 1143 | (version-major+minor version) "/" |
7a8605ce CR |
1144 | name "-" version ".tar.xz")) |
1145 | (sha256 | |
1146 | (base32 | |
db122a9b | 1147 | "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv")))) |
7a8605ce | 1148 | (build-system gnu-build-system) |
7a8605ce | 1149 | (inputs |
2ed6522a SB |
1150 | `(("gtk+" ,gtk+) |
1151 | ("glade" ,glade3) | |
2ed6522a SB |
1152 | ("python" ,python) |
1153 | ("python-pygobject" ,python-pygobject))) | |
141aed80 LC |
1154 | (native-inputs |
1155 | `(("pkg-config" ,pkg-config) | |
93622993 | 1156 | ("glib:bin" ,glib "bin") |
141aed80 LC |
1157 | ("gobject-introspection" ,gobject-introspection) |
1158 | ("intltool" ,intltool))) | |
55b7bbd8 LC |
1159 | (propagated-inputs |
1160 | ;; The .pc file "Requires" gobject-introspection. | |
1161 | `(("gobject-introspection" ,gobject-introspection))) | |
7a8605ce CR |
1162 | (home-page "https://wiki.gnome.org/Libpeas") |
1163 | (synopsis "GObject plugin system") | |
1164 | (description | |
d1e4ad1b TGR |
1165 | "Libpeas is a gobject-based plugin engine, targeted at giving every |
1166 | application the chance to assume its own extensibility. It also has a set of | |
1167 | features including, but not limited to: multiple extension points; on-demand | |
1168 | (lazy) programming language support for C, Python and JS; simplicity of the | |
1169 | API.") | |
1dd26275 | 1170 | (license license:lgpl2.0+))) |
ed19903d JD |
1171 | |
1172 | (define-public gtkglext | |
1173 | (package | |
1174 | (name "gtkglext") | |
1175 | (version "1.2.0") | |
1176 | (source (origin | |
1177 | (method url-fetch) | |
0f971a04 | 1178 | (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/" |
ed19903d JD |
1179 | version "/gtkglext-" version ".tar.gz")) |
1180 | (sha256 | |
1181 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
fc1adab1 AK |
1182 | (patches (search-patches |
1183 | "gtkglext-disable-disable-deprecated.patch")))) | |
ed19903d | 1184 | (build-system gnu-build-system) |
14e2f61a RW |
1185 | (arguments |
1186 | `(#:phases | |
1187 | (modify-phases %standard-phases | |
1188 | ;; Fix a collision between a local variable and a definition from | |
1189 | ;; glibc's string.h. | |
1190 | (add-after 'unpack 'fix-collision | |
1191 | (lambda _ | |
1192 | (substitute* "gdk/gdkglshapes.c" | |
1193 | ((" index") " triangle_index")) | |
1194 | #t))))) | |
ed19903d JD |
1195 | (inputs `(("gtk+" ,gtk+-2) |
1196 | ("mesa" ,mesa) | |
cc8b02f4 | 1197 | ("glu" ,glu) |
ed19903d JD |
1198 | ("libx11" ,libx11) |
1199 | ("libxt" ,libxt))) | |
426adbe8 LC |
1200 | (native-inputs `(("pkg-config" ,pkg-config) |
1201 | ("glib" ,glib "bin"))) | |
a83b6a06 | 1202 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 1203 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 1204 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 1205 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
1206 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
1207 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 1208 | (license license:lgpl2.1+))) |
3600420e JD |
1209 | |
1210 | (define-public glade3 | |
1211 | (package | |
1212 | (name "glade") | |
c6571adb | 1213 | (version "3.22.1") |
b38e45d8 EB |
1214 | (source (origin |
1215 | (method url-fetch) | |
1216 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1217 | (version-major+minor version) "/" | |
f5ca44b8 | 1218 | name "-" version ".tar.xz")) |
3600420e | 1219 | (sha256 |
f714d9fe | 1220 | (base32 |
c6571adb | 1221 | "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z")))) |
6983ba56 | 1222 | (build-system glib-or-gtk-build-system) |
f5ca44b8 RW |
1223 | (arguments |
1224 | `(#:tests? #f ; needs X, GL, and software rendering | |
1225 | #:phases | |
1226 | (modify-phases %standard-phases | |
1227 | (add-before 'configure 'fix-docbook | |
1228 | (lambda* (#:key inputs #:allow-other-keys) | |
1229 | (substitute* "man/Makefile.in" | |
1230 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
1231 | (string-append (assoc-ref inputs "docbook-xsl") | |
1232 | "/xml/xsl/docbook-xsl-" | |
1233 | ,(package-version docbook-xsl) | |
1234 | "/manpages/docbook.xsl"))) | |
1235 | #t))))) | |
3600420e | 1236 | (inputs |
f5ca44b8 | 1237 | `(("gtk+" ,gtk+) |
3600420e JD |
1238 | ("libxml2" ,libxml2))) |
1239 | (native-inputs | |
1240 | `(("intltool" ,intltool) | |
f5ca44b8 RW |
1241 | ("itstool" ,itstool) |
1242 | ("libxslt" ,libxslt) ;for xsltproc | |
1243 | ("docbook-xml" ,docbook-xml-4.2) | |
1244 | ("docbook-xsl" ,docbook-xsl) | |
1245 | ("python" ,python-2) | |
3600420e JD |
1246 | ("pkg-config" ,pkg-config))) |
1247 | (home-page "https://glade.gnome.org") | |
1248 | (synopsis "GTK+ rapid application development tool") | |
1249 | (description "Glade is a rapid application development (RAD) tool to | |
1250 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
1251 | the GNOME desktop environment.") | |
1dd26275 LC |
1252 | (license license:lgpl2.0+))) |
1253 | ||
1254 | (define-public libcroco | |
1255 | (package | |
1256 | (name "libcroco") | |
15d34a18 | 1257 | (version "0.6.12") |
1dd26275 LC |
1258 | (source (origin |
1259 | (method url-fetch) | |
b38e45d8 EB |
1260 | (uri (string-append "mirror://gnome/sources/" name "/" |
1261 | (version-major+minor version) "/" | |
1262 | name "-" version ".tar.xz")) | |
15d34a18 MB |
1263 | (patches |
1264 | (search-patches "libcroco-CVE-2017-7960.patch" | |
1265 | "libcroco-CVE-2017-7961.patch")) | |
1dd26275 LC |
1266 | (sha256 |
1267 | (base32 | |
15d34a18 | 1268 | "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x")))) |
1dd26275 LC |
1269 | (build-system gnu-build-system) |
1270 | (native-inputs | |
1271 | `(("pkg-config" ,pkg-config))) | |
1272 | (inputs | |
1273 | `(("glib" ,glib) | |
1274 | ("libxml2" ,libxml2) | |
1275 | ("zlib" ,zlib))) | |
1276 | (home-page "https://github.com/GNOME/libcroco") | |
1277 | (synopsis "CSS2 parsing and manipulation library") | |
1278 | (description | |
1279 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
1280 | The parser provides a low level event driven SAC-like API and a CSS object | |
1281 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
1282 | XML/CSS rendering engine.") | |
1283 | ||
1284 | ;; LGPLv2.1-only. | |
1285 | (license license:lgpl2.1))) | |
25178594 LC |
1286 | |
1287 | (define-public libgsf | |
1288 | (package | |
1289 | (name "libgsf") | |
8d1644a1 | 1290 | (version "1.14.46") |
25178594 LC |
1291 | (source (origin |
1292 | (method url-fetch) | |
b38e45d8 EB |
1293 | (uri (string-append "mirror://gnome/sources/" name "/" |
1294 | (version-major+minor version) "/" | |
1295 | name "-" version ".tar.xz")) | |
25178594 LC |
1296 | (sha256 |
1297 | (base32 | |
8d1644a1 | 1298 | "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa")))) |
25178594 LC |
1299 | (build-system gnu-build-system) |
1300 | (native-inputs | |
1301 | `(("intltool" ,intltool) | |
1302 | ("pkg-config" ,pkg-config))) | |
1303 | (inputs | |
1304 | `(("python" ,python) | |
1305 | ("zlib" ,zlib) | |
1306 | ("bzip2" ,bzip2))) | |
1307 | (propagated-inputs | |
1308 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
1309 | ("glib" ,glib) | |
1310 | ("libxml2" ,libxml2))) | |
f032d0be | 1311 | (home-page "https://www.gnome.org/projects/libgsf") |
25178594 LC |
1312 | (synopsis "GNOME's Structured File Library") |
1313 | (description | |
1314 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
1315 | dealing with different structured file formats.") | |
1316 | ||
1317 | ;; LGPLv2.1-only. | |
1318 | (license license:lgpl2.1))) | |
63016e7c LC |
1319 | |
1320 | (define-public librsvg | |
1321 | (package | |
1322 | (name "librsvg") | |
e1454e0e | 1323 | (version "2.40.20") |
63016e7c LC |
1324 | (source (origin |
1325 | (method url-fetch) | |
b38e45d8 EB |
1326 | (uri (string-append "mirror://gnome/sources/" name "/" |
1327 | (version-major+minor version) "/" | |
1328 | name "-" version ".tar.xz")) | |
63016e7c LC |
1329 | (sha256 |
1330 | (base32 | |
e1454e0e | 1331 | "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g")))) |
63016e7c LC |
1332 | (build-system gnu-build-system) |
1333 | (arguments | |
f67417a1 MB |
1334 | `(#:configure-flags |
1335 | (list "--disable-static" | |
1336 | "--enable-vala") ; needed for e.g. gnome-mines | |
1337 | #:phases | |
b6239e45 EF |
1338 | (modify-phases %standard-phases |
1339 | (add-before 'configure 'pre-configure | |
1340 | (lambda* (#:key inputs #:allow-other-keys) | |
1341 | (substitute* "gdk-pixbuf-loader/Makefile.in" | |
1342 | ;; By default the gdk-pixbuf loader is installed under | |
1343 | ;; gdk-pixbuf's prefix. Work around that. | |
1344 | (("gdk_pixbuf_moduledir = .*$") | |
1345 | (string-append "gdk_pixbuf_moduledir = " | |
1346 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" | |
1347 | "loaders\n")) | |
1348 | ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg. | |
1349 | (("gdk_pixbuf_cache_file = .*$") | |
1350 | "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")) | |
1351 | #t)) | |
f67417a1 | 1352 | (add-before 'check 'remove-failing-tests |
b6239e45 | 1353 | (lambda _ |
64a153bd MW |
1354 | (with-directory-excursion "tests/fixtures/reftests" |
1355 | (for-each delete-file | |
1356 | '(;; This test fails on i686: | |
1357 | "svg1.1/masking-path-04-b.svg" | |
64a153bd MW |
1358 | ;; This test fails on armhf: |
1359 | "svg1.1/masking-mask-01-b.svg" | |
64a153bd | 1360 | ;; This test fails on aarch64: |
f67417a1 MB |
1361 | "bugs/777834-empty-text-children.svg"))) |
1362 | #t))))) | |
1363 | (native-inputs | |
1364 | `(("pkg-config" ,pkg-config) | |
1365 | ("vala" ,vala) | |
1366 | ("glib" ,glib "bin") ; glib-mkenums, etc. | |
1367 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. | |
1368 | (inputs | |
1369 | `(("pango" ,pango) | |
1370 | ("libcroco" ,libcroco) | |
1371 | ("bzip2" ,bzip2) | |
1372 | ("libgsf" ,libgsf) | |
1373 | ("libxml2" ,libxml2))) | |
1374 | (propagated-inputs | |
1375 | ;; librsvg-2.0.pc refers to all of that. | |
1376 | `(("cairo" ,cairo) | |
1377 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1378 | ("glib" ,glib))) | |
1379 | (home-page "https://wiki.gnome.org/LibRsvg") | |
1380 | (synopsis "Render SVG files using Cairo") | |
1381 | (description | |
1382 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics | |
1383 | library.") | |
1384 | (license license:lgpl2.0+))) | |
1385 | ||
1386 | (define-public librsvg-next | |
63016e7c LC |
1387 | (package |
1388 | (name "librsvg") | |
ec47c07d | 1389 | (version "2.44.12") |
63016e7c LC |
1390 | (source (origin |
1391 | (method url-fetch) | |
b38e45d8 EB |
1392 | (uri (string-append "mirror://gnome/sources/" name "/" |
1393 | (version-major+minor version) "/" | |
1394 | name "-" version ".tar.xz")) | |
63016e7c LC |
1395 | (sha256 |
1396 | (base32 | |
ec47c07d | 1397 | "1h3qnqhr0l7pd2bxg69ki6ckl4srdwgr471dpp4jq9i4784hp0v6")))) |
63016e7c LC |
1398 | (build-system gnu-build-system) |
1399 | (arguments | |
d953418a RW |
1400 | `(#:configure-flags |
1401 | (list "--disable-static" | |
1402 | "--enable-vala") ; needed for e.g. gnome-mines | |
7e0f4cb1 | 1403 | #:make-flags '("CC=gcc") |
ec47c07d | 1404 | #:phases |
b6239e45 | 1405 | (modify-phases %standard-phases |
ec47c07d MB |
1406 | ;; Don't patch anything in vendor/ to avoid having to recompute |
1407 | ;; checksums for the bundled Cargo "crates". TODO: Unbundle those. | |
1408 | (delete 'patch-source-shebangs) | |
1409 | (delete 'patch-generated-file-shebangs) | |
1410 | (delete 'patch-usr-bin-file) | |
1411 | (add-before 'configure 'patch-all-the-things | |
1412 | (lambda _ | |
1413 | (for-each patch-shebang '("tap-driver.sh" "tap-test")) | |
1414 | (patch-/usr/bin/file "configure") | |
1415 | #t)) | |
b6239e45 EF |
1416 | (add-before 'configure 'pre-configure |
1417 | (lambda* (#:key inputs #:allow-other-keys) | |
1418 | (substitute* "gdk-pixbuf-loader/Makefile.in" | |
1419 | ;; By default the gdk-pixbuf loader is installed under | |
1420 | ;; gdk-pixbuf's prefix. Work around that. | |
1421 | (("gdk_pixbuf_moduledir = .*$") | |
1422 | (string-append "gdk_pixbuf_moduledir = " | |
1423 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" | |
1424 | "loaders\n")) | |
1425 | ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg. | |
1426 | (("gdk_pixbuf_cache_file = .*$") | |
1427 | "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")) | |
1428 | #t)) | |
ec47c07d | 1429 | (add-before 'check 'remove-failing-tests |
b6239e45 | 1430 | (lambda _ |
64a153bd MW |
1431 | (with-directory-excursion "tests/fixtures/reftests" |
1432 | (for-each delete-file | |
ec47c07d MB |
1433 | '(;; The images produced by these tests differ slightly |
1434 | ;; from their reference counterparts due to differences | |
1435 | ;; in the build environment (missing fonts, etc). See | |
1436 | ;; <tests/README.md> for details. | |
1437 | ;; These fail on x86_64. | |
1438 | "svg1.1/coords-viewattr-02-b.svg" | |
1439 | "svg1.1/filters-composite-04-f.svg" | |
1440 | "svg1.1/filters-image-01-b.svg" | |
1441 | "svg1.1/filters-conv-02-f.svg" | |
1442 | "svg1.1/filters-conv-04-f.svg" | |
1443 | ;; This test fails on i686: | |
64a153bd | 1444 | "svg1.1/masking-path-04-b.svg" |
64a153bd MW |
1445 | ;; This test fails on armhf: |
1446 | "svg1.1/masking-mask-01-b.svg" | |
64a153bd | 1447 | ;; This test fails on aarch64: |
ec47c07d | 1448 | "bugs/777834-empty-text-children.svg"))) |
b6239e45 | 1449 | #t))))) |
63016e7c LC |
1450 | (native-inputs |
1451 | `(("pkg-config" ,pkg-config) | |
ec47c07d MB |
1452 | ;; This is the minimum supported Rust version in Librsvg 2.44. |
1453 | ("rust" ,rust-1.27) | |
1454 | ("cargo" ,rust-1.27 "cargo") | |
d953418a | 1455 | ("vala" ,vala) |
44add1ce | 1456 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
1457 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
1458 | (inputs | |
1459 | `(("pango" ,pango) | |
1460 | ("libcroco" ,libcroco) | |
1461 | ("bzip2" ,bzip2) | |
1462 | ("libgsf" ,libgsf) | |
1463 | ("libxml2" ,libxml2))) | |
1464 | (propagated-inputs | |
1465 | ;; librsvg-2.0.pc refers to all of that. | |
1466 | `(("cairo" ,cairo) | |
1467 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1468 | ("glib" ,glib))) | |
1469 | (home-page "https://wiki.gnome.org/LibRsvg") | |
1470 | (synopsis "Render SVG files using Cairo") | |
1471 | (description | |
35b9e423 | 1472 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
1473 | library.") |
1474 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
1475 | |
1476 | (define-public libidl | |
1477 | (package | |
1478 | (name "libidl") | |
1479 | (version "0.8.14") | |
1480 | (source (origin | |
1481 | (method url-fetch) | |
1482 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
1483 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1484 | (version-major+minor version) "/" | |
1485 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1486 | (sha256 |
1487 | (base32 | |
1488 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
1489 | (build-system gnu-build-system) | |
1490 | (inputs `(("glib" ,glib))) | |
1491 | (native-inputs | |
1492 | `(("pkg-config" ,pkg-config) | |
b3546174 | 1493 | ("flex" ,flex) |
5698b8b8 JD |
1494 | ("bison" ,bison))) |
1495 | (home-page "http://freecode.com/projects/libidl") | |
1496 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 1497 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
1498 | Definition Language (idl) files, which is a specification for defining |
1499 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 1500 | GNOME project, and the primary means of libidl distribution). However, the |
2e6ecc5c | 1501 | functionality was designed to be as reusable and portable as possible.") |
5698b8b8 JD |
1502 | (license license:lgpl2.0+))) |
1503 | ||
1504 | ||
1505 | (define-public orbit2 | |
1506 | (package | |
1507 | (name "orbit2") | |
1508 | (version "2.14.19") | |
1509 | (source (origin | |
1510 | (method url-fetch) | |
2e6ecc5c | 1511 | (uri (let ((upstream-name "ORBit2")) |
a124bbd2 | 1512 | (string-append "mirror://gnome/sources/" upstream-name "/" |
b38e45d8 EB |
1513 | (version-major+minor version) "/" |
1514 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 | 1515 | (sha256 |
a124bbd2 SB |
1516 | (base32 |
1517 | "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
5698b8b8 JD |
1518 | (build-system gnu-build-system) |
1519 | (arguments | |
a124bbd2 | 1520 | `(#:configure-flags |
8aad2e32 LC |
1521 | '(;; We don't need static libraries, plus they don't build reproducibly |
1522 | ;; (non-deterministic ordering of .o files in the archive.) | |
1523 | "--disable-static" | |
1524 | ||
1525 | ;; The programmer kindly gives us a hook to turn off deprecation | |
1526 | ;; warnings ... | |
1527 | "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
a124bbd2 SB |
1528 | ;; ... which they then completly ignore !! |
1529 | #:phases | |
dc1d3cde KK |
1530 | (modify-phases %standard-phases |
1531 | (add-before 'configure 'ignore-deprecations | |
1532 | (lambda _ | |
1533 | (substitute* "linc2/src/Makefile.in" | |
1534 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1535 | #t))))) | |
5698b8b8 JD |
1536 | (inputs `(("glib" ,glib) |
1537 | ("libidl" ,libidl))) | |
1538 | (native-inputs | |
1539 | `(("pkg-config" ,pkg-config))) | |
1540 | (home-page "https://projects.gnome.org/orbit2/") | |
1541 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 1542 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
2e6ecc5c | 1543 | featuring mature C, C++ and Python bindings.") |
a124bbd2 SB |
1544 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving |
1545 | ;; a version. SOME of the code files have licence notices for GPLv2+. | |
1546 | ;; The tarball contains files of the text of GPLv2 and LGPLv2. | |
892307ae LC |
1547 | (license license:gpl2+) |
1548 | (properties `((upstream-name . "ORBit2"))))) | |
5698b8b8 JD |
1549 | |
1550 | ||
1551 | (define-public libbonobo | |
1552 | (package | |
1553 | (name "libbonobo") | |
1554 | (version "2.32.1") | |
1555 | (source (origin | |
1556 | (method url-fetch) | |
5becd025 | 1557 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 1558 | (version-major+minor version) |
5becd025 | 1559 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 1560 | (sha256 |
f1fc45a9 | 1561 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
fc1adab1 AK |
1562 | (patches (search-patches |
1563 | "libbonobo-activation-test-race.patch")))) | |
5698b8b8 JD |
1564 | (build-system gnu-build-system) |
1565 | (arguments | |
1566 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
1567 | `(#:configure-flags |
1568 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
1569 | ;; ... which they then completly ignore !! | |
1570 | #:phases | |
dc1d3cde KK |
1571 | (modify-phases %standard-phases |
1572 | (add-before 'configure 'ignore-deprecations | |
1573 | (lambda _ | |
1574 | (substitute* "activation-server/Makefile.in" | |
1575 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
994b5b1d LC |
1576 | #t))) |
1577 | ||
1578 | ;; There's apparently a race condition between the server stub | |
1579 | ;; generation and linking of the example under 'samples/echo' that can | |
1580 | ;; lead do undefined references when building in parallel, as reported | |
1581 | ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>. | |
1582 | ;; Thus, disable parallel builds. | |
1583 | #:parallel-build? #f)) | |
5698b8b8 JD |
1584 | (inputs `(("popt" ,popt) |
1585 | ("libxml2" ,libxml2))) | |
1586 | ;; The following are Required by the .pc file | |
44add1ce | 1587 | (propagated-inputs |
5698b8b8 JD |
1588 | `(("glib" ,glib) |
1589 | ("orbit2" ,orbit2))) | |
1590 | (native-inputs | |
1591 | `(("intltool" ,intltool) | |
1592 | ("pkg-config" ,pkg-config) | |
221ed17a | 1593 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1594 | ("flex" ,flex) |
1595 | ("bison" ,bison))) | |
1596 | (home-page "https://developer.gnome.org/libbonobo/") | |
1597 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
1598 | (description "Bonobo is a framework for creating reusable components for | |
2e6ecc5c | 1599 | use in GNOME applications, built on top of CORBA.") |
5698b8b8 JD |
1600 | ;; Licence not explicitly stated. Source files contain no licence notices. |
1601 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
1602 | ;; GPLv2 covers both conditions | |
1603 | (license license:gpl2+))) | |
1604 | ||
1605 | ||
1606 | (define-public gconf | |
1607 | (package | |
1608 | (name "gconf") | |
1609 | (version "3.2.6") | |
1610 | (source (origin | |
1611 | (method url-fetch) | |
a124bbd2 SB |
1612 | (uri |
1613 | (let ((upstream-name "GConf")) | |
1614 | (string-append "mirror://gnome/sources/" upstream-name "/" | |
b38e45d8 EB |
1615 | (version-major+minor version) "/" |
1616 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
1617 | (sha256 |
1618 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
1619 | (build-system gnu-build-system) | |
2e88d113 | 1620 | (inputs `(("dbus-glib" ,dbus-glib) |
5698b8b8 | 1621 | ("libxml2" ,libxml2))) |
2e6ecc5c AE |
1622 | (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file |
1623 | ("orbit2" ,orbit2))) | |
5698b8b8 JD |
1624 | (native-inputs |
1625 | `(("intltool" ,intltool) | |
221ed17a | 1626 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1627 | ("pkg-config" ,pkg-config))) |
1628 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
1629 | (synopsis "Store application preferences") |
1630 | (description "Gconf is a system for storing application preferences. It | |
1631 | is intended for user preferences; not arbitrary data storage.") | |
29d2f451 LC |
1632 | (license license:lgpl2.0+) |
1633 | (properties '((upstream-name . "GConf"))))) | |
5698b8b8 JD |
1634 | |
1635 | ||
1636 | (define-public gnome-mime-data | |
1637 | (package | |
1638 | (name "gnome-mime-data") | |
1639 | (version "2.18.0") | |
1640 | (source (origin | |
1641 | (method url-fetch) | |
b38e45d8 EB |
1642 | (uri (string-append "mirror://gnome/sources/" name "/" |
1643 | (version-major+minor version) "/" | |
1644 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1645 | (sha256 |
1646 | (base32 | |
1647 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
1648 | (build-system gnu-build-system) | |
1649 | (native-inputs | |
1650 | `(("perl" ,perl) | |
1651 | ("intltool" ,intltool))) | |
3e6add96 LC |
1652 | (arguments |
1653 | '(#:phases (modify-phases %standard-phases | |
1654 | (add-after 'configure 'use-our-intltool | |
1655 | (lambda _ | |
1656 | ;; Do not use the bundled intltool commands, which lack | |
1657 | ;; the "dotless @INC" fixes of our 'intltool' package. | |
1658 | (substitute* (find-files "." "^Makefile$") | |
1659 | (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool) | |
1660 | (string-append "INTLTOOL_" tool " = intltool-" | |
1661 | (string-downcase tool) "\n"))) | |
1662 | #t))))) | |
f032d0be | 1663 | (home-page "https://www.gnome.org") |
35b9e423 | 1664 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
1665 | (description "GNOME Mime Data is a module which contains the base MIME |
1666 | and Application database for GNOME. The data stored by this module is | |
1667 | designed to be accessed through the MIME functions in GnomeVFS.") | |
1668 | (license license:gpl2+))) | |
1669 | ||
1670 | ||
1671 | (define-public gnome-vfs | |
1672 | (package | |
1673 | (name "gnome-vfs") | |
1674 | (version "2.24.4") | |
1675 | (source (origin | |
1676 | (method url-fetch) | |
b38e45d8 EB |
1677 | (uri (string-append "mirror://gnome/sources/" name "/" |
1678 | (version-major+minor version) "/" | |
1679 | name "-" version ".tar.bz2")) | |
5698b8b8 | 1680 | (sha256 |
9e12bc34 MW |
1681 | (base32 |
1682 | "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
5698b8b8 JD |
1683 | (build-system gnu-build-system) |
1684 | (arguments | |
db5127d8 | 1685 | `(#:phases |
dc1d3cde KK |
1686 | (modify-phases %standard-phases |
1687 | (add-before 'configure 'ignore-deprecations | |
1688 | (lambda _ | |
1689 | (substitute* '("libgnomevfs/Makefile.in" | |
1690 | "daemon/Makefile.in") | |
1691 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1692 | #t)) | |
1693 | (add-before 'configure 'patch-test-async-cancel-to-never-fail | |
1694 | (lambda _ | |
1695 | (substitute* "test/test-async-cancel.c" | |
1696 | (("EXIT_FAILURE") "77")) | |
1697 | #t))))) | |
2e6ecc5c | 1698 | (inputs `(("libxml2" ,libxml2) |
5698b8b8 | 1699 | ("dbus-glib" ,dbus-glib) |
5698b8b8 JD |
1700 | ("gconf" ,gconf) |
1701 | ("gnome-mime-data" ,gnome-mime-data) | |
1702 | ("zlib" ,zlib))) | |
1703 | (native-inputs | |
221ed17a EB |
1704 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1705 | ("intltool" ,intltool) | |
5698b8b8 JD |
1706 | ("pkg-config" ,pkg-config))) |
1707 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 1708 | (synopsis "Access files and folders in GNOME applications") |
9e12bc34 MW |
1709 | (description |
1710 | "GnomeVFS is the core library used to access files and folders in GNOME | |
1711 | applications. It provides a file system abstraction which allows applications | |
1712 | to access local and remote files with a single consistent API.") | |
5698b8b8 JD |
1713 | (license license:lgpl2.0+))) |
1714 | ||
1715 | ||
1716 | ||
1717 | (define-public libgnome | |
1718 | (package | |
1719 | (name "libgnome") | |
1720 | (version "2.32.1") | |
1721 | (source (origin | |
1722 | (method url-fetch) | |
b38e45d8 EB |
1723 | (uri (string-append "mirror://gnome/sources/" name "/" |
1724 | (version-major+minor version) "/" | |
1725 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1726 | (sha256 |
1727 | (base32 | |
17c3eea7 LC |
1728 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")) |
1729 | (patches (search-patches "libgnome-encoding.patch")))) | |
5698b8b8 JD |
1730 | (build-system gnu-build-system) |
1731 | (arguments | |
1732 | `(#:phases | |
dc1d3cde KK |
1733 | (modify-phases %standard-phases |
1734 | (add-before 'configure 'enable-deprecated | |
1735 | (lambda _ | |
1736 | (substitute* "libgnome/Makefile.in" | |
1737 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1738 | #t))))) | |
25338e9f | 1739 | (inputs `(("libxml2" ,libxml2))) |
5698b8b8 | 1740 | (native-inputs |
221ed17a EB |
1741 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1742 | ("intltool" ,intltool) | |
5698b8b8 JD |
1743 | ("pkg-config" ,pkg-config))) |
1744 | ;; The following are listed as Required in the .pc file | |
1745 | ;; (except for libcanberra -- which seems to be oversight on the part | |
1746 | ;; of the upstream developers -- anything that links against libgnome, | |
1747 | ;; must also link against libcanberra | |
1748 | (propagated-inputs | |
1749 | `(("libcanberra" ,libcanberra) | |
1750 | ("libbonobo" ,libbonobo) | |
1751 | ("gconf" ,gconf) | |
a640d3d5 LC |
1752 | ("gnome-vfs" ,gnome-vfs) |
1753 | ("popt" ,popt))) ;gnome-program.h includes popt.h | |
5698b8b8 JD |
1754 | (home-page "https://developer.gnome.org/libgnome/") |
1755 | (synopsis "Useful routines for building applications") | |
1756 | (description "The libgnome library provides a number of useful routines | |
1757 | for building modern applications, including session management, activation of | |
1758 | files and URIs, and displaying help.") | |
1759 | (license license:lgpl2.0+))) | |
1760 | ||
1761 | ||
1762 | (define-public libart-lgpl | |
1763 | (package | |
1764 | (name "libart-lgpl") | |
76c9b6aa | 1765 | (version "2.3.21") |
5698b8b8 JD |
1766 | (source (origin |
1767 | (method url-fetch) | |
1768 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
1769 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1770 | (version-major+minor version) "/" | |
1771 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1772 | (sha256 |
1773 | (base32 | |
76c9b6aa | 1774 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
1775 | (build-system gnu-build-system) |
1776 | (native-inputs | |
1777 | `(("pkg-config" ,pkg-config))) | |
1778 | (home-page "https://people.gnome.org/~mathieu/libart") | |
1779 | (synopsis "2D drawing library") | |
2e6ecc5c | 1780 | (description "Libart is a 2D drawing library intended as a |
5698b8b8 JD |
1781 | high-quality vector-based 2D library with antialiasing and alpha composition.") |
1782 | (license license:lgpl2.0+))) | |
1783 | ||
1784 | ||
1785 | ||
1786 | (define-public libgnomecanvas | |
1787 | (package | |
1788 | (name "libgnomecanvas") | |
1789 | (version "2.30.3") | |
1790 | (source (origin | |
1791 | (method url-fetch) | |
b38e45d8 EB |
1792 | (uri (string-append "mirror://gnome/sources/" name "/" |
1793 | (version-major+minor version) "/" | |
1794 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
1795 | (sha256 |
1796 | (base32 | |
1797 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
1798 | (build-system gnu-build-system) | |
1799 | ;; Mentioned as Required in the .pc file | |
1800 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
1801 | ("gtk+" ,gtk+-2))) | |
1802 | (native-inputs | |
1803 | `(("intltool" ,intltool) | |
221ed17a | 1804 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1805 | ("pkg-config" ,pkg-config))) |
1806 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
1807 | (synopsis "Flexible widget for creating interactive structured graphics") | |
1808 | (description "The GnomeCanvas widget provides a flexible widget for | |
1809 | creating interactive structured graphics.") | |
1810 | (license license:lgpl2.0+))) | |
1811 | ||
eadc734e RW |
1812 | (define-public libgnomecanvasmm |
1813 | (package | |
1814 | (name "libgnomecanvasmm") | |
1815 | (version "2.26.0") | |
1816 | (source (origin | |
1817 | (method url-fetch) | |
1818 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1819 | (version-major+minor version) "/" | |
1820 | name "-" version ".tar.bz2")) | |
1821 | (sha256 | |
1822 | (base32 | |
1823 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1824 | (build-system gnu-build-system) | |
6e4512c4 SB |
1825 | (arguments |
1826 | '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm | |
eadc734e RW |
1827 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) |
1828 | (native-inputs | |
1829 | `(("gtkmm-2" ,gtkmm-2) | |
1830 | ("pkg-config" ,pkg-config))) | |
8e933cb3 | 1831 | (home-page "https://gtkmm.org") |
eadc734e RW |
1832 | (synopsis "C++ bindings to the GNOME Canvas library") |
1833 | (description "C++ bindings to the GNOME Canvas library.") | |
1834 | (license license:lgpl2.0+))) | |
1835 | ||
5698b8b8 JD |
1836 | (define-public libgnomeui |
1837 | (package | |
1838 | (name "libgnomeui") | |
1839 | (version "2.24.5") | |
1840 | (source (origin | |
1841 | (method url-fetch) | |
b38e45d8 EB |
1842 | (uri (string-append "mirror://gnome/sources/" name "/" |
1843 | (version-major+minor version) "/" | |
1844 | name "-" version ".tar.bz2")) | |
8fa1872a | 1845 | (patches (search-patches "libgnomeui-utf8.patch")) |
5698b8b8 JD |
1846 | (sha256 |
1847 | (base32 | |
1848 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1849 | (build-system gnu-build-system) | |
1850 | ;; Mentioned as Required in the .pc file | |
0a38a497 AE |
1851 | (propagated-inputs `(("libbonoboui" ,libbonoboui) |
1852 | ("libgnome" ,libgnome) | |
1853 | ("libgnomecanvas" ,libgnomecanvas) | |
5698b8b8 | 1854 | ("libgnome-keyring" ,libgnome-keyring))) |
0a38a497 | 1855 | (inputs `(("libjpeg" ,libjpeg) |
5698b8b8 JD |
1856 | ("popt" ,popt) |
1857 | ("libbonobo" ,libbonobo) | |
1858 | ("libxml2" ,libxml2) | |
1859 | ("libglade" ,libglade))) | |
1860 | (native-inputs | |
221ed17a EB |
1861 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1862 | ("intltool" ,intltool) | |
5698b8b8 JD |
1863 | ("pkg-config" ,pkg-config))) |
1864 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1865 | (synopsis "Additional widgets for applications") | |
35b9e423 | 1866 | (description "The libgnomeui library provides additional widgets for |
e881752c AK |
1867 | applications. Many of the widgets from libgnomeui have already been |
1868 | ported to GTK+.") | |
5698b8b8 JD |
1869 | (license license:lgpl2.0+))) |
1870 | ||
1871 | (define-public libglade | |
1872 | (package | |
1873 | (name "libglade") | |
1874 | (version "2.6.4") | |
1875 | (source (origin | |
1876 | (method url-fetch) | |
b38e45d8 EB |
1877 | (uri (string-append "mirror://gnome/sources/" name "/" |
1878 | (version-major+minor version) "/" | |
1879 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1880 | (sha256 |
1881 | (base32 | |
1882 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1883 | (build-system gnu-build-system) | |
1884 | (inputs | |
92dcc23d AE |
1885 | `(("python" ,python))) ;; needed for the optional libglade-convert program |
1886 | (propagated-inputs | |
5698b8b8 | 1887 | `(("gtk+-2" ,gtk+-2) |
92dcc23d | 1888 | ("libxml2" ,libxml2))) ; required by libglade-2.0.pc |
5698b8b8 JD |
1889 | (native-inputs |
1890 | `(("pkg-config" ,pkg-config))) | |
1891 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1892 | (synopsis "Load glade interfaces and access the glade built widgets") |
1893 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1894 | graphical interfaces described in glade files and for accessing the |
1895 | widgets built in the loading process.") | |
1896 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1897 | ||
1898 | (define-public libgnomeprint | |
eb497b66 LC |
1899 | ;; This library has been deprecated since 2006; see |
1900 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1901 | (package |
1902 | (name "libgnomeprint") | |
1903 | (version "2.8.2") | |
1904 | (source (origin | |
1905 | (method url-fetch) | |
b38e45d8 EB |
1906 | (uri (string-append "mirror://gnome/sources/" name "/" |
1907 | (version-major+minor version) "/" | |
1908 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1909 | (sha256 |
1910 | (base32 | |
6983ba56 | 1911 | "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")))) |
5698b8b8 JD |
1912 | (build-system gnu-build-system) |
1913 | (inputs | |
1914 | `(("popt" ,popt) | |
1915 | ("libart-lgpl" ,libart-lgpl) | |
1916 | ("gtk+" ,gtk+-2) | |
44add1ce | 1917 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1918 | (native-inputs |
1919 | `(("intltool" ,intltool) | |
221ed17a | 1920 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1921 | ("pkg-config" ,pkg-config))) |
1922 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1923 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1924 | (description |
1925 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1926 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1927 | (license license:lgpl2.0+))) |
1928 | ||
1929 | ||
1930 | (define-public libgnomeprintui | |
eb497b66 | 1931 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1932 | (package |
1933 | (name "libgnomeprintui") | |
1934 | (version "2.8.2") | |
1935 | (source (origin | |
1936 | (method url-fetch) | |
b38e45d8 EB |
1937 | (uri (string-append "mirror://gnome/sources/" name "/" |
1938 | (version-major+minor version) "/" | |
1939 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1940 | (sha256 |
1941 | (base32 | |
1942 | "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw")))) | |
1943 | (build-system gnu-build-system) | |
1944 | ;; Mentioned as Required in the .pc file | |
1945 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1946 | (inputs `(("gtk+" ,gtk+-2) | |
1947 | ("glib" ,glib) | |
1948 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1949 | ("libgnomecanvas" ,libgnomecanvas) | |
2e6ecc5c | 1950 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1951 | (native-inputs |
1952 | `(("intltool" ,intltool) | |
1953 | ("pkg-config" ,pkg-config))) | |
1954 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1955 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1956 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1957 | (license license:lgpl2.0+))) |
1958 | ||
5698b8b8 JD |
1959 | (define-public libbonoboui |
1960 | (package | |
1961 | (name "libbonoboui") | |
1962 | (version "2.24.5") | |
1963 | (source (origin | |
1964 | (method url-fetch) | |
b38e45d8 EB |
1965 | (uri (string-append "mirror://gnome/sources/" name "/" |
1966 | (version-major+minor version) "/" | |
1967 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1968 | (sha256 |
1969 | (base32 | |
1970 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1971 | (build-system gnu-build-system) | |
1972 | (arguments | |
1973 | `(#:phases | |
dc1d3cde KK |
1974 | (modify-phases %standard-phases |
1975 | (add-before 'check 'start-xserver | |
1976 | (lambda* (#:key inputs #:allow-other-keys) | |
1977 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1978 | (disp ":1")) | |
1979 | ||
1980 | (setenv "HOME" (getcwd)) | |
1981 | (setenv "DISPLAY" disp) | |
1982 | ;; There must be a running X server and make check doesn't start one. | |
1983 | ;; Therefore we must do it. | |
1984 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))))))) | |
5698b8b8 JD |
1985 | ;; Mentioned as Required by the .pc file |
1986 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1987 | (inputs | |
1988 | `(("popt" ,popt) | |
1989 | ("pangox-compat" ,pangox-compat) | |
1990 | ("libgnome" ,libgnome) | |
1991 | ("libgnomecanvas" ,libgnomecanvas) | |
1992 | ("libglade" ,libglade))) | |
1993 | (native-inputs | |
221ed17a EB |
1994 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
1995 | ("intltool" ,intltool) | |
5698b8b8 JD |
1996 | ("xorg-server" ,xorg-server) ; For running the tests |
1997 | ("pkg-config" ,pkg-config))) | |
1998 | (home-page "https://developer.gnome.org/libbonoboui/") | |
1999 | (synopsis "Some user interface controls using Bonobo") | |
2000 | (description "The Bonobo UI library provides a number of user interface | |
2001 | controls using the Bonobo component framework.") | |
2002 | (license license:lgpl2.0+))) | |
2003 | ||
fecbf86e SB |
2004 | (define-public libwnck |
2005 | (package | |
2006 | (name "libwnck") | |
ad9b8987 | 2007 | (version "3.24.1") |
fecbf86e SB |
2008 | (source (origin |
2009 | (method url-fetch) | |
2010 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2011 | (version-major+minor version) "/" | |
2012 | name "-" version ".tar.xz")) | |
2013 | (sha256 | |
ad9b8987 KK |
2014 | (base32 |
2015 | "010zk9zvydggxqnxfml3scml5yxmpjy90irpqcayrzw26lldr9mg")))) | |
fecbf86e SB |
2016 | (build-system gnu-build-system) |
2017 | (native-inputs | |
2018 | `(("pkg-config" ,pkg-config) | |
2019 | ("intltool" ,intltool))) | |
2020 | (propagated-inputs | |
427476d5 SB |
2021 | `(("gtk+" ,gtk+) |
2022 | ("libxres" ,libxres) | |
2023 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
2024 | (home-page "https://developer.gnome.org/libwnck/") |
2025 | (synopsis "Window Navigator Construction Kit") | |
2026 | (description | |
2027 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
2028 | writing pagers, tasklists, and more generally applications that are dealing | |
2029 | with window management. It tries hard to respect the Extended Window Manager | |
2030 | Hints specification (EWMH).") | |
2031 | (license license:lgpl2.0+))) | |
2032 | ||
2033 | ;; stable version for gtk2, required by xfwm4. | |
dbb7a081 | 2034 | (define-public libwnck-2 |
fecbf86e SB |
2035 | (package (inherit libwnck) |
2036 | (name "libwnck") | |
2037 | (version "2.30.7") | |
2038 | (source (origin | |
2039 | (method url-fetch) | |
2040 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2041 | (version-major+minor version) "/" | |
2042 | name "-" version ".tar.xz")) | |
2043 | (sha256 | |
2044 | (base32 | |
2045 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
2046 | (propagated-inputs | |
427476d5 SB |
2047 | `(("gtk+" ,gtk+-2) |
2048 | ("libxres" ,libxres) | |
2049 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
2050 | |
2051 | (define-public goffice | |
2052 | (package | |
2053 | (name "goffice") | |
0528f70d | 2054 | (version "0.10.44") |
b804c61e JD |
2055 | (source (origin |
2056 | (method url-fetch) | |
b38e45d8 EB |
2057 | (uri (string-append "mirror://gnome/sources/" name "/" |
2058 | (version-major+minor version) "/" | |
2059 | name "-" version ".tar.xz")) | |
b804c61e | 2060 | (sha256 |
0528f70d | 2061 | (base32 "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d")))) |
b804c61e | 2062 | (build-system gnu-build-system) |
72a06d3e | 2063 | (outputs '("out" |
0528f70d | 2064 | "doc")) ;4.0 MiB of gtk-doc |
72a06d3e LC |
2065 | (arguments |
2066 | '(#:configure-flags (list (string-append "--with-html-dir=" | |
2067 | (assoc-ref %outputs "doc") | |
2068 | "/share/gtk-doc/html")))) | |
b804c61e JD |
2069 | (inputs |
2070 | `(("gtk+" ,gtk+) | |
2071 | ("libgsf" ,libgsf) | |
2072 | ("librsvg" ,librsvg) | |
2073 | ("libxslt" ,libxslt) | |
2074 | ("libxml2" ,libxml2))) | |
2075 | (native-inputs | |
2076 | `(("intltool" ,intltool) | |
f280cdb1 | 2077 | ("glib" ,glib "bin") |
b804c61e JD |
2078 | ("pkg-config" ,pkg-config))) |
2079 | (home-page "https://developer.gnome.org/goffice/") | |
2080 | (synopsis "Document-centric objects and utilities") | |
2081 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
2e6ecc5c | 2082 | (license |
b804c61e JD |
2083 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
2084 | ;; Note: NOT LGPL | |
2085 | (list license:gpl2 license:gpl3)))) | |
2086 | ||
c024ae36 RW |
2087 | (define-public goffice-0.8 |
2088 | (package (inherit goffice) | |
2089 | (version "0.8.17") | |
2090 | (source (origin | |
2091 | (method url-fetch) | |
2092 | (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/" | |
2093 | (version-major+minor version) "/" | |
2094 | (package-name goffice) "-" version ".tar.xz")) | |
2095 | (sha256 | |
2096 | (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n")))) | |
2097 | (arguments | |
2098 | `(#:phases | |
dc1d3cde KK |
2099 | (modify-phases %standard-phases |
2100 | (add-after 'unpack 'fix-pcre-check | |
2101 | (lambda _ | |
2102 | ;; Only glib.h can be included directly. See | |
2103 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316 | |
2104 | (substitute* "configure" | |
2105 | (("glib/gregex\\.h") "glib.h")) #t))) | |
72a06d3e LC |
2106 | |
2107 | ,@(package-arguments goffice))) | |
c024ae36 RW |
2108 | (propagated-inputs |
2109 | ;; libgoffice-0.8.pc mentions libgsf-1 | |
2110 | `(("libgsf" ,libgsf))) | |
2111 | (inputs | |
2112 | `(("gtk" ,gtk+-2) | |
2113 | ,@(alist-delete "gtk" (package-inputs goffice)))))) | |
2114 | ||
b804c61e JD |
2115 | (define-public gnumeric |
2116 | (package | |
2117 | (name "gnumeric") | |
597ab33d | 2118 | (version "1.12.45") |
b804c61e JD |
2119 | (source (origin |
2120 | (method url-fetch) | |
b7fd0217 | 2121 | (uri (string-append "mirror://gnome/sources/gnumeric/" |
b38e45d8 | 2122 | (version-major+minor version) "/" |
b7fd0217 | 2123 | "gnumeric-" version ".tar.xz")) |
b804c61e JD |
2124 | (sha256 |
2125 | (base32 | |
597ab33d | 2126 | "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h")))) |
bd1b1e05 | 2127 | (build-system glib-or-gtk-build-system) |
b804c61e JD |
2128 | (arguments |
2129 | `(;; The gnumeric developers don't worry much about failing tests. | |
2130 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
2e6ecc5c | 2131 | #:tests? #f |
b804c61e | 2132 | #:phases |
7bcbd40d EF |
2133 | (modify-phases %standard-phases |
2134 | (add-before | |
2135 | 'configure 'pre-conf | |
2136 | (lambda* (#:key outputs #:allow-other-keys) | |
2137 | ;; Make install tries to write into the directory of goffice | |
2138 | ;; I am informed that this only affects the possibility to embed a | |
2139 | ;; spreadsheet inside an Abiword document. So presumably when we | |
2140 | ;; package Abiword we'll have to refer it to this directory. | |
2141 | (substitute* "configure" | |
2142 | (("^GOFFICE_PLUGINS_DIR=.*") | |
2143 | (string-append "GOFFICE_PLUGINS_DIR=" | |
2144 | (assoc-ref outputs "out") | |
2145 | "/goffice/plugins")))))))) | |
b804c61e JD |
2146 | (inputs |
2147 | `(("glib" ,glib) | |
2148 | ("gtk+" ,gtk+) | |
2149 | ("goffice" ,goffice) | |
2150 | ("libgsf" ,libgsf) | |
7bcbd40d | 2151 | ("librsvg" ,librsvg) |
b804c61e | 2152 | ("libxml2" ,libxml2) |
7bcbd40d | 2153 | ("libxslt" ,libxslt) |
2e4c5457 | 2154 | ("python" ,python-2) |
6983ba56 | 2155 | ("python2-pygobject" ,python2-pygobject) |
b804c61e JD |
2156 | ("zlib" ,zlib))) |
2157 | (native-inputs | |
6983ba56 | 2158 | `(("bison" ,bison) |
1ed398d1 | 2159 | ("docbook-xml" ,docbook-xml) |
6983ba56 | 2160 | ("intltool" ,intltool) |
1ed398d1 | 2161 | ("itstool" ,itstool) |
b9663471 | 2162 | ("glib:bin" ,glib "bin") |
b804c61e JD |
2163 | ("pkg-config" ,pkg-config))) |
2164 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
2165 | (synopsis "Spreadsheet application") |
2166 | (description | |
2167 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
2168 | interoperable with other spreadsheet applications. It has a vast array of | |
2169 | features beyond typical spreadsheet functionality, such as support for linear | |
2170 | and non-linear solvers, statistical analysis, and telecommunication | |
2171 | engineering.") | |
2172 | (license | |
b804c61e JD |
2173 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
2174 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
2175 | |
2176 | (define-public gnome-themes-standard | |
2177 | (package | |
2178 | (name "gnome-themes-standard") | |
0b7b8fb0 | 2179 | (version "3.22.3") |
6f885c05 FB |
2180 | (source |
2181 | (origin | |
2182 | (method url-fetch) | |
2e6ecc5c | 2183 | (uri (string-append "mirror://gnome/sources/" name "/" |
6f885c05 FB |
2184 | (version-major+minor version) "/" name "-" |
2185 | version ".tar.xz")) | |
2186 | (sha256 | |
2187 | (base32 | |
0b7b8fb0 | 2188 | "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31")))) |
6f885c05 | 2189 | (build-system gnu-build-system) |
8ac70c7f SB |
2190 | (arguments |
2191 | '(#:configure-flags | |
2192 | ;; Don't create 'icon-theme.cache'. | |
2193 | (let* ((coreutils (assoc-ref %build-inputs "coreutils")) | |
2194 | (true (string-append coreutils "/bin/true"))) | |
2195 | (list (string-append "GTK_UPDATE_ICON_CACHE=" true))))) | |
6f885c05 FB |
2196 | (inputs |
2197 | `(("gtk+" ,gtk+) | |
2198 | ("gtk+-2" ,gtk+-2) | |
2199 | ("librsvg" ,librsvg) | |
2200 | ("libxml2" ,libxml2) | |
2201 | ("glib" ,glib))) | |
2202 | (native-inputs | |
2203 | `(("intltool" ,intltool) | |
2204 | ("glib:bin" ,glib "bin") | |
2205 | ("pkg-config" ,pkg-config))) | |
6f885c05 FB |
2206 | (home-page "https://launchpad.net/gnome-themes-standard") |
2207 | (synopsis "Default GNOME 3 themes") | |
2208 | (description | |
2209 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
2210 | (license license:lgpl2.1+))) | |
5a659a48 | 2211 | |
df90c701 RW |
2212 | (define-public seahorse |
2213 | (package | |
2214 | (name "seahorse") | |
6983ba56 | 2215 | (version "3.20.0") |
df90c701 RW |
2216 | (source |
2217 | (origin | |
2218 | (method url-fetch) | |
2219 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2220 | (version-major+minor version) "/" name "-" | |
2221 | version ".tar.xz")) | |
2222 | (sha256 | |
2223 | (base32 | |
6983ba56 | 2224 | "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72")))) |
df90c701 RW |
2225 | (build-system glib-or-gtk-build-system) |
2226 | (inputs | |
2227 | `(("gtk+" ,gtk+) | |
2228 | ("gcr" ,gcr) | |
34b979b9 | 2229 | ("gnupg" ,gnupg) |
df90c701 | 2230 | ("gpgme" ,gpgme) |
34b979b9 | 2231 | ("openldap" ,openldap) |
4a1bf090 | 2232 | ("openssh" ,openssh) |
34b979b9 EF |
2233 | ("libsecret" ,libsecret) |
2234 | ("libsoup" ,libsoup))) | |
df90c701 RW |
2235 | (native-inputs |
2236 | `(("intltool" ,intltool) | |
2237 | ("glib:bin" ,glib "bin") | |
2238 | ("itstool" ,itstool) | |
bcb354ad SB |
2239 | ("pkg-config" ,pkg-config) |
2240 | ("xmllint" ,libxml2))) | |
df90c701 RW |
2241 | (home-page "https://launchpad.net/gnome-themes-standard") |
2242 | (synopsis "Manage encryption keys and passwords in the GNOME keyring") | |
2243 | (description | |
2244 | "Seahorse is a GNOME application for managing encryption keys and | |
2245 | passwords in the GNOME keyring.") | |
2246 | (license license:gpl2+))) | |
2247 | ||
5a659a48 SB |
2248 | (define-public vala |
2249 | (package | |
2250 | (name "vala") | |
8f1022d0 | 2251 | (version "0.40.9") |
5a659a48 SB |
2252 | (source (origin |
2253 | (method url-fetch) | |
2254 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2255 | (version-major+minor version) "/" | |
2256 | name "-" version ".tar.xz")) | |
2257 | (sha256 | |
2258 | (base32 | |
8f1022d0 | 2259 | "0yvaijkpahzz26sa37cyzbj75a9vbcbgvxbqzzb7hbcvfy009zy7")))) |
5a659a48 | 2260 | (build-system gnu-build-system) |
1ea90625 SB |
2261 | (arguments |
2262 | '(#:phases | |
2263 | (modify-phases %standard-phases | |
f4925a4f | 2264 | (add-before 'check 'pre-check |
1ea90625 SB |
2265 | (lambda _ |
2266 | (setenv "CC" "gcc") | |
8839b6be RW |
2267 | (substitute* "valadoc/tests/testrunner.sh" |
2268 | (("export PKG_CONFIG_PATH=" m) | |
2269 | (string-append m "$PKG_CONFIG_PATH:"))) | |
f4925a4f SB |
2270 | ;; For missing '/etc/machine-id'. |
2271 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
8839b6be | 2272 | #t))))) |
5a659a48 SB |
2273 | (native-inputs |
2274 | `(("pkg-config" ,pkg-config) | |
2275 | ("flex" ,flex) | |
2276 | ("bison" ,bison) | |
2277 | ("xsltproc" ,libxslt) | |
8839b6be RW |
2278 | ("grep" ,grep) |
2279 | ("sed" ,sed) | |
5a659a48 SB |
2280 | ("dbus" ,dbus) ; for dbus tests |
2281 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
8839b6be RW |
2282 | (inputs |
2283 | `(("graphviz" ,graphviz))) | |
5a659a48 | 2284 | (propagated-inputs |
8839b6be | 2285 | `(("glib" ,glib))) ; required by libvala-0.40.pc |
f032d0be | 2286 | (home-page "https://live.gnome.org/Vala/") |
5a659a48 SB |
2287 | (synopsis "Compiler for the GObject type system") |
2288 | (description | |
2289 | "Vala is a programming language that aims to bring modern programming | |
2290 | language features to GNOME developers without imposing any additional runtime | |
2291 | requirements and without using a different ABI compared to applications and | |
2292 | libraries written in C.") | |
2293 | (license license:lgpl2.1+))) | |
ea57378f SB |
2294 | |
2295 | (define-public vte | |
2296 | (package | |
2297 | (name "vte") | |
80746f97 | 2298 | (version "0.52.2") |
ea57378f SB |
2299 | (source (origin |
2300 | (method url-fetch) | |
2301 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2302 | (version-major+minor version) "/" | |
2303 | name "-" version ".tar.xz")) | |
2304 | (sha256 | |
2305 | (base32 | |
80746f97 | 2306 | "1br6kg0wzf1wmww1hadihhcpqbamalqmbppfdzjvzk1ayp75f9hg")))) |
ea57378f SB |
2307 | (build-system gnu-build-system) |
2308 | (native-inputs | |
2309 | `(("pkg-config" ,pkg-config) | |
2310 | ("intltool" ,intltool) | |
2311 | ("vala" ,vala) | |
2312 | ("gobject-introspection" ,gobject-introspection) | |
2313 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
73f0e1ab | 2314 | ("gperf" ,gperf) |
ea57378f SB |
2315 | ("xmllint" ,libxml2))) |
2316 | (propagated-inputs | |
302393bc | 2317 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
de1215e2 MW |
2318 | ("gnutls" ,gnutls) ;ditto |
2319 | ("pcre2" ,pcre2))) ;ditto | |
f032d0be | 2320 | (home-page "https://www.gnome.org/") |
ea57378f SB |
2321 | (synopsis "Virtual Terminal Emulator") |
2322 | (description | |
2323 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
2324 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
2325 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
2326 | editors, IDEs, etc.") | |
2327 | (license license:lgpl2.1+))) | |
2328 | ||
c44fb4df MO |
2329 | (define-public vte-ng |
2330 | (package | |
2331 | (inherit vte) | |
2332 | (name "vte-ng") | |
03c59a25 | 2333 | (version "0.56.2.a") |
afd90f8d | 2334 | (home-page "https://github.com/thestinger/vte-ng") |
6bc00737 MB |
2335 | (source (origin |
2336 | (method git-fetch) | |
2337 | (uri (git-reference (url home-page) (commit version))) | |
2338 | (file-name (git-file-name name version)) | |
2339 | (sha256 | |
2340 | (base32 | |
03c59a25 | 2341 | "1lmba6i0abifmvvfb1q63ql6zh6d38148kp6skmkggiib2hi5dki")))) |
c44fb4df MO |
2342 | (native-inputs |
2343 | `(("gtk-doc" ,gtk-doc) | |
011b858b | 2344 | ("gperf" ,gperf) |
03c59a25 | 2345 | ("gcc" ,gcc-7) |
c44fb4df MO |
2346 | ("autoconf" ,autoconf) |
2347 | ("automake" ,automake) | |
2348 | ("libtool" ,libtool) | |
2349 | ,@(package-native-inputs vte))) | |
c44fb4df | 2350 | (arguments |
76c6bdc0 MB |
2351 | `(#:phases (modify-phases %standard-phases |
2352 | (replace 'bootstrap | |
c44fb4df | 2353 | (lambda _ |
03c59a25 MB |
2354 | ;; Work around GCC7 problem: <https://bugs.gnu.org/30756>. |
2355 | (for-each unsetenv '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH")) | |
2356 | ||
c44fb4df | 2357 | (setenv "NOCONFIGURE" "true") |
e1d887fb | 2358 | (invoke "sh" "autogen.sh")))))) |
c44fb4df MO |
2359 | (synopsis "Enhanced VTE terminal widget") |
2360 | (description | |
2361 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
2362 | GTK+, this fork provides additional functions exposed for keyboard text | |
2363 | selection and URL hints."))) | |
2364 | ||
2776d72c EF |
2365 | ;; provides vte 2.90, required for some terminal emulators |
2366 | ;; tilda bug: https://github.com/lanoxx/tilda/issues/94 | |
2367 | ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021 | |
2368 | ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/ | |
2369 | ;; pantheon-terminal, roxterm are not currently packaged | |
2370 | (define-public vte-0.36 | |
2371 | (package (inherit vte) | |
2372 | (name "vte") | |
2373 | (version "0.36.5") | |
2374 | (source (origin | |
2375 | (method url-fetch) | |
2376 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2377 | (version-major+minor version) "/" | |
2378 | name "-" version ".tar.xz")) | |
2379 | (sha256 | |
2380 | (base32 | |
2381 | "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2")))) | |
2382 | (propagated-inputs | |
2383 | `(("gtk" ,gtk+) | |
2384 | ("ncurses" ,ncurses))))) | |
2385 | ||
ea57378f SB |
2386 | ;; stable version for gtk2, required by xfce4-terminal. |
2387 | (define-public vte/gtk+-2 | |
2388 | (package (inherit vte) | |
2389 | (name "vte") | |
2390 | (version "0.28.2") | |
2391 | (source (origin | |
2392 | (method url-fetch) | |
2393 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2394 | (version-major+minor version) "/" | |
2395 | name "-" version ".tar.xz")) | |
2396 | (sha256 | |
2397 | (base32 | |
7d48938a EF |
2398 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")) |
2399 | (patches (search-patches | |
2400 | "vte-CVE-2012-2738-pt1.patch" | |
2401 | "vte-CVE-2012-2738-pt2.patch")))) | |
ea57378f SB |
2402 | (arguments |
2403 | '(#:configure-flags '("--disable-python"))) | |
2404 | (native-inputs | |
2405 | `(("pkg-config" ,pkg-config) | |
2406 | ("intltool" ,intltool) | |
2407 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
2408 | (propagated-inputs | |
2409 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
2410 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 | 2411 | |
cce0da5e TD |
2412 | (define-public vinagre |
2413 | (package | |
2414 | (name "vinagre") | |
2415 | (version "3.22.0") | |
2416 | (source (origin | |
2417 | (method url-fetch) | |
2418 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2419 | (version-major+minor version) "/" | |
2420 | name "-" version ".tar.xz")) | |
684f97f8 EF |
2421 | (patches (search-patches "vinagre-newer-freerdp.patch" |
2422 | "vinagre-newer-rdp-parameters.patch")) | |
cce0da5e TD |
2423 | (sha256 |
2424 | (base32 | |
2425 | "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d")))) | |
2426 | (build-system glib-or-gtk-build-system) | |
684f97f8 EF |
2427 | (arguments |
2428 | '(#:phases | |
2429 | (modify-phases %standard-phases | |
1839768c EF |
2430 | (add-before 'install 'skip-gtk-update-icon-cache |
2431 | (lambda _ | |
2432 | ;; Don't create 'icon-theme.cache' | |
2433 | (substitute* (find-files "." "^Makefile$") | |
2434 | (("gtk-update-icon-cache") (which "true"))) | |
2435 | #t)) | |
684f97f8 EF |
2436 | (add-after 'unpack 'patch-configure |
2437 | (lambda _ | |
2438 | (substitute* "configure" | |
2439 | (("freerdp") "freerdp2")) | |
2440 | #t))))) | |
cce0da5e TD |
2441 | (native-inputs |
2442 | `(("pkg-config" ,pkg-config) | |
2443 | ("intltool" ,intltool) | |
2444 | ("itstool" ,itstool) | |
1839768c | 2445 | ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas |
cce0da5e TD |
2446 | (inputs |
2447 | `(("libxml2" ,libxml2) | |
2448 | ("gtk-vnc" ,gtk-vnc) | |
2449 | ("gnome-keyring" ,gnome-keyring) | |
2450 | ("libsecret" ,libsecret) | |
2451 | ("freerdp" ,freerdp) | |
2452 | ("spice" ,spice) | |
2453 | ("spice-gtk" ,spice-gtk) | |
2454 | ("telepathy-glib" ,telepathy-glib) | |
2455 | ("vte" ,vte))) | |
cce0da5e TD |
2456 | (home-page "https://wiki.gnome.org/Apps/Vinagre") |
2457 | (synopsis "Remote desktop viewer for GNOME") | |
2458 | (description "Vinagre is a remote display client supporting the VNC, SPICE | |
2459 | and RDP protocols.") | |
2460 | (license license:gpl3+))) | |
2461 | ||
b47e1b20 FB |
2462 | (define-public dconf |
2463 | (package | |
2464 | (name "dconf") | |
1e33331c | 2465 | (version "0.32.0") |
b47e1b20 FB |
2466 | (source (origin |
2467 | (method url-fetch) | |
2468 | (uri (string-append | |
2e6ecc5c | 2469 | "mirror://gnome/sources/" name "/" |
b47e1b20 FB |
2470 | (version-major+minor version) "/" |
2471 | name "-" version ".tar.xz")) | |
2472 | (sha256 | |
f05c809f | 2473 | (base32 |
1e33331c | 2474 | "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38")))) |
35fa923d | 2475 | (build-system meson-build-system) |
bc036f4c MB |
2476 | (propagated-inputs |
2477 | ;; In Requires of dconf.pc. | |
2478 | `(("glib" ,glib))) | |
b47e1b20 FB |
2479 | (inputs |
2480 | `(("gtk+" ,gtk+) | |
bc036f4c | 2481 | ("dbus" ,dbus))) |
b47e1b20 | 2482 | (native-inputs |
1e33331c MB |
2483 | `(("bash-completion" ,bash-completion) |
2484 | ("libxslt" ,libxslt) ;for xsltproc | |
bc036f4c | 2485 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES |
b47e1b20 FB |
2486 | ("docbook-xml" ,docbook-xml-4.2) |
2487 | ("docbook-xsl" ,docbook-xsl) | |
35fa923d | 2488 | ("glib:bin" ,glib "bin") |
03676d6f | 2489 | ("gtk-doc" ,gtk-doc) |
35fa923d MB |
2490 | ("pkg-config" ,pkg-config) |
2491 | ("vala" ,vala))) | |
b47e1b20 FB |
2492 | (arguments |
2493 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
2494 | ; or /etc/machine-id. | |
35fa923d MB |
2495 | #:glib-or-gtk? #t |
2496 | #:configure-flags '("-Denable-gtk-doc=true"))) | |
b47e1b20 FB |
2497 | (home-page "https://developer.gnome.org/dconf") |
2498 | (synopsis "Low-level GNOME configuration system") | |
2499 | (description "Dconf is a low-level configuration system. Its main purpose | |
2500 | is to provide a backend to GSettings on platforms that don't already have | |
2501 | configuration storage systems.") | |
e20e6b40 | 2502 | (license license:lgpl2.1+))) |
109da1c0 AE |
2503 | |
2504 | (define-public json-glib | |
2505 | (package | |
2506 | (name "json-glib") | |
4115e8ea | 2507 | (version "1.4.4") |
109da1c0 AE |
2508 | (source (origin |
2509 | (method url-fetch) | |
2510 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2511 | (version-major+minor version) "/" | |
2512 | name "-" version ".tar.xz")) | |
2513 | (sha256 | |
2514 | (base32 | |
4115e8ea | 2515 | "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j")))) |
98afa184 | 2516 | (build-system meson-build-system) |
109da1c0 | 2517 | (native-inputs |
98afa184 MB |
2518 | `(("gettext" ,gettext-minimal) |
2519 | ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal | |
109da1c0 AE |
2520 | ("gobject-introspection" ,gobject-introspection) |
2521 | ("pkg-config" ,pkg-config))) | |
2522 | (propagated-inputs | |
88c6b580 | 2523 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
2524 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
2525 | (synopsis "Compiler for the GObject type system") | |
7c125ce0 AK |
2526 | (description |
2527 | "JSON-GLib is a C library based on GLib providing serialization and | |
2528 | deserialization support for the JavaScript Object Notation (JSON) format | |
2529 | described by RFC 4627. It provides parser and generator GObject classes and | |
2530 | various wrappers for the complex data types employed by JSON, such as arrays | |
2531 | and objects.") | |
109da1c0 | 2532 | (license license:lgpl2.1+))) |
6f96a359 SB |
2533 | |
2534 | (define-public libxklavier | |
2535 | (package | |
2536 | (name "libxklavier") | |
2537 | (version "5.3") | |
2538 | (source (origin | |
2539 | (method url-fetch) | |
2540 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2541 | version "/" name "-" version ".tar.xz")) | |
2542 | (sha256 | |
2543 | (base32 | |
2544 | "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) | |
2545 | (build-system gnu-build-system) | |
2546 | (arguments | |
2547 | '(#:configure-flags | |
2548 | (list (string-append "--with-xkb-base=" | |
2549 | (assoc-ref %build-inputs "xkeyboard-config") | |
b19d6805 | 2550 | "/share/X11/xkb")))) |
6f96a359 SB |
2551 | (native-inputs |
2552 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
2553 | ("gobject-introspection" ,gobject-introspection) | |
2554 | ("pkg-config" ,pkg-config))) | |
2555 | (propagated-inputs | |
2556 | ;; Required by libxklavier.pc. | |
2557 | `(("glib" ,glib) | |
2558 | ("libxml2" ,libxml2))) | |
2559 | (inputs | |
2560 | `(("iso-codes" ,iso-codes) | |
2561 | ("libxi" ,libxi) | |
2562 | ("libxkbfile" ,libxkbfile) | |
2563 | ("xkbcomp" ,xkbcomp) | |
2564 | ("xkeyboard-config" ,xkeyboard-config))) | |
57e7d748 | 2565 | (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/") |
6f96a359 SB |
2566 | (synopsis "High-level API for X Keyboard Extension") |
2567 | (description | |
2568 | "LibXklavier is a library providing high-level API for X Keyboard | |
e881752c AK |
2569 | Extension known as XKB. This library is intended to support XFree86 and other |
2570 | commercial X servers. It is useful for creating XKB-related software (layout | |
6f96a359 SB |
2571 | indicators etc).") |
2572 | (license license:lgpl2.0+))) | |
619936a4 LC |
2573 | |
2574 | (define-public python2-rsvg | |
2575 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
2576 | (package | |
2577 | (name "python2-rsvg") | |
2578 | (version "2.32.0") | |
2579 | (source | |
2580 | (origin | |
2581 | (method url-fetch) | |
2582 | (uri (string-append | |
2583 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
2584 | version ".tar.bz2")) | |
2585 | (sha256 | |
2586 | (base32 | |
2587 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
2588 | (build-system gnu-build-system) | |
2589 | (native-inputs | |
2590 | `(("pkg-config" ,pkg-config))) | |
2591 | (inputs | |
2592 | `(("python" ,python-2) | |
2593 | ("python2-pygtk" ,python2-pygtk) | |
2594 | ("librsvg" ,librsvg))) | |
f032d0be | 2595 | (home-page "https://www.gnome.org") |
619936a4 LC |
2596 | (synopsis "Python bindings to librsvg") |
2597 | (description | |
3ad75446 | 2598 | "This package provides Python bindings to librsvg, the SVG rendering |
619936a4 LC |
2599 | library.") |
2600 | ||
2601 | ;; This is the license of the rsvg bindings. The license of each module | |
2602 | ;; of gnome-python-desktop is given in 'COPYING'. | |
2603 | (license license:lgpl2.1+))) | |
a31a6d22 | 2604 | |
f2ca414a SB |
2605 | (define-public glib-networking |
2606 | (package | |
2607 | (name "glib-networking") | |
65211552 | 2608 | (version "2.58.0") |
f2ca414a SB |
2609 | (source (origin |
2610 | (method url-fetch) | |
2611 | (uri (string-append "mirror://gnome/sources/glib-networking/" | |
2612 | (version-major+minor version) "/" | |
2613 | name "-" version ".tar.xz")) | |
2614 | (sha256 | |
2615 | (base32 | |
1262be5c EF |
2616 | "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx")) |
2617 | (patches (search-patches "glib-networking-connection.patch")))) | |
65211552 | 2618 | (build-system meson-build-system) |
f2ca414a | 2619 | (arguments |
65211552 MB |
2620 | `(#:configure-flags '("-Dlibproxy_support=false") |
2621 | #:phases (modify-phases %standard-phases | |
2622 | (add-before 'check 'disable-TLSv1.3 | |
2623 | (lambda _ | |
2624 | ;; XXX: One test fails when TLS 1.3 is enabled, fixed in 2.60.0: | |
2625 | ;; <https://gitlab.com/gnutls/gnutls/issues/615>. | |
2626 | (setenv "G_TLS_GNUTLS_PRIORITY" "NORMAL:-VERS-TLS1.3") | |
2627 | #t))))) | |
f2ca414a SB |
2628 | (native-inputs |
2629 | `(("pkg-config" ,pkg-config) | |
2630 | ("intltool" ,intltool))) | |
2631 | (inputs | |
2632 | `(("glib" ,glib) | |
2633 | ("gnutls" ,gnutls) | |
2634 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
2635 | ("p11-kit" ,p11-kit))) | |
f032d0be | 2636 | (home-page "https://www.gnome.org") |
f2ca414a SB |
2637 | (synopsis "Network-related GIO modules") |
2638 | (description | |
2639 | "This package contains various network related extensions for the GIO | |
2640 | library.") | |
2641 | (license license:lgpl2.0+))) | |
2642 | ||
ca649680 | 2643 | (define-public rest |
4510b2da | 2644 | (package |
ca649680 | 2645 | (name "rest") |
a4194d16 | 2646 | (version "0.8.1") |
4510b2da SB |
2647 | (source (origin |
2648 | (method url-fetch) | |
2649 | (uri (string-append "mirror://gnome/sources/rest/" | |
ca649680 SB |
2650 | (version-major+minor version) "/" |
2651 | name "-" version ".tar.xz")) | |
4510b2da SB |
2652 | (sha256 |
2653 | (base32 | |
a4194d16 | 2654 | "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5")))) |
4510b2da SB |
2655 | (build-system gnu-build-system) |
2656 | (arguments | |
2657 | '(#:tests? #f ; tests require internet connection | |
2658 | #:configure-flags | |
2659 | '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"))) | |
2660 | (native-inputs | |
2661 | `(("glib-mkenums" ,glib "bin") | |
2662 | ("gobject-introspection" ,gobject-introspection) | |
2663 | ("pkg-config" ,pkg-config))) | |
2664 | (propagated-inputs | |
2665 | ;; rest-0.7.pc refers to all these. | |
2666 | `(("glib" ,glib) | |
2667 | ("libsoup" ,libsoup) | |
2668 | ("libxml2" ,libxml2))) | |
24d6cc1d | 2669 | (home-page "https://www.gtk.org/") |
4510b2da SB |
2670 | (synopsis "RESTful web api query library") |
2671 | (description | |
2672 | "This library was designed to make it easier to access web services that | |
2673 | claim to be \"RESTful\". It includes convenience wrappers for libsoup and | |
2674 | libxml to ease remote use of the RESTful API.") | |
2675 | (license license:lgpl2.1+))) | |
2676 | ||
6e1bb642 SB |
2677 | (define-public libsoup |
2678 | (package | |
2679 | (name "libsoup") | |
b1d81ba0 | 2680 | (version "2.66.2") |
6e1bb642 SB |
2681 | (source (origin |
2682 | (method url-fetch) | |
2683 | (uri (string-append "mirror://gnome/sources/libsoup/" | |
2684 | (version-major+minor version) "/" | |
2685 | name "-" version ".tar.xz")) | |
2686 | (sha256 | |
2687 | (base32 | |
b1d81ba0 | 2688 | "0amfw1yvy1kjrg41rfh2vvrw5gkwnyckqbw1fab50hm6xc1acbmx")))) |
eccaa8bf | 2689 | (build-system meson-build-system) |
6e1bb642 SB |
2690 | (outputs '("out" "doc")) |
2691 | (arguments | |
2deb146f | 2692 | `(#:modules ((guix build utils) |
eccaa8bf | 2693 | (guix build meson-build-system) |
2deb146f LC |
2694 | (ice-9 popen)) |
2695 | ||
eccaa8bf | 2696 | #:configure-flags '("-Ddoc=true") |
6e1bb642 SB |
2697 | #:phases |
2698 | (modify-phases %standard-phases | |
eccaa8bf | 2699 | (add-after 'unpack 'adjust-tests |
26c228f9 | 2700 | (lambda _ |
eccaa8bf MB |
2701 | ;; This test fails due to missing /etc/nsswitch.conf |
2702 | ;; in the build environment. | |
26c228f9 LC |
2703 | (substitute* "tests/socket-test.c" |
2704 | ((".*/sockets/unconnected.*") "")) | |
2deb146f LC |
2705 | |
2706 | ;; Generate a self-signed certificate that has "localhost" as its | |
2707 | ;; 'dnsName'. Failing to do that, and starting with GnuTLS | |
2708 | ;; 3.5.12, tests such as "ssl-tests" fail: | |
2709 | ;; | |
2710 | ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK) | |
2711 | ;; | |
2712 | ;; 'certtool' is interactive so we have to pipe it the answers. | |
2713 | ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>. | |
2714 | (let ((pipe (open-output-pipe "certtool --generate-self-signed \ | |
2715 | --load-privkey tests/test-key.pem --outfile tests/test-cert.pem"))) | |
2716 | (for-each (lambda (line) | |
2717 | (display line pipe) | |
2718 | (newline pipe)) | |
2719 | '("" ;Common name | |
2720 | "" ;UID | |
2721 | "Guix" ;Organizational unit name | |
2722 | "GNU" ;Organization name | |
2723 | "" ;Locality name | |
2724 | "" ;State or province | |
2725 | "" ;Country | |
2726 | "" ;subject's domain component (DC) | |
2727 | ||
2728 | "" ;serial number | |
2729 | "-1" ;expiration time | |
2730 | "N" ;belong to authority? | |
2731 | "N" ;web client certificate? | |
2732 | "N" ;IPsec IKE? | |
2733 | "Y" ;web server certificate? | |
2734 | "localhost" ;dnsName of subject | |
2735 | "" ;dnsName of subject (end) | |
2736 | "" ;URI of subject | |
2737 | "127.0.0.1" ;IP address of subject | |
2738 | "" ;signing? | |
06f5bc4e MB |
2739 | "" ;encryption (RSA)? |
2740 | "" ;data encryption? | |
2deb146f LC |
2741 | "" ;sign OCSP requests? |
2742 | "" ;sign code? | |
2743 | "" ;time stamping? | |
2744 | "" ;email protection? | |
2745 | "" ;URI of the CRL distribution point | |
2746 | "y" ;above info OK? | |
2747 | )) | |
2748 | (close-pipe pipe)) | |
26c228f9 | 2749 | #t)) |
eccaa8bf MB |
2750 | (add-after 'install 'move-doc |
2751 | (lambda* (#:key outputs #:allow-other-keys) | |
2752 | (let ((out (assoc-ref outputs "out")) | |
2753 | (doc (assoc-ref outputs "doc"))) | |
2754 | (mkdir-p (string-append doc "/share")) | |
2755 | (copy-recursively (string-append out "/share/gtk-doc") | |
2756 | (string-append doc "/share/gtk-doc")) | |
2757 | (delete-file-recursively (string-append out "/share/gtk-doc")) | |
2758 | #t)))))) | |
6e1bb642 | 2759 | (native-inputs |
26c228f9 | 2760 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
6e1bb642 | 2761 | ("gobject-introspection" ,gobject-introspection) |
eccaa8bf | 2762 | ("gtk-doc" ,gtk-doc) |
6e1bb642 SB |
2763 | ("intltool" ,intltool) |
2764 | ("pkg-config" ,pkg-config) | |
2765 | ("python" ,python-wrapper) | |
fd730590 | 2766 | ("vala" ,vala) |
6e1bb642 SB |
2767 | ;; These are needed for the tests. |
2768 | ;; FIXME: Add PHP once available. | |
2769 | ("curl" ,curl) | |
2deb146f | 2770 | ("gnutls" ,gnutls) ;for 'certtool' |
6e1bb642 SB |
2771 | ("httpd" ,httpd))) |
2772 | (propagated-inputs | |
2773 | ;; libsoup-2.4.pc refers to all these. | |
2774 | `(("glib" ,glib) | |
249846bf | 2775 | ("libpsl" ,libpsl) |
eccaa8bf | 2776 | ("libxml2" ,libxml2) |
6e1bb642 | 2777 | ("sqlite" ,sqlite))) |
eccaa8bf MB |
2778 | (inputs |
2779 | `(("glib-networking" ,glib-networking) | |
2780 | ("mit-krb5" ,mit-krb5))) | |
6e1bb642 SB |
2781 | (home-page "https://live.gnome.org/LibSoup/") |
2782 | (synopsis "GLib-based HTTP Library") | |
2783 | (description | |
2784 | "LibSoup is an HTTP client/server library for GNOME. It uses GObjects | |
2785 | and the GLib main loop, to integrate well with GNOME applications.") | |
2786 | (license license:lgpl2.0+))) | |
2787 | ||
bba229a3 SB |
2788 | (define-public libsecret |
2789 | (package | |
2790 | (name "libsecret") | |
b0251c71 | 2791 | (version "0.18.8") |
bba229a3 SB |
2792 | (source (origin |
2793 | (method url-fetch) | |
2794 | (uri (string-append | |
896dcbc7 EF |
2795 | "mirror://gnome/sources/libsecret/" |
2796 | (version-major+minor version) "/" | |
bba229a3 SB |
2797 | name "-" version ".tar.xz")) |
2798 | (sha256 | |
2799 | (base32 | |
b0251c71 | 2800 | "058x64689k55wxfkdp4svhnwvv8jmqm7z5mrynybl38f4sfqiyiv")))) |
bba229a3 SB |
2801 | (build-system gnu-build-system) |
2802 | (outputs '("out" "doc")) | |
2803 | (arguments | |
2804 | `(#:tests? #f ; FIXME: Testing hangs. | |
bba229a3 SB |
2805 | #:configure-flags |
2806 | (list (string-append "--with-html-dir=" | |
2807 | (assoc-ref %outputs "doc") | |
2808 | "/share/gtk-doc/html")))) | |
2809 | (native-inputs | |
c06ef010 MB |
2810 | `(("gettext" ,gettext-minimal) |
2811 | ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
bba229a3 | 2812 | ("gobject-introspection" ,gobject-introspection) |
bba229a3 SB |
2813 | ("pkg-config" ,pkg-config) |
2814 | ("vala" ,vala) | |
2815 | ("xsltproc" ,libxslt))) | |
2816 | ;; These are needed for the tests. | |
2817 | ;; FIXME: Add gjs once available. | |
2818 | ;("dbus" ,dbus) | |
2819 | ;("python2" ,python-2) | |
2820 | ;("python2-dbus" ,python2-dbus) | |
2821 | ;("python2-pygobject" ,python2-pygobject) | |
2822 | ;("python2-pygobject-2" ,python2-pygobject-2))) | |
2823 | (propagated-inputs | |
2824 | `(("glib" ,glib))) ; required by libsecret-1.pc | |
2825 | (inputs | |
2826 | `(("docbook-xsl" ,docbook-xsl) | |
2827 | ("libgcrypt" ,libgcrypt) | |
2828 | ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES | |
2829 | (home-page "https://wiki.gnome.org/Projects/Libsecret/") | |
2830 | (synopsis "GObject bindings for \"Secret Service\" API") | |
2831 | (description | |
2832 | "Libsecret is a GObject based library for storing and retrieving passwords | |
2833 | and other secrets. It communicates with the \"Secret Service\" using DBus.") | |
2834 | (license license:lgpl2.1+))) | |
2835 | ||
b6821ee0 | 2836 | (define-public five-or-more |
2837 | (package | |
2838 | (name "five-or-more") | |
83232ba2 | 2839 | (version "3.28.0") |
b6821ee0 | 2840 | (source |
2841 | (origin | |
2842 | (method url-fetch) | |
2843 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2844 | (version-major+minor version) "/" | |
2845 | name "-" version ".tar.xz")) | |
2846 | (sha256 | |
2847 | (base32 | |
83232ba2 | 2848 | "1fy4a7qdjqvabm0cl45d6xlx6hy4paxvm0b2paifff73bl250d5c")))) |
b6821ee0 | 2849 | (build-system glib-or-gtk-build-system) |
2850 | (native-inputs | |
2851 | `(("pkg-config" ,pkg-config) | |
2852 | ("desktop-file-utils" ,desktop-file-utils) | |
2853 | ("intltool" ,intltool) | |
2854 | ("itstool" ,itstool) | |
2855 | ("xmllint" ,libxml2))) | |
2856 | (inputs | |
2857 | `(("gtk+" ,gtk+) | |
2858 | ("librsvg" ,librsvg))) | |
2859 | (home-page "https://wiki.gnome.org/Apps/Five%20or%20more") | |
2860 | (synopsis "Logic puzzle game") | |
2861 | (description "Five or More is a game where you try to align | |
2862 | five or more objects of the same color and shape causing them to disappear. | |
2863 | On every turn more objects will appear, until the board is full. | |
2864 | Try to last as long as possible.") | |
2865 | (license license:gpl2+))) | |
2866 | ||
a31a6d22 SB |
2867 | (define-public gnome-mines |
2868 | (package | |
2869 | (name "gnome-mines") | |
8c0fab36 | 2870 | (version "3.28.0") |
a31a6d22 SB |
2871 | (source |
2872 | (origin | |
2873 | (method url-fetch) | |
2874 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2875 | (version-major+minor version) "/" | |
2876 | name "-" version ".tar.xz")) | |
2877 | (sha256 | |
2878 | (base32 | |
8c0fab36 RW |
2879 | "16w55hqaxipcv870n9gpn6qiywbqbyg7bjshaa02r75ias8dfxvf")))) |
2880 | (build-system meson-build-system) | |
a31a6d22 | 2881 | (arguments |
8c0fab36 | 2882 | `(#:phases |
a31a6d22 | 2883 | (modify-phases %standard-phases |
8c0fab36 | 2884 | (delete 'bootstrap)))) |
a31a6d22 | 2885 | (native-inputs |
8c0fab36 RW |
2886 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources |
2887 | ("pkg-config" ,pkg-config) | |
a31a6d22 SB |
2888 | ("desktop-file-utils" ,desktop-file-utils) |
2889 | ("intltool" ,intltool) | |
bcb354ad | 2890 | ("itstool" ,itstool) |
8c0fab36 RW |
2891 | ("vala" ,vala) |
2892 | ("yelp" ,yelp) | |
2893 | ("appstream-glib" ,appstream-glib))) | |
a31a6d22 SB |
2894 | (inputs |
2895 | `(("gtk+" ,gtk+) | |
73992962 | 2896 | ("libgnome-games-support" ,libgnome-games-support) |
a31a6d22 SB |
2897 | ("librsvg" ,librsvg))) |
2898 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
2899 | (synopsis "Minesweeper game") | |
2900 | (description | |
2901 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
2902 | floating in an ocean using only your brain and a little bit of luck.") | |
2903 | (license license:gpl2+))) | |
88f70665 | 2904 | |
dfc407f3 KY |
2905 | (define-public gnome-sudoku |
2906 | (package | |
2907 | (name "gnome-sudoku") | |
7d20d983 | 2908 | (version "3.28.0") |
dfc407f3 KY |
2909 | (source |
2910 | (origin | |
2911 | (method url-fetch) | |
2912 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2913 | (version-major+minor version) "/" | |
2914 | name "-" version ".tar.xz")) | |
2915 | (sha256 | |
2916 | (base32 | |
7d20d983 | 2917 | "07b4lzniaf3gjsss6zl1lslv18smwc4nrijykvn2z90f423q2xav")))) |
dfc407f3 KY |
2918 | (build-system glib-or-gtk-build-system) |
2919 | (native-inputs | |
2920 | `(("pkg-config" ,pkg-config) | |
2921 | ("desktop-file-utils" ,desktop-file-utils) | |
2922 | ("intltool" ,intltool) | |
2923 | ("itstool" ,itstool) | |
2924 | ("xmllint" ,libxml2))) | |
2925 | (inputs | |
2926 | `(("gtk+" ,gtk+) | |
2927 | ("json-glib" ,json-glib) | |
2928 | ("libgee" ,libgee) | |
2929 | ("librsvg" ,librsvg) | |
2930 | ("qqwing" ,qqwing))) | |
2931 | (home-page "https://wiki.gnome.org/Apps/Sudoku") | |
2932 | (synopsis "Japanese logic game") | |
2933 | (description | |
2934 | "Sudoku is a Japanese logic game that exploded in popularity in 2005. | |
2935 | GNOME Sudoku is meant to have an interface as simple and unobstrusive as | |
2936 | possible while still providing features that make playing difficult Sudoku | |
2937 | more fun.") | |
2938 | (license license:gpl2+))) | |
2939 | ||
88f70665 AW |
2940 | (define-public gnome-terminal |
2941 | (package | |
2942 | (name "gnome-terminal") | |
9cf329ae | 2943 | (version "3.28.2") |
88f70665 AW |
2944 | (source |
2945 | (origin | |
2946 | (method url-fetch) | |
2947 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2948 | (version-major+minor version) "/" | |
2949 | name "-" version ".tar.xz")) | |
2950 | (sha256 | |
2951 | (base32 | |
9cf329ae | 2952 | "0ybjansg6lr279191w8z8r45gy4rxwzw1ajm98cgkv0fk2jdr0x2")))) |
88f70665 AW |
2953 | (build-system glib-or-gtk-build-system) |
2954 | (arguments | |
2955 | '(#:configure-flags | |
2956 | (list "--disable-migration" "--disable-search-provider" | |
2957 | "--without-nautilus-extension") | |
2958 | #:phases | |
2959 | (modify-phases %standard-phases | |
3a4de6b2 | 2960 | (add-before 'configure 'patch-/bin/true |
88f70665 AW |
2961 | (lambda _ |
2962 | (substitute* "configure" | |
2963 | (("/bin/true") (which "true")))))))) | |
2964 | (native-inputs | |
2965 | `(("pkg-config" ,pkg-config) | |
2966 | ("desktop-file-utils" ,desktop-file-utils) | |
2967 | ("intltool" ,intltool) | |
bcb354ad SB |
2968 | ("itstool" ,itstool) |
2969 | ("xmllint" ,libxml2))) | |
68702167 MW |
2970 | (propagated-inputs |
2971 | `(("dconf" ,dconf))) | |
88f70665 AW |
2972 | (inputs |
2973 | `(("gtk+" ,gtk+) | |
2974 | ("vte" ,vte) | |
2975 | ("gnutls" ,gnutls) | |
88f70665 AW |
2976 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2977 | ("util-linux" ,util-linux) | |
2978 | ("vala" ,vala))) | |
2979 | (home-page "https://wiki.gnome.org/Apps/Terminal") | |
2980 | (synopsis "Terminal emulator") | |
2981 | (description | |
2982 | "GNOME Terminal is a terminal emulator application for accessing a | |
2983 | UNIX shell environment which can be used to run programs available on | |
2984 | your system. | |
2985 | ||
2986 | It supports several profiles, multiple tabs and implements several | |
2987 | keyboard shortcuts.") | |
2988 | (license license:gpl3+))) | |
75016d07 AW |
2989 | |
2990 | (define-public colord | |
2991 | (package | |
2992 | (name "colord") | |
2993 | (version "1.1.8") | |
2994 | (source | |
2995 | (origin | |
2996 | (method url-fetch) | |
5cc3096c | 2997 | (uri (string-append "https://www.freedesktop.org/software/colord/releases/" |
75016d07 AW |
2998 | name "-" version ".tar.xz")) |
2999 | (sha256 | |
3000 | (base32 | |
3001 | "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph")))) | |
3002 | (build-system glib-or-gtk-build-system) | |
3003 | (arguments | |
3004 | '(;; The tests want to run valgrind. Punt for now. | |
3005 | #:tests? #f | |
3006 | #:configure-flags (list "--localstatedir=/var" | |
3007 | ;; GUSB not packaged yet. | |
3008 | "--disable-gusb" | |
3009 | ;; No dep on systemd. | |
3010 | "--disable-systemd-login" | |
3011 | ;; Wants to install to global completion dir; | |
3012 | ;; punt. | |
3013 | "--disable-bash-completion" | |
3014 | ;; colord-gtk not packaged yet. | |
3015 | "--disable-session-example" | |
3016 | "--with-daemon-user=colord" | |
3017 | "--enable-sane" | |
3018 | (string-append "--with-udevrulesdir=" | |
3019 | (assoc-ref %outputs "out") | |
3020 | "/lib/udev/rules.d")) | |
3021 | #:phases | |
3022 | (modify-phases %standard-phases | |
3a4de6b2 | 3023 | (add-before 'configure 'patch-/bin/true |
75016d07 AW |
3024 | (lambda _ |
3025 | (substitute* "configure" | |
3026 | (("/bin/true") (which "true"))) | |
3027 | (substitute* "src/Makefile.in" | |
3028 | (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;") | |
b19d6805 | 3029 | "if test -w $(DESTDIR)$(localstatedir);"))))))) |
75016d07 AW |
3030 | (native-inputs |
3031 | `(("pkg-config" ,pkg-config) | |
3032 | ("gobject-introspection" ,gobject-introspection) | |
3033 | ("libtool" ,libtool) | |
3034 | ("intltool" ,intltool))) | |
65cb2d61 SB |
3035 | (propagated-inputs |
3036 | ;; colord.pc refers to all these. | |
3037 | `(("glib" ,glib) | |
3038 | ("udev" ,eudev) | |
3039 | ("lcms" ,lcms))) | |
75016d07 | 3040 | (inputs |
65cb2d61 | 3041 | `(("dbus-glib" ,dbus-glib) |
80c7dd1a | 3042 | ("libgudev" ,libgudev) |
75016d07 | 3043 | ("libusb" ,libusb) |
75016d07 AW |
3044 | ("sqlite" ,sqlite) |
3045 | ("polkit" ,polkit) | |
4c928743 | 3046 | ("sane-backends" ,sane-backends))) |
57e7d748 | 3047 | (home-page "https://www.freedesktop.org/software/colord/") |
75016d07 AW |
3048 | (synopsis "Color management service") |
3049 | (description "Colord is a system service that makes it easy to manage, | |
3050 | install and generate color profiles to accurately color manage input and | |
3051 | output devices.") | |
3052 | (license license:gpl2+))) | |
7b2abd00 AW |
3053 | |
3054 | (define-public geoclue | |
3055 | (package | |
3056 | (name "geoclue") | |
b433c7b3 | 3057 | (version "2.4.8") |
7b2abd00 AW |
3058 | (source |
3059 | (origin | |
3060 | (method url-fetch) | |
5cc3096c | 3061 | (uri (string-append "https://www.freedesktop.org/software/" name |
7b2abd00 AW |
3062 | "/releases/" (version-major+minor version) "/" |
3063 | name "-" version ".tar.xz")) | |
3064 | (sha256 | |
3065 | (base32 | |
b433c7b3 | 3066 | "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj")) |
fc1adab1 | 3067 | (patches (search-patches "geoclue-config.patch")))) |
7b2abd00 AW |
3068 | (build-system glib-or-gtk-build-system) |
3069 | (arguments | |
3070 | '(;; The tests want to run the system bus. | |
3071 | #:tests? #f | |
3072 | #:configure-flags (list ;; Disable bits requiring ModemManager. | |
3073 | "--disable-3g-source" | |
3074 | "--disable-cdma-source" | |
3075 | "--disable-modem-gps-source" | |
3076 | "--with-dbus-service-user=geoclue") | |
3077 | #:phases | |
3078 | (modify-phases %standard-phases | |
3a4de6b2 | 3079 | (add-before 'configure 'patch-/bin/true |
7b2abd00 AW |
3080 | (lambda _ |
3081 | (substitute* "configure" | |
e3eb53e7 MW |
3082 | (("/bin/true") (which "true"))) |
3083 | #t))))) | |
7b2abd00 AW |
3084 | (native-inputs |
3085 | `(("pkg-config" ,pkg-config) | |
758798a9 | 3086 | ("gobject-introspection" ,gobject-introspection) |
7b2abd00 AW |
3087 | ("intltool" ,intltool))) |
3088 | (inputs | |
54e911bc SB |
3089 | `(("avahi" ,avahi) |
3090 | ("glib" ,glib) | |
7b2abd00 AW |
3091 | ("json-glib" ,json-glib) |
3092 | ("libsoup" ,libsoup))) | |
99adfd7d | 3093 | (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/") |
7b2abd00 AW |
3094 | (synopsis "Geolocation service") |
3095 | (description "Geoclue is a D-Bus service that provides location | |
3096 | information. The primary goal of the Geoclue project is to make creating | |
3097 | location-aware applications as simple as possible, while the secondary goal is | |
3098 | to ensure that no application can access location information without explicit | |
e881752c | 3099 | permission from user.") |
7b2abd00 | 3100 | (license license:gpl2+))) |
2bfe7437 AW |
3101 | |
3102 | (define-public geocode-glib | |
3103 | (package | |
3104 | (name "geocode-glib") | |
a7dd0c02 | 3105 | (version "3.26.0") |
2bfe7437 AW |
3106 | (source (origin |
3107 | (method url-fetch) | |
3108 | (uri (string-append "mirror://gnome/sources/geocode-glib/" | |
3109 | (version-major+minor version) "/" | |
3110 | name "-" version ".tar.xz")) | |
3111 | (sha256 | |
3112 | (base32 | |
a7dd0c02 RW |
3113 | "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a")))) |
3114 | (build-system meson-build-system) | |
2bfe7437 | 3115 | (arguments |
a7dd0c02 RW |
3116 | `(#:phases |
3117 | (modify-phases %standard-phases | |
3118 | ;; The tests require a bunch of locales. | |
3119 | (add-before 'check 'set-locales | |
3120 | (lambda* (#:key inputs #:allow-other-keys) | |
3121 | (setenv "GUIX_LOCPATH" | |
3122 | (string-append (assoc-ref inputs "glibc-locales") | |
3123 | "/lib/locale")) | |
3124 | #t))))) | |
2bfe7437 AW |
3125 | (native-inputs |
3126 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
a7dd0c02 RW |
3127 | ("glibc-locales" ,glibc-locales) ; for tests |
3128 | ("gettext" ,gettext-minimal) | |
2bfe7437 | 3129 | ("gobject-introspection" ,gobject-introspection) |
a7dd0c02 | 3130 | ("gtk-doc" ,gtk-doc) |
2bfe7437 AW |
3131 | ("pkg-config" ,pkg-config) |
3132 | ("json-glib" ,json-glib))) | |
3133 | (propagated-inputs | |
3134 | ;; geocode-glib-1.0.pc refers to GIO. | |
3135 | `(("glib" ,glib))) | |
3136 | (inputs | |
3137 | `(("libsoup" ,libsoup))) | |
3138 | (home-page "https://github.com/GNOME/geocode-glib/") | |
3139 | (synopsis "Geocoding and reverse-geocoding library") | |
3140 | (description | |
3141 | "geocode-glib is a convenience library for geocoding (finding longitude, | |
3142 | and latitude from an address) and reverse geocoding (finding an address from | |
3143 | coordinates) using the Nominatim service. geocode-glib caches requests for | |
3144 | faster results and to avoid unnecessary server load.") | |
3145 | (license license:lgpl2.0+))) | |
a1d5bb0e AW |
3146 | |
3147 | (define-public upower | |
3148 | (package | |
3149 | (name "upower") | |
4088d809 | 3150 | (version "0.99.10") |
a1d5bb0e AW |
3151 | (source (origin |
3152 | (method url-fetch) | |
9ec54965 | 3153 | (uri (string-append "https://gitlab.freedesktop.org/upower/upower/" |
4088d809 | 3154 | "uploads/c438511024b9bc5a904f8775cfc8e4c4/" |
9ec54965 | 3155 | "upower-" version ".tar.xz")) |
a1d5bb0e AW |
3156 | (sha256 |
3157 | (base32 | |
4088d809 | 3158 | "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4")) |
fc1adab1 | 3159 | (patches (search-patches "upower-builddir.patch")))) |
a1d5bb0e AW |
3160 | (build-system glib-or-gtk-build-system) |
3161 | (arguments | |
3162 | '( ;; The tests want to contact the system bus, which can't be done in the | |
3163 | ;; build environment. The integration test can run, but the last of | |
3164 | ;; the up-self-tests doesn't. Disable tests for now. | |
3165 | #:tests? #f | |
3166 | #:configure-flags (list "--localstatedir=/var" | |
3167 | (string-append "--with-udevrulesdir=" | |
3168 | (assoc-ref %outputs "out") | |
9ec54965 | 3169 | "/lib/udev/rules.d")))) |
a1d5bb0e | 3170 | (native-inputs |
ebeabe2d SB |
3171 | `(("gobject-introspection" ,gobject-introspection) |
3172 | ("pkg-config" ,pkg-config) | |
a1d5bb0e | 3173 | ("intltool" ,intltool) |
55409295 LC |
3174 | ("python" ,python) |
3175 | ||
3176 | ;; For man pages. | |
3177 | ("libxslt" ,libxslt) ;for 'xsltproc' | |
3178 | ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' | |
3179 | ("docbook-xsl" ,docbook-xsl))) | |
a1d5bb0e | 3180 | (inputs |
ea226291 SB |
3181 | `(("dbus-glib" ,dbus-glib) |
3182 | ("libgudev" ,libgudev) | |
a1d5bb0e | 3183 | ("libusb" ,libusb))) |
d7a503fc MB |
3184 | (propagated-inputs |
3185 | ;; In Requires of upower-glib.pc. | |
3186 | `(("glib" ,glib))) | |
57e7d748 | 3187 | (home-page "https://upower.freedesktop.org/") |
a1d5bb0e AW |
3188 | (synopsis "System daemon for managing power devices") |
3189 | (description | |
3190 | "UPower is an abstraction for enumerating power devices, | |
3191 | listening to device events and querying history and statistics. Any | |
3192 | application or service on the system can access the org.freedesktop.UPower | |
3193 | service via the system message bus.") | |
3194 | (license license:gpl2+))) | |
6a180f6f AW |
3195 | |
3196 | (define-public libgweather | |
3197 | (package | |
3198 | (name "libgweather") | |
cf6cbc34 | 3199 | (version "3.28.2") |
6a180f6f AW |
3200 | (source (origin |
3201 | (method url-fetch) | |
3202 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3203 | (version-major+minor version) "/" | |
3204 | name "-" version ".tar.xz")) | |
3205 | (sha256 | |
3206 | (base32 | |
cf6cbc34 RW |
3207 | "0xfy5ghwvnz2g9074dy6512m4z2pv66pmja14vhi9imgacbfh708")))) |
3208 | (build-system meson-build-system) | |
6a180f6f | 3209 | (arguments |
cf6cbc34 RW |
3210 | `(#:tests? #f ; one of two tests requires network access |
3211 | #:configure-flags | |
3212 | `(,(string-append "-Dzoneinfo_dir=" | |
b6072e6b | 3213 | (assoc-ref %build-inputs "tzdata") |
cf6cbc34 | 3214 | "/share/zoneinfo")))) |
6a180f6f AW |
3215 | (native-inputs |
3216 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
b6072e6b | 3217 | ("gobject-introspection" ,gobject-introspection) |
6a180f6f | 3218 | ("pkg-config" ,pkg-config) |
1d3fcf94 | 3219 | ("vala" ,vala) |
6a180f6f AW |
3220 | ("intltool" ,intltool))) |
3221 | (propagated-inputs | |
3222 | ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and | |
3223 | ;; libsoup. | |
3224 | `(("gtk+" ,gtk+) | |
3225 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3226 | ("libxml2" ,libxml2) | |
cf6cbc34 | 3227 | ("libsoup" ,libsoup) |
6a180f6f | 3228 | ("geocode-glib" ,geocode-glib))) |
cf6cbc34 RW |
3229 | (inputs |
3230 | `(("tzdata" ,tzdata))) | |
6a180f6f AW |
3231 | (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") |
3232 | (synopsis "Location, time zone, and weather library for GNOME") | |
3233 | (description | |
3234 | "libgweather is a library to access weather information from online | |
3235 | services for numerous locations.") | |
3236 | (license license:gpl2+))) | |
23a22af6 AW |
3237 | |
3238 | (define-public gnome-settings-daemon | |
3239 | (package | |
3240 | (name "gnome-settings-daemon") | |
e644f9fa | 3241 | (version "3.28.1") |
23a22af6 AW |
3242 | (source |
3243 | (origin | |
3244 | (method url-fetch) | |
3245 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3246 | (version-major+minor version) "/" | |
3247 | name "-" version ".tar.xz")) | |
3248 | (sha256 | |
3249 | (base32 | |
e644f9fa RW |
3250 | "0z9dip9p0iav646cmxisii5sbkdr9hmaklc5fzvschpbjkhphksr")))) |
3251 | (build-system meson-build-system) | |
23a22af6 | 3252 | (arguments |
e644f9fa RW |
3253 | `(#:glib-or-gtk? #t |
3254 | #:configure-flags | |
3255 | (list (string-append "-Dudev_dir=" | |
3256 | (assoc-ref %outputs "out") | |
4d0e085b RW |
3257 | "/lib/udev/rules.d/") |
3258 | ;; Otherwise, the RUNPATH will lack the final path component. | |
3259 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
3260 | (assoc-ref %outputs "out") | |
3261 | "/lib/gnome-settings-daemon-3.0")) | |
e644f9fa | 3262 | ;; Color management test can't reach the colord system service. |
23a22af6 AW |
3263 | #:tests? #f)) |
3264 | (native-inputs | |
e644f9fa RW |
3265 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
3266 | ("pkg-config" ,pkg-config) | |
23a22af6 AW |
3267 | ("intltool" ,intltool) |
3268 | ("xsltproc" ,libxslt) | |
3269 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES | |
3270 | ("docbook-xml" ,docbook-xml-4.2) | |
3271 | ("docbook-xsl" ,docbook-xsl))) | |
3272 | (inputs | |
e644f9fa RW |
3273 | `(("alsa-lib" ,alsa-lib) |
3274 | ("colord" ,colord) | |
ea226291 | 3275 | ("libgudev" ,libgudev) |
23a22af6 AW |
3276 | ("upower" ,upower) |
3277 | ("polkit" ,polkit) | |
3278 | ("pulseaudio" ,pulseaudio) | |
3279 | ("libcanberra" ,libcanberra) | |
3280 | ("libx11" ,libx11) | |
3281 | ("libxtst" ,libxtst) | |
3282 | ("lcms" ,lcms) | |
3283 | ("libnotify" ,libnotify) | |
3284 | ("geoclue" ,geoclue) | |
3285 | ("geocode-glib" ,geocode-glib) | |
3286 | ("libgweather" ,libgweather) | |
3287 | ("gnome-desktop" ,gnome-desktop) | |
3288 | ("nss" ,nss) | |
3289 | ("cups" ,cups) | |
ec2b1921 AW |
3290 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
3291 | ("libwacom" ,libwacom) | |
3292 | ("librsvg" ,librsvg) | |
eee7878f | 3293 | ("xf86-input-wacom" ,xf86-input-wacom) |
e644f9fa | 3294 | ("wayland" ,wayland) |
eee7878f | 3295 | ("network-manager" ,network-manager))) |
f032d0be | 3296 | (home-page "https://www.gnome.org") |
23a22af6 AW |
3297 | (synopsis "GNOME settings daemon") |
3298 | (description | |
3299 | "This package contains the daemon responsible for setting the various | |
3300 | parameters of a GNOME session and the applications that run under it. It | |
3301 | handles settings such keyboard layout, shortcuts, and accessibility, clipboard | |
3302 | settings, themes, mouse settings, and startup of other daemons.") | |
3303 | (license license:gpl2+))) | |
1e7464a9 DH |
3304 | |
3305 | (define-public totem-pl-parser | |
3306 | (package | |
3307 | (name "totem-pl-parser") | |
1e9b19dd | 3308 | (version "3.26.1") |
1e7464a9 DH |
3309 | (source (origin |
3310 | (method url-fetch) | |
e980cbe9 MW |
3311 | (uri (string-append "mirror://gnome/sources/totem-pl-parser/" |
3312 | (version-major+minor version) "/" | |
1e7464a9 DH |
3313 | "totem-pl-parser-" version ".tar.xz")) |
3314 | (sha256 | |
3315 | (base32 | |
1e9b19dd RW |
3316 | "0k5pnka907invgds48d73c1xx1a366v5dcld3gr2l1dgmjwc9qka")))) |
3317 | (build-system meson-build-system) | |
1e7464a9 DH |
3318 | (arguments |
3319 | ;; FIXME: Tests require gvfs. | |
3320 | `(#:tests? #f)) | |
3321 | (native-inputs | |
3322 | `(("intltool" ,intltool) | |
3323 | ("glib" ,glib "bin") | |
4d6d8281 | 3324 | ("gobject-introspection" ,gobject-introspection) |
1e7464a9 | 3325 | ("pkg-config" ,pkg-config))) |
22a6ad6a | 3326 | (propagated-inputs |
1e7464a9 DH |
3327 | `(("glib" ,glib) |
3328 | ("gmime" ,gmime) | |
1e9b19dd RW |
3329 | ("libarchive" ,libarchive) |
3330 | ("libgcrypt" ,libgcrypt) | |
22a6ad6a MW |
3331 | ("libxml2" ,libxml2))) |
3332 | (inputs | |
1e9b19dd | 3333 | `(("nettle" ,nettle) |
22a6ad6a | 3334 | ("libsoup" ,libsoup))) |
1e7464a9 DH |
3335 | (home-page "https://projects.gnome.org/totem") |
3336 | (synopsis "Library to parse and save media playlists for GNOME") | |
3337 | (description "Totem-pl-parser is a GObjects-based library to parse and save | |
3338 | playlists in a variety of formats.") | |
3339 | (license license:lgpl2.0+))) | |
3340 | ||
6b888eff SB |
3341 | (define-public aisleriot |
3342 | (package | |
3343 | (name "aisleriot") | |
39c0a3fd | 3344 | (version "3.22.8") |
6b888eff SB |
3345 | (source (origin |
3346 | (method url-fetch) | |
e43f622a | 3347 | (uri (string-append "mirror://gnome/sources/aisleriot/" |
6b888eff | 3348 | (version-major+minor version) "/" |
e43f622a | 3349 | "aisleriot-" version ".tar.xz")) |
6b888eff SB |
3350 | (sha256 |
3351 | (base32 | |
39c0a3fd | 3352 | "15pm39679ymxki07sb5nvhycz4z53zwbvascyp5wm4864bn98815")))) |
6b888eff SB |
3353 | (build-system glib-or-gtk-build-system) |
3354 | (arguments | |
3355 | '(#:configure-flags | |
3356 | '("--with-platform=gtk-only" | |
3357 | "--with-card-theme-formats=svg"))) | |
3358 | (native-inputs | |
3359 | `(("desktop-file-utils" ,desktop-file-utils) | |
3360 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
3361 | ("intltool" ,intltool) | |
3362 | ("itstool" ,itstool) | |
3363 | ("pkg-config" ,pkg-config) | |
3364 | ("xmllint" ,libxml2))) | |
3365 | (inputs | |
3366 | `(("gtk+" ,gtk+) | |
226e57d6 | 3367 | ("guile" ,guile-2.2) |
6b888eff SB |
3368 | ("libcanberra" ,libcanberra) |
3369 | ("librsvg" ,librsvg))) | |
3370 | (home-page "https://wiki.gnome.org/Apps/Aisleriot") | |
3371 | (synopsis "Solitaire card games") | |
3372 | (description | |
3373 | "Aisleriot (also known as Solitaire or sol) is a collection of card games | |
3374 | which are easy to play with the aid of a mouse.") | |
3375 | (license license:gpl3+))) | |
4a79e256 SB |
3376 | |
3377 | (define-public devhelp | |
3378 | (package | |
3379 | (name "devhelp") | |
5dd12afc | 3380 | (version "3.28.1") |
4a79e256 SB |
3381 | (source (origin |
3382 | (method url-fetch) | |
3383 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3384 | (version-major+minor version) "/" | |
3385 | name "-" version ".tar.xz")) | |
3386 | (sha256 | |
3387 | (base32 | |
5dd12afc | 3388 | "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s")))) |
4a79e256 SB |
3389 | (build-system glib-or-gtk-build-system) |
3390 | (native-inputs | |
3391 | `(("intltool" ,intltool) | |
5dd12afc | 3392 | ("itstool" ,itstool) |
4a79e256 SB |
3393 | ("pkg-config" ,pkg-config))) |
3394 | (inputs | |
3395 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3396 | ("webkitgtk" ,webkitgtk))) | |
3397 | (home-page "https://wiki.gnome.org/Apps/Devhelp") | |
3398 | (synopsis "API documentation browser for GNOME") | |
3399 | (description | |
3400 | "Devhelp is an API documentation browser for GTK+ and GNOME. It works | |
3401 | natively with GTK-Doc (the API reference system developed for GTK+ and used | |
3402 | throughout GNOME for API documentation).") | |
3403 | (license license:gpl2+))) | |
ba421ab7 MW |
3404 | |
3405 | (define-public cogl | |
3406 | (package | |
3407 | (name "cogl") | |
6a55accc | 3408 | (version "1.22.2") |
ba421ab7 MW |
3409 | (source |
3410 | (origin | |
3411 | (method url-fetch) | |
3412 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3413 | (version-major+minor version) "/" | |
3414 | name "-" version ".tar.xz")) | |
3415 | (sha256 | |
3416 | (base32 | |
6a55accc | 3417 | "03f0ha3qk7ca0nnkkcr1garrm1n1vvfqhkz9lwjm592fnv6ii9rr")))) |
a88d5a0c MW |
3418 | ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to |
3419 | ;; cogl, corresponding changes may be appropriate in mutter as well. | |
ba421ab7 MW |
3420 | (build-system gnu-build-system) |
3421 | (native-inputs | |
3422 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
3423 | ("gobject-introspection" ,gobject-introspection) | |
3424 | ;;("xorg-server" ,xorg-server) ; for the test suite | |
3425 | ("pkg-config" ,pkg-config))) | |
3426 | (propagated-inputs | |
3427 | `(("glib" ,glib) | |
3428 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3429 | ("libx11" ,libx11) | |
3430 | ("libxext" ,libxext) | |
3431 | ("libxfixes" ,libxfixes) | |
3432 | ("libxdamage" ,libxdamage) | |
3433 | ("libxcomposite" ,libxcomposite) | |
3434 | ("libxrandr" ,libxrandr))) | |
3435 | (inputs | |
3436 | `(("mesa" ,mesa) | |
3437 | ("cairo" ,cairo) | |
3438 | ("pango" ,pango) | |
3439 | ("gstreamer" ,gstreamer) | |
31860852 KK |
3440 | ("gst-plugins-base" ,gst-plugins-base) |
3441 | ("wayland" ,wayland))) | |
ba421ab7 MW |
3442 | (arguments |
3443 | `(#:configure-flags (list "--enable-cogl-gst" | |
31860852 KK |
3444 | "--enable-wayland-egl-platform" |
3445 | "--enable-wayland-egl-server" | |
3446 | ||
ba421ab7 MW |
3447 | ;; Arrange to pass an absolute file name to |
3448 | ;; dlopen for libGL.so. | |
3449 | (string-append "--with-gl-libname=" | |
3450 | (assoc-ref %build-inputs "mesa") | |
3451 | "/lib/libGL.so")) | |
3452 | ;; XXX FIXME: All tests fail, with many warnings printed like this: | |
3453 | ;; _FontTransOpen: Unable to Parse address | |
3454 | ;; ${prefix}/share/fonts/X11/misc/ | |
3455 | #:tests? #f | |
3456 | #; #:phases | |
3457 | #; | |
3458 | (modify-phases %standard-phases | |
3459 | (add-before 'check 'start-xorg-server | |
3460 | (lambda* (#:key inputs #:allow-other-keys) | |
3461 | ;; The test suite requires a running X server. | |
3462 | (system (format #f "~a/bin/Xvfb :1 &" | |
3463 | (assoc-ref inputs "xorg-server"))) | |
3464 | (setenv "DISPLAY" ":1") | |
3465 | #t))))) | |
3466 | (home-page "http://www.cogl3d.org") | |
3467 | (synopsis "Object oriented GL/GLES Abstraction/Utility Layer") | |
3468 | (description | |
3469 | "Cogl is a small library for using 3D graphics hardware to draw pretty | |
3470 | pictures. The API departs from the flat state machine style of OpenGL and is | |
3471 | designed to make it easy to write orthogonal components that can render | |
3472 | without stepping on each others toes.") | |
3473 | (license (list license:expat ; most of the code | |
3474 | license:bsd-3 ; cogl/cogl-point-in-poly.c | |
3475 | license:sgifreeb2.0 ; cogl-path/tesselator/ | |
3476 | license:asl2.0)))) ; examples/android/ | |
fb182b8a MW |
3477 | |
3478 | (define-public clutter | |
3479 | (package | |
3480 | (name "clutter") | |
6a88e4ee | 3481 | (version "1.26.2") |
fb182b8a MW |
3482 | (source |
3483 | (origin | |
3484 | (method url-fetch) | |
3485 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3486 | (version-major+minor version) "/" | |
3487 | name "-" version ".tar.xz")) | |
3488 | (sha256 | |
3489 | (base32 | |
6a88e4ee | 3490 | "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7")))) |
a88d5a0c MW |
3491 | ;; NOTE: mutter exports a bundled fork of clutter, so when making changes |
3492 | ;; to clutter, corresponding changes may be appropriate in mutter as well. | |
fb182b8a | 3493 | (build-system gnu-build-system) |
600233bd LC |
3494 | (outputs '("out" |
3495 | "doc")) ;9 MiB of gtk-doc HTML pages | |
fb182b8a MW |
3496 | (native-inputs |
3497 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal | |
3498 | ("gobject-introspection" ,gobject-introspection) | |
3499 | ("pkg-config" ,pkg-config) | |
3500 | ("xsltproc" ,libxslt))) | |
3501 | (propagated-inputs | |
3502 | `(("cogl" ,cogl) | |
3503 | ("cairo" ,cairo) | |
3504 | ("atk" ,atk) | |
3505 | ("gtk+" ,gtk+) | |
3506 | ("json-glib" ,json-glib) | |
3507 | ("glib" ,glib) | |
3508 | ("libxcomposite" ,libxcomposite) | |
3509 | ("libxdamage" ,libxdamage) | |
3510 | ("libxext" ,libxext) | |
3511 | ("xinput" ,xinput))) | |
3512 | (inputs | |
3513 | `(("libxkbcommon" ,libxkbcommon) | |
3514 | ("udev" ,eudev))) | |
3515 | (arguments | |
600233bd LC |
3516 | `(#:configure-flags (list "--enable-x11-backend=yes" |
3517 | ||
3518 | ;; This produces share/doc/{clutter,cally}. | |
3519 | (string-append "--with-html-dir=" | |
3520 | (assoc-ref %outputs "doc") | |
3521 | "/share/doc")) | |
fb182b8a MW |
3522 | ;; XXX FIXME: Get test suite working. It would probably fail in the |
3523 | ;; same way the cogl tests fail, since clutter is based on cogl. | |
3524 | #:tests? #f)) | |
3525 | (home-page "http://www.clutter-project.org") | |
476af713 | 3526 | (synopsis "OpenGL-based interactive canvas library") |
fb182b8a | 3527 | (description |
476af713 | 3528 | "Clutter is an OpenGL-based interactive canvas library, designed for |
fb182b8a MW |
3529 | creating fast, mainly 2D single window applications such as media box UIs, |
3530 | presentations, kiosk style applications and so on.") | |
3531 | (license license:lgpl2.0+))) | |
bf7f17ba MW |
3532 | |
3533 | (define-public clutter-gtk | |
3534 | (package | |
3535 | (name "clutter-gtk") | |
5d1a3219 | 3536 | (version "1.8.4") |
bf7f17ba MW |
3537 | (source |
3538 | (origin | |
3539 | (method url-fetch) | |
3540 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3541 | (version-major+minor version) "/" | |
3542 | name "-" version ".tar.xz")) | |
3543 | (sha256 | |
3544 | (base32 | |
5d1a3219 | 3545 | "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j")))) |
bf7f17ba MW |
3546 | (build-system gnu-build-system) |
3547 | (native-inputs | |
3548 | `(("pkg-config" ,pkg-config) | |
3549 | ("gobject-introspection" ,gobject-introspection))) | |
9a3a8b8e SB |
3550 | (propagated-inputs |
3551 | ;; clutter-gtk.pc refers to all these. | |
bf7f17ba MW |
3552 | `(("clutter" ,clutter) |
3553 | ("gtk+" ,gtk+))) | |
3554 | (home-page "http://www.clutter-project.org") | |
476af713 | 3555 | (synopsis "OpenGL-based interactive canvas library GTK+ widget") |
bf7f17ba | 3556 | (description |
476af713 | 3557 | "Clutter is an OpenGL-based interactive canvas library, designed for |
bf7f17ba MW |
3558 | creating fast, mainly 2D single window applications such as media box UIs, |
3559 | presentations, kiosk style applications and so on.") | |
3560 | (license license:lgpl2.0+))) | |
86d6a893 MW |
3561 | |
3562 | (define-public clutter-gst | |
3563 | (package | |
3564 | (name "clutter-gst") | |
ba07ac19 | 3565 | (version "3.0.27") |
86d6a893 MW |
3566 | (source |
3567 | (origin | |
3568 | (method url-fetch) | |
f010f89b | 3569 | (uri (string-append "mirror://gnome/sources/clutter-gst/" |
86d6a893 | 3570 | (version-major+minor version) "/" |
f010f89b | 3571 | "clutter-gst-" version ".tar.xz")) |
86d6a893 | 3572 | (sha256 |
ba07ac19 | 3573 | (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy")))) |
86d6a893 MW |
3574 | (build-system gnu-build-system) |
3575 | (native-inputs | |
ba07ac19 | 3576 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
86d6a893 MW |
3577 | ("pkg-config" ,pkg-config) |
3578 | ("gobject-introspection" ,gobject-introspection))) | |
3579 | (inputs | |
3580 | `(("clutter" ,clutter) | |
3581 | ("gstreamer" ,gstreamer) | |
3582 | ("gst-plugins-base" ,gst-plugins-base))) | |
3583 | (home-page "http://www.clutter-project.org") | |
3584 | (synopsis "Integration library for using GStreamer with Clutter") | |
3585 | (description | |
3586 | "Clutter-Gst is an integration library for using GStreamer with Clutter. | |
3587 | It provides a GStreamer sink to upload frames to GL and an actor that | |
476af713 TGR |
3588 | implements the ClutterGstPlayer interface using playbin. Clutter is an |
3589 | OpenGL-based interactive canvas library.") | |
86d6a893 | 3590 | (license license:lgpl2.0+))) |
607a04ae | 3591 | |
30dc88d9 LC |
3592 | (define-public libchamplain |
3593 | (package | |
3594 | (name "libchamplain") | |
5564b2c5 | 3595 | (version "0.12.16") |
30dc88d9 LC |
3596 | (source (origin |
3597 | (method url-fetch) | |
3598 | (uri (string-append | |
3599 | "mirror://gnome/sources/libchamplain/0.12/libchamplain-" | |
3600 | version ".tar.xz")) | |
3601 | (sha256 | |
3602 | (base32 | |
5564b2c5 | 3603 | "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja")))) |
30dc88d9 | 3604 | (build-system gnu-build-system) |
f7c6833f LF |
3605 | (arguments '(#:configure-flags '("--enable-vala"))) |
3606 | (native-inputs | |
3607 | `(("gobject-introspection" ,gobject-introspection) | |
3608 | ("pkg-config" ,pkg-config) | |
3609 | ("vala" ,vala))) | |
30dc88d9 LC |
3610 | (propagated-inputs |
3611 | `(("libsoup" ,libsoup) | |
3612 | ("sqlite" ,sqlite) | |
3613 | ("clutter" ,clutter) | |
3614 | ("clutter-gtk" ,clutter-gtk) | |
3615 | ("glib:bin" ,glib "bin") ;glib-mkenums, etc. | |
3616 | ("cairo" ,cairo) | |
3617 | ("gtk+3" ,gtk+) | |
3618 | ("glib" ,glib))) | |
f032d0be | 3619 | (home-page "https://projects.gnome.org/libchamplain/") |
30dc88d9 LC |
3620 | (synopsis "C library providing a ClutterActor to display maps") |
3621 | (description | |
3622 | "libchamplain is a C library providing a ClutterActor to display maps. | |
3623 | It also provides a Gtk+ widget to display maps in Gtk+ applications. Python | |
3624 | and Perl bindings are also available. It supports numerous free map sources | |
3625 | such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.") | |
3626 | (license license:lgpl2.1+))) | |
3627 | ||
607a04ae MW |
3628 | (define-public gom |
3629 | (package | |
3630 | (name "gom") | |
0510440b | 3631 | (version "0.3.2") |
607a04ae MW |
3632 | (source |
3633 | (origin | |
3634 | (method url-fetch) | |
6c8a0b6f | 3635 | (uri (string-append "mirror://gnome/sources/gom/" |
607a04ae | 3636 | (version-major+minor version) "/" |
6c8a0b6f | 3637 | "gom-" version ".tar.xz")) |
607a04ae MW |
3638 | (sha256 |
3639 | (base32 | |
0510440b | 3640 | "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w")))) |
607a04ae MW |
3641 | (build-system gnu-build-system) |
3642 | (native-inputs | |
3643 | `(("intltool" ,intltool) | |
3644 | ("pkg-config" ,pkg-config) | |
3645 | ("gobject-introspection" ,gobject-introspection))) | |
3646 | (inputs | |
3647 | `(("glib" ,glib) | |
3648 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3649 | ("sqlite" ,sqlite))) | |
3650 | ;; XXX TODO: Figure out how to run the test suite. | |
3651 | (arguments `(#:tests? #f)) | |
3652 | (home-page "https://wiki.gnome.org/Projects/Gom") | |
3653 | (synopsis "Object mapper from GObjects to SQLite") | |
3654 | (description | |
3655 | "Gom provides an object mapper from GObjects to SQLite. It helps you | |
3656 | write applications that need to store structured data as well as make complex | |
3657 | queries upon that data.") | |
3658 | (license license:lgpl2.1+))) | |
b7a3cf11 | 3659 | |
865aacc9 | 3660 | (define-public libgnome-games-support |
f09520db | 3661 | (package |
865aacc9 | 3662 | (name "libgnome-games-support") |
dd7a2446 | 3663 | (version "1.4.1") |
f09520db SB |
3664 | (source (origin |
3665 | (method url-fetch) | |
3666 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3667 | (version-major+minor version) "/" | |
3668 | name "-" version ".tar.xz")) | |
3669 | (sha256 | |
3670 | (base32 | |
dd7a2446 | 3671 | "1j7lfcnc29lgn8ppn13wkn9w2y1n3lsapagwp91zh3bf0h2h4hv1")))) |
f09520db SB |
3672 | (build-system gnu-build-system) |
3673 | (arguments | |
3674 | '(#:phases | |
3675 | (modify-phases %standard-phases | |
3676 | (add-before 'check 'pre-check | |
3677 | (lambda _ | |
865aacc9 | 3678 | ;; Tests require a writable HOME. |
f09520db SB |
3679 | (setenv "HOME" (getcwd)) |
3680 | #t))))) | |
3681 | (native-inputs | |
3682 | `(("intltool" ,intltool) | |
3683 | ("pkg-config" ,pkg-config) | |
3684 | ("vala" ,vala))) | |
3685 | (propagated-inputs | |
865aacc9 | 3686 | ;; Required by libgnome-games-support-1.0.pc |
f09520db SB |
3687 | `(("gtk+" ,gtk+) |
3688 | ("libgee" ,libgee))) | |
3689 | (home-page "https://www.gnome.org/") | |
3690 | (synopsis "Useful functionality shared among GNOME games") | |
3691 | (description | |
865aacc9 | 3692 | "libgnome-games-support is a small library intended for internal use by |
f09520db SB |
3693 | GNOME Games, but it may be used by others.") |
3694 | (license license:lgpl3+))) | |
3695 | ||
b7a3cf11 SB |
3696 | (define-public gnome-klotski |
3697 | (package | |
3698 | (name "gnome-klotski") | |
36828576 | 3699 | (version "3.22.3") |
b7a3cf11 SB |
3700 | (source (origin |
3701 | (method url-fetch) | |
3702 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3703 | (version-major+minor version) "/" | |
3704 | name "-" version ".tar.xz")) | |
3705 | (sha256 | |
3706 | (base32 | |
36828576 | 3707 | "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f")))) |
b7a3cf11 SB |
3708 | (build-system glib-or-gtk-build-system) |
3709 | (native-inputs | |
3710 | `(("desktop-file-utils" ,desktop-file-utils) | |
3711 | ("intltool" ,intltool) | |
3712 | ("itstool" ,itstool) | |
bcb354ad SB |
3713 | ("pkg-config" ,pkg-config) |
3714 | ("xmllint" ,libxml2))) | |
b7a3cf11 SB |
3715 | (inputs |
3716 | `(("gtk+" ,gtk+) | |
f4eae76f | 3717 | ("libgnome-games-support" ,libgnome-games-support) |
b7a3cf11 SB |
3718 | ("librsvg" ,librsvg))) |
3719 | (home-page "https://wiki.gnome.org/Apps/Klotski") | |
3720 | (synopsis "Sliding block puzzles") | |
3721 | (description | |
3722 | "GNOME Klotski is a set of block sliding puzzles. The objective is to move | |
3723 | the patterned block to the area bordered by green markers. To do so, you will | |
3724 | need to slide other blocks out of the way. Complete each puzzle in as few moves | |
3725 | as possible!") | |
3726 | (license license:gpl2+))) | |
8d4791bf MW |
3727 | |
3728 | (define-public grilo | |
3729 | (package | |
3730 | (name "grilo") | |
99dd2af9 | 3731 | (version "0.3.3") |
8d4791bf MW |
3732 | (source |
3733 | (origin | |
3734 | (method url-fetch) | |
3735 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3736 | (version-major+minor version) "/" | |
3737 | name "-" version ".tar.xz")) | |
3738 | (sha256 | |
3739 | (base32 | |
99dd2af9 | 3740 | "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw")))) |
8d4791bf MW |
3741 | (build-system gnu-build-system) |
3742 | (native-inputs | |
3743 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3744 | ("intltool" ,intltool) | |
3745 | ("pkg-config" ,pkg-config) | |
3746 | ("gobject-introspection" ,gobject-introspection))) | |
3747 | (inputs | |
6d7273a0 KK |
3748 | `(("cyrus-sasl" ,cyrus-sasl) |
3749 | ("glib" ,glib) | |
8d4791bf MW |
3750 | ("gtk+" ,gtk+) |
3751 | ("libxml2" ,libxml2) | |
6d7273a0 | 3752 | ("liboauth" ,liboauth) |
8d4791bf | 3753 | ("libsoup" ,libsoup) |
e7305878 | 3754 | ("nettle" ,nettle) |
8d4791bf MW |
3755 | ("totem-pl-parser" ,totem-pl-parser))) |
3756 | (arguments | |
3757 | `(#:phases | |
3758 | (modify-phases %standard-phases | |
3759 | (add-after 'unpack 'fix-introspection-install-dir | |
3760 | (lambda* (#:key outputs #:allow-other-keys) | |
3761 | (let ((out (assoc-ref outputs "out"))) | |
3762 | (substitute* '("src/Makefile.in" | |
3763 | "libs/pls/Makefile.in" | |
3764 | "libs/net/Makefile.in") | |
3765 | (("@INTROSPECTION_GIRDIR@") | |
3766 | (string-append out "/share/gir-1.0/")) | |
3767 | (("@INTROSPECTION_TYPELIBDIR@") | |
8c52aab4 MW |
3768 | (string-append out "/lib/girepository-1.0/"))) |
3769 | #t)))))) | |
8d4791bf MW |
3770 | (native-search-paths |
3771 | (list (search-path-specification | |
3772 | (variable "GRL_PLUGIN_PATH") | |
3773 | (files (list (string-append "lib/grilo-" | |
3774 | (version-major+minor version))))))) | |
f032d0be | 3775 | (home-page "https://live.gnome.org/Grilo") |
8d4791bf MW |
3776 | (synopsis "Framework for discovering and browsing media") |
3777 | (description | |
3778 | "Grilo is a framework focused on making media discovery and browsing easy | |
3779 | for application developers.") | |
3780 | (license license:lgpl2.1+))) | |
7b212526 MW |
3781 | |
3782 | (define-public grilo-plugins | |
3783 | (package | |
3784 | (name "grilo-plugins") | |
22753632 | 3785 | (version "0.3.3") |
7b212526 MW |
3786 | (source |
3787 | (origin | |
3788 | (method url-fetch) | |
3789 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3790 | (version-major+minor version) "/" | |
3791 | name "-" version ".tar.xz")) | |
3792 | (sha256 | |
3793 | (base32 | |
22753632 | 3794 | "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy")))) |
7b212526 MW |
3795 | (build-system gnu-build-system) |
3796 | (native-inputs | |
3797 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3798 | ("intltool" ,intltool) | |
3799 | ("itstool" ,itstool) | |
3800 | ("pkg-config" ,pkg-config))) | |
3801 | (inputs | |
3802 | `(("grilo" ,grilo) | |
924ae80f | 3803 | ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la |
7b212526 MW |
3804 | ("glib" ,glib) |
3805 | ("libxml2" ,libxml2) | |
3806 | ("sqlite" ,sqlite) | |
3807 | ("gom" ,gom) | |
3808 | ;; XXX TODO: Add oauth | |
3809 | ;; XXX TODO: Add goa | |
3810 | ;; XXX TODO: Add gdata (e.g. needed for youtube plugin) | |
3811 | ;; XXX TODO: Add lua (needs help finding it) | |
3812 | ("json-glib" ,json-glib) | |
3813 | ("avahi" ,avahi) | |
3814 | ("gmime" ,gmime) | |
3815 | ("libsoup" ,libsoup) | |
3816 | ("libarchive" ,libarchive) | |
3817 | ("totem-pl-parser" ,totem-pl-parser))) | |
3818 | (arguments | |
3819 | `(#:make-flags (list (string-append "GRL_PLUGINS_DIR=" | |
3820 | %output | |
3821 | "/lib/grilo-" | |
3822 | ,(version-major+minor version))) | |
3823 | ;; XXX FIXME: Try to get the test suite working. It appears to require | |
3824 | ;; a working system dbus. Inside the build container, all tests fail | |
3825 | ;; with: "assertion failed: (source)". Outside of the build container, | |
3826 | ;; most tests succeed. | |
3827 | #:tests? #f)) | |
f032d0be | 3828 | (home-page "https://live.gnome.org/Grilo") |
7b212526 MW |
3829 | (synopsis "Plugins for the Grilo media discovery library") |
3830 | (description | |
3831 | "Grilo is a framework focused on making media discovery and browsing easy | |
3832 | for application developers.") | |
3833 | (license license:lgpl2.1+))) | |
4e3fc547 MW |
3834 | |
3835 | (define-public totem | |
3836 | (package | |
3837 | (name "totem") | |
0e091b3e | 3838 | (version "3.26.2") |
4e3fc547 MW |
3839 | (source |
3840 | (origin | |
3841 | (method url-fetch) | |
3842 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3843 | (version-major+minor version) "/" | |
3844 | name "-" version ".tar.xz")) | |
3845 | (sha256 | |
3846 | (base32 | |
0e091b3e | 3847 | "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g")) |
81382e3f MB |
3848 | (patches (search-patches "totem-meson-easy-codec.patch" |
3849 | "totem-meson-compat.patch")))) | |
7ad81b8b | 3850 | (build-system meson-build-system) |
4e3fc547 MW |
3851 | (native-inputs |
3852 | `(("pkg-config" ,pkg-config) | |
3853 | ("desktop-file-utils" ,desktop-file-utils) | |
3854 | ("gobject-introspection" ,gobject-introspection) | |
7ad81b8b LC |
3855 | ("glib:bin" ,glib "bin") ;for 'glib-mkenums' |
3856 | ("gtk:bin" ,gtk+ "bin") ;for 'gtk-update-icon-cache' | |
4e3fc547 | 3857 | ("intltool" ,intltool) |
bcb354ad SB |
3858 | ("itstool" ,itstool) |
3859 | ("xmllint" ,libxml2))) | |
4e3fc547 MW |
3860 | (propagated-inputs |
3861 | `(("dconf" ,dconf))) | |
3862 | (inputs | |
3863 | `(("gtk+" ,gtk+) | |
3864 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3865 | ("atk" ,atk) | |
3866 | ("cairo" ,cairo) | |
3867 | ("dbus-glib" ,dbus-glib) | |
3868 | ("clutter" ,clutter) | |
3869 | ("clutter-gtk" ,clutter-gtk) | |
3870 | ("clutter-gst" ,clutter-gst) | |
6a6db57f | 3871 | ("xorgproto" ,xorgproto) |
4e3fc547 MW |
3872 | ("libxxf86vm" ,libxxf86vm) |
3873 | ("libxtst" ,libxtst) | |
3874 | ("libxrandr" ,libxrandr) | |
3875 | ("libxml2" ,libxml2) | |
3876 | ("libsoup" ,libsoup) | |
3877 | ("libpeas" ,libpeas) | |
3878 | ("librsvg" ,librsvg) | |
3879 | ("lirc" ,lirc) | |
3880 | ("gnome-desktop" ,gnome-desktop) | |
3881 | ("gstreamer" ,gstreamer) | |
3882 | ("gst-plugins-base" ,gst-plugins-base) | |
3883 | ("gst-plugins-good" ,gst-plugins-good) | |
3884 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3885 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
3886 | ;; XXX We use python-2 because libxml2 because itstool (which needs | |
3887 | ;; libxml) currently uses python-2. | |
3888 | ("python" ,python-2) | |
3889 | ("python-pygobject" ,python2-pygobject) | |
3890 | ;; XXX TODO pylint needed for python support | |
3891 | ("totem-pl-parser" ,totem-pl-parser) | |
3892 | ("grilo" ,grilo) | |
3893 | ("grilo-plugins" ,grilo-plugins) | |
3894 | ("nettle" ,nettle) | |
3895 | ("vala" ,vala))) | |
3896 | (arguments | |
7ad81b8b LC |
3897 | `(#:glib-or-gtk? #t |
3898 | ||
a97bfa46 AVY |
3899 | ;; Disable parallel builds until |
3900 | ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is | |
3901 | ;; fixed. Try enabling it when updating this package in case | |
3902 | ;; upstream has fixed it. | |
3903 | #:parallel-build? #f | |
3904 | ||
7ad81b8b | 3905 | ;; Disable automatic GStreamer plugin installation via PackageKit and |
ec5c24f9 | 3906 | ;; all that. |
7ad81b8b | 3907 | #:configure-flags '("-D" "enable-easy-codec-installation=no" |
a388c951 LC |
3908 | |
3909 | ;; Do not build .a files for the plugins, it's | |
3910 | ;; completely useless. This saves 2 MiB. | |
7ad81b8b | 3911 | "--default-library" "shared") |
ec5c24f9 LC |
3912 | |
3913 | #:phases | |
4e3fc547 | 3914 | (modify-phases %standard-phases |
6368eb39 DM |
3915 | (add-before |
3916 | 'install 'disable-cache-generation | |
3917 | (lambda _ | |
3918 | (setenv "DESTDIR" "/") | |
3919 | #t)) | |
4e3fc547 MW |
3920 | (add-after |
3921 | 'install 'wrap-totem | |
3922 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
3923 | (let ((out (assoc-ref outputs "out")) | |
3924 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
3925 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
3926 | (wrap-program (string-append out "/bin/totem") | |
3927 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
39c853bd AW |
3928 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))) |
3929 | (wrap-program (string-append out "/bin/totem-video-thumbnailer") | |
3930 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
4e3fc547 MW |
3931 | #t))))) |
3932 | (home-page "https://wiki.gnome.org/Apps/Videos") | |
3933 | (synopsis "Simple media player for GNOME based on GStreamer") | |
3934 | (description "Totem is a simple yet featureful media player for GNOME | |
3935 | which can read a large number of file formats.") | |
3936 | ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins | |
3937 | ;; to be used and distributed together with GStreamer and Totem. See | |
3938 | ;; file://COPYING in the source distribution for details. | |
3939 | (license license:gpl2+))) | |
f0afb0c8 DH |
3940 | |
3941 | (define-public rhythmbox | |
3942 | (package | |
3943 | (name "rhythmbox") | |
8190e1ed | 3944 | (version "3.4.3") |
f0afb0c8 DH |
3945 | (source (origin |
3946 | (method url-fetch) | |
3947 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3948 | (version-major+minor version) "/" | |
3949 | name "-" version ".tar.xz")) | |
3950 | (sha256 | |
3951 | (base32 | |
8190e1ed | 3952 | "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx")))) |
f0afb0c8 DH |
3953 | (build-system glib-or-gtk-build-system) |
3954 | (arguments | |
3955 | `(#:configure-flags | |
3956 | (list "--enable-lirc" | |
3957 | "--enable-python" | |
3958 | "--enable-vala" | |
3959 | "--with-brasero" | |
3960 | "--with-gudev" | |
3961 | "--with-libsecret") | |
3962 | #:phases | |
3963 | (modify-phases %standard-phases | |
3964 | (add-after | |
3965 | 'install 'wrap-rhythmbox | |
3966 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
3967 | (let ((out (assoc-ref outputs "out")) | |
3968 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
3969 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
349cef58 TGR |
3970 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH")) |
3971 | (python-path (getenv "PYTHONPATH"))) | |
f0afb0c8 DH |
3972 | (wrap-program (string-append out "/bin/rhythmbox") |
3973 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
3974 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
349cef58 TGR |
3975 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)) |
3976 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
f0afb0c8 DH |
3977 | #t))))) |
3978 | (propagated-inputs | |
3979 | `(("dconf" ,dconf))) | |
3980 | (native-inputs | |
bcb354ad SB |
3981 | `(("itstool" ,itstool) |
3982 | ("intltool" ,intltool) | |
f0afb0c8 DH |
3983 | ("glib" ,glib "bin") |
3984 | ("gobject-introspection" ,gobject-introspection) | |
3985 | ("desktop-file-utils" ,desktop-file-utils) | |
bcb354ad SB |
3986 | ("pkg-config" ,pkg-config) |
3987 | ("xmllint" ,libxml2))) | |
f0afb0c8 DH |
3988 | (inputs |
3989 | `(("json-glib" ,json-glib) | |
3990 | ("tdb" ,tdb) | |
3991 | ("gnome-desktop" ,gnome-desktop) | |
3992 | ("python" ,python) | |
3993 | ("python-pygobject" ,python2-pygobject) | |
3994 | ("vala" ,vala) | |
3995 | ("gmime" ,gmime) | |
3996 | ("nettle" ,nettle) | |
f0afb0c8 DH |
3997 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
3998 | ("grilo" ,grilo) | |
3999 | ("grilo-plugins" ,grilo-plugins) | |
4000 | ("gstreamer" ,gstreamer) | |
4001 | ("gst-plugins-base" ,gst-plugins-base) | |
4002 | ("gst-plugins-good" ,gst-plugins-good) | |
f0afb0c8 | 4003 | ("totem-pl-parser" ,totem-pl-parser) |
ea226291 | 4004 | ("libgudev" ,libgudev) |
f0afb0c8 DH |
4005 | ;;("libmtp" ,libmtp) FIXME: Not detected |
4006 | ("libsecret" ,libsecret) | |
4007 | ("libsoup" ,libsoup) | |
4008 | ("libnotify" ,libnotify) | |
4009 | ("libpeas" ,libpeas) | |
4010 | ("lirc" ,lirc) | |
4011 | ;; TODO: clutter* only used by visualizer plugin, which also requires mx | |
4012 | ;;("clutter" ,clutter) | |
4013 | ;;("clutter-gtk" ,clutter-gtk) | |
4014 | ;;("clutter-gst" ,clutter-gst) | |
4015 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4016 | ("atk" ,atk) | |
4017 | ("pango" ,pango) | |
4018 | ("gtk+" ,gtk+) | |
4019 | ;; TODO: | |
4020 | ;; * libgpod | |
4021 | ;; * mx | |
f0afb0c8 DH |
4022 | ("brasero" ,brasero))) |
4023 | (home-page "https://wiki.gnome.org/Apps/Rhythmbox") | |
4024 | (synopsis "Music player for GNOME") | |
4025 | (description "Rhythmbox is a music playing application for GNOME. It | |
4026 | supports playlists, song ratings, and any codecs installed through gstreamer.") | |
4027 | (license license:gpl2+))) | |
f70d8383 DH |
4028 | |
4029 | (define-public eog | |
4030 | (package | |
4031 | (name "eog") | |
61fb581f | 4032 | (version "3.28.2") |
f70d8383 DH |
4033 | (source (origin |
4034 | (method url-fetch) | |
4035 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4036 | (version-major+minor version) "/" | |
4037 | name "-" version ".tar.xz")) | |
4038 | (sha256 | |
4039 | (base32 | |
61fb581f RW |
4040 | "1gasrfqi7qrzdq1idh29r0n6ikkqjb6pbp7a8k5krfz5hkhyfin0")))) |
4041 | (build-system meson-build-system) | |
f70d8383 | 4042 | (arguments |
34c44a34 RW |
4043 | `(#:configure-flags |
4044 | ;; Otherwise, the RUNPATH will lack the final 'eog' path component. | |
4045 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
4046 | (assoc-ref %outputs "out") "/lib/eog")) | |
4047 | #:phases | |
f70d8383 | 4048 | (modify-phases %standard-phases |
61fb581f RW |
4049 | (add-after 'install 'wrap-eog |
4050 | (lambda* (#:key outputs #:allow-other-keys) | |
4051 | (let ((out (assoc-ref outputs "out")) | |
4052 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
4053 | (wrap-program (string-append out "/bin/eog") | |
4054 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
4055 | #t))))) | |
f70d8383 DH |
4056 | (propagated-inputs |
4057 | `(("dconf" ,dconf))) | |
4058 | (native-inputs | |
4059 | `(("intltool" ,intltool) | |
b3546174 | 4060 | ("itstool" ,itstool) |
f70d8383 | 4061 | ("glib" ,glib "bin") |
61fb581f | 4062 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
f70d8383 | 4063 | ("gobject-introspection" ,gobject-introspection) |
bcb354ad SB |
4064 | ("pkg-config" ,pkg-config) |
4065 | ("xmllint" ,libxml2))) | |
f70d8383 DH |
4066 | (inputs |
4067 | `(("gnome-desktop" ,gnome-desktop) | |
4068 | ("shared-mime-info" ,shared-mime-info) | |
4069 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
4070 | ("exempi" ,exempi) | |
4071 | ("lcms" ,lcms) | |
4072 | ("libexif" ,libexif) | |
4073 | ("libpeas" ,libpeas) | |
4074 | ("libjpeg" ,libjpeg) | |
4075 | ("librsvg" ,librsvg) | |
4076 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4077 | ("gtk+" ,gtk+))) | |
4078 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome") | |
4079 | (synopsis "GNOME image viewer") | |
4080 | (description "Eye of GNOME is the GNOME image viewer. It | |
4081 | supports image conversion, rotation, and slideshows.") | |
4082 | (license license:gpl2+))) | |
41af5e7b | 4083 | |
0c3f8cb8 LC |
4084 | (define-public eog-plugins |
4085 | ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as | |
4086 | ;; $DATA/lib/eog/plugins, where DATA is one of the entries in | |
4087 | ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have | |
4088 | ;; 'XDG_DATA_DIRS' appropriately set. | |
4089 | (package | |
4090 | (name "eog-plugins") | |
5fed63dd | 4091 | (version "3.26.3") |
0c3f8cb8 LC |
4092 | (source (origin |
4093 | (method url-fetch) | |
f3b88ed2 | 4094 | (uri (string-append "mirror://gnome/sources/eog-plugins/" |
0c3f8cb8 | 4095 | (version-major+minor version) "/" |
f3b88ed2 | 4096 | "eog-plugins-" version ".tar.xz")) |
0c3f8cb8 LC |
4097 | (sha256 |
4098 | (base32 | |
5fed63dd | 4099 | "06fnjs2p18ad5vk07z685cx26sc7d3azywss00w9xvz794b2i1g3")))) |
0c3f8cb8 LC |
4100 | (build-system gnu-build-system) |
4101 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins") | |
4102 | (synopsis "Extensions for the Eye of GNOME image viewer") | |
4103 | (native-inputs | |
4104 | `(("pkg-config" ,pkg-config) | |
4105 | ("gettext" ,gnu-gettext))) | |
4106 | (inputs | |
4107 | `(("eog" ,eog) | |
4108 | ("glib" ,glib) | |
4109 | ("gtk+" ,gtk+) | |
4110 | ("libpeas" ,libpeas) | |
4111 | ("libexif" ,libexif) | |
4112 | ("libchamplain" ,libchamplain))) | |
4113 | (description | |
4114 | "This package provides plugins for the Eye of GNOME (EOG) image viewer, | |
4115 | notably: | |
4116 | ||
4117 | @itemize | |
4118 | @item @dfn{EXIF Display}, which displays camera (EXIF) information; | |
4119 | @item @dfn{Map}, which displays a map of where the picture was taken on the | |
4120 | side panel; | |
4121 | @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode. | |
4122 | @end itemize\n") | |
4123 | ||
4124 | ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a | |
4125 | ;; long suspicious byte stream that goes to a | |
4126 | ;; ".gresource.eog_postasa_plugin" ELF section. | |
4127 | (license license:gpl2+))) | |
4128 | ||
41af5e7b SB |
4129 | (define-public libgudev |
4130 | (package | |
4131 | (name "libgudev") | |
b78f5118 | 4132 | (version "232") |
41af5e7b SB |
4133 | (source (origin |
4134 | (method url-fetch) | |
4135 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4136 | version "/" name "-" version ".tar.xz")) | |
4137 | (sha256 | |
4138 | (base32 | |
b78f5118 | 4139 | "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f")))) |
41af5e7b | 4140 | (build-system gnu-build-system) |
b78f5118 RW |
4141 | (arguments |
4142 | '(#:configure-flags | |
4143 | ;; umockdev depends on libgudev. | |
4144 | (list "--disable-umockdev"))) | |
41af5e7b SB |
4145 | (native-inputs |
4146 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
4147 | ("gobject-introspection" ,gobject-introspection) | |
4148 | ("pkg-config" ,pkg-config))) | |
4149 | (propagated-inputs | |
4150 | `(("glib" ,glib))) ; required by gudev-1.0.pc | |
4151 | (inputs | |
4152 | `(("udev" ,eudev))) | |
4153 | (home-page "https://wiki.gnome.org/Projects/libgudev") | |
4154 | (synopsis "GObject bindings for libudev") | |
4155 | (description | |
4156 | "This library provides GObject bindings for libudev. It was originally | |
4157 | part of udev-extras, then udev, then systemd. It's now a project on its own.") | |
4158 | (license license:lgpl2.1+))) | |
3dc8828f SB |
4159 | |
4160 | (define-public gvfs | |
4161 | (package | |
4162 | (name "gvfs") | |
0ab9f949 | 4163 | (version "1.36.2") |
3dc8828f SB |
4164 | (source (origin |
4165 | (method url-fetch) | |
4166 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4167 | (version-major+minor version) "/" | |
4168 | name "-" version ".tar.xz")) | |
4169 | (sha256 | |
4170 | (base32 | |
0ab9f949 | 4171 | "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4")))) |
3dc8828f SB |
4172 | (build-system gnu-build-system) |
4173 | (arguments | |
0ab9f949 RW |
4174 | '(#:tests? #f ; XXX: requiring `pidof' |
4175 | #:phases | |
4176 | (modify-phases %standard-phases | |
4177 | (add-after 'unpack 'remove-broken-autogen-script | |
4178 | (lambda _ (delete-file "autogen.sh") #t))))) | |
3dc8828f SB |
4179 | (native-inputs |
4180 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
0ab9f949 RW |
4181 | ("autoconf" ,autoconf) |
4182 | ("automake" ,automake) | |
4183 | ("gettext" ,gettext-minimal) | |
4184 | ("gtk-doc" ,gtk-doc) | |
4185 | ("libtool" ,libtool) | |
3dc8828f SB |
4186 | ("pkg-config" ,pkg-config) |
4187 | ("xsltproc" ,libxslt))) | |
4188 | (inputs | |
4189 | `(("avahi" ,avahi) | |
4190 | ("docbook-xml" ,docbook-xml-4.2) | |
4191 | ("docbook-xsl" ,docbook-xsl) | |
4192 | ("dbus" ,dbus) | |
4193 | ("fuse" ,fuse) | |
24a78aa6 | 4194 | ("gcr" ,gcr) |
3dc8828f SB |
4195 | ("glib" ,glib) |
4196 | ("libarchive" ,libarchive) | |
4197 | ("libbluray" ,libbluray) | |
8852ca24 | 4198 | ("libcap" ,libcap) |
3dc8828f SB |
4199 | ("libcdio-paranoia" ,libcdio-paranoia) |
4200 | ("libgcrypt" ,libgcrypt) | |
4201 | ("libgphoto2" ,libgphoto2) | |
4202 | ("libgudev" ,libgudev) | |
0ab9f949 | 4203 | ("libimobiledevice" ,libimobiledevice) |
3dc8828f SB |
4204 | ("libmtp" ,libmtp) |
4205 | ("libsecret" ,libsecret) | |
4206 | ("libsmbclient" ,samba) | |
4207 | ("libsoup" ,libsoup) | |
4208 | ("libxml2" ,libxml2) | |
4209 | ("nettle" ,nettle) ; XXX: required by libarchive.pc | |
8852ca24 | 4210 | ("polkit" ,polkit) |
3dc8828f SB |
4211 | ("udisks" ,udisks))) |
4212 | (home-page "https://wiki.gnome.org/gvfs/") | |
8f65585b | 4213 | (synopsis "Userspace virtual file system for GIO") |
3dc8828f | 4214 | (description |
8f65585b | 4215 | "GVFS is a userspace virtual file system designed to work with the I/O |
3dc8828f SB |
4216 | abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support |
4217 | to all applications using the GIO API. It also supports exposing the GVFS | |
4218 | mounts to non-GIO applications using FUSE. | |
4219 | ||
4220 | GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP, | |
4221 | DAV, and others.") | |
4222 | (license license:lgpl2.0+))) | |
7c88b6bd AW |
4223 | |
4224 | (define-public gusb | |
4225 | (package | |
4226 | (name "gusb") | |
536b3274 | 4227 | (version "0.3.0") |
7c88b6bd AW |
4228 | (source (origin |
4229 | (method url-fetch) | |
4230 | (uri (string-append "https://github.com/hughsie/libgusb/archive/" | |
536b3274 | 4231 | version ".tar.gz")) |
7c88b6bd AW |
4232 | (sha256 |
4233 | (base32 | |
536b3274 MB |
4234 | "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk")))) |
4235 | (build-system meson-build-system) | |
7c88b6bd | 4236 | (native-inputs |
536b3274 | 4237 | `(("gobject-introspection" ,gobject-introspection) |
7c88b6bd AW |
4238 | ("pkg-config" ,pkg-config) |
4239 | ("vala" ,vala) | |
7c88b6bd AW |
4240 | ("gtk-doc" ,gtk-doc))) |
4241 | (propagated-inputs | |
4242 | ;; Both of these are required by gusb.pc. | |
4243 | `(("glib" ,glib) | |
4244 | ("libusb" ,libusb))) | |
4245 | (arguments | |
536b3274 | 4246 | `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is. |
8f1640ed | 4247 | (home-page "https://github.com/hughsie/libgusb") |
a124bbd2 | 4248 | (synopsis "GLib binding for libusb1") |
7c88b6bd AW |
4249 | (description |
4250 | "GUsb is a GObject wrapper for libusb1 that makes it easy to do | |
4251 | asynchronous control, bulk and interrupt transfers with proper cancellation | |
4252 | and integration into a mainloop. This makes it easy to integrate low level | |
4253 | USB transfers with your high-level application or system daemon.") | |
4254 | (license license:lgpl2.1+))) | |
0abe1d86 AW |
4255 | |
4256 | (define-public simple-scan | |
4257 | (package | |
4258 | (name "simple-scan") | |
baca5333 | 4259 | (version "3.24.1") |
0abe1d86 AW |
4260 | (source (origin |
4261 | (method url-fetch) | |
4262 | (uri (string-append "https://launchpad.net/simple-scan/" | |
4263 | (version-major+minor version) "/" | |
4264 | version "/+download/simple-scan-" | |
4265 | version ".tar.xz")) | |
4266 | (sha256 | |
4267 | (base32 | |
baca5333 | 4268 | "1czg21cdbd2fgqylxfnzfhhzy69gycf816d5bbaq6hb62hmq7bjy")))) |
0abe1d86 AW |
4269 | (build-system glib-or-gtk-build-system) |
4270 | (inputs | |
4271 | `(("gtk" ,gtk+) | |
4272 | ("zlib" ,zlib) | |
4273 | ("cairo" ,cairo) | |
4274 | ("gdk-pixbuf" ,gdk-pixbuf) | |
4275 | ("gusb" ,gusb) | |
4c928743 | 4276 | ("libsane" ,sane-backends))) |
0abe1d86 | 4277 | (native-inputs |
b94a6ca0 | 4278 | `(("gettext" ,gettext-minimal) |
0abe1d86 AW |
4279 | ("itstool" ,itstool) |
4280 | ("colord" ,colord) | |
4281 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. | |
4282 | ("pkg-config" ,pkg-config) | |
bcb354ad SB |
4283 | ("vala" ,vala) |
4284 | ("xmllint" ,libxml2))) | |
fb9ca511 TGR |
4285 | (arguments |
4286 | '(#:configure-flags '("--disable-packagekit") | |
4287 | #:phases | |
4288 | (modify-phases %standard-phases | |
4289 | (add-after 'unpack 'clean | |
4290 | (lambda _ | |
4291 | ;; Remove a left-over reference to PackageKit. | |
4292 | ||
4293 | ;; https://bugs.launchpad.net/simple-scan/+bug/1462769 | |
4294 | ||
4295 | ;; There are some generated C files erroneously | |
4296 | ;; included in the source distribution, and this | |
4297 | ;; one breaks the build by referring to a | |
4298 | ;; non-existent header (packagekit.h) | |
4299 | (delete-file "src/ui.c")))))) | |
0abe1d86 AW |
4300 | (home-page "https://launchpad.net/simple-scan") |
4301 | (synopsis "Document and image scanner") | |
4302 | (description "Simple Scan is an easy-to-use application, designed to let | |
4303 | users connect their scanner and quickly have the image/document in an | |
4304 | appropriate format. Simple Scan is basically a frontend for SANE - which is | |
4305 | the same backend as XSANE uses. This means that all existing scanners will | |
4306 | work and the interface is well tested.") | |
4307 | (license license:gpl3+))) | |
7549f984 | 4308 | |
ab466d79 RW |
4309 | (define-public eolie |
4310 | (package | |
4311 | (name "eolie") | |
1d7cf144 | 4312 | (version "0.9.62") |
ab466d79 RW |
4313 | (source (origin |
4314 | (method url-fetch) | |
00014781 | 4315 | (uri (string-append "https://gitlab.gnome.org/World/eolie/" |
1d7cf144 | 4316 | "uploads/bb4aad19272cc636bd17f2f6602127fe/" |
00014781 | 4317 | "eolie-" version ".tar.xz")) |
ab466d79 RW |
4318 | (sha256 |
4319 | (base32 | |
1d7cf144 | 4320 | "06v76hg87fnhw45dil5vvl20myvaa38n1jqsl0lmkkq6af4mk8wx")))) |
00014781 | 4321 | (build-system meson-build-system) |
ab466d79 | 4322 | (arguments |
00014781 RW |
4323 | `(#:glib-or-gtk? #t |
4324 | #:phases | |
ab466d79 RW |
4325 | (modify-phases %standard-phases |
4326 | (add-after 'wrap 'wrap-more | |
4327 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4328 | (let* ((out (assoc-ref outputs "out")) | |
4329 | ;; These libraries must be on LD_LIBRARY_PATH. | |
4330 | (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret" | |
4331 | "atk" "gtk+" "gsettings-desktop-schemas" | |
84b33436 | 4332 | "gcc:lib" ; needed b/c webkitgtk is built with gcc-7 |
ab466d79 RW |
4333 | "gobject-introspection")) |
4334 | (path (string-join | |
4335 | (map (lambda (lib) | |
4336 | (string-append (assoc-ref inputs lib) "/lib")) | |
4337 | libs) | |
4338 | ":"))) | |
4339 | (wrap-program (string-append out "/bin/eolie") | |
4340 | `("LD_LIBRARY_PATH" ":" prefix (,path)) | |
4341 | `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))) | |
4342 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))) | |
4343 | #t))))) | |
4344 | (native-inputs | |
84b33436 MW |
4345 | `(("gcc:lib" ,gcc-7 "lib") ; needed because webkitgtk is built with gcc-7 |
4346 | ("intltool" ,intltool) | |
ab466d79 | 4347 | ("itstool" ,itstool) |
d95f1041 | 4348 | ("pkg-config" ,pkg-config) |
d95f1041 | 4349 | ("python" ,python) |
00014781 | 4350 | ("glib:bin" ,glib "bin") |
d95f1041 | 4351 | ("gtk+" ,gtk+ "bin"))) |
ab466d79 RW |
4352 | (inputs |
4353 | `(("gobject-introspection" ,gobject-introspection) | |
4354 | ("glib-networking" ,glib-networking) | |
4355 | ("cairo" ,cairo) | |
4356 | ("gtk+" ,gtk+) | |
4357 | ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH | |
4358 | ("python" ,python-wrapper) | |
d72f76df | 4359 | ("python-dateutil" ,python-dateutil) |
00014781 | 4360 | ("python-pyfxa" ,python-pyfxa) |
ab466d79 RW |
4361 | ("python-pygobject" ,python-pygobject) |
4362 | ("python-pycairo" ,python-pycairo) | |
00014781 | 4363 | ("python-pycrypto" ,python-pycrypto) |
ab466d79 RW |
4364 | ("libsecret" ,libsecret) |
4365 | ("gtkspell3" ,gtkspell3) | |
4366 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
72663b48 | 4367 | ("webkitgtk" ,webkitgtk-2.24))) |
166b2c97 | 4368 | (home-page "https://wiki.gnome.org/Apps/Eolie") |
ab466d79 RW |
4369 | (synopsis "Web browser for GNOME") |
4370 | (description | |
4371 | "Eolie is a new web browser for GNOME. It features Firefox sync support, | |
4372 | a secret password store, an adblocker, and a modern UI.") | |
4373 | (license license:gpl3+))) | |
4374 | ||
7549f984 SB |
4375 | (define-public epiphany |
4376 | (package | |
4377 | (name "epiphany") | |
0e4d4d98 | 4378 | (version "3.28.3.1") |
7549f984 SB |
4379 | (source (origin |
4380 | (method url-fetch) | |
dd3266ec | 4381 | (uri (string-append "mirror://gnome/sources/epiphany/" |
7549f984 | 4382 | (version-major+minor version) "/" |
dd3266ec | 4383 | "epiphany-" version ".tar.xz")) |
7549f984 SB |
4384 | (sha256 |
4385 | (base32 | |
0e4d4d98 | 4386 | "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9")))) |
fc5c5b92 R |
4387 | |
4388 | (build-system meson-build-system) | |
7549f984 SB |
4389 | (arguments |
4390 | ;; FIXME: tests run under Xvfb, but fail with: | |
4391 | ;; /src/bookmarks/ephy-bookmarks/create: | |
4392 | ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf | |
4393 | ;; subsystem | |
4394 | ;; FAIL | |
6f48d9db | 4395 | '(#:tests? #f |
e19f9c24 LF |
4396 | #:glib-or-gtk? #t |
4397 | #:configure-flags | |
4398 | ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component. | |
4399 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
4400 | (assoc-ref %outputs "out") "/lib/epiphany")))) | |
80a747c4 SB |
4401 | (propagated-inputs |
4402 | `(("dconf" ,dconf))) | |
7549f984 | 4403 | (native-inputs |
fc5c5b92 | 4404 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
480d39a6 | 4405 | ("gcc" ,gcc-7) ; needed because webkitgtk-2.22 is compiled with gcc-7 |
fc5c5b92 R |
4406 | ("glib:bin" ,glib "bin") ; for glib-mkenums |
4407 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
4408 | ("intltool" ,intltool) | |
7549f984 | 4409 | ("itstool" ,itstool) |
bcb354ad SB |
4410 | ("pkg-config" ,pkg-config) |
4411 | ("xmllint" ,libxml2))) | |
7549f984 SB |
4412 | (inputs |
4413 | `(("avahi" ,avahi) | |
4414 | ("gcr" ,gcr) | |
fc5c5b92 | 4415 | ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files |
7549f984 SB |
4416 | ("glib-networking" ,glib-networking) |
4417 | ("gnome-desktop" ,gnome-desktop) | |
4418 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
eb6f315b | 4419 | ("json-glib" ,json-glib) |
7549f984 SB |
4420 | ("iso-codes" ,iso-codes) |
4421 | ("libnotify" ,libnotify) | |
4422 | ("libsecret" ,libsecret) | |
7549f984 | 4423 | ("libxslt" ,libxslt) |
fc5c5b92 | 4424 | ("nettle" ,nettle) ; for hogweed |
7549f984 | 4425 | ("sqlite" ,sqlite) |
72663b48 | 4426 | ("webkitgtk" ,webkitgtk-2.24))) |
7549f984 SB |
4427 | (home-page "https://wiki.gnome.org/Apps/Web") |
4428 | (synopsis "GNOME web browser") | |
4429 | (description | |
4430 | "Epiphany is a GNOME web browser targeted at non-technical users. Its | |
4431 | principles are simplicity and standards compliance.") | |
4432 | (license license:gpl2+))) | |
a3856b2c SB |
4433 | |
4434 | (define-public d-feet | |
4435 | (package | |
4436 | (name "d-feet") | |
458e9221 | 4437 | (version "0.3.14") |
a3856b2c SB |
4438 | (source (origin |
4439 | (method url-fetch) | |
4440 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4441 | (version-major+minor version) "/" | |
4442 | name "-" version ".tar.xz")) | |
4443 | (sha256 | |
4444 | (base32 | |
458e9221 | 4445 | "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f")))) |
a3856b2c SB |
4446 | (build-system glib-or-gtk-build-system) |
4447 | (arguments | |
4448 | '(#:out-of-source? #f ; tests need to run in the source directory. | |
4449 | #:phases | |
4450 | (modify-phases %standard-phases | |
4451 | (add-before | |
4452 | 'check 'pre-check | |
86aff791 | 4453 | (lambda _ |
a3856b2c SB |
4454 | ;; The test suite requires a running X server. |
4455 | (system "Xvfb :1 &") | |
4456 | (setenv "DISPLAY" ":1") | |
4457 | ;; Don't fail on missing '/etc/machine-id'. | |
4458 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
4459 | ;; tests.py and window.py don't meet E402: | |
4460 | ;; E402 module level import not at top of file | |
4461 | (substitute* "src/tests/Makefile" | |
86aff791 MW |
4462 | (("--ignore=E123") "--ignore=E123,E402")) |
4463 | #t)) | |
a3856b2c SB |
4464 | (add-after |
4465 | 'install 'wrap-program | |
4466 | (lambda* (#:key outputs #:allow-other-keys) | |
4467 | (let ((prog (string-append (assoc-ref outputs "out") | |
4468 | "/bin/d-feet"))) | |
4469 | (wrap-program prog | |
4470 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
86aff791 MW |
4471 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) |
4472 | #t)))))) | |
a3856b2c SB |
4473 | (native-inputs |
4474 | `(("intltool" ,intltool) | |
4475 | ("itstool" ,itstool) | |
4476 | ("pkg-config" ,pkg-config) | |
4477 | ("python-pep8" ,python-pep8) | |
4478 | ("xmllint" ,libxml2) | |
4479 | ("xorg-server" ,xorg-server))) | |
4480 | (inputs | |
4481 | `(("gobject-introspection" ,gobject-introspection) | |
4482 | ("gtk+" ,gtk+) | |
4483 | ("python" ,python-wrapper) | |
458e9221 | 4484 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
a3856b2c SB |
4485 | ("python-pygobject" ,python-pygobject))) |
4486 | (home-page "https://wiki.gnome.org/Apps/DFeet") | |
4487 | (synopsis "D-Bus debugger") | |
4488 | (description | |
4489 | "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces | |
4490 | of running programs and invoke methods on those interfaces.") | |
4491 | (license license:gpl2+))) | |
c3b97bd9 SB |
4492 | |
4493 | (define-public yelp-xsl | |
4494 | (package | |
4495 | (name "yelp-xsl") | |
7c213900 | 4496 | (version "3.28.0") |
c3b97bd9 SB |
4497 | (source (origin |
4498 | (method url-fetch) | |
4499 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4500 | (version-major+minor version) "/" | |
4501 | name "-" version ".tar.xz")) | |
4502 | (sha256 | |
4503 | (base32 | |
7c213900 | 4504 | "14rznm1qpsnmkwksnkd5j7zplakl01kvrcw0fdmd5gdc65xz9kcc")))) |
c3b97bd9 SB |
4505 | (build-system gnu-build-system) |
4506 | (native-inputs | |
4507 | `(("intltool" ,intltool) | |
4508 | ("itstool" ,itstool) | |
4509 | ("xmllint" ,libxml2))) | |
4510 | (home-page "https://wiki.gnome.org/Apps/Yelp") | |
4511 | (synopsis "XSL stylesheets for Yelp") | |
4512 | (description | |
4513 | "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser | |
4514 | to format Docbook and Mallard documents.") | |
4515 | (license license:gpl2+))) | |
de3d612a SB |
4516 | |
4517 | (define-public yelp | |
4518 | (package | |
4519 | (name "yelp") | |
ef7f084f | 4520 | (version "3.28.1") |
de3d612a SB |
4521 | (source (origin |
4522 | (method url-fetch) | |
4523 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4524 | (version-major+minor version) "/" | |
4525 | name "-" version ".tar.xz")) | |
4526 | (sha256 | |
4527 | (base32 | |
ef7f084f | 4528 | "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8")))) |
de3d612a SB |
4529 | (build-system glib-or-gtk-build-system) |
4530 | (native-inputs | |
4531 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
4532 | ("intltool" ,intltool) | |
4533 | ("itstool" ,itstool) | |
4534 | ("pkg-config" ,pkg-config))) | |
4535 | (propagated-inputs | |
4536 | `(("dconf" ,dconf))) | |
4537 | (inputs | |
ad1b7d8b SB |
4538 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
4539 | ("libxslt" ,libxslt) | |
de3d612a | 4540 | ("sqlite" ,sqlite) |
4c28ca1d SB |
4541 | ("webkitgtk" ,webkitgtk) |
4542 | ("yelp-xsl" ,yelp-xsl))) | |
de3d612a SB |
4543 | (home-page "https://wiki.gnome.org/Apps/Yelp") |
4544 | (synopsis "GNOME help browser") | |
4545 | (description | |
4546 | "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook, | |
4547 | man, info, and HTML documents. It can locate documents according to the | |
4548 | freedesktop.org help system specification.") | |
4549 | (license license:gpl2+))) | |
122d0d10 SB |
4550 | |
4551 | (define-public yelp-tools | |
4552 | (package | |
4553 | (name "yelp-tools") | |
2089bca5 | 4554 | (version "3.28.0") |
122d0d10 SB |
4555 | (source (origin |
4556 | (method url-fetch) | |
4557 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4558 | (version-major+minor version) "/" | |
4559 | name "-" version ".tar.xz")) | |
4560 | (sha256 | |
4561 | (base32 | |
2089bca5 | 4562 | "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2")))) |
122d0d10 SB |
4563 | (build-system gnu-build-system) |
4564 | (native-inputs | |
4565 | `(("pkg-config" ,pkg-config))) | |
4566 | (propagated-inputs | |
4567 | ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'. | |
4568 | `(("itstool" ,itstool) | |
4569 | ("xmllint" ,libxml2) | |
4570 | ("xsltproc" ,libxslt))) | |
4571 | (inputs | |
4572 | `(("yelp-xsl" ,yelp-xsl))) | |
4573 | (home-page "https://wiki.gnome.org/Apps/Yelp/Tools") | |
4574 | (synopsis "Yelp documentation tools") | |
4575 | (description | |
4576 | "Yelp-tools is a collection of scripts and build utilities to help create, | |
4577 | manage, and publish documentation for Yelp and the web. Most of the heavy | |
4578 | lifting is done by packages like yelp-xsl and itstool. This package just | |
4579 | wraps things up in a developer-friendly way.") | |
4580 | (license license:gpl2+))) | |
af8f9f23 RW |
4581 | |
4582 | (define-public libgee | |
4583 | (package | |
4584 | (name "libgee") | |
b1be07cf | 4585 | (version "0.20.1") |
af8f9f23 RW |
4586 | (source (origin |
4587 | (method url-fetch) | |
4588 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4589 | (version-major+minor version) "/" | |
4590 | name "-" version ".tar.xz")) | |
4591 | (sha256 | |
4592 | (base32 | |
b1be07cf | 4593 | "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v")))) |
af8f9f23 RW |
4594 | (build-system gnu-build-system) |
4595 | (arguments | |
4596 | `(#:phases | |
4597 | (modify-phases %standard-phases | |
4598 | (add-after 'unpack 'fix-introspection-install-dir | |
4599 | (lambda* (#:key outputs #:allow-other-keys) | |
4600 | (let ((out (assoc-ref outputs "out"))) | |
4601 | (substitute* "gee/Makefile.in" | |
4602 | (("@INTROSPECTION_GIRDIR@") | |
4603 | (string-append out "/share/gir-1.0/")) | |
4604 | (("@INTROSPECTION_TYPELIBDIR@") | |
4605 | (string-append out "/lib/girepository-1.0/"))))))))) | |
4606 | (native-inputs | |
4607 | `(("glib" ,glib "bin") | |
4608 | ("pkg-config" ,pkg-config))) | |
4609 | (inputs | |
4610 | `(("glib" ,glib) | |
4611 | ("gobject-introspection" ,gobject-introspection))) | |
4612 | (home-page "https://wiki.gnome.org/Projects/Libgee") | |
4613 | (synopsis "GObject collection library") | |
4614 | (description | |
4615 | "Libgee is a utility library providing GObject-based interfaces and | |
4616 | classes for commonly used data structures.") | |
4617 | (license license:lgpl2.1+))) | |
b0f9c4b8 RW |
4618 | |
4619 | (define-public gexiv2 | |
4620 | (package | |
4621 | (name "gexiv2") | |
adf0b482 | 4622 | (version "0.10.10") |
b0f9c4b8 RW |
4623 | (source (origin |
4624 | (method url-fetch) | |
4625 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4626 | (version-major+minor version) "/" | |
4627 | name "-" version ".tar.xz")) | |
4628 | (sha256 | |
4629 | (base32 | |
adf0b482 | 4630 | "1qbcwq89g4r67k1dj4laqj441pj4195c8hzhxn8vc6mmg8adg6kx")))) |
51c482e4 | 4631 | (build-system meson-build-system) |
094aaa1a LC |
4632 | (arguments |
4633 | ;; On 32-bit platforms, the test fails with a rounding error: | |
4634 | ;; <https://bugzilla.gnome.org/show_bug.cgi?id=775249>. Just skip it for | |
4635 | ;; now. | |
4636 | (if (and (not (%current-target-system)) | |
4637 | (member (%current-system) '("i686-linux" "armhf-linux"))) | |
4638 | '(#:tests? #f) | |
4639 | '())) | |
b0f9c4b8 RW |
4640 | (native-inputs |
4641 | `(("glib" ,glib "bin") | |
4642 | ("pkg-config" ,pkg-config))) | |
4643 | (propagated-inputs | |
4644 | ;; Listed in "Requires" section of gexiv2.pc | |
4645 | `(("exiv2" ,exiv2))) | |
4646 | (inputs | |
4647 | `(("glib" ,glib) | |
4648 | ("gobject-introspection" ,gobject-introspection))) | |
4649 | (home-page "https://wiki.gnome.org/Projects/gexiv2") | |
4650 | (synopsis "GObject wrapper around the Exiv2 photo metadata library") | |
4651 | (description | |
4652 | "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It | |
4653 | allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP | |
4654 | metadata in photo and video files of various formats.") | |
4655 | (license license:gpl2+))) | |
fed5a689 RW |
4656 | |
4657 | (define-public shotwell | |
4658 | (package | |
4659 | (name "shotwell") | |
e266043e | 4660 | (version "0.28.4") |
fed5a689 RW |
4661 | (source (origin |
4662 | (method url-fetch) | |
4663 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4664 | (version-major+minor version) "/" | |
4665 | name "-" version ".tar.xz")) | |
4666 | (sha256 | |
4667 | (base32 | |
e266043e | 4668 | "03k7n2kmzqn11kf3733w7m6xjh2b5q9xr84za2hli11fjymzaxm9")))) |
fed5a689 | 4669 | (build-system glib-or-gtk-build-system) |
735b8db6 TGR |
4670 | (propagated-inputs |
4671 | `(("dconf" ,dconf))) | |
fed5a689 RW |
4672 | (native-inputs |
4673 | `(("pkg-config" ,pkg-config) | |
f819c21d | 4674 | ("itstool" ,itstool) |
b94a6ca0 | 4675 | ("gettext" ,gettext-minimal) |
77e9c993 | 4676 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
735b8db6 TGR |
4677 | ("itstool" ,itstool) |
4678 | ("vala" ,vala))) | |
fed5a689 | 4679 | (inputs |
735b8db6 TGR |
4680 | `(("glib:bin" ,glib "bin") |
4681 | ("gstreamer" ,gstreamer) | |
fed5a689 | 4682 | ("gst-plugins-base" ,gst-plugins-base) |
dfb0323d | 4683 | ("libgdata" ,libgdata) |
fed5a689 RW |
4684 | ("libgee" ,libgee) |
4685 | ("gexiv2" ,gexiv2) | |
4686 | ("libraw" ,libraw) | |
4687 | ("json-glib" ,json-glib) | |
7108425c | 4688 | ("webkitgtk" ,webkitgtk) |
fed5a689 RW |
4689 | ("sqlite" ,sqlite) |
4690 | ("libsoup" ,libsoup) | |
4691 | ("libxml2" ,libxml2) | |
fed5a689 | 4692 | ("libgudev" ,libgudev) |
522fc32e LF |
4693 | ("libgphoto2" ,libgphoto2) |
4694 | ("gcr" ,gcr))) | |
fed5a689 RW |
4695 | (home-page "https://wiki.gnome.org/Apps/Shotwell") |
4696 | (synopsis "Photo manager for GNOME 3") | |
4697 | (description | |
4698 | "Shotwell is a digital photo manager designed for the GNOME desktop | |
4699 | environment. It allows you to import photos from disk or camera, organize | |
4700 | them by keywords and events, view them in full-window or fullscreen mode, and | |
4701 | share them with others via social networking and more.") | |
4702 | (license license:lgpl2.1+))) | |
293ff8b2 DT |
4703 | |
4704 | (define-public file-roller | |
4705 | (package | |
4706 | (name "file-roller") | |
0a500745 | 4707 | (version "3.28.0") |
293ff8b2 DT |
4708 | (source (origin |
4709 | (method url-fetch) | |
4710 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4711 | (version-major+minor version) "/" | |
4712 | name "-" version ".tar.xz")) | |
4713 | (sha256 | |
4714 | (base32 | |
0a500745 RW |
4715 | "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1")))) |
4716 | (build-system meson-build-system) | |
293ff8b2 | 4717 | (native-inputs |
0a500745 RW |
4718 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
4719 | ("intltool" ,intltool) | |
4720 | ("pkg-config" ,pkg-config) | |
4721 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache | |
4722 | ("glib:bin" ,glib "bin"))) | |
293ff8b2 DT |
4723 | ;; TODO: Add libnautilus. |
4724 | (inputs | |
4725 | `(("gtk+" ,gtk+) | |
4726 | ("gdk-pixbuf" ,gdk-pixbuf) | |
4727 | ("json-glib" ,json-glib) | |
4728 | ("libarchive" ,libarchive) | |
4729 | ("libnotify" ,libnotify) | |
4730 | ("nettle" ,nettle) | |
4731 | ("itstool" ,itstool) | |
4732 | ("libxml2" ,libxml2))) | |
4733 | (synopsis "Graphical archive manager for GNOME") | |
4734 | (description "File Roller is an archive manager for the GNOME desktop | |
4735 | environment that allows users to view, unpack, and create compressed archives | |
4736 | such as gzip tarballs.") | |
4737 | (home-page "http://fileroller.sourceforge.net/") | |
4738 | (license license:gpl2+))) | |
7ce49365 SB |
4739 | |
4740 | (define-public gnome-session | |
4741 | (package | |
4742 | (name "gnome-session") | |
df278071 | 4743 | (version "3.28.1") |
7ce49365 SB |
4744 | (source (origin |
4745 | (method url-fetch) | |
4746 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4747 | (version-major+minor version) "/" | |
4748 | name "-" version ".tar.xz")) | |
4749 | (sha256 | |
4750 | (base32 | |
df278071 | 4751 | "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq")))) |
2914af3c | 4752 | (arguments |
df278071 RW |
4753 | '(#:glib-or-gtk? #t |
4754 | #:phases | |
2914af3c AW |
4755 | (modify-phases %standard-phases |
4756 | (add-before 'configure 'pre-configure | |
4757 | (lambda* (#:key outputs #:allow-other-keys) | |
4758 | ;; Use elogind instead of systemd. | |
df278071 RW |
4759 | (substitute* "meson.build" |
4760 | (("libsystemd-login") "libelogind") | |
4761 | (("and libsystemd_daemon_dep.found.*") ",")) | |
2914af3c AW |
4762 | (substitute* "gnome-session/gsm-systemd.c" |
4763 | (("#include <systemd/sd-login.h>") | |
4764 | "#include <elogind/sd-login.h>")) | |
df278071 | 4765 | ;; Remove uses of the systemd daemon. |
803ab416 SB |
4766 | (substitute* "gnome-session/gsm-autostart-app.c" |
4767 | (("#ifdef HAVE_SYSTEMD") "#if 0")) | |
a0d7baaf LC |
4768 | #t)) |
4769 | (add-after 'install 'wrap-gnome-session | |
4770 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4771 | ;; Make sure 'gnome-session' finds the 'gsettings' program. | |
4772 | (let ((glib (assoc-ref inputs "glib:bin")) | |
4773 | (out (assoc-ref outputs "out"))) | |
4774 | (wrap-program (string-append out "/bin/gnome-session") | |
4775 | `("PATH" ":" prefix (,(string-append glib "/bin")))) | |
1d7bff4b TS |
4776 | #t))) |
4777 | (add-after 'install 'add-absolute-paths-to-desktop-files | |
4778 | (lambda* (#:key outputs #:allow-other-keys) | |
4779 | (let* ((out (assoc-ref outputs "out"))) | |
4780 | (substitute* (map (lambda (x) | |
4781 | (string-append out "/share/xsessions/" x)) | |
4782 | '("gnome.desktop" "gnome-xorg.desktop")) | |
4783 | (("gnome-session") (string-append out "/bin/gnome-session"))) | |
a0d7baaf | 4784 | #t)))) |
6cbc8d57 | 4785 | |
2914af3c | 4786 | #:configure-flags |
df278071 RW |
4787 | '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error |
4788 | "-Dman=false" ; FIXME: disabled because of docbook validation error | |
4789 | "-Dsystemd_journal=false"))) | |
4790 | (build-system meson-build-system) | |
7ce49365 SB |
4791 | (native-inputs |
4792 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4793 | ("pkg-config" ,pkg-config) | |
4794 | ("intltool" ,intltool) | |
df278071 RW |
4795 | ("xsltproc" ,libxslt) |
4796 | ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' | |
4797 | ("docbook-xsl" ,docbook-xsl) | |
4798 | ("docbook-xml" ,docbook-xml) | |
4799 | ("xmlto" ,xmlto))) | |
7ce49365 | 4800 | (inputs |
2914af3c AW |
4801 | `(("elogind" ,elogind) |
4802 | ("gnome-desktop" ,gnome-desktop) | |
ba3cb5ab | 4803 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
7ce49365 SB |
4804 | ("gtk+" ,gtk+) |
4805 | ("json-glib" ,json-glib) | |
4806 | ("libsm" ,libsm) | |
4807 | ("libxcomposite" ,libxcomposite) | |
4808 | ("libxtst" ,libxtst) | |
4809 | ("mesa" ,mesa) | |
4810 | ("upower" ,upower) | |
4811 | ("xtrans" ,xtrans))) | |
4812 | (synopsis "Session manager for GNOME") | |
4813 | (description | |
4814 | "This package contains the GNOME session manager, as well as a | |
4815 | configuration program to choose applications starting on login.") | |
4816 | (home-page "https://wiki.gnome.org/Projects/SessionManagement") | |
4817 | (license license:gpl2+))) | |
f47ba77e SB |
4818 | |
4819 | (define-public gjs | |
4820 | (package | |
4821 | (name "gjs") | |
72717817 | 4822 | (version "1.52.3") |
f47ba77e SB |
4823 | (source (origin |
4824 | (method url-fetch) | |
4825 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4826 | (version-major+minor version) "/" | |
4827 | name "-" version ".tar.xz")) | |
4828 | (sha256 | |
4829 | (base32 | |
72717817 | 4830 | "1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff")))) |
f47ba77e SB |
4831 | (build-system gnu-build-system) |
4832 | (arguments | |
4833 | '(#:phases | |
4834 | (modify-phases %standard-phases | |
4835 | (add-before | |
4836 | 'check 'pre-check | |
4837 | (lambda _ | |
fc119619 MW |
4838 | ;; The test suite requires a running X server. |
4839 | (system "Xvfb :1 &") | |
4840 | (setenv "DISPLAY" ":1") | |
4841 | ||
f47ba77e SB |
4842 | ;; For the missing /etc/machine-id. |
4843 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
ba666b07 | 4844 | |
144f94d0 KK |
4845 | ;; Our mozjs-38 package does not compile the required Intl API |
4846 | ;; support for these failing tests. | |
4847 | (substitute* "installed-tests/js/testLocale.js" | |
4848 | ((".*toBeDefined.*") "") | |
4849 | ((".*expect\\(datestr\\).*") "")) | |
f47ba77e SB |
4850 | #t))))) |
4851 | (native-inputs | |
8a831c6f | 4852 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources |
f47ba77e SB |
4853 | ("pkg-config" ,pkg-config) |
4854 | ("xmllint" ,libxml2) | |
4855 | ;; For testing | |
4856 | ("dbus-launch" ,dbus) | |
4857 | ("uuidgen" ,util-linux) | |
ebebee94 | 4858 | ("xvfb" ,xorg-server-for-tests))) |
f47ba77e SB |
4859 | (propagated-inputs |
4860 | ;; These are all in the Requires.private field of gjs-1.0.pc. | |
144f94d0 KK |
4861 | `(("cairo" ,cairo) |
4862 | ("gobject-introspection" ,gobject-introspection) | |
72717817 | 4863 | ("mozjs" ,mozjs-52))) |
f47ba77e SB |
4864 | (inputs |
4865 | `(("gtk+" ,gtk+) | |
4866 | ("readline" ,readline))) | |
4867 | (synopsis "Javascript bindings for GNOME") | |
f032d0be | 4868 | (home-page "https://live.gnome.org/Gjs") |
f47ba77e SB |
4869 | (description |
4870 | "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey | |
4871 | javascript engine and the GObject introspection framework.") | |
4872 | (license license:gpl2+))) | |
329d731b DH |
4873 | |
4874 | (define-public gedit | |
4875 | (package | |
4876 | (name "gedit") | |
6a29c8d3 | 4877 | (version "3.28.1") |
329d731b DH |
4878 | (source (origin |
4879 | (method url-fetch) | |
4880 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4881 | (version-major+minor version) "/" | |
4882 | name "-" version ".tar.xz")) | |
4883 | (sha256 | |
4884 | (base32 | |
6a29c8d3 | 4885 | "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i")))) |
329d731b DH |
4886 | (build-system glib-or-gtk-build-system) |
4887 | (arguments | |
0d2df50c | 4888 | `(#:phases |
329d731b DH |
4889 | (modify-phases %standard-phases |
4890 | (add-after | |
4891 | 'install 'wrap-gedit | |
4892 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4893 | (let ((out (assoc-ref outputs "out")) | |
4894 | (gtksourceview (assoc-ref inputs "gtksourceview")) | |
afc25242 SB |
4895 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) |
4896 | (python-path (getenv "PYTHONPATH"))) | |
329d731b | 4897 | (wrap-program (string-append out "/bin/gedit") |
afc25242 | 4898 | ;; For plugins. |
329d731b | 4899 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) |
afc25242 | 4900 | `("PYTHONPATH" ":" prefix (,python-path)) |
329d731b DH |
4901 | ;; For language-specs. |
4902 | `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview | |
4903 | "/share"))))) | |
4904 | #t))))) | |
4905 | (propagated-inputs | |
4906 | `(("dconf" ,dconf))) | |
4907 | (native-inputs | |
4908 | `(("intltool" ,intltool) | |
b3546174 | 4909 | ("itstool" ,itstool) |
329d731b DH |
4910 | ("gobject-introspection" ,gobject-introspection) |
4911 | ("pkg-config" ,pkg-config))) | |
4912 | (inputs | |
4913 | `(("glib" ,glib) | |
0d2df50c | 4914 | ("gspell" ,gspell) |
329d731b | 4915 | ("gtk+" ,gtk+) |
b54c2289 | 4916 | ("gtksourceview" ,gtksourceview-3) |
329d731b DH |
4917 | ("libpeas" ,libpeas) |
4918 | ("libxml2" ,libxml2) | |
329d731b DH |
4919 | ("iso-codes" ,iso-codes) |
4920 | ("python-pygobject" ,python-pygobject) | |
4921 | ("python" ,python) | |
4922 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4923 | ("libx11" ,libx11) | |
4924 | ("vala" ,vala) | |
4925 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
4926 | ("libsoup" ,libsoup) | |
4927 | ("gnome-desktop" ,gnome-desktop))) | |
4928 | (home-page "https://wiki.gnome.org/Apps/Gedit") | |
4929 | (synopsis "GNOME text editor") | |
4930 | (description "While aiming at simplicity and ease of use, gedit is a | |
4931 | powerful general purpose text editor.") | |
4932 | (license license:gpl2+))) | |
b7179363 SB |
4933 | |
4934 | (define-public zenity | |
4935 | (package | |
4936 | (name "zenity") | |
f8e2b577 | 4937 | (version "3.28.1") |
b7179363 SB |
4938 | (source (origin |
4939 | (method url-fetch) | |
4940 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4941 | (version-major+minor version) "/" | |
4942 | name "-" version ".tar.xz")) | |
4943 | (sha256 | |
4944 | (base32 | |
f8e2b577 | 4945 | "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv")))) |
b7179363 SB |
4946 | (build-system gnu-build-system) |
4947 | (native-inputs | |
b94a6ca0 | 4948 | `(("gettext" ,gettext-minimal) |
b7179363 SB |
4949 | ("itstool" ,itstool) |
4950 | ("pkg-config" ,pkg-config))) | |
4951 | (inputs | |
4952 | `(("libnotify" ,libnotify) | |
4953 | ("webkitgtk" ,webkitgtk))) | |
4954 | (synopsis "Display graphical dialog boxes from shell scripts") | |
f032d0be | 4955 | (home-page "https://www.gnome.org") |
b7179363 SB |
4956 | (description |
4957 | "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you | |
4958 | to display dialog boxes from the commandline and shell scripts.") | |
4959 | (license license:lgpl2.0+))) | |
60c3627c SB |
4960 | |
4961 | (define-public mutter | |
4962 | (package | |
4963 | (name "mutter") | |
5055d385 | 4964 | (version "3.28.2") |
60c3627c | 4965 | (source (origin |
86c44e72 KK |
4966 | (method url-fetch) |
4967 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4968 | (version-major+minor version) "/" | |
4969 | name "-" version ".tar.xz")) | |
60c3627c SB |
4970 | (sha256 |
4971 | (base32 | |
5055d385 | 4972 | "0ighs1zvlssgq16v1h3vg280za7y448snq65gc5m1zmqqawqkymg")))) |
86c44e72 KK |
4973 | ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked |
4974 | ;; versions of cogl and clutter. As a result, many of the inputs, | |
4975 | ;; propagated-inputs, and configure flags used in cogl and clutter are | |
4976 | ;; needed here as well. | |
60c3627c SB |
4977 | (build-system gnu-build-system) |
4978 | (arguments | |
4979 | '(#:configure-flags | |
4980 | ;; XXX: build fails with [-Werror]: | |
4981 | ;; backends/meta-cursor-renderer.c:112:5: error: | |
4982 | ;; implicit declaration of function ?roundf? | |
a88d5a0c MW |
4983 | (list "--enable-compile-warnings=minimum" |
4984 | ||
86c44e72 | 4985 | "--enable-native-backend" |
a88d5a0c MW |
4986 | |
4987 | ;; The following flags are needed for the bundled clutter | |
4988 | "--enable-x11-backend=yes" | |
4989 | ||
d633f2f6 RH |
4990 | (string-append "--with-xwayland-path=" |
4991 | (assoc-ref %build-inputs "xorg-server-xwayland") | |
4992 | "/bin/Xwayland") | |
4993 | ||
a88d5a0c MW |
4994 | ;; the remaining flags are needed for the bundled cogl |
4995 | "--enable-cogl-gst" | |
4996 | (string-append "--with-gl-libname=" | |
4997 | (assoc-ref %build-inputs "mesa") | |
f23052a6 DC |
4998 | "/lib/libGL.so")) |
4999 | #:phases | |
5000 | (modify-phases %standard-phases | |
86c44e72 KK |
5001 | ;; Replace references to systemd libraries to elogind references. |
5002 | (add-before 'configure 'use-elogind | |
5003 | (lambda _ | |
5004 | (substitute* (list "configure" | |
5005 | "src/backends/native/meta-launcher.c" | |
5006 | "src/core/main.c") | |
5007 | (("systemd") "elogind")) | |
5008 | #t))))) | |
60c3627c SB |
5009 | (native-inputs |
5010 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5011 | ("gobject-introspection" ,gobject-introspection) | |
5012 | ("intltool" ,intltool) | |
f23052a6 DC |
5013 | ("pkg-config" ,pkg-config) |
5014 | ;; For git build | |
5015 | ("autoconf" ,autoconf) | |
5016 | ("automake" ,automake) | |
5017 | ("libtool" ,libtool))) | |
60c3627c | 5018 | (propagated-inputs |
a88d5a0c MW |
5019 | `(;; libmutter.pc refers to these: |
5020 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
5021 | ("gtk+" ,gtk+) | |
5022 | ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these: | |
5023 | ("atk" ,atk) | |
5024 | ("cairo" ,cairo) | |
5025 | ("gdk-pixbuf" ,gdk-pixbuf) | |
5026 | ("glib" ,glib) | |
60c3627c | 5027 | ("gtk+" ,gtk+) |
a88d5a0c MW |
5028 | ("json-glib" ,json-glib) |
5029 | ("libinput" ,libinput) | |
5030 | ("libx11" ,libx11) | |
5031 | ("libxcomposite" ,libxcomposite) | |
5032 | ("libxdamage" ,libxdamage) | |
5033 | ("libxext" ,libxext) | |
5034 | ("libxfixes" ,libxfixes) | |
5035 | ("libxkbcommon" ,libxkbcommon) | |
5036 | ("libxrandr" ,libxrandr) | |
5037 | ("mesa" ,mesa) | |
5038 | ("pango" ,pango) | |
5039 | ("udev" ,eudev) | |
a88d5a0c | 5040 | ("xinput" ,xinput))) |
60c3627c | 5041 | (inputs |
86c44e72 KK |
5042 | `(("elogind" ,elogind) |
5043 | ("gnome-desktop" ,gnome-desktop) | |
60c3627c | 5044 | ("libcanberra-gtk" ,libcanberra) |
a88d5a0c | 5045 | ("libgudev" ,libgudev) |
60c3627c SB |
5046 | ("libice" ,libice) |
5047 | ("libsm" ,libsm) | |
60c3627c | 5048 | ("libxkbfile" ,libxkbfile) |
a88d5a0c | 5049 | ("libxrandr" ,libxrandr) |
86c44e72 | 5050 | ("libxtst" ,libxtst) |
60c3627c SB |
5051 | ("startup-notification" ,startup-notification) |
5052 | ("upower-glib" ,upower) | |
5053 | ("xkeyboard-config" ,xkeyboard-config) | |
d633f2f6 | 5054 | ("xorg-server-xwayland" ,xorg-server-xwayland) |
60c3627c SB |
5055 | ("zenity" ,zenity))) |
5056 | (synopsis "Window and compositing manager") | |
f032d0be | 5057 | (home-page "https://www.gnome.org") |
60c3627c SB |
5058 | (description |
5059 | "Mutter is a window and compositing manager that displays and manages your | |
5060 | desktop via OpenGL. Mutter combines a sophisticated display engine using the | |
5061 | Clutter toolkit with solid window-management logic inherited from the Metacity | |
5062 | window manager.") | |
86c44e72 | 5063 | (license license:gpl2+))) |
685cee87 SB |
5064 | |
5065 | (define-public gnome-online-accounts | |
5066 | (package | |
5067 | (name "gnome-online-accounts") | |
fc984c85 | 5068 | (version "3.28.0") |
685cee87 SB |
5069 | (source (origin |
5070 | (method url-fetch) | |
5071 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5072 | (version-major+minor version) "/" | |
5073 | name "-" version ".tar.xz")) | |
5074 | (sha256 | |
5075 | (base32 | |
fc984c85 | 5076 | "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47")))) |
14c297fd | 5077 | (outputs '("out" "lib")) |
685cee87 | 5078 | (build-system glib-or-gtk-build-system) |
14c297fd TS |
5079 | (arguments |
5080 | `(#:configure-flags | |
5081 | (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib")) | |
5082 | #:phases | |
5083 | (modify-phases %standard-phases | |
5084 | (add-before 'configure 'patch-libgoa-output | |
5085 | (lambda* (#:key outputs #:allow-other-keys) | |
5086 | (let ((lib (assoc-ref outputs "lib"))) | |
5087 | (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in") | |
5088 | (("@prefix@") lib) | |
5089 | (("@exec_prefix@") lib) | |
5090 | (("@libdir@") (string-append lib "/lib")) | |
5091 | (("@includedir@") (string-append lib "/include")) | |
5092 | (("@datadir@") (string-append lib "/share"))) | |
5093 | #t)))))) | |
685cee87 SB |
5094 | (native-inputs |
5095 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5096 | ("gobject-introspection" ,gobject-introspection) | |
5097 | ("intltool" ,intltool) | |
5098 | ("pkg-config" ,pkg-config) | |
5099 | ("xsltproc" ,libxslt))) | |
5100 | (propagated-inputs | |
5101 | `(("glib" ,glib) ; required by goa-1.0.pc | |
5102 | ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc | |
5103 | (inputs | |
5104 | `(("docbook-xsl" ,docbook-xsl) | |
5105 | ("json-glib" ,json-glib) | |
5106 | ("libsecret" ,libsecret) | |
5107 | ("rest" ,rest) | |
685cee87 SB |
5108 | ("webkitgtk" ,webkitgtk))) |
5109 | (synopsis "Single sign-on framework for GNOME") | |
5110 | (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts") | |
5111 | (description | |
5112 | "GNOME Online Accounts provides interfaces so that applications and | |
5113 | libraries in GNOME can access the user's online accounts. It has providers for | |
5114 | Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft | |
5115 | Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.") | |
5116 | (license license:lgpl2.0+))) | |
df217748 SB |
5117 | |
5118 | (define-public evolution-data-server | |
5119 | (package | |
5120 | (name "evolution-data-server") | |
bb10e7c8 | 5121 | (version "3.28.3") |
df217748 SB |
5122 | (source (origin |
5123 | (method url-fetch) | |
5124 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5125 | (version-major+minor version) "/" | |
5126 | name "-" version ".tar.xz")) | |
5127 | (sha256 | |
5128 | (base32 | |
bb10e7c8 | 5129 | "11sq795115vrcgxl9svscm6wg8isjj784c3d84qzb6z47zq92zj3")))) |
da43d1cb | 5130 | (outputs '("out" "libedataserverui")) |
743aebd7 | 5131 | (build-system cmake-build-system) |
df217748 | 5132 | (arguments |
743aebd7 | 5133 | '(;; XXX FIXME: 11/85 tests are failing. |
df217748 SB |
5134 | #:tests? #f |
5135 | #:configure-flags | |
ac033c7b MB |
5136 | (let* ((lib (string-append (assoc-ref %outputs "out") |
5137 | "/lib")) | |
5138 | (runpaths (map (lambda (s) (string-append | |
5139 | lib "/evolution-data-server/" s)) | |
5140 | '("addressbook-backends" "calendar-backends" | |
5141 | "camel-providers" "credential-modules" | |
5142 | "registry-modules")))) | |
5143 | (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support | |
5144 | "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support | |
5145 | "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication | |
5146 | "-DENABLE_VALA_BINDINGS=ON" | |
5147 | ;; FIXME: Building against ICU 60 requires C++11 or higher. Remove | |
c97f2f70 MW |
5148 | ;; "-std=gnu++11" when our default compiler is >= GCC6. |
5149 | ;; FIXME: Temporarily use "-DU_USING_ICU_NAMESPACE=1" until | |
5150 | ;; evolution-data-server has been updated to qualify ICU types | |
5151 | ;; explicitly, as required by ICU 61 and later. See: | |
5152 | ;; <https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild> | |
5153 | "-DCMAKE_CXX_FLAGS=-std=gnu++11 -DU_USING_ICU_NAMESPACE=1" | |
ac033c7b MB |
5154 | (string-append "-DCMAKE_INSTALL_RPATH=" lib ";" |
5155 | (string-append lib "/evolution-data-server;") | |
5156 | (string-join runpaths ";")) | |
5157 | "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings | |
df217748 SB |
5158 | #:phases |
5159 | (modify-phases %standard-phases | |
743aebd7 | 5160 | (add-after 'unpack 'patch-paths |
df217748 SB |
5161 | (lambda _ |
5162 | (substitute* "tests/test-server-utils/e-test-server-utils.c" | |
5163 | (("/bin/rm") (which "rm"))) | |
ac033c7b MB |
5164 | #t)) |
5165 | (add-before 'configure 'dont-override-rpath | |
5166 | (lambda _ | |
5167 | (substitute* "CMakeLists.txt" | |
5168 | ;; CMakeLists.txt hard-codes runpath to just the libdir. | |
5169 | ;; Remove it so the configure flag is respected. | |
5170 | (("SET\\(CMAKE_INSTALL_RPATH .*") "")) | |
da43d1cb | 5171 | #t)) |
da43d1cb TS |
5172 | (add-after 'install 'split |
5173 | (lambda* (#:key outputs #:allow-other-keys) | |
5174 | (let ((out (assoc-ref outputs "out")) | |
5175 | (libedsui (assoc-ref outputs "libedataserverui"))) | |
5176 | (for-each (lambda (file) | |
5177 | (mkdir-p (dirname (string-append libedsui file))) | |
5178 | (rename-file (string-append out file) | |
5179 | (string-append libedsui file))) | |
5180 | '("/lib/pkgconfig/libedataserverui-1.2.pc" | |
5181 | "/lib/libedataserverui-1.2.so" | |
5182 | "/lib/libedataserverui-1.2.so.2" | |
5183 | "/lib/libedataserverui-1.2.so.2.0.0" | |
5184 | "/lib/girepository-1.0/EDataServerUI-1.2.typelib" | |
5185 | "/include/evolution-data-server/libedataserverui" | |
5186 | "/share/gir-1.0/EDataServerUI-1.2.gir" | |
5187 | "/share/vala/vapi/libedataserverui-1.2.vapi" | |
5188 | "/share/vala/vapi/libedataserverui-1.2.deps")) | |
5189 | (substitute* (string-append libedsui "/lib/pkgconfig/" | |
5190 | "libedataserverui-1.2.pc") | |
5191 | ((out) libedsui)) | |
5192 | #t)))))) | |
df217748 SB |
5193 | (native-inputs |
5194 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
5195 | ("gobject-introspection" ,gobject-introspection) | |
5196 | ("gperf" ,gperf) | |
5197 | ("intltool" ,intltool) | |
5198 | ("pkg-config" ,pkg-config) | |
a73c1cf8 | 5199 | ("vala" ,vala) |
743aebd7 | 5200 | ("python" ,python-wrapper))) |
df217748 SB |
5201 | (propagated-inputs |
5202 | ;; These are all in the Requires field of .pc files. | |
5203 | `(("gtk+" ,gtk+) | |
5204 | ("libical" ,libical) | |
5205 | ("libsecret" ,libsecret) | |
5206 | ("libsoup" ,libsoup) | |
5207 | ("nss" ,nss) | |
5208 | ("sqlite" ,sqlite))) | |
5209 | (inputs | |
5210 | `(("bdb" ,bdb) | |
5211 | ("gcr" ,gcr) | |
14c297fd | 5212 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
891199c6 | 5213 | ("json-glib" ,json-glib) |
743aebd7 MB |
5214 | ("libgweather" ,libgweather) |
5215 | ("mit-krb5" ,mit-krb5) | |
891199c6 MW |
5216 | ("openldap" ,openldap) |
5217 | ("webkitgtk" ,webkitgtk))) | |
df217748 SB |
5218 | (synopsis "Store address books and calendars") |
5219 | (home-page "https://wiki.gnome.org/Apps/Evolution") | |
5220 | (description | |
5221 | "This package provides a unified backend for programs that work with | |
5222 | contacts, tasks, and calendar information. It was originally developed for | |
5223 | Evolution (hence the name), but is now used by other packages as well.") | |
5224 | (license license:lgpl2.0))) | |
bd7dfafa SB |
5225 | |
5226 | (define-public caribou | |
5227 | (package | |
5228 | (name "caribou") | |
fe964bb5 | 5229 | (version "0.4.21") |
bd7dfafa SB |
5230 | (source (origin |
5231 | (method url-fetch) | |
5232 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5233 | (version-major+minor version) "/" | |
5234 | name "-" version ".tar.xz")) | |
5235 | (sha256 | |
5236 | (base32 | |
fe964bb5 | 5237 | "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww")))) |
bd7dfafa SB |
5238 | (build-system glib-or-gtk-build-system) |
5239 | (arguments | |
5240 | '(#:phases | |
5241 | (modify-phases %standard-phases | |
5242 | (add-before | |
5243 | 'build 'pre-build | |
5244 | (lambda* (#:key outputs #:allow-other-keys) | |
5245 | (let ((out (assoc-ref outputs "out"))) | |
5246 | ;; Use absolute shared library path in Caribou-1.0.typelib. | |
5247 | (substitute* "libcaribou/Makefile" | |
5248 | (("--shared-library=libcaribou.so") | |
5249 | (string-append "--shared-library=" | |
5250 | out "/lib/libcaribou.so"))) | |
5251 | #t))) | |
5252 | (add-after 'install 'wrap-programs | |
5253 | (lambda* (#:key outputs #:allow-other-keys) | |
5254 | (let* ((out (assoc-ref outputs "out")) | |
5255 | (python-path (getenv "PYTHONPATH")) | |
5256 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
5257 | (for-each | |
5258 | (lambda (prog) | |
5259 | (wrap-program prog | |
5260 | `("PYTHONPATH" ":" prefix (,python-path)) | |
5261 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
5262 | (list (string-append out "/bin/caribou-preferences") | |
5263 | (string-append out "/libexec/antler-keyboard")))) | |
5264 | #t))))) | |
5265 | (native-inputs | |
5266 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5267 | ("gobject-introspection" ,gobject-introspection) | |
5268 | ("intltool" ,intltool) | |
5269 | ("pkg-config" ,pkg-config) | |
5270 | ("python" ,python-2) ; incompatible with Python 3 (print syntax) | |
5271 | ("vala" ,vala) | |
5272 | ("xsltproc" ,libxslt))) | |
5273 | (propagated-inputs | |
5274 | ;; caribou-1.0.pc refers to all these. | |
5275 | `(("libgee" ,libgee) | |
5276 | ("libxklavier" ,libxklavier) | |
5277 | ("libxtst" ,libxtst) | |
5278 | ("gtk+" ,gtk+))) | |
5279 | (inputs | |
5280 | `(("clutter" ,clutter) | |
5281 | ("dconf" ,dconf) | |
5282 | ("gtk+-2" ,gtk+-2) | |
5283 | ("python-pygobject" ,python2-pygobject))) | |
5284 | (synopsis "Text entry and UI navigation application") | |
5285 | (home-page "https://wiki.gnome.org/Projects/Caribou") | |
5286 | (description | |
5287 | "Caribou is an input assistive technology intended for switch and pointer | |
5288 | users.") | |
5289 | (license license:lgpl2.1))) | |
ba5dd105 | 5290 | |
ba5dd105 SB |
5291 | (define-public network-manager |
5292 | (package | |
5293 | (name "network-manager") | |
45f80fce | 5294 | (version "1.10.10") |
ba5dd105 SB |
5295 | (source (origin |
5296 | (method url-fetch) | |
5297 | (uri (string-append "mirror://gnome/sources/NetworkManager/" | |
5298 | (version-major+minor version) "/" | |
5299 | "NetworkManager-" version ".tar.xz")) | |
5300 | (sha256 | |
5301 | (base32 | |
45f80fce | 5302 | "1jn3g0f2x1irc88awqp8m3gnpdx1whqqqbdgkbgr4x55s702jki4")) |
fd070f35 CM |
5303 | (snippet |
5304 | '(begin | |
5305 | (use-modules (guix build utils)) | |
5306 | (substitute* "configure" | |
5307 | ;; Replace libsystemd-login with libelogind. | |
5308 | (("libsystemd-login") "libelogind")) | |
5309 | (substitute* "src/devices/wwan/nm-modem-manager.c" | |
5310 | (("systemd") "elogind")) | |
5311 | (substitute* "src/nm-session-monitor.c" | |
5312 | (("systemd") "elogind")) | |
5313 | (substitute* "./src/nm-logging.c" | |
6cbee49d MW |
5314 | (("systemd") "elogind")) |
5315 | #t)))) | |
ba5dd105 SB |
5316 | (build-system gnu-build-system) |
5317 | (outputs '("out" | |
5318 | "doc")) ; 8 MiB of gtk-doc HTML | |
5319 | (arguments | |
5320 | '(#:configure-flags | |
5321 | (let ((out (assoc-ref %outputs "out")) | |
5322 | (doc (assoc-ref %outputs "doc")) | |
5323 | (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp") | |
5324 | "/sbin/dhclient"))) | |
59e80445 | 5325 | (list "--with-systemd-logind=yes" ;In Guix System, this is provided by elogind. |
fd070f35 CM |
5326 | "--with-consolekit=no" |
5327 | "--with-crypto=gnutls" | |
ba5dd105 SB |
5328 | "--disable-config-plugin-ibft" |
5329 | "--sysconfdir=/etc" | |
5330 | "--localstatedir=/var" | |
5331 | (string-append "--with-udev-dir=" | |
5332 | out "/lib/udev") | |
5333 | (string-append "--with-dbus-sys-dir=" | |
5334 | out "/etc/dbus-1/system.d") | |
5335 | (string-append "--with-html-dir=" | |
5336 | doc "/share/gtk-doc/html") | |
5337 | (string-append "--with-dhclient=" dhclient))) | |
5338 | #:phases | |
5339 | (modify-phases %standard-phases | |
b4f59d87 AW |
5340 | (add-before 'configure 'pre-configure |
5341 | (lambda _ | |
5342 | ;; These tests try to test aspects of network-manager's | |
5343 | ;; functionality within restricted containers, but they don't | |
5344 | ;; cope with being already in the Guix build jail as that jail | |
5345 | ;; lacks some features that they would like to proxy over (like | |
5346 | ;; a /sys mount). | |
d04687dc HG |
5347 | (substitute* '("Makefile.in") |
5348 | (("src/platform/tests/test-address-linux") " ") | |
5349 | (("src/platform/tests/test-cleanup-linux") " ") | |
5350 | (("src/platform/tests/test-link-linux") " ") | |
5351 | (("src/platform/tests/test-route-linux") " ") | |
5352 | (("src/devices/tests/test-arping") " ") | |
5353 | (("src/devices/tests/test-lldp") " ") | |
5354 | (("src/tests/test-route-manager-linux") " ")) | |
b4f59d87 | 5355 | #t)) |
45f80fce RW |
5356 | (add-after 'unpack 'delete-failing-tests |
5357 | (lambda _ | |
5358 | ;; FIXME: These four tests fail for unknown reasons. | |
5359 | ;; ERROR:libnm-core/tests/test-general.c:5842: | |
5360 | ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0) | |
5361 | ;; ERROR:libnm-core/tests/test-keyfile.c:647: | |
5362 | ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL) | |
5363 | ;; ERROR:libnm-core/tests/test-setting.c:907: | |
5364 | ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner)) | |
5365 | ;; NetworkManager:ERROR:src/platform/tests/test-nmp-object.c:397: | |
5366 | ;; test_cache_link: assertion failed: (nmp_object_is_visible (obj_new)) | |
5367 | (substitute* "Makefile.in" | |
5368 | (("libnm-core/tests/test-general") " ") | |
5369 | (("libnm-core/tests/test-keyfile") " ") | |
5370 | (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " ") | |
5371 | (("src/platform/tests/test-nmp-object") " ")) | |
5372 | #t)) | |
ba5dd105 SB |
5373 | (add-before 'check 'pre-check |
5374 | (lambda _ | |
5375 | ;; For the missing /etc/machine-id. | |
5376 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
5377 | #t)) | |
5378 | (replace 'install | |
5379 | (lambda _ | |
45f80fce RW |
5380 | (invoke "make" |
5381 | "sysconfdir=/tmp" | |
5382 | "rundir=/tmp" | |
5383 | "statedir=/tmp" | |
5384 | "nmstatedir=/tmp/nm" | |
5385 | "install") | |
5386 | #t))))) | |
b93502d6 DC |
5387 | (propagated-inputs |
5388 | `(("glib" ,glib))) | |
ba5dd105 SB |
5389 | (native-inputs |
5390 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen | |
5391 | ("gobject-introspection" ,gobject-introspection) | |
d04687dc | 5392 | ("docbook-xsl" ,docbook-xsl) |
ba5dd105 | 5393 | ("intltool" ,intltool) |
d04687dc HG |
5394 | ("libxslt" ,libxslt) |
5395 | ("libxml2" ,libxml2) | |
ba5dd105 SB |
5396 | ("pkg-config" ,pkg-config) |
5397 | ;; For testing. | |
5398 | ("python" ,python-wrapper) | |
5399 | ("python-dbus" ,python-dbus) | |
5400 | ("python-pygobject" ,python-pygobject))) | |
5401 | (inputs | |
856ca567 KK |
5402 | `(("curl" ,curl) |
5403 | ("cyrus-sasl" ,cyrus-sasl) | |
5404 | ("dbus-glib" ,dbus-glib) | |
ba5dd105 | 5405 | ("dnsmasq" ,dnsmasq) |
856ca567 | 5406 | ("eudev" ,eudev) |
ba5dd105 SB |
5407 | ("gnutls" ,gnutls) |
5408 | ("iptables" ,iptables) | |
5409 | ("isc-dhcp" ,isc-dhcp) | |
d04687dc | 5410 | ("jansson" ,jansson) |
ba5dd105 SB |
5411 | ("libgcrypt" ,libgcrypt) |
5412 | ("libgudev" ,libgudev) | |
5413 | ("libndp" ,libndp) | |
5414 | ("libnl" ,libnl) | |
5415 | ("libsoup" ,libsoup) | |
142bdcbc | 5416 | ("modem-manager" ,modem-manager) |
c27e02bf | 5417 | ("newt" ,newt) ;for the 'nmtui' console interface |
ba5dd105 SB |
5418 | ("polkit" ,polkit) |
5419 | ("ppp" ,ppp) | |
5420 | ("readline" ,readline) | |
fd070f35 CM |
5421 | ("util-linux" ,util-linux) |
5422 | ("elogind" ,elogind))) | |
ba5dd105 | 5423 | (synopsis "Network connection manager") |
f032d0be | 5424 | (home-page "https://www.gnome.org/projects/NetworkManager/") |
ba5dd105 SB |
5425 | (description |
5426 | "NetworkManager is a system network service that manages your network | |
5427 | devices and connections, attempting to keep active network connectivity when | |
5428 | available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE | |
5429 | devices, and provides VPN integration with a variety of different VPN | |
5430 | services.") | |
29d2f451 LC |
5431 | (license license:gpl2+) |
5432 | (properties '((upstream-name . "NetworkManager"))))) | |
4d62a9d3 | 5433 | |
f2b96b3a LC |
5434 | (define-public network-manager-openvpn |
5435 | (package | |
5436 | (name "network-manager-openvpn") | |
0310eb96 | 5437 | (version "1.8.4") |
f2b96b3a LC |
5438 | (source (origin |
5439 | (method url-fetch) | |
5440 | (uri (string-append | |
5441 | "mirror://gnome/sources/NetworkManager-openvpn/" | |
5442 | (version-major+minor version) | |
5443 | "/NetworkManager-openvpn-" version ".tar.xz")) | |
5444 | (sha256 | |
5445 | (base32 | |
0310eb96 | 5446 | "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr")))) |
f2b96b3a LC |
5447 | (build-system gnu-build-system) |
5448 | (arguments | |
5449 | '(#:configure-flags '("--enable-absolute-paths"))) | |
5450 | (native-inputs | |
5451 | `(("pkg-config" ,pkg-config) | |
5452 | ("intltool" ,intltool))) | |
5453 | (inputs | |
5454 | `(("gtk+" ,gtk+) | |
5455 | ("openvpn" ,openvpn) | |
5456 | ("network-manager" ,network-manager) | |
5457 | ("network-manager-applet" ,network-manager-applet) ;for libnma | |
5458 | ("libsecret" ,libsecret))) | |
5459 | (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN") | |
5460 | (synopsis "OpenVPN plug-in for NetworkManager") | |
5461 | (description | |
5462 | "This extension of NetworkManager allows it to take care of connections | |
5463 | to virtual private networks (VPNs) via OpenVPN.") | |
5464 | (license license:gpl2+) | |
5465 | (properties `((upstream-name . "NetworkManager-openvpn"))))) | |
5466 | ||
e5e1df4d DC |
5467 | (define-public mobile-broadband-provider-info |
5468 | (package | |
5469 | (name "mobile-broadband-provider-info") | |
310c89e3 | 5470 | (version "20190116") |
e5e1df4d DC |
5471 | (source (origin |
5472 | (method url-fetch) | |
5473 | (uri (string-append | |
5474 | "mirror://gnome/sources/" | |
5475 | "mobile-broadband-provider-info/" version "/" | |
5476 | "mobile-broadband-provider-info-" version ".tar.xz")) | |
5477 | (sha256 | |
5478 | (base32 | |
310c89e3 | 5479 | "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic")))) |
e5e1df4d DC |
5480 | (build-system gnu-build-system) |
5481 | (arguments | |
310c89e3 | 5482 | `(#:tests? #f)) ; no tests |
e5e1df4d DC |
5483 | (home-page "https://wiki.gnome.org/Projects/NetworkManager") |
5484 | (synopsis "Database of broadband connection configuration") | |
5485 | (description "Database of broadband connection configuration.") | |
5486 | (license license:public-domain))) | |
5487 | ||
4d62a9d3 SB |
5488 | (define-public network-manager-applet |
5489 | (package | |
5490 | (name "network-manager-applet") | |
9f475e3c | 5491 | (version "1.8.14") |
4d62a9d3 SB |
5492 | (source (origin |
5493 | (method url-fetch) | |
5494 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5495 | (version-major+minor version) "/" | |
5496 | name "-" version ".tar.xz")) | |
5497 | (sha256 | |
5498 | (base32 | |
9f475e3c | 5499 | "1js0i2kwfklahsn77qgxzdscy33drrlym3mrj1qhlw0zf8ri56ya")))) |
4d62a9d3 | 5500 | (build-system glib-or-gtk-build-system) |
3e9c80b2 FP |
5501 | (arguments '(#:configure-flags '("--disable-migration") |
5502 | #:phases | |
5503 | (modify-phases %standard-phases | |
5504 | (add-after 'unpack 'patch-source | |
5505 | (lambda* (#:key inputs #:allow-other-keys) | |
5506 | (let ((mbpi (assoc-ref inputs | |
5507 | "mobile-broadband-provider-info")) | |
5508 | (iso-codes (assoc-ref inputs "iso-codes"))) | |
5509 | (substitute* "src/libnma/nma-mobile-providers.c" | |
5510 | (("(g_build_filename \\()dirs\\[i\\].*,\ | |
5511 | (MOBILE_BROADBAND_PROVIDER_INFO.*)" all start end) | |
5512 | (string-append start "\"" mbpi "/share\", " end))) | |
5513 | (substitute* "src/libnma/nma-mobile-providers.c" | |
5514 | (("(g_build_filename \\()dirs\\[i\\].*,\ | |
5515 | (ISO_3166_COUNTRY_CODES.*)" all start end) | |
5516 | (string-append start "\"" iso-codes | |
5517 | "/share\", " end))) | |
5518 | #t)))))) | |
4d62a9d3 SB |
5519 | (native-inputs |
5520 | `(("intltool" ,intltool) | |
5521 | ("gobject-introspection" ,gobject-introspection) | |
5522 | ("pkg-config" ,pkg-config))) | |
5523 | (propagated-inputs | |
5524 | ;; libnm-gtk.pc refers to all these. | |
5525 | `(("dbus-glib" ,dbus-glib) | |
5526 | ("gtk+" ,gtk+) | |
5527 | ("network-manager" ,network-manager))) | |
5528 | (inputs | |
5529 | `(("iso-codes" ,iso-codes) | |
5530 | ("libgudev" ,libgudev) | |
5531 | ("libnotify" ,libnotify) | |
2116bfb3 | 5532 | ("libsecret" ,libsecret) |
240cee8a KK |
5533 | ("libselinux" ,libselinux) |
5534 | ("jansson" ,jansson) ; for team support | |
3e9c80b2 FP |
5535 | ("modem-manager" ,modem-manager) |
5536 | ("mobile-broadband-provider-info" ,mobile-broadband-provider-info))) | |
4d62a9d3 | 5537 | (synopsis "Applet for managing network connections") |
f032d0be | 5538 | (home-page "https://www.gnome.org/projects/NetworkManager/") |
4d62a9d3 SB |
5539 | (description |
5540 | "This package contains a systray applet for NetworkManager. It displays | |
5541 | the available networks and allows users to easily switch between them.") | |
5542 | (license license:gpl2+))) | |
56196594 RW |
5543 | |
5544 | (define-public libxml++ | |
5545 | (package | |
5546 | (name "libxml++") | |
8344a85e | 5547 | (version "3.0.1") |
56196594 RW |
5548 | (source (origin |
5549 | (method url-fetch) | |
5550 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5551 | (version-major+minor version) "/" | |
5552 | name "-" version ".tar.xz")) | |
5553 | (sha256 | |
5554 | (base32 | |
8344a85e | 5555 | "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r")))) |
56196594 RW |
5556 | (build-system gnu-build-system) |
5557 | ;; libxml++-3.0.pc refers to all these. | |
5558 | (propagated-inputs | |
5559 | `(("libxml2" ,libxml2) | |
5560 | ("glibmm" ,glibmm))) | |
5561 | (native-inputs | |
5562 | `(("perl" ,perl) | |
5563 | ("pkg-config" ,pkg-config))) | |
5564 | (home-page "http://libxmlplusplus.sourceforge.net/") | |
5565 | (synopsis "C++ wrapper for XML parser library libxml2") | |
5566 | (description | |
5567 | "This package provides a C++ wrapper for the XML parser library | |
5568 | libxml2.") | |
5569 | (license license:lgpl2.1+))) | |
df12f04a | 5570 | |
b61d9627 AW |
5571 | (define-public libxml++-2 |
5572 | (package | |
5573 | (inherit libxml++) | |
5574 | (name "libxml++") | |
5575 | (version "2.40.1") | |
5576 | (source (origin | |
5577 | (method url-fetch) | |
5578 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5579 | (version-major+minor version) "/" | |
5580 | name "-" version ".tar.xz")) | |
5581 | (sha256 | |
5582 | (base32 | |
5583 | "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a")))))) | |
5584 | ||
df12f04a SB |
5585 | (define-public gdm |
5586 | (package | |
5587 | (name "gdm") | |
0a76f2bd | 5588 | (version "3.28.2") |
df12f04a SB |
5589 | (source (origin |
5590 | (method url-fetch) | |
5591 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5592 | (version-major+minor version) "/" | |
5593 | name "-" version ".tar.xz")) | |
feccc810 | 5594 | (patches (search-patches "gdm-CVE-2018-14424.patch")) |
df12f04a SB |
5595 | (sha256 |
5596 | (base32 | |
0a76f2bd | 5597 | "0wdm1503x66n1crdlmzmincbd2hccpxsdgjsl5anx3yjpdzs0hb0")))) |
957dbc0a | 5598 | (build-system glib-or-gtk-build-system) |
df12f04a SB |
5599 | (arguments |
5600 | '(#:configure-flags | |
af37e6bb | 5601 | `("--without-plymouth" |
957dbc0a | 5602 | "--disable-systemd-journal" |
51bc8357 TS |
5603 | |
5604 | ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1, | |
5605 | ;; instead of having to replace it (i.e., stopping the mingetty | |
5606 | ;; service for TTY 1 before starting GDM). | |
5607 | "--with-initial-vt=7" | |
5608 | ||
89c86562 TS |
5609 | ;; Use '/etc/environment' for locale settings instead of the |
5610 | ;; systemd-specific '/etc/locale.conf'. | |
5611 | "--with-lang-file=/etc/environment" | |
5612 | ||
af37e6bb AW |
5613 | "--localstatedir=/var" |
5614 | ,(string-append "--with-default-path=" | |
5615 | (string-join '("/run/setuid-programs" | |
5616 | "/run/current-system/profile/bin" | |
5617 | "/run/current-system/profile/sbin") | |
957dbc0a AW |
5618 | ":")) |
5619 | ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the | |
5620 | ;; XDG_DATA_DIRS so that it finds its schemas. | |
5621 | "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin")) | |
df12f04a SB |
5622 | #:phases |
5623 | (modify-phases %standard-phases | |
5624 | (add-before | |
5625 | 'configure 'pre-configure | |
e8c6e771 | 5626 | (lambda* (#:key inputs outputs #:allow-other-keys) |
df12f04a SB |
5627 | ;; We don't have <systemd/sd-daemon.h>. |
5628 | (substitute* '("common/gdm-log.c" | |
5629 | "daemon/gdm-server.c" | |
5630 | "daemon/gdm-session-worker.c" | |
5631 | "daemon/gdm-session-worker-job.c") | |
5632 | (("#include <systemd/sd-daemon\\.h>") "")) | |
5633 | ;; Use elogind for sd-login. | |
5634 | (substitute* '("common/gdm-common.c" | |
5635 | "daemon/gdm-manager.c" | |
5636 | "libgdm/gdm-user-switching.c") | |
5637 | (("#include <systemd/sd-login\\.h>") | |
5638 | "#include <elogind/sd-login.h>")) | |
957dbc0a AW |
5639 | ;; Check for elogind. |
5640 | (substitute* '("configure") | |
5641 | (("libsystemd") | |
5642 | "libelogind")) | |
af37e6bb AW |
5643 | ;; Look for system-installed sessions in |
5644 | ;; /run/current-system/profile/share. | |
5645 | (substitute* '("libgdm/gdm-sessions.c" | |
5646 | "daemon/gdm-session.c" | |
5647 | "daemon/gdm-display.c" | |
5648 | "daemon/gdm-launch-environment.c") | |
5649 | (("DATADIR \"/x") | |
5650 | "\"/run/current-system/profile/share/x") | |
5651 | (("DATADIR \"/wayland") | |
5652 | "\"/run/current-system/profile/share/wayland") | |
5653 | (("DATADIR \"/gnome") | |
5654 | "\"/run/current-system/profile/share/gnome")) | |
c9ff92b5 | 5655 | (let ((propagate '("GDM_CUSTOM_CONF" |
1f564c15 | 5656 | "GDM_DBUS_DAEMON" |
c9ff92b5 | 5657 | "GDM_X_SERVER" |
41fa9f18 | 5658 | "GDM_X_SESSION" |
c9ff92b5 TS |
5659 | ;; XXX: Remove this once GNOME Shell is |
5660 | ;; a dependency of GDM. | |
5661 | "XDG_DATA_DIRS"))) | |
5662 | (substitute* "daemon/gdm-session.c" | |
5663 | (("set_up_session_environment \\(self\\);") | |
5664 | (apply string-append | |
5665 | "set_up_session_environment (self);\n" | |
5666 | (map (lambda (name) | |
5667 | (string-append | |
5668 | "gdm_session_set_environment_variable " | |
5669 | "(self, \"" name "\"," | |
5670 | "g_getenv (\"" name "\"));\n")) | |
5671 | propagate))))) | |
a430a350 TS |
5672 | ;; Find the configuration file using an environment variable. |
5673 | (substitute* '("common/gdm-settings.c") | |
e0e6756f | 5674 | (("GDM_CUSTOM_CONF") |
e57c2adb TS |
5675 | (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL" |
5676 | " ? g_getenv(\"GDM_CUSTOM_CONF\")" | |
5677 | " : GDM_CUSTOM_CONF)"))) | |
e0e6756f AW |
5678 | ;; Use service-supplied path to X. |
5679 | (substitute* '("daemon/gdm-server.c") | |
5680 | (("\\(X_SERVER X_SERVER_ARG_FORMAT") | |
5681 | "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")")) | |
5682 | (substitute* '("daemon/gdm-x-session.c") | |
1f564c15 TS |
5683 | (("\"dbus-daemon\"") |
5684 | "g_getenv (\"GDM_DBUS_DAEMON\")") | |
e0e6756f | 5685 | (("X_SERVER") |
41fa9f18 TS |
5686 | "g_getenv (\"GDM_X_SERVER\")") |
5687 | (("GDMCONFDIR \"/Xsession\"") | |
5688 | "g_getenv (\"GDM_X_SESSION\")")) | |
def6d6b6 TS |
5689 | ;; Use an absolute path for GNOME Session. |
5690 | (substitute* "daemon/gdm-launch-environment.c" | |
5691 | (("\"gnome-session\"") | |
5692 | (string-append "\"" (assoc-ref inputs "gnome-session") | |
5693 | "/bin/gnome-session\""))) | |
e8c6e771 TS |
5694 | ;; Do not automatically select the placeholder session. |
5695 | (substitute* "daemon/gdm-session.c" | |
5696 | (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]") | |
5697 | (string-append "!g_str_has_suffix (base_name, \".desktop\") || " | |
5698 | "(g_strcmp0(search_dirs[i], \"" | |
5699 | (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/" | |
5700 | "\") == 0 && " | |
5701 | "g_strcmp0(base_name, \"fail.desktop\") == 0)")) | |
5702 | (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];") | |
5703 | "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }")) | |
69544798 | 5704 | #t)) |
8caa4589 TS |
5705 | ;; GDM requires that there be at least one desktop entry |
5706 | ;; file. This phase installs a hidden one that simply | |
5707 | ;; fails. This enables users to use GDM with a | |
5708 | ;; '~/.xsession' script with no other desktop entry files. | |
5709 | ;; See <https://bugs.gnu.org/35068>. | |
5710 | (add-after 'install 'install-placeholder-desktop-entry | |
5711 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5712 | (let* ((out (assoc-ref outputs "out")) | |
5713 | (sessions (string-append out "/share/gdm/BuiltInSessions")) | |
5714 | (fail (string-append sessions "/fail.desktop"))) | |
5715 | (mkdir-p sessions) | |
5716 | (with-output-to-file fail | |
5717 | (lambda () | |
5718 | (for-each | |
5719 | display | |
5720 | '("[Desktop Entry]\n" | |
5721 | "Encoding=UTF-8\n" | |
5722 | "Type=Application\n" | |
5723 | "Name=Fail\n" | |
5724 | "Comment=This session fails immediately.\n" | |
5725 | "NoDisplay=true\n" | |
5726 | "Exec=false\n")))) | |
5727 | #t))) | |
69544798 TS |
5728 | ;; GDM needs GNOME Session to run these applications. We link |
5729 | ;; their autostart files in `share/gdm/greeter/autostart' | |
5730 | ;; because GDM explicitly tells GNOME Session to look there. | |
5731 | ;; | |
5732 | ;; XXX: GNOME Shell should be linked here too, but currently | |
5733 | ;; GNOME Shell depends on GDM. | |
5734 | (add-after 'install 'link-autostart-files | |
5735 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5736 | (let* ((out (assoc-ref outputs "out")) | |
5737 | (autostart (string-append out "/share/gdm/" | |
5738 | "greeter/autostart")) | |
5739 | (settings (assoc-ref inputs "gnome-settings-daemon"))) | |
5740 | (mkdir-p autostart) | |
5741 | (with-directory-excursion autostart | |
5742 | (for-each (lambda (desktop) | |
5743 | (symlink desktop (basename desktop))) | |
5744 | (find-files (string-append settings "/etc/xdg")))) | |
5745 | #t)))))) | |
df12f04a SB |
5746 | (native-inputs |
5747 | `(("dconf" ,dconf) | |
5748 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5749 | ("gobject-introspection" ,gobject-introspection) | |
5750 | ("intltool" ,intltool) | |
5751 | ("itstool" ,itstool) | |
5752 | ("pkg-config" ,pkg-config) | |
5753 | ("xmllint" ,libxml2))) | |
5754 | (inputs | |
5755 | `(("accountsservice" ,accountsservice) | |
5756 | ("check" ,check) ; for testing | |
5757 | ("elogind" ,elogind) | |
def6d6b6 | 5758 | ("gnome-session" ,gnome-session) |
69544798 | 5759 | ("gnome-settings-daemon" ,gnome-settings-daemon) |
df12f04a SB |
5760 | ("gtk+" ,gtk+) |
5761 | ("iso-codes" ,iso-codes) | |
5762 | ("libcanberra" ,libcanberra) | |
5763 | ("linux-pam" ,linux-pam))) | |
5764 | (synopsis "Display manager for GNOME") | |
f032d0be | 5765 | (home-page "https://wiki.gnome.org/Projects/GDM/") |
df12f04a SB |
5766 | (description |
5767 | "GNOME Display Manager is a system service that is responsible for | |
5768 | providing graphical log-ins and managing local and remote displays.") | |
5769 | (license license:gpl2+))) | |
8e1dd04f SB |
5770 | |
5771 | (define-public libgtop | |
5772 | (package | |
5773 | (name "libgtop") | |
4f80158d | 5774 | (version "2.38.0") |
8e1dd04f 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 | |
4f80158d | 5782 | "04mnxgzyb26wqk6qij4iw8cxwl82r8pcsna5dg8vz2j3pdi0wv2g")))) |
8e1dd04f SB |
5783 | (build-system gnu-build-system) |
5784 | (native-inputs | |
5785 | `(("gobject-introspection" ,gobject-introspection) | |
5786 | ("intltool" ,intltool) | |
5787 | ("perl" ,perl) | |
5788 | ("pkg-config" ,pkg-config))) | |
5789 | (propagated-inputs | |
5790 | `(("glib" ,glib))) ; required by libgtop-2.0.pc | |
5791 | (synopsis "Portable system access library") | |
5792 | (home-page "https://www.gnome.org/") | |
5793 | (description | |
5794 | "LibGTop is a library to get system specific data such as CPU and memory | |
5795 | usage and information about running processes.") | |
5796 | (license license:gpl2+))) | |
b96c4260 SB |
5797 | |
5798 | (define-public gnome-bluetooth | |
5799 | (package | |
5800 | (name "gnome-bluetooth") | |
fd3b1171 | 5801 | (version "3.28.0") |
b96c4260 SB |
5802 | (source (origin |
5803 | (method url-fetch) | |
5804 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5805 | (version-major+minor version) "/" | |
5806 | name "-" version ".tar.xz")) | |
5807 | (sha256 | |
5808 | (base32 | |
fd3b1171 RW |
5809 | "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p")))) |
5810 | (build-system meson-build-system) | |
b96c4260 SB |
5811 | (native-inputs |
5812 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
fd3b1171 | 5813 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
b96c4260 SB |
5814 | ("gobject-introspection" ,gobject-introspection) |
5815 | ("intltool" ,intltool) | |
5816 | ("pkg-config" ,pkg-config) | |
5817 | ("xmllint" ,libxml2))) | |
5818 | (propagated-inputs | |
5819 | ;; gnome-bluetooth-1.0.pc refers to all these. | |
5820 | `(("gtk+" ,gtk+) | |
5821 | ("udev" ,eudev))) | |
5822 | (inputs | |
5823 | `(("libcanberra" ,libcanberra) | |
5824 | ("libnotify" ,libnotify))) | |
5825 | (synopsis "GNOME Bluetooth subsystem") | |
5826 | (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth") | |
5827 | (description | |
5828 | "This package contains tools for managing and manipulating Bluetooth | |
5829 | devices using the GNOME desktop.") | |
5830 | (license license:lgpl2.1+))) | |
b645146f SB |
5831 | |
5832 | (define-public gnome-control-center | |
5833 | (package | |
5834 | (name "gnome-control-center") | |
59dac026 | 5835 | (version "3.28.2") |
b645146f SB |
5836 | (source (origin |
5837 | (method url-fetch) | |
5838 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5839 | (version-major+minor version) "/" | |
5840 | name "-" version ".tar.xz")) | |
5841 | (sha256 | |
5842 | (base32 | |
59dac026 RW |
5843 | "0d6pjdbsra16nav8201kaadja5yma92bhziki9601ilk2ry3v7pz")))) |
5844 | (build-system meson-build-system) | |
b645146f | 5845 | (arguments |
59dac026 RW |
5846 | '(#:glib-or-gtk? #t |
5847 | #:configure-flags | |
5848 | (list "-Dcheese=false") | |
5849 | #:phases | |
b645146f SB |
5850 | (modify-phases %standard-phases |
5851 | (add-before 'configure 'patch-paths | |
5852 | (lambda* (#:key inputs #:allow-other-keys) | |
5853 | (let ((libc (assoc-ref inputs "libc")) | |
1df38cfc | 5854 | (tzdata (assoc-ref inputs "tzdata")) |
341225ac LC |
5855 | (libgnomekbd (assoc-ref inputs "libgnomekbd")) |
5856 | (nm-applet (assoc-ref inputs "network-manager-applet"))) | |
b645146f SB |
5857 | (substitute* "panels/datetime/tz.h" |
5858 | (("/usr/share/zoneinfo/zone.tab") | |
5859 | (string-append tzdata "/share/zoneinfo/zone.tab"))) | |
5860 | (substitute* "panels/datetime/test-endianess.c" | |
5861 | (("/usr/share/locale") | |
5862 | (string-append libc "/share/locale"))) | |
1df38cfc LC |
5863 | (substitute* "panels/region/cc-region-panel.c" |
5864 | (("\"gkbd-keyboard-display") | |
5865 | (string-append "\"" libgnomekbd | |
5866 | "/bin/gkbd-keyboard-display"))) | |
341225ac LC |
5867 | (substitute* '("panels/network/net-device-wifi.c" |
5868 | "panels/network/net-device.c" | |
5869 | "panels/network/connection-editor/net-connection-editor.c") | |
5870 | (("\"nm-connection-editor") | |
5871 | (string-append "\"" nm-applet | |
5872 | "/bin/nm-connection-editor"))) | |
1acd107c FP |
5873 | (substitute* '("panels/user-accounts/run-passwd.c") |
5874 | (("/usr/bin/passwd") | |
5875 | "/run/setuid-programs/passwd")) | |
b645146f SB |
5876 | #t)))))) |
5877 | (native-inputs | |
5878 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
59dac026 | 5879 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
b645146f SB |
5880 | ("intltool" ,intltool) |
5881 | ("pkg-config" ,pkg-config) | |
5882 | ("xsltproc" ,libxslt))) | |
5883 | (inputs | |
5884 | `(("accountsservice" ,accountsservice) | |
5885 | ("clutter-gtk" ,clutter-gtk) | |
5886 | ("colord-gtk" ,colord-gtk) | |
5887 | ("cups" ,cups) | |
5888 | ("dconf" ,dconf) | |
5889 | ("docbook-xsl" ,docbook-xsl) | |
3446ffb5 | 5890 | ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files |
b645146f SB |
5891 | ("gnome-bluetooth" ,gnome-bluetooth) |
5892 | ("gnome-desktop" ,gnome-desktop) | |
5893 | ("gnome-online-accounts" ,gnome-online-accounts) | |
14c297fd | 5894 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
b645146f SB |
5895 | ("gnome-settings-daemon" ,gnome-settings-daemon) |
5896 | ("grilo" ,grilo) | |
5897 | ("ibus" ,ibus) | |
5898 | ("libcanberra" ,libcanberra) | |
1df38cfc | 5899 | ("libgnomekbd" ,libgnomekbd) |
b645146f SB |
5900 | ("libgudev" ,libgudev) |
5901 | ("libgtop" ,libgtop) | |
5902 | ("libpwquality" ,libpwquality) | |
5903 | ("libsoup" ,libsoup) | |
5904 | ("libxml2" ,libxml2) | |
5905 | ("libwacom" ,libwacom) | |
5906 | ("mesa" ,mesa) | |
5907 | ("mit-krb5" ,mit-krb5) | |
5908 | ("modem-manager" ,modem-manager) | |
5909 | ("network-manager-applet" ,network-manager-applet) | |
5910 | ("polkit" ,polkit) | |
5911 | ("pulseaudio" ,pulseaudio) | |
5912 | ("smbclient" ,samba) | |
5913 | ("tzdata" ,tzdata) | |
5914 | ("upower" ,upower))) | |
5915 | (synopsis "Utilities to configure the GNOME desktop") | |
5916 | (home-page "https://www.gnome.org/") | |
5917 | (description | |
5918 | "This package contains configuration applets for the GNOME desktop, | |
5919 | allowing to set accessibility configuration, desktop fonts, keyboard and mouse | |
5920 | properties, sound setup, desktop theme and background, user interface | |
5921 | properties, screen resolution, and other GNOME parameters.") | |
5922 | (license license:gpl2+))) | |
a4df5756 SB |
5923 | |
5924 | (define-public gnome-shell | |
5925 | (package | |
5926 | (name "gnome-shell") | |
2b0c755d | 5927 | (version "3.28.2") |
a4df5756 SB |
5928 | (source (origin |
5929 | (method url-fetch) | |
5930 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5931 | (version-major+minor version) "/" | |
5932 | name "-" version ".tar.xz")) | |
5933 | (sha256 | |
5934 | (base32 | |
2b0c755d | 5935 | "1b9n89ij2g5nqaqp7a13jnqcd8qa2v9p55rbi71al3xvqk091ri7")) |
a76d0f03 LC |
5936 | (patches (search-patches "gnome-shell-theme.patch")) |
5937 | (modules '((guix build utils))) | |
5938 | (snippet | |
5939 | #~(begin | |
a76d0f03 LC |
5940 | ;; Copy images for use on the GDM log-in screen. |
5941 | (copy-file #$(file-append %artwork-repository | |
5942 | "/slim/0.x/background.png") | |
5943 | "data/theme/guix-background.png") | |
45fef894 LC |
5944 | (copy-file #$(file-append %artwork-repository |
5945 | "/logo/Guix-horizontal-white.svg") | |
5946 | "data/theme/guix-logo.svg") | |
a76d0f03 | 5947 | #t)))) |
2b0c755d | 5948 | (build-system meson-build-system) |
a4df5756 | 5949 | (arguments |
08185081 MB |
5950 | `(#:glib-or-gtk? #t |
5951 | #:disallowed-references ((,glib "bin") | |
11e1df56 LC |
5952 | ,inkscape ,libxslt |
5953 | ,ruby-sass) | |
2b0c755d RW |
5954 | #:configure-flags |
5955 | (list "-Dsystemd=false" | |
5956 | ;; Otherwise, the RUNPATH will lack the final path component. | |
5957 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
5958 | (assoc-ref %outputs "out") | |
5959 | "/lib/gnome-shell")) | |
11e1df56 | 5960 | |
08185081 | 5961 | #:modules ((guix build meson-build-system) |
11e1df56 LC |
5962 | (guix build utils) |
5963 | (srfi srfi-1)) | |
5964 | ||
5965 | #:phases | |
a4df5756 | 5966 | (modify-phases %standard-phases |
2b0c755d | 5967 | (add-after 'unpack 'fix-keysdir |
a4df5756 SB |
5968 | (lambda* (#:key outputs #:allow-other-keys) |
5969 | (let* ((out (assoc-ref outputs "out")) | |
5970 | (keysdir (string-append | |
5971 | out "/share/gnome-control-center/keybindings"))) | |
2b0c755d RW |
5972 | (substitute* "meson.build" |
5973 | (("keysdir =.*") | |
5974 | (string-append "keysdir = '" keysdir "'\n"))) | |
5975 | #t))) | |
ebfe259f | 5976 | (add-before 'configure 'convert-logo-to-png |
45fef894 LC |
5977 | (lambda* (#:key inputs #:allow-other-keys) |
5978 | ;; Convert the logo from SVG to PNG. | |
5979 | (invoke "inkscape" "--export-png=data/theme/guix-logo.png" | |
5980 | "data/theme/guix-logo.svg"))) | |
ba00235a | 5981 | (add-before 'configure 'record-absolute-file-names |
2472cdec LC |
5982 | (lambda* (#:key inputs #:allow-other-keys) |
5983 | (substitute* "js/misc/ibusManager.js" | |
5984 | (("'ibus-daemon'") | |
5985 | (string-append "'" (assoc-ref inputs "ibus") | |
5986 | "/bin/ibus-daemon'"))) | |
d6fda4d3 LC |
5987 | (substitute* "js/ui/status/keyboard.js" |
5988 | (("'gkbd-keyboard-display'") | |
5989 | (string-append "'" (assoc-ref inputs "libgnomekbd") | |
5990 | "/bin/gkbd-keyboard-display'"))) | |
2472cdec | 5991 | #t)) |
2b0c755d RW |
5992 | (add-before 'check 'pre-check |
5993 | (lambda* (#:key inputs #:allow-other-keys) | |
5994 | ;; Tests require a running X server. | |
5995 | (system "Xvfb :1 &") | |
5996 | (setenv "DISPLAY" ":1") | |
5997 | #t)) | |
5998 | (add-after 'install 'wrap-programs | |
5999 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6000 | (let ((out (assoc-ref outputs "out")) | |
6001 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
6002 | (python-path (getenv "PYTHONPATH"))) | |
6003 | (wrap-program (string-append out "/bin/gnome-shell") | |
6004 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
6005 | ;; FIXME: gnome-shell loads these libraries with unqualified | |
6006 | ;; names only, so they need to be on LD_LIBRARY_PATH. The | |
6007 | ;; alternative might be to patch gnome-shell. | |
6008 | `("LD_LIBRARY_PATH" ":" prefix | |
6009 | ,(map (lambda (pkg) | |
6010 | (string-append (assoc-ref inputs pkg) "/lib")) | |
cd8dce8a RW |
6011 | '("gdk-pixbuf" |
6012 | "gnome-bluetooth" "librsvg" "libgweather")))) | |
2b0c755d RW |
6013 | (for-each |
6014 | (lambda (prog) | |
6015 | (wrap-program (string-append out "/bin/" prog) | |
6016 | `("PYTHONPATH" ":" prefix (,python-path)) | |
6017 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
6018 | '("gnome-shell-extension-tool" "gnome-shell-perf-tool")) | |
08185081 | 6019 | #t))) |
11e1df56 LC |
6020 | (replace 'glib-or-gtk-wrap |
6021 | (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap))) | |
6022 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest) | |
6023 | ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS | |
6024 | ;; settings of the wrappers created by the 'glib-or-gtk-wrap' | |
6025 | ;; phase. Fix that since we don't need these. | |
6026 | (wrap #:inputs (fold alist-delete inputs | |
6027 | '("inkscape" "intltool" "glib:bin")) | |
6028 | #:outputs outputs))))))) | |
a4df5756 SB |
6029 | (native-inputs |
6030 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
2b0c755d | 6031 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
a4df5756 | 6032 | ("gobject-introspection" ,gobject-introspection) |
ebfe259f | 6033 | ("inkscape" ,inkscape) |
a4df5756 SB |
6034 | ("intltool" ,intltool) |
6035 | ("pkg-config" ,pkg-config) | |
6036 | ("python" ,python) | |
45fef894 | 6037 | ("ruby-sass" ,ruby-sass) |
2b0c755d | 6038 | ("sassc" ,sassc) |
a76d0f03 | 6039 | ("xsltproc" ,libxslt) |
2b0c755d | 6040 | ;; For tests |
0b4504f6 | 6041 | ("xorg-server" ,xorg-server-for-tests))) |
a4df5756 SB |
6042 | (inputs |
6043 | `(("accountsservice" ,accountsservice) | |
6044 | ("caribou" ,caribou) | |
6045 | ("docbook-xsl" ,docbook-xsl) | |
6046 | ("evolution-data-server" ,evolution-data-server) | |
6047 | ("gcr" ,gcr) | |
6048 | ("gdm" ,gdm) | |
c5db31d4 | 6049 | ("gdk-pixbuf" ,gdk-pixbuf+svg) |
a4df5756 SB |
6050 | ("gjs" ,gjs) |
6051 | ("gnome-bluetooth" ,gnome-bluetooth) | |
a4df5756 SB |
6052 | ("gnome-desktop" ,gnome-desktop) |
6053 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
6054 | ("gst-plugins-base" ,gst-plugins-base) | |
6055 | ("ibus" ,ibus) | |
6056 | ("libcanberra" ,libcanberra) | |
6057 | ("libcroco" ,libcroco) | |
d6fda4d3 | 6058 | ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display |
a4df5756 SB |
6059 | ("libgweather" ,libgweather) |
6060 | ("libsoup" ,libsoup) | |
6061 | ("mesa-headers" ,mesa-headers) | |
6062 | ("mutter" ,mutter) | |
6063 | ("network-manager-applet" ,network-manager-applet) | |
6064 | ("polkit" ,polkit) | |
6065 | ("pulseaudio" ,pulseaudio) | |
6066 | ("python-pygobject" ,python-pygobject) | |
6067 | ("startup-notification" ,startup-notification) | |
6068 | ("telepathy-logger" ,telepathy-logger) | |
6069 | ("upower" ,upower) | |
30e760f0 MB |
6070 | ;; XXX: These requirements were added in 3.24, but no mention in NEWS. |
6071 | ;; Missing propagation? See also: <https://bugs.gnu.org/27264> | |
6072 | ("librsvg" ,librsvg) | |
2b0c755d | 6073 | ("geoclue" ,geoclue))) |
a4df5756 SB |
6074 | (synopsis "Desktop shell for GNOME") |
6075 | (home-page "https://wiki.gnome.org/Projects/GnomeShell") | |
6076 | (description | |
6077 | "GNOME Shell provides core user interface functions for the GNOME desktop, | |
6078 | like switching to windows and launching applications.") | |
6079 | (license license:gpl2+))) | |
c3f29bc9 RS |
6080 | |
6081 | (define-public gtk-vnc | |
6082 | (package | |
6083 | (name "gtk-vnc") | |
965ff023 | 6084 | (version "0.9.0") |
c3f29bc9 RS |
6085 | (source |
6086 | (origin | |
6087 | (method url-fetch) | |
6088 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6089 | (version-major+minor version) "/" | |
6090 | name "-" version ".tar.xz")) | |
6091 | (sha256 | |
6092 | (base32 | |
965ff023 | 6093 | "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is")))) |
c3f29bc9 RS |
6094 | (build-system gnu-build-system) |
6095 | (arguments | |
6096 | '(#:configure-flags '("--with-gtk=3.0"))) | |
6097 | (propagated-inputs | |
6098 | `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc. | |
6099 | (inputs | |
6100 | `(("cyrus-sasl" ,cyrus-sasl) | |
6101 | ("gnutls" ,gnutls) | |
6102 | ("libgcrypt" ,libgcrypt) | |
6103 | ("pulseaudio" ,pulseaudio))) | |
6104 | (native-inputs | |
6105 | `(("glib:bin" ,glib "bin") | |
6106 | ("gobject-introspection" ,gobject-introspection) | |
6107 | ("intltool" ,intltool) | |
6108 | ("pkg-config" ,pkg-config) | |
2f17e939 | 6109 | ("python-wrapper" ,python-wrapper) |
c3f29bc9 RS |
6110 | ("vala" ,vala))) |
6111 | (home-page "https://wiki.gnome.org/Projects/gtk-vnc") | |
6112 | (synopsis "VNC viewer widget for GTK+") | |
6113 | (description | |
6114 | "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing | |
6115 | applications, for instance the Vinagre client, GNOME Boxes and virt-viewer. | |
6116 | GTK-VNC implements client side RFB protocol and authentication extensions such | |
6117 | as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.") | |
6118 | (license license:lgpl2.1+))) | |
8b877545 | 6119 | |
dc69fe18 MW |
6120 | (define-public gnome-autoar |
6121 | (package | |
6122 | (name "gnome-autoar") | |
c7da8510 | 6123 | (version "0.2.3") |
dc69fe18 MW |
6124 | (source (origin |
6125 | (method url-fetch) | |
6126 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6127 | (version-major+minor version) "/" | |
6128 | name "-" version ".tar.xz")) | |
6129 | (sha256 | |
6130 | (base32 | |
c7da8510 | 6131 | "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax")))) |
dc69fe18 MW |
6132 | (build-system glib-or-gtk-build-system) |
6133 | (native-inputs | |
6134 | `(("gnome-common" ,gnome-common) | |
6135 | ("gobject-introspection" ,gobject-introspection) | |
6136 | ("pkg-config" ,pkg-config))) | |
6137 | (propagated-inputs | |
6138 | `(("libarchive" ,libarchive))) ; XXX document why | |
6139 | (inputs | |
6140 | `(("gtk+" ,gtk+) | |
6141 | ("nettle" ,nettle))) ; XXX: required by libarchive.pc | |
6142 | (synopsis "Archives integration support for GNOME") | |
6143 | (home-page "https://git.gnome.org/browse/gnome-autoar/") | |
6144 | (description | |
6145 | "GNOME Autoar is a library which makes creating and extracting archives | |
6146 | easy, safe, and automatic.") | |
6147 | (license license:lgpl2.1+))) | |
6148 | ||
b64e217f MW |
6149 | (define-public tracker |
6150 | (package | |
6151 | (name "tracker") | |
c8bdf589 | 6152 | (version "2.0.4") |
b64e217f MW |
6153 | (source (origin |
6154 | (method url-fetch) | |
6155 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6156 | (version-major+minor version) "/" | |
6157 | name "-" version ".tar.xz")) | |
6158 | (sha256 | |
6159 | (base32 | |
c8bdf589 | 6160 | "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf")))) |
b64e217f | 6161 | (build-system glib-or-gtk-build-system) |
c8bdf589 RW |
6162 | (arguments |
6163 | `(#:phases | |
6164 | (modify-phases %standard-phases | |
6165 | (add-after 'unpack 'disable-broken-tests | |
6166 | (lambda _ | |
6167 | ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings | |
6168 | ;; schema 'org.freedesktop.Tracker.FTS' is not installed. | |
6169 | (substitute* "tests/libtracker-miner/Makefile.in" | |
6170 | (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "") | |
6171 | (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "") | |
6172 | (("tracker-monitor-test\\$\\(EXEEXT\\)") "")) | |
6173 | (substitute* "tests/libtracker-fts/Makefile.in" | |
6174 | (("tracker-fts-test\\$\\(EXEEXT\\)") "")) | |
6175 | (substitute* "tests/libtracker-data/Makefile.in" | |
6176 | (("tracker-ontology\\$\\(EXEEXT\\)") "") | |
6177 | (("tracker-ontology-change\\$\\(EXEEXT\\)") "") | |
6178 | (("tracker-backup\\$\\(EXEEXT\\)") "") | |
6179 | (("tracker-sparql-blank\\$\\(EXEEXT\\)") "") | |
6180 | (("tracker-sparql\\$\\(EXEEXT\\)") "")) | |
6181 | ;; These fail because the SPARQL backend could not be loaded. | |
6182 | ;; That's because /etc/machine-id is missing, but | |
6183 | ;; DBUS_FATAL_WARNINGS does not help here. | |
6184 | (substitute* "tests/libtracker-sparql/Makefile.in" | |
6185 | (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "") | |
6186 | (("tracker-sparql-test\\$\\(EXEEXT\\)") "")) | |
6187 | (substitute* "tests/tracker-steroids/Makefile.in" | |
6188 | (("tracker-test\\$\\(EXEEXT\\)") "")) | |
6189 | #t)) | |
6190 | ;; Two tests fail if LANG is not set. | |
6191 | (add-before 'check 'pre-check | |
6192 | (lambda _ | |
6193 | (setenv "LANG" "en_US.UTF-8") | |
6194 | ;; For the missing /etc/machine-id. | |
6195 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
6196 | #t))))) | |
b64e217f MW |
6197 | (native-inputs |
6198 | `(("gnome-common" ,gnome-common) | |
6199 | ("gobject-introspection" ,gobject-introspection) | |
6200 | ("intltool" ,intltool) | |
6201 | ("pkg-config" ,pkg-config) | |
6202 | ("vala" ,vala))) | |
6203 | (inputs | |
6204 | `(("gtk+" ,gtk+) | |
6205 | ("dbus" ,dbus) | |
6206 | ("gstreamer" ,gstreamer) | |
6207 | ("gst-plugins-base" ,gst-plugins-base) | |
44ed6284 | 6208 | ("sqlite" ,sqlite) |
b64e217f | 6209 | ("nettle" ,nettle) ; XXX why is this needed? |
c8bdf589 | 6210 | ("python" ,python) |
b64e217f MW |
6211 | ("poppler" ,poppler) |
6212 | ("libgsf" ,libgsf) | |
6213 | ("libexif" ,libexif) | |
6214 | ("libpng" ,libpng) | |
6215 | ("libtiff" ,libtiff) | |
6216 | ("libvorbis" ,libvorbis) | |
6217 | ("flac" ,flac) | |
6218 | ("totem-pl-parser" ,totem-pl-parser) | |
6219 | ("zlib" ,zlib) | |
6220 | ("exempi" ,exempi) | |
6221 | ("libxml2" ,libxml2) | |
6222 | ("upower" ,upower) | |
b64e217f MW |
6223 | ("libunistring" ,libunistring) |
6224 | ("giflib" ,giflib) | |
0ef48cd9 | 6225 | ("json-glib" ,json-glib) |
b64e217f MW |
6226 | ("openjpeg" ,openjpeg-1) |
6227 | ("libosinfo" ,libosinfo) | |
6228 | ("libcue" ,libcue) | |
6229 | ("libseccomp" ,libseccomp) | |
0ef48cd9 | 6230 | ("libsoup" ,libsoup) |
b64e217f | 6231 | ("libuuid" ,util-linux))) |
b64e217f MW |
6232 | (synopsis "Metadata database, indexer and search tool") |
6233 | (home-page "https://wiki.gnome.org/Projects/Tracker") | |
6234 | (description | |
6235 | "Tracker is an advanced framework for first class objects with associated | |
6236 | metadata and tags. It provides a one stop solution for all metadata, tags, | |
6237 | shared object databases, search tools and indexing.") | |
6238 | ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+, | |
6239 | ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+. | |
6240 | (license (list license:gpl2+ | |
6241 | license:lgpl2.1+ | |
6242 | license:lgpl2.0+)))) | |
6243 | ||
8b877545 RS |
6244 | (define-public nautilus |
6245 | (package | |
6246 | (name "nautilus") | |
caf6c363 | 6247 | (version "3.28.1") |
8b877545 RS |
6248 | (source (origin |
6249 | (method url-fetch) | |
6250 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6251 | (version-major+minor version) "/" | |
6252 | name "-" version ".tar.xz")) | |
6253 | (sha256 | |
6254 | (base32 | |
caf6c363 | 6255 | "19dhpa2ylrg8d5274lahy7xqr2p9z3jnq1h4qmsh95czkpy7is4w")))) |
35e2d0cf | 6256 | (build-system meson-build-system) |
8b877545 | 6257 | (arguments |
35e2d0cf | 6258 | '(#:glib-or-gtk? #t |
8b877545 RS |
6259 | ;; XXX: FAIL: check-nautilus |
6260 | ;; Settings schema 'org.gnome.nautilus.preferences' is not installed | |
6261 | #:tests? #f)) | |
6262 | (native-inputs | |
35e2d0cf R |
6263 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
6264 | ("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
6265 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
8b877545 RS |
6266 | ("gobject-introspection" ,gobject-introspection) |
6267 | ("intltool" ,intltool) | |
6268 | ("pkg-config" ,pkg-config))) | |
8b877545 | 6269 | (inputs |
8b877545 | 6270 | `(("dconf" ,dconf) |
caf6c363 | 6271 | ("gexiv2" ,gexiv2) |
dd05e731 | 6272 | ("gvfs" ,gvfs) |
8b877545 RS |
6273 | ("exempi" ,exempi) |
6274 | ("gnome-desktop" ,gnome-desktop) | |
09d88905 | 6275 | ("gnome-autoar" ,gnome-autoar) |
35e2d0cf R |
6276 | ("libselinux" ,libselinux) |
6277 | ("nettle" ,nettle) ; XXX required by libarchive.pc via gnome-autoar | |
09d88905 | 6278 | ("tracker" ,tracker) |
ce6027bf SB |
6279 | ;; XXX: gtk+ is required by libnautilus-extension.pc |
6280 | ;; | |
6281 | ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta | |
6282 | ;; package. See: | |
6283 | ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>. | |
6284 | ("gtk+" ,gtk+) | |
8b877545 RS |
6285 | ("libexif" ,libexif) |
6286 | ("libxml2" ,libxml2))) | |
6287 | (synopsis "File manager for GNOME") | |
6288 | (home-page "https://wiki.gnome.org/Apps/Nautilus") | |
6289 | (description | |
6290 | "Nautilus (Files) is a file manager designed to fit the GNOME desktop | |
6291 | design and behaviour, giving the user a simple way to navigate and manage its | |
6292 | files.") | |
6293 | (license license:gpl2+))) | |
3c697ffd JR |
6294 | |
6295 | (define-public baobab | |
6296 | (package | |
6297 | (name "baobab") | |
d233d373 | 6298 | (version "3.28.0") |
3c697ffd JR |
6299 | (source (origin |
6300 | (method url-fetch) | |
6301 | (uri (string-append | |
6302 | "mirror://gnome/sources/" name "/" | |
6303 | (version-major+minor version) "/" | |
6304 | name "-" version ".tar.xz")) | |
6305 | (sha256 | |
6306 | (base32 | |
d233d373 RJ |
6307 | "0qsx7vx5c3n4yxlxbr11sppw7qwcv9z3g45b5xb9y7wxw5lv42sk")))) |
6308 | (build-system meson-build-system) | |
6309 | (arguments | |
6310 | '(#:glib-or-gtk? #t)) | |
3c697ffd JR |
6311 | (native-inputs |
6312 | `(("intltool" ,intltool) | |
6313 | ("pkg-config" ,pkg-config) | |
d233d373 RJ |
6314 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
6315 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
3c697ffd JR |
6316 | ("itstool" ,itstool) |
6317 | ("xmllint" ,libxml2) | |
6318 | ("glib" ,glib "bin") | |
6319 | ("vala" ,vala))) | |
6320 | (inputs | |
6321 | `(("gtk+" ,gtk+))) | |
6322 | (synopsis "Disk usage analyzer for GNOME") | |
6323 | (description | |
6324 | "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk | |
6325 | usage in the GNOME desktop environment. It can easily scan device volumes or | |
6326 | a specific user-requested directory branch (local or remote). Once the scan | |
6327 | is complete it provides a graphical representation of each selected folder.") | |
6328 | (home-page "https://wiki.gnome.org/Apps/Baobab") | |
6329 | (license license:gpl2+))) | |
dc050251 | 6330 | |
fdba447c RS |
6331 | (define-public gnome-backgrounds |
6332 | (package | |
6333 | (name "gnome-backgrounds") | |
9ca381f0 | 6334 | (version "3.28.0") |
fdba447c RS |
6335 | (source |
6336 | (origin | |
6337 | (method url-fetch) | |
6338 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6339 | (version-major+minor version) "/" | |
6340 | name "-" version ".tar.xz")) | |
6341 | (sha256 | |
6342 | (base32 | |
9ca381f0 RW |
6343 | "1qgim0yhzjgcq172y4vp5hqz4rh1ak38a7pgi6s7dq0wklyrcnxj")))) |
6344 | (build-system meson-build-system) | |
fdba447c RS |
6345 | (native-inputs |
6346 | `(("intltool" ,intltool))) | |
6347 | (home-page "https://git.gnome.org/browse/gnome-backgrounds") | |
6348 | (synopsis "Background images for the GNOME desktop") | |
6349 | (description | |
6350 | "GNOME backgrounds package contains a collection of graphics files which | |
6351 | can be used as backgrounds in the GNOME Desktop environment. Additionally, | |
6352 | the package creates the proper framework and directory structure so that you | |
6353 | can add your own files to the collection.") | |
6354 | (license (list license:gpl2+ | |
6355 | license:cc-by2.0 | |
6356 | license:cc-by-sa2.0 | |
6357 | license:cc-by-sa3.0)))) | |
6358 | ||
b784b1a9 RS |
6359 | (define-public gnome-screenshot |
6360 | (package | |
6361 | (name "gnome-screenshot") | |
8356aefa | 6362 | (version "3.26.0") |
b784b1a9 RS |
6363 | (source |
6364 | (origin | |
6365 | (method url-fetch) | |
6366 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6367 | (version-major+minor version) "/" | |
6368 | name "-" version ".tar.xz")) | |
6369 | (sha256 | |
6370 | (base32 | |
8356aefa RW |
6371 | "1fy8fjl29i3xhj8caik03d3za06x96xgkk8r4fwz88iqbmci3g0v")))) |
6372 | (build-system meson-build-system) | |
b784b1a9 RS |
6373 | (native-inputs |
6374 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
8356aefa RW |
6375 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
6376 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database | |
b784b1a9 | 6377 | ("intltool" ,intltool) |
8356aefa | 6378 | ("appstream-glib" ,appstream-glib) |
b784b1a9 RS |
6379 | ("pkg-config" ,pkg-config))) |
6380 | (inputs | |
6381 | `(("gtk+" ,gtk+) | |
6382 | ("libcanberra" ,libcanberra) | |
6383 | ("libx11" ,libx11) | |
6384 | ("libxext" ,libxext))) | |
6385 | (home-page "https://git.gnome.org/browse/gnome-screenshot") | |
6386 | (synopsis "Take pictures of your screen") | |
6387 | (description | |
6388 | "GNOME Screenshot is a utility used for taking screenshots of the entire | |
6389 | screen, a window or a user defined area of the screen, with optional | |
6390 | beautifying border effects.") | |
6391 | (license license:gpl2+))) | |
6392 | ||
66d59111 RS |
6393 | (define-public dconf-editor |
6394 | (package | |
6395 | (name "dconf-editor") | |
294ff39d | 6396 | (version "3.28.0") |
66d59111 RS |
6397 | (source |
6398 | (origin | |
6399 | (method url-fetch) | |
6400 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6401 | (version-major+minor version) "/" | |
6402 | name "-" version ".tar.xz")) | |
6403 | (sha256 | |
6404 | (base32 | |
294ff39d RW |
6405 | "0nhcpwqrkmpxbhaf0cafvy6dlp6s7vhm5vknl4lgs3l24zc56ns5")))) |
6406 | (build-system meson-build-system) | |
66d59111 RS |
6407 | (native-inputs |
6408 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. | |
294ff39d | 6409 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
66d59111 | 6410 | ("intltool" ,intltool) |
294ff39d RW |
6411 | ("pkg-config" ,pkg-config) |
6412 | ("vala" ,vala))) | |
66d59111 RS |
6413 | (inputs |
6414 | `(("dconf" ,dconf) | |
6415 | ("gtk+" ,gtk+) | |
6416 | ("libxml2" ,libxml2))) | |
6417 | (home-page "https://git.gnome.org/browse/dconf-editor") | |
6418 | (synopsis "Graphical editor for GNOME's dconf configuration system") | |
6419 | (description | |
6420 | "Dconf-editor is a graphical tool for browsing and editing the dconf | |
6421 | configuration system for GNOME. It allows users to configure desktop | |
6422 | software that do not provide their own configuration interface.") | |
6423 | (license license:lgpl2.1+))) | |
6424 | ||
96d36f38 AW |
6425 | (define-public gnome-default-applications |
6426 | (package | |
6427 | (name "gnome-default-applications") | |
6428 | (version "0") | |
6429 | (build-system trivial-build-system) | |
6430 | (source #f) | |
6431 | (propagated-inputs | |
8ad4f0aa LC |
6432 | `(("nautilus" ,nautilus) |
6433 | ("evince" ,evince))) | |
96d36f38 AW |
6434 | (arguments |
6435 | `(#:modules ((guix build utils)) | |
6436 | #:builder | |
6437 | (begin | |
6438 | (use-modules (guix build utils)) | |
6439 | (let* ((out (assoc-ref %outputs "out")) | |
6440 | (apps (string-append out "/share/applications"))) | |
6441 | (mkdir-p apps) | |
6442 | (call-with-output-file (string-append apps "/defaults.list") | |
6443 | (lambda (port) | |
6444 | (format port "[Default Applications]\n") | |
8ad4f0aa LC |
6445 | (format port "inode/directory=org.gnome.Nautilus.desktop\n") |
6446 | (format port "application/pdf=evince.desktop\n") | |
6447 | (format port "application/postscript=evince.desktop\n"))) | |
96d36f38 AW |
6448 | #t)))) |
6449 | (synopsis "Default MIME type associations for the GNOME desktop") | |
6450 | (description | |
6451 | "Given many installed packages which might handle a given MIME type, a | |
6452 | user running the GNOME desktop probably has some preferences: for example, | |
6453 | that folders be opened by default by the Nautilus file manager, not the Baobab | |
6454 | disk usage analyzer. This package establishes that set of default MIME type | |
6455 | associations for GNOME.") | |
6456 | (license license:gpl3+) | |
6457 | (home-page #f))) | |
6458 | ||
dc050251 SB |
6459 | (define-public gnome |
6460 | (package | |
6461 | (name "gnome") | |
6462 | (version (package-version gnome-shell)) | |
6463 | (source #f) | |
6464 | (build-system trivial-build-system) | |
e3cfef22 | 6465 | (arguments '(#:builder (begin (mkdir %output) #t))) |
dc050251 SB |
6466 | (propagated-inputs |
6467 | ;; TODO: Add more packages according to: | |
6468 | ;; <https://packages.debian.org/jessie/gnome-core>. | |
6469 | `(("adwaita-icon-theme" ,adwaita-icon-theme) | |
05f651c4 | 6470 | ("baobab" ,baobab) |
0bd3597b | 6471 | ("font-cantarell" ,font-cantarell) |
a9dbefdc | 6472 | ("font-dejavu" ,font-dejavu) |
dc050251 SB |
6473 | ("at-spi2-core" ,at-spi2-core) |
6474 | ("dbus" ,dbus) | |
6475 | ("dconf" ,dconf) | |
72360453 | 6476 | ("desktop-file-utils" ,desktop-file-utils) |
dc050251 SB |
6477 | ("eog" ,eog) |
6478 | ("epiphany" ,epiphany) | |
6479 | ("evince" ,evince) | |
71d9b980 | 6480 | ("file-roller" ,file-roller) |
dc050251 SB |
6481 | ("gedit" ,gedit) |
6482 | ("glib-networking" ,glib-networking) | |
05f651c4 | 6483 | ("gnome-backgrounds" ,gnome-backgrounds) |
63ad9b80 AW |
6484 | ("gnome-bluetooth" ,gnome-bluetooth) |
6485 | ("gnome-calculator" ,gnome-calculator) | |
dc050251 | 6486 | ("gnome-control-center" ,gnome-control-center) |
63ad9b80 | 6487 | ("gnome-disk-utility" ,gnome-disk-utility) |
96d36f38 | 6488 | ("gnome-default-applications" ,gnome-default-applications) |
dc050251 | 6489 | ("gnome-keyring" ,gnome-keyring) |
63ad9b80 | 6490 | ("gnome-online-accounts" ,gnome-online-accounts) |
dc050251 SB |
6491 | ("gnome-session" ,gnome-session) |
6492 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
6493 | ("gnome-shell" ,gnome-shell) | |
63ad9b80 | 6494 | ("gnome-system-monitor" ,gnome-system-monitor) |
dc050251 SB |
6495 | ("gnome-terminal" ,gnome-terminal) |
6496 | ("gnome-themes-standard" ,gnome-themes-standard) | |
2999dcd5 AW |
6497 | ("gst-plugins-base" ,gst-plugins-base) |
6498 | ("gst-plugins-good" ,gst-plugins-good) | |
63ad9b80 | 6499 | ("gucharmap" ,gucharmap) |
05f651c4 | 6500 | ("gvfs" ,gvfs) |
dc050251 SB |
6501 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
6502 | ("nautilus" ,nautilus) | |
69308043 | 6503 | ("pinentry-gnome3" ,pinentry-gnome3) |
dc050251 SB |
6504 | ("pulseaudio" ,pulseaudio) |
6505 | ("shared-mime-info" ,shared-mime-info) | |
f6f4370f | 6506 | ("system-config-printer" ,system-config-printer) |
dc050251 | 6507 | ("totem" ,totem) |
c20cd0d2 | 6508 | ("xdg-user-dirs" ,xdg-user-dirs) |
dc050251 SB |
6509 | ("yelp" ,yelp) |
6510 | ("zenity" ,zenity))) | |
fe4e698d | 6511 | (synopsis "The GNU desktop environment") |
dc050251 SB |
6512 | (home-page "https://www.gnome.org/") |
6513 | (description | |
fe4e698d LC |
6514 | "GNOME is the graphical desktop for GNU. It includes a wide variety of |
6515 | applications for browsing the web, editing text and images, creating | |
6516 | documents and diagrams, playing media, scanning, and much more.") | |
dc050251 | 6517 | (license license:gpl2+))) |
4a526711 DT |
6518 | |
6519 | (define-public byzanz | |
6520 | ;; The last stable release of Byzanz was in 2011, but there have been many | |
6521 | ;; useful commits made to the Byzanz repository since then that it would be | |
6522 | ;; silly to use such an old release. | |
6523 | (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af")) | |
6524 | (package | |
6525 | (name "byzanz") | |
6526 | (version (string-append "0.2-1." (string-take commit 7))) | |
6527 | (source (origin | |
6528 | (method git-fetch) | |
6529 | (uri (git-reference | |
5f13bf09 | 6530 | (url "https://git.gnome.org/browse/byzanz") |
4a526711 | 6531 | (commit commit))) |
5a6527e4 | 6532 | (file-name (string-append name "-" version "-checkout")) |
4a526711 DT |
6533 | (sha256 |
6534 | (base32 | |
6535 | "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3")))) | |
6536 | (build-system glib-or-gtk-build-system) | |
6537 | (arguments | |
6538 | '(#:phases | |
6539 | (modify-phases %standard-phases | |
189be331 | 6540 | (replace 'bootstrap |
4a526711 DT |
6541 | (lambda _ |
6542 | ;; The build system cleverly detects that we're not building from | |
6543 | ;; a release tarball and turns on -Werror for GCC. | |
6544 | ;; Unsurprisingly, there is a warning during compilation that | |
6545 | ;; causes the build to fail unnecessarily, so we remove the flag. | |
6546 | (substitute* '("configure.ac") | |
6547 | (("-Werror") "")) | |
6548 | ;; The autogen.sh script in gnome-common will run ./configure | |
6549 | ;; by default, which is problematic because source shebangs | |
6550 | ;; have not yet been patched. | |
6551 | (setenv "NOCONFIGURE" "t") | |
6552 | (zero? (system* "sh" "autogen.sh"))))))) | |
6553 | (native-inputs | |
6554 | `(("autoconf" ,autoconf) | |
6555 | ("automake" ,automake) | |
6556 | ("gnome-common" ,gnome-common) | |
6557 | ("intltool" ,intltool) | |
6558 | ("libtool" ,libtool) | |
6559 | ("pkg-config" ,pkg-config) | |
6560 | ("which" ,which))) | |
6561 | (inputs | |
6562 | `(("glib" ,glib) | |
6563 | ("gstreamer" ,gstreamer) | |
6564 | ("gst-plugins-base" ,gst-plugins-base) | |
6565 | ("gtk+" ,gtk+))) | |
6566 | (synopsis "Desktop recording program") | |
6567 | (description "Byzanz is a simple desktop recording program with a | |
6568 | command-line interface. It can record part or all of an X display for a | |
6569 | specified duration and save it as a GIF encoded animated image file.") | |
6570 | (home-page "https://git.gnome.org/browse/byzanz") | |
6571 | (license license:gpl2+)))) | |
3a9a4c51 | 6572 | |
0ec171ec MS |
6573 | (define-public gsound |
6574 | (package | |
6575 | (name "gsound") | |
6576 | (version "1.0.2") | |
6577 | (source (origin | |
6578 | (method url-fetch) | |
6579 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6580 | (version-major+minor version) "/" | |
6581 | name "-" version ".tar.xz")) | |
6582 | (sha256 | |
6583 | (base32 | |
6584 | "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v")))) | |
6585 | (build-system glib-or-gtk-build-system) | |
6586 | (native-inputs | |
6587 | `(("pkg-config" ,pkg-config) | |
6588 | ("gobject-introspection" ,gobject-introspection) | |
6589 | ("vala" ,vala))) | |
6590 | (inputs | |
6591 | `(("glib" ,glib) | |
6592 | ("libcanberra" ,libcanberra))) | |
6593 | (home-page "https://wiki.gnome.org/Projects/GSound") | |
6594 | (synopsis "GObject wrapper for libcanberra") | |
6595 | (description | |
6596 | "GSound is a small library for playing system sounds. It's designed to be | |
6597 | used via GObject Introspection, and is a thin wrapper around the libcanberra C | |
6598 | library.") | |
6599 | (license license:lgpl2.1+))) | |
6600 | ||
3a9a4c51 RS |
6601 | (define-public libzapojit |
6602 | (package | |
6603 | (name "libzapojit") | |
6604 | (version "0.0.3") | |
6605 | (source (origin | |
6606 | (method url-fetch) | |
6607 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6608 | (version-major+minor version) "/" | |
6609 | name "-" version ".tar.xz")) | |
6610 | (sha256 | |
6611 | (base32 | |
6612 | "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x")))) | |
6613 | (build-system gnu-build-system) | |
6614 | (native-inputs | |
6615 | `(("gobject-introspection" ,gobject-introspection) | |
6616 | ("intltool" ,intltool) | |
6617 | ("pkg-config" ,pkg-config))) | |
6618 | (inputs | |
14c297fd | 6619 | `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
3a9a4c51 RS |
6620 | ("json-glib" ,json-glib) |
6621 | ("rest" ,rest))) | |
6622 | (home-page "https://wiki.gnome.org/Projects/Zapojit") | |
6623 | (synopsis "Library for accessing SkyDrive and Hotmail") | |
6624 | (description | |
6625 | "Libzapojit is a GLib-based library for accessing online service APIs of | |
6626 | Microsoft SkyDrive and Hotmail, using their REST protocols.") | |
6627 | (license license:lgpl2.1+))) | |
9365ee1c | 6628 | |
60e2a9ae MS |
6629 | (define-public gnome-clocks |
6630 | (package | |
6631 | (name "gnome-clocks") | |
80d1e4c0 | 6632 | (version "3.28.0") |
60e2a9ae MS |
6633 | (source (origin |
6634 | (method url-fetch) | |
6635 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6636 | (version-major+minor version) "/" | |
6637 | name "-" version ".tar.xz")) | |
6638 | (sha256 | |
6639 | (base32 | |
80d1e4c0 | 6640 | "1dd739vchb592mck1dia2hkywn4213cpramyqzgmlmwv8z80p3nl")))) |
60e2a9ae MS |
6641 | (build-system meson-build-system) |
6642 | (arguments | |
6643 | '(#:glib-or-gtk? #t)) | |
6644 | (native-inputs | |
6645 | `(("vala" ,vala) | |
6646 | ("pkg-config" ,pkg-config) | |
6647 | ("glib" ,glib "bin") ; for glib-compile-resources | |
6648 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
6649 | ("desktop-file-utils" ,desktop-file-utils) | |
6650 | ("gettext" ,gettext-minimal) | |
6651 | ("itstool" ,itstool))) | |
6652 | (inputs | |
6653 | `(("glib" ,glib) | |
6654 | ("gtk+" ,gtk+) | |
6655 | ("gsound" ,gsound) | |
6656 | ("geoclue" ,geoclue) | |
6657 | ("geocode-glib" ,geocode-glib) | |
6658 | ("libgweather" ,libgweather) | |
6659 | ("gnome-desktop" ,gnome-desktop))) | |
6660 | (home-page "https://wiki.gnome.org/Apps/Clocks") | |
6661 | (synopsis "GNOME's clock application") | |
6662 | (description | |
6663 | "GNOME Clocks is a simple clocks application designed to fit the GNOME | |
6664 | desktop. It supports world clock, stop watch, alarms, and count down timer.") | |
6665 | (license license:gpl3+))) | |
6666 | ||
3c474897 KY |
6667 | (define-public gnome-calendar |
6668 | (package | |
6669 | (name "gnome-calendar") | |
a286b5eb | 6670 | (version "3.28.2") |
3c474897 KY |
6671 | (source (origin |
6672 | (method url-fetch) | |
6673 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6674 | (version-major+minor version) "/" | |
6675 | name "-" version ".tar.xz")) | |
6676 | (sha256 | |
6677 | (base32 | |
a286b5eb | 6678 | "0x6wxngf8fkwgbl6x7rzp0srrb43rm55klpb2vfjk2hahpbjvxyw")))) |
a49d3e37 MS |
6679 | (build-system meson-build-system) |
6680 | (arguments | |
6681 | '(#:glib-or-gtk? #t | |
6682 | ;; gnome-calendar has to be installed before the tests can be run | |
6683 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224 | |
6684 | #:tests? #f)) | |
3c474897 | 6685 | (native-inputs |
a49d3e37 MS |
6686 | `(("gettext" ,gettext-minimal) |
6687 | ("glib-bin" ,glib "bin") ; For glib-compile-schemas | |
6688 | ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
3c474897 KY |
6689 | ("pkg-config" ,pkg-config))) |
6690 | (inputs | |
a49d3e37 | 6691 | `(("evolution-data-server" ,evolution-data-server) |
14c297fd | 6692 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
da43d1cb | 6693 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
a286b5eb | 6694 | ("libdazzle" ,libdazzle) |
571fb008 | 6695 | ("libedataserverui" ,evolution-data-server "libedataserverui") |
a286b5eb RW |
6696 | ("libgweather" ,libgweather) |
6697 | ("geoclue" ,geoclue))) | |
3c474897 KY |
6698 | (home-page "https://wiki.gnome.org/Apps/Calendar") |
6699 | (synopsis "GNOME's calendar application") | |
6700 | (description | |
6701 | "GNOME Calendar is a simple calendar application designed to fit the GNOME | |
a49d3e37 | 6702 | desktop. It supports multiple calendars, month, week and year view.") |
3c474897 KY |
6703 | (license license:gpl3+))) |
6704 | ||
57b14665 MS |
6705 | (define-public gnome-todo |
6706 | (package | |
6707 | (name "gnome-todo") | |
9f3c6c88 | 6708 | (version "3.28.1") |
57b14665 MS |
6709 | (source (origin |
6710 | (method url-fetch) | |
6711 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6712 | (version-major+minor version) "/" | |
6713 | name "-" version ".tar.xz")) | |
6714 | (sha256 | |
6715 | (base32 | |
9f3c6c88 | 6716 | "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7")))) |
57b14665 MS |
6717 | (build-system meson-build-system) |
6718 | (arguments | |
6719 | '(#:glib-or-gtk? #t | |
6720 | #:phases (modify-phases %standard-phases | |
6721 | (add-after | |
6722 | 'install 'wrap-gnome-todo | |
6723 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6724 | (let ((out (assoc-ref outputs "out")) | |
6725 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
6726 | (python-path (getenv "PYTHONPATH"))) | |
6727 | (wrap-program (string-append out "/bin/gnome-todo") | |
6728 | ;; XXX: gi plugins are broken. | |
6729 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212 | |
6730 | ;; For plugins. | |
6731 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
6732 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
6733 | #t))))) | |
6734 | (native-inputs | |
6735 | `(("gettext" ,gettext-minimal) | |
6736 | ("gobject-introspection" ,gobject-introspection) | |
6737 | ("glib:bin" ,glib "bin") ; For glib-compile-resources | |
6738 | ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
6739 | ("pkg-config" ,pkg-config))) | |
6740 | (inputs | |
6741 | `(("rest" ,rest) ; For Todoist plugin | |
6742 | ("json-glib" ,json-glib) ; For Todoist plugin | |
da43d1cb | 6743 | ("libedataserverui" ,evolution-data-server "libedataserverui") |
57b14665 MS |
6744 | ("libical" ,libical) |
6745 | ("libpeas" ,libpeas) | |
6746 | ("python-pygobject" ,python-pygobject) | |
6747 | ("evolution-data-server" ,evolution-data-server) | |
14c297fd | 6748 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
57b14665 MS |
6749 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) |
6750 | (home-page "https://wiki.gnome.org/Apps/Todo") | |
6751 | (synopsis "GNOME's ToDo Application") | |
6752 | (description | |
6753 | "GNOME To Do is a simplistic personal task manager designed to perfectly | |
6754 | fit the GNOME desktop.") | |
6755 | (license license:gpl3+))) | |
6756 | ||
ab179eaf SB |
6757 | (define-public gnome-dictionary |
6758 | (package | |
6759 | (name "gnome-dictionary") | |
cf81ddef | 6760 | (version "3.26.1") |
ab179eaf SB |
6761 | (source (origin |
6762 | (method url-fetch) | |
6763 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6764 | (version-major+minor version) "/" | |
6765 | name "-" version ".tar.xz")) | |
6766 | (sha256 | |
6767 | (base32 | |
cf81ddef LC |
6768 | "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n")))) |
6769 | (build-system meson-build-system) | |
2776b5d5 MB |
6770 | (arguments '(#:glib-or-gtk? #t |
6771 | #:phases (modify-phases %standard-phases | |
6772 | (add-after 'unpack 'patch-install-script | |
6773 | (lambda _ | |
6774 | ;; This script attempts to compile glib schemas | |
6775 | ;; and create an empty MIME database. We do | |
6776 | ;; that elsewhere, so prevent it from running. | |
6777 | (substitute* "build-aux/post-install.sh" | |
6778 | (("\\[ -z \"\\$DESTDIR\" \\]") "false")) | |
6779 | #t))))) | |
ab179eaf SB |
6780 | (native-inputs |
6781 | `(("glib:bin" ,glib "bin") | |
6782 | ("gobject-introspection" ,gobject-introspection) | |
6783 | ("intltool" ,intltool) | |
6784 | ("itstool" ,itstool) | |
6785 | ("pkg-config" ,pkg-config) | |
6786 | ("xmllint" ,libxml2))) | |
6787 | (inputs | |
6788 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
6789 | ("gtk+" ,gtk+))) | |
6790 | (home-page "https://wiki.gnome.org/Apps/Dictionary") | |
6791 | (synopsis "Look up words in dictionary sources") | |
6792 | (description | |
6793 | "GNOME Dictionary can look for the definition or translation of a word in | |
6794 | existing databases over the internet.") | |
6795 | (license license:gpl3+))) | |
6796 | ||
d13f3a03 | 6797 | (define-public gnome-tweaks |
9365ee1c | 6798 | (package |
d13f3a03 RW |
6799 | (name "gnome-tweaks") |
6800 | (version "3.28.1") | |
9365ee1c JN |
6801 | (source (origin |
6802 | (method url-fetch) | |
d13f3a03 | 6803 | (uri (string-append "mirror://gnome/sources/gnome-tweaks/" |
9365ee1c | 6804 | (version-major+minor version) "/" |
d13f3a03 RW |
6805 | "gnome-tweaks-" version ".tar.xz")) |
6806 | (patches | |
6807 | (list (search-patch "gnome-tweaks-search-paths.patch"))) | |
9365ee1c JN |
6808 | (sha256 |
6809 | (base32 | |
d13f3a03 RW |
6810 | "1p5xydr0haz4389h6dvvbna6i1mipdzvmlfksnv0jqfvfs9sy6fp")))) |
6811 | (build-system meson-build-system) | |
9365ee1c | 6812 | (arguments |
d13f3a03 RW |
6813 | `(#:glib-or-gtk? #t |
6814 | #:configure-flags '("-Dlocalstatedir=/tmp" | |
6815 | "-Dsysconfdir=/tmp") | |
9365ee1c | 6816 | #:imported-modules ((guix build python-build-system) |
d13f3a03 RW |
6817 | ,@%meson-build-system-modules) |
6818 | #:phases | |
6819 | (modify-phases %standard-phases | |
6820 | (add-after 'install 'wrap | |
6821 | (@@ (guix build python-build-system) wrap)) | |
6822 | (add-after 'wrap 'wrap-gi-typelib | |
6823 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6824 | (let ((out (assoc-ref outputs "out")) | |
6825 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
6826 | (wrap-program (string-append out "/bin/gnome-tweaks") | |
6827 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
6828 | #t))))) | |
9365ee1c | 6829 | (native-inputs |
c7fc414e RH |
6830 | `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache |
6831 | ("intltool" ,intltool) | |
9365ee1c JN |
6832 | ("pkg-config" ,pkg-config))) |
6833 | (inputs | |
c7fc414e RH |
6834 | `(("gnome-desktop" ,gnome-desktop) |
6835 | ("gtk+" ,gtk+) | |
9365ee1c JN |
6836 | ("gobject-introspection" ,gobject-introspection) |
6837 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
c7fc414e RH |
6838 | ("libnotify" ,libnotify) |
6839 | ("libsoup" ,libsoup) | |
6840 | ("nautilus" ,nautilus) | |
6841 | ("python" ,python) | |
6842 | ("python-pygobject" ,python-pygobject))) | |
9365ee1c | 6843 | (synopsis "Customize advanced GNOME 3 options") |
d13f3a03 | 6844 | (home-page "https://wiki.gnome.org/Apps/Tweaks") |
9365ee1c | 6845 | (description |
d13f3a03 | 6846 | "GNOME Tweaks allows adjusting advanced configuration settings in |
9365ee1c JN |
6847 | GNOME 3. This includes things like the fonts used in user interface elements, |
6848 | alternative user interface themes, changes in window management behavior, | |
6849 | GNOME Shell appearance and extension, etc.") | |
6850 | (license license:gpl3+))) | |
813f814a | 6851 | |
d13f3a03 RW |
6852 | ;; This package has been renamed by upstream. |
6853 | (define-public gnome-tweak-tool | |
6854 | (deprecated-package "gnome-tweak-tool" gnome-tweaks)) | |
6855 | ||
32ac717c DT |
6856 | (define-public gnome-shell-extensions |
6857 | (package | |
6858 | (name "gnome-shell-extensions") | |
100f625b | 6859 | (version "3.28.1") |
32ac717c DT |
6860 | (source (origin |
6861 | (method url-fetch) | |
6862 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6863 | (version-major+minor version) "/" | |
6864 | name "-" version ".tar.xz")) | |
6865 | (sha256 | |
6866 | (base32 | |
100f625b RW |
6867 | "0n4h8rdnq3knrvlg6inrl62a73h20dbhfgniwy18572jicrh5ip9")))) |
6868 | (build-system meson-build-system) | |
32ac717c | 6869 | (arguments |
100f625b | 6870 | '(#:configure-flags '("-Dextension_set=all"))) |
32ac717c DT |
6871 | (native-inputs |
6872 | `(("intltool" ,intltool) | |
6873 | ("pkg-config" ,pkg-config))) | |
6874 | (propagated-inputs | |
6875 | `(("glib" ,glib) | |
6876 | ("glib" ,glib "bin"))) | |
6877 | (synopsis "Extensions for GNOME Shell") | |
6878 | (description "GNOME Shell extensions modify and extend GNOME Shell | |
6879 | functionality and behavior.") | |
6880 | (home-page "https://extensions.gnome.org/") | |
6881 | (license license:gpl3+))) | |
6882 | ||
813f814a DT |
6883 | (define-public arc-theme |
6884 | (package | |
6885 | (name "arc-theme") | |
a18f8eaf | 6886 | (version "20181022") |
813f814a | 6887 | (source (origin |
a18f8eaf BH |
6888 | (method git-fetch) |
6889 | (uri (git-reference | |
6890 | (url "https://github.com/NicoHood/arc-theme.git") | |
6891 | (commit version))) | |
6892 | (file-name (git-file-name name version)) | |
813f814a DT |
6893 | (sha256 |
6894 | (base32 | |
a18f8eaf | 6895 | "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663")))) |
813f814a | 6896 | (build-system gnu-build-system) |
d88884fa EF |
6897 | (arguments |
6898 | '(#:phases | |
6899 | (modify-phases %standard-phases | |
6900 | ;; autogen.sh calls configure at the end of the script. | |
6901 | (replace 'bootstrap | |
6902 | (lambda _ (invoke "autoreconf" "-vfi")))))) | |
813f814a DT |
6903 | (native-inputs |
6904 | `(("autoconf" ,autoconf) | |
6905 | ("automake" ,automake) | |
a18f8eaf BH |
6906 | ("glib" ,glib "bin") ; for glib-compile-resources |
6907 | ("gnome-shell" ,gnome-shell) | |
6908 | ("gtk+" ,gtk+) | |
6909 | ("inkscape" ,inkscape) | |
6910 | ("optipng" ,optipng) | |
6911 | ("pkg-config" ,pkg-config) | |
6912 | ("sassc" ,sassc))) | |
813f814a DT |
6913 | (synopsis "A flat GTK+ theme with transparent elements") |
6914 | (description "Arc is a flat theme with transparent elements for GTK 3, GTK | |
6915 | 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments | |
6916 | like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.") | |
6917 | (home-page "https://github.com/horst3180/arc-theme") | |
6918 | ;; No "or later" language found. | |
a18f8eaf | 6919 | (license license:gpl3+))) |
9987c57c | 6920 | |
d935e6a1 | 6921 | (define-public faba-icon-theme |
9987c57c | 6922 | (package |
d935e6a1 | 6923 | (name "faba-icon-theme") |
2eee7ee3 | 6924 | (version "4.3") |
d935e6a1 BT |
6925 | (source |
6926 | (origin | |
6927 | (method url-fetch) | |
6928 | (uri (string-append "https://github.com/moka-project/" | |
6929 | name "/archive/v" version ".tar.gz")) | |
6930 | (file-name (string-append name "-" version ".tar.gz")) | |
6931 | (sha256 | |
6932 | (base32 | |
2eee7ee3 | 6933 | "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68")))) |
f6a9b345 | 6934 | (build-system meson-build-system) |
9987c57c | 6935 | (arguments |
82da291a | 6936 | `(#:phases |
9987c57c | 6937 | (modify-phases %standard-phases |
82da291a | 6938 | (add-before 'configure 'disable-post-install |
9987c57c | 6939 | (lambda _ |
82da291a JL |
6940 | (substitute* "meson.build" |
6941 | (("meson.add_install_script.*") ""))))))) | |
9987c57c DT |
6942 | (native-inputs |
6943 | `(("autoconf" ,autoconf) | |
6944 | ("automake" ,automake))) | |
d935e6a1 BT |
6945 | (synopsis "Faba icon theme") |
6946 | (description | |
6947 | "Faba is a minimal icon set used as a basis for other themes such as | |
6948 | Moka") | |
6949 | (home-page "https://snwh.org/moka") | |
6950 | (license (list license:lgpl3+ | |
6951 | license:cc-by-sa4.0)))) | |
6952 | ||
9987c57c DT |
6953 | (define-public moka-icon-theme |
6954 | (package | |
8b0e4177 | 6955 | (inherit faba-icon-theme) |
9987c57c | 6956 | (name "moka-icon-theme") |
105a3625 | 6957 | (version "5.4.0") |
9987c57c DT |
6958 | (source (origin |
6959 | (method url-fetch) | |
6960 | (uri (string-append "https://github.com/moka-project" | |
6961 | "/moka-icon-theme/archive/v" | |
6962 | version ".tar.gz")) | |
6963 | (file-name (string-append name "-" version ".tar.gz")) | |
6964 | (sha256 | |
6965 | (base32 | |
105a3625 | 6966 | "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk")))) |
550281fb BT |
6967 | (propagated-inputs |
6968 | ;; Moka is based on Faba by using it as a fallback icon set instead of | |
6969 | ;; bundling it, so we need to add it as a propagated input. | |
6970 | `(("faba-icon-theme" ,faba-icon-theme))) | |
9987c57c DT |
6971 | (synopsis "Moka icon theme") |
6972 | (description "Moka is a stylized desktop icon set, designed to be clear, | |
6973 | simple and consistent.") | |
fedde43b BT |
6974 | (license (list license:gpl3+ |
6975 | license:cc-by-sa4.0)))) | |
6fd8f8d6 DT |
6976 | |
6977 | (define-public arc-icon-theme | |
6978 | (package | |
6979 | (name "arc-icon-theme") | |
c4180240 | 6980 | (version "20161122") |
6fd8f8d6 DT |
6981 | (source (origin |
6982 | (method url-fetch) | |
6983 | (uri (string-append "https://github.com/horst3180/arc-icon-theme" | |
6984 | "/archive/" version ".tar.gz")) | |
6985 | (file-name (string-append name "-" version ".tar.gz")) | |
6986 | (sha256 | |
6987 | (base32 | |
c4180240 | 6988 | "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b")))) |
6fd8f8d6 | 6989 | (build-system gnu-build-system) |
9e1ede95 JL |
6990 | (arguments |
6991 | `(#:phases | |
6992 | (modify-phases %standard-phases | |
6993 | (add-after 'unpack 'disable-configure-during-bootstrap | |
6994 | (lambda _ | |
6995 | (substitute* "autogen.sh" | |
6996 | (("^\"\\$srcdir/configure\".*") "")) | |
6997 | #t))))) | |
6fd8f8d6 DT |
6998 | (native-inputs |
6999 | `(("autoconf" ,autoconf) | |
7000 | ("automake" ,automake))) | |
7001 | ;; When Arc is missing an icon, it looks in the Moka icon theme for it. | |
7002 | (propagated-inputs | |
7003 | `(("moka-icon-theme" ,moka-icon-theme))) | |
7004 | (synopsis "Arc icon theme") | |
7005 | (description "The Arc icon theme provides a set of icons matching the | |
7006 | style of the Arc GTK theme. Icons missing from the Arc theme are provided by | |
7007 | the Moka icon theme.") | |
7008 | (home-page "https://github.com/horst3180/arc-icon-theme") | |
7009 | (license license:gpl3+))) | |
6064a4e8 LF |
7010 | |
7011 | (define-public folks | |
7012 | (package | |
7013 | (name "folks") | |
d23495fa | 7014 | (version "0.11.4") |
6064a4e8 LF |
7015 | (source (origin |
7016 | (method url-fetch) | |
7017 | (uri (string-append | |
e5f4796e | 7018 | "mirror://gnome/sources/folks/" |
6064a4e8 | 7019 | (version-major+minor version) "/" |
e5f4796e | 7020 | "folks-" version ".tar.xz")) |
6064a4e8 LF |
7021 | (sha256 |
7022 | (base32 | |
d23495fa | 7023 | "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57")))) |
6064a4e8 LF |
7024 | (build-system glib-or-gtk-build-system) |
7025 | (inputs | |
7026 | `(("bdb" ,bdb) | |
7027 | ("dbus-glib" ,dbus-glib) | |
7028 | ("evolution-data-server" ,evolution-data-server) | |
7029 | ("glib" ,glib) | |
7030 | ("libgee" ,libgee) | |
7031 | ("telepathy-glib" ,telepathy-glib))) | |
7032 | (native-inputs | |
7033 | `(("gobject-introspection" ,gobject-introspection) | |
7034 | ("intltool" ,intltool) | |
7035 | ("pkg-config" ,pkg-config) | |
7036 | ("vala" ,vala))) | |
7037 | (synopsis "Library to aggregate data about people") | |
7038 | (description "Libfolks is a library that aggregates information about people | |
7039 | from multiple sources (e.g., Telepathy connection managers for IM contacts, | |
7040 | Evolution Data Server for local contacts, libsocialweb for web service contacts, | |
7041 | etc.) to create metacontacts. It's written in Vala, which generates C code when | |
7042 | compiled.") | |
7043 | (home-page "https://wiki.gnome.org/Projects/Folks") | |
7044 | (license license:lgpl2.1+))) | |
01ea778f LF |
7045 | |
7046 | (define-public gfbgraph | |
7047 | (package | |
7048 | (name "gfbgraph") | |
7049 | (version "0.2.3") | |
7050 | (source (origin | |
7051 | (method url-fetch) | |
7052 | (uri (string-append | |
7053 | "mirror://gnome/sources/" name "/" | |
7054 | (version-major+minor version) "/" | |
7055 | name "-" version ".tar.xz")) | |
7056 | (sha256 | |
7057 | (base32 | |
7058 | "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs")))) | |
7059 | (build-system glib-or-gtk-build-system) | |
7060 | (arguments | |
7061 | `(#:tests? #f ; Tests appear to require the network. | |
7062 | ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input. | |
7063 | #:configure-flags '("--disable-gtk-doc" | |
7064 | "--disable-static" | |
7065 | "--enable-introspection"))) | |
7066 | (native-inputs | |
7067 | `(("pkg-config" ,pkg-config) | |
7068 | ("gobject-introspection" ,gobject-introspection))) | |
7069 | (inputs | |
7070 | `(("json-glib" ,json-glib) | |
14c297fd | 7071 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
01ea778f LF |
7072 | ("rest" ,rest))) |
7073 | (synopsis "GLib/GObject wrapper for the Facebook API") | |
7074 | (description "This library allows you to use the Facebook API from | |
7075 | GLib/GObject code.") | |
7076 | (home-page "https://wiki.gnome.org/Projects/GFBGraph") | |
7077 | (license license:lgpl2.1+))) | |
3920868c | 7078 | |
7079 | (define-public libgnomekbd | |
7080 | (package | |
7081 | (name "libgnomekbd") | |
4a3f6e02 | 7082 | (version "3.26.0") |
3920868c | 7083 | (source (origin |
7084 | (method url-fetch) | |
7085 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7086 | (version-major+minor version) "/" | |
7087 | name "-" version ".tar.xz")) | |
7088 | (sha256 | |
7089 | (base32 | |
4a3f6e02 | 7090 | "0xc8jrc44x2h24v28wv36k70k7bwxy6p2vsvxvvia1n3ay642fza")))) |
3920868c | 7091 | (build-system gnu-build-system) |
7092 | (native-inputs | |
7093 | `(("pkg-config" ,pkg-config) | |
7094 | ("glib" ,glib "bin") | |
7095 | ("intltool" ,intltool))) | |
7096 | (propagated-inputs | |
7097 | ;; Referred to in .h files and .pc. | |
7098 | `(("glib" ,glib) | |
7099 | ("gtk+" ,gtk+) | |
7100 | ("libxklavier" ,libxklavier))) | |
7101 | (home-page "https://www.gnome.org") | |
7102 | (synopsis "GNOME keyboard configuration library") | |
7103 | (description | |
7104 | "Libgnomekbd is a keyboard configuration library for the GNOME desktop | |
7105 | environment, which can notably display keyboard layouts.") | |
7106 | (license license:lgpl2.0+))) | |
85327d0d | 7107 | |
7108 | ;;; This package is no longer maintained: | |
7109 | ;;; https://wiki.gnome.org/Attic/LibUnique | |
7110 | ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged. | |
7111 | ;;; Applications should use the GtkApplication class provided by GTK+ 3.0." | |
7112 | (define-public libunique | |
7113 | (package | |
7114 | (name "libunique") | |
7115 | (version "3.0.2") | |
7116 | (source (origin | |
7117 | (method url-fetch) | |
7118 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7119 | (version-major+minor version) "/" | |
7120 | name "-" version ".tar.xz")) | |
7121 | (sha256 | |
7122 | (base32 | |
7123 | "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58")))) | |
7124 | (build-system glib-or-gtk-build-system) | |
7125 | (arguments | |
7126 | `(#:configure-flags '("--disable-static" | |
7127 | "--disable-dbus" ; use gdbus | |
7128 | "--enable-introspection"))) | |
7129 | (native-inputs | |
7130 | `(("pkg-config" ,pkg-config) | |
7131 | ("gobject-introspection" ,gobject-introspection) | |
7132 | ("glib:bin" ,glib "bin") | |
7133 | ("gtk-doc" ,gtk-doc))) | |
7134 | (propagated-inputs | |
7135 | ;; Referred to in .h files and .pc. | |
7136 | `(("gtk+" ,gtk+))) | |
7137 | (home-page "https://wiki.gnome.org/Attic/LibUnique") | |
7138 | (synopsis "Library for writing single instance applications") | |
7139 | (description | |
7140 | "Libunique is a library for writing single instance applications. If you | |
7141 | launch a single instance application twice, the second instance will either just | |
7142 | quit or will send a message to the running instance. Libunique makes it easy to | |
7143 | write this kind of application, by providing a base class, taking care of all | |
7144 | the IPC machinery needed to send messages to a running instance, and also | |
7145 | handling the startup notification side.") | |
7146 | (license license:lgpl2.1+))) | |
54021cd8 RS |
7147 | |
7148 | (define-public gnome-calculator | |
7149 | (package | |
7150 | (name "gnome-calculator") | |
112e9083 | 7151 | (version "3.28.2") |
54021cd8 RS |
7152 | (source |
7153 | (origin | |
7154 | (method url-fetch) | |
7155 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7156 | (version-major+minor version) "/" | |
7157 | name "-" version ".tar.xz")) | |
7158 | (sha256 | |
7159 | (base32 | |
112e9083 | 7160 | "0izsrqc9fm2lh25jr3nzi94p5hh2d3cklxqczbq16by85wr1xm5s")))) |
54021cd8 RS |
7161 | (build-system glib-or-gtk-build-system) |
7162 | (native-inputs | |
7163 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. | |
7164 | ("intltool" ,intltool) | |
7165 | ("itstool" ,itstool) | |
7166 | ("pkg-config" ,pkg-config))) | |
7167 | (inputs | |
112e9083 RW |
7168 | `(("glib" ,glib) |
7169 | ("gtksourceview" ,gtksourceview-3) | |
54021cd8 | 7170 | ("libsoup" ,libsoup) |
112e9083 | 7171 | ("libxml2" ,libxml2) |
2c2da7ec | 7172 | ("mpc" ,mpc) |
54021cd8 RS |
7173 | ("mpfr" ,mpfr))) |
7174 | (home-page "https://wiki.gnome.org/Apps/Calculator") | |
7175 | (synopsis "Desktop calculator") | |
7176 | (description | |
7177 | "Calculator is an application that solves mathematical equations and | |
7178 | is suitable as a default application in a Desktop environment.") | |
7179 | (license license:gpl3))) | |
0bd69759 RS |
7180 | |
7181 | (define-public xpad | |
7182 | (package | |
7183 | (name "xpad") | |
c85626bb | 7184 | (version "5.1.0") |
0bd69759 RS |
7185 | (source |
7186 | (origin | |
7187 | (method url-fetch) | |
08fda9c6 R |
7188 | (uri (string-append "https://launchpad.net/xpad/trunk/" |
7189 | version "/+download/" | |
0bd69759 RS |
7190 | name "-" version ".tar.bz2")) |
7191 | (sha256 | |
7192 | (base32 | |
c85626bb | 7193 | "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3")))) |
0bd69759 RS |
7194 | (build-system gnu-build-system) |
7195 | (native-inputs | |
08fda9c6 R |
7196 | `(("autoconf" ,autoconf) |
7197 | ("automake" ,automake) | |
7198 | ("gtk+:bin" ,gtk+ "bin") | |
7199 | ("intltool" ,intltool) | |
0bd69759 RS |
7200 | ("pkg-config" ,pkg-config))) |
7201 | (inputs | |
08fda9c6 | 7202 | `(("gtksourceview" ,gtksourceview) |
0bd69759 RS |
7203 | ("libsm" ,libsm))) |
7204 | (home-page "https://wiki.gnome.org/Apps/Xpad") | |
7205 | (synopsis "Virtual sticky note") | |
7206 | (description | |
7207 | "Xpad is a sticky note that strives to be simple, fault tolerant, | |
7208 | and customizable. Xpad consists of independent pad windows, each is | |
7209 | basically a text box in which notes can be written.") | |
7210 | (license license:gpl3+))) | |
3ad7dce1 RS |
7211 | |
7212 | (define-public gucharmap | |
c60063ea RW |
7213 | (let ((unicode-files |
7214 | '(("Blocks.txt" | |
7215 | "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas") | |
7216 | ("DerivedAge.txt" | |
7217 | "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h") | |
7218 | ("NamesList.txt" | |
7219 | "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1") | |
7220 | ("Scripts.txt" | |
7221 | "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh") | |
7222 | ("UnicodeData.txt" | |
7223 | "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj") | |
7224 | ("Unihan.zip" | |
7225 | "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1")))) | |
7226 | (package | |
7227 | (name "gucharmap") | |
7228 | (version "10.0.4") | |
7229 | (source | |
7230 | (origin | |
7231 | (method url-fetch) | |
7232 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7233 | (version-major+minor version) "/" | |
7234 | name "-" version ".tar.xz")) | |
7235 | (sha256 | |
7236 | (base32 | |
7237 | "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv")))) | |
7238 | (build-system glib-or-gtk-build-system) | |
7239 | (arguments | |
7240 | `(#:modules ((ice-9 match) | |
7241 | (guix build glib-or-gtk-build-system) | |
7242 | (guix build utils)) | |
7243 | #:configure-flags | |
7244 | (list "--with-unicode-data=../unicode-data") | |
7245 | #:phases | |
7246 | (modify-phases %standard-phases | |
7247 | (add-after 'unpack 'prepare-unicode-data | |
7248 | (lambda* (#:key inputs #:allow-other-keys) | |
7249 | (mkdir-p "../unicode-data") | |
7250 | (with-directory-excursion "../unicode-data" | |
7251 | (for-each (match-lambda | |
7252 | ((file _) | |
7253 | (install-file (assoc-ref inputs file) "."))) | |
7254 | ',unicode-files)) | |
7255 | #t))))) | |
7256 | (native-inputs | |
7257 | `(("desktop-file-utils" ,desktop-file-utils) | |
7258 | ("glib:bin" ,glib "bin") ; for glib-compile-resources. | |
7259 | ("gobject-introspection" ,gobject-introspection) | |
7260 | ("intltool" ,intltool) | |
7261 | ("itstool" ,itstool) | |
7262 | ("pkg-config" ,pkg-config) | |
7263 | ,@(map (match-lambda | |
7264 | ((file hash) | |
7265 | `(,file | |
7266 | ,(origin | |
7267 | (method url-fetch) | |
7268 | (uri (string-append | |
7269 | "http://www.unicode.org/Public/10.0.0/ucd/" | |
7270 | file)) | |
7271 | (sha256 (base32 hash)))))) | |
7272 | unicode-files) | |
7273 | ("unzip" ,unzip))) | |
7274 | (inputs | |
7275 | `(("gtk+" ,gtk+) | |
7276 | ("xmllint" ,libxml2))) | |
7277 | (home-page "https://wiki.gnome.org/Apps/Gucharmap") | |
7278 | (synopsis "Unicode character picker and font browser") | |
7279 | (description | |
7280 | "This program allows you to browse through all the available Unicode | |
3ad7dce1 RS |
7281 | characters and categories for the installed fonts, and to examine their |
7282 | detailed properties. It is an easy way to find the character you might | |
7283 | only know by its Unicode name or code point.") | |
c60063ea | 7284 | (license license:gpl3+)))) |
04ce840a RS |
7285 | |
7286 | (define-public bluefish | |
7287 | (package | |
7288 | (name "bluefish") | |
ea8afaf3 | 7289 | (version "2.2.10") |
04ce840a RS |
7290 | (source |
7291 | (origin | |
7292 | (method url-fetch) | |
7293 | (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/" | |
7294 | name "-" version ".tar.gz")) | |
7295 | (sha256 | |
7296 | (base32 | |
ea8afaf3 | 7297 | "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4")))) |
04ce840a RS |
7298 | (build-system gnu-build-system) |
7299 | (native-inputs | |
7300 | `(("desktop-file-utils" ,desktop-file-utils) | |
7301 | ("intltool" ,intltool) | |
7302 | ("pkg-config" ,pkg-config))) | |
7303 | (inputs | |
7304 | `(("enchant" ,enchant) | |
7305 | ("gtk+" ,gtk+) | |
7306 | ("python" ,python-2) | |
7307 | ("xmllint" ,libxml2) | |
7308 | ("gucharmap" ,gucharmap))) | |
7309 | (home-page "http://bluefish.openoffice.nl") | |
7310 | (synopsis "Web development studio") | |
7311 | (description | |
7312 | "Bluefish is an editor targeted towards programmers and web developers, | |
7313 | with many options to write web sites, scripts and other code. | |
7314 | Bluefish supports many programming and markup languages.") | |
7315 | (license license:gpl3+))) | |
1f6a73ee RS |
7316 | |
7317 | (define-public gnome-system-monitor | |
7318 | (package | |
7319 | (name "gnome-system-monitor") | |
4985d9aa | 7320 | (version "3.28.2") |
1f6a73ee RS |
7321 | (source |
7322 | (origin | |
7323 | (method url-fetch) | |
7324 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7325 | (version-major+minor version) "/" | |
7326 | name "-" version ".tar.xz")) | |
7327 | (sha256 | |
7328 | (base32 | |
4985d9aa | 7329 | "164in885dyfvna5yjzgdyrbrsskvh5wzxdmkjgb4mbh54lzqd1zb")))) |
1f6a73ee RS |
7330 | (build-system glib-or-gtk-build-system) |
7331 | (native-inputs | |
7332 | `(("glib:bin" ,glib "bin") ; for glib-mkenums. | |
7333 | ("intltool" ,intltool) | |
7334 | ("itstool" ,itstool) | |
7335 | ("libgtop" ,libgtop) | |
4985d9aa | 7336 | ("polkit" ,polkit) |
1f6a73ee RS |
7337 | ("pkg-config" ,pkg-config))) |
7338 | (inputs | |
7339 | `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files. | |
7340 | ("gtk+" ,gtk+) | |
7341 | ("gtkmm" ,gtkmm) | |
7342 | ("librsvg" ,librsvg) | |
4985d9aa RW |
7343 | ("libxml2" ,libxml2) |
7344 | ("libwnck" ,libwnck))) | |
1f6a73ee RS |
7345 | (home-page "https://wiki.gnome.org/Apps/SystemMonitor") |
7346 | (synopsis "Process viewer and system resource monitor for GNOME") | |
7347 | (description | |
7348 | "GNOME System Monitor is a GNOME process viewer and system monitor with | |
7349 | an attractive, easy-to-use interface. It has features, such as a tree view | |
7350 | for process dependencies, icons for processes, the ability to hide processes, | |
7351 | graphical time histories of CPU/memory/swap usage and the ability to | |
7352 | kill/reinice processes.") | |
7353 | (license license:gpl2+))) | |
3e00ac47 SB |
7354 | |
7355 | (define-public python-pyatspi | |
7356 | (package | |
7357 | (name "python-pyatspi") | |
84548bd7 | 7358 | (version "2.26.0") |
3e00ac47 SB |
7359 | (source (origin |
7360 | (method url-fetch) | |
7361 | (uri (string-append | |
7362 | "mirror://gnome/sources/pyatspi/" | |
7363 | (version-major+minor version) | |
7364 | "/pyatspi-" version ".tar.xz")) | |
7365 | (sha256 | |
7366 | (base32 | |
84548bd7 | 7367 | "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6")))) |
3e00ac47 SB |
7368 | (build-system gnu-build-system) |
7369 | (native-inputs | |
7370 | `(("pkg-config" ,pkg-config))) | |
7371 | (inputs | |
7372 | `(("python" ,python) | |
7373 | ("python-pygobject" ,python-pygobject))) | |
7374 | (synopsis "Python client bindings for D-Bus AT-SPI") | |
7375 | (home-page "https://wiki.linuxfoundation.org/accessibility\ | |
7376 | /atk/at-spi/at-spi_on_d-bus") | |
7377 | (description | |
7378 | "This package includes a python client library for the AT-SPI D-Bus | |
7379 | accessibility infrastructure.") | |
7380 | (license license:lgpl2.0) | |
7381 | (properties '((upstream-name . "pyatspi"))))) | |
53201c0d SB |
7382 | |
7383 | (define-public orca | |
7384 | (package | |
7385 | (name "orca") | |
870a4e70 | 7386 | (version "3.28.1") |
53201c0d SB |
7387 | (source (origin |
7388 | (method url-fetch) | |
7389 | (uri (string-append | |
7390 | "mirror://gnome/sources/" name "/" | |
7391 | (version-major+minor version) "/" | |
7392 | name "-" version ".tar.xz")) | |
7393 | (sha256 | |
7394 | (base32 | |
870a4e70 | 7395 | "04l5ccn7wf175gyq3blfpx0yh70ny06n161297jwc9idf951852g")))) |
53201c0d SB |
7396 | (build-system glib-or-gtk-build-system) |
7397 | (arguments | |
7398 | '(#:phases | |
7399 | (modify-phases %standard-phases | |
7400 | (add-before 'configure 'qualify-xkbcomp | |
7401 | (lambda* (#:key inputs #:allow-other-keys) | |
7402 | (let ((xkbcomp (string-append | |
7403 | (assoc-ref inputs "xkbcomp") "/bin/xkbcomp"))) | |
7404 | (substitute* "src/orca/orca.py" | |
7405 | (("'xkbcomp'") (format #f "'~a'" xkbcomp)))) | |
7406 | #t)) | |
7407 | (add-after 'install 'wrap-orca | |
7408 | (lambda* (#:key outputs #:allow-other-keys) | |
7409 | (let* ((out (assoc-ref outputs "out")) | |
7410 | (prog (string-append out "/bin/orca"))) | |
7411 | (wrap-program prog | |
7412 | `("GI_TYPELIB_PATH" ":" prefix | |
7413 | (,(getenv "GI_TYPELIB_PATH"))) | |
7414 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix | |
7415 | (,(getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7416 | `("PYTHONPATH" ":" prefix | |
7417 | (,(getenv "PYTHONPATH"))))) | |
7418 | #t))))) | |
7419 | (native-inputs | |
7420 | `(("intltool" ,intltool) | |
7421 | ("itstool" ,itstool) | |
7422 | ("pkg-config" ,pkg-config) | |
7423 | ("xmllint" ,libxml2))) | |
7424 | (inputs | |
7425 | `(("at-spi2-atk" ,at-spi2-atk) | |
7426 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
7427 | ("gstreamer" ,gstreamer) | |
7428 | ("gst-plugins-base" ,gst-plugins-base) | |
7429 | ("gst-plugins-good" ,gst-plugins-good) | |
7430 | ("gtk+" ,gtk+) | |
7431 | ("python" ,python) | |
7432 | ("python-pygobject" ,python-pygobject) | |
7433 | ("python-pyatspi" ,python-pyatspi) | |
7434 | ("python-speechd" ,speech-dispatcher) | |
7435 | ("xkbcomp" ,xkbcomp))) | |
7436 | (synopsis | |
7437 | "Screen reader for individuals who are blind or visually impaired") | |
7438 | (home-page "https://wiki.gnome.org/Projects/Orca") | |
7439 | (description | |
7440 | "Orca is a screen reader that provides access to the graphical desktop | |
7441 | via speech and refreshable braille. Orca works with applications and toolkits | |
7442 | that support the Assistive Technology Service Provider Interface (AT-SPI).") | |
7443 | (license license:lgpl2.1+))) | |
411ba511 LC |
7444 | |
7445 | (define-public gspell | |
7446 | (package | |
7447 | (name "gspell") | |
9b1bb757 | 7448 | (version "1.8.1") |
411ba511 LC |
7449 | (source (origin |
7450 | (method url-fetch) | |
7451 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7452 | (version-major+minor version) "/" | |
7453 | name "-" version ".tar.xz")) | |
7454 | (sha256 | |
7455 | (base32 | |
9b1bb757 | 7456 | "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1")) |
411ba511 LC |
7457 | (patches (search-patches "gspell-dash-test.patch")))) |
7458 | (build-system glib-or-gtk-build-system) | |
7459 | (arguments | |
7460 | '(#:phases | |
7461 | (modify-phases %standard-phases | |
7462 | (add-before 'check 'pre-check | |
7463 | (lambda* (#:key inputs #:allow-other-keys) | |
7464 | ;; Tests require a running X server. | |
7465 | (system "Xvfb :1 &") | |
7466 | (setenv "DISPLAY" ":1") | |
7467 | ||
7468 | ;; For the missing /etc/machine-id. | |
7469 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
7470 | ||
7471 | ;; Allow Enchant and its Aspell backend to find the en_US | |
7472 | ;; dictionary. | |
7473 | (setenv "ASPELL_DICT_DIR" | |
7474 | (string-append (assoc-ref inputs "aspell-dict-en") | |
7475 | "/lib/aspell")) | |
7476 | #t))))) | |
7477 | (inputs | |
eccd35be | 7478 | `(("gtk+" ,gtk+) |
a801ae4c TGR |
7479 | ("glib" ,glib) |
7480 | ("iso-codes" ,iso-codes))) | |
411ba511 LC |
7481 | (native-inputs |
7482 | `(("glib" ,glib "bin") | |
7483 | ("pkg-config" ,pkg-config) | |
7484 | ("xmllint" ,libxml2) | |
7485 | ||
7486 | ;; For tests. | |
a801ae4c TGR |
7487 | ("aspell-dict-en" ,aspell-dict-en) |
7488 | ("xorg-server" ,xorg-server))) | |
eccd35be | 7489 | (propagated-inputs |
9b1bb757 | 7490 | `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc |
411ba511 LC |
7491 | (home-page "https://wiki.gnome.org/Projects/gspell") |
7492 | (synopsis "GNOME's alternative spell checker") | |
7493 | (description | |
7494 | "gspell provides a flexible API to add spell-checking to a GTK+ | |
7495 | application. It provides a GObject API, spell-checking to text entries and | |
7496 | text views, and buttons to choose the language.") | |
7497 | (license license:gpl2+))) | |
d1d739fa CM |
7498 | |
7499 | (define-public gnome-planner | |
7500 | (package | |
7501 | (name "gnome-planner") | |
7502 | (version "0.14.6") | |
7503 | (source (origin | |
7504 | (method url-fetch) | |
7505 | (uri (string-append "mirror://gnome/sources/planner/" | |
7506 | (version-major+minor version) "/planner-" | |
7507 | version ".tar.xz")) | |
7508 | (sha256 | |
7509 | (base32 | |
7510 | "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k")))) | |
7511 | (build-system glib-or-gtk-build-system) | |
7512 | (arguments | |
7513 | ;; Disable the Python bindings because the Planner program functions | |
7514 | ;; without them, and (as of 2017-06-13) we have not packaged all of | |
7515 | ;; packages that are necessary for building the Python bindings. | |
20b7b75c EF |
7516 | `(#:configure-flags |
7517 | (list "--disable-python" | |
7518 | ,@(if (string=? "aarch64-linux" (%current-system)) | |
7519 | '("--build=aarch64-unknown-linux-gnu") | |
7520 | '())))) | |
d1d739fa CM |
7521 | (inputs |
7522 | `(("libgnomecanvas" ,libgnomecanvas) | |
7523 | ("libgnomeui" ,libgnomeui) | |
7524 | ("libglade" ,libglade) | |
7525 | ("gnome-vfs" ,gnome-vfs) | |
7526 | ("gconf" ,gconf) | |
7527 | ("libxml2" ,libxml2) | |
7528 | ("libxslt" ,libxslt) | |
7529 | ("gtk+" ,gtk+) | |
7530 | ("glib" ,glib))) | |
7531 | (native-inputs | |
7532 | `(("intltool" ,intltool) | |
7533 | ("scrollkeeper" ,scrollkeeper) | |
7534 | ("pkg-config" ,pkg-config))) | |
7535 | (home-page "https://wiki.gnome.org/Apps/Planner") | |
7536 | (synopsis "Project management software for the GNOME desktop") | |
7537 | (description | |
7538 | "GNOME Planner is a project management tool based on the Work Breakdown | |
7539 | Structure (WBS). Its goal is to enable you to easily plan projects. Based on | |
7540 | the resources, tasks, and constraints that you define, Planner generates | |
7541 | various views into a project. For example, Planner can show a Gantt chart of | |
7542 | the project. It can show a detailed summary of tasks including their | |
7543 | duration, cost, and current progress. It can also show a report of resource | |
7544 | utilization that highlights under-utilized and over-utilized resources. These | |
7545 | views can be printed as PDF or PostScript files, or exported to HTML.") | |
4b926cb6 | 7546 | (license license:gpl2+))) |
64fce637 RS |
7547 | |
7548 | (define-public lollypop | |
7549 | (package | |
7550 | (name "lollypop") | |
b98eace8 | 7551 | (version "0.9.521") |
64fce637 RS |
7552 | (source |
7553 | (origin | |
7554 | (method url-fetch) | |
b98eace8 CB |
7555 | (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/" |
7556 | "e4df2ed75c5ed71d64afcc668e579b2a/" | |
64fce637 RS |
7557 | name "-" version ".tar.xz")) |
7558 | (sha256 | |
7559 | (base32 | |
b98eace8 | 7560 | "0knsqh24siyw98vmiq6b1hzq4y4cazs9f1hq1js9c96hqqj9rvdx")))) |
aa498fc0 | 7561 | (build-system meson-build-system) |
64fce637 RS |
7562 | (arguments |
7563 | `(#:imported-modules ((guix build python-build-system) | |
aa498fc0 TD |
7564 | ,@%meson-build-system-modules) |
7565 | #:glib-or-gtk? #t | |
5fc9b6c1 EF |
7566 | #:tests? #f ; no test suite |
7567 | #:phases | |
7568 | (modify-phases %standard-phases | |
5fc9b6c1 EF |
7569 | (add-after 'install 'wrap-program |
7570 | (lambda* (#:key outputs #:allow-other-keys) | |
7571 | (let ((out (assoc-ref outputs "out")) | |
7572 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
7573 | (wrap-program (string-append out "/bin/lollypop") | |
7574 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
7575 | #t)) | |
7576 | (add-after 'install 'wrap | |
7577 | (@@ (guix build python-build-system) wrap))))) | |
64fce637 RS |
7578 | (native-inputs |
7579 | `(("intltool" ,intltool) | |
7580 | ("itstool" ,itstool) | |
aa498fc0 TD |
7581 | ("glib:bin" ,glib "bin") ; For glib-compile-resources |
7582 | ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
64fce637 RS |
7583 | ("pkg-config" ,pkg-config))) |
7584 | (inputs | |
7585 | `(("gobject-introspection" ,gobject-introspection) | |
5fc9b6c1 | 7586 | ("gst-plugins-base" ,gst-plugins-base) |
64fce637 RS |
7587 | ("libnotify" ,libnotify) |
7588 | ("libsecret" ,libsecret) | |
7589 | ("libsoup" ,libsoup) | |
7590 | ("python" ,python) | |
7591 | ("python-beautifulsoup4" ,python-beautifulsoup4) | |
7592 | ("python-gst" ,python-gst) | |
7593 | ("python-pycairo" ,python-pycairo) | |
7594 | ("python-pygobject" ,python-pygobject) | |
7595 | ("python-pylast" ,python-pylast) | |
7596 | ("totem-pl-parser" ,totem-pl-parser) | |
7597 | ("webkitgtk" ,webkitgtk))) | |
7598 | (propagated-inputs | |
7599 | `(;; gst-plugins-base is required to start Lollypop, | |
7600 | ;; the others are required to play streaming. | |
64fce637 RS |
7601 | ("gst-plugins-good" ,gst-plugins-good) |
7602 | ("gst-plugins-ugly" ,gst-plugins-ugly))) | |
b98eace8 | 7603 | (home-page "https://wiki.gnome.org/Apps/Lollypop") |
64fce637 RS |
7604 | (synopsis "GNOME music playing application") |
7605 | (description | |
7606 | "Lollypop is a music player designed to play well with GNOME desktop. | |
7607 | Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information | |
7608 | from artists and tracks from the web. It also fetches cover artworks | |
7609 | automatically and it can stream songs from online music services and charts.") | |
7610 | (license license:gpl3+))) | |
d831d49d AW |
7611 | |
7612 | (define-public gnome-video-effects | |
7613 | (package | |
7614 | (name "gnome-video-effects") | |
7615 | (version "0.4.3") | |
7616 | (source (origin | |
7617 | (method url-fetch) | |
7618 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7619 | (version-major+minor version) "/" name "-" | |
7620 | version ".tar.xz")) | |
7621 | (sha256 | |
7622 | (base32 | |
7623 | "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs")))) | |
7624 | (build-system glib-or-gtk-build-system) | |
7625 | (arguments | |
7626 | `(#:out-of-source? #f)) | |
7627 | (native-inputs | |
7628 | `(("glib:bin" ,glib "bin") | |
7629 | ("intltool" ,intltool) | |
7630 | ("gettext" ,gettext-minimal) | |
7631 | ("pkg-config" ,pkg-config))) | |
7632 | (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects") | |
7633 | (synopsis "Video effects for Cheese and other GNOME applications") | |
7634 | (description | |
7635 | "A collection of GStreamer video filters and effects to be used in | |
7636 | photo-booth-like software, such as Cheese.") | |
7637 | (license license:gpl2+))) | |
3511c780 AW |
7638 | |
7639 | (define-public cheese | |
7640 | (package | |
7641 | (name "cheese") | |
4b3480d6 | 7642 | (version "3.28.0") |
3511c780 AW |
7643 | (source (origin |
7644 | (method url-fetch) | |
7645 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7646 | (version-major+minor version) "/" name "-" | |
7647 | version ".tar.xz")) | |
7648 | (sha256 | |
7649 | (base32 | |
4b3480d6 | 7650 | "06da5qc5hdvwwd5vkbgbx8pjx1l3mvr07yrnnv3v1hfc3wp7l7jw")))) |
3511c780 AW |
7651 | (arguments |
7652 | ;; Tests require GDK. | |
7653 | `(#:tests? #f | |
7654 | #:phases | |
7655 | (modify-phases %standard-phases | |
7656 | (add-before 'install 'skip-gtk-update-icon-cache | |
7657 | (lambda _ | |
7658 | ;; Don't create 'icon-theme.cache' | |
7659 | (substitute* "Makefile" | |
7660 | (("gtk-update-icon-cache") (which "true"))) | |
7661 | #t)) | |
7662 | (add-after 'install 'wrap-cheese | |
7663 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
7664 | (let ((out (assoc-ref outputs "out")) | |
7665 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7666 | (wrap-program (string-append out "/bin/cheese") | |
7667 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
7668 | #t))))) | |
7669 | (build-system glib-or-gtk-build-system) | |
7670 | (native-inputs | |
7671 | `(("glib:bin" ,glib "bin") | |
7672 | ("intltool" ,intltool) | |
7673 | ("itstool" ,itstool) | |
7674 | ("libxml2" ,libxml2) | |
7675 | ("pkg-config" ,pkg-config) | |
7676 | ("vala" ,vala))) | |
7677 | (propagated-inputs | |
6a19f03e RW |
7678 | `(("gnome-video-effects" ,gnome-video-effects) |
7679 | ("clutter" ,clutter) | |
3511c780 AW |
7680 | ("clutter-gst" ,clutter-gst) |
7681 | ("clutter-gtk" ,clutter-gtk) | |
6a19f03e | 7682 | ("libcanberra" ,libcanberra) |
3511c780 AW |
7683 | ("gdk-pixbuf" ,gdk-pixbuf) |
7684 | ("glib" ,glib) | |
6a19f03e RW |
7685 | ("gstreamer" ,gstreamer))) |
7686 | (inputs | |
7687 | `(("gnome-desktop" ,gnome-desktop) | |
3511c780 | 7688 | ("gobject-introspection" ,gobject-introspection) |
3511c780 AW |
7689 | ("gst-plugins-base" ,gst-plugins-base) |
7690 | ("gst-plugins-bad" ,gst-plugins-bad) | |
7691 | ("gtk+" ,gtk+) | |
3511c780 AW |
7692 | ("libx11" ,libx11) |
7693 | ("libxtst" ,libxtst))) | |
7694 | (home-page "https://wiki.gnome.org/Apps/Cheese") | |
7695 | (synopsis "Webcam photo booth software for GNOME") | |
7696 | (description | |
7697 | "Cheese uses your webcam to take photos and videos. Cheese can also | |
7698 | apply fancy special effects and lets you share the fun with others.") | |
7699 | (license license:gpl2+))) | |
3c5dbd2b | 7700 | |
7701 | (define-public sound-juicer | |
7702 | (package | |
7703 | (name "sound-juicer") | |
7704 | (version "3.24.0") | |
7705 | (source | |
7706 | (origin | |
7707 | (method url-fetch) | |
7708 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7709 | (version-major+minor version) "/" | |
7710 | name "-" version ".tar.xz")) | |
7711 | (sha256 | |
7712 | (base32 | |
7713 | "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny")))) | |
7714 | (build-system glib-or-gtk-build-system) | |
7715 | (native-inputs | |
7716 | `(("desktop-file-utils" ,desktop-file-utils) | |
7717 | ("intltool" ,intltool) | |
7718 | ("itstool" ,itstool) | |
7719 | ("pkg-config" ,pkg-config) | |
7720 | ("xmllint" ,libxml2))) | |
7721 | (inputs | |
7722 | `(("gtk+" ,gtk+) | |
7723 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
7724 | ("gstreamer" ,gstreamer) | |
7725 | ("gst-plugins-base" ,gst-plugins-base) | |
7726 | ("gst-plugins-good" ,gst-plugins-good) | |
7727 | ("iso-codes" ,iso-codes) | |
7728 | ("libbrasero-media3" ,brasero) | |
7729 | ("libcanberra" ,libcanberra) | |
7730 | ("libdiscid" ,libdiscid) | |
7731 | ("libmusicbrainz" ,libmusicbrainz) | |
7732 | ("neon" ,neon))) | |
7733 | (home-page "https://wiki.gnome.org/Apps/SoundJuicer") | |
7734 | (synopsis "Audio music cd ripper") | |
7735 | (description "Sound Juicer extracts audio from compact discs and convert it | |
7736 | into audio files that a personal computer or digital audio player can play. | |
7737 | It supports ripping to any audio codec supported by a GStreamer plugin, such as | |
7738 | mp3, Ogg Vorbis and FLAC") | |
7739 | (license license:gpl2+))) | |
4e3fdeb7 | 7740 | |
0d3f1708 CB |
7741 | (define-public soundconverter |
7742 | (package | |
7743 | (name "soundconverter") | |
fa75a213 | 7744 | (version "3.0.1") |
0d3f1708 CB |
7745 | (source |
7746 | (origin | |
7747 | (method url-fetch) | |
7748 | (uri (string-append "https://launchpad.net/soundconverter/trunk/" | |
7749 | version "/+download/" | |
7750 | "soundconverter-" version ".tar.xz")) | |
7751 | ||
7752 | (sha256 | |
fa75a213 | 7753 | (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5")) |
0d3f1708 CB |
7754 | (patches |
7755 | (search-patches | |
7756 | "soundconverter-remove-gconf-dependency.patch")))) | |
7757 | (build-system glib-or-gtk-build-system) | |
7758 | (arguments | |
7759 | `(#:imported-modules ((guix build python-build-system) | |
7760 | (guix build glib-or-gtk-build-system) | |
7761 | ,@%gnu-build-system-modules) | |
7762 | ||
7763 | #:modules ((guix build glib-or-gtk-build-system) | |
7764 | (guix build utils) | |
7765 | ((guix build gnu-build-system) #:prefix gnu:) | |
7766 | ((guix build python-build-system) #:prefix python:)) | |
7767 | ||
7768 | #:phases | |
7769 | (modify-phases %standard-phases | |
0d3f1708 CB |
7770 | (add-after 'install 'wrap-soundconverter-for-python |
7771 | (assoc-ref python:%standard-phases 'wrap)) | |
7772 | (add-after 'install 'wrap-soundconverter | |
7773 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
7774 | (let ((out (assoc-ref outputs "out")) | |
7775 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
7776 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7777 | (wrap-program (string-append out "/bin/soundconverter") | |
7778 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
7779 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
7780 | #t))))) | |
7781 | (native-inputs | |
7782 | `(("intltool" ,intltool) | |
7783 | ("pkg-config" ,pkg-config) | |
7784 | ("glib:bin" ,glib "bin"))) | |
7785 | (inputs | |
7786 | `(("gtk+" ,gtk+) | |
7787 | ("python" ,python) | |
7788 | ("python-pygobject" ,python-pygobject) | |
7789 | ("gstreamer" ,gstreamer) | |
7790 | ("gst-plugins-base" ,gst-plugins-base))) | |
7791 | (home-page "http://soundconverter.org/") | |
7792 | (synopsis "Convert between audio formats with a graphical interface") | |
7793 | (description | |
7794 | "SoundConverter supports converting between many audio formats including | |
7795 | Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and | |
7796 | configurable file renaming. ") | |
7797 | (license license:gpl3))) | |
7798 | ||
4e3fdeb7 | 7799 | (define-public workrave |
89f2d736 TGR |
7800 | (package |
7801 | (name "workrave") | |
c2e50474 | 7802 | (version "1.10.23") |
89f2d736 TGR |
7803 | (source |
7804 | (origin | |
7805 | (method git-fetch) | |
7806 | (uri (git-reference | |
7807 | (url "https://github.com/rcaelers/workrave.git") | |
c2e50474 TGR |
7808 | (commit (string-append "v" (string-map |
7809 | (match-lambda (#\. #\_) (chr chr)) | |
7810 | version))))) | |
89f2d736 TGR |
7811 | (file-name (git-file-name name version)) |
7812 | (sha256 | |
c2e50474 | 7813 | (base32 "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw")))) |
89f2d736 TGR |
7814 | (build-system glib-or-gtk-build-system) |
7815 | (propagated-inputs `(("glib" ,glib) | |
7816 | ("gtk+" ,gtk+) | |
7817 | ("gdk-pixbuf" ,gdk-pixbuf) | |
7818 | ("gtkmm" ,gtkmm) | |
7819 | ("glibmm" ,glibmm) | |
7820 | ("libx11" ,libx11) | |
7821 | ("libxtst" ,libxtst) | |
7822 | ("dconf" ,dconf) | |
7823 | ("libice" ,libice))) | |
7824 | (inputs `(("libsm" ,libsm) | |
7825 | ("python-cheetah" ,python2-cheetah))) | |
7826 | (native-inputs `(("glib" ,glib "bin") | |
7827 | ("pkg-config" ,pkg-config) | |
7828 | ("gettext" ,gnu-gettext) | |
7829 | ("autoconf" ,autoconf) | |
7830 | ("autoconf-archive" , autoconf-archive) | |
7831 | ("automake" ,automake) | |
7832 | ("libtool" ,libtool) | |
7833 | ("intltool" ,intltool) | |
7834 | ("libxscrnsaver" ,libxscrnsaver) | |
7835 | ("gobject-introspection" ,gobject-introspection) | |
7836 | ("python2" ,python-2))) | |
7837 | (synopsis "Tool to help prevent repetitive strain injury (RSI)") | |
7838 | (description | |
7839 | "Workrave is a program that assists in the recovery and prevention of | |
cc00249b TGR |
7840 | repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take |
7841 | micro-pauses and rest breaks, and restricts you to your daily limit.") | |
89f2d736 TGR |
7842 | (home-page "http://www.workrave.org") |
7843 | (license license:gpl3+))) | |
312afa7d LC |
7844 | |
7845 | (define-public ghex | |
7846 | (package | |
7847 | (name "ghex") | |
7848 | (version "3.18.3") | |
7849 | (source (origin | |
7850 | (method url-fetch) | |
2fbab848 | 7851 | (uri (string-append "mirror://gnome/sources/ghex/" |
312afa7d | 7852 | (version-major+minor version) "/" |
2fbab848 | 7853 | "ghex-" version ".tar.xz")) |
312afa7d LC |
7854 | (sha256 |
7855 | (base32 | |
7856 | "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66")))) | |
7857 | (build-system glib-or-gtk-build-system) | |
7858 | (native-inputs | |
7859 | `(("pkg-config" ,pkg-config) | |
7860 | ("gnome-common" ,gnome-common) | |
7861 | ("which" ,which) | |
7862 | ("intltool" ,intltool) | |
7863 | ("yelp-tools" ,yelp-tools) | |
2fbab848 | 7864 | ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate' |
312afa7d LC |
7865 | (inputs |
7866 | `(("atk" ,atk) | |
7867 | ("gtk" ,gtk+))) | |
7868 | (synopsis "GNOME hexadecimal editor") | |
7869 | (description "The GHex program can view and edit files in two ways: | |
7870 | hexadecimal or ASCII. It is useful for editing binary files in general.") | |
7871 | (home-page "https://wiki.gnome.org/Apps/Ghex") | |
7872 | (license license:gpl2))) | |
4b2ed6c2 RW |
7873 | |
7874 | (define-public libdazzle | |
7875 | (package | |
7876 | (name "libdazzle") | |
7877 | (version "3.28.5") | |
7878 | (source (origin | |
7879 | (method url-fetch) | |
687b4909 | 7880 | (uri (string-append "mirror://gnome/sources/libdazzle/" |
4b2ed6c2 | 7881 | (version-major+minor version) "/" |
687b4909 | 7882 | "libdazzle-" version ".tar.xz")) |
4b2ed6c2 RW |
7883 | (sha256 |
7884 | (base32 | |
7885 | "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg")))) | |
7886 | (build-system meson-build-system) | |
7887 | (arguments | |
7888 | `(#:phases | |
7889 | (modify-phases %standard-phases | |
7890 | (add-after 'unpack 'disable-failing-test | |
7891 | (lambda _ | |
7892 | ;; Disable failing test. | |
7893 | (substitute* "tests/meson.build" | |
7894 | (("test\\('test-application") "#")) | |
7895 | #t)) | |
7896 | (add-before 'check 'pre-check | |
7897 | (lambda _ | |
7898 | ;; Tests require a running X server. | |
7899 | (system "Xvfb :1 &") | |
7900 | (setenv "DISPLAY" ":1") | |
7901 | #t))))) | |
7902 | (native-inputs | |
687b4909 | 7903 | `(("glib" ,glib "bin") ; glib-compile-resources |
4b2ed6c2 | 7904 | ("pkg-config" ,pkg-config) |
687b4909 | 7905 | ;; For tests. |
4b2ed6c2 RW |
7906 | ("xorg-server" ,xorg-server))) |
7907 | (inputs | |
7908 | `(("glib" ,glib) | |
7909 | ("gobject-introspection" ,gobject-introspection) | |
7910 | ("gtk+" ,gtk+) | |
7911 | ("vala" ,vala))) | |
7912 | (home-page "https://gitlab.gnome.org/GNOME/libdazzle") | |
7913 | (synopsis "Companion library to GObject and Gtk+") | |
7914 | (description "The libdazzle library is a companion library to GObject and | |
7915 | Gtk+. It provides various features that the authors wish were in the | |
7916 | underlying library but cannot for various reasons. In most cases, they are | |
7917 | wildly out of scope for those libraries. In other cases, they are not quite | |
7918 | generic enough to work for everyone.") | |
7919 | (license license:gpl3+))) | |
7d3bb433 RW |
7920 | |
7921 | (define-public evolution | |
7922 | (package | |
7923 | (name "evolution") | |
7924 | (version "3.28.1") | |
7925 | (source (origin | |
7926 | (method url-fetch) | |
7927 | (uri (string-append "mirror://gnome/sources/evolution/" | |
7928 | (version-major+minor version) "/" | |
7929 | "evolution-" version ".tar.xz")) | |
7930 | (sha256 | |
7931 | (base32 | |
7932 | "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l")))) | |
7933 | (build-system cmake-build-system) | |
7934 | (arguments | |
7935 | `(#:configure-flags | |
7936 | (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged | |
7937 | "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release | |
7938 | ; in four years and cannot be built. | |
7939 | (native-inputs | |
7940 | `(("glib" ,glib "bin") ; glib-mkenums | |
7941 | ("pkg-config" ,pkg-config) | |
7942 | ("intltool" ,intltool) | |
7943 | ("itstool" ,itstool))) | |
7944 | (inputs | |
7945 | `(("enchant" ,enchant) | |
7946 | ("evolution-data-server" ,evolution-data-server) ; must be the same version | |
7947 | ("gcr" ,gcr) | |
7948 | ("gnome-autoar" ,gnome-autoar) | |
7949 | ("gnome-desktop" ,gnome-desktop) | |
7950 | ("gtkspell3" ,gtkspell3) | |
7951 | ("highlight" ,highlight) | |
7952 | ("libcanberra" ,libcanberra) | |
da43d1cb | 7953 | ("libedataserverui" ,evolution-data-server "libedataserverui") |
7d3bb433 RW |
7954 | ("libgweather" ,libgweather) |
7955 | ("libnotify" ,libnotify) | |
7956 | ("libsoup" ,libsoup) | |
7957 | ("nss" ,nss) | |
7958 | ("openldap" ,openldap) | |
7959 | ("webkitgtk" ,webkitgtk) | |
7960 | ("ytnef" ,ytnef))) | |
7961 | (home-page "https://gitlab.gnome.org/GNOME/evolution") | |
7962 | (synopsis "Manage your email, contacts and schedule") | |
7963 | (description "Evolution is a personal information management application | |
7964 | that provides integrated mail, calendaring and address book | |
7965 | functionality.") | |
7966 | ;; See COPYING for details. | |
23dbe621 | 7967 | (license (list license:lgpl2.1 license:lgpl3 ; either one of these |
7d3bb433 | 7968 | license:openldap2.8 ; addressbook/gui/component/openldap-extract.h |
23dbe621 | 7969 | license:lgpl2.1+)))) ; smime/lib/* |
169d63f5 AT |
7970 | |
7971 | (define-public gthumb | |
7972 | (package | |
7973 | (name "gthumb") | |
7974 | (version "3.8.0") | |
7975 | (source (origin | |
7976 | (method url-fetch) | |
7977 | (uri (string-append "mirror://gnome/sources/gthumb/" | |
7978 | (version-major+minor version) "/" | |
7979 | "gthumb-" version ".tar.xz")) | |
7980 | (sha256 | |
7981 | (base32 | |
7982 | "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f")))) | |
7983 | (build-system meson-build-system) | |
7984 | (arguments | |
7985 | `(#:glib-or-gtk? #t | |
7986 | #:configure-flags | |
7987 | ;; Ensure the RUNPATH contains all installed library locations. | |
7988 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
7989 | (assoc-ref %outputs "out") | |
7990 | "/lib/gthumb/extensions") | |
7991 | (string-append "-Dcpp_link_args=-Wl,-rpath=" | |
7992 | (assoc-ref %outputs "out") | |
7993 | "/lib/gthumb/extensions")))) | |
7994 | (native-inputs | |
7995 | `(("pkg-config" ,pkg-config) | |
7996 | ("glib:bin" ,glib "bin") ; for glib-compile-resources | |
7997 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
7998 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database | |
7999 | ("intltool" ,intltool) | |
8000 | ("itstool" ,itstool))) | |
8001 | (inputs | |
8002 | `(("exiv2" ,exiv2) | |
8003 | ("gtk" ,gtk+) | |
8004 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
8005 | ("gstreamer" ,gstreamer) | |
8006 | ("clutter" ,clutter) | |
8007 | ("clutter-gst" ,clutter-gst) | |
8008 | ("clutter-gtk" ,clutter-gtk) | |
8009 | ("libjpeg" ,libjpeg) | |
8010 | ("libtiff" ,libtiff) | |
8011 | ("libraw" ,libraw))) | |
8012 | (home-page "https://wiki.gnome.org/Apps/Gthumb") | |
8013 | (synopsis "GNOME image viewer and browser") | |
8014 | (description "GThumb is an image viewer, browser, organizer, editor and | |
8015 | advanced image management tool") | |
8016 | (license license:gpl2+))) | |
08be02be AT |
8017 | |
8018 | (define-public terminator | |
8019 | (package | |
8020 | (name "terminator") | |
8021 | (version "1.91") | |
8022 | (source (origin | |
8023 | (method url-fetch) | |
8024 | (uri (string-append "https://launchpad.net/" name "/" | |
8025 | "gtk3/" version "/" "+download/" | |
8026 | name "-" version ".tar.gz")) | |
8027 | (sha256 | |
8028 | (base32 | |
8029 | "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm")))) | |
8030 | (build-system python-build-system) | |
8031 | (native-inputs | |
8032 | `(("intltool" ,intltool) | |
8033 | ("glib:bin" ,glib "bin") ; for glib-compile-resources | |
8034 | ("gettext" ,gettext-minimal) | |
8035 | ("pkg-config" ,pkg-config))) | |
8036 | (inputs | |
8037 | `(("cairo" ,cairo) | |
8038 | ("gobject-introspection" ,gobject-introspection) | |
8039 | ("python2-pycairo" ,python2-pycairo) | |
8040 | ("python2-pygobject" ,python2-pygobject) | |
8041 | ("python2-psutil" ,python2-psutil) | |
8042 | ("vte" ,vte))) | |
8043 | (arguments | |
8044 | `(#:python ,python-2 ;Python 3 not supported | |
8045 | #:phases | |
8046 | (modify-phases %standard-phases | |
8047 | (add-after | |
8048 | 'install 'wrap-program | |
8049 | (lambda* (#:key outputs #:allow-other-keys) | |
8050 | (let ((prog (string-append (assoc-ref outputs "out") | |
8051 | "/bin/terminator"))) | |
8052 | (wrap-program prog | |
8053 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
8054 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) | |
8055 | #t)))))) | |
8056 | (home-page "https://gnometerminator.blogspot.com/") | |
8057 | (synopsis "Store and run multiple GNOME terminals in one window") | |
8058 | (description | |
8059 | "Terminator allows you to run multiple GNOME terminals in a grid and | |
8060 | +tabs, and it supports drag and drop re-ordering of terminals.") | |
8061 | (license license:gpl2))) |