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> |
995b7261 AE |
8 | ;;; |
9 | ;;; This file is part of GNU Guix. | |
10 | ;;; | |
11 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
12 | ;;; under the terms of the GNU General Public License as published by | |
13 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
14 | ;;; your option) any later version. | |
15 | ;;; | |
16 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
17 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 | ;;; GNU General Public License for more details. | |
20 | ;;; | |
21 | ;;; You should have received a copy of the GNU General Public License | |
22 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
23 | ||
24 | (define-module (gnu packages gnome) | |
b5b73a82 | 25 | #:use-module ((guix licenses) #:prefix license:) |
995b7261 AE |
26 | #:use-module (guix packages) |
27 | #:use-module (guix download) | |
29a7c98a | 28 | #:use-module (guix utils) |
995b7261 | 29 | #:use-module (guix build-system gnu) |
121de2e1 | 30 | #:use-module (guix build-system glib-or-gtk) |
ed19903d | 31 | #:use-module (gnu packages) |
5698b8b8 | 32 | #:use-module (gnu packages bison) |
121de2e1 | 33 | #:use-module (gnu packages flex) |
b4ce6300 | 34 | #:use-module (gnu packages docbook) |
995b7261 | 35 | #:use-module (gnu packages glib) |
c1354b90 | 36 | #:use-module (gnu packages gnupg) |
85f5dc19 | 37 | #:use-module (gnu packages gstreamer) |
d9c1a22b | 38 | #:use-module (gnu packages gtk) |
c1354b90 | 39 | #:use-module (gnu packages pdf) |
5698b8b8 | 40 | #:use-module (gnu packages popt) |
c1354b90 | 41 | #:use-module (gnu packages ghostscript) |
191e9b4e | 42 | #:use-module (gnu packages gnutls) |
9cc98f8a | 43 | #:use-module (gnu packages iso-codes) |
85f5dc19 | 44 | #:use-module (gnu packages libcanberra) |
e55354b8 | 45 | #:use-module (gnu packages image) |
27477d2d | 46 | #:use-module (gnu packages perl) |
995b7261 AE |
47 | #:use-module (gnu packages pkg-config) |
48 | #:use-module (gnu packages python) | |
85f5dc19 | 49 | #:use-module (gnu packages xml) |
200726ed | 50 | #:use-module (gnu packages gl) |
1dd26275 | 51 | #:use-module (gnu packages compression) |
fecbf86e | 52 | #:use-module (gnu packages xorg) |
ea57378f SB |
53 | #:use-module (gnu packages xdisorg) |
54 | #:use-module (gnu packages ncurses)) | |
85f5dc19 AE |
55 | |
56 | (define-public brasero | |
57 | (package | |
58 | (name "brasero") | |
59 | (version "3.8.0") | |
60 | (source (origin | |
61 | (method url-fetch) | |
62 | (uri (string-append "mirror://gnome/sources/brasero/3.8/brasero-" | |
63 | version ".tar.xz")) | |
64 | (sha256 | |
65 | (base32 | |
66 | "1r5wjsrm47amdaf862ymkdlwlb636c45wg14x20hdr99c653d2nr")))) | |
67 | (build-system gnu-build-system) | |
68 | (propagated-inputs | |
69 | `(("hicolor-icon-theme" ,hicolor-icon-theme))) | |
9cc98f8a CR |
70 | (native-inputs |
71 | `(("intltool" ,intltool) | |
426adbe8 | 72 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
9cc98f8a | 73 | ("pkg-config" ,pkg-config))) |
85f5dc19 AE |
74 | (inputs |
75 | `(("glib" ,glib) | |
76 | ("gnome-doc-utils" ,gnome-doc-utils) | |
77 | ("gstreamer" ,gstreamer) | |
78 | ("gst-plugins-base" ,gst-plugins-base) | |
79 | ("gtk+" ,gtk+) | |
85f5dc19 AE |
80 | ("itstool" ,itstool) |
81 | ("libcanberra" ,libcanberra) | |
82 | ("libice" ,libice) | |
83 | ("libnotify" ,libnotify) | |
84 | ("libsm" ,libsm) | |
c4c4cc05 | 85 | ("libxml2" ,libxml2))) |
85f5dc19 AE |
86 | (home-page "https://projects.gnome.org/brasero/") |
87 | (synopsis "CD/DVD burning tool for Gnome") | |
88 | (description "Brasero is an application to burn CD/DVD for the Gnome | |
89 | Desktop. It is designed to be as simple as possible and has some unique | |
90 | features to enable users to create their discs easily and quickly.") | |
1dd26275 | 91 | (license license:gpl2+))) |
995b7261 | 92 | |
9cc98f8a CR |
93 | (define-public gnome-desktop |
94 | (package | |
95 | (name "gnome-desktop") | |
96 | (version "3.10.0") | |
97 | (source | |
98 | (origin | |
99 | (method url-fetch) | |
b38e45d8 EB |
100 | (uri (string-append "mirror://gnome/sources/" name "/" |
101 | (version-major+minor version) "/" | |
9cc98f8a CR |
102 | name "-" version ".tar.xz")) |
103 | (sha256 | |
104 | (base32 | |
105 | "0p5p6wvmy5zvcdnmp5h2biz7rjrcw99chq5kkwcnb68flcmkb1ry")))) | |
106 | (build-system gnu-build-system) | |
107 | (native-inputs | |
108 | `(("intltool" ,intltool) | |
109 | ("pkg-config" ,pkg-config))) | |
110 | (inputs | |
111 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
112 | ("glib" ,glib) | |
113 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
114 | ("gtk+" ,gtk+) | |
115 | ("iso-codes" ,iso-codes) | |
116 | ("itstool" ,itstool) | |
117 | ("libx11" ,libx11) | |
118 | ("libxext" ,libxext) | |
119 | ("libxkbfile" ,libxkbfile) | |
120 | ("libxrandr" ,libxrandr) | |
121 | ("xkeyboard-config" ,xkeyboard-config))) | |
122 | (home-page "https://www.gnome.org/") | |
123 | (synopsis | |
35b9e423 | 124 | "Libgnome-desktop, gnome-about, and desktop-wide documents") |
9cc98f8a CR |
125 | (description |
126 | "The libgnome-desktop library provides API shared by several applications | |
35b9e423 EB |
127 | on the desktop, but that cannot live in the platform for various reasons. |
128 | There is no API or ABI guarantee, although we are doing our best to provide | |
129 | stability. Documentation for the API is available with gtk-doc. | |
9cc98f8a CR |
130 | |
131 | The gnome-about program helps find which version of GNOME is installed.") | |
132 | ; Some bits under the LGPL. | |
1dd26275 | 133 | (license license:gpl2+))) |
9cc98f8a | 134 | |
995b7261 AE |
135 | (define-public gnome-doc-utils |
136 | (package | |
137 | (name "gnome-doc-utils") | |
138 | (version "0.20.10") | |
139 | (source | |
140 | (origin | |
141 | (method url-fetch) | |
b38e45d8 EB |
142 | (uri (string-append "mirror://gnome/sources/" name "/" |
143 | (version-major+minor version) "/" | |
995b7261 AE |
144 | name "-" version ".tar.xz")) |
145 | (sha256 | |
146 | (base32 | |
147 | "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb")))) | |
148 | (build-system gnu-build-system) | |
c4c4cc05 | 149 | (native-inputs |
995b7261 | 150 | `(("intltool" ,intltool) |
b4ce6300 | 151 | ("docbook-xml" ,docbook-xml-4.4) |
995b7261 AE |
152 | ("libxml2" ,libxml2) |
153 | ("libxslt" ,libxslt) | |
154 | ("pkg-config" ,pkg-config) | |
155 | ("python-2" ,python-2))) | |
995b7261 AE |
156 | (home-page "https://wiki.gnome.org/GnomeDocUtils") |
157 | (synopsis | |
158 | "Documentation utilities for the Gnome project") | |
159 | (description | |
160 | "Gnome-doc-utils is a collection of documentation utilities for the | |
161 | Gnome project. It includes xml2po tool which makes it easier to translate | |
162 | and keep up to date translations of documentation.") | |
1dd26275 | 163 | (license license:gpl2+))) ; xslt under lgpl |
d9c1a22b | 164 | |
c1354b90 LC |
165 | (define-public libgnome-keyring |
166 | (package | |
167 | (name "libgnome-keyring") | |
168 | (version "3.6.0") | |
169 | (source (origin | |
170 | (method url-fetch) | |
b38e45d8 EB |
171 | (uri (string-append "mirror://gnome/sources/" name "/" |
172 | (version-major+minor version) "/" | |
173 | name "-" version ".tar.xz")) | |
c1354b90 LC |
174 | (sha256 |
175 | (base32 | |
176 | "0c4qrjpmv1hqga3xv6wsq2z10x2n78qgw7q3k3s01y1pggxkgjkd")))) | |
177 | (build-system gnu-build-system) | |
c1354b90 | 178 | (inputs |
c4c4cc05 | 179 | `(("libgcrypt" ,libgcrypt) |
c1354b90 | 180 | ("dbus" ,dbus))) |
c4c4cc05 JD |
181 | (native-inputs |
182 | `(("pkg-config" ,pkg-config) | |
426adbe8 | 183 | ("glib" ,glib "bin") |
c4c4cc05 | 184 | ("intltool" ,intltool))) |
c1354b90 LC |
185 | (propagated-inputs |
186 | ;; Referred to in .h files and .pc. | |
187 | `(("glib" ,glib))) | |
188 | (home-page "http://www.gnome.org") | |
189 | (synopsis "Accessing passwords from the GNOME keyring") | |
190 | (description | |
191 | "Client library to access passwords from the GNOME keyring.") | |
192 | ||
193 | ;; Though a couple of files are LGPLv2.1+. | |
1dd26275 | 194 | (license license:lgpl2.0+))) |
c1354b90 LC |
195 | |
196 | (define-public evince | |
197 | (package | |
198 | (name "evince") | |
199 | (version "3.6.1") | |
200 | (source (origin | |
201 | (method url-fetch) | |
b38e45d8 EB |
202 | (uri (string-append "mirror://gnome/sources/" name "/" |
203 | (version-major+minor version) "/" | |
204 | name "-" version ".tar.xz")) | |
c1354b90 LC |
205 | (sha256 |
206 | (base32 | |
207 | "1da1pij030dh8mb0pr0jnyszgsbjnh8lc17rj5ii52j3kmbv51qv")))) | |
121de2e1 | 208 | (build-system glib-or-gtk-build-system) |
c1354b90 LC |
209 | (arguments |
210 | `(#:configure-flags '("--disable-nautilus") | |
211 | ||
212 | ;; FIXME: Tests fail with: | |
213 | ;; ImportError: No module named gi.repository | |
214 | ;; Where should that module come from? | |
3d243e9c | 215 | #:tests? #f)) |
c1354b90 LC |
216 | (inputs |
217 | `(("libspectre" ,libspectre) | |
218 | ;; ("djvulibre" ,djvulibre) | |
219 | ("ghostscript" ,ghostscript) | |
220 | ("poppler" ,poppler) | |
221 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
222 | ("libgnome-keyring" ,libgnome-keyring) | |
223 | ("gnome-icon-theme" ,gnome-icon-theme) | |
224 | ("itstool" ,itstool) | |
225 | ("gdk-pixbuf" ,gdk-pixbuf) | |
226 | ("atk" ,atk) | |
227 | ("pango" ,pango) | |
228 | ("gtk+" ,gtk+) | |
229 | ("glib" ,glib) | |
230 | ("libxml2" ,libxml2) | |
c1354b90 LC |
231 | ("libsm" ,libsm) |
232 | ("libice" ,libice) | |
96e42467 | 233 | ("shared-mime-info" ,shared-mime-info) |
3d243e9c FB |
234 | ("dconf" ,dconf) |
235 | ("libcanberra" ,libcanberra) | |
236 | ||
c1354b90 LC |
237 | ;; For tests. |
238 | ("dogtail" ,python2-dogtail))) | |
96e42467 | 239 | (native-inputs |
c4c4cc05 | 240 | `(("intltool" ,intltool) |
426adbe8 | 241 | ("glib" ,glib "bin") |
c4c4cc05 | 242 | ("pkg-config" ,pkg-config))) |
c1354b90 LC |
243 | (home-page |
244 | "http://www.gnome.org/projects/evince/") | |
245 | (synopsis "GNOME's document viewer") | |
246 | (description | |
247 | "Evince is a document viewer for multiple document formats. It | |
248 | currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal | |
249 | of Evince is to replace the multiple document viewers that exist | |
96e42467 | 250 | on the GNOME Desktop with a single simple application.") |
1dd26275 | 251 | (license license:gpl2+))) |
c1354b90 | 252 | |
22e32e69 AE |
253 | (define-public gsettings-desktop-schemas |
254 | (package | |
255 | (name "gsettings-desktop-schemas") | |
256 | (version "3.10.0") | |
257 | (source | |
258 | (origin | |
259 | (method url-fetch) | |
260 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 261 | (version-major+minor version) "/" |
22e32e69 AE |
262 | name "-" version ".tar.xz")) |
263 | (sha256 | |
264 | (base32 | |
265 | "1km8qxwrzvravmg8j680qv64bwnwbdgrmy8bqmhs0dgxn2b1as6a")))) | |
266 | (build-system gnu-build-system) | |
267 | (inputs | |
c4c4cc05 JD |
268 | `(("glib" ,glib))) |
269 | (native-inputs | |
270 | `(("intltool" ,intltool) | |
426adbe8 | 271 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
22e32e69 AE |
272 | ("pkg-config" ,pkg-config))) |
273 | (home-page "https://launchpad.net/gsettings-desktop-schemas") | |
274 | (synopsis | |
275 | "GNOME settings for various desktop components") | |
276 | (description | |
277 | "Gsettings-desktop-schemas contains a collection of GSettings schemas | |
278 | for settings shared by various components of the GNOME desktop.") | |
1dd26275 | 279 | (license license:lgpl2.1+))) |
22e32e69 | 280 | |
27477d2d AE |
281 | (define-public icon-naming-utils |
282 | (package | |
283 | (name "icon-naming-utils") | |
284 | (version "0.8.90") | |
285 | (source | |
286 | (origin | |
287 | (method url-fetch) | |
288 | (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-" | |
289 | version ".tar.bz2")) | |
290 | (sha256 | |
291 | (base32 | |
292 | "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi")))) | |
293 | (build-system gnu-build-system) | |
294 | (inputs | |
295 | `(("perl" ,perl) | |
296 | ("perl-xml-simple" ,perl-xml-simple))) | |
f4e97277 SB |
297 | (arguments |
298 | '(#:phases | |
299 | (alist-cons-after | |
300 | 'install 'set-load-paths | |
301 | ;; Tell 'icon-name-mapping' where XML::Simple is. | |
302 | (lambda* (#:key outputs #:allow-other-keys) | |
303 | (let* ((out (assoc-ref outputs "out")) | |
304 | (prog (string-append out "/libexec/icon-name-mapping"))) | |
305 | (wrap-program | |
306 | prog | |
307 | `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))) | |
308 | %standard-phases))) | |
27477d2d AE |
309 | (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification") |
310 | (synopsis | |
311 | "Utility to implement the Freedesktop Icon Naming Specification") | |
312 | (description | |
313 | "To help with the transition to the Freedesktop Icon Naming | |
314 | Specification, the icon naming utility maps the icon names used by the | |
315 | GNOME and KDE desktops to the icon names proposed in the specification.") | |
1dd26275 | 316 | (license license:lgpl2.1+))) |
27477d2d | 317 | |
686e025d SB |
318 | (define-public desktop-file-utils |
319 | (package | |
320 | (name "desktop-file-utils") | |
321 | (version "0.22") | |
322 | (source (origin | |
323 | (method url-fetch) | |
324 | (uri (string-append "http://www.freedesktop.org/software/" name | |
325 | "/releases/" name "-" version ".tar.xz")) | |
326 | (sha256 | |
327 | (base32 | |
328 | "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4")))) | |
329 | (build-system gnu-build-system) | |
330 | (native-inputs | |
331 | `(("pkg-config" ,pkg-config))) | |
332 | (inputs | |
333 | `(("glib" ,glib))) | |
334 | (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/") | |
335 | (synopsis "Utilities for working with desktop entries") | |
336 | (description | |
337 | "This package contains a few command line utilities for working with | |
338 | desktop entries: | |
339 | ||
340 | desktop-file-validate: validates a desktop file and prints warnings/errors | |
341 | about desktop entry specification violations. | |
342 | ||
343 | desktop-file-install: installs a desktop file to the applications directory, | |
344 | optionally munging it a bit in transit. | |
345 | ||
346 | update-desktop-database: updates the database containing a cache of MIME types | |
347 | handled by desktop files.") | |
348 | (license license:gpl2+))) | |
349 | ||
7d3f3651 AE |
350 | (define-public gnome-icon-theme |
351 | (package | |
352 | (name "gnome-icon-theme") | |
353 | (version "3.10.0") | |
354 | (source | |
355 | (origin | |
356 | (method url-fetch) | |
357 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 358 | (version-major+minor version) "/" |
7d3f3651 AE |
359 | name "-" version ".tar.xz")) |
360 | (sha256 | |
361 | (base32 | |
362 | "1xinbgkkvlhazj887ajcl13i7kdc1wcca02jwxzvjrvchjsp4m66")))) | |
363 | (build-system gnu-build-system) | |
364 | (inputs | |
365 | `(("gtk+" ,gtk+) | |
c4c4cc05 JD |
366 | ("icon-naming-utils" ,icon-naming-utils))) |
367 | (native-inputs | |
368 | `(("intltool" ,intltool) | |
369 | ("pkg-config" ,pkg-config))) | |
7d3f3651 AE |
370 | (home-page "http://art.gnome.org/") |
371 | (synopsis | |
372 | "GNOME icon theme") | |
373 | (description | |
374 | "Icons for the GNOME desktop.") | |
1dd26275 | 375 | (license license:lgpl3))) ; or Creative Commons BY-SA 3.0 |
7d3f3651 | 376 | |
9167f8e6 LC |
377 | (define-public shared-mime-info |
378 | (package | |
379 | (name "shared-mime-info") | |
380 | (version "1.2") | |
381 | (source (origin | |
382 | (method url-fetch) | |
b38e45d8 EB |
383 | (uri (string-append "http://freedesktop.org/~hadess/" |
384 | "shared-mime-info-" version ".tar.xz")) | |
9167f8e6 LC |
385 | (sha256 |
386 | (base32 | |
387 | "0y5vi0vr6rbhvfzcfg57cfskn362bpvcpca9cy598nmr87i6lld5")))) | |
388 | (build-system gnu-build-system) | |
389 | (arguments | |
390 | ;; The build system appears not to be parallel-safe. | |
391 | '(#:parallel-build? #f)) | |
392 | (inputs | |
393 | `(("glib" ,glib) | |
c4c4cc05 | 394 | ("libxml2" ,libxml2))) |
9167f8e6 | 395 | (native-inputs |
c4c4cc05 JD |
396 | `(("intltool" ,intltool) |
397 | ("pkg-config" ,pkg-config))) | |
9167f8e6 LC |
398 | (home-page "http://freedesktop.org/wiki/Software/shared-mime-info") |
399 | (synopsis "Database of common MIME types") | |
400 | (description | |
401 | "The shared-mime-info package contains the core database of common types | |
402 | and the update-mime-database command used to extend it. It requires glib2 to | |
403 | be installed for building the update command. Additionally, it uses intltool | |
404 | for translations, though this is only a dependency for the maintainers. This | |
405 | database is translated at Transifex.") | |
1dd26275 | 406 | (license license:gpl2+))) |
9167f8e6 | 407 | |
bef4dd92 AE |
408 | (define-public hicolor-icon-theme |
409 | (package | |
410 | (name "hicolor-icon-theme") | |
411 | (version "0.12") | |
412 | (source | |
413 | (origin | |
414 | (method url-fetch) | |
b38e45d8 EB |
415 | (uri (string-append "http://icon-theme.freedesktop.org/releases/" |
416 | "hicolor-icon-theme-" version ".tar.gz")) | |
bef4dd92 AE |
417 | (sha256 |
418 | (base32 | |
419 | "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y")))) | |
420 | (build-system gnu-build-system) | |
421 | (arguments | |
422 | `(#:tests? #f)) ; no check target | |
423 | (home-page "http://icon-theme.freedesktop.org/releases/") | |
424 | (synopsis | |
425 | "Freedesktop icon theme") | |
426 | (description | |
427 | "Freedesktop icon theme.") | |
1dd26275 | 428 | (license license:gpl2))) |
bef4dd92 | 429 | |
d9c1a22b AE |
430 | (define-public libnotify |
431 | (package | |
432 | (name "libnotify") | |
433 | (version "0.7.6") | |
434 | (source | |
435 | (origin | |
436 | (method url-fetch) | |
437 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 438 | (version-major+minor version) "/" |
d9c1a22b AE |
439 | name "-" version ".tar.xz")) |
440 | (sha256 | |
441 | (base32 | |
442 | "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf")))) | |
443 | (build-system gnu-build-system) | |
444 | (inputs | |
445 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
446 | ("glib" ,glib) | |
447 | ("gtk+" ,gtk+) | |
c4c4cc05 JD |
448 | ("libpng" ,libpng))) |
449 | (native-inputs | |
426adbe8 LC |
450 | `(("pkg-config" ,pkg-config) |
451 | ("glib" ,glib "bin"))) | |
d9c1a22b AE |
452 | (home-page "https://developer-next.gnome.org/libnotify/") |
453 | (synopsis | |
454 | "GNOME desktop notification library") | |
455 | (description | |
456 | "Libnotify is a library that sends desktop notifications to a | |
35b9e423 | 457 | notification daemon, as defined in the Desktop Notifications spec. These |
d9c1a22b AE |
458 | notifications can be used to inform the user about an event or display |
459 | some form of information without getting in the user's way.") | |
1dd26275 | 460 | (license license:lgpl2.1+))) |
7a8605ce CR |
461 | |
462 | (define-public libpeas | |
463 | (package | |
464 | (name "libpeas") | |
58d32305 | 465 | (version "1.12.1") |
7a8605ce CR |
466 | (source |
467 | (origin | |
468 | (method url-fetch) | |
469 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 470 | (version-major+minor version) "/" |
7a8605ce CR |
471 | name "-" version ".tar.xz")) |
472 | (sha256 | |
473 | (base32 | |
58d32305 | 474 | "1mjjjjwphc83bjznmbsm7x0jg7ql261nys6qnl7mi0nkr4qvw476")))) |
7a8605ce | 475 | (build-system gnu-build-system) |
7a8605ce CR |
476 | (inputs |
477 | `(("atk" ,atk) | |
478 | ("gdk-pixbuf" ,gdk-pixbuf) | |
479 | ("glib" ,glib) | |
7a8605ce | 480 | ("gtk+" ,gtk+) |
141aed80 LC |
481 | ("pango" ,pango))) |
482 | (native-inputs | |
483 | `(("pkg-config" ,pkg-config) | |
93622993 | 484 | ("glib:bin" ,glib "bin") |
141aed80 LC |
485 | ("gobject-introspection" ,gobject-introspection) |
486 | ("intltool" ,intltool))) | |
58d32305 FB |
487 | (arguments |
488 | `(#:phases | |
489 | (alist-cons-before | |
490 | 'build 'pre-build | |
491 | (lambda* _ | |
492 | (setenv "CC" "gcc")) | |
493 | %standard-phases))) | |
7a8605ce CR |
494 | (home-page "https://wiki.gnome.org/Libpeas") |
495 | (synopsis "GObject plugin system") | |
496 | (description | |
35b9e423 | 497 | "Libpeas is a gobject-based plugins engine, and is targetted at giving |
7a8605ce CR |
498 | every application the chance to assume its own extensibility. It also has a |
499 | set of features including, but not limited to: multiple extension points; on | |
500 | demand (lazy) programming language support for C, Python and JS; simplicity of | |
501 | the API") | |
1dd26275 | 502 | (license license:lgpl2.0+))) |
ed19903d JD |
503 | |
504 | (define-public gtkglext | |
505 | (package | |
506 | (name "gtkglext") | |
507 | (version "1.2.0") | |
508 | (source (origin | |
509 | (method url-fetch) | |
510 | (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/" | |
511 | version "/gtkglext-" version ".tar.gz")) | |
512 | (sha256 | |
513 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
514 | (patches (list | |
ed19903d JD |
515 | (search-patch "gtkglext-disable-disable-deprecated.patch"))))) |
516 | (build-system gnu-build-system) | |
517 | (inputs `(("gtk+" ,gtk+-2) | |
518 | ("mesa" ,mesa) | |
cc8b02f4 | 519 | ("glu" ,glu) |
ed19903d JD |
520 | ("libx11" ,libx11) |
521 | ("libxt" ,libxt))) | |
426adbe8 LC |
522 | (native-inputs `(("pkg-config" ,pkg-config) |
523 | ("glib" ,glib "bin"))) | |
a83b6a06 | 524 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 525 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 526 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 527 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
528 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
529 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 530 | (license license:lgpl2.1+))) |
3600420e JD |
531 | |
532 | (define-public glade3 | |
533 | (package | |
534 | (name "glade") | |
535 | (version "3.8.4") | |
b38e45d8 EB |
536 | (source (origin |
537 | (method url-fetch) | |
538 | (uri (string-append "mirror://gnome/sources/" name "/" | |
539 | (version-major+minor version) "/" | |
540 | name "3-" version ".tar.xz")) | |
3600420e JD |
541 | (sha256 |
542 | (base32 "021xgq2l18w3rvwms9aq2idm0fk66vwb4f777gs0qh3ap5shgbn7")))) | |
543 | (build-system gnu-build-system) | |
544 | (inputs | |
545 | `(("gtk+" ,gtk+-2) | |
546 | ("libxml2" ,libxml2))) | |
547 | (native-inputs | |
548 | `(("intltool" ,intltool) | |
549 | ("python" ,python) | |
550 | ("pkg-config" ,pkg-config))) | |
551 | (home-page "https://glade.gnome.org") | |
552 | (synopsis "GTK+ rapid application development tool") | |
553 | (description "Glade is a rapid application development (RAD) tool to | |
554 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
555 | the GNOME desktop environment.") | |
1dd26275 LC |
556 | (license license:lgpl2.0+))) |
557 | ||
558 | (define-public libcroco | |
559 | (package | |
560 | (name "libcroco") | |
561 | (version "0.6.8") | |
562 | (source (origin | |
563 | (method url-fetch) | |
b38e45d8 EB |
564 | (uri (string-append "mirror://gnome/sources/" name "/" |
565 | (version-major+minor version) "/" | |
566 | name "-" version ".tar.xz")) | |
1dd26275 LC |
567 | (sha256 |
568 | (base32 | |
569 | "0w453f3nnkbkrly7spx5lx5pf6mwynzmd5qhszprq8amij2invpa")))) | |
570 | (build-system gnu-build-system) | |
571 | (native-inputs | |
572 | `(("pkg-config" ,pkg-config))) | |
573 | (inputs | |
574 | `(("glib" ,glib) | |
575 | ("libxml2" ,libxml2) | |
576 | ("zlib" ,zlib))) | |
577 | (home-page "https://github.com/GNOME/libcroco") | |
578 | (synopsis "CSS2 parsing and manipulation library") | |
579 | (description | |
580 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
581 | The parser provides a low level event driven SAC-like API and a CSS object | |
582 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
583 | XML/CSS rendering engine.") | |
584 | ||
585 | ;; LGPLv2.1-only. | |
586 | (license license:lgpl2.1))) | |
25178594 LC |
587 | |
588 | (define-public libgsf | |
589 | (package | |
590 | (name "libgsf") | |
591 | (version "1.14.30") | |
592 | (source (origin | |
593 | (method url-fetch) | |
b38e45d8 EB |
594 | (uri (string-append "mirror://gnome/sources/" name "/" |
595 | (version-major+minor version) "/" | |
596 | name "-" version ".tar.xz")) | |
25178594 LC |
597 | (sha256 |
598 | (base32 | |
599 | "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b")))) | |
600 | (build-system gnu-build-system) | |
601 | (native-inputs | |
602 | `(("intltool" ,intltool) | |
603 | ("pkg-config" ,pkg-config))) | |
604 | (inputs | |
605 | `(("python" ,python) | |
606 | ("zlib" ,zlib) | |
607 | ("bzip2" ,bzip2))) | |
608 | (propagated-inputs | |
609 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
610 | ("glib" ,glib) | |
611 | ("libxml2" ,libxml2))) | |
612 | (home-page "http://www.gnome.org/projects/libgsf") | |
613 | (synopsis "GNOME's Structured File Library") | |
614 | (description | |
615 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
616 | dealing with different structured file formats.") | |
617 | ||
618 | ;; LGPLv2.1-only. | |
619 | (license license:lgpl2.1))) | |
63016e7c LC |
620 | |
621 | (define-public librsvg | |
622 | (package | |
623 | (name "librsvg") | |
dc67ebd2 | 624 | (version "2.40.6") |
63016e7c LC |
625 | (source (origin |
626 | (method url-fetch) | |
b38e45d8 EB |
627 | (uri (string-append "mirror://gnome/sources/" name "/" |
628 | (version-major+minor version) "/" | |
629 | name "-" version ".tar.xz")) | |
63016e7c LC |
630 | (sha256 |
631 | (base32 | |
dc67ebd2 | 632 | "01jgb11779080b80k2ncrhdphgillqrrnszal6vh8yv787r4kwwa")))) |
63016e7c LC |
633 | (build-system gnu-build-system) |
634 | (arguments | |
ce2df078 | 635 | `(#:phases |
63016e7c LC |
636 | (alist-cons-before |
637 | 'configure 'augment-gir-search-path | |
638 | (lambda* (#:key inputs #:allow-other-keys) | |
63016e7c LC |
639 | (substitute* "gdk-pixbuf-loader/Makefile.in" |
640 | ;; By default the gdk-pixbuf loader is installed under | |
641 | ;; gdk-pixbuf's prefix. Work around that. | |
642 | (("gdk_pixbuf_moduledir = .*$") | |
643 | (string-append "gdk_pixbuf_moduledir = " | |
dc67ebd2 | 644 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" |
63016e7c LC |
645 | "loaders\n")) |
646 | ;; Likewise, create a separate 'loaders.cache' file. | |
647 | (("gdk_pixbuf_cache_file = .*$") | |
648 | "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n"))) | |
cd14b5e3 FB |
649 | (alist-cons-after |
650 | 'install 'generate-full-cache | |
651 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
652 | (let ((loaders-directory | |
653 | (string-append (assoc-ref outputs "out") | |
dc67ebd2 | 654 | "/lib/gdk-pixbuf-2.0/2.10.0/loaders"))) |
cd14b5e3 FB |
655 | (zero? |
656 | (system | |
657 | (string-append | |
658 | "gdk-pixbuf-query-loaders " | |
659 | loaders-directory "/libpixbufloader-svg.so " | |
660 | (string-join (find-files (assoc-ref inputs "gdk-pixbuf") | |
661 | "libpixbufloader-.*\\.so") " ") | |
662 | "> " loaders-directory ".cache"))))) | |
dc67ebd2 FB |
663 | (alist-cons-before |
664 | 'build 'pre-build | |
665 | (lambda* _ | |
666 | (setenv "CC" "gcc")) | |
667 | %standard-phases))))) | |
63016e7c LC |
668 | (native-inputs |
669 | `(("pkg-config" ,pkg-config) | |
44add1ce | 670 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
671 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
672 | (inputs | |
673 | `(("pango" ,pango) | |
674 | ("libcroco" ,libcroco) | |
675 | ("bzip2" ,bzip2) | |
676 | ("libgsf" ,libgsf) | |
677 | ("libxml2" ,libxml2))) | |
678 | (propagated-inputs | |
679 | ;; librsvg-2.0.pc refers to all of that. | |
680 | `(("cairo" ,cairo) | |
681 | ("gdk-pixbuf" ,gdk-pixbuf) | |
682 | ("glib" ,glib))) | |
683 | (home-page "https://wiki.gnome.org/LibRsvg") | |
684 | (synopsis "Render SVG files using Cairo") | |
685 | (description | |
35b9e423 | 686 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
687 | library.") |
688 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
689 | |
690 | (define-public libidl | |
691 | (package | |
692 | (name "libidl") | |
693 | (version "0.8.14") | |
694 | (source (origin | |
695 | (method url-fetch) | |
696 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
697 | (string-append "mirror://gnome/sources/" upstream-name "/" |
698 | (version-major+minor version) "/" | |
699 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
700 | (sha256 |
701 | (base32 | |
702 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
703 | (build-system gnu-build-system) | |
704 | (inputs `(("glib" ,glib))) | |
705 | (native-inputs | |
706 | `(("pkg-config" ,pkg-config) | |
707 | ("flex", flex) | |
708 | ("bison" ,bison))) | |
709 | (home-page "http://freecode.com/projects/libidl") | |
710 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 711 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
712 | Definition Language (idl) files, which is a specification for defining |
713 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 714 | GNOME project, and the primary means of libidl distribution). However, the |
5698b8b8 JD |
715 | functionality was designed to be as reusable and portable as possible.") |
716 | (license license:lgpl2.0+))) | |
717 | ||
718 | ||
719 | (define-public orbit2 | |
720 | (package | |
721 | (name "orbit2") | |
722 | (version "2.14.19") | |
723 | (source (origin | |
724 | (method url-fetch) | |
725 | (uri (let ((upstream-name "ORBit2")) | |
b38e45d8 EB |
726 | (string-append "mirror://gnome/sources/" upstream-name "/" |
727 | (version-major+minor version) "/" | |
728 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
729 | (sha256 |
730 | (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
731 | (build-system gnu-build-system) | |
732 | (arguments | |
733 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
734 | `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
735 | ;; ... which they then completly ignore !! | |
736 | #:phases | |
737 | (alist-cons-before | |
738 | 'configure 'ignore-deprecations | |
739 | (lambda _ | |
740 | (substitute* "linc2/src/Makefile.in" | |
741 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
742 | %standard-phases))) | |
743 | (inputs `(("glib" ,glib) | |
744 | ("libidl" ,libidl))) | |
745 | (native-inputs | |
746 | `(("pkg-config" ,pkg-config))) | |
747 | (home-page "https://projects.gnome.org/orbit2/") | |
748 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 749 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
5698b8b8 JD |
750 | featuring mature C, C++ and Python bindings.") |
751 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version. | |
752 | ;; SOME of the code files have licence notices for GPLv2+ | |
753 | ;; The tarball contains files of the text of GPLv2 and LGPLv2 | |
754 | (license license:gpl2+))) | |
755 | ||
756 | ||
757 | (define-public libbonobo | |
758 | (package | |
759 | (name "libbonobo") | |
760 | (version "2.32.1") | |
761 | (source (origin | |
762 | (method url-fetch) | |
5becd025 | 763 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 764 | (version-major+minor version) |
5becd025 | 765 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 766 | (sha256 |
f1fc45a9 EB |
767 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
768 | (patches (list (search-patch "libbonobo-activation-test-race.patch"))))) | |
5698b8b8 JD |
769 | (build-system gnu-build-system) |
770 | (arguments | |
771 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
772 | `(#:configure-flags |
773 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
774 | ;; ... which they then completly ignore !! | |
775 | #:phases | |
776 | (alist-cons-before | |
777 | 'configure 'ignore-deprecations | |
778 | (lambda _ | |
779 | (substitute* "activation-server/Makefile.in" | |
780 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
781 | %standard-phases))) | |
5698b8b8 JD |
782 | (inputs `(("popt" ,popt) |
783 | ("libxml2" ,libxml2))) | |
784 | ;; The following are Required by the .pc file | |
44add1ce | 785 | (propagated-inputs |
5698b8b8 JD |
786 | `(("glib" ,glib) |
787 | ("orbit2" ,orbit2))) | |
788 | (native-inputs | |
789 | `(("intltool" ,intltool) | |
790 | ("pkg-config" ,pkg-config) | |
221ed17a | 791 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
792 | ("flex" ,flex) |
793 | ("bison" ,bison))) | |
794 | (home-page "https://developer.gnome.org/libbonobo/") | |
795 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
796 | (description "Bonobo is a framework for creating reusable components for | |
797 | use in GNOME applications, built on top of CORBA.") | |
798 | ;; Licence not explicitly stated. Source files contain no licence notices. | |
799 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
800 | ;; GPLv2 covers both conditions | |
801 | (license license:gpl2+))) | |
802 | ||
803 | ||
804 | (define-public gconf | |
805 | (package | |
806 | (name "gconf") | |
807 | (version "3.2.6") | |
808 | (source (origin | |
809 | (method url-fetch) | |
810 | (uri | |
811 | (let ((upstream-name "GConf")) | |
b38e45d8 EB |
812 | (string-append "mirror://gnome/sources/" upstream-name "/" |
813 | (version-major+minor version) "/" | |
814 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
815 | (sha256 |
816 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
817 | (build-system gnu-build-system) | |
818 | (inputs `(("glib" ,glib) | |
819 | ("dbus" ,dbus) | |
820 | ("dbus-glib" ,dbus-glib) | |
821 | ("libxml2" ,libxml2))) | |
822 | (propagated-inputs `(("orbit2" ,orbit2))) ; referred to in the .pc file | |
823 | (native-inputs | |
824 | `(("intltool" ,intltool) | |
221ed17a | 825 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
826 | ("pkg-config" ,pkg-config))) |
827 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
828 | (synopsis "Store application preferences") |
829 | (description "Gconf is a system for storing application preferences. It | |
830 | is intended for user preferences; not arbitrary data storage.") | |
5698b8b8 JD |
831 | (license license:lgpl2.0+))) |
832 | ||
833 | ||
834 | (define-public gnome-mime-data | |
835 | (package | |
836 | (name "gnome-mime-data") | |
837 | (version "2.18.0") | |
838 | (source (origin | |
839 | (method url-fetch) | |
b38e45d8 EB |
840 | (uri (string-append "mirror://gnome/sources/" name "/" |
841 | (version-major+minor version) "/" | |
842 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
843 | (sha256 |
844 | (base32 | |
845 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
846 | (build-system gnu-build-system) | |
847 | (native-inputs | |
848 | `(("perl" ,perl) | |
849 | ("intltool" ,intltool))) | |
850 | (home-page "http://www.gnome.org") | |
35b9e423 | 851 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
852 | (description "GNOME Mime Data is a module which contains the base MIME |
853 | and Application database for GNOME. The data stored by this module is | |
854 | designed to be accessed through the MIME functions in GnomeVFS.") | |
855 | (license license:gpl2+))) | |
856 | ||
857 | ||
858 | (define-public gnome-vfs | |
859 | (package | |
860 | (name "gnome-vfs") | |
861 | (version "2.24.4") | |
862 | (source (origin | |
863 | (method url-fetch) | |
b38e45d8 EB |
864 | (uri (string-append "mirror://gnome/sources/" name "/" |
865 | (version-major+minor version) "/" | |
866 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
867 | (sha256 |
868 | (base32 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
869 | (build-system gnu-build-system) | |
870 | (arguments | |
871 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
872 | `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
873 | ;; ... which they then completly ignore !! | |
874 | #:phases | |
875 | (alist-cons-before | |
876 | 'configure 'ignore-deprecations | |
877 | (lambda _ | |
878 | (begin | |
879 | (substitute* "libgnomevfs/Makefile.in" | |
880 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
881 | (substitute* "daemon/Makefile.in" | |
882 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))) | |
883 | %standard-phases))) | |
884 | (inputs `(("glib" ,glib) | |
885 | ("libxml2" ,libxml2) | |
886 | ("dbus-glib" ,dbus-glib) | |
887 | ("dbus" ,dbus) | |
888 | ("gconf" ,gconf) | |
889 | ("gnome-mime-data" ,gnome-mime-data) | |
890 | ("zlib" ,zlib))) | |
891 | (native-inputs | |
221ed17a EB |
892 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
893 | ("intltool" ,intltool) | |
5698b8b8 JD |
894 | ("pkg-config" ,pkg-config))) |
895 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 896 | (synopsis "Access files and folders in GNOME applications") |
5698b8b8 | 897 | (description "GnomeVFS is the core library used to access files and |
35b9e423 | 898 | folders in GNOME applications. It provides a file system abstraction which |
5698b8b8 JD |
899 | allows applications to access local and remote files with a single consistent API.") |
900 | (license license:lgpl2.0+))) | |
901 | ||
902 | ||
903 | ||
904 | (define-public libgnome | |
905 | (package | |
906 | (name "libgnome") | |
907 | (version "2.32.1") | |
908 | (source (origin | |
909 | (method url-fetch) | |
b38e45d8 EB |
910 | (uri (string-append "mirror://gnome/sources/" name "/" |
911 | (version-major+minor version) "/" | |
912 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
913 | (sha256 |
914 | (base32 | |
915 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")))) | |
916 | (build-system gnu-build-system) | |
917 | (arguments | |
918 | `(#:phases | |
919 | (alist-cons-before | |
920 | 'configure 'enable-deprecated | |
921 | (lambda _ | |
922 | (substitute* "libgnome/Makefile.in" | |
923 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
924 | %standard-phases))) | |
925 | (inputs `(("popt" ,popt) | |
926 | ("libxml2" ,libxml2))) | |
927 | (native-inputs | |
221ed17a EB |
928 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
929 | ("intltool" ,intltool) | |
5698b8b8 JD |
930 | ("pkg-config" ,pkg-config))) |
931 | ;; The following are listed as Required in the .pc file | |
932 | ;; (except for libcanberra -- which seems to be oversight on the part | |
933 | ;; of the upstream developers -- anything that links against libgnome, | |
934 | ;; must also link against libcanberra | |
935 | (propagated-inputs | |
936 | `(("libcanberra" ,libcanberra) | |
937 | ("libbonobo" ,libbonobo) | |
938 | ("gconf" ,gconf) | |
939 | ("gnome-vfs" ,gnome-vfs) | |
940 | ("glib" ,glib))) | |
941 | (home-page "https://developer.gnome.org/libgnome/") | |
942 | (synopsis "Useful routines for building applications") | |
943 | (description "The libgnome library provides a number of useful routines | |
944 | for building modern applications, including session management, activation of | |
945 | files and URIs, and displaying help.") | |
946 | (license license:lgpl2.0+))) | |
947 | ||
948 | ||
949 | (define-public libart-lgpl | |
950 | (package | |
951 | (name "libart-lgpl") | |
76c9b6aa | 952 | (version "2.3.21") |
5698b8b8 JD |
953 | (source (origin |
954 | (method url-fetch) | |
955 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
956 | (string-append "mirror://gnome/sources/" upstream-name "/" |
957 | (version-major+minor version) "/" | |
958 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
959 | (sha256 |
960 | (base32 | |
76c9b6aa | 961 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
962 | (build-system gnu-build-system) |
963 | (native-inputs | |
964 | `(("pkg-config" ,pkg-config))) | |
965 | (home-page "https://people.gnome.org/~mathieu/libart") | |
966 | (synopsis "2D drawing library") | |
967 | (description "Libart is a 2D drawing library intended as a | |
968 | high-quality vector-based 2D library with antialiasing and alpha composition.") | |
969 | (license license:lgpl2.0+))) | |
970 | ||
971 | ||
972 | ||
973 | (define-public libgnomecanvas | |
974 | (package | |
975 | (name "libgnomecanvas") | |
976 | (version "2.30.3") | |
977 | (source (origin | |
978 | (method url-fetch) | |
b38e45d8 EB |
979 | (uri (string-append "mirror://gnome/sources/" name "/" |
980 | (version-major+minor version) "/" | |
981 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
982 | (sha256 |
983 | (base32 | |
984 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
985 | (build-system gnu-build-system) | |
986 | ;; Mentioned as Required in the .pc file | |
987 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
988 | ("gtk+" ,gtk+-2))) | |
989 | (native-inputs | |
990 | `(("intltool" ,intltool) | |
221ed17a | 991 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
992 | ("pkg-config" ,pkg-config))) |
993 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
994 | (synopsis "Flexible widget for creating interactive structured graphics") | |
995 | (description "The GnomeCanvas widget provides a flexible widget for | |
996 | creating interactive structured graphics.") | |
997 | (license license:lgpl2.0+))) | |
998 | ||
eadc734e RW |
999 | (define-public libgnomecanvasmm |
1000 | (package | |
1001 | (name "libgnomecanvasmm") | |
1002 | (version "2.26.0") | |
1003 | (source (origin | |
1004 | (method url-fetch) | |
1005 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1006 | (version-major+minor version) "/" | |
1007 | name "-" version ".tar.bz2")) | |
1008 | (sha256 | |
1009 | (base32 | |
1010 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1011 | (build-system gnu-build-system) | |
1012 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) | |
1013 | (native-inputs | |
1014 | `(("gtkmm-2" ,gtkmm-2) | |
1015 | ("pkg-config" ,pkg-config))) | |
1016 | (home-page "http://gtkmm.org") | |
1017 | (synopsis "C++ bindings to the GNOME Canvas library") | |
1018 | (description "C++ bindings to the GNOME Canvas library.") | |
1019 | (license license:lgpl2.0+))) | |
1020 | ||
5698b8b8 JD |
1021 | (define-public libgnomeui |
1022 | (package | |
1023 | (name "libgnomeui") | |
1024 | (version "2.24.5") | |
1025 | (source (origin | |
1026 | (method url-fetch) | |
b38e45d8 EB |
1027 | (uri (string-append "mirror://gnome/sources/" name "/" |
1028 | (version-major+minor version) "/" | |
1029 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1030 | (sha256 |
1031 | (base32 | |
1032 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1033 | (build-system gnu-build-system) | |
1034 | ;; Mentioned as Required in the .pc file | |
1035 | (propagated-inputs `(("libgnome" ,libgnome) | |
1036 | ("libgnome-keyring" ,libgnome-keyring))) | |
1037 | (inputs `(("libgnomecanvas" ,libgnomecanvas) | |
1038 | ("libbonoboui" ,libbonoboui) | |
1039 | ("libjpeg" ,libjpeg) | |
1040 | ("popt" ,popt) | |
1041 | ("libbonobo" ,libbonobo) | |
1042 | ("libxml2" ,libxml2) | |
1043 | ("libglade" ,libglade))) | |
1044 | (native-inputs | |
221ed17a EB |
1045 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1046 | ("intltool" ,intltool) | |
5698b8b8 JD |
1047 | ("pkg-config" ,pkg-config))) |
1048 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1049 | (synopsis "Additional widgets for applications") | |
35b9e423 EB |
1050 | (description "The libgnomeui library provides additional widgets for |
1051 | applications. Many of the widgets from libgnomeui have already been ported to GTK+.") | |
5698b8b8 JD |
1052 | (license license:lgpl2.0+))) |
1053 | ||
1054 | (define-public libglade | |
1055 | (package | |
1056 | (name "libglade") | |
1057 | (version "2.6.4") | |
1058 | (source (origin | |
1059 | (method url-fetch) | |
b38e45d8 EB |
1060 | (uri (string-append "mirror://gnome/sources/" name "/" |
1061 | (version-major+minor version) "/" | |
1062 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1063 | (sha256 |
1064 | (base32 | |
1065 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1066 | (build-system gnu-build-system) | |
1067 | (inputs | |
1068 | `(("gtk+-2" ,gtk+-2) | |
1069 | ("libxml2" ,libxml2) | |
1070 | ("python" ,python))) ;; needed for the optional libglade-convert program | |
1071 | (native-inputs | |
1072 | `(("pkg-config" ,pkg-config))) | |
1073 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1074 | (synopsis "Load glade interfaces and access the glade built widgets") |
1075 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1076 | graphical interfaces described in glade files and for accessing the |
1077 | widgets built in the loading process.") | |
1078 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1079 | ||
1080 | (define-public libgnomeprint | |
eb497b66 LC |
1081 | ;; This library has been deprecated since 2006; see |
1082 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1083 | (package |
1084 | (name "libgnomeprint") | |
1085 | (version "2.8.2") | |
1086 | (source (origin | |
1087 | (method url-fetch) | |
b38e45d8 EB |
1088 | (uri (string-append "mirror://gnome/sources/" name "/" |
1089 | (version-major+minor version) "/" | |
1090 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1091 | (sha256 |
1092 | (base32 | |
3edce2c9 RW |
1093 | "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")) |
1094 | (modules '((guix build utils))) | |
1095 | (snippet | |
1096 | ;; Adapt to newer freetype. As the package is deprecated, there | |
1097 | ;; is no use in creating a patch and reporting it. | |
1098 | '(substitute* '("libgnomeprint/gnome-font-face.c" | |
1099 | "libgnomeprint/gnome-rfont.c") | |
1100 | (("freetype/") "freetype2/"))))) | |
5698b8b8 JD |
1101 | (build-system gnu-build-system) |
1102 | (inputs | |
1103 | `(("popt" ,popt) | |
1104 | ("libart-lgpl" ,libart-lgpl) | |
1105 | ("gtk+" ,gtk+-2) | |
44add1ce | 1106 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1107 | (native-inputs |
1108 | `(("intltool" ,intltool) | |
221ed17a | 1109 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1110 | ("pkg-config" ,pkg-config))) |
1111 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1112 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1113 | (description |
1114 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1115 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1116 | (license license:lgpl2.0+))) |
1117 | ||
1118 | ||
1119 | (define-public libgnomeprintui | |
eb497b66 | 1120 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1121 | (package |
1122 | (name "libgnomeprintui") | |
1123 | (version "2.8.2") | |
1124 | (source (origin | |
1125 | (method url-fetch) | |
b38e45d8 EB |
1126 | (uri (string-append "mirror://gnome/sources/" name "/" |
1127 | (version-major+minor version) "/" | |
1128 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1129 | (sha256 |
1130 | (base32 | |
1131 | "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw")))) | |
1132 | (build-system gnu-build-system) | |
1133 | ;; Mentioned as Required in the .pc file | |
1134 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1135 | (inputs `(("gtk+" ,gtk+-2) | |
1136 | ("glib" ,glib) | |
1137 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1138 | ("libgnomecanvas" ,libgnomecanvas) | |
1139 | ("libxml2" ,libxml2))) | |
1140 | (native-inputs | |
1141 | `(("intltool" ,intltool) | |
1142 | ("pkg-config" ,pkg-config))) | |
1143 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1144 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1145 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1146 | (license license:lgpl2.0+))) |
1147 | ||
5698b8b8 JD |
1148 | (define-public libbonoboui |
1149 | (package | |
1150 | (name "libbonoboui") | |
1151 | (version "2.24.5") | |
1152 | (source (origin | |
1153 | (method url-fetch) | |
b38e45d8 EB |
1154 | (uri (string-append "mirror://gnome/sources/" name "/" |
1155 | (version-major+minor version) "/" | |
1156 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1157 | (sha256 |
1158 | (base32 | |
1159 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1160 | (build-system gnu-build-system) | |
1161 | (arguments | |
1162 | `(#:phases | |
1163 | (alist-cons-before | |
1164 | 'check 'start-xserver | |
1165 | (lambda* (#:key inputs #:allow-other-keys) | |
1166 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1167 | (disp ":1")) | |
1168 | ||
1169 | (setenv "HOME" (getcwd)) | |
1170 | (setenv "DISPLAY" disp) | |
1171 | ;; There must be a running X server and make check doesn't start one. | |
1172 | ;; Therefore we must do it. | |
1173 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))) | |
1174 | %standard-phases))) | |
1175 | ;; Mentioned as Required by the .pc file | |
1176 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1177 | (inputs | |
1178 | `(("popt" ,popt) | |
1179 | ("pangox-compat" ,pangox-compat) | |
1180 | ("libgnome" ,libgnome) | |
1181 | ("libgnomecanvas" ,libgnomecanvas) | |
1182 | ("libglade" ,libglade))) | |
1183 | (native-inputs | |
221ed17a EB |
1184 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
1185 | ("intltool" ,intltool) | |
5698b8b8 JD |
1186 | ("xorg-server" ,xorg-server) ; For running the tests |
1187 | ("pkg-config" ,pkg-config))) | |
1188 | (home-page "https://developer.gnome.org/libbonoboui/") | |
1189 | (synopsis "Some user interface controls using Bonobo") | |
1190 | (description "The Bonobo UI library provides a number of user interface | |
1191 | controls using the Bonobo component framework.") | |
1192 | (license license:lgpl2.0+))) | |
1193 | ||
fecbf86e SB |
1194 | (define-public libwnck |
1195 | (package | |
1196 | (name "libwnck") | |
1197 | (version "3.14.0") | |
1198 | (source (origin | |
1199 | (method url-fetch) | |
1200 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1201 | (version-major+minor version) "/" | |
1202 | name "-" version ".tar.xz")) | |
1203 | (sha256 | |
1204 | (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m")))) | |
1205 | (build-system gnu-build-system) | |
1206 | (native-inputs | |
1207 | `(("pkg-config" ,pkg-config) | |
1208 | ("intltool" ,intltool))) | |
1209 | (propagated-inputs | |
427476d5 SB |
1210 | `(("gtk+" ,gtk+) |
1211 | ("libxres" ,libxres) | |
1212 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
1213 | (home-page "https://developer.gnome.org/libwnck/") |
1214 | (synopsis "Window Navigator Construction Kit") | |
1215 | (description | |
1216 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
1217 | writing pagers, tasklists, and more generally applications that are dealing | |
1218 | with window management. It tries hard to respect the Extended Window Manager | |
1219 | Hints specification (EWMH).") | |
1220 | (license license:lgpl2.0+))) | |
1221 | ||
1222 | ;; stable version for gtk2, required by xfwm4. | |
1223 | (define-public libwnck-1 | |
1224 | (package (inherit libwnck) | |
1225 | (name "libwnck") | |
1226 | (version "2.30.7") | |
1227 | (source (origin | |
1228 | (method url-fetch) | |
1229 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1230 | (version-major+minor version) "/" | |
1231 | name "-" version ".tar.xz")) | |
1232 | (sha256 | |
1233 | (base32 | |
1234 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
1235 | (propagated-inputs | |
427476d5 SB |
1236 | `(("gtk+" ,gtk+-2) |
1237 | ("libxres" ,libxres) | |
1238 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
1239 | |
1240 | (define-public goffice | |
1241 | (package | |
1242 | (name "goffice") | |
1243 | (version "0.10.14") | |
1244 | (source (origin | |
1245 | (method url-fetch) | |
b38e45d8 EB |
1246 | (uri (string-append "mirror://gnome/sources/" name "/" |
1247 | (version-major+minor version) "/" | |
1248 | name "-" version ".tar.xz")) | |
b804c61e JD |
1249 | (sha256 |
1250 | (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60")))) | |
1251 | (build-system gnu-build-system) | |
1252 | (inputs | |
1253 | `(("gtk+" ,gtk+) | |
1254 | ("libgsf" ,libgsf) | |
1255 | ("librsvg" ,librsvg) | |
1256 | ("libxslt" ,libxslt) | |
1257 | ("libxml2" ,libxml2))) | |
1258 | (native-inputs | |
1259 | `(("intltool" ,intltool) | |
f280cdb1 | 1260 | ("glib" ,glib "bin") |
b804c61e JD |
1261 | ("pkg-config" ,pkg-config))) |
1262 | (home-page "https://developer.gnome.org/goffice/") | |
1263 | (synopsis "Document-centric objects and utilities") | |
1264 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
1265 | (license | |
1266 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") | |
1267 | ;; Note: NOT LGPL | |
1268 | (list license:gpl2 license:gpl3)))) | |
1269 | ||
1270 | (define-public gnumeric | |
1271 | (package | |
1272 | (name "gnumeric") | |
1273 | (version "1.12.17") | |
1274 | (source (origin | |
1275 | (method url-fetch) | |
b38e45d8 EB |
1276 | (uri (string-append "mirror://gnome/sources/" name "/" |
1277 | (version-major+minor version) "/" | |
1278 | name "-" version ".tar.xz")) | |
b804c61e JD |
1279 | (sha256 |
1280 | (base32 | |
1281 | "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c")))) | |
1282 | (build-system gnu-build-system) | |
1283 | (arguments | |
1284 | `(;; The gnumeric developers don't worry much about failing tests. | |
1285 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
1286 | #:tests? #f | |
1287 | #:phases | |
1288 | (alist-cons-before | |
1289 | 'configure 'pre-conf | |
1290 | (lambda* (#:key outputs #:allow-other-keys) | |
1291 | ;; Make install tries to write into the directory of goffice | |
1292 | ;; I am informed that this only affects the possibility to embed a | |
1293 | ;; spreadsheet inside an Abiword document. So presumably when we | |
1294 | ;; package Abiword we'll have to refer it to this directory. | |
1295 | (substitute* "configure" | |
1296 | (("^GOFFICE_PLUGINS_DIR=.*") | |
1297 | (string-append "GOFFICE_PLUGINS_DIR=" | |
1298 | (assoc-ref outputs "out") "/goffice/plugins")))) | |
1299 | %standard-phases))) | |
1300 | (inputs | |
1301 | `(("glib" ,glib) | |
1302 | ("gtk+" ,gtk+) | |
1303 | ("goffice" ,goffice) | |
1304 | ("libgsf" ,libgsf) | |
1305 | ("libxml2" ,libxml2) | |
1306 | ("zlib" ,zlib))) | |
1307 | (native-inputs | |
1308 | `(("intltool" ,intltool) | |
b9663471 | 1309 | ("glib:bin" ,glib "bin") |
b804c61e JD |
1310 | ("pkg-config" ,pkg-config))) |
1311 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
1312 | (synopsis "Spreadsheet application") |
1313 | (description | |
1314 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
1315 | interoperable with other spreadsheet applications. It has a vast array of | |
1316 | features beyond typical spreadsheet functionality, such as support for linear | |
1317 | and non-linear solvers, statistical analysis, and telecommunication | |
1318 | engineering.") | |
1319 | (license | |
b804c61e JD |
1320 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1321 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
1322 | |
1323 | (define-public gnome-themes-standard | |
1324 | (package | |
1325 | (name "gnome-themes-standard") | |
1326 | ;; The version of this package should be the same as the version of | |
1327 | ;; gnome-desktop. | |
1328 | (version (package-version gnome-desktop)) | |
1329 | (source | |
1330 | (origin | |
1331 | (method url-fetch) | |
1332 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1333 | (version-major+minor version) "/" name "-" | |
1334 | version ".tar.xz")) | |
1335 | (sha256 | |
1336 | (base32 | |
1337 | "0f2b3ypkfvrdsxcvp14ja9wqj382f1p46yrjvhhxkkjgagy6qb41")))) | |
1338 | (build-system gnu-build-system) | |
1339 | (inputs | |
1340 | `(("gtk+" ,gtk+) | |
1341 | ("gtk+-2" ,gtk+-2) | |
1342 | ("librsvg" ,librsvg) | |
1343 | ("libxml2" ,libxml2) | |
1344 | ("glib" ,glib))) | |
1345 | (native-inputs | |
1346 | `(("intltool" ,intltool) | |
1347 | ("glib:bin" ,glib "bin") | |
1348 | ("pkg-config" ,pkg-config))) | |
1349 | (arguments | |
1350 | `(#:phases | |
1351 | (alist-cons-before | |
1352 | 'build 'use-full-cache | |
1353 | ;; Use librsvg's loaders.cache instead of the one provided by | |
1354 | ;; gdk-pixbuf because the latter does not include support for SVG | |
1355 | ;; files. | |
1356 | (lambda* (#:key inputs #:allow-other-keys) | |
1357 | (setenv "GDK_PIXBUF_MODULE_FILE" | |
1358 | (car (find-files (assoc-ref inputs "librsvg") | |
1359 | "loaders\\.cache")))) | |
1360 | %standard-phases))) | |
1361 | (home-page "https://launchpad.net/gnome-themes-standard") | |
1362 | (synopsis "Default GNOME 3 themes") | |
1363 | (description | |
1364 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
1365 | (license license:lgpl2.1+))) | |
5a659a48 SB |
1366 | |
1367 | (define-public vala | |
1368 | (package | |
1369 | (name "vala") | |
1370 | (version "0.26.1") | |
1371 | (source (origin | |
1372 | (method url-fetch) | |
1373 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1374 | (version-major+minor version) "/" | |
1375 | name "-" version ".tar.xz")) | |
1376 | (sha256 | |
1377 | (base32 | |
1378 | "0swyym2papln0f62ah05dpvq3vv6fssap26jq2zqp9dkkaqsn1w4")))) | |
1379 | (build-system gnu-build-system) | |
1380 | (arguments '(#:make-flags '("CC=gcc"))) | |
1381 | (native-inputs | |
1382 | `(("pkg-config" ,pkg-config) | |
1383 | ("flex" ,flex) | |
1384 | ("bison" ,bison) | |
1385 | ("xsltproc" ,libxslt) | |
1386 | ("dbus" ,dbus) ; for dbus tests | |
1387 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
1388 | (propagated-inputs | |
1389 | `(("glib" ,glib))) ; required by libvala-0.26.pc | |
1390 | (home-page "http://live.gnome.org/Vala/") | |
1391 | (synopsis "Compiler for the GObject type system") | |
1392 | (description | |
1393 | "Vala is a programming language that aims to bring modern programming | |
1394 | language features to GNOME developers without imposing any additional runtime | |
1395 | requirements and without using a different ABI compared to applications and | |
1396 | libraries written in C.") | |
1397 | (license license:lgpl2.1+))) | |
ea57378f SB |
1398 | |
1399 | (define-public vte | |
1400 | (package | |
1401 | (name "vte") | |
191e9b4e | 1402 | (version "0.40.0") |
ea57378f SB |
1403 | (source (origin |
1404 | (method url-fetch) | |
1405 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1406 | (version-major+minor version) "/" | |
1407 | name "-" version ".tar.xz")) | |
1408 | (sha256 | |
1409 | (base32 | |
191e9b4e | 1410 | "0lnq0bgkmsixjwmfacb2ch9qfjqjxa8zkk1hiv3l29kgca0n3nal")))) |
ea57378f SB |
1411 | (build-system gnu-build-system) |
1412 | (native-inputs | |
1413 | `(("pkg-config" ,pkg-config) | |
1414 | ("intltool" ,intltool) | |
1415 | ("vala" ,vala) | |
1416 | ("gobject-introspection" ,gobject-introspection) | |
1417 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
1418 | ("xmllint" ,libxml2))) | |
1419 | (propagated-inputs | |
302393bc LC |
1420 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
1421 | ("gnutls" ,gnutls))) ;ditto | |
7ed6ee1e FB |
1422 | (arguments |
1423 | `(#:phases | |
1424 | (alist-cons-before | |
1425 | 'build 'pre-build | |
1426 | (lambda* _ | |
1427 | (setenv "CC" "gcc")) | |
1428 | %standard-phases))) | |
ea57378f SB |
1429 | (home-page "http://www.gnome.org/") |
1430 | (synopsis "Virtual Terminal Emulator") | |
1431 | (description | |
1432 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
1433 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
1434 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
1435 | editors, IDEs, etc.") | |
1436 | (license license:lgpl2.1+))) | |
1437 | ||
1438 | ;; stable version for gtk2, required by xfce4-terminal. | |
1439 | (define-public vte/gtk+-2 | |
1440 | (package (inherit vte) | |
1441 | (name "vte") | |
1442 | (version "0.28.2") | |
1443 | (source (origin | |
1444 | (method url-fetch) | |
1445 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1446 | (version-major+minor version) "/" | |
1447 | name "-" version ".tar.xz")) | |
1448 | (sha256 | |
1449 | (base32 | |
1450 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")))) | |
1451 | (arguments | |
1452 | '(#:configure-flags '("--disable-python"))) | |
1453 | (native-inputs | |
1454 | `(("pkg-config" ,pkg-config) | |
1455 | ("intltool" ,intltool) | |
1456 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
1457 | (propagated-inputs | |
1458 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
1459 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 FB |
1460 | |
1461 | (define-public dconf | |
1462 | (package | |
1463 | (name "dconf") | |
1464 | (version "0.22.0") | |
1465 | (source (origin | |
1466 | (method url-fetch) | |
1467 | (uri (string-append | |
1468 | "mirror://gnome/sources/" name "/" | |
1469 | (version-major+minor version) "/" | |
1470 | name "-" version ".tar.xz")) | |
1471 | (sha256 | |
1472 | (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa")))) | |
1473 | (build-system glib-or-gtk-build-system) | |
1474 | (inputs | |
1475 | `(("gtk+" ,gtk+) | |
1476 | ("glib" ,glib) | |
1477 | ("dbus" ,dbus) | |
1478 | ("libxml2" ,libxml2))) | |
1479 | (native-inputs | |
1480 | `(("libxslt" ,libxslt) | |
1481 | ("docbook-xml" ,docbook-xml-4.2) | |
1482 | ("docbook-xsl" ,docbook-xsl) | |
1483 | ("intltool" ,intltool) | |
1484 | ("pkg-config" ,pkg-config))) | |
1485 | (arguments | |
1486 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
1487 | ; or /etc/machine-id. | |
1488 | #:configure-flags | |
1489 | ;; Set the correct RUNPATH in binaries. | |
1490 | (list (string-append "LDFLAGS=-Wl,-rpath=" | |
1491 | (assoc-ref %outputs "out") "/lib") | |
1492 | "--disable-gtk-doc-html") ; FIXME: requires gtk-doc | |
1493 | #:phases | |
1494 | (alist-cons-before | |
1495 | 'configure 'fix-docbook | |
1496 | (lambda* (#:key inputs #:allow-other-keys) | |
1497 | (substitute* "docs/Makefile.in" | |
1498 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
1499 | (string-append (assoc-ref inputs "docbook-xsl") | |
1500 | "/xml/xsl/docbook-xsl-" | |
1501 | ,(package-version docbook-xsl) | |
1502 | "/manpages/docbook.xsl"))) | |
1503 | (setenv "XML_CATALOG_FILES" | |
1504 | (string-append (assoc-ref inputs "docbook-xml") | |
1505 | "/xml/dtd/docbook/catalog.xml"))) | |
1506 | %standard-phases))) | |
1507 | (home-page "https://developer.gnome.org/dconf") | |
1508 | (synopsis "Low-level GNOME configuration system") | |
1509 | (description "Dconf is a low-level configuration system. Its main purpose | |
1510 | is to provide a backend to GSettings on platforms that don't already have | |
1511 | configuration storage systems.") | |
1512 | (license license:lgpl2.1))) | |
109da1c0 AE |
1513 | |
1514 | (define-public json-glib | |
1515 | (package | |
1516 | (name "json-glib") | |
1517 | (version "1.0.2") | |
1518 | (source (origin | |
1519 | (method url-fetch) | |
1520 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1521 | (version-major+minor version) "/" | |
1522 | name "-" version ".tar.xz")) | |
1523 | (sha256 | |
1524 | (base32 | |
1525 | "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8")))) | |
1526 | (build-system gnu-build-system) | |
88c6b580 LC |
1527 | (arguments |
1528 | '(#:phases (alist-cons-before | |
1529 | 'build 'set-cc | |
1530 | (lambda _ | |
1531 | ;; Set $CC so that g-ir-scanner works. | |
1532 | (setenv "CC" "gcc") | |
1533 | #t) | |
1534 | %standard-phases))) | |
109da1c0 | 1535 | (native-inputs |
88c6b580 | 1536 | `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal |
109da1c0 AE |
1537 | ("gobject-introspection" ,gobject-introspection) |
1538 | ("pkg-config" ,pkg-config))) | |
1539 | (propagated-inputs | |
88c6b580 | 1540 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
1541 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
1542 | (synopsis "Compiler for the GObject type system") | |
1543 | (description "JSON-GLib is a C library based on GLib providing | |
1544 | serialization and deserialization support for the JavaScript Object Notation | |
1545 | (JSON) format described by RFC 4627. It provides parser and generator | |
1546 | GObject classes and various wrappers for the complex data types employed by | |
1547 | JSON, such as arrays and objects.") | |
1548 | (license license:lgpl2.1+))) | |
6f96a359 SB |
1549 | |
1550 | (define-public libxklavier | |
1551 | (package | |
1552 | (name "libxklavier") | |
1553 | (version "5.3") | |
1554 | (source (origin | |
1555 | (method url-fetch) | |
1556 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1557 | version "/" name "-" version ".tar.xz")) | |
1558 | (sha256 | |
1559 | (base32 | |
1560 | "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) | |
1561 | (build-system gnu-build-system) | |
1562 | (arguments | |
1563 | '(#:configure-flags | |
1564 | (list (string-append "--with-xkb-base=" | |
1565 | (assoc-ref %build-inputs "xkeyboard-config") | |
1566 | "/share/X11/xkb")) | |
1567 | #:phases | |
1568 | (alist-cons-before | |
1569 | 'build 'set-cc | |
1570 | (lambda _ | |
1571 | (setenv "CC" "gcc")) ; for g-ir-scanner. | |
1572 | %standard-phases))) | |
1573 | (native-inputs | |
1574 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
1575 | ("gobject-introspection" ,gobject-introspection) | |
1576 | ("pkg-config" ,pkg-config))) | |
1577 | (propagated-inputs | |
1578 | ;; Required by libxklavier.pc. | |
1579 | `(("glib" ,glib) | |
1580 | ("libxml2" ,libxml2))) | |
1581 | (inputs | |
1582 | `(("iso-codes" ,iso-codes) | |
1583 | ("libxi" ,libxi) | |
1584 | ("libxkbfile" ,libxkbfile) | |
1585 | ("xkbcomp" ,xkbcomp) | |
1586 | ("xkeyboard-config" ,xkeyboard-config))) | |
1587 | (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/") | |
1588 | (synopsis "High-level API for X Keyboard Extension") | |
1589 | (description | |
1590 | "LibXklavier is a library providing high-level API for X Keyboard | |
1591 | Extension known as XKB. This library is indended to support XFree86 and other | |
1592 | commercial X servers. It is useful for creating XKB-related software (layout | |
1593 | indicators etc).") | |
1594 | (license license:lgpl2.0+))) | |
619936a4 LC |
1595 | |
1596 | (define-public python2-rsvg | |
1597 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
1598 | (package | |
1599 | (name "python2-rsvg") | |
1600 | (version "2.32.0") | |
1601 | (source | |
1602 | (origin | |
1603 | (method url-fetch) | |
1604 | (uri (string-append | |
1605 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
1606 | version ".tar.bz2")) | |
1607 | (sha256 | |
1608 | (base32 | |
1609 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
1610 | (build-system gnu-build-system) | |
1611 | (native-inputs | |
1612 | `(("pkg-config" ,pkg-config))) | |
1613 | (inputs | |
1614 | `(("python" ,python-2) | |
1615 | ("python2-pygtk" ,python2-pygtk) | |
1616 | ("librsvg" ,librsvg))) | |
1617 | (home-page "http://www.gnome.org") | |
1618 | (synopsis "Python bindings to librsvg") | |
1619 | (description | |
1620 | "This packages provides Python bindings to librsvg, the SVG rendering | |
1621 | library.") | |
1622 | ||
1623 | ;; This is the license of the rsvg bindings. The license of each module | |
1624 | ;; of gnome-python-desktop is given in 'COPYING'. | |
1625 | (license license:lgpl2.1+))) | |
a31a6d22 SB |
1626 | |
1627 | (define-public gnome-mines | |
1628 | (package | |
1629 | (name "gnome-mines") | |
1630 | (version "3.14.1") | |
1631 | (source | |
1632 | (origin | |
1633 | (method url-fetch) | |
1634 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1635 | (version-major+minor version) "/" | |
1636 | name "-" version ".tar.xz")) | |
1637 | (sha256 | |
1638 | (base32 | |
1639 | "0nbgvzlsznn3v83pdcx2d52r4ig1mvaijh633rjddx9rgq2ja7kv")))) | |
1640 | (build-system glib-or-gtk-build-system) | |
1641 | (arguments | |
1642 | '(#:phases | |
1643 | (modify-phases %standard-phases | |
1644 | (add-before configure patch-/bin/true | |
1645 | (lambda _ | |
1646 | (substitute* "configure" | |
1647 | (("/bin/true") (which "true"))))) | |
1648 | (add-after install wrap-pixbuf | |
1649 | ;; Use librsvg's loaders.cache to support SVG files. | |
1650 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
1651 | (let* ((out (assoc-ref outputs "out")) | |
1652 | (prog (string-append out "/bin/gnome-mines")) | |
1653 | (rsvg (assoc-ref inputs "librsvg")) | |
1654 | (pixbuf (find-files rsvg "^loaders\\.cache$"))) | |
1655 | (wrap-program prog | |
1656 | `("GDK_PIXBUF_MODULE_FILE" = ,pixbuf)))))))) | |
1657 | (native-inputs | |
1658 | `(("pkg-config" ,pkg-config) | |
1659 | ("desktop-file-utils" ,desktop-file-utils) | |
1660 | ("intltool" ,intltool) | |
1661 | ("itstool" ,itstool))) | |
1662 | (inputs | |
1663 | `(("gtk+" ,gtk+) | |
1664 | ("librsvg" ,librsvg))) | |
1665 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
1666 | (synopsis "Minesweeper game") | |
1667 | (description | |
1668 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
1669 | floating in an ocean using only your brain and a little bit of luck.") | |
1670 | (license license:gpl2+))) |