Commit | Line | Data |
---|---|---|
995b7261 | 1 | ;;; GNU Guix --- Functional package management for GNU |
109da1c0 | 2 | ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> |
44a06c94 | 3 | ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> |
29a7c98a | 4 | ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> |
7108425c | 5 | ;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org> |
58d32305 | 6 | ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch> |
8b877545 | 7 | ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com> |
7aab13f1 | 8 | ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org> |
63ad9b80 | 9 | ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com> |
1e7464a9 | 10 | ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com> |
7d3bb433 | 11 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net> |
64a153bd | 12 | ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org> |
293ff8b2 | 13 | ;;; Copyright © 2015 David Thompson <davet@gnu.org> |
0528f70d | 14 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il> |
35e2d0cf | 15 | ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com> |
3c697ffd | 16 | ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net> |
3c8ba11a | 17 | ;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net> |
277a7d82 | 18 | ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org> |
a56be436 | 19 | ;;; Copyright © 2016 Roel Janssen <roel@gnu.org> |
e19f9c24 | 20 | ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name> |
71d9b980 | 21 | ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> |
47956fa0 | 22 | ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is> |
e5e1df4d | 23 | ;;; Copyright © 2016 David Craven <david@craven.ch> |
fa75a213 | 24 | ;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> |
cce0da5e | 25 | ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> |
d04687dc | 26 | ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com> |
3c5dbd2b | 27 | ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue> |
d1d739fa | 28 | ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com> |
1d3fcf94 | 29 | ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org> |
dcfa0acd | 30 | ;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot> |
0438f1d8 | 31 | ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com> |
4e3fdeb7 | 32 | ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net> |
2eee7ee3 | 33 | ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com> |
a18f8eaf | 34 | ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> |
e57c2adb | 35 | ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com> |
8caa4589 | 36 | ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org> |
ec47c07d | 37 | ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com> |
3e9c80b2 | 38 | ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de> |
a7a31827 | 39 | ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org> |
633422b0 | 40 | ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org> |
213315d4 | 41 | ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net> |
aa51d92c | 42 | ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
ad6e168b | 43 | ;;; Copyright © 2019 Martin Becze <mjbecze@riseup.net> |
93beace0 | 44 | ;;; Copyright © 2019 David Wilson <david@daviwil.com> |
995b7261 AE |
45 | ;;; |
46 | ;;; This file is part of GNU Guix. | |
47 | ;;; | |
48 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
49 | ;;; under the terms of the GNU General Public License as published by | |
50 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
51 | ;;; your option) any later version. | |
52 | ;;; | |
53 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
54 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
55 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
56 | ;;; GNU General Public License for more details. | |
57 | ;;; | |
58 | ;;; You should have received a copy of the GNU General Public License | |
59 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
60 | ||
61 | (define-module (gnu packages gnome) | |
ed19903d | 62 | #:use-module (gnu packages) |
ba5dd105 | 63 | #:use-module (gnu packages admin) |
411ba511 | 64 | #:use-module (gnu packages aspell) |
75016d07 | 65 | #:use-module (gnu packages autotools) |
7b212526 | 66 | #:use-module (gnu packages avahi) |
b29909b4 | 67 | #:use-module (gnu packages backup) |
6a180f6f | 68 | #:use-module (gnu packages base) |
1e33331c | 69 | #:use-module (gnu packages bash) |
5698b8b8 | 70 | #:use-module (gnu packages bison) |
aa51d92c | 71 | #:use-module (gnu packages boost) |
5fc9b6c1 | 72 | #:use-module (gnu packages build-tools) |
df217748 | 73 | #:use-module (gnu packages calendar) |
b29909b4 | 74 | #:use-module (gnu packages cdrom) |
df12f04a | 75 | #:use-module (gnu packages check) |
d61a894b | 76 | #:use-module (gnu packages cmake) |
b29909b4 | 77 | #:use-module (gnu packages compression) |
23a22af6 | 78 | #:use-module (gnu packages cups) |
6e1bb642 | 79 | #:use-module (gnu packages curl) |
c3f29bc9 | 80 | #:use-module (gnu packages cyrus-sasl) |
6e1bb642 | 81 | #:use-module (gnu packages databases) |
255d1bbe | 82 | #:use-module (gnu packages dbm) |
c769cf9f | 83 | #:use-module (gnu packages djvu) |
ba5dd105 | 84 | #:use-module (gnu packages dns) |
b4ce6300 | 85 | #:use-module (gnu packages docbook) |
b29909b4 | 86 | #:use-module (gnu packages documentation) |
329d731b | 87 | #:use-module (gnu packages enchant) |
b29909b4 TGR |
88 | #:use-module (gnu packages flex) |
89 | #:use-module (gnu packages fonts) | |
e762d943 | 90 | #:use-module (gnu packages file-systems) |
a56be436 | 91 | #:use-module (gnu packages fontutils) |
b29909b4 | 92 | #:use-module (gnu packages freedesktop) |
dfc407f3 | 93 | #:use-module (gnu packages game-development) |
fed5a689 | 94 | #:use-module (gnu packages gettext) |
b29909b4 TGR |
95 | #:use-module (gnu packages ghostscript) |
96 | #:use-module (gnu packages gl) | |
995b7261 | 97 | #:use-module (gnu packages glib) |
c1354b90 | 98 | #:use-module (gnu packages gnupg) |
23a22af6 | 99 | #:use-module (gnu packages gnuzilla) |
b29909b4 TGR |
100 | #:use-module (gnu packages gperf) |
101 | #:use-module (gnu packages graphviz) | |
85f5dc19 | 102 | #:use-module (gnu packages gstreamer) |
d9c1a22b | 103 | #:use-module (gnu packages gtk) |
6b888eff | 104 | #:use-module (gnu packages guile) |
b645146f | 105 | #:use-module (gnu packages ibus) |
b29909b4 TGR |
106 | #:use-module (gnu packages image) |
107 | #:use-module (gnu packages imagemagick) | |
108 | #:use-module (gnu packages inkscape) | |
9cc98f8a | 109 | #:use-module (gnu packages iso-codes) |
b29909b4 | 110 | #:use-module (gnu packages kerberos) |
85f5dc19 | 111 | #:use-module (gnu packages libcanberra) |
b64e217f | 112 | #:use-module (gnu packages libunistring) |
75016d07 | 113 | #:use-module (gnu packages libusb) |
b29909b4 | 114 | #:use-module (gnu packages linux) |
4e3fc547 | 115 | #:use-module (gnu packages lirc) |
7b212526 | 116 | #:use-module (gnu packages lua) |
b29909b4 TGR |
117 | #:use-module (gnu packages mail) |
118 | #:use-module (gnu packages multiprecision) | |
64fce637 | 119 | #:use-module (gnu packages music) |
b29909b4 TGR |
120 | #:use-module (gnu packages ncurses) |
121 | #:use-module (gnu packages nettle) | |
ba5dd105 | 122 | #:use-module (gnu packages networking) |
5fc9b6c1 | 123 | #:use-module (gnu packages ninja) |
aff0cce9 | 124 | #:use-module (gnu packages nss) |
b29909b4 | 125 | #:use-module (gnu packages openldap) |
b645146f | 126 | #:use-module (gnu packages password-utils) |
de1215e2 | 127 | #:use-module (gnu packages pcre) |
b29909b4 | 128 | #:use-module (gnu packages pdf) |
27477d2d | 129 | #:use-module (gnu packages perl) |
f70d8383 | 130 | #:use-module (gnu packages photo) |
995b7261 | 131 | #:use-module (gnu packages pkg-config) |
b29909b4 TGR |
132 | #:use-module (gnu packages polkit) |
133 | #:use-module (gnu packages popt) | |
7d3bb433 | 134 | #:use-module (gnu packages pretty-print) |
23a22af6 | 135 | #:use-module (gnu packages pulseaudio) |
995b7261 | 136 | #:use-module (gnu packages python) |
00014781 RW |
137 | #:use-module (gnu packages python-crypto) |
138 | #:use-module (gnu packages python-web) | |
44d10b1f | 139 | #:use-module (gnu packages python-xyz) |
cce0da5e | 140 | #:use-module (gnu packages rdesktop) |
b29909b4 | 141 | #:use-module (gnu packages readline) |
a76d0f03 | 142 | #:use-module (gnu packages ruby) |
ec47c07d | 143 | #:use-module (gnu packages rust) |
b29909b4 | 144 | #:use-module (gnu packages samba) |
75016d07 | 145 | #:use-module (gnu packages scanner) |
240cee8a | 146 | #:use-module (gnu packages selinux) |
c27e02bf | 147 | #:use-module (gnu packages slang) |
b29909b4 TGR |
148 | #:use-module (gnu packages speech) |
149 | #:use-module (gnu packages spice) | |
cd0322a3 | 150 | #:use-module (gnu packages sqlite) |
4a1bf090 | 151 | #:use-module (gnu packages ssh) |
8f9ac901 | 152 | #:use-module (gnu packages tex) |
33dc54b0 | 153 | #:use-module (gnu packages time) |
a7fd7b68 | 154 | #:use-module (gnu packages tls) |
3c5dbd2b | 155 | #:use-module (gnu packages version-control) |
b29909b4 | 156 | #:use-module (gnu packages video) |
59132b80 | 157 | #:use-module (gnu packages virtualization) |
f2b96b3a | 158 | #:use-module (gnu packages vpn) |
a18f8eaf | 159 | #:use-module (gnu packages web) |
b29909b4 TGR |
160 | #:use-module (gnu packages web) |
161 | #:use-module (gnu packages webkit) | |
162 | #:use-module (gnu packages xdisorg) | |
163 | #:use-module (gnu packages xiph) | |
164 | #:use-module (gnu packages xml) | |
d633f2f6 | 165 | #:use-module (gnu packages xorg) |
b29909b4 | 166 | #:use-module (gnu packages xorg) |
a76d0f03 | 167 | #:use-module (gnu artwork) |
b29909b4 TGR |
168 | #:use-module (guix build-system cmake) |
169 | #:use-module (guix build-system glib-or-gtk) | |
170 | #:use-module (guix build-system gnu) | |
171 | #:use-module (guix build-system meson) | |
08be02be | 172 | #:use-module (guix build-system python) |
b29909b4 TGR |
173 | #:use-module (guix build-system trivial) |
174 | #:use-module (guix download) | |
175 | #:use-module (guix git-download) | |
176 | #:use-module ((guix licenses) #:prefix license:) | |
177 | #:use-module (guix packages) | |
178 | #:use-module (guix utils) | |
a76d0f03 | 179 | #:use-module (guix gexp) |
4e3fdeb7 | 180 | #:use-module (ice-9 match) |
c024ae36 | 181 | #:use-module (srfi srfi-1)) |
85f5dc19 AE |
182 | |
183 | (define-public brasero | |
184 | (package | |
185 | (name "brasero") | |
e2bf423a | 186 | (version "3.12.2") |
85f5dc19 AE |
187 | (source (origin |
188 | (method url-fetch) | |
e8627cd9 DH |
189 | (uri (string-append "mirror://gnome/sources/" name "/" |
190 | (version-major+minor version) "/" | |
191 | name "-" version ".tar.xz")) | |
85f5dc19 AE |
192 | (sha256 |
193 | (base32 | |
e2bf423a | 194 | "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8")))) |
1c40e3b7 | 195 | (build-system glib-or-gtk-build-system) |
e8627cd9 DH |
196 | (arguments |
197 | `(#:configure-flags (list | |
198 | (string-append "--with-girdir=" | |
199 | (assoc-ref %outputs "out") | |
200 | "/share/gir-1.0") | |
201 | (string-append "--with-typelibdir=" | |
202 | (assoc-ref %outputs "out") | |
ce426deb TD |
203 | "/lib/girepository-1.0")) |
204 | #:phases | |
205 | (modify-phases %standard-phases | |
206 | (add-before 'configure 'embed-growisofs | |
207 | (lambda* (#:key inputs #:allow-other-keys) | |
208 | (substitute* "plugins/growisofs/burn-growisofs.c" | |
209 | (("\"growisofs") (string-append "\"" (which "growisofs")))) | |
e2bf423a | 210 | #t))))) |
85f5dc19 AE |
211 | (propagated-inputs |
212 | `(("hicolor-icon-theme" ,hicolor-icon-theme))) | |
9cc98f8a CR |
213 | (native-inputs |
214 | `(("intltool" ,intltool) | |
426adbe8 | 215 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
e8627cd9 | 216 | ("gobject-introspection" ,gobject-introspection) |
9cc98f8a | 217 | ("pkg-config" ,pkg-config))) |
85f5dc19 | 218 | (inputs |
ce426deb TD |
219 | `(("dvd+rw-tools" ,dvd+rw-tools) |
220 | ("glib" ,glib) | |
85f5dc19 AE |
221 | ("gnome-doc-utils" ,gnome-doc-utils) |
222 | ("gstreamer" ,gstreamer) | |
223 | ("gst-plugins-base" ,gst-plugins-base) | |
224 | ("gtk+" ,gtk+) | |
85f5dc19 AE |
225 | ("itstool" ,itstool) |
226 | ("libcanberra" ,libcanberra) | |
227 | ("libice" ,libice) | |
228 | ("libnotify" ,libnotify) | |
229 | ("libsm" ,libsm) | |
e8627cd9 | 230 | ("libxml2" ,libxml2) |
e8627cd9 | 231 | ("totem-pl-parser" ,totem-pl-parser))) |
85f5dc19 AE |
232 | (home-page "https://projects.gnome.org/brasero/") |
233 | (synopsis "CD/DVD burning tool for Gnome") | |
234 | (description "Brasero is an application to burn CD/DVD for the Gnome | |
235 | Desktop. It is designed to be as simple as possible and has some unique | |
236 | features to enable users to create their discs easily and quickly.") | |
1dd26275 | 237 | (license license:gpl2+))) |
995b7261 | 238 | |
d61a894b CB |
239 | (define-public deja-dup |
240 | (package | |
241 | (name "deja-dup") | |
242 | (version "34.3") | |
243 | (source (origin | |
244 | (method url-fetch) | |
245 | (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz") | |
246 | (sha256 | |
247 | (base32 | |
248 | "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9")) | |
249 | (patches | |
250 | (search-patches "deja-dup-use-ref-keyword-for-iter.patch")))) | |
251 | (build-system glib-or-gtk-build-system) | |
252 | (arguments | |
253 | `(#:modules ((guix build gnu-build-system) | |
254 | ((guix build cmake-build-system) #:prefix cmake:) | |
255 | (guix build glib-or-gtk-build-system) | |
256 | (guix build utils)) | |
257 | #:imported-modules (,@%glib-or-gtk-build-system-modules | |
258 | (guix build cmake-build-system)) | |
259 | #:test-target "test" | |
260 | #:configure-flags (list (string-append | |
261 | "-DCMAKE_INSTALL_FULL_DATADIR=" %output) | |
262 | (string-append | |
263 | "-DCMAKE_INSTALL_LIBEXECDIR=" %output)) | |
264 | #:phases | |
265 | (modify-phases %standard-phases | |
266 | (add-after 'unpack 'patch-lockfile-deletion | |
267 | (lambda rest | |
268 | (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala" | |
269 | (("/bin/rm") | |
270 | (which "rm"))))) | |
271 | (replace 'configure | |
272 | (assoc-ref cmake:%standard-phases 'configure)) | |
273 | (delete 'check) ;; Fails due to issues with DBus | |
274 | (add-after 'install 'wrap-deja-dup | |
275 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
276 | (let ((python (assoc-ref inputs "python")) | |
277 | (python-path (getenv "PYTHONPATH")) | |
278 | (duplicity (assoc-ref inputs "duplicity")) | |
279 | (out (assoc-ref outputs "out"))) | |
280 | (for-each | |
281 | (lambda (program) | |
282 | (wrap-program program | |
283 | `("PATH" ":" prefix (,(string-append python "/bin") | |
284 | ,(string-append duplicity "/bin")))) | |
285 | (wrap-program program | |
286 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
287 | ||
288 | (find-files (string-append out "/bin"))) | |
289 | #t)))))) | |
290 | (inputs | |
291 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
292 | ("gobject-introspection" ,gobject-introspection) | |
293 | ("duplicity" ,duplicity) | |
61506fe5 | 294 | ("python" ,python-2) |
d61a894b CB |
295 | ("python-pygobject" ,python2-pygobject) |
296 | ("gtk+" ,gtk+) | |
297 | ("libnotify" ,libnotify) | |
298 | ("libpeas" ,libpeas) | |
299 | ("libsecret" ,libsecret) | |
300 | ("packagekit" ,packagekit))) | |
301 | (native-inputs | |
302 | `(("pkg-config" ,pkg-config) | |
303 | ("vala" ,vala) | |
304 | ("gettext" ,gettext-minimal) | |
305 | ("itstool" ,itstool) | |
306 | ("intltool" ,intltool) | |
c69959f0 | 307 | ("cmake" ,cmake-minimal))) |
d61a894b CB |
308 | (home-page "https://launchpad.net/deja-dup") |
309 | (synopsis "Simple backup tool, for regular encrypted backups") | |
310 | (description | |
311 | "Déjà Dup is a simple backup tool, for regular encrypted backups. It | |
312 | uses duplicity as the backend, which supports incremental backups and storage | |
313 | either on a local, or remote machine via a number of methods.") | |
314 | (license license:gpl3+))) | |
315 | ||
a56be436 RJ |
316 | (define-public dia |
317 | ;; This version from GNOME's repository includes fixes for compiling with | |
318 | ;; recent versions of the build tools. The latest activity on the | |
319 | ;; pre-GNOME version has been in 2014, while GNOME has continued applying | |
320 | ;; fixes in 2016. | |
321 | (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4")) | |
322 | (package | |
323 | (name "dia") | |
324 | (version (string-append "0.97.2-" (string-take commit 7))) | |
325 | (source (origin | |
326 | (method git-fetch) | |
327 | (uri (git-reference | |
328 | (url "https://git.gnome.org/browse/dia") | |
329 | (commit commit))) | |
330 | (file-name (string-append name "-" version "-checkout")) | |
331 | (sha256 | |
332 | (base32 | |
333 | "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l")))) | |
334 | (build-system gnu-build-system) | |
335 | (inputs | |
336 | `(("glib" ,glib "bin") | |
337 | ("pango" ,pango) | |
338 | ("gdk-pixbuf" ,gdk-pixbuf) | |
339 | ("gtk+" ,gtk+-2) | |
340 | ("libxml2" ,libxml2) | |
341 | ("freetype" ,freetype) | |
342 | ("libart-lgpl" ,libart-lgpl))) | |
343 | (native-inputs | |
344 | `(("intltool" ,intltool) | |
345 | ("pkg-config" ,pkg-config) | |
346 | ("automake" ,automake) | |
347 | ("autoconf" ,autoconf) | |
348 | ("libtool" ,libtool) | |
349 | ("perl" ,perl) | |
350 | ("python-wrapper" ,python-wrapper))) | |
351 | (arguments | |
352 | `(#:phases | |
353 | (modify-phases %standard-phases | |
d10092b8 | 354 | (add-after 'unpack 'run-autogen |
a56be436 RJ |
355 | (lambda _ |
356 | (system* "sh" "autogen.sh")))))) | |
357 | (home-page "https://wiki.gnome.org/Apps/Dia") | |
358 | (synopsis "Diagram creation for GNOME") | |
359 | (description "Dia can be used to draw different types of diagrams, and | |
360 | includes support for UML static structure diagrams (class diagrams), entity | |
361 | relationship modeling, and network diagrams. The program supports various file | |
362 | formats like PNG, SVG, PDF and EPS.") | |
363 | (license license:gpl2+)))) | |
364 | ||
d0b19e44 RW |
365 | ;; This is the unstable release, but it is required for the current stable |
366 | ;; release of gvfs (1.38.1). | |
adc5cb1b KK |
367 | (define-public libgdata |
368 | (package | |
369 | (name "libgdata") | |
d0b19e44 | 370 | (version "0.17.9") |
adc5cb1b KK |
371 | (source (origin |
372 | (method url-fetch) | |
373 | (uri (string-append "mirror://gnome/sources/" name "/" | |
374 | (version-major+minor version) "/" | |
375 | name "-" version ".tar.xz")) | |
376 | (sha256 | |
377 | (base32 | |
d0b19e44 | 378 | "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45")))) |
adc5cb1b KK |
379 | (build-system gnu-build-system) |
380 | (arguments | |
381 | '(#:phases | |
382 | (modify-phases %standard-phases | |
448052b7 TGR |
383 | (add-before 'check 'disable-failing-tests |
384 | (lambda _ | |
385 | ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2. | |
386 | ;; They have been removed in libgdata 0.17.6, so just do the same. | |
387 | (substitute* "gdata/tests/Makefile" | |
388 | (("picasaweb\\$\\(EXEEXT\\) ") "")) | |
adc5cb1b KK |
389 | #t))))) |
390 | (native-inputs | |
391 | `(("glib:bin" ,glib "bin") | |
392 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
393 | ("intltool" ,intltool) | |
394 | ("pkg-config" ,pkg-config) | |
395 | ("uhttpmock" ,uhttpmock))) | |
396 | (inputs | |
397 | `(("cyrus-sasl" ,cyrus-sasl) | |
d0b19e44 | 398 | ("glib-networking" ,glib-networking))) |
adc5cb1b KK |
399 | (propagated-inputs |
400 | `(("gcr" ,gcr) | |
d0b19e44 | 401 | ("glib" ,glib) |
14c297fd | 402 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
d0b19e44 | 403 | ("json-glib" ,json-glib) |
adc5cb1b | 404 | ("liboauth" ,liboauth) |
d0b19e44 | 405 | ("libsoup" ,libsoup) |
adc5cb1b KK |
406 | ("libxml2" ,libxml2))) |
407 | (home-page "https://wiki.gnome.org/Projects/libgdata") | |
408 | (synopsis "Library for accessing online service APIs") | |
409 | (description | |
410 | "libgdata is a GLib-based library for accessing online service APIs using | |
411 | the GData protocol — most notably, Google's services. It provides APIs to | |
412 | access the common Google services, and has full asynchronous support.") | |
413 | (license license:lgpl2.1+))) | |
414 | ||
94e10cf4 KK |
415 | (define-public libgxps |
416 | (package | |
417 | (name "libgxps") | |
66470a5a | 418 | (version "0.3.1") |
94e10cf4 KK |
419 | (source (origin |
420 | (method url-fetch) | |
7f10628c | 421 | (uri (string-append "mirror://gnome/sources/" name "/" |
94e10cf4 KK |
422 | (version-major+minor version) "/" |
423 | name "-" version ".tar.xz")) | |
424 | (sha256 | |
425 | (base32 | |
66470a5a | 426 | "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs")))) |
b6b3e512 | 427 | (build-system meson-build-system) |
94e10cf4 KK |
428 | (native-inputs |
429 | `(("gobject-introspection" ,gobject-introspection) | |
430 | ("pkg-config" ,pkg-config))) | |
431 | (inputs | |
c8d62d93 | 432 | `(("gtk+" ,gtk+) |
b6b3e512 | 433 | ("libjpeg" ,libjpeg-turbo) |
94e10cf4 | 434 | ("lcms" ,lcms) |
0a6e9e13 | 435 | ("libtiff" ,libtiff))) |
c8d62d93 MB |
436 | (propagated-inputs |
437 | ;; In Requires of libgxps.pc. | |
438 | `(("cairo" ,cairo) | |
439 | ("glib" ,glib) | |
440 | ("libarchive" ,libarchive))) | |
94e10cf4 KK |
441 | (home-page "https://wiki.gnome.org/Projects/libgxps") |
442 | (synopsis "GObject-based library for handling and rendering XPS documents") | |
443 | (description | |
444 | "libgxps is a GObject-based library for handling and rendering XPS | |
445 | documents. This package also contains binaries that can convert XPS documents | |
446 | to other formats.") | |
447 | (license license:lgpl2.1+))) | |
448 | ||
7aab13f1 ML |
449 | (define-public gnome-common |
450 | (package | |
451 | (name "gnome-common") | |
af83490d | 452 | (version "3.18.0") |
7aab13f1 ML |
453 | (source |
454 | (origin | |
455 | (method url-fetch) | |
456 | (uri (string-append "mirror://gnome/sources/" name "/" | |
457 | (version-major+minor version) "/" | |
458 | name "-" version ".tar.xz")) | |
459 | (sha256 | |
460 | (base32 | |
af83490d | 461 | "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2")))) |
7aab13f1 ML |
462 | (build-system gnu-build-system) |
463 | (home-page "https://www.gnome.org/") | |
464 | (synopsis "Bootstrap GNOME modules built from Git") | |
465 | (description "gnome-common contains various files needed to bootstrap | |
466 | GNOME modules built from Git. It contains a common \"autogen.sh\" script that | |
467 | can be used to configure a source directory checked out from Git and some | |
468 | commonly used macros.") | |
469 | (license license:gpl2+))) | |
470 | ||
9cc98f8a CR |
471 | (define-public gnome-desktop |
472 | (package | |
473 | (name "gnome-desktop") | |
3387ee41 | 474 | (version "3.30.2") |
9cc98f8a CR |
475 | (source |
476 | (origin | |
477 | (method url-fetch) | |
b38e45d8 EB |
478 | (uri (string-append "mirror://gnome/sources/" name "/" |
479 | (version-major+minor version) "/" | |
9cc98f8a CR |
480 | name "-" version ".tar.xz")) |
481 | (sha256 | |
482 | (base32 | |
3387ee41 | 483 | "0k6iccfj9naw42dl2mgljfvk12dmvg06plg86qd81nksrf9ycxal")))) |
9cc98f8a | 484 | (build-system gnu-build-system) |
a0fe7c06 CB |
485 | (arguments |
486 | '(#:phases | |
487 | (modify-phases %standard-phases | |
488 | (add-before 'configure 'patch-path | |
489 | (lambda* (#:key inputs #:allow-other-keys) | |
490 | (let ((libc (assoc-ref inputs "libc"))) | |
491 | (substitute* "libgnome-desktop/gnome-languages.c" | |
492 | (("\"locale\"") | |
493 | (string-append "\"" libc "/bin/locale\""))) | |
494 | #t)))))) | |
9cc98f8a | 495 | (native-inputs |
a8340482 SB |
496 | `(("gobject-introspection" ,gobject-introspection) |
497 | ("itstool" ,itstool) | |
bcb354ad SB |
498 | ("intltool" ,intltool) |
499 | ("pkg-config" ,pkg-config) | |
500 | ("xmllint" ,libxml2))) | |
a8340482 SB |
501 | (propagated-inputs |
502 | ;; Required by gnome-desktop-3.0.pc. | |
503 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
504 | ("gtk+" ,gtk+))) | |
9cc98f8a CR |
505 | (inputs |
506 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
507 | ("glib" ,glib) | |
9cc98f8a | 508 | ("iso-codes" ,iso-codes) |
9863ce20 | 509 | ("libseccomp" ,libseccomp) |
9cc98f8a CR |
510 | ("libx11" ,libx11) |
511 | ("libxext" ,libxext) | |
512 | ("libxkbfile" ,libxkbfile) | |
513 | ("libxrandr" ,libxrandr) | |
514 | ("xkeyboard-config" ,xkeyboard-config))) | |
515 | (home-page "https://www.gnome.org/") | |
516 | (synopsis | |
35b9e423 | 517 | "Libgnome-desktop, gnome-about, and desktop-wide documents") |
9cc98f8a CR |
518 | (description |
519 | "The libgnome-desktop library provides API shared by several applications | |
35b9e423 EB |
520 | on the desktop, but that cannot live in the platform for various reasons. |
521 | There is no API or ABI guarantee, although we are doing our best to provide | |
522 | stability. Documentation for the API is available with gtk-doc. | |
9cc98f8a CR |
523 | |
524 | The gnome-about program helps find which version of GNOME is installed.") | |
525 | ; Some bits under the LGPL. | |
1dd26275 | 526 | (license license:gpl2+))) |
9cc98f8a | 527 | |
995b7261 AE |
528 | (define-public gnome-doc-utils |
529 | (package | |
530 | (name "gnome-doc-utils") | |
531 | (version "0.20.10") | |
532 | (source | |
533 | (origin | |
534 | (method url-fetch) | |
b38e45d8 EB |
535 | (uri (string-append "mirror://gnome/sources/" name "/" |
536 | (version-major+minor version) "/" | |
995b7261 AE |
537 | name "-" version ".tar.xz")) |
538 | (sha256 | |
539 | (base32 | |
540 | "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb")))) | |
541 | (build-system gnu-build-system) | |
c4c4cc05 | 542 | (native-inputs |
995b7261 | 543 | `(("intltool" ,intltool) |
b4ce6300 | 544 | ("docbook-xml" ,docbook-xml-4.4) |
d80b0d4a | 545 | ("python2-libxml2" ,python2-libxml2) |
995b7261 AE |
546 | ("libxml2" ,libxml2) |
547 | ("libxslt" ,libxslt) | |
548 | ("pkg-config" ,pkg-config) | |
549 | ("python-2" ,python-2))) | |
995b7261 AE |
550 | (home-page "https://wiki.gnome.org/GnomeDocUtils") |
551 | (synopsis | |
552 | "Documentation utilities for the Gnome project") | |
553 | (description | |
554 | "Gnome-doc-utils is a collection of documentation utilities for the | |
555 | Gnome project. It includes xml2po tool which makes it easier to translate | |
556 | and keep up to date translations of documentation.") | |
1dd26275 | 557 | (license license:gpl2+))) ; xslt under lgpl |
d9c1a22b | 558 | |
6c4f7022 DC |
559 | (define-public gnome-disk-utility |
560 | (package | |
561 | (name "gnome-disk-utility") | |
0dd65d5a | 562 | (version "3.30.2") |
6c4f7022 DC |
563 | (source (origin |
564 | (method url-fetch) | |
565 | (uri (string-append "mirror://gnome/sources/" name "/" | |
566 | (version-major+minor version) "/" | |
567 | name "-" version ".tar.xz")) | |
568 | (sha256 | |
569 | (base32 | |
0dd65d5a | 570 | "1365fabz3q7n3bl775z82m1nzg18birxxyd7l2ssbbkqrx3h7wgi")))) |
4b9a65bf | 571 | (build-system meson-build-system) |
321c73c3 EF |
572 | (arguments |
573 | '(#:phases | |
574 | (modify-phases %standard-phases | |
575 | (add-after 'unpack 'skip-gtk-update-icon-cache | |
576 | ;; Don't create 'icon-theme.cache'. | |
577 | (lambda _ | |
578 | (substitute* "meson_post_install.py" | |
579 | (("gtk-update-icon-cache") "true")) | |
580 | #t))))) | |
6c4f7022 DC |
581 | (native-inputs |
582 | `(("glib:bin" ,glib "bin") | |
583 | ("intltool" ,intltool) | |
584 | ("pkg-config" ,pkg-config) | |
585 | ("docbook-xml" ,docbook-xml) | |
586 | ("docbook-xsl" ,docbook-xsl) | |
587 | ("libxml2" ,libxml2) | |
588 | ("libxslt" ,libxslt))) | |
589 | (inputs | |
590 | `(("glib" ,glib) | |
591 | ("appstream-glib" ,appstream-glib) | |
592 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
593 | ("gtk+" ,gtk+) | |
594 | ("libcanberra" ,libcanberra) | |
595 | ("libdvdread" ,libdvdread) | |
596 | ("libnotify" ,libnotify) | |
597 | ("libpwquality" ,libpwquality) | |
598 | ("libsecret" ,libsecret) | |
599 | ("udisks" ,udisks))) | |
600 | (home-page "https://git.gnome.org/browse/gnome-disk-utility") | |
601 | (synopsis "Disk management utility for GNOME") | |
602 | (description "Disk management utility for GNOME.") | |
603 | (license license:gpl2+))) | |
604 | ||
8ff49011 RW |
605 | (define-public gcr |
606 | (package | |
607 | (name "gcr") | |
bea6b829 | 608 | (version "3.28.1") |
8ff49011 | 609 | (source (origin |
0daf0efb RW |
610 | (method url-fetch) |
611 | (uri (string-append "mirror://gnome/sources/" name "/" | |
612 | (version-major+minor version) "/" | |
613 | name "-" version ".tar.xz")) | |
614 | (sha256 | |
615 | (base32 | |
bea6b829 | 616 | "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m")) |
03ecf85a MB |
617 | (patches |
618 | (list | |
619 | ;; This patch solves an ordering issue that showed up when | |
620 | ;; running the test suite against newer Glib 2.60. See | |
621 | ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>. | |
622 | (origin | |
623 | (method url-fetch) | |
624 | (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/" | |
625 | "45d637578d7643ff96c0183ac267497a0b4c6344.diff")) | |
626 | (file-name "gcr-hashtable-ordering.patch") | |
627 | (sha256 | |
628 | (base32 | |
629 | "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi"))))))) | |
8ff49011 RW |
630 | (build-system gnu-build-system) |
631 | (arguments | |
0daf0efb RW |
632 | '(#:phases |
633 | (modify-phases %standard-phases | |
634 | ;; These fail because /var/lib/dbus/machine-id is not present in the | |
635 | ;; build environment. | |
636 | (add-after 'unpack 'disable-failing-tests | |
637 | (lambda _ | |
638 | (substitute* "gcr/test-system-prompt.c" | |
639 | (("g_test_add") "//") | |
640 | (("return.*") "return 0;")) | |
641 | #t)) | |
642 | (add-before 'check 'pre-check | |
643 | (lambda _ | |
644 | ;; Some tests expect to write to $HOME. | |
645 | (setenv "HOME" "/tmp") | |
646 | #t))))) | |
8ff49011 RW |
647 | (inputs |
648 | `(("dbus" ,dbus) | |
0daf0efb | 649 | ("gnupg" ,gnupg) ;called as a child process during tests |
8ff49011 RW |
650 | ("libgcrypt" ,libgcrypt))) |
651 | (native-inputs | |
0daf0efb | 652 | `(("python" ,python-2) ;for tests |
8ff49011 RW |
653 | ("pkg-config" ,pkg-config) |
654 | ("glib" ,glib "bin") | |
2af4f5b0 SB |
655 | ("gobject-introspection" ,gobject-introspection) |
656 | ("intltool" ,intltool) | |
0daf0efb | 657 | ("libxml2" ,libxml2) |
bea6b829 | 658 | ("vala" ,vala) |
2af4f5b0 | 659 | ("xsltproc" ,libxslt))) |
8ff49011 RW |
660 | ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc |
661 | (propagated-inputs | |
662 | `(("p11-kit" ,p11-kit) | |
663 | ("glib" ,glib) | |
664 | ("gtk+" ,gtk+))) | |
f032d0be | 665 | (home-page "https://www.gnome.org") |
8ff49011 RW |
666 | (synopsis "Libraries for displaying certificates and accessing key stores") |
667 | (description | |
668 | "The GCR package contains libraries used for displaying certificates and | |
669 | accessing key stores. It also provides the viewer for crypto files on the | |
670 | GNOME Desktop.") | |
671 | (license license:lgpl2.1+))) | |
672 | ||
c1354b90 LC |
673 | (define-public libgnome-keyring |
674 | (package | |
675 | (name "libgnome-keyring") | |
5e8aec2c | 676 | (version "3.12.0") |
c1354b90 LC |
677 | (source (origin |
678 | (method url-fetch) | |
b38e45d8 EB |
679 | (uri (string-append "mirror://gnome/sources/" name "/" |
680 | (version-major+minor version) "/" | |
681 | name "-" version ".tar.xz")) | |
c1354b90 LC |
682 | (sha256 |
683 | (base32 | |
5e8aec2c | 684 | "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4")))) |
c1354b90 | 685 | (build-system gnu-build-system) |
c1354b90 | 686 | (inputs |
c4c4cc05 | 687 | `(("libgcrypt" ,libgcrypt) |
c1354b90 | 688 | ("dbus" ,dbus))) |
c4c4cc05 JD |
689 | (native-inputs |
690 | `(("pkg-config" ,pkg-config) | |
426adbe8 | 691 | ("glib" ,glib "bin") |
c4c4cc05 | 692 | ("intltool" ,intltool))) |
c1354b90 LC |
693 | (propagated-inputs |
694 | ;; Referred to in .h files and .pc. | |
695 | `(("glib" ,glib))) | |
f032d0be | 696 | (home-page "https://www.gnome.org") |
c1354b90 LC |
697 | (synopsis "Accessing passwords from the GNOME keyring") |
698 | (description | |
699 | "Client library to access passwords from the GNOME keyring.") | |
700 | ||
701 | ;; Though a couple of files are LGPLv2.1+. | |
1dd26275 | 702 | (license license:lgpl2.0+))) |
c1354b90 | 703 | |
e99a3d6f RW |
704 | (define-public gnome-keyring |
705 | (package | |
706 | (name "gnome-keyring") | |
ab35cc6e | 707 | (version "3.28.2") |
e99a3d6f RW |
708 | (source (origin |
709 | (method url-fetch) | |
710 | (uri (string-append "mirror://gnome/sources/" name "/" | |
711 | (version-major+minor version) "/" | |
712 | name "-" version ".tar.xz")) | |
713 | (sha256 | |
714 | (base32 | |
ab35cc6e | 715 | "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1")))) |
e99a3d6f RW |
716 | (build-system gnu-build-system) |
717 | (arguments | |
718 | `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does | |
719 | ;not exist | |
720 | #:configure-flags | |
721 | (list | |
722 | (string-append "--with-pkcs11-config=" | |
723 | (assoc-ref %outputs "out") "/share/p11-kit/modules/") | |
724 | (string-append "--with-pkcs11-modules=" | |
725 | (assoc-ref %outputs "out") "/share/p11-kit/modules/")) | |
726 | #:phases | |
727 | (modify-phases %standard-phases | |
ab35cc6e RW |
728 | (add-after 'unpack 'fix-/bin/sh-reference |
729 | (lambda _ | |
730 | (substitute* "po/Makefile.in.in" | |
731 | (("/bin/sh") (which "sh"))) | |
732 | #t)) | |
5120f24f RW |
733 | (add-after 'unpack 'fix-docbook |
734 | (lambda* (#:key inputs #:allow-other-keys) | |
735 | (substitute* "docs/Makefile.am" | |
736 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
737 | (string-append (assoc-ref inputs "docbook-xsl") | |
738 | "/xml/xsl/docbook-xsl-" | |
739 | ,(package-version docbook-xsl) | |
740 | "/manpages/docbook.xsl"))) | |
741 | (setenv "XML_CATALOG_FILES" | |
742 | (string-append (assoc-ref inputs "docbook-xml") | |
743 | "/xml/dtd/docbook/catalog.xml")) | |
744 | ;; Rerun the whole thing to avoid version mismatch ("This is | |
745 | ;; Automake 1.15.1, but the definition used by this | |
746 | ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't | |
747 | ;; use 'autoreconf' because it insists on running 'libtoolize'. | |
748 | (invoke "autoconf") | |
749 | (invoke "aclocal") | |
750 | (invoke "automake" "-ac")))))) | |
e99a3d6f RW |
751 | (inputs |
752 | `(("libgcrypt" ,libgcrypt) | |
1a0b2d82 | 753 | ("linux-pam" ,linux-pam) |
ab35cc6e | 754 | ("openssh" ,openssh) |
e99a3d6f RW |
755 | ("dbus" ,dbus) |
756 | ("gcr" ,gcr))) | |
757 | (native-inputs | |
758 | `(("pkg-config" ,pkg-config) | |
759 | ("glib" ,glib "bin") | |
5120f24f | 760 | ("glib" ,glib) ; for m4 macros |
e99a3d6f RW |
761 | ("python" ,python-2) ;for tests |
762 | ("intltool" ,intltool) | |
763 | ("autoconf" ,autoconf) | |
764 | ("automake" ,automake) | |
765 | ("libxslt" ,libxslt) ;for documentation | |
766 | ("docbook-xml" ,docbook-xml-4.2) | |
767 | ("docbook-xsl" ,docbook-xsl))) | |
f032d0be | 768 | (home-page "https://www.gnome.org") |
e99a3d6f RW |
769 | (synopsis "Daemon to store passwords and encryption keys") |
770 | (description | |
771 | "gnome-keyring is a program that keeps passwords and other secrets for | |
772 | users. It is run as a daemon in the session, similar to ssh-agent, and other | |
773 | applications locate it via an environment variable or D-Bus. | |
774 | ||
775 | The program can manage several keyrings, each with its own master password, | |
776 | and there is also a session keyring which is never stored to disk, but | |
777 | forgotten when the session ends.") | |
778 | (license license:lgpl2.1+))) | |
779 | ||
c1354b90 LC |
780 | (define-public evince |
781 | (package | |
782 | (name "evince") | |
e24e6522 | 783 | (version "3.34.1") |
c1354b90 LC |
784 | (source (origin |
785 | (method url-fetch) | |
b38e45d8 EB |
786 | (uri (string-append "mirror://gnome/sources/" name "/" |
787 | (version-major+minor version) "/" | |
788 | name "-" version ".tar.xz")) | |
c1354b90 LC |
789 | (sha256 |
790 | (base32 | |
e24e6522 | 791 | "1pr6fvbaam1mzxjwyqd53hcxzdjzf73idn10j4j7n54nwg6hgr45")))) |
121de2e1 | 792 | (build-system glib-or-gtk-build-system) |
c1354b90 LC |
793 | (arguments |
794 | `(#:configure-flags '("--disable-nautilus") | |
554b2dac SB |
795 | #:phases |
796 | (modify-phases %standard-phases | |
797 | (add-before 'install 'skip-gtk-update-icon-cache | |
798 | ;; Don't create 'icon-theme.cache'. | |
799 | (lambda _ | |
800 | (substitute* "data/Makefile" | |
801 | (("gtk-update-icon-cache") "true")) | |
802 | #t))))) | |
c1354b90 | 803 | (inputs |
9a096881 KK |
804 | `(("libarchive" ,libarchive) |
805 | ("libgxps" ,libgxps) | |
806 | ("libspectre" ,libspectre) | |
c769cf9f | 807 | ("djvulibre" ,djvulibre) |
c1354b90 LC |
808 | ("ghostscript" ,ghostscript) |
809 | ("poppler" ,poppler) | |
c769cf9f SB |
810 | ("libtiff" ,libtiff) |
811 | ;; TODO: | |
c769cf9f SB |
812 | ;; Build libkpathsea as a shared library for DVI support. |
813 | ;; ("libkpathsea" ,texlive-bin) | |
814 | ("gnome-desktop" ,gnome-desktop) | |
c1354b90 | 815 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2dfc16d1 | 816 | ("gspell" ,gspell) |
c1354b90 | 817 | ("libgnome-keyring" ,libgnome-keyring) |
c769cf9f | 818 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
c1354b90 LC |
819 | ("gdk-pixbuf" ,gdk-pixbuf) |
820 | ("atk" ,atk) | |
821 | ("pango" ,pango) | |
822 | ("gtk+" ,gtk+) | |
823 | ("glib" ,glib) | |
824 | ("libxml2" ,libxml2) | |
c1354b90 LC |
825 | ("libsm" ,libsm) |
826 | ("libice" ,libice) | |
96e42467 | 827 | ("shared-mime-info" ,shared-mime-info) |
3d243e9c FB |
828 | ("dconf" ,dconf) |
829 | ("libcanberra" ,libcanberra) | |
c769cf9f | 830 | ("libsecret" ,libsecret) |
a271096b | 831 | |
c1354b90 LC |
832 | ;; For tests. |
833 | ("dogtail" ,python2-dogtail))) | |
96e42467 | 834 | (native-inputs |
bcb354ad SB |
835 | `(("itstool" ,itstool) |
836 | ("intltool" ,intltool) | |
426adbe8 | 837 | ("glib" ,glib "bin") |
bcb354ad SB |
838 | ("pkg-config" ,pkg-config) |
839 | ("xmllint" ,libxml2))) | |
c1354b90 | 840 | (home-page |
f032d0be | 841 | "https://www.gnome.org/projects/evince/") |
c1354b90 LC |
842 | (synopsis "GNOME's document viewer") |
843 | (description | |
844 | "Evince is a document viewer for multiple document formats. It | |
845 | currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal | |
846 | of Evince is to replace the multiple document viewers that exist | |
96e42467 | 847 | on the GNOME Desktop with a single simple application.") |
1dd26275 | 848 | (license license:gpl2+))) |
c1354b90 | 849 | |
22e32e69 AE |
850 | (define-public gsettings-desktop-schemas |
851 | (package | |
852 | (name "gsettings-desktop-schemas") | |
10ff872f | 853 | (version "3.28.1") |
22e32e69 AE |
854 | (source |
855 | (origin | |
856 | (method url-fetch) | |
857 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 858 | (version-major+minor version) "/" |
22e32e69 AE |
859 | name "-" version ".tar.xz")) |
860 | (sha256 | |
861 | (base32 | |
10ff872f | 862 | "0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq")))) |
22e32e69 AE |
863 | (build-system gnu-build-system) |
864 | (inputs | |
c4c4cc05 JD |
865 | `(("glib" ,glib))) |
866 | (native-inputs | |
867 | `(("intltool" ,intltool) | |
426adbe8 | 868 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
7211944a | 869 | ("gobject-introspection" ,gobject-introspection) |
22e32e69 AE |
870 | ("pkg-config" ,pkg-config))) |
871 | (home-page "https://launchpad.net/gsettings-desktop-schemas") | |
872 | (synopsis | |
873 | "GNOME settings for various desktop components") | |
874 | (description | |
875 | "Gsettings-desktop-schemas contains a collection of GSettings schemas | |
876 | for settings shared by various components of the GNOME desktop.") | |
1dd26275 | 877 | (license license:lgpl2.1+))) |
22e32e69 | 878 | |
27477d2d AE |
879 | (define-public icon-naming-utils |
880 | (package | |
881 | (name "icon-naming-utils") | |
882 | (version "0.8.90") | |
883 | (source | |
884 | (origin | |
885 | (method url-fetch) | |
5cc3096c | 886 | (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-" |
27477d2d AE |
887 | version ".tar.bz2")) |
888 | (sha256 | |
889 | (base32 | |
890 | "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi")))) | |
891 | (build-system gnu-build-system) | |
892 | (inputs | |
893 | `(("perl" ,perl) | |
894 | ("perl-xml-simple" ,perl-xml-simple))) | |
f4e97277 SB |
895 | (arguments |
896 | '(#:phases | |
dc1d3cde KK |
897 | (modify-phases %standard-phases |
898 | (add-after 'install 'set-load-paths | |
899 | ;; Tell 'icon-name-mapping' where XML::Simple is. | |
900 | (lambda* (#:key outputs #:allow-other-keys) | |
901 | (let* ((out (assoc-ref outputs "out")) | |
902 | (prog (string-append out "/libexec/icon-name-mapping"))) | |
903 | (wrap-program | |
904 | prog | |
905 | `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))) | |
906 | #t))))) | |
27477d2d AE |
907 | (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification") |
908 | (synopsis | |
909 | "Utility to implement the Freedesktop Icon Naming Specification") | |
910 | (description | |
911 | "To help with the transition to the Freedesktop Icon Naming | |
912 | Specification, the icon naming utility maps the icon names used by the | |
913 | GNOME and KDE desktops to the icon names proposed in the specification.") | |
1dd26275 | 914 | (license license:lgpl2.1+))) |
27477d2d | 915 | |
7d3f3651 AE |
916 | (define-public gnome-icon-theme |
917 | (package | |
918 | (name "gnome-icon-theme") | |
b32f58dd | 919 | (version "3.12.0") |
7d3f3651 AE |
920 | (source |
921 | (origin | |
922 | (method url-fetch) | |
923 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 924 | (version-major+minor version) "/" |
7d3f3651 AE |
925 | name "-" version ".tar.xz")) |
926 | (sha256 | |
927 | (base32 | |
b32f58dd | 928 | "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im")))) |
7d3f3651 | 929 | (build-system gnu-build-system) |
5613c27d SB |
930 | (arguments |
931 | '(#:configure-flags | |
932 | ;; Don't create 'icon-theme.cache'. | |
933 | (let* ((coreutils (assoc-ref %build-inputs "coreutils")) | |
934 | (true (string-append coreutils "/bin/true"))) | |
935 | (list (string-append "GTK_UPDATE_ICON_CACHE=" true))))) | |
c4c4cc05 | 936 | (native-inputs |
5613c27d | 937 | `(("icon-naming-utils" ,icon-naming-utils) |
73b6cf42 SB |
938 | ("intltool" ,intltool) |
939 | ("pkg-config" ,pkg-config))) | |
f032d0be | 940 | (home-page "https://art.gnome.org/") |
7d3f3651 AE |
941 | (synopsis |
942 | "GNOME icon theme") | |
943 | (description | |
944 | "Icons for the GNOME desktop.") | |
1dd26275 | 945 | (license license:lgpl3))) ; or Creative Commons BY-SA 3.0 |
7d3f3651 | 946 | |
14eeefa2 SB |
947 | ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0. |
948 | (define-public adwaita-icon-theme | |
949 | (package (inherit gnome-icon-theme) | |
950 | (name "adwaita-icon-theme") | |
412e5302 | 951 | (version "3.30.1") |
14eeefa2 SB |
952 | (source (origin |
953 | (method url-fetch) | |
954 | (uri (string-append "mirror://gnome/sources/" name "/" | |
955 | (version-major+minor version) "/" | |
956 | name "-" version ".tar.xz")) | |
957 | (sha256 | |
958 | (base32 | |
412e5302 | 959 | "1kp1lis3dr16jmlgycz1b29jsr6ir8wmqj6laqwlhs663cmjlxbd")))) |
5613c27d SB |
960 | (native-inputs |
961 | `(("gtk-encode-symbolic-svg" ,gtk+ "bin"))))) | |
14eeefa2 | 962 | |
ae792dba RW |
963 | (define-public tango-icon-theme |
964 | (package | |
965 | (name "tango-icon-theme") | |
966 | (version "0.8.90") | |
967 | (source (origin | |
968 | (method url-fetch) | |
969 | (uri (string-append "http://tango.freedesktop.org/releases/" | |
970 | "tango-icon-theme-" version ".tar.bz2")) | |
971 | (sha256 | |
972 | (base32 | |
973 | "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79")))) | |
974 | (build-system gnu-build-system) | |
975 | (native-inputs | |
976 | `(("icon-naming-utils" ,icon-naming-utils) | |
977 | ("intltool" ,intltool) | |
978 | ("imagemagick" ,imagemagick) | |
979 | ("pkg-config" ,pkg-config))) | |
980 | (home-page "http://tango-project.org/") | |
981 | (synopsis "Tango icon theme") | |
982 | (description "This is an icon theme that follows the Tango visual | |
983 | guidelines.") | |
984 | (license license:public-domain))) | |
985 | ||
9167f8e6 LC |
986 | (define-public shared-mime-info |
987 | (package | |
988 | (name "shared-mime-info") | |
18138ab9 | 989 | (version "1.10") |
9167f8e6 LC |
990 | (source (origin |
991 | (method url-fetch) | |
5cc3096c | 992 | (uri (string-append "https://freedesktop.org/~hadess/" |
b38e45d8 | 993 | "shared-mime-info-" version ".tar.xz")) |
9167f8e6 LC |
994 | (sha256 |
995 | (base32 | |
18138ab9 | 996 | "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6")))) |
9167f8e6 LC |
997 | (build-system gnu-build-system) |
998 | (arguments | |
999 | ;; The build system appears not to be parallel-safe. | |
1000 | '(#:parallel-build? #f)) | |
1001 | (inputs | |
1002 | `(("glib" ,glib) | |
c4c4cc05 | 1003 | ("libxml2" ,libxml2))) |
9167f8e6 | 1004 | (native-inputs |
c4c4cc05 JD |
1005 | `(("intltool" ,intltool) |
1006 | ("pkg-config" ,pkg-config))) | |
57e7d748 | 1007 | (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info") |
9167f8e6 LC |
1008 | (synopsis "Database of common MIME types") |
1009 | (description | |
1010 | "The shared-mime-info package contains the core database of common types | |
1011 | and the update-mime-database command used to extend it. It requires glib2 to | |
1012 | be installed for building the update command. Additionally, it uses intltool | |
1013 | for translations, though this is only a dependency for the maintainers. This | |
1014 | database is translated at Transifex.") | |
1dd26275 | 1015 | (license license:gpl2+))) |
9167f8e6 | 1016 | |
dd1fcddc CB |
1017 | (define-public system-config-printer |
1018 | (package | |
1019 | (name "system-config-printer") | |
1020 | (version "1.5.11") | |
1021 | (source (origin | |
1022 | (method url-fetch) | |
1023 | (uri (string-append | |
1024 | "https://github.com/zdohnal/system-config-printer/releases/" | |
1025 | "download/" version | |
1026 | "/system-config-printer-" version ".tar.xz")) | |
1027 | (sha256 | |
1028 | (base32 | |
1029 | "1lq0q51bhanirpjjvvh4xiafi8hgpk8r32h0dj6dn3f32z8pib9q")))) | |
1030 | (build-system glib-or-gtk-build-system) | |
1031 | (arguments | |
1032 | `(#:imported-modules ((guix build python-build-system) | |
1033 | ,@%glib-or-gtk-build-system-modules) | |
1034 | #:phases | |
1035 | (modify-phases %standard-phases | |
1036 | (add-after 'unpack 'patch-Makefile.am | |
1037 | (lambda _ | |
1038 | ;; The Makefile generates some scripts, so set a valid shebang | |
1039 | (substitute* "Makefile.am" | |
1040 | (("/bin/bash") (which "bash"))) | |
1041 | (delete-file "configure") | |
1042 | #t)) | |
1043 | (add-after 'unpack 'patch-docbook-xml | |
1044 | (lambda* (#:key inputs #:allow-other-keys) | |
1045 | ;; Modify the man XML otherwise xmlto tries to access the network | |
1046 | (substitute* "man/system-config-printer.xml" | |
1047 | (("http://www.oasis-open.org/docbook/xml/4.1.2/") | |
1048 | (string-append (assoc-ref inputs "docbook-xml") | |
1049 | "/xml/dtd/docbook/"))) | |
1050 | #t)) | |
1051 | (add-after 'install 'wrap-for-python | |
1052 | (@@ (guix build python-build-system) wrap)) | |
1053 | (add-after 'install 'wrap | |
1054 | (lambda* (#:key outputs #:allow-other-keys) | |
1055 | (let ((out (assoc-ref outputs "out")) | |
1056 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
1057 | (for-each | |
1058 | (lambda (program) | |
1059 | (wrap-program program | |
1060 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
1061 | (map (lambda (name) | |
1062 | (string-append out "/bin/" name)) | |
1063 | '("system-config-printer" | |
1064 | "system-config-printer-applet" | |
1065 | "install-printerdriver" | |
1066 | "scp-dbus-service")))) | |
1067 | #t))))) | |
1068 | (inputs | |
1069 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1070 | ("gobject-introspection" ,gobject-introspection) | |
1071 | ("python" ,python) | |
1072 | ("cups" ,cups) | |
1073 | ("python-dbus" ,python-dbus) | |
1074 | ("python-pygobject" ,python-pygobject) | |
1075 | ("python-pycups" ,python-pycups) | |
1076 | ("python-requests" ,python-requests) | |
1077 | ("python-pycairo" ,python-pycairo) | |
1078 | ("libnotify" ,libnotify) | |
1079 | ("packagekit" ,packagekit))) | |
1080 | (native-inputs | |
1081 | `(("pkg-config" ,pkg-config) | |
1082 | ("desktop-file-utils" ,desktop-file-utils) | |
1083 | ("glib" ,glib) | |
1084 | ("autoconf" ,autoconf) | |
1085 | ("automake" ,automake) | |
1086 | ("intltool" ,intltool) | |
1087 | ("xmlto" ,xmlto) | |
1088 | ("docbook-xml" ,docbook-xml-4.1.2) | |
1089 | ("docbook-xsl" ,docbook-xsl) | |
1090 | ("libxml2" ,libxml2))) | |
1091 | (home-page "https://github.com/zdohnal/system-config-printer") | |
1092 | (synopsis "CUPS administration tool") | |
1093 | (description | |
1094 | "system-config-printer is a CUPS administration tool. It's written in | |
1095 | Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when | |
1096 | configuring CUPS.") | |
1097 | (license license:gpl2+))) | |
1098 | ||
bef4dd92 AE |
1099 | (define-public hicolor-icon-theme |
1100 | (package | |
1101 | (name "hicolor-icon-theme") | |
851cb6dd | 1102 | (version "0.17") |
bef4dd92 AE |
1103 | (source |
1104 | (origin | |
1105 | (method url-fetch) | |
5cc3096c | 1106 | (uri (string-append "https://icon-theme.freedesktop.org/releases/" |
b62a0070 | 1107 | "hicolor-icon-theme-" version ".tar.xz")) |
bef4dd92 AE |
1108 | (sha256 |
1109 | (base32 | |
851cb6dd | 1110 | "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i")))) |
bef4dd92 AE |
1111 | (build-system gnu-build-system) |
1112 | (arguments | |
1113 | `(#:tests? #f)) ; no check target | |
57e7d748 | 1114 | (home-page "https://icon-theme.freedesktop.org/releases/") |
bef4dd92 AE |
1115 | (synopsis |
1116 | "Freedesktop icon theme") | |
1117 | (description | |
1118 | "Freedesktop icon theme.") | |
1dd26275 | 1119 | (license license:gpl2))) |
bef4dd92 | 1120 | |
d9c1a22b AE |
1121 | (define-public libnotify |
1122 | (package | |
1123 | (name "libnotify") | |
195bfa68 | 1124 | (version "0.7.7") |
d9c1a22b AE |
1125 | (source |
1126 | (origin | |
1127 | (method url-fetch) | |
1128 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 1129 | (version-major+minor version) "/" |
d9c1a22b AE |
1130 | name "-" version ".tar.xz")) |
1131 | (sha256 | |
1132 | (base32 | |
195bfa68 | 1133 | "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w")))) |
d9c1a22b | 1134 | (build-system gnu-build-system) |
6acf6cec MB |
1135 | (arguments |
1136 | `(#:configure-flags '("--disable-static"))) | |
7ef08efa UK |
1137 | (propagated-inputs |
1138 | `(;; In Requires of libnotify.pc. | |
1139 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1140 | ("glib" ,glib))) | |
d9c1a22b | 1141 | (inputs |
7ef08efa | 1142 | `(("gtk+" ,gtk+) |
c4c4cc05 JD |
1143 | ("libpng" ,libpng))) |
1144 | (native-inputs | |
426adbe8 | 1145 | `(("pkg-config" ,pkg-config) |
277a7d82 JN |
1146 | ("glib" ,glib "bin") |
1147 | ("gobject-introspection" ,gobject-introspection))) | |
d9c1a22b AE |
1148 | (home-page "https://developer-next.gnome.org/libnotify/") |
1149 | (synopsis | |
1150 | "GNOME desktop notification library") | |
1151 | (description | |
1152 | "Libnotify is a library that sends desktop notifications to a | |
35b9e423 | 1153 | notification daemon, as defined in the Desktop Notifications spec. These |
d9c1a22b AE |
1154 | notifications can be used to inform the user about an event or display |
1155 | some form of information without getting in the user's way.") | |
1dd26275 | 1156 | (license license:lgpl2.1+))) |
7a8605ce CR |
1157 | |
1158 | (define-public libpeas | |
1159 | (package | |
1160 | (name "libpeas") | |
db122a9b | 1161 | (version "1.22.0") |
7a8605ce CR |
1162 | (source |
1163 | (origin | |
1164 | (method url-fetch) | |
1165 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 1166 | (version-major+minor version) "/" |
7a8605ce CR |
1167 | name "-" version ".tar.xz")) |
1168 | (sha256 | |
1169 | (base32 | |
db122a9b | 1170 | "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv")))) |
7a8605ce | 1171 | (build-system gnu-build-system) |
7a8605ce | 1172 | (inputs |
2ed6522a SB |
1173 | `(("gtk+" ,gtk+) |
1174 | ("glade" ,glade3) | |
2ed6522a SB |
1175 | ("python" ,python) |
1176 | ("python-pygobject" ,python-pygobject))) | |
141aed80 LC |
1177 | (native-inputs |
1178 | `(("pkg-config" ,pkg-config) | |
93622993 | 1179 | ("glib:bin" ,glib "bin") |
141aed80 LC |
1180 | ("gobject-introspection" ,gobject-introspection) |
1181 | ("intltool" ,intltool))) | |
55b7bbd8 LC |
1182 | (propagated-inputs |
1183 | ;; The .pc file "Requires" gobject-introspection. | |
1184 | `(("gobject-introspection" ,gobject-introspection))) | |
7a8605ce CR |
1185 | (home-page "https://wiki.gnome.org/Libpeas") |
1186 | (synopsis "GObject plugin system") | |
1187 | (description | |
d1e4ad1b TGR |
1188 | "Libpeas is a gobject-based plugin engine, targeted at giving every |
1189 | application the chance to assume its own extensibility. It also has a set of | |
1190 | features including, but not limited to: multiple extension points; on-demand | |
1191 | (lazy) programming language support for C, Python and JS; simplicity of the | |
1192 | API.") | |
1dd26275 | 1193 | (license license:lgpl2.0+))) |
ed19903d JD |
1194 | |
1195 | (define-public gtkglext | |
1196 | (package | |
1197 | (name "gtkglext") | |
1198 | (version "1.2.0") | |
1199 | (source (origin | |
1200 | (method url-fetch) | |
0f971a04 | 1201 | (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/" |
ed19903d JD |
1202 | version "/gtkglext-" version ".tar.gz")) |
1203 | (sha256 | |
1204 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
fc1adab1 AK |
1205 | (patches (search-patches |
1206 | "gtkglext-disable-disable-deprecated.patch")))) | |
ed19903d | 1207 | (build-system gnu-build-system) |
14e2f61a RW |
1208 | (arguments |
1209 | `(#:phases | |
1210 | (modify-phases %standard-phases | |
1211 | ;; Fix a collision between a local variable and a definition from | |
1212 | ;; glibc's string.h. | |
1213 | (add-after 'unpack 'fix-collision | |
1214 | (lambda _ | |
1215 | (substitute* "gdk/gdkglshapes.c" | |
1216 | ((" index") " triangle_index")) | |
1217 | #t))))) | |
ed19903d JD |
1218 | (inputs `(("gtk+" ,gtk+-2) |
1219 | ("mesa" ,mesa) | |
cc8b02f4 | 1220 | ("glu" ,glu) |
ed19903d JD |
1221 | ("libx11" ,libx11) |
1222 | ("libxt" ,libxt))) | |
426adbe8 LC |
1223 | (native-inputs `(("pkg-config" ,pkg-config) |
1224 | ("glib" ,glib "bin"))) | |
a83b6a06 | 1225 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 1226 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 1227 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 1228 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
1229 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
1230 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 1231 | (license license:lgpl2.1+))) |
3600420e JD |
1232 | |
1233 | (define-public glade3 | |
1234 | (package | |
1235 | (name "glade") | |
c6571adb | 1236 | (version "3.22.1") |
b38e45d8 EB |
1237 | (source (origin |
1238 | (method url-fetch) | |
1239 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1240 | (version-major+minor version) "/" | |
f5ca44b8 | 1241 | name "-" version ".tar.xz")) |
3600420e | 1242 | (sha256 |
f714d9fe | 1243 | (base32 |
c6571adb | 1244 | "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z")))) |
6983ba56 | 1245 | (build-system glib-or-gtk-build-system) |
f5ca44b8 RW |
1246 | (arguments |
1247 | `(#:tests? #f ; needs X, GL, and software rendering | |
1248 | #:phases | |
1249 | (modify-phases %standard-phases | |
1250 | (add-before 'configure 'fix-docbook | |
1251 | (lambda* (#:key inputs #:allow-other-keys) | |
1252 | (substitute* "man/Makefile.in" | |
1253 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
1254 | (string-append (assoc-ref inputs "docbook-xsl") | |
1255 | "/xml/xsl/docbook-xsl-" | |
1256 | ,(package-version docbook-xsl) | |
1257 | "/manpages/docbook.xsl"))) | |
1258 | #t))))) | |
3600420e | 1259 | (inputs |
f5ca44b8 | 1260 | `(("gtk+" ,gtk+) |
3600420e JD |
1261 | ("libxml2" ,libxml2))) |
1262 | (native-inputs | |
1263 | `(("intltool" ,intltool) | |
f5ca44b8 RW |
1264 | ("itstool" ,itstool) |
1265 | ("libxslt" ,libxslt) ;for xsltproc | |
1266 | ("docbook-xml" ,docbook-xml-4.2) | |
1267 | ("docbook-xsl" ,docbook-xsl) | |
1268 | ("python" ,python-2) | |
3600420e JD |
1269 | ("pkg-config" ,pkg-config))) |
1270 | (home-page "https://glade.gnome.org") | |
1271 | (synopsis "GTK+ rapid application development tool") | |
1272 | (description "Glade is a rapid application development (RAD) tool to | |
1273 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
1274 | the GNOME desktop environment.") | |
1dd26275 LC |
1275 | (license license:lgpl2.0+))) |
1276 | ||
1277 | (define-public libcroco | |
1278 | (package | |
1279 | (name "libcroco") | |
8bdacad2 | 1280 | (version "0.6.13") |
1dd26275 LC |
1281 | (source (origin |
1282 | (method url-fetch) | |
b38e45d8 EB |
1283 | (uri (string-append "mirror://gnome/sources/" name "/" |
1284 | (version-major+minor version) "/" | |
1285 | name "-" version ".tar.xz")) | |
1dd26275 LC |
1286 | (sha256 |
1287 | (base32 | |
8bdacad2 | 1288 | "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn")))) |
1dd26275 LC |
1289 | (build-system gnu-build-system) |
1290 | (native-inputs | |
1291 | `(("pkg-config" ,pkg-config))) | |
1292 | (inputs | |
1293 | `(("glib" ,glib) | |
1294 | ("libxml2" ,libxml2) | |
1295 | ("zlib" ,zlib))) | |
1296 | (home-page "https://github.com/GNOME/libcroco") | |
1297 | (synopsis "CSS2 parsing and manipulation library") | |
1298 | (description | |
1299 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
1300 | The parser provides a low level event driven SAC-like API and a CSS object | |
1301 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
1302 | XML/CSS rendering engine.") | |
1303 | ||
1304 | ;; LGPLv2.1-only. | |
1305 | (license license:lgpl2.1))) | |
25178594 LC |
1306 | |
1307 | (define-public libgsf | |
1308 | (package | |
1309 | (name "libgsf") | |
8d1644a1 | 1310 | (version "1.14.46") |
25178594 LC |
1311 | (source (origin |
1312 | (method url-fetch) | |
b38e45d8 EB |
1313 | (uri (string-append "mirror://gnome/sources/" name "/" |
1314 | (version-major+minor version) "/" | |
1315 | name "-" version ".tar.xz")) | |
25178594 LC |
1316 | (sha256 |
1317 | (base32 | |
8d1644a1 | 1318 | "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa")))) |
25178594 LC |
1319 | (build-system gnu-build-system) |
1320 | (native-inputs | |
1321 | `(("intltool" ,intltool) | |
1322 | ("pkg-config" ,pkg-config))) | |
1323 | (inputs | |
1324 | `(("python" ,python) | |
1325 | ("zlib" ,zlib) | |
1326 | ("bzip2" ,bzip2))) | |
1327 | (propagated-inputs | |
1328 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
1329 | ("glib" ,glib) | |
1330 | ("libxml2" ,libxml2))) | |
f032d0be | 1331 | (home-page "https://www.gnome.org/projects/libgsf") |
25178594 LC |
1332 | (synopsis "GNOME's Structured File Library") |
1333 | (description | |
1334 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
1335 | dealing with different structured file formats.") | |
1336 | ||
1337 | ;; LGPLv2.1-only. | |
1338 | (license license:lgpl2.1))) | |
63016e7c LC |
1339 | |
1340 | (define-public librsvg | |
f67417a1 MB |
1341 | (package |
1342 | (name "librsvg") | |
1343 | (version "2.40.20") | |
1344 | (source (origin | |
1345 | (method url-fetch) | |
1346 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1347 | (version-major+minor version) "/" | |
1348 | name "-" version ".tar.xz")) | |
1349 | (sha256 | |
1350 | (base32 | |
1351 | "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g")))) | |
1352 | (build-system gnu-build-system) | |
1353 | (arguments | |
1354 | `(#:configure-flags | |
1355 | (list "--disable-static" | |
1356 | "--enable-vala") ; needed for e.g. gnome-mines | |
1357 | #:phases | |
1358 | (modify-phases %standard-phases | |
1359 | (add-before 'configure 'pre-configure | |
1360 | (lambda* (#:key inputs #:allow-other-keys) | |
1361 | (substitute* "gdk-pixbuf-loader/Makefile.in" | |
1362 | ;; By default the gdk-pixbuf loader is installed under | |
1363 | ;; gdk-pixbuf's prefix. Work around that. | |
1364 | (("gdk_pixbuf_moduledir = .*$") | |
1365 | (string-append "gdk_pixbuf_moduledir = " | |
1366 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" | |
1367 | "loaders\n")) | |
1368 | ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg. | |
1369 | (("gdk_pixbuf_cache_file = .*$") | |
1370 | "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")) | |
1371 | #t)) | |
1372 | (add-before 'check 'remove-failing-tests | |
1373 | (lambda _ | |
1374 | (with-directory-excursion "tests/fixtures/reftests" | |
1375 | (for-each delete-file | |
1376 | '(;; This test fails on i686: | |
1377 | "svg1.1/masking-path-04-b.svg" | |
1378 | ;; This test fails on armhf: | |
1379 | "svg1.1/masking-mask-01-b.svg" | |
1380 | ;; This test fails on aarch64: | |
1381 | "bugs/777834-empty-text-children.svg"))) | |
1382 | #t))))) | |
1383 | (native-inputs | |
1384 | `(("pkg-config" ,pkg-config) | |
1385 | ("vala" ,vala) | |
1386 | ("glib" ,glib "bin") ; glib-mkenums, etc. | |
1387 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. | |
1388 | (inputs | |
1389 | `(("pango" ,pango) | |
1390 | ("libcroco" ,libcroco) | |
1391 | ("bzip2" ,bzip2) | |
1392 | ("libgsf" ,libgsf) | |
1393 | ("libxml2" ,libxml2))) | |
1394 | (propagated-inputs | |
1395 | ;; librsvg-2.0.pc refers to all of that. | |
1396 | `(("cairo" ,cairo) | |
1397 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1398 | ("glib" ,glib))) | |
1399 | (home-page "https://wiki.gnome.org/LibRsvg") | |
1400 | (synopsis "Render SVG files using Cairo") | |
1401 | (description | |
1402 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics | |
1403 | library.") | |
1404 | (license license:lgpl2.0+))) | |
1405 | ||
1406 | (define-public librsvg-next | |
63016e7c LC |
1407 | (package |
1408 | (name "librsvg") | |
64855281 | 1409 | (version "2.46.0") |
63016e7c LC |
1410 | (source (origin |
1411 | (method url-fetch) | |
b3820edc | 1412 | (uri (string-append "mirror://gnome/sources/librsvg/" |
b38e45d8 | 1413 | (version-major+minor version) "/" |
b3820edc | 1414 | "librsvg-" version ".tar.xz")) |
63016e7c LC |
1415 | (sha256 |
1416 | (base32 | |
64855281 | 1417 | "1la3az2af2ccm6rp86b6wh0kq7kxzl4n8pli5qxhyic1rd91xj4n")))) |
63016e7c LC |
1418 | (build-system gnu-build-system) |
1419 | (arguments | |
d953418a RW |
1420 | `(#:configure-flags |
1421 | (list "--disable-static" | |
1422 | "--enable-vala") ; needed for e.g. gnome-mines | |
7e0f4cb1 | 1423 | #:make-flags '("CC=gcc") |
ec47c07d | 1424 | #:phases |
b6239e45 | 1425 | (modify-phases %standard-phases |
ec47c07d MB |
1426 | ;; Don't patch anything in vendor/ to avoid having to recompute |
1427 | ;; checksums for the bundled Cargo "crates". TODO: Unbundle those. | |
1428 | (delete 'patch-source-shebangs) | |
1429 | (delete 'patch-generated-file-shebangs) | |
1430 | (delete 'patch-usr-bin-file) | |
1431 | (add-before 'configure 'patch-all-the-things | |
1432 | (lambda _ | |
1433 | (for-each patch-shebang '("tap-driver.sh" "tap-test")) | |
1434 | (patch-/usr/bin/file "configure") | |
64855281 | 1435 | (patch-makefile-SHELL "po/Makefile.in.in") |
ec47c07d | 1436 | #t)) |
b6239e45 EF |
1437 | (add-before 'configure 'pre-configure |
1438 | (lambda* (#:key inputs #:allow-other-keys) | |
1439 | (substitute* "gdk-pixbuf-loader/Makefile.in" | |
1440 | ;; By default the gdk-pixbuf loader is installed under | |
1441 | ;; gdk-pixbuf's prefix. Work around that. | |
1442 | (("gdk_pixbuf_moduledir = .*$") | |
1443 | (string-append "gdk_pixbuf_moduledir = " | |
1444 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" | |
1445 | "loaders\n")) | |
1446 | ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg. | |
1447 | (("gdk_pixbuf_cache_file = .*$") | |
1448 | "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")) | |
1449 | #t)) | |
ec47c07d | 1450 | (add-before 'check 'remove-failing-tests |
b6239e45 | 1451 | (lambda _ |
64a153bd MW |
1452 | (with-directory-excursion "tests/fixtures/reftests" |
1453 | (for-each delete-file | |
ec47c07d MB |
1454 | '(;; The images produced by these tests differ slightly |
1455 | ;; from their reference counterparts due to differences | |
1456 | ;; in the build environment (missing fonts, etc). See | |
1457 | ;; <tests/README.md> for details. | |
1458 | ;; These fail on x86_64. | |
1459 | "svg1.1/coords-viewattr-02-b.svg" | |
1460 | "svg1.1/filters-composite-04-f.svg" | |
1461 | "svg1.1/filters-image-01-b.svg" | |
1462 | "svg1.1/filters-conv-02-f.svg" | |
1463 | "svg1.1/filters-conv-04-f.svg" | |
1464 | ;; This test fails on i686: | |
64a153bd | 1465 | "svg1.1/masking-path-04-b.svg" |
64a153bd MW |
1466 | ;; This test fails on armhf: |
1467 | "svg1.1/masking-mask-01-b.svg" | |
64a153bd | 1468 | ;; This test fails on aarch64: |
ec47c07d | 1469 | "bugs/777834-empty-text-children.svg"))) |
b6239e45 | 1470 | #t))))) |
63016e7c LC |
1471 | (native-inputs |
1472 | `(("pkg-config" ,pkg-config) | |
64855281 MB |
1473 | ;; This is the minimum supported Rust version in Librsvg 2.46. |
1474 | ("rust" ,rust-1.34) | |
1475 | ("cargo" ,rust-1.34 "cargo") | |
d953418a | 1476 | ("vala" ,vala) |
44add1ce | 1477 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
1478 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
1479 | (inputs | |
1480 | `(("pango" ,pango) | |
1481 | ("libcroco" ,libcroco) | |
1482 | ("bzip2" ,bzip2) | |
1483 | ("libgsf" ,libgsf) | |
1484 | ("libxml2" ,libxml2))) | |
1485 | (propagated-inputs | |
1486 | ;; librsvg-2.0.pc refers to all of that. | |
1487 | `(("cairo" ,cairo) | |
1488 | ("gdk-pixbuf" ,gdk-pixbuf) | |
1489 | ("glib" ,glib))) | |
1490 | (home-page "https://wiki.gnome.org/LibRsvg") | |
1491 | (synopsis "Render SVG files using Cairo") | |
1492 | (description | |
35b9e423 | 1493 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
1494 | library.") |
1495 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
1496 | |
1497 | (define-public libidl | |
1498 | (package | |
1499 | (name "libidl") | |
1500 | (version "0.8.14") | |
1501 | (source (origin | |
1502 | (method url-fetch) | |
1503 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
1504 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1505 | (version-major+minor version) "/" | |
1506 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1507 | (sha256 |
1508 | (base32 | |
1509 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
1510 | (build-system gnu-build-system) | |
1511 | (inputs `(("glib" ,glib))) | |
1512 | (native-inputs | |
1513 | `(("pkg-config" ,pkg-config) | |
b3546174 | 1514 | ("flex" ,flex) |
5698b8b8 JD |
1515 | ("bison" ,bison))) |
1516 | (home-page "http://freecode.com/projects/libidl") | |
1517 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 1518 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
1519 | Definition Language (idl) files, which is a specification for defining |
1520 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 1521 | GNOME project, and the primary means of libidl distribution). However, the |
2e6ecc5c | 1522 | functionality was designed to be as reusable and portable as possible.") |
5698b8b8 JD |
1523 | (license license:lgpl2.0+))) |
1524 | ||
1525 | ||
1526 | (define-public orbit2 | |
1527 | (package | |
1528 | (name "orbit2") | |
1529 | (version "2.14.19") | |
1530 | (source (origin | |
1531 | (method url-fetch) | |
2e6ecc5c | 1532 | (uri (let ((upstream-name "ORBit2")) |
a124bbd2 | 1533 | (string-append "mirror://gnome/sources/" upstream-name "/" |
b38e45d8 EB |
1534 | (version-major+minor version) "/" |
1535 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 | 1536 | (sha256 |
a124bbd2 SB |
1537 | (base32 |
1538 | "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
5698b8b8 JD |
1539 | (build-system gnu-build-system) |
1540 | (arguments | |
a124bbd2 | 1541 | `(#:configure-flags |
8aad2e32 LC |
1542 | '(;; We don't need static libraries, plus they don't build reproducibly |
1543 | ;; (non-deterministic ordering of .o files in the archive.) | |
1544 | "--disable-static" | |
1545 | ||
1546 | ;; The programmer kindly gives us a hook to turn off deprecation | |
1547 | ;; warnings ... | |
1548 | "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
a124bbd2 SB |
1549 | ;; ... which they then completly ignore !! |
1550 | #:phases | |
dc1d3cde KK |
1551 | (modify-phases %standard-phases |
1552 | (add-before 'configure 'ignore-deprecations | |
1553 | (lambda _ | |
1554 | (substitute* "linc2/src/Makefile.in" | |
1555 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1556 | #t))))) | |
5698b8b8 JD |
1557 | (inputs `(("glib" ,glib) |
1558 | ("libidl" ,libidl))) | |
1559 | (native-inputs | |
1560 | `(("pkg-config" ,pkg-config))) | |
1561 | (home-page "https://projects.gnome.org/orbit2/") | |
1562 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 1563 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
2e6ecc5c | 1564 | featuring mature C, C++ and Python bindings.") |
a124bbd2 SB |
1565 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving |
1566 | ;; a version. SOME of the code files have licence notices for GPLv2+. | |
1567 | ;; The tarball contains files of the text of GPLv2 and LGPLv2. | |
892307ae LC |
1568 | (license license:gpl2+) |
1569 | (properties `((upstream-name . "ORBit2"))))) | |
5698b8b8 JD |
1570 | |
1571 | ||
1572 | (define-public libbonobo | |
1573 | (package | |
1574 | (name "libbonobo") | |
1575 | (version "2.32.1") | |
1576 | (source (origin | |
1577 | (method url-fetch) | |
5becd025 | 1578 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 1579 | (version-major+minor version) |
5becd025 | 1580 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 1581 | (sha256 |
f1fc45a9 | 1582 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
fc1adab1 AK |
1583 | (patches (search-patches |
1584 | "libbonobo-activation-test-race.patch")))) | |
5698b8b8 JD |
1585 | (build-system gnu-build-system) |
1586 | (arguments | |
1587 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
1588 | `(#:configure-flags |
1589 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
1590 | ;; ... which they then completly ignore !! | |
1591 | #:phases | |
dc1d3cde KK |
1592 | (modify-phases %standard-phases |
1593 | (add-before 'configure 'ignore-deprecations | |
1594 | (lambda _ | |
1595 | (substitute* "activation-server/Makefile.in" | |
1596 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
994b5b1d LC |
1597 | #t))) |
1598 | ||
1599 | ;; There's apparently a race condition between the server stub | |
1600 | ;; generation and linking of the example under 'samples/echo' that can | |
1601 | ;; lead do undefined references when building in parallel, as reported | |
1602 | ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>. | |
1603 | ;; Thus, disable parallel builds. | |
1604 | #:parallel-build? #f)) | |
5698b8b8 JD |
1605 | (inputs `(("popt" ,popt) |
1606 | ("libxml2" ,libxml2))) | |
1607 | ;; The following are Required by the .pc file | |
44add1ce | 1608 | (propagated-inputs |
5698b8b8 JD |
1609 | `(("glib" ,glib) |
1610 | ("orbit2" ,orbit2))) | |
1611 | (native-inputs | |
1612 | `(("intltool" ,intltool) | |
1613 | ("pkg-config" ,pkg-config) | |
221ed17a | 1614 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1615 | ("flex" ,flex) |
1616 | ("bison" ,bison))) | |
1617 | (home-page "https://developer.gnome.org/libbonobo/") | |
1618 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
1619 | (description "Bonobo is a framework for creating reusable components for | |
2e6ecc5c | 1620 | use in GNOME applications, built on top of CORBA.") |
5698b8b8 JD |
1621 | ;; Licence not explicitly stated. Source files contain no licence notices. |
1622 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
1623 | ;; GPLv2 covers both conditions | |
1624 | (license license:gpl2+))) | |
1625 | ||
1626 | ||
1627 | (define-public gconf | |
1628 | (package | |
1629 | (name "gconf") | |
1630 | (version "3.2.6") | |
1631 | (source (origin | |
1632 | (method url-fetch) | |
a124bbd2 SB |
1633 | (uri |
1634 | (let ((upstream-name "GConf")) | |
1635 | (string-append "mirror://gnome/sources/" upstream-name "/" | |
b38e45d8 EB |
1636 | (version-major+minor version) "/" |
1637 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
1638 | (sha256 |
1639 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
1640 | (build-system gnu-build-system) | |
2e88d113 | 1641 | (inputs `(("dbus-glib" ,dbus-glib) |
5698b8b8 | 1642 | ("libxml2" ,libxml2))) |
2e6ecc5c AE |
1643 | (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file |
1644 | ("orbit2" ,orbit2))) | |
5698b8b8 JD |
1645 | (native-inputs |
1646 | `(("intltool" ,intltool) | |
221ed17a | 1647 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1648 | ("pkg-config" ,pkg-config))) |
1649 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
1650 | (synopsis "Store application preferences") |
1651 | (description "Gconf is a system for storing application preferences. It | |
1652 | is intended for user preferences; not arbitrary data storage.") | |
29d2f451 LC |
1653 | (license license:lgpl2.0+) |
1654 | (properties '((upstream-name . "GConf"))))) | |
5698b8b8 JD |
1655 | |
1656 | ||
1657 | (define-public gnome-mime-data | |
1658 | (package | |
1659 | (name "gnome-mime-data") | |
1660 | (version "2.18.0") | |
1661 | (source (origin | |
1662 | (method url-fetch) | |
b38e45d8 EB |
1663 | (uri (string-append "mirror://gnome/sources/" name "/" |
1664 | (version-major+minor version) "/" | |
1665 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1666 | (sha256 |
1667 | (base32 | |
1668 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
1669 | (build-system gnu-build-system) | |
1670 | (native-inputs | |
1671 | `(("perl" ,perl) | |
1672 | ("intltool" ,intltool))) | |
3e6add96 LC |
1673 | (arguments |
1674 | '(#:phases (modify-phases %standard-phases | |
1675 | (add-after 'configure 'use-our-intltool | |
1676 | (lambda _ | |
1677 | ;; Do not use the bundled intltool commands, which lack | |
1678 | ;; the "dotless @INC" fixes of our 'intltool' package. | |
1679 | (substitute* (find-files "." "^Makefile$") | |
1680 | (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool) | |
1681 | (string-append "INTLTOOL_" tool " = intltool-" | |
1682 | (string-downcase tool) "\n"))) | |
1683 | #t))))) | |
f032d0be | 1684 | (home-page "https://www.gnome.org") |
35b9e423 | 1685 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
1686 | (description "GNOME Mime Data is a module which contains the base MIME |
1687 | and Application database for GNOME. The data stored by this module is | |
1688 | designed to be accessed through the MIME functions in GnomeVFS.") | |
1689 | (license license:gpl2+))) | |
1690 | ||
1691 | ||
1692 | (define-public gnome-vfs | |
1693 | (package | |
1694 | (name "gnome-vfs") | |
1695 | (version "2.24.4") | |
1696 | (source (origin | |
1697 | (method url-fetch) | |
b38e45d8 EB |
1698 | (uri (string-append "mirror://gnome/sources/" name "/" |
1699 | (version-major+minor version) "/" | |
1700 | name "-" version ".tar.bz2")) | |
5698b8b8 | 1701 | (sha256 |
9e12bc34 MW |
1702 | (base32 |
1703 | "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
5698b8b8 JD |
1704 | (build-system gnu-build-system) |
1705 | (arguments | |
db5127d8 | 1706 | `(#:phases |
dc1d3cde KK |
1707 | (modify-phases %standard-phases |
1708 | (add-before 'configure 'ignore-deprecations | |
1709 | (lambda _ | |
1710 | (substitute* '("libgnomevfs/Makefile.in" | |
1711 | "daemon/Makefile.in") | |
1712 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1713 | #t)) | |
1714 | (add-before 'configure 'patch-test-async-cancel-to-never-fail | |
1715 | (lambda _ | |
1716 | (substitute* "test/test-async-cancel.c" | |
1717 | (("EXIT_FAILURE") "77")) | |
1718 | #t))))) | |
2e6ecc5c | 1719 | (inputs `(("libxml2" ,libxml2) |
5698b8b8 | 1720 | ("dbus-glib" ,dbus-glib) |
5698b8b8 JD |
1721 | ("gconf" ,gconf) |
1722 | ("gnome-mime-data" ,gnome-mime-data) | |
1723 | ("zlib" ,zlib))) | |
1724 | (native-inputs | |
221ed17a EB |
1725 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1726 | ("intltool" ,intltool) | |
5698b8b8 JD |
1727 | ("pkg-config" ,pkg-config))) |
1728 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 1729 | (synopsis "Access files and folders in GNOME applications") |
9e12bc34 MW |
1730 | (description |
1731 | "GnomeVFS is the core library used to access files and folders in GNOME | |
1732 | applications. It provides a file system abstraction which allows applications | |
1733 | to access local and remote files with a single consistent API.") | |
5698b8b8 JD |
1734 | (license license:lgpl2.0+))) |
1735 | ||
1736 | ||
1737 | ||
1738 | (define-public libgnome | |
1739 | (package | |
1740 | (name "libgnome") | |
1741 | (version "2.32.1") | |
1742 | (source (origin | |
1743 | (method url-fetch) | |
b38e45d8 EB |
1744 | (uri (string-append "mirror://gnome/sources/" name "/" |
1745 | (version-major+minor version) "/" | |
1746 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1747 | (sha256 |
1748 | (base32 | |
17c3eea7 LC |
1749 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")) |
1750 | (patches (search-patches "libgnome-encoding.patch")))) | |
5698b8b8 JD |
1751 | (build-system gnu-build-system) |
1752 | (arguments | |
1753 | `(#:phases | |
dc1d3cde KK |
1754 | (modify-phases %standard-phases |
1755 | (add-before 'configure 'enable-deprecated | |
1756 | (lambda _ | |
1757 | (substitute* "libgnome/Makefile.in" | |
1758 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1759 | #t))))) | |
25338e9f | 1760 | (inputs `(("libxml2" ,libxml2))) |
5698b8b8 | 1761 | (native-inputs |
221ed17a EB |
1762 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1763 | ("intltool" ,intltool) | |
5698b8b8 JD |
1764 | ("pkg-config" ,pkg-config))) |
1765 | ;; The following are listed as Required in the .pc file | |
1766 | ;; (except for libcanberra -- which seems to be oversight on the part | |
1767 | ;; of the upstream developers -- anything that links against libgnome, | |
1768 | ;; must also link against libcanberra | |
1769 | (propagated-inputs | |
1770 | `(("libcanberra" ,libcanberra) | |
1771 | ("libbonobo" ,libbonobo) | |
1772 | ("gconf" ,gconf) | |
a640d3d5 LC |
1773 | ("gnome-vfs" ,gnome-vfs) |
1774 | ("popt" ,popt))) ;gnome-program.h includes popt.h | |
5698b8b8 JD |
1775 | (home-page "https://developer.gnome.org/libgnome/") |
1776 | (synopsis "Useful routines for building applications") | |
1777 | (description "The libgnome library provides a number of useful routines | |
1778 | for building modern applications, including session management, activation of | |
1779 | files and URIs, and displaying help.") | |
1780 | (license license:lgpl2.0+))) | |
1781 | ||
1782 | ||
1783 | (define-public libart-lgpl | |
1784 | (package | |
1785 | (name "libart-lgpl") | |
76c9b6aa | 1786 | (version "2.3.21") |
5698b8b8 JD |
1787 | (source (origin |
1788 | (method url-fetch) | |
1789 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
1790 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1791 | (version-major+minor version) "/" | |
1792 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1793 | (sha256 |
1794 | (base32 | |
76c9b6aa | 1795 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
1796 | (build-system gnu-build-system) |
1797 | (native-inputs | |
1798 | `(("pkg-config" ,pkg-config))) | |
1799 | (home-page "https://people.gnome.org/~mathieu/libart") | |
1800 | (synopsis "2D drawing library") | |
2e6ecc5c | 1801 | (description "Libart is a 2D drawing library intended as a |
5698b8b8 JD |
1802 | high-quality vector-based 2D library with antialiasing and alpha composition.") |
1803 | (license license:lgpl2.0+))) | |
1804 | ||
1805 | ||
1806 | ||
1807 | (define-public libgnomecanvas | |
1808 | (package | |
1809 | (name "libgnomecanvas") | |
1810 | (version "2.30.3") | |
1811 | (source (origin | |
1812 | (method url-fetch) | |
b38e45d8 EB |
1813 | (uri (string-append "mirror://gnome/sources/" name "/" |
1814 | (version-major+minor version) "/" | |
1815 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
1816 | (sha256 |
1817 | (base32 | |
1818 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
1819 | (build-system gnu-build-system) | |
1820 | ;; Mentioned as Required in the .pc file | |
1821 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
1822 | ("gtk+" ,gtk+-2))) | |
1823 | (native-inputs | |
1824 | `(("intltool" ,intltool) | |
221ed17a | 1825 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1826 | ("pkg-config" ,pkg-config))) |
1827 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
1828 | (synopsis "Flexible widget for creating interactive structured graphics") | |
1829 | (description "The GnomeCanvas widget provides a flexible widget for | |
1830 | creating interactive structured graphics.") | |
1831 | (license license:lgpl2.0+))) | |
1832 | ||
eadc734e RW |
1833 | (define-public libgnomecanvasmm |
1834 | (package | |
1835 | (name "libgnomecanvasmm") | |
1836 | (version "2.26.0") | |
1837 | (source (origin | |
1838 | (method url-fetch) | |
1839 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1840 | (version-major+minor version) "/" | |
1841 | name "-" version ".tar.bz2")) | |
1842 | (sha256 | |
1843 | (base32 | |
1844 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1845 | (build-system gnu-build-system) | |
1846 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) | |
1847 | (native-inputs | |
1848 | `(("gtkmm-2" ,gtkmm-2) | |
1849 | ("pkg-config" ,pkg-config))) | |
8e933cb3 | 1850 | (home-page "https://gtkmm.org") |
eadc734e RW |
1851 | (synopsis "C++ bindings to the GNOME Canvas library") |
1852 | (description "C++ bindings to the GNOME Canvas library.") | |
1853 | (license license:lgpl2.0+))) | |
1854 | ||
5698b8b8 JD |
1855 | (define-public libgnomeui |
1856 | (package | |
1857 | (name "libgnomeui") | |
1858 | (version "2.24.5") | |
1859 | (source (origin | |
1860 | (method url-fetch) | |
b38e45d8 EB |
1861 | (uri (string-append "mirror://gnome/sources/" name "/" |
1862 | (version-major+minor version) "/" | |
1863 | name "-" version ".tar.bz2")) | |
8fa1872a | 1864 | (patches (search-patches "libgnomeui-utf8.patch")) |
5698b8b8 JD |
1865 | (sha256 |
1866 | (base32 | |
1867 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1868 | (build-system gnu-build-system) | |
1869 | ;; Mentioned as Required in the .pc file | |
0a38a497 AE |
1870 | (propagated-inputs `(("libbonoboui" ,libbonoboui) |
1871 | ("libgnome" ,libgnome) | |
1872 | ("libgnomecanvas" ,libgnomecanvas) | |
5698b8b8 | 1873 | ("libgnome-keyring" ,libgnome-keyring))) |
0a38a497 | 1874 | (inputs `(("libjpeg" ,libjpeg) |
5698b8b8 JD |
1875 | ("popt" ,popt) |
1876 | ("libbonobo" ,libbonobo) | |
1877 | ("libxml2" ,libxml2) | |
1878 | ("libglade" ,libglade))) | |
1879 | (native-inputs | |
221ed17a EB |
1880 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1881 | ("intltool" ,intltool) | |
5698b8b8 JD |
1882 | ("pkg-config" ,pkg-config))) |
1883 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1884 | (synopsis "Additional widgets for applications") | |
35b9e423 | 1885 | (description "The libgnomeui library provides additional widgets for |
e881752c AK |
1886 | applications. Many of the widgets from libgnomeui have already been |
1887 | ported to GTK+.") | |
5698b8b8 JD |
1888 | (license license:lgpl2.0+))) |
1889 | ||
1890 | (define-public libglade | |
1891 | (package | |
1892 | (name "libglade") | |
1893 | (version "2.6.4") | |
1894 | (source (origin | |
1895 | (method url-fetch) | |
b38e45d8 EB |
1896 | (uri (string-append "mirror://gnome/sources/" name "/" |
1897 | (version-major+minor version) "/" | |
1898 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1899 | (sha256 |
1900 | (base32 | |
1901 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1902 | (build-system gnu-build-system) | |
1903 | (inputs | |
92dcc23d AE |
1904 | `(("python" ,python))) ;; needed for the optional libglade-convert program |
1905 | (propagated-inputs | |
5698b8b8 | 1906 | `(("gtk+-2" ,gtk+-2) |
92dcc23d | 1907 | ("libxml2" ,libxml2))) ; required by libglade-2.0.pc |
5698b8b8 JD |
1908 | (native-inputs |
1909 | `(("pkg-config" ,pkg-config))) | |
1910 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1911 | (synopsis "Load glade interfaces and access the glade built widgets") |
1912 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1913 | graphical interfaces described in glade files and for accessing the |
1914 | widgets built in the loading process.") | |
1915 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1916 | ||
1917 | (define-public libgnomeprint | |
eb497b66 LC |
1918 | ;; This library has been deprecated since 2006; see |
1919 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1920 | (package |
1921 | (name "libgnomeprint") | |
d19db454 | 1922 | (version "2.18.8") |
5698b8b8 JD |
1923 | (source (origin |
1924 | (method url-fetch) | |
b38e45d8 EB |
1925 | (uri (string-append "mirror://gnome/sources/" name "/" |
1926 | (version-major+minor version) "/" | |
1927 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1928 | (sha256 |
1929 | (base32 | |
d19db454 | 1930 | "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h")))) |
5698b8b8 JD |
1931 | (build-system gnu-build-system) |
1932 | (inputs | |
1933 | `(("popt" ,popt) | |
1934 | ("libart-lgpl" ,libart-lgpl) | |
1935 | ("gtk+" ,gtk+-2) | |
44add1ce | 1936 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1937 | (native-inputs |
1938 | `(("intltool" ,intltool) | |
221ed17a | 1939 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1940 | ("pkg-config" ,pkg-config))) |
1941 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1942 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1943 | (description |
1944 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1945 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1946 | (license license:lgpl2.0+))) |
1947 | ||
1948 | ||
1949 | (define-public libgnomeprintui | |
eb497b66 | 1950 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1951 | (package |
1952 | (name "libgnomeprintui") | |
36053d7f | 1953 | (version "2.18.6") |
5698b8b8 JD |
1954 | (source (origin |
1955 | (method url-fetch) | |
b38e45d8 EB |
1956 | (uri (string-append "mirror://gnome/sources/" name "/" |
1957 | (version-major+minor version) "/" | |
1958 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1959 | (sha256 |
1960 | (base32 | |
36053d7f | 1961 | "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm")))) |
5698b8b8 JD |
1962 | (build-system gnu-build-system) |
1963 | ;; Mentioned as Required in the .pc file | |
1964 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1965 | (inputs `(("gtk+" ,gtk+-2) | |
1966 | ("glib" ,glib) | |
1967 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1968 | ("libgnomecanvas" ,libgnomecanvas) | |
2e6ecc5c | 1969 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1970 | (native-inputs |
1971 | `(("intltool" ,intltool) | |
1972 | ("pkg-config" ,pkg-config))) | |
1973 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1974 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1975 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1976 | (license license:lgpl2.0+))) |
1977 | ||
5698b8b8 JD |
1978 | (define-public libbonoboui |
1979 | (package | |
1980 | (name "libbonoboui") | |
1981 | (version "2.24.5") | |
1982 | (source (origin | |
1983 | (method url-fetch) | |
b38e45d8 EB |
1984 | (uri (string-append "mirror://gnome/sources/" name "/" |
1985 | (version-major+minor version) "/" | |
1986 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1987 | (sha256 |
1988 | (base32 | |
1989 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1990 | (build-system gnu-build-system) | |
1991 | (arguments | |
1992 | `(#:phases | |
dc1d3cde KK |
1993 | (modify-phases %standard-phases |
1994 | (add-before 'check 'start-xserver | |
1995 | (lambda* (#:key inputs #:allow-other-keys) | |
1996 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1997 | (disp ":1")) | |
1998 | ||
1999 | (setenv "HOME" (getcwd)) | |
2000 | (setenv "DISPLAY" disp) | |
2001 | ;; There must be a running X server and make check doesn't start one. | |
2002 | ;; Therefore we must do it. | |
2003 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))))))) | |
5698b8b8 JD |
2004 | ;; Mentioned as Required by the .pc file |
2005 | (propagated-inputs `(("libxml2" ,libxml2))) | |
2006 | (inputs | |
2007 | `(("popt" ,popt) | |
2008 | ("pangox-compat" ,pangox-compat) | |
2009 | ("libgnome" ,libgnome) | |
2010 | ("libgnomecanvas" ,libgnomecanvas) | |
2011 | ("libglade" ,libglade))) | |
2012 | (native-inputs | |
221ed17a EB |
2013 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
2014 | ("intltool" ,intltool) | |
5698b8b8 JD |
2015 | ("xorg-server" ,xorg-server) ; For running the tests |
2016 | ("pkg-config" ,pkg-config))) | |
2017 | (home-page "https://developer.gnome.org/libbonoboui/") | |
2018 | (synopsis "Some user interface controls using Bonobo") | |
2019 | (description "The Bonobo UI library provides a number of user interface | |
2020 | controls using the Bonobo component framework.") | |
2021 | (license license:lgpl2.0+))) | |
2022 | ||
fecbf86e SB |
2023 | (define-public libwnck |
2024 | (package | |
2025 | (name "libwnck") | |
6cc6e3e5 | 2026 | (version "3.30.0") |
fecbf86e SB |
2027 | (source (origin |
2028 | (method url-fetch) | |
2029 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2030 | (version-major+minor version) "/" | |
2031 | name "-" version ".tar.xz")) | |
2032 | (sha256 | |
ad9b8987 | 2033 | (base32 |
6cc6e3e5 | 2034 | "0f9lvhm3w25046dqq8xyg7nzggxpmdriwrb661nng05a8qk0svdc")))) |
fecbf86e SB |
2035 | (build-system gnu-build-system) |
2036 | (native-inputs | |
2037 | `(("pkg-config" ,pkg-config) | |
2038 | ("intltool" ,intltool))) | |
2039 | (propagated-inputs | |
427476d5 SB |
2040 | `(("gtk+" ,gtk+) |
2041 | ("libxres" ,libxres) | |
2042 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
2043 | (home-page "https://developer.gnome.org/libwnck/") |
2044 | (synopsis "Window Navigator Construction Kit") | |
2045 | (description | |
2046 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
2047 | writing pagers, tasklists, and more generally applications that are dealing | |
2048 | with window management. It tries hard to respect the Extended Window Manager | |
2049 | Hints specification (EWMH).") | |
2050 | (license license:lgpl2.0+))) | |
2051 | ||
2052 | ;; stable version for gtk2, required by xfwm4. | |
dbb7a081 | 2053 | (define-public libwnck-2 |
fecbf86e SB |
2054 | (package (inherit libwnck) |
2055 | (name "libwnck") | |
2056 | (version "2.30.7") | |
2057 | (source (origin | |
2058 | (method url-fetch) | |
2059 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2060 | (version-major+minor version) "/" | |
2061 | name "-" version ".tar.xz")) | |
2062 | (sha256 | |
2063 | (base32 | |
2064 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
2065 | (propagated-inputs | |
427476d5 SB |
2066 | `(("gtk+" ,gtk+-2) |
2067 | ("libxres" ,libxres) | |
2068 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
2069 | |
2070 | (define-public goffice | |
2071 | (package | |
2072 | (name "goffice") | |
09abffcc | 2073 | (version "0.10.46") |
b804c61e JD |
2074 | (source (origin |
2075 | (method url-fetch) | |
16243f0b | 2076 | (uri (string-append "mirror://gnome/sources/goffice/" |
b38e45d8 | 2077 | (version-major+minor version) "/" |
16243f0b | 2078 | "goffice-" version ".tar.xz")) |
b804c61e | 2079 | (sha256 |
09abffcc | 2080 | (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385")))) |
b804c61e | 2081 | (build-system gnu-build-system) |
72a06d3e | 2082 | (outputs '("out" |
355420c6 | 2083 | "doc")) ; 4.0 MiB of gtk-doc |
72a06d3e LC |
2084 | (arguments |
2085 | '(#:configure-flags (list (string-append "--with-html-dir=" | |
2086 | (assoc-ref %outputs "doc") | |
2087 | "/share/gtk-doc/html")))) | |
b804c61e JD |
2088 | (inputs |
2089 | `(("gtk+" ,gtk+) | |
2090 | ("libgsf" ,libgsf) | |
2091 | ("librsvg" ,librsvg) | |
2092 | ("libxslt" ,libxslt) | |
2093 | ("libxml2" ,libxml2))) | |
2094 | (native-inputs | |
2095 | `(("intltool" ,intltool) | |
f280cdb1 | 2096 | ("glib" ,glib "bin") |
b804c61e JD |
2097 | ("pkg-config" ,pkg-config))) |
2098 | (home-page "https://developer.gnome.org/goffice/") | |
2099 | (synopsis "Document-centric objects and utilities") | |
2100 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
2e6ecc5c | 2101 | (license |
b804c61e JD |
2102 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
2103 | ;; Note: NOT LGPL | |
2104 | (list license:gpl2 license:gpl3)))) | |
2105 | ||
c024ae36 RW |
2106 | (define-public goffice-0.8 |
2107 | (package (inherit goffice) | |
2108 | (version "0.8.17") | |
2109 | (source (origin | |
2110 | (method url-fetch) | |
2111 | (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/" | |
2112 | (version-major+minor version) "/" | |
2113 | (package-name goffice) "-" version ".tar.xz")) | |
2114 | (sha256 | |
2115 | (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n")))) | |
2116 | (arguments | |
2117 | `(#:phases | |
dc1d3cde KK |
2118 | (modify-phases %standard-phases |
2119 | (add-after 'unpack 'fix-pcre-check | |
2120 | (lambda _ | |
2121 | ;; Only glib.h can be included directly. See | |
2122 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316 | |
2123 | (substitute* "configure" | |
2124 | (("glib/gregex\\.h") "glib.h")) #t))) | |
72a06d3e LC |
2125 | |
2126 | ,@(package-arguments goffice))) | |
c024ae36 RW |
2127 | (propagated-inputs |
2128 | ;; libgoffice-0.8.pc mentions libgsf-1 | |
2129 | `(("libgsf" ,libgsf))) | |
2130 | (inputs | |
2131 | `(("gtk" ,gtk+-2) | |
2132 | ,@(alist-delete "gtk" (package-inputs goffice)))))) | |
2133 | ||
b804c61e JD |
2134 | (define-public gnumeric |
2135 | (package | |
2136 | (name "gnumeric") | |
f0517b5d | 2137 | (version "1.12.46") |
b804c61e JD |
2138 | (source (origin |
2139 | (method url-fetch) | |
b7fd0217 | 2140 | (uri (string-append "mirror://gnome/sources/gnumeric/" |
b38e45d8 | 2141 | (version-major+minor version) "/" |
b7fd0217 | 2142 | "gnumeric-" version ".tar.xz")) |
b804c61e JD |
2143 | (sha256 |
2144 | (base32 | |
f0517b5d | 2145 | "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z")))) |
bd1b1e05 | 2146 | (build-system glib-or-gtk-build-system) |
b804c61e JD |
2147 | (arguments |
2148 | `(;; The gnumeric developers don't worry much about failing tests. | |
2149 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
2e6ecc5c | 2150 | #:tests? #f |
b804c61e | 2151 | #:phases |
7bcbd40d EF |
2152 | (modify-phases %standard-phases |
2153 | (add-before | |
2154 | 'configure 'pre-conf | |
2155 | (lambda* (#:key outputs #:allow-other-keys) | |
2156 | ;; Make install tries to write into the directory of goffice | |
2157 | ;; I am informed that this only affects the possibility to embed a | |
2158 | ;; spreadsheet inside an Abiword document. So presumably when we | |
2159 | ;; package Abiword we'll have to refer it to this directory. | |
2160 | (substitute* "configure" | |
2161 | (("^GOFFICE_PLUGINS_DIR=.*") | |
2162 | (string-append "GOFFICE_PLUGINS_DIR=" | |
2163 | (assoc-ref outputs "out") | |
2164 | "/goffice/plugins")))))))) | |
b804c61e JD |
2165 | (inputs |
2166 | `(("glib" ,glib) | |
2167 | ("gtk+" ,gtk+) | |
2168 | ("goffice" ,goffice) | |
2169 | ("libgsf" ,libgsf) | |
7bcbd40d | 2170 | ("librsvg" ,librsvg) |
b804c61e | 2171 | ("libxml2" ,libxml2) |
7bcbd40d | 2172 | ("libxslt" ,libxslt) |
2e4c5457 | 2173 | ("python" ,python-2) |
6983ba56 | 2174 | ("python2-pygobject" ,python2-pygobject) |
b804c61e JD |
2175 | ("zlib" ,zlib))) |
2176 | (native-inputs | |
6983ba56 | 2177 | `(("bison" ,bison) |
1ed398d1 | 2178 | ("docbook-xml" ,docbook-xml) |
6983ba56 | 2179 | ("intltool" ,intltool) |
3a2efbc8 | 2180 | ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468> |
b9663471 | 2181 | ("glib:bin" ,glib "bin") |
b804c61e JD |
2182 | ("pkg-config" ,pkg-config))) |
2183 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
2184 | (synopsis "Spreadsheet application") |
2185 | (description | |
2186 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
2187 | interoperable with other spreadsheet applications. It has a vast array of | |
2188 | features beyond typical spreadsheet functionality, such as support for linear | |
2189 | and non-linear solvers, statistical analysis, and telecommunication | |
2190 | engineering.") | |
2191 | (license | |
b804c61e JD |
2192 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
2193 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
2194 | |
2195 | (define-public gnome-themes-standard | |
2196 | (package | |
2197 | (name "gnome-themes-standard") | |
0b7b8fb0 | 2198 | (version "3.22.3") |
6f885c05 FB |
2199 | (source |
2200 | (origin | |
2201 | (method url-fetch) | |
2e6ecc5c | 2202 | (uri (string-append "mirror://gnome/sources/" name "/" |
6f885c05 FB |
2203 | (version-major+minor version) "/" name "-" |
2204 | version ".tar.xz")) | |
2205 | (sha256 | |
2206 | (base32 | |
0b7b8fb0 | 2207 | "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31")))) |
6f885c05 | 2208 | (build-system gnu-build-system) |
8ac70c7f SB |
2209 | (arguments |
2210 | '(#:configure-flags | |
2211 | ;; Don't create 'icon-theme.cache'. | |
2212 | (let* ((coreutils (assoc-ref %build-inputs "coreutils")) | |
2213 | (true (string-append coreutils "/bin/true"))) | |
2214 | (list (string-append "GTK_UPDATE_ICON_CACHE=" true))))) | |
6f885c05 FB |
2215 | (inputs |
2216 | `(("gtk+" ,gtk+) | |
2217 | ("gtk+-2" ,gtk+-2) | |
2218 | ("librsvg" ,librsvg) | |
2219 | ("libxml2" ,libxml2) | |
2220 | ("glib" ,glib))) | |
2221 | (native-inputs | |
2222 | `(("intltool" ,intltool) | |
2223 | ("glib:bin" ,glib "bin") | |
2224 | ("pkg-config" ,pkg-config))) | |
6f885c05 FB |
2225 | (home-page "https://launchpad.net/gnome-themes-standard") |
2226 | (synopsis "Default GNOME 3 themes") | |
2227 | (description | |
2228 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
2229 | (license license:lgpl2.1+))) | |
5a659a48 | 2230 | |
df90c701 RW |
2231 | (define-public seahorse |
2232 | (package | |
2233 | (name "seahorse") | |
af561664 | 2234 | (version "3.30.1.1") |
df90c701 RW |
2235 | (source |
2236 | (origin | |
2237 | (method url-fetch) | |
2238 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2239 | (version-major+minor version) "/" name "-" | |
2240 | version ".tar.xz")) | |
2241 | (sha256 | |
2242 | (base32 | |
af561664 MÁAV |
2243 | "12x7xmwh62yl0ax90v8nkx3jqzviaz9hz2g56yml78wzww20gawy")) |
2244 | (patches (search-patches | |
2245 | "seahorse-gkr-use-0-on-empty-flags.patch")))) | |
2246 | (build-system meson-build-system) | |
2247 | (arguments | |
2248 | '(#:phases | |
2249 | (modify-phases %standard-phases | |
2250 | (add-after 'unpack 'skip-gtk-update-icon-cache | |
2251 | ;; Don't create 'icon-theme.cache'. | |
2252 | (lambda _ | |
2253 | (substitute* "build-aux/meson_post_install.py" | |
2254 | (("gtk-update-icon-cache") "true")) | |
2255 | #t))))) | |
df90c701 RW |
2256 | (inputs |
2257 | `(("gtk+" ,gtk+) | |
2258 | ("gcr" ,gcr) | |
34b979b9 | 2259 | ("gnupg" ,gnupg) |
df90c701 | 2260 | ("gpgme" ,gpgme) |
34b979b9 | 2261 | ("openldap" ,openldap) |
4a1bf090 | 2262 | ("openssh" ,openssh) |
af561664 | 2263 | ("avahi" ,avahi) |
34b979b9 EF |
2264 | ("libsecret" ,libsecret) |
2265 | ("libsoup" ,libsoup))) | |
df90c701 | 2266 | (native-inputs |
af561664 | 2267 | `(("gettext" ,gettext-minimal) |
df90c701 RW |
2268 | ("glib:bin" ,glib "bin") |
2269 | ("itstool" ,itstool) | |
bcb354ad | 2270 | ("pkg-config" ,pkg-config) |
af561664 | 2271 | ("vala" ,vala) |
bcb354ad | 2272 | ("xmllint" ,libxml2))) |
df90c701 RW |
2273 | (home-page "https://launchpad.net/gnome-themes-standard") |
2274 | (synopsis "Manage encryption keys and passwords in the GNOME keyring") | |
2275 | (description | |
2276 | "Seahorse is a GNOME application for managing encryption keys and | |
2277 | passwords in the GNOME keyring.") | |
2278 | (license license:gpl2+))) | |
2279 | ||
5a659a48 SB |
2280 | (define-public vala |
2281 | (package | |
2282 | (name "vala") | |
2d6872f6 | 2283 | (version "0.44.5") |
5a659a48 SB |
2284 | (source (origin |
2285 | (method url-fetch) | |
2286 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2287 | (version-major+minor version) "/" | |
2288 | name "-" version ".tar.xz")) | |
2289 | (sha256 | |
2290 | (base32 | |
2d6872f6 | 2291 | "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv")))) |
5a659a48 | 2292 | (build-system gnu-build-system) |
1ea90625 SB |
2293 | (arguments |
2294 | '(#:phases | |
2295 | (modify-phases %standard-phases | |
f4925a4f | 2296 | (add-before 'check 'pre-check |
1ea90625 SB |
2297 | (lambda _ |
2298 | (setenv "CC" "gcc") | |
8839b6be RW |
2299 | (substitute* "valadoc/tests/testrunner.sh" |
2300 | (("export PKG_CONFIG_PATH=" m) | |
2301 | (string-append m "$PKG_CONFIG_PATH:"))) | |
f4925a4f SB |
2302 | ;; For missing '/etc/machine-id'. |
2303 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
8839b6be | 2304 | #t))))) |
5a659a48 SB |
2305 | (native-inputs |
2306 | `(("pkg-config" ,pkg-config) | |
2307 | ("flex" ,flex) | |
2308 | ("bison" ,bison) | |
2309 | ("xsltproc" ,libxslt) | |
2310 | ("dbus" ,dbus) ; for dbus tests | |
2311 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
8839b6be RW |
2312 | (inputs |
2313 | `(("graphviz" ,graphviz))) | |
5a659a48 | 2314 | (propagated-inputs |
8839b6be | 2315 | `(("glib" ,glib))) ; required by libvala-0.40.pc |
f032d0be | 2316 | (home-page "https://live.gnome.org/Vala/") |
5a659a48 SB |
2317 | (synopsis "Compiler for the GObject type system") |
2318 | (description | |
2319 | "Vala is a programming language that aims to bring modern programming | |
2320 | language features to GNOME developers without imposing any additional runtime | |
2321 | requirements and without using a different ABI compared to applications and | |
2322 | libraries written in C.") | |
2323 | (license license:lgpl2.1+))) | |
ea57378f SB |
2324 | |
2325 | (define-public vte | |
2326 | (package | |
2327 | (name "vte") | |
838a52a5 | 2328 | (version "0.56.3") |
ea57378f SB |
2329 | (source (origin |
2330 | (method url-fetch) | |
2331 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2332 | (version-major+minor version) "/" | |
2333 | name "-" version ".tar.xz")) | |
2334 | (sha256 | |
2335 | (base32 | |
838a52a5 | 2336 | "0j166gic5znssdb9r45qazq4kb4v9fial82czand5wa8i2yd988p")))) |
ea57378f SB |
2337 | (build-system gnu-build-system) |
2338 | (native-inputs | |
2339 | `(("pkg-config" ,pkg-config) | |
2340 | ("intltool" ,intltool) | |
2341 | ("vala" ,vala) | |
2342 | ("gobject-introspection" ,gobject-introspection) | |
2343 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
73f0e1ab | 2344 | ("gperf" ,gperf) |
ea57378f SB |
2345 | ("xmllint" ,libxml2))) |
2346 | (propagated-inputs | |
302393bc | 2347 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
de1215e2 MW |
2348 | ("gnutls" ,gnutls) ;ditto |
2349 | ("pcre2" ,pcre2))) ;ditto | |
f032d0be | 2350 | (home-page "https://www.gnome.org/") |
ea57378f SB |
2351 | (synopsis "Virtual Terminal Emulator") |
2352 | (description | |
2353 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
2354 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
2355 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
2356 | editors, IDEs, etc.") | |
2357 | (license license:lgpl2.1+))) | |
2358 | ||
c44fb4df MO |
2359 | (define-public vte-ng |
2360 | (package | |
2361 | (inherit vte) | |
2362 | (name "vte-ng") | |
24f4fcbe | 2363 | (version "0.58.2.a") |
afd90f8d | 2364 | (home-page "https://github.com/thestinger/vte-ng") |
6bc00737 MB |
2365 | (source (origin |
2366 | (method git-fetch) | |
2367 | (uri (git-reference (url home-page) (commit version))) | |
2368 | (file-name (git-file-name name version)) | |
2369 | (sha256 | |
2370 | (base32 | |
24f4fcbe MB |
2371 | "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l")))) |
2372 | (build-system meson-build-system) | |
c44fb4df MO |
2373 | (native-inputs |
2374 | `(("gtk-doc" ,gtk-doc) | |
c44fb4df | 2375 | ,@(package-native-inputs vte))) |
c44fb4df | 2376 | (arguments |
24f4fcbe | 2377 | `(#:configure-flags '("-Ddocs=true"))) |
c44fb4df MO |
2378 | (synopsis "Enhanced VTE terminal widget") |
2379 | (description | |
2380 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
2381 | GTK+, this fork provides additional functions exposed for keyboard text | |
2382 | selection and URL hints."))) | |
2383 | ||
2776d72c EF |
2384 | ;; provides vte 2.90, required for some terminal emulators |
2385 | ;; tilda bug: https://github.com/lanoxx/tilda/issues/94 | |
2386 | ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021 | |
2387 | ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/ | |
2388 | ;; pantheon-terminal, roxterm are not currently packaged | |
2389 | (define-public vte-0.36 | |
2390 | (package (inherit vte) | |
2391 | (name "vte") | |
2392 | (version "0.36.5") | |
2393 | (source (origin | |
2394 | (method url-fetch) | |
2395 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2396 | (version-major+minor version) "/" | |
2397 | name "-" version ".tar.xz")) | |
2398 | (sha256 | |
2399 | (base32 | |
2400 | "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2")))) | |
2401 | (propagated-inputs | |
2402 | `(("gtk" ,gtk+) | |
2403 | ("ncurses" ,ncurses))))) | |
2404 | ||
ea57378f SB |
2405 | ;; stable version for gtk2, required by xfce4-terminal. |
2406 | (define-public vte/gtk+-2 | |
2407 | (package (inherit vte) | |
2408 | (name "vte") | |
2409 | (version "0.28.2") | |
2410 | (source (origin | |
2411 | (method url-fetch) | |
2412 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2413 | (version-major+minor version) "/" | |
2414 | name "-" version ".tar.xz")) | |
2415 | (sha256 | |
2416 | (base32 | |
7d48938a EF |
2417 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")) |
2418 | (patches (search-patches | |
2419 | "vte-CVE-2012-2738-pt1.patch" | |
2420 | "vte-CVE-2012-2738-pt2.patch")))) | |
ea57378f SB |
2421 | (arguments |
2422 | '(#:configure-flags '("--disable-python"))) | |
2423 | (native-inputs | |
2424 | `(("pkg-config" ,pkg-config) | |
2425 | ("intltool" ,intltool) | |
2426 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
2427 | (propagated-inputs | |
2428 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
2429 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 | 2430 | |
cce0da5e TD |
2431 | (define-public vinagre |
2432 | (package | |
2433 | (name "vinagre") | |
2434 | (version "3.22.0") | |
2435 | (source (origin | |
2436 | (method url-fetch) | |
2437 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2438 | (version-major+minor version) "/" | |
2439 | name "-" version ".tar.xz")) | |
684f97f8 EF |
2440 | (patches (search-patches "vinagre-newer-freerdp.patch" |
2441 | "vinagre-newer-rdp-parameters.patch")) | |
cce0da5e TD |
2442 | (sha256 |
2443 | (base32 | |
2444 | "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d")))) | |
2445 | (build-system glib-or-gtk-build-system) | |
684f97f8 | 2446 | (arguments |
7f486d25 MC |
2447 | ;; Disable -Werror and such, to avoid build failures on compilation |
2448 | ;; warnings. | |
2449 | '(#:configure-flags '("--enable-compile-warnings=minimum") | |
2450 | #:phases | |
684f97f8 | 2451 | (modify-phases %standard-phases |
1839768c EF |
2452 | (add-before 'install 'skip-gtk-update-icon-cache |
2453 | (lambda _ | |
2454 | ;; Don't create 'icon-theme.cache' | |
2455 | (substitute* (find-files "." "^Makefile$") | |
2456 | (("gtk-update-icon-cache") (which "true"))) | |
2457 | #t)) | |
684f97f8 EF |
2458 | (add-after 'unpack 'patch-configure |
2459 | (lambda _ | |
2460 | (substitute* "configure" | |
2461 | (("freerdp") "freerdp2")) | |
2462 | #t))))) | |
cce0da5e TD |
2463 | (native-inputs |
2464 | `(("pkg-config" ,pkg-config) | |
2465 | ("intltool" ,intltool) | |
2466 | ("itstool" ,itstool) | |
1839768c | 2467 | ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas |
cce0da5e TD |
2468 | (inputs |
2469 | `(("libxml2" ,libxml2) | |
2470 | ("gtk-vnc" ,gtk-vnc) | |
2471 | ("gnome-keyring" ,gnome-keyring) | |
2472 | ("libsecret" ,libsecret) | |
2473 | ("freerdp" ,freerdp) | |
2474 | ("spice" ,spice) | |
2475 | ("spice-gtk" ,spice-gtk) | |
2476 | ("telepathy-glib" ,telepathy-glib) | |
2477 | ("vte" ,vte))) | |
cce0da5e TD |
2478 | (home-page "https://wiki.gnome.org/Apps/Vinagre") |
2479 | (synopsis "Remote desktop viewer for GNOME") | |
2480 | (description "Vinagre is a remote display client supporting the VNC, SPICE | |
2481 | and RDP protocols.") | |
2482 | (license license:gpl3+))) | |
2483 | ||
b47e1b20 FB |
2484 | (define-public dconf |
2485 | (package | |
2486 | (name "dconf") | |
1e33331c | 2487 | (version "0.32.0") |
b47e1b20 FB |
2488 | (source (origin |
2489 | (method url-fetch) | |
2490 | (uri (string-append | |
2e6ecc5c | 2491 | "mirror://gnome/sources/" name "/" |
b47e1b20 FB |
2492 | (version-major+minor version) "/" |
2493 | name "-" version ".tar.xz")) | |
2494 | (sha256 | |
f05c809f | 2495 | (base32 |
1e33331c | 2496 | "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38")))) |
35fa923d | 2497 | (build-system meson-build-system) |
bc036f4c MB |
2498 | (propagated-inputs |
2499 | ;; In Requires of dconf.pc. | |
2500 | `(("glib" ,glib))) | |
b47e1b20 FB |
2501 | (inputs |
2502 | `(("gtk+" ,gtk+) | |
bc036f4c | 2503 | ("dbus" ,dbus))) |
b47e1b20 | 2504 | (native-inputs |
1e33331c MB |
2505 | `(("bash-completion" ,bash-completion) |
2506 | ("libxslt" ,libxslt) ;for xsltproc | |
bc036f4c | 2507 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES |
b47e1b20 FB |
2508 | ("docbook-xml" ,docbook-xml-4.2) |
2509 | ("docbook-xsl" ,docbook-xsl) | |
35fa923d | 2510 | ("glib:bin" ,glib "bin") |
03676d6f | 2511 | ("gtk-doc" ,gtk-doc) |
35fa923d MB |
2512 | ("pkg-config" ,pkg-config) |
2513 | ("vala" ,vala))) | |
b47e1b20 FB |
2514 | (arguments |
2515 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
2516 | ; or /etc/machine-id. | |
35fa923d MB |
2517 | #:glib-or-gtk? #t |
2518 | #:configure-flags '("-Denable-gtk-doc=true"))) | |
b47e1b20 FB |
2519 | (home-page "https://developer.gnome.org/dconf") |
2520 | (synopsis "Low-level GNOME configuration system") | |
2521 | (description "Dconf is a low-level configuration system. Its main purpose | |
2522 | is to provide a backend to GSettings on platforms that don't already have | |
2523 | configuration storage systems.") | |
e20e6b40 | 2524 | (license license:lgpl2.1+))) |
109da1c0 AE |
2525 | |
2526 | (define-public json-glib | |
2527 | (package | |
2528 | (name "json-glib") | |
4115e8ea | 2529 | (version "1.4.4") |
109da1c0 AE |
2530 | (source (origin |
2531 | (method url-fetch) | |
2532 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2533 | (version-major+minor version) "/" | |
2534 | name "-" version ".tar.xz")) | |
2535 | (sha256 | |
2536 | (base32 | |
4115e8ea | 2537 | "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j")))) |
98afa184 | 2538 | (build-system meson-build-system) |
109da1c0 | 2539 | (native-inputs |
98afa184 MB |
2540 | `(("gettext" ,gettext-minimal) |
2541 | ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal | |
109da1c0 AE |
2542 | ("gobject-introspection" ,gobject-introspection) |
2543 | ("pkg-config" ,pkg-config))) | |
2544 | (propagated-inputs | |
88c6b580 | 2545 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
2546 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
2547 | (synopsis "Compiler for the GObject type system") | |
7c125ce0 AK |
2548 | (description |
2549 | "JSON-GLib is a C library based on GLib providing serialization and | |
2550 | deserialization support for the JavaScript Object Notation (JSON) format | |
2551 | described by RFC 4627. It provides parser and generator GObject classes and | |
2552 | various wrappers for the complex data types employed by JSON, such as arrays | |
2553 | and objects.") | |
109da1c0 | 2554 | (license license:lgpl2.1+))) |
6f96a359 SB |
2555 | |
2556 | (define-public libxklavier | |
2557 | (package | |
2558 | (name "libxklavier") | |
5f39050b | 2559 | (version "5.4") |
6f96a359 | 2560 | (source (origin |
5f39050b | 2561 | ;; Note: There's no tarball at ftp.gnome.org for this version. |
2562 | (method git-fetch) | |
2563 | (uri (git-reference | |
2564 | (url "https://anongit.freedesktop.org/git/libxklavier") | |
2565 | (commit (string-append "libxklavier-" version)))) | |
6f96a359 SB |
2566 | (sha256 |
2567 | (base32 | |
5f39050b | 2568 | "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a")) |
2569 | (file-name (git-file-name name version)))) | |
6f96a359 SB |
2570 | (build-system gnu-build-system) |
2571 | (arguments | |
5f39050b | 2572 | '(#:phases |
2573 | (modify-phases %standard-phases | |
2574 | (add-after 'unpack 'no-configure | |
2575 | (lambda* _ | |
2576 | (setenv "NOCONFIGURE" "1") | |
2577 | #t))) | |
2578 | #:configure-flags | |
6f96a359 SB |
2579 | (list (string-append "--with-xkb-base=" |
2580 | (assoc-ref %build-inputs "xkeyboard-config") | |
5f39050b | 2581 | "/share/X11/xkb") |
2582 | "--disable-xmodmap-support"))) | |
6f96a359 SB |
2583 | (native-inputs |
2584 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
2585 | ("gobject-introspection" ,gobject-introspection) | |
5f39050b | 2586 | ("pkg-config" ,pkg-config) |
2587 | ("gtk-doc" ,gtk-doc) | |
2588 | ("intltool" ,intltool) | |
2589 | ("which" ,which) | |
2590 | ("autoconf" ,autoconf) | |
2591 | ("automake" ,automake) | |
2592 | ("libtool" ,libtool))) | |
6f96a359 SB |
2593 | (propagated-inputs |
2594 | ;; Required by libxklavier.pc. | |
2595 | `(("glib" ,glib) | |
2596 | ("libxml2" ,libxml2))) | |
2597 | (inputs | |
2598 | `(("iso-codes" ,iso-codes) | |
2599 | ("libxi" ,libxi) | |
2600 | ("libxkbfile" ,libxkbfile) | |
2601 | ("xkbcomp" ,xkbcomp) | |
2602 | ("xkeyboard-config" ,xkeyboard-config))) | |
57e7d748 | 2603 | (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/") |
6f96a359 SB |
2604 | (synopsis "High-level API for X Keyboard Extension") |
2605 | (description | |
2606 | "LibXklavier is a library providing high-level API for X Keyboard | |
e881752c AK |
2607 | Extension known as XKB. This library is intended to support XFree86 and other |
2608 | commercial X servers. It is useful for creating XKB-related software (layout | |
6f96a359 SB |
2609 | indicators etc).") |
2610 | (license license:lgpl2.0+))) | |
619936a4 LC |
2611 | |
2612 | (define-public python2-rsvg | |
2613 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
2614 | (package | |
2615 | (name "python2-rsvg") | |
2616 | (version "2.32.0") | |
2617 | (source | |
2618 | (origin | |
2619 | (method url-fetch) | |
2620 | (uri (string-append | |
2621 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
2622 | version ".tar.bz2")) | |
2623 | (sha256 | |
2624 | (base32 | |
2625 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
2626 | (build-system gnu-build-system) | |
2627 | (native-inputs | |
2628 | `(("pkg-config" ,pkg-config))) | |
2629 | (inputs | |
2630 | `(("python" ,python-2) | |
2631 | ("python2-pygtk" ,python2-pygtk) | |
2632 | ("librsvg" ,librsvg))) | |
f032d0be | 2633 | (home-page "https://www.gnome.org") |
619936a4 LC |
2634 | (synopsis "Python bindings to librsvg") |
2635 | (description | |
3ad75446 | 2636 | "This package provides Python bindings to librsvg, the SVG rendering |
619936a4 LC |
2637 | library.") |
2638 | ||
2639 | ;; This is the license of the rsvg bindings. The license of each module | |
2640 | ;; of gnome-python-desktop is given in 'COPYING'. | |
2641 | (license license:lgpl2.1+))) | |
a31a6d22 | 2642 | |
f2ca414a SB |
2643 | (define-public glib-networking |
2644 | (package | |
2645 | (name "glib-networking") | |
0d75c64d | 2646 | (version "2.60.3") |
f2ca414a SB |
2647 | (source (origin |
2648 | (method url-fetch) | |
2649 | (uri (string-append "mirror://gnome/sources/glib-networking/" | |
2650 | (version-major+minor version) "/" | |
fb8fe1e8 | 2651 | "glib-networking-" version ".tar.xz")) |
f2ca414a SB |
2652 | (sha256 |
2653 | (base32 | |
0d75c64d | 2654 | "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm")))) |
65211552 | 2655 | (build-system meson-build-system) |
f2ca414a | 2656 | (arguments |
0d75c64d | 2657 | `(#:configure-flags '("-Dlibproxy_support=false"))) |
f2ca414a SB |
2658 | (native-inputs |
2659 | `(("pkg-config" ,pkg-config) | |
2660 | ("intltool" ,intltool))) | |
2661 | (inputs | |
2662 | `(("glib" ,glib) | |
2663 | ("gnutls" ,gnutls) | |
4b8f1313 | 2664 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) |
f032d0be | 2665 | (home-page "https://www.gnome.org") |
f2ca414a SB |
2666 | (synopsis "Network-related GIO modules") |
2667 | (description | |
2668 | "This package contains various network related extensions for the GIO | |
2669 | library.") | |
2670 | (license license:lgpl2.0+))) | |
2671 | ||
ca649680 | 2672 | (define-public rest |
4510b2da | 2673 | (package |
ca649680 | 2674 | (name "rest") |
a4194d16 | 2675 | (version "0.8.1") |
4510b2da SB |
2676 | (source (origin |
2677 | (method url-fetch) | |
2678 | (uri (string-append "mirror://gnome/sources/rest/" | |
ca649680 SB |
2679 | (version-major+minor version) "/" |
2680 | name "-" version ".tar.xz")) | |
4510b2da SB |
2681 | (sha256 |
2682 | (base32 | |
a4194d16 | 2683 | "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5")))) |
4510b2da SB |
2684 | (build-system gnu-build-system) |
2685 | (arguments | |
2686 | '(#:tests? #f ; tests require internet connection | |
2687 | #:configure-flags | |
2688 | '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"))) | |
2689 | (native-inputs | |
2690 | `(("glib-mkenums" ,glib "bin") | |
2691 | ("gobject-introspection" ,gobject-introspection) | |
2692 | ("pkg-config" ,pkg-config))) | |
2693 | (propagated-inputs | |
2694 | ;; rest-0.7.pc refers to all these. | |
2695 | `(("glib" ,glib) | |
2696 | ("libsoup" ,libsoup) | |
2697 | ("libxml2" ,libxml2))) | |
24d6cc1d | 2698 | (home-page "https://www.gtk.org/") |
4510b2da SB |
2699 | (synopsis "RESTful web api query library") |
2700 | (description | |
2701 | "This library was designed to make it easier to access web services that | |
2702 | claim to be \"RESTful\". It includes convenience wrappers for libsoup and | |
2703 | libxml to ease remote use of the RESTful API.") | |
2704 | (license license:lgpl2.1+))) | |
2705 | ||
6e1bb642 SB |
2706 | (define-public libsoup |
2707 | (package | |
2708 | (name "libsoup") | |
f8026a79 | 2709 | (version "2.68.2") |
6e1bb642 SB |
2710 | (source (origin |
2711 | (method url-fetch) | |
2712 | (uri (string-append "mirror://gnome/sources/libsoup/" | |
2713 | (version-major+minor version) "/" | |
c1b79b36 | 2714 | "libsoup-" version ".tar.xz")) |
6e1bb642 SB |
2715 | (sha256 |
2716 | (base32 | |
f8026a79 | 2717 | "0crr9qprmacr626fx83cx81ggk85zsgxr4mn577kpzj6m40k1bai")))) |
eccaa8bf | 2718 | (build-system meson-build-system) |
6e1bb642 SB |
2719 | (outputs '("out" "doc")) |
2720 | (arguments | |
2deb146f | 2721 | `(#:modules ((guix build utils) |
eccaa8bf | 2722 | (guix build meson-build-system) |
2deb146f LC |
2723 | (ice-9 popen)) |
2724 | ||
f8026a79 | 2725 | #:configure-flags '("-Dgtk_doc=true") |
6e1bb642 SB |
2726 | #:phases |
2727 | (modify-phases %standard-phases | |
eccaa8bf | 2728 | (add-after 'unpack 'adjust-tests |
26c228f9 | 2729 | (lambda _ |
eccaa8bf MB |
2730 | ;; This test fails due to missing /etc/nsswitch.conf |
2731 | ;; in the build environment. | |
26c228f9 LC |
2732 | (substitute* "tests/socket-test.c" |
2733 | ((".*/sockets/unconnected.*") "")) | |
2deb146f | 2734 | |
f8026a79 MB |
2735 | ;; These fail because "subdomain.localhost" does not resolve in |
2736 | ;; the build environment. | |
2737 | (substitute* "tests/hsts-test.c" | |
2738 | ((".*/hsts/basic.*") "") | |
2739 | ((".*/hsts/subdomains.*") "") | |
2740 | ((".*/hsts/superdomain.*") "") | |
2741 | ((".*/hsts/utf8-address.*") "")) | |
2742 | (substitute* "tests/hsts-db-test.c" | |
2743 | ((".*/hsts-db/subdomains.*") "")) | |
2744 | ||
2deb146f LC |
2745 | ;; Generate a self-signed certificate that has "localhost" as its |
2746 | ;; 'dnsName'. Failing to do that, and starting with GnuTLS | |
2747 | ;; 3.5.12, tests such as "ssl-tests" fail: | |
2748 | ;; | |
2749 | ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK) | |
2750 | ;; | |
2751 | ;; 'certtool' is interactive so we have to pipe it the answers. | |
2752 | ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>. | |
2753 | (let ((pipe (open-output-pipe "certtool --generate-self-signed \ | |
2754 | --load-privkey tests/test-key.pem --outfile tests/test-cert.pem"))) | |
2755 | (for-each (lambda (line) | |
2756 | (display line pipe) | |
2757 | (newline pipe)) | |
2758 | '("" ;Common name | |
2759 | "" ;UID | |
2760 | "Guix" ;Organizational unit name | |
2761 | "GNU" ;Organization name | |
2762 | "" ;Locality name | |
2763 | "" ;State or province | |
2764 | "" ;Country | |
2765 | "" ;subject's domain component (DC) | |
2766 | ||
2767 | "" ;serial number | |
2768 | "-1" ;expiration time | |
2769 | "N" ;belong to authority? | |
2770 | "N" ;web client certificate? | |
2771 | "N" ;IPsec IKE? | |
2772 | "Y" ;web server certificate? | |
2773 | "localhost" ;dnsName of subject | |
2774 | "" ;dnsName of subject (end) | |
2775 | "" ;URI of subject | |
2776 | "127.0.0.1" ;IP address of subject | |
2777 | "" ;signing? | |
06f5bc4e MB |
2778 | "" ;encryption (RSA)? |
2779 | "" ;data encryption? | |
2deb146f LC |
2780 | "" ;sign OCSP requests? |
2781 | "" ;sign code? | |
2782 | "" ;time stamping? | |
2783 | "" ;email protection? | |
2784 | "" ;URI of the CRL distribution point | |
2785 | "y" ;above info OK? | |
2786 | )) | |
2787 | (close-pipe pipe)) | |
26c228f9 | 2788 | #t)) |
eccaa8bf MB |
2789 | (add-after 'install 'move-doc |
2790 | (lambda* (#:key outputs #:allow-other-keys) | |
2791 | (let ((out (assoc-ref outputs "out")) | |
2792 | (doc (assoc-ref outputs "doc"))) | |
2793 | (mkdir-p (string-append doc "/share")) | |
2794 | (copy-recursively (string-append out "/share/gtk-doc") | |
2795 | (string-append doc "/share/gtk-doc")) | |
2796 | (delete-file-recursively (string-append out "/share/gtk-doc")) | |
2797 | #t)))))) | |
6e1bb642 | 2798 | (native-inputs |
26c228f9 | 2799 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
6e1bb642 | 2800 | ("gobject-introspection" ,gobject-introspection) |
eccaa8bf | 2801 | ("gtk-doc" ,gtk-doc) |
6e1bb642 SB |
2802 | ("intltool" ,intltool) |
2803 | ("pkg-config" ,pkg-config) | |
2804 | ("python" ,python-wrapper) | |
fd730590 | 2805 | ("vala" ,vala) |
6e1bb642 SB |
2806 | ;; These are needed for the tests. |
2807 | ;; FIXME: Add PHP once available. | |
2808 | ("curl" ,curl) | |
2deb146f | 2809 | ("gnutls" ,gnutls) ;for 'certtool' |
6e1bb642 SB |
2810 | ("httpd" ,httpd))) |
2811 | (propagated-inputs | |
2812 | ;; libsoup-2.4.pc refers to all these. | |
f8026a79 MB |
2813 | `(("brotli" ,google-brotli) |
2814 | ("glib" ,glib) | |
249846bf | 2815 | ("libpsl" ,libpsl) |
eccaa8bf | 2816 | ("libxml2" ,libxml2) |
f8026a79 MB |
2817 | ("sqlite" ,sqlite) |
2818 | ("zlib" ,zlib))) | |
eccaa8bf MB |
2819 | (inputs |
2820 | `(("glib-networking" ,glib-networking) | |
2821 | ("mit-krb5" ,mit-krb5))) | |
6e1bb642 SB |
2822 | (home-page "https://live.gnome.org/LibSoup/") |
2823 | (synopsis "GLib-based HTTP Library") | |
2824 | (description | |
2825 | "LibSoup is an HTTP client/server library for GNOME. It uses GObjects | |
2826 | and the GLib main loop, to integrate well with GNOME applications.") | |
2827 | (license license:lgpl2.0+))) | |
2828 | ||
bba229a3 SB |
2829 | (define-public libsecret |
2830 | (package | |
2831 | (name "libsecret") | |
b243d2f7 | 2832 | (version "0.19.1") |
bba229a3 SB |
2833 | (source (origin |
2834 | (method url-fetch) | |
2835 | (uri (string-append | |
896dcbc7 EF |
2836 | "mirror://gnome/sources/libsecret/" |
2837 | (version-major+minor version) "/" | |
0ada4e29 | 2838 | "libsecret-" version ".tar.xz")) |
bba229a3 SB |
2839 | (sha256 |
2840 | (base32 | |
b243d2f7 | 2841 | "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5")))) |
bba229a3 SB |
2842 | (build-system gnu-build-system) |
2843 | (outputs '("out" "doc")) | |
2844 | (arguments | |
2845 | `(#:tests? #f ; FIXME: Testing hangs. | |
bba229a3 SB |
2846 | #:configure-flags |
2847 | (list (string-append "--with-html-dir=" | |
2848 | (assoc-ref %outputs "doc") | |
2849 | "/share/gtk-doc/html")))) | |
2850 | (native-inputs | |
c06ef010 MB |
2851 | `(("gettext" ,gettext-minimal) |
2852 | ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
bba229a3 | 2853 | ("gobject-introspection" ,gobject-introspection) |
bba229a3 SB |
2854 | ("pkg-config" ,pkg-config) |
2855 | ("vala" ,vala) | |
2856 | ("xsltproc" ,libxslt))) | |
2857 | ;; These are needed for the tests. | |
2858 | ;; FIXME: Add gjs once available. | |
2859 | ;("dbus" ,dbus) | |
2860 | ;("python2" ,python-2) | |
2861 | ;("python2-dbus" ,python2-dbus) | |
2862 | ;("python2-pygobject" ,python2-pygobject) | |
2863 | ;("python2-pygobject-2" ,python2-pygobject-2))) | |
2864 | (propagated-inputs | |
2865 | `(("glib" ,glib))) ; required by libsecret-1.pc | |
2866 | (inputs | |
2867 | `(("docbook-xsl" ,docbook-xsl) | |
2868 | ("libgcrypt" ,libgcrypt) | |
2869 | ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES | |
2870 | (home-page "https://wiki.gnome.org/Projects/Libsecret/") | |
2871 | (synopsis "GObject bindings for \"Secret Service\" API") | |
2872 | (description | |
2873 | "Libsecret is a GObject based library for storing and retrieving passwords | |
2874 | and other secrets. It communicates with the \"Secret Service\" using DBus.") | |
2875 | (license license:lgpl2.1+))) | |
2876 | ||
b6821ee0 | 2877 | (define-public five-or-more |
2878 | (package | |
2879 | (name "five-or-more") | |
fd0557f8 | 2880 | (version "3.30.0") |
b6821ee0 | 2881 | (source |
2882 | (origin | |
2883 | (method url-fetch) | |
2884 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2885 | (version-major+minor version) "/" | |
2886 | name "-" version ".tar.xz")) | |
2887 | (sha256 | |
2888 | (base32 | |
fd0557f8 | 2889 | "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x")))) |
b6821ee0 | 2890 | (build-system glib-or-gtk-build-system) |
2891 | (native-inputs | |
2892 | `(("pkg-config" ,pkg-config) | |
2893 | ("desktop-file-utils" ,desktop-file-utils) | |
2894 | ("intltool" ,intltool) | |
2895 | ("itstool" ,itstool) | |
2896 | ("xmllint" ,libxml2))) | |
2897 | (inputs | |
2898 | `(("gtk+" ,gtk+) | |
2899 | ("librsvg" ,librsvg))) | |
2900 | (home-page "https://wiki.gnome.org/Apps/Five%20or%20more") | |
2901 | (synopsis "Logic puzzle game") | |
2902 | (description "Five or More is a game where you try to align | |
2903 | five or more objects of the same color and shape causing them to disappear. | |
2904 | On every turn more objects will appear, until the board is full. | |
2905 | Try to last as long as possible.") | |
2906 | (license license:gpl2+))) | |
2907 | ||
a31a6d22 SB |
2908 | (define-public gnome-mines |
2909 | (package | |
2910 | (name "gnome-mines") | |
f7a584f4 | 2911 | (version "3.30.1.1") |
a31a6d22 SB |
2912 | (source |
2913 | (origin | |
2914 | (method url-fetch) | |
2915 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2916 | (version-major+minor version) "/" | |
2917 | name "-" version ".tar.xz")) | |
2918 | (sha256 | |
2919 | (base32 | |
f7a584f4 | 2920 | "08ddk400sg1g3q26gnm5mgv81vdqyix0yl7pd47p50vkc1w6f33z")))) |
8c0fab36 | 2921 | (build-system meson-build-system) |
a31a6d22 | 2922 | (arguments |
8c0fab36 | 2923 | `(#:phases |
a31a6d22 | 2924 | (modify-phases %standard-phases |
8c0fab36 | 2925 | (delete 'bootstrap)))) |
a31a6d22 | 2926 | (native-inputs |
8c0fab36 RW |
2927 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources |
2928 | ("pkg-config" ,pkg-config) | |
a31a6d22 SB |
2929 | ("desktop-file-utils" ,desktop-file-utils) |
2930 | ("intltool" ,intltool) | |
bcb354ad | 2931 | ("itstool" ,itstool) |
8c0fab36 RW |
2932 | ("vala" ,vala) |
2933 | ("yelp" ,yelp) | |
2934 | ("appstream-glib" ,appstream-glib))) | |
a31a6d22 SB |
2935 | (inputs |
2936 | `(("gtk+" ,gtk+) | |
73992962 | 2937 | ("libgnome-games-support" ,libgnome-games-support) |
a31a6d22 SB |
2938 | ("librsvg" ,librsvg))) |
2939 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
2940 | (synopsis "Minesweeper game") | |
2941 | (description | |
2942 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
2943 | floating in an ocean using only your brain and a little bit of luck.") | |
2944 | (license license:gpl2+))) | |
88f70665 | 2945 | |
dfc407f3 KY |
2946 | (define-public gnome-sudoku |
2947 | (package | |
2948 | (name "gnome-sudoku") | |
b3f95507 | 2949 | (version "3.30.0") |
dfc407f3 KY |
2950 | (source |
2951 | (origin | |
2952 | (method url-fetch) | |
2953 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2954 | (version-major+minor version) "/" | |
2955 | name "-" version ".tar.xz")) | |
2956 | (sha256 | |
2957 | (base32 | |
b3f95507 | 2958 | "1xy986s51jnrcqwan2hy4bjdg6797yr9s7gxx2z2q4j4gkx3qa1f")))) |
dfc407f3 KY |
2959 | (build-system glib-or-gtk-build-system) |
2960 | (native-inputs | |
2961 | `(("pkg-config" ,pkg-config) | |
2962 | ("desktop-file-utils" ,desktop-file-utils) | |
2963 | ("intltool" ,intltool) | |
2964 | ("itstool" ,itstool) | |
2965 | ("xmllint" ,libxml2))) | |
2966 | (inputs | |
2967 | `(("gtk+" ,gtk+) | |
2968 | ("json-glib" ,json-glib) | |
2969 | ("libgee" ,libgee) | |
2970 | ("librsvg" ,librsvg) | |
2971 | ("qqwing" ,qqwing))) | |
2972 | (home-page "https://wiki.gnome.org/Apps/Sudoku") | |
2973 | (synopsis "Japanese logic game") | |
2974 | (description | |
2975 | "Sudoku is a Japanese logic game that exploded in popularity in 2005. | |
2976 | GNOME Sudoku is meant to have an interface as simple and unobstrusive as | |
2977 | possible while still providing features that make playing difficult Sudoku | |
2978 | more fun.") | |
2979 | (license license:gpl2+))) | |
2980 | ||
88f70665 AW |
2981 | (define-public gnome-terminal |
2982 | (package | |
2983 | (name "gnome-terminal") | |
50888342 | 2984 | (version "3.30.3") |
88f70665 AW |
2985 | (source |
2986 | (origin | |
2987 | (method url-fetch) | |
2988 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2989 | (version-major+minor version) "/" | |
2990 | name "-" version ".tar.xz")) | |
2991 | (sha256 | |
2992 | (base32 | |
50888342 | 2993 | "0bar8qazk39acsif31h8i408nl82mzdcdg6p7ymak4l9pxyscxf8")))) |
88f70665 AW |
2994 | (build-system glib-or-gtk-build-system) |
2995 | (arguments | |
2996 | '(#:configure-flags | |
2997 | (list "--disable-migration" "--disable-search-provider" | |
2998 | "--without-nautilus-extension") | |
2999 | #:phases | |
3000 | (modify-phases %standard-phases | |
3a4de6b2 | 3001 | (add-before 'configure 'patch-/bin/true |
88f70665 AW |
3002 | (lambda _ |
3003 | (substitute* "configure" | |
3004 | (("/bin/true") (which "true")))))))) | |
3005 | (native-inputs | |
3006 | `(("pkg-config" ,pkg-config) | |
3007 | ("desktop-file-utils" ,desktop-file-utils) | |
3008 | ("intltool" ,intltool) | |
bcb354ad SB |
3009 | ("itstool" ,itstool) |
3010 | ("xmllint" ,libxml2))) | |
68702167 MW |
3011 | (propagated-inputs |
3012 | `(("dconf" ,dconf))) | |
88f70665 AW |
3013 | (inputs |
3014 | `(("gtk+" ,gtk+) | |
3015 | ("vte" ,vte) | |
3016 | ("gnutls" ,gnutls) | |
88f70665 AW |
3017 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
3018 | ("util-linux" ,util-linux) | |
3019 | ("vala" ,vala))) | |
3020 | (home-page "https://wiki.gnome.org/Apps/Terminal") | |
3021 | (synopsis "Terminal emulator") | |
3022 | (description | |
3023 | "GNOME Terminal is a terminal emulator application for accessing a | |
3024 | UNIX shell environment which can be used to run programs available on | |
3025 | your system. | |
3026 | ||
3027 | It supports several profiles, multiple tabs and implements several | |
3028 | keyboard shortcuts.") | |
3029 | (license license:gpl3+))) | |
75016d07 AW |
3030 | |
3031 | (define-public colord | |
3032 | (package | |
3033 | (name "colord") | |
f98be942 | 3034 | (version "1.4.4") |
75016d07 AW |
3035 | (source |
3036 | (origin | |
3037 | (method url-fetch) | |
5cc3096c | 3038 | (uri (string-append "https://www.freedesktop.org/software/colord/releases/" |
d21778aa | 3039 | "colord-" version ".tar.xz")) |
75016d07 | 3040 | (sha256 |
f98be942 | 3041 | (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws")))) |
a68544a8 | 3042 | (build-system meson-build-system) |
75016d07 | 3043 | (arguments |
a68544a8 RW |
3044 | '(;; FIXME: One test fails: |
3045 | ;; /colord/icc-store (in lib/colord/colord-self-test-private): | |
3046 | ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got | |
3047 | ;; application/x-zerosize | |
75016d07 | 3048 | #:tests? #f |
a68544a8 RW |
3049 | #:glib-or-gtk? #t |
3050 | #:configure-flags (list "-Dlocalstatedir=/var" | |
75016d07 | 3051 | ;; No dep on systemd. |
a68544a8 | 3052 | "-Dsystemd=false" |
75016d07 AW |
3053 | ;; Wants to install to global completion dir; |
3054 | ;; punt. | |
a68544a8 | 3055 | "-Dbash_completion=false" |
a68544a8 RW |
3056 | "-Ddaemon_user=colord" |
3057 | "-Dsane=true" | |
dac26e22 | 3058 | "-Dvapi=true" |
6f20e2dc | 3059 | ;; Requires spotread. |
a68544a8 | 3060 | "-Dargyllcms_sensor=false" |
6f20e2dc | 3061 | ;; TODO: Requires docbook2x. |
a68544a8 | 3062 | "-Dman=false") |
75016d07 AW |
3063 | #:phases |
3064 | (modify-phases %standard-phases | |
a68544a8 RW |
3065 | (add-before 'configure 'patch-build-system |
3066 | (lambda* (#:key outputs #:allow-other-keys) | |
3067 | (substitute* "rules/meson.build" | |
3068 | (("udev.get_pkgconfig_variable\\('udevdir'\\)") | |
3069 | (string-append "'" (assoc-ref outputs "out") "/lib/udev'"))) | |
2a1f3e3f LC |
3070 | #t)) |
3071 | (add-before 'configure 'set-sqlite3-file-name | |
3072 | (lambda* (#:key inputs #:allow-other-keys) | |
3073 | ;; "colormgr dump" works by invoking the "sqlite3" command. | |
3074 | ;; Record its absolute file name. | |
3075 | (let ((sqlite (assoc-ref inputs "sqlite"))) | |
3076 | (substitute* "client/cd-util.c" | |
3077 | (("\"sqlite3\"") | |
3078 | (string-append "\"" sqlite "/bin/sqlite3\""))) | |
3079 | #t)))))) | |
75016d07 | 3080 | (native-inputs |
6f20e2dc | 3081 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc. |
75016d07 | 3082 | ("gobject-introspection" ,gobject-introspection) |
a68544a8 | 3083 | ("gtk-doc" ,gtk-doc) |
6f20e2dc | 3084 | ("intltool" ,intltool) |
75016d07 | 3085 | ("libtool" ,libtool) |
dac26e22 TGR |
3086 | ("pkg-config" ,pkg-config) |
3087 | ("vala" ,vala))) | |
65cb2d61 SB |
3088 | (propagated-inputs |
3089 | ;; colord.pc refers to all these. | |
3090 | `(("glib" ,glib) | |
6f20e2dc TGR |
3091 | ("lcms" ,lcms) |
3092 | ("udev" ,eudev))) | |
75016d07 | 3093 | (inputs |
65cb2d61 | 3094 | `(("dbus-glib" ,dbus-glib) |
a68544a8 | 3095 | ("gusb" ,gusb) |
80c7dd1a | 3096 | ("libgudev" ,libgudev) |
75016d07 | 3097 | ("libusb" ,libusb) |
75016d07 | 3098 | ("polkit" ,polkit) |
a68544a8 | 3099 | ("python" ,python-wrapper) |
6f20e2dc | 3100 | ("sqlite" ,sqlite) |
4c928743 | 3101 | ("sane-backends" ,sane-backends))) |
57e7d748 | 3102 | (home-page "https://www.freedesktop.org/software/colord/") |
75016d07 AW |
3103 | (synopsis "Color management service") |
3104 | (description "Colord is a system service that makes it easy to manage, | |
3105 | install and generate color profiles to accurately color manage input and | |
3106 | output devices.") | |
3107 | (license license:gpl2+))) | |
7b2abd00 AW |
3108 | |
3109 | (define-public geoclue | |
3110 | (package | |
3111 | (name "geoclue") | |
b433c7b3 | 3112 | (version "2.4.8") |
7b2abd00 AW |
3113 | (source |
3114 | (origin | |
3115 | (method url-fetch) | |
5cc3096c | 3116 | (uri (string-append "https://www.freedesktop.org/software/" name |
7b2abd00 AW |
3117 | "/releases/" (version-major+minor version) "/" |
3118 | name "-" version ".tar.xz")) | |
3119 | (sha256 | |
3120 | (base32 | |
b433c7b3 | 3121 | "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj")) |
fc1adab1 | 3122 | (patches (search-patches "geoclue-config.patch")))) |
7b2abd00 AW |
3123 | (build-system glib-or-gtk-build-system) |
3124 | (arguments | |
3125 | '(;; The tests want to run the system bus. | |
3126 | #:tests? #f | |
3127 | #:configure-flags (list ;; Disable bits requiring ModemManager. | |
3128 | "--disable-3g-source" | |
3129 | "--disable-cdma-source" | |
3130 | "--disable-modem-gps-source" | |
3131 | "--with-dbus-service-user=geoclue") | |
3132 | #:phases | |
3133 | (modify-phases %standard-phases | |
3a4de6b2 | 3134 | (add-before 'configure 'patch-/bin/true |
7b2abd00 AW |
3135 | (lambda _ |
3136 | (substitute* "configure" | |
e3eb53e7 MW |
3137 | (("/bin/true") (which "true"))) |
3138 | #t))))) | |
7b2abd00 AW |
3139 | (native-inputs |
3140 | `(("pkg-config" ,pkg-config) | |
758798a9 | 3141 | ("gobject-introspection" ,gobject-introspection) |
7b2abd00 AW |
3142 | ("intltool" ,intltool))) |
3143 | (inputs | |
54e911bc SB |
3144 | `(("avahi" ,avahi) |
3145 | ("glib" ,glib) | |
7b2abd00 AW |
3146 | ("json-glib" ,json-glib) |
3147 | ("libsoup" ,libsoup))) | |
99adfd7d | 3148 | (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/") |
7b2abd00 AW |
3149 | (synopsis "Geolocation service") |
3150 | (description "Geoclue is a D-Bus service that provides location | |
3151 | information. The primary goal of the Geoclue project is to make creating | |
3152 | location-aware applications as simple as possible, while the secondary goal is | |
3153 | to ensure that no application can access location information without explicit | |
e881752c | 3154 | permission from user.") |
7b2abd00 | 3155 | (license license:gpl2+))) |
2bfe7437 AW |
3156 | |
3157 | (define-public geocode-glib | |
3158 | (package | |
3159 | (name "geocode-glib") | |
65de725f | 3160 | (version "3.26.1") |
2bfe7437 AW |
3161 | (source (origin |
3162 | (method url-fetch) | |
3163 | (uri (string-append "mirror://gnome/sources/geocode-glib/" | |
3164 | (version-major+minor version) "/" | |
d485cdc0 | 3165 | "geocode-glib-" version ".tar.xz")) |
2bfe7437 AW |
3166 | (sha256 |
3167 | (base32 | |
65de725f | 3168 | "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv")))) |
a7dd0c02 | 3169 | (build-system meson-build-system) |
2bfe7437 | 3170 | (arguments |
a7dd0c02 RW |
3171 | `(#:phases |
3172 | (modify-phases %standard-phases | |
3173 | ;; The tests require a bunch of locales. | |
3174 | (add-before 'check 'set-locales | |
3175 | (lambda* (#:key inputs #:allow-other-keys) | |
3176 | (setenv "GUIX_LOCPATH" | |
3177 | (string-append (assoc-ref inputs "glibc-locales") | |
3178 | "/lib/locale")) | |
3179 | #t))))) | |
2bfe7437 AW |
3180 | (native-inputs |
3181 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
a7dd0c02 RW |
3182 | ("glibc-locales" ,glibc-locales) ; for tests |
3183 | ("gettext" ,gettext-minimal) | |
2bfe7437 | 3184 | ("gobject-introspection" ,gobject-introspection) |
a7dd0c02 | 3185 | ("gtk-doc" ,gtk-doc) |
2bfe7437 AW |
3186 | ("pkg-config" ,pkg-config) |
3187 | ("json-glib" ,json-glib))) | |
3188 | (propagated-inputs | |
3189 | ;; geocode-glib-1.0.pc refers to GIO. | |
3190 | `(("glib" ,glib))) | |
3191 | (inputs | |
3192 | `(("libsoup" ,libsoup))) | |
3193 | (home-page "https://github.com/GNOME/geocode-glib/") | |
3194 | (synopsis "Geocoding and reverse-geocoding library") | |
3195 | (description | |
3196 | "geocode-glib is a convenience library for geocoding (finding longitude, | |
3197 | and latitude from an address) and reverse geocoding (finding an address from | |
3198 | coordinates) using the Nominatim service. geocode-glib caches requests for | |
3199 | faster results and to avoid unnecessary server load.") | |
3200 | (license license:lgpl2.0+))) | |
a1d5bb0e AW |
3201 | |
3202 | (define-public upower | |
3203 | (package | |
3204 | (name "upower") | |
4088d809 | 3205 | (version "0.99.10") |
a1d5bb0e AW |
3206 | (source (origin |
3207 | (method url-fetch) | |
9ec54965 | 3208 | (uri (string-append "https://gitlab.freedesktop.org/upower/upower/" |
4088d809 | 3209 | "uploads/c438511024b9bc5a904f8775cfc8e4c4/" |
9ec54965 | 3210 | "upower-" version ".tar.xz")) |
a1d5bb0e AW |
3211 | (sha256 |
3212 | (base32 | |
4088d809 | 3213 | "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4")) |
fc1adab1 | 3214 | (patches (search-patches "upower-builddir.patch")))) |
a1d5bb0e AW |
3215 | (build-system glib-or-gtk-build-system) |
3216 | (arguments | |
3217 | '( ;; The tests want to contact the system bus, which can't be done in the | |
3218 | ;; build environment. The integration test can run, but the last of | |
3219 | ;; the up-self-tests doesn't. Disable tests for now. | |
3220 | #:tests? #f | |
3221 | #:configure-flags (list "--localstatedir=/var" | |
3222 | (string-append "--with-udevrulesdir=" | |
3223 | (assoc-ref %outputs "out") | |
9ec54965 | 3224 | "/lib/udev/rules.d")))) |
a1d5bb0e | 3225 | (native-inputs |
ebeabe2d SB |
3226 | `(("gobject-introspection" ,gobject-introspection) |
3227 | ("pkg-config" ,pkg-config) | |
a1d5bb0e | 3228 | ("intltool" ,intltool) |
55409295 LC |
3229 | ("python" ,python) |
3230 | ||
3231 | ;; For man pages. | |
3232 | ("libxslt" ,libxslt) ;for 'xsltproc' | |
3233 | ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' | |
3234 | ("docbook-xsl" ,docbook-xsl))) | |
a1d5bb0e | 3235 | (inputs |
ea226291 SB |
3236 | `(("dbus-glib" ,dbus-glib) |
3237 | ("libgudev" ,libgudev) | |
a1d5bb0e | 3238 | ("libusb" ,libusb))) |
d7a503fc MB |
3239 | (propagated-inputs |
3240 | ;; In Requires of upower-glib.pc. | |
3241 | `(("glib" ,glib))) | |
57e7d748 | 3242 | (home-page "https://upower.freedesktop.org/") |
a1d5bb0e AW |
3243 | (synopsis "System daemon for managing power devices") |
3244 | (description | |
3245 | "UPower is an abstraction for enumerating power devices, | |
3246 | listening to device events and querying history and statistics. Any | |
3247 | application or service on the system can access the org.freedesktop.UPower | |
3248 | service via the system message bus.") | |
3249 | (license license:gpl2+))) | |
6a180f6f AW |
3250 | |
3251 | (define-public libgweather | |
3252 | (package | |
3253 | (name "libgweather") | |
794ce8ea | 3254 | (version "3.28.3") |
6a180f6f AW |
3255 | (source (origin |
3256 | (method url-fetch) | |
3257 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3258 | (version-major+minor version) "/" | |
3259 | name "-" version ".tar.xz")) | |
3260 | (sha256 | |
3261 | (base32 | |
794ce8ea | 3262 | "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5")))) |
cf6cbc34 | 3263 | (build-system meson-build-system) |
6a180f6f | 3264 | (arguments |
cf6cbc34 RW |
3265 | `(#:tests? #f ; one of two tests requires network access |
3266 | #:configure-flags | |
3267 | `(,(string-append "-Dzoneinfo_dir=" | |
b6072e6b | 3268 | (assoc-ref %build-inputs "tzdata") |
cf6cbc34 | 3269 | "/share/zoneinfo")))) |
6a180f6f AW |
3270 | (native-inputs |
3271 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
b6072e6b | 3272 | ("gobject-introspection" ,gobject-introspection) |
6a180f6f | 3273 | ("pkg-config" ,pkg-config) |
1d3fcf94 | 3274 | ("vala" ,vala) |
6a180f6f AW |
3275 | ("intltool" ,intltool))) |
3276 | (propagated-inputs | |
3277 | ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and | |
3278 | ;; libsoup. | |
3279 | `(("gtk+" ,gtk+) | |
3280 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3281 | ("libxml2" ,libxml2) | |
cf6cbc34 | 3282 | ("libsoup" ,libsoup) |
6a180f6f | 3283 | ("geocode-glib" ,geocode-glib))) |
cf6cbc34 RW |
3284 | (inputs |
3285 | `(("tzdata" ,tzdata))) | |
6a180f6f AW |
3286 | (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") |
3287 | (synopsis "Location, time zone, and weather library for GNOME") | |
3288 | (description | |
3289 | "libgweather is a library to access weather information from online | |
3290 | services for numerous locations.") | |
3291 | (license license:gpl2+))) | |
23a22af6 AW |
3292 | |
3293 | (define-public gnome-settings-daemon | |
3294 | (package | |
3295 | (name "gnome-settings-daemon") | |
90fdc80f | 3296 | (version "3.30.2") |
23a22af6 AW |
3297 | (source |
3298 | (origin | |
3299 | (method url-fetch) | |
3300 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3301 | (version-major+minor version) "/" | |
3302 | name "-" version ".tar.xz")) | |
3303 | (sha256 | |
3304 | (base32 | |
90fdc80f | 3305 | "0c663csa3gnsr6wm0xfll6aani45snkdj7zjwjfzcwfh8w4a3z12")))) |
e644f9fa | 3306 | (build-system meson-build-system) |
23a22af6 | 3307 | (arguments |
e644f9fa RW |
3308 | `(#:glib-or-gtk? #t |
3309 | #:configure-flags | |
3310 | (list (string-append "-Dudev_dir=" | |
3311 | (assoc-ref %outputs "out") | |
4d0e085b RW |
3312 | "/lib/udev/rules.d/") |
3313 | ;; Otherwise, the RUNPATH will lack the final path component. | |
3314 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
3315 | (assoc-ref %outputs "out") | |
3316 | "/lib/gnome-settings-daemon-3.0")) | |
e644f9fa | 3317 | ;; Color management test can't reach the colord system service. |
23a22af6 AW |
3318 | #:tests? #f)) |
3319 | (native-inputs | |
e644f9fa RW |
3320 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
3321 | ("pkg-config" ,pkg-config) | |
23a22af6 AW |
3322 | ("intltool" ,intltool) |
3323 | ("xsltproc" ,libxslt) | |
3324 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES | |
3325 | ("docbook-xml" ,docbook-xml-4.2) | |
3326 | ("docbook-xsl" ,docbook-xsl))) | |
3327 | (inputs | |
e644f9fa RW |
3328 | `(("alsa-lib" ,alsa-lib) |
3329 | ("colord" ,colord) | |
ea226291 | 3330 | ("libgudev" ,libgudev) |
23a22af6 AW |
3331 | ("upower" ,upower) |
3332 | ("polkit" ,polkit) | |
3333 | ("pulseaudio" ,pulseaudio) | |
3334 | ("libcanberra" ,libcanberra) | |
3335 | ("libx11" ,libx11) | |
3336 | ("libxtst" ,libxtst) | |
3337 | ("lcms" ,lcms) | |
3338 | ("libnotify" ,libnotify) | |
3339 | ("geoclue" ,geoclue) | |
3340 | ("geocode-glib" ,geocode-glib) | |
3341 | ("libgweather" ,libgweather) | |
3342 | ("gnome-desktop" ,gnome-desktop) | |
3343 | ("nss" ,nss) | |
3344 | ("cups" ,cups) | |
ec2b1921 AW |
3345 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
3346 | ("libwacom" ,libwacom) | |
3347 | ("librsvg" ,librsvg) | |
eee7878f | 3348 | ("xf86-input-wacom" ,xf86-input-wacom) |
e644f9fa | 3349 | ("wayland" ,wayland) |
eee7878f | 3350 | ("network-manager" ,network-manager))) |
f032d0be | 3351 | (home-page "https://www.gnome.org") |
23a22af6 AW |
3352 | (synopsis "GNOME settings daemon") |
3353 | (description | |
3354 | "This package contains the daemon responsible for setting the various | |
3355 | parameters of a GNOME session and the applications that run under it. It | |
3356 | handles settings such keyboard layout, shortcuts, and accessibility, clipboard | |
3357 | settings, themes, mouse settings, and startup of other daemons.") | |
3358 | (license license:gpl2+))) | |
1e7464a9 DH |
3359 | |
3360 | (define-public totem-pl-parser | |
3361 | (package | |
3362 | (name "totem-pl-parser") | |
77425f04 | 3363 | (version "3.26.3") |
1e7464a9 DH |
3364 | (source (origin |
3365 | (method url-fetch) | |
e980cbe9 MW |
3366 | (uri (string-append "mirror://gnome/sources/totem-pl-parser/" |
3367 | (version-major+minor version) "/" | |
1e7464a9 DH |
3368 | "totem-pl-parser-" version ".tar.xz")) |
3369 | (sha256 | |
3370 | (base32 | |
77425f04 | 3371 | "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f")))) |
1e9b19dd | 3372 | (build-system meson-build-system) |
1e7464a9 DH |
3373 | (arguments |
3374 | ;; FIXME: Tests require gvfs. | |
3375 | `(#:tests? #f)) | |
3376 | (native-inputs | |
3377 | `(("intltool" ,intltool) | |
3378 | ("glib" ,glib "bin") | |
4d6d8281 | 3379 | ("gobject-introspection" ,gobject-introspection) |
1e7464a9 | 3380 | ("pkg-config" ,pkg-config))) |
22a6ad6a | 3381 | (propagated-inputs |
1e7464a9 DH |
3382 | `(("glib" ,glib) |
3383 | ("gmime" ,gmime) | |
1e9b19dd RW |
3384 | ("libarchive" ,libarchive) |
3385 | ("libgcrypt" ,libgcrypt) | |
22a6ad6a MW |
3386 | ("libxml2" ,libxml2))) |
3387 | (inputs | |
0a6e9e13 | 3388 | `(("libsoup" ,libsoup))) |
1e7464a9 DH |
3389 | (home-page "https://projects.gnome.org/totem") |
3390 | (synopsis "Library to parse and save media playlists for GNOME") | |
3391 | (description "Totem-pl-parser is a GObjects-based library to parse and save | |
3392 | playlists in a variety of formats.") | |
3393 | (license license:lgpl2.0+))) | |
3394 | ||
6b888eff SB |
3395 | (define-public aisleriot |
3396 | (package | |
3397 | (name "aisleriot") | |
36ed9b46 | 3398 | (version "3.22.9") |
6b888eff SB |
3399 | (source (origin |
3400 | (method url-fetch) | |
e43f622a | 3401 | (uri (string-append "mirror://gnome/sources/aisleriot/" |
6b888eff | 3402 | (version-major+minor version) "/" |
e43f622a | 3403 | "aisleriot-" version ".tar.xz")) |
6b888eff SB |
3404 | (sha256 |
3405 | (base32 | |
36ed9b46 | 3406 | "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji")))) |
6b888eff SB |
3407 | (build-system glib-or-gtk-build-system) |
3408 | (arguments | |
3409 | '(#:configure-flags | |
3410 | '("--with-platform=gtk-only" | |
3411 | "--with-card-theme-formats=svg"))) | |
3412 | (native-inputs | |
3413 | `(("desktop-file-utils" ,desktop-file-utils) | |
3414 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
3415 | ("intltool" ,intltool) | |
3416 | ("itstool" ,itstool) | |
3417 | ("pkg-config" ,pkg-config) | |
3418 | ("xmllint" ,libxml2))) | |
3419 | (inputs | |
3420 | `(("gtk+" ,gtk+) | |
226e57d6 | 3421 | ("guile" ,guile-2.2) |
6b888eff SB |
3422 | ("libcanberra" ,libcanberra) |
3423 | ("librsvg" ,librsvg))) | |
3424 | (home-page "https://wiki.gnome.org/Apps/Aisleriot") | |
3425 | (synopsis "Solitaire card games") | |
3426 | (description | |
3427 | "Aisleriot (also known as Solitaire or sol) is a collection of card games | |
3428 | which are easy to play with the aid of a mouse.") | |
3429 | (license license:gpl3+))) | |
4a79e256 | 3430 | |
f828d05b KK |
3431 | (define-public amtk |
3432 | (package | |
3433 | (name "amtk") | |
09c4e43f | 3434 | (version "5.0.1") |
f828d05b KK |
3435 | (source (origin |
3436 | (method url-fetch) | |
bf92ba6b | 3437 | (uri (string-append "mirror://gnome/sources/amtk/" |
f828d05b | 3438 | (version-major+minor version) "/" |
bf92ba6b | 3439 | "amtk-" version ".tar.xz")) |
f828d05b KK |
3440 | (sha256 |
3441 | (base32 | |
09c4e43f | 3442 | "09yy95w1s83c43mh9vha1jbb780yighf5pd2j0ygjmc68sjg871d")))) |
f828d05b KK |
3443 | (build-system gnu-build-system) |
3444 | (arguments | |
3445 | '(#:configure-flags '("--enable-gtk-doc"))) | |
3446 | (native-inputs | |
3447 | `(("gobject-introspection" ,gobject-introspection) | |
09c4e43f | 3448 | ("glib:bin" ,glib "bin") ; for glib-mkenums |
f828d05b KK |
3449 | ("gtk-doc" ,gtk-doc) |
3450 | ("pkg-config" ,pkg-config))) | |
3451 | (inputs | |
3452 | `(("glib" ,glib) | |
3453 | ("gtk+" ,gtk+))) | |
3454 | (home-page "https://wiki.gnome.org/Projects/Amtk") | |
3455 | (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications") | |
3456 | (description | |
3457 | "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}. | |
3458 | It is a basic GtkUIManager replacement based on GAction. It is suitable for | |
3459 | both a traditional UI or a modern UI with a GtkHeaderBar.") | |
3460 | (license license:lgpl2.1+))) | |
3461 | ||
4a79e256 SB |
3462 | (define-public devhelp |
3463 | (package | |
3464 | (name "devhelp") | |
11d28bd9 | 3465 | (version "3.30.1") |
4a79e256 SB |
3466 | (source (origin |
3467 | (method url-fetch) | |
3468 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3469 | (version-major+minor version) "/" | |
3470 | name "-" version ".tar.xz")) | |
3471 | (sha256 | |
3472 | (base32 | |
11d28bd9 KK |
3473 | "036sddvhs0blqpc2ixmjdl9vxynvkn5jpgn0jxr1fxcm4rh3q07a")))) |
3474 | (build-system meson-build-system) | |
35407f94 EF |
3475 | (arguments |
3476 | '(#:phases | |
3477 | (modify-phases %standard-phases | |
3478 | (add-after 'unpack 'skip-gtk-update-icon-cache | |
3479 | ;; Don't create 'icon-theme.cache'. | |
3480 | (lambda _ | |
3481 | (substitute* "meson_post_install.py" | |
3482 | (("gtk-update-icon-cache") "true")) | |
3483 | #t))))) | |
4a79e256 SB |
3484 | (native-inputs |
3485 | `(("intltool" ,intltool) | |
5dd12afc | 3486 | ("itstool" ,itstool) |
11d28bd9 KK |
3487 | ("gobject-introspection" ,gobject-introspection) |
3488 | ("glib:bin" ,glib "bin") ; for glib-mkmenus | |
4a79e256 SB |
3489 | ("pkg-config" ,pkg-config))) |
3490 | (inputs | |
11d28bd9 KK |
3491 | `(("amtk" ,amtk) |
3492 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4a79e256 SB |
3493 | ("webkitgtk" ,webkitgtk))) |
3494 | (home-page "https://wiki.gnome.org/Apps/Devhelp") | |
3495 | (synopsis "API documentation browser for GNOME") | |
3496 | (description | |
3497 | "Devhelp is an API documentation browser for GTK+ and GNOME. It works | |
3498 | natively with GTK-Doc (the API reference system developed for GTK+ and used | |
3499 | throughout GNOME for API documentation).") | |
3500 | (license license:gpl2+))) | |
ba421ab7 MW |
3501 | |
3502 | (define-public cogl | |
3503 | (package | |
3504 | (name "cogl") | |
54c69ae1 | 3505 | (version "1.22.4") |
ba421ab7 MW |
3506 | (source |
3507 | (origin | |
3508 | (method url-fetch) | |
5754f0cf | 3509 | (uri (string-append "mirror://gnome/sources/cogl/" |
ba421ab7 | 3510 | (version-major+minor version) "/" |
5754f0cf | 3511 | "cogl-" version ".tar.xz")) |
ba421ab7 | 3512 | (sha256 |
54c69ae1 | 3513 | (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj")))) |
a88d5a0c MW |
3514 | ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to |
3515 | ;; cogl, corresponding changes may be appropriate in mutter as well. | |
ba421ab7 MW |
3516 | (build-system gnu-build-system) |
3517 | (native-inputs | |
3518 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
3519 | ("gobject-introspection" ,gobject-introspection) | |
3520 | ;;("xorg-server" ,xorg-server) ; for the test suite | |
3521 | ("pkg-config" ,pkg-config))) | |
3522 | (propagated-inputs | |
3523 | `(("glib" ,glib) | |
3524 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3525 | ("libx11" ,libx11) | |
3526 | ("libxext" ,libxext) | |
3527 | ("libxfixes" ,libxfixes) | |
3528 | ("libxdamage" ,libxdamage) | |
3529 | ("libxcomposite" ,libxcomposite) | |
3530 | ("libxrandr" ,libxrandr))) | |
3531 | (inputs | |
3532 | `(("mesa" ,mesa) | |
3533 | ("cairo" ,cairo) | |
3534 | ("pango" ,pango) | |
3535 | ("gstreamer" ,gstreamer) | |
31860852 KK |
3536 | ("gst-plugins-base" ,gst-plugins-base) |
3537 | ("wayland" ,wayland))) | |
ba421ab7 MW |
3538 | (arguments |
3539 | `(#:configure-flags (list "--enable-cogl-gst" | |
31860852 KK |
3540 | "--enable-wayland-egl-platform" |
3541 | "--enable-wayland-egl-server" | |
3542 | ||
ba421ab7 MW |
3543 | ;; Arrange to pass an absolute file name to |
3544 | ;; dlopen for libGL.so. | |
3545 | (string-append "--with-gl-libname=" | |
3546 | (assoc-ref %build-inputs "mesa") | |
3547 | "/lib/libGL.so")) | |
3548 | ;; XXX FIXME: All tests fail, with many warnings printed like this: | |
3549 | ;; _FontTransOpen: Unable to Parse address | |
3550 | ;; ${prefix}/share/fonts/X11/misc/ | |
3551 | #:tests? #f | |
3552 | #; #:phases | |
3553 | #; | |
3554 | (modify-phases %standard-phases | |
3555 | (add-before 'check 'start-xorg-server | |
3556 | (lambda* (#:key inputs #:allow-other-keys) | |
3557 | ;; The test suite requires a running X server. | |
3558 | (system (format #f "~a/bin/Xvfb :1 &" | |
3559 | (assoc-ref inputs "xorg-server"))) | |
3560 | (setenv "DISPLAY" ":1") | |
3561 | #t))))) | |
3562 | (home-page "http://www.cogl3d.org") | |
3563 | (synopsis "Object oriented GL/GLES Abstraction/Utility Layer") | |
3564 | (description | |
3565 | "Cogl is a small library for using 3D graphics hardware to draw pretty | |
3566 | pictures. The API departs from the flat state machine style of OpenGL and is | |
3567 | designed to make it easy to write orthogonal components that can render | |
3568 | without stepping on each others toes.") | |
3569 | (license (list license:expat ; most of the code | |
3570 | license:bsd-3 ; cogl/cogl-point-in-poly.c | |
3571 | license:sgifreeb2.0 ; cogl-path/tesselator/ | |
3572 | license:asl2.0)))) ; examples/android/ | |
fb182b8a MW |
3573 | |
3574 | (define-public clutter | |
3575 | (package | |
3576 | (name "clutter") | |
6a88e4ee | 3577 | (version "1.26.2") |
fb182b8a MW |
3578 | (source |
3579 | (origin | |
3580 | (method url-fetch) | |
3581 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3582 | (version-major+minor version) "/" | |
3583 | name "-" version ".tar.xz")) | |
3584 | (sha256 | |
3585 | (base32 | |
6a88e4ee | 3586 | "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7")))) |
a88d5a0c MW |
3587 | ;; NOTE: mutter exports a bundled fork of clutter, so when making changes |
3588 | ;; to clutter, corresponding changes may be appropriate in mutter as well. | |
fb182b8a | 3589 | (build-system gnu-build-system) |
600233bd LC |
3590 | (outputs '("out" |
3591 | "doc")) ;9 MiB of gtk-doc HTML pages | |
fb182b8a MW |
3592 | (native-inputs |
3593 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal | |
3594 | ("gobject-introspection" ,gobject-introspection) | |
3595 | ("pkg-config" ,pkg-config) | |
3596 | ("xsltproc" ,libxslt))) | |
3597 | (propagated-inputs | |
3598 | `(("cogl" ,cogl) | |
3599 | ("cairo" ,cairo) | |
3600 | ("atk" ,atk) | |
3601 | ("gtk+" ,gtk+) | |
3602 | ("json-glib" ,json-glib) | |
3603 | ("glib" ,glib) | |
3604 | ("libxcomposite" ,libxcomposite) | |
3605 | ("libxdamage" ,libxdamage) | |
3606 | ("libxext" ,libxext) | |
3607 | ("xinput" ,xinput))) | |
3608 | (inputs | |
3609 | `(("libxkbcommon" ,libxkbcommon) | |
3610 | ("udev" ,eudev))) | |
3611 | (arguments | |
600233bd LC |
3612 | `(#:configure-flags (list "--enable-x11-backend=yes" |
3613 | ||
3614 | ;; This produces share/doc/{clutter,cally}. | |
3615 | (string-append "--with-html-dir=" | |
3616 | (assoc-ref %outputs "doc") | |
3617 | "/share/doc")) | |
fb182b8a MW |
3618 | ;; XXX FIXME: Get test suite working. It would probably fail in the |
3619 | ;; same way the cogl tests fail, since clutter is based on cogl. | |
3620 | #:tests? #f)) | |
3621 | (home-page "http://www.clutter-project.org") | |
476af713 | 3622 | (synopsis "OpenGL-based interactive canvas library") |
fb182b8a | 3623 | (description |
476af713 | 3624 | "Clutter is an OpenGL-based interactive canvas library, designed for |
fb182b8a MW |
3625 | creating fast, mainly 2D single window applications such as media box UIs, |
3626 | presentations, kiosk style applications and so on.") | |
3627 | (license license:lgpl2.0+))) | |
bf7f17ba MW |
3628 | |
3629 | (define-public clutter-gtk | |
3630 | (package | |
3631 | (name "clutter-gtk") | |
5d1a3219 | 3632 | (version "1.8.4") |
bf7f17ba MW |
3633 | (source |
3634 | (origin | |
3635 | (method url-fetch) | |
3636 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3637 | (version-major+minor version) "/" | |
3638 | name "-" version ".tar.xz")) | |
3639 | (sha256 | |
3640 | (base32 | |
5d1a3219 | 3641 | "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j")))) |
bf7f17ba MW |
3642 | (build-system gnu-build-system) |
3643 | (native-inputs | |
3644 | `(("pkg-config" ,pkg-config) | |
3645 | ("gobject-introspection" ,gobject-introspection))) | |
9a3a8b8e SB |
3646 | (propagated-inputs |
3647 | ;; clutter-gtk.pc refers to all these. | |
bf7f17ba MW |
3648 | `(("clutter" ,clutter) |
3649 | ("gtk+" ,gtk+))) | |
3650 | (home-page "http://www.clutter-project.org") | |
476af713 | 3651 | (synopsis "OpenGL-based interactive canvas library GTK+ widget") |
bf7f17ba | 3652 | (description |
476af713 | 3653 | "Clutter is an OpenGL-based interactive canvas library, designed for |
bf7f17ba MW |
3654 | creating fast, mainly 2D single window applications such as media box UIs, |
3655 | presentations, kiosk style applications and so on.") | |
3656 | (license license:lgpl2.0+))) | |
86d6a893 MW |
3657 | |
3658 | (define-public clutter-gst | |
3659 | (package | |
3660 | (name "clutter-gst") | |
ba07ac19 | 3661 | (version "3.0.27") |
86d6a893 MW |
3662 | (source |
3663 | (origin | |
3664 | (method url-fetch) | |
f010f89b | 3665 | (uri (string-append "mirror://gnome/sources/clutter-gst/" |
86d6a893 | 3666 | (version-major+minor version) "/" |
f010f89b | 3667 | "clutter-gst-" version ".tar.xz")) |
86d6a893 | 3668 | (sha256 |
ba07ac19 | 3669 | (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy")))) |
86d6a893 MW |
3670 | (build-system gnu-build-system) |
3671 | (native-inputs | |
ba07ac19 | 3672 | `(("glib:bin" ,glib "bin") ; for glib-mkenums |
86d6a893 MW |
3673 | ("pkg-config" ,pkg-config) |
3674 | ("gobject-introspection" ,gobject-introspection))) | |
3675 | (inputs | |
3676 | `(("clutter" ,clutter) | |
3677 | ("gstreamer" ,gstreamer) | |
3678 | ("gst-plugins-base" ,gst-plugins-base))) | |
3679 | (home-page "http://www.clutter-project.org") | |
3680 | (synopsis "Integration library for using GStreamer with Clutter") | |
3681 | (description | |
3682 | "Clutter-Gst is an integration library for using GStreamer with Clutter. | |
3683 | It provides a GStreamer sink to upload frames to GL and an actor that | |
476af713 TGR |
3684 | implements the ClutterGstPlayer interface using playbin. Clutter is an |
3685 | OpenGL-based interactive canvas library.") | |
86d6a893 | 3686 | (license license:lgpl2.0+))) |
607a04ae | 3687 | |
30dc88d9 LC |
3688 | (define-public libchamplain |
3689 | (package | |
3690 | (name "libchamplain") | |
5564b2c5 | 3691 | (version "0.12.16") |
30dc88d9 LC |
3692 | (source (origin |
3693 | (method url-fetch) | |
3694 | (uri (string-append | |
3695 | "mirror://gnome/sources/libchamplain/0.12/libchamplain-" | |
3696 | version ".tar.xz")) | |
3697 | (sha256 | |
3698 | (base32 | |
5564b2c5 | 3699 | "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja")))) |
30dc88d9 | 3700 | (build-system gnu-build-system) |
f7c6833f LF |
3701 | (arguments '(#:configure-flags '("--enable-vala"))) |
3702 | (native-inputs | |
3703 | `(("gobject-introspection" ,gobject-introspection) | |
3704 | ("pkg-config" ,pkg-config) | |
3705 | ("vala" ,vala))) | |
30dc88d9 LC |
3706 | (propagated-inputs |
3707 | `(("libsoup" ,libsoup) | |
3708 | ("sqlite" ,sqlite) | |
3709 | ("clutter" ,clutter) | |
3710 | ("clutter-gtk" ,clutter-gtk) | |
3711 | ("glib:bin" ,glib "bin") ;glib-mkenums, etc. | |
3712 | ("cairo" ,cairo) | |
3713 | ("gtk+3" ,gtk+) | |
3714 | ("glib" ,glib))) | |
f032d0be | 3715 | (home-page "https://projects.gnome.org/libchamplain/") |
30dc88d9 LC |
3716 | (synopsis "C library providing a ClutterActor to display maps") |
3717 | (description | |
3718 | "libchamplain is a C library providing a ClutterActor to display maps. | |
3719 | It also provides a Gtk+ widget to display maps in Gtk+ applications. Python | |
3720 | and Perl bindings are also available. It supports numerous free map sources | |
3721 | such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.") | |
3722 | (license license:lgpl2.1+))) | |
3723 | ||
607a04ae MW |
3724 | (define-public gom |
3725 | (package | |
3726 | (name "gom") | |
0510440b | 3727 | (version "0.3.2") |
607a04ae MW |
3728 | (source |
3729 | (origin | |
3730 | (method url-fetch) | |
6c8a0b6f | 3731 | (uri (string-append "mirror://gnome/sources/gom/" |
607a04ae | 3732 | (version-major+minor version) "/" |
6c8a0b6f | 3733 | "gom-" version ".tar.xz")) |
607a04ae MW |
3734 | (sha256 |
3735 | (base32 | |
0510440b | 3736 | "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w")))) |
607a04ae MW |
3737 | (build-system gnu-build-system) |
3738 | (native-inputs | |
3739 | `(("intltool" ,intltool) | |
3740 | ("pkg-config" ,pkg-config) | |
3741 | ("gobject-introspection" ,gobject-introspection))) | |
3742 | (inputs | |
3743 | `(("glib" ,glib) | |
3744 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3745 | ("sqlite" ,sqlite))) | |
3746 | ;; XXX TODO: Figure out how to run the test suite. | |
3747 | (arguments `(#:tests? #f)) | |
3748 | (home-page "https://wiki.gnome.org/Projects/Gom") | |
3749 | (synopsis "Object mapper from GObjects to SQLite") | |
3750 | (description | |
3751 | "Gom provides an object mapper from GObjects to SQLite. It helps you | |
3752 | write applications that need to store structured data as well as make complex | |
3753 | queries upon that data.") | |
3754 | (license license:lgpl2.1+))) | |
b7a3cf11 | 3755 | |
865aacc9 | 3756 | (define-public libgnome-games-support |
f09520db | 3757 | (package |
865aacc9 | 3758 | (name "libgnome-games-support") |
4c6d15cf | 3759 | (version "1.4.4") |
f09520db SB |
3760 | (source (origin |
3761 | (method url-fetch) | |
2d8dca9d | 3762 | (uri (string-append "mirror://gnome/sources/libgnome-games-support/" |
f09520db | 3763 | (version-major+minor version) "/" |
2d8dca9d | 3764 | "libgnome-games-support-" version ".tar.xz")) |
f09520db SB |
3765 | (sha256 |
3766 | (base32 | |
4c6d15cf | 3767 | "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq")))) |
f09520db SB |
3768 | (build-system gnu-build-system) |
3769 | (arguments | |
3770 | '(#:phases | |
3771 | (modify-phases %standard-phases | |
3772 | (add-before 'check 'pre-check | |
3773 | (lambda _ | |
865aacc9 | 3774 | ;; Tests require a writable HOME. |
f09520db SB |
3775 | (setenv "HOME" (getcwd)) |
3776 | #t))))) | |
3777 | (native-inputs | |
3778 | `(("intltool" ,intltool) | |
3779 | ("pkg-config" ,pkg-config) | |
3780 | ("vala" ,vala))) | |
3781 | (propagated-inputs | |
865aacc9 | 3782 | ;; Required by libgnome-games-support-1.0.pc |
f09520db SB |
3783 | `(("gtk+" ,gtk+) |
3784 | ("libgee" ,libgee))) | |
3785 | (home-page "https://www.gnome.org/") | |
3786 | (synopsis "Useful functionality shared among GNOME games") | |
3787 | (description | |
865aacc9 | 3788 | "libgnome-games-support is a small library intended for internal use by |
f09520db SB |
3789 | GNOME Games, but it may be used by others.") |
3790 | (license license:lgpl3+))) | |
3791 | ||
b7a3cf11 SB |
3792 | (define-public gnome-klotski |
3793 | (package | |
3794 | (name "gnome-klotski") | |
36828576 | 3795 | (version "3.22.3") |
b7a3cf11 SB |
3796 | (source (origin |
3797 | (method url-fetch) | |
3798 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3799 | (version-major+minor version) "/" | |
3800 | name "-" version ".tar.xz")) | |
3801 | (sha256 | |
3802 | (base32 | |
36828576 | 3803 | "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f")))) |
b7a3cf11 SB |
3804 | (build-system glib-or-gtk-build-system) |
3805 | (native-inputs | |
3806 | `(("desktop-file-utils" ,desktop-file-utils) | |
3807 | ("intltool" ,intltool) | |
3808 | ("itstool" ,itstool) | |
bcb354ad SB |
3809 | ("pkg-config" ,pkg-config) |
3810 | ("xmllint" ,libxml2))) | |
b7a3cf11 SB |
3811 | (inputs |
3812 | `(("gtk+" ,gtk+) | |
f4eae76f | 3813 | ("libgnome-games-support" ,libgnome-games-support) |
b7a3cf11 SB |
3814 | ("librsvg" ,librsvg))) |
3815 | (home-page "https://wiki.gnome.org/Apps/Klotski") | |
3816 | (synopsis "Sliding block puzzles") | |
3817 | (description | |
3818 | "GNOME Klotski is a set of block sliding puzzles. The objective is to move | |
3819 | the patterned block to the area bordered by green markers. To do so, you will | |
3820 | need to slide other blocks out of the way. Complete each puzzle in as few moves | |
3821 | as possible!") | |
3822 | (license license:gpl2+))) | |
8d4791bf MW |
3823 | |
3824 | (define-public grilo | |
3825 | (package | |
3826 | (name "grilo") | |
99dd2af9 | 3827 | (version "0.3.3") |
8d4791bf MW |
3828 | (source |
3829 | (origin | |
3830 | (method url-fetch) | |
3831 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3832 | (version-major+minor version) "/" | |
3833 | name "-" version ".tar.xz")) | |
3834 | (sha256 | |
3835 | (base32 | |
99dd2af9 | 3836 | "1qx072m0gl6m3d5g5cbbf13p4h217icmlxjnrn829x5xqwi451sw")))) |
8d4791bf MW |
3837 | (build-system gnu-build-system) |
3838 | (native-inputs | |
3839 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3840 | ("intltool" ,intltool) | |
3841 | ("pkg-config" ,pkg-config) | |
3842 | ("gobject-introspection" ,gobject-introspection))) | |
3843 | (inputs | |
6d7273a0 KK |
3844 | `(("cyrus-sasl" ,cyrus-sasl) |
3845 | ("glib" ,glib) | |
8d4791bf MW |
3846 | ("gtk+" ,gtk+) |
3847 | ("libxml2" ,libxml2) | |
6d7273a0 | 3848 | ("liboauth" ,liboauth) |
8d4791bf MW |
3849 | ("libsoup" ,libsoup) |
3850 | ("totem-pl-parser" ,totem-pl-parser))) | |
3851 | (arguments | |
3852 | `(#:phases | |
3853 | (modify-phases %standard-phases | |
3854 | (add-after 'unpack 'fix-introspection-install-dir | |
3855 | (lambda* (#:key outputs #:allow-other-keys) | |
3856 | (let ((out (assoc-ref outputs "out"))) | |
3857 | (substitute* '("src/Makefile.in" | |
3858 | "libs/pls/Makefile.in" | |
3859 | "libs/net/Makefile.in") | |
3860 | (("@INTROSPECTION_GIRDIR@") | |
3861 | (string-append out "/share/gir-1.0/")) | |
3862 | (("@INTROSPECTION_TYPELIBDIR@") | |
8c52aab4 MW |
3863 | (string-append out "/lib/girepository-1.0/"))) |
3864 | #t)))))) | |
8d4791bf MW |
3865 | (native-search-paths |
3866 | (list (search-path-specification | |
3867 | (variable "GRL_PLUGIN_PATH") | |
3868 | (files (list (string-append "lib/grilo-" | |
3869 | (version-major+minor version))))))) | |
f032d0be | 3870 | (home-page "https://live.gnome.org/Grilo") |
8d4791bf MW |
3871 | (synopsis "Framework for discovering and browsing media") |
3872 | (description | |
3873 | "Grilo is a framework focused on making media discovery and browsing easy | |
3874 | for application developers.") | |
3875 | (license license:lgpl2.1+))) | |
7b212526 MW |
3876 | |
3877 | (define-public grilo-plugins | |
3878 | (package | |
3879 | (name "grilo-plugins") | |
22753632 | 3880 | (version "0.3.3") |
7b212526 MW |
3881 | (source |
3882 | (origin | |
3883 | (method url-fetch) | |
3884 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3885 | (version-major+minor version) "/" | |
3886 | name "-" version ".tar.xz")) | |
3887 | (sha256 | |
3888 | (base32 | |
22753632 | 3889 | "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy")))) |
7b212526 MW |
3890 | (build-system gnu-build-system) |
3891 | (native-inputs | |
3892 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3893 | ("intltool" ,intltool) | |
3894 | ("itstool" ,itstool) | |
3895 | ("pkg-config" ,pkg-config))) | |
3896 | (inputs | |
3897 | `(("grilo" ,grilo) | |
3898 | ("glib" ,glib) | |
3899 | ("libxml2" ,libxml2) | |
3900 | ("sqlite" ,sqlite) | |
3901 | ("gom" ,gom) | |
3902 | ;; XXX TODO: Add oauth | |
3903 | ;; XXX TODO: Add goa | |
3904 | ;; XXX TODO: Add gdata (e.g. needed for youtube plugin) | |
3905 | ;; XXX TODO: Add lua (needs help finding it) | |
3906 | ("json-glib" ,json-glib) | |
3907 | ("avahi" ,avahi) | |
3908 | ("gmime" ,gmime) | |
3909 | ("libsoup" ,libsoup) | |
3910 | ("libarchive" ,libarchive) | |
3911 | ("totem-pl-parser" ,totem-pl-parser))) | |
3912 | (arguments | |
3913 | `(#:make-flags (list (string-append "GRL_PLUGINS_DIR=" | |
3914 | %output | |
3915 | "/lib/grilo-" | |
3916 | ,(version-major+minor version))) | |
3917 | ;; XXX FIXME: Try to get the test suite working. It appears to require | |
3918 | ;; a working system dbus. Inside the build container, all tests fail | |
3919 | ;; with: "assertion failed: (source)". Outside of the build container, | |
3920 | ;; most tests succeed. | |
3921 | #:tests? #f)) | |
f032d0be | 3922 | (home-page "https://live.gnome.org/Grilo") |
7b212526 MW |
3923 | (synopsis "Plugins for the Grilo media discovery library") |
3924 | (description | |
3925 | "Grilo is a framework focused on making media discovery and browsing easy | |
3926 | for application developers.") | |
3927 | (license license:lgpl2.1+))) | |
4e3fc547 MW |
3928 | |
3929 | (define-public totem | |
3930 | (package | |
3931 | (name "totem") | |
77425f04 | 3932 | (version "3.30.0") |
4e3fc547 MW |
3933 | (source |
3934 | (origin | |
3935 | (method url-fetch) | |
3936 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3937 | (version-major+minor version) "/" | |
3938 | name "-" version ".tar.xz")) | |
3939 | (sha256 | |
3940 | (base32 | |
77425f04 | 3941 | "0rahkybxbmxhlmrrgrzxny1xm7wycx7ib4blxp1i2l1q3i8s84b0")) |
81382e3f MB |
3942 | (patches (search-patches "totem-meson-easy-codec.patch" |
3943 | "totem-meson-compat.patch")))) | |
7ad81b8b | 3944 | (build-system meson-build-system) |
4e3fc547 MW |
3945 | (native-inputs |
3946 | `(("pkg-config" ,pkg-config) | |
3947 | ("desktop-file-utils" ,desktop-file-utils) | |
3948 | ("gobject-introspection" ,gobject-introspection) | |
7ad81b8b | 3949 | ("glib:bin" ,glib "bin") ;for 'glib-mkenums' |
4e3fc547 | 3950 | ("intltool" ,intltool) |
bcb354ad SB |
3951 | ("itstool" ,itstool) |
3952 | ("xmllint" ,libxml2))) | |
4e3fc547 MW |
3953 | (propagated-inputs |
3954 | `(("dconf" ,dconf))) | |
3955 | (inputs | |
3956 | `(("gtk+" ,gtk+) | |
3957 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3958 | ("atk" ,atk) | |
3959 | ("cairo" ,cairo) | |
3960 | ("dbus-glib" ,dbus-glib) | |
3961 | ("clutter" ,clutter) | |
3962 | ("clutter-gtk" ,clutter-gtk) | |
3963 | ("clutter-gst" ,clutter-gst) | |
6a6db57f | 3964 | ("xorgproto" ,xorgproto) |
4e3fc547 MW |
3965 | ("libxxf86vm" ,libxxf86vm) |
3966 | ("libxtst" ,libxtst) | |
3967 | ("libxrandr" ,libxrandr) | |
3968 | ("libxml2" ,libxml2) | |
3969 | ("libsoup" ,libsoup) | |
3970 | ("libpeas" ,libpeas) | |
3971 | ("librsvg" ,librsvg) | |
3972 | ("lirc" ,lirc) | |
3973 | ("gnome-desktop" ,gnome-desktop) | |
3974 | ("gstreamer" ,gstreamer) | |
3975 | ("gst-plugins-base" ,gst-plugins-base) | |
3976 | ("gst-plugins-good" ,gst-plugins-good) | |
3977 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3978 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
d7b63ba9 | 3979 | ("python" ,python) |
4e3fc547 MW |
3980 | ("python-pygobject" ,python2-pygobject) |
3981 | ;; XXX TODO pylint needed for python support | |
3982 | ("totem-pl-parser" ,totem-pl-parser) | |
3983 | ("grilo" ,grilo) | |
3984 | ("grilo-plugins" ,grilo-plugins) | |
4e3fc547 MW |
3985 | ("vala" ,vala))) |
3986 | (arguments | |
7ad81b8b LC |
3987 | `(#:glib-or-gtk? #t |
3988 | ||
a97bfa46 AVY |
3989 | ;; Disable parallel builds until |
3990 | ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28813 is | |
3991 | ;; fixed. Try enabling it when updating this package in case | |
3992 | ;; upstream has fixed it. | |
3993 | #:parallel-build? #f | |
3994 | ||
7ad81b8b | 3995 | ;; Disable automatic GStreamer plugin installation via PackageKit and |
ec5c24f9 | 3996 | ;; all that. |
7ad81b8b | 3997 | #:configure-flags '("-D" "enable-easy-codec-installation=no" |
a388c951 LC |
3998 | |
3999 | ;; Do not build .a files for the plugins, it's | |
4000 | ;; completely useless. This saves 2 MiB. | |
7ad81b8b | 4001 | "--default-library" "shared") |
ec5c24f9 LC |
4002 | |
4003 | #:phases | |
4e3fc547 | 4004 | (modify-phases %standard-phases |
d51b19ad EF |
4005 | (add-after 'unpack 'skip-gtk-update-icon-cache |
4006 | ;; Don't create 'icon-theme.cache'. | |
4007 | (lambda _ | |
4008 | (substitute* "meson_post_install.py" | |
4009 | (("gtk-update-icon-cache") "true")) | |
4010 | #t)) | |
6368eb39 DM |
4011 | (add-before |
4012 | 'install 'disable-cache-generation | |
4013 | (lambda _ | |
4014 | (setenv "DESTDIR" "/") | |
4015 | #t)) | |
4e3fc547 MW |
4016 | (add-after |
4017 | 'install 'wrap-totem | |
4018 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4019 | (let ((out (assoc-ref outputs "out")) | |
4020 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
4021 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
4022 | (wrap-program (string-append out "/bin/totem") | |
4023 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
39c853bd AW |
4024 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))) |
4025 | (wrap-program (string-append out "/bin/totem-video-thumbnailer") | |
4026 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
4e3fc547 MW |
4027 | #t))))) |
4028 | (home-page "https://wiki.gnome.org/Apps/Videos") | |
4029 | (synopsis "Simple media player for GNOME based on GStreamer") | |
4030 | (description "Totem is a simple yet featureful media player for GNOME | |
4031 | which can read a large number of file formats.") | |
4032 | ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins | |
4033 | ;; to be used and distributed together with GStreamer and Totem. See | |
4034 | ;; file://COPYING in the source distribution for details. | |
4035 | (license license:gpl2+))) | |
f0afb0c8 DH |
4036 | |
4037 | (define-public rhythmbox | |
4038 | (package | |
4039 | (name "rhythmbox") | |
8190e1ed | 4040 | (version "3.4.3") |
f0afb0c8 DH |
4041 | (source (origin |
4042 | (method url-fetch) | |
4043 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4044 | (version-major+minor version) "/" | |
4045 | name "-" version ".tar.xz")) | |
4046 | (sha256 | |
4047 | (base32 | |
8190e1ed | 4048 | "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx")))) |
f0afb0c8 DH |
4049 | (build-system glib-or-gtk-build-system) |
4050 | (arguments | |
4051 | `(#:configure-flags | |
4052 | (list "--enable-lirc" | |
4053 | "--enable-python" | |
4054 | "--enable-vala" | |
4055 | "--with-brasero" | |
4056 | "--with-gudev" | |
4057 | "--with-libsecret") | |
4058 | #:phases | |
4059 | (modify-phases %standard-phases | |
4060 | (add-after | |
4061 | 'install 'wrap-rhythmbox | |
4062 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4063 | (let ((out (assoc-ref outputs "out")) | |
4064 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
4065 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
349cef58 TGR |
4066 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH")) |
4067 | (python-path (getenv "PYTHONPATH"))) | |
f0afb0c8 DH |
4068 | (wrap-program (string-append out "/bin/rhythmbox") |
4069 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
4070 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
349cef58 TGR |
4071 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)) |
4072 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
f0afb0c8 DH |
4073 | #t))))) |
4074 | (propagated-inputs | |
4075 | `(("dconf" ,dconf))) | |
4076 | (native-inputs | |
bcb354ad SB |
4077 | `(("itstool" ,itstool) |
4078 | ("intltool" ,intltool) | |
f0afb0c8 DH |
4079 | ("glib" ,glib "bin") |
4080 | ("gobject-introspection" ,gobject-introspection) | |
4081 | ("desktop-file-utils" ,desktop-file-utils) | |
bcb354ad SB |
4082 | ("pkg-config" ,pkg-config) |
4083 | ("xmllint" ,libxml2))) | |
f0afb0c8 DH |
4084 | (inputs |
4085 | `(("json-glib" ,json-glib) | |
4086 | ("tdb" ,tdb) | |
4087 | ("gnome-desktop" ,gnome-desktop) | |
4088 | ("python" ,python) | |
4089 | ("python-pygobject" ,python2-pygobject) | |
4090 | ("vala" ,vala) | |
4091 | ("gmime" ,gmime) | |
f0afb0c8 DH |
4092 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
4093 | ("grilo" ,grilo) | |
4094 | ("grilo-plugins" ,grilo-plugins) | |
4095 | ("gstreamer" ,gstreamer) | |
4096 | ("gst-plugins-base" ,gst-plugins-base) | |
4097 | ("gst-plugins-good" ,gst-plugins-good) | |
f0afb0c8 | 4098 | ("totem-pl-parser" ,totem-pl-parser) |
ea226291 | 4099 | ("libgudev" ,libgudev) |
f0afb0c8 DH |
4100 | ;;("libmtp" ,libmtp) FIXME: Not detected |
4101 | ("libsecret" ,libsecret) | |
4102 | ("libsoup" ,libsoup) | |
4103 | ("libnotify" ,libnotify) | |
4104 | ("libpeas" ,libpeas) | |
4105 | ("lirc" ,lirc) | |
4106 | ;; TODO: clutter* only used by visualizer plugin, which also requires mx | |
4107 | ;;("clutter" ,clutter) | |
4108 | ;;("clutter-gtk" ,clutter-gtk) | |
4109 | ;;("clutter-gst" ,clutter-gst) | |
4110 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4111 | ("atk" ,atk) | |
4112 | ("pango" ,pango) | |
4113 | ("gtk+" ,gtk+) | |
4114 | ;; TODO: | |
4115 | ;; * libgpod | |
4116 | ;; * mx | |
f0afb0c8 DH |
4117 | ("brasero" ,brasero))) |
4118 | (home-page "https://wiki.gnome.org/Apps/Rhythmbox") | |
4119 | (synopsis "Music player for GNOME") | |
4120 | (description "Rhythmbox is a music playing application for GNOME. It | |
4121 | supports playlists, song ratings, and any codecs installed through gstreamer.") | |
4122 | (license license:gpl2+))) | |
f70d8383 DH |
4123 | |
4124 | (define-public eog | |
4125 | (package | |
4126 | (name "eog") | |
ec7d4bc7 | 4127 | (version "3.28.4") |
f70d8383 DH |
4128 | (source (origin |
4129 | (method url-fetch) | |
4130 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4131 | (version-major+minor version) "/" | |
4132 | name "-" version ".tar.xz")) | |
4133 | (sha256 | |
4134 | (base32 | |
ec7d4bc7 | 4135 | "1wrq3l3z0x6q0hnc1vqr2hnyb1b14qw6aqvc5dldfgbs0yys6p55")))) |
61fb581f | 4136 | (build-system meson-build-system) |
f70d8383 | 4137 | (arguments |
34c44a34 RW |
4138 | `(#:configure-flags |
4139 | ;; Otherwise, the RUNPATH will lack the final 'eog' path component. | |
4140 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
4141 | (assoc-ref %outputs "out") "/lib/eog")) | |
4142 | #:phases | |
f70d8383 | 4143 | (modify-phases %standard-phases |
7a034665 EF |
4144 | (add-after 'unpack 'skip-gtk-update-icon-cache |
4145 | ;; Don't create 'icon-theme.cache'. | |
4146 | (lambda _ | |
4147 | (substitute* "meson_post_install.py" | |
4148 | (("gtk-update-icon-cache") "true")) | |
4149 | #t)) | |
61fb581f RW |
4150 | (add-after 'install 'wrap-eog |
4151 | (lambda* (#:key outputs #:allow-other-keys) | |
4152 | (let ((out (assoc-ref outputs "out")) | |
4153 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
4154 | (wrap-program (string-append out "/bin/eog") | |
4155 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
4156 | #t))))) | |
f70d8383 DH |
4157 | (propagated-inputs |
4158 | `(("dconf" ,dconf))) | |
4159 | (native-inputs | |
4160 | `(("intltool" ,intltool) | |
b3546174 | 4161 | ("itstool" ,itstool) |
f70d8383 DH |
4162 | ("glib" ,glib "bin") |
4163 | ("gobject-introspection" ,gobject-introspection) | |
bcb354ad SB |
4164 | ("pkg-config" ,pkg-config) |
4165 | ("xmllint" ,libxml2))) | |
f70d8383 DH |
4166 | (inputs |
4167 | `(("gnome-desktop" ,gnome-desktop) | |
4168 | ("shared-mime-info" ,shared-mime-info) | |
4169 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
4170 | ("exempi" ,exempi) | |
4171 | ("lcms" ,lcms) | |
4172 | ("libexif" ,libexif) | |
4173 | ("libpeas" ,libpeas) | |
4174 | ("libjpeg" ,libjpeg) | |
4175 | ("librsvg" ,librsvg) | |
4176 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4177 | ("gtk+" ,gtk+))) | |
4178 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome") | |
4179 | (synopsis "GNOME image viewer") | |
4180 | (description "Eye of GNOME is the GNOME image viewer. It | |
4181 | supports image conversion, rotation, and slideshows.") | |
4182 | (license license:gpl2+))) | |
41af5e7b | 4183 | |
0c3f8cb8 LC |
4184 | (define-public eog-plugins |
4185 | ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as | |
4186 | ;; $DATA/lib/eog/plugins, where DATA is one of the entries in | |
4187 | ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have | |
4188 | ;; 'XDG_DATA_DIRS' appropriately set. | |
4189 | (package | |
4190 | (name "eog-plugins") | |
54b74cc6 | 4191 | (version "3.26.4") |
0c3f8cb8 LC |
4192 | (source (origin |
4193 | (method url-fetch) | |
f3b88ed2 | 4194 | (uri (string-append "mirror://gnome/sources/eog-plugins/" |
0c3f8cb8 | 4195 | (version-major+minor version) "/" |
f3b88ed2 | 4196 | "eog-plugins-" version ".tar.xz")) |
0c3f8cb8 LC |
4197 | (sha256 |
4198 | (base32 | |
54b74cc6 | 4199 | "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx")))) |
0c3f8cb8 LC |
4200 | (build-system gnu-build-system) |
4201 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins") | |
4202 | (synopsis "Extensions for the Eye of GNOME image viewer") | |
4203 | (native-inputs | |
4204 | `(("pkg-config" ,pkg-config) | |
4205 | ("gettext" ,gnu-gettext))) | |
4206 | (inputs | |
4207 | `(("eog" ,eog) | |
4208 | ("glib" ,glib) | |
4209 | ("gtk+" ,gtk+) | |
4210 | ("libpeas" ,libpeas) | |
4211 | ("libexif" ,libexif) | |
4212 | ("libchamplain" ,libchamplain))) | |
4213 | (description | |
4214 | "This package provides plugins for the Eye of GNOME (EOG) image viewer, | |
4215 | notably: | |
4216 | ||
4217 | @itemize | |
4218 | @item @dfn{EXIF Display}, which displays camera (EXIF) information; | |
4219 | @item @dfn{Map}, which displays a map of where the picture was taken on the | |
4220 | side panel; | |
4221 | @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode. | |
4222 | @end itemize\n") | |
4223 | ||
4224 | ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a | |
4225 | ;; long suspicious byte stream that goes to a | |
4226 | ;; ".gresource.eog_postasa_plugin" ELF section. | |
4227 | (license license:gpl2+))) | |
4228 | ||
41af5e7b SB |
4229 | (define-public libgudev |
4230 | (package | |
4231 | (name "libgudev") | |
b78f5118 | 4232 | (version "232") |
41af5e7b SB |
4233 | (source (origin |
4234 | (method url-fetch) | |
4235 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4236 | version "/" name "-" version ".tar.xz")) | |
4237 | (sha256 | |
4238 | (base32 | |
b78f5118 | 4239 | "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f")))) |
41af5e7b | 4240 | (build-system gnu-build-system) |
b78f5118 RW |
4241 | (arguments |
4242 | '(#:configure-flags | |
4243 | ;; umockdev depends on libgudev. | |
4244 | (list "--disable-umockdev"))) | |
41af5e7b SB |
4245 | (native-inputs |
4246 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
4247 | ("gobject-introspection" ,gobject-introspection) | |
4248 | ("pkg-config" ,pkg-config))) | |
4249 | (propagated-inputs | |
4250 | `(("glib" ,glib))) ; required by gudev-1.0.pc | |
4251 | (inputs | |
4252 | `(("udev" ,eudev))) | |
4253 | (home-page "https://wiki.gnome.org/Projects/libgudev") | |
4254 | (synopsis "GObject bindings for libudev") | |
4255 | (description | |
4256 | "This library provides GObject bindings for libudev. It was originally | |
4257 | part of udev-extras, then udev, then systemd. It's now a project on its own.") | |
4258 | (license license:lgpl2.1+))) | |
3dc8828f SB |
4259 | |
4260 | (define-public gvfs | |
4261 | (package | |
4262 | (name "gvfs") | |
12fe4846 | 4263 | (version "1.40.1") |
3dc8828f SB |
4264 | (source (origin |
4265 | (method url-fetch) | |
1d68eb32 | 4266 | (uri (string-append "mirror://gnome/sources/gvfs/" |
3dc8828f | 4267 | (version-major+minor version) "/" |
1d68eb32 | 4268 | "gvfs-" version ".tar.xz")) |
3dc8828f SB |
4269 | (sha256 |
4270 | (base32 | |
12fe4846 | 4271 | "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj")))) |
e762d943 | 4272 | (build-system meson-build-system) |
3dc8828f | 4273 | (arguments |
e762d943 RW |
4274 | '(#:glib-or-gtk? #t |
4275 | #:configure-flags | |
4276 | (list "-Dsystemduserunitdir=no" | |
4277 | "-Dtmpfilesdir=no" | |
4278 | ;; Otherwise, the RUNPATH will lack the final path component. | |
4279 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
4280 | (assoc-ref %outputs "out") "/lib/gvfs")))) | |
3dc8828f SB |
4281 | (native-inputs |
4282 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
0ab9f949 RW |
4283 | ("gettext" ,gettext-minimal) |
4284 | ("gtk-doc" ,gtk-doc) | |
3dc8828f SB |
4285 | ("pkg-config" ,pkg-config) |
4286 | ("xsltproc" ,libxslt))) | |
4287 | (inputs | |
4288 | `(("avahi" ,avahi) | |
4289 | ("docbook-xml" ,docbook-xml-4.2) | |
4290 | ("docbook-xsl" ,docbook-xsl) | |
4291 | ("dbus" ,dbus) | |
e762d943 | 4292 | ("elogind" ,elogind) |
3dc8828f | 4293 | ("fuse" ,fuse) |
24a78aa6 | 4294 | ("gcr" ,gcr) |
3dc8828f | 4295 | ("glib" ,glib) |
e762d943 | 4296 | ("gnome-online-accounts" ,gnome-online-accounts) |
3dc8828f SB |
4297 | ("libarchive" ,libarchive) |
4298 | ("libbluray" ,libbluray) | |
8852ca24 | 4299 | ("libcap" ,libcap) |
3dc8828f SB |
4300 | ("libcdio-paranoia" ,libcdio-paranoia) |
4301 | ("libgcrypt" ,libgcrypt) | |
e762d943 | 4302 | ("libgdata" ,libgdata) |
3dc8828f SB |
4303 | ("libgphoto2" ,libgphoto2) |
4304 | ("libgudev" ,libgudev) | |
0ab9f949 | 4305 | ("libimobiledevice" ,libimobiledevice) |
3dc8828f | 4306 | ("libmtp" ,libmtp) |
e762d943 | 4307 | ("libnfs" ,libnfs) |
3dc8828f SB |
4308 | ("libsecret" ,libsecret) |
4309 | ("libsmbclient" ,samba) | |
4310 | ("libsoup" ,libsoup) | |
4311 | ("libxml2" ,libxml2) | |
e762d943 | 4312 | ("openssh" ,openssh) |
8852ca24 | 4313 | ("polkit" ,polkit) |
3dc8828f SB |
4314 | ("udisks" ,udisks))) |
4315 | (home-page "https://wiki.gnome.org/gvfs/") | |
8f65585b | 4316 | (synopsis "Userspace virtual file system for GIO") |
3dc8828f | 4317 | (description |
8f65585b | 4318 | "GVFS is a userspace virtual file system designed to work with the I/O |
3dc8828f SB |
4319 | abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support |
4320 | to all applications using the GIO API. It also supports exposing the GVFS | |
4321 | mounts to non-GIO applications using FUSE. | |
4322 | ||
4323 | GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP, | |
4324 | DAV, and others.") | |
4325 | (license license:lgpl2.0+))) | |
7c88b6bd AW |
4326 | |
4327 | (define-public gusb | |
4328 | (package | |
4329 | (name "gusb") | |
536b3274 | 4330 | (version "0.3.0") |
7c88b6bd | 4331 | (source (origin |
bbfb36f9 EF |
4332 | (method git-fetch) |
4333 | (uri (git-reference | |
4334 | (url "https://github.com/hughsie/libgusb.git") | |
4335 | (commit version))) | |
4336 | (file-name (git-file-name name version)) | |
7c88b6bd AW |
4337 | (sha256 |
4338 | (base32 | |
bbfb36f9 | 4339 | "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7")))) |
536b3274 | 4340 | (build-system meson-build-system) |
7c88b6bd | 4341 | (native-inputs |
536b3274 | 4342 | `(("gobject-introspection" ,gobject-introspection) |
7c88b6bd AW |
4343 | ("pkg-config" ,pkg-config) |
4344 | ("vala" ,vala) | |
7c88b6bd AW |
4345 | ("gtk-doc" ,gtk-doc))) |
4346 | (propagated-inputs | |
4347 | ;; Both of these are required by gusb.pc. | |
4348 | `(("glib" ,glib) | |
4349 | ("libusb" ,libusb))) | |
4350 | (arguments | |
536b3274 | 4351 | `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is. |
8f1640ed | 4352 | (home-page "https://github.com/hughsie/libgusb") |
a124bbd2 | 4353 | (synopsis "GLib binding for libusb1") |
7c88b6bd AW |
4354 | (description |
4355 | "GUsb is a GObject wrapper for libusb1 that makes it easy to do | |
4356 | asynchronous control, bulk and interrupt transfers with proper cancellation | |
4357 | and integration into a mainloop. This makes it easy to integrate low level | |
4358 | USB transfers with your high-level application or system daemon.") | |
4359 | (license license:lgpl2.1+))) | |
0abe1d86 AW |
4360 | |
4361 | (define-public simple-scan | |
4362 | (package | |
4363 | (name "simple-scan") | |
d9f6d587 TGR |
4364 | (version "3.34.1") |
4365 | (source | |
4366 | (origin | |
4367 | (method url-fetch) | |
4368 | (uri (string-append "mirror://gnome/sources/simple-scan/" | |
4369 | (version-major+minor version) "/" | |
4370 | "simple-scan-" version ".tar.xz")) | |
4371 | (sha256 | |
4372 | (base32 "0glzskxdc7p9z7nwcakqc7qzij4l79adlvvb2cj5fmis731zw9yq")))) | |
4373 | (build-system meson-build-system) | |
4374 | ;; TODO: Fix icons in home screen, About dialogue, and scan menu. | |
4375 | (arguments | |
4376 | '(#:glib-or-gtk? #t)) | |
0abe1d86 AW |
4377 | (inputs |
4378 | `(("gtk" ,gtk+) | |
4379 | ("zlib" ,zlib) | |
4380 | ("cairo" ,cairo) | |
c501f592 | 4381 | ("colord" ,colord) |
0abe1d86 AW |
4382 | ("gdk-pixbuf" ,gdk-pixbuf) |
4383 | ("gusb" ,gusb) | |
4c928743 | 4384 | ("libsane" ,sane-backends))) |
0abe1d86 | 4385 | (native-inputs |
b94a6ca0 | 4386 | `(("gettext" ,gettext-minimal) |
0abe1d86 | 4387 | ("itstool" ,itstool) |
c501f592 | 4388 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
0abe1d86 | 4389 | ("pkg-config" ,pkg-config) |
bcb354ad SB |
4390 | ("vala" ,vala) |
4391 | ("xmllint" ,libxml2))) | |
dff0eedb | 4392 | (home-page "https://gitlab.gnome.org/GNOME/simple-scan") |
0abe1d86 | 4393 | (synopsis "Document and image scanner") |
d9f6d587 TGR |
4394 | (description |
4395 | "Document Scanner is an easy-to-use application that lets you connect your | |
4396 | scanner and quickly capture images and documents in an appropriate format. It | |
4397 | supports any scanner for which a suitable SANE driver is available, which is | |
4398 | almost all of them.") | |
0abe1d86 | 4399 | (license license:gpl3+))) |
7549f984 | 4400 | |
ab466d79 RW |
4401 | (define-public eolie |
4402 | (package | |
4403 | (name "eolie") | |
fa8ef3ed | 4404 | (version "0.9.63") |
ab466d79 RW |
4405 | (source (origin |
4406 | (method url-fetch) | |
00014781 | 4407 | (uri (string-append "https://gitlab.gnome.org/World/eolie/" |
fa8ef3ed | 4408 | "uploads/d42b466752729a0d3fa828a721e25043/" |
00014781 | 4409 | "eolie-" version ".tar.xz")) |
ab466d79 RW |
4410 | (sha256 |
4411 | (base32 | |
fa8ef3ed | 4412 | "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih")))) |
00014781 | 4413 | (build-system meson-build-system) |
ab466d79 | 4414 | (arguments |
00014781 RW |
4415 | `(#:glib-or-gtk? #t |
4416 | #:phases | |
ab466d79 | 4417 | (modify-phases %standard-phases |
f0c68100 EF |
4418 | (add-after 'unpack 'skip-gtk-update-icon-cache |
4419 | ;; Don't create 'icon-theme.cache'. | |
4420 | (lambda _ | |
4421 | (substitute* "meson_post_install.py" | |
4422 | (("gtk-update-icon-cache") "true")) | |
4423 | #t)) | |
ab466d79 RW |
4424 | (add-after 'wrap 'wrap-more |
4425 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4426 | (let* ((out (assoc-ref outputs "out")) | |
4427 | ;; These libraries must be on LD_LIBRARY_PATH. | |
4428 | (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret" | |
4429 | "atk" "gtk+" "gsettings-desktop-schemas" | |
4430 | "gobject-introspection")) | |
4431 | (path (string-join | |
4432 | (map (lambda (lib) | |
4433 | (string-append (assoc-ref inputs lib) "/lib")) | |
4434 | libs) | |
4435 | ":"))) | |
4436 | (wrap-program (string-append out "/bin/eolie") | |
4437 | `("LD_LIBRARY_PATH" ":" prefix (,path)) | |
4438 | `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))) | |
4439 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))) | |
4440 | #t))))) | |
4441 | (native-inputs | |
f85ca6ed | 4442 | `(("intltool" ,intltool) |
ab466d79 | 4443 | ("itstool" ,itstool) |
d95f1041 | 4444 | ("pkg-config" ,pkg-config) |
d95f1041 | 4445 | ("python" ,python) |
f0c68100 | 4446 | ("glib:bin" ,glib "bin"))) |
ab466d79 RW |
4447 | (inputs |
4448 | `(("gobject-introspection" ,gobject-introspection) | |
4449 | ("glib-networking" ,glib-networking) | |
4450 | ("cairo" ,cairo) | |
4451 | ("gtk+" ,gtk+) | |
4452 | ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH | |
4453 | ("python" ,python-wrapper) | |
d72f76df | 4454 | ("python-dateutil" ,python-dateutil) |
00014781 | 4455 | ("python-pyfxa" ,python-pyfxa) |
ab466d79 RW |
4456 | ("python-pygobject" ,python-pygobject) |
4457 | ("python-pycairo" ,python-pycairo) | |
00014781 | 4458 | ("python-pycrypto" ,python-pycrypto) |
ab466d79 RW |
4459 | ("libsecret" ,libsecret) |
4460 | ("gtkspell3" ,gtkspell3) | |
4461 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
f85ca6ed | 4462 | ("webkitgtk" ,webkitgtk))) |
166b2c97 | 4463 | (home-page "https://wiki.gnome.org/Apps/Eolie") |
ab466d79 RW |
4464 | (synopsis "Web browser for GNOME") |
4465 | (description | |
4466 | "Eolie is a new web browser for GNOME. It features Firefox sync support, | |
4467 | a secret password store, an adblocker, and a modern UI.") | |
4468 | (license license:gpl3+))) | |
4469 | ||
7549f984 SB |
4470 | (define-public epiphany |
4471 | (package | |
4472 | (name "epiphany") | |
f37dfe1e | 4473 | (version "3.30.4") |
7549f984 SB |
4474 | (source (origin |
4475 | (method url-fetch) | |
dd3266ec | 4476 | (uri (string-append "mirror://gnome/sources/epiphany/" |
7549f984 | 4477 | (version-major+minor version) "/" |
dd3266ec | 4478 | "epiphany-" version ".tar.xz")) |
7549f984 SB |
4479 | (sha256 |
4480 | (base32 | |
f37dfe1e | 4481 | "0nk0krzrfck6hhfs52f4sjmj93yjyvabm72bq8i8f9l1pass5vgd")))) |
fc5c5b92 R |
4482 | |
4483 | (build-system meson-build-system) | |
7549f984 SB |
4484 | (arguments |
4485 | ;; FIXME: tests run under Xvfb, but fail with: | |
4486 | ;; /src/bookmarks/ephy-bookmarks/create: | |
4487 | ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf | |
4488 | ;; subsystem | |
4489 | ;; FAIL | |
6f48d9db | 4490 | '(#:tests? #f |
e19f9c24 | 4491 | #:glib-or-gtk? #t |
bb7ff88f EF |
4492 | #:phases |
4493 | (modify-phases %standard-phases | |
4494 | (add-after 'unpack 'skip-gtk-update-icon-cache | |
4495 | ;; Don't create 'icon-theme.cache'. | |
4496 | (lambda _ | |
4497 | (substitute* "post_install.py" | |
4498 | (("gtk-update-icon-cache") "true")) | |
4499 | #t))) | |
e19f9c24 LF |
4500 | #:configure-flags |
4501 | ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component. | |
4502 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
4503 | (assoc-ref %outputs "out") "/lib/epiphany")))) | |
80a747c4 SB |
4504 | (propagated-inputs |
4505 | `(("dconf" ,dconf))) | |
7549f984 | 4506 | (native-inputs |
fc5c5b92 R |
4507 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
4508 | ("glib:bin" ,glib "bin") ; for glib-mkenums | |
fc5c5b92 | 4509 | ("intltool" ,intltool) |
7549f984 | 4510 | ("itstool" ,itstool) |
bcb354ad SB |
4511 | ("pkg-config" ,pkg-config) |
4512 | ("xmllint" ,libxml2))) | |
7549f984 SB |
4513 | (inputs |
4514 | `(("avahi" ,avahi) | |
4515 | ("gcr" ,gcr) | |
fc5c5b92 | 4516 | ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files |
7549f984 SB |
4517 | ("glib-networking" ,glib-networking) |
4518 | ("gnome-desktop" ,gnome-desktop) | |
4519 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
eb6f315b | 4520 | ("json-glib" ,json-glib) |
7549f984 | 4521 | ("iso-codes" ,iso-codes) |
8748e29c | 4522 | ("libdazzle" ,libdazzle) |
7549f984 SB |
4523 | ("libnotify" ,libnotify) |
4524 | ("libsecret" ,libsecret) | |
7549f984 | 4525 | ("libxslt" ,libxslt) |
fc5c5b92 | 4526 | ("nettle" ,nettle) ; for hogweed |
7549f984 | 4527 | ("sqlite" ,sqlite) |
f85ca6ed | 4528 | ("webkitgtk" ,webkitgtk))) |
7549f984 SB |
4529 | (home-page "https://wiki.gnome.org/Apps/Web") |
4530 | (synopsis "GNOME web browser") | |
4531 | (description | |
4532 | "Epiphany is a GNOME web browser targeted at non-technical users. Its | |
4533 | principles are simplicity and standards compliance.") | |
4534 | (license license:gpl2+))) | |
a3856b2c SB |
4535 | |
4536 | (define-public d-feet | |
4537 | (package | |
4538 | (name "d-feet") | |
458e9221 | 4539 | (version "0.3.14") |
a3856b2c SB |
4540 | (source (origin |
4541 | (method url-fetch) | |
4542 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4543 | (version-major+minor version) "/" | |
4544 | name "-" version ".tar.xz")) | |
4545 | (sha256 | |
4546 | (base32 | |
458e9221 | 4547 | "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f")))) |
a3856b2c SB |
4548 | (build-system glib-or-gtk-build-system) |
4549 | (arguments | |
4550 | '(#:out-of-source? #f ; tests need to run in the source directory. | |
4551 | #:phases | |
4552 | (modify-phases %standard-phases | |
4553 | (add-before | |
4554 | 'check 'pre-check | |
86aff791 | 4555 | (lambda _ |
a3856b2c SB |
4556 | ;; The test suite requires a running X server. |
4557 | (system "Xvfb :1 &") | |
4558 | (setenv "DISPLAY" ":1") | |
4559 | ;; Don't fail on missing '/etc/machine-id'. | |
4560 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
4561 | ;; tests.py and window.py don't meet E402: | |
4562 | ;; E402 module level import not at top of file | |
4563 | (substitute* "src/tests/Makefile" | |
86aff791 MW |
4564 | (("--ignore=E123") "--ignore=E123,E402")) |
4565 | #t)) | |
a3856b2c SB |
4566 | (add-after |
4567 | 'install 'wrap-program | |
4568 | (lambda* (#:key outputs #:allow-other-keys) | |
4569 | (let ((prog (string-append (assoc-ref outputs "out") | |
4570 | "/bin/d-feet"))) | |
4571 | (wrap-program prog | |
4572 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
86aff791 MW |
4573 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) |
4574 | #t)))))) | |
a3856b2c SB |
4575 | (native-inputs |
4576 | `(("intltool" ,intltool) | |
4577 | ("itstool" ,itstool) | |
4578 | ("pkg-config" ,pkg-config) | |
4579 | ("python-pep8" ,python-pep8) | |
4580 | ("xmllint" ,libxml2) | |
4581 | ("xorg-server" ,xorg-server))) | |
4582 | (inputs | |
4583 | `(("gobject-introspection" ,gobject-introspection) | |
4584 | ("gtk+" ,gtk+) | |
4585 | ("python" ,python-wrapper) | |
458e9221 | 4586 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
a3856b2c SB |
4587 | ("python-pygobject" ,python-pygobject))) |
4588 | (home-page "https://wiki.gnome.org/Apps/DFeet") | |
4589 | (synopsis "D-Bus debugger") | |
4590 | (description | |
4591 | "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces | |
4592 | of running programs and invoke methods on those interfaces.") | |
4593 | (license license:gpl2+))) | |
c3b97bd9 SB |
4594 | |
4595 | (define-public yelp-xsl | |
4596 | (package | |
4597 | (name "yelp-xsl") | |
b3640e79 | 4598 | (version "3.32.1") |
c3b97bd9 SB |
4599 | (source (origin |
4600 | (method url-fetch) | |
4601 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4602 | (version-major+minor version) "/" | |
4603 | name "-" version ".tar.xz")) | |
4604 | (sha256 | |
4605 | (base32 | |
b3640e79 | 4606 | "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya")))) |
c3b97bd9 SB |
4607 | (build-system gnu-build-system) |
4608 | (native-inputs | |
4609 | `(("intltool" ,intltool) | |
4610 | ("itstool" ,itstool) | |
4611 | ("xmllint" ,libxml2))) | |
4612 | (home-page "https://wiki.gnome.org/Apps/Yelp") | |
4613 | (synopsis "XSL stylesheets for Yelp") | |
4614 | (description | |
4615 | "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser | |
4616 | to format Docbook and Mallard documents.") | |
4617 | (license license:gpl2+))) | |
de3d612a SB |
4618 | |
4619 | (define-public yelp | |
4620 | (package | |
4621 | (name "yelp") | |
9d029b7f | 4622 | (version "3.30.0") |
de3d612a SB |
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 | |
9d029b7f | 4630 | "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4")))) |
de3d612a SB |
4631 | (build-system glib-or-gtk-build-system) |
4632 | (native-inputs | |
4633 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
4634 | ("intltool" ,intltool) | |
4635 | ("itstool" ,itstool) | |
4636 | ("pkg-config" ,pkg-config))) | |
4637 | (propagated-inputs | |
4638 | `(("dconf" ,dconf))) | |
4639 | (inputs | |
ad1b7d8b SB |
4640 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
4641 | ("libxslt" ,libxslt) | |
de3d612a | 4642 | ("sqlite" ,sqlite) |
4c28ca1d SB |
4643 | ("webkitgtk" ,webkitgtk) |
4644 | ("yelp-xsl" ,yelp-xsl))) | |
de3d612a SB |
4645 | (home-page "https://wiki.gnome.org/Apps/Yelp") |
4646 | (synopsis "GNOME help browser") | |
4647 | (description | |
4648 | "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook, | |
4649 | man, info, and HTML documents. It can locate documents according to the | |
4650 | freedesktop.org help system specification.") | |
4651 | (license license:gpl2+))) | |
122d0d10 SB |
4652 | |
4653 | (define-public yelp-tools | |
4654 | (package | |
4655 | (name "yelp-tools") | |
2089bca5 | 4656 | (version "3.28.0") |
122d0d10 SB |
4657 | (source (origin |
4658 | (method url-fetch) | |
4659 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4660 | (version-major+minor version) "/" | |
4661 | name "-" version ".tar.xz")) | |
4662 | (sha256 | |
4663 | (base32 | |
2089bca5 | 4664 | "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2")))) |
122d0d10 SB |
4665 | (build-system gnu-build-system) |
4666 | (native-inputs | |
4667 | `(("pkg-config" ,pkg-config))) | |
4668 | (propagated-inputs | |
4669 | ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'. | |
4670 | `(("itstool" ,itstool) | |
4671 | ("xmllint" ,libxml2) | |
4672 | ("xsltproc" ,libxslt))) | |
4673 | (inputs | |
4674 | `(("yelp-xsl" ,yelp-xsl))) | |
4675 | (home-page "https://wiki.gnome.org/Apps/Yelp/Tools") | |
4676 | (synopsis "Yelp documentation tools") | |
4677 | (description | |
4678 | "Yelp-tools is a collection of scripts and build utilities to help create, | |
4679 | manage, and publish documentation for Yelp and the web. Most of the heavy | |
4680 | lifting is done by packages like yelp-xsl and itstool. This package just | |
4681 | wraps things up in a developer-friendly way.") | |
4682 | (license license:gpl2+))) | |
af8f9f23 | 4683 | |
4ed041d9 MB |
4684 | (define-public yelp-tools/fixed |
4685 | ;; This variant fixes a python-libxml2 crash when processing UTF-8 | |
4686 | ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in | |
4687 | ;; the next rebuild cycle. | |
4688 | (hidden-package | |
4689 | (package/inherit | |
4690 | yelp-tools | |
4691 | (propagated-inputs | |
4692 | `(("itstool" ,itstool/fixed) | |
4693 | ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools))))))) | |
4694 | ||
af8f9f23 RW |
4695 | (define-public libgee |
4696 | (package | |
4697 | (name "libgee") | |
4c2c5ae6 | 4698 | (version "0.20.2") |
af8f9f23 RW |
4699 | (source (origin |
4700 | (method url-fetch) | |
84a1b007 | 4701 | (uri (string-append "mirror://gnome/sources/libgee/" |
af8f9f23 | 4702 | (version-major+minor version) "/" |
84a1b007 | 4703 | "libgee-" version ".tar.xz")) |
af8f9f23 RW |
4704 | (sha256 |
4705 | (base32 | |
4c2c5ae6 | 4706 | "0g1mhl7nidg82v4cikkk8dakzc18hg7wv0dsf2pbyijzfm5mq0wy")))) |
af8f9f23 RW |
4707 | (build-system gnu-build-system) |
4708 | (arguments | |
4709 | `(#:phases | |
4710 | (modify-phases %standard-phases | |
4711 | (add-after 'unpack 'fix-introspection-install-dir | |
4712 | (lambda* (#:key outputs #:allow-other-keys) | |
4713 | (let ((out (assoc-ref outputs "out"))) | |
4714 | (substitute* "gee/Makefile.in" | |
4715 | (("@INTROSPECTION_GIRDIR@") | |
4716 | (string-append out "/share/gir-1.0/")) | |
4717 | (("@INTROSPECTION_TYPELIBDIR@") | |
4718 | (string-append out "/lib/girepository-1.0/"))))))))) | |
4719 | (native-inputs | |
4720 | `(("glib" ,glib "bin") | |
4721 | ("pkg-config" ,pkg-config))) | |
4722 | (inputs | |
4723 | `(("glib" ,glib) | |
4724 | ("gobject-introspection" ,gobject-introspection))) | |
4725 | (home-page "https://wiki.gnome.org/Projects/Libgee") | |
4726 | (synopsis "GObject collection library") | |
4727 | (description | |
4728 | "Libgee is a utility library providing GObject-based interfaces and | |
4729 | classes for commonly used data structures.") | |
4730 | (license license:lgpl2.1+))) | |
b0f9c4b8 RW |
4731 | |
4732 | (define-public gexiv2 | |
4733 | (package | |
4734 | (name "gexiv2") | |
b1a8b408 | 4735 | (version "0.12.0") |
b0f9c4b8 RW |
4736 | (source (origin |
4737 | (method url-fetch) | |
4738 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4739 | (version-major+minor version) "/" | |
4740 | name "-" version ".tar.xz")) | |
4741 | (sha256 | |
4742 | (base32 | |
b1a8b408 | 4743 | "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq")))) |
51c482e4 | 4744 | (build-system meson-build-system) |
b0f9c4b8 | 4745 | (native-inputs |
b1a8b408 KK |
4746 | `(("gcr" ,gcr) |
4747 | ("glib" ,glib "bin") | |
4748 | ("pkg-config" ,pkg-config) | |
4749 | ("vala" ,vala))) | |
b0f9c4b8 RW |
4750 | (propagated-inputs |
4751 | ;; Listed in "Requires" section of gexiv2.pc | |
4752 | `(("exiv2" ,exiv2))) | |
4753 | (inputs | |
4754 | `(("glib" ,glib) | |
4755 | ("gobject-introspection" ,gobject-introspection))) | |
4756 | (home-page "https://wiki.gnome.org/Projects/gexiv2") | |
4757 | (synopsis "GObject wrapper around the Exiv2 photo metadata library") | |
4758 | (description | |
4759 | "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It | |
4760 | allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP | |
4761 | metadata in photo and video files of various formats.") | |
4762 | (license license:gpl2+))) | |
fed5a689 RW |
4763 | |
4764 | (define-public shotwell | |
4765 | (package | |
4766 | (name "shotwell") | |
a1c6fb52 | 4767 | (version "0.30.7") |
fed5a689 RW |
4768 | (source (origin |
4769 | (method url-fetch) | |
5497d682 | 4770 | (uri (string-append "mirror://gnome/sources/shotwell/" |
fed5a689 | 4771 | (version-major+minor version) "/" |
5497d682 | 4772 | "shotwell-" version ".tar.xz")) |
fed5a689 RW |
4773 | (sha256 |
4774 | (base32 | |
a1c6fb52 | 4775 | "1m9i8r4gyd2hzlxjjwfyck4kz7gdg2vz2k6l6d0ga9hdfq2l4p9l")))) |
3b79afa6 KK |
4776 | (build-system meson-build-system) |
4777 | (arguments | |
4778 | '(#:glib-or-gtk? #t)) | |
735b8db6 TGR |
4779 | (propagated-inputs |
4780 | `(("dconf" ,dconf))) | |
fed5a689 | 4781 | (native-inputs |
3b79afa6 | 4782 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
b94a6ca0 | 4783 | ("gettext" ,gettext-minimal) |
77e9c993 | 4784 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
735b8db6 | 4785 | ("itstool" ,itstool) |
3b79afa6 | 4786 | ("pkg-config" ,pkg-config) |
735b8db6 | 4787 | ("vala" ,vala))) |
fed5a689 | 4788 | (inputs |
735b8db6 TGR |
4789 | `(("glib:bin" ,glib "bin") |
4790 | ("gstreamer" ,gstreamer) | |
fed5a689 | 4791 | ("gst-plugins-base" ,gst-plugins-base) |
dfb0323d | 4792 | ("libgdata" ,libgdata) |
fed5a689 RW |
4793 | ("libgee" ,libgee) |
4794 | ("gexiv2" ,gexiv2) | |
4795 | ("libraw" ,libraw) | |
4796 | ("json-glib" ,json-glib) | |
7108425c | 4797 | ("webkitgtk" ,webkitgtk) |
fed5a689 RW |
4798 | ("sqlite" ,sqlite) |
4799 | ("libsoup" ,libsoup) | |
4800 | ("libxml2" ,libxml2) | |
fed5a689 | 4801 | ("libgudev" ,libgudev) |
522fc32e LF |
4802 | ("libgphoto2" ,libgphoto2) |
4803 | ("gcr" ,gcr))) | |
fed5a689 RW |
4804 | (home-page "https://wiki.gnome.org/Apps/Shotwell") |
4805 | (synopsis "Photo manager for GNOME 3") | |
4806 | (description | |
4807 | "Shotwell is a digital photo manager designed for the GNOME desktop | |
4808 | environment. It allows you to import photos from disk or camera, organize | |
4809 | them by keywords and events, view them in full-window or fullscreen mode, and | |
4810 | share them with others via social networking and more.") | |
4811 | (license license:lgpl2.1+))) | |
293ff8b2 DT |
4812 | |
4813 | (define-public file-roller | |
4814 | (package | |
4815 | (name "file-roller") | |
976e7801 | 4816 | (version "3.30.1") |
293ff8b2 DT |
4817 | (source (origin |
4818 | (method url-fetch) | |
4819 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4820 | (version-major+minor version) "/" | |
4821 | name "-" version ".tar.xz")) | |
4822 | (sha256 | |
4823 | (base32 | |
976e7801 | 4824 | "0kiragsqyixyx15747b71qc4nw8y4jx9d55wgg612xb0hp5l9pj1")))) |
0a500745 | 4825 | (build-system meson-build-system) |
293ff8b2 | 4826 | (native-inputs |
0a500745 RW |
4827 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
4828 | ("intltool" ,intltool) | |
4829 | ("pkg-config" ,pkg-config) | |
4830 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache | |
4831 | ("glib:bin" ,glib "bin"))) | |
293ff8b2 DT |
4832 | ;; TODO: Add libnautilus. |
4833 | (inputs | |
4834 | `(("gtk+" ,gtk+) | |
4835 | ("gdk-pixbuf" ,gdk-pixbuf) | |
4836 | ("json-glib" ,json-glib) | |
4837 | ("libarchive" ,libarchive) | |
4838 | ("libnotify" ,libnotify) | |
293ff8b2 DT |
4839 | ("itstool" ,itstool) |
4840 | ("libxml2" ,libxml2))) | |
4841 | (synopsis "Graphical archive manager for GNOME") | |
4842 | (description "File Roller is an archive manager for the GNOME desktop | |
4843 | environment that allows users to view, unpack, and create compressed archives | |
4844 | such as gzip tarballs.") | |
4845 | (home-page "http://fileroller.sourceforge.net/") | |
4846 | (license license:gpl2+))) | |
7ce49365 SB |
4847 | |
4848 | (define-public gnome-session | |
4849 | (package | |
4850 | (name "gnome-session") | |
da886d6f | 4851 | (version "3.30.1") |
7ce49365 SB |
4852 | (source (origin |
4853 | (method url-fetch) | |
4854 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4855 | (version-major+minor version) "/" | |
4856 | name "-" version ".tar.xz")) | |
4857 | (sha256 | |
4858 | (base32 | |
da886d6f | 4859 | "0fbpq103md4g9gi67rxnwvha21629nxx7qazddy6q6494sbqbzpa")))) |
2914af3c | 4860 | (arguments |
df278071 RW |
4861 | '(#:glib-or-gtk? #t |
4862 | #:phases | |
2914af3c AW |
4863 | (modify-phases %standard-phases |
4864 | (add-before 'configure 'pre-configure | |
4865 | (lambda* (#:key outputs #:allow-other-keys) | |
4866 | ;; Use elogind instead of systemd. | |
df278071 RW |
4867 | (substitute* "meson.build" |
4868 | (("libsystemd-login") "libelogind") | |
4869 | (("and libsystemd_daemon_dep.found.*") ",")) | |
2914af3c AW |
4870 | (substitute* "gnome-session/gsm-systemd.c" |
4871 | (("#include <systemd/sd-login.h>") | |
4872 | "#include <elogind/sd-login.h>")) | |
df278071 | 4873 | ;; Remove uses of the systemd daemon. |
803ab416 SB |
4874 | (substitute* "gnome-session/gsm-autostart-app.c" |
4875 | (("#ifdef HAVE_SYSTEMD") "#if 0")) | |
a0d7baaf LC |
4876 | #t)) |
4877 | (add-after 'install 'wrap-gnome-session | |
4878 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4879 | ;; Make sure 'gnome-session' finds the 'gsettings' program. | |
4880 | (let ((glib (assoc-ref inputs "glib:bin")) | |
4881 | (out (assoc-ref outputs "out"))) | |
4882 | (wrap-program (string-append out "/bin/gnome-session") | |
4883 | `("PATH" ":" prefix (,(string-append glib "/bin")))) | |
4884 | #t)))) | |
6cbc8d57 | 4885 | |
2914af3c | 4886 | #:configure-flags |
df278071 RW |
4887 | '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error |
4888 | "-Dman=false" ; FIXME: disabled because of docbook validation error | |
4889 | "-Dsystemd_journal=false"))) | |
4890 | (build-system meson-build-system) | |
7ce49365 SB |
4891 | (native-inputs |
4892 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4893 | ("pkg-config" ,pkg-config) | |
4894 | ("intltool" ,intltool) | |
df278071 RW |
4895 | ("xsltproc" ,libxslt) |
4896 | ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' | |
4897 | ("docbook-xsl" ,docbook-xsl) | |
4898 | ("docbook-xml" ,docbook-xml) | |
4899 | ("xmlto" ,xmlto))) | |
7ce49365 | 4900 | (inputs |
2914af3c AW |
4901 | `(("elogind" ,elogind) |
4902 | ("gnome-desktop" ,gnome-desktop) | |
ba3cb5ab | 4903 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
7ce49365 SB |
4904 | ("gtk+" ,gtk+) |
4905 | ("json-glib" ,json-glib) | |
4906 | ("libsm" ,libsm) | |
4907 | ("libxcomposite" ,libxcomposite) | |
4908 | ("libxtst" ,libxtst) | |
4909 | ("mesa" ,mesa) | |
4910 | ("upower" ,upower) | |
4911 | ("xtrans" ,xtrans))) | |
4912 | (synopsis "Session manager for GNOME") | |
4913 | (description | |
4914 | "This package contains the GNOME session manager, as well as a | |
4915 | configuration program to choose applications starting on login.") | |
4916 | (home-page "https://wiki.gnome.org/Projects/SessionManagement") | |
4917 | (license license:gpl2+))) | |
f47ba77e SB |
4918 | |
4919 | (define-public gjs | |
4920 | (package | |
4921 | (name "gjs") | |
d054fbf5 | 4922 | (version "1.56.2") |
f47ba77e SB |
4923 | (source (origin |
4924 | (method url-fetch) | |
4925 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4926 | (version-major+minor version) "/" | |
4927 | name "-" version ".tar.xz")) | |
4928 | (sha256 | |
4929 | (base32 | |
d054fbf5 | 4930 | "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac")))) |
f47ba77e SB |
4931 | (build-system gnu-build-system) |
4932 | (arguments | |
4933 | '(#:phases | |
4934 | (modify-phases %standard-phases | |
4935 | (add-before | |
4936 | 'check 'pre-check | |
4937 | (lambda _ | |
fc119619 MW |
4938 | ;; The test suite requires a running X server. |
4939 | (system "Xvfb :1 &") | |
4940 | (setenv "DISPLAY" ":1") | |
4941 | ||
f47ba77e SB |
4942 | ;; For the missing /etc/machine-id. |
4943 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
ba666b07 | 4944 | |
144f94d0 KK |
4945 | ;; Our mozjs-38 package does not compile the required Intl API |
4946 | ;; support for these failing tests. | |
4947 | (substitute* "installed-tests/js/testLocale.js" | |
4948 | ((".*toBeDefined.*") "") | |
4949 | ((".*expect\\(datestr\\).*") "")) | |
d054fbf5 KK |
4950 | (substitute* "installed-tests/scripts/testCommandLine.sh" |
4951 | (("Valentín") "") | |
4952 | (("☭") "")) | |
f47ba77e SB |
4953 | #t))))) |
4954 | (native-inputs | |
8a831c6f | 4955 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources |
f47ba77e SB |
4956 | ("pkg-config" ,pkg-config) |
4957 | ("xmllint" ,libxml2) | |
4958 | ;; For testing | |
4959 | ("dbus-launch" ,dbus) | |
4960 | ("uuidgen" ,util-linux) | |
ebebee94 | 4961 | ("xvfb" ,xorg-server-for-tests))) |
f47ba77e SB |
4962 | (propagated-inputs |
4963 | ;; These are all in the Requires.private field of gjs-1.0.pc. | |
144f94d0 KK |
4964 | `(("cairo" ,cairo) |
4965 | ("gobject-introspection" ,gobject-introspection) | |
d054fbf5 | 4966 | ("mozjs" ,mozjs-60))) |
f47ba77e SB |
4967 | (inputs |
4968 | `(("gtk+" ,gtk+) | |
4969 | ("readline" ,readline))) | |
4970 | (synopsis "Javascript bindings for GNOME") | |
f032d0be | 4971 | (home-page "https://live.gnome.org/Gjs") |
f47ba77e SB |
4972 | (description |
4973 | "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey | |
4974 | javascript engine and the GObject introspection framework.") | |
4975 | (license license:gpl2+))) | |
329d731b DH |
4976 | |
4977 | (define-public gedit | |
4978 | (package | |
4979 | (name "gedit") | |
42f95e34 | 4980 | (version "3.30.2") |
329d731b DH |
4981 | (source (origin |
4982 | (method url-fetch) | |
4983 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4984 | (version-major+minor version) "/" | |
4985 | name "-" version ".tar.xz")) | |
4986 | (sha256 | |
4987 | (base32 | |
42f95e34 | 4988 | "0qwig35hzvjaqic9x92jcpmycnvcybsbnbiw6rppryx0arwb3wza")))) |
329d731b DH |
4989 | (build-system glib-or-gtk-build-system) |
4990 | (arguments | |
0d2df50c | 4991 | `(#:phases |
329d731b DH |
4992 | (modify-phases %standard-phases |
4993 | (add-after | |
4994 | 'install 'wrap-gedit | |
4995 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4996 | (let ((out (assoc-ref outputs "out")) | |
4997 | (gtksourceview (assoc-ref inputs "gtksourceview")) | |
afc25242 SB |
4998 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) |
4999 | (python-path (getenv "PYTHONPATH"))) | |
329d731b | 5000 | (wrap-program (string-append out "/bin/gedit") |
afc25242 | 5001 | ;; For plugins. |
329d731b | 5002 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) |
afc25242 | 5003 | `("PYTHONPATH" ":" prefix (,python-path)) |
329d731b DH |
5004 | ;; For language-specs. |
5005 | `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview | |
5006 | "/share"))))) | |
5007 | #t))))) | |
5008 | (propagated-inputs | |
5009 | `(("dconf" ,dconf))) | |
5010 | (native-inputs | |
5011 | `(("intltool" ,intltool) | |
b3546174 | 5012 | ("itstool" ,itstool) |
329d731b DH |
5013 | ("gobject-introspection" ,gobject-introspection) |
5014 | ("pkg-config" ,pkg-config))) | |
5015 | (inputs | |
5016 | `(("glib" ,glib) | |
0d2df50c | 5017 | ("gspell" ,gspell) |
329d731b | 5018 | ("gtk+" ,gtk+) |
b54c2289 | 5019 | ("gtksourceview" ,gtksourceview-3) |
329d731b DH |
5020 | ("libpeas" ,libpeas) |
5021 | ("libxml2" ,libxml2) | |
329d731b DH |
5022 | ("iso-codes" ,iso-codes) |
5023 | ("python-pygobject" ,python-pygobject) | |
5024 | ("python" ,python) | |
5025 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
5026 | ("libx11" ,libx11) | |
5027 | ("vala" ,vala) | |
5028 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
5029 | ("libsoup" ,libsoup) | |
5030 | ("gnome-desktop" ,gnome-desktop))) | |
5031 | (home-page "https://wiki.gnome.org/Apps/Gedit") | |
5032 | (synopsis "GNOME text editor") | |
5033 | (description "While aiming at simplicity and ease of use, gedit is a | |
5034 | powerful general purpose text editor.") | |
5035 | (license license:gpl2+))) | |
b7179363 SB |
5036 | |
5037 | (define-public zenity | |
5038 | (package | |
5039 | (name "zenity") | |
4f581bd0 | 5040 | (version "3.32.0") |
b7179363 SB |
5041 | (source (origin |
5042 | (method url-fetch) | |
5958df04 | 5043 | (uri (string-append "mirror://gnome/sources/zenity/" |
b7179363 | 5044 | (version-major+minor version) "/" |
5958df04 | 5045 | "zenity-" version ".tar.xz")) |
b7179363 SB |
5046 | (sha256 |
5047 | (base32 | |
4f581bd0 | 5048 | "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7")))) |
b7179363 SB |
5049 | (build-system gnu-build-system) |
5050 | (native-inputs | |
b94a6ca0 | 5051 | `(("gettext" ,gettext-minimal) |
b7179363 SB |
5052 | ("itstool" ,itstool) |
5053 | ("pkg-config" ,pkg-config))) | |
5054 | (inputs | |
5055 | `(("libnotify" ,libnotify) | |
5056 | ("webkitgtk" ,webkitgtk))) | |
5057 | (synopsis "Display graphical dialog boxes from shell scripts") | |
f032d0be | 5058 | (home-page "https://www.gnome.org") |
b7179363 SB |
5059 | (description |
5060 | "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you | |
5061 | to display dialog boxes from the commandline and shell scripts.") | |
5062 | (license license:lgpl2.0+))) | |
60c3627c SB |
5063 | |
5064 | (define-public mutter | |
5065 | (package | |
5066 | (name "mutter") | |
e402eae6 | 5067 | (version "3.30.2") |
60c3627c | 5068 | (source (origin |
86c44e72 KK |
5069 | (method url-fetch) |
5070 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5071 | (version-major+minor version) "/" | |
5072 | name "-" version ".tar.xz")) | |
60c3627c SB |
5073 | (sha256 |
5074 | (base32 | |
e402eae6 | 5075 | "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z")))) |
86c44e72 KK |
5076 | ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked |
5077 | ;; versions of cogl and clutter. As a result, many of the inputs, | |
5078 | ;; propagated-inputs, and configure flags used in cogl and clutter are | |
5079 | ;; needed here as well. | |
60c3627c SB |
5080 | (build-system gnu-build-system) |
5081 | (arguments | |
5082 | '(#:configure-flags | |
5083 | ;; XXX: build fails with [-Werror]: | |
5084 | ;; backends/meta-cursor-renderer.c:112:5: error: | |
5085 | ;; implicit declaration of function ?roundf? | |
a88d5a0c MW |
5086 | (list "--enable-compile-warnings=minimum" |
5087 | ||
86c44e72 | 5088 | "--enable-native-backend" |
a88d5a0c MW |
5089 | |
5090 | ;; The following flags are needed for the bundled clutter | |
5091 | "--enable-x11-backend=yes" | |
5092 | ||
d633f2f6 RH |
5093 | (string-append "--with-xwayland-path=" |
5094 | (assoc-ref %build-inputs "xorg-server-xwayland") | |
5095 | "/bin/Xwayland") | |
5096 | ||
a88d5a0c MW |
5097 | ;; the remaining flags are needed for the bundled cogl |
5098 | "--enable-cogl-gst" | |
5099 | (string-append "--with-gl-libname=" | |
5100 | (assoc-ref %build-inputs "mesa") | |
f23052a6 DC |
5101 | "/lib/libGL.so")) |
5102 | #:phases | |
5103 | (modify-phases %standard-phases | |
86c44e72 KK |
5104 | ;; Replace references to systemd libraries to elogind references. |
5105 | (add-before 'configure 'use-elogind | |
5106 | (lambda _ | |
5107 | (substitute* (list "configure" | |
5108 | "src/backends/native/meta-launcher.c" | |
5109 | "src/core/main.c") | |
5110 | (("systemd") "elogind")) | |
5111 | #t))))) | |
60c3627c SB |
5112 | (native-inputs |
5113 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5114 | ("gobject-introspection" ,gobject-introspection) | |
5115 | ("intltool" ,intltool) | |
f23052a6 DC |
5116 | ("pkg-config" ,pkg-config) |
5117 | ;; For git build | |
5118 | ("autoconf" ,autoconf) | |
5119 | ("automake" ,automake) | |
5120 | ("libtool" ,libtool))) | |
60c3627c | 5121 | (propagated-inputs |
a88d5a0c MW |
5122 | `(;; libmutter.pc refers to these: |
5123 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
5124 | ("gtk+" ,gtk+) | |
5125 | ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these: | |
5126 | ("atk" ,atk) | |
5127 | ("cairo" ,cairo) | |
5128 | ("gdk-pixbuf" ,gdk-pixbuf) | |
5129 | ("glib" ,glib) | |
a88d5a0c MW |
5130 | ("json-glib" ,json-glib) |
5131 | ("libinput" ,libinput) | |
5132 | ("libx11" ,libx11) | |
5133 | ("libxcomposite" ,libxcomposite) | |
5134 | ("libxdamage" ,libxdamage) | |
5135 | ("libxext" ,libxext) | |
5136 | ("libxfixes" ,libxfixes) | |
5137 | ("libxkbcommon" ,libxkbcommon) | |
5138 | ("libxrandr" ,libxrandr) | |
5139 | ("mesa" ,mesa) | |
5140 | ("pango" ,pango) | |
5141 | ("udev" ,eudev) | |
a88d5a0c | 5142 | ("xinput" ,xinput))) |
60c3627c | 5143 | (inputs |
86c44e72 KK |
5144 | `(("elogind" ,elogind) |
5145 | ("gnome-desktop" ,gnome-desktop) | |
60c3627c | 5146 | ("libcanberra-gtk" ,libcanberra) |
a88d5a0c | 5147 | ("libgudev" ,libgudev) |
60c3627c SB |
5148 | ("libice" ,libice) |
5149 | ("libsm" ,libsm) | |
60c3627c | 5150 | ("libxkbfile" ,libxkbfile) |
a88d5a0c | 5151 | ("libxrandr" ,libxrandr) |
86c44e72 | 5152 | ("libxtst" ,libxtst) |
60c3627c SB |
5153 | ("startup-notification" ,startup-notification) |
5154 | ("upower-glib" ,upower) | |
5155 | ("xkeyboard-config" ,xkeyboard-config) | |
d633f2f6 | 5156 | ("xorg-server-xwayland" ,xorg-server-xwayland) |
60c3627c SB |
5157 | ("zenity" ,zenity))) |
5158 | (synopsis "Window and compositing manager") | |
f032d0be | 5159 | (home-page "https://www.gnome.org") |
60c3627c SB |
5160 | (description |
5161 | "Mutter is a window and compositing manager that displays and manages your | |
5162 | desktop via OpenGL. Mutter combines a sophisticated display engine using the | |
5163 | Clutter toolkit with solid window-management logic inherited from the Metacity | |
5164 | window manager.") | |
86c44e72 | 5165 | (license license:gpl2+))) |
685cee87 SB |
5166 | |
5167 | (define-public gnome-online-accounts | |
5168 | (package | |
5169 | (name "gnome-online-accounts") | |
d29298ef | 5170 | (version "3.30.2") |
685cee87 SB |
5171 | (source (origin |
5172 | (method url-fetch) | |
5173 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5174 | (version-major+minor version) "/" | |
5175 | name "-" version ".tar.xz")) | |
5176 | (sha256 | |
5177 | (base32 | |
d29298ef | 5178 | "1p1gdgryziklrgngn6m13xnvfx4gb01h723nndfi9944r24fbiq5")))) |
14c297fd | 5179 | (outputs '("out" "lib")) |
685cee87 | 5180 | (build-system glib-or-gtk-build-system) |
14c297fd TS |
5181 | (arguments |
5182 | `(#:configure-flags | |
5183 | (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib")) | |
5184 | #:phases | |
5185 | (modify-phases %standard-phases | |
5186 | (add-before 'configure 'patch-libgoa-output | |
5187 | (lambda* (#:key outputs #:allow-other-keys) | |
5188 | (let ((lib (assoc-ref outputs "lib"))) | |
5189 | (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in") | |
5190 | (("@prefix@") lib) | |
5191 | (("@exec_prefix@") lib) | |
5192 | (("@libdir@") (string-append lib "/lib")) | |
5193 | (("@includedir@") (string-append lib "/include")) | |
5194 | (("@datadir@") (string-append lib "/share"))) | |
7555d539 MB |
5195 | ;; Make sure gobject-introspection knows about the output |
5196 | ;; too (see <https://bugs.gnu.org/36535>). | |
5197 | (setenv "outputs" "out lib") | |
14c297fd | 5198 | #t)))))) |
685cee87 SB |
5199 | (native-inputs |
5200 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5201 | ("gobject-introspection" ,gobject-introspection) | |
5202 | ("intltool" ,intltool) | |
5203 | ("pkg-config" ,pkg-config) | |
5204 | ("xsltproc" ,libxslt))) | |
5205 | (propagated-inputs | |
5206 | `(("glib" ,glib) ; required by goa-1.0.pc | |
5207 | ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc | |
5208 | (inputs | |
5209 | `(("docbook-xsl" ,docbook-xsl) | |
5210 | ("json-glib" ,json-glib) | |
5211 | ("libsecret" ,libsecret) | |
5212 | ("rest" ,rest) | |
685cee87 SB |
5213 | ("webkitgtk" ,webkitgtk))) |
5214 | (synopsis "Single sign-on framework for GNOME") | |
5215 | (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts") | |
5216 | (description | |
5217 | "GNOME Online Accounts provides interfaces so that applications and | |
5218 | libraries in GNOME can access the user's online accounts. It has providers for | |
5219 | Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft | |
5220 | Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.") | |
5221 | (license license:lgpl2.0+))) | |
df217748 SB |
5222 | |
5223 | (define-public evolution-data-server | |
5224 | (package | |
5225 | (name "evolution-data-server") | |
68c3ca93 | 5226 | (version "3.30.5") |
df217748 SB |
5227 | (source (origin |
5228 | (method url-fetch) | |
5229 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5230 | (version-major+minor version) "/" | |
5231 | name "-" version ".tar.xz")) | |
e1f174ae | 5232 | (patches (search-patches "evolution-data-server-locales.patch")) |
df217748 SB |
5233 | (sha256 |
5234 | (base32 | |
68c3ca93 | 5235 | "1s952wyhgcbmq9nfgk75v15zdy1h3wy5p5rmkqibaavmc0pk3mli")))) |
743aebd7 | 5236 | (build-system cmake-build-system) |
df217748 | 5237 | (arguments |
b468eedc RW |
5238 | '(#:configure-flags |
5239 | (let* ((lib (string-append (assoc-ref %outputs "out") "/lib")) | |
5240 | (runpaths (map (lambda (s) | |
5241 | (string-append lib "/evolution-data-server/" s)) | |
ac033c7b MB |
5242 | '("addressbook-backends" "calendar-backends" |
5243 | "camel-providers" "credential-modules" | |
5244 | "registry-modules")))) | |
5245 | (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support | |
5246 | "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support | |
5247 | "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication | |
5248 | "-DENABLE_VALA_BINDINGS=ON" | |
ac033c7b MB |
5249 | (string-append "-DCMAKE_INSTALL_RPATH=" lib ";" |
5250 | (string-append lib "/evolution-data-server;") | |
5251 | (string-join runpaths ";")) | |
5252 | "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings | |
df217748 SB |
5253 | #:phases |
5254 | (modify-phases %standard-phases | |
b468eedc RW |
5255 | (add-after 'unpack 'disable-failing-tests |
5256 | (lambda _ | |
5257 | ;; tests/book-migration/test-migration.c:160:test_fetch_contacts: | |
5258 | ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20) | |
5259 | (delete-file-recursively "tests/book-migration") | |
5260 | (substitute* "tests/CMakeLists.txt" | |
5261 | (("add_subdirectory\\(book-migration\\)") "")) | |
5262 | ;; tests/libedata-cal/test-cal-meta-backend.c:1328:test_get_attachment_uris: | |
5263 | ;; assertion failed (uris->data == expected_uri): | |
5264 | ;; ("" == "file:///tests/libedata-cal/components/event-1.ics") | |
5265 | (substitute* "tests/libedata-cal/CMakeLists.txt" | |
5266 | (("test-cal-meta-backend") "")) | |
5267 | #t)) | |
743aebd7 | 5268 | (add-after 'unpack 'patch-paths |
df217748 | 5269 | (lambda _ |
b468eedc RW |
5270 | (substitute* '("tests/test-server-utils/e-test-server-utils.c" |
5271 | "tests/libedata-book/data-test-utils.c" | |
5272 | "tests/libedata-book/test-book-cache-utils.c" | |
5273 | "tests/libedata-cal/test-cal-cache-utils.c") | |
df217748 | 5274 | (("/bin/rm") (which "rm"))) |
ac033c7b MB |
5275 | #t)) |
5276 | (add-before 'configure 'dont-override-rpath | |
5277 | (lambda _ | |
5278 | (substitute* "CMakeLists.txt" | |
5279 | ;; CMakeLists.txt hard-codes runpath to just the libdir. | |
5280 | ;; Remove it so the configure flag is respected. | |
5281 | (("SET\\(CMAKE_INSTALL_RPATH .*") "")) | |
b63c06f1 | 5282 | #t))))) |
df217748 SB |
5283 | (native-inputs |
5284 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
5285 | ("gobject-introspection" ,gobject-introspection) | |
5286 | ("gperf" ,gperf) | |
5287 | ("intltool" ,intltool) | |
5288 | ("pkg-config" ,pkg-config) | |
a73c1cf8 | 5289 | ("vala" ,vala) |
743aebd7 | 5290 | ("python" ,python-wrapper))) |
df217748 SB |
5291 | (propagated-inputs |
5292 | ;; These are all in the Requires field of .pc files. | |
5293 | `(("gtk+" ,gtk+) | |
5294 | ("libical" ,libical) | |
5295 | ("libsecret" ,libsecret) | |
5296 | ("libsoup" ,libsoup) | |
5297 | ("nss" ,nss) | |
5298 | ("sqlite" ,sqlite))) | |
5299 | (inputs | |
5300 | `(("bdb" ,bdb) | |
5301 | ("gcr" ,gcr) | |
14c297fd | 5302 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
891199c6 | 5303 | ("json-glib" ,json-glib) |
b468eedc | 5304 | ("libcanberra" ,libcanberra) |
743aebd7 MB |
5305 | ("libgweather" ,libgweather) |
5306 | ("mit-krb5" ,mit-krb5) | |
891199c6 MW |
5307 | ("openldap" ,openldap) |
5308 | ("webkitgtk" ,webkitgtk))) | |
df217748 SB |
5309 | (synopsis "Store address books and calendars") |
5310 | (home-page "https://wiki.gnome.org/Apps/Evolution") | |
5311 | (description | |
5312 | "This package provides a unified backend for programs that work with | |
5313 | contacts, tasks, and calendar information. It was originally developed for | |
5314 | Evolution (hence the name), but is now used by other packages as well.") | |
5315 | (license license:lgpl2.0))) | |
bd7dfafa SB |
5316 | |
5317 | (define-public caribou | |
5318 | (package | |
5319 | (name "caribou") | |
fe964bb5 | 5320 | (version "0.4.21") |
bd7dfafa SB |
5321 | (source (origin |
5322 | (method url-fetch) | |
5323 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5324 | (version-major+minor version) "/" | |
5325 | name "-" version ".tar.xz")) | |
5326 | (sha256 | |
5327 | (base32 | |
fe964bb5 | 5328 | "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww")))) |
bd7dfafa SB |
5329 | (build-system glib-or-gtk-build-system) |
5330 | (arguments | |
5331 | '(#:phases | |
5332 | (modify-phases %standard-phases | |
5333 | (add-before | |
5334 | 'build 'pre-build | |
5335 | (lambda* (#:key outputs #:allow-other-keys) | |
5336 | (let ((out (assoc-ref outputs "out"))) | |
5337 | ;; Use absolute shared library path in Caribou-1.0.typelib. | |
5338 | (substitute* "libcaribou/Makefile" | |
5339 | (("--shared-library=libcaribou.so") | |
5340 | (string-append "--shared-library=" | |
5341 | out "/lib/libcaribou.so"))) | |
5342 | #t))) | |
5343 | (add-after 'install 'wrap-programs | |
5344 | (lambda* (#:key outputs #:allow-other-keys) | |
5345 | (let* ((out (assoc-ref outputs "out")) | |
5346 | (python-path (getenv "PYTHONPATH")) | |
5347 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
5348 | (for-each | |
5349 | (lambda (prog) | |
5350 | (wrap-program prog | |
5351 | `("PYTHONPATH" ":" prefix (,python-path)) | |
5352 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
5353 | (list (string-append out "/bin/caribou-preferences") | |
5354 | (string-append out "/libexec/antler-keyboard")))) | |
5355 | #t))))) | |
5356 | (native-inputs | |
5357 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5358 | ("gobject-introspection" ,gobject-introspection) | |
5359 | ("intltool" ,intltool) | |
5360 | ("pkg-config" ,pkg-config) | |
5361 | ("python" ,python-2) ; incompatible with Python 3 (print syntax) | |
5362 | ("vala" ,vala) | |
5363 | ("xsltproc" ,libxslt))) | |
5364 | (propagated-inputs | |
5365 | ;; caribou-1.0.pc refers to all these. | |
5366 | `(("libgee" ,libgee) | |
5367 | ("libxklavier" ,libxklavier) | |
5368 | ("libxtst" ,libxtst) | |
5369 | ("gtk+" ,gtk+))) | |
5370 | (inputs | |
5371 | `(("clutter" ,clutter) | |
5372 | ("dconf" ,dconf) | |
5373 | ("gtk+-2" ,gtk+-2) | |
5374 | ("python-pygobject" ,python2-pygobject))) | |
5375 | (synopsis "Text entry and UI navigation application") | |
5376 | (home-page "https://wiki.gnome.org/Projects/Caribou") | |
5377 | (description | |
5378 | "Caribou is an input assistive technology intended for switch and pointer | |
5379 | users.") | |
5380 | (license license:lgpl2.1))) | |
ba5dd105 | 5381 | |
ba5dd105 SB |
5382 | (define-public network-manager |
5383 | (package | |
5384 | (name "network-manager") | |
02710a9b | 5385 | (version "1.14.4") |
ba5dd105 SB |
5386 | (source (origin |
5387 | (method url-fetch) | |
5388 | (uri (string-append "mirror://gnome/sources/NetworkManager/" | |
5389 | (version-major+minor version) "/" | |
5390 | "NetworkManager-" version ".tar.xz")) | |
7d1861e2 | 5391 | (patches (search-patches "nm-plugin-path.patch")) |
ba5dd105 SB |
5392 | (sha256 |
5393 | (base32 | |
02710a9b RW |
5394 | "064cgj9za0kzarks0lrv0qw2ysdphb5l97iw0c964bfiqzjfv8rm")) |
5395 | (modules '((guix build utils))) | |
fd070f35 | 5396 | (snippet |
02710a9b RW |
5397 | '(begin |
5398 | (substitute* "src/devices/wwan/nm-modem-manager.c" | |
5399 | (("systemd") "elogind")) | |
5400 | #t)))) | |
ba5dd105 SB |
5401 | (build-system gnu-build-system) |
5402 | (outputs '("out" | |
5403 | "doc")) ; 8 MiB of gtk-doc HTML | |
5404 | (arguments | |
5405 | '(#:configure-flags | |
5406 | (let ((out (assoc-ref %outputs "out")) | |
5407 | (doc (assoc-ref %outputs "doc")) | |
5408 | (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp") | |
5409 | "/sbin/dhclient"))) | |
02710a9b RW |
5410 | (list "--with-libnm-glib" ; needed by network-manager-applet |
5411 | "--with-systemd-journal=no" | |
5412 | "--with-session-tracking=elogind" | |
5413 | "--with-suspend-resume=elogind" | |
fd070f35 CM |
5414 | "--with-consolekit=no" |
5415 | "--with-crypto=gnutls" | |
ba5dd105 SB |
5416 | "--disable-config-plugin-ibft" |
5417 | "--sysconfdir=/etc" | |
5418 | "--localstatedir=/var" | |
5419 | (string-append "--with-udev-dir=" | |
5420 | out "/lib/udev") | |
5421 | (string-append "--with-dbus-sys-dir=" | |
5422 | out "/etc/dbus-1/system.d") | |
5423 | (string-append "--with-html-dir=" | |
5424 | doc "/share/gtk-doc/html") | |
5425 | (string-append "--with-dhclient=" dhclient))) | |
5426 | #:phases | |
5427 | (modify-phases %standard-phases | |
02710a9b RW |
5428 | ;; This bare "ls" invocation breaks some tests. |
5429 | (add-after 'unpack 'patch-ls-invocation | |
5430 | (lambda _ | |
5431 | (substitute* "build-aux/ltmain.sh" | |
5432 | (("`ls -") | |
5433 | (string-append "`" (which "ls") " -"))) | |
5434 | #t)) | |
b4f59d87 AW |
5435 | (add-before 'configure 'pre-configure |
5436 | (lambda _ | |
5437 | ;; These tests try to test aspects of network-manager's | |
5438 | ;; functionality within restricted containers, but they don't | |
5439 | ;; cope with being already in the Guix build jail as that jail | |
5440 | ;; lacks some features that they would like to proxy over (like | |
5441 | ;; a /sys mount). | |
d04687dc HG |
5442 | (substitute* '("Makefile.in") |
5443 | (("src/platform/tests/test-address-linux") " ") | |
5444 | (("src/platform/tests/test-cleanup-linux") " ") | |
5445 | (("src/platform/tests/test-link-linux") " ") | |
5446 | (("src/platform/tests/test-route-linux") " ") | |
02710a9b | 5447 | (("src/devices/tests/test-acd") "") |
d04687dc HG |
5448 | (("src/devices/tests/test-arping") " ") |
5449 | (("src/devices/tests/test-lldp") " ") | |
5450 | (("src/tests/test-route-manager-linux") " ")) | |
b4f59d87 | 5451 | #t)) |
45f80fce RW |
5452 | (add-after 'unpack 'delete-failing-tests |
5453 | (lambda _ | |
02710a9b | 5454 | ;; FIXME: These three tests fail for unknown reasons. |
45f80fce RW |
5455 | ;; ERROR:libnm-core/tests/test-general.c:5842: |
5456 | ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0) | |
5457 | ;; ERROR:libnm-core/tests/test-keyfile.c:647: | |
5458 | ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL) | |
5459 | ;; ERROR:libnm-core/tests/test-setting.c:907: | |
5460 | ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner)) | |
45f80fce RW |
5461 | (substitute* "Makefile.in" |
5462 | (("libnm-core/tests/test-general") " ") | |
5463 | (("libnm-core/tests/test-keyfile") " ") | |
02710a9b | 5464 | (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " ")) |
45f80fce | 5465 | #t)) |
ba5dd105 SB |
5466 | (add-before 'check 'pre-check |
5467 | (lambda _ | |
5468 | ;; For the missing /etc/machine-id. | |
5469 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
5470 | #t)) | |
5471 | (replace 'install | |
5472 | (lambda _ | |
45f80fce RW |
5473 | (invoke "make" |
5474 | "sysconfdir=/tmp" | |
5475 | "rundir=/tmp" | |
5476 | "statedir=/tmp" | |
5477 | "nmstatedir=/tmp/nm" | |
5478 | "install") | |
5479 | #t))))) | |
b93502d6 DC |
5480 | (propagated-inputs |
5481 | `(("glib" ,glib))) | |
ba5dd105 SB |
5482 | (native-inputs |
5483 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen | |
5484 | ("gobject-introspection" ,gobject-introspection) | |
d04687dc | 5485 | ("docbook-xsl" ,docbook-xsl) |
ba5dd105 | 5486 | ("intltool" ,intltool) |
d04687dc HG |
5487 | ("libxslt" ,libxslt) |
5488 | ("libxml2" ,libxml2) | |
ba5dd105 SB |
5489 | ("pkg-config" ,pkg-config) |
5490 | ;; For testing. | |
5491 | ("python" ,python-wrapper) | |
5492 | ("python-dbus" ,python-dbus) | |
5493 | ("python-pygobject" ,python-pygobject))) | |
5494 | (inputs | |
02710a9b RW |
5495 | `(("coreutils" ,coreutils) ; for ls |
5496 | ("curl" ,curl) | |
856ca567 KK |
5497 | ("cyrus-sasl" ,cyrus-sasl) |
5498 | ("dbus-glib" ,dbus-glib) | |
ba5dd105 | 5499 | ("dnsmasq" ,dnsmasq) |
856ca567 | 5500 | ("eudev" ,eudev) |
ba5dd105 SB |
5501 | ("gnutls" ,gnutls) |
5502 | ("iptables" ,iptables) | |
5503 | ("isc-dhcp" ,isc-dhcp) | |
d04687dc | 5504 | ("jansson" ,jansson) |
ba5dd105 SB |
5505 | ("libgcrypt" ,libgcrypt) |
5506 | ("libgudev" ,libgudev) | |
5507 | ("libndp" ,libndp) | |
5508 | ("libnl" ,libnl) | |
5509 | ("libsoup" ,libsoup) | |
142bdcbc | 5510 | ("modem-manager" ,modem-manager) |
c27e02bf | 5511 | ("newt" ,newt) ;for the 'nmtui' console interface |
ba5dd105 SB |
5512 | ("polkit" ,polkit) |
5513 | ("ppp" ,ppp) | |
5514 | ("readline" ,readline) | |
fd070f35 CM |
5515 | ("util-linux" ,util-linux) |
5516 | ("elogind" ,elogind))) | |
ba5dd105 | 5517 | (synopsis "Network connection manager") |
f032d0be | 5518 | (home-page "https://www.gnome.org/projects/NetworkManager/") |
ba5dd105 SB |
5519 | (description |
5520 | "NetworkManager is a system network service that manages your network | |
5521 | devices and connections, attempting to keep active network connectivity when | |
5522 | available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE | |
5523 | devices, and provides VPN integration with a variety of different VPN | |
5524 | services.") | |
29d2f451 LC |
5525 | (license license:gpl2+) |
5526 | (properties '((upstream-name . "NetworkManager"))))) | |
4d62a9d3 | 5527 | |
f2b96b3a LC |
5528 | (define-public network-manager-openvpn |
5529 | (package | |
5530 | (name "network-manager-openvpn") | |
be1c4b07 | 5531 | ;; Updating? Check whether network-manager-applet still needs libnm_gtk. |
7d87eede | 5532 | (version "1.8.10") |
f2b96b3a LC |
5533 | (source (origin |
5534 | (method url-fetch) | |
5535 | (uri (string-append | |
5536 | "mirror://gnome/sources/NetworkManager-openvpn/" | |
5537 | (version-major+minor version) | |
5538 | "/NetworkManager-openvpn-" version ".tar.xz")) | |
5539 | (sha256 | |
5540 | (base32 | |
7d87eede | 5541 | "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g")))) |
f2b96b3a LC |
5542 | (build-system gnu-build-system) |
5543 | (arguments | |
633422b0 JL |
5544 | `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var") |
5545 | #:phases | |
5546 | (modify-phases %standard-phases | |
5547 | (add-after 'configure 'patch-path | |
5548 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) | |
5549 | (let* ((ovpn (string-append (assoc-ref inputs "openvpn") | |
5550 | "/sbin/openvpn")) | |
5551 | (modprobe (string-append (assoc-ref inputs "kmod") | |
5552 | "/bin/modprobe")) | |
5553 | (pretty-ovpn (string-append "\"" ovpn "\""))) | |
5554 | (for-each | |
5555 | (lambda (file) | |
5556 | (substitute* file | |
5557 | (("\"/usr/local/sbin/openvpn\"") pretty-ovpn) | |
5558 | (("\"/usr/sbin/openvpn\"") pretty-ovpn) | |
5559 | (("\"/sbin/openvpn\"") pretty-ovpn) | |
5560 | (("/sbin/modprobe") modprobe))) | |
5561 | '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c"))) | |
5562 | #t))))) | |
f2b96b3a LC |
5563 | (native-inputs |
5564 | `(("pkg-config" ,pkg-config) | |
5565 | ("intltool" ,intltool))) | |
5566 | (inputs | |
5567 | `(("gtk+" ,gtk+) | |
633422b0 | 5568 | ("kmod" ,kmod) |
f2b96b3a LC |
5569 | ("openvpn" ,openvpn) |
5570 | ("network-manager" ,network-manager) | |
5571 | ("network-manager-applet" ,network-manager-applet) ;for libnma | |
5572 | ("libsecret" ,libsecret))) | |
5573 | (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN") | |
5574 | (synopsis "OpenVPN plug-in for NetworkManager") | |
5575 | (description | |
5576 | "This extension of NetworkManager allows it to take care of connections | |
5577 | to virtual private networks (VPNs) via OpenVPN.") | |
5578 | (license license:gpl2+) | |
5579 | (properties `((upstream-name . "NetworkManager-openvpn"))))) | |
5580 | ||
d376129f JL |
5581 | (define-public network-manager-vpnc |
5582 | (package | |
5583 | (name "network-manager-vpnc") | |
5584 | (version "1.2.6") | |
5585 | (source (origin | |
5586 | (method url-fetch) | |
5587 | (uri (string-append | |
5588 | "mirror://gnome/sources/NetworkManager-vpnc/" | |
5589 | (version-major+minor version) | |
5590 | "/NetworkManager-vpnc-" version ".tar.xz")) | |
5591 | (sha256 | |
5592 | (base32 | |
5593 | "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy")))) | |
5594 | (build-system gnu-build-system) | |
5595 | (arguments | |
5596 | `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var") | |
5597 | #:phases | |
5598 | (modify-phases %standard-phases | |
5599 | (add-after 'configure 'patch-path | |
5600 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) | |
5601 | (let* ((vpnc (string-append (assoc-ref inputs "vpnc") | |
5602 | "/sbin/vpnc")) | |
5603 | (modprobe (string-append (assoc-ref inputs "kmod") | |
5604 | "/bin/modprobe")) | |
5605 | (pretty-ovpn (string-append "\"" vpnc "\""))) | |
5606 | (substitute* "src/nm-vpnc-service.c" | |
5607 | (("\"/usr/local/sbin/vpnc\"") pretty-ovpn) | |
5608 | (("\"/usr/sbin/vpnc\"") pretty-ovpn) | |
5609 | (("\"/sbin/vpnc\"") pretty-ovpn) | |
5610 | (("/sbin/modprobe") modprobe))) | |
5611 | #t))))) | |
5612 | (native-inputs | |
5613 | `(("pkg-config" ,pkg-config) | |
5614 | ("intltool" ,intltool))) | |
5615 | (inputs | |
5616 | `(("gtk+" ,gtk+) | |
5617 | ("kmod" ,kmod) | |
5618 | ("vpnc" ,vpnc) | |
5619 | ("network-manager" ,network-manager) | |
5620 | ("network-manager-applet" ,network-manager-applet) ;for libnma | |
5621 | ("libsecret" ,libsecret))) | |
5622 | (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN") | |
5623 | (synopsis "VPNC plug-in for NetworkManager") | |
5624 | (description | |
5625 | "Support for configuring virtual private networks based on VPNC. | |
5626 | Compatible with Cisco VPN concentrators configured to use IPsec.") | |
5627 | (license license:gpl2+) | |
5628 | (properties `((upstream-name . "NetworkManager-vpnc"))))) | |
5629 | ||
8378c87a EF |
5630 | (define-public network-manager-openconnect |
5631 | (package | |
5632 | (name "network-manager-openconnect") | |
5633 | (version "1.2.6") | |
5634 | (source (origin | |
5635 | (method url-fetch) | |
5636 | (uri (string-append | |
5637 | "mirror://gnome/sources/NetworkManager-openconnect/" | |
5638 | (version-major+minor version) | |
5639 | "/NetworkManager-openconnect-" version ".tar.xz")) | |
5640 | (sha256 | |
5641 | (base32 | |
5642 | "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m")))) | |
5643 | (build-system gnu-build-system) | |
5644 | (arguments | |
5645 | `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var") | |
5646 | #:phases | |
5647 | (modify-phases %standard-phases | |
5648 | (add-after 'configure 'patch-path | |
5649 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) | |
5650 | (let* ((openconnect (string-append (assoc-ref inputs "openconnect") | |
5651 | "/sbin/openconnect")) | |
5652 | (modprobe (string-append (assoc-ref inputs "kmod") | |
5653 | "/bin/modprobe")) | |
5654 | (pretty-ovpn (string-append "\"" openconnect "\""))) | |
5655 | (substitute* "src/nm-openconnect-service.c" | |
5656 | (("\"/usr/local/sbin/openconnect\"") pretty-ovpn) | |
5657 | (("\"/usr/sbin/openconnect\"") pretty-ovpn) | |
5658 | (("/sbin/modprobe") modprobe))) | |
5659 | #t))))) | |
5660 | (native-inputs | |
5661 | `(("intltool" ,intltool) | |
5662 | ("network-manager-applet" ,network-manager-applet) ;for libnma | |
5663 | ("pkg-config" ,pkg-config))) | |
5664 | (inputs | |
5665 | `(("gcr" ,gcr) | |
5666 | ("gtk+" ,gtk+) | |
5667 | ("kmod" ,kmod) | |
5668 | ("libsecret" ,libsecret) | |
5669 | ("libxml2" ,libxml2) | |
5670 | ("network-manager" ,network-manager) | |
5671 | ("openconnect" ,openconnect))) | |
5672 | (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN") | |
5673 | (synopsis "OpenConnect plug-in for NetworkManager") | |
5674 | (description | |
5675 | "This extension of NetworkManager allows it to take care of connections | |
5676 | to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for | |
5677 | Cisco's AnyConnect SSL VPN.") | |
5678 | (license license:gpl2+) | |
e52b9534 LC |
5679 | (properties `((upstream-name . "NetworkManager-openconnect") |
5680 | ||
5681 | ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf' | |
5682 | ;; file refers to account "nm-openconnect". Specify it here | |
5683 | ;; so that 'network-manager-service-type' creates it. | |
5684 | (user-accounts . ("nm-openconnect")))))) | |
8378c87a | 5685 | |
e5e1df4d DC |
5686 | (define-public mobile-broadband-provider-info |
5687 | (package | |
5688 | (name "mobile-broadband-provider-info") | |
310c89e3 | 5689 | (version "20190116") |
e5e1df4d DC |
5690 | (source (origin |
5691 | (method url-fetch) | |
5692 | (uri (string-append | |
5693 | "mirror://gnome/sources/" | |
5694 | "mobile-broadband-provider-info/" version "/" | |
5695 | "mobile-broadband-provider-info-" version ".tar.xz")) | |
5696 | (sha256 | |
5697 | (base32 | |
310c89e3 | 5698 | "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic")))) |
e5e1df4d DC |
5699 | (build-system gnu-build-system) |
5700 | (arguments | |
310c89e3 | 5701 | `(#:tests? #f)) ; no tests |
e5e1df4d DC |
5702 | (home-page "https://wiki.gnome.org/Projects/NetworkManager") |
5703 | (synopsis "Database of broadband connection configuration") | |
5704 | (description "Database of broadband connection configuration.") | |
5705 | (license license:public-domain))) | |
5706 | ||
4d62a9d3 SB |
5707 | (define-public network-manager-applet |
5708 | (package | |
5709 | (name "network-manager-applet") | |
8fc3a337 | 5710 | (version "1.8.24") |
4d62a9d3 SB |
5711 | (source (origin |
5712 | (method url-fetch) | |
3df63444 | 5713 | (uri (string-append "mirror://gnome/sources/network-manager-applet/" |
4d62a9d3 | 5714 | (version-major+minor version) "/" |
3df63444 | 5715 | "network-manager-applet-" version ".tar.xz")) |
4d62a9d3 SB |
5716 | (sha256 |
5717 | (base32 | |
8fc3a337 | 5718 | "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi")))) |
cd7f718e RW |
5719 | (build-system meson-build-system) |
5720 | (arguments | |
be1c4b07 TGR |
5721 | '(#:configure-flags |
5722 | ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does. | |
5723 | (list "-Dlibnm_gtk=true") | |
5724 | #:glib-or-gtk? #t)) | |
4d62a9d3 SB |
5725 | (native-inputs |
5726 | `(("intltool" ,intltool) | |
cd7f718e | 5727 | ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc. |
4d62a9d3 | 5728 | ("gobject-introspection" ,gobject-introspection) |
cd7f718e | 5729 | ("gtk-doc" ,gtk-doc) |
4d62a9d3 SB |
5730 | ("pkg-config" ,pkg-config))) |
5731 | (propagated-inputs | |
5732 | ;; libnm-gtk.pc refers to all these. | |
5733 | `(("dbus-glib" ,dbus-glib) | |
5734 | ("gtk+" ,gtk+) | |
5735 | ("network-manager" ,network-manager))) | |
5736 | (inputs | |
cd7f718e RW |
5737 | `(("gcr" ,gcr) |
5738 | ("iso-codes" ,iso-codes) | |
4d62a9d3 SB |
5739 | ("libgudev" ,libgudev) |
5740 | ("libnotify" ,libnotify) | |
2116bfb3 | 5741 | ("libsecret" ,libsecret) |
240cee8a KK |
5742 | ("libselinux" ,libselinux) |
5743 | ("jansson" ,jansson) ; for team support | |
3e9c80b2 FP |
5744 | ("modem-manager" ,modem-manager) |
5745 | ("mobile-broadband-provider-info" ,mobile-broadband-provider-info))) | |
4d62a9d3 | 5746 | (synopsis "Applet for managing network connections") |
f032d0be | 5747 | (home-page "https://www.gnome.org/projects/NetworkManager/") |
4d62a9d3 SB |
5748 | (description |
5749 | "This package contains a systray applet for NetworkManager. It displays | |
5750 | the available networks and allows users to easily switch between them.") | |
5751 | (license license:gpl2+))) | |
56196594 RW |
5752 | |
5753 | (define-public libxml++ | |
5754 | (package | |
5755 | (name "libxml++") | |
8344a85e | 5756 | (version "3.0.1") |
56196594 RW |
5757 | (source (origin |
5758 | (method url-fetch) | |
5759 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5760 | (version-major+minor version) "/" | |
5761 | name "-" version ".tar.xz")) | |
5762 | (sha256 | |
5763 | (base32 | |
8344a85e | 5764 | "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r")))) |
56196594 RW |
5765 | (build-system gnu-build-system) |
5766 | ;; libxml++-3.0.pc refers to all these. | |
5767 | (propagated-inputs | |
5768 | `(("libxml2" ,libxml2) | |
5769 | ("glibmm" ,glibmm))) | |
5770 | (native-inputs | |
5771 | `(("perl" ,perl) | |
5772 | ("pkg-config" ,pkg-config))) | |
5773 | (home-page "http://libxmlplusplus.sourceforge.net/") | |
5774 | (synopsis "C++ wrapper for XML parser library libxml2") | |
5775 | (description | |
5776 | "This package provides a C++ wrapper for the XML parser library | |
5777 | libxml2.") | |
5778 | (license license:lgpl2.1+))) | |
df12f04a | 5779 | |
b61d9627 AW |
5780 | (define-public libxml++-2 |
5781 | (package | |
5782 | (inherit libxml++) | |
5783 | (name "libxml++") | |
5784 | (version "2.40.1") | |
5785 | (source (origin | |
5786 | (method url-fetch) | |
5787 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5788 | (version-major+minor version) "/" | |
5789 | name "-" version ".tar.xz")) | |
5790 | (sha256 | |
5791 | (base32 | |
5792 | "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a")))))) | |
5793 | ||
df12f04a SB |
5794 | (define-public gdm |
5795 | (package | |
5796 | (name "gdm") | |
7734b4a2 | 5797 | (version "3.30.3") |
df12f04a SB |
5798 | (source (origin |
5799 | (method url-fetch) | |
5800 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5801 | (version-major+minor version) "/" | |
5802 | name "-" version ".tar.xz")) | |
5803 | (sha256 | |
5804 | (base32 | |
7734b4a2 | 5805 | "15f7lz7z75krgbq8vb800afj96h8mw2fpy1s28za2911x5vgq0ak")))) |
957dbc0a | 5806 | (build-system glib-or-gtk-build-system) |
df12f04a SB |
5807 | (arguments |
5808 | '(#:configure-flags | |
af37e6bb | 5809 | `("--without-plymouth" |
957dbc0a | 5810 | "--disable-systemd-journal" |
51bc8357 TS |
5811 | |
5812 | ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1, | |
5813 | ;; instead of having to replace it (i.e., stopping the mingetty | |
5814 | ;; service for TTY 1 before starting GDM). | |
5815 | "--with-initial-vt=7" | |
5816 | ||
89c86562 TS |
5817 | ;; Use '/etc/environment' for locale settings instead of the |
5818 | ;; systemd-specific '/etc/locale.conf'. | |
5819 | "--with-lang-file=/etc/environment" | |
5820 | ||
b74ef0ba RW |
5821 | ,(string-append "--with-udevdir=" |
5822 | (assoc-ref %outputs "out") "/lib/udev") | |
5823 | ||
af37e6bb AW |
5824 | "--localstatedir=/var" |
5825 | ,(string-append "--with-default-path=" | |
5826 | (string-join '("/run/setuid-programs" | |
5827 | "/run/current-system/profile/bin" | |
5828 | "/run/current-system/profile/sbin") | |
957dbc0a AW |
5829 | ":")) |
5830 | ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the | |
5831 | ;; XDG_DATA_DIRS so that it finds its schemas. | |
5832 | "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin")) | |
df12f04a SB |
5833 | #:phases |
5834 | (modify-phases %standard-phases | |
5835 | (add-before | |
5836 | 'configure 'pre-configure | |
e8c6e771 | 5837 | (lambda* (#:key inputs outputs #:allow-other-keys) |
df12f04a SB |
5838 | ;; We don't have <systemd/sd-daemon.h>. |
5839 | (substitute* '("common/gdm-log.c" | |
5840 | "daemon/gdm-server.c" | |
5841 | "daemon/gdm-session-worker.c" | |
5842 | "daemon/gdm-session-worker-job.c") | |
5843 | (("#include <systemd/sd-daemon\\.h>") "")) | |
5844 | ;; Use elogind for sd-login. | |
5845 | (substitute* '("common/gdm-common.c" | |
5846 | "daemon/gdm-manager.c" | |
5847 | "libgdm/gdm-user-switching.c") | |
5848 | (("#include <systemd/sd-login\\.h>") | |
5849 | "#include <elogind/sd-login.h>")) | |
957dbc0a AW |
5850 | ;; Check for elogind. |
5851 | (substitute* '("configure") | |
5852 | (("libsystemd") | |
5853 | "libelogind")) | |
af37e6bb AW |
5854 | ;; Look for system-installed sessions in |
5855 | ;; /run/current-system/profile/share. | |
5856 | (substitute* '("libgdm/gdm-sessions.c" | |
5857 | "daemon/gdm-session.c" | |
5858 | "daemon/gdm-display.c" | |
5859 | "daemon/gdm-launch-environment.c") | |
5860 | (("DATADIR \"/x") | |
5861 | "\"/run/current-system/profile/share/x") | |
5862 | (("DATADIR \"/wayland") | |
5863 | "\"/run/current-system/profile/share/wayland") | |
5864 | (("DATADIR \"/gnome") | |
5865 | "\"/run/current-system/profile/share/gnome")) | |
c9ff92b5 | 5866 | (let ((propagate '("GDM_CUSTOM_CONF" |
1f564c15 | 5867 | "GDM_DBUS_DAEMON" |
c9ff92b5 | 5868 | "GDM_X_SERVER" |
41fa9f18 | 5869 | "GDM_X_SESSION" |
c9ff92b5 TS |
5870 | ;; XXX: Remove this once GNOME Shell is |
5871 | ;; a dependency of GDM. | |
5872 | "XDG_DATA_DIRS"))) | |
5873 | (substitute* "daemon/gdm-session.c" | |
5874 | (("set_up_session_environment \\(self\\);") | |
5875 | (apply string-append | |
5876 | "set_up_session_environment (self);\n" | |
5877 | (map (lambda (name) | |
5878 | (string-append | |
5879 | "gdm_session_set_environment_variable " | |
5880 | "(self, \"" name "\"," | |
5881 | "g_getenv (\"" name "\"));\n")) | |
5882 | propagate))))) | |
a430a350 TS |
5883 | ;; Find the configuration file using an environment variable. |
5884 | (substitute* '("common/gdm-settings.c") | |
e0e6756f | 5885 | (("GDM_CUSTOM_CONF") |
e57c2adb TS |
5886 | (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL" |
5887 | " ? g_getenv(\"GDM_CUSTOM_CONF\")" | |
5888 | " : GDM_CUSTOM_CONF)"))) | |
e0e6756f AW |
5889 | ;; Use service-supplied path to X. |
5890 | (substitute* '("daemon/gdm-server.c") | |
5891 | (("\\(X_SERVER X_SERVER_ARG_FORMAT") | |
5892 | "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")")) | |
5893 | (substitute* '("daemon/gdm-x-session.c") | |
1f564c15 TS |
5894 | (("\"dbus-daemon\"") |
5895 | "g_getenv (\"GDM_DBUS_DAEMON\")") | |
e0e6756f | 5896 | (("X_SERVER") |
41fa9f18 TS |
5897 | "g_getenv (\"GDM_X_SERVER\")") |
5898 | (("GDMCONFDIR \"/Xsession\"") | |
5899 | "g_getenv (\"GDM_X_SESSION\")")) | |
def6d6b6 TS |
5900 | ;; Use an absolute path for GNOME Session. |
5901 | (substitute* "daemon/gdm-launch-environment.c" | |
5902 | (("\"gnome-session\"") | |
5903 | (string-append "\"" (assoc-ref inputs "gnome-session") | |
5904 | "/bin/gnome-session\""))) | |
e8c6e771 TS |
5905 | ;; Do not automatically select the placeholder session. |
5906 | (substitute* "daemon/gdm-session.c" | |
5907 | (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]") | |
5908 | (string-append "!g_str_has_suffix (base_name, \".desktop\") || " | |
5909 | "(g_strcmp0(search_dirs[i], \"" | |
5910 | (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/" | |
5911 | "\") == 0 && " | |
5912 | "g_strcmp0(base_name, \"fail.desktop\") == 0)")) | |
5913 | (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];") | |
5914 | "{ self->priv->fallback_session_name = g_strdup(\"fail\"); goto out; }")) | |
69544798 | 5915 | #t)) |
8caa4589 TS |
5916 | ;; GDM requires that there be at least one desktop entry |
5917 | ;; file. This phase installs a hidden one that simply | |
5918 | ;; fails. This enables users to use GDM with a | |
5919 | ;; '~/.xsession' script with no other desktop entry files. | |
5920 | ;; See <https://bugs.gnu.org/35068>. | |
5921 | (add-after 'install 'install-placeholder-desktop-entry | |
5922 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5923 | (let* ((out (assoc-ref outputs "out")) | |
5924 | (sessions (string-append out "/share/gdm/BuiltInSessions")) | |
5925 | (fail (string-append sessions "/fail.desktop"))) | |
5926 | (mkdir-p sessions) | |
5927 | (with-output-to-file fail | |
5928 | (lambda () | |
5929 | (for-each | |
5930 | display | |
5931 | '("[Desktop Entry]\n" | |
5932 | "Encoding=UTF-8\n" | |
5933 | "Type=Application\n" | |
5934 | "Name=Fail\n" | |
5935 | "Comment=This session fails immediately.\n" | |
5936 | "NoDisplay=true\n" | |
5937 | "Exec=false\n")))) | |
5938 | #t))) | |
69544798 TS |
5939 | ;; GDM needs GNOME Session to run these applications. We link |
5940 | ;; their autostart files in `share/gdm/greeter/autostart' | |
5941 | ;; because GDM explicitly tells GNOME Session to look there. | |
5942 | ;; | |
5943 | ;; XXX: GNOME Shell should be linked here too, but currently | |
5944 | ;; GNOME Shell depends on GDM. | |
5945 | (add-after 'install 'link-autostart-files | |
5946 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5947 | (let* ((out (assoc-ref outputs "out")) | |
5948 | (autostart (string-append out "/share/gdm/" | |
5949 | "greeter/autostart")) | |
5950 | (settings (assoc-ref inputs "gnome-settings-daemon"))) | |
5951 | (mkdir-p autostart) | |
5952 | (with-directory-excursion autostart | |
5953 | (for-each (lambda (desktop) | |
5954 | (symlink desktop (basename desktop))) | |
5955 | (find-files (string-append settings "/etc/xdg")))) | |
5956 | #t)))))) | |
df12f04a SB |
5957 | (native-inputs |
5958 | `(("dconf" ,dconf) | |
5959 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
5960 | ("gobject-introspection" ,gobject-introspection) | |
5961 | ("intltool" ,intltool) | |
5962 | ("itstool" ,itstool) | |
5963 | ("pkg-config" ,pkg-config) | |
5964 | ("xmllint" ,libxml2))) | |
5965 | (inputs | |
5966 | `(("accountsservice" ,accountsservice) | |
5967 | ("check" ,check) ; for testing | |
5968 | ("elogind" ,elogind) | |
def6d6b6 | 5969 | ("gnome-session" ,gnome-session) |
69544798 | 5970 | ("gnome-settings-daemon" ,gnome-settings-daemon) |
df12f04a SB |
5971 | ("gtk+" ,gtk+) |
5972 | ("iso-codes" ,iso-codes) | |
5973 | ("libcanberra" ,libcanberra) | |
5974 | ("linux-pam" ,linux-pam))) | |
5975 | (synopsis "Display manager for GNOME") | |
f032d0be | 5976 | (home-page "https://wiki.gnome.org/Projects/GDM/") |
df12f04a SB |
5977 | (description |
5978 | "GNOME Display Manager is a system service that is responsible for | |
5979 | providing graphical log-ins and managing local and remote displays.") | |
5980 | (license license:gpl2+))) | |
8e1dd04f SB |
5981 | |
5982 | (define-public libgtop | |
5983 | (package | |
5984 | (name "libgtop") | |
015fc036 | 5985 | (version "2.40.0") |
8e1dd04f SB |
5986 | (source (origin |
5987 | (method url-fetch) | |
59487fc2 | 5988 | (uri (string-append "mirror://gnome/sources/libgtop/" |
8e1dd04f | 5989 | (version-major+minor version) "/" |
59487fc2 | 5990 | "libgtop-" version ".tar.xz")) |
8e1dd04f SB |
5991 | (sha256 |
5992 | (base32 | |
015fc036 | 5993 | "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq")))) |
8e1dd04f SB |
5994 | (build-system gnu-build-system) |
5995 | (native-inputs | |
5996 | `(("gobject-introspection" ,gobject-introspection) | |
5997 | ("intltool" ,intltool) | |
5998 | ("perl" ,perl) | |
5999 | ("pkg-config" ,pkg-config))) | |
6000 | (propagated-inputs | |
6001 | `(("glib" ,glib))) ; required by libgtop-2.0.pc | |
6002 | (synopsis "Portable system access library") | |
6003 | (home-page "https://www.gnome.org/") | |
6004 | (description | |
6005 | "LibGTop is a library to get system specific data such as CPU and memory | |
6006 | usage and information about running processes.") | |
6007 | (license license:gpl2+))) | |
b96c4260 SB |
6008 | |
6009 | (define-public gnome-bluetooth | |
6010 | (package | |
6011 | (name "gnome-bluetooth") | |
fd3b1171 | 6012 | (version "3.28.0") |
b96c4260 SB |
6013 | (source (origin |
6014 | (method url-fetch) | |
6015 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6016 | (version-major+minor version) "/" | |
6017 | name "-" version ".tar.xz")) | |
6018 | (sha256 | |
6019 | (base32 | |
fd3b1171 RW |
6020 | "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p")))) |
6021 | (build-system meson-build-system) | |
b96c4260 SB |
6022 | (native-inputs |
6023 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
fd3b1171 | 6024 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
b96c4260 SB |
6025 | ("gobject-introspection" ,gobject-introspection) |
6026 | ("intltool" ,intltool) | |
6027 | ("pkg-config" ,pkg-config) | |
6028 | ("xmllint" ,libxml2))) | |
6029 | (propagated-inputs | |
6030 | ;; gnome-bluetooth-1.0.pc refers to all these. | |
6031 | `(("gtk+" ,gtk+) | |
6032 | ("udev" ,eudev))) | |
6033 | (inputs | |
6034 | `(("libcanberra" ,libcanberra) | |
6035 | ("libnotify" ,libnotify))) | |
6036 | (synopsis "GNOME Bluetooth subsystem") | |
6037 | (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth") | |
6038 | (description | |
6039 | "This package contains tools for managing and manipulating Bluetooth | |
6040 | devices using the GNOME desktop.") | |
6041 | (license license:lgpl2.1+))) | |
b645146f SB |
6042 | |
6043 | (define-public gnome-control-center | |
6044 | (package | |
6045 | (name "gnome-control-center") | |
982c0b36 | 6046 | (version "3.30.3") |
b645146f SB |
6047 | (source (origin |
6048 | (method url-fetch) | |
6049 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6050 | (version-major+minor version) "/" | |
6051 | name "-" version ".tar.xz")) | |
6052 | (sha256 | |
6053 | (base32 | |
982c0b36 KK |
6054 | "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r")) |
6055 | (patches | |
0de9a1be | 6056 | (search-patches "gnome-control-center-udisks.patch")))) |
59dac026 | 6057 | (build-system meson-build-system) |
b645146f | 6058 | (arguments |
59dac026 RW |
6059 | '(#:glib-or-gtk? #t |
6060 | #:configure-flags | |
64c70430 KK |
6061 | (list "-Dcheese=false" |
6062 | (string-append "-Dgnome_session_libexecdir=" | |
6063 | (assoc-ref %build-inputs "gnome-session") | |
6064 | "/libexec")) | |
59dac026 | 6065 | #:phases |
b645146f SB |
6066 | (modify-phases %standard-phases |
6067 | (add-before 'configure 'patch-paths | |
6068 | (lambda* (#:key inputs #:allow-other-keys) | |
6069 | (let ((libc (assoc-ref inputs "libc")) | |
1df38cfc | 6070 | (tzdata (assoc-ref inputs "tzdata")) |
341225ac | 6071 | (libgnomekbd (assoc-ref inputs "libgnomekbd")) |
64c70430 KK |
6072 | (nm-applet (assoc-ref inputs "network-manager-applet")) |
6073 | (gnome-desktop (assoc-ref inputs "gnome-desktop"))) | |
b645146f SB |
6074 | (substitute* "panels/datetime/tz.h" |
6075 | (("/usr/share/zoneinfo/zone.tab") | |
6076 | (string-append tzdata "/share/zoneinfo/zone.tab"))) | |
982c0b36 | 6077 | (substitute* "tests/datetime/test-endianess.c" |
b645146f SB |
6078 | (("/usr/share/locale") |
6079 | (string-append libc "/share/locale"))) | |
1df38cfc LC |
6080 | (substitute* "panels/region/cc-region-panel.c" |
6081 | (("\"gkbd-keyboard-display") | |
6082 | (string-append "\"" libgnomekbd | |
6083 | "/bin/gkbd-keyboard-display"))) | |
341225ac LC |
6084 | (substitute* '("panels/network/net-device-wifi.c" |
6085 | "panels/network/net-device.c" | |
6086 | "panels/network/connection-editor/net-connection-editor.c") | |
6087 | (("\"nm-connection-editor") | |
6088 | (string-append "\"" nm-applet | |
6089 | "/bin/nm-connection-editor"))) | |
1acd107c FP |
6090 | (substitute* '("panels/user-accounts/run-passwd.c") |
6091 | (("/usr/bin/passwd") | |
6092 | "/run/setuid-programs/passwd")) | |
64c70430 KK |
6093 | (substitute* "panels/info/cc-info-overview-panel.c" |
6094 | (("DATADIR \"/gnome/gnome-version.xml\"") | |
6095 | (string-append "\"" gnome-desktop | |
6096 | "/share/gnome/gnome-version.xml\""))) | |
b645146f SB |
6097 | #t)))))) |
6098 | (native-inputs | |
6099 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
59dac026 | 6100 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
b645146f SB |
6101 | ("intltool" ,intltool) |
6102 | ("pkg-config" ,pkg-config) | |
6103 | ("xsltproc" ,libxslt))) | |
6104 | (inputs | |
6105 | `(("accountsservice" ,accountsservice) | |
6106 | ("clutter-gtk" ,clutter-gtk) | |
6107 | ("colord-gtk" ,colord-gtk) | |
6108 | ("cups" ,cups) | |
6109 | ("dconf" ,dconf) | |
6110 | ("docbook-xsl" ,docbook-xsl) | |
3446ffb5 | 6111 | ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files |
b645146f SB |
6112 | ("gnome-bluetooth" ,gnome-bluetooth) |
6113 | ("gnome-desktop" ,gnome-desktop) | |
6114 | ("gnome-online-accounts" ,gnome-online-accounts) | |
14c297fd | 6115 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
64c70430 | 6116 | ("gnome-session" ,gnome-session) |
b645146f SB |
6117 | ("gnome-settings-daemon" ,gnome-settings-daemon) |
6118 | ("grilo" ,grilo) | |
6119 | ("ibus" ,ibus) | |
6120 | ("libcanberra" ,libcanberra) | |
1df38cfc | 6121 | ("libgnomekbd" ,libgnomekbd) |
b645146f SB |
6122 | ("libgudev" ,libgudev) |
6123 | ("libgtop" ,libgtop) | |
6124 | ("libpwquality" ,libpwquality) | |
982c0b36 | 6125 | ("libsecret" ,libsecret) |
b645146f SB |
6126 | ("libsoup" ,libsoup) |
6127 | ("libxml2" ,libxml2) | |
6128 | ("libwacom" ,libwacom) | |
6129 | ("mesa" ,mesa) | |
6130 | ("mit-krb5" ,mit-krb5) | |
6131 | ("modem-manager" ,modem-manager) | |
6132 | ("network-manager-applet" ,network-manager-applet) | |
6133 | ("polkit" ,polkit) | |
6134 | ("pulseaudio" ,pulseaudio) | |
6135 | ("smbclient" ,samba) | |
6136 | ("tzdata" ,tzdata) | |
982c0b36 | 6137 | ("udisks" ,udisks) |
b645146f SB |
6138 | ("upower" ,upower))) |
6139 | (synopsis "Utilities to configure the GNOME desktop") | |
6140 | (home-page "https://www.gnome.org/") | |
6141 | (description | |
6142 | "This package contains configuration applets for the GNOME desktop, | |
6143 | allowing to set accessibility configuration, desktop fonts, keyboard and mouse | |
6144 | properties, sound setup, desktop theme and background, user interface | |
6145 | properties, screen resolution, and other GNOME parameters.") | |
6146 | (license license:gpl2+))) | |
a4df5756 SB |
6147 | |
6148 | (define-public gnome-shell | |
6149 | (package | |
6150 | (name "gnome-shell") | |
bd0dc2df | 6151 | (version "3.30.2") |
a4df5756 SB |
6152 | (source (origin |
6153 | (method url-fetch) | |
6154 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6155 | (version-major+minor version) "/" | |
6156 | name "-" version ".tar.xz")) | |
6157 | (sha256 | |
6158 | (base32 | |
bd0dc2df | 6159 | "0kacd4w9lc5finsvs170i7827qkxwd1ddj0g2giizwffpjdjqqr2")) |
a76d0f03 LC |
6160 | (patches (search-patches "gnome-shell-theme.patch")) |
6161 | (modules '((guix build utils))) | |
6162 | (snippet | |
6163 | #~(begin | |
a76d0f03 LC |
6164 | ;; Copy images for use on the GDM log-in screen. |
6165 | (copy-file #$(file-append %artwork-repository | |
6166 | "/slim/0.x/background.png") | |
6167 | "data/theme/guix-background.png") | |
45fef894 LC |
6168 | (copy-file #$(file-append %artwork-repository |
6169 | "/logo/Guix-horizontal-white.svg") | |
6170 | "data/theme/guix-logo.svg") | |
a76d0f03 | 6171 | #t)))) |
2b0c755d | 6172 | (build-system meson-build-system) |
a4df5756 | 6173 | (arguments |
08185081 MB |
6174 | `(#:glib-or-gtk? #t |
6175 | #:disallowed-references ((,glib "bin") | |
11e1df56 LC |
6176 | ,inkscape ,libxslt |
6177 | ,ruby-sass) | |
2b0c755d RW |
6178 | #:configure-flags |
6179 | (list "-Dsystemd=false" | |
6180 | ;; Otherwise, the RUNPATH will lack the final path component. | |
6181 | (string-append "-Dc_link_args=-Wl,-rpath=" | |
6182 | (assoc-ref %outputs "out") | |
6183 | "/lib/gnome-shell")) | |
11e1df56 | 6184 | |
08185081 | 6185 | #:modules ((guix build meson-build-system) |
11e1df56 LC |
6186 | (guix build utils) |
6187 | (srfi srfi-1)) | |
6188 | ||
2b0c755d | 6189 | #:phases |
a4df5756 | 6190 | (modify-phases %standard-phases |
2b0c755d | 6191 | (add-after 'unpack 'fix-keysdir |
a4df5756 SB |
6192 | (lambda* (#:key outputs #:allow-other-keys) |
6193 | (let* ((out (assoc-ref outputs "out")) | |
6194 | (keysdir (string-append | |
6195 | out "/share/gnome-control-center/keybindings"))) | |
2b0c755d RW |
6196 | (substitute* "meson.build" |
6197 | (("keysdir =.*") | |
6198 | (string-append "keysdir = '" keysdir "'\n"))) | |
6199 | #t))) | |
ebfe259f MB |
6200 | (add-before 'configure 'convert-logo-to-png |
6201 | (lambda* (#:key inputs #:allow-other-keys) | |
6202 | ;; Convert the logo from SVG to PNG. | |
6203 | (invoke "inkscape" "--export-png=data/theme/guix-logo.png" | |
6204 | "data/theme/guix-logo.svg"))) | |
ba00235a | 6205 | (add-before 'configure 'record-absolute-file-names |
2472cdec LC |
6206 | (lambda* (#:key inputs #:allow-other-keys) |
6207 | (substitute* "js/misc/ibusManager.js" | |
6208 | (("'ibus-daemon'") | |
6209 | (string-append "'" (assoc-ref inputs "ibus") | |
6210 | "/bin/ibus-daemon'"))) | |
d6fda4d3 LC |
6211 | (substitute* "js/ui/status/keyboard.js" |
6212 | (("'gkbd-keyboard-display'") | |
6213 | (string-append "'" (assoc-ref inputs "libgnomekbd") | |
6214 | "/bin/gkbd-keyboard-display'"))) | |
2472cdec | 6215 | #t)) |
2b0c755d RW |
6216 | (add-before 'check 'pre-check |
6217 | (lambda* (#:key inputs #:allow-other-keys) | |
6218 | ;; Tests require a running X server. | |
6219 | (system "Xvfb :1 &") | |
6220 | (setenv "DISPLAY" ":1") | |
6221 | #t)) | |
6222 | (add-after 'install 'wrap-programs | |
6223 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6224 | (let ((out (assoc-ref outputs "out")) | |
6225 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
6226 | (python-path (getenv "PYTHONPATH"))) | |
6227 | (wrap-program (string-append out "/bin/gnome-shell") | |
6228 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
6229 | ;; FIXME: gnome-shell loads these libraries with unqualified | |
6230 | ;; names only, so they need to be on LD_LIBRARY_PATH. The | |
6231 | ;; alternative might be to patch gnome-shell. | |
6232 | `("LD_LIBRARY_PATH" ":" prefix | |
6233 | ,(map (lambda (pkg) | |
6234 | (string-append (assoc-ref inputs pkg) "/lib")) | |
cd8dce8a RW |
6235 | '("gdk-pixbuf" |
6236 | "gnome-bluetooth" "librsvg" "libgweather")))) | |
2b0c755d RW |
6237 | (for-each |
6238 | (lambda (prog) | |
6239 | (wrap-program (string-append out "/bin/" prog) | |
6240 | `("PYTHONPATH" ":" prefix (,python-path)) | |
6241 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
6242 | '("gnome-shell-extension-tool" "gnome-shell-perf-tool")) | |
08185081 | 6243 | #t))) |
11e1df56 LC |
6244 | (replace 'glib-or-gtk-wrap |
6245 | (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap))) | |
6246 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest) | |
6247 | ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS | |
6248 | ;; settings of the wrappers created by the 'glib-or-gtk-wrap' | |
6249 | ;; phase. Fix that since we don't need these. | |
6250 | (wrap #:inputs (fold alist-delete inputs | |
6251 | '("inkscape" "intltool" "glib:bin")) | |
6252 | #:outputs outputs))))))) | |
a4df5756 SB |
6253 | (native-inputs |
6254 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
2b0c755d | 6255 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
a4df5756 | 6256 | ("gobject-introspection" ,gobject-introspection) |
ebfe259f | 6257 | ("inkscape" ,inkscape) |
a4df5756 SB |
6258 | ("intltool" ,intltool) |
6259 | ("pkg-config" ,pkg-config) | |
6260 | ("python" ,python) | |
2b0c755d RW |
6261 | ("ruby-sass" ,ruby-sass) |
6262 | ("sassc" ,sassc) | |
a76d0f03 | 6263 | ("xsltproc" ,libxslt) |
2b0c755d | 6264 | ;; For tests |
0b4504f6 | 6265 | ("xorg-server" ,xorg-server-for-tests))) |
a4df5756 SB |
6266 | (inputs |
6267 | `(("accountsservice" ,accountsservice) | |
6268 | ("caribou" ,caribou) | |
6269 | ("docbook-xsl" ,docbook-xsl) | |
6270 | ("evolution-data-server" ,evolution-data-server) | |
6271 | ("gcr" ,gcr) | |
6272 | ("gdm" ,gdm) | |
c5db31d4 | 6273 | ("gdk-pixbuf" ,gdk-pixbuf+svg) |
a4df5756 SB |
6274 | ("gjs" ,gjs) |
6275 | ("gnome-bluetooth" ,gnome-bluetooth) | |
a4df5756 SB |
6276 | ("gnome-desktop" ,gnome-desktop) |
6277 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
6278 | ("gst-plugins-base" ,gst-plugins-base) | |
6279 | ("ibus" ,ibus) | |
6280 | ("libcanberra" ,libcanberra) | |
6281 | ("libcroco" ,libcroco) | |
d6fda4d3 | 6282 | ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display |
a4df5756 SB |
6283 | ("libgweather" ,libgweather) |
6284 | ("libsoup" ,libsoup) | |
6285 | ("mesa-headers" ,mesa-headers) | |
6286 | ("mutter" ,mutter) | |
6287 | ("network-manager-applet" ,network-manager-applet) | |
6288 | ("polkit" ,polkit) | |
6289 | ("pulseaudio" ,pulseaudio) | |
6290 | ("python-pygobject" ,python-pygobject) | |
6291 | ("startup-notification" ,startup-notification) | |
6292 | ("telepathy-logger" ,telepathy-logger) | |
6293 | ("upower" ,upower) | |
30e760f0 MB |
6294 | ;; XXX: These requirements were added in 3.24, but no mention in NEWS. |
6295 | ;; Missing propagation? See also: <https://bugs.gnu.org/27264> | |
6296 | ("librsvg" ,librsvg) | |
2b0c755d | 6297 | ("geoclue" ,geoclue))) |
a4df5756 SB |
6298 | (synopsis "Desktop shell for GNOME") |
6299 | (home-page "https://wiki.gnome.org/Projects/GnomeShell") | |
6300 | (description | |
6301 | "GNOME Shell provides core user interface functions for the GNOME desktop, | |
6302 | like switching to windows and launching applications.") | |
6303 | (license license:gpl2+))) | |
c3f29bc9 RS |
6304 | |
6305 | (define-public gtk-vnc | |
6306 | (package | |
6307 | (name "gtk-vnc") | |
965ff023 | 6308 | (version "0.9.0") |
c3f29bc9 RS |
6309 | (source |
6310 | (origin | |
6311 | (method url-fetch) | |
6312 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6313 | (version-major+minor version) "/" | |
6314 | name "-" version ".tar.xz")) | |
6315 | (sha256 | |
6316 | (base32 | |
965ff023 | 6317 | "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is")))) |
c3f29bc9 RS |
6318 | (build-system gnu-build-system) |
6319 | (arguments | |
6320 | '(#:configure-flags '("--with-gtk=3.0"))) | |
6321 | (propagated-inputs | |
6322 | `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc. | |
6323 | (inputs | |
6324 | `(("cyrus-sasl" ,cyrus-sasl) | |
6325 | ("gnutls" ,gnutls) | |
6326 | ("libgcrypt" ,libgcrypt) | |
6327 | ("pulseaudio" ,pulseaudio))) | |
6328 | (native-inputs | |
6329 | `(("glib:bin" ,glib "bin") | |
6330 | ("gobject-introspection" ,gobject-introspection) | |
6331 | ("intltool" ,intltool) | |
6332 | ("pkg-config" ,pkg-config) | |
2f17e939 | 6333 | ("python-wrapper" ,python-wrapper) |
c3f29bc9 RS |
6334 | ("vala" ,vala))) |
6335 | (home-page "https://wiki.gnome.org/Projects/gtk-vnc") | |
6336 | (synopsis "VNC viewer widget for GTK+") | |
6337 | (description | |
6338 | "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing | |
6339 | applications, for instance the Vinagre client, GNOME Boxes and virt-viewer. | |
6340 | GTK-VNC implements client side RFB protocol and authentication extensions such | |
6341 | as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.") | |
6342 | (license license:lgpl2.1+))) | |
8b877545 | 6343 | |
dc69fe18 MW |
6344 | (define-public gnome-autoar |
6345 | (package | |
6346 | (name "gnome-autoar") | |
c7da8510 | 6347 | (version "0.2.3") |
dc69fe18 MW |
6348 | (source (origin |
6349 | (method url-fetch) | |
6350 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6351 | (version-major+minor version) "/" | |
6352 | name "-" version ".tar.xz")) | |
6353 | (sha256 | |
6354 | (base32 | |
c7da8510 | 6355 | "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax")))) |
dc69fe18 MW |
6356 | (build-system glib-or-gtk-build-system) |
6357 | (native-inputs | |
6358 | `(("gnome-common" ,gnome-common) | |
6359 | ("gobject-introspection" ,gobject-introspection) | |
6360 | ("pkg-config" ,pkg-config))) | |
6361 | (propagated-inputs | |
6362 | `(("libarchive" ,libarchive))) ; XXX document why | |
6363 | (inputs | |
0a6e9e13 | 6364 | `(("gtk+" ,gtk+))) |
dc69fe18 MW |
6365 | (synopsis "Archives integration support for GNOME") |
6366 | (home-page "https://git.gnome.org/browse/gnome-autoar/") | |
6367 | (description | |
6368 | "GNOME Autoar is a library which makes creating and extracting archives | |
6369 | easy, safe, and automatic.") | |
6370 | (license license:lgpl2.1+))) | |
6371 | ||
b64e217f MW |
6372 | (define-public tracker |
6373 | (package | |
6374 | (name "tracker") | |
c8bdf589 | 6375 | (version "2.0.4") |
b64e217f MW |
6376 | (source (origin |
6377 | (method url-fetch) | |
b5b0fd23 | 6378 | (uri (string-append "mirror://gnome/sources/tracker/" |
b64e217f | 6379 | (version-major+minor version) "/" |
b5b0fd23 | 6380 | "tracker-" version ".tar.xz")) |
b64e217f MW |
6381 | (sha256 |
6382 | (base32 | |
c8bdf589 | 6383 | "1mfc5lv820kr7ssi7hldn25gmshh65k19kh478qjsnb64sshsbyf")))) |
b64e217f | 6384 | (build-system glib-or-gtk-build-system) |
c8bdf589 RW |
6385 | (arguments |
6386 | `(#:phases | |
6387 | (modify-phases %standard-phases | |
6388 | (add-after 'unpack 'disable-broken-tests | |
6389 | (lambda _ | |
6390 | ;; FIXME: Most of these fail with GLib-GIO-FATAL-ERROR: Settings | |
6391 | ;; schema 'org.freedesktop.Tracker.FTS' is not installed. | |
6392 | (substitute* "tests/libtracker-miner/Makefile.in" | |
6393 | (("tracker-file-notifier-test\\$\\(EXEEXT\\)") "") | |
6394 | (("tracker-miner-fs-test\\$\\(EXEEXT\\)") "") | |
6395 | (("tracker-monitor-test\\$\\(EXEEXT\\)") "")) | |
6396 | (substitute* "tests/libtracker-fts/Makefile.in" | |
6397 | (("tracker-fts-test\\$\\(EXEEXT\\)") "")) | |
6398 | (substitute* "tests/libtracker-data/Makefile.in" | |
6399 | (("tracker-ontology\\$\\(EXEEXT\\)") "") | |
6400 | (("tracker-ontology-change\\$\\(EXEEXT\\)") "") | |
6401 | (("tracker-backup\\$\\(EXEEXT\\)") "") | |
6402 | (("tracker-sparql-blank\\$\\(EXEEXT\\)") "") | |
6403 | (("tracker-sparql\\$\\(EXEEXT\\)") "")) | |
6404 | ;; These fail because the SPARQL backend could not be loaded. | |
6405 | ;; That's because /etc/machine-id is missing, but | |
6406 | ;; DBUS_FATAL_WARNINGS does not help here. | |
6407 | (substitute* "tests/libtracker-sparql/Makefile.in" | |
6408 | (("tracker-gb-737023-test\\$\\(EXEEXT\\)") "") | |
6409 | (("tracker-sparql-test\\$\\(EXEEXT\\)") "")) | |
6410 | (substitute* "tests/tracker-steroids/Makefile.in" | |
6411 | (("tracker-test\\$\\(EXEEXT\\)") "")) | |
6412 | #t)) | |
6413 | ;; Two tests fail if LANG is not set. | |
6414 | (add-before 'check 'pre-check | |
6415 | (lambda _ | |
6416 | (setenv "LANG" "en_US.UTF-8") | |
6417 | ;; For the missing /etc/machine-id. | |
6418 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
6419 | #t))))) | |
b64e217f MW |
6420 | (native-inputs |
6421 | `(("gnome-common" ,gnome-common) | |
6422 | ("gobject-introspection" ,gobject-introspection) | |
6423 | ("intltool" ,intltool) | |
6424 | ("pkg-config" ,pkg-config) | |
6425 | ("vala" ,vala))) | |
6426 | (inputs | |
6427 | `(("gtk+" ,gtk+) | |
6428 | ("dbus" ,dbus) | |
6429 | ("gstreamer" ,gstreamer) | |
6430 | ("gst-plugins-base" ,gst-plugins-base) | |
44ed6284 | 6431 | ("sqlite" ,sqlite) |
c8bdf589 | 6432 | ("python" ,python) |
b64e217f MW |
6433 | ("poppler" ,poppler) |
6434 | ("libgsf" ,libgsf) | |
6435 | ("libexif" ,libexif) | |
6436 | ("libpng" ,libpng) | |
6437 | ("libtiff" ,libtiff) | |
6438 | ("libvorbis" ,libvorbis) | |
6439 | ("flac" ,flac) | |
6440 | ("totem-pl-parser" ,totem-pl-parser) | |
6441 | ("zlib" ,zlib) | |
6442 | ("exempi" ,exempi) | |
6443 | ("libxml2" ,libxml2) | |
6444 | ("upower" ,upower) | |
b64e217f MW |
6445 | ("libunistring" ,libunistring) |
6446 | ("giflib" ,giflib) | |
0ef48cd9 | 6447 | ("json-glib" ,json-glib) |
b64e217f MW |
6448 | ("openjpeg" ,openjpeg-1) |
6449 | ("libosinfo" ,libosinfo) | |
6450 | ("libcue" ,libcue) | |
6451 | ("libseccomp" ,libseccomp) | |
0ef48cd9 | 6452 | ("libsoup" ,libsoup) |
b64e217f | 6453 | ("libuuid" ,util-linux))) |
b64e217f MW |
6454 | (synopsis "Metadata database, indexer and search tool") |
6455 | (home-page "https://wiki.gnome.org/Projects/Tracker") | |
6456 | (description | |
6457 | "Tracker is an advanced framework for first class objects with associated | |
6458 | metadata and tags. It provides a one stop solution for all metadata, tags, | |
6459 | shared object databases, search tools and indexing.") | |
6460 | ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+, | |
6461 | ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+. | |
6462 | (license (list license:gpl2+ | |
6463 | license:lgpl2.1+ | |
6464 | license:lgpl2.0+)))) | |
6465 | ||
8b877545 RS |
6466 | (define-public nautilus |
6467 | (package | |
6468 | (name "nautilus") | |
c71bb3f2 | 6469 | (version "3.30.5") |
8b877545 RS |
6470 | (source (origin |
6471 | (method url-fetch) | |
6472 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6473 | (version-major+minor version) "/" | |
6474 | name "-" version ".tar.xz")) | |
6475 | (sha256 | |
6476 | (base32 | |
c71bb3f2 | 6477 | "144r4py9b8w9ycsg6fggjg05kwvymh003qsb3h6apgpch5y3zgnv")))) |
35e2d0cf | 6478 | (build-system meson-build-system) |
8b877545 | 6479 | (arguments |
35e2d0cf | 6480 | '(#:glib-or-gtk? #t |
8b877545 RS |
6481 | ;; XXX: FAIL: check-nautilus |
6482 | ;; Settings schema 'org.gnome.nautilus.preferences' is not installed | |
6483 | #:tests? #f)) | |
6484 | (native-inputs | |
35e2d0cf R |
6485 | `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
6486 | ("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
6487 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
8b877545 RS |
6488 | ("gobject-introspection" ,gobject-introspection) |
6489 | ("intltool" ,intltool) | |
6490 | ("pkg-config" ,pkg-config))) | |
8b877545 | 6491 | (inputs |
8b877545 | 6492 | `(("dconf" ,dconf) |
caf6c363 | 6493 | ("gexiv2" ,gexiv2) |
dd05e731 | 6494 | ("gvfs" ,gvfs) |
8b877545 RS |
6495 | ("exempi" ,exempi) |
6496 | ("gnome-desktop" ,gnome-desktop) | |
09d88905 | 6497 | ("gnome-autoar" ,gnome-autoar) |
ec66ebd4 | 6498 | ("libseccomp" ,libseccomp) |
35e2d0cf | 6499 | ("libselinux" ,libselinux) |
09d88905 | 6500 | ("tracker" ,tracker) |
ce6027bf SB |
6501 | ;; XXX: gtk+ is required by libnautilus-extension.pc |
6502 | ;; | |
6503 | ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta | |
6504 | ;; package. See: | |
6505 | ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>. | |
6506 | ("gtk+" ,gtk+) | |
8b877545 RS |
6507 | ("libexif" ,libexif) |
6508 | ("libxml2" ,libxml2))) | |
6509 | (synopsis "File manager for GNOME") | |
6510 | (home-page "https://wiki.gnome.org/Apps/Nautilus") | |
6511 | (description | |
6512 | "Nautilus (Files) is a file manager designed to fit the GNOME desktop | |
6513 | design and behaviour, giving the user a simple way to navigate and manage its | |
6514 | files.") | |
6515 | (license license:gpl2+))) | |
3c697ffd JR |
6516 | |
6517 | (define-public baobab | |
6518 | (package | |
6519 | (name "baobab") | |
d4ae2d15 | 6520 | (version "3.30.0") |
3c697ffd JR |
6521 | (source (origin |
6522 | (method url-fetch) | |
6523 | (uri (string-append | |
6524 | "mirror://gnome/sources/" name "/" | |
6525 | (version-major+minor version) "/" | |
6526 | name "-" version ".tar.xz")) | |
6527 | (sha256 | |
6528 | (base32 | |
d4ae2d15 | 6529 | "0kx721s1hhw1g0nvbqhb93g8iq6f852imyhfhl02zcqy4ipx0kay")))) |
d233d373 RJ |
6530 | (build-system meson-build-system) |
6531 | (arguments | |
6532 | '(#:glib-or-gtk? #t)) | |
3c697ffd JR |
6533 | (native-inputs |
6534 | `(("intltool" ,intltool) | |
6535 | ("pkg-config" ,pkg-config) | |
d233d373 RJ |
6536 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database |
6537 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
3c697ffd JR |
6538 | ("itstool" ,itstool) |
6539 | ("xmllint" ,libxml2) | |
6540 | ("glib" ,glib "bin") | |
6541 | ("vala" ,vala))) | |
6542 | (inputs | |
6543 | `(("gtk+" ,gtk+))) | |
6544 | (synopsis "Disk usage analyzer for GNOME") | |
6545 | (description | |
6546 | "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk | |
6547 | usage in the GNOME desktop environment. It can easily scan device volumes or | |
6548 | a specific user-requested directory branch (local or remote). Once the scan | |
6549 | is complete it provides a graphical representation of each selected folder.") | |
6550 | (home-page "https://wiki.gnome.org/Apps/Baobab") | |
6551 | (license license:gpl2+))) | |
dc050251 | 6552 | |
fdba447c RS |
6553 | (define-public gnome-backgrounds |
6554 | (package | |
6555 | (name "gnome-backgrounds") | |
29b85910 | 6556 | (version "3.30.0") |
fdba447c RS |
6557 | (source |
6558 | (origin | |
6559 | (method url-fetch) | |
6560 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6561 | (version-major+minor version) "/" | |
6562 | name "-" version ".tar.xz")) | |
6563 | (sha256 | |
6564 | (base32 | |
29b85910 | 6565 | "1179jrl16bp9gqabqhw7nnfp8qzf5y1vf9fi45bni6rfmwm3mrpc")))) |
9ca381f0 | 6566 | (build-system meson-build-system) |
fdba447c RS |
6567 | (native-inputs |
6568 | `(("intltool" ,intltool))) | |
6569 | (home-page "https://git.gnome.org/browse/gnome-backgrounds") | |
6570 | (synopsis "Background images for the GNOME desktop") | |
6571 | (description | |
6572 | "GNOME backgrounds package contains a collection of graphics files which | |
6573 | can be used as backgrounds in the GNOME Desktop environment. Additionally, | |
6574 | the package creates the proper framework and directory structure so that you | |
6575 | can add your own files to the collection.") | |
6576 | (license (list license:gpl2+ | |
6577 | license:cc-by2.0 | |
6578 | license:cc-by-sa2.0 | |
6579 | license:cc-by-sa3.0)))) | |
6580 | ||
b784b1a9 RS |
6581 | (define-public gnome-screenshot |
6582 | (package | |
6583 | (name "gnome-screenshot") | |
676e7cb4 | 6584 | (version "3.30.0") |
b784b1a9 RS |
6585 | (source |
6586 | (origin | |
6587 | (method url-fetch) | |
6588 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6589 | (version-major+minor version) "/" | |
6590 | name "-" version ".tar.xz")) | |
6591 | (sha256 | |
6592 | (base32 | |
676e7cb4 | 6593 | "06dx3svxq6sar4913mrz5lzb7hmc66wck138vmyxj8x8iv1iw0w8")))) |
8356aefa | 6594 | (build-system meson-build-system) |
b784b1a9 RS |
6595 | (native-inputs |
6596 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
8356aefa RW |
6597 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
6598 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database | |
b784b1a9 | 6599 | ("intltool" ,intltool) |
8356aefa | 6600 | ("appstream-glib" ,appstream-glib) |
b784b1a9 RS |
6601 | ("pkg-config" ,pkg-config))) |
6602 | (inputs | |
6603 | `(("gtk+" ,gtk+) | |
6604 | ("libcanberra" ,libcanberra) | |
6605 | ("libx11" ,libx11) | |
6606 | ("libxext" ,libxext))) | |
676e7cb4 | 6607 | (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot") |
b784b1a9 RS |
6608 | (synopsis "Take pictures of your screen") |
6609 | (description | |
6610 | "GNOME Screenshot is a utility used for taking screenshots of the entire | |
6611 | screen, a window or a user defined area of the screen, with optional | |
6612 | beautifying border effects.") | |
6613 | (license license:gpl2+))) | |
6614 | ||
66d59111 RS |
6615 | (define-public dconf-editor |
6616 | (package | |
6617 | (name "dconf-editor") | |
bc09c416 | 6618 | (version "3.30.2") |
66d59111 RS |
6619 | (source |
6620 | (origin | |
6621 | (method url-fetch) | |
6622 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6623 | (version-major+minor version) "/" | |
6624 | name "-" version ".tar.xz")) | |
6625 | (sha256 | |
6626 | (base32 | |
bc09c416 | 6627 | "06f736spn20s7qjsz00xw44v8r8bjhyrz1v3bix6v416jc5jp6ia")))) |
294ff39d | 6628 | (build-system meson-build-system) |
86f2124b LC |
6629 | (arguments |
6630 | '(#:phases (modify-phases %standard-phases | |
6631 | (add-before 'configure 'set-glib-minimum-version | |
6632 | (lambda _ | |
6633 | ;; Change the minimum required GLib version so that | |
6634 | ;; 'valac' is passed '--target-glib 2.60.0'; failing to | |
6635 | ;; do that, it complains that "55" is not an even | |
6636 | ;; number. See <https://bugs.gnu.org/37503>. | |
6637 | (substitute* "editor/meson.build" | |
6638 | (("2\\.55\\.1") "2.60.0")) | |
6639 | #t))))) | |
66d59111 RS |
6640 | (native-inputs |
6641 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. | |
294ff39d | 6642 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
66d59111 | 6643 | ("intltool" ,intltool) |
294ff39d RW |
6644 | ("pkg-config" ,pkg-config) |
6645 | ("vala" ,vala))) | |
66d59111 RS |
6646 | (inputs |
6647 | `(("dconf" ,dconf) | |
6648 | ("gtk+" ,gtk+) | |
6649 | ("libxml2" ,libxml2))) | |
6650 | (home-page "https://git.gnome.org/browse/dconf-editor") | |
6651 | (synopsis "Graphical editor for GNOME's dconf configuration system") | |
6652 | (description | |
6653 | "Dconf-editor is a graphical tool for browsing and editing the dconf | |
6654 | configuration system for GNOME. It allows users to configure desktop | |
6655 | software that do not provide their own configuration interface.") | |
6656 | (license license:lgpl2.1+))) | |
6657 | ||
96d36f38 AW |
6658 | (define-public gnome-default-applications |
6659 | (package | |
6660 | (name "gnome-default-applications") | |
6661 | (version "0") | |
6662 | (build-system trivial-build-system) | |
6663 | (source #f) | |
6664 | (propagated-inputs | |
8ad4f0aa LC |
6665 | `(("nautilus" ,nautilus) |
6666 | ("evince" ,evince))) | |
96d36f38 AW |
6667 | (arguments |
6668 | `(#:modules ((guix build utils)) | |
6669 | #:builder | |
6670 | (begin | |
6671 | (use-modules (guix build utils)) | |
6672 | (let* ((out (assoc-ref %outputs "out")) | |
6673 | (apps (string-append out "/share/applications"))) | |
6674 | (mkdir-p apps) | |
6675 | (call-with-output-file (string-append apps "/defaults.list") | |
6676 | (lambda (port) | |
6677 | (format port "[Default Applications]\n") | |
8ad4f0aa LC |
6678 | (format port "inode/directory=org.gnome.Nautilus.desktop\n") |
6679 | (format port "application/pdf=evince.desktop\n") | |
6680 | (format port "application/postscript=evince.desktop\n"))) | |
96d36f38 AW |
6681 | #t)))) |
6682 | (synopsis "Default MIME type associations for the GNOME desktop") | |
6683 | (description | |
6684 | "Given many installed packages which might handle a given MIME type, a | |
6685 | user running the GNOME desktop probably has some preferences: for example, | |
6686 | that folders be opened by default by the Nautilus file manager, not the Baobab | |
6687 | disk usage analyzer. This package establishes that set of default MIME type | |
6688 | associations for GNOME.") | |
6689 | (license license:gpl3+) | |
6690 | (home-page #f))) | |
6691 | ||
dc050251 SB |
6692 | (define-public gnome |
6693 | (package | |
6694 | (name "gnome") | |
6695 | (version (package-version gnome-shell)) | |
6696 | (source #f) | |
6697 | (build-system trivial-build-system) | |
e3cfef22 | 6698 | (arguments '(#:builder (begin (mkdir %output) #t))) |
dc050251 SB |
6699 | (propagated-inputs |
6700 | ;; TODO: Add more packages according to: | |
6701 | ;; <https://packages.debian.org/jessie/gnome-core>. | |
6702 | `(("adwaita-icon-theme" ,adwaita-icon-theme) | |
05f651c4 | 6703 | ("baobab" ,baobab) |
0bd3597b | 6704 | ("font-cantarell" ,font-cantarell) |
a9dbefdc | 6705 | ("font-dejavu" ,font-dejavu) |
dc050251 SB |
6706 | ("at-spi2-core" ,at-spi2-core) |
6707 | ("dbus" ,dbus) | |
6708 | ("dconf" ,dconf) | |
72360453 | 6709 | ("desktop-file-utils" ,desktop-file-utils) |
dc050251 SB |
6710 | ("eog" ,eog) |
6711 | ("epiphany" ,epiphany) | |
6712 | ("evince" ,evince) | |
71d9b980 | 6713 | ("file-roller" ,file-roller) |
dc050251 SB |
6714 | ("gedit" ,gedit) |
6715 | ("glib-networking" ,glib-networking) | |
05f651c4 | 6716 | ("gnome-backgrounds" ,gnome-backgrounds) |
63ad9b80 AW |
6717 | ("gnome-bluetooth" ,gnome-bluetooth) |
6718 | ("gnome-calculator" ,gnome-calculator) | |
dc050251 | 6719 | ("gnome-control-center" ,gnome-control-center) |
63ad9b80 | 6720 | ("gnome-disk-utility" ,gnome-disk-utility) |
96d36f38 | 6721 | ("gnome-default-applications" ,gnome-default-applications) |
dc050251 | 6722 | ("gnome-keyring" ,gnome-keyring) |
63ad9b80 | 6723 | ("gnome-online-accounts" ,gnome-online-accounts) |
56987d78 | 6724 | ("gnome-screenshot" ,gnome-screenshot) |
dc050251 SB |
6725 | ("gnome-session" ,gnome-session) |
6726 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
6727 | ("gnome-shell" ,gnome-shell) | |
63ad9b80 | 6728 | ("gnome-system-monitor" ,gnome-system-monitor) |
dc050251 SB |
6729 | ("gnome-terminal" ,gnome-terminal) |
6730 | ("gnome-themes-standard" ,gnome-themes-standard) | |
2999dcd5 AW |
6731 | ("gst-plugins-base" ,gst-plugins-base) |
6732 | ("gst-plugins-good" ,gst-plugins-good) | |
63ad9b80 | 6733 | ("gucharmap" ,gucharmap) |
05f651c4 | 6734 | ("gvfs" ,gvfs) |
dc050251 SB |
6735 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
6736 | ("nautilus" ,nautilus) | |
69308043 | 6737 | ("pinentry-gnome3" ,pinentry-gnome3) |
dc050251 SB |
6738 | ("pulseaudio" ,pulseaudio) |
6739 | ("shared-mime-info" ,shared-mime-info) | |
f6f4370f | 6740 | ("system-config-printer" ,system-config-printer) |
dc050251 | 6741 | ("totem" ,totem) |
c20cd0d2 | 6742 | ("xdg-user-dirs" ,xdg-user-dirs) |
dc050251 SB |
6743 | ("yelp" ,yelp) |
6744 | ("zenity" ,zenity))) | |
fe4e698d | 6745 | (synopsis "The GNU desktop environment") |
dc050251 SB |
6746 | (home-page "https://www.gnome.org/") |
6747 | (description | |
fe4e698d LC |
6748 | "GNOME is the graphical desktop for GNU. It includes a wide variety of |
6749 | applications for browsing the web, editing text and images, creating | |
6750 | documents and diagrams, playing media, scanning, and much more.") | |
dc050251 | 6751 | (license license:gpl2+))) |
4a526711 DT |
6752 | |
6753 | (define-public byzanz | |
6754 | ;; The last stable release of Byzanz was in 2011, but there have been many | |
6755 | ;; useful commits made to the Byzanz repository since then that it would be | |
6756 | ;; silly to use such an old release. | |
6757 | (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af")) | |
6758 | (package | |
6759 | (name "byzanz") | |
6760 | (version (string-append "0.2-1." (string-take commit 7))) | |
6761 | (source (origin | |
6762 | (method git-fetch) | |
6763 | (uri (git-reference | |
5f13bf09 | 6764 | (url "https://git.gnome.org/browse/byzanz") |
4a526711 | 6765 | (commit commit))) |
5a6527e4 | 6766 | (file-name (string-append name "-" version "-checkout")) |
4a526711 DT |
6767 | (sha256 |
6768 | (base32 | |
6769 | "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3")))) | |
6770 | (build-system glib-or-gtk-build-system) | |
6771 | (arguments | |
6772 | '(#:phases | |
6773 | (modify-phases %standard-phases | |
189be331 | 6774 | (replace 'bootstrap |
4a526711 DT |
6775 | (lambda _ |
6776 | ;; The build system cleverly detects that we're not building from | |
6777 | ;; a release tarball and turns on -Werror for GCC. | |
6778 | ;; Unsurprisingly, there is a warning during compilation that | |
6779 | ;; causes the build to fail unnecessarily, so we remove the flag. | |
6780 | (substitute* '("configure.ac") | |
6781 | (("-Werror") "")) | |
6782 | ;; The autogen.sh script in gnome-common will run ./configure | |
6783 | ;; by default, which is problematic because source shebangs | |
6784 | ;; have not yet been patched. | |
6785 | (setenv "NOCONFIGURE" "t") | |
6786 | (zero? (system* "sh" "autogen.sh"))))))) | |
6787 | (native-inputs | |
6788 | `(("autoconf" ,autoconf) | |
6789 | ("automake" ,automake) | |
6790 | ("gnome-common" ,gnome-common) | |
6791 | ("intltool" ,intltool) | |
6792 | ("libtool" ,libtool) | |
6793 | ("pkg-config" ,pkg-config) | |
6794 | ("which" ,which))) | |
6795 | (inputs | |
6796 | `(("glib" ,glib) | |
6797 | ("gstreamer" ,gstreamer) | |
6798 | ("gst-plugins-base" ,gst-plugins-base) | |
6799 | ("gtk+" ,gtk+))) | |
6800 | (synopsis "Desktop recording program") | |
6801 | (description "Byzanz is a simple desktop recording program with a | |
6802 | command-line interface. It can record part or all of an X display for a | |
6803 | specified duration and save it as a GIF encoded animated image file.") | |
6804 | (home-page "https://git.gnome.org/browse/byzanz") | |
6805 | (license license:gpl2+)))) | |
3a9a4c51 | 6806 | |
0ec171ec MS |
6807 | (define-public gsound |
6808 | (package | |
6809 | (name "gsound") | |
6810 | (version "1.0.2") | |
6811 | (source (origin | |
6812 | (method url-fetch) | |
6813 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6814 | (version-major+minor version) "/" | |
6815 | name "-" version ".tar.xz")) | |
6816 | (sha256 | |
6817 | (base32 | |
6818 | "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v")))) | |
6819 | (build-system glib-or-gtk-build-system) | |
6820 | (native-inputs | |
6821 | `(("pkg-config" ,pkg-config) | |
6822 | ("gobject-introspection" ,gobject-introspection) | |
6823 | ("vala" ,vala))) | |
6824 | (inputs | |
6825 | `(("glib" ,glib) | |
6826 | ("libcanberra" ,libcanberra))) | |
6827 | (home-page "https://wiki.gnome.org/Projects/GSound") | |
6828 | (synopsis "GObject wrapper for libcanberra") | |
6829 | (description | |
6830 | "GSound is a small library for playing system sounds. It's designed to be | |
6831 | used via GObject Introspection, and is a thin wrapper around the libcanberra C | |
6832 | library.") | |
6833 | (license license:lgpl2.1+))) | |
6834 | ||
3a9a4c51 RS |
6835 | (define-public libzapojit |
6836 | (package | |
6837 | (name "libzapojit") | |
6838 | (version "0.0.3") | |
6839 | (source (origin | |
6840 | (method url-fetch) | |
6841 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6842 | (version-major+minor version) "/" | |
6843 | name "-" version ".tar.xz")) | |
6844 | (sha256 | |
6845 | (base32 | |
6846 | "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x")))) | |
6847 | (build-system gnu-build-system) | |
6848 | (native-inputs | |
6849 | `(("gobject-introspection" ,gobject-introspection) | |
6850 | ("intltool" ,intltool) | |
6851 | ("pkg-config" ,pkg-config))) | |
6852 | (inputs | |
14c297fd | 6853 | `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
3a9a4c51 RS |
6854 | ("json-glib" ,json-glib) |
6855 | ("rest" ,rest))) | |
6856 | (home-page "https://wiki.gnome.org/Projects/Zapojit") | |
6857 | (synopsis "Library for accessing SkyDrive and Hotmail") | |
6858 | (description | |
6859 | "Libzapojit is a GLib-based library for accessing online service APIs of | |
6860 | Microsoft SkyDrive and Hotmail, using their REST protocols.") | |
6861 | (license license:lgpl2.1+))) | |
9365ee1c | 6862 | |
60e2a9ae MS |
6863 | (define-public gnome-clocks |
6864 | (package | |
6865 | (name "gnome-clocks") | |
757f863b | 6866 | (version "3.30.1") |
60e2a9ae MS |
6867 | (source (origin |
6868 | (method url-fetch) | |
6869 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6870 | (version-major+minor version) "/" | |
6871 | name "-" version ".tar.xz")) | |
6872 | (sha256 | |
6873 | (base32 | |
757f863b | 6874 | "009fr6zwv37wryi0c0syi4i7pxpdbn3gliws68l99cjsbn2qd6pc")))) |
60e2a9ae MS |
6875 | (build-system meson-build-system) |
6876 | (arguments | |
6877 | '(#:glib-or-gtk? #t)) | |
6878 | (native-inputs | |
6879 | `(("vala" ,vala) | |
6880 | ("pkg-config" ,pkg-config) | |
6881 | ("glib" ,glib "bin") ; for glib-compile-resources | |
6882 | ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
6883 | ("desktop-file-utils" ,desktop-file-utils) | |
6884 | ("gettext" ,gettext-minimal) | |
6885 | ("itstool" ,itstool))) | |
6886 | (inputs | |
6887 | `(("glib" ,glib) | |
6888 | ("gtk+" ,gtk+) | |
6889 | ("gsound" ,gsound) | |
6890 | ("geoclue" ,geoclue) | |
6891 | ("geocode-glib" ,geocode-glib) | |
6892 | ("libgweather" ,libgweather) | |
6893 | ("gnome-desktop" ,gnome-desktop))) | |
6894 | (home-page "https://wiki.gnome.org/Apps/Clocks") | |
6895 | (synopsis "GNOME's clock application") | |
6896 | (description | |
6897 | "GNOME Clocks is a simple clocks application designed to fit the GNOME | |
6898 | desktop. It supports world clock, stop watch, alarms, and count down timer.") | |
6899 | (license license:gpl3+))) | |
6900 | ||
3c474897 KY |
6901 | (define-public gnome-calendar |
6902 | (package | |
6903 | (name "gnome-calendar") | |
496d7ccd | 6904 | (version "3.30.1") |
3c474897 KY |
6905 | (source (origin |
6906 | (method url-fetch) | |
6907 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6908 | (version-major+minor version) "/" | |
6909 | name "-" version ".tar.xz")) | |
6910 | (sha256 | |
6911 | (base32 | |
496d7ccd | 6912 | "1avi7a29y8d8kzwslp51nwy6s692alms7917454j0xpfc6hnw62s")))) |
a49d3e37 MS |
6913 | (build-system meson-build-system) |
6914 | (arguments | |
6915 | '(#:glib-or-gtk? #t | |
6916 | ;; gnome-calendar has to be installed before the tests can be run | |
6917 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224 | |
6918 | #:tests? #f)) | |
3c474897 | 6919 | (native-inputs |
a49d3e37 MS |
6920 | `(("gettext" ,gettext-minimal) |
6921 | ("glib-bin" ,glib "bin") ; For glib-compile-schemas | |
6922 | ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
3c474897 KY |
6923 | ("pkg-config" ,pkg-config))) |
6924 | (inputs | |
a49d3e37 | 6925 | `(("evolution-data-server" ,evolution-data-server) |
14c297fd | 6926 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
a286b5eb RW |
6927 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
6928 | ("libdazzle" ,libdazzle) | |
b63c06f1 | 6929 | ("libedataserverui" ,evolution-data-server) |
a286b5eb RW |
6930 | ("libgweather" ,libgweather) |
6931 | ("geoclue" ,geoclue))) | |
3c474897 KY |
6932 | (home-page "https://wiki.gnome.org/Apps/Calendar") |
6933 | (synopsis "GNOME's calendar application") | |
6934 | (description | |
6935 | "GNOME Calendar is a simple calendar application designed to fit the GNOME | |
a49d3e37 | 6936 | desktop. It supports multiple calendars, month, week and year view.") |
3c474897 KY |
6937 | (license license:gpl3+))) |
6938 | ||
57b14665 MS |
6939 | (define-public gnome-todo |
6940 | (package | |
6941 | (name "gnome-todo") | |
9f3c6c88 | 6942 | (version "3.28.1") |
57b14665 MS |
6943 | (source (origin |
6944 | (method url-fetch) | |
6945 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6946 | (version-major+minor version) "/" | |
6947 | name "-" version ".tar.xz")) | |
6948 | (sha256 | |
6949 | (base32 | |
9f3c6c88 | 6950 | "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7")))) |
57b14665 MS |
6951 | (build-system meson-build-system) |
6952 | (arguments | |
6953 | '(#:glib-or-gtk? #t | |
6954 | #:phases (modify-phases %standard-phases | |
6955 | (add-after | |
6956 | 'install 'wrap-gnome-todo | |
6957 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
6958 | (let ((out (assoc-ref outputs "out")) | |
6959 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
6960 | (python-path (getenv "PYTHONPATH"))) | |
6961 | (wrap-program (string-append out "/bin/gnome-todo") | |
6962 | ;; XXX: gi plugins are broken. | |
6963 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212 | |
6964 | ;; For plugins. | |
6965 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
6966 | `("PYTHONPATH" ":" prefix (,python-path)))) | |
6967 | #t))))) | |
6968 | (native-inputs | |
6969 | `(("gettext" ,gettext-minimal) | |
6970 | ("gobject-introspection" ,gobject-introspection) | |
6971 | ("glib:bin" ,glib "bin") ; For glib-compile-resources | |
6972 | ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
6973 | ("pkg-config" ,pkg-config))) | |
6974 | (inputs | |
6975 | `(("rest" ,rest) ; For Todoist plugin | |
6976 | ("json-glib" ,json-glib) ; For Todoist plugin | |
b63c06f1 | 6977 | ("libedataserverui" ,evolution-data-server) |
57b14665 MS |
6978 | ("libical" ,libical) |
6979 | ("libpeas" ,libpeas) | |
6980 | ("python-pygobject" ,python-pygobject) | |
6981 | ("evolution-data-server" ,evolution-data-server) | |
14c297fd | 6982 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
57b14665 MS |
6983 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) |
6984 | (home-page "https://wiki.gnome.org/Apps/Todo") | |
6985 | (synopsis "GNOME's ToDo Application") | |
6986 | (description | |
6987 | "GNOME To Do is a simplistic personal task manager designed to perfectly | |
6988 | fit the GNOME desktop.") | |
6989 | (license license:gpl3+))) | |
6990 | ||
ab179eaf SB |
6991 | (define-public gnome-dictionary |
6992 | (package | |
6993 | (name "gnome-dictionary") | |
cf81ddef | 6994 | (version "3.26.1") |
ab179eaf SB |
6995 | (source (origin |
6996 | (method url-fetch) | |
6997 | (uri (string-append "mirror://gnome/sources/" name "/" | |
6998 | (version-major+minor version) "/" | |
6999 | name "-" version ".tar.xz")) | |
7000 | (sha256 | |
7001 | (base32 | |
cf81ddef LC |
7002 | "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n")))) |
7003 | (build-system meson-build-system) | |
2776b5d5 MB |
7004 | (arguments '(#:glib-or-gtk? #t |
7005 | #:phases (modify-phases %standard-phases | |
7006 | (add-after 'unpack 'patch-install-script | |
7007 | (lambda _ | |
7008 | ;; This script attempts to compile glib schemas | |
7009 | ;; and create an empty MIME database. We do | |
7010 | ;; that elsewhere, so prevent it from running. | |
7011 | (substitute* "build-aux/post-install.sh" | |
7012 | (("\\[ -z \"\\$DESTDIR\" \\]") "false")) | |
7013 | #t))))) | |
ab179eaf SB |
7014 | (native-inputs |
7015 | `(("glib:bin" ,glib "bin") | |
7016 | ("gobject-introspection" ,gobject-introspection) | |
7017 | ("intltool" ,intltool) | |
7018 | ("itstool" ,itstool) | |
7019 | ("pkg-config" ,pkg-config) | |
7020 | ("xmllint" ,libxml2))) | |
7021 | (inputs | |
7022 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
7023 | ("gtk+" ,gtk+))) | |
7024 | (home-page "https://wiki.gnome.org/Apps/Dictionary") | |
7025 | (synopsis "Look up words in dictionary sources") | |
7026 | (description | |
7027 | "GNOME Dictionary can look for the definition or translation of a word in | |
7028 | existing databases over the internet.") | |
7029 | (license license:gpl3+))) | |
7030 | ||
d13f3a03 | 7031 | (define-public gnome-tweaks |
9365ee1c | 7032 | (package |
d13f3a03 | 7033 | (name "gnome-tweaks") |
9d4d439b | 7034 | (version "3.30.2") |
9365ee1c JN |
7035 | (source (origin |
7036 | (method url-fetch) | |
d13f3a03 | 7037 | (uri (string-append "mirror://gnome/sources/gnome-tweaks/" |
9365ee1c | 7038 | (version-major+minor version) "/" |
d13f3a03 RW |
7039 | "gnome-tweaks-" version ".tar.xz")) |
7040 | (patches | |
7041 | (list (search-patch "gnome-tweaks-search-paths.patch"))) | |
9365ee1c JN |
7042 | (sha256 |
7043 | (base32 | |
9d4d439b | 7044 | "0j63siy1i5pl2g6di1r9vjn54m9ahh42wj20j6689pza2lamay1z")))) |
d13f3a03 | 7045 | (build-system meson-build-system) |
9365ee1c | 7046 | (arguments |
d13f3a03 RW |
7047 | `(#:glib-or-gtk? #t |
7048 | #:configure-flags '("-Dlocalstatedir=/tmp" | |
7049 | "-Dsysconfdir=/tmp") | |
9365ee1c | 7050 | #:imported-modules ((guix build python-build-system) |
d13f3a03 RW |
7051 | ,@%meson-build-system-modules) |
7052 | #:phases | |
7053 | (modify-phases %standard-phases | |
7054 | (add-after 'install 'wrap | |
7055 | (@@ (guix build python-build-system) wrap)) | |
7056 | (add-after 'wrap 'wrap-gi-typelib | |
7057 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
7058 | (let ((out (assoc-ref outputs "out")) | |
7059 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
7060 | (wrap-program (string-append out "/bin/gnome-tweaks") | |
7061 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
7062 | #t))))) | |
9365ee1c | 7063 | (native-inputs |
c7fc414e RH |
7064 | `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache |
7065 | ("intltool" ,intltool) | |
9365ee1c JN |
7066 | ("pkg-config" ,pkg-config))) |
7067 | (inputs | |
c7fc414e RH |
7068 | `(("gnome-desktop" ,gnome-desktop) |
7069 | ("gtk+" ,gtk+) | |
9365ee1c JN |
7070 | ("gobject-introspection" ,gobject-introspection) |
7071 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
c7fc414e RH |
7072 | ("libnotify" ,libnotify) |
7073 | ("libsoup" ,libsoup) | |
7074 | ("nautilus" ,nautilus) | |
7075 | ("python" ,python) | |
7076 | ("python-pygobject" ,python-pygobject))) | |
9365ee1c | 7077 | (synopsis "Customize advanced GNOME 3 options") |
d13f3a03 | 7078 | (home-page "https://wiki.gnome.org/Apps/Tweaks") |
9365ee1c | 7079 | (description |
d13f3a03 | 7080 | "GNOME Tweaks allows adjusting advanced configuration settings in |
9365ee1c JN |
7081 | GNOME 3. This includes things like the fonts used in user interface elements, |
7082 | alternative user interface themes, changes in window management behavior, | |
7083 | GNOME Shell appearance and extension, etc.") | |
7084 | (license license:gpl3+))) | |
813f814a | 7085 | |
d13f3a03 RW |
7086 | ;; This package has been renamed by upstream. |
7087 | (define-public gnome-tweak-tool | |
7088 | (deprecated-package "gnome-tweak-tool" gnome-tweaks)) | |
7089 | ||
32ac717c DT |
7090 | (define-public gnome-shell-extensions |
7091 | (package | |
7092 | (name "gnome-shell-extensions") | |
2aabc647 | 7093 | (version "3.30.1") |
32ac717c DT |
7094 | (source (origin |
7095 | (method url-fetch) | |
7096 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7097 | (version-major+minor version) "/" | |
7098 | name "-" version ".tar.xz")) | |
7099 | (sha256 | |
7100 | (base32 | |
2aabc647 | 7101 | "1grxn4f5x754r172wmnf0h0xpy69afmj359zsj1rwgqlzw4i4c5p")))) |
100f625b | 7102 | (build-system meson-build-system) |
32ac717c | 7103 | (arguments |
100f625b | 7104 | '(#:configure-flags '("-Dextension_set=all"))) |
32ac717c DT |
7105 | (native-inputs |
7106 | `(("intltool" ,intltool) | |
7107 | ("pkg-config" ,pkg-config))) | |
7108 | (propagated-inputs | |
7109 | `(("glib" ,glib) | |
7110 | ("glib" ,glib "bin"))) | |
7111 | (synopsis "Extensions for GNOME Shell") | |
7112 | (description "GNOME Shell extensions modify and extend GNOME Shell | |
7113 | functionality and behavior.") | |
7114 | (home-page "https://extensions.gnome.org/") | |
7115 | (license license:gpl3+))) | |
7116 | ||
813f814a DT |
7117 | (define-public arc-theme |
7118 | (package | |
7119 | (name "arc-theme") | |
37781323 | 7120 | (version "20190917") |
813f814a | 7121 | (source (origin |
a18f8eaf BH |
7122 | (method git-fetch) |
7123 | (uri (git-reference | |
7124 | (url "https://github.com/NicoHood/arc-theme.git") | |
7125 | (commit version))) | |
7126 | (file-name (git-file-name name version)) | |
813f814a DT |
7127 | (sha256 |
7128 | (base32 | |
37781323 | 7129 | "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa")))) |
813f814a | 7130 | (build-system gnu-build-system) |
d88884fa EF |
7131 | (arguments |
7132 | '(#:phases | |
7133 | (modify-phases %standard-phases | |
7134 | ;; autogen.sh calls configure at the end of the script. | |
7135 | (replace 'bootstrap | |
7136 | (lambda _ (invoke "autoreconf" "-vfi")))))) | |
813f814a DT |
7137 | (native-inputs |
7138 | `(("autoconf" ,autoconf) | |
7139 | ("automake" ,automake) | |
a18f8eaf BH |
7140 | ("glib" ,glib "bin") ; for glib-compile-resources |
7141 | ("gnome-shell" ,gnome-shell) | |
7142 | ("gtk+" ,gtk+) | |
7143 | ("inkscape" ,inkscape) | |
7144 | ("optipng" ,optipng) | |
7145 | ("pkg-config" ,pkg-config) | |
7146 | ("sassc" ,sassc))) | |
813f814a DT |
7147 | (synopsis "A flat GTK+ theme with transparent elements") |
7148 | (description "Arc is a flat theme with transparent elements for GTK 3, GTK | |
7149 | 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments | |
7150 | like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.") | |
7151 | (home-page "https://github.com/horst3180/arc-theme") | |
7152 | ;; No "or later" language found. | |
a18f8eaf | 7153 | (license license:gpl3+))) |
9987c57c | 7154 | |
d935e6a1 | 7155 | (define-public faba-icon-theme |
9987c57c | 7156 | (package |
d935e6a1 | 7157 | (name "faba-icon-theme") |
2eee7ee3 | 7158 | (version "4.3") |
d935e6a1 BT |
7159 | (source |
7160 | (origin | |
7161 | (method url-fetch) | |
7162 | (uri (string-append "https://github.com/moka-project/" | |
7163 | name "/archive/v" version ".tar.gz")) | |
7164 | (file-name (string-append name "-" version ".tar.gz")) | |
7165 | (sha256 | |
7166 | (base32 | |
2eee7ee3 | 7167 | "18ln06xl60qzvzz61zq9q72hdbfgjsza3flph8i2asyzx3dffz68")))) |
f6a9b345 | 7168 | (build-system meson-build-system) |
9987c57c | 7169 | (arguments |
82da291a | 7170 | `(#:phases |
9987c57c | 7171 | (modify-phases %standard-phases |
82da291a | 7172 | (add-before 'configure 'disable-post-install |
9987c57c | 7173 | (lambda _ |
82da291a JL |
7174 | (substitute* "meson.build" |
7175 | (("meson.add_install_script.*") ""))))))) | |
9987c57c DT |
7176 | (native-inputs |
7177 | `(("autoconf" ,autoconf) | |
7178 | ("automake" ,automake))) | |
d935e6a1 BT |
7179 | (synopsis "Faba icon theme") |
7180 | (description | |
7181 | "Faba is a minimal icon set used as a basis for other themes such as | |
7182 | Moka") | |
7183 | (home-page "https://snwh.org/moka") | |
7184 | (license (list license:lgpl3+ | |
7185 | license:cc-by-sa4.0)))) | |
7186 | ||
9987c57c DT |
7187 | (define-public moka-icon-theme |
7188 | (package | |
8b0e4177 | 7189 | (inherit faba-icon-theme) |
9987c57c | 7190 | (name "moka-icon-theme") |
105a3625 | 7191 | (version "5.4.0") |
9987c57c DT |
7192 | (source (origin |
7193 | (method url-fetch) | |
7194 | (uri (string-append "https://github.com/moka-project" | |
7195 | "/moka-icon-theme/archive/v" | |
7196 | version ".tar.gz")) | |
7197 | (file-name (string-append name "-" version ".tar.gz")) | |
7198 | (sha256 | |
7199 | (base32 | |
105a3625 | 7200 | "1nbwdjj268hxv9lfagd9aylily9f0hhallp841v0i3imljp84bmk")))) |
550281fb BT |
7201 | (propagated-inputs |
7202 | ;; Moka is based on Faba by using it as a fallback icon set instead of | |
7203 | ;; bundling it, so we need to add it as a propagated input. | |
7204 | `(("faba-icon-theme" ,faba-icon-theme))) | |
9987c57c DT |
7205 | (synopsis "Moka icon theme") |
7206 | (description "Moka is a stylized desktop icon set, designed to be clear, | |
7207 | simple and consistent.") | |
fedde43b BT |
7208 | (license (list license:gpl3+ |
7209 | license:cc-by-sa4.0)))) | |
6fd8f8d6 DT |
7210 | |
7211 | (define-public arc-icon-theme | |
7212 | (package | |
7213 | (name "arc-icon-theme") | |
c4180240 | 7214 | (version "20161122") |
6fd8f8d6 DT |
7215 | (source (origin |
7216 | (method url-fetch) | |
7217 | (uri (string-append "https://github.com/horst3180/arc-icon-theme" | |
7218 | "/archive/" version ".tar.gz")) | |
7219 | (file-name (string-append name "-" version ".tar.gz")) | |
7220 | (sha256 | |
7221 | (base32 | |
c4180240 | 7222 | "1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b")))) |
6fd8f8d6 | 7223 | (build-system gnu-build-system) |
9e1ede95 JL |
7224 | (arguments |
7225 | `(#:phases | |
7226 | (modify-phases %standard-phases | |
7227 | (add-after 'unpack 'disable-configure-during-bootstrap | |
7228 | (lambda _ | |
7229 | (substitute* "autogen.sh" | |
7230 | (("^\"\\$srcdir/configure\".*") "")) | |
7231 | #t))))) | |
6fd8f8d6 DT |
7232 | (native-inputs |
7233 | `(("autoconf" ,autoconf) | |
7234 | ("automake" ,automake))) | |
7235 | ;; When Arc is missing an icon, it looks in the Moka icon theme for it. | |
7236 | (propagated-inputs | |
7237 | `(("moka-icon-theme" ,moka-icon-theme))) | |
7238 | (synopsis "Arc icon theme") | |
7239 | (description "The Arc icon theme provides a set of icons matching the | |
7240 | style of the Arc GTK theme. Icons missing from the Arc theme are provided by | |
7241 | the Moka icon theme.") | |
7242 | (home-page "https://github.com/horst3180/arc-icon-theme") | |
7243 | (license license:gpl3+))) | |
6064a4e8 LF |
7244 | |
7245 | (define-public folks | |
7246 | (package | |
7247 | (name "folks") | |
d23495fa | 7248 | (version "0.11.4") |
6064a4e8 LF |
7249 | (source (origin |
7250 | (method url-fetch) | |
7251 | (uri (string-append | |
e5f4796e | 7252 | "mirror://gnome/sources/folks/" |
6064a4e8 | 7253 | (version-major+minor version) "/" |
e5f4796e | 7254 | "folks-" version ".tar.xz")) |
6064a4e8 LF |
7255 | (sha256 |
7256 | (base32 | |
d23495fa | 7257 | "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57")))) |
6064a4e8 LF |
7258 | (build-system glib-or-gtk-build-system) |
7259 | (inputs | |
7260 | `(("bdb" ,bdb) | |
7261 | ("dbus-glib" ,dbus-glib) | |
7262 | ("evolution-data-server" ,evolution-data-server) | |
7263 | ("glib" ,glib) | |
7264 | ("libgee" ,libgee) | |
7265 | ("telepathy-glib" ,telepathy-glib))) | |
7266 | (native-inputs | |
7267 | `(("gobject-introspection" ,gobject-introspection) | |
7268 | ("intltool" ,intltool) | |
7269 | ("pkg-config" ,pkg-config) | |
7270 | ("vala" ,vala))) | |
7271 | (synopsis "Library to aggregate data about people") | |
7272 | (description "Libfolks is a library that aggregates information about people | |
7273 | from multiple sources (e.g., Telepathy connection managers for IM contacts, | |
7274 | Evolution Data Server for local contacts, libsocialweb for web service contacts, | |
7275 | etc.) to create metacontacts. It's written in Vala, which generates C code when | |
7276 | compiled.") | |
7277 | (home-page "https://wiki.gnome.org/Projects/Folks") | |
7278 | (license license:lgpl2.1+))) | |
01ea778f LF |
7279 | |
7280 | (define-public gfbgraph | |
7281 | (package | |
7282 | (name "gfbgraph") | |
7283 | (version "0.2.3") | |
7284 | (source (origin | |
7285 | (method url-fetch) | |
7286 | (uri (string-append | |
237d4cf7 | 7287 | "mirror://gnome/sources/gfbgraph/" |
01ea778f | 7288 | (version-major+minor version) "/" |
237d4cf7 | 7289 | "gfbgraph-" version ".tar.xz")) |
01ea778f LF |
7290 | (sha256 |
7291 | (base32 | |
7292 | "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs")))) | |
7293 | (build-system glib-or-gtk-build-system) | |
7294 | (arguments | |
7295 | `(#:tests? #f ; Tests appear to require the network. | |
7296 | ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input. | |
7297 | #:configure-flags '("--disable-gtk-doc" | |
7298 | "--disable-static" | |
7299 | "--enable-introspection"))) | |
7300 | (native-inputs | |
7301 | `(("pkg-config" ,pkg-config) | |
7302 | ("gobject-introspection" ,gobject-introspection))) | |
7303 | (inputs | |
7304 | `(("json-glib" ,json-glib) | |
14c297fd | 7305 | ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") |
01ea778f LF |
7306 | ("rest" ,rest))) |
7307 | (synopsis "GLib/GObject wrapper for the Facebook API") | |
7308 | (description "This library allows you to use the Facebook API from | |
7309 | GLib/GObject code.") | |
7310 | (home-page "https://wiki.gnome.org/Projects/GFBGraph") | |
7311 | (license license:lgpl2.1+))) | |
3920868c | 7312 | |
7313 | (define-public libgnomekbd | |
7314 | (package | |
7315 | (name "libgnomekbd") | |
70f2b0f9 | 7316 | (version "3.26.1") |
3920868c | 7317 | (source (origin |
7318 | (method url-fetch) | |
d47fa82d | 7319 | (uri (string-append "mirror://gnome/sources/libgnomekbd/" |
3920868c | 7320 | (version-major+minor version) "/" |
d47fa82d | 7321 | "libgnomekbd-" version ".tar.xz")) |
3920868c | 7322 | (sha256 |
7323 | (base32 | |
70f2b0f9 | 7324 | "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp")))) |
3920868c | 7325 | (build-system gnu-build-system) |
7326 | (native-inputs | |
7327 | `(("pkg-config" ,pkg-config) | |
7328 | ("glib" ,glib "bin") | |
7329 | ("intltool" ,intltool))) | |
7330 | (propagated-inputs | |
7331 | ;; Referred to in .h files and .pc. | |
7332 | `(("glib" ,glib) | |
7333 | ("gtk+" ,gtk+) | |
7334 | ("libxklavier" ,libxklavier))) | |
7335 | (home-page "https://www.gnome.org") | |
7336 | (synopsis "GNOME keyboard configuration library") | |
7337 | (description | |
7338 | "Libgnomekbd is a keyboard configuration library for the GNOME desktop | |
7339 | environment, which can notably display keyboard layouts.") | |
7340 | (license license:lgpl2.0+))) | |
85327d0d | 7341 | |
7342 | ;;; This package is no longer maintained: | |
7343 | ;;; https://wiki.gnome.org/Attic/LibUnique | |
7344 | ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged. | |
7345 | ;;; Applications should use the GtkApplication class provided by GTK+ 3.0." | |
7346 | (define-public libunique | |
7347 | (package | |
7348 | (name "libunique") | |
7349 | (version "3.0.2") | |
7350 | (source (origin | |
7351 | (method url-fetch) | |
7352 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7353 | (version-major+minor version) "/" | |
7354 | name "-" version ".tar.xz")) | |
7355 | (sha256 | |
7356 | (base32 | |
7357 | "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58")))) | |
7358 | (build-system glib-or-gtk-build-system) | |
7359 | (arguments | |
7360 | `(#:configure-flags '("--disable-static" | |
7361 | "--disable-dbus" ; use gdbus | |
7362 | "--enable-introspection"))) | |
7363 | (native-inputs | |
7364 | `(("pkg-config" ,pkg-config) | |
7365 | ("gobject-introspection" ,gobject-introspection) | |
7366 | ("glib:bin" ,glib "bin") | |
7367 | ("gtk-doc" ,gtk-doc))) | |
7368 | (propagated-inputs | |
7369 | ;; Referred to in .h files and .pc. | |
7370 | `(("gtk+" ,gtk+))) | |
7371 | (home-page "https://wiki.gnome.org/Attic/LibUnique") | |
7372 | (synopsis "Library for writing single instance applications") | |
7373 | (description | |
7374 | "Libunique is a library for writing single instance applications. If you | |
7375 | launch a single instance application twice, the second instance will either just | |
7376 | quit or will send a message to the running instance. Libunique makes it easy to | |
7377 | write this kind of application, by providing a base class, taking care of all | |
7378 | the IPC machinery needed to send messages to a running instance, and also | |
7379 | handling the startup notification side.") | |
7380 | (license license:lgpl2.1+))) | |
54021cd8 RS |
7381 | |
7382 | (define-public gnome-calculator | |
7383 | (package | |
7384 | (name "gnome-calculator") | |
07ace641 | 7385 | (version "3.32.2") |
54021cd8 RS |
7386 | (source |
7387 | (origin | |
7388 | (method url-fetch) | |
7389 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7390 | (version-major+minor version) "/" | |
7391 | name "-" version ".tar.xz")) | |
7392 | (sha256 | |
7393 | (base32 | |
07ace641 | 7394 | "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41")))) |
2d475910 RW |
7395 | (build-system meson-build-system) |
7396 | (arguments '(#:glib-or-gtk? #t)) | |
54021cd8 RS |
7397 | (native-inputs |
7398 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. | |
2d475910 | 7399 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache |
54021cd8 RS |
7400 | ("intltool" ,intltool) |
7401 | ("itstool" ,itstool) | |
2d475910 | 7402 | ("vala" ,vala) |
54021cd8 RS |
7403 | ("pkg-config" ,pkg-config))) |
7404 | (inputs | |
112e9083 | 7405 | `(("glib" ,glib) |
07ace641 | 7406 | ("gtksourceview" ,gtksourceview) |
54021cd8 | 7407 | ("libsoup" ,libsoup) |
112e9083 | 7408 | ("libxml2" ,libxml2) |
2c2da7ec | 7409 | ("mpc" ,mpc) |
54021cd8 RS |
7410 | ("mpfr" ,mpfr))) |
7411 | (home-page "https://wiki.gnome.org/Apps/Calculator") | |
7412 | (synopsis "Desktop calculator") | |
7413 | (description | |
7414 | "Calculator is an application that solves mathematical equations and | |
7415 | is suitable as a default application in a Desktop environment.") | |
7416 | (license license:gpl3))) | |
0bd69759 RS |
7417 | |
7418 | (define-public xpad | |
7419 | (package | |
7420 | (name "xpad") | |
c85626bb | 7421 | (version "5.1.0") |
0bd69759 RS |
7422 | (source |
7423 | (origin | |
7424 | (method url-fetch) | |
08fda9c6 R |
7425 | (uri (string-append "https://launchpad.net/xpad/trunk/" |
7426 | version "/+download/" | |
0bd69759 RS |
7427 | name "-" version ".tar.bz2")) |
7428 | (sha256 | |
7429 | (base32 | |
c85626bb | 7430 | "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3")))) |
0bd69759 RS |
7431 | (build-system gnu-build-system) |
7432 | (native-inputs | |
08fda9c6 R |
7433 | `(("autoconf" ,autoconf) |
7434 | ("automake" ,automake) | |
7435 | ("gtk+:bin" ,gtk+ "bin") | |
7436 | ("intltool" ,intltool) | |
0bd69759 RS |
7437 | ("pkg-config" ,pkg-config))) |
7438 | (inputs | |
c72647fb | 7439 | `(("gtksourceview" ,gtksourceview-3) |
0bd69759 RS |
7440 | ("libsm" ,libsm))) |
7441 | (home-page "https://wiki.gnome.org/Apps/Xpad") | |
7442 | (synopsis "Virtual sticky note") | |
7443 | (description | |
7444 | "Xpad is a sticky note that strives to be simple, fault tolerant, | |
7445 | and customizable. Xpad consists of independent pad windows, each is | |
7446 | basically a text box in which notes can be written.") | |
7447 | (license license:gpl3+))) | |
3ad7dce1 RS |
7448 | |
7449 | (define-public gucharmap | |
c60063ea RW |
7450 | (let ((unicode-files |
7451 | '(("Blocks.txt" | |
1f8b5515 | 7452 | "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1") |
c60063ea | 7453 | ("DerivedAge.txt" |
1f8b5515 | 7454 | "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6") |
c60063ea | 7455 | ("NamesList.txt" |
1f8b5515 | 7456 | "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61") |
c60063ea | 7457 | ("Scripts.txt" |
1f8b5515 | 7458 | "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx") |
c60063ea | 7459 | ("UnicodeData.txt" |
1f8b5515 | 7460 | "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap") |
c60063ea | 7461 | ("Unihan.zip" |
1f8b5515 | 7462 | "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf")))) |
c60063ea RW |
7463 | (package |
7464 | (name "gucharmap") | |
1f8b5515 | 7465 | (version "12.0.1") |
c60063ea RW |
7466 | (source |
7467 | (origin | |
7468 | (method url-fetch) | |
7469 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7470 | (version-major+minor version) "/" | |
7471 | name "-" version ".tar.xz")) | |
7472 | (sha256 | |
7473 | (base32 | |
1f8b5515 | 7474 | "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir")))) |
c60063ea RW |
7475 | (build-system glib-or-gtk-build-system) |
7476 | (arguments | |
7477 | `(#:modules ((ice-9 match) | |
7478 | (guix build glib-or-gtk-build-system) | |
7479 | (guix build utils)) | |
7480 | #:configure-flags | |
7481 | (list "--with-unicode-data=../unicode-data") | |
7482 | #:phases | |
7483 | (modify-phases %standard-phases | |
7484 | (add-after 'unpack 'prepare-unicode-data | |
7485 | (lambda* (#:key inputs #:allow-other-keys) | |
7486 | (mkdir-p "../unicode-data") | |
7487 | (with-directory-excursion "../unicode-data" | |
7488 | (for-each (match-lambda | |
7489 | ((file _) | |
7490 | (install-file (assoc-ref inputs file) "."))) | |
7491 | ',unicode-files)) | |
7492 | #t))))) | |
7493 | (native-inputs | |
7494 | `(("desktop-file-utils" ,desktop-file-utils) | |
7495 | ("glib:bin" ,glib "bin") ; for glib-compile-resources. | |
7496 | ("gobject-introspection" ,gobject-introspection) | |
7497 | ("intltool" ,intltool) | |
7498 | ("itstool" ,itstool) | |
7499 | ("pkg-config" ,pkg-config) | |
7500 | ,@(map (match-lambda | |
7501 | ((file hash) | |
7502 | `(,file | |
7503 | ,(origin | |
7504 | (method url-fetch) | |
7505 | (uri (string-append | |
1f8b5515 | 7506 | "http://www.unicode.org/Public/12.0.0/ucd/" |
c60063ea RW |
7507 | file)) |
7508 | (sha256 (base32 hash)))))) | |
7509 | unicode-files) | |
7510 | ("unzip" ,unzip))) | |
7511 | (inputs | |
7512 | `(("gtk+" ,gtk+) | |
7513 | ("xmllint" ,libxml2))) | |
7514 | (home-page "https://wiki.gnome.org/Apps/Gucharmap") | |
7515 | (synopsis "Unicode character picker and font browser") | |
7516 | (description | |
7517 | "This program allows you to browse through all the available Unicode | |
3ad7dce1 RS |
7518 | characters and categories for the installed fonts, and to examine their |
7519 | detailed properties. It is an easy way to find the character you might | |
7520 | only know by its Unicode name or code point.") | |
c60063ea | 7521 | (license license:gpl3+)))) |
04ce840a RS |
7522 | |
7523 | (define-public bluefish | |
7524 | (package | |
7525 | (name "bluefish") | |
ea8afaf3 | 7526 | (version "2.2.10") |
04ce840a RS |
7527 | (source |
7528 | (origin | |
7529 | (method url-fetch) | |
7530 | (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/" | |
7531 | name "-" version ".tar.gz")) | |
7532 | (sha256 | |
7533 | (base32 | |
ea8afaf3 | 7534 | "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4")))) |
04ce840a RS |
7535 | (build-system gnu-build-system) |
7536 | (native-inputs | |
7537 | `(("desktop-file-utils" ,desktop-file-utils) | |
7538 | ("intltool" ,intltool) | |
7539 | ("pkg-config" ,pkg-config))) | |
7540 | (inputs | |
7541 | `(("enchant" ,enchant) | |
7542 | ("gtk+" ,gtk+) | |
7543 | ("python" ,python-2) | |
7544 | ("xmllint" ,libxml2) | |
7545 | ("gucharmap" ,gucharmap))) | |
7546 | (home-page "http://bluefish.openoffice.nl") | |
7547 | (synopsis "Web development studio") | |
7548 | (description | |
7549 | "Bluefish is an editor targeted towards programmers and web developers, | |
7550 | with many options to write web sites, scripts and other code. | |
7551 | Bluefish supports many programming and markup languages.") | |
7552 | (license license:gpl3+))) | |
1f6a73ee RS |
7553 | |
7554 | (define-public gnome-system-monitor | |
7555 | (package | |
7556 | (name "gnome-system-monitor") | |
85fb3df3 | 7557 | (version "3.30.0") |
1f6a73ee RS |
7558 | (source |
7559 | (origin | |
7560 | (method url-fetch) | |
7561 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7562 | (version-major+minor version) "/" | |
7563 | name "-" version ".tar.xz")) | |
7564 | (sha256 | |
7565 | (base32 | |
85fb3df3 RW |
7566 | "0g0y565bjs6bdszrnxsz1f7hcm1x59i3mfvplysirh7nz3hpz888")))) |
7567 | (build-system meson-build-system) | |
7568 | (arguments | |
7569 | '(#:glib-or-gtk? #t | |
7570 | #:configure-flags '("-Dsystemd=false"))) | |
1f6a73ee RS |
7571 | (native-inputs |
7572 | `(("glib:bin" ,glib "bin") ; for glib-mkenums. | |
85fb3df3 | 7573 | ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache |
1f6a73ee RS |
7574 | ("intltool" ,intltool) |
7575 | ("itstool" ,itstool) | |
7576 | ("libgtop" ,libgtop) | |
4985d9aa | 7577 | ("polkit" ,polkit) |
1f6a73ee RS |
7578 | ("pkg-config" ,pkg-config))) |
7579 | (inputs | |
7580 | `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files. | |
7581 | ("gtk+" ,gtk+) | |
7582 | ("gtkmm" ,gtkmm) | |
7583 | ("librsvg" ,librsvg) | |
4985d9aa RW |
7584 | ("libxml2" ,libxml2) |
7585 | ("libwnck" ,libwnck))) | |
1f6a73ee RS |
7586 | (home-page "https://wiki.gnome.org/Apps/SystemMonitor") |
7587 | (synopsis "Process viewer and system resource monitor for GNOME") | |
7588 | (description | |
7589 | "GNOME System Monitor is a GNOME process viewer and system monitor with | |
7590 | an attractive, easy-to-use interface. It has features, such as a tree view | |
7591 | for process dependencies, icons for processes, the ability to hide processes, | |
7592 | graphical time histories of CPU/memory/swap usage and the ability to | |
7593 | kill/reinice processes.") | |
7594 | (license license:gpl2+))) | |
3e00ac47 SB |
7595 | |
7596 | (define-public python-pyatspi | |
7597 | (package | |
7598 | (name "python-pyatspi") | |
84548bd7 | 7599 | (version "2.26.0") |
3e00ac47 SB |
7600 | (source (origin |
7601 | (method url-fetch) | |
7602 | (uri (string-append | |
7603 | "mirror://gnome/sources/pyatspi/" | |
7604 | (version-major+minor version) | |
7605 | "/pyatspi-" version ".tar.xz")) | |
7606 | (sha256 | |
7607 | (base32 | |
b95af3f6 JL |
7608 | "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6")) |
7609 | ;; Patch from upstream, fixed in newer versions. | |
7610 | (patches (search-patches "python-pyatspi-python-37.patch")))) | |
3e00ac47 | 7611 | (build-system gnu-build-system) |
b95af3f6 JL |
7612 | (arguments |
7613 | `(#:phases | |
7614 | (modify-phases %standard-phases | |
7615 | (add-before 'build 'fix-atk-load | |
7616 | (lambda _ | |
7617 | (substitute* "pyatspi/__init__.py" | |
7618 | (("from gi.repository import Atspi") | |
7619 | "gi.require_version('Gtk', '3.0') | |
7620 | from gi.repository import Gtk | |
7621 | from gi.repository import Atspi")) | |
7622 | #t))))) | |
3e00ac47 SB |
7623 | (native-inputs |
7624 | `(("pkg-config" ,pkg-config))) | |
7625 | (inputs | |
7626 | `(("python" ,python) | |
7627 | ("python-pygobject" ,python-pygobject))) | |
7628 | (synopsis "Python client bindings for D-Bus AT-SPI") | |
7629 | (home-page "https://wiki.linuxfoundation.org/accessibility\ | |
7630 | /atk/at-spi/at-spi_on_d-bus") | |
7631 | (description | |
7632 | "This package includes a python client library for the AT-SPI D-Bus | |
7633 | accessibility infrastructure.") | |
7634 | (license license:lgpl2.0) | |
7635 | (properties '((upstream-name . "pyatspi"))))) | |
53201c0d SB |
7636 | |
7637 | (define-public orca | |
7638 | (package | |
7639 | (name "orca") | |
ef9b7d4c | 7640 | (version "3.30.2") |
53201c0d SB |
7641 | (source (origin |
7642 | (method url-fetch) | |
7643 | (uri (string-append | |
7644 | "mirror://gnome/sources/" name "/" | |
7645 | (version-major+minor version) "/" | |
7646 | name "-" version ".tar.xz")) | |
7647 | (sha256 | |
7648 | (base32 | |
ef9b7d4c | 7649 | "17asibc46i5gr2fw04jvvdi85zzmxwlnhyq7r6cr3m5prrdr8a53")))) |
53201c0d SB |
7650 | (build-system glib-or-gtk-build-system) |
7651 | (arguments | |
7652 | '(#:phases | |
7653 | (modify-phases %standard-phases | |
7654 | (add-before 'configure 'qualify-xkbcomp | |
7655 | (lambda* (#:key inputs #:allow-other-keys) | |
7656 | (let ((xkbcomp (string-append | |
7657 | (assoc-ref inputs "xkbcomp") "/bin/xkbcomp"))) | |
7658 | (substitute* "src/orca/orca.py" | |
7659 | (("'xkbcomp'") (format #f "'~a'" xkbcomp)))) | |
7660 | #t)) | |
7661 | (add-after 'install 'wrap-orca | |
7662 | (lambda* (#:key outputs #:allow-other-keys) | |
7663 | (let* ((out (assoc-ref outputs "out")) | |
7664 | (prog (string-append out "/bin/orca"))) | |
7665 | (wrap-program prog | |
7666 | `("GI_TYPELIB_PATH" ":" prefix | |
7667 | (,(getenv "GI_TYPELIB_PATH"))) | |
7668 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix | |
7669 | (,(getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7670 | `("PYTHONPATH" ":" prefix | |
7671 | (,(getenv "PYTHONPATH"))))) | |
7672 | #t))))) | |
7673 | (native-inputs | |
7674 | `(("intltool" ,intltool) | |
7675 | ("itstool" ,itstool) | |
7676 | ("pkg-config" ,pkg-config) | |
7677 | ("xmllint" ,libxml2))) | |
7678 | (inputs | |
7679 | `(("at-spi2-atk" ,at-spi2-atk) | |
7680 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
7681 | ("gstreamer" ,gstreamer) | |
7682 | ("gst-plugins-base" ,gst-plugins-base) | |
7683 | ("gst-plugins-good" ,gst-plugins-good) | |
7684 | ("gtk+" ,gtk+) | |
7685 | ("python" ,python) | |
7686 | ("python-pygobject" ,python-pygobject) | |
7687 | ("python-pyatspi" ,python-pyatspi) | |
7688 | ("python-speechd" ,speech-dispatcher) | |
7689 | ("xkbcomp" ,xkbcomp))) | |
7690 | (synopsis | |
7691 | "Screen reader for individuals who are blind or visually impaired") | |
7692 | (home-page "https://wiki.gnome.org/Projects/Orca") | |
7693 | (description | |
7694 | "Orca is a screen reader that provides access to the graphical desktop | |
7695 | via speech and refreshable braille. Orca works with applications and toolkits | |
7696 | that support the Assistive Technology Service Provider Interface (AT-SPI).") | |
7697 | (license license:lgpl2.1+))) | |
411ba511 LC |
7698 | |
7699 | (define-public gspell | |
7700 | (package | |
7701 | (name "gspell") | |
7a6bbe9b | 7702 | (version "1.8.2") |
411ba511 LC |
7703 | (source (origin |
7704 | (method url-fetch) | |
7705 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7706 | (version-major+minor version) "/" | |
7707 | name "-" version ".tar.xz")) | |
7708 | (sha256 | |
7709 | (base32 | |
7a6bbe9b | 7710 | "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv")) |
411ba511 LC |
7711 | (patches (search-patches "gspell-dash-test.patch")))) |
7712 | (build-system glib-or-gtk-build-system) | |
7713 | (arguments | |
7714 | '(#:phases | |
7715 | (modify-phases %standard-phases | |
7716 | (add-before 'check 'pre-check | |
7717 | (lambda* (#:key inputs #:allow-other-keys) | |
7718 | ;; Tests require a running X server. | |
7719 | (system "Xvfb :1 &") | |
7720 | (setenv "DISPLAY" ":1") | |
7721 | ||
7722 | ;; For the missing /etc/machine-id. | |
7723 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
7724 | ||
7725 | ;; Allow Enchant and its Aspell backend to find the en_US | |
7726 | ;; dictionary. | |
7727 | (setenv "ASPELL_DICT_DIR" | |
7728 | (string-append (assoc-ref inputs "aspell-dict-en") | |
7729 | "/lib/aspell")) | |
7730 | #t))))) | |
7731 | (inputs | |
eccd35be | 7732 | `(("gtk+" ,gtk+) |
a801ae4c TGR |
7733 | ("glib" ,glib) |
7734 | ("iso-codes" ,iso-codes))) | |
411ba511 LC |
7735 | (native-inputs |
7736 | `(("glib" ,glib "bin") | |
7737 | ("pkg-config" ,pkg-config) | |
7738 | ("xmllint" ,libxml2) | |
7739 | ||
7740 | ;; For tests. | |
a801ae4c TGR |
7741 | ("aspell-dict-en" ,aspell-dict-en) |
7742 | ("xorg-server" ,xorg-server))) | |
eccd35be | 7743 | (propagated-inputs |
9b1bb757 | 7744 | `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc |
411ba511 LC |
7745 | (home-page "https://wiki.gnome.org/Projects/gspell") |
7746 | (synopsis "GNOME's alternative spell checker") | |
7747 | (description | |
7748 | "gspell provides a flexible API to add spell-checking to a GTK+ | |
7749 | application. It provides a GObject API, spell-checking to text entries and | |
7750 | text views, and buttons to choose the language.") | |
7751 | (license license:gpl2+))) | |
d1d739fa CM |
7752 | |
7753 | (define-public gnome-planner | |
7754 | (package | |
7755 | (name "gnome-planner") | |
7756 | (version "0.14.6") | |
7757 | (source (origin | |
7758 | (method url-fetch) | |
7759 | (uri (string-append "mirror://gnome/sources/planner/" | |
7760 | (version-major+minor version) "/planner-" | |
7761 | version ".tar.xz")) | |
7762 | (sha256 | |
7763 | (base32 | |
7764 | "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k")))) | |
7765 | (build-system glib-or-gtk-build-system) | |
7766 | (arguments | |
7767 | ;; Disable the Python bindings because the Planner program functions | |
7768 | ;; without them, and (as of 2017-06-13) we have not packaged all of | |
7769 | ;; packages that are necessary for building the Python bindings. | |
20b7b75c EF |
7770 | `(#:configure-flags |
7771 | (list "--disable-python" | |
7772 | ,@(if (string=? "aarch64-linux" (%current-system)) | |
7773 | '("--build=aarch64-unknown-linux-gnu") | |
7774 | '())))) | |
d1d739fa CM |
7775 | (inputs |
7776 | `(("libgnomecanvas" ,libgnomecanvas) | |
7777 | ("libgnomeui" ,libgnomeui) | |
7778 | ("libglade" ,libglade) | |
7779 | ("gnome-vfs" ,gnome-vfs) | |
7780 | ("gconf" ,gconf) | |
7781 | ("libxml2" ,libxml2) | |
7782 | ("libxslt" ,libxslt) | |
7783 | ("gtk+" ,gtk+) | |
7784 | ("glib" ,glib))) | |
7785 | (native-inputs | |
7786 | `(("intltool" ,intltool) | |
7787 | ("scrollkeeper" ,scrollkeeper) | |
7788 | ("pkg-config" ,pkg-config))) | |
7789 | (home-page "https://wiki.gnome.org/Apps/Planner") | |
7790 | (synopsis "Project management software for the GNOME desktop") | |
7791 | (description | |
7792 | "GNOME Planner is a project management tool based on the Work Breakdown | |
7793 | Structure (WBS). Its goal is to enable you to easily plan projects. Based on | |
7794 | the resources, tasks, and constraints that you define, Planner generates | |
7795 | various views into a project. For example, Planner can show a Gantt chart of | |
7796 | the project. It can show a detailed summary of tasks including their | |
7797 | duration, cost, and current progress. It can also show a report of resource | |
7798 | utilization that highlights under-utilized and over-utilized resources. These | |
7799 | views can be printed as PDF or PostScript files, or exported to HTML.") | |
4b926cb6 | 7800 | (license license:gpl2+))) |
64fce637 RS |
7801 | |
7802 | (define-public lollypop | |
7803 | (package | |
7804 | (name "lollypop") | |
ca32627a | 7805 | (version "1.2.7") |
64fce637 RS |
7806 | (source |
7807 | (origin | |
7808 | (method url-fetch) | |
b98eace8 | 7809 | (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/" |
ca32627a | 7810 | "08f973788c7ca46d9285eec2ac818edb/" |
3275d43d | 7811 | "lollypop-" version ".tar.xz")) |
64fce637 | 7812 | (sha256 |
ca32627a | 7813 | (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j")))) |
aa498fc0 | 7814 | (build-system meson-build-system) |
64fce637 RS |
7815 | (arguments |
7816 | `(#:imported-modules ((guix build python-build-system) | |
aa498fc0 TD |
7817 | ,@%meson-build-system-modules) |
7818 | #:glib-or-gtk? #t | |
5fc9b6c1 EF |
7819 | #:tests? #f ; no test suite |
7820 | #:phases | |
7821 | (modify-phases %standard-phases | |
5fc9b6c1 EF |
7822 | (add-after 'install 'wrap-program |
7823 | (lambda* (#:key outputs #:allow-other-keys) | |
7824 | (let ((out (assoc-ref outputs "out")) | |
7825 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
7826 | (wrap-program (string-append out "/bin/lollypop") | |
7827 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
7828 | #t)) | |
8ac8b3b3 TGR |
7829 | (add-after 'install 'wrap-python |
7830 | (@@ (guix build python-build-system) wrap)) | |
7831 | (add-after 'install 'wrap-glib-or-gtk | |
7832 | (@@ (guix build glib-or-gtk-build-system) wrap-all-programs))))) | |
64fce637 RS |
7833 | (native-inputs |
7834 | `(("intltool" ,intltool) | |
7835 | ("itstool" ,itstool) | |
aa498fc0 TD |
7836 | ("glib:bin" ,glib "bin") ; For glib-compile-resources |
7837 | ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache | |
64fce637 RS |
7838 | ("pkg-config" ,pkg-config))) |
7839 | (inputs | |
7840 | `(("gobject-introspection" ,gobject-introspection) | |
8ac8b3b3 | 7841 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
5fc9b6c1 | 7842 | ("gst-plugins-base" ,gst-plugins-base) |
64fce637 RS |
7843 | ("libnotify" ,libnotify) |
7844 | ("libsecret" ,libsecret) | |
7845 | ("libsoup" ,libsoup) | |
7846 | ("python" ,python) | |
7847 | ("python-beautifulsoup4" ,python-beautifulsoup4) | |
7848 | ("python-gst" ,python-gst) | |
d029afdd | 7849 | ("python-pil" ,python-pillow) |
64fce637 | 7850 | ("python-pycairo" ,python-pycairo) |
7460f346 | 7851 | ("python-pygobject" ,python-pygobject-3.34) |
64fce637 RS |
7852 | ("python-pylast" ,python-pylast) |
7853 | ("totem-pl-parser" ,totem-pl-parser) | |
7854 | ("webkitgtk" ,webkitgtk))) | |
7855 | (propagated-inputs | |
7856 | `(;; gst-plugins-base is required to start Lollypop, | |
7857 | ;; the others are required to play streaming. | |
64fce637 RS |
7858 | ("gst-plugins-good" ,gst-plugins-good) |
7859 | ("gst-plugins-ugly" ,gst-plugins-ugly))) | |
b98eace8 | 7860 | (home-page "https://wiki.gnome.org/Apps/Lollypop") |
64fce637 RS |
7861 | (synopsis "GNOME music playing application") |
7862 | (description | |
7863 | "Lollypop is a music player designed to play well with GNOME desktop. | |
7864 | Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information | |
7865 | from artists and tracks from the web. It also fetches cover artworks | |
7866 | automatically and it can stream songs from online music services and charts.") | |
7867 | (license license:gpl3+))) | |
d831d49d AW |
7868 | |
7869 | (define-public gnome-video-effects | |
7870 | (package | |
7871 | (name "gnome-video-effects") | |
7872 | (version "0.4.3") | |
7873 | (source (origin | |
7874 | (method url-fetch) | |
7875 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7876 | (version-major+minor version) "/" name "-" | |
7877 | version ".tar.xz")) | |
7878 | (sha256 | |
7879 | (base32 | |
7880 | "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs")))) | |
7881 | (build-system glib-or-gtk-build-system) | |
7882 | (arguments | |
7883 | `(#:out-of-source? #f)) | |
7884 | (native-inputs | |
7885 | `(("glib:bin" ,glib "bin") | |
7886 | ("intltool" ,intltool) | |
7887 | ("gettext" ,gettext-minimal) | |
7888 | ("pkg-config" ,pkg-config))) | |
7889 | (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects") | |
7890 | (synopsis "Video effects for Cheese and other GNOME applications") | |
7891 | (description | |
7892 | "A collection of GStreamer video filters and effects to be used in | |
7893 | photo-booth-like software, such as Cheese.") | |
7894 | (license license:gpl2+))) | |
3511c780 AW |
7895 | |
7896 | (define-public cheese | |
7897 | (package | |
7898 | (name "cheese") | |
00b14dbb | 7899 | (version "3.30.0") |
3511c780 AW |
7900 | (source (origin |
7901 | (method url-fetch) | |
7902 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7903 | (version-major+minor version) "/" name "-" | |
7904 | version ".tar.xz")) | |
7905 | (sha256 | |
7906 | (base32 | |
00b14dbb | 7907 | "0zz2bgjaf2lsmfs3zn24925vbjb0rycr39i288brlbzixrpcyljr")))) |
3511c780 AW |
7908 | (arguments |
7909 | ;; Tests require GDK. | |
7910 | `(#:tests? #f | |
7911 | #:phases | |
7912 | (modify-phases %standard-phases | |
7913 | (add-before 'install 'skip-gtk-update-icon-cache | |
7914 | (lambda _ | |
7915 | ;; Don't create 'icon-theme.cache' | |
7916 | (substitute* "Makefile" | |
7917 | (("gtk-update-icon-cache") (which "true"))) | |
7918 | #t)) | |
7919 | (add-after 'install 'wrap-cheese | |
7920 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
7921 | (let ((out (assoc-ref outputs "out")) | |
7922 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
7923 | (wrap-program (string-append out "/bin/cheese") | |
7924 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
7925 | #t))))) | |
7926 | (build-system glib-or-gtk-build-system) | |
7927 | (native-inputs | |
7928 | `(("glib:bin" ,glib "bin") | |
7929 | ("intltool" ,intltool) | |
7930 | ("itstool" ,itstool) | |
7931 | ("libxml2" ,libxml2) | |
7932 | ("pkg-config" ,pkg-config) | |
7933 | ("vala" ,vala))) | |
7934 | (propagated-inputs | |
6a19f03e RW |
7935 | `(("gnome-video-effects" ,gnome-video-effects) |
7936 | ("clutter" ,clutter) | |
3511c780 AW |
7937 | ("clutter-gst" ,clutter-gst) |
7938 | ("clutter-gtk" ,clutter-gtk) | |
6a19f03e | 7939 | ("libcanberra" ,libcanberra) |
3511c780 AW |
7940 | ("gdk-pixbuf" ,gdk-pixbuf) |
7941 | ("glib" ,glib) | |
6a19f03e RW |
7942 | ("gstreamer" ,gstreamer))) |
7943 | (inputs | |
7944 | `(("gnome-desktop" ,gnome-desktop) | |
3511c780 | 7945 | ("gobject-introspection" ,gobject-introspection) |
3511c780 AW |
7946 | ("gst-plugins-base" ,gst-plugins-base) |
7947 | ("gst-plugins-bad" ,gst-plugins-bad) | |
7948 | ("gtk+" ,gtk+) | |
3511c780 AW |
7949 | ("libx11" ,libx11) |
7950 | ("libxtst" ,libxtst))) | |
7951 | (home-page "https://wiki.gnome.org/Apps/Cheese") | |
7952 | (synopsis "Webcam photo booth software for GNOME") | |
7953 | (description | |
7954 | "Cheese uses your webcam to take photos and videos. Cheese can also | |
7955 | apply fancy special effects and lets you share the fun with others.") | |
7956 | (license license:gpl2+))) | |
3c5dbd2b | 7957 | |
7958 | (define-public sound-juicer | |
7959 | (package | |
7960 | (name "sound-juicer") | |
7961 | (version "3.24.0") | |
7962 | (source | |
7963 | (origin | |
7964 | (method url-fetch) | |
7965 | (uri (string-append "mirror://gnome/sources/" name "/" | |
7966 | (version-major+minor version) "/" | |
7967 | name "-" version ".tar.xz")) | |
7968 | (sha256 | |
7969 | (base32 | |
7970 | "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny")))) | |
7971 | (build-system glib-or-gtk-build-system) | |
7972 | (native-inputs | |
7973 | `(("desktop-file-utils" ,desktop-file-utils) | |
7974 | ("intltool" ,intltool) | |
7975 | ("itstool" ,itstool) | |
7976 | ("pkg-config" ,pkg-config) | |
7977 | ("xmllint" ,libxml2))) | |
7978 | (inputs | |
7979 | `(("gtk+" ,gtk+) | |
7980 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
7981 | ("gstreamer" ,gstreamer) | |
7982 | ("gst-plugins-base" ,gst-plugins-base) | |
7983 | ("gst-plugins-good" ,gst-plugins-good) | |
7984 | ("iso-codes" ,iso-codes) | |
7985 | ("libbrasero-media3" ,brasero) | |
7986 | ("libcanberra" ,libcanberra) | |
7987 | ("libdiscid" ,libdiscid) | |
7988 | ("libmusicbrainz" ,libmusicbrainz) | |
7989 | ("neon" ,neon))) | |
7990 | (home-page "https://wiki.gnome.org/Apps/SoundJuicer") | |
7991 | (synopsis "Audio music cd ripper") | |
7992 | (description "Sound Juicer extracts audio from compact discs and convert it | |
7993 | into audio files that a personal computer or digital audio player can play. | |
7994 | It supports ripping to any audio codec supported by a GStreamer plugin, such as | |
7995 | mp3, Ogg Vorbis and FLAC") | |
7996 | (license license:gpl2+))) | |
4e3fdeb7 | 7997 | |
0d3f1708 CB |
7998 | (define-public soundconverter |
7999 | (package | |
8000 | (name "soundconverter") | |
fa75a213 | 8001 | (version "3.0.1") |
0d3f1708 CB |
8002 | (source |
8003 | (origin | |
8004 | (method url-fetch) | |
8005 | (uri (string-append "https://launchpad.net/soundconverter/trunk/" | |
8006 | version "/+download/" | |
8007 | "soundconverter-" version ".tar.xz")) | |
8008 | ||
8009 | (sha256 | |
fa75a213 | 8010 | (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5")) |
0d3f1708 CB |
8011 | (patches |
8012 | (search-patches | |
8013 | "soundconverter-remove-gconf-dependency.patch")))) | |
8014 | (build-system glib-or-gtk-build-system) | |
8015 | (arguments | |
8016 | `(#:imported-modules ((guix build python-build-system) | |
8017 | (guix build glib-or-gtk-build-system) | |
8018 | ,@%gnu-build-system-modules) | |
8019 | ||
8020 | #:modules ((guix build glib-or-gtk-build-system) | |
8021 | (guix build utils) | |
8022 | ((guix build gnu-build-system) #:prefix gnu:) | |
8023 | ((guix build python-build-system) #:prefix python:)) | |
8024 | ||
8025 | #:phases | |
8026 | (modify-phases %standard-phases | |
0d3f1708 CB |
8027 | (add-after 'install 'wrap-soundconverter-for-python |
8028 | (assoc-ref python:%standard-phases 'wrap)) | |
8029 | (add-after 'install 'wrap-soundconverter | |
8030 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
8031 | (let ((out (assoc-ref outputs "out")) | |
8032 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
8033 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) | |
8034 | (wrap-program (string-append out "/bin/soundconverter") | |
8035 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
8036 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) | |
8037 | #t))))) | |
8038 | (native-inputs | |
8039 | `(("intltool" ,intltool) | |
8040 | ("pkg-config" ,pkg-config) | |
8041 | ("glib:bin" ,glib "bin"))) | |
8042 | (inputs | |
8043 | `(("gtk+" ,gtk+) | |
8044 | ("python" ,python) | |
8045 | ("python-pygobject" ,python-pygobject) | |
8046 | ("gstreamer" ,gstreamer) | |
8047 | ("gst-plugins-base" ,gst-plugins-base))) | |
8048 | (home-page "http://soundconverter.org/") | |
8049 | (synopsis "Convert between audio formats with a graphical interface") | |
8050 | (description | |
8051 | "SoundConverter supports converting between many audio formats including | |
8052 | Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and | |
8053 | configurable file renaming. ") | |
8054 | (license license:gpl3))) | |
8055 | ||
4e3fdeb7 | 8056 | (define-public workrave |
89f2d736 TGR |
8057 | (package |
8058 | (name "workrave") | |
aa51d92c | 8059 | (version "1.10.34") |
89f2d736 TGR |
8060 | (source |
8061 | (origin | |
8062 | (method git-fetch) | |
8063 | (uri (git-reference | |
8064 | (url "https://github.com/rcaelers/workrave.git") | |
c2e50474 TGR |
8065 | (commit (string-append "v" (string-map |
8066 | (match-lambda (#\. #\_) (chr chr)) | |
8067 | version))))) | |
89f2d736 TGR |
8068 | (file-name (git-file-name name version)) |
8069 | (sha256 | |
aa51d92c | 8070 | (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf")))) |
89f2d736 | 8071 | (build-system glib-or-gtk-build-system) |
d1c96847 MC |
8072 | (inputs `(("glib" ,glib) |
8073 | ("gtk+" ,gtk+) | |
8074 | ("gdk-pixbuf" ,gdk-pixbuf) | |
8075 | ("gtkmm" ,gtkmm) | |
8076 | ("glibmm" ,glibmm) | |
8077 | ("libx11" ,libx11) | |
8078 | ("libxtst" ,libxtst) | |
8079 | ("dconf" ,dconf) | |
8080 | ("libice" ,libice) | |
8081 | ("libsm" ,libsm) | |
8082 | ("libxscrnsaver" ,libxscrnsaver))) | |
aa51d92c | 8083 | (native-inputs `(("boost" ,boost) |
89f2d736 TGR |
8084 | ("pkg-config" ,pkg-config) |
8085 | ("gettext" ,gnu-gettext) | |
8086 | ("autoconf" ,autoconf) | |
8087 | ("autoconf-archive" , autoconf-archive) | |
8088 | ("automake" ,automake) | |
8089 | ("libtool" ,libtool) | |
8090 | ("intltool" ,intltool) | |
89f2d736 | 8091 | ("gobject-introspection" ,gobject-introspection) |
aa51d92c MC |
8092 | ("python3" ,python-3) |
8093 | ("python-jinja2" ,python-jinja2))) | |
89f2d736 TGR |
8094 | (synopsis "Tool to help prevent repetitive strain injury (RSI)") |
8095 | (description | |
8096 | "Workrave is a program that assists in the recovery and prevention of | |
cc00249b TGR |
8097 | repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take |
8098 | micro-pauses and rest breaks, and restricts you to your daily limit.") | |
89f2d736 TGR |
8099 | (home-page "http://www.workrave.org") |
8100 | (license license:gpl3+))) | |
312afa7d LC |
8101 | |
8102 | (define-public ghex | |
8103 | (package | |
8104 | (name "ghex") | |
8105 | (version "3.18.3") | |
8106 | (source (origin | |
8107 | (method url-fetch) | |
2fbab848 | 8108 | (uri (string-append "mirror://gnome/sources/ghex/" |
312afa7d | 8109 | (version-major+minor version) "/" |
2fbab848 | 8110 | "ghex-" version ".tar.xz")) |
312afa7d LC |
8111 | (sha256 |
8112 | (base32 | |
8113 | "1lq8920ad2chi9ibmyq0x9hg9yk63b0kdbzid03w42cwdzw50x66")))) | |
8114 | (build-system glib-or-gtk-build-system) | |
8115 | (native-inputs | |
8116 | `(("pkg-config" ,pkg-config) | |
8117 | ("gnome-common" ,gnome-common) | |
8118 | ("which" ,which) | |
8119 | ("intltool" ,intltool) | |
8120 | ("yelp-tools" ,yelp-tools) | |
2fbab848 | 8121 | ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate' |
312afa7d LC |
8122 | (inputs |
8123 | `(("atk" ,atk) | |
8124 | ("gtk" ,gtk+))) | |
8125 | (synopsis "GNOME hexadecimal editor") | |
8126 | (description "The GHex program can view and edit files in two ways: | |
8127 | hexadecimal or ASCII. It is useful for editing binary files in general.") | |
8128 | (home-page "https://wiki.gnome.org/Apps/Ghex") | |
8129 | (license license:gpl2))) | |
4b2ed6c2 RW |
8130 | |
8131 | (define-public libdazzle | |
8132 | (package | |
8133 | (name "libdazzle") | |
64fa66ba | 8134 | (version "3.33.90") |
4b2ed6c2 RW |
8135 | (source (origin |
8136 | (method url-fetch) | |
687b4909 | 8137 | (uri (string-append "mirror://gnome/sources/libdazzle/" |
4b2ed6c2 | 8138 | (version-major+minor version) "/" |
687b4909 | 8139 | "libdazzle-" version ".tar.xz")) |
4b2ed6c2 RW |
8140 | (sha256 |
8141 | (base32 | |
64fa66ba | 8142 | "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs")))) |
4b2ed6c2 RW |
8143 | (build-system meson-build-system) |
8144 | (arguments | |
8145 | `(#:phases | |
8146 | (modify-phases %standard-phases | |
4b2ed6c2 RW |
8147 | (add-before 'check 'pre-check |
8148 | (lambda _ | |
8149 | ;; Tests require a running X server. | |
8150 | (system "Xvfb :1 &") | |
8151 | (setenv "DISPLAY" ":1") | |
8152 | #t))))) | |
8153 | (native-inputs | |
687b4909 | 8154 | `(("glib" ,glib "bin") ; glib-compile-resources |
4b2ed6c2 | 8155 | ("pkg-config" ,pkg-config) |
687b4909 | 8156 | ;; For tests. |
4b2ed6c2 RW |
8157 | ("xorg-server" ,xorg-server))) |
8158 | (inputs | |
8159 | `(("glib" ,glib) | |
8160 | ("gobject-introspection" ,gobject-introspection) | |
8161 | ("gtk+" ,gtk+) | |
8162 | ("vala" ,vala))) | |
8163 | (home-page "https://gitlab.gnome.org/GNOME/libdazzle") | |
8164 | (synopsis "Companion library to GObject and Gtk+") | |
8165 | (description "The libdazzle library is a companion library to GObject and | |
8166 | Gtk+. It provides various features that the authors wish were in the | |
8167 | underlying library but cannot for various reasons. In most cases, they are | |
8168 | wildly out of scope for those libraries. In other cases, they are not quite | |
8169 | generic enough to work for everyone.") | |
8170 | (license license:gpl3+))) | |
7d3bb433 RW |
8171 | |
8172 | (define-public evolution | |
8173 | (package | |
8174 | (name "evolution") | |
5229bea1 | 8175 | (version "3.30.5") |
7d3bb433 RW |
8176 | (source (origin |
8177 | (method url-fetch) | |
8178 | (uri (string-append "mirror://gnome/sources/evolution/" | |
8179 | (version-major+minor version) "/" | |
8180 | "evolution-" version ".tar.xz")) | |
8181 | (sha256 | |
8182 | (base32 | |
5229bea1 | 8183 | "1hhxj3rh921pp3l3c5k33bdypcas1p66krzs65k1qn82c5fpgl2h")))) |
7d3bb433 RW |
8184 | (build-system cmake-build-system) |
8185 | (arguments | |
5229bea1 KK |
8186 | `(#:imported-modules (,@%cmake-build-system-modules |
8187 | (guix build glib-or-gtk-build-system)) | |
8188 | #:modules ((guix build cmake-build-system) | |
8189 | ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) | |
8190 | (guix build utils)) | |
8191 | #:configure-flags | |
7d3bb433 | 8192 | (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged |
5229bea1 | 8193 | "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release |
7d3bb433 | 8194 | ; in four years and cannot be built. |
5229bea1 KK |
8195 | #:phases |
8196 | (modify-phases %standard-phases | |
8197 | ;; The build system attempts to install user interface modules to the | |
8198 | ;; output directory of the "evolution-data-server" package. This | |
8199 | ;; change redirects that change. | |
8200 | (add-after 'unpack 'patch-ui-module-dir | |
8201 | (lambda* (#:key outputs #:allow-other-keys) | |
8202 | (substitute* "src/modules/alarm-notify/CMakeLists.txt" | |
8203 | (("\\$\\{edsuimoduledir\\}") | |
8204 | (string-append (assoc-ref outputs "out") | |
8205 | "/lib/evolution-data-server/ui-modules"))) | |
8206 | #t)) | |
8207 | (add-after 'install 'glib-or-gtk-compile-schemas | |
8208 | (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) | |
8209 | (add-after 'install 'glib-or-gtk-wrap | |
8210 | (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) | |
7d3bb433 | 8211 | (native-inputs |
ad6e168b | 8212 | `(("glib" ,glib "bin") ; glib-mkenums |
7d3bb433 RW |
8213 | ("pkg-config" ,pkg-config) |
8214 | ("intltool" ,intltool) | |
8215 | ("itstool" ,itstool))) | |
8216 | (inputs | |
8217 | `(("enchant" ,enchant) | |
8218 | ("evolution-data-server" ,evolution-data-server) ; must be the same version | |
8219 | ("gcr" ,gcr) | |
ad6e168b | 8220 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
7d3bb433 RW |
8221 | ("gnome-autoar" ,gnome-autoar) |
8222 | ("gnome-desktop" ,gnome-desktop) | |
8223 | ("gtkspell3" ,gtkspell3) | |
8224 | ("highlight" ,highlight) | |
8225 | ("libcanberra" ,libcanberra) | |
b63c06f1 | 8226 | ("libedataserverui" ,evolution-data-server) |
7d3bb433 RW |
8227 | ("libgweather" ,libgweather) |
8228 | ("libnotify" ,libnotify) | |
8229 | ("libsoup" ,libsoup) | |
8230 | ("nss" ,nss) | |
8231 | ("openldap" ,openldap) | |
8232 | ("webkitgtk" ,webkitgtk) | |
8233 | ("ytnef" ,ytnef))) | |
8234 | (home-page "https://gitlab.gnome.org/GNOME/evolution") | |
8235 | (synopsis "Manage your email, contacts and schedule") | |
8236 | (description "Evolution is a personal information management application | |
8237 | that provides integrated mail, calendaring and address book | |
8238 | functionality.") | |
8239 | ;; See COPYING for details. | |
23dbe621 | 8240 | (license (list license:lgpl2.1 license:lgpl3 ; either one of these |
7d3bb433 | 8241 | license:openldap2.8 ; addressbook/gui/component/openldap-extract.h |
23dbe621 | 8242 | license:lgpl2.1+)))) ; smime/lib/* |
169d63f5 AT |
8243 | |
8244 | (define-public gthumb | |
8245 | (package | |
8246 | (name "gthumb") | |
f99bc1af | 8247 | (version "3.8.1") |
169d63f5 AT |
8248 | (source (origin |
8249 | (method url-fetch) | |
8250 | (uri (string-append "mirror://gnome/sources/gthumb/" | |
8251 | (version-major+minor version) "/" | |
8252 | "gthumb-" version ".tar.xz")) | |
8253 | (sha256 | |
8254 | (base32 | |
f99bc1af | 8255 | "184zn79w4s9y1zy42ar31p3jsg8rmkxy8k6iry51nz8aizbcs7jb")))) |
169d63f5 AT |
8256 | (build-system meson-build-system) |
8257 | (arguments | |
8258 | `(#:glib-or-gtk? #t | |
8259 | #:configure-flags | |
8260 | ;; Ensure the RUNPATH contains all installed library locations. | |
8261 | (list (string-append "-Dc_link_args=-Wl,-rpath=" | |
8262 | (assoc-ref %outputs "out") | |
8263 | "/lib/gthumb/extensions") | |
8264 | (string-append "-Dcpp_link_args=-Wl,-rpath=" | |
8265 | (assoc-ref %outputs "out") | |
8266 | "/lib/gthumb/extensions")))) | |
8267 | (native-inputs | |
8268 | `(("pkg-config" ,pkg-config) | |
8269 | ("glib:bin" ,glib "bin") ; for glib-compile-resources | |
8270 | ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache | |
8271 | ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database | |
8272 | ("intltool" ,intltool) | |
8273 | ("itstool" ,itstool))) | |
8274 | (inputs | |
8275 | `(("exiv2" ,exiv2) | |
8276 | ("gtk" ,gtk+) | |
8277 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
8278 | ("gstreamer" ,gstreamer) | |
8279 | ("clutter" ,clutter) | |
8280 | ("clutter-gst" ,clutter-gst) | |
8281 | ("clutter-gtk" ,clutter-gtk) | |
8282 | ("libjpeg" ,libjpeg) | |
8283 | ("libtiff" ,libtiff) | |
8284 | ("libraw" ,libraw))) | |
8285 | (home-page "https://wiki.gnome.org/Apps/Gthumb") | |
8286 | (synopsis "GNOME image viewer and browser") | |
8287 | (description "GThumb is an image viewer, browser, organizer, editor and | |
8288 | advanced image management tool") | |
8289 | (license license:gpl2+))) | |
08be02be AT |
8290 | |
8291 | (define-public terminator | |
8292 | (package | |
8293 | (name "terminator") | |
8294 | (version "1.91") | |
8295 | (source (origin | |
8296 | (method url-fetch) | |
8297 | (uri (string-append "https://launchpad.net/" name "/" | |
8298 | "gtk3/" version "/" "+download/" | |
8299 | name "-" version ".tar.gz")) | |
8300 | (sha256 | |
8301 | (base32 | |
8302 | "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm")))) | |
8303 | (build-system python-build-system) | |
8304 | (native-inputs | |
8305 | `(("intltool" ,intltool) | |
8306 | ("glib:bin" ,glib "bin") ; for glib-compile-resources | |
8307 | ("gettext" ,gettext-minimal) | |
8308 | ("pkg-config" ,pkg-config))) | |
8309 | (inputs | |
8310 | `(("cairo" ,cairo) | |
8311 | ("gobject-introspection" ,gobject-introspection) | |
96681d4b | 8312 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
08be02be AT |
8313 | ("python2-pycairo" ,python2-pycairo) |
8314 | ("python2-pygobject" ,python2-pygobject) | |
8315 | ("python2-psutil" ,python2-psutil) | |
8316 | ("vte" ,vte))) | |
8317 | (arguments | |
96681d4b TGR |
8318 | `(#:python ,python-2 ; Python 3 isn't supported |
8319 | #:imported-modules ((guix build glib-or-gtk-build-system) | |
8320 | ,@%python-build-system-modules) | |
8321 | #:modules ((guix build python-build-system) | |
8322 | ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) | |
8323 | (guix build utils)) | |
08be02be AT |
8324 | #:phases |
8325 | (modify-phases %standard-phases | |
8326 | (add-after | |
8327 | 'install 'wrap-program | |
8328 | (lambda* (#:key outputs #:allow-other-keys) | |
8329 | (let ((prog (string-append (assoc-ref outputs "out") | |
8330 | "/bin/terminator"))) | |
8331 | (wrap-program prog | |
8332 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
8333 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) | |
96681d4b TGR |
8334 | #t))) |
8335 | (add-after 'wrap-program 'glib-or-gtk-wrap | |
8336 | (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) | |
08be02be AT |
8337 | (home-page "https://gnometerminator.blogspot.com/") |
8338 | (synopsis "Store and run multiple GNOME terminals in one window") | |
8339 | (description | |
8340 | "Terminator allows you to run multiple GNOME terminals in a grid and | |
8341 | +tabs, and it supports drag and drop re-ordering of terminals.") | |
8342 | (license license:gpl2))) | |
213315d4 JF |
8343 | |
8344 | (define-public libhandy | |
8345 | (package | |
8346 | (name "libhandy") | |
d41ee146 | 8347 | (version "0.0.11") |
213315d4 JF |
8348 | (source |
8349 | (origin | |
8350 | (method git-fetch) | |
8351 | (uri (git-reference | |
8352 | (url "https://source.puri.sm/Librem5/libhandy") | |
8353 | (commit (string-append "v" version)))) | |
8354 | (file-name (git-file-name name version)) | |
8355 | (sha256 | |
d41ee146 | 8356 | (base32 "0622zp5wrvn5bvgardijxd11y76g1i54fs32y03dw9nrar7i6vb0")))) |
213315d4 JF |
8357 | (build-system meson-build-system) |
8358 | (arguments | |
8359 | `(#:configure-flags | |
8360 | '("-Dglade_catalog=disabled" | |
8361 | "-Dgtk_doc=true") | |
8362 | #:phases | |
8363 | (modify-phases %standard-phases | |
213315d4 JF |
8364 | (add-before 'check 'pre-check |
8365 | (lambda _ | |
8366 | ;; Tests require a running X server. | |
8367 | (system "Xvfb :1 &") | |
8368 | (setenv "DISPLAY" ":1") | |
8369 | #t))))) | |
8370 | (inputs | |
8371 | `(("gtk+" ,gtk+))) | |
8372 | (native-inputs | |
8373 | `(("glib:bin" ,glib "bin") | |
8374 | ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner | |
8375 | ("vala" ,vala) | |
8376 | ("gtk-doc" ,gtk-doc) | |
8377 | ("pkg-config" ,pkg-config) | |
8378 | ("gettext" ,gettext-minimal) | |
d41ee146 TGR |
8379 | ("xorg-server" ,xorg-server) |
8380 | ||
8381 | ;; Test suite dependencies. | |
8382 | ("hicolor-icon-theme" ,hicolor-icon-theme))) | |
213315d4 JF |
8383 | (home-page "https://source.puri.sm/Librem5/libhandy") |
8384 | (synopsis "Library full of GTK+ widgets for mobile phones") | |
8385 | (description "The aim of the handy library is to help with developing user | |
8386 | intefaces for mobile devices using GTK+.") | |
8387 | (license license:lgpl2.1+))) | |
a830d14d GL |
8388 | |
8389 | (define-public libgit2-glib | |
8390 | (package | |
8391 | (name "libgit2-glib") | |
8392 | (version "0.28.0.1") | |
8393 | (source (origin | |
8394 | (method url-fetch) | |
8395 | (uri (string-append "mirror://gnome/sources/" name "/" | |
8396 | (version-major+minor version) "/" | |
8397 | name "-" version ".tar.xz")) | |
8398 | (sha256 | |
8399 | (base32 | |
8400 | "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7")))) | |
8401 | (build-system meson-build-system) | |
8402 | (native-inputs | |
8403 | `(("glib:bin" ,glib "bin") ;; For glib-mkenums | |
8404 | ("gobject-introspection" ,gobject-introspection) | |
8405 | ("intltool" ,intltool) | |
8406 | ("libssh2" ,libssh2) | |
8407 | ("pkg-config" ,pkg-config) | |
8408 | ("python-pygobject" ,python-pygobject) | |
8409 | ("python-wrapper" ,python-wrapper) | |
8410 | ("vala" ,vala))) | |
8411 | (inputs | |
8412 | `(("glib" ,glib) | |
8413 | ("libgit2" ,libgit2))) | |
8414 | (synopsis "GLib wrapper around the libgit2 Git access library") | |
8415 | (description "libgit2-glib is a GLib wrapper library around the libgit2 Git | |
8416 | access library. It only implements the core plumbing functions, not really the | |
8417 | higher level porcelain stuff.") | |
8418 | (home-page "https://wiki.gnome.org/Projects/Libgit2-glib") | |
8419 | (license license:gpl2+))) | |
93beace0 | 8420 | |
08db81c9 LP |
8421 | (define-public gitg |
8422 | (package | |
8423 | (name "gitg") | |
8424 | (version "3.32.1") | |
8425 | (source (origin | |
8426 | (method url-fetch) | |
8427 | (uri (string-append "mirror://gnome/sources/" name "/" | |
8428 | (version-major+minor version) "/" | |
8429 | name "-" version ".tar.xz")) | |
8430 | (sha256 | |
8431 | (base32 | |
8432 | "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914")))) | |
8433 | (build-system meson-build-system) | |
8434 | (arguments | |
8435 | `(#:glib-or-gtk? #t | |
8436 | #:phases | |
8437 | (modify-phases %standard-phases | |
8438 | (add-after 'unpack 'disable-post-install-partially | |
8439 | (lambda _ | |
8440 | (substitute* "meson_post_install.py" | |
8441 | (("'python'") ; there are no python sources to compile | |
8442 | (string-append "'" (which "true") "'")) | |
8443 | (("gtk-update-icon-cache") (which "true"))) | |
8444 | #t)) | |
8445 | (add-after 'unpack 'fix-test-sources | |
8446 | (lambda _ | |
8447 | (substitute* "tests/libgitg/test-commit.vala" | |
8448 | (("/bin/bash") (which "bash"))) | |
8449 | #t)) | |
8450 | (add-after 'glib-or-gtk-wrap 'wrap-typelib | |
8451 | (lambda* (#:key outputs #:allow-other-keys) | |
8452 | (let ((prog (string-append (assoc-ref outputs "out") | |
8453 | "/bin/gitg"))) | |
8454 | (wrap-program prog | |
8455 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) | |
8456 | #t)))))) | |
8457 | (inputs | |
8458 | `(("glib" ,glib) | |
8459 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
8460 | ("gtk+" ,gtk+) | |
8461 | ("gtkspell3" ,gtkspell3) | |
8462 | ("gtksourceview" ,gtksourceview-3) | |
8463 | ("json-glib" ,json-glib) | |
8464 | ("libdazzle" ,libdazzle) | |
8465 | ("libgee" ,libgee) | |
8466 | ("libgit2" ,libgit2) ; propagated by libgit2-glib | |
8467 | ("libgit2-glib" ,libgit2-glib) | |
8468 | ("libpeas" ,libpeas) | |
8469 | ("libsecret" ,libsecret) | |
8470 | ("libsoup" ,libsoup) | |
8471 | ("libxml2" ,libxml2))) | |
8472 | (native-inputs | |
8473 | `(("glib:bin" ,glib "bin") | |
8474 | ("gtk+:bin" ,gtk+ "bin") | |
8475 | ("gobject-introspection" ,gobject-introspection) | |
8476 | ("intltool" ,intltool) | |
8477 | ("pkg-config" ,pkg-config) | |
8478 | ("vala" ,vala))) | |
8479 | (synopsis "Graphical user interface for git") | |
8480 | (description | |
8481 | "gitg is a graphical user interface for git. It aims at being a small, | |
8482 | fast and convenient tool to visualize the history of git repositories. | |
8483 | Besides visualization, gitg also provides several utilities to manage your | |
8484 | repository and commit your work.") | |
8485 | (home-page "https://wiki.gnome.org/Apps/Gitg") | |
8486 | (license license:gpl2+))) | |
8487 | ||
93beace0 DW |
8488 | (define-public gnome-mahjongg |
8489 | (package | |
8490 | (name "gnome-mahjongg") | |
8491 | (version "3.35.1") | |
8492 | (source (origin | |
8493 | (method git-fetch) | |
8494 | (uri (git-reference | |
8495 | (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git") | |
8496 | (commit version))) | |
8497 | (file-name (git-file-name name version)) | |
8498 | (sha256 | |
8499 | (base32 | |
8500 | "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l")))) | |
8501 | (build-system meson-build-system) | |
8502 | (arguments | |
8503 | `(#:glib-or-gtk? #t)) | |
8504 | (native-inputs | |
8505 | `(("appstream-glib" ,appstream-glib) | |
8506 | ("gettext" ,gettext-minimal) | |
8507 | ("glib:bin" ,glib "bin") ;; For glib-compile-resources | |
8508 | ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache | |
8509 | ("itstool" ,itstool) | |
8510 | ("pkg-config" ,pkg-config) | |
8511 | ("vala" ,vala))) | |
8512 | (propagated-inputs | |
8513 | `(("dconf" ,dconf))) | |
8514 | (inputs | |
8515 | `(("glib" ,glib) | |
8516 | ("gtk+" ,gtk+) | |
8517 | ("librsvg" ,librsvg))) | |
8518 | (synopsis "Mahjongg tile-matching game") | |
8519 | (description "GNOME Mahjongg is a game based on the classic Chinese | |
8520 | tile-matching game Mahjong. It features multiple board layouts, tile themes, | |
8521 | and a high score table.") | |
8522 | (home-page "https://wiki.gnome.org/Apps/Mahjongg") | |
8523 | (license license:gpl2+))) |