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