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