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))) | |
7a8605ce CR |
502 | (home-page "https://wiki.gnome.org/Libpeas") |
503 | (synopsis "GObject plugin system") | |
504 | (description | |
35b9e423 | 505 | "Libpeas is a gobject-based plugins engine, and is targetted at giving |
7a8605ce CR |
506 | every application the chance to assume its own extensibility. It also has a |
507 | set of features including, but not limited to: multiple extension points; on | |
508 | demand (lazy) programming language support for C, Python and JS; simplicity of | |
509 | the API") | |
1dd26275 | 510 | (license license:lgpl2.0+))) |
ed19903d JD |
511 | |
512 | (define-public gtkglext | |
513 | (package | |
514 | (name "gtkglext") | |
515 | (version "1.2.0") | |
516 | (source (origin | |
517 | (method url-fetch) | |
518 | (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/" | |
519 | version "/gtkglext-" version ".tar.gz")) | |
520 | (sha256 | |
521 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
522 | (patches (list | |
ed19903d JD |
523 | (search-patch "gtkglext-disable-disable-deprecated.patch"))))) |
524 | (build-system gnu-build-system) | |
525 | (inputs `(("gtk+" ,gtk+-2) | |
526 | ("mesa" ,mesa) | |
cc8b02f4 | 527 | ("glu" ,glu) |
ed19903d JD |
528 | ("libx11" ,libx11) |
529 | ("libxt" ,libxt))) | |
426adbe8 LC |
530 | (native-inputs `(("pkg-config" ,pkg-config) |
531 | ("glib" ,glib "bin"))) | |
a83b6a06 | 532 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 533 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 534 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 535 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
536 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
537 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 538 | (license license:lgpl2.1+))) |
3600420e JD |
539 | |
540 | (define-public glade3 | |
541 | (package | |
542 | (name "glade") | |
543 | (version "3.8.4") | |
b38e45d8 EB |
544 | (source (origin |
545 | (method url-fetch) | |
546 | (uri (string-append "mirror://gnome/sources/" name "/" | |
547 | (version-major+minor version) "/" | |
548 | name "3-" version ".tar.xz")) | |
3600420e JD |
549 | (sha256 |
550 | (base32 "021xgq2l18w3rvwms9aq2idm0fk66vwb4f777gs0qh3ap5shgbn7")))) | |
551 | (build-system gnu-build-system) | |
552 | (inputs | |
553 | `(("gtk+" ,gtk+-2) | |
554 | ("libxml2" ,libxml2))) | |
555 | (native-inputs | |
556 | `(("intltool" ,intltool) | |
557 | ("python" ,python) | |
558 | ("pkg-config" ,pkg-config))) | |
559 | (home-page "https://glade.gnome.org") | |
560 | (synopsis "GTK+ rapid application development tool") | |
561 | (description "Glade is a rapid application development (RAD) tool to | |
562 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
563 | the GNOME desktop environment.") | |
1dd26275 LC |
564 | (license license:lgpl2.0+))) |
565 | ||
566 | (define-public libcroco | |
567 | (package | |
568 | (name "libcroco") | |
569 | (version "0.6.8") | |
570 | (source (origin | |
571 | (method url-fetch) | |
b38e45d8 EB |
572 | (uri (string-append "mirror://gnome/sources/" name "/" |
573 | (version-major+minor version) "/" | |
574 | name "-" version ".tar.xz")) | |
1dd26275 LC |
575 | (sha256 |
576 | (base32 | |
577 | "0w453f3nnkbkrly7spx5lx5pf6mwynzmd5qhszprq8amij2invpa")))) | |
578 | (build-system gnu-build-system) | |
579 | (native-inputs | |
580 | `(("pkg-config" ,pkg-config))) | |
581 | (inputs | |
582 | `(("glib" ,glib) | |
583 | ("libxml2" ,libxml2) | |
584 | ("zlib" ,zlib))) | |
585 | (home-page "https://github.com/GNOME/libcroco") | |
586 | (synopsis "CSS2 parsing and manipulation library") | |
587 | (description | |
588 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
589 | The parser provides a low level event driven SAC-like API and a CSS object | |
590 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
591 | XML/CSS rendering engine.") | |
592 | ||
593 | ;; LGPLv2.1-only. | |
594 | (license license:lgpl2.1))) | |
25178594 LC |
595 | |
596 | (define-public libgsf | |
597 | (package | |
598 | (name "libgsf") | |
599 | (version "1.14.30") | |
600 | (source (origin | |
601 | (method url-fetch) | |
b38e45d8 EB |
602 | (uri (string-append "mirror://gnome/sources/" name "/" |
603 | (version-major+minor version) "/" | |
604 | name "-" version ".tar.xz")) | |
25178594 LC |
605 | (sha256 |
606 | (base32 | |
607 | "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b")))) | |
608 | (build-system gnu-build-system) | |
609 | (native-inputs | |
610 | `(("intltool" ,intltool) | |
611 | ("pkg-config" ,pkg-config))) | |
612 | (inputs | |
613 | `(("python" ,python) | |
614 | ("zlib" ,zlib) | |
615 | ("bzip2" ,bzip2))) | |
616 | (propagated-inputs | |
617 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
618 | ("glib" ,glib) | |
619 | ("libxml2" ,libxml2))) | |
620 | (home-page "http://www.gnome.org/projects/libgsf") | |
621 | (synopsis "GNOME's Structured File Library") | |
622 | (description | |
623 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
624 | dealing with different structured file formats.") | |
625 | ||
626 | ;; LGPLv2.1-only. | |
627 | (license license:lgpl2.1))) | |
63016e7c LC |
628 | |
629 | (define-public librsvg | |
630 | (package | |
631 | (name "librsvg") | |
dc67ebd2 | 632 | (version "2.40.6") |
63016e7c LC |
633 | (source (origin |
634 | (method url-fetch) | |
b38e45d8 EB |
635 | (uri (string-append "mirror://gnome/sources/" name "/" |
636 | (version-major+minor version) "/" | |
637 | name "-" version ".tar.xz")) | |
63016e7c LC |
638 | (sha256 |
639 | (base32 | |
dc67ebd2 | 640 | "01jgb11779080b80k2ncrhdphgillqrrnszal6vh8yv787r4kwwa")))) |
63016e7c LC |
641 | (build-system gnu-build-system) |
642 | (arguments | |
ce2df078 | 643 | `(#:phases |
63016e7c LC |
644 | (alist-cons-before |
645 | 'configure 'augment-gir-search-path | |
646 | (lambda* (#:key inputs #:allow-other-keys) | |
63016e7c LC |
647 | (substitute* "gdk-pixbuf-loader/Makefile.in" |
648 | ;; By default the gdk-pixbuf loader is installed under | |
649 | ;; gdk-pixbuf's prefix. Work around that. | |
650 | (("gdk_pixbuf_moduledir = .*$") | |
651 | (string-append "gdk_pixbuf_moduledir = " | |
dc67ebd2 | 652 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" |
63016e7c LC |
653 | "loaders\n")) |
654 | ;; Likewise, create a separate 'loaders.cache' file. | |
655 | (("gdk_pixbuf_cache_file = .*$") | |
656 | "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n"))) | |
cd14b5e3 FB |
657 | (alist-cons-after |
658 | 'install 'generate-full-cache | |
659 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
660 | (let ((loaders-directory | |
661 | (string-append (assoc-ref outputs "out") | |
dc67ebd2 | 662 | "/lib/gdk-pixbuf-2.0/2.10.0/loaders"))) |
cd14b5e3 FB |
663 | (zero? |
664 | (system | |
665 | (string-append | |
666 | "gdk-pixbuf-query-loaders " | |
667 | loaders-directory "/libpixbufloader-svg.so " | |
668 | (string-join (find-files (assoc-ref inputs "gdk-pixbuf") | |
669 | "libpixbufloader-.*\\.so") " ") | |
670 | "> " loaders-directory ".cache"))))) | |
b19d6805 | 671 | %standard-phases)))) |
63016e7c LC |
672 | (native-inputs |
673 | `(("pkg-config" ,pkg-config) | |
44add1ce | 674 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
675 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
676 | (inputs | |
677 | `(("pango" ,pango) | |
678 | ("libcroco" ,libcroco) | |
679 | ("bzip2" ,bzip2) | |
680 | ("libgsf" ,libgsf) | |
681 | ("libxml2" ,libxml2))) | |
682 | (propagated-inputs | |
683 | ;; librsvg-2.0.pc refers to all of that. | |
684 | `(("cairo" ,cairo) | |
685 | ("gdk-pixbuf" ,gdk-pixbuf) | |
686 | ("glib" ,glib))) | |
687 | (home-page "https://wiki.gnome.org/LibRsvg") | |
688 | (synopsis "Render SVG files using Cairo") | |
689 | (description | |
35b9e423 | 690 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
691 | library.") |
692 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
693 | |
694 | (define-public libidl | |
695 | (package | |
696 | (name "libidl") | |
697 | (version "0.8.14") | |
698 | (source (origin | |
699 | (method url-fetch) | |
700 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
701 | (string-append "mirror://gnome/sources/" upstream-name "/" |
702 | (version-major+minor version) "/" | |
703 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
704 | (sha256 |
705 | (base32 | |
706 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
707 | (build-system gnu-build-system) | |
708 | (inputs `(("glib" ,glib))) | |
709 | (native-inputs | |
710 | `(("pkg-config" ,pkg-config) | |
711 | ("flex", flex) | |
712 | ("bison" ,bison))) | |
713 | (home-page "http://freecode.com/projects/libidl") | |
714 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 715 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
716 | Definition Language (idl) files, which is a specification for defining |
717 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 718 | GNOME project, and the primary means of libidl distribution). However, the |
5698b8b8 JD |
719 | functionality was designed to be as reusable and portable as possible.") |
720 | (license license:lgpl2.0+))) | |
721 | ||
722 | ||
723 | (define-public orbit2 | |
724 | (package | |
725 | (name "orbit2") | |
726 | (version "2.14.19") | |
727 | (source (origin | |
728 | (method url-fetch) | |
729 | (uri (let ((upstream-name "ORBit2")) | |
b38e45d8 EB |
730 | (string-append "mirror://gnome/sources/" upstream-name "/" |
731 | (version-major+minor version) "/" | |
732 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
733 | (sha256 |
734 | (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
735 | (build-system gnu-build-system) | |
736 | (arguments | |
737 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
738 | `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
739 | ;; ... which they then completly ignore !! | |
740 | #:phases | |
741 | (alist-cons-before | |
742 | 'configure 'ignore-deprecations | |
743 | (lambda _ | |
744 | (substitute* "linc2/src/Makefile.in" | |
745 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
746 | %standard-phases))) | |
747 | (inputs `(("glib" ,glib) | |
748 | ("libidl" ,libidl))) | |
749 | (native-inputs | |
750 | `(("pkg-config" ,pkg-config))) | |
751 | (home-page "https://projects.gnome.org/orbit2/") | |
752 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 753 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
5698b8b8 JD |
754 | featuring mature C, C++ and Python bindings.") |
755 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version. | |
756 | ;; SOME of the code files have licence notices for GPLv2+ | |
757 | ;; The tarball contains files of the text of GPLv2 and LGPLv2 | |
758 | (license license:gpl2+))) | |
759 | ||
760 | ||
761 | (define-public libbonobo | |
762 | (package | |
763 | (name "libbonobo") | |
764 | (version "2.32.1") | |
765 | (source (origin | |
766 | (method url-fetch) | |
5becd025 | 767 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 768 | (version-major+minor version) |
5becd025 | 769 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 770 | (sha256 |
f1fc45a9 EB |
771 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
772 | (patches (list (search-patch "libbonobo-activation-test-race.patch"))))) | |
5698b8b8 JD |
773 | (build-system gnu-build-system) |
774 | (arguments | |
775 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
776 | `(#:configure-flags |
777 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
778 | ;; ... which they then completly ignore !! | |
779 | #:phases | |
780 | (alist-cons-before | |
781 | 'configure 'ignore-deprecations | |
782 | (lambda _ | |
783 | (substitute* "activation-server/Makefile.in" | |
784 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
785 | %standard-phases))) | |
5698b8b8 JD |
786 | (inputs `(("popt" ,popt) |
787 | ("libxml2" ,libxml2))) | |
788 | ;; The following are Required by the .pc file | |
44add1ce | 789 | (propagated-inputs |
5698b8b8 JD |
790 | `(("glib" ,glib) |
791 | ("orbit2" ,orbit2))) | |
792 | (native-inputs | |
793 | `(("intltool" ,intltool) | |
794 | ("pkg-config" ,pkg-config) | |
221ed17a | 795 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
796 | ("flex" ,flex) |
797 | ("bison" ,bison))) | |
798 | (home-page "https://developer.gnome.org/libbonobo/") | |
799 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
800 | (description "Bonobo is a framework for creating reusable components for | |
801 | use in GNOME applications, built on top of CORBA.") | |
802 | ;; Licence not explicitly stated. Source files contain no licence notices. | |
803 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
804 | ;; GPLv2 covers both conditions | |
805 | (license license:gpl2+))) | |
806 | ||
807 | ||
808 | (define-public gconf | |
809 | (package | |
810 | (name "gconf") | |
811 | (version "3.2.6") | |
812 | (source (origin | |
813 | (method url-fetch) | |
814 | (uri | |
815 | (let ((upstream-name "GConf")) | |
b38e45d8 EB |
816 | (string-append "mirror://gnome/sources/" upstream-name "/" |
817 | (version-major+minor version) "/" | |
818 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
819 | (sha256 |
820 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
821 | (build-system gnu-build-system) | |
822 | (inputs `(("glib" ,glib) | |
823 | ("dbus" ,dbus) | |
824 | ("dbus-glib" ,dbus-glib) | |
825 | ("libxml2" ,libxml2))) | |
826 | (propagated-inputs `(("orbit2" ,orbit2))) ; referred to in the .pc file | |
827 | (native-inputs | |
828 | `(("intltool" ,intltool) | |
221ed17a | 829 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
830 | ("pkg-config" ,pkg-config))) |
831 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
832 | (synopsis "Store application preferences") |
833 | (description "Gconf is a system for storing application preferences. It | |
834 | is intended for user preferences; not arbitrary data storage.") | |
5698b8b8 JD |
835 | (license license:lgpl2.0+))) |
836 | ||
837 | ||
838 | (define-public gnome-mime-data | |
839 | (package | |
840 | (name "gnome-mime-data") | |
841 | (version "2.18.0") | |
842 | (source (origin | |
843 | (method url-fetch) | |
b38e45d8 EB |
844 | (uri (string-append "mirror://gnome/sources/" name "/" |
845 | (version-major+minor version) "/" | |
846 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
847 | (sha256 |
848 | (base32 | |
849 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
850 | (build-system gnu-build-system) | |
851 | (native-inputs | |
852 | `(("perl" ,perl) | |
853 | ("intltool" ,intltool))) | |
854 | (home-page "http://www.gnome.org") | |
35b9e423 | 855 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
856 | (description "GNOME Mime Data is a module which contains the base MIME |
857 | and Application database for GNOME. The data stored by this module is | |
858 | designed to be accessed through the MIME functions in GnomeVFS.") | |
859 | (license license:gpl2+))) | |
860 | ||
861 | ||
862 | (define-public gnome-vfs | |
863 | (package | |
864 | (name "gnome-vfs") | |
865 | (version "2.24.4") | |
866 | (source (origin | |
867 | (method url-fetch) | |
b38e45d8 EB |
868 | (uri (string-append "mirror://gnome/sources/" name "/" |
869 | (version-major+minor version) "/" | |
870 | name "-" version ".tar.bz2")) | |
5698b8b8 | 871 | (sha256 |
9e12bc34 MW |
872 | (base32 |
873 | "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
5698b8b8 JD |
874 | (build-system gnu-build-system) |
875 | (arguments | |
db5127d8 | 876 | `(#:phases |
9e12bc34 MW |
877 | (alist-cons-before |
878 | 'configure 'ignore-deprecations | |
879 | (lambda _ | |
880 | (substitute* '("libgnomevfs/Makefile.in" | |
881 | "daemon/Makefile.in") | |
882 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
883 | #t) | |
db5127d8 MW |
884 | (alist-cons-before |
885 | 'configure 'patch-test-async-cancel-to-never-fail | |
886 | (lambda _ | |
887 | (substitute* "test/test-async-cancel.c" | |
888 | (("EXIT_FAILURE") "77"))) | |
889 | %standard-phases)))) | |
5698b8b8 JD |
890 | (inputs `(("glib" ,glib) |
891 | ("libxml2" ,libxml2) | |
892 | ("dbus-glib" ,dbus-glib) | |
893 | ("dbus" ,dbus) | |
894 | ("gconf" ,gconf) | |
895 | ("gnome-mime-data" ,gnome-mime-data) | |
896 | ("zlib" ,zlib))) | |
897 | (native-inputs | |
221ed17a EB |
898 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
899 | ("intltool" ,intltool) | |
5698b8b8 JD |
900 | ("pkg-config" ,pkg-config))) |
901 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 902 | (synopsis "Access files and folders in GNOME applications") |
9e12bc34 MW |
903 | (description |
904 | "GnomeVFS is the core library used to access files and folders in GNOME | |
905 | applications. It provides a file system abstraction which allows applications | |
906 | to access local and remote files with a single consistent API.") | |
5698b8b8 JD |
907 | (license license:lgpl2.0+))) |
908 | ||
909 | ||
910 | ||
911 | (define-public libgnome | |
912 | (package | |
913 | (name "libgnome") | |
914 | (version "2.32.1") | |
915 | (source (origin | |
916 | (method url-fetch) | |
b38e45d8 EB |
917 | (uri (string-append "mirror://gnome/sources/" name "/" |
918 | (version-major+minor version) "/" | |
919 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
920 | (sha256 |
921 | (base32 | |
922 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")))) | |
923 | (build-system gnu-build-system) | |
924 | (arguments | |
925 | `(#:phases | |
926 | (alist-cons-before | |
927 | 'configure 'enable-deprecated | |
928 | (lambda _ | |
929 | (substitute* "libgnome/Makefile.in" | |
930 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
931 | %standard-phases))) | |
932 | (inputs `(("popt" ,popt) | |
933 | ("libxml2" ,libxml2))) | |
934 | (native-inputs | |
221ed17a EB |
935 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
936 | ("intltool" ,intltool) | |
5698b8b8 JD |
937 | ("pkg-config" ,pkg-config))) |
938 | ;; The following are listed as Required in the .pc file | |
939 | ;; (except for libcanberra -- which seems to be oversight on the part | |
940 | ;; of the upstream developers -- anything that links against libgnome, | |
941 | ;; must also link against libcanberra | |
942 | (propagated-inputs | |
943 | `(("libcanberra" ,libcanberra) | |
944 | ("libbonobo" ,libbonobo) | |
945 | ("gconf" ,gconf) | |
946 | ("gnome-vfs" ,gnome-vfs) | |
947 | ("glib" ,glib))) | |
948 | (home-page "https://developer.gnome.org/libgnome/") | |
949 | (synopsis "Useful routines for building applications") | |
950 | (description "The libgnome library provides a number of useful routines | |
951 | for building modern applications, including session management, activation of | |
952 | files and URIs, and displaying help.") | |
953 | (license license:lgpl2.0+))) | |
954 | ||
955 | ||
956 | (define-public libart-lgpl | |
957 | (package | |
958 | (name "libart-lgpl") | |
76c9b6aa | 959 | (version "2.3.21") |
5698b8b8 JD |
960 | (source (origin |
961 | (method url-fetch) | |
962 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
963 | (string-append "mirror://gnome/sources/" upstream-name "/" |
964 | (version-major+minor version) "/" | |
965 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
966 | (sha256 |
967 | (base32 | |
76c9b6aa | 968 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
969 | (build-system gnu-build-system) |
970 | (native-inputs | |
971 | `(("pkg-config" ,pkg-config))) | |
972 | (home-page "https://people.gnome.org/~mathieu/libart") | |
973 | (synopsis "2D drawing library") | |
974 | (description "Libart is a 2D drawing library intended as a | |
975 | high-quality vector-based 2D library with antialiasing and alpha composition.") | |
976 | (license license:lgpl2.0+))) | |
977 | ||
978 | ||
979 | ||
980 | (define-public libgnomecanvas | |
981 | (package | |
982 | (name "libgnomecanvas") | |
983 | (version "2.30.3") | |
984 | (source (origin | |
985 | (method url-fetch) | |
b38e45d8 EB |
986 | (uri (string-append "mirror://gnome/sources/" name "/" |
987 | (version-major+minor version) "/" | |
988 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
989 | (sha256 |
990 | (base32 | |
991 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
992 | (build-system gnu-build-system) | |
993 | ;; Mentioned as Required in the .pc file | |
994 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
995 | ("gtk+" ,gtk+-2))) | |
996 | (native-inputs | |
997 | `(("intltool" ,intltool) | |
221ed17a | 998 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
999 | ("pkg-config" ,pkg-config))) |
1000 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
1001 | (synopsis "Flexible widget for creating interactive structured graphics") | |
1002 | (description "The GnomeCanvas widget provides a flexible widget for | |
1003 | creating interactive structured graphics.") | |
1004 | (license license:lgpl2.0+))) | |
1005 | ||
eadc734e RW |
1006 | (define-public libgnomecanvasmm |
1007 | (package | |
1008 | (name "libgnomecanvasmm") | |
1009 | (version "2.26.0") | |
1010 | (source (origin | |
1011 | (method url-fetch) | |
1012 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1013 | (version-major+minor version) "/" | |
1014 | name "-" version ".tar.bz2")) | |
1015 | (sha256 | |
1016 | (base32 | |
1017 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1018 | (build-system gnu-build-system) | |
1019 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) | |
1020 | (native-inputs | |
1021 | `(("gtkmm-2" ,gtkmm-2) | |
1022 | ("pkg-config" ,pkg-config))) | |
1023 | (home-page "http://gtkmm.org") | |
1024 | (synopsis "C++ bindings to the GNOME Canvas library") | |
1025 | (description "C++ bindings to the GNOME Canvas library.") | |
1026 | (license license:lgpl2.0+))) | |
1027 | ||
5698b8b8 JD |
1028 | (define-public libgnomeui |
1029 | (package | |
1030 | (name "libgnomeui") | |
1031 | (version "2.24.5") | |
1032 | (source (origin | |
1033 | (method url-fetch) | |
b38e45d8 EB |
1034 | (uri (string-append "mirror://gnome/sources/" name "/" |
1035 | (version-major+minor version) "/" | |
1036 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1037 | (sha256 |
1038 | (base32 | |
1039 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1040 | (build-system gnu-build-system) | |
1041 | ;; Mentioned as Required in the .pc file | |
1042 | (propagated-inputs `(("libgnome" ,libgnome) | |
1043 | ("libgnome-keyring" ,libgnome-keyring))) | |
1044 | (inputs `(("libgnomecanvas" ,libgnomecanvas) | |
1045 | ("libbonoboui" ,libbonoboui) | |
1046 | ("libjpeg" ,libjpeg) | |
1047 | ("popt" ,popt) | |
1048 | ("libbonobo" ,libbonobo) | |
1049 | ("libxml2" ,libxml2) | |
1050 | ("libglade" ,libglade))) | |
1051 | (native-inputs | |
221ed17a EB |
1052 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1053 | ("intltool" ,intltool) | |
5698b8b8 JD |
1054 | ("pkg-config" ,pkg-config))) |
1055 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1056 | (synopsis "Additional widgets for applications") | |
35b9e423 EB |
1057 | (description "The libgnomeui library provides additional widgets for |
1058 | applications. Many of the widgets from libgnomeui have already been ported to GTK+.") | |
5698b8b8 JD |
1059 | (license license:lgpl2.0+))) |
1060 | ||
1061 | (define-public libglade | |
1062 | (package | |
1063 | (name "libglade") | |
1064 | (version "2.6.4") | |
1065 | (source (origin | |
1066 | (method url-fetch) | |
b38e45d8 EB |
1067 | (uri (string-append "mirror://gnome/sources/" name "/" |
1068 | (version-major+minor version) "/" | |
1069 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1070 | (sha256 |
1071 | (base32 | |
1072 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1073 | (build-system gnu-build-system) | |
1074 | (inputs | |
1075 | `(("gtk+-2" ,gtk+-2) | |
1076 | ("libxml2" ,libxml2) | |
1077 | ("python" ,python))) ;; needed for the optional libglade-convert program | |
1078 | (native-inputs | |
1079 | `(("pkg-config" ,pkg-config))) | |
1080 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1081 | (synopsis "Load glade interfaces and access the glade built widgets") |
1082 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1083 | graphical interfaces described in glade files and for accessing the |
1084 | widgets built in the loading process.") | |
1085 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1086 | ||
1087 | (define-public libgnomeprint | |
eb497b66 LC |
1088 | ;; This library has been deprecated since 2006; see |
1089 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1090 | (package |
1091 | (name "libgnomeprint") | |
1092 | (version "2.8.2") | |
1093 | (source (origin | |
1094 | (method url-fetch) | |
b38e45d8 EB |
1095 | (uri (string-append "mirror://gnome/sources/" name "/" |
1096 | (version-major+minor version) "/" | |
1097 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1098 | (sha256 |
1099 | (base32 | |
3edce2c9 RW |
1100 | "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")) |
1101 | (modules '((guix build utils))) | |
1102 | (snippet | |
1103 | ;; Adapt to newer freetype. As the package is deprecated, there | |
1104 | ;; is no use in creating a patch and reporting it. | |
1105 | '(substitute* '("libgnomeprint/gnome-font-face.c" | |
1106 | "libgnomeprint/gnome-rfont.c") | |
1107 | (("freetype/") "freetype2/"))))) | |
5698b8b8 JD |
1108 | (build-system gnu-build-system) |
1109 | (inputs | |
1110 | `(("popt" ,popt) | |
1111 | ("libart-lgpl" ,libart-lgpl) | |
1112 | ("gtk+" ,gtk+-2) | |
44add1ce | 1113 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1114 | (native-inputs |
1115 | `(("intltool" ,intltool) | |
221ed17a | 1116 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1117 | ("pkg-config" ,pkg-config))) |
1118 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1119 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1120 | (description |
1121 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1122 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1123 | (license license:lgpl2.0+))) |
1124 | ||
1125 | ||
1126 | (define-public libgnomeprintui | |
eb497b66 | 1127 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1128 | (package |
1129 | (name "libgnomeprintui") | |
1130 | (version "2.8.2") | |
1131 | (source (origin | |
1132 | (method url-fetch) | |
b38e45d8 EB |
1133 | (uri (string-append "mirror://gnome/sources/" name "/" |
1134 | (version-major+minor version) "/" | |
1135 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1136 | (sha256 |
1137 | (base32 | |
1138 | "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw")))) | |
1139 | (build-system gnu-build-system) | |
1140 | ;; Mentioned as Required in the .pc file | |
1141 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1142 | (inputs `(("gtk+" ,gtk+-2) | |
1143 | ("glib" ,glib) | |
1144 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1145 | ("libgnomecanvas" ,libgnomecanvas) | |
1146 | ("libxml2" ,libxml2))) | |
1147 | (native-inputs | |
1148 | `(("intltool" ,intltool) | |
1149 | ("pkg-config" ,pkg-config))) | |
1150 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1151 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1152 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1153 | (license license:lgpl2.0+))) |
1154 | ||
5698b8b8 JD |
1155 | (define-public libbonoboui |
1156 | (package | |
1157 | (name "libbonoboui") | |
1158 | (version "2.24.5") | |
1159 | (source (origin | |
1160 | (method url-fetch) | |
b38e45d8 EB |
1161 | (uri (string-append "mirror://gnome/sources/" name "/" |
1162 | (version-major+minor version) "/" | |
1163 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1164 | (sha256 |
1165 | (base32 | |
1166 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1167 | (build-system gnu-build-system) | |
1168 | (arguments | |
1169 | `(#:phases | |
1170 | (alist-cons-before | |
1171 | 'check 'start-xserver | |
1172 | (lambda* (#:key inputs #:allow-other-keys) | |
1173 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1174 | (disp ":1")) | |
1175 | ||
1176 | (setenv "HOME" (getcwd)) | |
1177 | (setenv "DISPLAY" disp) | |
1178 | ;; There must be a running X server and make check doesn't start one. | |
1179 | ;; Therefore we must do it. | |
1180 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))) | |
1181 | %standard-phases))) | |
1182 | ;; Mentioned as Required by the .pc file | |
1183 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1184 | (inputs | |
1185 | `(("popt" ,popt) | |
1186 | ("pangox-compat" ,pangox-compat) | |
1187 | ("libgnome" ,libgnome) | |
1188 | ("libgnomecanvas" ,libgnomecanvas) | |
1189 | ("libglade" ,libglade))) | |
1190 | (native-inputs | |
221ed17a EB |
1191 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
1192 | ("intltool" ,intltool) | |
5698b8b8 JD |
1193 | ("xorg-server" ,xorg-server) ; For running the tests |
1194 | ("pkg-config" ,pkg-config))) | |
1195 | (home-page "https://developer.gnome.org/libbonoboui/") | |
1196 | (synopsis "Some user interface controls using Bonobo") | |
1197 | (description "The Bonobo UI library provides a number of user interface | |
1198 | controls using the Bonobo component framework.") | |
1199 | (license license:lgpl2.0+))) | |
1200 | ||
fecbf86e SB |
1201 | (define-public libwnck |
1202 | (package | |
1203 | (name "libwnck") | |
1204 | (version "3.14.0") | |
1205 | (source (origin | |
1206 | (method url-fetch) | |
1207 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1208 | (version-major+minor version) "/" | |
1209 | name "-" version ".tar.xz")) | |
1210 | (sha256 | |
1211 | (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m")))) | |
1212 | (build-system gnu-build-system) | |
1213 | (native-inputs | |
1214 | `(("pkg-config" ,pkg-config) | |
1215 | ("intltool" ,intltool))) | |
1216 | (propagated-inputs | |
427476d5 SB |
1217 | `(("gtk+" ,gtk+) |
1218 | ("libxres" ,libxres) | |
1219 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
1220 | (home-page "https://developer.gnome.org/libwnck/") |
1221 | (synopsis "Window Navigator Construction Kit") | |
1222 | (description | |
1223 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
1224 | writing pagers, tasklists, and more generally applications that are dealing | |
1225 | with window management. It tries hard to respect the Extended Window Manager | |
1226 | Hints specification (EWMH).") | |
1227 | (license license:lgpl2.0+))) | |
1228 | ||
1229 | ;; stable version for gtk2, required by xfwm4. | |
1230 | (define-public libwnck-1 | |
1231 | (package (inherit libwnck) | |
1232 | (name "libwnck") | |
1233 | (version "2.30.7") | |
1234 | (source (origin | |
1235 | (method url-fetch) | |
1236 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1237 | (version-major+minor version) "/" | |
1238 | name "-" version ".tar.xz")) | |
1239 | (sha256 | |
1240 | (base32 | |
1241 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
1242 | (propagated-inputs | |
427476d5 SB |
1243 | `(("gtk+" ,gtk+-2) |
1244 | ("libxres" ,libxres) | |
1245 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
1246 | |
1247 | (define-public goffice | |
1248 | (package | |
1249 | (name "goffice") | |
1250 | (version "0.10.14") | |
1251 | (source (origin | |
1252 | (method url-fetch) | |
b38e45d8 EB |
1253 | (uri (string-append "mirror://gnome/sources/" name "/" |
1254 | (version-major+minor version) "/" | |
1255 | name "-" version ".tar.xz")) | |
b804c61e JD |
1256 | (sha256 |
1257 | (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60")))) | |
1258 | (build-system gnu-build-system) | |
1259 | (inputs | |
1260 | `(("gtk+" ,gtk+) | |
1261 | ("libgsf" ,libgsf) | |
1262 | ("librsvg" ,librsvg) | |
1263 | ("libxslt" ,libxslt) | |
1264 | ("libxml2" ,libxml2))) | |
1265 | (native-inputs | |
1266 | `(("intltool" ,intltool) | |
f280cdb1 | 1267 | ("glib" ,glib "bin") |
b804c61e JD |
1268 | ("pkg-config" ,pkg-config))) |
1269 | (home-page "https://developer.gnome.org/goffice/") | |
1270 | (synopsis "Document-centric objects and utilities") | |
1271 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
1272 | (license | |
1273 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") | |
1274 | ;; Note: NOT LGPL | |
1275 | (list license:gpl2 license:gpl3)))) | |
1276 | ||
1277 | (define-public gnumeric | |
1278 | (package | |
1279 | (name "gnumeric") | |
1280 | (version "1.12.17") | |
1281 | (source (origin | |
1282 | (method url-fetch) | |
b38e45d8 EB |
1283 | (uri (string-append "mirror://gnome/sources/" name "/" |
1284 | (version-major+minor version) "/" | |
1285 | name "-" version ".tar.xz")) | |
b804c61e JD |
1286 | (sha256 |
1287 | (base32 | |
1288 | "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c")))) | |
1289 | (build-system gnu-build-system) | |
1290 | (arguments | |
1291 | `(;; The gnumeric developers don't worry much about failing tests. | |
1292 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
1293 | #:tests? #f | |
1294 | #:phases | |
1295 | (alist-cons-before | |
1296 | 'configure 'pre-conf | |
1297 | (lambda* (#:key outputs #:allow-other-keys) | |
1298 | ;; Make install tries to write into the directory of goffice | |
1299 | ;; I am informed that this only affects the possibility to embed a | |
1300 | ;; spreadsheet inside an Abiword document. So presumably when we | |
1301 | ;; package Abiword we'll have to refer it to this directory. | |
1302 | (substitute* "configure" | |
1303 | (("^GOFFICE_PLUGINS_DIR=.*") | |
1304 | (string-append "GOFFICE_PLUGINS_DIR=" | |
1305 | (assoc-ref outputs "out") "/goffice/plugins")))) | |
1306 | %standard-phases))) | |
1307 | (inputs | |
1308 | `(("glib" ,glib) | |
1309 | ("gtk+" ,gtk+) | |
1310 | ("goffice" ,goffice) | |
1311 | ("libgsf" ,libgsf) | |
1312 | ("libxml2" ,libxml2) | |
1313 | ("zlib" ,zlib))) | |
1314 | (native-inputs | |
1315 | `(("intltool" ,intltool) | |
b9663471 | 1316 | ("glib:bin" ,glib "bin") |
b804c61e JD |
1317 | ("pkg-config" ,pkg-config))) |
1318 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
1319 | (synopsis "Spreadsheet application") |
1320 | (description | |
1321 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
1322 | interoperable with other spreadsheet applications. It has a vast array of | |
1323 | features beyond typical spreadsheet functionality, such as support for linear | |
1324 | and non-linear solvers, statistical analysis, and telecommunication | |
1325 | engineering.") | |
1326 | (license | |
b804c61e JD |
1327 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1328 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
1329 | |
1330 | (define-public gnome-themes-standard | |
1331 | (package | |
1332 | (name "gnome-themes-standard") | |
1333 | ;; The version of this package should be the same as the version of | |
1334 | ;; gnome-desktop. | |
1335 | (version (package-version gnome-desktop)) | |
1336 | (source | |
1337 | (origin | |
1338 | (method url-fetch) | |
1339 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1340 | (version-major+minor version) "/" name "-" | |
1341 | version ".tar.xz")) | |
1342 | (sha256 | |
1343 | (base32 | |
7dae5ac4 | 1344 | "0kyrbfrgl6g6wm6zpllldz36fclvl8vwmn1snwk18kf7f6ncpsac")))) |
6f885c05 FB |
1345 | (build-system gnu-build-system) |
1346 | (inputs | |
1347 | `(("gtk+" ,gtk+) | |
1348 | ("gtk+-2" ,gtk+-2) | |
1349 | ("librsvg" ,librsvg) | |
1350 | ("libxml2" ,libxml2) | |
1351 | ("glib" ,glib))) | |
1352 | (native-inputs | |
1353 | `(("intltool" ,intltool) | |
1354 | ("glib:bin" ,glib "bin") | |
1355 | ("pkg-config" ,pkg-config))) | |
1356 | (arguments | |
1357 | `(#:phases | |
1358 | (alist-cons-before | |
1359 | 'build 'use-full-cache | |
1360 | ;; Use librsvg's loaders.cache instead of the one provided by | |
1361 | ;; gdk-pixbuf because the latter does not include support for SVG | |
1362 | ;; files. | |
1363 | (lambda* (#:key inputs #:allow-other-keys) | |
1364 | (setenv "GDK_PIXBUF_MODULE_FILE" | |
1365 | (car (find-files (assoc-ref inputs "librsvg") | |
1366 | "loaders\\.cache")))) | |
1367 | %standard-phases))) | |
1368 | (home-page "https://launchpad.net/gnome-themes-standard") | |
1369 | (synopsis "Default GNOME 3 themes") | |
1370 | (description | |
1371 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
1372 | (license license:lgpl2.1+))) | |
5a659a48 SB |
1373 | |
1374 | (define-public vala | |
1375 | (package | |
1376 | (name "vala") | |
1ea90625 | 1377 | (version "0.28.0") |
5a659a48 SB |
1378 | (source (origin |
1379 | (method url-fetch) | |
1380 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1381 | (version-major+minor version) "/" | |
1382 | name "-" version ".tar.xz")) | |
1383 | (sha256 | |
1384 | (base32 | |
1ea90625 | 1385 | "0zwpzhkhfk3piya14m7p2hl2vaabahprphppfm46ci91z39kp7hd")))) |
5a659a48 | 1386 | (build-system gnu-build-system) |
1ea90625 SB |
1387 | (arguments |
1388 | '(#:phases | |
1389 | (modify-phases %standard-phases | |
1390 | (add-before 'check 'set-cc | |
1391 | (lambda _ | |
1392 | (setenv "CC" "gcc") | |
1393 | #t))))) | |
5a659a48 SB |
1394 | (native-inputs |
1395 | `(("pkg-config" ,pkg-config) | |
1396 | ("flex" ,flex) | |
1397 | ("bison" ,bison) | |
1398 | ("xsltproc" ,libxslt) | |
1399 | ("dbus" ,dbus) ; for dbus tests | |
1400 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
1401 | (propagated-inputs | |
1402 | `(("glib" ,glib))) ; required by libvala-0.26.pc | |
1403 | (home-page "http://live.gnome.org/Vala/") | |
1404 | (synopsis "Compiler for the GObject type system") | |
1405 | (description | |
1406 | "Vala is a programming language that aims to bring modern programming | |
1407 | language features to GNOME developers without imposing any additional runtime | |
1408 | requirements and without using a different ABI compared to applications and | |
1409 | libraries written in C.") | |
1410 | (license license:lgpl2.1+))) | |
ea57378f SB |
1411 | |
1412 | (define-public vte | |
1413 | (package | |
1414 | (name "vte") | |
191e9b4e | 1415 | (version "0.40.0") |
ea57378f SB |
1416 | (source (origin |
1417 | (method url-fetch) | |
1418 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1419 | (version-major+minor version) "/" | |
1420 | name "-" version ".tar.xz")) | |
1421 | (sha256 | |
1422 | (base32 | |
191e9b4e | 1423 | "0lnq0bgkmsixjwmfacb2ch9qfjqjxa8zkk1hiv3l29kgca0n3nal")))) |
ea57378f SB |
1424 | (build-system gnu-build-system) |
1425 | (native-inputs | |
1426 | `(("pkg-config" ,pkg-config) | |
1427 | ("intltool" ,intltool) | |
1428 | ("vala" ,vala) | |
1429 | ("gobject-introspection" ,gobject-introspection) | |
1430 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
1431 | ("xmllint" ,libxml2))) | |
1432 | (propagated-inputs | |
302393bc LC |
1433 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
1434 | ("gnutls" ,gnutls))) ;ditto | |
ea57378f SB |
1435 | (home-page "http://www.gnome.org/") |
1436 | (synopsis "Virtual Terminal Emulator") | |
1437 | (description | |
1438 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
1439 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
1440 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
1441 | editors, IDEs, etc.") | |
1442 | (license license:lgpl2.1+))) | |
1443 | ||
1444 | ;; stable version for gtk2, required by xfce4-terminal. | |
1445 | (define-public vte/gtk+-2 | |
1446 | (package (inherit vte) | |
1447 | (name "vte") | |
1448 | (version "0.28.2") | |
1449 | (source (origin | |
1450 | (method url-fetch) | |
1451 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1452 | (version-major+minor version) "/" | |
1453 | name "-" version ".tar.xz")) | |
1454 | (sha256 | |
1455 | (base32 | |
1456 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")))) | |
1457 | (arguments | |
1458 | '(#:configure-flags '("--disable-python"))) | |
1459 | (native-inputs | |
1460 | `(("pkg-config" ,pkg-config) | |
1461 | ("intltool" ,intltool) | |
1462 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
1463 | (propagated-inputs | |
1464 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
1465 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 FB |
1466 | |
1467 | (define-public dconf | |
1468 | (package | |
1469 | (name "dconf") | |
1470 | (version "0.22.0") | |
1471 | (source (origin | |
1472 | (method url-fetch) | |
1473 | (uri (string-append | |
1474 | "mirror://gnome/sources/" name "/" | |
1475 | (version-major+minor version) "/" | |
1476 | name "-" version ".tar.xz")) | |
1477 | (sha256 | |
1478 | (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa")))) | |
1479 | (build-system glib-or-gtk-build-system) | |
1480 | (inputs | |
1481 | `(("gtk+" ,gtk+) | |
1482 | ("glib" ,glib) | |
1483 | ("dbus" ,dbus) | |
1484 | ("libxml2" ,libxml2))) | |
1485 | (native-inputs | |
1486 | `(("libxslt" ,libxslt) | |
1487 | ("docbook-xml" ,docbook-xml-4.2) | |
1488 | ("docbook-xsl" ,docbook-xsl) | |
1489 | ("intltool" ,intltool) | |
1490 | ("pkg-config" ,pkg-config))) | |
1491 | (arguments | |
1492 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
1493 | ; or /etc/machine-id. | |
1494 | #:configure-flags | |
1495 | ;; Set the correct RUNPATH in binaries. | |
1496 | (list (string-append "LDFLAGS=-Wl,-rpath=" | |
1497 | (assoc-ref %outputs "out") "/lib") | |
1498 | "--disable-gtk-doc-html") ; FIXME: requires gtk-doc | |
1499 | #:phases | |
1500 | (alist-cons-before | |
1501 | 'configure 'fix-docbook | |
1502 | (lambda* (#:key inputs #:allow-other-keys) | |
1503 | (substitute* "docs/Makefile.in" | |
1504 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
1505 | (string-append (assoc-ref inputs "docbook-xsl") | |
1506 | "/xml/xsl/docbook-xsl-" | |
1507 | ,(package-version docbook-xsl) | |
1508 | "/manpages/docbook.xsl"))) | |
1509 | (setenv "XML_CATALOG_FILES" | |
1510 | (string-append (assoc-ref inputs "docbook-xml") | |
1511 | "/xml/dtd/docbook/catalog.xml"))) | |
1512 | %standard-phases))) | |
1513 | (home-page "https://developer.gnome.org/dconf") | |
1514 | (synopsis "Low-level GNOME configuration system") | |
1515 | (description "Dconf is a low-level configuration system. Its main purpose | |
1516 | is to provide a backend to GSettings on platforms that don't already have | |
1517 | configuration storage systems.") | |
1518 | (license license:lgpl2.1))) | |
109da1c0 AE |
1519 | |
1520 | (define-public json-glib | |
1521 | (package | |
1522 | (name "json-glib") | |
1523 | (version "1.0.2") | |
1524 | (source (origin | |
1525 | (method url-fetch) | |
1526 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1527 | (version-major+minor version) "/" | |
1528 | name "-" version ".tar.xz")) | |
1529 | (sha256 | |
1530 | (base32 | |
1531 | "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8")))) | |
1532 | (build-system gnu-build-system) | |
1533 | (native-inputs | |
88c6b580 | 1534 | `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal |
109da1c0 AE |
1535 | ("gobject-introspection" ,gobject-introspection) |
1536 | ("pkg-config" ,pkg-config))) | |
1537 | (propagated-inputs | |
88c6b580 | 1538 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
1539 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
1540 | (synopsis "Compiler for the GObject type system") | |
1541 | (description "JSON-GLib is a C library based on GLib providing | |
1542 | serialization and deserialization support for the JavaScript Object Notation | |
1543 | (JSON) format described by RFC 4627. It provides parser and generator | |
1544 | GObject classes and various wrappers for the complex data types employed by | |
1545 | JSON, such as arrays and objects.") | |
1546 | (license license:lgpl2.1+))) | |
6f96a359 SB |
1547 | |
1548 | (define-public libxklavier | |
1549 | (package | |
1550 | (name "libxklavier") | |
1551 | (version "5.3") | |
1552 | (source (origin | |
1553 | (method url-fetch) | |
1554 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1555 | version "/" name "-" version ".tar.xz")) | |
1556 | (sha256 | |
1557 | (base32 | |
1558 | "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) | |
1559 | (build-system gnu-build-system) | |
1560 | (arguments | |
1561 | '(#:configure-flags | |
1562 | (list (string-append "--with-xkb-base=" | |
1563 | (assoc-ref %build-inputs "xkeyboard-config") | |
b19d6805 | 1564 | "/share/X11/xkb")))) |
6f96a359 SB |
1565 | (native-inputs |
1566 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
1567 | ("gobject-introspection" ,gobject-introspection) | |
1568 | ("pkg-config" ,pkg-config))) | |
1569 | (propagated-inputs | |
1570 | ;; Required by libxklavier.pc. | |
1571 | `(("glib" ,glib) | |
1572 | ("libxml2" ,libxml2))) | |
1573 | (inputs | |
1574 | `(("iso-codes" ,iso-codes) | |
1575 | ("libxi" ,libxi) | |
1576 | ("libxkbfile" ,libxkbfile) | |
1577 | ("xkbcomp" ,xkbcomp) | |
1578 | ("xkeyboard-config" ,xkeyboard-config))) | |
1579 | (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/") | |
1580 | (synopsis "High-level API for X Keyboard Extension") | |
1581 | (description | |
1582 | "LibXklavier is a library providing high-level API for X Keyboard | |
1583 | Extension known as XKB. This library is indended to support XFree86 and other | |
1584 | commercial X servers. It is useful for creating XKB-related software (layout | |
1585 | indicators etc).") | |
1586 | (license license:lgpl2.0+))) | |
619936a4 LC |
1587 | |
1588 | (define-public python2-rsvg | |
1589 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
1590 | (package | |
1591 | (name "python2-rsvg") | |
1592 | (version "2.32.0") | |
1593 | (source | |
1594 | (origin | |
1595 | (method url-fetch) | |
1596 | (uri (string-append | |
1597 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
1598 | version ".tar.bz2")) | |
1599 | (sha256 | |
1600 | (base32 | |
1601 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
1602 | (build-system gnu-build-system) | |
1603 | (native-inputs | |
1604 | `(("pkg-config" ,pkg-config))) | |
1605 | (inputs | |
1606 | `(("python" ,python-2) | |
1607 | ("python2-pygtk" ,python2-pygtk) | |
1608 | ("librsvg" ,librsvg))) | |
1609 | (home-page "http://www.gnome.org") | |
1610 | (synopsis "Python bindings to librsvg") | |
1611 | (description | |
1612 | "This packages provides Python bindings to librsvg, the SVG rendering | |
1613 | library.") | |
1614 | ||
1615 | ;; This is the license of the rsvg bindings. The license of each module | |
1616 | ;; of gnome-python-desktop is given in 'COPYING'. | |
1617 | (license license:lgpl2.1+))) | |
a31a6d22 | 1618 | |
f2ca414a SB |
1619 | (define-public glib-networking |
1620 | (package | |
1621 | (name "glib-networking") | |
1622 | (version "2.44.0") | |
1623 | (source (origin | |
1624 | (method url-fetch) | |
1625 | (uri (string-append "mirror://gnome/sources/glib-networking/" | |
1626 | (version-major+minor version) "/" | |
1627 | name "-" version ".tar.xz")) | |
1628 | (sha256 | |
1629 | (base32 | |
1630 | "0ij33bhvn7y5gagx4sbrw906dsjjjs9dllxn73pzv6x97c6k92lg")))) | |
1631 | (build-system gnu-build-system) | |
1632 | (arguments | |
1633 | `(#:configure-flags | |
1634 | ;; FIXME: ca-certificates.crt is not available in the build environment. | |
1635 | '("--with-ca-certificates=no") | |
1636 | #:phases | |
1637 | (modify-phases %standard-phases | |
3a4de6b2 | 1638 | (add-before 'configure 'patch-giomoduledir |
f2ca414a SB |
1639 | ;; Install GIO modules into $out/lib/gio/modules. |
1640 | (lambda _ | |
1641 | (substitute* "configure" | |
1642 | (("GIO_MODULE_DIR=.*") | |
1643 | (string-append "GIO_MODULE_DIR=" %output | |
1644 | "/lib/gio/modules\n")))))))) | |
1645 | (native-inputs | |
1646 | `(("pkg-config" ,pkg-config) | |
1647 | ("intltool" ,intltool))) | |
1648 | (inputs | |
1649 | `(("glib" ,glib) | |
1650 | ("gnutls" ,gnutls) | |
1651 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1652 | ("p11-kit" ,p11-kit))) | |
1653 | (home-page "http://www.gnome.org") | |
1654 | (synopsis "Network-related GIO modules") | |
1655 | (description | |
1656 | "This package contains various network related extensions for the GIO | |
1657 | library.") | |
1658 | (license license:lgpl2.0+))) | |
1659 | ||
6e1bb642 SB |
1660 | (define-public libsoup |
1661 | (package | |
1662 | (name "libsoup") | |
1663 | (version "2.50.0") | |
1664 | (source (origin | |
1665 | (method url-fetch) | |
1666 | (uri (string-append "mirror://gnome/sources/libsoup/" | |
1667 | (version-major+minor version) "/" | |
1668 | name "-" version ".tar.xz")) | |
1669 | (sha256 | |
1670 | (base32 | |
1671 | "0yv61y5vfar1rfksa6f53zhfw9wcb39zjix8gqc1ff5gqid3c08y")))) | |
1672 | (build-system gnu-build-system) | |
1673 | (outputs '("out" "doc")) | |
1674 | (arguments | |
b19d6805 | 1675 | `(#:configure-flags |
6e1bb642 SB |
1676 | (list (string-append "--with-html-dir=" |
1677 | (assoc-ref %outputs "doc") | |
1678 | "/share/gtk-doc/html") | |
1679 | ;; To find GIO modules from glib-networking. | |
1680 | (string-append "GIO_EXTRA_MODULES=" | |
1681 | (assoc-ref %build-inputs "glib-networking") | |
1682 | "/lib/gio/modules")) | |
1683 | #:phases | |
1684 | (modify-phases %standard-phases | |
3a4de6b2 | 1685 | (add-before 'configure 'disable-unconnected-socket-test |
6e1bb642 SB |
1686 | ;; This test fails due to missing /etc/nsswitch.conf |
1687 | ;; in the build environment. | |
1688 | (lambda _ | |
1689 | (substitute* "tests/socket-test.c" | |
1690 | ((".*/sockets/unconnected.*") "")) | |
1691 | #t)) | |
3a4de6b2 | 1692 | (add-before 'check 'unset-LC_ALL |
6e1bb642 SB |
1693 | ;; The 'check-local' target runs 'env LANG=C sort -u', |
1694 | ;; unset 'LC_ALL' to make 'LANG' working. | |
1695 | (lambda _ | |
1696 | (unsetenv "LC_ALL") | |
1697 | #t))))) | |
1698 | (native-inputs | |
1699 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
1700 | ("gobject-introspection" ,gobject-introspection) | |
1701 | ("intltool" ,intltool) | |
1702 | ("pkg-config" ,pkg-config) | |
1703 | ("python" ,python-wrapper) | |
1704 | ;; These are needed for the tests. | |
1705 | ;; FIXME: Add PHP once available. | |
1706 | ("curl" ,curl) | |
1707 | ("httpd" ,httpd))) | |
1708 | (propagated-inputs | |
1709 | ;; libsoup-2.4.pc refers to all these. | |
1710 | `(("glib" ,glib) | |
1711 | ("libxml2" ,libxml2))) | |
1712 | (inputs | |
1713 | `(("glib-networking" ,glib-networking) | |
1714 | ("sqlite" ,sqlite))) | |
1715 | (home-page "https://live.gnome.org/LibSoup/") | |
1716 | (synopsis "GLib-based HTTP Library") | |
1717 | (description | |
1718 | "LibSoup is an HTTP client/server library for GNOME. It uses GObjects | |
1719 | and the GLib main loop, to integrate well with GNOME applications.") | |
1720 | (license license:lgpl2.0+))) | |
1721 | ||
bba229a3 SB |
1722 | (define-public libsecret |
1723 | (package | |
1724 | (name "libsecret") | |
1725 | (version "0.18") | |
1726 | (source (origin | |
1727 | (method url-fetch) | |
1728 | (uri (string-append | |
1729 | "mirror://gnome/sources/libsecret/" version "/" | |
1730 | name "-" version ".tar.xz")) | |
1731 | (sha256 | |
1732 | (base32 | |
1733 | "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc")))) | |
1734 | (build-system gnu-build-system) | |
1735 | (outputs '("out" "doc")) | |
1736 | (arguments | |
1737 | `(#:tests? #f ; FIXME: Testing hangs. | |
bba229a3 SB |
1738 | #:configure-flags |
1739 | (list (string-append "--with-html-dir=" | |
1740 | (assoc-ref %outputs "doc") | |
1741 | "/share/gtk-doc/html")))) | |
1742 | (native-inputs | |
1743 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
1744 | ("gobject-introspection" ,gobject-introspection) | |
1745 | ("intltool" ,intltool) | |
1746 | ("pkg-config" ,pkg-config) | |
1747 | ("vala" ,vala) | |
1748 | ("xsltproc" ,libxslt))) | |
1749 | ;; These are needed for the tests. | |
1750 | ;; FIXME: Add gjs once available. | |
1751 | ;("dbus" ,dbus) | |
1752 | ;("python2" ,python-2) | |
1753 | ;("python2-dbus" ,python2-dbus) | |
1754 | ;("python2-pygobject" ,python2-pygobject) | |
1755 | ;("python2-pygobject-2" ,python2-pygobject-2))) | |
1756 | (propagated-inputs | |
1757 | `(("glib" ,glib))) ; required by libsecret-1.pc | |
1758 | (inputs | |
1759 | `(("docbook-xsl" ,docbook-xsl) | |
1760 | ("libgcrypt" ,libgcrypt) | |
1761 | ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES | |
1762 | (home-page "https://wiki.gnome.org/Projects/Libsecret/") | |
1763 | (synopsis "GObject bindings for \"Secret Service\" API") | |
1764 | (description | |
1765 | "Libsecret is a GObject based library for storing and retrieving passwords | |
1766 | and other secrets. It communicates with the \"Secret Service\" using DBus.") | |
1767 | (license license:lgpl2.1+))) | |
1768 | ||
a31a6d22 SB |
1769 | (define-public gnome-mines |
1770 | (package | |
1771 | (name "gnome-mines") | |
121398e7 | 1772 | (version "3.16.0") |
a31a6d22 SB |
1773 | (source |
1774 | (origin | |
1775 | (method url-fetch) | |
1776 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1777 | (version-major+minor version) "/" | |
1778 | name "-" version ".tar.xz")) | |
1779 | (sha256 | |
1780 | (base32 | |
121398e7 | 1781 | "0wfvqyryc1093l4dr75zv9h0jyn28z6wirdq03lm5w24qf9lvjjx")))) |
a31a6d22 SB |
1782 | (build-system glib-or-gtk-build-system) |
1783 | (arguments | |
1784 | '(#:phases | |
1785 | (modify-phases %standard-phases | |
f8503e2b | 1786 | (add-before 'configure 'patch-/bin/true |
a31a6d22 SB |
1787 | (lambda _ |
1788 | (substitute* "configure" | |
1789 | (("/bin/true") (which "true"))))) | |
f8503e2b | 1790 | (add-after 'install 'wrap-pixbuf |
a31a6d22 SB |
1791 | ;; Use librsvg's loaders.cache to support SVG files. |
1792 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
1793 | (let* ((out (assoc-ref outputs "out")) | |
1794 | (prog (string-append out "/bin/gnome-mines")) | |
1795 | (rsvg (assoc-ref inputs "librsvg")) | |
1796 | (pixbuf (find-files rsvg "^loaders\\.cache$"))) | |
1797 | (wrap-program prog | |
1798 | `("GDK_PIXBUF_MODULE_FILE" = ,pixbuf)))))))) | |
1799 | (native-inputs | |
1800 | `(("pkg-config" ,pkg-config) | |
1801 | ("desktop-file-utils" ,desktop-file-utils) | |
1802 | ("intltool" ,intltool) | |
1803 | ("itstool" ,itstool))) | |
1804 | (inputs | |
1805 | `(("gtk+" ,gtk+) | |
1806 | ("librsvg" ,librsvg))) | |
1807 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
1808 | (synopsis "Minesweeper game") | |
1809 | (description | |
1810 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
1811 | floating in an ocean using only your brain and a little bit of luck.") | |
1812 | (license license:gpl2+))) | |
88f70665 AW |
1813 | |
1814 | (define-public gnome-terminal | |
1815 | (package | |
1816 | (name "gnome-terminal") | |
1817 | (version "3.16.0") | |
1818 | (source | |
1819 | (origin | |
1820 | (method url-fetch) | |
1821 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1822 | (version-major+minor version) "/" | |
1823 | name "-" version ".tar.xz")) | |
1824 | (sha256 | |
1825 | (base32 | |
1826 | "1s3zwqxs4crlqmh6l7s7n87pbmh2nnjdvhxlkalh58pbl0bk0qrd")))) | |
1827 | (build-system glib-or-gtk-build-system) | |
1828 | (arguments | |
1829 | '(#:configure-flags | |
1830 | (list "--disable-migration" "--disable-search-provider" | |
1831 | "--without-nautilus-extension") | |
1832 | #:phases | |
1833 | (modify-phases %standard-phases | |
3a4de6b2 | 1834 | (add-before 'configure 'patch-/bin/true |
88f70665 AW |
1835 | (lambda _ |
1836 | (substitute* "configure" | |
1837 | (("/bin/true") (which "true")))))))) | |
1838 | (native-inputs | |
1839 | `(("pkg-config" ,pkg-config) | |
1840 | ("desktop-file-utils" ,desktop-file-utils) | |
1841 | ("intltool" ,intltool) | |
1842 | ("itstool" ,itstool))) | |
1843 | (inputs | |
1844 | `(("gtk+" ,gtk+) | |
1845 | ("vte" ,vte) | |
1846 | ("gnutls" ,gnutls) | |
1847 | ("dconf" ,dconf) | |
1848 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1849 | ("util-linux" ,util-linux) | |
1850 | ("vala" ,vala))) | |
1851 | (home-page "https://wiki.gnome.org/Apps/Terminal") | |
1852 | (synopsis "Terminal emulator") | |
1853 | (description | |
1854 | "GNOME Terminal is a terminal emulator application for accessing a | |
1855 | UNIX shell environment which can be used to run programs available on | |
1856 | your system. | |
1857 | ||
1858 | It supports several profiles, multiple tabs and implements several | |
1859 | keyboard shortcuts.") | |
1860 | (license license:gpl3+))) | |
75016d07 AW |
1861 | |
1862 | (define-public colord | |
1863 | (package | |
1864 | (name "colord") | |
1865 | (version "1.1.8") | |
1866 | (source | |
1867 | (origin | |
1868 | (method url-fetch) | |
1869 | (uri (string-append "http://www.freedesktop.org/software/colord/releases/" | |
1870 | name "-" version ".tar.xz")) | |
1871 | (sha256 | |
1872 | (base32 | |
1873 | "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph")))) | |
1874 | (build-system glib-or-gtk-build-system) | |
1875 | (arguments | |
1876 | '(;; The tests want to run valgrind. Punt for now. | |
1877 | #:tests? #f | |
1878 | #:configure-flags (list "--localstatedir=/var" | |
1879 | ;; GUSB not packaged yet. | |
1880 | "--disable-gusb" | |
1881 | ;; No dep on systemd. | |
1882 | "--disable-systemd-login" | |
1883 | ;; Wants to install to global completion dir; | |
1884 | ;; punt. | |
1885 | "--disable-bash-completion" | |
1886 | ;; colord-gtk not packaged yet. | |
1887 | "--disable-session-example" | |
1888 | "--with-daemon-user=colord" | |
1889 | "--enable-sane" | |
1890 | (string-append "--with-udevrulesdir=" | |
1891 | (assoc-ref %outputs "out") | |
1892 | "/lib/udev/rules.d")) | |
1893 | #:phases | |
1894 | (modify-phases %standard-phases | |
3a4de6b2 | 1895 | (add-before 'configure 'patch-/bin/true |
75016d07 AW |
1896 | (lambda _ |
1897 | (substitute* "configure" | |
1898 | (("/bin/true") (which "true"))) | |
1899 | (substitute* "src/Makefile.in" | |
1900 | (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;") | |
b19d6805 | 1901 | "if test -w $(DESTDIR)$(localstatedir);"))))))) |
75016d07 AW |
1902 | (native-inputs |
1903 | `(("pkg-config" ,pkg-config) | |
1904 | ("gobject-introspection" ,gobject-introspection) | |
1905 | ("libtool" ,libtool) | |
1906 | ("intltool" ,intltool))) | |
1907 | (inputs | |
1908 | `(("eudev" ,eudev) | |
1909 | ("dbus" ,dbus) | |
1910 | ("dbus-glib" ,dbus-glib) | |
1911 | ("libusb" ,libusb) | |
1912 | ("lcms" ,lcms) | |
1913 | ("sqlite" ,sqlite) | |
1914 | ("polkit" ,polkit) | |
1915 | ("sane-backends" ,sane-backends))) | |
1916 | (home-page "http://www.freedesktop.org/software/colord/") | |
1917 | (synopsis "Color management service") | |
1918 | (description "Colord is a system service that makes it easy to manage, | |
1919 | install and generate color profiles to accurately color manage input and | |
1920 | output devices.") | |
1921 | (license license:gpl2+))) | |
7b2abd00 AW |
1922 | |
1923 | (define-public geoclue | |
1924 | (package | |
1925 | (name "geoclue") | |
1926 | (version "2.1.10") | |
1927 | (source | |
1928 | (origin | |
1929 | (method url-fetch) | |
1930 | (uri (string-append "http://www.freedesktop.org/software/" name | |
1931 | "/releases/" (version-major+minor version) "/" | |
1932 | name "-" version ".tar.xz")) | |
1933 | (sha256 | |
1934 | (base32 | |
1935 | "0s0ws2bx5g1cbjamxmm448r4n4crha2fwpzm8zbx6cq6qslygmzi")) | |
1936 | (patches (list (search-patch "geoclue-config.patch"))))) | |
1937 | (build-system glib-or-gtk-build-system) | |
1938 | (arguments | |
1939 | '(;; The tests want to run the system bus. | |
1940 | #:tests? #f | |
1941 | #:configure-flags (list ;; Disable bits requiring ModemManager. | |
1942 | "--disable-3g-source" | |
1943 | "--disable-cdma-source" | |
1944 | "--disable-modem-gps-source" | |
1945 | "--with-dbus-service-user=geoclue") | |
1946 | #:phases | |
1947 | (modify-phases %standard-phases | |
3a4de6b2 | 1948 | (add-before 'configure 'patch-/bin/true |
7b2abd00 AW |
1949 | (lambda _ |
1950 | (substitute* "configure" | |
1951 | (("/bin/true") (which "true")))))))) | |
1952 | (native-inputs | |
1953 | `(("pkg-config" ,pkg-config) | |
1954 | ("intltool" ,intltool))) | |
1955 | (inputs | |
1956 | `(("glib" ,glib) | |
1957 | ("json-glib" ,json-glib) | |
1958 | ("libsoup" ,libsoup))) | |
1959 | (home-page "http://freedesktop.org/wiki/Software/GeoClue/") | |
1960 | (synopsis "Geolocation service") | |
1961 | (description "Geoclue is a D-Bus service that provides location | |
1962 | information. The primary goal of the Geoclue project is to make creating | |
1963 | location-aware applications as simple as possible, while the secondary goal is | |
1964 | to ensure that no application can access location information without explicit | |
1965 | permission from user. ") | |
1966 | (license license:gpl2+))) | |
2bfe7437 AW |
1967 | |
1968 | (define-public geocode-glib | |
1969 | (package | |
1970 | (name "geocode-glib") | |
1971 | (version "3.16.0") | |
1972 | (source (origin | |
1973 | (method url-fetch) | |
1974 | (uri (string-append "mirror://gnome/sources/geocode-glib/" | |
1975 | (version-major+minor version) "/" | |
1976 | name "-" version ".tar.xz")) | |
1977 | (sha256 | |
1978 | (base32 | |
1979 | "1cbfv0kds6b6k0cl7q47xpj3x1scwcd7m68zl1rf7i4hmhw4hpqj")))) | |
1980 | (build-system gnu-build-system) | |
1981 | (arguments | |
1982 | `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't | |
1983 | ;; work for the builder. Punt. | |
1984 | #:tests? #f | |
2bfe7437 AW |
1985 | )) |
1986 | (native-inputs | |
1987 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
1988 | ("gobject-introspection" ,gobject-introspection) | |
1989 | ("pkg-config" ,pkg-config) | |
1990 | ("json-glib" ,json-glib))) | |
1991 | (propagated-inputs | |
1992 | ;; geocode-glib-1.0.pc refers to GIO. | |
1993 | `(("glib" ,glib))) | |
1994 | (inputs | |
1995 | `(("libsoup" ,libsoup))) | |
1996 | (home-page "https://github.com/GNOME/geocode-glib/") | |
1997 | (synopsis "Geocoding and reverse-geocoding library") | |
1998 | (description | |
1999 | "geocode-glib is a convenience library for geocoding (finding longitude, | |
2000 | and latitude from an address) and reverse geocoding (finding an address from | |
2001 | coordinates) using the Nominatim service. geocode-glib caches requests for | |
2002 | faster results and to avoid unnecessary server load.") | |
2003 | (license license:lgpl2.0+))) | |
a1d5bb0e AW |
2004 | |
2005 | (define-public upower | |
2006 | (package | |
2007 | (name "upower") | |
2008 | (version "0.99.2") | |
2009 | (source (origin | |
2010 | (method url-fetch) | |
2011 | (uri (string-append "http://upower.freedesktop.org/releases/" | |
2012 | name "-" version ".tar.xz")) | |
2013 | (sha256 | |
2014 | (base32 | |
2015 | "0vwlh20jmaf01m38kfn8yx2869a3clmkzlycrj99rf4nvwx4bp79")) | |
2016 | (patches (list (search-patch "upower-builddir.patch"))))) | |
2017 | (build-system glib-or-gtk-build-system) | |
2018 | (arguments | |
2019 | '( ;; The tests want to contact the system bus, which can't be done in the | |
2020 | ;; build environment. The integration test can run, but the last of | |
2021 | ;; the up-self-tests doesn't. Disable tests for now. | |
2022 | #:tests? #f | |
2023 | #:configure-flags (list "--localstatedir=/var" | |
2024 | (string-append "--with-udevrulesdir=" | |
2025 | (assoc-ref %outputs "out") | |
2026 | "/lib/udev/rules.d")) | |
2027 | #:phases | |
2028 | (modify-phases %standard-phases | |
2029 | (add-before 'configure 'patch-/bin/true | |
2030 | (lambda _ | |
2031 | (substitute* "configure" | |
2032 | (("/bin/true") (which "true"))))) | |
2033 | (add-before 'configure 'patch-integration-test | |
2034 | (lambda _ | |
2035 | (substitute* "src/linux/integration-test" | |
2036 | (("/usr/bin/python3") (which "python3")))))))) | |
2037 | (native-inputs | |
2038 | `(("pkg-config" ,pkg-config) | |
2039 | ("intltool" ,intltool) | |
2040 | ("python" ,python))) | |
2041 | (inputs | |
2042 | `(("eudev" ,eudev) | |
2043 | ("dbus" ,dbus) | |
2044 | ("dbus-glib" ,dbus-glib) | |
2045 | ("libusb" ,libusb))) | |
2046 | (home-page "http://upower.freedesktop.org/") | |
2047 | (synopsis "System daemon for managing power devices") | |
2048 | (description | |
2049 | "UPower is an abstraction for enumerating power devices, | |
2050 | listening to device events and querying history and statistics. Any | |
2051 | application or service on the system can access the org.freedesktop.UPower | |
2052 | service via the system message bus.") | |
2053 | (license license:gpl2+))) | |
6a180f6f AW |
2054 | |
2055 | (define-public libgweather | |
2056 | (package | |
2057 | (name "libgweather") | |
2058 | (version "3.16.0") | |
2059 | (source (origin | |
2060 | (method url-fetch) | |
2061 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2062 | (version-major+minor version) "/" | |
2063 | name "-" version ".tar.xz")) | |
2064 | (sha256 | |
2065 | (base32 | |
2066 | "0x1z6wv7hdw2ivlkifcbd940zyrnvqvc4zh2drgvd2r6jmd7bjza")))) | |
2067 | (build-system gnu-build-system) | |
2068 | (arguments | |
2069 | `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't | |
2070 | ;; work for the builder. Punt. | |
2071 | #:tests? #f | |
6a180f6f AW |
2072 | #:configure-flags |
2073 | `(;; No introspection for now, as it wants to install to | |
2074 | ;; gobject-introspection's own directory and I don't know how to easily | |
2075 | ;; override this. | |
2076 | "--enable-introspection=no" | |
2077 | ,(string-append "--with-zoneinfo-dir=" | |
2078 | (assoc-ref %build-inputs "tzdata") | |
2079 | "/share/zoneinfo")))) | |
2080 | (native-inputs | |
2081 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2082 | ("pkg-config" ,pkg-config) | |
2083 | ("intltool" ,intltool))) | |
2084 | (propagated-inputs | |
2085 | ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and | |
2086 | ;; libsoup. | |
2087 | `(("gtk+" ,gtk+) | |
2088 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2089 | ("libxml2" ,libxml2) | |
2090 | ("libsoup" ,libsoup))) | |
2091 | (inputs | |
2092 | `(("tzdata" ,tzdata) | |
2093 | ("geocode-glib" ,geocode-glib))) | |
2094 | (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") | |
2095 | (synopsis "Location, time zone, and weather library for GNOME") | |
2096 | (description | |
2097 | "libgweather is a library to access weather information from online | |
2098 | services for numerous locations.") | |
2099 | (license license:gpl2+))) | |
23a22af6 AW |
2100 | |
2101 | (define-public gnome-settings-daemon | |
2102 | (package | |
2103 | (name "gnome-settings-daemon") | |
2104 | (version "3.16.0") | |
2105 | (source | |
2106 | (origin | |
2107 | (method url-fetch) | |
2108 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2109 | (version-major+minor version) "/" | |
2110 | name "-" version ".tar.xz")) | |
2111 | (sha256 | |
2112 | (base32 | |
2113 | "1w29x2izq59125ga5ncmmaklc8kw7x7rdn6swn26bs23mah1r1g3")))) | |
2114 | (build-system glib-or-gtk-build-system) | |
2115 | (arguments | |
ec2b1921 | 2116 | `(;; Network manager not yet packaged. |
23a22af6 AW |
2117 | #:configure-flags '("--disable-network-manager") |
2118 | ;; Color management test can't reach the colord system service. | |
2119 | #:tests? #f)) | |
2120 | (native-inputs | |
2121 | `(("pkg-config" ,pkg-config) | |
2122 | ("intltool" ,intltool) | |
2123 | ("xsltproc" ,libxslt) | |
2124 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES | |
2125 | ("docbook-xml" ,docbook-xml-4.2) | |
2126 | ("docbook-xsl" ,docbook-xsl))) | |
2127 | (inputs | |
2128 | `(("colord" ,colord) | |
2129 | ("eudev" ,eudev) | |
2130 | ("upower" ,upower) | |
2131 | ("polkit" ,polkit) | |
2132 | ("pulseaudio" ,pulseaudio) | |
2133 | ("libcanberra" ,libcanberra) | |
2134 | ("libx11" ,libx11) | |
2135 | ("libxtst" ,libxtst) | |
2136 | ("lcms" ,lcms) | |
2137 | ("libnotify" ,libnotify) | |
2138 | ("geoclue" ,geoclue) | |
2139 | ("geocode-glib" ,geocode-glib) | |
2140 | ("libgweather" ,libgweather) | |
2141 | ("gnome-desktop" ,gnome-desktop) | |
2142 | ("nss" ,nss) | |
2143 | ("cups" ,cups) | |
ec2b1921 AW |
2144 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2145 | ("libwacom" ,libwacom) | |
2146 | ("librsvg" ,librsvg) | |
2147 | ("xf86-input-wacom" ,xf86-input-wacom))) | |
23a22af6 AW |
2148 | (home-page "http://www.gnome.org") |
2149 | (synopsis "GNOME settings daemon") | |
2150 | (description | |
2151 | "This package contains the daemon responsible for setting the various | |
2152 | parameters of a GNOME session and the applications that run under it. It | |
2153 | handles settings such keyboard layout, shortcuts, and accessibility, clipboard | |
2154 | settings, themes, mouse settings, and startup of other daemons.") | |
2155 | (license license:gpl2+))) |