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