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> |
88f70665 | 8 | ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com> |
1e7464a9 | 9 | ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com> |
8ff49011 | 10 | ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> |
ba421ab7 | 11 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> |
995b7261 AE |
12 | ;;; |
13 | ;;; This file is part of GNU Guix. | |
14 | ;;; | |
15 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
16 | ;;; under the terms of the GNU General Public License as published by | |
17 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
18 | ;;; your option) any later version. | |
19 | ;;; | |
20 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
21 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
22 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
23 | ;;; GNU General Public License for more details. | |
24 | ;;; | |
25 | ;;; You should have received a copy of the GNU General Public License | |
26 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
27 | ||
28 | (define-module (gnu packages gnome) | |
b5b73a82 | 29 | #:use-module ((guix licenses) #:prefix license:) |
995b7261 AE |
30 | #:use-module (guix packages) |
31 | #:use-module (guix download) | |
29a7c98a | 32 | #:use-module (guix utils) |
995b7261 | 33 | #:use-module (guix build-system gnu) |
121de2e1 | 34 | #:use-module (guix build-system glib-or-gtk) |
ed19903d | 35 | #:use-module (gnu packages) |
75016d07 | 36 | #:use-module (gnu packages autotools) |
7b212526 | 37 | #:use-module (gnu packages avahi) |
6a180f6f | 38 | #:use-module (gnu packages base) |
5698b8b8 | 39 | #:use-module (gnu packages bison) |
23a22af6 | 40 | #:use-module (gnu packages cups) |
6e1bb642 SB |
41 | #:use-module (gnu packages curl) |
42 | #:use-module (gnu packages databases) | |
c769cf9f | 43 | #:use-module (gnu packages djvu) |
121de2e1 | 44 | #:use-module (gnu packages flex) |
b4ce6300 | 45 | #:use-module (gnu packages docbook) |
995b7261 | 46 | #:use-module (gnu packages glib) |
c1354b90 | 47 | #:use-module (gnu packages gnupg) |
23a22af6 | 48 | #:use-module (gnu packages gnuzilla) |
85f5dc19 | 49 | #:use-module (gnu packages gstreamer) |
d9c1a22b | 50 | #:use-module (gnu packages gtk) |
6b888eff | 51 | #:use-module (gnu packages guile) |
c1354b90 | 52 | #:use-module (gnu packages pdf) |
75016d07 | 53 | #:use-module (gnu packages polkit) |
5698b8b8 | 54 | #:use-module (gnu packages popt) |
c1354b90 | 55 | #:use-module (gnu packages ghostscript) |
9cc98f8a | 56 | #:use-module (gnu packages iso-codes) |
85f5dc19 | 57 | #:use-module (gnu packages libcanberra) |
88f70665 | 58 | #:use-module (gnu packages linux) |
75016d07 | 59 | #:use-module (gnu packages libusb) |
4e3fc547 | 60 | #:use-module (gnu packages lirc) |
7b212526 | 61 | #:use-module (gnu packages lua) |
e55354b8 | 62 | #:use-module (gnu packages image) |
27477d2d | 63 | #:use-module (gnu packages perl) |
995b7261 | 64 | #:use-module (gnu packages pkg-config) |
23a22af6 | 65 | #:use-module (gnu packages pulseaudio) |
995b7261 | 66 | #:use-module (gnu packages python) |
75016d07 | 67 | #:use-module (gnu packages scanner) |
4a1bf090 | 68 | #:use-module (gnu packages ssh) |
85f5dc19 | 69 | #:use-module (gnu packages xml) |
200726ed | 70 | #:use-module (gnu packages gl) |
fb182b8a | 71 | #:use-module (gnu packages qt) ; for libxkbcommon |
1dd26275 | 72 | #:use-module (gnu packages compression) |
c769cf9f | 73 | #:use-module (gnu packages texlive) |
a7fd7b68 | 74 | #:use-module (gnu packages tls) |
6e1bb642 | 75 | #:use-module (gnu packages web) |
4a79e256 | 76 | #:use-module (gnu packages webkit) |
fecbf86e | 77 | #:use-module (gnu packages xorg) |
ea57378f | 78 | #:use-module (gnu packages xdisorg) |
ba421ab7 | 79 | #:use-module (gnu packages freedesktop) |
1e7464a9 DH |
80 | #:use-module (gnu packages mail) |
81 | #:use-module (gnu packages backup) | |
82 | #:use-module (gnu packages nettle) | |
c024ae36 RW |
83 | #:use-module (gnu packages ncurses) |
84 | #:use-module (srfi srfi-1)) | |
85f5dc19 AE |
85 | |
86 | (define-public brasero | |
87 | (package | |
88 | (name "brasero") | |
e8627cd9 | 89 | (version "3.12.1") |
85f5dc19 AE |
90 | (source (origin |
91 | (method url-fetch) | |
e8627cd9 DH |
92 | (uri (string-append "mirror://gnome/sources/" name "/" |
93 | (version-major+minor version) "/" | |
94 | name "-" version ".tar.xz")) | |
85f5dc19 AE |
95 | (sha256 |
96 | (base32 | |
e8627cd9 | 97 | "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls")))) |
85f5dc19 | 98 | (build-system gnu-build-system) |
e8627cd9 DH |
99 | (arguments |
100 | `(#:configure-flags (list | |
101 | (string-append "--with-girdir=" | |
102 | (assoc-ref %outputs "out") | |
103 | "/share/gir-1.0") | |
104 | (string-append "--with-typelibdir=" | |
105 | (assoc-ref %outputs "out") | |
106 | "/lib/girepository-1.0")))) | |
85f5dc19 AE |
107 | (propagated-inputs |
108 | `(("hicolor-icon-theme" ,hicolor-icon-theme))) | |
9cc98f8a CR |
109 | (native-inputs |
110 | `(("intltool" ,intltool) | |
426adbe8 | 111 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
e8627cd9 | 112 | ("gobject-introspection" ,gobject-introspection) |
9cc98f8a | 113 | ("pkg-config" ,pkg-config))) |
85f5dc19 AE |
114 | (inputs |
115 | `(("glib" ,glib) | |
116 | ("gnome-doc-utils" ,gnome-doc-utils) | |
117 | ("gstreamer" ,gstreamer) | |
118 | ("gst-plugins-base" ,gst-plugins-base) | |
119 | ("gtk+" ,gtk+) | |
85f5dc19 AE |
120 | ("itstool" ,itstool) |
121 | ("libcanberra" ,libcanberra) | |
122 | ("libice" ,libice) | |
123 | ("libnotify" ,libnotify) | |
124 | ("libsm" ,libsm) | |
e8627cd9 DH |
125 | ("libxml2" ,libxml2) |
126 | ("nettle" ,nettle) | |
127 | ("totem-pl-parser" ,totem-pl-parser))) | |
85f5dc19 AE |
128 | (home-page "https://projects.gnome.org/brasero/") |
129 | (synopsis "CD/DVD burning tool for Gnome") | |
130 | (description "Brasero is an application to burn CD/DVD for the Gnome | |
131 | Desktop. It is designed to be as simple as possible and has some unique | |
132 | features to enable users to create their discs easily and quickly.") | |
1dd26275 | 133 | (license license:gpl2+))) |
995b7261 | 134 | |
9cc98f8a CR |
135 | (define-public gnome-desktop |
136 | (package | |
137 | (name "gnome-desktop") | |
12f7f4aa | 138 | (version "3.16.0") |
9cc98f8a CR |
139 | (source |
140 | (origin | |
141 | (method url-fetch) | |
b38e45d8 EB |
142 | (uri (string-append "mirror://gnome/sources/" name "/" |
143 | (version-major+minor version) "/" | |
9cc98f8a CR |
144 | name "-" version ".tar.xz")) |
145 | (sha256 | |
146 | (base32 | |
12f7f4aa | 147 | "05lvik5cdh51xqd332qingph09zdhiaa1kqy9k2sk1simz4pvf8m")))) |
9cc98f8a CR |
148 | (build-system gnu-build-system) |
149 | (native-inputs | |
150 | `(("intltool" ,intltool) | |
151 | ("pkg-config" ,pkg-config))) | |
152 | (inputs | |
153 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
154 | ("glib" ,glib) | |
155 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
156 | ("gtk+" ,gtk+) | |
157 | ("iso-codes" ,iso-codes) | |
158 | ("itstool" ,itstool) | |
159 | ("libx11" ,libx11) | |
160 | ("libxext" ,libxext) | |
161 | ("libxkbfile" ,libxkbfile) | |
162 | ("libxrandr" ,libxrandr) | |
163 | ("xkeyboard-config" ,xkeyboard-config))) | |
164 | (home-page "https://www.gnome.org/") | |
165 | (synopsis | |
35b9e423 | 166 | "Libgnome-desktop, gnome-about, and desktop-wide documents") |
9cc98f8a CR |
167 | (description |
168 | "The libgnome-desktop library provides API shared by several applications | |
35b9e423 EB |
169 | on the desktop, but that cannot live in the platform for various reasons. |
170 | There is no API or ABI guarantee, although we are doing our best to provide | |
171 | stability. Documentation for the API is available with gtk-doc. | |
9cc98f8a CR |
172 | |
173 | The gnome-about program helps find which version of GNOME is installed.") | |
174 | ; Some bits under the LGPL. | |
1dd26275 | 175 | (license license:gpl2+))) |
9cc98f8a | 176 | |
995b7261 AE |
177 | (define-public gnome-doc-utils |
178 | (package | |
179 | (name "gnome-doc-utils") | |
180 | (version "0.20.10") | |
181 | (source | |
182 | (origin | |
183 | (method url-fetch) | |
b38e45d8 EB |
184 | (uri (string-append "mirror://gnome/sources/" name "/" |
185 | (version-major+minor version) "/" | |
995b7261 AE |
186 | name "-" version ".tar.xz")) |
187 | (sha256 | |
188 | (base32 | |
189 | "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb")))) | |
190 | (build-system gnu-build-system) | |
c4c4cc05 | 191 | (native-inputs |
995b7261 | 192 | `(("intltool" ,intltool) |
b4ce6300 | 193 | ("docbook-xml" ,docbook-xml-4.4) |
d80b0d4a | 194 | ("python2-libxml2" ,python2-libxml2) |
995b7261 AE |
195 | ("libxml2" ,libxml2) |
196 | ("libxslt" ,libxslt) | |
197 | ("pkg-config" ,pkg-config) | |
198 | ("python-2" ,python-2))) | |
995b7261 AE |
199 | (home-page "https://wiki.gnome.org/GnomeDocUtils") |
200 | (synopsis | |
201 | "Documentation utilities for the Gnome project") | |
202 | (description | |
203 | "Gnome-doc-utils is a collection of documentation utilities for the | |
204 | Gnome project. It includes xml2po tool which makes it easier to translate | |
205 | and keep up to date translations of documentation.") | |
1dd26275 | 206 | (license license:gpl2+))) ; xslt under lgpl |
d9c1a22b | 207 | |
8ff49011 RW |
208 | (define-public gcr |
209 | (package | |
210 | (name "gcr") | |
211 | (version "3.16.0") | |
212 | (source (origin | |
213 | (method url-fetch) | |
214 | (uri (string-append "mirror://gnome/sources/" name "/" | |
215 | (version-major+minor version) "/" | |
216 | name "-" version ".tar.xz")) | |
217 | (sha256 | |
218 | (base32 | |
219 | "0xfhi0w358lvca1jjx24x2gm67mif33dsnmi9cv5i0f83ks8vzpc")))) | |
220 | (build-system gnu-build-system) | |
221 | (arguments | |
222 | '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does | |
223 | ;not exist | |
224 | #:phases (modify-phases %standard-phases | |
225 | (add-before | |
226 | 'check 'pre-check | |
227 | (lambda* (#:key inputs #:allow-other-keys) | |
228 | (substitute* "build/tap-driver" | |
229 | (("/usr/bin/env python") (which "python")))))))) | |
230 | (inputs | |
231 | `(("dbus" ,dbus) | |
232 | ("gnupg" ,gnupg) ;called as a child process during tests | |
233 | ("libgcrypt" ,libgcrypt))) | |
234 | (native-inputs | |
235 | `(("python" ,python-2) ;for tests | |
236 | ("pkg-config" ,pkg-config) | |
237 | ("glib" ,glib "bin") | |
238 | ("intltool" ,intltool))) | |
239 | ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc | |
240 | (propagated-inputs | |
241 | `(("p11-kit" ,p11-kit) | |
242 | ("glib" ,glib) | |
243 | ("gtk+" ,gtk+))) | |
244 | (home-page "http://www.gnome.org") | |
245 | (synopsis "Libraries for displaying certificates and accessing key stores") | |
246 | (description | |
247 | "The GCR package contains libraries used for displaying certificates and | |
248 | accessing key stores. It also provides the viewer for crypto files on the | |
249 | GNOME Desktop.") | |
250 | (license license:lgpl2.1+))) | |
251 | ||
c1354b90 LC |
252 | (define-public libgnome-keyring |
253 | (package | |
254 | (name "libgnome-keyring") | |
255 | (version "3.6.0") | |
256 | (source (origin | |
257 | (method url-fetch) | |
b38e45d8 EB |
258 | (uri (string-append "mirror://gnome/sources/" name "/" |
259 | (version-major+minor version) "/" | |
260 | name "-" version ".tar.xz")) | |
c1354b90 LC |
261 | (sha256 |
262 | (base32 | |
263 | "0c4qrjpmv1hqga3xv6wsq2z10x2n78qgw7q3k3s01y1pggxkgjkd")))) | |
264 | (build-system gnu-build-system) | |
c1354b90 | 265 | (inputs |
c4c4cc05 | 266 | `(("libgcrypt" ,libgcrypt) |
c1354b90 | 267 | ("dbus" ,dbus))) |
c4c4cc05 JD |
268 | (native-inputs |
269 | `(("pkg-config" ,pkg-config) | |
426adbe8 | 270 | ("glib" ,glib "bin") |
c4c4cc05 | 271 | ("intltool" ,intltool))) |
c1354b90 LC |
272 | (propagated-inputs |
273 | ;; Referred to in .h files and .pc. | |
274 | `(("glib" ,glib))) | |
275 | (home-page "http://www.gnome.org") | |
276 | (synopsis "Accessing passwords from the GNOME keyring") | |
277 | (description | |
278 | "Client library to access passwords from the GNOME keyring.") | |
279 | ||
280 | ;; Though a couple of files are LGPLv2.1+. | |
1dd26275 | 281 | (license license:lgpl2.0+))) |
c1354b90 | 282 | |
e99a3d6f RW |
283 | (define-public gnome-keyring |
284 | (package | |
285 | (name "gnome-keyring") | |
286 | (version "3.16.0") | |
287 | (source (origin | |
288 | (method url-fetch) | |
289 | (uri (string-append "mirror://gnome/sources/" name "/" | |
290 | (version-major+minor version) "/" | |
291 | name "-" version ".tar.xz")) | |
292 | (sha256 | |
293 | (base32 | |
294 | "1xg1xha3x3hzlmvdq2zm90hc61pj7pnf9yxxvgq4ynl5af6bp8qm")))) | |
295 | (build-system gnu-build-system) | |
296 | (arguments | |
297 | `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does | |
298 | ;not exist | |
299 | #:configure-flags | |
300 | (list | |
301 | (string-append "--with-pkcs11-config=" | |
302 | (assoc-ref %outputs "out") "/share/p11-kit/modules/") | |
303 | (string-append "--with-pkcs11-modules=" | |
304 | (assoc-ref %outputs "out") "/share/p11-kit/modules/")) | |
305 | #:phases | |
306 | (modify-phases %standard-phases | |
307 | (add-before | |
308 | 'check 'pre-check | |
309 | (lambda* (#:key inputs #:allow-other-keys) | |
310 | (substitute* "build/tap-driver" | |
311 | (("/usr/bin/env python") (which "python"))))) | |
312 | (add-before | |
313 | 'configure 'fix-docbook | |
314 | (lambda* (#:key inputs #:allow-other-keys) | |
315 | (substitute* "docs/Makefile.am" | |
316 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
317 | (string-append (assoc-ref inputs "docbook-xsl") | |
318 | "/xml/xsl/docbook-xsl-" | |
319 | ,(package-version docbook-xsl) | |
320 | "/manpages/docbook.xsl"))) | |
321 | (setenv "XML_CATALOG_FILES" | |
322 | (string-append (assoc-ref inputs "docbook-xml") | |
323 | "/xml/dtd/docbook/catalog.xml"))))))) | |
324 | (inputs | |
325 | `(("libgcrypt" ,libgcrypt) | |
326 | ("dbus" ,dbus) | |
327 | ("gcr" ,gcr))) | |
328 | (native-inputs | |
329 | `(("pkg-config" ,pkg-config) | |
330 | ("glib" ,glib "bin") | |
331 | ("python" ,python-2) ;for tests | |
332 | ("intltool" ,intltool) | |
333 | ("autoconf" ,autoconf) | |
334 | ("automake" ,automake) | |
335 | ("libxslt" ,libxslt) ;for documentation | |
336 | ("docbook-xml" ,docbook-xml-4.2) | |
337 | ("docbook-xsl" ,docbook-xsl))) | |
338 | (home-page "http://www.gnome.org") | |
339 | (synopsis "Daemon to store passwords and encryption keys") | |
340 | (description | |
341 | "gnome-keyring is a program that keeps passwords and other secrets for | |
342 | users. It is run as a daemon in the session, similar to ssh-agent, and other | |
343 | applications locate it via an environment variable or D-Bus. | |
344 | ||
345 | The program can manage several keyrings, each with its own master password, | |
346 | and there is also a session keyring which is never stored to disk, but | |
347 | forgotten when the session ends.") | |
348 | (license license:lgpl2.1+))) | |
349 | ||
c1354b90 LC |
350 | (define-public evince |
351 | (package | |
352 | (name "evince") | |
c769cf9f | 353 | (version "3.16.1") |
c1354b90 LC |
354 | (source (origin |
355 | (method url-fetch) | |
b38e45d8 EB |
356 | (uri (string-append "mirror://gnome/sources/" name "/" |
357 | (version-major+minor version) "/" | |
358 | name "-" version ".tar.xz")) | |
c1354b90 LC |
359 | (sha256 |
360 | (base32 | |
c769cf9f | 361 | "0c31pwfzfm5x036f018q31k33vl8xb96nbs0iiccsc1abc37bzq6")))) |
121de2e1 | 362 | (build-system glib-or-gtk-build-system) |
c1354b90 LC |
363 | (arguments |
364 | `(#:configure-flags '("--disable-nautilus") | |
365 | ||
366 | ;; FIXME: Tests fail with: | |
367 | ;; ImportError: No module named gi.repository | |
368 | ;; Where should that module come from? | |
3d243e9c | 369 | #:tests? #f)) |
c1354b90 LC |
370 | (inputs |
371 | `(("libspectre" ,libspectre) | |
c769cf9f | 372 | ("djvulibre" ,djvulibre) |
c1354b90 LC |
373 | ("ghostscript" ,ghostscript) |
374 | ("poppler" ,poppler) | |
c769cf9f SB |
375 | ("libtiff" ,libtiff) |
376 | ;; TODO: | |
377 | ;; Add libgxps for XPS support. | |
378 | ;; Build libkpathsea as a shared library for DVI support. | |
379 | ;; ("libkpathsea" ,texlive-bin) | |
380 | ("gnome-desktop" ,gnome-desktop) | |
c1354b90 LC |
381 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
382 | ("libgnome-keyring" ,libgnome-keyring) | |
c769cf9f | 383 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
c1354b90 LC |
384 | ("itstool" ,itstool) |
385 | ("gdk-pixbuf" ,gdk-pixbuf) | |
386 | ("atk" ,atk) | |
387 | ("pango" ,pango) | |
388 | ("gtk+" ,gtk+) | |
389 | ("glib" ,glib) | |
390 | ("libxml2" ,libxml2) | |
c1354b90 LC |
391 | ("libsm" ,libsm) |
392 | ("libice" ,libice) | |
96e42467 | 393 | ("shared-mime-info" ,shared-mime-info) |
3d243e9c FB |
394 | ("dconf" ,dconf) |
395 | ("libcanberra" ,libcanberra) | |
c769cf9f | 396 | ("libsecret" ,libsecret) |
2e6ecc5c | 397 | |
c1354b90 LC |
398 | ;; For tests. |
399 | ("dogtail" ,python2-dogtail))) | |
96e42467 | 400 | (native-inputs |
c4c4cc05 | 401 | `(("intltool" ,intltool) |
426adbe8 | 402 | ("glib" ,glib "bin") |
c4c4cc05 | 403 | ("pkg-config" ,pkg-config))) |
c1354b90 LC |
404 | (home-page |
405 | "http://www.gnome.org/projects/evince/") | |
406 | (synopsis "GNOME's document viewer") | |
407 | (description | |
408 | "Evince is a document viewer for multiple document formats. It | |
409 | currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal | |
410 | of Evince is to replace the multiple document viewers that exist | |
96e42467 | 411 | on the GNOME Desktop with a single simple application.") |
1dd26275 | 412 | (license license:gpl2+))) |
c1354b90 | 413 | |
22e32e69 AE |
414 | (define-public gsettings-desktop-schemas |
415 | (package | |
416 | (name "gsettings-desktop-schemas") | |
67bdcfbc | 417 | (version "3.16.0") |
22e32e69 AE |
418 | (source |
419 | (origin | |
420 | (method url-fetch) | |
421 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 422 | (version-major+minor version) "/" |
22e32e69 AE |
423 | name "-" version ".tar.xz")) |
424 | (sha256 | |
425 | (base32 | |
67bdcfbc | 426 | "02dp1hl38k16m9abydfca1n236mdazqdz0p3n92s7haf9mdqsf16")))) |
22e32e69 AE |
427 | (build-system gnu-build-system) |
428 | (inputs | |
c4c4cc05 JD |
429 | `(("glib" ,glib))) |
430 | (native-inputs | |
431 | `(("intltool" ,intltool) | |
426adbe8 | 432 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
7211944a | 433 | ("gobject-introspection" ,gobject-introspection) |
22e32e69 AE |
434 | ("pkg-config" ,pkg-config))) |
435 | (home-page "https://launchpad.net/gsettings-desktop-schemas") | |
436 | (synopsis | |
437 | "GNOME settings for various desktop components") | |
438 | (description | |
439 | "Gsettings-desktop-schemas contains a collection of GSettings schemas | |
440 | for settings shared by various components of the GNOME desktop.") | |
1dd26275 | 441 | (license license:lgpl2.1+))) |
22e32e69 | 442 | |
27477d2d AE |
443 | (define-public icon-naming-utils |
444 | (package | |
445 | (name "icon-naming-utils") | |
446 | (version "0.8.90") | |
447 | (source | |
448 | (origin | |
449 | (method url-fetch) | |
450 | (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-" | |
451 | version ".tar.bz2")) | |
452 | (sha256 | |
453 | (base32 | |
454 | "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi")))) | |
455 | (build-system gnu-build-system) | |
456 | (inputs | |
457 | `(("perl" ,perl) | |
458 | ("perl-xml-simple" ,perl-xml-simple))) | |
f4e97277 SB |
459 | (arguments |
460 | '(#:phases | |
461 | (alist-cons-after | |
462 | 'install 'set-load-paths | |
463 | ;; Tell 'icon-name-mapping' where XML::Simple is. | |
464 | (lambda* (#:key outputs #:allow-other-keys) | |
465 | (let* ((out (assoc-ref outputs "out")) | |
466 | (prog (string-append out "/libexec/icon-name-mapping"))) | |
467 | (wrap-program | |
468 | prog | |
469 | `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))) | |
470 | %standard-phases))) | |
27477d2d AE |
471 | (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification") |
472 | (synopsis | |
473 | "Utility to implement the Freedesktop Icon Naming Specification") | |
474 | (description | |
475 | "To help with the transition to the Freedesktop Icon Naming | |
476 | Specification, the icon naming utility maps the icon names used by the | |
477 | GNOME and KDE desktops to the icon names proposed in the specification.") | |
1dd26275 | 478 | (license license:lgpl2.1+))) |
27477d2d | 479 | |
686e025d SB |
480 | (define-public desktop-file-utils |
481 | (package | |
482 | (name "desktop-file-utils") | |
483 | (version "0.22") | |
484 | (source (origin | |
485 | (method url-fetch) | |
486 | (uri (string-append "http://www.freedesktop.org/software/" name | |
487 | "/releases/" name "-" version ".tar.xz")) | |
488 | (sha256 | |
489 | (base32 | |
490 | "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4")))) | |
491 | (build-system gnu-build-system) | |
492 | (native-inputs | |
493 | `(("pkg-config" ,pkg-config))) | |
494 | (inputs | |
495 | `(("glib" ,glib))) | |
496 | (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/") | |
497 | (synopsis "Utilities for working with desktop entries") | |
498 | (description | |
499 | "This package contains a few command line utilities for working with | |
500 | desktop entries: | |
501 | ||
502 | desktop-file-validate: validates a desktop file and prints warnings/errors | |
503 | about desktop entry specification violations. | |
504 | ||
505 | desktop-file-install: installs a desktop file to the applications directory, | |
506 | optionally munging it a bit in transit. | |
507 | ||
508 | update-desktop-database: updates the database containing a cache of MIME types | |
509 | handled by desktop files.") | |
510 | (license license:gpl2+))) | |
511 | ||
7d3f3651 AE |
512 | (define-public gnome-icon-theme |
513 | (package | |
514 | (name "gnome-icon-theme") | |
b32f58dd | 515 | (version "3.12.0") |
7d3f3651 AE |
516 | (source |
517 | (origin | |
518 | (method url-fetch) | |
519 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 520 | (version-major+minor version) "/" |
7d3f3651 AE |
521 | name "-" version ".tar.xz")) |
522 | (sha256 | |
523 | (base32 | |
b32f58dd | 524 | "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im")))) |
7d3f3651 | 525 | (build-system gnu-build-system) |
c4c4cc05 | 526 | (native-inputs |
73b6cf42 SB |
527 | `(("gtk+" ,gtk+) ; for gtk-update-icon-cache |
528 | ("icon-naming-utils" ,icon-naming-utils) | |
529 | ("intltool" ,intltool) | |
530 | ("pkg-config" ,pkg-config))) | |
7d3f3651 AE |
531 | (home-page "http://art.gnome.org/") |
532 | (synopsis | |
533 | "GNOME icon theme") | |
534 | (description | |
535 | "Icons for the GNOME desktop.") | |
1dd26275 | 536 | (license license:lgpl3))) ; or Creative Commons BY-SA 3.0 |
7d3f3651 | 537 | |
14eeefa2 SB |
538 | ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0. |
539 | (define-public adwaita-icon-theme | |
540 | (package (inherit gnome-icon-theme) | |
541 | (name "adwaita-icon-theme") | |
542 | (version "3.16.2") | |
543 | (source (origin | |
544 | (method url-fetch) | |
545 | (uri (string-append "mirror://gnome/sources/" name "/" | |
546 | (version-major+minor version) "/" | |
547 | name "-" version ".tar.xz")) | |
548 | (sha256 | |
549 | (base32 | |
550 | "1hmlw7kvhr7c2asc5y77adpymi9ka17gaf76zz835nwwffnn4rlw")))))) | |
551 | ||
9167f8e6 LC |
552 | (define-public shared-mime-info |
553 | (package | |
554 | (name "shared-mime-info") | |
555 | (version "1.2") | |
556 | (source (origin | |
557 | (method url-fetch) | |
b38e45d8 EB |
558 | (uri (string-append "http://freedesktop.org/~hadess/" |
559 | "shared-mime-info-" version ".tar.xz")) | |
9167f8e6 LC |
560 | (sha256 |
561 | (base32 | |
562 | "0y5vi0vr6rbhvfzcfg57cfskn362bpvcpca9cy598nmr87i6lld5")))) | |
563 | (build-system gnu-build-system) | |
564 | (arguments | |
565 | ;; The build system appears not to be parallel-safe. | |
566 | '(#:parallel-build? #f)) | |
567 | (inputs | |
568 | `(("glib" ,glib) | |
c4c4cc05 | 569 | ("libxml2" ,libxml2))) |
9167f8e6 | 570 | (native-inputs |
c4c4cc05 JD |
571 | `(("intltool" ,intltool) |
572 | ("pkg-config" ,pkg-config))) | |
9167f8e6 LC |
573 | (home-page "http://freedesktop.org/wiki/Software/shared-mime-info") |
574 | (synopsis "Database of common MIME types") | |
575 | (description | |
576 | "The shared-mime-info package contains the core database of common types | |
577 | and the update-mime-database command used to extend it. It requires glib2 to | |
578 | be installed for building the update command. Additionally, it uses intltool | |
579 | for translations, though this is only a dependency for the maintainers. This | |
580 | database is translated at Transifex.") | |
1dd26275 | 581 | (license license:gpl2+))) |
9167f8e6 | 582 | |
bef4dd92 AE |
583 | (define-public hicolor-icon-theme |
584 | (package | |
585 | (name "hicolor-icon-theme") | |
586 | (version "0.12") | |
587 | (source | |
588 | (origin | |
589 | (method url-fetch) | |
b38e45d8 EB |
590 | (uri (string-append "http://icon-theme.freedesktop.org/releases/" |
591 | "hicolor-icon-theme-" version ".tar.gz")) | |
bef4dd92 AE |
592 | (sha256 |
593 | (base32 | |
594 | "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y")))) | |
595 | (build-system gnu-build-system) | |
596 | (arguments | |
597 | `(#:tests? #f)) ; no check target | |
598 | (home-page "http://icon-theme.freedesktop.org/releases/") | |
599 | (synopsis | |
600 | "Freedesktop icon theme") | |
601 | (description | |
602 | "Freedesktop icon theme.") | |
1dd26275 | 603 | (license license:gpl2))) |
bef4dd92 | 604 | |
d9c1a22b AE |
605 | (define-public libnotify |
606 | (package | |
607 | (name "libnotify") | |
608 | (version "0.7.6") | |
609 | (source | |
610 | (origin | |
611 | (method url-fetch) | |
612 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 613 | (version-major+minor version) "/" |
d9c1a22b AE |
614 | name "-" version ".tar.xz")) |
615 | (sha256 | |
616 | (base32 | |
617 | "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf")))) | |
618 | (build-system gnu-build-system) | |
619 | (inputs | |
620 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
621 | ("glib" ,glib) | |
622 | ("gtk+" ,gtk+) | |
c4c4cc05 JD |
623 | ("libpng" ,libpng))) |
624 | (native-inputs | |
426adbe8 LC |
625 | `(("pkg-config" ,pkg-config) |
626 | ("glib" ,glib "bin"))) | |
d9c1a22b AE |
627 | (home-page "https://developer-next.gnome.org/libnotify/") |
628 | (synopsis | |
629 | "GNOME desktop notification library") | |
630 | (description | |
631 | "Libnotify is a library that sends desktop notifications to a | |
35b9e423 | 632 | notification daemon, as defined in the Desktop Notifications spec. These |
d9c1a22b AE |
633 | notifications can be used to inform the user about an event or display |
634 | some form of information without getting in the user's way.") | |
1dd26275 | 635 | (license license:lgpl2.1+))) |
7a8605ce CR |
636 | |
637 | (define-public libpeas | |
638 | (package | |
639 | (name "libpeas") | |
58d32305 | 640 | (version "1.12.1") |
7a8605ce CR |
641 | (source |
642 | (origin | |
643 | (method url-fetch) | |
644 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 645 | (version-major+minor version) "/" |
7a8605ce CR |
646 | name "-" version ".tar.xz")) |
647 | (sha256 | |
648 | (base32 | |
58d32305 | 649 | "1mjjjjwphc83bjznmbsm7x0jg7ql261nys6qnl7mi0nkr4qvw476")))) |
7a8605ce | 650 | (build-system gnu-build-system) |
7a8605ce CR |
651 | (inputs |
652 | `(("atk" ,atk) | |
653 | ("gdk-pixbuf" ,gdk-pixbuf) | |
654 | ("glib" ,glib) | |
7a8605ce | 655 | ("gtk+" ,gtk+) |
141aed80 LC |
656 | ("pango" ,pango))) |
657 | (native-inputs | |
658 | `(("pkg-config" ,pkg-config) | |
93622993 | 659 | ("glib:bin" ,glib "bin") |
141aed80 LC |
660 | ("gobject-introspection" ,gobject-introspection) |
661 | ("intltool" ,intltool))) | |
7a8605ce CR |
662 | (home-page "https://wiki.gnome.org/Libpeas") |
663 | (synopsis "GObject plugin system") | |
664 | (description | |
35b9e423 | 665 | "Libpeas is a gobject-based plugins engine, and is targetted at giving |
7a8605ce CR |
666 | every application the chance to assume its own extensibility. It also has a |
667 | set of features including, but not limited to: multiple extension points; on | |
668 | demand (lazy) programming language support for C, Python and JS; simplicity of | |
669 | the API") | |
1dd26275 | 670 | (license license:lgpl2.0+))) |
ed19903d JD |
671 | |
672 | (define-public gtkglext | |
673 | (package | |
674 | (name "gtkglext") | |
675 | (version "1.2.0") | |
676 | (source (origin | |
677 | (method url-fetch) | |
678 | (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/" | |
679 | version "/gtkglext-" version ".tar.gz")) | |
680 | (sha256 | |
681 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
682 | (patches (list | |
ed19903d JD |
683 | (search-patch "gtkglext-disable-disable-deprecated.patch"))))) |
684 | (build-system gnu-build-system) | |
685 | (inputs `(("gtk+" ,gtk+-2) | |
686 | ("mesa" ,mesa) | |
cc8b02f4 | 687 | ("glu" ,glu) |
ed19903d JD |
688 | ("libx11" ,libx11) |
689 | ("libxt" ,libxt))) | |
426adbe8 LC |
690 | (native-inputs `(("pkg-config" ,pkg-config) |
691 | ("glib" ,glib "bin"))) | |
a83b6a06 | 692 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 693 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 694 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 695 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
696 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
697 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 698 | (license license:lgpl2.1+))) |
3600420e JD |
699 | |
700 | (define-public glade3 | |
701 | (package | |
702 | (name "glade") | |
703 | (version "3.8.4") | |
b38e45d8 EB |
704 | (source (origin |
705 | (method url-fetch) | |
706 | (uri (string-append "mirror://gnome/sources/" name "/" | |
707 | (version-major+minor version) "/" | |
708 | name "3-" version ".tar.xz")) | |
3600420e JD |
709 | (sha256 |
710 | (base32 "021xgq2l18w3rvwms9aq2idm0fk66vwb4f777gs0qh3ap5shgbn7")))) | |
711 | (build-system gnu-build-system) | |
712 | (inputs | |
713 | `(("gtk+" ,gtk+-2) | |
714 | ("libxml2" ,libxml2))) | |
715 | (native-inputs | |
716 | `(("intltool" ,intltool) | |
717 | ("python" ,python) | |
718 | ("pkg-config" ,pkg-config))) | |
719 | (home-page "https://glade.gnome.org") | |
720 | (synopsis "GTK+ rapid application development tool") | |
721 | (description "Glade is a rapid application development (RAD) tool to | |
722 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
723 | the GNOME desktop environment.") | |
1dd26275 LC |
724 | (license license:lgpl2.0+))) |
725 | ||
726 | (define-public libcroco | |
727 | (package | |
728 | (name "libcroco") | |
729 | (version "0.6.8") | |
730 | (source (origin | |
731 | (method url-fetch) | |
b38e45d8 EB |
732 | (uri (string-append "mirror://gnome/sources/" name "/" |
733 | (version-major+minor version) "/" | |
734 | name "-" version ".tar.xz")) | |
1dd26275 LC |
735 | (sha256 |
736 | (base32 | |
737 | "0w453f3nnkbkrly7spx5lx5pf6mwynzmd5qhszprq8amij2invpa")))) | |
738 | (build-system gnu-build-system) | |
739 | (native-inputs | |
740 | `(("pkg-config" ,pkg-config))) | |
741 | (inputs | |
742 | `(("glib" ,glib) | |
743 | ("libxml2" ,libxml2) | |
744 | ("zlib" ,zlib))) | |
745 | (home-page "https://github.com/GNOME/libcroco") | |
746 | (synopsis "CSS2 parsing and manipulation library") | |
747 | (description | |
748 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
749 | The parser provides a low level event driven SAC-like API and a CSS object | |
750 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
751 | XML/CSS rendering engine.") | |
752 | ||
753 | ;; LGPLv2.1-only. | |
754 | (license license:lgpl2.1))) | |
25178594 LC |
755 | |
756 | (define-public libgsf | |
757 | (package | |
758 | (name "libgsf") | |
759 | (version "1.14.30") | |
760 | (source (origin | |
761 | (method url-fetch) | |
b38e45d8 EB |
762 | (uri (string-append "mirror://gnome/sources/" name "/" |
763 | (version-major+minor version) "/" | |
764 | name "-" version ".tar.xz")) | |
25178594 LC |
765 | (sha256 |
766 | (base32 | |
767 | "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b")))) | |
768 | (build-system gnu-build-system) | |
769 | (native-inputs | |
770 | `(("intltool" ,intltool) | |
771 | ("pkg-config" ,pkg-config))) | |
772 | (inputs | |
773 | `(("python" ,python) | |
774 | ("zlib" ,zlib) | |
775 | ("bzip2" ,bzip2))) | |
776 | (propagated-inputs | |
777 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
778 | ("glib" ,glib) | |
779 | ("libxml2" ,libxml2))) | |
780 | (home-page "http://www.gnome.org/projects/libgsf") | |
781 | (synopsis "GNOME's Structured File Library") | |
782 | (description | |
783 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
784 | dealing with different structured file formats.") | |
785 | ||
786 | ;; LGPLv2.1-only. | |
787 | (license license:lgpl2.1))) | |
63016e7c LC |
788 | |
789 | (define-public librsvg | |
790 | (package | |
791 | (name "librsvg") | |
281c2156 | 792 | (version "2.40.9") |
63016e7c LC |
793 | (source (origin |
794 | (method url-fetch) | |
b38e45d8 EB |
795 | (uri (string-append "mirror://gnome/sources/" name "/" |
796 | (version-major+minor version) "/" | |
797 | name "-" version ".tar.xz")) | |
63016e7c LC |
798 | (sha256 |
799 | (base32 | |
281c2156 | 800 | "0fplymmqqr28y24vcnb01szn62pfbqhk8p1ngns54x9m6mflr5hk")))) |
63016e7c LC |
801 | (build-system gnu-build-system) |
802 | (arguments | |
ce2df078 | 803 | `(#:phases |
63016e7c LC |
804 | (alist-cons-before |
805 | 'configure 'augment-gir-search-path | |
806 | (lambda* (#:key inputs #:allow-other-keys) | |
63016e7c LC |
807 | (substitute* "gdk-pixbuf-loader/Makefile.in" |
808 | ;; By default the gdk-pixbuf loader is installed under | |
809 | ;; gdk-pixbuf's prefix. Work around that. | |
810 | (("gdk_pixbuf_moduledir = .*$") | |
811 | (string-append "gdk_pixbuf_moduledir = " | |
dc67ebd2 | 812 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" |
63016e7c LC |
813 | "loaders\n")) |
814 | ;; Likewise, create a separate 'loaders.cache' file. | |
815 | (("gdk_pixbuf_cache_file = .*$") | |
816 | "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n"))) | |
cd14b5e3 FB |
817 | (alist-cons-after |
818 | 'install 'generate-full-cache | |
819 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
2e6ecc5c | 820 | (let ((loaders-directory |
cd14b5e3 | 821 | (string-append (assoc-ref outputs "out") |
dc67ebd2 | 822 | "/lib/gdk-pixbuf-2.0/2.10.0/loaders"))) |
cd14b5e3 | 823 | (zero? |
2e6ecc5c AE |
824 | (system |
825 | (string-append | |
826 | "gdk-pixbuf-query-loaders " | |
cd14b5e3 | 827 | loaders-directory "/libpixbufloader-svg.so " |
2e6ecc5c | 828 | (string-join (find-files (assoc-ref inputs "gdk-pixbuf") |
cd14b5e3 FB |
829 | "libpixbufloader-.*\\.so") " ") |
830 | "> " loaders-directory ".cache"))))) | |
b19d6805 | 831 | %standard-phases)))) |
63016e7c LC |
832 | (native-inputs |
833 | `(("pkg-config" ,pkg-config) | |
44add1ce | 834 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
835 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
836 | (inputs | |
837 | `(("pango" ,pango) | |
838 | ("libcroco" ,libcroco) | |
839 | ("bzip2" ,bzip2) | |
840 | ("libgsf" ,libgsf) | |
841 | ("libxml2" ,libxml2))) | |
842 | (propagated-inputs | |
843 | ;; librsvg-2.0.pc refers to all of that. | |
844 | `(("cairo" ,cairo) | |
845 | ("gdk-pixbuf" ,gdk-pixbuf) | |
846 | ("glib" ,glib))) | |
847 | (home-page "https://wiki.gnome.org/LibRsvg") | |
848 | (synopsis "Render SVG files using Cairo") | |
849 | (description | |
35b9e423 | 850 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
851 | library.") |
852 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
853 | |
854 | (define-public libidl | |
855 | (package | |
856 | (name "libidl") | |
857 | (version "0.8.14") | |
858 | (source (origin | |
859 | (method url-fetch) | |
860 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
861 | (string-append "mirror://gnome/sources/" upstream-name "/" |
862 | (version-major+minor version) "/" | |
863 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
864 | (sha256 |
865 | (base32 | |
866 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
867 | (build-system gnu-build-system) | |
868 | (inputs `(("glib" ,glib))) | |
869 | (native-inputs | |
870 | `(("pkg-config" ,pkg-config) | |
871 | ("flex", flex) | |
872 | ("bison" ,bison))) | |
873 | (home-page "http://freecode.com/projects/libidl") | |
874 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 875 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
876 | Definition Language (idl) files, which is a specification for defining |
877 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 878 | GNOME project, and the primary means of libidl distribution). However, the |
2e6ecc5c | 879 | functionality was designed to be as reusable and portable as possible.") |
5698b8b8 JD |
880 | (license license:lgpl2.0+))) |
881 | ||
882 | ||
883 | (define-public orbit2 | |
884 | (package | |
885 | (name "orbit2") | |
886 | (version "2.14.19") | |
887 | (source (origin | |
888 | (method url-fetch) | |
2e6ecc5c | 889 | (uri (let ((upstream-name "ORBit2")) |
b38e45d8 EB |
890 | (string-append "mirror://gnome/sources/" upstream-name "/" |
891 | (version-major+minor version) "/" | |
892 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
893 | (sha256 |
894 | (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
895 | (build-system gnu-build-system) | |
896 | (arguments | |
897 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
898 | `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
899 | ;; ... which they then completly ignore !! | |
900 | #:phases | |
901 | (alist-cons-before | |
902 | 'configure 'ignore-deprecations | |
903 | (lambda _ | |
904 | (substitute* "linc2/src/Makefile.in" | |
905 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
906 | %standard-phases))) | |
907 | (inputs `(("glib" ,glib) | |
908 | ("libidl" ,libidl))) | |
909 | (native-inputs | |
910 | `(("pkg-config" ,pkg-config))) | |
911 | (home-page "https://projects.gnome.org/orbit2/") | |
912 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 913 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
2e6ecc5c | 914 | featuring mature C, C++ and Python bindings.") |
5698b8b8 JD |
915 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version. |
916 | ;; SOME of the code files have licence notices for GPLv2+ | |
917 | ;; The tarball contains files of the text of GPLv2 and LGPLv2 | |
2e6ecc5c | 918 | (license license:gpl2+))) |
5698b8b8 JD |
919 | |
920 | ||
921 | (define-public libbonobo | |
922 | (package | |
923 | (name "libbonobo") | |
924 | (version "2.32.1") | |
925 | (source (origin | |
926 | (method url-fetch) | |
5becd025 | 927 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 928 | (version-major+minor version) |
5becd025 | 929 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 930 | (sha256 |
f1fc45a9 EB |
931 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
932 | (patches (list (search-patch "libbonobo-activation-test-race.patch"))))) | |
5698b8b8 JD |
933 | (build-system gnu-build-system) |
934 | (arguments | |
935 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
936 | `(#:configure-flags |
937 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
938 | ;; ... which they then completly ignore !! | |
939 | #:phases | |
940 | (alist-cons-before | |
941 | 'configure 'ignore-deprecations | |
942 | (lambda _ | |
943 | (substitute* "activation-server/Makefile.in" | |
944 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
945 | %standard-phases))) | |
5698b8b8 JD |
946 | (inputs `(("popt" ,popt) |
947 | ("libxml2" ,libxml2))) | |
948 | ;; The following are Required by the .pc file | |
44add1ce | 949 | (propagated-inputs |
5698b8b8 JD |
950 | `(("glib" ,glib) |
951 | ("orbit2" ,orbit2))) | |
952 | (native-inputs | |
953 | `(("intltool" ,intltool) | |
954 | ("pkg-config" ,pkg-config) | |
221ed17a | 955 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
956 | ("flex" ,flex) |
957 | ("bison" ,bison))) | |
958 | (home-page "https://developer.gnome.org/libbonobo/") | |
959 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
960 | (description "Bonobo is a framework for creating reusable components for | |
2e6ecc5c | 961 | use in GNOME applications, built on top of CORBA.") |
5698b8b8 JD |
962 | ;; Licence not explicitly stated. Source files contain no licence notices. |
963 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
964 | ;; GPLv2 covers both conditions | |
965 | (license license:gpl2+))) | |
966 | ||
967 | ||
968 | (define-public gconf | |
969 | (package | |
970 | (name "gconf") | |
971 | (version "3.2.6") | |
972 | (source (origin | |
973 | (method url-fetch) | |
2e6ecc5c | 974 | (uri |
5698b8b8 | 975 | (let ((upstream-name "GConf")) |
b38e45d8 EB |
976 | (string-append "mirror://gnome/sources/" upstream-name "/" |
977 | (version-major+minor version) "/" | |
978 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
979 | (sha256 |
980 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
981 | (build-system gnu-build-system) | |
2e88d113 | 982 | (inputs `(("dbus-glib" ,dbus-glib) |
5698b8b8 | 983 | ("libxml2" ,libxml2))) |
2e6ecc5c AE |
984 | (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file |
985 | ("orbit2" ,orbit2))) | |
5698b8b8 JD |
986 | (native-inputs |
987 | `(("intltool" ,intltool) | |
221ed17a | 988 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
989 | ("pkg-config" ,pkg-config))) |
990 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
991 | (synopsis "Store application preferences") |
992 | (description "Gconf is a system for storing application preferences. It | |
993 | is intended for user preferences; not arbitrary data storage.") | |
2e6ecc5c | 994 | (license license:lgpl2.0+))) |
5698b8b8 JD |
995 | |
996 | ||
997 | (define-public gnome-mime-data | |
998 | (package | |
999 | (name "gnome-mime-data") | |
1000 | (version "2.18.0") | |
1001 | (source (origin | |
1002 | (method url-fetch) | |
b38e45d8 EB |
1003 | (uri (string-append "mirror://gnome/sources/" name "/" |
1004 | (version-major+minor version) "/" | |
1005 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1006 | (sha256 |
1007 | (base32 | |
1008 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
1009 | (build-system gnu-build-system) | |
1010 | (native-inputs | |
1011 | `(("perl" ,perl) | |
1012 | ("intltool" ,intltool))) | |
1013 | (home-page "http://www.gnome.org") | |
35b9e423 | 1014 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
1015 | (description "GNOME Mime Data is a module which contains the base MIME |
1016 | and Application database for GNOME. The data stored by this module is | |
1017 | designed to be accessed through the MIME functions in GnomeVFS.") | |
1018 | (license license:gpl2+))) | |
1019 | ||
1020 | ||
1021 | (define-public gnome-vfs | |
1022 | (package | |
1023 | (name "gnome-vfs") | |
1024 | (version "2.24.4") | |
1025 | (source (origin | |
1026 | (method url-fetch) | |
b38e45d8 EB |
1027 | (uri (string-append "mirror://gnome/sources/" name "/" |
1028 | (version-major+minor version) "/" | |
1029 | name "-" version ".tar.bz2")) | |
5698b8b8 | 1030 | (sha256 |
9e12bc34 MW |
1031 | (base32 |
1032 | "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
5698b8b8 JD |
1033 | (build-system gnu-build-system) |
1034 | (arguments | |
db5127d8 | 1035 | `(#:phases |
9e12bc34 MW |
1036 | (alist-cons-before |
1037 | 'configure 'ignore-deprecations | |
1038 | (lambda _ | |
1039 | (substitute* '("libgnomevfs/Makefile.in" | |
1040 | "daemon/Makefile.in") | |
1041 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1042 | #t) | |
db5127d8 MW |
1043 | (alist-cons-before |
1044 | 'configure 'patch-test-async-cancel-to-never-fail | |
1045 | (lambda _ | |
1046 | (substitute* "test/test-async-cancel.c" | |
1047 | (("EXIT_FAILURE") "77"))) | |
1048 | %standard-phases)))) | |
2e6ecc5c | 1049 | (inputs `(("libxml2" ,libxml2) |
5698b8b8 | 1050 | ("dbus-glib" ,dbus-glib) |
5698b8b8 JD |
1051 | ("gconf" ,gconf) |
1052 | ("gnome-mime-data" ,gnome-mime-data) | |
1053 | ("zlib" ,zlib))) | |
1054 | (native-inputs | |
221ed17a EB |
1055 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1056 | ("intltool" ,intltool) | |
5698b8b8 JD |
1057 | ("pkg-config" ,pkg-config))) |
1058 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 1059 | (synopsis "Access files and folders in GNOME applications") |
9e12bc34 MW |
1060 | (description |
1061 | "GnomeVFS is the core library used to access files and folders in GNOME | |
1062 | applications. It provides a file system abstraction which allows applications | |
1063 | to access local and remote files with a single consistent API.") | |
5698b8b8 JD |
1064 | (license license:lgpl2.0+))) |
1065 | ||
1066 | ||
1067 | ||
1068 | (define-public libgnome | |
1069 | (package | |
1070 | (name "libgnome") | |
1071 | (version "2.32.1") | |
1072 | (source (origin | |
1073 | (method url-fetch) | |
b38e45d8 EB |
1074 | (uri (string-append "mirror://gnome/sources/" name "/" |
1075 | (version-major+minor version) "/" | |
1076 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1077 | (sha256 |
1078 | (base32 | |
1079 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")))) | |
1080 | (build-system gnu-build-system) | |
1081 | (arguments | |
1082 | `(#:phases | |
1083 | (alist-cons-before | |
1084 | 'configure 'enable-deprecated | |
2e6ecc5c | 1085 | (lambda _ |
5698b8b8 JD |
1086 | (substitute* "libgnome/Makefile.in" |
1087 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
1088 | %standard-phases))) | |
25338e9f MW |
1089 | (propagated-inputs `(("popt" ,popt))) ; gnome-program.h includes popt.h |
1090 | (inputs `(("libxml2" ,libxml2))) | |
5698b8b8 | 1091 | (native-inputs |
221ed17a EB |
1092 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1093 | ("intltool" ,intltool) | |
5698b8b8 JD |
1094 | ("pkg-config" ,pkg-config))) |
1095 | ;; The following are listed as Required in the .pc file | |
1096 | ;; (except for libcanberra -- which seems to be oversight on the part | |
1097 | ;; of the upstream developers -- anything that links against libgnome, | |
1098 | ;; must also link against libcanberra | |
1099 | (propagated-inputs | |
1100 | `(("libcanberra" ,libcanberra) | |
1101 | ("libbonobo" ,libbonobo) | |
1102 | ("gconf" ,gconf) | |
2e6ecc5c | 1103 | ("gnome-vfs" ,gnome-vfs))) |
5698b8b8 JD |
1104 | (home-page "https://developer.gnome.org/libgnome/") |
1105 | (synopsis "Useful routines for building applications") | |
1106 | (description "The libgnome library provides a number of useful routines | |
1107 | for building modern applications, including session management, activation of | |
1108 | files and URIs, and displaying help.") | |
1109 | (license license:lgpl2.0+))) | |
1110 | ||
1111 | ||
1112 | (define-public libart-lgpl | |
1113 | (package | |
1114 | (name "libart-lgpl") | |
76c9b6aa | 1115 | (version "2.3.21") |
5698b8b8 JD |
1116 | (source (origin |
1117 | (method url-fetch) | |
1118 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
1119 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1120 | (version-major+minor version) "/" | |
1121 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1122 | (sha256 |
1123 | (base32 | |
76c9b6aa | 1124 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
1125 | (build-system gnu-build-system) |
1126 | (native-inputs | |
1127 | `(("pkg-config" ,pkg-config))) | |
1128 | (home-page "https://people.gnome.org/~mathieu/libart") | |
1129 | (synopsis "2D drawing library") | |
2e6ecc5c | 1130 | (description "Libart is a 2D drawing library intended as a |
5698b8b8 JD |
1131 | high-quality vector-based 2D library with antialiasing and alpha composition.") |
1132 | (license license:lgpl2.0+))) | |
1133 | ||
1134 | ||
1135 | ||
1136 | (define-public libgnomecanvas | |
1137 | (package | |
1138 | (name "libgnomecanvas") | |
1139 | (version "2.30.3") | |
1140 | (source (origin | |
1141 | (method url-fetch) | |
b38e45d8 EB |
1142 | (uri (string-append "mirror://gnome/sources/" name "/" |
1143 | (version-major+minor version) "/" | |
1144 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
1145 | (sha256 |
1146 | (base32 | |
1147 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
1148 | (build-system gnu-build-system) | |
1149 | ;; Mentioned as Required in the .pc file | |
1150 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
1151 | ("gtk+" ,gtk+-2))) | |
1152 | (native-inputs | |
1153 | `(("intltool" ,intltool) | |
221ed17a | 1154 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1155 | ("pkg-config" ,pkg-config))) |
1156 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
1157 | (synopsis "Flexible widget for creating interactive structured graphics") | |
1158 | (description "The GnomeCanvas widget provides a flexible widget for | |
1159 | creating interactive structured graphics.") | |
1160 | (license license:lgpl2.0+))) | |
1161 | ||
eadc734e RW |
1162 | (define-public libgnomecanvasmm |
1163 | (package | |
1164 | (name "libgnomecanvasmm") | |
1165 | (version "2.26.0") | |
1166 | (source (origin | |
1167 | (method url-fetch) | |
1168 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1169 | (version-major+minor version) "/" | |
1170 | name "-" version ".tar.bz2")) | |
1171 | (sha256 | |
1172 | (base32 | |
1173 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1174 | (build-system gnu-build-system) | |
1175 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) | |
1176 | (native-inputs | |
1177 | `(("gtkmm-2" ,gtkmm-2) | |
1178 | ("pkg-config" ,pkg-config))) | |
1179 | (home-page "http://gtkmm.org") | |
1180 | (synopsis "C++ bindings to the GNOME Canvas library") | |
1181 | (description "C++ bindings to the GNOME Canvas library.") | |
1182 | (license license:lgpl2.0+))) | |
1183 | ||
5698b8b8 JD |
1184 | (define-public libgnomeui |
1185 | (package | |
1186 | (name "libgnomeui") | |
1187 | (version "2.24.5") | |
1188 | (source (origin | |
1189 | (method url-fetch) | |
b38e45d8 EB |
1190 | (uri (string-append "mirror://gnome/sources/" name "/" |
1191 | (version-major+minor version) "/" | |
1192 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1193 | (sha256 |
1194 | (base32 | |
1195 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1196 | (build-system gnu-build-system) | |
1197 | ;; Mentioned as Required in the .pc file | |
1198 | (propagated-inputs `(("libgnome" ,libgnome) | |
1199 | ("libgnome-keyring" ,libgnome-keyring))) | |
1200 | (inputs `(("libgnomecanvas" ,libgnomecanvas) | |
1201 | ("libbonoboui" ,libbonoboui) | |
1202 | ("libjpeg" ,libjpeg) | |
1203 | ("popt" ,popt) | |
1204 | ("libbonobo" ,libbonobo) | |
1205 | ("libxml2" ,libxml2) | |
1206 | ("libglade" ,libglade))) | |
1207 | (native-inputs | |
221ed17a EB |
1208 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1209 | ("intltool" ,intltool) | |
5698b8b8 JD |
1210 | ("pkg-config" ,pkg-config))) |
1211 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1212 | (synopsis "Additional widgets for applications") | |
35b9e423 EB |
1213 | (description "The libgnomeui library provides additional widgets for |
1214 | applications. Many of the widgets from libgnomeui have already been ported to GTK+.") | |
5698b8b8 JD |
1215 | (license license:lgpl2.0+))) |
1216 | ||
1217 | (define-public libglade | |
1218 | (package | |
1219 | (name "libglade") | |
1220 | (version "2.6.4") | |
1221 | (source (origin | |
1222 | (method url-fetch) | |
b38e45d8 EB |
1223 | (uri (string-append "mirror://gnome/sources/" name "/" |
1224 | (version-major+minor version) "/" | |
1225 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1226 | (sha256 |
1227 | (base32 | |
1228 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1229 | (build-system gnu-build-system) | |
1230 | (inputs | |
1231 | `(("gtk+-2" ,gtk+-2) | |
1232 | ("libxml2" ,libxml2) | |
1233 | ("python" ,python))) ;; needed for the optional libglade-convert program | |
1234 | (native-inputs | |
1235 | `(("pkg-config" ,pkg-config))) | |
1236 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1237 | (synopsis "Load glade interfaces and access the glade built widgets") |
1238 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1239 | graphical interfaces described in glade files and for accessing the |
1240 | widgets built in the loading process.") | |
1241 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1242 | ||
1243 | (define-public libgnomeprint | |
eb497b66 LC |
1244 | ;; This library has been deprecated since 2006; see |
1245 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1246 | (package |
1247 | (name "libgnomeprint") | |
1248 | (version "2.8.2") | |
1249 | (source (origin | |
1250 | (method url-fetch) | |
b38e45d8 EB |
1251 | (uri (string-append "mirror://gnome/sources/" name "/" |
1252 | (version-major+minor version) "/" | |
1253 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1254 | (sha256 |
1255 | (base32 | |
3edce2c9 RW |
1256 | "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")) |
1257 | (modules '((guix build utils))) | |
1258 | (snippet | |
1259 | ;; Adapt to newer freetype. As the package is deprecated, there | |
1260 | ;; is no use in creating a patch and reporting it. | |
1261 | '(substitute* '("libgnomeprint/gnome-font-face.c" | |
1262 | "libgnomeprint/gnome-rfont.c") | |
1263 | (("freetype/") "freetype2/"))))) | |
5698b8b8 JD |
1264 | (build-system gnu-build-system) |
1265 | (inputs | |
1266 | `(("popt" ,popt) | |
1267 | ("libart-lgpl" ,libart-lgpl) | |
1268 | ("gtk+" ,gtk+-2) | |
44add1ce | 1269 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1270 | (native-inputs |
1271 | `(("intltool" ,intltool) | |
221ed17a | 1272 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1273 | ("pkg-config" ,pkg-config))) |
1274 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1275 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1276 | (description |
1277 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1278 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1279 | (license license:lgpl2.0+))) |
1280 | ||
1281 | ||
1282 | (define-public libgnomeprintui | |
eb497b66 | 1283 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1284 | (package |
1285 | (name "libgnomeprintui") | |
1286 | (version "2.8.2") | |
1287 | (source (origin | |
1288 | (method url-fetch) | |
b38e45d8 EB |
1289 | (uri (string-append "mirror://gnome/sources/" name "/" |
1290 | (version-major+minor version) "/" | |
1291 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1292 | (sha256 |
1293 | (base32 | |
1294 | "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw")))) | |
1295 | (build-system gnu-build-system) | |
1296 | ;; Mentioned as Required in the .pc file | |
1297 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1298 | (inputs `(("gtk+" ,gtk+-2) | |
1299 | ("glib" ,glib) | |
1300 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1301 | ("libgnomecanvas" ,libgnomecanvas) | |
2e6ecc5c | 1302 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1303 | (native-inputs |
1304 | `(("intltool" ,intltool) | |
1305 | ("pkg-config" ,pkg-config))) | |
1306 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1307 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1308 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1309 | (license license:lgpl2.0+))) |
1310 | ||
5698b8b8 JD |
1311 | (define-public libbonoboui |
1312 | (package | |
1313 | (name "libbonoboui") | |
1314 | (version "2.24.5") | |
1315 | (source (origin | |
1316 | (method url-fetch) | |
b38e45d8 EB |
1317 | (uri (string-append "mirror://gnome/sources/" name "/" |
1318 | (version-major+minor version) "/" | |
1319 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1320 | (sha256 |
1321 | (base32 | |
1322 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1323 | (build-system gnu-build-system) | |
1324 | (arguments | |
1325 | `(#:phases | |
1326 | (alist-cons-before | |
1327 | 'check 'start-xserver | |
1328 | (lambda* (#:key inputs #:allow-other-keys) | |
1329 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1330 | (disp ":1")) | |
2e6ecc5c | 1331 | |
5698b8b8 JD |
1332 | (setenv "HOME" (getcwd)) |
1333 | (setenv "DISPLAY" disp) | |
1334 | ;; There must be a running X server and make check doesn't start one. | |
1335 | ;; Therefore we must do it. | |
1336 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))) | |
1337 | %standard-phases))) | |
1338 | ;; Mentioned as Required by the .pc file | |
1339 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1340 | (inputs | |
1341 | `(("popt" ,popt) | |
1342 | ("pangox-compat" ,pangox-compat) | |
1343 | ("libgnome" ,libgnome) | |
1344 | ("libgnomecanvas" ,libgnomecanvas) | |
1345 | ("libglade" ,libglade))) | |
1346 | (native-inputs | |
221ed17a EB |
1347 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
1348 | ("intltool" ,intltool) | |
5698b8b8 JD |
1349 | ("xorg-server" ,xorg-server) ; For running the tests |
1350 | ("pkg-config" ,pkg-config))) | |
1351 | (home-page "https://developer.gnome.org/libbonoboui/") | |
1352 | (synopsis "Some user interface controls using Bonobo") | |
1353 | (description "The Bonobo UI library provides a number of user interface | |
1354 | controls using the Bonobo component framework.") | |
1355 | (license license:lgpl2.0+))) | |
1356 | ||
fecbf86e SB |
1357 | (define-public libwnck |
1358 | (package | |
1359 | (name "libwnck") | |
1360 | (version "3.14.0") | |
1361 | (source (origin | |
1362 | (method url-fetch) | |
1363 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1364 | (version-major+minor version) "/" | |
1365 | name "-" version ".tar.xz")) | |
1366 | (sha256 | |
1367 | (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m")))) | |
1368 | (build-system gnu-build-system) | |
1369 | (native-inputs | |
1370 | `(("pkg-config" ,pkg-config) | |
1371 | ("intltool" ,intltool))) | |
1372 | (propagated-inputs | |
427476d5 SB |
1373 | `(("gtk+" ,gtk+) |
1374 | ("libxres" ,libxres) | |
1375 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
1376 | (home-page "https://developer.gnome.org/libwnck/") |
1377 | (synopsis "Window Navigator Construction Kit") | |
1378 | (description | |
1379 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
1380 | writing pagers, tasklists, and more generally applications that are dealing | |
1381 | with window management. It tries hard to respect the Extended Window Manager | |
1382 | Hints specification (EWMH).") | |
1383 | (license license:lgpl2.0+))) | |
1384 | ||
1385 | ;; stable version for gtk2, required by xfwm4. | |
1386 | (define-public libwnck-1 | |
1387 | (package (inherit libwnck) | |
1388 | (name "libwnck") | |
1389 | (version "2.30.7") | |
1390 | (source (origin | |
1391 | (method url-fetch) | |
1392 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1393 | (version-major+minor version) "/" | |
1394 | name "-" version ".tar.xz")) | |
1395 | (sha256 | |
1396 | (base32 | |
1397 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
1398 | (propagated-inputs | |
427476d5 SB |
1399 | `(("gtk+" ,gtk+-2) |
1400 | ("libxres" ,libxres) | |
1401 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
1402 | |
1403 | (define-public goffice | |
1404 | (package | |
1405 | (name "goffice") | |
1406 | (version "0.10.14") | |
1407 | (source (origin | |
1408 | (method url-fetch) | |
b38e45d8 EB |
1409 | (uri (string-append "mirror://gnome/sources/" name "/" |
1410 | (version-major+minor version) "/" | |
1411 | name "-" version ".tar.xz")) | |
b804c61e JD |
1412 | (sha256 |
1413 | (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60")))) | |
1414 | (build-system gnu-build-system) | |
1415 | (inputs | |
1416 | `(("gtk+" ,gtk+) | |
1417 | ("libgsf" ,libgsf) | |
1418 | ("librsvg" ,librsvg) | |
1419 | ("libxslt" ,libxslt) | |
1420 | ("libxml2" ,libxml2))) | |
1421 | (native-inputs | |
1422 | `(("intltool" ,intltool) | |
f280cdb1 | 1423 | ("glib" ,glib "bin") |
b804c61e JD |
1424 | ("pkg-config" ,pkg-config))) |
1425 | (home-page "https://developer.gnome.org/goffice/") | |
1426 | (synopsis "Document-centric objects and utilities") | |
1427 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
2e6ecc5c | 1428 | (license |
b804c61e JD |
1429 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1430 | ;; Note: NOT LGPL | |
1431 | (list license:gpl2 license:gpl3)))) | |
1432 | ||
c024ae36 RW |
1433 | (define-public goffice-0.8 |
1434 | (package (inherit goffice) | |
1435 | (version "0.8.17") | |
1436 | (source (origin | |
1437 | (method url-fetch) | |
1438 | (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/" | |
1439 | (version-major+minor version) "/" | |
1440 | (package-name goffice) "-" version ".tar.xz")) | |
1441 | (sha256 | |
1442 | (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n")))) | |
1443 | (arguments | |
1444 | `(#:phases | |
1445 | (alist-cons-after | |
1446 | 'unpack 'fix-pcre-check | |
1447 | (lambda _ | |
1448 | ;; Only glib.h can be included directly. See | |
1449 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316 | |
1450 | (substitute* "configure" | |
1451 | (("glib/gregex\\.h") "glib.h")) #t) | |
1452 | %standard-phases))) | |
1453 | (propagated-inputs | |
1454 | ;; libgoffice-0.8.pc mentions libgsf-1 | |
1455 | `(("libgsf" ,libgsf))) | |
1456 | (inputs | |
1457 | `(("gtk" ,gtk+-2) | |
1458 | ,@(alist-delete "gtk" (package-inputs goffice)))))) | |
1459 | ||
b804c61e JD |
1460 | (define-public gnumeric |
1461 | (package | |
1462 | (name "gnumeric") | |
1463 | (version "1.12.17") | |
1464 | (source (origin | |
1465 | (method url-fetch) | |
b38e45d8 EB |
1466 | (uri (string-append "mirror://gnome/sources/" name "/" |
1467 | (version-major+minor version) "/" | |
1468 | name "-" version ".tar.xz")) | |
b804c61e JD |
1469 | (sha256 |
1470 | (base32 | |
1471 | "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c")))) | |
1472 | (build-system gnu-build-system) | |
1473 | (arguments | |
1474 | `(;; The gnumeric developers don't worry much about failing tests. | |
1475 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
2e6ecc5c | 1476 | #:tests? #f |
b804c61e JD |
1477 | #:phases |
1478 | (alist-cons-before | |
1479 | 'configure 'pre-conf | |
1480 | (lambda* (#:key outputs #:allow-other-keys) | |
1481 | ;; Make install tries to write into the directory of goffice | |
1482 | ;; I am informed that this only affects the possibility to embed a | |
1483 | ;; spreadsheet inside an Abiword document. So presumably when we | |
1484 | ;; package Abiword we'll have to refer it to this directory. | |
2e6ecc5c | 1485 | (substitute* "configure" |
b804c61e | 1486 | (("^GOFFICE_PLUGINS_DIR=.*") |
2e6ecc5c | 1487 | (string-append "GOFFICE_PLUGINS_DIR=" |
b804c61e JD |
1488 | (assoc-ref outputs "out") "/goffice/plugins")))) |
1489 | %standard-phases))) | |
1490 | (inputs | |
1491 | `(("glib" ,glib) | |
1492 | ("gtk+" ,gtk+) | |
1493 | ("goffice" ,goffice) | |
1494 | ("libgsf" ,libgsf) | |
1495 | ("libxml2" ,libxml2) | |
1496 | ("zlib" ,zlib))) | |
1497 | (native-inputs | |
1498 | `(("intltool" ,intltool) | |
b9663471 | 1499 | ("glib:bin" ,glib "bin") |
b804c61e JD |
1500 | ("pkg-config" ,pkg-config))) |
1501 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
1502 | (synopsis "Spreadsheet application") |
1503 | (description | |
1504 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
1505 | interoperable with other spreadsheet applications. It has a vast array of | |
1506 | features beyond typical spreadsheet functionality, such as support for linear | |
1507 | and non-linear solvers, statistical analysis, and telecommunication | |
1508 | engineering.") | |
1509 | (license | |
b804c61e JD |
1510 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1511 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
1512 | |
1513 | (define-public gnome-themes-standard | |
1514 | (package | |
1515 | (name "gnome-themes-standard") | |
1516 | ;; The version of this package should be the same as the version of | |
1517 | ;; gnome-desktop. | |
1518 | (version (package-version gnome-desktop)) | |
1519 | (source | |
1520 | (origin | |
1521 | (method url-fetch) | |
2e6ecc5c | 1522 | (uri (string-append "mirror://gnome/sources/" name "/" |
6f885c05 FB |
1523 | (version-major+minor version) "/" name "-" |
1524 | version ".tar.xz")) | |
1525 | (sha256 | |
1526 | (base32 | |
7dae5ac4 | 1527 | "0kyrbfrgl6g6wm6zpllldz36fclvl8vwmn1snwk18kf7f6ncpsac")))) |
6f885c05 FB |
1528 | (build-system gnu-build-system) |
1529 | (inputs | |
1530 | `(("gtk+" ,gtk+) | |
1531 | ("gtk+-2" ,gtk+-2) | |
1532 | ("librsvg" ,librsvg) | |
1533 | ("libxml2" ,libxml2) | |
1534 | ("glib" ,glib))) | |
1535 | (native-inputs | |
1536 | `(("intltool" ,intltool) | |
1537 | ("glib:bin" ,glib "bin") | |
1538 | ("pkg-config" ,pkg-config))) | |
1539 | (arguments | |
1540 | `(#:phases | |
1541 | (alist-cons-before | |
1542 | 'build 'use-full-cache | |
1543 | ;; Use librsvg's loaders.cache instead of the one provided by | |
1544 | ;; gdk-pixbuf because the latter does not include support for SVG | |
1545 | ;; files. | |
1546 | (lambda* (#:key inputs #:allow-other-keys) | |
2e6ecc5c AE |
1547 | (setenv "GDK_PIXBUF_MODULE_FILE" |
1548 | (car (find-files (assoc-ref inputs "librsvg") | |
6f885c05 FB |
1549 | "loaders\\.cache")))) |
1550 | %standard-phases))) | |
1551 | (home-page "https://launchpad.net/gnome-themes-standard") | |
1552 | (synopsis "Default GNOME 3 themes") | |
1553 | (description | |
1554 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
1555 | (license license:lgpl2.1+))) | |
5a659a48 | 1556 | |
df90c701 RW |
1557 | (define-public seahorse |
1558 | (package | |
1559 | (name "seahorse") | |
1560 | (version "3.16.0") | |
1561 | (source | |
1562 | (origin | |
1563 | (method url-fetch) | |
1564 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1565 | (version-major+minor version) "/" name "-" | |
1566 | version ".tar.xz")) | |
1567 | (sha256 | |
1568 | (base32 | |
1569 | "0cg1grgpwbfkiny5148n17rzpc8kswyr5yff0kpm8l3lp01my2kp")))) | |
1570 | (build-system glib-or-gtk-build-system) | |
1571 | (inputs | |
1572 | `(("gtk+" ,gtk+) | |
1573 | ("gcr" ,gcr) | |
1574 | ("gnupg" ,gnupg-1) | |
1575 | ("gpgme" ,gpgme) | |
4a1bf090 | 1576 | ("openssh" ,openssh) |
df90c701 RW |
1577 | ("libsecret" ,libsecret))) |
1578 | (native-inputs | |
1579 | `(("intltool" ,intltool) | |
1580 | ("glib:bin" ,glib "bin") | |
1581 | ("itstool" ,itstool) | |
1582 | ("pkg-config" ,pkg-config))) | |
1583 | (home-page "https://launchpad.net/gnome-themes-standard") | |
1584 | (synopsis "Manage encryption keys and passwords in the GNOME keyring") | |
1585 | (description | |
1586 | "Seahorse is a GNOME application for managing encryption keys and | |
1587 | passwords in the GNOME keyring.") | |
1588 | (license license:gpl2+))) | |
1589 | ||
5a659a48 SB |
1590 | (define-public vala |
1591 | (package | |
1592 | (name "vala") | |
1ea90625 | 1593 | (version "0.28.0") |
5a659a48 SB |
1594 | (source (origin |
1595 | (method url-fetch) | |
1596 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1597 | (version-major+minor version) "/" | |
1598 | name "-" version ".tar.xz")) | |
1599 | (sha256 | |
1600 | (base32 | |
1ea90625 | 1601 | "0zwpzhkhfk3piya14m7p2hl2vaabahprphppfm46ci91z39kp7hd")))) |
5a659a48 | 1602 | (build-system gnu-build-system) |
1ea90625 SB |
1603 | (arguments |
1604 | '(#:phases | |
1605 | (modify-phases %standard-phases | |
1606 | (add-before 'check 'set-cc | |
1607 | (lambda _ | |
1608 | (setenv "CC" "gcc") | |
1609 | #t))))) | |
5a659a48 SB |
1610 | (native-inputs |
1611 | `(("pkg-config" ,pkg-config) | |
1612 | ("flex" ,flex) | |
1613 | ("bison" ,bison) | |
1614 | ("xsltproc" ,libxslt) | |
1615 | ("dbus" ,dbus) ; for dbus tests | |
1616 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
1617 | (propagated-inputs | |
1618 | `(("glib" ,glib))) ; required by libvala-0.26.pc | |
1619 | (home-page "http://live.gnome.org/Vala/") | |
1620 | (synopsis "Compiler for the GObject type system") | |
1621 | (description | |
1622 | "Vala is a programming language that aims to bring modern programming | |
1623 | language features to GNOME developers without imposing any additional runtime | |
1624 | requirements and without using a different ABI compared to applications and | |
1625 | libraries written in C.") | |
1626 | (license license:lgpl2.1+))) | |
ea57378f SB |
1627 | |
1628 | (define-public vte | |
1629 | (package | |
1630 | (name "vte") | |
191e9b4e | 1631 | (version "0.40.0") |
ea57378f SB |
1632 | (source (origin |
1633 | (method url-fetch) | |
1634 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1635 | (version-major+minor version) "/" | |
1636 | name "-" version ".tar.xz")) | |
1637 | (sha256 | |
1638 | (base32 | |
191e9b4e | 1639 | "0lnq0bgkmsixjwmfacb2ch9qfjqjxa8zkk1hiv3l29kgca0n3nal")))) |
ea57378f SB |
1640 | (build-system gnu-build-system) |
1641 | (native-inputs | |
1642 | `(("pkg-config" ,pkg-config) | |
1643 | ("intltool" ,intltool) | |
1644 | ("vala" ,vala) | |
1645 | ("gobject-introspection" ,gobject-introspection) | |
1646 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
1647 | ("xmllint" ,libxml2))) | |
1648 | (propagated-inputs | |
302393bc LC |
1649 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
1650 | ("gnutls" ,gnutls))) ;ditto | |
ea57378f SB |
1651 | (home-page "http://www.gnome.org/") |
1652 | (synopsis "Virtual Terminal Emulator") | |
1653 | (description | |
1654 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
1655 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
1656 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
1657 | editors, IDEs, etc.") | |
1658 | (license license:lgpl2.1+))) | |
1659 | ||
1660 | ;; stable version for gtk2, required by xfce4-terminal. | |
1661 | (define-public vte/gtk+-2 | |
1662 | (package (inherit vte) | |
1663 | (name "vte") | |
1664 | (version "0.28.2") | |
1665 | (source (origin | |
1666 | (method url-fetch) | |
1667 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1668 | (version-major+minor version) "/" | |
1669 | name "-" version ".tar.xz")) | |
1670 | (sha256 | |
1671 | (base32 | |
1672 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")))) | |
1673 | (arguments | |
1674 | '(#:configure-flags '("--disable-python"))) | |
1675 | (native-inputs | |
1676 | `(("pkg-config" ,pkg-config) | |
1677 | ("intltool" ,intltool) | |
1678 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
1679 | (propagated-inputs | |
1680 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
1681 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 FB |
1682 | |
1683 | (define-public dconf | |
1684 | (package | |
1685 | (name "dconf") | |
1686 | (version "0.22.0") | |
1687 | (source (origin | |
1688 | (method url-fetch) | |
1689 | (uri (string-append | |
2e6ecc5c | 1690 | "mirror://gnome/sources/" name "/" |
b47e1b20 FB |
1691 | (version-major+minor version) "/" |
1692 | name "-" version ".tar.xz")) | |
1693 | (sha256 | |
1694 | (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa")))) | |
1695 | (build-system glib-or-gtk-build-system) | |
1696 | (inputs | |
1697 | `(("gtk+" ,gtk+) | |
1698 | ("glib" ,glib) | |
1699 | ("dbus" ,dbus) | |
1700 | ("libxml2" ,libxml2))) | |
1701 | (native-inputs | |
1702 | `(("libxslt" ,libxslt) | |
1703 | ("docbook-xml" ,docbook-xml-4.2) | |
1704 | ("docbook-xsl" ,docbook-xsl) | |
1705 | ("intltool" ,intltool) | |
1706 | ("pkg-config" ,pkg-config))) | |
1707 | (arguments | |
1708 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
1709 | ; or /etc/machine-id. | |
1710 | #:configure-flags | |
1711 | ;; Set the correct RUNPATH in binaries. | |
2e6ecc5c | 1712 | (list (string-append "LDFLAGS=-Wl,-rpath=" |
b47e1b20 FB |
1713 | (assoc-ref %outputs "out") "/lib") |
1714 | "--disable-gtk-doc-html") ; FIXME: requires gtk-doc | |
1715 | #:phases | |
1716 | (alist-cons-before | |
1717 | 'configure 'fix-docbook | |
1718 | (lambda* (#:key inputs #:allow-other-keys) | |
1719 | (substitute* "docs/Makefile.in" | |
1720 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
2e6ecc5c | 1721 | (string-append (assoc-ref inputs "docbook-xsl") |
b47e1b20 FB |
1722 | "/xml/xsl/docbook-xsl-" |
1723 | ,(package-version docbook-xsl) | |
1724 | "/manpages/docbook.xsl"))) | |
2e6ecc5c AE |
1725 | (setenv "XML_CATALOG_FILES" |
1726 | (string-append (assoc-ref inputs "docbook-xml") | |
b47e1b20 FB |
1727 | "/xml/dtd/docbook/catalog.xml"))) |
1728 | %standard-phases))) | |
1729 | (home-page "https://developer.gnome.org/dconf") | |
1730 | (synopsis "Low-level GNOME configuration system") | |
1731 | (description "Dconf is a low-level configuration system. Its main purpose | |
1732 | is to provide a backend to GSettings on platforms that don't already have | |
1733 | configuration storage systems.") | |
1734 | (license license:lgpl2.1))) | |
109da1c0 AE |
1735 | |
1736 | (define-public json-glib | |
1737 | (package | |
1738 | (name "json-glib") | |
1739 | (version "1.0.2") | |
1740 | (source (origin | |
1741 | (method url-fetch) | |
1742 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1743 | (version-major+minor version) "/" | |
1744 | name "-" version ".tar.xz")) | |
1745 | (sha256 | |
1746 | (base32 | |
1747 | "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8")))) | |
1748 | (build-system gnu-build-system) | |
1749 | (native-inputs | |
88c6b580 | 1750 | `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal |
109da1c0 AE |
1751 | ("gobject-introspection" ,gobject-introspection) |
1752 | ("pkg-config" ,pkg-config))) | |
1753 | (propagated-inputs | |
88c6b580 | 1754 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
1755 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
1756 | (synopsis "Compiler for the GObject type system") | |
1757 | (description "JSON-GLib is a C library based on GLib providing | |
1758 | serialization and deserialization support for the JavaScript Object Notation | |
1759 | (JSON) format described by RFC 4627. It provides parser and generator | |
1760 | GObject classes and various wrappers for the complex data types employed by | |
1761 | JSON, such as arrays and objects.") | |
1762 | (license license:lgpl2.1+))) | |
6f96a359 SB |
1763 | |
1764 | (define-public libxklavier | |
1765 | (package | |
1766 | (name "libxklavier") | |
1767 | (version "5.3") | |
1768 | (source (origin | |
1769 | (method url-fetch) | |
1770 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1771 | version "/" name "-" version ".tar.xz")) | |
1772 | (sha256 | |
1773 | (base32 | |
1774 | "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) | |
1775 | (build-system gnu-build-system) | |
1776 | (arguments | |
1777 | '(#:configure-flags | |
1778 | (list (string-append "--with-xkb-base=" | |
1779 | (assoc-ref %build-inputs "xkeyboard-config") | |
b19d6805 | 1780 | "/share/X11/xkb")))) |
6f96a359 SB |
1781 | (native-inputs |
1782 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
1783 | ("gobject-introspection" ,gobject-introspection) | |
1784 | ("pkg-config" ,pkg-config))) | |
1785 | (propagated-inputs | |
1786 | ;; Required by libxklavier.pc. | |
1787 | `(("glib" ,glib) | |
1788 | ("libxml2" ,libxml2))) | |
1789 | (inputs | |
1790 | `(("iso-codes" ,iso-codes) | |
1791 | ("libxi" ,libxi) | |
1792 | ("libxkbfile" ,libxkbfile) | |
1793 | ("xkbcomp" ,xkbcomp) | |
1794 | ("xkeyboard-config" ,xkeyboard-config))) | |
1795 | (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/") | |
1796 | (synopsis "High-level API for X Keyboard Extension") | |
1797 | (description | |
1798 | "LibXklavier is a library providing high-level API for X Keyboard | |
1799 | Extension known as XKB. This library is indended to support XFree86 and other | |
1800 | commercial X servers. It is useful for creating XKB-related software (layout | |
1801 | indicators etc).") | |
1802 | (license license:lgpl2.0+))) | |
619936a4 LC |
1803 | |
1804 | (define-public python2-rsvg | |
1805 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
1806 | (package | |
1807 | (name "python2-rsvg") | |
1808 | (version "2.32.0") | |
1809 | (source | |
1810 | (origin | |
1811 | (method url-fetch) | |
1812 | (uri (string-append | |
1813 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
1814 | version ".tar.bz2")) | |
1815 | (sha256 | |
1816 | (base32 | |
1817 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
1818 | (build-system gnu-build-system) | |
1819 | (native-inputs | |
1820 | `(("pkg-config" ,pkg-config))) | |
1821 | (inputs | |
1822 | `(("python" ,python-2) | |
1823 | ("python2-pygtk" ,python2-pygtk) | |
1824 | ("librsvg" ,librsvg))) | |
1825 | (home-page "http://www.gnome.org") | |
1826 | (synopsis "Python bindings to librsvg") | |
1827 | (description | |
1828 | "This packages provides Python bindings to librsvg, the SVG rendering | |
1829 | library.") | |
1830 | ||
1831 | ;; This is the license of the rsvg bindings. The license of each module | |
1832 | ;; of gnome-python-desktop is given in 'COPYING'. | |
1833 | (license license:lgpl2.1+))) | |
a31a6d22 | 1834 | |
f2ca414a SB |
1835 | (define-public glib-networking |
1836 | (package | |
1837 | (name "glib-networking") | |
1838 | (version "2.44.0") | |
1839 | (source (origin | |
1840 | (method url-fetch) | |
1841 | (uri (string-append "mirror://gnome/sources/glib-networking/" | |
1842 | (version-major+minor version) "/" | |
1843 | name "-" version ".tar.xz")) | |
1844 | (sha256 | |
1845 | (base32 | |
1846 | "0ij33bhvn7y5gagx4sbrw906dsjjjs9dllxn73pzv6x97c6k92lg")))) | |
1847 | (build-system gnu-build-system) | |
1848 | (arguments | |
1849 | `(#:configure-flags | |
1850 | ;; FIXME: ca-certificates.crt is not available in the build environment. | |
1851 | '("--with-ca-certificates=no") | |
1852 | #:phases | |
1853 | (modify-phases %standard-phases | |
3a4de6b2 | 1854 | (add-before 'configure 'patch-giomoduledir |
f2ca414a SB |
1855 | ;; Install GIO modules into $out/lib/gio/modules. |
1856 | (lambda _ | |
1857 | (substitute* "configure" | |
1858 | (("GIO_MODULE_DIR=.*") | |
1859 | (string-append "GIO_MODULE_DIR=" %output | |
1860 | "/lib/gio/modules\n")))))))) | |
1861 | (native-inputs | |
1862 | `(("pkg-config" ,pkg-config) | |
1863 | ("intltool" ,intltool))) | |
1864 | (inputs | |
1865 | `(("glib" ,glib) | |
1866 | ("gnutls" ,gnutls) | |
1867 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1868 | ("p11-kit" ,p11-kit))) | |
1869 | (home-page "http://www.gnome.org") | |
1870 | (synopsis "Network-related GIO modules") | |
1871 | (description | |
1872 | "This package contains various network related extensions for the GIO | |
1873 | library.") | |
1874 | (license license:lgpl2.0+))) | |
1875 | ||
4510b2da SB |
1876 | (define-public librest |
1877 | (package | |
1878 | (name "librest") | |
1879 | (version "0.7.93") | |
1880 | (source (origin | |
1881 | (method url-fetch) | |
1882 | (uri (string-append "mirror://gnome/sources/rest/" | |
1883 | (version-major+minor version) "/" | |
1884 | "rest-" version ".tar.xz")) | |
1885 | (sha256 | |
1886 | (base32 | |
1887 | "05mj10hhiik23ai8w4wkk5vhsp7hcv24bih5q3fl82ilam268467")))) | |
1888 | (build-system gnu-build-system) | |
1889 | (arguments | |
1890 | '(#:tests? #f ; tests require internet connection | |
1891 | #:configure-flags | |
1892 | '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"))) | |
1893 | (native-inputs | |
1894 | `(("glib-mkenums" ,glib "bin") | |
1895 | ("gobject-introspection" ,gobject-introspection) | |
1896 | ("pkg-config" ,pkg-config))) | |
1897 | (propagated-inputs | |
1898 | ;; rest-0.7.pc refers to all these. | |
1899 | `(("glib" ,glib) | |
1900 | ("libsoup" ,libsoup) | |
1901 | ("libxml2" ,libxml2))) | |
1902 | (home-page "http://www.gtk.org/") | |
1903 | (synopsis "RESTful web api query library") | |
1904 | (description | |
1905 | "This library was designed to make it easier to access web services that | |
1906 | claim to be \"RESTful\". It includes convenience wrappers for libsoup and | |
1907 | libxml to ease remote use of the RESTful API.") | |
1908 | (license license:lgpl2.1+))) | |
1909 | ||
6e1bb642 SB |
1910 | (define-public libsoup |
1911 | (package | |
1912 | (name "libsoup") | |
1913 | (version "2.50.0") | |
1914 | (source (origin | |
1915 | (method url-fetch) | |
1916 | (uri (string-append "mirror://gnome/sources/libsoup/" | |
1917 | (version-major+minor version) "/" | |
1918 | name "-" version ".tar.xz")) | |
1919 | (sha256 | |
1920 | (base32 | |
1921 | "0yv61y5vfar1rfksa6f53zhfw9wcb39zjix8gqc1ff5gqid3c08y")))) | |
1922 | (build-system gnu-build-system) | |
1923 | (outputs '("out" "doc")) | |
1924 | (arguments | |
b19d6805 | 1925 | `(#:configure-flags |
6e1bb642 SB |
1926 | (list (string-append "--with-html-dir=" |
1927 | (assoc-ref %outputs "doc") | |
1928 | "/share/gtk-doc/html") | |
1929 | ;; To find GIO modules from glib-networking. | |
1930 | (string-append "GIO_EXTRA_MODULES=" | |
1931 | (assoc-ref %build-inputs "glib-networking") | |
1932 | "/lib/gio/modules")) | |
1933 | #:phases | |
1934 | (modify-phases %standard-phases | |
3a4de6b2 | 1935 | (add-before 'configure 'disable-unconnected-socket-test |
6e1bb642 SB |
1936 | ;; This test fails due to missing /etc/nsswitch.conf |
1937 | ;; in the build environment. | |
1938 | (lambda _ | |
1939 | (substitute* "tests/socket-test.c" | |
1940 | ((".*/sockets/unconnected.*") "")) | |
1941 | #t)) | |
3a4de6b2 | 1942 | (add-before 'check 'unset-LC_ALL |
6e1bb642 SB |
1943 | ;; The 'check-local' target runs 'env LANG=C sort -u', |
1944 | ;; unset 'LC_ALL' to make 'LANG' working. | |
1945 | (lambda _ | |
1946 | (unsetenv "LC_ALL") | |
1947 | #t))))) | |
1948 | (native-inputs | |
1949 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
1950 | ("gobject-introspection" ,gobject-introspection) | |
1951 | ("intltool" ,intltool) | |
1952 | ("pkg-config" ,pkg-config) | |
1953 | ("python" ,python-wrapper) | |
1954 | ;; These are needed for the tests. | |
1955 | ;; FIXME: Add PHP once available. | |
1956 | ("curl" ,curl) | |
1957 | ("httpd" ,httpd))) | |
1958 | (propagated-inputs | |
1959 | ;; libsoup-2.4.pc refers to all these. | |
1960 | `(("glib" ,glib) | |
1961 | ("libxml2" ,libxml2))) | |
1962 | (inputs | |
1963 | `(("glib-networking" ,glib-networking) | |
1964 | ("sqlite" ,sqlite))) | |
1965 | (home-page "https://live.gnome.org/LibSoup/") | |
1966 | (synopsis "GLib-based HTTP Library") | |
1967 | (description | |
1968 | "LibSoup is an HTTP client/server library for GNOME. It uses GObjects | |
1969 | and the GLib main loop, to integrate well with GNOME applications.") | |
1970 | (license license:lgpl2.0+))) | |
1971 | ||
bba229a3 SB |
1972 | (define-public libsecret |
1973 | (package | |
1974 | (name "libsecret") | |
1975 | (version "0.18") | |
1976 | (source (origin | |
1977 | (method url-fetch) | |
1978 | (uri (string-append | |
1979 | "mirror://gnome/sources/libsecret/" version "/" | |
1980 | name "-" version ".tar.xz")) | |
1981 | (sha256 | |
1982 | (base32 | |
1983 | "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc")))) | |
1984 | (build-system gnu-build-system) | |
1985 | (outputs '("out" "doc")) | |
1986 | (arguments | |
1987 | `(#:tests? #f ; FIXME: Testing hangs. | |
bba229a3 SB |
1988 | #:configure-flags |
1989 | (list (string-append "--with-html-dir=" | |
1990 | (assoc-ref %outputs "doc") | |
1991 | "/share/gtk-doc/html")))) | |
1992 | (native-inputs | |
1993 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
1994 | ("gobject-introspection" ,gobject-introspection) | |
1995 | ("intltool" ,intltool) | |
1996 | ("pkg-config" ,pkg-config) | |
1997 | ("vala" ,vala) | |
1998 | ("xsltproc" ,libxslt))) | |
1999 | ;; These are needed for the tests. | |
2000 | ;; FIXME: Add gjs once available. | |
2001 | ;("dbus" ,dbus) | |
2002 | ;("python2" ,python-2) | |
2003 | ;("python2-dbus" ,python2-dbus) | |
2004 | ;("python2-pygobject" ,python2-pygobject) | |
2005 | ;("python2-pygobject-2" ,python2-pygobject-2))) | |
2006 | (propagated-inputs | |
2007 | `(("glib" ,glib))) ; required by libsecret-1.pc | |
2008 | (inputs | |
2009 | `(("docbook-xsl" ,docbook-xsl) | |
2010 | ("libgcrypt" ,libgcrypt) | |
2011 | ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES | |
2012 | (home-page "https://wiki.gnome.org/Projects/Libsecret/") | |
2013 | (synopsis "GObject bindings for \"Secret Service\" API") | |
2014 | (description | |
2015 | "Libsecret is a GObject based library for storing and retrieving passwords | |
2016 | and other secrets. It communicates with the \"Secret Service\" using DBus.") | |
2017 | (license license:lgpl2.1+))) | |
2018 | ||
a31a6d22 SB |
2019 | (define-public gnome-mines |
2020 | (package | |
2021 | (name "gnome-mines") | |
121398e7 | 2022 | (version "3.16.0") |
a31a6d22 SB |
2023 | (source |
2024 | (origin | |
2025 | (method url-fetch) | |
2026 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2027 | (version-major+minor version) "/" | |
2028 | name "-" version ".tar.xz")) | |
2029 | (sha256 | |
2030 | (base32 | |
121398e7 | 2031 | "0wfvqyryc1093l4dr75zv9h0jyn28z6wirdq03lm5w24qf9lvjjx")))) |
a31a6d22 SB |
2032 | (build-system glib-or-gtk-build-system) |
2033 | (arguments | |
2034 | '(#:phases | |
2035 | (modify-phases %standard-phases | |
f8503e2b | 2036 | (add-before 'configure 'patch-/bin/true |
a31a6d22 SB |
2037 | (lambda _ |
2038 | (substitute* "configure" | |
2039 | (("/bin/true") (which "true"))))) | |
f8503e2b | 2040 | (add-after 'install 'wrap-pixbuf |
a31a6d22 SB |
2041 | ;; Use librsvg's loaders.cache to support SVG files. |
2042 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
2043 | (let* ((out (assoc-ref outputs "out")) | |
2044 | (prog (string-append out "/bin/gnome-mines")) | |
2045 | (rsvg (assoc-ref inputs "librsvg")) | |
2046 | (pixbuf (find-files rsvg "^loaders\\.cache$"))) | |
2047 | (wrap-program prog | |
2048 | `("GDK_PIXBUF_MODULE_FILE" = ,pixbuf)))))))) | |
2049 | (native-inputs | |
2050 | `(("pkg-config" ,pkg-config) | |
2051 | ("desktop-file-utils" ,desktop-file-utils) | |
2052 | ("intltool" ,intltool) | |
2053 | ("itstool" ,itstool))) | |
2054 | (inputs | |
2055 | `(("gtk+" ,gtk+) | |
2056 | ("librsvg" ,librsvg))) | |
2057 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
2058 | (synopsis "Minesweeper game") | |
2059 | (description | |
2060 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
2061 | floating in an ocean using only your brain and a little bit of luck.") | |
2062 | (license license:gpl2+))) | |
88f70665 AW |
2063 | |
2064 | (define-public gnome-terminal | |
2065 | (package | |
2066 | (name "gnome-terminal") | |
2067 | (version "3.16.0") | |
2068 | (source | |
2069 | (origin | |
2070 | (method url-fetch) | |
2071 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2072 | (version-major+minor version) "/" | |
2073 | name "-" version ".tar.xz")) | |
2074 | (sha256 | |
2075 | (base32 | |
2076 | "1s3zwqxs4crlqmh6l7s7n87pbmh2nnjdvhxlkalh58pbl0bk0qrd")))) | |
2077 | (build-system glib-or-gtk-build-system) | |
2078 | (arguments | |
2079 | '(#:configure-flags | |
2080 | (list "--disable-migration" "--disable-search-provider" | |
2081 | "--without-nautilus-extension") | |
2082 | #:phases | |
2083 | (modify-phases %standard-phases | |
3a4de6b2 | 2084 | (add-before 'configure 'patch-/bin/true |
88f70665 AW |
2085 | (lambda _ |
2086 | (substitute* "configure" | |
2087 | (("/bin/true") (which "true")))))))) | |
2088 | (native-inputs | |
2089 | `(("pkg-config" ,pkg-config) | |
2090 | ("desktop-file-utils" ,desktop-file-utils) | |
2091 | ("intltool" ,intltool) | |
2092 | ("itstool" ,itstool))) | |
68702167 MW |
2093 | (propagated-inputs |
2094 | `(("dconf" ,dconf))) | |
88f70665 AW |
2095 | (inputs |
2096 | `(("gtk+" ,gtk+) | |
2097 | ("vte" ,vte) | |
2098 | ("gnutls" ,gnutls) | |
88f70665 AW |
2099 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2100 | ("util-linux" ,util-linux) | |
2101 | ("vala" ,vala))) | |
2102 | (home-page "https://wiki.gnome.org/Apps/Terminal") | |
2103 | (synopsis "Terminal emulator") | |
2104 | (description | |
2105 | "GNOME Terminal is a terminal emulator application for accessing a | |
2106 | UNIX shell environment which can be used to run programs available on | |
2107 | your system. | |
2108 | ||
2109 | It supports several profiles, multiple tabs and implements several | |
2110 | keyboard shortcuts.") | |
2111 | (license license:gpl3+))) | |
75016d07 AW |
2112 | |
2113 | (define-public colord | |
2114 | (package | |
2115 | (name "colord") | |
2116 | (version "1.1.8") | |
2117 | (source | |
2118 | (origin | |
2119 | (method url-fetch) | |
2120 | (uri (string-append "http://www.freedesktop.org/software/colord/releases/" | |
2121 | name "-" version ".tar.xz")) | |
2122 | (sha256 | |
2123 | (base32 | |
2124 | "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph")))) | |
2125 | (build-system glib-or-gtk-build-system) | |
2126 | (arguments | |
2127 | '(;; The tests want to run valgrind. Punt for now. | |
2128 | #:tests? #f | |
2129 | #:configure-flags (list "--localstatedir=/var" | |
2130 | ;; GUSB not packaged yet. | |
2131 | "--disable-gusb" | |
2132 | ;; No dep on systemd. | |
2133 | "--disable-systemd-login" | |
2134 | ;; Wants to install to global completion dir; | |
2135 | ;; punt. | |
2136 | "--disable-bash-completion" | |
2137 | ;; colord-gtk not packaged yet. | |
2138 | "--disable-session-example" | |
2139 | "--with-daemon-user=colord" | |
2140 | "--enable-sane" | |
2141 | (string-append "--with-udevrulesdir=" | |
2142 | (assoc-ref %outputs "out") | |
2143 | "/lib/udev/rules.d")) | |
2144 | #:phases | |
2145 | (modify-phases %standard-phases | |
3a4de6b2 | 2146 | (add-before 'configure 'patch-/bin/true |
75016d07 AW |
2147 | (lambda _ |
2148 | (substitute* "configure" | |
2149 | (("/bin/true") (which "true"))) | |
2150 | (substitute* "src/Makefile.in" | |
2151 | (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;") | |
b19d6805 | 2152 | "if test -w $(DESTDIR)$(localstatedir);"))))))) |
75016d07 AW |
2153 | (native-inputs |
2154 | `(("pkg-config" ,pkg-config) | |
2155 | ("gobject-introspection" ,gobject-introspection) | |
2156 | ("libtool" ,libtool) | |
2157 | ("intltool" ,intltool))) | |
2158 | (inputs | |
2159 | `(("eudev" ,eudev) | |
75016d07 AW |
2160 | ("dbus-glib" ,dbus-glib) |
2161 | ("libusb" ,libusb) | |
2162 | ("lcms" ,lcms) | |
2163 | ("sqlite" ,sqlite) | |
2164 | ("polkit" ,polkit) | |
2165 | ("sane-backends" ,sane-backends))) | |
2166 | (home-page "http://www.freedesktop.org/software/colord/") | |
2167 | (synopsis "Color management service") | |
2168 | (description "Colord is a system service that makes it easy to manage, | |
2169 | install and generate color profiles to accurately color manage input and | |
2170 | output devices.") | |
2171 | (license license:gpl2+))) | |
7b2abd00 AW |
2172 | |
2173 | (define-public geoclue | |
2174 | (package | |
2175 | (name "geoclue") | |
faf713b9 | 2176 | (version "2.2.0") |
7b2abd00 AW |
2177 | (source |
2178 | (origin | |
2179 | (method url-fetch) | |
2180 | (uri (string-append "http://www.freedesktop.org/software/" name | |
2181 | "/releases/" (version-major+minor version) "/" | |
2182 | name "-" version ".tar.xz")) | |
2183 | (sha256 | |
2184 | (base32 | |
faf713b9 | 2185 | "0inlqx0zar498fhi9hh92p2g4kp8qy3zdl4z3vw6bjwp9w6xx454")) |
7b2abd00 AW |
2186 | (patches (list (search-patch "geoclue-config.patch"))))) |
2187 | (build-system glib-or-gtk-build-system) | |
2188 | (arguments | |
2189 | '(;; The tests want to run the system bus. | |
2190 | #:tests? #f | |
2191 | #:configure-flags (list ;; Disable bits requiring ModemManager. | |
2192 | "--disable-3g-source" | |
2193 | "--disable-cdma-source" | |
2194 | "--disable-modem-gps-source" | |
2195 | "--with-dbus-service-user=geoclue") | |
2196 | #:phases | |
2197 | (modify-phases %standard-phases | |
3a4de6b2 | 2198 | (add-before 'configure 'patch-/bin/true |
7b2abd00 AW |
2199 | (lambda _ |
2200 | (substitute* "configure" | |
2201 | (("/bin/true") (which "true")))))))) | |
2202 | (native-inputs | |
2203 | `(("pkg-config" ,pkg-config) | |
2204 | ("intltool" ,intltool))) | |
2205 | (inputs | |
2206 | `(("glib" ,glib) | |
2207 | ("json-glib" ,json-glib) | |
2208 | ("libsoup" ,libsoup))) | |
2209 | (home-page "http://freedesktop.org/wiki/Software/GeoClue/") | |
2210 | (synopsis "Geolocation service") | |
2211 | (description "Geoclue is a D-Bus service that provides location | |
2212 | information. The primary goal of the Geoclue project is to make creating | |
2213 | location-aware applications as simple as possible, while the secondary goal is | |
2214 | to ensure that no application can access location information without explicit | |
2215 | permission from user. ") | |
2216 | (license license:gpl2+))) | |
2bfe7437 AW |
2217 | |
2218 | (define-public geocode-glib | |
2219 | (package | |
2220 | (name "geocode-glib") | |
2221 | (version "3.16.0") | |
2222 | (source (origin | |
2223 | (method url-fetch) | |
2224 | (uri (string-append "mirror://gnome/sources/geocode-glib/" | |
2225 | (version-major+minor version) "/" | |
2226 | name "-" version ".tar.xz")) | |
2227 | (sha256 | |
2228 | (base32 | |
2229 | "1cbfv0kds6b6k0cl7q47xpj3x1scwcd7m68zl1rf7i4hmhw4hpqj")))) | |
2230 | (build-system gnu-build-system) | |
2231 | (arguments | |
2232 | `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't | |
2233 | ;; work for the builder. Punt. | |
2234 | #:tests? #f | |
2bfe7437 AW |
2235 | )) |
2236 | (native-inputs | |
2237 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2238 | ("gobject-introspection" ,gobject-introspection) | |
2239 | ("pkg-config" ,pkg-config) | |
2240 | ("json-glib" ,json-glib))) | |
2241 | (propagated-inputs | |
2242 | ;; geocode-glib-1.0.pc refers to GIO. | |
2243 | `(("glib" ,glib))) | |
2244 | (inputs | |
2245 | `(("libsoup" ,libsoup))) | |
2246 | (home-page "https://github.com/GNOME/geocode-glib/") | |
2247 | (synopsis "Geocoding and reverse-geocoding library") | |
2248 | (description | |
2249 | "geocode-glib is a convenience library for geocoding (finding longitude, | |
2250 | and latitude from an address) and reverse geocoding (finding an address from | |
2251 | coordinates) using the Nominatim service. geocode-glib caches requests for | |
2252 | faster results and to avoid unnecessary server load.") | |
2253 | (license license:lgpl2.0+))) | |
a1d5bb0e AW |
2254 | |
2255 | (define-public upower | |
2256 | (package | |
2257 | (name "upower") | |
2258 | (version "0.99.2") | |
2259 | (source (origin | |
2260 | (method url-fetch) | |
2261 | (uri (string-append "http://upower.freedesktop.org/releases/" | |
2262 | name "-" version ".tar.xz")) | |
2263 | (sha256 | |
2264 | (base32 | |
2265 | "0vwlh20jmaf01m38kfn8yx2869a3clmkzlycrj99rf4nvwx4bp79")) | |
2266 | (patches (list (search-patch "upower-builddir.patch"))))) | |
2267 | (build-system glib-or-gtk-build-system) | |
2268 | (arguments | |
2269 | '( ;; The tests want to contact the system bus, which can't be done in the | |
2270 | ;; build environment. The integration test can run, but the last of | |
2271 | ;; the up-self-tests doesn't. Disable tests for now. | |
2272 | #:tests? #f | |
2273 | #:configure-flags (list "--localstatedir=/var" | |
2274 | (string-append "--with-udevrulesdir=" | |
2275 | (assoc-ref %outputs "out") | |
2276 | "/lib/udev/rules.d")) | |
2277 | #:phases | |
2278 | (modify-phases %standard-phases | |
2279 | (add-before 'configure 'patch-/bin/true | |
2280 | (lambda _ | |
2281 | (substitute* "configure" | |
2282 | (("/bin/true") (which "true"))))) | |
2283 | (add-before 'configure 'patch-integration-test | |
2284 | (lambda _ | |
2285 | (substitute* "src/linux/integration-test" | |
2286 | (("/usr/bin/python3") (which "python3")))))))) | |
2287 | (native-inputs | |
2288 | `(("pkg-config" ,pkg-config) | |
2289 | ("intltool" ,intltool) | |
2290 | ("python" ,python))) | |
2291 | (inputs | |
2292 | `(("eudev" ,eudev) | |
a1d5bb0e AW |
2293 | ("dbus-glib" ,dbus-glib) |
2294 | ("libusb" ,libusb))) | |
2295 | (home-page "http://upower.freedesktop.org/") | |
2296 | (synopsis "System daemon for managing power devices") | |
2297 | (description | |
2298 | "UPower is an abstraction for enumerating power devices, | |
2299 | listening to device events and querying history and statistics. Any | |
2300 | application or service on the system can access the org.freedesktop.UPower | |
2301 | service via the system message bus.") | |
2302 | (license license:gpl2+))) | |
6a180f6f AW |
2303 | |
2304 | (define-public libgweather | |
2305 | (package | |
2306 | (name "libgweather") | |
2307 | (version "3.16.0") | |
2308 | (source (origin | |
2309 | (method url-fetch) | |
2310 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2311 | (version-major+minor version) "/" | |
2312 | name "-" version ".tar.xz")) | |
2313 | (sha256 | |
2314 | (base32 | |
2315 | "0x1z6wv7hdw2ivlkifcbd940zyrnvqvc4zh2drgvd2r6jmd7bjza")))) | |
2316 | (build-system gnu-build-system) | |
2317 | (arguments | |
2318 | `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't | |
2319 | ;; work for the builder. Punt. | |
2320 | #:tests? #f | |
6a180f6f AW |
2321 | #:configure-flags |
2322 | `(;; No introspection for now, as it wants to install to | |
2323 | ;; gobject-introspection's own directory and I don't know how to easily | |
2324 | ;; override this. | |
2325 | "--enable-introspection=no" | |
2326 | ,(string-append "--with-zoneinfo-dir=" | |
2327 | (assoc-ref %build-inputs "tzdata") | |
2328 | "/share/zoneinfo")))) | |
2329 | (native-inputs | |
2330 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2331 | ("pkg-config" ,pkg-config) | |
2332 | ("intltool" ,intltool))) | |
2333 | (propagated-inputs | |
2334 | ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and | |
2335 | ;; libsoup. | |
2336 | `(("gtk+" ,gtk+) | |
2337 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2338 | ("libxml2" ,libxml2) | |
2339 | ("libsoup" ,libsoup))) | |
2340 | (inputs | |
2341 | `(("tzdata" ,tzdata) | |
2342 | ("geocode-glib" ,geocode-glib))) | |
2343 | (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") | |
2344 | (synopsis "Location, time zone, and weather library for GNOME") | |
2345 | (description | |
2346 | "libgweather is a library to access weather information from online | |
2347 | services for numerous locations.") | |
2348 | (license license:gpl2+))) | |
23a22af6 AW |
2349 | |
2350 | (define-public gnome-settings-daemon | |
2351 | (package | |
2352 | (name "gnome-settings-daemon") | |
2353 | (version "3.16.0") | |
2354 | (source | |
2355 | (origin | |
2356 | (method url-fetch) | |
2357 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2358 | (version-major+minor version) "/" | |
2359 | name "-" version ".tar.xz")) | |
2360 | (sha256 | |
2361 | (base32 | |
2362 | "1w29x2izq59125ga5ncmmaklc8kw7x7rdn6swn26bs23mah1r1g3")))) | |
2363 | (build-system glib-or-gtk-build-system) | |
2364 | (arguments | |
ec2b1921 | 2365 | `(;; Network manager not yet packaged. |
23a22af6 AW |
2366 | #:configure-flags '("--disable-network-manager") |
2367 | ;; Color management test can't reach the colord system service. | |
2368 | #:tests? #f)) | |
2369 | (native-inputs | |
2370 | `(("pkg-config" ,pkg-config) | |
2371 | ("intltool" ,intltool) | |
2372 | ("xsltproc" ,libxslt) | |
2373 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES | |
2374 | ("docbook-xml" ,docbook-xml-4.2) | |
2375 | ("docbook-xsl" ,docbook-xsl))) | |
2376 | (inputs | |
2377 | `(("colord" ,colord) | |
2378 | ("eudev" ,eudev) | |
2379 | ("upower" ,upower) | |
2380 | ("polkit" ,polkit) | |
2381 | ("pulseaudio" ,pulseaudio) | |
2382 | ("libcanberra" ,libcanberra) | |
2383 | ("libx11" ,libx11) | |
2384 | ("libxtst" ,libxtst) | |
2385 | ("lcms" ,lcms) | |
2386 | ("libnotify" ,libnotify) | |
2387 | ("geoclue" ,geoclue) | |
2388 | ("geocode-glib" ,geocode-glib) | |
2389 | ("libgweather" ,libgweather) | |
2390 | ("gnome-desktop" ,gnome-desktop) | |
2391 | ("nss" ,nss) | |
2392 | ("cups" ,cups) | |
ec2b1921 AW |
2393 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2394 | ("libwacom" ,libwacom) | |
2395 | ("librsvg" ,librsvg) | |
2396 | ("xf86-input-wacom" ,xf86-input-wacom))) | |
23a22af6 AW |
2397 | (home-page "http://www.gnome.org") |
2398 | (synopsis "GNOME settings daemon") | |
2399 | (description | |
2400 | "This package contains the daemon responsible for setting the various | |
2401 | parameters of a GNOME session and the applications that run under it. It | |
2402 | handles settings such keyboard layout, shortcuts, and accessibility, clipboard | |
2403 | settings, themes, mouse settings, and startup of other daemons.") | |
2404 | (license license:gpl2+))) | |
1e7464a9 DH |
2405 | |
2406 | (define-public totem-pl-parser | |
2407 | (package | |
2408 | (name "totem-pl-parser") | |
2409 | (version "3.10.5") | |
2410 | (source (origin | |
2411 | (method url-fetch) | |
2412 | (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/" | |
2413 | "totem-pl-parser-" version ".tar.xz")) | |
2414 | (sha256 | |
2415 | (base32 | |
2416 | "0dw1kiwmjwdjrighri0j9nagsnj44dllm0mamnfh4y5nc47mhim7")))) | |
2417 | (build-system gnu-build-system) | |
2418 | (arguments | |
2419 | ;; FIXME: Tests require gvfs. | |
2420 | `(#:tests? #f)) | |
2421 | (native-inputs | |
2422 | `(("intltool" ,intltool) | |
2423 | ("glib" ,glib "bin") | |
4d6d8281 | 2424 | ("gobject-introspection" ,gobject-introspection) |
1e7464a9 | 2425 | ("pkg-config" ,pkg-config))) |
22a6ad6a | 2426 | (propagated-inputs |
1e7464a9 DH |
2427 | `(("glib" ,glib) |
2428 | ("gmime" ,gmime) | |
22a6ad6a MW |
2429 | ("libxml2" ,libxml2))) |
2430 | (inputs | |
2431 | `(("libarchive" ,libarchive) | |
1e7464a9 DH |
2432 | ("libgcrypt" ,libgcrypt) |
2433 | ("nettle" ,nettle) | |
22a6ad6a | 2434 | ("libsoup" ,libsoup))) |
1e7464a9 DH |
2435 | (home-page "https://projects.gnome.org/totem") |
2436 | (synopsis "Library to parse and save media playlists for GNOME") | |
2437 | (description "Totem-pl-parser is a GObjects-based library to parse and save | |
2438 | playlists in a variety of formats.") | |
2439 | (license license:lgpl2.0+))) | |
2440 | ||
6b888eff SB |
2441 | (define-public aisleriot |
2442 | (package | |
2443 | (name "aisleriot") | |
2444 | (version "3.16.1") | |
2445 | (source (origin | |
2446 | (method url-fetch) | |
2447 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2448 | (version-major+minor version) "/" | |
2449 | name "-" version ".tar.xz")) | |
2450 | (sha256 | |
2451 | (base32 | |
2452 | "19k483x9dkq8vjbq8f333pk9qil64clpsfg20q8xk9bgmk38aj8h")))) | |
2453 | (build-system glib-or-gtk-build-system) | |
2454 | (arguments | |
2455 | '(#:configure-flags | |
2456 | '("--with-platform=gtk-only" | |
2457 | "--with-card-theme-formats=svg"))) | |
2458 | (native-inputs | |
2459 | `(("desktop-file-utils" ,desktop-file-utils) | |
2460 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
2461 | ("intltool" ,intltool) | |
2462 | ("itstool" ,itstool) | |
2463 | ("pkg-config" ,pkg-config) | |
2464 | ("xmllint" ,libxml2))) | |
2465 | (inputs | |
2466 | `(("gtk+" ,gtk+) | |
2467 | ("guile" ,guile-2.0) | |
2468 | ("libcanberra" ,libcanberra) | |
2469 | ("librsvg" ,librsvg))) | |
2470 | (home-page "https://wiki.gnome.org/Apps/Aisleriot") | |
2471 | (synopsis "Solitaire card games") | |
2472 | (description | |
2473 | "Aisleriot (also known as Solitaire or sol) is a collection of card games | |
2474 | which are easy to play with the aid of a mouse.") | |
2475 | (license license:gpl3+))) | |
4a79e256 SB |
2476 | |
2477 | (define-public devhelp | |
2478 | (package | |
2479 | (name "devhelp") | |
2480 | (version "3.16.1") | |
2481 | (source (origin | |
2482 | (method url-fetch) | |
2483 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2484 | (version-major+minor version) "/" | |
2485 | name "-" version ".tar.xz")) | |
2486 | (sha256 | |
2487 | (base32 | |
2488 | "0i8kyh86hzwxs8dm047ivghl2b92vigdxa3x4pk4ha0whpk38g37")))) | |
2489 | (build-system glib-or-gtk-build-system) | |
2490 | (native-inputs | |
2491 | `(("intltool" ,intltool) | |
2492 | ("pkg-config" ,pkg-config))) | |
2493 | (inputs | |
2494 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
2495 | ("webkitgtk" ,webkitgtk))) | |
2496 | (home-page "https://wiki.gnome.org/Apps/Devhelp") | |
2497 | (synopsis "API documentation browser for GNOME") | |
2498 | (description | |
2499 | "Devhelp is an API documentation browser for GTK+ and GNOME. It works | |
2500 | natively with GTK-Doc (the API reference system developed for GTK+ and used | |
2501 | throughout GNOME for API documentation).") | |
2502 | (license license:gpl2+))) | |
ba421ab7 MW |
2503 | |
2504 | (define-public cogl | |
2505 | (package | |
2506 | (name "cogl") | |
2507 | (version "1.20.0") | |
2508 | (source | |
2509 | (origin | |
2510 | (method url-fetch) | |
2511 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2512 | (version-major+minor version) "/" | |
2513 | name "-" version ".tar.xz")) | |
2514 | (sha256 | |
2515 | (base32 | |
2516 | "0aqrj7gc0x7v536vdycgn2i23fj3nx3qwdd3mwgx7rr9b14kb7kj")))) | |
2517 | (build-system gnu-build-system) | |
2518 | (native-inputs | |
2519 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2520 | ("gobject-introspection" ,gobject-introspection) | |
2521 | ;;("xorg-server" ,xorg-server) ; for the test suite | |
2522 | ("pkg-config" ,pkg-config))) | |
2523 | (propagated-inputs | |
2524 | `(("glib" ,glib) | |
2525 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2526 | ("libx11" ,libx11) | |
2527 | ("libxext" ,libxext) | |
2528 | ("libxfixes" ,libxfixes) | |
2529 | ("libxdamage" ,libxdamage) | |
2530 | ("libxcomposite" ,libxcomposite) | |
2531 | ("libxrandr" ,libxrandr))) | |
2532 | (inputs | |
2533 | `(("mesa" ,mesa) | |
2534 | ("cairo" ,cairo) | |
2535 | ("pango" ,pango) | |
2536 | ("gstreamer" ,gstreamer) | |
2537 | ("gst-plugins-base" ,gst-plugins-base))) | |
2538 | (arguments | |
2539 | `(#:configure-flags (list "--enable-cogl-gst" | |
2540 | ;; Arrange to pass an absolute file name to | |
2541 | ;; dlopen for libGL.so. | |
2542 | (string-append "--with-gl-libname=" | |
2543 | (assoc-ref %build-inputs "mesa") | |
2544 | "/lib/libGL.so")) | |
2545 | ;; XXX FIXME: All tests fail, with many warnings printed like this: | |
2546 | ;; _FontTransOpen: Unable to Parse address | |
2547 | ;; ${prefix}/share/fonts/X11/misc/ | |
2548 | #:tests? #f | |
2549 | #; #:phases | |
2550 | #; | |
2551 | (modify-phases %standard-phases | |
2552 | (add-before 'check 'start-xorg-server | |
2553 | (lambda* (#:key inputs #:allow-other-keys) | |
2554 | ;; The test suite requires a running X server. | |
2555 | (system (format #f "~a/bin/Xvfb :1 &" | |
2556 | (assoc-ref inputs "xorg-server"))) | |
2557 | (setenv "DISPLAY" ":1") | |
2558 | #t))))) | |
2559 | (home-page "http://www.cogl3d.org") | |
2560 | (synopsis "Object oriented GL/GLES Abstraction/Utility Layer") | |
2561 | (description | |
2562 | "Cogl is a small library for using 3D graphics hardware to draw pretty | |
2563 | pictures. The API departs from the flat state machine style of OpenGL and is | |
2564 | designed to make it easy to write orthogonal components that can render | |
2565 | without stepping on each others toes.") | |
2566 | (license (list license:expat ; most of the code | |
2567 | license:bsd-3 ; cogl/cogl-point-in-poly.c | |
2568 | license:sgifreeb2.0 ; cogl-path/tesselator/ | |
2569 | license:asl2.0)))) ; examples/android/ | |
fb182b8a MW |
2570 | |
2571 | (define-public clutter | |
2572 | (package | |
2573 | (name "clutter") | |
2574 | (version "1.22.2") | |
2575 | (source | |
2576 | (origin | |
2577 | (method url-fetch) | |
2578 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2579 | (version-major+minor version) "/" | |
2580 | name "-" version ".tar.xz")) | |
2581 | (sha256 | |
2582 | (base32 | |
2583 | "1b0ikh9q3c3qnny3kbvhqih35449q8ajcbh7zkm8k3kykwfx4scf")))) | |
2584 | (build-system gnu-build-system) | |
2585 | (native-inputs | |
2586 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal | |
2587 | ("gobject-introspection" ,gobject-introspection) | |
2588 | ("pkg-config" ,pkg-config) | |
2589 | ("xsltproc" ,libxslt))) | |
2590 | (propagated-inputs | |
2591 | `(("cogl" ,cogl) | |
2592 | ("cairo" ,cairo) | |
2593 | ("atk" ,atk) | |
2594 | ("gtk+" ,gtk+) | |
2595 | ("json-glib" ,json-glib) | |
2596 | ("glib" ,glib) | |
2597 | ("libxcomposite" ,libxcomposite) | |
2598 | ("libxdamage" ,libxdamage) | |
2599 | ("libxext" ,libxext) | |
2600 | ("xinput" ,xinput))) | |
2601 | (inputs | |
2602 | `(("libxkbcommon" ,libxkbcommon) | |
2603 | ("udev" ,eudev))) | |
2604 | (arguments | |
2605 | `(#:configure-flags '("--enable-x11-backend=yes") | |
2606 | ;; XXX FIXME: Get test suite working. It would probably fail in the | |
2607 | ;; same way the cogl tests fail, since clutter is based on cogl. | |
2608 | #:tests? #f)) | |
2609 | (home-page "http://www.clutter-project.org") | |
2610 | (synopsis "Open GL based interactive canvas library") | |
2611 | (description | |
2612 | "Clutter is an Open GL based interactive canvas library, designed for | |
2613 | creating fast, mainly 2D single window applications such as media box UIs, | |
2614 | presentations, kiosk style applications and so on.") | |
2615 | (license license:lgpl2.0+))) | |
bf7f17ba MW |
2616 | |
2617 | (define-public clutter-gtk | |
2618 | (package | |
2619 | (name "clutter-gtk") | |
2620 | (version "1.6.0") | |
2621 | (source | |
2622 | (origin | |
2623 | (method url-fetch) | |
2624 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2625 | (version-major+minor version) "/" | |
2626 | name "-" version ".tar.xz")) | |
2627 | (sha256 | |
2628 | (base32 | |
2629 | "0k93hbf5d1970hs7vjddr3nnngygc7mxqbj474r3cdm0fjsm0dc8")))) | |
2630 | (build-system gnu-build-system) | |
2631 | (native-inputs | |
2632 | `(("pkg-config" ,pkg-config) | |
2633 | ("gobject-introspection" ,gobject-introspection))) | |
2634 | (inputs | |
2635 | `(("clutter" ,clutter) | |
2636 | ("gtk+" ,gtk+))) | |
2637 | (home-page "http://www.clutter-project.org") | |
2638 | (synopsis "Open GL based interactive canvas library GTK+ widget") | |
2639 | (description | |
2640 | "Clutter is an Open GL based interactive canvas library, designed for | |
2641 | creating fast, mainly 2D single window applications such as media box UIs, | |
2642 | presentations, kiosk style applications and so on.") | |
2643 | (license license:lgpl2.0+))) | |
86d6a893 MW |
2644 | |
2645 | (define-public clutter-gst | |
2646 | (package | |
2647 | (name "clutter-gst") | |
2648 | (version "3.0.6") | |
2649 | (source | |
2650 | (origin | |
2651 | (method url-fetch) | |
2652 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2653 | (version-major+minor version) "/" | |
2654 | name "-" version ".tar.xz")) | |
2655 | (sha256 | |
2656 | (base32 | |
2657 | "0xnzfdzawl1kdx715gp31nwjp7a1kib094s7xvg7bhbwwlx4kmfn")))) | |
2658 | (build-system gnu-build-system) | |
2659 | (native-inputs | |
2660 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2661 | ("pkg-config" ,pkg-config) | |
2662 | ("gobject-introspection" ,gobject-introspection))) | |
2663 | (inputs | |
2664 | `(("clutter" ,clutter) | |
2665 | ("gstreamer" ,gstreamer) | |
2666 | ("gst-plugins-base" ,gst-plugins-base))) | |
2667 | (home-page "http://www.clutter-project.org") | |
2668 | (synopsis "Integration library for using GStreamer with Clutter") | |
2669 | (description | |
2670 | "Clutter-Gst is an integration library for using GStreamer with Clutter. | |
2671 | It provides a GStreamer sink to upload frames to GL and an actor that | |
2672 | implements the ClutterGstPlayer interface using playbin. Clutter is an Open | |
2673 | GL based interactive canvas library.") | |
2674 | (license license:lgpl2.0+))) | |
607a04ae MW |
2675 | |
2676 | (define-public gom | |
2677 | (package | |
2678 | (name "gom") | |
2679 | (version "0.3.1") | |
2680 | (source | |
2681 | (origin | |
2682 | (method url-fetch) | |
2683 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2684 | (version-major+minor version) "/" | |
2685 | name "-" version ".tar.xz")) | |
2686 | (sha256 | |
2687 | (base32 | |
2688 | "1x9qgviszzh59d009jd13k0pdxzv9w4dmwp3wszbsk3qxr3fnlbr")))) | |
2689 | (build-system gnu-build-system) | |
2690 | (native-inputs | |
2691 | `(("intltool" ,intltool) | |
2692 | ("pkg-config" ,pkg-config) | |
2693 | ("gobject-introspection" ,gobject-introspection))) | |
2694 | (inputs | |
2695 | `(("glib" ,glib) | |
2696 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2697 | ("sqlite" ,sqlite))) | |
2698 | ;; XXX TODO: Figure out how to run the test suite. | |
2699 | (arguments `(#:tests? #f)) | |
2700 | (home-page "https://wiki.gnome.org/Projects/Gom") | |
2701 | (synopsis "Object mapper from GObjects to SQLite") | |
2702 | (description | |
2703 | "Gom provides an object mapper from GObjects to SQLite. It helps you | |
2704 | write applications that need to store structured data as well as make complex | |
2705 | queries upon that data.") | |
2706 | (license license:lgpl2.1+))) | |
b7a3cf11 SB |
2707 | |
2708 | (define-public gnome-klotski | |
2709 | (package | |
2710 | (name "gnome-klotski") | |
2711 | (version "3.16.1") | |
2712 | (source (origin | |
2713 | (method url-fetch) | |
2714 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2715 | (version-major+minor version) "/" | |
2716 | name "-" version ".tar.xz")) | |
2717 | (sha256 | |
2718 | (base32 | |
2719 | "0a64935c7pp51jhaf29q9zlx3lamj7zrhyff7clvv0w8v1w6gpax")))) | |
2720 | (build-system glib-or-gtk-build-system) | |
2721 | (native-inputs | |
2722 | `(("desktop-file-utils" ,desktop-file-utils) | |
2723 | ("intltool" ,intltool) | |
2724 | ("itstool" ,itstool) | |
2725 | ("pkg-config" ,pkg-config))) | |
2726 | (inputs | |
2727 | `(("gtk+" ,gtk+) | |
2728 | ("librsvg" ,librsvg))) | |
2729 | (home-page "https://wiki.gnome.org/Apps/Klotski") | |
2730 | (synopsis "Sliding block puzzles") | |
2731 | (description | |
2732 | "GNOME Klotski is a set of block sliding puzzles. The objective is to move | |
2733 | the patterned block to the area bordered by green markers. To do so, you will | |
2734 | need to slide other blocks out of the way. Complete each puzzle in as few moves | |
2735 | as possible!") | |
2736 | (license license:gpl2+))) | |
8d4791bf MW |
2737 | |
2738 | (define-public grilo | |
2739 | (package | |
2740 | (name "grilo") | |
2741 | (version "0.2.12") | |
2742 | (source | |
2743 | (origin | |
2744 | (method url-fetch) | |
2745 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2746 | (version-major+minor version) "/" | |
2747 | name "-" version ".tar.xz")) | |
2748 | (sha256 | |
2749 | (base32 | |
2750 | "11bvc7rsrjjwz8hp67p3fn8zmywrpawrcbi3vgw8b0dwa0sndd2m")))) | |
2751 | (build-system gnu-build-system) | |
2752 | (native-inputs | |
2753 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
2754 | ("intltool" ,intltool) | |
2755 | ("pkg-config" ,pkg-config) | |
2756 | ("gobject-introspection" ,gobject-introspection))) | |
2757 | (inputs | |
2758 | `(("glib" ,glib) | |
2759 | ("gtk+" ,gtk+) | |
2760 | ("libxml2" ,libxml2) | |
2761 | ;; XXX TODO: Add oauth | |
2762 | ("libsoup" ,libsoup) | |
2763 | ("totem-pl-parser" ,totem-pl-parser))) | |
2764 | (arguments | |
2765 | `(#:phases | |
2766 | (modify-phases %standard-phases | |
2767 | (add-after 'unpack 'fix-introspection-install-dir | |
2768 | (lambda* (#:key outputs #:allow-other-keys) | |
2769 | (let ((out (assoc-ref outputs "out"))) | |
2770 | (substitute* '("src/Makefile.in" | |
2771 | "libs/pls/Makefile.in" | |
2772 | "libs/net/Makefile.in") | |
2773 | (("@INTROSPECTION_GIRDIR@") | |
2774 | (string-append out "/share/gir-1.0/")) | |
2775 | (("@INTROSPECTION_TYPELIBDIR@") | |
2776 | (string-append out "/lib/girepository-1.0/"))))))))) | |
2777 | (native-search-paths | |
2778 | (list (search-path-specification | |
2779 | (variable "GRL_PLUGIN_PATH") | |
2780 | (files (list (string-append "lib/grilo-" | |
2781 | (version-major+minor version))))))) | |
2782 | (home-page "http://live.gnome.org/Grilo") | |
2783 | (synopsis "Framework for discovering and browsing media") | |
2784 | (description | |
2785 | "Grilo is a framework focused on making media discovery and browsing easy | |
2786 | for application developers.") | |
2787 | (license license:lgpl2.1+))) | |
7b212526 MW |
2788 | |
2789 | (define-public grilo-plugins | |
2790 | (package | |
2791 | (name "grilo-plugins") | |
2792 | (version "0.2.14") | |
2793 | (source | |
2794 | (origin | |
2795 | (method url-fetch) | |
2796 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2797 | (version-major+minor version) "/" | |
2798 | name "-" version ".tar.xz")) | |
2799 | (sha256 | |
2800 | (base32 | |
2801 | "1aykhc679pwn2qxsg19g8nh9hffpsqkgxcbqq7lcfn2hcwb83wfh")))) | |
2802 | (build-system gnu-build-system) | |
2803 | (native-inputs | |
2804 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
2805 | ("intltool" ,intltool) | |
2806 | ("itstool" ,itstool) | |
2807 | ("pkg-config" ,pkg-config))) | |
2808 | (inputs | |
2809 | `(("grilo" ,grilo) | |
2810 | ("glib" ,glib) | |
2811 | ("libxml2" ,libxml2) | |
2812 | ("sqlite" ,sqlite) | |
2813 | ("gom" ,gom) | |
2814 | ;; XXX TODO: Add oauth | |
2815 | ;; XXX TODO: Add goa | |
2816 | ;; XXX TODO: Add gdata (e.g. needed for youtube plugin) | |
2817 | ;; XXX TODO: Add lua (needs help finding it) | |
2818 | ("json-glib" ,json-glib) | |
2819 | ("avahi" ,avahi) | |
2820 | ("gmime" ,gmime) | |
2821 | ("libsoup" ,libsoup) | |
2822 | ("libarchive" ,libarchive) | |
2823 | ("totem-pl-parser" ,totem-pl-parser))) | |
2824 | (arguments | |
2825 | `(#:make-flags (list (string-append "GRL_PLUGINS_DIR=" | |
2826 | %output | |
2827 | "/lib/grilo-" | |
2828 | ,(version-major+minor version))) | |
2829 | ;; XXX FIXME: Try to get the test suite working. It appears to require | |
2830 | ;; a working system dbus. Inside the build container, all tests fail | |
2831 | ;; with: "assertion failed: (source)". Outside of the build container, | |
2832 | ;; most tests succeed. | |
2833 | #:tests? #f)) | |
2834 | (home-page "http://live.gnome.org/Grilo") | |
2835 | (synopsis "Plugins for the Grilo media discovery library") | |
2836 | (description | |
2837 | "Grilo is a framework focused on making media discovery and browsing easy | |
2838 | for application developers.") | |
2839 | (license license:lgpl2.1+))) | |
4e3fc547 MW |
2840 | |
2841 | (define-public totem | |
2842 | (package | |
2843 | (name "totem") | |
2844 | (version "3.16.1") | |
2845 | (source | |
2846 | (origin | |
2847 | (method url-fetch) | |
2848 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2849 | (version-major+minor version) "/" | |
2850 | name "-" version ".tar.xz")) | |
2851 | (sha256 | |
2852 | (base32 | |
2853 | "1nkm2i271ivq40hryrl6px39gbbvhmlx4vmvwvw4h3z8xh3013f9")))) | |
2854 | (build-system glib-or-gtk-build-system) | |
2855 | (native-inputs | |
2856 | `(("pkg-config" ,pkg-config) | |
2857 | ("desktop-file-utils" ,desktop-file-utils) | |
2858 | ("gobject-introspection" ,gobject-introspection) | |
2859 | ("intltool" ,intltool) | |
2860 | ("itstool" ,itstool))) | |
2861 | (propagated-inputs | |
2862 | `(("dconf" ,dconf))) | |
2863 | (inputs | |
2864 | `(("gtk+" ,gtk+) | |
2865 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2866 | ("atk" ,atk) | |
2867 | ("cairo" ,cairo) | |
2868 | ("dbus-glib" ,dbus-glib) | |
2869 | ("clutter" ,clutter) | |
2870 | ("clutter-gtk" ,clutter-gtk) | |
2871 | ("clutter-gst" ,clutter-gst) | |
2872 | ("xproto" ,xproto) | |
2873 | ("libxxf86vm" ,libxxf86vm) | |
2874 | ("libxtst" ,libxtst) | |
2875 | ("libxrandr" ,libxrandr) | |
2876 | ("libxml2" ,libxml2) | |
2877 | ("libsoup" ,libsoup) | |
2878 | ("libpeas" ,libpeas) | |
2879 | ("librsvg" ,librsvg) | |
2880 | ("lirc" ,lirc) | |
2881 | ("gnome-desktop" ,gnome-desktop) | |
2882 | ("gstreamer" ,gstreamer) | |
2883 | ("gst-plugins-base" ,gst-plugins-base) | |
2884 | ("gst-plugins-good" ,gst-plugins-good) | |
2885 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
2886 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
2887 | ;; XXX We use python-2 because libxml2 because itstool (which needs | |
2888 | ;; libxml) currently uses python-2. | |
2889 | ("python" ,python-2) | |
2890 | ("python-pygobject" ,python2-pygobject) | |
2891 | ;; XXX TODO pylint needed for python support | |
2892 | ("totem-pl-parser" ,totem-pl-parser) | |
2893 | ("grilo" ,grilo) | |
2894 | ("grilo-plugins" ,grilo-plugins) | |
2895 | ("nettle" ,nettle) | |
2896 | ("vala" ,vala))) | |
2897 | (arguments | |
2898 | `(#:phases | |
2899 | (modify-phases %standard-phases | |
2900 | (add-after | |
2901 | 'install 'wrap-totem | |
2902 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
2903 | (let ((out (assoc-ref outputs "out")) | |
2904 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
2905 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
2906 | (wrap-program (string-append out "/bin/totem") | |
2907 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
2908 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))) | |
2909 | #t))))) | |
2910 | (home-page "https://wiki.gnome.org/Apps/Videos") | |
2911 | (synopsis "Simple media player for GNOME based on GStreamer") | |
2912 | (description "Totem is a simple yet featureful media player for GNOME | |
2913 | which can read a large number of file formats.") | |
2914 | ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins | |
2915 | ;; to be used and distributed together with GStreamer and Totem. See | |
2916 | ;; file://COPYING in the source distribution for details. | |
2917 | (license license:gpl2+))) | |
f0afb0c8 DH |
2918 | |
2919 | (define-public rhythmbox | |
2920 | (package | |
2921 | (name "rhythmbox") | |
2922 | (version "3.2.1") | |
2923 | (source (origin | |
2924 | (method url-fetch) | |
2925 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2926 | (version-major+minor version) "/" | |
2927 | name "-" version ".tar.xz")) | |
2928 | (sha256 | |
2929 | (base32 | |
2930 | "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz")))) | |
2931 | (build-system glib-or-gtk-build-system) | |
2932 | (arguments | |
2933 | `(#:configure-flags | |
2934 | (list "--enable-lirc" | |
2935 | "--enable-python" | |
2936 | "--enable-vala" | |
2937 | "--with-brasero" | |
2938 | "--with-gudev" | |
2939 | "--with-libsecret") | |
2940 | #:phases | |
2941 | (modify-phases %standard-phases | |
2942 | (add-after | |
2943 | 'install 'wrap-rhythmbox | |
2944 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
2945 | (let ((out (assoc-ref outputs "out")) | |
2946 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
2947 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
2948 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
2949 | (wrap-program (string-append out "/bin/rhythmbox") | |
2950 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
2951 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
2952 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))) | |
2953 | #t))))) | |
2954 | (propagated-inputs | |
2955 | `(("dconf" ,dconf))) | |
2956 | (native-inputs | |
2957 | `(("intltool" ,intltool) | |
2958 | ("glib" ,glib "bin") | |
2959 | ("gobject-introspection" ,gobject-introspection) | |
2960 | ("desktop-file-utils" ,desktop-file-utils) | |
2961 | ("pkg-config" ,pkg-config))) | |
2962 | (inputs | |
2963 | `(("json-glib" ,json-glib) | |
2964 | ("tdb" ,tdb) | |
2965 | ("gnome-desktop" ,gnome-desktop) | |
2966 | ("python" ,python) | |
2967 | ("python-pygobject" ,python2-pygobject) | |
2968 | ("vala" ,vala) | |
2969 | ("gmime" ,gmime) | |
2970 | ("nettle" ,nettle) | |
2971 | ("itstool" ,itstool) | |
2972 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
2973 | ("grilo" ,grilo) | |
2974 | ("grilo-plugins" ,grilo-plugins) | |
2975 | ("gstreamer" ,gstreamer) | |
2976 | ("gst-plugins-base" ,gst-plugins-base) | |
2977 | ("gst-plugins-good" ,gst-plugins-good) | |
2978 | ("eudev" ,eudev) | |
2979 | ("totem-pl-parser" ,totem-pl-parser) | |
2980 | ;;("libmtp" ,libmtp) FIXME: Not detected | |
2981 | ("libsecret" ,libsecret) | |
2982 | ("libsoup" ,libsoup) | |
2983 | ("libnotify" ,libnotify) | |
2984 | ("libpeas" ,libpeas) | |
2985 | ("lirc" ,lirc) | |
2986 | ;; TODO: clutter* only used by visualizer plugin, which also requires mx | |
2987 | ;;("clutter" ,clutter) | |
2988 | ;;("clutter-gtk" ,clutter-gtk) | |
2989 | ;;("clutter-gst" ,clutter-gst) | |
2990 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
2991 | ("atk" ,atk) | |
2992 | ("pango" ,pango) | |
2993 | ("gtk+" ,gtk+) | |
2994 | ;; TODO: | |
2995 | ;; * libgpod | |
2996 | ;; * mx | |
2997 | ;; * webkit | |
2998 | ("brasero" ,brasero))) | |
2999 | (home-page "https://wiki.gnome.org/Apps/Rhythmbox") | |
3000 | (synopsis "Music player for GNOME") | |
3001 | (description "Rhythmbox is a music playing application for GNOME. It | |
3002 | supports playlists, song ratings, and any codecs installed through gstreamer.") | |
3003 | (license license:gpl2+))) |