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