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