Commit | Line | Data |
---|---|---|
995b7261 | 1 | ;;; GNU Guix --- Functional package management for GNU |
109da1c0 | 2 | ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> |
55409295 | 3 | ;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> |
29a7c98a | 4 | ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> |
b38e45d8 | 5 | ;;; Copyright © 2014 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> |
88f70665 | 9 | ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com> |
1e7464a9 | 10 | ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com> |
8ff49011 | 11 | ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> |
8d9bae4e | 12 | ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org> |
293ff8b2 | 13 | ;;; Copyright © 2015 David Thompson <davet@gnu.org> |
e2674357 | 14 | ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il> |
8b877545 | 15 | ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org> |
3c697ffd | 16 | ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net> |
3a9a4c51 | 17 | ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org> |
21f05134 | 18 | ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org> |
277a7d82 | 19 | ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org> |
a56be436 | 20 | ;;; Copyright © 2016 Roel Janssen <roel@gnu.org> |
995b7261 AE |
21 | ;;; |
22 | ;;; This file is part of GNU Guix. | |
23 | ;;; | |
24 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
25 | ;;; under the terms of the GNU General Public License as published by | |
26 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
27 | ;;; your option) any later version. | |
28 | ;;; | |
29 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
30 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
31 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
32 | ;;; GNU General Public License for more details. | |
33 | ;;; | |
34 | ;;; You should have received a copy of the GNU General Public License | |
35 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
36 | ||
37 | (define-module (gnu packages gnome) | |
b5b73a82 | 38 | #:use-module ((guix licenses) #:prefix license:) |
995b7261 AE |
39 | #:use-module (guix packages) |
40 | #:use-module (guix download) | |
4a526711 | 41 | #:use-module (guix git-download) |
29a7c98a | 42 | #:use-module (guix utils) |
995b7261 | 43 | #:use-module (guix build-system gnu) |
121de2e1 | 44 | #:use-module (guix build-system glib-or-gtk) |
dc050251 | 45 | #:use-module (guix build-system trivial) |
ed19903d | 46 | #:use-module (gnu packages) |
ba5dd105 | 47 | #:use-module (gnu packages admin) |
75016d07 | 48 | #:use-module (gnu packages autotools) |
7b212526 | 49 | #:use-module (gnu packages avahi) |
6a180f6f | 50 | #:use-module (gnu packages base) |
5698b8b8 | 51 | #:use-module (gnu packages bison) |
df217748 | 52 | #:use-module (gnu packages calendar) |
df12f04a | 53 | #:use-module (gnu packages check) |
23a22af6 | 54 | #:use-module (gnu packages cups) |
6e1bb642 | 55 | #:use-module (gnu packages curl) |
c3f29bc9 | 56 | #:use-module (gnu packages cyrus-sasl) |
6e1bb642 | 57 | #:use-module (gnu packages databases) |
c769cf9f | 58 | #:use-module (gnu packages djvu) |
ba5dd105 | 59 | #:use-module (gnu packages dns) |
121de2e1 | 60 | #:use-module (gnu packages flex) |
b4ce6300 | 61 | #:use-module (gnu packages docbook) |
329d731b | 62 | #:use-module (gnu packages enchant) |
a56be436 | 63 | #:use-module (gnu packages fontutils) |
dfc407f3 | 64 | #:use-module (gnu packages game-development) |
fed5a689 | 65 | #:use-module (gnu packages gettext) |
995b7261 | 66 | #:use-module (gnu packages glib) |
c1354b90 | 67 | #:use-module (gnu packages gnupg) |
23a22af6 | 68 | #:use-module (gnu packages gnuzilla) |
85f5dc19 | 69 | #:use-module (gnu packages gstreamer) |
d9c1a22b | 70 | #:use-module (gnu packages gtk) |
df217748 | 71 | #:use-module (gnu packages gperf) |
6b888eff | 72 | #:use-module (gnu packages guile) |
34b979b9 | 73 | #:use-module (gnu packages openldap) |
c1354b90 | 74 | #:use-module (gnu packages pdf) |
75016d07 | 75 | #:use-module (gnu packages polkit) |
5698b8b8 | 76 | #:use-module (gnu packages popt) |
c1354b90 | 77 | #:use-module (gnu packages ghostscript) |
b645146f | 78 | #:use-module (gnu packages ibus) |
9cc98f8a | 79 | #:use-module (gnu packages iso-codes) |
85f5dc19 | 80 | #:use-module (gnu packages libcanberra) |
88f70665 | 81 | #:use-module (gnu packages linux) |
75016d07 | 82 | #:use-module (gnu packages libusb) |
4e3fc547 | 83 | #:use-module (gnu packages lirc) |
7b212526 | 84 | #:use-module (gnu packages lua) |
fed5a689 | 85 | #:use-module (gnu packages m4) |
e55354b8 | 86 | #:use-module (gnu packages image) |
ba5dd105 | 87 | #:use-module (gnu packages networking) |
b645146f | 88 | #:use-module (gnu packages password-utils) |
27477d2d | 89 | #:use-module (gnu packages perl) |
f70d8383 | 90 | #:use-module (gnu packages photo) |
995b7261 | 91 | #:use-module (gnu packages pkg-config) |
23a22af6 | 92 | #:use-module (gnu packages pulseaudio) |
995b7261 | 93 | #:use-module (gnu packages python) |
75016d07 | 94 | #:use-module (gnu packages scanner) |
4a1bf090 | 95 | #:use-module (gnu packages ssh) |
85f5dc19 | 96 | #:use-module (gnu packages xml) |
b0f9c4b8 | 97 | #:use-module (gnu packages geeqie) |
200726ed | 98 | #:use-module (gnu packages gl) |
1dd26275 | 99 | #:use-module (gnu packages compression) |
c769cf9f | 100 | #:use-module (gnu packages texlive) |
a7fd7b68 | 101 | #:use-module (gnu packages tls) |
6e1bb642 | 102 | #:use-module (gnu packages web) |
4a79e256 | 103 | #:use-module (gnu packages webkit) |
fecbf86e | 104 | #:use-module (gnu packages xorg) |
ea57378f | 105 | #:use-module (gnu packages xdisorg) |
ba421ab7 | 106 | #:use-module (gnu packages freedesktop) |
1e7464a9 | 107 | #:use-module (gnu packages mail) |
b645146f | 108 | #:use-module (gnu packages mit-krb5) |
1e7464a9 DH |
109 | #:use-module (gnu packages backup) |
110 | #:use-module (gnu packages nettle) | |
c024ae36 | 111 | #:use-module (gnu packages ncurses) |
3dc8828f SB |
112 | #:use-module (gnu packages video) |
113 | #:use-module (gnu packages cdrom) | |
114 | #:use-module (gnu packages samba) | |
f47ba77e | 115 | #:use-module (gnu packages readline) |
0bd3597b | 116 | #:use-module (gnu packages fonts) |
c024ae36 | 117 | #:use-module (srfi srfi-1)) |
85f5dc19 AE |
118 | |
119 | (define-public brasero | |
120 | (package | |
121 | (name "brasero") | |
e8627cd9 | 122 | (version "3.12.1") |
85f5dc19 AE |
123 | (source (origin |
124 | (method url-fetch) | |
e8627cd9 DH |
125 | (uri (string-append "mirror://gnome/sources/" name "/" |
126 | (version-major+minor version) "/" | |
127 | name "-" version ".tar.xz")) | |
85f5dc19 AE |
128 | (sha256 |
129 | (base32 | |
e8627cd9 | 130 | "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls")))) |
1c40e3b7 | 131 | (build-system glib-or-gtk-build-system) |
e8627cd9 DH |
132 | (arguments |
133 | `(#:configure-flags (list | |
134 | (string-append "--with-girdir=" | |
135 | (assoc-ref %outputs "out") | |
136 | "/share/gir-1.0") | |
137 | (string-append "--with-typelibdir=" | |
138 | (assoc-ref %outputs "out") | |
139 | "/lib/girepository-1.0")))) | |
85f5dc19 AE |
140 | (propagated-inputs |
141 | `(("hicolor-icon-theme" ,hicolor-icon-theme))) | |
9cc98f8a CR |
142 | (native-inputs |
143 | `(("intltool" ,intltool) | |
426adbe8 | 144 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
e8627cd9 | 145 | ("gobject-introspection" ,gobject-introspection) |
9cc98f8a | 146 | ("pkg-config" ,pkg-config))) |
85f5dc19 AE |
147 | (inputs |
148 | `(("glib" ,glib) | |
149 | ("gnome-doc-utils" ,gnome-doc-utils) | |
150 | ("gstreamer" ,gstreamer) | |
151 | ("gst-plugins-base" ,gst-plugins-base) | |
152 | ("gtk+" ,gtk+) | |
85f5dc19 AE |
153 | ("itstool" ,itstool) |
154 | ("libcanberra" ,libcanberra) | |
155 | ("libice" ,libice) | |
156 | ("libnotify" ,libnotify) | |
157 | ("libsm" ,libsm) | |
e8627cd9 DH |
158 | ("libxml2" ,libxml2) |
159 | ("nettle" ,nettle) | |
160 | ("totem-pl-parser" ,totem-pl-parser))) | |
85f5dc19 AE |
161 | (home-page "https://projects.gnome.org/brasero/") |
162 | (synopsis "CD/DVD burning tool for Gnome") | |
163 | (description "Brasero is an application to burn CD/DVD for the Gnome | |
164 | Desktop. It is designed to be as simple as possible and has some unique | |
165 | features to enable users to create their discs easily and quickly.") | |
1dd26275 | 166 | (license license:gpl2+))) |
995b7261 | 167 | |
a56be436 RJ |
168 | (define-public dia |
169 | ;; This version from GNOME's repository includes fixes for compiling with | |
170 | ;; recent versions of the build tools. The latest activity on the | |
171 | ;; pre-GNOME version has been in 2014, while GNOME has continued applying | |
172 | ;; fixes in 2016. | |
173 | (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4")) | |
174 | (package | |
175 | (name "dia") | |
176 | (version (string-append "0.97.2-" (string-take commit 7))) | |
177 | (source (origin | |
178 | (method git-fetch) | |
179 | (uri (git-reference | |
180 | (url "https://git.gnome.org/browse/dia") | |
181 | (commit commit))) | |
182 | (file-name (string-append name "-" version "-checkout")) | |
183 | (sha256 | |
184 | (base32 | |
185 | "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l")))) | |
186 | (build-system gnu-build-system) | |
187 | (inputs | |
188 | `(("glib" ,glib "bin") | |
189 | ("pango" ,pango) | |
190 | ("gdk-pixbuf" ,gdk-pixbuf) | |
191 | ("gtk+" ,gtk+-2) | |
192 | ("libxml2" ,libxml2) | |
193 | ("freetype" ,freetype) | |
194 | ("libart-lgpl" ,libart-lgpl))) | |
195 | (native-inputs | |
196 | `(("intltool" ,intltool) | |
197 | ("pkg-config" ,pkg-config) | |
198 | ("automake" ,automake) | |
199 | ("autoconf" ,autoconf) | |
200 | ("libtool" ,libtool) | |
201 | ("perl" ,perl) | |
202 | ("python-wrapper" ,python-wrapper))) | |
203 | (arguments | |
204 | `(#:phases | |
205 | (modify-phases %standard-phases | |
206 | (add-before 'configure 'run-autogen | |
207 | (lambda _ | |
208 | (system* "sh" "autogen.sh")))))) | |
209 | (home-page "https://wiki.gnome.org/Apps/Dia") | |
210 | (synopsis "Diagram creation for GNOME") | |
211 | (description "Dia can be used to draw different types of diagrams, and | |
212 | includes support for UML static structure diagrams (class diagrams), entity | |
213 | relationship modeling, and network diagrams. The program supports various file | |
214 | formats like PNG, SVG, PDF and EPS.") | |
215 | (license license:gpl2+)))) | |
216 | ||
7aab13f1 ML |
217 | (define-public gnome-common |
218 | (package | |
219 | (name "gnome-common") | |
af83490d | 220 | (version "3.18.0") |
7aab13f1 ML |
221 | (source |
222 | (origin | |
223 | (method url-fetch) | |
224 | (uri (string-append "mirror://gnome/sources/" name "/" | |
225 | (version-major+minor version) "/" | |
226 | name "-" version ".tar.xz")) | |
227 | (sha256 | |
228 | (base32 | |
af83490d | 229 | "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2")))) |
7aab13f1 ML |
230 | (build-system gnu-build-system) |
231 | (home-page "https://www.gnome.org/") | |
232 | (synopsis "Bootstrap GNOME modules built from Git") | |
233 | (description "gnome-common contains various files needed to bootstrap | |
234 | GNOME modules built from Git. It contains a common \"autogen.sh\" script that | |
235 | can be used to configure a source directory checked out from Git and some | |
236 | commonly used macros.") | |
237 | (license license:gpl2+))) | |
238 | ||
9cc98f8a CR |
239 | (define-public gnome-desktop |
240 | (package | |
241 | (name "gnome-desktop") | |
ab740c7f | 242 | (version "3.20.1") |
9cc98f8a CR |
243 | (source |
244 | (origin | |
245 | (method url-fetch) | |
b38e45d8 EB |
246 | (uri (string-append "mirror://gnome/sources/" name "/" |
247 | (version-major+minor version) "/" | |
9cc98f8a CR |
248 | name "-" version ".tar.xz")) |
249 | (sha256 | |
250 | (base32 | |
ab740c7f | 251 | "0h6185lmkaf49dr43pb6gsb9yi25rc32n7dq5186hwln38mppb3f")))) |
9cc98f8a CR |
252 | (build-system gnu-build-system) |
253 | (native-inputs | |
a8340482 SB |
254 | `(("gobject-introspection" ,gobject-introspection) |
255 | ("itstool" ,itstool) | |
bcb354ad SB |
256 | ("intltool" ,intltool) |
257 | ("pkg-config" ,pkg-config) | |
258 | ("xmllint" ,libxml2))) | |
a8340482 SB |
259 | (propagated-inputs |
260 | ;; Required by gnome-desktop-3.0.pc. | |
261 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
262 | ("gtk+" ,gtk+))) | |
9cc98f8a CR |
263 | (inputs |
264 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
265 | ("glib" ,glib) | |
9cc98f8a | 266 | ("iso-codes" ,iso-codes) |
9cc98f8a CR |
267 | ("libx11" ,libx11) |
268 | ("libxext" ,libxext) | |
269 | ("libxkbfile" ,libxkbfile) | |
270 | ("libxrandr" ,libxrandr) | |
271 | ("xkeyboard-config" ,xkeyboard-config))) | |
272 | (home-page "https://www.gnome.org/") | |
273 | (synopsis | |
35b9e423 | 274 | "Libgnome-desktop, gnome-about, and desktop-wide documents") |
9cc98f8a CR |
275 | (description |
276 | "The libgnome-desktop library provides API shared by several applications | |
35b9e423 EB |
277 | on the desktop, but that cannot live in the platform for various reasons. |
278 | There is no API or ABI guarantee, although we are doing our best to provide | |
279 | stability. Documentation for the API is available with gtk-doc. | |
9cc98f8a CR |
280 | |
281 | The gnome-about program helps find which version of GNOME is installed.") | |
282 | ; Some bits under the LGPL. | |
1dd26275 | 283 | (license license:gpl2+))) |
9cc98f8a | 284 | |
995b7261 AE |
285 | (define-public gnome-doc-utils |
286 | (package | |
287 | (name "gnome-doc-utils") | |
288 | (version "0.20.10") | |
289 | (source | |
290 | (origin | |
291 | (method url-fetch) | |
b38e45d8 EB |
292 | (uri (string-append "mirror://gnome/sources/" name "/" |
293 | (version-major+minor version) "/" | |
995b7261 AE |
294 | name "-" version ".tar.xz")) |
295 | (sha256 | |
296 | (base32 | |
297 | "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb")))) | |
298 | (build-system gnu-build-system) | |
c4c4cc05 | 299 | (native-inputs |
995b7261 | 300 | `(("intltool" ,intltool) |
b4ce6300 | 301 | ("docbook-xml" ,docbook-xml-4.4) |
d80b0d4a | 302 | ("python2-libxml2" ,python2-libxml2) |
995b7261 AE |
303 | ("libxml2" ,libxml2) |
304 | ("libxslt" ,libxslt) | |
305 | ("pkg-config" ,pkg-config) | |
306 | ("python-2" ,python-2))) | |
995b7261 AE |
307 | (home-page "https://wiki.gnome.org/GnomeDocUtils") |
308 | (synopsis | |
309 | "Documentation utilities for the Gnome project") | |
310 | (description | |
311 | "Gnome-doc-utils is a collection of documentation utilities for the | |
312 | Gnome project. It includes xml2po tool which makes it easier to translate | |
313 | and keep up to date translations of documentation.") | |
1dd26275 | 314 | (license license:gpl2+))) ; xslt under lgpl |
d9c1a22b | 315 | |
8ff49011 RW |
316 | (define-public gcr |
317 | (package | |
318 | (name "gcr") | |
6983ba56 | 319 | (version "3.20.0") |
8ff49011 RW |
320 | (source (origin |
321 | (method url-fetch) | |
322 | (uri (string-append "mirror://gnome/sources/" name "/" | |
323 | (version-major+minor version) "/" | |
324 | name "-" version ".tar.xz")) | |
325 | (sha256 | |
326 | (base32 | |
6983ba56 | 327 | "0ydk9dzxx6snxza7j5ps8x932hbr3x1b8hhcaqjq4w4admi2qmwh")))) |
8ff49011 RW |
328 | (build-system gnu-build-system) |
329 | (arguments | |
330 | '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does | |
331 | ;not exist | |
332 | #:phases (modify-phases %standard-phases | |
333 | (add-before | |
334 | 'check 'pre-check | |
335 | (lambda* (#:key inputs #:allow-other-keys) | |
336 | (substitute* "build/tap-driver" | |
337 | (("/usr/bin/env python") (which "python")))))))) | |
338 | (inputs | |
339 | `(("dbus" ,dbus) | |
340 | ("gnupg" ,gnupg) ;called as a child process during tests | |
341 | ("libgcrypt" ,libgcrypt))) | |
342 | (native-inputs | |
343 | `(("python" ,python-2) ;for tests | |
344 | ("pkg-config" ,pkg-config) | |
345 | ("glib" ,glib "bin") | |
2af4f5b0 SB |
346 | ("gobject-introspection" ,gobject-introspection) |
347 | ("intltool" ,intltool) | |
348 | ("xsltproc" ,libxslt))) | |
8ff49011 RW |
349 | ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc |
350 | (propagated-inputs | |
351 | `(("p11-kit" ,p11-kit) | |
352 | ("glib" ,glib) | |
353 | ("gtk+" ,gtk+))) | |
354 | (home-page "http://www.gnome.org") | |
355 | (synopsis "Libraries for displaying certificates and accessing key stores") | |
356 | (description | |
357 | "The GCR package contains libraries used for displaying certificates and | |
358 | accessing key stores. It also provides the viewer for crypto files on the | |
359 | GNOME Desktop.") | |
360 | (license license:lgpl2.1+))) | |
361 | ||
c1354b90 LC |
362 | (define-public libgnome-keyring |
363 | (package | |
364 | (name "libgnome-keyring") | |
5e8aec2c | 365 | (version "3.12.0") |
c1354b90 LC |
366 | (source (origin |
367 | (method url-fetch) | |
b38e45d8 EB |
368 | (uri (string-append "mirror://gnome/sources/" name "/" |
369 | (version-major+minor version) "/" | |
370 | name "-" version ".tar.xz")) | |
c1354b90 LC |
371 | (sha256 |
372 | (base32 | |
5e8aec2c | 373 | "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4")))) |
c1354b90 | 374 | (build-system gnu-build-system) |
c1354b90 | 375 | (inputs |
c4c4cc05 | 376 | `(("libgcrypt" ,libgcrypt) |
c1354b90 | 377 | ("dbus" ,dbus))) |
c4c4cc05 JD |
378 | (native-inputs |
379 | `(("pkg-config" ,pkg-config) | |
426adbe8 | 380 | ("glib" ,glib "bin") |
c4c4cc05 | 381 | ("intltool" ,intltool))) |
c1354b90 LC |
382 | (propagated-inputs |
383 | ;; Referred to in .h files and .pc. | |
384 | `(("glib" ,glib))) | |
385 | (home-page "http://www.gnome.org") | |
386 | (synopsis "Accessing passwords from the GNOME keyring") | |
387 | (description | |
388 | "Client library to access passwords from the GNOME keyring.") | |
389 | ||
390 | ;; Though a couple of files are LGPLv2.1+. | |
1dd26275 | 391 | (license license:lgpl2.0+))) |
c1354b90 | 392 | |
e99a3d6f RW |
393 | (define-public gnome-keyring |
394 | (package | |
395 | (name "gnome-keyring") | |
6983ba56 | 396 | (version "3.20.0") |
e99a3d6f RW |
397 | (source (origin |
398 | (method url-fetch) | |
399 | (uri (string-append "mirror://gnome/sources/" name "/" | |
400 | (version-major+minor version) "/" | |
401 | name "-" version ".tar.xz")) | |
402 | (sha256 | |
403 | (base32 | |
6983ba56 | 404 | "16gcwwcg91ipxjmiyi4c4njvnxixmv1i278p0bilc3lafk6ww5xw")))) |
e99a3d6f RW |
405 | (build-system gnu-build-system) |
406 | (arguments | |
407 | `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does | |
408 | ;not exist | |
409 | #:configure-flags | |
410 | (list | |
411 | (string-append "--with-pkcs11-config=" | |
412 | (assoc-ref %outputs "out") "/share/p11-kit/modules/") | |
413 | (string-append "--with-pkcs11-modules=" | |
414 | (assoc-ref %outputs "out") "/share/p11-kit/modules/")) | |
415 | #:phases | |
416 | (modify-phases %standard-phases | |
417 | (add-before | |
418 | 'check 'pre-check | |
419 | (lambda* (#:key inputs #:allow-other-keys) | |
420 | (substitute* "build/tap-driver" | |
421 | (("/usr/bin/env python") (which "python"))))) | |
422 | (add-before | |
423 | 'configure 'fix-docbook | |
424 | (lambda* (#:key inputs #:allow-other-keys) | |
425 | (substitute* "docs/Makefile.am" | |
426 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
427 | (string-append (assoc-ref inputs "docbook-xsl") | |
428 | "/xml/xsl/docbook-xsl-" | |
429 | ,(package-version docbook-xsl) | |
430 | "/manpages/docbook.xsl"))) | |
431 | (setenv "XML_CATALOG_FILES" | |
432 | (string-append (assoc-ref inputs "docbook-xml") | |
433 | "/xml/dtd/docbook/catalog.xml"))))))) | |
434 | (inputs | |
435 | `(("libgcrypt" ,libgcrypt) | |
1a0b2d82 | 436 | ("linux-pam" ,linux-pam) |
e99a3d6f RW |
437 | ("dbus" ,dbus) |
438 | ("gcr" ,gcr))) | |
439 | (native-inputs | |
440 | `(("pkg-config" ,pkg-config) | |
441 | ("glib" ,glib "bin") | |
442 | ("python" ,python-2) ;for tests | |
443 | ("intltool" ,intltool) | |
444 | ("autoconf" ,autoconf) | |
445 | ("automake" ,automake) | |
446 | ("libxslt" ,libxslt) ;for documentation | |
447 | ("docbook-xml" ,docbook-xml-4.2) | |
448 | ("docbook-xsl" ,docbook-xsl))) | |
449 | (home-page "http://www.gnome.org") | |
450 | (synopsis "Daemon to store passwords and encryption keys") | |
451 | (description | |
452 | "gnome-keyring is a program that keeps passwords and other secrets for | |
453 | users. It is run as a daemon in the session, similar to ssh-agent, and other | |
454 | applications locate it via an environment variable or D-Bus. | |
455 | ||
456 | The program can manage several keyrings, each with its own master password, | |
457 | and there is also a session keyring which is never stored to disk, but | |
458 | forgotten when the session ends.") | |
459 | (license license:lgpl2.1+))) | |
460 | ||
c1354b90 LC |
461 | (define-public evince |
462 | (package | |
463 | (name "evince") | |
6983ba56 | 464 | (version "3.20.0") |
c1354b90 LC |
465 | (source (origin |
466 | (method url-fetch) | |
b38e45d8 EB |
467 | (uri (string-append "mirror://gnome/sources/" name "/" |
468 | (version-major+minor version) "/" | |
469 | name "-" version ".tar.xz")) | |
c1354b90 LC |
470 | (sha256 |
471 | (base32 | |
6983ba56 | 472 | "1052lm4i5qq27sgk6ck5xc1cxh0qx4zzhifjhmzjlv38afj5i0yg")))) |
121de2e1 | 473 | (build-system glib-or-gtk-build-system) |
c1354b90 LC |
474 | (arguments |
475 | `(#:configure-flags '("--disable-nautilus") | |
476 | ||
477 | ;; FIXME: Tests fail with: | |
478 | ;; ImportError: No module named gi.repository | |
479 | ;; Where should that module come from? | |
3d243e9c | 480 | #:tests? #f)) |
c1354b90 LC |
481 | (inputs |
482 | `(("libspectre" ,libspectre) | |
c769cf9f | 483 | ("djvulibre" ,djvulibre) |
c1354b90 LC |
484 | ("ghostscript" ,ghostscript) |
485 | ("poppler" ,poppler) | |
c769cf9f SB |
486 | ("libtiff" ,libtiff) |
487 | ;; TODO: | |
488 | ;; Add libgxps for XPS support. | |
489 | ;; Build libkpathsea as a shared library for DVI support. | |
490 | ;; ("libkpathsea" ,texlive-bin) | |
491 | ("gnome-desktop" ,gnome-desktop) | |
c1354b90 LC |
492 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
493 | ("libgnome-keyring" ,libgnome-keyring) | |
c769cf9f | 494 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
c1354b90 LC |
495 | ("gdk-pixbuf" ,gdk-pixbuf) |
496 | ("atk" ,atk) | |
497 | ("pango" ,pango) | |
498 | ("gtk+" ,gtk+) | |
499 | ("glib" ,glib) | |
500 | ("libxml2" ,libxml2) | |
c1354b90 LC |
501 | ("libsm" ,libsm) |
502 | ("libice" ,libice) | |
96e42467 | 503 | ("shared-mime-info" ,shared-mime-info) |
3d243e9c FB |
504 | ("dconf" ,dconf) |
505 | ("libcanberra" ,libcanberra) | |
c769cf9f | 506 | ("libsecret" ,libsecret) |
c1354b90 LC |
507 | ;; For tests. |
508 | ("dogtail" ,python2-dogtail))) | |
96e42467 | 509 | (native-inputs |
bcb354ad SB |
510 | `(("itstool" ,itstool) |
511 | ("intltool" ,intltool) | |
426adbe8 | 512 | ("glib" ,glib "bin") |
bcb354ad SB |
513 | ("pkg-config" ,pkg-config) |
514 | ("xmllint" ,libxml2))) | |
c1354b90 LC |
515 | (home-page |
516 | "http://www.gnome.org/projects/evince/") | |
517 | (synopsis "GNOME's document viewer") | |
518 | (description | |
519 | "Evince is a document viewer for multiple document formats. It | |
520 | currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal | |
521 | of Evince is to replace the multiple document viewers that exist | |
96e42467 | 522 | on the GNOME Desktop with a single simple application.") |
1dd26275 | 523 | (license license:gpl2+))) |
c1354b90 | 524 | |
22e32e69 AE |
525 | (define-public gsettings-desktop-schemas |
526 | (package | |
527 | (name "gsettings-desktop-schemas") | |
6983ba56 | 528 | (version "3.20.0") |
22e32e69 AE |
529 | (source |
530 | (origin | |
531 | (method url-fetch) | |
532 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 533 | (version-major+minor version) "/" |
22e32e69 AE |
534 | name "-" version ".tar.xz")) |
535 | (sha256 | |
536 | (base32 | |
6983ba56 | 537 | "1hfrqqsmqscgbnaikmyq4yq8h72554wdg13algh5bf8a7i9ip92m")))) |
22e32e69 AE |
538 | (build-system gnu-build-system) |
539 | (inputs | |
c4c4cc05 JD |
540 | `(("glib" ,glib))) |
541 | (native-inputs | |
542 | `(("intltool" ,intltool) | |
426adbe8 | 543 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
7211944a | 544 | ("gobject-introspection" ,gobject-introspection) |
22e32e69 AE |
545 | ("pkg-config" ,pkg-config))) |
546 | (home-page "https://launchpad.net/gsettings-desktop-schemas") | |
547 | (synopsis | |
548 | "GNOME settings for various desktop components") | |
549 | (description | |
550 | "Gsettings-desktop-schemas contains a collection of GSettings schemas | |
551 | for settings shared by various components of the GNOME desktop.") | |
1dd26275 | 552 | (license license:lgpl2.1+))) |
22e32e69 | 553 | |
27477d2d AE |
554 | (define-public icon-naming-utils |
555 | (package | |
556 | (name "icon-naming-utils") | |
557 | (version "0.8.90") | |
558 | (source | |
559 | (origin | |
560 | (method url-fetch) | |
5cc3096c | 561 | (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-" |
27477d2d AE |
562 | version ".tar.bz2")) |
563 | (sha256 | |
564 | (base32 | |
565 | "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi")))) | |
566 | (build-system gnu-build-system) | |
567 | (inputs | |
568 | `(("perl" ,perl) | |
569 | ("perl-xml-simple" ,perl-xml-simple))) | |
f4e97277 SB |
570 | (arguments |
571 | '(#:phases | |
572 | (alist-cons-after | |
573 | 'install 'set-load-paths | |
574 | ;; Tell 'icon-name-mapping' where XML::Simple is. | |
575 | (lambda* (#:key outputs #:allow-other-keys) | |
576 | (let* ((out (assoc-ref outputs "out")) | |
577 | (prog (string-append out "/libexec/icon-name-mapping"))) | |
578 | (wrap-program | |
579 | prog | |
580 | `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))) | |
581 | %standard-phases))) | |
27477d2d AE |
582 | (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification") |
583 | (synopsis | |
584 | "Utility to implement the Freedesktop Icon Naming Specification") | |
585 | (description | |
586 | "To help with the transition to the Freedesktop Icon Naming | |
587 | Specification, the icon naming utility maps the icon names used by the | |
588 | GNOME and KDE desktops to the icon names proposed in the specification.") | |
1dd26275 | 589 | (license license:lgpl2.1+))) |
27477d2d | 590 | |
686e025d SB |
591 | (define-public desktop-file-utils |
592 | (package | |
593 | (name "desktop-file-utils") | |
594 | (version "0.22") | |
595 | (source (origin | |
596 | (method url-fetch) | |
5cc3096c | 597 | (uri (string-append "https://www.freedesktop.org/software/" name |
686e025d SB |
598 | "/releases/" name "-" version ".tar.xz")) |
599 | (sha256 | |
600 | (base32 | |
601 | "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4")))) | |
602 | (build-system gnu-build-system) | |
603 | (native-inputs | |
604 | `(("pkg-config" ,pkg-config))) | |
605 | (inputs | |
606 | `(("glib" ,glib))) | |
607 | (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/") | |
608 | (synopsis "Utilities for working with desktop entries") | |
609 | (description | |
610 | "This package contains a few command line utilities for working with | |
611 | desktop entries: | |
612 | ||
613 | desktop-file-validate: validates a desktop file and prints warnings/errors | |
614 | about desktop entry specification violations. | |
615 | ||
616 | desktop-file-install: installs a desktop file to the applications directory, | |
617 | optionally munging it a bit in transit. | |
618 | ||
619 | update-desktop-database: updates the database containing a cache of MIME types | |
620 | handled by desktop files.") | |
621 | (license license:gpl2+))) | |
622 | ||
7d3f3651 AE |
623 | (define-public gnome-icon-theme |
624 | (package | |
625 | (name "gnome-icon-theme") | |
b32f58dd | 626 | (version "3.12.0") |
7d3f3651 AE |
627 | (source |
628 | (origin | |
629 | (method url-fetch) | |
630 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 631 | (version-major+minor version) "/" |
7d3f3651 AE |
632 | name "-" version ".tar.xz")) |
633 | (sha256 | |
634 | (base32 | |
b32f58dd | 635 | "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im")))) |
7d3f3651 | 636 | (build-system gnu-build-system) |
c4c4cc05 | 637 | (native-inputs |
73b6cf42 SB |
638 | `(("gtk+" ,gtk+) ; for gtk-update-icon-cache |
639 | ("icon-naming-utils" ,icon-naming-utils) | |
640 | ("intltool" ,intltool) | |
641 | ("pkg-config" ,pkg-config))) | |
7d3f3651 AE |
642 | (home-page "http://art.gnome.org/") |
643 | (synopsis | |
644 | "GNOME icon theme") | |
645 | (description | |
646 | "Icons for the GNOME desktop.") | |
1dd26275 | 647 | (license license:lgpl3))) ; or Creative Commons BY-SA 3.0 |
7d3f3651 | 648 | |
14eeefa2 SB |
649 | ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0. |
650 | (define-public adwaita-icon-theme | |
651 | (package (inherit gnome-icon-theme) | |
652 | (name "adwaita-icon-theme") | |
6983ba56 | 653 | (version "3.20") |
14eeefa2 SB |
654 | (source (origin |
655 | (method url-fetch) | |
656 | (uri (string-append "mirror://gnome/sources/" name "/" | |
657 | (version-major+minor version) "/" | |
658 | name "-" version ".tar.xz")) | |
659 | (sha256 | |
660 | (base32 | |
6983ba56 | 661 | "0ddfwwqx8s63qbqimmbb015lqsab4s0rvy1j81jdsh7k95rqh2ks")))))) |
14eeefa2 | 662 | |
9167f8e6 LC |
663 | (define-public shared-mime-info |
664 | (package | |
665 | (name "shared-mime-info") | |
6983ba56 | 666 | (version "1.6") |
9167f8e6 LC |
667 | (source (origin |
668 | (method url-fetch) | |
5cc3096c | 669 | (uri (string-append "https://freedesktop.org/~hadess/" |
b38e45d8 | 670 | "shared-mime-info-" version ".tar.xz")) |
9167f8e6 LC |
671 | (sha256 |
672 | (base32 | |
6983ba56 | 673 | "0k637g047gci8g69bg4g19akylpfraxm40hd30j3i4v7cidziy5j")))) |
9167f8e6 LC |
674 | (build-system gnu-build-system) |
675 | (arguments | |
676 | ;; The build system appears not to be parallel-safe. | |
677 | '(#:parallel-build? #f)) | |
678 | (inputs | |
679 | `(("glib" ,glib) | |
c4c4cc05 | 680 | ("libxml2" ,libxml2))) |
9167f8e6 | 681 | (native-inputs |
c4c4cc05 JD |
682 | `(("intltool" ,intltool) |
683 | ("pkg-config" ,pkg-config))) | |
9167f8e6 LC |
684 | (home-page "http://freedesktop.org/wiki/Software/shared-mime-info") |
685 | (synopsis "Database of common MIME types") | |
686 | (description | |
687 | "The shared-mime-info package contains the core database of common types | |
688 | and the update-mime-database command used to extend it. It requires glib2 to | |
689 | be installed for building the update command. Additionally, it uses intltool | |
690 | for translations, though this is only a dependency for the maintainers. This | |
691 | database is translated at Transifex.") | |
1dd26275 | 692 | (license license:gpl2+))) |
9167f8e6 | 693 | |
bef4dd92 AE |
694 | (define-public hicolor-icon-theme |
695 | (package | |
696 | (name "hicolor-icon-theme") | |
697 | (version "0.12") | |
698 | (source | |
699 | (origin | |
700 | (method url-fetch) | |
5cc3096c | 701 | (uri (string-append "https://icon-theme.freedesktop.org/releases/" |
b38e45d8 | 702 | "hicolor-icon-theme-" version ".tar.gz")) |
bef4dd92 AE |
703 | (sha256 |
704 | (base32 | |
705 | "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y")))) | |
706 | (build-system gnu-build-system) | |
707 | (arguments | |
708 | `(#:tests? #f)) ; no check target | |
709 | (home-page "http://icon-theme.freedesktop.org/releases/") | |
710 | (synopsis | |
711 | "Freedesktop icon theme") | |
712 | (description | |
713 | "Freedesktop icon theme.") | |
1dd26275 | 714 | (license license:gpl2))) |
bef4dd92 | 715 | |
d9c1a22b AE |
716 | (define-public libnotify |
717 | (package | |
718 | (name "libnotify") | |
719 | (version "0.7.6") | |
720 | (source | |
721 | (origin | |
722 | (method url-fetch) | |
723 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 724 | (version-major+minor version) "/" |
d9c1a22b AE |
725 | name "-" version ".tar.xz")) |
726 | (sha256 | |
727 | (base32 | |
728 | "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf")))) | |
729 | (build-system gnu-build-system) | |
730 | (inputs | |
731 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
732 | ("glib" ,glib) | |
733 | ("gtk+" ,gtk+) | |
c4c4cc05 JD |
734 | ("libpng" ,libpng))) |
735 | (native-inputs | |
426adbe8 | 736 | `(("pkg-config" ,pkg-config) |
277a7d82 JN |
737 | ("glib" ,glib "bin") |
738 | ("gobject-introspection" ,gobject-introspection))) | |
d9c1a22b AE |
739 | (home-page "https://developer-next.gnome.org/libnotify/") |
740 | (synopsis | |
741 | "GNOME desktop notification library") | |
742 | (description | |
743 | "Libnotify is a library that sends desktop notifications to a | |
35b9e423 | 744 | notification daemon, as defined in the Desktop Notifications spec. These |
d9c1a22b AE |
745 | notifications can be used to inform the user about an event or display |
746 | some form of information without getting in the user's way.") | |
1dd26275 | 747 | (license license:lgpl2.1+))) |
7a8605ce CR |
748 | |
749 | (define-public libpeas | |
750 | (package | |
751 | (name "libpeas") | |
6983ba56 | 752 | (version "1.18.0") |
7a8605ce CR |
753 | (source |
754 | (origin | |
755 | (method url-fetch) | |
756 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 757 | (version-major+minor version) "/" |
7a8605ce CR |
758 | name "-" version ".tar.xz")) |
759 | (sha256 | |
760 | (base32 | |
6983ba56 | 761 | "09jy2rwwgp0xx7cnypxl56m7zzxnj3j4v58xqjxjasf3chn88jdz")))) |
7a8605ce | 762 | (build-system gnu-build-system) |
7a8605ce | 763 | (inputs |
2ed6522a SB |
764 | `(("gtk+" ,gtk+) |
765 | ("glade" ,glade3) | |
766 | ("libxml2" ,libxml2) ; XXX: required by gladeui-2.0.pc | |
767 | ("python" ,python) | |
768 | ("python-pygobject" ,python-pygobject))) | |
141aed80 LC |
769 | (native-inputs |
770 | `(("pkg-config" ,pkg-config) | |
93622993 | 771 | ("glib:bin" ,glib "bin") |
141aed80 LC |
772 | ("gobject-introspection" ,gobject-introspection) |
773 | ("intltool" ,intltool))) | |
7a8605ce CR |
774 | (home-page "https://wiki.gnome.org/Libpeas") |
775 | (synopsis "GObject plugin system") | |
776 | (description | |
35b9e423 | 777 | "Libpeas is a gobject-based plugins engine, and is targetted at giving |
7a8605ce CR |
778 | every application the chance to assume its own extensibility. It also has a |
779 | set of features including, but not limited to: multiple extension points; on | |
780 | demand (lazy) programming language support for C, Python and JS; simplicity of | |
e881752c | 781 | the API.") |
1dd26275 | 782 | (license license:lgpl2.0+))) |
ed19903d JD |
783 | |
784 | (define-public gtkglext | |
785 | (package | |
786 | (name "gtkglext") | |
787 | (version "1.2.0") | |
788 | (source (origin | |
789 | (method url-fetch) | |
790 | (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/" | |
791 | version "/gtkglext-" version ".tar.gz")) | |
792 | (sha256 | |
793 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
fc1adab1 AK |
794 | (patches (search-patches |
795 | "gtkglext-disable-disable-deprecated.patch")))) | |
ed19903d JD |
796 | (build-system gnu-build-system) |
797 | (inputs `(("gtk+" ,gtk+-2) | |
798 | ("mesa" ,mesa) | |
cc8b02f4 | 799 | ("glu" ,glu) |
ed19903d JD |
800 | ("libx11" ,libx11) |
801 | ("libxt" ,libxt))) | |
426adbe8 LC |
802 | (native-inputs `(("pkg-config" ,pkg-config) |
803 | ("glib" ,glib "bin"))) | |
a83b6a06 | 804 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 805 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 806 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 807 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
808 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
809 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 810 | (license license:lgpl2.1+))) |
3600420e JD |
811 | |
812 | (define-public glade3 | |
813 | (package | |
814 | (name "glade") | |
6983ba56 | 815 | (version "3.20.0") |
b38e45d8 EB |
816 | (source (origin |
817 | (method url-fetch) | |
818 | (uri (string-append "mirror://gnome/sources/" name "/" | |
819 | (version-major+minor version) "/" | |
f5ca44b8 | 820 | name "-" version ".tar.xz")) |
3600420e | 821 | (sha256 |
f714d9fe | 822 | (base32 |
6983ba56 SB |
823 | "1zhqvhagy0m85p54jfiayfl0v9af7g0lj7glw8sfwh7cbp56vnc2")))) |
824 | (build-system glib-or-gtk-build-system) | |
f5ca44b8 RW |
825 | (arguments |
826 | `(#:tests? #f ; needs X, GL, and software rendering | |
827 | #:phases | |
828 | (modify-phases %standard-phases | |
829 | (add-before 'configure 'fix-docbook | |
830 | (lambda* (#:key inputs #:allow-other-keys) | |
831 | (substitute* "man/Makefile.in" | |
832 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
833 | (string-append (assoc-ref inputs "docbook-xsl") | |
834 | "/xml/xsl/docbook-xsl-" | |
835 | ,(package-version docbook-xsl) | |
836 | "/manpages/docbook.xsl"))) | |
837 | #t))))) | |
3600420e | 838 | (inputs |
f5ca44b8 | 839 | `(("gtk+" ,gtk+) |
3600420e JD |
840 | ("libxml2" ,libxml2))) |
841 | (native-inputs | |
842 | `(("intltool" ,intltool) | |
f5ca44b8 RW |
843 | ("itstool" ,itstool) |
844 | ("libxslt" ,libxslt) ;for xsltproc | |
845 | ("docbook-xml" ,docbook-xml-4.2) | |
846 | ("docbook-xsl" ,docbook-xsl) | |
847 | ("python" ,python-2) | |
3600420e JD |
848 | ("pkg-config" ,pkg-config))) |
849 | (home-page "https://glade.gnome.org") | |
850 | (synopsis "GTK+ rapid application development tool") | |
851 | (description "Glade is a rapid application development (RAD) tool to | |
852 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
853 | the GNOME desktop environment.") | |
1dd26275 LC |
854 | (license license:lgpl2.0+))) |
855 | ||
856 | (define-public libcroco | |
857 | (package | |
858 | (name "libcroco") | |
6983ba56 | 859 | (version "0.6.11") |
1dd26275 LC |
860 | (source (origin |
861 | (method url-fetch) | |
b38e45d8 EB |
862 | (uri (string-append "mirror://gnome/sources/" name "/" |
863 | (version-major+minor version) "/" | |
864 | name "-" version ".tar.xz")) | |
1dd26275 LC |
865 | (sha256 |
866 | (base32 | |
6983ba56 | 867 | "0mm0wldbi40am5qn0nv7psisbg01k42rwzjxl3gv11l5jj554aqk")))) |
1dd26275 LC |
868 | (build-system gnu-build-system) |
869 | (native-inputs | |
870 | `(("pkg-config" ,pkg-config))) | |
871 | (inputs | |
872 | `(("glib" ,glib) | |
873 | ("libxml2" ,libxml2) | |
874 | ("zlib" ,zlib))) | |
875 | (home-page "https://github.com/GNOME/libcroco") | |
876 | (synopsis "CSS2 parsing and manipulation library") | |
877 | (description | |
878 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
879 | The parser provides a low level event driven SAC-like API and a CSS object | |
880 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
881 | XML/CSS rendering engine.") | |
882 | ||
883 | ;; LGPLv2.1-only. | |
884 | (license license:lgpl2.1))) | |
25178594 LC |
885 | |
886 | (define-public libgsf | |
887 | (package | |
888 | (name "libgsf") | |
6983ba56 | 889 | (version "1.14.36") |
25178594 LC |
890 | (source (origin |
891 | (method url-fetch) | |
b38e45d8 EB |
892 | (uri (string-append "mirror://gnome/sources/" name "/" |
893 | (version-major+minor version) "/" | |
894 | name "-" version ".tar.xz")) | |
25178594 LC |
895 | (sha256 |
896 | (base32 | |
6983ba56 | 897 | "0h19ssxzz0cmznwga2xy55kjibm24mwxqarnpd0w7xy0hrzm1dvi")))) |
25178594 LC |
898 | (build-system gnu-build-system) |
899 | (native-inputs | |
900 | `(("intltool" ,intltool) | |
901 | ("pkg-config" ,pkg-config))) | |
902 | (inputs | |
903 | `(("python" ,python) | |
904 | ("zlib" ,zlib) | |
905 | ("bzip2" ,bzip2))) | |
906 | (propagated-inputs | |
907 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
908 | ("glib" ,glib) | |
909 | ("libxml2" ,libxml2))) | |
910 | (home-page "http://www.gnome.org/projects/libgsf") | |
911 | (synopsis "GNOME's Structured File Library") | |
912 | (description | |
913 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
914 | dealing with different structured file formats.") | |
915 | ||
916 | ;; LGPLv2.1-only. | |
917 | (license license:lgpl2.1))) | |
63016e7c LC |
918 | |
919 | (define-public librsvg | |
920 | (package | |
921 | (name "librsvg") | |
6983ba56 | 922 | (version "2.40.15") |
63016e7c LC |
923 | (source (origin |
924 | (method url-fetch) | |
b38e45d8 EB |
925 | (uri (string-append "mirror://gnome/sources/" name "/" |
926 | (version-major+minor version) "/" | |
927 | name "-" version ".tar.xz")) | |
63016e7c LC |
928 | (sha256 |
929 | (base32 | |
6983ba56 | 930 | "1x05vd2llpmskq3prkp7kbpmshmpp9whj4kfl99ybipf4fhw9jnr")))) |
63016e7c LC |
931 | (build-system gnu-build-system) |
932 | (arguments | |
ce2df078 | 933 | `(#:phases |
63016e7c | 934 | (alist-cons-before |
f3045a5b | 935 | 'configure 'pre-configure |
63016e7c | 936 | (lambda* (#:key inputs #:allow-other-keys) |
63016e7c LC |
937 | (substitute* "gdk-pixbuf-loader/Makefile.in" |
938 | ;; By default the gdk-pixbuf loader is installed under | |
939 | ;; gdk-pixbuf's prefix. Work around that. | |
940 | (("gdk_pixbuf_moduledir = .*$") | |
941 | (string-append "gdk_pixbuf_moduledir = " | |
dc67ebd2 | 942 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" |
63016e7c | 943 | "loaders\n")) |
f3045a5b | 944 | ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg. |
63016e7c | 945 | (("gdk_pixbuf_cache_file = .*$") |
f3045a5b SB |
946 | "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))) |
947 | %standard-phases))) | |
63016e7c LC |
948 | (native-inputs |
949 | `(("pkg-config" ,pkg-config) | |
44add1ce | 950 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
951 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
952 | (inputs | |
953 | `(("pango" ,pango) | |
954 | ("libcroco" ,libcroco) | |
955 | ("bzip2" ,bzip2) | |
956 | ("libgsf" ,libgsf) | |
957 | ("libxml2" ,libxml2))) | |
958 | (propagated-inputs | |
959 | ;; librsvg-2.0.pc refers to all of that. | |
960 | `(("cairo" ,cairo) | |
961 | ("gdk-pixbuf" ,gdk-pixbuf) | |
962 | ("glib" ,glib))) | |
963 | (home-page "https://wiki.gnome.org/LibRsvg") | |
964 | (synopsis "Render SVG files using Cairo") | |
965 | (description | |
35b9e423 | 966 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
967 | library.") |
968 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
969 | |
970 | (define-public libidl | |
971 | (package | |
972 | (name "libidl") | |
973 | (version "0.8.14") | |
974 | (source (origin | |
975 | (method url-fetch) | |
976 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
977 | (string-append "mirror://gnome/sources/" upstream-name "/" |
978 | (version-major+minor version) "/" | |
979 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
980 | (sha256 |
981 | (base32 | |
982 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
983 | (build-system gnu-build-system) | |
984 | (inputs `(("glib" ,glib))) | |
985 | (native-inputs | |
986 | `(("pkg-config" ,pkg-config) | |
b3546174 | 987 | ("flex" ,flex) |
5698b8b8 JD |
988 | ("bison" ,bison))) |
989 | (home-page "http://freecode.com/projects/libidl") | |
990 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 991 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
992 | Definition Language (idl) files, which is a specification for defining |
993 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 994 | GNOME project, and the primary means of libidl distribution). However, the |
2e6ecc5c | 995 | functionality was designed to be as reusable and portable as possible.") |
5698b8b8 JD |
996 | (license license:lgpl2.0+))) |
997 | ||
998 | ||
999 | (define-public orbit2 | |
1000 | (package | |
1001 | (name "orbit2") | |
1002 | (version "2.14.19") | |
1003 | (source (origin | |
1004 | (method url-fetch) | |
2e6ecc5c | 1005 | (uri (let ((upstream-name "ORBit2")) |
a124bbd2 | 1006 | (string-append "mirror://gnome/sources/" upstream-name "/" |
b38e45d8 EB |
1007 | (version-major+minor version) "/" |
1008 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 | 1009 | (sha256 |
a124bbd2 SB |
1010 | (base32 |
1011 | "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
5698b8b8 JD |
1012 | (build-system gnu-build-system) |
1013 | (arguments | |
a124bbd2 SB |
1014 | `(#:configure-flags |
1015 | ;; The programmer kindly gives us a hook to turn off deprecation | |
1016 | ;; warnings ... | |
1017 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
1018 | ;; ... which they then completly ignore !! | |
1019 | #:phases | |
1020 | (alist-cons-before | |
1021 | 'configure 'ignore-deprecations | |
1022 | (lambda _ | |
1023 | (substitute* "linc2/src/Makefile.in" | |
1024 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
1025 | %standard-phases))) | |
5698b8b8 JD |
1026 | (inputs `(("glib" ,glib) |
1027 | ("libidl" ,libidl))) | |
1028 | (native-inputs | |
1029 | `(("pkg-config" ,pkg-config))) | |
1030 | (home-page "https://projects.gnome.org/orbit2/") | |
1031 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 1032 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
2e6ecc5c | 1033 | featuring mature C, C++ and Python bindings.") |
a124bbd2 SB |
1034 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving |
1035 | ;; a version. SOME of the code files have licence notices for GPLv2+. | |
1036 | ;; The tarball contains files of the text of GPLv2 and LGPLv2. | |
2e6ecc5c | 1037 | (license license:gpl2+))) |
5698b8b8 JD |
1038 | |
1039 | ||
1040 | (define-public libbonobo | |
1041 | (package | |
1042 | (name "libbonobo") | |
1043 | (version "2.32.1") | |
1044 | (source (origin | |
1045 | (method url-fetch) | |
5becd025 | 1046 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 1047 | (version-major+minor version) |
5becd025 | 1048 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 1049 | (sha256 |
f1fc45a9 | 1050 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
fc1adab1 AK |
1051 | (patches (search-patches |
1052 | "libbonobo-activation-test-race.patch")))) | |
5698b8b8 JD |
1053 | (build-system gnu-build-system) |
1054 | (arguments | |
1055 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
1056 | `(#:configure-flags |
1057 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
1058 | ;; ... which they then completly ignore !! | |
1059 | #:phases | |
1060 | (alist-cons-before | |
1061 | 'configure 'ignore-deprecations | |
1062 | (lambda _ | |
1063 | (substitute* "activation-server/Makefile.in" | |
1064 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
1065 | %standard-phases))) | |
5698b8b8 JD |
1066 | (inputs `(("popt" ,popt) |
1067 | ("libxml2" ,libxml2))) | |
1068 | ;; The following are Required by the .pc file | |
44add1ce | 1069 | (propagated-inputs |
5698b8b8 JD |
1070 | `(("glib" ,glib) |
1071 | ("orbit2" ,orbit2))) | |
1072 | (native-inputs | |
1073 | `(("intltool" ,intltool) | |
1074 | ("pkg-config" ,pkg-config) | |
221ed17a | 1075 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1076 | ("flex" ,flex) |
1077 | ("bison" ,bison))) | |
1078 | (home-page "https://developer.gnome.org/libbonobo/") | |
1079 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
1080 | (description "Bonobo is a framework for creating reusable components for | |
2e6ecc5c | 1081 | use in GNOME applications, built on top of CORBA.") |
5698b8b8 JD |
1082 | ;; Licence not explicitly stated. Source files contain no licence notices. |
1083 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
1084 | ;; GPLv2 covers both conditions | |
1085 | (license license:gpl2+))) | |
1086 | ||
1087 | ||
1088 | (define-public gconf | |
1089 | (package | |
1090 | (name "gconf") | |
1091 | (version "3.2.6") | |
1092 | (source (origin | |
1093 | (method url-fetch) | |
a124bbd2 SB |
1094 | (uri |
1095 | (let ((upstream-name "GConf")) | |
1096 | (string-append "mirror://gnome/sources/" upstream-name "/" | |
b38e45d8 EB |
1097 | (version-major+minor version) "/" |
1098 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
1099 | (sha256 |
1100 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
1101 | (build-system gnu-build-system) | |
2e88d113 | 1102 | (inputs `(("dbus-glib" ,dbus-glib) |
5698b8b8 | 1103 | ("libxml2" ,libxml2))) |
2e6ecc5c AE |
1104 | (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file |
1105 | ("orbit2" ,orbit2))) | |
5698b8b8 JD |
1106 | (native-inputs |
1107 | `(("intltool" ,intltool) | |
221ed17a | 1108 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1109 | ("pkg-config" ,pkg-config))) |
1110 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
1111 | (synopsis "Store application preferences") |
1112 | (description "Gconf is a system for storing application preferences. It | |
1113 | is intended for user preferences; not arbitrary data storage.") | |
2e6ecc5c | 1114 | (license license:lgpl2.0+))) |
5698b8b8 JD |
1115 | |
1116 | ||
1117 | (define-public gnome-mime-data | |
1118 | (package | |
1119 | (name "gnome-mime-data") | |
1120 | (version "2.18.0") | |
1121 | (source (origin | |
1122 | (method url-fetch) | |
b38e45d8 EB |
1123 | (uri (string-append "mirror://gnome/sources/" name "/" |
1124 | (version-major+minor version) "/" | |
1125 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1126 | (sha256 |
1127 | (base32 | |
1128 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
1129 | (build-system gnu-build-system) | |
1130 | (native-inputs | |
1131 | `(("perl" ,perl) | |
1132 | ("intltool" ,intltool))) | |
1133 | (home-page "http://www.gnome.org") | |
35b9e423 | 1134 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
1135 | (description "GNOME Mime Data is a module which contains the base MIME |
1136 | and Application database for GNOME. The data stored by this module is | |
1137 | designed to be accessed through the MIME functions in GnomeVFS.") | |
1138 | (license license:gpl2+))) | |
1139 | ||
1140 | ||
1141 | (define-public gnome-vfs | |
1142 | (package | |
1143 | (name "gnome-vfs") | |
1144 | (version "2.24.4") | |
1145 | (source (origin | |
1146 | (method url-fetch) | |
b38e45d8 EB |
1147 | (uri (string-append "mirror://gnome/sources/" name "/" |
1148 | (version-major+minor version) "/" | |
1149 | name "-" version ".tar.bz2")) | |
5698b8b8 | 1150 | (sha256 |
9e12bc34 MW |
1151 | (base32 |
1152 | "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
5698b8b8 JD |
1153 | (build-system gnu-build-system) |
1154 | (arguments | |
db5127d8 | 1155 | `(#:phases |
9e12bc34 MW |
1156 | (alist-cons-before |
1157 | 'configure 'ignore-deprecations | |
1158 | (lambda _ | |
1159 | (substitute* '("libgnomevfs/Makefile.in" | |
1160 | "daemon/Makefile.in") | |
1161 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1162 | #t) | |
db5127d8 MW |
1163 | (alist-cons-before |
1164 | 'configure 'patch-test-async-cancel-to-never-fail | |
1165 | (lambda _ | |
1166 | (substitute* "test/test-async-cancel.c" | |
1167 | (("EXIT_FAILURE") "77"))) | |
1168 | %standard-phases)))) | |
2e6ecc5c | 1169 | (inputs `(("libxml2" ,libxml2) |
5698b8b8 | 1170 | ("dbus-glib" ,dbus-glib) |
5698b8b8 JD |
1171 | ("gconf" ,gconf) |
1172 | ("gnome-mime-data" ,gnome-mime-data) | |
1173 | ("zlib" ,zlib))) | |
1174 | (native-inputs | |
221ed17a EB |
1175 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1176 | ("intltool" ,intltool) | |
5698b8b8 JD |
1177 | ("pkg-config" ,pkg-config))) |
1178 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 1179 | (synopsis "Access files and folders in GNOME applications") |
9e12bc34 MW |
1180 | (description |
1181 | "GnomeVFS is the core library used to access files and folders in GNOME | |
1182 | applications. It provides a file system abstraction which allows applications | |
1183 | to access local and remote files with a single consistent API.") | |
5698b8b8 JD |
1184 | (license license:lgpl2.0+))) |
1185 | ||
1186 | ||
1187 | ||
1188 | (define-public libgnome | |
1189 | (package | |
1190 | (name "libgnome") | |
1191 | (version "2.32.1") | |
1192 | (source (origin | |
1193 | (method url-fetch) | |
b38e45d8 EB |
1194 | (uri (string-append "mirror://gnome/sources/" name "/" |
1195 | (version-major+minor version) "/" | |
1196 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1197 | (sha256 |
1198 | (base32 | |
1199 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")))) | |
1200 | (build-system gnu-build-system) | |
1201 | (arguments | |
1202 | `(#:phases | |
1203 | (alist-cons-before | |
1204 | 'configure 'enable-deprecated | |
2e6ecc5c | 1205 | (lambda _ |
5698b8b8 JD |
1206 | (substitute* "libgnome/Makefile.in" |
1207 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
1208 | %standard-phases))) | |
25338e9f | 1209 | (inputs `(("libxml2" ,libxml2))) |
5698b8b8 | 1210 | (native-inputs |
221ed17a EB |
1211 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1212 | ("intltool" ,intltool) | |
5698b8b8 JD |
1213 | ("pkg-config" ,pkg-config))) |
1214 | ;; The following are listed as Required in the .pc file | |
1215 | ;; (except for libcanberra -- which seems to be oversight on the part | |
1216 | ;; of the upstream developers -- anything that links against libgnome, | |
1217 | ;; must also link against libcanberra | |
1218 | (propagated-inputs | |
1219 | `(("libcanberra" ,libcanberra) | |
1220 | ("libbonobo" ,libbonobo) | |
1221 | ("gconf" ,gconf) | |
a640d3d5 LC |
1222 | ("gnome-vfs" ,gnome-vfs) |
1223 | ("popt" ,popt))) ;gnome-program.h includes popt.h | |
5698b8b8 JD |
1224 | (home-page "https://developer.gnome.org/libgnome/") |
1225 | (synopsis "Useful routines for building applications") | |
1226 | (description "The libgnome library provides a number of useful routines | |
1227 | for building modern applications, including session management, activation of | |
1228 | files and URIs, and displaying help.") | |
1229 | (license license:lgpl2.0+))) | |
1230 | ||
1231 | ||
1232 | (define-public libart-lgpl | |
1233 | (package | |
1234 | (name "libart-lgpl") | |
76c9b6aa | 1235 | (version "2.3.21") |
5698b8b8 JD |
1236 | (source (origin |
1237 | (method url-fetch) | |
1238 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
1239 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1240 | (version-major+minor version) "/" | |
1241 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1242 | (sha256 |
1243 | (base32 | |
76c9b6aa | 1244 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
1245 | (build-system gnu-build-system) |
1246 | (native-inputs | |
1247 | `(("pkg-config" ,pkg-config))) | |
1248 | (home-page "https://people.gnome.org/~mathieu/libart") | |
1249 | (synopsis "2D drawing library") | |
2e6ecc5c | 1250 | (description "Libart is a 2D drawing library intended as a |
5698b8b8 JD |
1251 | high-quality vector-based 2D library with antialiasing and alpha composition.") |
1252 | (license license:lgpl2.0+))) | |
1253 | ||
1254 | ||
1255 | ||
1256 | (define-public libgnomecanvas | |
1257 | (package | |
1258 | (name "libgnomecanvas") | |
1259 | (version "2.30.3") | |
1260 | (source (origin | |
1261 | (method url-fetch) | |
b38e45d8 EB |
1262 | (uri (string-append "mirror://gnome/sources/" name "/" |
1263 | (version-major+minor version) "/" | |
1264 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
1265 | (sha256 |
1266 | (base32 | |
1267 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
1268 | (build-system gnu-build-system) | |
1269 | ;; Mentioned as Required in the .pc file | |
1270 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
1271 | ("gtk+" ,gtk+-2))) | |
1272 | (native-inputs | |
1273 | `(("intltool" ,intltool) | |
221ed17a | 1274 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1275 | ("pkg-config" ,pkg-config))) |
1276 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
1277 | (synopsis "Flexible widget for creating interactive structured graphics") | |
1278 | (description "The GnomeCanvas widget provides a flexible widget for | |
1279 | creating interactive structured graphics.") | |
1280 | (license license:lgpl2.0+))) | |
1281 | ||
eadc734e RW |
1282 | (define-public libgnomecanvasmm |
1283 | (package | |
1284 | (name "libgnomecanvasmm") | |
1285 | (version "2.26.0") | |
1286 | (source (origin | |
1287 | (method url-fetch) | |
1288 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1289 | (version-major+minor version) "/" | |
1290 | name "-" version ".tar.bz2")) | |
1291 | (sha256 | |
1292 | (base32 | |
1293 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1294 | (build-system gnu-build-system) | |
6e4512c4 SB |
1295 | (arguments |
1296 | '(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm | |
eadc734e RW |
1297 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) |
1298 | (native-inputs | |
1299 | `(("gtkmm-2" ,gtkmm-2) | |
1300 | ("pkg-config" ,pkg-config))) | |
1301 | (home-page "http://gtkmm.org") | |
1302 | (synopsis "C++ bindings to the GNOME Canvas library") | |
1303 | (description "C++ bindings to the GNOME Canvas library.") | |
1304 | (license license:lgpl2.0+))) | |
1305 | ||
5698b8b8 JD |
1306 | (define-public libgnomeui |
1307 | (package | |
1308 | (name "libgnomeui") | |
1309 | (version "2.24.5") | |
1310 | (source (origin | |
1311 | (method url-fetch) | |
b38e45d8 EB |
1312 | (uri (string-append "mirror://gnome/sources/" name "/" |
1313 | (version-major+minor version) "/" | |
1314 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1315 | (sha256 |
1316 | (base32 | |
1317 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1318 | (build-system gnu-build-system) | |
1319 | ;; Mentioned as Required in the .pc file | |
0a38a497 AE |
1320 | (propagated-inputs `(("libbonoboui" ,libbonoboui) |
1321 | ("libgnome" ,libgnome) | |
1322 | ("libgnomecanvas" ,libgnomecanvas) | |
5698b8b8 | 1323 | ("libgnome-keyring" ,libgnome-keyring))) |
0a38a497 | 1324 | (inputs `(("libjpeg" ,libjpeg) |
5698b8b8 JD |
1325 | ("popt" ,popt) |
1326 | ("libbonobo" ,libbonobo) | |
1327 | ("libxml2" ,libxml2) | |
1328 | ("libglade" ,libglade))) | |
1329 | (native-inputs | |
221ed17a EB |
1330 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1331 | ("intltool" ,intltool) | |
5698b8b8 JD |
1332 | ("pkg-config" ,pkg-config))) |
1333 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1334 | (synopsis "Additional widgets for applications") | |
35b9e423 | 1335 | (description "The libgnomeui library provides additional widgets for |
e881752c AK |
1336 | applications. Many of the widgets from libgnomeui have already been |
1337 | ported to GTK+.") | |
5698b8b8 JD |
1338 | (license license:lgpl2.0+))) |
1339 | ||
1340 | (define-public libglade | |
1341 | (package | |
1342 | (name "libglade") | |
1343 | (version "2.6.4") | |
1344 | (source (origin | |
1345 | (method url-fetch) | |
b38e45d8 EB |
1346 | (uri (string-append "mirror://gnome/sources/" name "/" |
1347 | (version-major+minor version) "/" | |
1348 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1349 | (sha256 |
1350 | (base32 | |
1351 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1352 | (build-system gnu-build-system) | |
1353 | (inputs | |
92dcc23d AE |
1354 | `(("python" ,python))) ;; needed for the optional libglade-convert program |
1355 | (propagated-inputs | |
5698b8b8 | 1356 | `(("gtk+-2" ,gtk+-2) |
92dcc23d | 1357 | ("libxml2" ,libxml2))) ; required by libglade-2.0.pc |
5698b8b8 JD |
1358 | (native-inputs |
1359 | `(("pkg-config" ,pkg-config))) | |
1360 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1361 | (synopsis "Load glade interfaces and access the glade built widgets") |
1362 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1363 | graphical interfaces described in glade files and for accessing the |
1364 | widgets built in the loading process.") | |
1365 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1366 | ||
1367 | (define-public libgnomeprint | |
eb497b66 LC |
1368 | ;; This library has been deprecated since 2006; see |
1369 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1370 | (package |
1371 | (name "libgnomeprint") | |
1372 | (version "2.8.2") | |
1373 | (source (origin | |
1374 | (method url-fetch) | |
b38e45d8 EB |
1375 | (uri (string-append "mirror://gnome/sources/" name "/" |
1376 | (version-major+minor version) "/" | |
1377 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1378 | (sha256 |
1379 | (base32 | |
6983ba56 | 1380 | "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")))) |
5698b8b8 JD |
1381 | (build-system gnu-build-system) |
1382 | (inputs | |
1383 | `(("popt" ,popt) | |
1384 | ("libart-lgpl" ,libart-lgpl) | |
1385 | ("gtk+" ,gtk+-2) | |
44add1ce | 1386 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1387 | (native-inputs |
1388 | `(("intltool" ,intltool) | |
221ed17a | 1389 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1390 | ("pkg-config" ,pkg-config))) |
1391 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1392 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1393 | (description |
1394 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1395 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1396 | (license license:lgpl2.0+))) |
1397 | ||
1398 | ||
1399 | (define-public libgnomeprintui | |
eb497b66 | 1400 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1401 | (package |
1402 | (name "libgnomeprintui") | |
1403 | (version "2.8.2") | |
1404 | (source (origin | |
1405 | (method url-fetch) | |
b38e45d8 EB |
1406 | (uri (string-append "mirror://gnome/sources/" name "/" |
1407 | (version-major+minor version) "/" | |
1408 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1409 | (sha256 |
1410 | (base32 | |
1411 | "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw")))) | |
1412 | (build-system gnu-build-system) | |
1413 | ;; Mentioned as Required in the .pc file | |
1414 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1415 | (inputs `(("gtk+" ,gtk+-2) | |
1416 | ("glib" ,glib) | |
1417 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1418 | ("libgnomecanvas" ,libgnomecanvas) | |
2e6ecc5c | 1419 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1420 | (native-inputs |
1421 | `(("intltool" ,intltool) | |
1422 | ("pkg-config" ,pkg-config))) | |
1423 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1424 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1425 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1426 | (license license:lgpl2.0+))) |
1427 | ||
5698b8b8 JD |
1428 | (define-public libbonoboui |
1429 | (package | |
1430 | (name "libbonoboui") | |
1431 | (version "2.24.5") | |
1432 | (source (origin | |
1433 | (method url-fetch) | |
b38e45d8 EB |
1434 | (uri (string-append "mirror://gnome/sources/" name "/" |
1435 | (version-major+minor version) "/" | |
1436 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1437 | (sha256 |
1438 | (base32 | |
1439 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1440 | (build-system gnu-build-system) | |
1441 | (arguments | |
1442 | `(#:phases | |
1443 | (alist-cons-before | |
1444 | 'check 'start-xserver | |
1445 | (lambda* (#:key inputs #:allow-other-keys) | |
1446 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1447 | (disp ":1")) | |
2e6ecc5c | 1448 | |
5698b8b8 JD |
1449 | (setenv "HOME" (getcwd)) |
1450 | (setenv "DISPLAY" disp) | |
1451 | ;; There must be a running X server and make check doesn't start one. | |
1452 | ;; Therefore we must do it. | |
1453 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))) | |
1454 | %standard-phases))) | |
1455 | ;; Mentioned as Required by the .pc file | |
1456 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1457 | (inputs | |
1458 | `(("popt" ,popt) | |
1459 | ("pangox-compat" ,pangox-compat) | |
1460 | ("libgnome" ,libgnome) | |
1461 | ("libgnomecanvas" ,libgnomecanvas) | |
1462 | ("libglade" ,libglade))) | |
1463 | (native-inputs | |
221ed17a EB |
1464 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
1465 | ("intltool" ,intltool) | |
5698b8b8 JD |
1466 | ("xorg-server" ,xorg-server) ; For running the tests |
1467 | ("pkg-config" ,pkg-config))) | |
1468 | (home-page "https://developer.gnome.org/libbonoboui/") | |
1469 | (synopsis "Some user interface controls using Bonobo") | |
1470 | (description "The Bonobo UI library provides a number of user interface | |
1471 | controls using the Bonobo component framework.") | |
1472 | (license license:lgpl2.0+))) | |
1473 | ||
fecbf86e SB |
1474 | (define-public libwnck |
1475 | (package | |
1476 | (name "libwnck") | |
6983ba56 | 1477 | (version "3.14.1") |
fecbf86e SB |
1478 | (source (origin |
1479 | (method url-fetch) | |
1480 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1481 | (version-major+minor version) "/" | |
1482 | name "-" version ".tar.xz")) | |
1483 | (sha256 | |
6983ba56 | 1484 | (base32 "1ymya8gkjygvg0i901wr3q6ihfqxx5yf4g4pb6fag2iw8af3qr5v")))) |
fecbf86e SB |
1485 | (build-system gnu-build-system) |
1486 | (native-inputs | |
1487 | `(("pkg-config" ,pkg-config) | |
1488 | ("intltool" ,intltool))) | |
1489 | (propagated-inputs | |
427476d5 SB |
1490 | `(("gtk+" ,gtk+) |
1491 | ("libxres" ,libxres) | |
1492 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
1493 | (home-page "https://developer.gnome.org/libwnck/") |
1494 | (synopsis "Window Navigator Construction Kit") | |
1495 | (description | |
1496 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
1497 | writing pagers, tasklists, and more generally applications that are dealing | |
1498 | with window management. It tries hard to respect the Extended Window Manager | |
1499 | Hints specification (EWMH).") | |
1500 | (license license:lgpl2.0+))) | |
1501 | ||
1502 | ;; stable version for gtk2, required by xfwm4. | |
dbb7a081 | 1503 | (define-public libwnck-2 |
fecbf86e SB |
1504 | (package (inherit libwnck) |
1505 | (name "libwnck") | |
1506 | (version "2.30.7") | |
1507 | (source (origin | |
1508 | (method url-fetch) | |
1509 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1510 | (version-major+minor version) "/" | |
1511 | name "-" version ".tar.xz")) | |
1512 | (sha256 | |
1513 | (base32 | |
1514 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
1515 | (propagated-inputs | |
427476d5 SB |
1516 | `(("gtk+" ,gtk+-2) |
1517 | ("libxres" ,libxres) | |
1518 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
1519 | |
1520 | (define-public goffice | |
1521 | (package | |
1522 | (name "goffice") | |
6983ba56 | 1523 | (version "0.10.28") |
b804c61e JD |
1524 | (source (origin |
1525 | (method url-fetch) | |
b38e45d8 EB |
1526 | (uri (string-append "mirror://gnome/sources/" name "/" |
1527 | (version-major+minor version) "/" | |
1528 | name "-" version ".tar.xz")) | |
b804c61e | 1529 | (sha256 |
6983ba56 | 1530 | (base32 "12rsgxrixkfpk420gv026i74pnlgqjzsvm6vffrmih54w46hd3q6")))) |
b804c61e | 1531 | (build-system gnu-build-system) |
72a06d3e LC |
1532 | (outputs '("out" |
1533 | "doc")) ;4.1 MiB of gtk-doc | |
1534 | (arguments | |
1535 | '(#:configure-flags (list (string-append "--with-html-dir=" | |
1536 | (assoc-ref %outputs "doc") | |
1537 | "/share/gtk-doc/html")))) | |
b804c61e JD |
1538 | (inputs |
1539 | `(("gtk+" ,gtk+) | |
1540 | ("libgsf" ,libgsf) | |
1541 | ("librsvg" ,librsvg) | |
1542 | ("libxslt" ,libxslt) | |
1543 | ("libxml2" ,libxml2))) | |
1544 | (native-inputs | |
1545 | `(("intltool" ,intltool) | |
f280cdb1 | 1546 | ("glib" ,glib "bin") |
b804c61e JD |
1547 | ("pkg-config" ,pkg-config))) |
1548 | (home-page "https://developer.gnome.org/goffice/") | |
1549 | (synopsis "Document-centric objects and utilities") | |
1550 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
2e6ecc5c | 1551 | (license |
b804c61e JD |
1552 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1553 | ;; Note: NOT LGPL | |
1554 | (list license:gpl2 license:gpl3)))) | |
1555 | ||
c024ae36 RW |
1556 | (define-public goffice-0.8 |
1557 | (package (inherit goffice) | |
1558 | (version "0.8.17") | |
1559 | (source (origin | |
1560 | (method url-fetch) | |
1561 | (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/" | |
1562 | (version-major+minor version) "/" | |
1563 | (package-name goffice) "-" version ".tar.xz")) | |
1564 | (sha256 | |
1565 | (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n")))) | |
1566 | (arguments | |
1567 | `(#:phases | |
1568 | (alist-cons-after | |
1569 | 'unpack 'fix-pcre-check | |
1570 | (lambda _ | |
1571 | ;; Only glib.h can be included directly. See | |
1572 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316 | |
1573 | (substitute* "configure" | |
1574 | (("glib/gregex\\.h") "glib.h")) #t) | |
72a06d3e LC |
1575 | %standard-phases) |
1576 | ||
1577 | ,@(package-arguments goffice))) | |
c024ae36 RW |
1578 | (propagated-inputs |
1579 | ;; libgoffice-0.8.pc mentions libgsf-1 | |
1580 | `(("libgsf" ,libgsf))) | |
1581 | (inputs | |
1582 | `(("gtk" ,gtk+-2) | |
1583 | ,@(alist-delete "gtk" (package-inputs goffice)))))) | |
1584 | ||
b804c61e JD |
1585 | (define-public gnumeric |
1586 | (package | |
1587 | (name "gnumeric") | |
6983ba56 | 1588 | (version "1.12.28") |
b804c61e JD |
1589 | (source (origin |
1590 | (method url-fetch) | |
b38e45d8 EB |
1591 | (uri (string-append "mirror://gnome/sources/" name "/" |
1592 | (version-major+minor version) "/" | |
1593 | name "-" version ".tar.xz")) | |
b804c61e JD |
1594 | (sha256 |
1595 | (base32 | |
6983ba56 | 1596 | "1fsdp7r6fhc0m3fb4ly4xwh83v3hp2zrv9d0713g4lcy709svm02")))) |
b804c61e JD |
1597 | (build-system gnu-build-system) |
1598 | (arguments | |
1599 | `(;; The gnumeric developers don't worry much about failing tests. | |
1600 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
2e6ecc5c | 1601 | #:tests? #f |
b804c61e | 1602 | #:phases |
7bcbd40d EF |
1603 | (modify-phases %standard-phases |
1604 | (add-before | |
1605 | 'configure 'pre-conf | |
1606 | (lambda* (#:key outputs #:allow-other-keys) | |
1607 | ;; Make install tries to write into the directory of goffice | |
1608 | ;; I am informed that this only affects the possibility to embed a | |
1609 | ;; spreadsheet inside an Abiword document. So presumably when we | |
1610 | ;; package Abiword we'll have to refer it to this directory. | |
1611 | (substitute* "configure" | |
1612 | (("^GOFFICE_PLUGINS_DIR=.*") | |
1613 | (string-append "GOFFICE_PLUGINS_DIR=" | |
1614 | (assoc-ref outputs "out") | |
1615 | "/goffice/plugins")))))))) | |
b804c61e JD |
1616 | (inputs |
1617 | `(("glib" ,glib) | |
1618 | ("gtk+" ,gtk+) | |
1619 | ("goffice" ,goffice) | |
1620 | ("libgsf" ,libgsf) | |
7bcbd40d | 1621 | ("librsvg" ,librsvg) |
b804c61e | 1622 | ("libxml2" ,libxml2) |
7bcbd40d | 1623 | ("libxslt" ,libxslt) |
2e4c5457 | 1624 | ("python" ,python-2) |
6983ba56 | 1625 | ("python2-pygobject" ,python2-pygobject) |
b804c61e JD |
1626 | ("zlib" ,zlib))) |
1627 | (native-inputs | |
6983ba56 SB |
1628 | `(("bison" ,bison) |
1629 | ("intltool" ,intltool) | |
b9663471 | 1630 | ("glib:bin" ,glib "bin") |
b804c61e JD |
1631 | ("pkg-config" ,pkg-config))) |
1632 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
1633 | (synopsis "Spreadsheet application") |
1634 | (description | |
1635 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
1636 | interoperable with other spreadsheet applications. It has a vast array of | |
1637 | features beyond typical spreadsheet functionality, such as support for linear | |
1638 | and non-linear solvers, statistical analysis, and telecommunication | |
1639 | engineering.") | |
1640 | (license | |
b804c61e JD |
1641 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1642 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
1643 | |
1644 | (define-public gnome-themes-standard | |
1645 | (package | |
1646 | (name "gnome-themes-standard") | |
6983ba56 | 1647 | (version "3.20") |
6f885c05 FB |
1648 | (source |
1649 | (origin | |
1650 | (method url-fetch) | |
2e6ecc5c | 1651 | (uri (string-append "mirror://gnome/sources/" name "/" |
6f885c05 FB |
1652 | (version-major+minor version) "/" name "-" |
1653 | version ".tar.xz")) | |
1654 | (sha256 | |
1655 | (base32 | |
6983ba56 | 1656 | "1p1vvmzfky1ax3yv9ld10xgqwydhmglxpgq3skrfc4539nrq9phw")))) |
6f885c05 FB |
1657 | (build-system gnu-build-system) |
1658 | (inputs | |
1659 | `(("gtk+" ,gtk+) | |
1660 | ("gtk+-2" ,gtk+-2) | |
1661 | ("librsvg" ,librsvg) | |
1662 | ("libxml2" ,libxml2) | |
1663 | ("glib" ,glib))) | |
1664 | (native-inputs | |
1665 | `(("intltool" ,intltool) | |
1666 | ("glib:bin" ,glib "bin") | |
1667 | ("pkg-config" ,pkg-config))) | |
6f885c05 FB |
1668 | (home-page "https://launchpad.net/gnome-themes-standard") |
1669 | (synopsis "Default GNOME 3 themes") | |
1670 | (description | |
1671 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
1672 | (license license:lgpl2.1+))) | |
5a659a48 | 1673 | |
df90c701 RW |
1674 | (define-public seahorse |
1675 | (package | |
1676 | (name "seahorse") | |
6983ba56 | 1677 | (version "3.20.0") |
df90c701 RW |
1678 | (source |
1679 | (origin | |
1680 | (method url-fetch) | |
1681 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1682 | (version-major+minor version) "/" name "-" | |
1683 | version ".tar.xz")) | |
1684 | (sha256 | |
1685 | (base32 | |
6983ba56 | 1686 | "1py6fj19kb8aaxvg6yrpd0876azc2zjvis98aqz37a2lxmhp9c72")))) |
df90c701 RW |
1687 | (build-system glib-or-gtk-build-system) |
1688 | (inputs | |
1689 | `(("gtk+" ,gtk+) | |
1690 | ("gcr" ,gcr) | |
34b979b9 | 1691 | ("gnupg" ,gnupg) |
df90c701 | 1692 | ("gpgme" ,gpgme) |
34b979b9 | 1693 | ("openldap" ,openldap) |
4a1bf090 | 1694 | ("openssh" ,openssh) |
34b979b9 EF |
1695 | ("libsecret" ,libsecret) |
1696 | ("libsoup" ,libsoup))) | |
df90c701 RW |
1697 | (native-inputs |
1698 | `(("intltool" ,intltool) | |
1699 | ("glib:bin" ,glib "bin") | |
1700 | ("itstool" ,itstool) | |
bcb354ad SB |
1701 | ("pkg-config" ,pkg-config) |
1702 | ("xmllint" ,libxml2))) | |
df90c701 RW |
1703 | (home-page "https://launchpad.net/gnome-themes-standard") |
1704 | (synopsis "Manage encryption keys and passwords in the GNOME keyring") | |
1705 | (description | |
1706 | "Seahorse is a GNOME application for managing encryption keys and | |
1707 | passwords in the GNOME keyring.") | |
1708 | (license license:gpl2+))) | |
1709 | ||
5a659a48 SB |
1710 | (define-public vala |
1711 | (package | |
1712 | (name "vala") | |
6983ba56 | 1713 | (version "0.32.0") |
5a659a48 SB |
1714 | (source (origin |
1715 | (method url-fetch) | |
1716 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1717 | (version-major+minor version) "/" | |
1718 | name "-" version ".tar.xz")) | |
1719 | (sha256 | |
1720 | (base32 | |
6983ba56 | 1721 | "0vpvq403vdd25irvgk7zibz3nw4x4i17m0dgnns8j1q4vr7am8h7")))) |
5a659a48 | 1722 | (build-system gnu-build-system) |
1ea90625 SB |
1723 | (arguments |
1724 | '(#:phases | |
1725 | (modify-phases %standard-phases | |
f4925a4f | 1726 | (add-before 'check 'pre-check |
1ea90625 SB |
1727 | (lambda _ |
1728 | (setenv "CC" "gcc") | |
f4925a4f SB |
1729 | ;; For missing '/etc/machine-id'. |
1730 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
1ea90625 | 1731 | #t))))) |
5a659a48 SB |
1732 | (native-inputs |
1733 | `(("pkg-config" ,pkg-config) | |
1734 | ("flex" ,flex) | |
1735 | ("bison" ,bison) | |
1736 | ("xsltproc" ,libxslt) | |
1737 | ("dbus" ,dbus) ; for dbus tests | |
1738 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
1739 | (propagated-inputs | |
1740 | `(("glib" ,glib))) ; required by libvala-0.26.pc | |
1741 | (home-page "http://live.gnome.org/Vala/") | |
1742 | (synopsis "Compiler for the GObject type system") | |
1743 | (description | |
1744 | "Vala is a programming language that aims to bring modern programming | |
1745 | language features to GNOME developers without imposing any additional runtime | |
1746 | requirements and without using a different ABI compared to applications and | |
1747 | libraries written in C.") | |
1748 | (license license:lgpl2.1+))) | |
ea57378f SB |
1749 | |
1750 | (define-public vte | |
1751 | (package | |
1752 | (name "vte") | |
b8f551d9 | 1753 | (version "0.44.1") |
ea57378f SB |
1754 | (source (origin |
1755 | (method url-fetch) | |
1756 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1757 | (version-major+minor version) "/" | |
1758 | name "-" version ".tar.xz")) | |
1759 | (sha256 | |
1760 | (base32 | |
b8f551d9 | 1761 | "0kjxzqcwqxky0l7bl8ydn9hl6fm1f0k2pl91wbbhyq4z6d4dabbi")))) |
ea57378f | 1762 | (build-system gnu-build-system) |
6983ba56 SB |
1763 | (arguments |
1764 | ;; XXX: fails to compile tests with the default flags. | |
1765 | ;; vteconv.cc:774:40: | |
1766 | ;; error: missing sentinel in function call [-Werror=format=] | |
1767 | ;; g_test_init (&argc, &argv, NULL); | |
1768 | ;; | |
1769 | ;; cc1plus: some warnings being treated as errors | |
1770 | '(#:configure-flags '("CXXFLAGS=-Wformat=0"))) | |
ea57378f SB |
1771 | (native-inputs |
1772 | `(("pkg-config" ,pkg-config) | |
1773 | ("intltool" ,intltool) | |
1774 | ("vala" ,vala) | |
1775 | ("gobject-introspection" ,gobject-introspection) | |
1776 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
1777 | ("xmllint" ,libxml2))) | |
1778 | (propagated-inputs | |
302393bc LC |
1779 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
1780 | ("gnutls" ,gnutls))) ;ditto | |
ea57378f SB |
1781 | (home-page "http://www.gnome.org/") |
1782 | (synopsis "Virtual Terminal Emulator") | |
1783 | (description | |
1784 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
1785 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
1786 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
1787 | editors, IDEs, etc.") | |
1788 | (license license:lgpl2.1+))) | |
1789 | ||
2776d72c EF |
1790 | ;; provides vte 2.90, required for some terminal emulators |
1791 | ;; tilda bug: https://github.com/lanoxx/tilda/issues/94 | |
1792 | ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021 | |
1793 | ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/ | |
1794 | ;; pantheon-terminal, roxterm are not currently packaged | |
1795 | (define-public vte-0.36 | |
1796 | (package (inherit vte) | |
1797 | (name "vte") | |
1798 | (version "0.36.5") | |
1799 | (source (origin | |
1800 | (method url-fetch) | |
1801 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1802 | (version-major+minor version) "/" | |
1803 | name "-" version ".tar.xz")) | |
1804 | (sha256 | |
1805 | (base32 | |
1806 | "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2")))) | |
1807 | (propagated-inputs | |
1808 | `(("gtk" ,gtk+) | |
1809 | ("ncurses" ,ncurses))))) | |
1810 | ||
ea57378f SB |
1811 | ;; stable version for gtk2, required by xfce4-terminal. |
1812 | (define-public vte/gtk+-2 | |
1813 | (package (inherit vte) | |
1814 | (name "vte") | |
1815 | (version "0.28.2") | |
1816 | (source (origin | |
1817 | (method url-fetch) | |
1818 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1819 | (version-major+minor version) "/" | |
1820 | name "-" version ".tar.xz")) | |
1821 | (sha256 | |
1822 | (base32 | |
1823 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")))) | |
1824 | (arguments | |
1825 | '(#:configure-flags '("--disable-python"))) | |
1826 | (native-inputs | |
1827 | `(("pkg-config" ,pkg-config) | |
1828 | ("intltool" ,intltool) | |
1829 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
1830 | (propagated-inputs | |
1831 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
1832 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 FB |
1833 | |
1834 | (define-public dconf | |
1835 | (package | |
1836 | (name "dconf") | |
6983ba56 | 1837 | (version "0.26.0") |
b47e1b20 FB |
1838 | (source (origin |
1839 | (method url-fetch) | |
1840 | (uri (string-append | |
2e6ecc5c | 1841 | "mirror://gnome/sources/" name "/" |
b47e1b20 FB |
1842 | (version-major+minor version) "/" |
1843 | name "-" version ".tar.xz")) | |
1844 | (sha256 | |
f05c809f | 1845 | (base32 |
6983ba56 | 1846 | "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6")))) |
b47e1b20 FB |
1847 | (build-system glib-or-gtk-build-system) |
1848 | (inputs | |
1849 | `(("gtk+" ,gtk+) | |
1850 | ("glib" ,glib) | |
1851 | ("dbus" ,dbus) | |
1852 | ("libxml2" ,libxml2))) | |
1853 | (native-inputs | |
1854 | `(("libxslt" ,libxslt) | |
1855 | ("docbook-xml" ,docbook-xml-4.2) | |
1856 | ("docbook-xsl" ,docbook-xsl) | |
1857 | ("intltool" ,intltool) | |
1858 | ("pkg-config" ,pkg-config))) | |
1859 | (arguments | |
1860 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
1861 | ; or /etc/machine-id. | |
1862 | #:configure-flags | |
1863 | ;; Set the correct RUNPATH in binaries. | |
2e6ecc5c | 1864 | (list (string-append "LDFLAGS=-Wl,-rpath=" |
b47e1b20 FB |
1865 | (assoc-ref %outputs "out") "/lib") |
1866 | "--disable-gtk-doc-html") ; FIXME: requires gtk-doc | |
1867 | #:phases | |
1868 | (alist-cons-before | |
1869 | 'configure 'fix-docbook | |
1870 | (lambda* (#:key inputs #:allow-other-keys) | |
1871 | (substitute* "docs/Makefile.in" | |
1872 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
2e6ecc5c | 1873 | (string-append (assoc-ref inputs "docbook-xsl") |
b47e1b20 FB |
1874 | "/xml/xsl/docbook-xsl-" |
1875 | ,(package-version docbook-xsl) | |
1876 | "/manpages/docbook.xsl"))) | |
2e6ecc5c AE |
1877 | (setenv "XML_CATALOG_FILES" |
1878 | (string-append (assoc-ref inputs "docbook-xml") | |
b47e1b20 FB |
1879 | "/xml/dtd/docbook/catalog.xml"))) |
1880 | %standard-phases))) | |
1881 | (home-page "https://developer.gnome.org/dconf") | |
1882 | (synopsis "Low-level GNOME configuration system") | |
1883 | (description "Dconf is a low-level configuration system. Its main purpose | |
1884 | is to provide a backend to GSettings on platforms that don't already have | |
1885 | configuration storage systems.") | |
1886 | (license license:lgpl2.1))) | |
109da1c0 AE |
1887 | |
1888 | (define-public json-glib | |
1889 | (package | |
1890 | (name "json-glib") | |
6983ba56 | 1891 | (version "1.2.0") |
109da1c0 AE |
1892 | (source (origin |
1893 | (method url-fetch) | |
1894 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1895 | (version-major+minor version) "/" | |
1896 | name "-" version ".tar.xz")) | |
1897 | (sha256 | |
1898 | (base32 | |
6983ba56 | 1899 | "1lx7p1c7cl21byvfgw92n8dhm09vi6qxrs0zkx9dg3y096zdzmlr")) |
4955ab7d SB |
1900 | (modules '((guix build utils))) |
1901 | (snippet | |
1902 | ;; Don't duplicate test names. | |
1903 | ;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>. | |
1904 | '(substitute* "json-glib/tests/builder.c" | |
1905 | (("\"/builder/complex\", test_builder_empty") | |
1906 | "\"/builder/empty\", test_builder_empty"))))) | |
109da1c0 AE |
1907 | (build-system gnu-build-system) |
1908 | (native-inputs | |
88c6b580 | 1909 | `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal |
109da1c0 AE |
1910 | ("gobject-introspection" ,gobject-introspection) |
1911 | ("pkg-config" ,pkg-config))) | |
1912 | (propagated-inputs | |
88c6b580 | 1913 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
1914 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
1915 | (synopsis "Compiler for the GObject type system") | |
7c125ce0 AK |
1916 | (description |
1917 | "JSON-GLib is a C library based on GLib providing serialization and | |
1918 | deserialization support for the JavaScript Object Notation (JSON) format | |
1919 | described by RFC 4627. It provides parser and generator GObject classes and | |
1920 | various wrappers for the complex data types employed by JSON, such as arrays | |
1921 | and objects.") | |
109da1c0 | 1922 | (license license:lgpl2.1+))) |
6f96a359 SB |
1923 | |
1924 | (define-public libxklavier | |
1925 | (package | |
1926 | (name "libxklavier") | |
1927 | (version "5.3") | |
1928 | (source (origin | |
1929 | (method url-fetch) | |
1930 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1931 | version "/" name "-" version ".tar.xz")) | |
1932 | (sha256 | |
1933 | (base32 | |
1934 | "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) | |
1935 | (build-system gnu-build-system) | |
1936 | (arguments | |
1937 | '(#:configure-flags | |
1938 | (list (string-append "--with-xkb-base=" | |
1939 | (assoc-ref %build-inputs "xkeyboard-config") | |
b19d6805 | 1940 | "/share/X11/xkb")))) |
6f96a359 SB |
1941 | (native-inputs |
1942 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
1943 | ("gobject-introspection" ,gobject-introspection) | |
1944 | ("pkg-config" ,pkg-config))) | |
1945 | (propagated-inputs | |
1946 | ;; Required by libxklavier.pc. | |
1947 | `(("glib" ,glib) | |
1948 | ("libxml2" ,libxml2))) | |
1949 | (inputs | |
1950 | `(("iso-codes" ,iso-codes) | |
1951 | ("libxi" ,libxi) | |
1952 | ("libxkbfile" ,libxkbfile) | |
1953 | ("xkbcomp" ,xkbcomp) | |
1954 | ("xkeyboard-config" ,xkeyboard-config))) | |
1955 | (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/") | |
1956 | (synopsis "High-level API for X Keyboard Extension") | |
1957 | (description | |
1958 | "LibXklavier is a library providing high-level API for X Keyboard | |
e881752c AK |
1959 | Extension known as XKB. This library is intended to support XFree86 and other |
1960 | commercial X servers. It is useful for creating XKB-related software (layout | |
6f96a359 SB |
1961 | indicators etc).") |
1962 | (license license:lgpl2.0+))) | |
619936a4 LC |
1963 | |
1964 | (define-public python2-rsvg | |
1965 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
1966 | (package | |
1967 | (name "python2-rsvg") | |
1968 | (version "2.32.0") | |
1969 | (source | |
1970 | (origin | |
1971 | (method url-fetch) | |
1972 | (uri (string-append | |
1973 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
1974 | version ".tar.bz2")) | |
1975 | (sha256 | |
1976 | (base32 | |
1977 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
1978 | (build-system gnu-build-system) | |
1979 | (native-inputs | |
1980 | `(("pkg-config" ,pkg-config))) | |
1981 | (inputs | |
1982 | `(("python" ,python-2) | |
1983 | ("python2-pygtk" ,python2-pygtk) | |
1984 | ("librsvg" ,librsvg))) | |
1985 | (home-page "http://www.gnome.org") | |
1986 | (synopsis "Python bindings to librsvg") | |
1987 | (description | |
1988 | "This packages provides Python bindings to librsvg, the SVG rendering | |
1989 | library.") | |
1990 | ||
1991 | ;; This is the license of the rsvg bindings. The license of each module | |
1992 | ;; of gnome-python-desktop is given in 'COPYING'. | |
1993 | (license license:lgpl2.1+))) | |
a31a6d22 | 1994 | |
f2ca414a SB |
1995 | (define-public glib-networking |
1996 | (package | |
1997 | (name "glib-networking") | |
7958a55d | 1998 | (version "2.48.1") |
f2ca414a SB |
1999 | (source (origin |
2000 | (method url-fetch) | |
2001 | (uri (string-append "mirror://gnome/sources/glib-networking/" | |
2002 | (version-major+minor version) "/" | |
2003 | name "-" version ".tar.xz")) | |
2004 | (sha256 | |
2005 | (base32 | |
7958a55d | 2006 | "0jm4pr91kbq7rcyll08840zkagb9vfhhm2ymyrd1q0b0k2mj76fg")) |
907f939b | 2007 | (patches |
fc1adab1 | 2008 | (search-patches "glib-networking-ssl-cert-file.patch")))) |
f2ca414a SB |
2009 | (build-system gnu-build-system) |
2010 | (arguments | |
2011 | `(#:configure-flags | |
907f939b | 2012 | '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt") |
f2ca414a SB |
2013 | #:phases |
2014 | (modify-phases %standard-phases | |
3a4de6b2 | 2015 | (add-before 'configure 'patch-giomoduledir |
f2ca414a SB |
2016 | ;; Install GIO modules into $out/lib/gio/modules. |
2017 | (lambda _ | |
2018 | (substitute* "configure" | |
2019 | (("GIO_MODULE_DIR=.*") | |
2020 | (string-append "GIO_MODULE_DIR=" %output | |
907f939b SB |
2021 | "/lib/gio/modules\n"))))) |
2022 | (add-before 'check 'use-empty-ssl-cert-file | |
2023 | (lambda _ | |
2024 | ;; The ca-certificates.crt is not available in the build | |
2025 | ;; environment. | |
2026 | (setenv "SSL_CERT_FILE" "/dev/null") | |
2027 | #t))))) | |
f2ca414a SB |
2028 | (native-inputs |
2029 | `(("pkg-config" ,pkg-config) | |
2030 | ("intltool" ,intltool))) | |
2031 | (inputs | |
2032 | `(("glib" ,glib) | |
2033 | ("gnutls" ,gnutls) | |
2034 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
2035 | ("p11-kit" ,p11-kit))) | |
2036 | (home-page "http://www.gnome.org") | |
2037 | (synopsis "Network-related GIO modules") | |
2038 | (description | |
2039 | "This package contains various network related extensions for the GIO | |
2040 | library.") | |
2041 | (license license:lgpl2.0+))) | |
2042 | ||
ca649680 | 2043 | (define-public rest |
4510b2da | 2044 | (package |
ca649680 | 2045 | (name "rest") |
90000d4b | 2046 | (version "0.8.0") |
4510b2da SB |
2047 | (source (origin |
2048 | (method url-fetch) | |
2049 | (uri (string-append "mirror://gnome/sources/rest/" | |
ca649680 SB |
2050 | (version-major+minor version) "/" |
2051 | name "-" version ".tar.xz")) | |
4510b2da SB |
2052 | (sha256 |
2053 | (base32 | |
90000d4b | 2054 | "0iznvzhab1jq9z3nwy97dh2pid9azwkqm7kkxwx0f5ql1hh9pf77")))) |
4510b2da SB |
2055 | (build-system gnu-build-system) |
2056 | (arguments | |
2057 | '(#:tests? #f ; tests require internet connection | |
2058 | #:configure-flags | |
2059 | '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"))) | |
2060 | (native-inputs | |
2061 | `(("glib-mkenums" ,glib "bin") | |
2062 | ("gobject-introspection" ,gobject-introspection) | |
2063 | ("pkg-config" ,pkg-config))) | |
2064 | (propagated-inputs | |
2065 | ;; rest-0.7.pc refers to all these. | |
2066 | `(("glib" ,glib) | |
2067 | ("libsoup" ,libsoup) | |
2068 | ("libxml2" ,libxml2))) | |
2069 | (home-page "http://www.gtk.org/") | |
2070 | (synopsis "RESTful web api query library") | |
2071 | (description | |
2072 | "This library was designed to make it easier to access web services that | |
2073 | claim to be \"RESTful\". It includes convenience wrappers for libsoup and | |
2074 | libxml to ease remote use of the RESTful API.") | |
2075 | (license license:lgpl2.1+))) | |
2076 | ||
6e1bb642 SB |
2077 | (define-public libsoup |
2078 | (package | |
2079 | (name "libsoup") | |
a28bf6b4 | 2080 | (version "2.54.1") |
6e1bb642 SB |
2081 | (source (origin |
2082 | (method url-fetch) | |
2083 | (uri (string-append "mirror://gnome/sources/libsoup/" | |
2084 | (version-major+minor version) "/" | |
2085 | name "-" version ".tar.xz")) | |
2086 | (sha256 | |
2087 | (base32 | |
a28bf6b4 | 2088 | "0cyn5pq4xl1gb8413h2p4d5wrn558dc054zhwmk4swrl40ijrd27")))) |
6e1bb642 SB |
2089 | (build-system gnu-build-system) |
2090 | (outputs '("out" "doc")) | |
2091 | (arguments | |
b19d6805 | 2092 | `(#:configure-flags |
6e1bb642 SB |
2093 | (list (string-append "--with-html-dir=" |
2094 | (assoc-ref %outputs "doc") | |
fd730590 | 2095 | "/share/gtk-doc/html")) |
6e1bb642 SB |
2096 | #:phases |
2097 | (modify-phases %standard-phases | |
3a4de6b2 | 2098 | (add-before 'configure 'disable-unconnected-socket-test |
6e1bb642 SB |
2099 | ;; This test fails due to missing /etc/nsswitch.conf |
2100 | ;; in the build environment. | |
2101 | (lambda _ | |
2102 | (substitute* "tests/socket-test.c" | |
2103 | ((".*/sockets/unconnected.*") "")) | |
2104 | #t)) | |
907f939b | 2105 | (add-before 'check 'pre-check |
6e1bb642 | 2106 | (lambda _ |
907f939b SB |
2107 | ;; The 'check-local' target runs 'env LANG=C sort -u', |
2108 | ;; unset 'LC_ALL' to make 'LANG' working. | |
6e1bb642 | 2109 | (unsetenv "LC_ALL") |
907f939b SB |
2110 | ;; The ca-certificates.crt is not available in the build |
2111 | ;; environment. | |
2112 | (setenv "SSL_CERT_FILE" "/dev/null") | |
fd730590 SB |
2113 | #t)) |
2114 | (replace 'install | |
2115 | (lambda _ | |
2116 | (zero? | |
2117 | (system* "make" | |
2118 | ;; Install vala bindings into $out. | |
2119 | (string-append "vapidir=" %output | |
2120 | "/share/vala/vapi") | |
2121 | "install"))))))) | |
6e1bb642 SB |
2122 | (native-inputs |
2123 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2124 | ("gobject-introspection" ,gobject-introspection) | |
2125 | ("intltool" ,intltool) | |
2126 | ("pkg-config" ,pkg-config) | |
2127 | ("python" ,python-wrapper) | |
fd730590 | 2128 | ("vala" ,vala) |
6e1bb642 SB |
2129 | ;; These are needed for the tests. |
2130 | ;; FIXME: Add PHP once available. | |
2131 | ("curl" ,curl) | |
2132 | ("httpd" ,httpd))) | |
2133 | (propagated-inputs | |
2134 | ;; libsoup-2.4.pc refers to all these. | |
2135 | `(("glib" ,glib) | |
2136 | ("libxml2" ,libxml2))) | |
2137 | (inputs | |
2138 | `(("glib-networking" ,glib-networking) | |
2139 | ("sqlite" ,sqlite))) | |
2140 | (home-page "https://live.gnome.org/LibSoup/") | |
2141 | (synopsis "GLib-based HTTP Library") | |
2142 | (description | |
2143 | "LibSoup is an HTTP client/server library for GNOME. It uses GObjects | |
2144 | and the GLib main loop, to integrate well with GNOME applications.") | |
2145 | (license license:lgpl2.0+))) | |
2146 | ||
bba229a3 SB |
2147 | (define-public libsecret |
2148 | (package | |
2149 | (name "libsecret") | |
6983ba56 | 2150 | (version "0.18.5") |
bba229a3 SB |
2151 | (source (origin |
2152 | (method url-fetch) | |
2153 | (uri (string-append | |
896dcbc7 EF |
2154 | "mirror://gnome/sources/libsecret/" |
2155 | (version-major+minor version) "/" | |
bba229a3 SB |
2156 | name "-" version ".tar.xz")) |
2157 | (sha256 | |
2158 | (base32 | |
6983ba56 | 2159 | "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww")))) |
bba229a3 SB |
2160 | (build-system gnu-build-system) |
2161 | (outputs '("out" "doc")) | |
2162 | (arguments | |
2163 | `(#:tests? #f ; FIXME: Testing hangs. | |
bba229a3 SB |
2164 | #:configure-flags |
2165 | (list (string-append "--with-html-dir=" | |
2166 | (assoc-ref %outputs "doc") | |
2167 | "/share/gtk-doc/html")))) | |
2168 | (native-inputs | |
2169 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
2170 | ("gobject-introspection" ,gobject-introspection) | |
2171 | ("intltool" ,intltool) | |
2172 | ("pkg-config" ,pkg-config) | |
2173 | ("vala" ,vala) | |
2174 | ("xsltproc" ,libxslt))) | |
2175 | ;; These are needed for the tests. | |
2176 | ;; FIXME: Add gjs once available. | |
2177 | ;("dbus" ,dbus) | |
2178 | ;("python2" ,python-2) | |
2179 | ;("python2-dbus" ,python2-dbus) | |
2180 | ;("python2-pygobject" ,python2-pygobject) | |
2181 | ;("python2-pygobject-2" ,python2-pygobject-2))) | |
2182 | (propagated-inputs | |
2183 | `(("glib" ,glib))) ; required by libsecret-1.pc | |
2184 | (inputs | |
2185 | `(("docbook-xsl" ,docbook-xsl) | |
2186 | ("libgcrypt" ,libgcrypt) | |
2187 | ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES | |
2188 | (home-page "https://wiki.gnome.org/Projects/Libsecret/") | |
2189 | (synopsis "GObject bindings for \"Secret Service\" API") | |
2190 | (description | |
2191 | "Libsecret is a GObject based library for storing and retrieving passwords | |
2192 | and other secrets. It communicates with the \"Secret Service\" using DBus.") | |
2193 | (license license:lgpl2.1+))) | |
2194 | ||
a31a6d22 SB |
2195 | (define-public gnome-mines |
2196 | (package | |
2197 | (name "gnome-mines") | |
6983ba56 | 2198 | (version "3.20.0") |
a31a6d22 SB |
2199 | (source |
2200 | (origin | |
2201 | (method url-fetch) | |
2202 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2203 | (version-major+minor version) "/" | |
2204 | name "-" version ".tar.xz")) | |
2205 | (sha256 | |
2206 | (base32 | |
6983ba56 | 2207 | "19khp4ckqbdgk6828gprxy52fsg8klf957dnwsin75nskk8whxbp")))) |
a31a6d22 SB |
2208 | (build-system glib-or-gtk-build-system) |
2209 | (arguments | |
2210 | '(#:phases | |
2211 | (modify-phases %standard-phases | |
f8503e2b | 2212 | (add-before 'configure 'patch-/bin/true |
a31a6d22 SB |
2213 | (lambda _ |
2214 | (substitute* "configure" | |
6983ba56 | 2215 | (("/bin/true") (which "true")))))))) |
a31a6d22 SB |
2216 | (native-inputs |
2217 | `(("pkg-config" ,pkg-config) | |
2218 | ("desktop-file-utils" ,desktop-file-utils) | |
2219 | ("intltool" ,intltool) | |
bcb354ad SB |
2220 | ("itstool" ,itstool) |
2221 | ("xmllint" ,libxml2))) | |
a31a6d22 SB |
2222 | (inputs |
2223 | `(("gtk+" ,gtk+) | |
2224 | ("librsvg" ,librsvg))) | |
2225 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
2226 | (synopsis "Minesweeper game") | |
2227 | (description | |
2228 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
2229 | floating in an ocean using only your brain and a little bit of luck.") | |
2230 | (license license:gpl2+))) | |
88f70665 | 2231 | |
dfc407f3 KY |
2232 | (define-public gnome-sudoku |
2233 | (package | |
2234 | (name "gnome-sudoku") | |
319549c2 | 2235 | (version "3.20.0") |
dfc407f3 KY |
2236 | (source |
2237 | (origin | |
2238 | (method url-fetch) | |
2239 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2240 | (version-major+minor version) "/" | |
2241 | name "-" version ".tar.xz")) | |
2242 | (sha256 | |
2243 | (base32 | |
319549c2 | 2244 | "1n8hp3pl56p9s0c5kldk11zg1vg7ykhgn3ndp8nf375h1q49ldh8")))) |
dfc407f3 KY |
2245 | (build-system glib-or-gtk-build-system) |
2246 | (native-inputs | |
2247 | `(("pkg-config" ,pkg-config) | |
2248 | ("desktop-file-utils" ,desktop-file-utils) | |
2249 | ("intltool" ,intltool) | |
2250 | ("itstool" ,itstool) | |
2251 | ("xmllint" ,libxml2))) | |
2252 | (inputs | |
2253 | `(("gtk+" ,gtk+) | |
2254 | ("json-glib" ,json-glib) | |
2255 | ("libgee" ,libgee) | |
2256 | ("librsvg" ,librsvg) | |
2257 | ("qqwing" ,qqwing))) | |
2258 | (home-page "https://wiki.gnome.org/Apps/Sudoku") | |
2259 | (synopsis "Japanese logic game") | |
2260 | (description | |
2261 | "Sudoku is a Japanese logic game that exploded in popularity in 2005. | |
2262 | GNOME Sudoku is meant to have an interface as simple and unobstrusive as | |
2263 | possible while still providing features that make playing difficult Sudoku | |
2264 | more fun.") | |
2265 | (license license:gpl2+))) | |
2266 | ||
88f70665 AW |
2267 | (define-public gnome-terminal |
2268 | (package | |
2269 | (name "gnome-terminal") | |
e3cf0c71 | 2270 | (version "3.20.1") |
88f70665 AW |
2271 | (source |
2272 | (origin | |
2273 | (method url-fetch) | |
2274 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2275 | (version-major+minor version) "/" | |
2276 | name "-" version ".tar.xz")) | |
2277 | (sha256 | |
2278 | (base32 | |
e3cf0c71 | 2279 | "1508nm35znlfq9v1s2j4ypx5x608yq391c565b4hazxk2f5z9dwq")))) |
88f70665 AW |
2280 | (build-system glib-or-gtk-build-system) |
2281 | (arguments | |
2282 | '(#:configure-flags | |
2283 | (list "--disable-migration" "--disable-search-provider" | |
2284 | "--without-nautilus-extension") | |
2285 | #:phases | |
2286 | (modify-phases %standard-phases | |
3a4de6b2 | 2287 | (add-before 'configure 'patch-/bin/true |
88f70665 AW |
2288 | (lambda _ |
2289 | (substitute* "configure" | |
2290 | (("/bin/true") (which "true")))))))) | |
2291 | (native-inputs | |
2292 | `(("pkg-config" ,pkg-config) | |
2293 | ("desktop-file-utils" ,desktop-file-utils) | |
2294 | ("intltool" ,intltool) | |
bcb354ad SB |
2295 | ("itstool" ,itstool) |
2296 | ("xmllint" ,libxml2))) | |
68702167 MW |
2297 | (propagated-inputs |
2298 | `(("dconf" ,dconf))) | |
88f70665 AW |
2299 | (inputs |
2300 | `(("gtk+" ,gtk+) | |
2301 | ("vte" ,vte) | |
2302 | ("gnutls" ,gnutls) | |
88f70665 AW |
2303 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2304 | ("util-linux" ,util-linux) | |
2305 | ("vala" ,vala))) | |
2306 | (home-page "https://wiki.gnome.org/Apps/Terminal") | |
2307 | (synopsis "Terminal emulator") | |
2308 | (description | |
2309 | "GNOME Terminal is a terminal emulator application for accessing a | |
2310 | UNIX shell environment which can be used to run programs available on | |
2311 | your system. | |
2312 | ||
2313 | It supports several profiles, multiple tabs and implements several | |
2314 | keyboard shortcuts.") | |
2315 | (license license:gpl3+))) | |
75016d07 AW |
2316 | |
2317 | (define-public colord | |
2318 | (package | |
2319 | (name "colord") | |
2320 | (version "1.1.8") | |
2321 | (source | |
2322 | (origin | |
2323 | (method url-fetch) | |
5cc3096c | 2324 | (uri (string-append "https://www.freedesktop.org/software/colord/releases/" |
75016d07 AW |
2325 | name "-" version ".tar.xz")) |
2326 | (sha256 | |
2327 | (base32 | |
2328 | "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph")))) | |
2329 | (build-system glib-or-gtk-build-system) | |
2330 | (arguments | |
2331 | '(;; The tests want to run valgrind. Punt for now. | |
2332 | #:tests? #f | |
2333 | #:configure-flags (list "--localstatedir=/var" | |
2334 | ;; GUSB not packaged yet. | |
2335 | "--disable-gusb" | |
2336 | ;; No dep on systemd. | |
2337 | "--disable-systemd-login" | |
2338 | ;; Wants to install to global completion dir; | |
2339 | ;; punt. | |
2340 | "--disable-bash-completion" | |
2341 | ;; colord-gtk not packaged yet. | |
2342 | "--disable-session-example" | |
2343 | "--with-daemon-user=colord" | |
2344 | "--enable-sane" | |
2345 | (string-append "--with-udevrulesdir=" | |
2346 | (assoc-ref %outputs "out") | |
2347 | "/lib/udev/rules.d")) | |
2348 | #:phases | |
2349 | (modify-phases %standard-phases | |
3a4de6b2 | 2350 | (add-before 'configure 'patch-/bin/true |
75016d07 AW |
2351 | (lambda _ |
2352 | (substitute* "configure" | |
2353 | (("/bin/true") (which "true"))) | |
2354 | (substitute* "src/Makefile.in" | |
2355 | (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;") | |
b19d6805 | 2356 | "if test -w $(DESTDIR)$(localstatedir);"))))))) |
75016d07 AW |
2357 | (native-inputs |
2358 | `(("pkg-config" ,pkg-config) | |
2359 | ("gobject-introspection" ,gobject-introspection) | |
2360 | ("libtool" ,libtool) | |
2361 | ("intltool" ,intltool))) | |
65cb2d61 SB |
2362 | (propagated-inputs |
2363 | ;; colord.pc refers to all these. | |
2364 | `(("glib" ,glib) | |
2365 | ("udev" ,eudev) | |
2366 | ("lcms" ,lcms))) | |
75016d07 | 2367 | (inputs |
65cb2d61 | 2368 | `(("dbus-glib" ,dbus-glib) |
80c7dd1a | 2369 | ("libgudev" ,libgudev) |
75016d07 | 2370 | ("libusb" ,libusb) |
75016d07 AW |
2371 | ("sqlite" ,sqlite) |
2372 | ("polkit" ,polkit) | |
2373 | ("sane-backends" ,sane-backends))) | |
2374 | (home-page "http://www.freedesktop.org/software/colord/") | |
2375 | (synopsis "Color management service") | |
2376 | (description "Colord is a system service that makes it easy to manage, | |
2377 | install and generate color profiles to accurately color manage input and | |
2378 | output devices.") | |
2379 | (license license:gpl2+))) | |
7b2abd00 AW |
2380 | |
2381 | (define-public geoclue | |
2382 | (package | |
2383 | (name "geoclue") | |
54e911bc | 2384 | (version "2.4.3") |
7b2abd00 AW |
2385 | (source |
2386 | (origin | |
2387 | (method url-fetch) | |
5cc3096c | 2388 | (uri (string-append "https://www.freedesktop.org/software/" name |
7b2abd00 AW |
2389 | "/releases/" (version-major+minor version) "/" |
2390 | name "-" version ".tar.xz")) | |
2391 | (sha256 | |
2392 | (base32 | |
54e911bc | 2393 | "0pk07k65dlw37nz8z5spksivsv5nh96xmbi336rf2yfxf2ldpadd")) |
fc1adab1 | 2394 | (patches (search-patches "geoclue-config.patch")))) |
7b2abd00 AW |
2395 | (build-system glib-or-gtk-build-system) |
2396 | (arguments | |
2397 | '(;; The tests want to run the system bus. | |
2398 | #:tests? #f | |
2399 | #:configure-flags (list ;; Disable bits requiring ModemManager. | |
2400 | "--disable-3g-source" | |
2401 | "--disable-cdma-source" | |
2402 | "--disable-modem-gps-source" | |
2403 | "--with-dbus-service-user=geoclue") | |
2404 | #:phases | |
2405 | (modify-phases %standard-phases | |
3a4de6b2 | 2406 | (add-before 'configure 'patch-/bin/true |
7b2abd00 AW |
2407 | (lambda _ |
2408 | (substitute* "configure" | |
2409 | (("/bin/true") (which "true")))))))) | |
2410 | (native-inputs | |
2411 | `(("pkg-config" ,pkg-config) | |
2412 | ("intltool" ,intltool))) | |
2413 | (inputs | |
54e911bc SB |
2414 | `(("avahi" ,avahi) |
2415 | ("glib" ,glib) | |
7b2abd00 AW |
2416 | ("json-glib" ,json-glib) |
2417 | ("libsoup" ,libsoup))) | |
2418 | (home-page "http://freedesktop.org/wiki/Software/GeoClue/") | |
2419 | (synopsis "Geolocation service") | |
2420 | (description "Geoclue is a D-Bus service that provides location | |
2421 | information. The primary goal of the Geoclue project is to make creating | |
2422 | location-aware applications as simple as possible, while the secondary goal is | |
2423 | to ensure that no application can access location information without explicit | |
e881752c | 2424 | permission from user.") |
7b2abd00 | 2425 | (license license:gpl2+))) |
2bfe7437 AW |
2426 | |
2427 | (define-public geocode-glib | |
2428 | (package | |
2429 | (name "geocode-glib") | |
3ffd46bd | 2430 | (version "3.20.1") |
2bfe7437 AW |
2431 | (source (origin |
2432 | (method url-fetch) | |
2433 | (uri (string-append "mirror://gnome/sources/geocode-glib/" | |
2434 | (version-major+minor version) "/" | |
2435 | name "-" version ".tar.xz")) | |
2436 | (sha256 | |
2437 | (base32 | |
3ffd46bd | 2438 | "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6")))) |
2bfe7437 AW |
2439 | (build-system gnu-build-system) |
2440 | (arguments | |
2441 | `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't | |
2442 | ;; work for the builder. Punt. | |
a124bbd2 | 2443 | #:tests? #f)) |
2bfe7437 AW |
2444 | (native-inputs |
2445 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2446 | ("gobject-introspection" ,gobject-introspection) | |
2447 | ("pkg-config" ,pkg-config) | |
2448 | ("json-glib" ,json-glib))) | |
2449 | (propagated-inputs | |
2450 | ;; geocode-glib-1.0.pc refers to GIO. | |
2451 | `(("glib" ,glib))) | |
2452 | (inputs | |
2453 | `(("libsoup" ,libsoup))) | |
2454 | (home-page "https://github.com/GNOME/geocode-glib/") | |
2455 | (synopsis "Geocoding and reverse-geocoding library") | |
2456 | (description | |
2457 | "geocode-glib is a convenience library for geocoding (finding longitude, | |
2458 | and latitude from an address) and reverse geocoding (finding an address from | |
2459 | coordinates) using the Nominatim service. geocode-glib caches requests for | |
2460 | faster results and to avoid unnecessary server load.") | |
2461 | (license license:lgpl2.0+))) | |
a1d5bb0e AW |
2462 | |
2463 | (define-public upower | |
2464 | (package | |
2465 | (name "upower") | |
d777e048 | 2466 | (version "0.99.3") |
a1d5bb0e AW |
2467 | (source (origin |
2468 | (method url-fetch) | |
5cc3096c | 2469 | (uri (string-append "https://upower.freedesktop.org/releases/" |
a1d5bb0e AW |
2470 | name "-" version ".tar.xz")) |
2471 | (sha256 | |
2472 | (base32 | |
d777e048 | 2473 | "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9")) |
fc1adab1 | 2474 | (patches (search-patches "upower-builddir.patch")))) |
a1d5bb0e AW |
2475 | (build-system glib-or-gtk-build-system) |
2476 | (arguments | |
2477 | '( ;; The tests want to contact the system bus, which can't be done in the | |
2478 | ;; build environment. The integration test can run, but the last of | |
2479 | ;; the up-self-tests doesn't. Disable tests for now. | |
2480 | #:tests? #f | |
2481 | #:configure-flags (list "--localstatedir=/var" | |
2482 | (string-append "--with-udevrulesdir=" | |
2483 | (assoc-ref %outputs "out") | |
2484 | "/lib/udev/rules.d")) | |
2485 | #:phases | |
2486 | (modify-phases %standard-phases | |
2487 | (add-before 'configure 'patch-/bin/true | |
2488 | (lambda _ | |
2489 | (substitute* "configure" | |
2490 | (("/bin/true") (which "true"))))) | |
2491 | (add-before 'configure 'patch-integration-test | |
2492 | (lambda _ | |
2493 | (substitute* "src/linux/integration-test" | |
2494 | (("/usr/bin/python3") (which "python3")))))))) | |
2495 | (native-inputs | |
ebeabe2d SB |
2496 | `(("gobject-introspection" ,gobject-introspection) |
2497 | ("pkg-config" ,pkg-config) | |
a1d5bb0e | 2498 | ("intltool" ,intltool) |
55409295 LC |
2499 | ("python" ,python) |
2500 | ||
2501 | ;; For man pages. | |
2502 | ("libxslt" ,libxslt) ;for 'xsltproc' | |
2503 | ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' | |
2504 | ("docbook-xsl" ,docbook-xsl))) | |
a1d5bb0e | 2505 | (inputs |
ea226291 SB |
2506 | `(("dbus-glib" ,dbus-glib) |
2507 | ("libgudev" ,libgudev) | |
a1d5bb0e AW |
2508 | ("libusb" ,libusb))) |
2509 | (home-page "http://upower.freedesktop.org/") | |
2510 | (synopsis "System daemon for managing power devices") | |
2511 | (description | |
2512 | "UPower is an abstraction for enumerating power devices, | |
2513 | listening to device events and querying history and statistics. Any | |
2514 | application or service on the system can access the org.freedesktop.UPower | |
2515 | service via the system message bus.") | |
2516 | (license license:gpl2+))) | |
6a180f6f AW |
2517 | |
2518 | (define-public libgweather | |
2519 | (package | |
2520 | (name "libgweather") | |
6983ba56 | 2521 | (version "3.20.0") |
6a180f6f AW |
2522 | (source (origin |
2523 | (method url-fetch) | |
2524 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2525 | (version-major+minor version) "/" | |
2526 | name "-" version ".tar.xz")) | |
2527 | (sha256 | |
2528 | (base32 | |
6983ba56 | 2529 | "1mmqg7wf0bhk450akyj0x71x75kh1v7j68isyivr75ydky79nqjj")))) |
6a180f6f AW |
2530 | (build-system gnu-build-system) |
2531 | (arguments | |
b6072e6b SB |
2532 | `(#:configure-flags |
2533 | `(,(string-append "--with-zoneinfo-dir=" | |
2534 | (assoc-ref %build-inputs "tzdata") | |
2535 | "/share/zoneinfo")) | |
2536 | #:phases | |
2537 | (modify-phases %standard-phases | |
2538 | (add-before | |
2539 | 'check 'pre-check | |
2540 | (lambda* (#:key inputs #:allow-other-keys) | |
2541 | (substitute* "data/check-timezones.sh" | |
2542 | (("/usr/share/zoneinfo/zone.tab") | |
2543 | (string-append (assoc-ref inputs "tzdata") | |
2544 | "/share/zoneinfo/zone.tab"))) | |
2545 | #t))))) | |
6a180f6f AW |
2546 | (native-inputs |
2547 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
b6072e6b | 2548 | ("gobject-introspection" ,gobject-introspection) |
6a180f6f AW |
2549 | ("pkg-config" ,pkg-config) |
2550 | ("intltool" ,intltool))) | |
2551 | (propagated-inputs | |
2552 | ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and | |
2553 | ;; libsoup. | |
2554 | `(("gtk+" ,gtk+) | |
2555 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2556 | ("libxml2" ,libxml2) | |
2557 | ("libsoup" ,libsoup))) | |
2558 | (inputs | |
2559 | `(("tzdata" ,tzdata) | |
2560 | ("geocode-glib" ,geocode-glib))) | |
2561 | (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") | |
2562 | (synopsis "Location, time zone, and weather library for GNOME") | |
2563 | (description | |
2564 | "libgweather is a library to access weather information from online | |
2565 | services for numerous locations.") | |
2566 | (license license:gpl2+))) | |
23a22af6 AW |
2567 | |
2568 | (define-public gnome-settings-daemon | |
2569 | (package | |
2570 | (name "gnome-settings-daemon") | |
35907ce1 | 2571 | (version "3.20.1") |
23a22af6 AW |
2572 | (source |
2573 | (origin | |
2574 | (method url-fetch) | |
2575 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2576 | (version-major+minor version) "/" | |
2577 | name "-" version ".tar.xz")) | |
2578 | (sha256 | |
2579 | (base32 | |
35907ce1 | 2580 | "1rvqisrh3lridsb8rvm7spvncyq206ly0245zgpbm8swi5fhfjp8")))) |
23a22af6 AW |
2581 | (build-system glib-or-gtk-build-system) |
2582 | (arguments | |
ec2b1921 | 2583 | `(;; Network manager not yet packaged. |
23a22af6 AW |
2584 | #:configure-flags '("--disable-network-manager") |
2585 | ;; Color management test can't reach the colord system service. | |
2586 | #:tests? #f)) | |
2587 | (native-inputs | |
2588 | `(("pkg-config" ,pkg-config) | |
2589 | ("intltool" ,intltool) | |
2590 | ("xsltproc" ,libxslt) | |
2591 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES | |
2592 | ("docbook-xml" ,docbook-xml-4.2) | |
2593 | ("docbook-xsl" ,docbook-xsl))) | |
2594 | (inputs | |
2595 | `(("colord" ,colord) | |
ea226291 | 2596 | ("libgudev" ,libgudev) |
23a22af6 AW |
2597 | ("upower" ,upower) |
2598 | ("polkit" ,polkit) | |
2599 | ("pulseaudio" ,pulseaudio) | |
2600 | ("libcanberra" ,libcanberra) | |
2601 | ("libx11" ,libx11) | |
2602 | ("libxtst" ,libxtst) | |
2603 | ("lcms" ,lcms) | |
2604 | ("libnotify" ,libnotify) | |
2605 | ("geoclue" ,geoclue) | |
2606 | ("geocode-glib" ,geocode-glib) | |
2607 | ("libgweather" ,libgweather) | |
2608 | ("gnome-desktop" ,gnome-desktop) | |
2609 | ("nss" ,nss) | |
2610 | ("cups" ,cups) | |
ec2b1921 AW |
2611 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2612 | ("libwacom" ,libwacom) | |
2613 | ("librsvg" ,librsvg) | |
2614 | ("xf86-input-wacom" ,xf86-input-wacom))) | |
23a22af6 AW |
2615 | (home-page "http://www.gnome.org") |
2616 | (synopsis "GNOME settings daemon") | |
2617 | (description | |
2618 | "This package contains the daemon responsible for setting the various | |
2619 | parameters of a GNOME session and the applications that run under it. It | |
2620 | handles settings such keyboard layout, shortcuts, and accessibility, clipboard | |
2621 | settings, themes, mouse settings, and startup of other daemons.") | |
2622 | (license license:gpl2+))) | |
1e7464a9 DH |
2623 | |
2624 | (define-public totem-pl-parser | |
2625 | (package | |
2626 | (name "totem-pl-parser") | |
6983ba56 | 2627 | (version "3.10.6") |
1e7464a9 DH |
2628 | (source (origin |
2629 | (method url-fetch) | |
2630 | (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/" | |
2631 | "totem-pl-parser-" version ".tar.xz")) | |
2632 | (sha256 | |
2633 | (base32 | |
6983ba56 | 2634 | "0mv7aw9mw77w04zg95zjf0zmk6ckshpysbb9nap15h5is6zdk9cq")))) |
1e7464a9 DH |
2635 | (build-system gnu-build-system) |
2636 | (arguments | |
2637 | ;; FIXME: Tests require gvfs. | |
2638 | `(#:tests? #f)) | |
2639 | (native-inputs | |
2640 | `(("intltool" ,intltool) | |
2641 | ("glib" ,glib "bin") | |
4d6d8281 | 2642 | ("gobject-introspection" ,gobject-introspection) |
1e7464a9 | 2643 | ("pkg-config" ,pkg-config))) |
22a6ad6a | 2644 | (propagated-inputs |
1e7464a9 DH |
2645 | `(("glib" ,glib) |
2646 | ("gmime" ,gmime) | |
22a6ad6a MW |
2647 | ("libxml2" ,libxml2))) |
2648 | (inputs | |
2649 | `(("libarchive" ,libarchive) | |
1e7464a9 DH |
2650 | ("libgcrypt" ,libgcrypt) |
2651 | ("nettle" ,nettle) | |
22a6ad6a | 2652 | ("libsoup" ,libsoup))) |
1e7464a9 DH |
2653 | (home-page "https://projects.gnome.org/totem") |
2654 | (synopsis "Library to parse and save media playlists for GNOME") | |
2655 | (description "Totem-pl-parser is a GObjects-based library to parse and save | |
2656 | playlists in a variety of formats.") | |
2657 | (license license:lgpl2.0+))) | |
2658 | ||
6b888eff SB |
2659 | (define-public aisleriot |
2660 | (package | |
2661 | (name "aisleriot") | |
6983ba56 | 2662 | (version "3.20.1") |
6b888eff SB |
2663 | (source (origin |
2664 | (method url-fetch) | |
2665 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2666 | (version-major+minor version) "/" | |
2667 | name "-" version ".tar.xz")) | |
2668 | (sha256 | |
2669 | (base32 | |
6983ba56 | 2670 | "1nipky336jj81mhm8wwxp96zilgcrarihf95dnyj3r1pw8kpg7gy")))) |
6b888eff SB |
2671 | (build-system glib-or-gtk-build-system) |
2672 | (arguments | |
2673 | '(#:configure-flags | |
2674 | '("--with-platform=gtk-only" | |
2675 | "--with-card-theme-formats=svg"))) | |
2676 | (native-inputs | |
2677 | `(("desktop-file-utils" ,desktop-file-utils) | |
2678 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
2679 | ("intltool" ,intltool) | |
2680 | ("itstool" ,itstool) | |
2681 | ("pkg-config" ,pkg-config) | |
2682 | ("xmllint" ,libxml2))) | |
2683 | (inputs | |
2684 | `(("gtk+" ,gtk+) | |
2685 | ("guile" ,guile-2.0) | |
2686 | ("libcanberra" ,libcanberra) | |
2687 | ("librsvg" ,librsvg))) | |
2688 | (home-page "https://wiki.gnome.org/Apps/Aisleriot") | |
2689 | (synopsis "Solitaire card games") | |
2690 | (description | |
2691 | "Aisleriot (also known as Solitaire or sol) is a collection of card games | |
2692 | which are easy to play with the aid of a mouse.") | |
2693 | (license license:gpl3+))) | |
4a79e256 SB |
2694 | |
2695 | (define-public devhelp | |
2696 | (package | |
2697 | (name "devhelp") | |
6983ba56 | 2698 | (version "3.20.0") |
4a79e256 SB |
2699 | (source (origin |
2700 | (method url-fetch) | |
2701 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2702 | (version-major+minor version) "/" | |
2703 | name "-" version ".tar.xz")) | |
2704 | (sha256 | |
2705 | (base32 | |
6983ba56 | 2706 | "078zr92xs5ifp862v1vdmw1j9m6gr9zk5hjbk5065vxjwb17acx2")))) |
4a79e256 SB |
2707 | (build-system glib-or-gtk-build-system) |
2708 | (native-inputs | |
2709 | `(("intltool" ,intltool) | |
2710 | ("pkg-config" ,pkg-config))) | |
2711 | (inputs | |
2712 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
2713 | ("webkitgtk" ,webkitgtk))) | |
2714 | (home-page "https://wiki.gnome.org/Apps/Devhelp") | |
2715 | (synopsis "API documentation browser for GNOME") | |
2716 | (description | |
2717 | "Devhelp is an API documentation browser for GTK+ and GNOME. It works | |
2718 | natively with GTK-Doc (the API reference system developed for GTK+ and used | |
2719 | throughout GNOME for API documentation).") | |
2720 | (license license:gpl2+))) | |
ba421ab7 MW |
2721 | |
2722 | (define-public cogl | |
2723 | (package | |
2724 | (name "cogl") | |
b3e91e02 | 2725 | (version "1.22.0") |
ba421ab7 MW |
2726 | (source |
2727 | (origin | |
2728 | (method url-fetch) | |
2729 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2730 | (version-major+minor version) "/" | |
2731 | name "-" version ".tar.xz")) | |
2732 | (sha256 | |
2733 | (base32 | |
b3e91e02 | 2734 | "14daxqrid5039xmq9yl4pk86awng1n9zgl6ysblhc4gw2ifzp7b8")))) |
ba421ab7 MW |
2735 | (build-system gnu-build-system) |
2736 | (native-inputs | |
2737 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2738 | ("gobject-introspection" ,gobject-introspection) | |
2739 | ;;("xorg-server" ,xorg-server) ; for the test suite | |
2740 | ("pkg-config" ,pkg-config))) | |
2741 | (propagated-inputs | |
2742 | `(("glib" ,glib) | |
2743 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2744 | ("libx11" ,libx11) | |
2745 | ("libxext" ,libxext) | |
2746 | ("libxfixes" ,libxfixes) | |
2747 | ("libxdamage" ,libxdamage) | |
2748 | ("libxcomposite" ,libxcomposite) | |
2749 | ("libxrandr" ,libxrandr))) | |
2750 | (inputs | |
2751 | `(("mesa" ,mesa) | |
2752 | ("cairo" ,cairo) | |
2753 | ("pango" ,pango) | |
2754 | ("gstreamer" ,gstreamer) | |
2755 | ("gst-plugins-base" ,gst-plugins-base))) | |
2756 | (arguments | |
2757 | `(#:configure-flags (list "--enable-cogl-gst" | |
2758 | ;; Arrange to pass an absolute file name to | |
2759 | ;; dlopen for libGL.so. | |
2760 | (string-append "--with-gl-libname=" | |
2761 | (assoc-ref %build-inputs "mesa") | |
2762 | "/lib/libGL.so")) | |
2763 | ;; XXX FIXME: All tests fail, with many warnings printed like this: | |
2764 | ;; _FontTransOpen: Unable to Parse address | |
2765 | ;; ${prefix}/share/fonts/X11/misc/ | |
2766 | #:tests? #f | |
2767 | #; #:phases | |
2768 | #; | |
2769 | (modify-phases %standard-phases | |
2770 | (add-before 'check 'start-xorg-server | |
2771 | (lambda* (#:key inputs #:allow-other-keys) | |
2772 | ;; The test suite requires a running X server. | |
2773 | (system (format #f "~a/bin/Xvfb :1 &" | |
2774 | (assoc-ref inputs "xorg-server"))) | |
2775 | (setenv "DISPLAY" ":1") | |
2776 | #t))))) | |
2777 | (home-page "http://www.cogl3d.org") | |
2778 | (synopsis "Object oriented GL/GLES Abstraction/Utility Layer") | |
2779 | (description | |
2780 | "Cogl is a small library for using 3D graphics hardware to draw pretty | |
2781 | pictures. The API departs from the flat state machine style of OpenGL and is | |
2782 | designed to make it easy to write orthogonal components that can render | |
2783 | without stepping on each others toes.") | |
2784 | (license (list license:expat ; most of the code | |
2785 | license:bsd-3 ; cogl/cogl-point-in-poly.c | |
2786 | license:sgifreeb2.0 ; cogl-path/tesselator/ | |
2787 | license:asl2.0)))) ; examples/android/ | |
fb182b8a MW |
2788 | |
2789 | (define-public clutter | |
2790 | (package | |
2791 | (name "clutter") | |
6983ba56 | 2792 | (version "1.26.0") |
fb182b8a MW |
2793 | (source |
2794 | (origin | |
2795 | (method url-fetch) | |
2796 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2797 | (version-major+minor version) "/" | |
2798 | name "-" version ".tar.xz")) | |
2799 | (sha256 | |
2800 | (base32 | |
6983ba56 | 2801 | "01nfjd4k7j2n3agpx2d9ncff86nfsqv4n23465rb9zmk4iw4wlb7")))) |
fb182b8a | 2802 | (build-system gnu-build-system) |
600233bd LC |
2803 | (outputs '("out" |
2804 | "doc")) ;9 MiB of gtk-doc HTML pages | |
fb182b8a MW |
2805 | (native-inputs |
2806 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal | |
2807 | ("gobject-introspection" ,gobject-introspection) | |
2808 | ("pkg-config" ,pkg-config) | |
2809 | ("xsltproc" ,libxslt))) | |
2810 | (propagated-inputs | |
2811 | `(("cogl" ,cogl) | |
2812 | ("cairo" ,cairo) | |
2813 | ("atk" ,atk) | |
2814 | ("gtk+" ,gtk+) | |
2815 | ("json-glib" ,json-glib) | |
2816 | ("glib" ,glib) | |
2817 | ("libxcomposite" ,libxcomposite) | |
2818 | ("libxdamage" ,libxdamage) | |
2819 | ("libxext" ,libxext) | |
2820 | ("xinput" ,xinput))) | |
2821 | (inputs | |
2822 | `(("libxkbcommon" ,libxkbcommon) | |
2823 | ("udev" ,eudev))) | |
2824 | (arguments | |
600233bd LC |
2825 | `(#:configure-flags (list "--enable-x11-backend=yes" |
2826 | ||
2827 | ;; This produces share/doc/{clutter,cally}. | |
2828 | (string-append "--with-html-dir=" | |
2829 | (assoc-ref %outputs "doc") | |
2830 | "/share/doc")) | |
fb182b8a MW |
2831 | ;; XXX FIXME: Get test suite working. It would probably fail in the |
2832 | ;; same way the cogl tests fail, since clutter is based on cogl. | |
2833 | #:tests? #f)) | |
2834 | (home-page "http://www.clutter-project.org") | |
2835 | (synopsis "Open GL based interactive canvas library") | |
2836 | (description | |
2837 | "Clutter is an Open GL based interactive canvas library, designed for | |
2838 | creating fast, mainly 2D single window applications such as media box UIs, | |
2839 | presentations, kiosk style applications and so on.") | |
2840 | (license license:lgpl2.0+))) | |
bf7f17ba MW |
2841 | |
2842 | (define-public clutter-gtk | |
2843 | (package | |
2844 | (name "clutter-gtk") | |
6983ba56 | 2845 | (version "1.8.0") |
bf7f17ba MW |
2846 | (source |
2847 | (origin | |
2848 | (method url-fetch) | |
2849 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2850 | (version-major+minor version) "/" | |
2851 | name "-" version ".tar.xz")) | |
2852 | (sha256 | |
2853 | (base32 | |
6983ba56 | 2854 | "07dzvx0b3fsswxnpxgk0adjgccnrvbxsd971naqwndnfivbgjbkl")))) |
bf7f17ba MW |
2855 | (build-system gnu-build-system) |
2856 | (native-inputs | |
2857 | `(("pkg-config" ,pkg-config) | |
2858 | ("gobject-introspection" ,gobject-introspection))) | |
9a3a8b8e SB |
2859 | (propagated-inputs |
2860 | ;; clutter-gtk.pc refers to all these. | |
bf7f17ba MW |
2861 | `(("clutter" ,clutter) |
2862 | ("gtk+" ,gtk+))) | |
2863 | (home-page "http://www.clutter-project.org") | |
2864 | (synopsis "Open GL based interactive canvas library GTK+ widget") | |
2865 | (description | |
2866 | "Clutter is an Open GL based interactive canvas library, designed for | |
2867 | creating fast, mainly 2D single window applications such as media box UIs, | |
2868 | presentations, kiosk style applications and so on.") | |
2869 | (license license:lgpl2.0+))) | |
86d6a893 MW |
2870 | |
2871 | (define-public clutter-gst | |
2872 | (package | |
2873 | (name "clutter-gst") | |
6983ba56 | 2874 | (version "3.0.18") |
86d6a893 MW |
2875 | (source |
2876 | (origin | |
2877 | (method url-fetch) | |
2878 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2879 | (version-major+minor version) "/" | |
2880 | name "-" version ".tar.xz")) | |
2881 | (sha256 | |
2882 | (base32 | |
6983ba56 | 2883 | "14w0pi9myvcn1yxzmk9sk8dghj17m5ji3aqdpfjikk90c060vv0a")))) |
86d6a893 MW |
2884 | (build-system gnu-build-system) |
2885 | (native-inputs | |
2886 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2887 | ("pkg-config" ,pkg-config) | |
2888 | ("gobject-introspection" ,gobject-introspection))) | |
2889 | (inputs | |
2890 | `(("clutter" ,clutter) | |
2891 | ("gstreamer" ,gstreamer) | |
2892 | ("gst-plugins-base" ,gst-plugins-base))) | |
2893 | (home-page "http://www.clutter-project.org") | |
2894 | (synopsis "Integration library for using GStreamer with Clutter") | |
2895 | (description | |
2896 | "Clutter-Gst is an integration library for using GStreamer with Clutter. | |
2897 | It provides a GStreamer sink to upload frames to GL and an actor that | |
2898 | implements the ClutterGstPlayer interface using playbin. Clutter is an Open | |
2899 | GL based interactive canvas library.") | |
2900 | (license license:lgpl2.0+))) | |
607a04ae | 2901 | |
30dc88d9 LC |
2902 | (define-public libchamplain |
2903 | (package | |
2904 | (name "libchamplain") | |
6983ba56 | 2905 | (version "0.12.13") |
30dc88d9 LC |
2906 | (source (origin |
2907 | (method url-fetch) | |
2908 | (uri (string-append | |
2909 | "mirror://gnome/sources/libchamplain/0.12/libchamplain-" | |
2910 | version ".tar.xz")) | |
2911 | (sha256 | |
2912 | (base32 | |
6983ba56 | 2913 | "1arzd1hsgq14rbiwa1ih2g250x6ljna2s2kiqfrw155c612s9cxk")))) |
30dc88d9 LC |
2914 | (build-system gnu-build-system) |
2915 | (native-inputs `(("pkg-config" ,pkg-config))) | |
2916 | (propagated-inputs | |
2917 | `(("libsoup" ,libsoup) | |
2918 | ("sqlite" ,sqlite) | |
2919 | ("clutter" ,clutter) | |
2920 | ("clutter-gtk" ,clutter-gtk) | |
2921 | ("glib:bin" ,glib "bin") ;glib-mkenums, etc. | |
2922 | ("cairo" ,cairo) | |
2923 | ("gtk+3" ,gtk+) | |
2924 | ("glib" ,glib))) | |
2925 | (home-page "http://projects.gnome.org/libchamplain/") | |
2926 | (synopsis "C library providing a ClutterActor to display maps") | |
2927 | (description | |
2928 | "libchamplain is a C library providing a ClutterActor to display maps. | |
2929 | It also provides a Gtk+ widget to display maps in Gtk+ applications. Python | |
2930 | and Perl bindings are also available. It supports numerous free map sources | |
2931 | such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.") | |
2932 | (license license:lgpl2.1+))) | |
2933 | ||
607a04ae MW |
2934 | (define-public gom |
2935 | (package | |
2936 | (name "gom") | |
0510440b | 2937 | (version "0.3.2") |
607a04ae MW |
2938 | (source |
2939 | (origin | |
2940 | (method url-fetch) | |
2941 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2942 | (version-major+minor version) "/" | |
2943 | name "-" version ".tar.xz")) | |
2944 | (sha256 | |
2945 | (base32 | |
0510440b | 2946 | "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w")))) |
607a04ae MW |
2947 | (build-system gnu-build-system) |
2948 | (native-inputs | |
2949 | `(("intltool" ,intltool) | |
2950 | ("pkg-config" ,pkg-config) | |
2951 | ("gobject-introspection" ,gobject-introspection))) | |
2952 | (inputs | |
2953 | `(("glib" ,glib) | |
2954 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2955 | ("sqlite" ,sqlite))) | |
2956 | ;; XXX TODO: Figure out how to run the test suite. | |
2957 | (arguments `(#:tests? #f)) | |
2958 | (home-page "https://wiki.gnome.org/Projects/Gom") | |
2959 | (synopsis "Object mapper from GObjects to SQLite") | |
2960 | (description | |
2961 | "Gom provides an object mapper from GObjects to SQLite. It helps you | |
2962 | write applications that need to store structured data as well as make complex | |
2963 | queries upon that data.") | |
2964 | (license license:lgpl2.1+))) | |
b7a3cf11 | 2965 | |
f09520db SB |
2966 | (define-public libgames-support |
2967 | (package | |
2968 | (name "libgames-support") | |
2969 | (version "1.0.2") | |
2970 | (source (origin | |
2971 | (method url-fetch) | |
2972 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2973 | (version-major+minor version) "/" | |
2974 | name "-" version ".tar.xz")) | |
2975 | (sha256 | |
2976 | (base32 | |
2977 | "0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh")))) | |
2978 | (build-system gnu-build-system) | |
2979 | (arguments | |
2980 | '(#:phases | |
2981 | (modify-phases %standard-phases | |
2982 | (add-before 'check 'pre-check | |
2983 | (lambda _ | |
2984 | ;; tests require a writable HOME. | |
2985 | (setenv "HOME" (getcwd)) | |
2986 | #t))))) | |
2987 | (native-inputs | |
2988 | `(("intltool" ,intltool) | |
2989 | ("pkg-config" ,pkg-config) | |
2990 | ("vala" ,vala))) | |
2991 | (propagated-inputs | |
2992 | ;; Required by libgames-support-1.0.pc | |
2993 | `(("gtk+" ,gtk+) | |
2994 | ("libgee" ,libgee))) | |
2995 | (home-page "https://www.gnome.org/") | |
2996 | (synopsis "Useful functionality shared among GNOME games") | |
2997 | (description | |
2998 | "libgames-support is a small library intended for internal use by | |
2999 | GNOME Games, but it may be used by others.") | |
3000 | (license license:lgpl3+))) | |
3001 | ||
b7a3cf11 SB |
3002 | (define-public gnome-klotski |
3003 | (package | |
3004 | (name "gnome-klotski") | |
41150c7d | 3005 | (version "3.20.1") |
b7a3cf11 SB |
3006 | (source (origin |
3007 | (method url-fetch) | |
3008 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3009 | (version-major+minor version) "/" | |
3010 | name "-" version ".tar.xz")) | |
3011 | (sha256 | |
3012 | (base32 | |
41150c7d | 3013 | "1130v6sk9h74b3xgv0bq43anaw7xs9x8vdab3q7p9db6w0px02wj")))) |
b7a3cf11 SB |
3014 | (build-system glib-or-gtk-build-system) |
3015 | (native-inputs | |
3016 | `(("desktop-file-utils" ,desktop-file-utils) | |
3017 | ("intltool" ,intltool) | |
3018 | ("itstool" ,itstool) | |
bcb354ad SB |
3019 | ("pkg-config" ,pkg-config) |
3020 | ("xmllint" ,libxml2))) | |
b7a3cf11 SB |
3021 | (inputs |
3022 | `(("gtk+" ,gtk+) | |
4e823eae | 3023 | ("libgames-support" ,libgames-support) |
b7a3cf11 SB |
3024 | ("librsvg" ,librsvg))) |
3025 | (home-page "https://wiki.gnome.org/Apps/Klotski") | |
3026 | (synopsis "Sliding block puzzles") | |
3027 | (description | |
3028 | "GNOME Klotski is a set of block sliding puzzles. The objective is to move | |
3029 | the patterned block to the area bordered by green markers. To do so, you will | |
3030 | need to slide other blocks out of the way. Complete each puzzle in as few moves | |
3031 | as possible!") | |
3032 | (license license:gpl2+))) | |
8d4791bf MW |
3033 | |
3034 | (define-public grilo | |
3035 | (package | |
3036 | (name "grilo") | |
5ed159c5 | 3037 | (version "0.3.0") |
8d4791bf MW |
3038 | (source |
3039 | (origin | |
3040 | (method url-fetch) | |
3041 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3042 | (version-major+minor version) "/" | |
3043 | name "-" version ".tar.xz")) | |
3044 | (sha256 | |
3045 | (base32 | |
5ed159c5 | 3046 | "0q5wcvnckpfks48hy0gvlfdmvqm67vnblm3912rssmkgc1ysil8z")))) |
8d4791bf MW |
3047 | (build-system gnu-build-system) |
3048 | (native-inputs | |
3049 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3050 | ("intltool" ,intltool) | |
3051 | ("pkg-config" ,pkg-config) | |
3052 | ("gobject-introspection" ,gobject-introspection))) | |
3053 | (inputs | |
3054 | `(("glib" ,glib) | |
3055 | ("gtk+" ,gtk+) | |
3056 | ("libxml2" ,libxml2) | |
3057 | ;; XXX TODO: Add oauth | |
3058 | ("libsoup" ,libsoup) | |
3059 | ("totem-pl-parser" ,totem-pl-parser))) | |
3060 | (arguments | |
3061 | `(#:phases | |
3062 | (modify-phases %standard-phases | |
3063 | (add-after 'unpack 'fix-introspection-install-dir | |
3064 | (lambda* (#:key outputs #:allow-other-keys) | |
3065 | (let ((out (assoc-ref outputs "out"))) | |
3066 | (substitute* '("src/Makefile.in" | |
3067 | "libs/pls/Makefile.in" | |
3068 | "libs/net/Makefile.in") | |
3069 | (("@INTROSPECTION_GIRDIR@") | |
3070 | (string-append out "/share/gir-1.0/")) | |
3071 | (("@INTROSPECTION_TYPELIBDIR@") | |
3072 | (string-append out "/lib/girepository-1.0/"))))))))) | |
3073 | (native-search-paths | |
3074 | (list (search-path-specification | |
3075 | (variable "GRL_PLUGIN_PATH") | |
3076 | (files (list (string-append "lib/grilo-" | |
3077 | (version-major+minor version))))))) | |
3078 | (home-page "http://live.gnome.org/Grilo") | |
3079 | (synopsis "Framework for discovering and browsing media") | |
3080 | (description | |
3081 | "Grilo is a framework focused on making media discovery and browsing easy | |
3082 | for application developers.") | |
3083 | (license license:lgpl2.1+))) | |
7b212526 MW |
3084 | |
3085 | (define-public grilo-plugins | |
3086 | (package | |
3087 | (name "grilo-plugins") | |
924ae80f | 3088 | (version "0.3.1") |
7b212526 MW |
3089 | (source |
3090 | (origin | |
3091 | (method url-fetch) | |
3092 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3093 | (version-major+minor version) "/" | |
3094 | name "-" version ".tar.xz")) | |
3095 | (sha256 | |
3096 | (base32 | |
924ae80f | 3097 | "1akd7q6pqnkcnayrdfjb0qx5w5yyl06kxzwhqp2gxm4y1b208pb0")))) |
7b212526 MW |
3098 | (build-system gnu-build-system) |
3099 | (native-inputs | |
3100 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
3101 | ("intltool" ,intltool) | |
3102 | ("itstool" ,itstool) | |
3103 | ("pkg-config" ,pkg-config))) | |
3104 | (inputs | |
3105 | `(("grilo" ,grilo) | |
924ae80f | 3106 | ("nettle" ,nettle) ; XXX: required by libgrlpls-0.3.la |
7b212526 MW |
3107 | ("glib" ,glib) |
3108 | ("libxml2" ,libxml2) | |
3109 | ("sqlite" ,sqlite) | |
3110 | ("gom" ,gom) | |
3111 | ;; XXX TODO: Add oauth | |
3112 | ;; XXX TODO: Add goa | |
3113 | ;; XXX TODO: Add gdata (e.g. needed for youtube plugin) | |
3114 | ;; XXX TODO: Add lua (needs help finding it) | |
3115 | ("json-glib" ,json-glib) | |
3116 | ("avahi" ,avahi) | |
3117 | ("gmime" ,gmime) | |
3118 | ("libsoup" ,libsoup) | |
3119 | ("libarchive" ,libarchive) | |
3120 | ("totem-pl-parser" ,totem-pl-parser))) | |
3121 | (arguments | |
3122 | `(#:make-flags (list (string-append "GRL_PLUGINS_DIR=" | |
3123 | %output | |
3124 | "/lib/grilo-" | |
3125 | ,(version-major+minor version))) | |
3126 | ;; XXX FIXME: Try to get the test suite working. It appears to require | |
3127 | ;; a working system dbus. Inside the build container, all tests fail | |
3128 | ;; with: "assertion failed: (source)". Outside of the build container, | |
3129 | ;; most tests succeed. | |
3130 | #:tests? #f)) | |
3131 | (home-page "http://live.gnome.org/Grilo") | |
3132 | (synopsis "Plugins for the Grilo media discovery library") | |
3133 | (description | |
3134 | "Grilo is a framework focused on making media discovery and browsing easy | |
3135 | for application developers.") | |
3136 | (license license:lgpl2.1+))) | |
4e3fc547 MW |
3137 | |
3138 | (define-public totem | |
3139 | (package | |
3140 | (name "totem") | |
88e88997 | 3141 | (version "3.20.1") |
4e3fc547 MW |
3142 | (source |
3143 | (origin | |
3144 | (method url-fetch) | |
3145 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3146 | (version-major+minor version) "/" | |
3147 | name "-" version ".tar.xz")) | |
3148 | (sha256 | |
3149 | (base32 | |
e2b89203 MW |
3150 | "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg")) |
3151 | (patches (search-patches "totem-debug-format-fix.patch")))) | |
4e3fc547 MW |
3152 | (build-system glib-or-gtk-build-system) |
3153 | (native-inputs | |
3154 | `(("pkg-config" ,pkg-config) | |
3155 | ("desktop-file-utils" ,desktop-file-utils) | |
3156 | ("gobject-introspection" ,gobject-introspection) | |
3157 | ("intltool" ,intltool) | |
bcb354ad SB |
3158 | ("itstool" ,itstool) |
3159 | ("xmllint" ,libxml2))) | |
4e3fc547 MW |
3160 | (propagated-inputs |
3161 | `(("dconf" ,dconf))) | |
3162 | (inputs | |
3163 | `(("gtk+" ,gtk+) | |
3164 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3165 | ("atk" ,atk) | |
3166 | ("cairo" ,cairo) | |
3167 | ("dbus-glib" ,dbus-glib) | |
3168 | ("clutter" ,clutter) | |
3169 | ("clutter-gtk" ,clutter-gtk) | |
3170 | ("clutter-gst" ,clutter-gst) | |
3171 | ("xproto" ,xproto) | |
3172 | ("libxxf86vm" ,libxxf86vm) | |
3173 | ("libxtst" ,libxtst) | |
3174 | ("libxrandr" ,libxrandr) | |
3175 | ("libxml2" ,libxml2) | |
3176 | ("libsoup" ,libsoup) | |
3177 | ("libpeas" ,libpeas) | |
3178 | ("librsvg" ,librsvg) | |
3179 | ("lirc" ,lirc) | |
3180 | ("gnome-desktop" ,gnome-desktop) | |
3181 | ("gstreamer" ,gstreamer) | |
3182 | ("gst-plugins-base" ,gst-plugins-base) | |
3183 | ("gst-plugins-good" ,gst-plugins-good) | |
3184 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3185 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
3186 | ;; XXX We use python-2 because libxml2 because itstool (which needs | |
3187 | ;; libxml) currently uses python-2. | |
3188 | ("python" ,python-2) | |
3189 | ("python-pygobject" ,python2-pygobject) | |
3190 | ;; XXX TODO pylint needed for python support | |
3191 | ("totem-pl-parser" ,totem-pl-parser) | |
3192 | ("grilo" ,grilo) | |
3193 | ("grilo-plugins" ,grilo-plugins) | |
3194 | ("nettle" ,nettle) | |
3195 | ("vala" ,vala))) | |
3196 | (arguments | |
3197 | `(#:phases | |
3198 | (modify-phases %standard-phases | |
3199 | (add-after | |
3200 | 'install 'wrap-totem | |
3201 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
3202 | (let ((out (assoc-ref outputs "out")) | |
3203 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
3204 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
3205 | (wrap-program (string-append out "/bin/totem") | |
3206 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
3207 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))) | |
3208 | #t))))) | |
3209 | (home-page "https://wiki.gnome.org/Apps/Videos") | |
3210 | (synopsis "Simple media player for GNOME based on GStreamer") | |
3211 | (description "Totem is a simple yet featureful media player for GNOME | |
3212 | which can read a large number of file formats.") | |
3213 | ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins | |
3214 | ;; to be used and distributed together with GStreamer and Totem. See | |
3215 | ;; file://COPYING in the source distribution for details. | |
3216 | (license license:gpl2+))) | |
f0afb0c8 DH |
3217 | |
3218 | (define-public rhythmbox | |
3219 | (package | |
3220 | (name "rhythmbox") | |
3221 | (version "3.2.1") | |
3222 | (source (origin | |
3223 | (method url-fetch) | |
3224 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3225 | (version-major+minor version) "/" | |
3226 | name "-" version ".tar.xz")) | |
3227 | (sha256 | |
3228 | (base32 | |
3229 | "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz")))) | |
3230 | (build-system glib-or-gtk-build-system) | |
3231 | (arguments | |
3232 | `(#:configure-flags | |
3233 | (list "--enable-lirc" | |
3234 | "--enable-python" | |
3235 | "--enable-vala" | |
3236 | "--with-brasero" | |
3237 | "--with-gudev" | |
3238 | "--with-libsecret") | |
3239 | #:phases | |
3240 | (modify-phases %standard-phases | |
3241 | (add-after | |
3242 | 'install 'wrap-rhythmbox | |
3243 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
3244 | (let ((out (assoc-ref outputs "out")) | |
3245 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
3246 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
3247 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
3248 | (wrap-program (string-append out "/bin/rhythmbox") | |
3249 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
3250 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
3251 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))) | |
3252 | #t))))) | |
3253 | (propagated-inputs | |
3254 | `(("dconf" ,dconf))) | |
3255 | (native-inputs | |
bcb354ad SB |
3256 | `(("itstool" ,itstool) |
3257 | ("intltool" ,intltool) | |
f0afb0c8 DH |
3258 | ("glib" ,glib "bin") |
3259 | ("gobject-introspection" ,gobject-introspection) | |
3260 | ("desktop-file-utils" ,desktop-file-utils) | |
bcb354ad SB |
3261 | ("pkg-config" ,pkg-config) |
3262 | ("xmllint" ,libxml2))) | |
f0afb0c8 DH |
3263 | (inputs |
3264 | `(("json-glib" ,json-glib) | |
3265 | ("tdb" ,tdb) | |
3266 | ("gnome-desktop" ,gnome-desktop) | |
3267 | ("python" ,python) | |
3268 | ("python-pygobject" ,python2-pygobject) | |
3269 | ("vala" ,vala) | |
3270 | ("gmime" ,gmime) | |
3271 | ("nettle" ,nettle) | |
f0afb0c8 DH |
3272 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
3273 | ("grilo" ,grilo) | |
3274 | ("grilo-plugins" ,grilo-plugins) | |
3275 | ("gstreamer" ,gstreamer) | |
3276 | ("gst-plugins-base" ,gst-plugins-base) | |
3277 | ("gst-plugins-good" ,gst-plugins-good) | |
f0afb0c8 | 3278 | ("totem-pl-parser" ,totem-pl-parser) |
ea226291 | 3279 | ("libgudev" ,libgudev) |
f0afb0c8 DH |
3280 | ;;("libmtp" ,libmtp) FIXME: Not detected |
3281 | ("libsecret" ,libsecret) | |
3282 | ("libsoup" ,libsoup) | |
3283 | ("libnotify" ,libnotify) | |
3284 | ("libpeas" ,libpeas) | |
3285 | ("lirc" ,lirc) | |
3286 | ;; TODO: clutter* only used by visualizer plugin, which also requires mx | |
3287 | ;;("clutter" ,clutter) | |
3288 | ;;("clutter-gtk" ,clutter-gtk) | |
3289 | ;;("clutter-gst" ,clutter-gst) | |
3290 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3291 | ("atk" ,atk) | |
3292 | ("pango" ,pango) | |
3293 | ("gtk+" ,gtk+) | |
3294 | ;; TODO: | |
3295 | ;; * libgpod | |
3296 | ;; * mx | |
3297 | ;; * webkit | |
3298 | ("brasero" ,brasero))) | |
3299 | (home-page "https://wiki.gnome.org/Apps/Rhythmbox") | |
3300 | (synopsis "Music player for GNOME") | |
3301 | (description "Rhythmbox is a music playing application for GNOME. It | |
3302 | supports playlists, song ratings, and any codecs installed through gstreamer.") | |
3303 | (license license:gpl2+))) | |
f70d8383 DH |
3304 | |
3305 | (define-public eog | |
3306 | (package | |
3307 | (name "eog") | |
3afeb02c | 3308 | (version "3.20.1") |
f70d8383 DH |
3309 | (source (origin |
3310 | (method url-fetch) | |
3311 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3312 | (version-major+minor version) "/" | |
3313 | name "-" version ".tar.xz")) | |
3314 | (sha256 | |
3315 | (base32 | |
3afeb02c | 3316 | "0ll3vz1kyjagiqmrpypk1a4nwjhrjsapiz45bxblsjxjy641j0jg")))) |
f70d8383 DH |
3317 | (build-system glib-or-gtk-build-system) |
3318 | (arguments | |
3319 | `(#:phases | |
3320 | (modify-phases %standard-phases | |
3321 | (add-after | |
3322 | 'install 'wrap-eog | |
3323 | (lambda* (#:key outputs #:allow-other-keys) | |
3324 | (let ((out (assoc-ref outputs "out")) | |
3325 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
3326 | (wrap-program (string-append out "/bin/eog") | |
3327 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
3328 | #t))))) | |
3329 | (propagated-inputs | |
3330 | `(("dconf" ,dconf))) | |
3331 | (native-inputs | |
3332 | `(("intltool" ,intltool) | |
b3546174 | 3333 | ("itstool" ,itstool) |
f70d8383 DH |
3334 | ("glib" ,glib "bin") |
3335 | ("gobject-introspection" ,gobject-introspection) | |
bcb354ad SB |
3336 | ("pkg-config" ,pkg-config) |
3337 | ("xmllint" ,libxml2))) | |
f70d8383 DH |
3338 | (inputs |
3339 | `(("gnome-desktop" ,gnome-desktop) | |
3340 | ("shared-mime-info" ,shared-mime-info) | |
3341 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
3342 | ("exempi" ,exempi) | |
3343 | ("lcms" ,lcms) | |
3344 | ("libexif" ,libexif) | |
3345 | ("libpeas" ,libpeas) | |
3346 | ("libjpeg" ,libjpeg) | |
3347 | ("librsvg" ,librsvg) | |
3348 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3349 | ("gtk+" ,gtk+))) | |
3350 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome") | |
3351 | (synopsis "GNOME image viewer") | |
3352 | (description "Eye of GNOME is the GNOME image viewer. It | |
3353 | supports image conversion, rotation, and slideshows.") | |
3354 | (license license:gpl2+))) | |
41af5e7b SB |
3355 | |
3356 | (define-public libgudev | |
3357 | (package | |
3358 | (name "libgudev") | |
3359 | (version "230") | |
3360 | (source (origin | |
3361 | (method url-fetch) | |
3362 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3363 | version "/" name "-" version ".tar.xz")) | |
3364 | (sha256 | |
3365 | (base32 | |
3366 | "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2")))) | |
3367 | (build-system gnu-build-system) | |
3368 | (native-inputs | |
3369 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
3370 | ("gobject-introspection" ,gobject-introspection) | |
3371 | ("pkg-config" ,pkg-config))) | |
3372 | (propagated-inputs | |
3373 | `(("glib" ,glib))) ; required by gudev-1.0.pc | |
3374 | (inputs | |
3375 | `(("udev" ,eudev))) | |
3376 | (home-page "https://wiki.gnome.org/Projects/libgudev") | |
3377 | (synopsis "GObject bindings for libudev") | |
3378 | (description | |
3379 | "This library provides GObject bindings for libudev. It was originally | |
3380 | part of udev-extras, then udev, then systemd. It's now a project on its own.") | |
3381 | (license license:lgpl2.1+))) | |
3dc8828f SB |
3382 | |
3383 | (define-public gvfs | |
3384 | (package | |
3385 | (name "gvfs") | |
ddfa9131 | 3386 | (version "1.28.1") |
3dc8828f SB |
3387 | (source (origin |
3388 | (method url-fetch) | |
3389 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3390 | (version-major+minor version) "/" | |
3391 | name "-" version ".tar.xz")) | |
3392 | (sha256 | |
3393 | (base32 | |
ddfa9131 | 3394 | "16bry61hg681bwb0pih86cjayzvc5f89ip5xd8fydcy16nnfbksf")))) |
3dc8828f SB |
3395 | (build-system gnu-build-system) |
3396 | (arguments | |
3397 | '(#:tests? #f)) ; XXX: requiring `pidof' | |
3398 | (native-inputs | |
3399 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
3400 | ("intltool" ,intltool) | |
3401 | ("pkg-config" ,pkg-config) | |
3402 | ("xsltproc" ,libxslt))) | |
3403 | (inputs | |
3404 | `(("avahi" ,avahi) | |
3405 | ("docbook-xml" ,docbook-xml-4.2) | |
3406 | ("docbook-xsl" ,docbook-xsl) | |
3407 | ("dbus" ,dbus) | |
3408 | ("fuse" ,fuse) | |
24a78aa6 | 3409 | ("gcr" ,gcr) |
3dc8828f SB |
3410 | ("glib" ,glib) |
3411 | ("libarchive" ,libarchive) | |
3412 | ("libbluray" ,libbluray) | |
3413 | ("libcdio-paranoia" ,libcdio-paranoia) | |
3414 | ("libgcrypt" ,libgcrypt) | |
3415 | ("libgphoto2" ,libgphoto2) | |
3416 | ("libgudev" ,libgudev) | |
3417 | ("libmtp" ,libmtp) | |
3418 | ("libsecret" ,libsecret) | |
3419 | ("libsmbclient" ,samba) | |
3420 | ("libsoup" ,libsoup) | |
3421 | ("libxml2" ,libxml2) | |
3422 | ("nettle" ,nettle) ; XXX: required by libarchive.pc | |
3423 | ("udisks" ,udisks))) | |
3424 | (home-page "https://wiki.gnome.org/gvfs/") | |
3425 | (synopsis "Userspace virtual filesystem for GIO") | |
3426 | (description | |
3427 | "GVFS is a userspace virtual filesystem designed to work with the I/O | |
3428 | abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support | |
3429 | to all applications using the GIO API. It also supports exposing the GVFS | |
3430 | mounts to non-GIO applications using FUSE. | |
3431 | ||
3432 | GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP, | |
3433 | DAV, and others.") | |
3434 | (license license:lgpl2.0+))) | |
7c88b6bd AW |
3435 | |
3436 | (define-public gusb | |
3437 | (package | |
3438 | (name "gusb") | |
3439 | (version "0.2.6") | |
3440 | (source (origin | |
3441 | (method url-fetch) | |
3442 | (uri (string-append "https://github.com/hughsie/libgusb/archive/" | |
3443 | "gusb_" | |
3444 | (string-join (string-split version #\.) | |
3445 | "_") | |
3446 | ".tar.gz")) | |
3447 | (sha256 | |
3448 | (base32 | |
3449 | "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr")))) | |
3450 | (build-system gnu-build-system) | |
3451 | (native-inputs | |
3452 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
3453 | ("gobject-introspection" ,gobject-introspection) | |
3454 | ("pkg-config" ,pkg-config) | |
3455 | ("vala" ,vala) | |
3456 | ("autoconf" ,autoconf) | |
3457 | ("automake" ,automake) | |
3458 | ("libtool" ,libtool) | |
3459 | ("gtk-doc" ,gtk-doc))) | |
3460 | (propagated-inputs | |
3461 | ;; Both of these are required by gusb.pc. | |
3462 | `(("glib" ,glib) | |
3463 | ("libusb" ,libusb))) | |
3464 | (arguments | |
3465 | `(#:tests? #f ; libusb fails to initialize. Wonder what that is. | |
3466 | #:phases | |
3467 | (modify-phases %standard-phases | |
3468 | (add-after 'unpack 'autogen | |
3469 | (lambda _ | |
3470 | (and (zero? (system* "gtkdocize")) | |
3471 | (zero? (system* "autoreconf" "-vif")))))))) | |
8f1640ed | 3472 | (home-page "https://github.com/hughsie/libgusb") |
a124bbd2 | 3473 | (synopsis "GLib binding for libusb1") |
7c88b6bd AW |
3474 | (description |
3475 | "GUsb is a GObject wrapper for libusb1 that makes it easy to do | |
3476 | asynchronous control, bulk and interrupt transfers with proper cancellation | |
3477 | and integration into a mainloop. This makes it easy to integrate low level | |
3478 | USB transfers with your high-level application or system daemon.") | |
3479 | (license license:lgpl2.1+))) | |
0abe1d86 AW |
3480 | |
3481 | (define-public simple-scan | |
3482 | (package | |
3483 | (name "simple-scan") | |
fb9ca511 | 3484 | (version "3.19.91") |
0abe1d86 AW |
3485 | (source (origin |
3486 | (method url-fetch) | |
3487 | (uri (string-append "https://launchpad.net/simple-scan/" | |
3488 | (version-major+minor version) "/" | |
3489 | version "/+download/simple-scan-" | |
3490 | version ".tar.xz")) | |
3491 | (sha256 | |
3492 | (base32 | |
fb9ca511 | 3493 | "1c5glf5vxgld41w4jxfqcv17q76qnh43fawpv33hncgh8d283xkf")))) |
0abe1d86 AW |
3494 | (build-system glib-or-gtk-build-system) |
3495 | (inputs | |
3496 | `(("gtk" ,gtk+) | |
3497 | ("zlib" ,zlib) | |
3498 | ("cairo" ,cairo) | |
3499 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3500 | ("gusb" ,gusb) | |
3501 | ("libgudev" ,libgudev) | |
3502 | ("libsane" ,sane-backends))) | |
3503 | (native-inputs | |
3504 | `(("intltool" ,intltool) | |
3505 | ("itstool" ,itstool) | |
3506 | ("colord" ,colord) | |
3507 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. | |
3508 | ("pkg-config" ,pkg-config) | |
bcb354ad SB |
3509 | ("vala" ,vala) |
3510 | ("xmllint" ,libxml2))) | |
fb9ca511 TGR |
3511 | (arguments |
3512 | '(#:configure-flags '("--disable-packagekit") | |
3513 | #:phases | |
3514 | (modify-phases %standard-phases | |
3515 | (add-after 'unpack 'clean | |
3516 | (lambda _ | |
3517 | ;; Remove a left-over reference to PackageKit. | |
3518 | ||
3519 | ;; https://bugs.launchpad.net/simple-scan/+bug/1462769 | |
3520 | ||
3521 | ;; There are some generated C files erroneously | |
3522 | ;; included in the source distribution, and this | |
3523 | ;; one breaks the build by referring to a | |
3524 | ;; non-existent header (packagekit.h) | |
3525 | (delete-file "src/ui.c")))))) | |
0abe1d86 AW |
3526 | (home-page "https://launchpad.net/simple-scan") |
3527 | (synopsis "Document and image scanner") | |
3528 | (description "Simple Scan is an easy-to-use application, designed to let | |
3529 | users connect their scanner and quickly have the image/document in an | |
3530 | appropriate format. Simple Scan is basically a frontend for SANE - which is | |
3531 | the same backend as XSANE uses. This means that all existing scanners will | |
3532 | work and the interface is well tested.") | |
3533 | (license license:gpl3+))) | |
7549f984 SB |
3534 | |
3535 | (define-public epiphany | |
3536 | (package | |
3537 | (name "epiphany") | |
c51555f4 | 3538 | (version "3.20.1") |
7549f984 SB |
3539 | (source (origin |
3540 | (method url-fetch) | |
3541 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3542 | (version-major+minor version) "/" | |
3543 | name "-" version ".tar.xz")) | |
3544 | (sha256 | |
3545 | (base32 | |
c51555f4 | 3546 | "1ry9z6d51gjbv5n8kspwdyfrdai2hrin2ixdicmyiq6xbryzcwbi")))) |
7549f984 SB |
3547 | (build-system glib-or-gtk-build-system) |
3548 | (arguments | |
3549 | ;; FIXME: tests run under Xvfb, but fail with: | |
3550 | ;; /src/bookmarks/ephy-bookmarks/create: | |
3551 | ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf | |
3552 | ;; subsystem | |
3553 | ;; FAIL | |
3554 | '(#:tests? #f)) | |
80a747c4 SB |
3555 | (propagated-inputs |
3556 | `(("dconf" ,dconf))) | |
7549f984 SB |
3557 | (native-inputs |
3558 | `(("intltool" ,intltool) | |
3559 | ("itstool" ,itstool) | |
bcb354ad SB |
3560 | ("pkg-config" ,pkg-config) |
3561 | ("xmllint" ,libxml2))) | |
7549f984 SB |
3562 | (inputs |
3563 | `(("avahi" ,avahi) | |
3564 | ("gcr" ,gcr) | |
3565 | ("glib-networking" ,glib-networking) | |
3566 | ("gnome-desktop" ,gnome-desktop) | |
3567 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3568 | ("iso-codes" ,iso-codes) | |
3569 | ("libnotify" ,libnotify) | |
3570 | ("libsecret" ,libsecret) | |
3571 | ("libwnck" ,libwnck) | |
3572 | ("libxslt" ,libxslt) | |
3573 | ("nss" ,nss) | |
3574 | ("sqlite" ,sqlite) | |
3575 | ("webkitgtk" ,webkitgtk))) | |
3576 | (home-page "https://wiki.gnome.org/Apps/Web") | |
3577 | (synopsis "GNOME web browser") | |
3578 | (description | |
3579 | "Epiphany is a GNOME web browser targeted at non-technical users. Its | |
3580 | principles are simplicity and standards compliance.") | |
3581 | (license license:gpl2+))) | |
a3856b2c SB |
3582 | |
3583 | (define-public d-feet | |
3584 | (package | |
3585 | (name "d-feet") | |
3586 | (version "0.3.10") | |
3587 | (source (origin | |
3588 | (method url-fetch) | |
3589 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3590 | (version-major+minor version) "/" | |
3591 | name "-" version ".tar.xz")) | |
3592 | (sha256 | |
3593 | (base32 | |
3594 | "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48")))) | |
3595 | (build-system glib-or-gtk-build-system) | |
3596 | (arguments | |
3597 | '(#:out-of-source? #f ; tests need to run in the source directory. | |
3598 | #:phases | |
3599 | (modify-phases %standard-phases | |
3600 | (add-before | |
3601 | 'check 'pre-check | |
86aff791 | 3602 | (lambda _ |
a3856b2c SB |
3603 | ;; The test suite requires a running X server. |
3604 | (system "Xvfb :1 &") | |
3605 | (setenv "DISPLAY" ":1") | |
3606 | ;; Don't fail on missing '/etc/machine-id'. | |
3607 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
3608 | ;; tests.py and window.py don't meet E402: | |
3609 | ;; E402 module level import not at top of file | |
3610 | (substitute* "src/tests/Makefile" | |
86aff791 MW |
3611 | (("--ignore=E123") "--ignore=E123,E402")) |
3612 | #t)) | |
a3856b2c SB |
3613 | (add-after |
3614 | 'install 'wrap-program | |
3615 | (lambda* (#:key outputs #:allow-other-keys) | |
3616 | (let ((prog (string-append (assoc-ref outputs "out") | |
3617 | "/bin/d-feet"))) | |
3618 | (wrap-program prog | |
3619 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
86aff791 MW |
3620 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) |
3621 | #t)))))) | |
a3856b2c SB |
3622 | (native-inputs |
3623 | `(("intltool" ,intltool) | |
3624 | ("itstool" ,itstool) | |
3625 | ("pkg-config" ,pkg-config) | |
3626 | ("python-pep8" ,python-pep8) | |
3627 | ("xmllint" ,libxml2) | |
3628 | ("xorg-server" ,xorg-server))) | |
3629 | (inputs | |
3630 | `(("gobject-introspection" ,gobject-introspection) | |
3631 | ("gtk+" ,gtk+) | |
3632 | ("python" ,python-wrapper) | |
3633 | ("python-pygobject" ,python-pygobject))) | |
3634 | (home-page "https://wiki.gnome.org/Apps/DFeet") | |
3635 | (synopsis "D-Bus debugger") | |
3636 | (description | |
3637 | "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces | |
3638 | of running programs and invoke methods on those interfaces.") | |
3639 | (license license:gpl2+))) | |
c3b97bd9 SB |
3640 | |
3641 | (define-public yelp-xsl | |
3642 | (package | |
3643 | (name "yelp-xsl") | |
27ad5743 | 3644 | (version "3.20.1") |
c3b97bd9 SB |
3645 | (source (origin |
3646 | (method url-fetch) | |
3647 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3648 | (version-major+minor version) "/" | |
3649 | name "-" version ".tar.xz")) | |
3650 | (sha256 | |
3651 | (base32 | |
27ad5743 | 3652 | "183vz4aw8fcmw8k8q7r4zrm1p76gwg2cca1fsdrkaiyabng88qfw")))) |
c3b97bd9 SB |
3653 | (build-system gnu-build-system) |
3654 | (native-inputs | |
3655 | `(("intltool" ,intltool) | |
3656 | ("itstool" ,itstool) | |
3657 | ("xmllint" ,libxml2))) | |
3658 | (home-page "https://wiki.gnome.org/Apps/Yelp") | |
3659 | (synopsis "XSL stylesheets for Yelp") | |
3660 | (description | |
3661 | "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser | |
3662 | to format Docbook and Mallard documents.") | |
3663 | (license license:gpl2+))) | |
de3d612a SB |
3664 | |
3665 | (define-public yelp | |
3666 | (package | |
3667 | (name "yelp") | |
b8967d48 | 3668 | (version "3.20.1") |
de3d612a SB |
3669 | (source (origin |
3670 | (method url-fetch) | |
3671 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3672 | (version-major+minor version) "/" | |
3673 | name "-" version ".tar.xz")) | |
3674 | (sha256 | |
3675 | (base32 | |
b8967d48 | 3676 | "1hh8yqbv0scn9nksk9mq94cb4sdczlzxplclv2wqr41jmm8v186x")))) |
de3d612a SB |
3677 | (build-system glib-or-gtk-build-system) |
3678 | (native-inputs | |
3679 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
3680 | ("intltool" ,intltool) | |
3681 | ("itstool" ,itstool) | |
3682 | ("pkg-config" ,pkg-config))) | |
3683 | (propagated-inputs | |
3684 | `(("dconf" ,dconf))) | |
3685 | (inputs | |
ad1b7d8b SB |
3686 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
3687 | ("libxslt" ,libxslt) | |
de3d612a | 3688 | ("sqlite" ,sqlite) |
4c28ca1d SB |
3689 | ("webkitgtk" ,webkitgtk) |
3690 | ("yelp-xsl" ,yelp-xsl))) | |
de3d612a SB |
3691 | (home-page "https://wiki.gnome.org/Apps/Yelp") |
3692 | (synopsis "GNOME help browser") | |
3693 | (description | |
3694 | "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook, | |
3695 | man, info, and HTML documents. It can locate documents according to the | |
3696 | freedesktop.org help system specification.") | |
3697 | (license license:gpl2+))) | |
122d0d10 SB |
3698 | |
3699 | (define-public yelp-tools | |
3700 | (package | |
3701 | (name "yelp-tools") | |
50695955 | 3702 | (version "3.18.0") |
122d0d10 SB |
3703 | (source (origin |
3704 | (method url-fetch) | |
3705 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3706 | (version-major+minor version) "/" | |
3707 | name "-" version ".tar.xz")) | |
3708 | (sha256 | |
3709 | (base32 | |
50695955 | 3710 | "0ck9f78c1xka8a823bd7w1k0gdn4k19zvaj7viy2d5r3h1gxdhf6")))) |
122d0d10 SB |
3711 | (build-system gnu-build-system) |
3712 | (native-inputs | |
3713 | `(("pkg-config" ,pkg-config))) | |
3714 | (propagated-inputs | |
3715 | ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'. | |
3716 | `(("itstool" ,itstool) | |
3717 | ("xmllint" ,libxml2) | |
3718 | ("xsltproc" ,libxslt))) | |
3719 | (inputs | |
3720 | `(("yelp-xsl" ,yelp-xsl))) | |
3721 | (home-page "https://wiki.gnome.org/Apps/Yelp/Tools") | |
3722 | (synopsis "Yelp documentation tools") | |
3723 | (description | |
3724 | "Yelp-tools is a collection of scripts and build utilities to help create, | |
3725 | manage, and publish documentation for Yelp and the web. Most of the heavy | |
3726 | lifting is done by packages like yelp-xsl and itstool. This package just | |
3727 | wraps things up in a developer-friendly way.") | |
3728 | (license license:gpl2+))) | |
af8f9f23 RW |
3729 | |
3730 | (define-public libgee | |
3731 | (package | |
3732 | (name "libgee") | |
3733 | (version "0.18.0") | |
3734 | (source (origin | |
3735 | (method url-fetch) | |
3736 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3737 | (version-major+minor version) "/" | |
3738 | name "-" version ".tar.xz")) | |
3739 | (sha256 | |
3740 | (base32 | |
3741 | "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa")))) | |
3742 | (build-system gnu-build-system) | |
3743 | (arguments | |
3744 | `(#:phases | |
3745 | (modify-phases %standard-phases | |
3746 | (add-after 'unpack 'fix-introspection-install-dir | |
3747 | (lambda* (#:key outputs #:allow-other-keys) | |
3748 | (let ((out (assoc-ref outputs "out"))) | |
3749 | (substitute* "gee/Makefile.in" | |
3750 | (("@INTROSPECTION_GIRDIR@") | |
3751 | (string-append out "/share/gir-1.0/")) | |
3752 | (("@INTROSPECTION_TYPELIBDIR@") | |
3753 | (string-append out "/lib/girepository-1.0/"))))))))) | |
3754 | (native-inputs | |
3755 | `(("glib" ,glib "bin") | |
3756 | ("pkg-config" ,pkg-config))) | |
3757 | (inputs | |
3758 | `(("glib" ,glib) | |
3759 | ("gobject-introspection" ,gobject-introspection))) | |
3760 | (home-page "https://wiki.gnome.org/Projects/Libgee") | |
3761 | (synopsis "GObject collection library") | |
3762 | (description | |
3763 | "Libgee is a utility library providing GObject-based interfaces and | |
3764 | classes for commonly used data structures.") | |
3765 | (license license:lgpl2.1+))) | |
b0f9c4b8 RW |
3766 | |
3767 | (define-public gexiv2 | |
3768 | (package | |
3769 | (name "gexiv2") | |
3770 | (version "0.10.3") | |
3771 | (source (origin | |
3772 | (method url-fetch) | |
3773 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3774 | (version-major+minor version) "/" | |
3775 | name "-" version ".tar.xz")) | |
3776 | (sha256 | |
3777 | (base32 | |
3778 | "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r")))) | |
3779 | (build-system gnu-build-system) | |
3780 | (native-inputs | |
3781 | `(("glib" ,glib "bin") | |
3782 | ("pkg-config" ,pkg-config))) | |
3783 | (propagated-inputs | |
3784 | ;; Listed in "Requires" section of gexiv2.pc | |
3785 | `(("exiv2" ,exiv2))) | |
3786 | (inputs | |
3787 | `(("glib" ,glib) | |
3788 | ("gobject-introspection" ,gobject-introspection))) | |
3789 | (home-page "https://wiki.gnome.org/Projects/gexiv2") | |
3790 | (synopsis "GObject wrapper around the Exiv2 photo metadata library") | |
3791 | (description | |
3792 | "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It | |
3793 | allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP | |
3794 | metadata in photo and video files of various formats.") | |
3795 | (license license:gpl2+))) | |
fed5a689 RW |
3796 | |
3797 | (define-public shotwell | |
3798 | (package | |
3799 | (name "shotwell") | |
f8b446ca | 3800 | (version "0.22.1") |
fed5a689 RW |
3801 | (source (origin |
3802 | (method url-fetch) | |
3803 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3804 | (version-major+minor version) "/" | |
3805 | name "-" version ".tar.xz")) | |
3806 | (sha256 | |
3807 | (base32 | |
f8b446ca | 3808 | "1a9lx9a7p6fgaf838xlw98f73xxyxmg6jmm29830lsl8ynbhq9bk")))) |
fed5a689 RW |
3809 | (build-system glib-or-gtk-build-system) |
3810 | (arguments | |
3811 | `(#:tests? #f ;no "check" target | |
3812 | #:make-flags '("CC=gcc") | |
3813 | #:configure-flags '("--disable-gsettings-convert-install") | |
3814 | #:out-of-source? #f)) | |
3815 | (native-inputs | |
3816 | `(("pkg-config" ,pkg-config) | |
3817 | ("gettext" ,gnu-gettext) | |
3818 | ("m4" ,m4) | |
3819 | ("desktop-file-utils" ,desktop-file-utils) | |
3820 | ("vala" ,vala) | |
3821 | ("which" ,which) | |
3822 | ("gnome-doc-utils" ,gnome-doc-utils) | |
3823 | ;; FIXME: I only added python2-libxml2 because xml2po needs it at | |
3824 | ;; runtime. It should be propagated. | |
3825 | ("python2-libxml2" ,python2-libxml2) | |
3826 | ("python2" ,python-2))) | |
3827 | (inputs | |
3828 | `(("gstreamer" ,gstreamer) | |
3829 | ("gst-plugins-base" ,gst-plugins-base) | |
3830 | ("gst-plugins-good" ,gst-plugins-good) | |
3831 | ("libgee" ,libgee) | |
3832 | ("gexiv2" ,gexiv2) | |
3833 | ("libraw" ,libraw) | |
3834 | ("json-glib" ,json-glib) | |
3835 | ("rest" ,rest) | |
3836 | ("webkitgtk" ,webkitgtk-2.4) | |
3837 | ("sqlite" ,sqlite) | |
3838 | ("libsoup" ,libsoup) | |
3839 | ("libxml2" ,libxml2) | |
3840 | ("gtk+" ,gtk+) | |
3841 | ("libgudev" ,libgudev) | |
3842 | ("libgphoto2" ,libgphoto2))) | |
3843 | (home-page "https://wiki.gnome.org/Apps/Shotwell") | |
3844 | (synopsis "Photo manager for GNOME 3") | |
3845 | (description | |
3846 | "Shotwell is a digital photo manager designed for the GNOME desktop | |
3847 | environment. It allows you to import photos from disk or camera, organize | |
3848 | them by keywords and events, view them in full-window or fullscreen mode, and | |
3849 | share them with others via social networking and more.") | |
3850 | (license license:lgpl2.1+))) | |
293ff8b2 DT |
3851 | |
3852 | (define-public file-roller | |
3853 | (package | |
3854 | (name "file-roller") | |
74cf8f6c | 3855 | (version "3.20.1") |
293ff8b2 DT |
3856 | (source (origin |
3857 | (method url-fetch) | |
3858 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3859 | (version-major+minor version) "/" | |
3860 | name "-" version ".tar.xz")) | |
3861 | (sha256 | |
3862 | (base32 | |
74cf8f6c | 3863 | "0cx3d8mp0pxz9wcsb2ph7g1zy22m8z5x0a4f5vgfzl0jmrcxpcy8")))) |
293ff8b2 DT |
3864 | (build-system glib-or-gtk-build-system) |
3865 | (native-inputs | |
3866 | `(("intltool" ,intltool) | |
3867 | ("pkg-config" ,pkg-config))) | |
3868 | ;; TODO: Add libnautilus. | |
3869 | (inputs | |
3870 | `(("gtk+" ,gtk+) | |
3871 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3872 | ("json-glib" ,json-glib) | |
3873 | ("libarchive" ,libarchive) | |
3874 | ("libnotify" ,libnotify) | |
3875 | ("nettle" ,nettle) | |
3876 | ("itstool" ,itstool) | |
3877 | ("libxml2" ,libxml2))) | |
3878 | (synopsis "Graphical archive manager for GNOME") | |
3879 | (description "File Roller is an archive manager for the GNOME desktop | |
3880 | environment that allows users to view, unpack, and create compressed archives | |
3881 | such as gzip tarballs.") | |
3882 | (home-page "http://fileroller.sourceforge.net/") | |
3883 | (license license:gpl2+))) | |
7ce49365 SB |
3884 | |
3885 | (define-public gnome-session | |
3886 | (package | |
3887 | (name "gnome-session") | |
803ab416 | 3888 | (version "3.20.1") |
7ce49365 SB |
3889 | (source (origin |
3890 | (method url-fetch) | |
3891 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3892 | (version-major+minor version) "/" | |
3893 | name "-" version ".tar.xz")) | |
3894 | (sha256 | |
3895 | (base32 | |
803ab416 | 3896 | "04w90gyl0kdx5vwmdcgfdk3qr9xhip00vgpgzci151agqwyzbs9a")))) |
2914af3c AW |
3897 | (arguments |
3898 | '(#:phases | |
3899 | (modify-phases %standard-phases | |
3900 | (add-before 'configure 'pre-configure | |
3901 | (lambda* (#:key outputs #:allow-other-keys) | |
3902 | ;; Use elogind instead of systemd. | |
3903 | (substitute* "configure" | |
3904 | (("libsystemd-login >= 183 libsystemd-daemon libsystemd-journal") | |
3905 | "libelogind") | |
3906 | (("systemd") "elogind")) | |
3907 | (substitute* "gnome-session/gsm-systemd.c" | |
3908 | (("#include <systemd/sd-login.h>") | |
3909 | "#include <elogind/sd-login.h>")) | |
3910 | ;; Remove uses of the systemd journal. | |
3911 | (substitute* "gnome-session/main.c" | |
3912 | (("#ifdef HAVE_SYSTEMD") "#if 0")) | |
3913 | (substitute* "gnome-session/gsm-manager.c" | |
3914 | (("#ifdef HAVE_SYSTEMD") "#if 0")) | |
803ab416 SB |
3915 | (substitute* "gnome-session/gsm-autostart-app.c" |
3916 | (("#ifdef HAVE_SYSTEMD") "#if 0")) | |
a0d7baaf LC |
3917 | #t)) |
3918 | (add-after 'install 'wrap-gnome-session | |
3919 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
3920 | ;; Make sure 'gnome-session' finds the 'gsettings' program. | |
3921 | (let ((glib (assoc-ref inputs "glib:bin")) | |
3922 | (out (assoc-ref outputs "out"))) | |
3923 | (wrap-program (string-append out "/bin/gnome-session") | |
3924 | `("PATH" ":" prefix (,(string-append glib "/bin")))) | |
6cbc8d57 LC |
3925 | #t))) |
3926 | (add-after 'install 'disable-hardware-acceleration-check | |
3927 | (lambda* (#:key outputs #:allow-other-keys) | |
3928 | ;; Do not abort if hardware acceleration is missing. This allows | |
3929 | ;; GNOME to run in QEMU and on low-end devices. | |
3930 | (let ((out (assoc-ref outputs "out"))) | |
3931 | (substitute* (string-append out | |
3932 | "/share/xsessions/gnome.desktop") | |
3933 | (("gnome-session") | |
3934 | "gnome-session --disable-acceleration-check")) | |
a0d7baaf | 3935 | #t)))) |
6cbc8d57 | 3936 | |
2914af3c AW |
3937 | #:configure-flags |
3938 | '("--enable-elogind"))) | |
ba3cb5ab | 3939 | (build-system glib-or-gtk-build-system) |
7ce49365 SB |
3940 | (native-inputs |
3941 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
3942 | ("pkg-config" ,pkg-config) | |
3943 | ("intltool" ,intltool) | |
3944 | ("xsltproc" ,libxslt))) | |
3945 | (inputs | |
2914af3c AW |
3946 | `(("elogind" ,elogind) |
3947 | ("gnome-desktop" ,gnome-desktop) | |
ba3cb5ab | 3948 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
7ce49365 SB |
3949 | ("gtk+" ,gtk+) |
3950 | ("json-glib" ,json-glib) | |
3951 | ("libsm" ,libsm) | |
3952 | ("libxcomposite" ,libxcomposite) | |
3953 | ("libxtst" ,libxtst) | |
3954 | ("mesa" ,mesa) | |
3955 | ("upower" ,upower) | |
3956 | ("xtrans" ,xtrans))) | |
3957 | (synopsis "Session manager for GNOME") | |
3958 | (description | |
3959 | "This package contains the GNOME session manager, as well as a | |
3960 | configuration program to choose applications starting on login.") | |
3961 | (home-page "https://wiki.gnome.org/Projects/SessionManagement") | |
3962 | (license license:gpl2+))) | |
f47ba77e SB |
3963 | |
3964 | (define-public gjs | |
3965 | (package | |
3966 | (name "gjs") | |
3967 | (version "1.44.0") | |
3968 | (source (origin | |
3969 | (method url-fetch) | |
3970 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3971 | (version-major+minor version) "/" | |
3972 | name "-" version ".tar.xz")) | |
3973 | (sha256 | |
3974 | (base32 | |
3975 | "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8")) | |
3976 | (modules '((guix build utils))) | |
3977 | (snippet '(substitute* "test/run-with-dbus" | |
3978 | (("/bin/rm") "rm"))))) | |
3979 | (build-system gnu-build-system) | |
3980 | (arguments | |
3981 | '(#:phases | |
3982 | (modify-phases %standard-phases | |
3983 | (add-before | |
3984 | 'check 'pre-check | |
3985 | (lambda _ | |
3986 | ;; For the missing /etc/machine-id. | |
3987 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
ba666b07 SB |
3988 | |
3989 | ;; XXX: fails with: | |
3990 | ;; Failed to convert UTF-8 string to JS string: ... | |
3991 | ;; TODO: actually fix it. | |
3992 | (substitute* "installed-tests/js/testEverythingBasic.js" | |
3993 | ((".*test_utf8_inout.*") "")) | |
f47ba77e SB |
3994 | #t))))) |
3995 | (native-inputs | |
3996 | `(("glib:bin" ,glib "bin") ; for glib-compile-resources | |
3997 | ("pkg-config" ,pkg-config) | |
3998 | ("xmllint" ,libxml2) | |
3999 | ;; For testing | |
4000 | ("dbus-launch" ,dbus) | |
4001 | ("uuidgen" ,util-linux) | |
4002 | ("xvfb" ,xorg-server))) | |
4003 | (propagated-inputs | |
4004 | ;; These are all in the Requires.private field of gjs-1.0.pc. | |
4005 | `(("gobject-introspection" ,gobject-introspection) | |
4006 | ("mozjs" ,mozjs-24))) | |
4007 | (inputs | |
4008 | `(("gtk+" ,gtk+) | |
4009 | ("readline" ,readline))) | |
4010 | (synopsis "Javascript bindings for GNOME") | |
4011 | (home-page "http://live.gnome.org/Gjs") | |
4012 | (description | |
4013 | "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey | |
4014 | javascript engine and the GObject introspection framework.") | |
4015 | (license license:gpl2+))) | |
329d731b DH |
4016 | |
4017 | (define-public gedit | |
4018 | (package | |
4019 | (name "gedit") | |
6983ba56 | 4020 | (version "3.20.1") |
329d731b DH |
4021 | (source (origin |
4022 | (method url-fetch) | |
4023 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4024 | (version-major+minor version) "/" | |
4025 | name "-" version ".tar.xz")) | |
4026 | (sha256 | |
4027 | (base32 | |
6983ba56 | 4028 | "1i0x1jd9x1vpv8lwdlzwf0ml8jxh3b3l6nlg6pbnfjw47w3y6iws")))) |
329d731b DH |
4029 | (build-system glib-or-gtk-build-system) |
4030 | (arguments | |
33cd9bef SB |
4031 | `(#:configure-flags '("--disable-spell") ; XXX: gspell not packaged yet |
4032 | #:phases | |
329d731b DH |
4033 | (modify-phases %standard-phases |
4034 | (add-after | |
4035 | 'install 'wrap-gedit | |
4036 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
4037 | (let ((out (assoc-ref outputs "out")) | |
4038 | (gtksourceview (assoc-ref inputs "gtksourceview")) | |
afc25242 SB |
4039 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) |
4040 | (python-path (getenv "PYTHONPATH"))) | |
329d731b | 4041 | (wrap-program (string-append out "/bin/gedit") |
afc25242 | 4042 | ;; For plugins. |
329d731b | 4043 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) |
afc25242 | 4044 | `("PYTHONPATH" ":" prefix (,python-path)) |
329d731b DH |
4045 | ;; For language-specs. |
4046 | `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview | |
4047 | "/share"))))) | |
4048 | #t))))) | |
4049 | (propagated-inputs | |
4050 | `(("dconf" ,dconf))) | |
4051 | (native-inputs | |
4052 | `(("intltool" ,intltool) | |
b3546174 | 4053 | ("itstool" ,itstool) |
329d731b DH |
4054 | ("gobject-introspection" ,gobject-introspection) |
4055 | ("pkg-config" ,pkg-config))) | |
4056 | (inputs | |
4057 | `(("glib" ,glib) | |
4058 | ("gtk+" ,gtk+) | |
4059 | ("gtksourceview" ,gtksourceview) | |
4060 | ("libpeas" ,libpeas) | |
4061 | ("libxml2" ,libxml2) | |
329d731b DH |
4062 | ("iso-codes" ,iso-codes) |
4063 | ("python-pygobject" ,python-pygobject) | |
4064 | ("python" ,python) | |
4065 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4066 | ("libx11" ,libx11) | |
4067 | ("vala" ,vala) | |
4068 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
4069 | ("libsoup" ,libsoup) | |
4070 | ("gnome-desktop" ,gnome-desktop))) | |
4071 | (home-page "https://wiki.gnome.org/Apps/Gedit") | |
4072 | (synopsis "GNOME text editor") | |
4073 | (description "While aiming at simplicity and ease of use, gedit is a | |
4074 | powerful general purpose text editor.") | |
4075 | (license license:gpl2+))) | |
b7179363 SB |
4076 | |
4077 | (define-public zenity | |
4078 | (package | |
4079 | (name "zenity") | |
6983ba56 | 4080 | (version "3.20.0") |
b7179363 SB |
4081 | (source (origin |
4082 | (method url-fetch) | |
4083 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4084 | (version-major+minor version) "/" | |
4085 | name "-" version ".tar.xz")) | |
4086 | (sha256 | |
4087 | (base32 | |
6983ba56 | 4088 | "0j2sy6imwp41l75hy3fwr68n35drvanbwgmr42kc04zqjy9pbs02")))) |
b7179363 SB |
4089 | (build-system gnu-build-system) |
4090 | (native-inputs | |
4091 | `(("gettext" ,gnu-gettext) | |
4092 | ("itstool" ,itstool) | |
4093 | ("pkg-config" ,pkg-config))) | |
4094 | (inputs | |
4095 | `(("libnotify" ,libnotify) | |
4096 | ("webkitgtk" ,webkitgtk))) | |
4097 | (synopsis "Display graphical dialog boxes from shell scripts") | |
4098 | (home-page "http://www.gnome.org") | |
4099 | (description | |
4100 | "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you | |
4101 | to display dialog boxes from the commandline and shell scripts.") | |
4102 | (license license:lgpl2.0+))) | |
60c3627c SB |
4103 | |
4104 | (define-public mutter | |
4105 | (package | |
4106 | (name "mutter") | |
4a8573ad | 4107 | (version "3.20.1") |
60c3627c SB |
4108 | (source (origin |
4109 | (method url-fetch) | |
4110 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4111 | (version-major+minor version) "/" | |
4112 | name "-" version ".tar.xz")) | |
4113 | (sha256 | |
4114 | (base32 | |
4a8573ad | 4115 | "0752vkkmaaay8ziczqrf7z3735bq3brx2djw36arqsdhwawh6jba")))) |
60c3627c SB |
4116 | (build-system gnu-build-system) |
4117 | (arguments | |
4118 | '(#:configure-flags | |
4119 | ;; XXX: build fails with [-Werror]: | |
4120 | ;; backends/meta-cursor-renderer.c:112:5: error: | |
4121 | ;; implicit declaration of function ?roundf? | |
4122 | '("--enable-compile-warnings=minimum"))) | |
4123 | (native-inputs | |
4124 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4125 | ("gobject-introspection" ,gobject-introspection) | |
4126 | ("intltool" ,intltool) | |
4127 | ("pkg-config" ,pkg-config))) | |
4128 | (propagated-inputs | |
4129 | ;; libmutter.pc refers to all these. | |
4130 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
4131 | ("gtk+" ,gtk+) | |
4132 | ("clutter" ,clutter))) | |
4133 | (inputs | |
4134 | `(("gnome-desktop" ,gnome-desktop) | |
4135 | ("libcanberra-gtk" ,libcanberra) | |
4136 | ("libice" ,libice) | |
4137 | ("libsm" ,libsm) | |
4138 | ("libxkbcommon" ,libxkbcommon) | |
4139 | ("libxkbfile" ,libxkbfile) | |
4140 | ("mesa-headers" ,mesa-headers) | |
4141 | ("startup-notification" ,startup-notification) | |
4142 | ("upower-glib" ,upower) | |
4143 | ("xkeyboard-config" ,xkeyboard-config) | |
4144 | ("zenity" ,zenity))) | |
4145 | (synopsis "Window and compositing manager") | |
4146 | (home-page "http://www.gnome.org") | |
4147 | (description | |
4148 | "Mutter is a window and compositing manager that displays and manages your | |
4149 | desktop via OpenGL. Mutter combines a sophisticated display engine using the | |
4150 | Clutter toolkit with solid window-management logic inherited from the Metacity | |
4151 | window manager.") | |
4152 | (license license:gpl2+))) | |
685cee87 SB |
4153 | |
4154 | (define-public gnome-online-accounts | |
4155 | (package | |
4156 | (name "gnome-online-accounts") | |
223f5d5d | 4157 | (version "3.20.1") |
685cee87 SB |
4158 | (source (origin |
4159 | (method url-fetch) | |
4160 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4161 | (version-major+minor version) "/" | |
4162 | name "-" version ".tar.xz")) | |
4163 | (sha256 | |
4164 | (base32 | |
223f5d5d | 4165 | "14qcih1g136sn2aklzagv83jl82d3qc598rkdm8zac9gw70ynyn3")))) |
685cee87 SB |
4166 | (build-system glib-or-gtk-build-system) |
4167 | (native-inputs | |
4168 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4169 | ("gobject-introspection" ,gobject-introspection) | |
4170 | ("intltool" ,intltool) | |
4171 | ("pkg-config" ,pkg-config) | |
4172 | ("xsltproc" ,libxslt))) | |
4173 | (propagated-inputs | |
4174 | `(("glib" ,glib) ; required by goa-1.0.pc | |
4175 | ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc | |
4176 | (inputs | |
4177 | `(("docbook-xsl" ,docbook-xsl) | |
4178 | ("json-glib" ,json-glib) | |
4179 | ("libsecret" ,libsecret) | |
4180 | ("rest" ,rest) | |
4181 | ("telepathy-glib" ,telepathy-glib) | |
4182 | ("webkitgtk" ,webkitgtk))) | |
4183 | (synopsis "Single sign-on framework for GNOME") | |
4184 | (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts") | |
4185 | (description | |
4186 | "GNOME Online Accounts provides interfaces so that applications and | |
4187 | libraries in GNOME can access the user's online accounts. It has providers for | |
4188 | Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft | |
4189 | Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.") | |
4190 | (license license:lgpl2.0+))) | |
df217748 SB |
4191 | |
4192 | (define-public evolution-data-server | |
4193 | (package | |
4194 | (name "evolution-data-server") | |
c1387d36 | 4195 | (version "3.20.1") |
df217748 SB |
4196 | (source (origin |
4197 | (method url-fetch) | |
4198 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4199 | (version-major+minor version) "/" | |
4200 | name "-" version ".tar.xz")) | |
4201 | (sha256 | |
4202 | (base32 | |
c1387d36 | 4203 | "0lsbhzacr2bs90z8sx44vf403r0h2yqsy4l2svrh5hjnassgdyqx")))) |
df217748 SB |
4204 | (build-system gnu-build-system) |
4205 | (arguments | |
4206 | '(;; XXX: fails with: | |
4207 | ;; /Fixture/Calendar0: cleaning up pid xxxx | |
4208 | ;; t status: 139) | |
4209 | #:tests? #f | |
4210 | #:configure-flags | |
4211 | (let ((nss (assoc-ref %build-inputs "nss")) | |
4212 | (nspr (assoc-ref %build-inputs "nspr"))) | |
4213 | (list "--disable-uoa" ; disable Ubuntu Online Accounts support | |
4214 | "--disable-google" ; disable Google Contacts support | |
c1387d36 | 4215 | "--disable-google-auth" ; disable Google authentication |
df217748 SB |
4216 | (string-append "--with-nspr-includes=" nspr "/include/nspr") |
4217 | (string-append "--with-nss-includes=" nss "/include/nss") | |
4218 | (string-append "--with-nss-libs=" nss "/lib/nss"))) | |
4219 | #:phases | |
4220 | (modify-phases %standard-phases | |
4221 | (add-before 'check 'pre-check | |
4222 | (lambda _ | |
4223 | (substitute* "tests/test-server-utils/e-test-server-utils.c" | |
4224 | (("/bin/rm") (which "rm"))) | |
4225 | #t))))) | |
4226 | (native-inputs | |
4227 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
4228 | ("gobject-introspection" ,gobject-introspection) | |
4229 | ("gperf" ,gperf) | |
4230 | ("intltool" ,intltool) | |
4231 | ("pkg-config" ,pkg-config) | |
4232 | ("python" ,python))) | |
4233 | (propagated-inputs | |
4234 | ;; These are all in the Requires field of .pc files. | |
4235 | `(("gtk+" ,gtk+) | |
4236 | ("libical" ,libical) | |
4237 | ("libsecret" ,libsecret) | |
4238 | ("libsoup" ,libsoup) | |
4239 | ("nss" ,nss) | |
4240 | ("sqlite" ,sqlite))) | |
4241 | (inputs | |
4242 | `(("bdb" ,bdb) | |
4243 | ("gcr" ,gcr) | |
4244 | ("gnome-online-accounts" ,gnome-online-accounts) | |
4245 | ("libgweather" ,libgweather))) | |
4246 | (synopsis "Store address books and calendars") | |
4247 | (home-page "https://wiki.gnome.org/Apps/Evolution") | |
4248 | (description | |
4249 | "This package provides a unified backend for programs that work with | |
4250 | contacts, tasks, and calendar information. It was originally developed for | |
4251 | Evolution (hence the name), but is now used by other packages as well.") | |
4252 | (license license:lgpl2.0))) | |
bd7dfafa SB |
4253 | |
4254 | (define-public caribou | |
4255 | (package | |
4256 | (name "caribou") | |
6983ba56 | 4257 | (version "0.4.20") |
bd7dfafa SB |
4258 | (source (origin |
4259 | (method url-fetch) | |
4260 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4261 | (version-major+minor version) "/" | |
4262 | name "-" version ".tar.xz")) | |
4263 | (sha256 | |
4264 | (base32 | |
6983ba56 | 4265 | "1nahpfs5ap9f9wsvn93kg8isqffk60v785f1q6k64awcd7an8ris")))) |
bd7dfafa SB |
4266 | (build-system glib-or-gtk-build-system) |
4267 | (arguments | |
4268 | '(#:phases | |
4269 | (modify-phases %standard-phases | |
4270 | (add-before | |
4271 | 'build 'pre-build | |
4272 | (lambda* (#:key outputs #:allow-other-keys) | |
4273 | (let ((out (assoc-ref outputs "out"))) | |
4274 | ;; Use absolute shared library path in Caribou-1.0.typelib. | |
4275 | (substitute* "libcaribou/Makefile" | |
4276 | (("--shared-library=libcaribou.so") | |
4277 | (string-append "--shared-library=" | |
4278 | out "/lib/libcaribou.so"))) | |
4279 | #t))) | |
4280 | (add-after 'install 'wrap-programs | |
4281 | (lambda* (#:key outputs #:allow-other-keys) | |
4282 | (let* ((out (assoc-ref outputs "out")) | |
4283 | (python-path (getenv "PYTHONPATH")) | |
4284 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
4285 | (for-each | |
4286 | (lambda (prog) | |
4287 | (wrap-program prog | |
4288 | `("PYTHONPATH" ":" prefix (,python-path)) | |
4289 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
4290 | (list (string-append out "/bin/caribou-preferences") | |
4291 | (string-append out "/libexec/antler-keyboard")))) | |
4292 | #t))))) | |
4293 | (native-inputs | |
4294 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4295 | ("gobject-introspection" ,gobject-introspection) | |
4296 | ("intltool" ,intltool) | |
4297 | ("pkg-config" ,pkg-config) | |
4298 | ("python" ,python-2) ; incompatible with Python 3 (print syntax) | |
4299 | ("vala" ,vala) | |
4300 | ("xsltproc" ,libxslt))) | |
4301 | (propagated-inputs | |
4302 | ;; caribou-1.0.pc refers to all these. | |
4303 | `(("libgee" ,libgee) | |
4304 | ("libxklavier" ,libxklavier) | |
4305 | ("libxtst" ,libxtst) | |
4306 | ("gtk+" ,gtk+))) | |
4307 | (inputs | |
4308 | `(("clutter" ,clutter) | |
4309 | ("dconf" ,dconf) | |
4310 | ("gtk+-2" ,gtk+-2) | |
4311 | ("python-pygobject" ,python2-pygobject))) | |
4312 | (synopsis "Text entry and UI navigation application") | |
4313 | (home-page "https://wiki.gnome.org/Projects/Caribou") | |
4314 | (description | |
4315 | "Caribou is an input assistive technology intended for switch and pointer | |
4316 | users.") | |
4317 | (license license:lgpl2.1))) | |
ba5dd105 | 4318 | |
ba5dd105 SB |
4319 | (define-public network-manager |
4320 | (package | |
4321 | (name "network-manager") | |
142bdcbc | 4322 | (version "1.2.0") |
ba5dd105 SB |
4323 | (source (origin |
4324 | (method url-fetch) | |
4325 | (uri (string-append "mirror://gnome/sources/NetworkManager/" | |
4326 | (version-major+minor version) "/" | |
4327 | "NetworkManager-" version ".tar.xz")) | |
4328 | (sha256 | |
4329 | (base32 | |
142bdcbc | 4330 | "101axwk3bc1pm9m98vwrnxyjna6w0qgzaskgivldq69xz8qcyiz9")))) |
ba5dd105 SB |
4331 | (build-system gnu-build-system) |
4332 | (outputs '("out" | |
4333 | "doc")) ; 8 MiB of gtk-doc HTML | |
4334 | (arguments | |
4335 | '(#:configure-flags | |
4336 | (let ((out (assoc-ref %outputs "out")) | |
4337 | (doc (assoc-ref %outputs "doc")) | |
4338 | (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp") | |
4339 | "/sbin/dhclient"))) | |
4340 | (list "--with-crypto=gnutls" | |
4341 | "--disable-config-plugin-ibft" | |
4342 | "--sysconfdir=/etc" | |
4343 | "--localstatedir=/var" | |
4344 | (string-append "--with-udev-dir=" | |
4345 | out "/lib/udev") | |
4346 | (string-append "--with-dbus-sys-dir=" | |
4347 | out "/etc/dbus-1/system.d") | |
4348 | (string-append "--with-html-dir=" | |
4349 | doc "/share/gtk-doc/html") | |
4350 | (string-append "--with-dhclient=" dhclient))) | |
4351 | #:phases | |
4352 | (modify-phases %standard-phases | |
b4f59d87 AW |
4353 | (add-before 'configure 'pre-configure |
4354 | (lambda _ | |
4355 | ;; These tests try to test aspects of network-manager's | |
4356 | ;; functionality within restricted containers, but they don't | |
4357 | ;; cope with being already in the Guix build jail as that jail | |
4358 | ;; lacks some features that they would like to proxy over (like | |
4359 | ;; a /sys mount). | |
142bdcbc SB |
4360 | (substitute* '("src/platform/Makefile.in" |
4361 | "src/devices/Makefile.in") | |
b4f59d87 AW |
4362 | (("SUBDIRS = tests") "")) |
4363 | (substitute* '("src/tests/Makefile.in") | |
4364 | (("\ttest-route-manager-linux") "\t") | |
4365 | (("\ttest-route-manager-fake") "\t")) | |
4366 | #t)) | |
ba5dd105 SB |
4367 | (add-before 'check 'pre-check |
4368 | (lambda _ | |
4369 | ;; For the missing /etc/machine-id. | |
4370 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
4371 | #t)) | |
4372 | (replace 'install | |
4373 | (lambda _ | |
4374 | (zero? (system* "make" | |
4375 | "sysconfdir=/tmp" | |
142bdcbc SB |
4376 | "rundir=/tmp" |
4377 | "statedir=/tmp" | |
ba5dd105 SB |
4378 | "install"))))))) |
4379 | (native-inputs | |
4380 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen | |
4381 | ("gobject-introspection" ,gobject-introspection) | |
4382 | ("intltool" ,intltool) | |
4383 | ("pkg-config" ,pkg-config) | |
4384 | ;; For testing. | |
4385 | ("python" ,python-wrapper) | |
4386 | ("python-dbus" ,python-dbus) | |
4387 | ("python-pygobject" ,python-pygobject))) | |
4388 | (inputs | |
4389 | `(("dbus-glib" ,dbus-glib) | |
4390 | ("dnsmasq" ,dnsmasq) | |
4391 | ("gnutls" ,gnutls) | |
4392 | ("iptables" ,iptables) | |
4393 | ("isc-dhcp" ,isc-dhcp) | |
4394 | ("libgcrypt" ,libgcrypt) | |
4395 | ("libgudev" ,libgudev) | |
4396 | ("libndp" ,libndp) | |
4397 | ("libnl" ,libnl) | |
4398 | ("libsoup" ,libsoup) | |
142bdcbc | 4399 | ("modem-manager" ,modem-manager) |
ba5dd105 SB |
4400 | ("polkit" ,polkit) |
4401 | ("ppp" ,ppp) | |
4402 | ("readline" ,readline) | |
4403 | ("util-linux" ,util-linux))) | |
4404 | (synopsis "Network connection manager") | |
4405 | (home-page "http://www.gnome.org/projects/NetworkManager/") | |
4406 | (description | |
4407 | "NetworkManager is a system network service that manages your network | |
4408 | devices and connections, attempting to keep active network connectivity when | |
4409 | available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE | |
4410 | devices, and provides VPN integration with a variety of different VPN | |
4411 | services.") | |
4412 | (license license:gpl2+))) | |
4d62a9d3 SB |
4413 | |
4414 | (define-public network-manager-applet | |
4415 | (package | |
4416 | (name "network-manager-applet") | |
bbbb77e4 | 4417 | (version "1.2.0") |
4d62a9d3 SB |
4418 | (source (origin |
4419 | (method url-fetch) | |
4420 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4421 | (version-major+minor version) "/" | |
4422 | name "-" version ".tar.xz")) | |
4423 | (sha256 | |
4424 | (base32 | |
bbbb77e4 | 4425 | "0dhvk3dvy6djn6blpkv46dn6yfh28wsh6mpl0v53qxfip97j8kwk")))) |
4d62a9d3 SB |
4426 | (build-system glib-or-gtk-build-system) |
4427 | (arguments '(#:configure-flags '("--disable-migration"))) | |
4428 | (native-inputs | |
4429 | `(("intltool" ,intltool) | |
4430 | ("gobject-introspection" ,gobject-introspection) | |
4431 | ("pkg-config" ,pkg-config))) | |
4432 | (propagated-inputs | |
4433 | ;; libnm-gtk.pc refers to all these. | |
4434 | `(("dbus-glib" ,dbus-glib) | |
4435 | ("gtk+" ,gtk+) | |
4436 | ("network-manager" ,network-manager))) | |
4437 | (inputs | |
4438 | `(("iso-codes" ,iso-codes) | |
4439 | ("libgudev" ,libgudev) | |
4440 | ("libnotify" ,libnotify) | |
4441 | ("libsecret" ,libsecret))) | |
4442 | (synopsis "Applet for managing network connections") | |
4443 | (home-page "http://www.gnome.org/projects/NetworkManager/") | |
4444 | (description | |
4445 | "This package contains a systray applet for NetworkManager. It displays | |
4446 | the available networks and allows users to easily switch between them.") | |
4447 | (license license:gpl2+))) | |
56196594 RW |
4448 | |
4449 | (define-public libxml++ | |
4450 | (package | |
4451 | (name "libxml++") | |
f5821956 | 4452 | (version "3.0.0") |
56196594 RW |
4453 | (source (origin |
4454 | (method url-fetch) | |
4455 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4456 | (version-major+minor version) "/" | |
4457 | name "-" version ".tar.xz")) | |
4458 | (sha256 | |
4459 | (base32 | |
f5821956 | 4460 | "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg")))) |
56196594 RW |
4461 | (build-system gnu-build-system) |
4462 | ;; libxml++-3.0.pc refers to all these. | |
4463 | (propagated-inputs | |
4464 | `(("libxml2" ,libxml2) | |
4465 | ("glibmm" ,glibmm))) | |
4466 | (native-inputs | |
4467 | `(("perl" ,perl) | |
4468 | ("pkg-config" ,pkg-config))) | |
4469 | (home-page "http://libxmlplusplus.sourceforge.net/") | |
4470 | (synopsis "C++ wrapper for XML parser library libxml2") | |
4471 | (description | |
4472 | "This package provides a C++ wrapper for the XML parser library | |
4473 | libxml2.") | |
4474 | (license license:lgpl2.1+))) | |
df12f04a SB |
4475 | |
4476 | (define-public gdm | |
4477 | (package | |
4478 | (name "gdm") | |
906943df | 4479 | (version "3.20.1") |
df12f04a SB |
4480 | (source (origin |
4481 | (method url-fetch) | |
4482 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4483 | (version-major+minor version) "/" | |
4484 | name "-" version ".tar.xz")) | |
4485 | (sha256 | |
4486 | (base32 | |
906943df | 4487 | "17vqcnqnwx7s5xzgn358gsgbmpz7k90sh1qrwrh3wnj5r0pm38hh")))) |
df12f04a SB |
4488 | (build-system gnu-build-system) |
4489 | (arguments | |
4490 | '(#:configure-flags | |
4491 | '("--without-plymouth") | |
4492 | #:phases | |
4493 | (modify-phases %standard-phases | |
4494 | (add-before | |
4495 | 'configure 'pre-configure | |
4496 | (lambda _ | |
4497 | ;; We don't have <systemd/sd-daemon.h>. | |
4498 | (substitute* '("common/gdm-log.c" | |
4499 | "daemon/gdm-server.c" | |
4500 | "daemon/gdm-session-worker.c" | |
4501 | "daemon/gdm-session-worker-job.c") | |
4502 | (("#include <systemd/sd-daemon\\.h>") "")) | |
4503 | ;; Use elogind for sd-login. | |
4504 | (substitute* '("common/gdm-common.c" | |
4505 | "daemon/gdm-manager.c" | |
4506 | "libgdm/gdm-user-switching.c") | |
4507 | (("#include <systemd/sd-login\\.h>") | |
4508 | "#include <elogind/sd-login.h>")) | |
4509 | ;; Avoid checking SYSTEMD using pkg-config. | |
4510 | (setenv "SYSTEMD_CFLAGS" " ") | |
4511 | (setenv "SYSTEMD_LIBS" "-lelogind") | |
4512 | #t))))) | |
4513 | (native-inputs | |
4514 | `(("dconf" ,dconf) | |
4515 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4516 | ("gobject-introspection" ,gobject-introspection) | |
4517 | ("intltool" ,intltool) | |
4518 | ("itstool" ,itstool) | |
4519 | ("pkg-config" ,pkg-config) | |
4520 | ("xmllint" ,libxml2))) | |
4521 | (inputs | |
4522 | `(("accountsservice" ,accountsservice) | |
4523 | ("check" ,check) ; for testing | |
4524 | ("elogind" ,elogind) | |
4525 | ("gtk+" ,gtk+) | |
4526 | ("iso-codes" ,iso-codes) | |
4527 | ("libcanberra" ,libcanberra) | |
4528 | ("linux-pam" ,linux-pam))) | |
4529 | (synopsis "Display manager for GNOME") | |
4530 | (home-page "http://wiki.gnome.org/Projects/GDM/") | |
4531 | (description | |
4532 | "GNOME Display Manager is a system service that is responsible for | |
4533 | providing graphical log-ins and managing local and remote displays.") | |
4534 | (license license:gpl2+))) | |
8e1dd04f SB |
4535 | |
4536 | (define-public libgtop | |
4537 | (package | |
4538 | (name "libgtop") | |
6983ba56 | 4539 | (version "2.34.0") |
8e1dd04f 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 | |
6983ba56 | 4547 | "0apfnh9k6vmbdm8ms5wxyhagrrl8r88fv48k7q5qq70df2gf72ld")))) |
8e1dd04f SB |
4548 | (build-system gnu-build-system) |
4549 | (native-inputs | |
4550 | `(("gobject-introspection" ,gobject-introspection) | |
4551 | ("intltool" ,intltool) | |
4552 | ("perl" ,perl) | |
4553 | ("pkg-config" ,pkg-config))) | |
4554 | (propagated-inputs | |
4555 | `(("glib" ,glib))) ; required by libgtop-2.0.pc | |
4556 | (synopsis "Portable system access library") | |
4557 | (home-page "https://www.gnome.org/") | |
4558 | (description | |
4559 | "LibGTop is a library to get system specific data such as CPU and memory | |
4560 | usage and information about running processes.") | |
4561 | (license license:gpl2+))) | |
b96c4260 SB |
4562 | |
4563 | (define-public gnome-bluetooth | |
4564 | (package | |
4565 | (name "gnome-bluetooth") | |
6983ba56 | 4566 | (version "3.18.3") |
b96c4260 SB |
4567 | (source (origin |
4568 | (method url-fetch) | |
4569 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4570 | (version-major+minor version) "/" | |
4571 | name "-" version ".tar.xz")) | |
4572 | (sha256 | |
4573 | (base32 | |
6983ba56 | 4574 | "1qwc9q7x22sc71zhqv4db78rqzxl6fqfw6d978ydqap54c2bg0g4")))) |
b96c4260 SB |
4575 | (build-system glib-or-gtk-build-system) |
4576 | (native-inputs | |
4577 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
4578 | ("gobject-introspection" ,gobject-introspection) | |
4579 | ("intltool" ,intltool) | |
4580 | ("pkg-config" ,pkg-config) | |
4581 | ("xmllint" ,libxml2))) | |
4582 | (propagated-inputs | |
4583 | ;; gnome-bluetooth-1.0.pc refers to all these. | |
4584 | `(("gtk+" ,gtk+) | |
4585 | ("udev" ,eudev))) | |
4586 | (inputs | |
4587 | `(("libcanberra" ,libcanberra) | |
4588 | ("libnotify" ,libnotify))) | |
4589 | (synopsis "GNOME Bluetooth subsystem") | |
4590 | (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth") | |
4591 | (description | |
4592 | "This package contains tools for managing and manipulating Bluetooth | |
4593 | devices using the GNOME desktop.") | |
4594 | (license license:lgpl2.1+))) | |
b645146f SB |
4595 | |
4596 | (define-public gnome-control-center | |
4597 | (package | |
4598 | (name "gnome-control-center") | |
8b6b7c73 | 4599 | (version "3.20.1") |
b645146f SB |
4600 | (source (origin |
4601 | (method url-fetch) | |
4602 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4603 | (version-major+minor version) "/" | |
4604 | name "-" version ".tar.xz")) | |
4605 | (sha256 | |
4606 | (base32 | |
8b6b7c73 | 4607 | "1vd1h31vwyq7ss5f1151gx1vdsy35sjmapjmmz7x73ppc3y78r6f")))) |
b645146f SB |
4608 | (build-system glib-or-gtk-build-system) |
4609 | (arguments | |
4610 | '(#:phases | |
4611 | (modify-phases %standard-phases | |
4612 | (add-before 'configure 'patch-paths | |
4613 | (lambda* (#:key inputs #:allow-other-keys) | |
4614 | (let ((libc (assoc-ref inputs "libc")) | |
4615 | (tzdata (assoc-ref inputs "tzdata"))) | |
4616 | (substitute* "panels/datetime/tz.h" | |
4617 | (("/usr/share/zoneinfo/zone.tab") | |
4618 | (string-append tzdata "/share/zoneinfo/zone.tab"))) | |
4619 | (substitute* "panels/datetime/test-endianess.c" | |
4620 | (("/usr/share/locale") | |
4621 | (string-append libc "/share/locale"))) | |
4622 | #t)))))) | |
4623 | (native-inputs | |
4624 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
4625 | ("intltool" ,intltool) | |
4626 | ("pkg-config" ,pkg-config) | |
4627 | ("xsltproc" ,libxslt))) | |
4628 | (inputs | |
4629 | `(("accountsservice" ,accountsservice) | |
4630 | ("clutter-gtk" ,clutter-gtk) | |
4631 | ("colord-gtk" ,colord-gtk) | |
4632 | ("cups" ,cups) | |
4633 | ("dconf" ,dconf) | |
4634 | ("docbook-xsl" ,docbook-xsl) | |
4635 | ("gnome-bluetooth" ,gnome-bluetooth) | |
4636 | ("gnome-desktop" ,gnome-desktop) | |
4637 | ("gnome-online-accounts" ,gnome-online-accounts) | |
4638 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
4639 | ("grilo" ,grilo) | |
4640 | ("ibus" ,ibus) | |
4641 | ("libcanberra" ,libcanberra) | |
4642 | ("libgudev" ,libgudev) | |
4643 | ("libgtop" ,libgtop) | |
4644 | ("libpwquality" ,libpwquality) | |
4645 | ("libsoup" ,libsoup) | |
4646 | ("libxml2" ,libxml2) | |
4647 | ("libwacom" ,libwacom) | |
4648 | ("mesa" ,mesa) | |
4649 | ("mit-krb5" ,mit-krb5) | |
4650 | ("modem-manager" ,modem-manager) | |
4651 | ("network-manager-applet" ,network-manager-applet) | |
4652 | ("polkit" ,polkit) | |
4653 | ("pulseaudio" ,pulseaudio) | |
4654 | ("smbclient" ,samba) | |
4655 | ("tzdata" ,tzdata) | |
4656 | ("upower" ,upower))) | |
4657 | (synopsis "Utilities to configure the GNOME desktop") | |
4658 | (home-page "https://www.gnome.org/") | |
4659 | (description | |
4660 | "This package contains configuration applets for the GNOME desktop, | |
4661 | allowing to set accessibility configuration, desktop fonts, keyboard and mouse | |
4662 | properties, sound setup, desktop theme and background, user interface | |
4663 | properties, screen resolution, and other GNOME parameters.") | |
4664 | (license license:gpl2+))) | |
a4df5756 SB |
4665 | |
4666 | (define-public gnome-shell | |
4667 | (package | |
4668 | (name "gnome-shell") | |
82ab7647 | 4669 | (version "3.20.1") |
a4df5756 SB |
4670 | (source (origin |
4671 | (method url-fetch) | |
4672 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4673 | (version-major+minor version) "/" | |
4674 | name "-" version ".tar.xz")) | |
4675 | (sha256 | |
4676 | (base32 | |
82ab7647 | 4677 | "08cgbr15cim3rgcngrv98rm48pkdxwj4nqx5za1lsnv376m4x5bs")))) |
a4df5756 SB |
4678 | (build-system glib-or-gtk-build-system) |
4679 | (arguments | |
4680 | '(#:phases | |
4681 | (modify-phases %standard-phases | |
4682 | (replace 'install | |
4683 | (lambda* (#:key outputs #:allow-other-keys) | |
4684 | (let* ((out (assoc-ref outputs "out")) | |
4685 | (keysdir (string-append | |
4686 | out "/share/gnome-control-center/keybindings"))) | |
4687 | (zero? (system* "make" | |
4688 | (string-append "keysdir=" keysdir) | |
4689 | "install"))))) | |
4690 | (add-after | |
4691 | 'install 'wrap-programs | |
4692 | (lambda* (#:key outputs #:allow-other-keys) | |
4693 | (let ((out (assoc-ref outputs "out")) | |
4694 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
4695 | (python-path (getenv "PYTHONPATH"))) | |
4696 | (wrap-program (string-append out "/bin/gnome-shell") | |
4697 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))) | |
4698 | (for-each | |
4699 | (lambda (prog) | |
4700 | (wrap-program (string-append out "/bin/" prog) | |
4701 | `("PYTHONPATH" ":" prefix (,python-path)) | |
4702 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
4703 | '("gnome-shell-extension-tool" "gnome-shell-perf-tool")) | |
4704 | #t)))))) | |
4705 | (native-inputs | |
4706 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4707 | ("gobject-introspection" ,gobject-introspection) | |
4708 | ("intltool" ,intltool) | |
4709 | ("pkg-config" ,pkg-config) | |
4710 | ("python" ,python) | |
4711 | ("xsltproc" ,libxslt))) | |
4712 | (inputs | |
4713 | `(("accountsservice" ,accountsservice) | |
4714 | ("caribou" ,caribou) | |
4715 | ("docbook-xsl" ,docbook-xsl) | |
4716 | ("evolution-data-server" ,evolution-data-server) | |
4717 | ("gcr" ,gcr) | |
4718 | ("gdm" ,gdm) | |
4719 | ("gjs" ,gjs) | |
4720 | ("gnome-bluetooth" ,gnome-bluetooth) | |
4721 | ("gnome-control-center" ,gnome-control-center) | |
4722 | ("gnome-desktop" ,gnome-desktop) | |
4723 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
4724 | ("gst-plugins-base" ,gst-plugins-base) | |
4725 | ("ibus" ,ibus) | |
4726 | ("libcanberra" ,libcanberra) | |
4727 | ("libcroco" ,libcroco) | |
4728 | ("libgweather" ,libgweather) | |
4729 | ("libsoup" ,libsoup) | |
4730 | ("mesa-headers" ,mesa-headers) | |
4731 | ("mutter" ,mutter) | |
4732 | ("network-manager-applet" ,network-manager-applet) | |
4733 | ("polkit" ,polkit) | |
4734 | ("pulseaudio" ,pulseaudio) | |
4735 | ("python-pygobject" ,python-pygobject) | |
4736 | ("startup-notification" ,startup-notification) | |
4737 | ("telepathy-logger" ,telepathy-logger) | |
4738 | ("upower" ,upower) | |
4739 | ;; XXX: required by libgjs.la. | |
4740 | ("readline" ,readline))) | |
4741 | (synopsis "Desktop shell for GNOME") | |
4742 | (home-page "https://wiki.gnome.org/Projects/GnomeShell") | |
4743 | (description | |
4744 | "GNOME Shell provides core user interface functions for the GNOME desktop, | |
4745 | like switching to windows and launching applications.") | |
4746 | (license license:gpl2+))) | |
c3f29bc9 RS |
4747 | |
4748 | (define-public gtk-vnc | |
4749 | (package | |
4750 | (name "gtk-vnc") | |
4751 | (version "0.5.4") | |
4752 | (source | |
4753 | (origin | |
4754 | (method url-fetch) | |
4755 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4756 | (version-major+minor version) "/" | |
4757 | name "-" version ".tar.xz")) | |
4758 | (sha256 | |
4759 | (base32 | |
4760 | "1rwwdh7lb16xdmy76ca6mpqfc3zfl3a4bkcr0qb6hs6ffrxak2j8")))) | |
4761 | (build-system gnu-build-system) | |
4762 | (arguments | |
4763 | '(#:configure-flags '("--with-gtk=3.0"))) | |
4764 | (propagated-inputs | |
4765 | `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc. | |
4766 | (inputs | |
4767 | `(("cyrus-sasl" ,cyrus-sasl) | |
4768 | ("gnutls" ,gnutls) | |
4769 | ("libgcrypt" ,libgcrypt) | |
4770 | ("pulseaudio" ,pulseaudio))) | |
4771 | (native-inputs | |
4772 | `(("glib:bin" ,glib "bin") | |
4773 | ("gobject-introspection" ,gobject-introspection) | |
4774 | ("intltool" ,intltool) | |
4775 | ("pkg-config" ,pkg-config) | |
4776 | ("vala" ,vala))) | |
4777 | (home-page "https://wiki.gnome.org/Projects/gtk-vnc") | |
4778 | (synopsis "VNC viewer widget for GTK+") | |
4779 | (description | |
4780 | "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing | |
4781 | applications, for instance the Vinagre client, GNOME Boxes and virt-viewer. | |
4782 | GTK-VNC implements client side RFB protocol and authentication extensions such | |
4783 | as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.") | |
4784 | (license license:lgpl2.1+))) | |
8b877545 RS |
4785 | |
4786 | (define-public nautilus | |
4787 | (package | |
4788 | (name "nautilus") | |
a829a053 | 4789 | (version "3.20.1") |
8b877545 RS |
4790 | (source (origin |
4791 | (method url-fetch) | |
4792 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4793 | (version-major+minor version) "/" | |
4794 | name "-" version ".tar.xz")) | |
4795 | (sha256 | |
4796 | (base32 | |
a829a053 | 4797 | "1s41bsihacs7cywm60vqgv46m22gmga4b0bwxnki4r02jjwhgagj")))) |
8b877545 RS |
4798 | (build-system glib-or-gtk-build-system) |
4799 | (arguments | |
6983ba56 SB |
4800 | '(#:configure-flags |
4801 | '("--disable-tracker" "--disable-selinux") ; XXX: not packaged | |
8b877545 RS |
4802 | ;; XXX: FAIL: check-nautilus |
4803 | ;; Settings schema 'org.gnome.nautilus.preferences' is not installed | |
4804 | #:tests? #f)) | |
4805 | (native-inputs | |
4806 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
4807 | ("gobject-introspection" ,gobject-introspection) | |
4808 | ("intltool" ,intltool) | |
4809 | ("pkg-config" ,pkg-config))) | |
8b877545 RS |
4810 | (inputs |
4811 | ;; TODO: add gvfs support. | |
4812 | `(("dconf" ,dconf) | |
4813 | ("exempi" ,exempi) | |
4814 | ("gnome-desktop" ,gnome-desktop) | |
ce6027bf SB |
4815 | ;; XXX: gtk+ is required by libnautilus-extension.pc |
4816 | ;; | |
4817 | ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta | |
4818 | ;; package. See: | |
4819 | ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>. | |
4820 | ("gtk+" ,gtk+) | |
8b877545 RS |
4821 | ("libexif" ,libexif) |
4822 | ("libxml2" ,libxml2))) | |
4823 | (synopsis "File manager for GNOME") | |
4824 | (home-page "https://wiki.gnome.org/Apps/Nautilus") | |
4825 | (description | |
4826 | "Nautilus (Files) is a file manager designed to fit the GNOME desktop | |
4827 | design and behaviour, giving the user a simple way to navigate and manage its | |
4828 | files.") | |
4829 | (license license:gpl2+))) | |
3c697ffd JR |
4830 | |
4831 | (define-public baobab | |
4832 | (package | |
4833 | (name "baobab") | |
758da0fe | 4834 | (version "3.20.1") |
3c697ffd JR |
4835 | (source (origin |
4836 | (method url-fetch) | |
4837 | (uri (string-append | |
4838 | "mirror://gnome/sources/" name "/" | |
4839 | (version-major+minor version) "/" | |
4840 | name "-" version ".tar.xz")) | |
4841 | (sha256 | |
4842 | (base32 | |
758da0fe | 4843 | "07wx4jb3nmipd4caybv21hl8h0gb282qc5a24b731mxhfqmg3pz9")))) |
3c697ffd JR |
4844 | (build-system glib-or-gtk-build-system) |
4845 | (native-inputs | |
4846 | `(("intltool" ,intltool) | |
4847 | ("pkg-config" ,pkg-config) | |
4848 | ("itstool" ,itstool) | |
4849 | ("xmllint" ,libxml2) | |
4850 | ("glib" ,glib "bin") | |
4851 | ("vala" ,vala))) | |
4852 | (inputs | |
4853 | `(("gtk+" ,gtk+))) | |
4854 | (synopsis "Disk usage analyzer for GNOME") | |
4855 | (description | |
4856 | "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk | |
4857 | usage in the GNOME desktop environment. It can easily scan device volumes or | |
4858 | a specific user-requested directory branch (local or remote). Once the scan | |
4859 | is complete it provides a graphical representation of each selected folder.") | |
4860 | (home-page "https://wiki.gnome.org/Apps/Baobab") | |
4861 | (license license:gpl2+))) | |
dc050251 | 4862 | |
fdba447c RS |
4863 | (define-public gnome-backgrounds |
4864 | (package | |
4865 | (name "gnome-backgrounds") | |
6983ba56 | 4866 | (version "3.20") |
fdba447c RS |
4867 | (source |
4868 | (origin | |
4869 | (method url-fetch) | |
4870 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4871 | (version-major+minor version) "/" | |
4872 | name "-" version ".tar.xz")) | |
4873 | (sha256 | |
4874 | (base32 | |
6983ba56 | 4875 | "09viag7q53lfwrp074a1w7j0r8izlwpi10xbwjgbf5jwbqb6wv6n")))) |
fdba447c RS |
4876 | (build-system glib-or-gtk-build-system) |
4877 | (native-inputs | |
4878 | `(("intltool" ,intltool))) | |
4879 | (home-page "https://git.gnome.org/browse/gnome-backgrounds") | |
4880 | (synopsis "Background images for the GNOME desktop") | |
4881 | (description | |
4882 | "GNOME backgrounds package contains a collection of graphics files which | |
4883 | can be used as backgrounds in the GNOME Desktop environment. Additionally, | |
4884 | the package creates the proper framework and directory structure so that you | |
4885 | can add your own files to the collection.") | |
4886 | (license (list license:gpl2+ | |
4887 | license:cc-by2.0 | |
4888 | license:cc-by-sa2.0 | |
4889 | license:cc-by-sa3.0)))) | |
4890 | ||
b784b1a9 RS |
4891 | (define-public gnome-screenshot |
4892 | (package | |
4893 | (name "gnome-screenshot") | |
4894 | (version "3.18.0") | |
4895 | (source | |
4896 | (origin | |
4897 | (method url-fetch) | |
4898 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4899 | (version-major+minor version) "/" | |
4900 | name "-" version ".tar.xz")) | |
4901 | (sha256 | |
4902 | (base32 | |
4903 | "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb")))) | |
4904 | (build-system glib-or-gtk-build-system) | |
4905 | (native-inputs | |
4906 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
4907 | ("intltool" ,intltool) | |
4908 | ("pkg-config" ,pkg-config))) | |
4909 | (inputs | |
4910 | `(("gtk+" ,gtk+) | |
4911 | ("libcanberra" ,libcanberra) | |
4912 | ("libx11" ,libx11) | |
4913 | ("libxext" ,libxext))) | |
4914 | (home-page "https://git.gnome.org/browse/gnome-screenshot") | |
4915 | (synopsis "Take pictures of your screen") | |
4916 | (description | |
4917 | "GNOME Screenshot is a utility used for taking screenshots of the entire | |
4918 | screen, a window or a user defined area of the screen, with optional | |
4919 | beautifying border effects.") | |
4920 | (license license:gpl2+))) | |
4921 | ||
66d59111 RS |
4922 | (define-public dconf-editor |
4923 | (package | |
4924 | (name "dconf-editor") | |
0ddba707 | 4925 | (version "3.20.1") |
66d59111 RS |
4926 | (source |
4927 | (origin | |
4928 | (method url-fetch) | |
4929 | (uri (string-append "mirror://gnome/sources/" name "/" | |
4930 | (version-major+minor version) "/" | |
4931 | name "-" version ".tar.xz")) | |
4932 | (sha256 | |
4933 | (base32 | |
0ddba707 | 4934 | "0pfpmvpv57a01nsd1fah3np33avihm5ic43fi6b60dyw6c5z953p")))) |
66d59111 RS |
4935 | (build-system glib-or-gtk-build-system) |
4936 | (native-inputs | |
4937 | `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. | |
4938 | ("intltool" ,intltool) | |
4939 | ("pkg-config" ,pkg-config))) | |
4940 | (inputs | |
4941 | `(("dconf" ,dconf) | |
4942 | ("gtk+" ,gtk+) | |
4943 | ("libxml2" ,libxml2))) | |
4944 | (home-page "https://git.gnome.org/browse/dconf-editor") | |
4945 | (synopsis "Graphical editor for GNOME's dconf configuration system") | |
4946 | (description | |
4947 | "Dconf-editor is a graphical tool for browsing and editing the dconf | |
4948 | configuration system for GNOME. It allows users to configure desktop | |
4949 | software that do not provide their own configuration interface.") | |
4950 | (license license:lgpl2.1+))) | |
4951 | ||
dc050251 SB |
4952 | (define-public gnome |
4953 | (package | |
4954 | (name "gnome") | |
4955 | (version (package-version gnome-shell)) | |
4956 | (source #f) | |
4957 | (build-system trivial-build-system) | |
4958 | (arguments '(#:builder (mkdir %output))) | |
4959 | (propagated-inputs | |
4960 | ;; TODO: Add more packages according to: | |
4961 | ;; <https://packages.debian.org/jessie/gnome-core>. | |
4962 | `(("adwaita-icon-theme" ,adwaita-icon-theme) | |
05f651c4 | 4963 | ("baobab" ,baobab) |
0bd3597b | 4964 | ("font-cantarell" ,font-cantarell) |
dc050251 SB |
4965 | ("at-spi2-core" ,at-spi2-core) |
4966 | ("dbus" ,dbus) | |
4967 | ("dconf" ,dconf) | |
72360453 | 4968 | ("desktop-file-utils" ,desktop-file-utils) |
dc050251 SB |
4969 | ("eog" ,eog) |
4970 | ("epiphany" ,epiphany) | |
4971 | ("evince" ,evince) | |
4972 | ("gedit" ,gedit) | |
4973 | ("glib-networking" ,glib-networking) | |
05f651c4 | 4974 | ("gnome-backgrounds" ,gnome-backgrounds) |
dc050251 SB |
4975 | ("gnome-control-center" ,gnome-control-center) |
4976 | ("gnome-keyring" ,gnome-keyring) | |
4977 | ("gnome-session" ,gnome-session) | |
4978 | ("gnome-settings-daemon" ,gnome-settings-daemon) | |
4979 | ("gnome-shell" ,gnome-shell) | |
4980 | ("gnome-terminal" ,gnome-terminal) | |
4981 | ("gnome-themes-standard" ,gnome-themes-standard) | |
05f651c4 | 4982 | ("gvfs" ,gvfs) |
dc050251 SB |
4983 | ("hicolor-icon-theme" ,hicolor-icon-theme) |
4984 | ("nautilus" ,nautilus) | |
4985 | ("pulseaudio" ,pulseaudio) | |
4986 | ("shared-mime-info" ,shared-mime-info) | |
4987 | ("totem" ,totem) | |
4988 | ("yelp" ,yelp) | |
4989 | ("zenity" ,zenity))) | |
fe4e698d | 4990 | (synopsis "The GNU desktop environment") |
dc050251 SB |
4991 | (home-page "https://www.gnome.org/") |
4992 | (description | |
fe4e698d LC |
4993 | "GNOME is the graphical desktop for GNU. It includes a wide variety of |
4994 | applications for browsing the web, editing text and images, creating | |
4995 | documents and diagrams, playing media, scanning, and much more.") | |
dc050251 | 4996 | (license license:gpl2+))) |
4a526711 DT |
4997 | |
4998 | (define-public byzanz | |
4999 | ;; The last stable release of Byzanz was in 2011, but there have been many | |
5000 | ;; useful commits made to the Byzanz repository since then that it would be | |
5001 | ;; silly to use such an old release. | |
5002 | (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af")) | |
5003 | (package | |
5004 | (name "byzanz") | |
5005 | (version (string-append "0.2-1." (string-take commit 7))) | |
5006 | (source (origin | |
5007 | (method git-fetch) | |
5008 | (uri (git-reference | |
5009 | (url "git://git.gnome.org/byzanz") | |
5010 | (commit commit))) | |
5011 | (sha256 | |
5012 | (base32 | |
5013 | "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3")))) | |
5014 | (build-system glib-or-gtk-build-system) | |
5015 | (arguments | |
5016 | '(#:phases | |
5017 | (modify-phases %standard-phases | |
5018 | (add-after 'unpack 'bootstrap | |
5019 | (lambda _ | |
5020 | ;; The build system cleverly detects that we're not building from | |
5021 | ;; a release tarball and turns on -Werror for GCC. | |
5022 | ;; Unsurprisingly, there is a warning during compilation that | |
5023 | ;; causes the build to fail unnecessarily, so we remove the flag. | |
5024 | (substitute* '("configure.ac") | |
5025 | (("-Werror") "")) | |
5026 | ;; The autogen.sh script in gnome-common will run ./configure | |
5027 | ;; by default, which is problematic because source shebangs | |
5028 | ;; have not yet been patched. | |
5029 | (setenv "NOCONFIGURE" "t") | |
5030 | (zero? (system* "sh" "autogen.sh"))))))) | |
5031 | (native-inputs | |
5032 | `(("autoconf" ,autoconf) | |
5033 | ("automake" ,automake) | |
5034 | ("gnome-common" ,gnome-common) | |
5035 | ("intltool" ,intltool) | |
5036 | ("libtool" ,libtool) | |
5037 | ("pkg-config" ,pkg-config) | |
5038 | ("which" ,which))) | |
5039 | (inputs | |
5040 | `(("glib" ,glib) | |
5041 | ("gstreamer" ,gstreamer) | |
5042 | ("gst-plugins-base" ,gst-plugins-base) | |
5043 | ("gtk+" ,gtk+))) | |
5044 | (synopsis "Desktop recording program") | |
5045 | (description "Byzanz is a simple desktop recording program with a | |
5046 | command-line interface. It can record part or all of an X display for a | |
5047 | specified duration and save it as a GIF encoded animated image file.") | |
5048 | (home-page "https://git.gnome.org/browse/byzanz") | |
5049 | (license license:gpl2+)))) | |
3a9a4c51 RS |
5050 | |
5051 | (define-public libzapojit | |
5052 | (package | |
5053 | (name "libzapojit") | |
5054 | (version "0.0.3") | |
5055 | (source (origin | |
5056 | (method url-fetch) | |
5057 | (uri (string-append "mirror://gnome/sources/" name "/" | |
5058 | (version-major+minor version) "/" | |
5059 | name "-" version ".tar.xz")) | |
5060 | (sha256 | |
5061 | (base32 | |
5062 | "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x")))) | |
5063 | (build-system gnu-build-system) | |
5064 | (native-inputs | |
5065 | `(("gobject-introspection" ,gobject-introspection) | |
5066 | ("intltool" ,intltool) | |
5067 | ("pkg-config" ,pkg-config))) | |
5068 | (inputs | |
5069 | `(("gnome-online-accounts" ,gnome-online-accounts) | |
5070 | ("json-glib" ,json-glib) | |
5071 | ("rest" ,rest))) | |
5072 | (home-page "https://wiki.gnome.org/Projects/Zapojit") | |
5073 | (synopsis "Library for accessing SkyDrive and Hotmail") | |
5074 | (description | |
5075 | "Libzapojit is a GLib-based library for accessing online service APIs of | |
5076 | Microsoft SkyDrive and Hotmail, using their REST protocols.") | |
5077 | (license license:lgpl2.1+))) | |
9365ee1c JN |
5078 | |
5079 | (define-public gnome-tweak-tool | |
5080 | (package | |
5081 | (name "gnome-tweak-tool") | |
5082 | (version "3.20.1") | |
5083 | (source (origin | |
5084 | (method url-fetch) | |
5085 | (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/" | |
5086 | (version-major+minor version) "/" | |
5087 | "gnome-tweak-tool-" version ".tar.xz")) | |
5088 | (patches (list | |
5089 | (search-patch "gnome-tweak-tool-search-paths.patch"))) | |
5090 | (sha256 | |
5091 | (base32 | |
5092 | "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai")))) | |
5093 | (build-system gnu-build-system) | |
5094 | (arguments | |
5095 | `(#:configure-flags '("--localstatedir=/tmp" | |
5096 | "--sysconfdir=/tmp") | |
5097 | #:imported-modules ((guix build python-build-system) | |
5098 | ,@%gnu-build-system-modules) | |
5099 | #:phases (modify-phases %standard-phases | |
5100 | (add-after 'install 'wrap | |
5101 | (@@ (guix build python-build-system) wrap))))) | |
5102 | (native-inputs | |
5103 | `(("intltool" ,intltool) | |
5104 | ("pkg-config" ,pkg-config))) | |
5105 | (inputs | |
5106 | `(("python" ,python-2) | |
5107 | ("python2-pygobject" ,python2-pygobject))) | |
5108 | (propagated-inputs | |
5109 | `(("libnotify" ,libnotify) | |
5110 | ("gobject-introspection" ,gobject-introspection) | |
5111 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
5112 | ("gtk+" ,gtk+))) | |
5113 | (synopsis "Customize advanced GNOME 3 options") | |
5114 | (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool") | |
5115 | (description | |
5116 | "GNOME Tweak Tool allows adjusting advanced configuration settings in | |
5117 | GNOME 3. This includes things like the fonts used in user interface elements, | |
5118 | alternative user interface themes, changes in window management behavior, | |
5119 | GNOME Shell appearance and extension, etc.") | |
5120 | (license license:gpl3+))) |