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