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 | |
9e12bc34 MW |
887 | `(;; XXX The 'test-async-cancel' test often fails. |
888 | #:make-flags '("XFAIL_TESTS=test-async-cancel") | |
889 | ||
890 | #:phases | |
891 | (alist-cons-before | |
892 | 'configure 'ignore-deprecations | |
893 | (lambda _ | |
894 | (substitute* '("libgnomevfs/Makefile.in" | |
895 | "daemon/Makefile.in") | |
896 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
897 | #t) | |
898 | %standard-phases))) | |
5698b8b8 JD |
899 | (inputs `(("glib" ,glib) |
900 | ("libxml2" ,libxml2) | |
901 | ("dbus-glib" ,dbus-glib) | |
902 | ("dbus" ,dbus) | |
903 | ("gconf" ,gconf) | |
904 | ("gnome-mime-data" ,gnome-mime-data) | |
905 | ("zlib" ,zlib))) | |
906 | (native-inputs | |
221ed17a EB |
907 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
908 | ("intltool" ,intltool) | |
5698b8b8 JD |
909 | ("pkg-config" ,pkg-config))) |
910 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 911 | (synopsis "Access files and folders in GNOME applications") |
9e12bc34 MW |
912 | (description |
913 | "GnomeVFS is the core library used to access files and folders in GNOME | |
914 | applications. It provides a file system abstraction which allows applications | |
915 | to access local and remote files with a single consistent API.") | |
5698b8b8 JD |
916 | (license license:lgpl2.0+))) |
917 | ||
918 | ||
919 | ||
920 | (define-public libgnome | |
921 | (package | |
922 | (name "libgnome") | |
923 | (version "2.32.1") | |
924 | (source (origin | |
925 | (method url-fetch) | |
b38e45d8 EB |
926 | (uri (string-append "mirror://gnome/sources/" name "/" |
927 | (version-major+minor version) "/" | |
928 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
929 | (sha256 |
930 | (base32 | |
931 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")))) | |
932 | (build-system gnu-build-system) | |
933 | (arguments | |
934 | `(#:phases | |
935 | (alist-cons-before | |
936 | 'configure 'enable-deprecated | |
937 | (lambda _ | |
938 | (substitute* "libgnome/Makefile.in" | |
939 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
940 | %standard-phases))) | |
941 | (inputs `(("popt" ,popt) | |
942 | ("libxml2" ,libxml2))) | |
943 | (native-inputs | |
221ed17a EB |
944 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
945 | ("intltool" ,intltool) | |
5698b8b8 JD |
946 | ("pkg-config" ,pkg-config))) |
947 | ;; The following are listed as Required in the .pc file | |
948 | ;; (except for libcanberra -- which seems to be oversight on the part | |
949 | ;; of the upstream developers -- anything that links against libgnome, | |
950 | ;; must also link against libcanberra | |
951 | (propagated-inputs | |
952 | `(("libcanberra" ,libcanberra) | |
953 | ("libbonobo" ,libbonobo) | |
954 | ("gconf" ,gconf) | |
955 | ("gnome-vfs" ,gnome-vfs) | |
956 | ("glib" ,glib))) | |
957 | (home-page "https://developer.gnome.org/libgnome/") | |
958 | (synopsis "Useful routines for building applications") | |
959 | (description "The libgnome library provides a number of useful routines | |
960 | for building modern applications, including session management, activation of | |
961 | files and URIs, and displaying help.") | |
962 | (license license:lgpl2.0+))) | |
963 | ||
964 | ||
965 | (define-public libart-lgpl | |
966 | (package | |
967 | (name "libart-lgpl") | |
76c9b6aa | 968 | (version "2.3.21") |
5698b8b8 JD |
969 | (source (origin |
970 | (method url-fetch) | |
971 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
972 | (string-append "mirror://gnome/sources/" upstream-name "/" |
973 | (version-major+minor version) "/" | |
974 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
975 | (sha256 |
976 | (base32 | |
76c9b6aa | 977 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
978 | (build-system gnu-build-system) |
979 | (native-inputs | |
980 | `(("pkg-config" ,pkg-config))) | |
981 | (home-page "https://people.gnome.org/~mathieu/libart") | |
982 | (synopsis "2D drawing library") | |
983 | (description "Libart is a 2D drawing library intended as a | |
984 | high-quality vector-based 2D library with antialiasing and alpha composition.") | |
985 | (license license:lgpl2.0+))) | |
986 | ||
987 | ||
988 | ||
989 | (define-public libgnomecanvas | |
990 | (package | |
991 | (name "libgnomecanvas") | |
992 | (version "2.30.3") | |
993 | (source (origin | |
994 | (method url-fetch) | |
b38e45d8 EB |
995 | (uri (string-append "mirror://gnome/sources/" name "/" |
996 | (version-major+minor version) "/" | |
997 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
998 | (sha256 |
999 | (base32 | |
1000 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
1001 | (build-system gnu-build-system) | |
1002 | ;; Mentioned as Required in the .pc file | |
1003 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
1004 | ("gtk+" ,gtk+-2))) | |
1005 | (native-inputs | |
1006 | `(("intltool" ,intltool) | |
221ed17a | 1007 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1008 | ("pkg-config" ,pkg-config))) |
1009 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
1010 | (synopsis "Flexible widget for creating interactive structured graphics") | |
1011 | (description "The GnomeCanvas widget provides a flexible widget for | |
1012 | creating interactive structured graphics.") | |
1013 | (license license:lgpl2.0+))) | |
1014 | ||
eadc734e RW |
1015 | (define-public libgnomecanvasmm |
1016 | (package | |
1017 | (name "libgnomecanvasmm") | |
1018 | (version "2.26.0") | |
1019 | (source (origin | |
1020 | (method url-fetch) | |
1021 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1022 | (version-major+minor version) "/" | |
1023 | name "-" version ".tar.bz2")) | |
1024 | (sha256 | |
1025 | (base32 | |
1026 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1027 | (build-system gnu-build-system) | |
1028 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) | |
1029 | (native-inputs | |
1030 | `(("gtkmm-2" ,gtkmm-2) | |
1031 | ("pkg-config" ,pkg-config))) | |
1032 | (home-page "http://gtkmm.org") | |
1033 | (synopsis "C++ bindings to the GNOME Canvas library") | |
1034 | (description "C++ bindings to the GNOME Canvas library.") | |
1035 | (license license:lgpl2.0+))) | |
1036 | ||
5698b8b8 JD |
1037 | (define-public libgnomeui |
1038 | (package | |
1039 | (name "libgnomeui") | |
1040 | (version "2.24.5") | |
1041 | (source (origin | |
1042 | (method url-fetch) | |
b38e45d8 EB |
1043 | (uri (string-append "mirror://gnome/sources/" name "/" |
1044 | (version-major+minor version) "/" | |
1045 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1046 | (sha256 |
1047 | (base32 | |
1048 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1049 | (build-system gnu-build-system) | |
1050 | ;; Mentioned as Required in the .pc file | |
1051 | (propagated-inputs `(("libgnome" ,libgnome) | |
1052 | ("libgnome-keyring" ,libgnome-keyring))) | |
1053 | (inputs `(("libgnomecanvas" ,libgnomecanvas) | |
1054 | ("libbonoboui" ,libbonoboui) | |
1055 | ("libjpeg" ,libjpeg) | |
1056 | ("popt" ,popt) | |
1057 | ("libbonobo" ,libbonobo) | |
1058 | ("libxml2" ,libxml2) | |
1059 | ("libglade" ,libglade))) | |
1060 | (native-inputs | |
221ed17a EB |
1061 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1062 | ("intltool" ,intltool) | |
5698b8b8 JD |
1063 | ("pkg-config" ,pkg-config))) |
1064 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1065 | (synopsis "Additional widgets for applications") | |
35b9e423 EB |
1066 | (description "The libgnomeui library provides additional widgets for |
1067 | applications. Many of the widgets from libgnomeui have already been ported to GTK+.") | |
5698b8b8 JD |
1068 | (license license:lgpl2.0+))) |
1069 | ||
1070 | (define-public libglade | |
1071 | (package | |
1072 | (name "libglade") | |
1073 | (version "2.6.4") | |
1074 | (source (origin | |
1075 | (method url-fetch) | |
b38e45d8 EB |
1076 | (uri (string-append "mirror://gnome/sources/" name "/" |
1077 | (version-major+minor version) "/" | |
1078 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1079 | (sha256 |
1080 | (base32 | |
1081 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1082 | (build-system gnu-build-system) | |
1083 | (inputs | |
1084 | `(("gtk+-2" ,gtk+-2) | |
1085 | ("libxml2" ,libxml2) | |
1086 | ("python" ,python))) ;; needed for the optional libglade-convert program | |
1087 | (native-inputs | |
1088 | `(("pkg-config" ,pkg-config))) | |
1089 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1090 | (synopsis "Load glade interfaces and access the glade built widgets") |
1091 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1092 | graphical interfaces described in glade files and for accessing the |
1093 | widgets built in the loading process.") | |
1094 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1095 | ||
1096 | (define-public libgnomeprint | |
eb497b66 LC |
1097 | ;; This library has been deprecated since 2006; see |
1098 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1099 | (package |
1100 | (name "libgnomeprint") | |
1101 | (version "2.8.2") | |
1102 | (source (origin | |
1103 | (method url-fetch) | |
b38e45d8 EB |
1104 | (uri (string-append "mirror://gnome/sources/" name "/" |
1105 | (version-major+minor version) "/" | |
1106 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1107 | (sha256 |
1108 | (base32 | |
3edce2c9 RW |
1109 | "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")) |
1110 | (modules '((guix build utils))) | |
1111 | (snippet | |
1112 | ;; Adapt to newer freetype. As the package is deprecated, there | |
1113 | ;; is no use in creating a patch and reporting it. | |
1114 | '(substitute* '("libgnomeprint/gnome-font-face.c" | |
1115 | "libgnomeprint/gnome-rfont.c") | |
1116 | (("freetype/") "freetype2/"))))) | |
5698b8b8 JD |
1117 | (build-system gnu-build-system) |
1118 | (inputs | |
1119 | `(("popt" ,popt) | |
1120 | ("libart-lgpl" ,libart-lgpl) | |
1121 | ("gtk+" ,gtk+-2) | |
44add1ce | 1122 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1123 | (native-inputs |
1124 | `(("intltool" ,intltool) | |
221ed17a | 1125 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1126 | ("pkg-config" ,pkg-config))) |
1127 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1128 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1129 | (description |
1130 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1131 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1132 | (license license:lgpl2.0+))) |
1133 | ||
1134 | ||
1135 | (define-public libgnomeprintui | |
eb497b66 | 1136 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1137 | (package |
1138 | (name "libgnomeprintui") | |
1139 | (version "2.8.2") | |
1140 | (source (origin | |
1141 | (method url-fetch) | |
b38e45d8 EB |
1142 | (uri (string-append "mirror://gnome/sources/" name "/" |
1143 | (version-major+minor version) "/" | |
1144 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1145 | (sha256 |
1146 | (base32 | |
1147 | "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw")))) | |
1148 | (build-system gnu-build-system) | |
1149 | ;; Mentioned as Required in the .pc file | |
1150 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1151 | (inputs `(("gtk+" ,gtk+-2) | |
1152 | ("glib" ,glib) | |
1153 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1154 | ("libgnomecanvas" ,libgnomecanvas) | |
1155 | ("libxml2" ,libxml2))) | |
1156 | (native-inputs | |
1157 | `(("intltool" ,intltool) | |
1158 | ("pkg-config" ,pkg-config))) | |
1159 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1160 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1161 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1162 | (license license:lgpl2.0+))) |
1163 | ||
5698b8b8 JD |
1164 | (define-public libbonoboui |
1165 | (package | |
1166 | (name "libbonoboui") | |
1167 | (version "2.24.5") | |
1168 | (source (origin | |
1169 | (method url-fetch) | |
b38e45d8 EB |
1170 | (uri (string-append "mirror://gnome/sources/" name "/" |
1171 | (version-major+minor version) "/" | |
1172 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1173 | (sha256 |
1174 | (base32 | |
1175 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1176 | (build-system gnu-build-system) | |
1177 | (arguments | |
1178 | `(#:phases | |
1179 | (alist-cons-before | |
1180 | 'check 'start-xserver | |
1181 | (lambda* (#:key inputs #:allow-other-keys) | |
1182 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1183 | (disp ":1")) | |
1184 | ||
1185 | (setenv "HOME" (getcwd)) | |
1186 | (setenv "DISPLAY" disp) | |
1187 | ;; There must be a running X server and make check doesn't start one. | |
1188 | ;; Therefore we must do it. | |
1189 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))) | |
1190 | %standard-phases))) | |
1191 | ;; Mentioned as Required by the .pc file | |
1192 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1193 | (inputs | |
1194 | `(("popt" ,popt) | |
1195 | ("pangox-compat" ,pangox-compat) | |
1196 | ("libgnome" ,libgnome) | |
1197 | ("libgnomecanvas" ,libgnomecanvas) | |
1198 | ("libglade" ,libglade))) | |
1199 | (native-inputs | |
221ed17a EB |
1200 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
1201 | ("intltool" ,intltool) | |
5698b8b8 JD |
1202 | ("xorg-server" ,xorg-server) ; For running the tests |
1203 | ("pkg-config" ,pkg-config))) | |
1204 | (home-page "https://developer.gnome.org/libbonoboui/") | |
1205 | (synopsis "Some user interface controls using Bonobo") | |
1206 | (description "The Bonobo UI library provides a number of user interface | |
1207 | controls using the Bonobo component framework.") | |
1208 | (license license:lgpl2.0+))) | |
1209 | ||
fecbf86e SB |
1210 | (define-public libwnck |
1211 | (package | |
1212 | (name "libwnck") | |
1213 | (version "3.14.0") | |
1214 | (source (origin | |
1215 | (method url-fetch) | |
1216 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1217 | (version-major+minor version) "/" | |
1218 | name "-" version ".tar.xz")) | |
1219 | (sha256 | |
1220 | (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m")))) | |
1221 | (build-system gnu-build-system) | |
1222 | (native-inputs | |
1223 | `(("pkg-config" ,pkg-config) | |
1224 | ("intltool" ,intltool))) | |
1225 | (propagated-inputs | |
427476d5 SB |
1226 | `(("gtk+" ,gtk+) |
1227 | ("libxres" ,libxres) | |
1228 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
1229 | (home-page "https://developer.gnome.org/libwnck/") |
1230 | (synopsis "Window Navigator Construction Kit") | |
1231 | (description | |
1232 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
1233 | writing pagers, tasklists, and more generally applications that are dealing | |
1234 | with window management. It tries hard to respect the Extended Window Manager | |
1235 | Hints specification (EWMH).") | |
1236 | (license license:lgpl2.0+))) | |
1237 | ||
1238 | ;; stable version for gtk2, required by xfwm4. | |
1239 | (define-public libwnck-1 | |
1240 | (package (inherit libwnck) | |
1241 | (name "libwnck") | |
1242 | (version "2.30.7") | |
1243 | (source (origin | |
1244 | (method url-fetch) | |
1245 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1246 | (version-major+minor version) "/" | |
1247 | name "-" version ".tar.xz")) | |
1248 | (sha256 | |
1249 | (base32 | |
1250 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
1251 | (propagated-inputs | |
427476d5 SB |
1252 | `(("gtk+" ,gtk+-2) |
1253 | ("libxres" ,libxres) | |
1254 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
1255 | |
1256 | (define-public goffice | |
1257 | (package | |
1258 | (name "goffice") | |
1259 | (version "0.10.14") | |
1260 | (source (origin | |
1261 | (method url-fetch) | |
b38e45d8 EB |
1262 | (uri (string-append "mirror://gnome/sources/" name "/" |
1263 | (version-major+minor version) "/" | |
1264 | name "-" version ".tar.xz")) | |
b804c61e JD |
1265 | (sha256 |
1266 | (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60")))) | |
1267 | (build-system gnu-build-system) | |
1268 | (inputs | |
1269 | `(("gtk+" ,gtk+) | |
1270 | ("libgsf" ,libgsf) | |
1271 | ("librsvg" ,librsvg) | |
1272 | ("libxslt" ,libxslt) | |
1273 | ("libxml2" ,libxml2))) | |
1274 | (native-inputs | |
1275 | `(("intltool" ,intltool) | |
f280cdb1 | 1276 | ("glib" ,glib "bin") |
b804c61e JD |
1277 | ("pkg-config" ,pkg-config))) |
1278 | (home-page "https://developer.gnome.org/goffice/") | |
1279 | (synopsis "Document-centric objects and utilities") | |
1280 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
1281 | (license | |
1282 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") | |
1283 | ;; Note: NOT LGPL | |
1284 | (list license:gpl2 license:gpl3)))) | |
1285 | ||
1286 | (define-public gnumeric | |
1287 | (package | |
1288 | (name "gnumeric") | |
1289 | (version "1.12.17") | |
1290 | (source (origin | |
1291 | (method url-fetch) | |
b38e45d8 EB |
1292 | (uri (string-append "mirror://gnome/sources/" name "/" |
1293 | (version-major+minor version) "/" | |
1294 | name "-" version ".tar.xz")) | |
b804c61e JD |
1295 | (sha256 |
1296 | (base32 | |
1297 | "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c")))) | |
1298 | (build-system gnu-build-system) | |
1299 | (arguments | |
1300 | `(;; The gnumeric developers don't worry much about failing tests. | |
1301 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
1302 | #:tests? #f | |
1303 | #:phases | |
1304 | (alist-cons-before | |
1305 | 'configure 'pre-conf | |
1306 | (lambda* (#:key outputs #:allow-other-keys) | |
1307 | ;; Make install tries to write into the directory of goffice | |
1308 | ;; I am informed that this only affects the possibility to embed a | |
1309 | ;; spreadsheet inside an Abiword document. So presumably when we | |
1310 | ;; package Abiword we'll have to refer it to this directory. | |
1311 | (substitute* "configure" | |
1312 | (("^GOFFICE_PLUGINS_DIR=.*") | |
1313 | (string-append "GOFFICE_PLUGINS_DIR=" | |
1314 | (assoc-ref outputs "out") "/goffice/plugins")))) | |
1315 | %standard-phases))) | |
1316 | (inputs | |
1317 | `(("glib" ,glib) | |
1318 | ("gtk+" ,gtk+) | |
1319 | ("goffice" ,goffice) | |
1320 | ("libgsf" ,libgsf) | |
1321 | ("libxml2" ,libxml2) | |
1322 | ("zlib" ,zlib))) | |
1323 | (native-inputs | |
1324 | `(("intltool" ,intltool) | |
b9663471 | 1325 | ("glib:bin" ,glib "bin") |
b804c61e JD |
1326 | ("pkg-config" ,pkg-config))) |
1327 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
1328 | (synopsis "Spreadsheet application") |
1329 | (description | |
1330 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
1331 | interoperable with other spreadsheet applications. It has a vast array of | |
1332 | features beyond typical spreadsheet functionality, such as support for linear | |
1333 | and non-linear solvers, statistical analysis, and telecommunication | |
1334 | engineering.") | |
1335 | (license | |
b804c61e JD |
1336 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1337 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
1338 | |
1339 | (define-public gnome-themes-standard | |
1340 | (package | |
1341 | (name "gnome-themes-standard") | |
1342 | ;; The version of this package should be the same as the version of | |
1343 | ;; gnome-desktop. | |
1344 | (version (package-version gnome-desktop)) | |
1345 | (source | |
1346 | (origin | |
1347 | (method url-fetch) | |
1348 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1349 | (version-major+minor version) "/" name "-" | |
1350 | version ".tar.xz")) | |
1351 | (sha256 | |
1352 | (base32 | |
7dae5ac4 | 1353 | "0kyrbfrgl6g6wm6zpllldz36fclvl8vwmn1snwk18kf7f6ncpsac")))) |
6f885c05 FB |
1354 | (build-system gnu-build-system) |
1355 | (inputs | |
1356 | `(("gtk+" ,gtk+) | |
1357 | ("gtk+-2" ,gtk+-2) | |
1358 | ("librsvg" ,librsvg) | |
1359 | ("libxml2" ,libxml2) | |
1360 | ("glib" ,glib))) | |
1361 | (native-inputs | |
1362 | `(("intltool" ,intltool) | |
1363 | ("glib:bin" ,glib "bin") | |
1364 | ("pkg-config" ,pkg-config))) | |
1365 | (arguments | |
1366 | `(#:phases | |
1367 | (alist-cons-before | |
1368 | 'build 'use-full-cache | |
1369 | ;; Use librsvg's loaders.cache instead of the one provided by | |
1370 | ;; gdk-pixbuf because the latter does not include support for SVG | |
1371 | ;; files. | |
1372 | (lambda* (#:key inputs #:allow-other-keys) | |
1373 | (setenv "GDK_PIXBUF_MODULE_FILE" | |
1374 | (car (find-files (assoc-ref inputs "librsvg") | |
1375 | "loaders\\.cache")))) | |
1376 | %standard-phases))) | |
1377 | (home-page "https://launchpad.net/gnome-themes-standard") | |
1378 | (synopsis "Default GNOME 3 themes") | |
1379 | (description | |
1380 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
1381 | (license license:lgpl2.1+))) | |
5a659a48 SB |
1382 | |
1383 | (define-public vala | |
1384 | (package | |
1385 | (name "vala") | |
1386 | (version "0.26.1") | |
1387 | (source (origin | |
1388 | (method url-fetch) | |
1389 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1390 | (version-major+minor version) "/" | |
1391 | name "-" version ".tar.xz")) | |
1392 | (sha256 | |
1393 | (base32 | |
1394 | "0swyym2papln0f62ah05dpvq3vv6fssap26jq2zqp9dkkaqsn1w4")))) | |
1395 | (build-system gnu-build-system) | |
1396 | (arguments '(#:make-flags '("CC=gcc"))) | |
1397 | (native-inputs | |
1398 | `(("pkg-config" ,pkg-config) | |
1399 | ("flex" ,flex) | |
1400 | ("bison" ,bison) | |
1401 | ("xsltproc" ,libxslt) | |
1402 | ("dbus" ,dbus) ; for dbus tests | |
1403 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
1404 | (propagated-inputs | |
1405 | `(("glib" ,glib))) ; required by libvala-0.26.pc | |
1406 | (home-page "http://live.gnome.org/Vala/") | |
1407 | (synopsis "Compiler for the GObject type system") | |
1408 | (description | |
1409 | "Vala is a programming language that aims to bring modern programming | |
1410 | language features to GNOME developers without imposing any additional runtime | |
1411 | requirements and without using a different ABI compared to applications and | |
1412 | libraries written in C.") | |
1413 | (license license:lgpl2.1+))) | |
ea57378f SB |
1414 | |
1415 | (define-public vte | |
1416 | (package | |
1417 | (name "vte") | |
191e9b4e | 1418 | (version "0.40.0") |
ea57378f SB |
1419 | (source (origin |
1420 | (method url-fetch) | |
1421 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1422 | (version-major+minor version) "/" | |
1423 | name "-" version ".tar.xz")) | |
1424 | (sha256 | |
1425 | (base32 | |
191e9b4e | 1426 | "0lnq0bgkmsixjwmfacb2ch9qfjqjxa8zkk1hiv3l29kgca0n3nal")))) |
ea57378f SB |
1427 | (build-system gnu-build-system) |
1428 | (native-inputs | |
1429 | `(("pkg-config" ,pkg-config) | |
1430 | ("intltool" ,intltool) | |
1431 | ("vala" ,vala) | |
1432 | ("gobject-introspection" ,gobject-introspection) | |
1433 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
1434 | ("xmllint" ,libxml2))) | |
1435 | (propagated-inputs | |
302393bc LC |
1436 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
1437 | ("gnutls" ,gnutls))) ;ditto | |
7ed6ee1e FB |
1438 | (arguments |
1439 | `(#:phases | |
1440 | (alist-cons-before | |
1441 | 'build 'pre-build | |
1442 | (lambda* _ | |
1443 | (setenv "CC" "gcc")) | |
1444 | %standard-phases))) | |
ea57378f SB |
1445 | (home-page "http://www.gnome.org/") |
1446 | (synopsis "Virtual Terminal Emulator") | |
1447 | (description | |
1448 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
1449 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
1450 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
1451 | editors, IDEs, etc.") | |
1452 | (license license:lgpl2.1+))) | |
1453 | ||
1454 | ;; stable version for gtk2, required by xfce4-terminal. | |
1455 | (define-public vte/gtk+-2 | |
1456 | (package (inherit vte) | |
1457 | (name "vte") | |
1458 | (version "0.28.2") | |
1459 | (source (origin | |
1460 | (method url-fetch) | |
1461 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1462 | (version-major+minor version) "/" | |
1463 | name "-" version ".tar.xz")) | |
1464 | (sha256 | |
1465 | (base32 | |
1466 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")))) | |
1467 | (arguments | |
1468 | '(#:configure-flags '("--disable-python"))) | |
1469 | (native-inputs | |
1470 | `(("pkg-config" ,pkg-config) | |
1471 | ("intltool" ,intltool) | |
1472 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
1473 | (propagated-inputs | |
1474 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
1475 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 FB |
1476 | |
1477 | (define-public dconf | |
1478 | (package | |
1479 | (name "dconf") | |
1480 | (version "0.22.0") | |
1481 | (source (origin | |
1482 | (method url-fetch) | |
1483 | (uri (string-append | |
1484 | "mirror://gnome/sources/" name "/" | |
1485 | (version-major+minor version) "/" | |
1486 | name "-" version ".tar.xz")) | |
1487 | (sha256 | |
1488 | (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa")))) | |
1489 | (build-system glib-or-gtk-build-system) | |
1490 | (inputs | |
1491 | `(("gtk+" ,gtk+) | |
1492 | ("glib" ,glib) | |
1493 | ("dbus" ,dbus) | |
1494 | ("libxml2" ,libxml2))) | |
1495 | (native-inputs | |
1496 | `(("libxslt" ,libxslt) | |
1497 | ("docbook-xml" ,docbook-xml-4.2) | |
1498 | ("docbook-xsl" ,docbook-xsl) | |
1499 | ("intltool" ,intltool) | |
1500 | ("pkg-config" ,pkg-config))) | |
1501 | (arguments | |
1502 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
1503 | ; or /etc/machine-id. | |
1504 | #:configure-flags | |
1505 | ;; Set the correct RUNPATH in binaries. | |
1506 | (list (string-append "LDFLAGS=-Wl,-rpath=" | |
1507 | (assoc-ref %outputs "out") "/lib") | |
1508 | "--disable-gtk-doc-html") ; FIXME: requires gtk-doc | |
1509 | #:phases | |
1510 | (alist-cons-before | |
1511 | 'configure 'fix-docbook | |
1512 | (lambda* (#:key inputs #:allow-other-keys) | |
1513 | (substitute* "docs/Makefile.in" | |
1514 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
1515 | (string-append (assoc-ref inputs "docbook-xsl") | |
1516 | "/xml/xsl/docbook-xsl-" | |
1517 | ,(package-version docbook-xsl) | |
1518 | "/manpages/docbook.xsl"))) | |
1519 | (setenv "XML_CATALOG_FILES" | |
1520 | (string-append (assoc-ref inputs "docbook-xml") | |
1521 | "/xml/dtd/docbook/catalog.xml"))) | |
1522 | %standard-phases))) | |
1523 | (home-page "https://developer.gnome.org/dconf") | |
1524 | (synopsis "Low-level GNOME configuration system") | |
1525 | (description "Dconf is a low-level configuration system. Its main purpose | |
1526 | is to provide a backend to GSettings on platforms that don't already have | |
1527 | configuration storage systems.") | |
1528 | (license license:lgpl2.1))) | |
109da1c0 AE |
1529 | |
1530 | (define-public json-glib | |
1531 | (package | |
1532 | (name "json-glib") | |
1533 | (version "1.0.2") | |
1534 | (source (origin | |
1535 | (method url-fetch) | |
1536 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1537 | (version-major+minor version) "/" | |
1538 | name "-" version ".tar.xz")) | |
1539 | (sha256 | |
1540 | (base32 | |
1541 | "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8")))) | |
1542 | (build-system gnu-build-system) | |
88c6b580 LC |
1543 | (arguments |
1544 | '(#:phases (alist-cons-before | |
1545 | 'build 'set-cc | |
1546 | (lambda _ | |
1547 | ;; Set $CC so that g-ir-scanner works. | |
1548 | (setenv "CC" "gcc") | |
1549 | #t) | |
1550 | %standard-phases))) | |
109da1c0 | 1551 | (native-inputs |
88c6b580 | 1552 | `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal |
109da1c0 AE |
1553 | ("gobject-introspection" ,gobject-introspection) |
1554 | ("pkg-config" ,pkg-config))) | |
1555 | (propagated-inputs | |
88c6b580 | 1556 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
1557 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
1558 | (synopsis "Compiler for the GObject type system") | |
1559 | (description "JSON-GLib is a C library based on GLib providing | |
1560 | serialization and deserialization support for the JavaScript Object Notation | |
1561 | (JSON) format described by RFC 4627. It provides parser and generator | |
1562 | GObject classes and various wrappers for the complex data types employed by | |
1563 | JSON, such as arrays and objects.") | |
1564 | (license license:lgpl2.1+))) | |
6f96a359 SB |
1565 | |
1566 | (define-public libxklavier | |
1567 | (package | |
1568 | (name "libxklavier") | |
1569 | (version "5.3") | |
1570 | (source (origin | |
1571 | (method url-fetch) | |
1572 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1573 | version "/" name "-" version ".tar.xz")) | |
1574 | (sha256 | |
1575 | (base32 | |
1576 | "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) | |
1577 | (build-system gnu-build-system) | |
1578 | (arguments | |
1579 | '(#:configure-flags | |
1580 | (list (string-append "--with-xkb-base=" | |
1581 | (assoc-ref %build-inputs "xkeyboard-config") | |
1582 | "/share/X11/xkb")) | |
1583 | #:phases | |
1584 | (alist-cons-before | |
1585 | 'build 'set-cc | |
1586 | (lambda _ | |
1587 | (setenv "CC" "gcc")) ; for g-ir-scanner. | |
1588 | %standard-phases))) | |
1589 | (native-inputs | |
1590 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
1591 | ("gobject-introspection" ,gobject-introspection) | |
1592 | ("pkg-config" ,pkg-config))) | |
1593 | (propagated-inputs | |
1594 | ;; Required by libxklavier.pc. | |
1595 | `(("glib" ,glib) | |
1596 | ("libxml2" ,libxml2))) | |
1597 | (inputs | |
1598 | `(("iso-codes" ,iso-codes) | |
1599 | ("libxi" ,libxi) | |
1600 | ("libxkbfile" ,libxkbfile) | |
1601 | ("xkbcomp" ,xkbcomp) | |
1602 | ("xkeyboard-config" ,xkeyboard-config))) | |
1603 | (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/") | |
1604 | (synopsis "High-level API for X Keyboard Extension") | |
1605 | (description | |
1606 | "LibXklavier is a library providing high-level API for X Keyboard | |
1607 | Extension known as XKB. This library is indended to support XFree86 and other | |
1608 | commercial X servers. It is useful for creating XKB-related software (layout | |
1609 | indicators etc).") | |
1610 | (license license:lgpl2.0+))) | |
619936a4 LC |
1611 | |
1612 | (define-public python2-rsvg | |
1613 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
1614 | (package | |
1615 | (name "python2-rsvg") | |
1616 | (version "2.32.0") | |
1617 | (source | |
1618 | (origin | |
1619 | (method url-fetch) | |
1620 | (uri (string-append | |
1621 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
1622 | version ".tar.bz2")) | |
1623 | (sha256 | |
1624 | (base32 | |
1625 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
1626 | (build-system gnu-build-system) | |
1627 | (native-inputs | |
1628 | `(("pkg-config" ,pkg-config))) | |
1629 | (inputs | |
1630 | `(("python" ,python-2) | |
1631 | ("python2-pygtk" ,python2-pygtk) | |
1632 | ("librsvg" ,librsvg))) | |
1633 | (home-page "http://www.gnome.org") | |
1634 | (synopsis "Python bindings to librsvg") | |
1635 | (description | |
1636 | "This packages provides Python bindings to librsvg, the SVG rendering | |
1637 | library.") | |
1638 | ||
1639 | ;; This is the license of the rsvg bindings. The license of each module | |
1640 | ;; of gnome-python-desktop is given in 'COPYING'. | |
1641 | (license license:lgpl2.1+))) | |
a31a6d22 | 1642 | |
f2ca414a SB |
1643 | (define-public glib-networking |
1644 | (package | |
1645 | (name "glib-networking") | |
1646 | (version "2.44.0") | |
1647 | (source (origin | |
1648 | (method url-fetch) | |
1649 | (uri (string-append "mirror://gnome/sources/glib-networking/" | |
1650 | (version-major+minor version) "/" | |
1651 | name "-" version ".tar.xz")) | |
1652 | (sha256 | |
1653 | (base32 | |
1654 | "0ij33bhvn7y5gagx4sbrw906dsjjjs9dllxn73pzv6x97c6k92lg")))) | |
1655 | (build-system gnu-build-system) | |
1656 | (arguments | |
1657 | `(#:configure-flags | |
1658 | ;; FIXME: ca-certificates.crt is not available in the build environment. | |
1659 | '("--with-ca-certificates=no") | |
1660 | #:phases | |
1661 | (modify-phases %standard-phases | |
3a4de6b2 | 1662 | (add-before 'configure 'patch-giomoduledir |
f2ca414a SB |
1663 | ;; Install GIO modules into $out/lib/gio/modules. |
1664 | (lambda _ | |
1665 | (substitute* "configure" | |
1666 | (("GIO_MODULE_DIR=.*") | |
1667 | (string-append "GIO_MODULE_DIR=" %output | |
1668 | "/lib/gio/modules\n")))))))) | |
1669 | (native-inputs | |
1670 | `(("pkg-config" ,pkg-config) | |
1671 | ("intltool" ,intltool))) | |
1672 | (inputs | |
1673 | `(("glib" ,glib) | |
1674 | ("gnutls" ,gnutls) | |
1675 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1676 | ("p11-kit" ,p11-kit))) | |
1677 | (home-page "http://www.gnome.org") | |
1678 | (synopsis "Network-related GIO modules") | |
1679 | (description | |
1680 | "This package contains various network related extensions for the GIO | |
1681 | library.") | |
1682 | (license license:lgpl2.0+))) | |
1683 | ||
6e1bb642 SB |
1684 | (define-public libsoup |
1685 | (package | |
1686 | (name "libsoup") | |
1687 | (version "2.50.0") | |
1688 | (source (origin | |
1689 | (method url-fetch) | |
1690 | (uri (string-append "mirror://gnome/sources/libsoup/" | |
1691 | (version-major+minor version) "/" | |
1692 | name "-" version ".tar.xz")) | |
1693 | (sha256 | |
1694 | (base32 | |
1695 | "0yv61y5vfar1rfksa6f53zhfw9wcb39zjix8gqc1ff5gqid3c08y")))) | |
1696 | (build-system gnu-build-system) | |
1697 | (outputs '("out" "doc")) | |
1698 | (arguments | |
1699 | `(#:make-flags '("CC=gcc") ; for g-ir-scanner | |
1700 | #:configure-flags | |
1701 | (list (string-append "--with-html-dir=" | |
1702 | (assoc-ref %outputs "doc") | |
1703 | "/share/gtk-doc/html") | |
1704 | ;; To find GIO modules from glib-networking. | |
1705 | (string-append "GIO_EXTRA_MODULES=" | |
1706 | (assoc-ref %build-inputs "glib-networking") | |
1707 | "/lib/gio/modules")) | |
1708 | #:phases | |
1709 | (modify-phases %standard-phases | |
3a4de6b2 | 1710 | (add-before 'configure 'disable-unconnected-socket-test |
6e1bb642 SB |
1711 | ;; This test fails due to missing /etc/nsswitch.conf |
1712 | ;; in the build environment. | |
1713 | (lambda _ | |
1714 | (substitute* "tests/socket-test.c" | |
1715 | ((".*/sockets/unconnected.*") "")) | |
1716 | #t)) | |
3a4de6b2 | 1717 | (add-before 'check 'unset-LC_ALL |
6e1bb642 SB |
1718 | ;; The 'check-local' target runs 'env LANG=C sort -u', |
1719 | ;; unset 'LC_ALL' to make 'LANG' working. | |
1720 | (lambda _ | |
1721 | (unsetenv "LC_ALL") | |
1722 | #t))))) | |
1723 | (native-inputs | |
1724 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
1725 | ("gobject-introspection" ,gobject-introspection) | |
1726 | ("intltool" ,intltool) | |
1727 | ("pkg-config" ,pkg-config) | |
1728 | ("python" ,python-wrapper) | |
1729 | ;; These are needed for the tests. | |
1730 | ;; FIXME: Add PHP once available. | |
1731 | ("curl" ,curl) | |
1732 | ("httpd" ,httpd))) | |
1733 | (propagated-inputs | |
1734 | ;; libsoup-2.4.pc refers to all these. | |
1735 | `(("glib" ,glib) | |
1736 | ("libxml2" ,libxml2))) | |
1737 | (inputs | |
1738 | `(("glib-networking" ,glib-networking) | |
1739 | ("sqlite" ,sqlite))) | |
1740 | (home-page "https://live.gnome.org/LibSoup/") | |
1741 | (synopsis "GLib-based HTTP Library") | |
1742 | (description | |
1743 | "LibSoup is an HTTP client/server library for GNOME. It uses GObjects | |
1744 | and the GLib main loop, to integrate well with GNOME applications.") | |
1745 | (license license:lgpl2.0+))) | |
1746 | ||
bba229a3 SB |
1747 | (define-public libsecret |
1748 | (package | |
1749 | (name "libsecret") | |
1750 | (version "0.18") | |
1751 | (source (origin | |
1752 | (method url-fetch) | |
1753 | (uri (string-append | |
1754 | "mirror://gnome/sources/libsecret/" version "/" | |
1755 | name "-" version ".tar.xz")) | |
1756 | (sha256 | |
1757 | (base32 | |
1758 | "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc")))) | |
1759 | (build-system gnu-build-system) | |
1760 | (outputs '("out" "doc")) | |
1761 | (arguments | |
1762 | `(#:tests? #f ; FIXME: Testing hangs. | |
1763 | #:make-flags '("CC=gcc") ; for g-ir-scanner. | |
1764 | #:configure-flags | |
1765 | (list (string-append "--with-html-dir=" | |
1766 | (assoc-ref %outputs "doc") | |
1767 | "/share/gtk-doc/html")))) | |
1768 | (native-inputs | |
1769 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
1770 | ("gobject-introspection" ,gobject-introspection) | |
1771 | ("intltool" ,intltool) | |
1772 | ("pkg-config" ,pkg-config) | |
1773 | ("vala" ,vala) | |
1774 | ("xsltproc" ,libxslt))) | |
1775 | ;; These are needed for the tests. | |
1776 | ;; FIXME: Add gjs once available. | |
1777 | ;("dbus" ,dbus) | |
1778 | ;("python2" ,python-2) | |
1779 | ;("python2-dbus" ,python2-dbus) | |
1780 | ;("python2-pygobject" ,python2-pygobject) | |
1781 | ;("python2-pygobject-2" ,python2-pygobject-2))) | |
1782 | (propagated-inputs | |
1783 | `(("glib" ,glib))) ; required by libsecret-1.pc | |
1784 | (inputs | |
1785 | `(("docbook-xsl" ,docbook-xsl) | |
1786 | ("libgcrypt" ,libgcrypt) | |
1787 | ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES | |
1788 | (home-page "https://wiki.gnome.org/Projects/Libsecret/") | |
1789 | (synopsis "GObject bindings for \"Secret Service\" API") | |
1790 | (description | |
1791 | "Libsecret is a GObject based library for storing and retrieving passwords | |
1792 | and other secrets. It communicates with the \"Secret Service\" using DBus.") | |
1793 | (license license:lgpl2.1+))) | |
1794 | ||
a31a6d22 SB |
1795 | (define-public gnome-mines |
1796 | (package | |
1797 | (name "gnome-mines") | |
121398e7 | 1798 | (version "3.16.0") |
a31a6d22 SB |
1799 | (source |
1800 | (origin | |
1801 | (method url-fetch) | |
1802 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1803 | (version-major+minor version) "/" | |
1804 | name "-" version ".tar.xz")) | |
1805 | (sha256 | |
1806 | (base32 | |
121398e7 | 1807 | "0wfvqyryc1093l4dr75zv9h0jyn28z6wirdq03lm5w24qf9lvjjx")))) |
a31a6d22 SB |
1808 | (build-system glib-or-gtk-build-system) |
1809 | (arguments | |
1810 | '(#:phases | |
1811 | (modify-phases %standard-phases | |
f8503e2b | 1812 | (add-before 'configure 'patch-/bin/true |
a31a6d22 SB |
1813 | (lambda _ |
1814 | (substitute* "configure" | |
1815 | (("/bin/true") (which "true"))))) | |
f8503e2b | 1816 | (add-after 'install 'wrap-pixbuf |
a31a6d22 SB |
1817 | ;; Use librsvg's loaders.cache to support SVG files. |
1818 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
1819 | (let* ((out (assoc-ref outputs "out")) | |
1820 | (prog (string-append out "/bin/gnome-mines")) | |
1821 | (rsvg (assoc-ref inputs "librsvg")) | |
1822 | (pixbuf (find-files rsvg "^loaders\\.cache$"))) | |
1823 | (wrap-program prog | |
1824 | `("GDK_PIXBUF_MODULE_FILE" = ,pixbuf)))))))) | |
1825 | (native-inputs | |
1826 | `(("pkg-config" ,pkg-config) | |
1827 | ("desktop-file-utils" ,desktop-file-utils) | |
1828 | ("intltool" ,intltool) | |
1829 | ("itstool" ,itstool))) | |
1830 | (inputs | |
1831 | `(("gtk+" ,gtk+) | |
1832 | ("librsvg" ,librsvg))) | |
1833 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
1834 | (synopsis "Minesweeper game") | |
1835 | (description | |
1836 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
1837 | floating in an ocean using only your brain and a little bit of luck.") | |
1838 | (license license:gpl2+))) | |
88f70665 AW |
1839 | |
1840 | (define-public gnome-terminal | |
1841 | (package | |
1842 | (name "gnome-terminal") | |
1843 | (version "3.16.0") | |
1844 | (source | |
1845 | (origin | |
1846 | (method url-fetch) | |
1847 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1848 | (version-major+minor version) "/" | |
1849 | name "-" version ".tar.xz")) | |
1850 | (sha256 | |
1851 | (base32 | |
1852 | "1s3zwqxs4crlqmh6l7s7n87pbmh2nnjdvhxlkalh58pbl0bk0qrd")))) | |
1853 | (build-system glib-or-gtk-build-system) | |
1854 | (arguments | |
1855 | '(#:configure-flags | |
1856 | (list "--disable-migration" "--disable-search-provider" | |
1857 | "--without-nautilus-extension") | |
1858 | #:phases | |
1859 | (modify-phases %standard-phases | |
3a4de6b2 | 1860 | (add-before 'configure 'patch-/bin/true |
88f70665 AW |
1861 | (lambda _ |
1862 | (substitute* "configure" | |
1863 | (("/bin/true") (which "true")))))))) | |
1864 | (native-inputs | |
1865 | `(("pkg-config" ,pkg-config) | |
1866 | ("desktop-file-utils" ,desktop-file-utils) | |
1867 | ("intltool" ,intltool) | |
1868 | ("itstool" ,itstool))) | |
1869 | (inputs | |
1870 | `(("gtk+" ,gtk+) | |
1871 | ("vte" ,vte) | |
1872 | ("gnutls" ,gnutls) | |
1873 | ("dconf" ,dconf) | |
1874 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1875 | ("util-linux" ,util-linux) | |
1876 | ("vala" ,vala))) | |
1877 | (home-page "https://wiki.gnome.org/Apps/Terminal") | |
1878 | (synopsis "Terminal emulator") | |
1879 | (description | |
1880 | "GNOME Terminal is a terminal emulator application for accessing a | |
1881 | UNIX shell environment which can be used to run programs available on | |
1882 | your system. | |
1883 | ||
1884 | It supports several profiles, multiple tabs and implements several | |
1885 | keyboard shortcuts.") | |
1886 | (license license:gpl3+))) | |
75016d07 AW |
1887 | |
1888 | (define-public colord | |
1889 | (package | |
1890 | (name "colord") | |
1891 | (version "1.1.8") | |
1892 | (source | |
1893 | (origin | |
1894 | (method url-fetch) | |
1895 | (uri (string-append "http://www.freedesktop.org/software/colord/releases/" | |
1896 | name "-" version ".tar.xz")) | |
1897 | (sha256 | |
1898 | (base32 | |
1899 | "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph")))) | |
1900 | (build-system glib-or-gtk-build-system) | |
1901 | (arguments | |
1902 | '(;; The tests want to run valgrind. Punt for now. | |
1903 | #:tests? #f | |
1904 | #:configure-flags (list "--localstatedir=/var" | |
1905 | ;; GUSB not packaged yet. | |
1906 | "--disable-gusb" | |
1907 | ;; No dep on systemd. | |
1908 | "--disable-systemd-login" | |
1909 | ;; Wants to install to global completion dir; | |
1910 | ;; punt. | |
1911 | "--disable-bash-completion" | |
1912 | ;; colord-gtk not packaged yet. | |
1913 | "--disable-session-example" | |
1914 | "--with-daemon-user=colord" | |
1915 | "--enable-sane" | |
1916 | (string-append "--with-udevrulesdir=" | |
1917 | (assoc-ref %outputs "out") | |
1918 | "/lib/udev/rules.d")) | |
1919 | #:phases | |
1920 | (modify-phases %standard-phases | |
3a4de6b2 | 1921 | (add-before 'configure 'patch-/bin/true |
75016d07 AW |
1922 | (lambda _ |
1923 | (substitute* "configure" | |
1924 | (("/bin/true") (which "true"))) | |
1925 | (substitute* "src/Makefile.in" | |
1926 | (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;") | |
1927 | "if test -w $(DESTDIR)$(localstatedir);")))) | |
3a4de6b2 | 1928 | (add-before 'build 'set-cc |
75016d07 AW |
1929 | (lambda _ |
1930 | ;; Set $CC so that g-ir-scanner works. | |
1931 | (setenv "CC" "gcc") | |
1932 | #t))))) | |
1933 | (native-inputs | |
1934 | `(("pkg-config" ,pkg-config) | |
1935 | ("gobject-introspection" ,gobject-introspection) | |
1936 | ("libtool" ,libtool) | |
1937 | ("intltool" ,intltool))) | |
1938 | (inputs | |
1939 | `(("eudev" ,eudev) | |
1940 | ("dbus" ,dbus) | |
1941 | ("dbus-glib" ,dbus-glib) | |
1942 | ("libusb" ,libusb) | |
1943 | ("lcms" ,lcms) | |
1944 | ("sqlite" ,sqlite) | |
1945 | ("polkit" ,polkit) | |
1946 | ("sane-backends" ,sane-backends))) | |
1947 | (home-page "http://www.freedesktop.org/software/colord/") | |
1948 | (synopsis "Color management service") | |
1949 | (description "Colord is a system service that makes it easy to manage, | |
1950 | install and generate color profiles to accurately color manage input and | |
1951 | output devices.") | |
1952 | (license license:gpl2+))) | |
7b2abd00 AW |
1953 | |
1954 | (define-public geoclue | |
1955 | (package | |
1956 | (name "geoclue") | |
1957 | (version "2.1.10") | |
1958 | (source | |
1959 | (origin | |
1960 | (method url-fetch) | |
1961 | (uri (string-append "http://www.freedesktop.org/software/" name | |
1962 | "/releases/" (version-major+minor version) "/" | |
1963 | name "-" version ".tar.xz")) | |
1964 | (sha256 | |
1965 | (base32 | |
1966 | "0s0ws2bx5g1cbjamxmm448r4n4crha2fwpzm8zbx6cq6qslygmzi")) | |
1967 | (patches (list (search-patch "geoclue-config.patch"))))) | |
1968 | (build-system glib-or-gtk-build-system) | |
1969 | (arguments | |
1970 | '(;; The tests want to run the system bus. | |
1971 | #:tests? #f | |
1972 | #:configure-flags (list ;; Disable bits requiring ModemManager. | |
1973 | "--disable-3g-source" | |
1974 | "--disable-cdma-source" | |
1975 | "--disable-modem-gps-source" | |
1976 | "--with-dbus-service-user=geoclue") | |
1977 | #:phases | |
1978 | (modify-phases %standard-phases | |
3a4de6b2 | 1979 | (add-before 'configure 'patch-/bin/true |
7b2abd00 AW |
1980 | (lambda _ |
1981 | (substitute* "configure" | |
1982 | (("/bin/true") (which "true")))))))) | |
1983 | (native-inputs | |
1984 | `(("pkg-config" ,pkg-config) | |
1985 | ("intltool" ,intltool))) | |
1986 | (inputs | |
1987 | `(("glib" ,glib) | |
1988 | ("json-glib" ,json-glib) | |
1989 | ("libsoup" ,libsoup))) | |
1990 | (home-page "http://freedesktop.org/wiki/Software/GeoClue/") | |
1991 | (synopsis "Geolocation service") | |
1992 | (description "Geoclue is a D-Bus service that provides location | |
1993 | information. The primary goal of the Geoclue project is to make creating | |
1994 | location-aware applications as simple as possible, while the secondary goal is | |
1995 | to ensure that no application can access location information without explicit | |
1996 | permission from user. ") | |
1997 | (license license:gpl2+))) | |
2bfe7437 AW |
1998 | |
1999 | (define-public geocode-glib | |
2000 | (package | |
2001 | (name "geocode-glib") | |
2002 | (version "3.16.0") | |
2003 | (source (origin | |
2004 | (method url-fetch) | |
2005 | (uri (string-append "mirror://gnome/sources/geocode-glib/" | |
2006 | (version-major+minor version) "/" | |
2007 | name "-" version ".tar.xz")) | |
2008 | (sha256 | |
2009 | (base32 | |
2010 | "1cbfv0kds6b6k0cl7q47xpj3x1scwcd7m68zl1rf7i4hmhw4hpqj")))) | |
2011 | (build-system gnu-build-system) | |
2012 | (arguments | |
2013 | `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't | |
2014 | ;; work for the builder. Punt. | |
2015 | #:tests? #f | |
2016 | #:make-flags '("CC=gcc") ; for g-ir-scanner | |
2017 | )) | |
2018 | (native-inputs | |
2019 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2020 | ("gobject-introspection" ,gobject-introspection) | |
2021 | ("pkg-config" ,pkg-config) | |
2022 | ("json-glib" ,json-glib))) | |
2023 | (propagated-inputs | |
2024 | ;; geocode-glib-1.0.pc refers to GIO. | |
2025 | `(("glib" ,glib))) | |
2026 | (inputs | |
2027 | `(("libsoup" ,libsoup))) | |
2028 | (home-page "https://github.com/GNOME/geocode-glib/") | |
2029 | (synopsis "Geocoding and reverse-geocoding library") | |
2030 | (description | |
2031 | "geocode-glib is a convenience library for geocoding (finding longitude, | |
2032 | and latitude from an address) and reverse geocoding (finding an address from | |
2033 | coordinates) using the Nominatim service. geocode-glib caches requests for | |
2034 | faster results and to avoid unnecessary server load.") | |
2035 | (license license:lgpl2.0+))) | |
a1d5bb0e AW |
2036 | |
2037 | (define-public upower | |
2038 | (package | |
2039 | (name "upower") | |
2040 | (version "0.99.2") | |
2041 | (source (origin | |
2042 | (method url-fetch) | |
2043 | (uri (string-append "http://upower.freedesktop.org/releases/" | |
2044 | name "-" version ".tar.xz")) | |
2045 | (sha256 | |
2046 | (base32 | |
2047 | "0vwlh20jmaf01m38kfn8yx2869a3clmkzlycrj99rf4nvwx4bp79")) | |
2048 | (patches (list (search-patch "upower-builddir.patch"))))) | |
2049 | (build-system glib-or-gtk-build-system) | |
2050 | (arguments | |
2051 | '( ;; The tests want to contact the system bus, which can't be done in the | |
2052 | ;; build environment. The integration test can run, but the last of | |
2053 | ;; the up-self-tests doesn't. Disable tests for now. | |
2054 | #:tests? #f | |
2055 | #:configure-flags (list "--localstatedir=/var" | |
2056 | (string-append "--with-udevrulesdir=" | |
2057 | (assoc-ref %outputs "out") | |
2058 | "/lib/udev/rules.d")) | |
2059 | #:phases | |
2060 | (modify-phases %standard-phases | |
2061 | (add-before 'configure 'patch-/bin/true | |
2062 | (lambda _ | |
2063 | (substitute* "configure" | |
2064 | (("/bin/true") (which "true"))))) | |
2065 | (add-before 'configure 'patch-integration-test | |
2066 | (lambda _ | |
2067 | (substitute* "src/linux/integration-test" | |
2068 | (("/usr/bin/python3") (which "python3")))))))) | |
2069 | (native-inputs | |
2070 | `(("pkg-config" ,pkg-config) | |
2071 | ("intltool" ,intltool) | |
2072 | ("python" ,python))) | |
2073 | (inputs | |
2074 | `(("eudev" ,eudev) | |
2075 | ("dbus" ,dbus) | |
2076 | ("dbus-glib" ,dbus-glib) | |
2077 | ("libusb" ,libusb))) | |
2078 | (home-page "http://upower.freedesktop.org/") | |
2079 | (synopsis "System daemon for managing power devices") | |
2080 | (description | |
2081 | "UPower is an abstraction for enumerating power devices, | |
2082 | listening to device events and querying history and statistics. Any | |
2083 | application or service on the system can access the org.freedesktop.UPower | |
2084 | service via the system message bus.") | |
2085 | (license license:gpl2+))) | |
6a180f6f AW |
2086 | |
2087 | (define-public libgweather | |
2088 | (package | |
2089 | (name "libgweather") | |
2090 | (version "3.16.0") | |
2091 | (source (origin | |
2092 | (method url-fetch) | |
2093 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2094 | (version-major+minor version) "/" | |
2095 | name "-" version ".tar.xz")) | |
2096 | (sha256 | |
2097 | (base32 | |
2098 | "0x1z6wv7hdw2ivlkifcbd940zyrnvqvc4zh2drgvd2r6jmd7bjza")))) | |
2099 | (build-system gnu-build-system) | |
2100 | (arguments | |
2101 | `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't | |
2102 | ;; work for the builder. Punt. | |
2103 | #:tests? #f | |
2104 | #:make-flags '("CC=gcc") ; for g-ir-scanner | |
2105 | #:configure-flags | |
2106 | `(;; No introspection for now, as it wants to install to | |
2107 | ;; gobject-introspection's own directory and I don't know how to easily | |
2108 | ;; override this. | |
2109 | "--enable-introspection=no" | |
2110 | ,(string-append "--with-zoneinfo-dir=" | |
2111 | (assoc-ref %build-inputs "tzdata") | |
2112 | "/share/zoneinfo")))) | |
2113 | (native-inputs | |
2114 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2115 | ("pkg-config" ,pkg-config) | |
2116 | ("intltool" ,intltool))) | |
2117 | (propagated-inputs | |
2118 | ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and | |
2119 | ;; libsoup. | |
2120 | `(("gtk+" ,gtk+) | |
2121 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2122 | ("libxml2" ,libxml2) | |
2123 | ("libsoup" ,libsoup))) | |
2124 | (inputs | |
2125 | `(("tzdata" ,tzdata) | |
2126 | ("geocode-glib" ,geocode-glib))) | |
2127 | (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") | |
2128 | (synopsis "Location, time zone, and weather library for GNOME") | |
2129 | (description | |
2130 | "libgweather is a library to access weather information from online | |
2131 | services for numerous locations.") | |
2132 | (license license:gpl2+))) | |
23a22af6 AW |
2133 | |
2134 | (define-public gnome-settings-daemon | |
2135 | (package | |
2136 | (name "gnome-settings-daemon") | |
2137 | (version "3.16.0") | |
2138 | (source | |
2139 | (origin | |
2140 | (method url-fetch) | |
2141 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2142 | (version-major+minor version) "/" | |
2143 | name "-" version ".tar.xz")) | |
2144 | (sha256 | |
2145 | (base32 | |
2146 | "1w29x2izq59125ga5ncmmaklc8kw7x7rdn6swn26bs23mah1r1g3")))) | |
2147 | (build-system glib-or-gtk-build-system) | |
2148 | (arguments | |
2149 | `(#:phases | |
2150 | (modify-phases %standard-phases | |
2151 | ;; libwacom and xorg-wacom not yet packaged. Hackily disable by | |
2152 | ;; pretending to be s390 (!). | |
2153 | (add-before | |
2154 | 'configure 'disable-wacom | |
2155 | (lambda _ | |
2156 | (substitute* "configure" | |
2157 | (("if test \"\\$host_cpu\" = s390 -o \"\\$host_cpu\" = s390x") | |
2158 | "if true"))))) | |
2159 | ;; Network manager not yet packaged. | |
2160 | #:configure-flags '("--disable-network-manager") | |
2161 | ;; Color management test can't reach the colord system service. | |
2162 | #:tests? #f)) | |
2163 | (native-inputs | |
2164 | `(("pkg-config" ,pkg-config) | |
2165 | ("intltool" ,intltool) | |
2166 | ("xsltproc" ,libxslt) | |
2167 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES | |
2168 | ("docbook-xml" ,docbook-xml-4.2) | |
2169 | ("docbook-xsl" ,docbook-xsl))) | |
2170 | (inputs | |
2171 | `(("colord" ,colord) | |
2172 | ("eudev" ,eudev) | |
2173 | ("upower" ,upower) | |
2174 | ("polkit" ,polkit) | |
2175 | ("pulseaudio" ,pulseaudio) | |
2176 | ("libcanberra" ,libcanberra) | |
2177 | ("libx11" ,libx11) | |
2178 | ("libxtst" ,libxtst) | |
2179 | ("lcms" ,lcms) | |
2180 | ("libnotify" ,libnotify) | |
2181 | ("geoclue" ,geoclue) | |
2182 | ("geocode-glib" ,geocode-glib) | |
2183 | ("libgweather" ,libgweather) | |
2184 | ("gnome-desktop" ,gnome-desktop) | |
2185 | ("nss" ,nss) | |
2186 | ("cups" ,cups) | |
2187 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) | |
2188 | (home-page "http://www.gnome.org") | |
2189 | (synopsis "GNOME settings daemon") | |
2190 | (description | |
2191 | "This package contains the daemon responsible for setting the various | |
2192 | parameters of a GNOME session and the applications that run under it. It | |
2193 | handles settings such keyboard layout, shortcuts, and accessibility, clipboard | |
2194 | settings, themes, mouse settings, and startup of other daemons.") | |
2195 | (license license:gpl2+))) |