Commit | Line | Data |
---|---|---|
995b7261 AE |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> | |
1dd26275 | 3 | ;;; Copyright © 2014 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> |
995b7261 AE |
6 | ;;; |
7 | ;;; This file is part of GNU Guix. | |
8 | ;;; | |
9 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
10 | ;;; under the terms of the GNU General Public License as published by | |
11 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
12 | ;;; your option) any later version. | |
13 | ;;; | |
14 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
15 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | ;;; GNU General Public License for more details. | |
18 | ;;; | |
19 | ;;; You should have received a copy of the GNU General Public License | |
20 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
21 | ||
22 | (define-module (gnu packages gnome) | |
b5b73a82 | 23 | #:use-module ((guix licenses) #:prefix license:) |
995b7261 AE |
24 | #:use-module (guix packages) |
25 | #:use-module (guix download) | |
29a7c98a | 26 | #:use-module (guix utils) |
995b7261 | 27 | #:use-module (guix build-system gnu) |
121de2e1 | 28 | #:use-module (guix build-system glib-or-gtk) |
ed19903d | 29 | #:use-module (gnu packages) |
5698b8b8 | 30 | #:use-module (gnu packages bison) |
121de2e1 | 31 | #:use-module (gnu packages flex) |
b4ce6300 | 32 | #:use-module (gnu packages docbook) |
995b7261 | 33 | #:use-module (gnu packages glib) |
c1354b90 | 34 | #:use-module (gnu packages gnupg) |
85f5dc19 | 35 | #:use-module (gnu packages gstreamer) |
d9c1a22b | 36 | #:use-module (gnu packages gtk) |
c1354b90 | 37 | #:use-module (gnu packages pdf) |
5698b8b8 | 38 | #:use-module (gnu packages popt) |
c1354b90 | 39 | #:use-module (gnu packages ghostscript) |
9cc98f8a | 40 | #:use-module (gnu packages iso-codes) |
85f5dc19 | 41 | #:use-module (gnu packages libcanberra) |
e55354b8 | 42 | #:use-module (gnu packages image) |
27477d2d | 43 | #:use-module (gnu packages perl) |
995b7261 AE |
44 | #:use-module (gnu packages pkg-config) |
45 | #:use-module (gnu packages python) | |
85f5dc19 | 46 | #:use-module (gnu packages xml) |
200726ed | 47 | #:use-module (gnu packages gl) |
1dd26275 | 48 | #:use-module (gnu packages compression) |
fecbf86e SB |
49 | #:use-module (gnu packages xorg) |
50 | #:use-module (gnu packages xdisorg)) | |
85f5dc19 AE |
51 | |
52 | (define-public brasero | |
53 | (package | |
54 | (name "brasero") | |
55 | (version "3.8.0") | |
56 | (source (origin | |
57 | (method url-fetch) | |
58 | (uri (string-append "mirror://gnome/sources/brasero/3.8/brasero-" | |
59 | version ".tar.xz")) | |
60 | (sha256 | |
61 | (base32 | |
62 | "1r5wjsrm47amdaf862ymkdlwlb636c45wg14x20hdr99c653d2nr")))) | |
63 | (build-system gnu-build-system) | |
64 | (propagated-inputs | |
65 | `(("hicolor-icon-theme" ,hicolor-icon-theme))) | |
9cc98f8a CR |
66 | (native-inputs |
67 | `(("intltool" ,intltool) | |
426adbe8 | 68 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
9cc98f8a | 69 | ("pkg-config" ,pkg-config))) |
85f5dc19 AE |
70 | (inputs |
71 | `(("glib" ,glib) | |
72 | ("gnome-doc-utils" ,gnome-doc-utils) | |
73 | ("gstreamer" ,gstreamer) | |
74 | ("gst-plugins-base" ,gst-plugins-base) | |
75 | ("gtk+" ,gtk+) | |
85f5dc19 AE |
76 | ("itstool" ,itstool) |
77 | ("libcanberra" ,libcanberra) | |
78 | ("libice" ,libice) | |
79 | ("libnotify" ,libnotify) | |
80 | ("libsm" ,libsm) | |
c4c4cc05 | 81 | ("libxml2" ,libxml2))) |
85f5dc19 AE |
82 | (home-page "https://projects.gnome.org/brasero/") |
83 | (synopsis "CD/DVD burning tool for Gnome") | |
84 | (description "Brasero is an application to burn CD/DVD for the Gnome | |
85 | Desktop. It is designed to be as simple as possible and has some unique | |
86 | features to enable users to create their discs easily and quickly.") | |
1dd26275 | 87 | (license license:gpl2+))) |
995b7261 | 88 | |
9cc98f8a CR |
89 | (define-public gnome-desktop |
90 | (package | |
91 | (name "gnome-desktop") | |
92 | (version "3.10.0") | |
93 | (source | |
94 | (origin | |
95 | (method url-fetch) | |
b38e45d8 EB |
96 | (uri (string-append "mirror://gnome/sources/" name "/" |
97 | (version-major+minor version) "/" | |
9cc98f8a CR |
98 | name "-" version ".tar.xz")) |
99 | (sha256 | |
100 | (base32 | |
101 | "0p5p6wvmy5zvcdnmp5h2biz7rjrcw99chq5kkwcnb68flcmkb1ry")))) | |
102 | (build-system gnu-build-system) | |
103 | (native-inputs | |
104 | `(("intltool" ,intltool) | |
105 | ("pkg-config" ,pkg-config))) | |
106 | (inputs | |
107 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
108 | ("glib" ,glib) | |
109 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
110 | ("gtk+" ,gtk+) | |
111 | ("iso-codes" ,iso-codes) | |
112 | ("itstool" ,itstool) | |
113 | ("libx11" ,libx11) | |
114 | ("libxext" ,libxext) | |
115 | ("libxkbfile" ,libxkbfile) | |
116 | ("libxrandr" ,libxrandr) | |
117 | ("xkeyboard-config" ,xkeyboard-config))) | |
118 | (home-page "https://www.gnome.org/") | |
119 | (synopsis | |
35b9e423 | 120 | "Libgnome-desktop, gnome-about, and desktop-wide documents") |
9cc98f8a CR |
121 | (description |
122 | "The libgnome-desktop library provides API shared by several applications | |
35b9e423 EB |
123 | on the desktop, but that cannot live in the platform for various reasons. |
124 | There is no API or ABI guarantee, although we are doing our best to provide | |
125 | stability. Documentation for the API is available with gtk-doc. | |
9cc98f8a CR |
126 | |
127 | The gnome-about program helps find which version of GNOME is installed.") | |
128 | ; Some bits under the LGPL. | |
1dd26275 | 129 | (license license:gpl2+))) |
9cc98f8a | 130 | |
995b7261 AE |
131 | (define-public gnome-doc-utils |
132 | (package | |
133 | (name "gnome-doc-utils") | |
134 | (version "0.20.10") | |
135 | (source | |
136 | (origin | |
137 | (method url-fetch) | |
b38e45d8 EB |
138 | (uri (string-append "mirror://gnome/sources/" name "/" |
139 | (version-major+minor version) "/" | |
995b7261 AE |
140 | name "-" version ".tar.xz")) |
141 | (sha256 | |
142 | (base32 | |
143 | "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb")))) | |
144 | (build-system gnu-build-system) | |
b4ce6300 JD |
145 | (arguments |
146 | `(#:phases | |
147 | (alist-cons-before | |
148 | 'check 'pre-check | |
149 | (lambda* (#:key inputs #:allow-other-keys #:rest args) | |
150 | ;; This is needed, because without it, xmlint etc tries | |
151 | ;; to download docbookx.dtd from the net | |
152 | (setenv "XML_CATALOG_FILES" | |
153 | (string-append (assoc-ref inputs "docbook-xml") | |
154 | "/xml/dtd/docbook/catalog.xml"))) | |
155 | %standard-phases))) | |
c4c4cc05 | 156 | (native-inputs |
995b7261 | 157 | `(("intltool" ,intltool) |
b4ce6300 | 158 | ("docbook-xml" ,docbook-xml-4.4) |
995b7261 AE |
159 | ("libxml2" ,libxml2) |
160 | ("libxslt" ,libxslt) | |
161 | ("pkg-config" ,pkg-config) | |
162 | ("python-2" ,python-2))) | |
995b7261 AE |
163 | (home-page "https://wiki.gnome.org/GnomeDocUtils") |
164 | (synopsis | |
165 | "Documentation utilities for the Gnome project") | |
166 | (description | |
167 | "Gnome-doc-utils is a collection of documentation utilities for the | |
168 | Gnome project. It includes xml2po tool which makes it easier to translate | |
169 | and keep up to date translations of documentation.") | |
1dd26275 | 170 | (license license:gpl2+))) ; xslt under lgpl |
d9c1a22b | 171 | |
c1354b90 LC |
172 | (define-public libgnome-keyring |
173 | (package | |
174 | (name "libgnome-keyring") | |
175 | (version "3.6.0") | |
176 | (source (origin | |
177 | (method url-fetch) | |
b38e45d8 EB |
178 | (uri (string-append "mirror://gnome/sources/" name "/" |
179 | (version-major+minor version) "/" | |
180 | name "-" version ".tar.xz")) | |
c1354b90 LC |
181 | (sha256 |
182 | (base32 | |
183 | "0c4qrjpmv1hqga3xv6wsq2z10x2n78qgw7q3k3s01y1pggxkgjkd")))) | |
184 | (build-system gnu-build-system) | |
c1354b90 | 185 | (inputs |
c4c4cc05 | 186 | `(("libgcrypt" ,libgcrypt) |
c1354b90 | 187 | ("dbus" ,dbus))) |
c4c4cc05 JD |
188 | (native-inputs |
189 | `(("pkg-config" ,pkg-config) | |
426adbe8 | 190 | ("glib" ,glib "bin") |
c4c4cc05 | 191 | ("intltool" ,intltool))) |
c1354b90 LC |
192 | (propagated-inputs |
193 | ;; Referred to in .h files and .pc. | |
194 | `(("glib" ,glib))) | |
195 | (home-page "http://www.gnome.org") | |
196 | (synopsis "Accessing passwords from the GNOME keyring") | |
197 | (description | |
198 | "Client library to access passwords from the GNOME keyring.") | |
199 | ||
200 | ;; Though a couple of files are LGPLv2.1+. | |
1dd26275 | 201 | (license license:lgpl2.0+))) |
c1354b90 LC |
202 | |
203 | (define-public evince | |
204 | (package | |
205 | (name "evince") | |
206 | (version "3.6.1") | |
207 | (source (origin | |
208 | (method url-fetch) | |
b38e45d8 EB |
209 | (uri (string-append "mirror://gnome/sources/" name "/" |
210 | (version-major+minor version) "/" | |
211 | name "-" version ".tar.xz")) | |
c1354b90 LC |
212 | (sha256 |
213 | (base32 | |
214 | "1da1pij030dh8mb0pr0jnyszgsbjnh8lc17rj5ii52j3kmbv51qv")))) | |
121de2e1 | 215 | (build-system glib-or-gtk-build-system) |
c1354b90 LC |
216 | (arguments |
217 | `(#:configure-flags '("--disable-nautilus") | |
218 | ||
219 | ;; FIXME: Tests fail with: | |
220 | ;; ImportError: No module named gi.repository | |
221 | ;; Where should that module come from? | |
96e42467 LC |
222 | #:tests? #f |
223 | ||
224 | #:phases (alist-cons-after | |
225 | 'install 'set-mime-search-path | |
226 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
227 | ;; Wrap 'evince' so that it knows where MIME info is. | |
228 | (let ((out (assoc-ref outputs "out")) | |
229 | (mime (assoc-ref inputs "shared-mime-info"))) | |
230 | (wrap-program (string-append out "/bin/evince") | |
231 | `("XDG_DATA_DIRS" ":" prefix | |
232 | ,(list (string-append mime "/share") | |
233 | (string-append out "/share")))))) | |
234 | %standard-phases))) | |
c1354b90 LC |
235 | (inputs |
236 | `(("libspectre" ,libspectre) | |
237 | ;; ("djvulibre" ,djvulibre) | |
238 | ("ghostscript" ,ghostscript) | |
239 | ("poppler" ,poppler) | |
240 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
241 | ("libgnome-keyring" ,libgnome-keyring) | |
242 | ("gnome-icon-theme" ,gnome-icon-theme) | |
243 | ("itstool" ,itstool) | |
244 | ("gdk-pixbuf" ,gdk-pixbuf) | |
245 | ("atk" ,atk) | |
246 | ("pango" ,pango) | |
247 | ("gtk+" ,gtk+) | |
248 | ("glib" ,glib) | |
249 | ("libxml2" ,libxml2) | |
c1354b90 LC |
250 | ("libsm" ,libsm) |
251 | ("libice" ,libice) | |
96e42467 | 252 | ("shared-mime-info" ,shared-mime-info) |
c1354b90 LC |
253 | |
254 | ;; For tests. | |
255 | ("dogtail" ,python2-dogtail))) | |
96e42467 | 256 | (native-inputs |
c4c4cc05 | 257 | `(("intltool" ,intltool) |
426adbe8 | 258 | ("glib" ,glib "bin") |
c4c4cc05 | 259 | ("pkg-config" ,pkg-config))) |
c1354b90 LC |
260 | (home-page |
261 | "http://www.gnome.org/projects/evince/") | |
262 | (synopsis "GNOME's document viewer") | |
263 | (description | |
264 | "Evince is a document viewer for multiple document formats. It | |
265 | currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal | |
266 | of Evince is to replace the multiple document viewers that exist | |
96e42467 | 267 | on the GNOME Desktop with a single simple application.") |
1dd26275 | 268 | (license license:gpl2+))) |
c1354b90 | 269 | |
22e32e69 AE |
270 | (define-public gsettings-desktop-schemas |
271 | (package | |
272 | (name "gsettings-desktop-schemas") | |
273 | (version "3.10.0") | |
274 | (source | |
275 | (origin | |
276 | (method url-fetch) | |
277 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 278 | (version-major+minor version) "/" |
22e32e69 AE |
279 | name "-" version ".tar.xz")) |
280 | (sha256 | |
281 | (base32 | |
282 | "1km8qxwrzvravmg8j680qv64bwnwbdgrmy8bqmhs0dgxn2b1as6a")))) | |
283 | (build-system gnu-build-system) | |
284 | (inputs | |
c4c4cc05 JD |
285 | `(("glib" ,glib))) |
286 | (native-inputs | |
287 | `(("intltool" ,intltool) | |
426adbe8 | 288 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
22e32e69 AE |
289 | ("pkg-config" ,pkg-config))) |
290 | (home-page "https://launchpad.net/gsettings-desktop-schemas") | |
291 | (synopsis | |
292 | "GNOME settings for various desktop components") | |
293 | (description | |
294 | "Gsettings-desktop-schemas contains a collection of GSettings schemas | |
295 | for settings shared by various components of the GNOME desktop.") | |
1dd26275 | 296 | (license license:lgpl2.1+))) |
22e32e69 | 297 | |
27477d2d AE |
298 | (define-public icon-naming-utils |
299 | (package | |
300 | (name "icon-naming-utils") | |
301 | (version "0.8.90") | |
302 | (source | |
303 | (origin | |
304 | (method url-fetch) | |
305 | (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-" | |
306 | version ".tar.bz2")) | |
307 | (sha256 | |
308 | (base32 | |
309 | "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi")))) | |
310 | (build-system gnu-build-system) | |
311 | (inputs | |
312 | `(("perl" ,perl) | |
313 | ("perl-xml-simple" ,perl-xml-simple))) | |
314 | (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification") | |
315 | (synopsis | |
316 | "Utility to implement the Freedesktop Icon Naming Specification") | |
317 | (description | |
318 | "To help with the transition to the Freedesktop Icon Naming | |
319 | Specification, the icon naming utility maps the icon names used by the | |
320 | GNOME and KDE desktops to the icon names proposed in the specification.") | |
1dd26275 | 321 | (license license:lgpl2.1+))) |
27477d2d | 322 | |
7d3f3651 AE |
323 | (define-public gnome-icon-theme |
324 | (package | |
325 | (name "gnome-icon-theme") | |
326 | (version "3.10.0") | |
327 | (source | |
328 | (origin | |
329 | (method url-fetch) | |
330 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 331 | (version-major+minor version) "/" |
7d3f3651 AE |
332 | name "-" version ".tar.xz")) |
333 | (sha256 | |
334 | (base32 | |
335 | "1xinbgkkvlhazj887ajcl13i7kdc1wcca02jwxzvjrvchjsp4m66")))) | |
336 | (build-system gnu-build-system) | |
337 | (inputs | |
338 | `(("gtk+" ,gtk+) | |
c4c4cc05 JD |
339 | ("icon-naming-utils" ,icon-naming-utils))) |
340 | (native-inputs | |
341 | `(("intltool" ,intltool) | |
342 | ("pkg-config" ,pkg-config))) | |
7d3f3651 AE |
343 | (home-page "http://art.gnome.org/") |
344 | (synopsis | |
345 | "GNOME icon theme") | |
346 | (description | |
347 | "Icons for the GNOME desktop.") | |
1dd26275 | 348 | (license license:lgpl3))) ; or Creative Commons BY-SA 3.0 |
7d3f3651 | 349 | |
9167f8e6 LC |
350 | (define-public shared-mime-info |
351 | (package | |
352 | (name "shared-mime-info") | |
353 | (version "1.2") | |
354 | (source (origin | |
355 | (method url-fetch) | |
b38e45d8 EB |
356 | (uri (string-append "http://freedesktop.org/~hadess/" |
357 | "shared-mime-info-" version ".tar.xz")) | |
9167f8e6 LC |
358 | (sha256 |
359 | (base32 | |
360 | "0y5vi0vr6rbhvfzcfg57cfskn362bpvcpca9cy598nmr87i6lld5")))) | |
361 | (build-system gnu-build-system) | |
362 | (arguments | |
363 | ;; The build system appears not to be parallel-safe. | |
364 | '(#:parallel-build? #f)) | |
365 | (inputs | |
366 | `(("glib" ,glib) | |
c4c4cc05 | 367 | ("libxml2" ,libxml2))) |
9167f8e6 | 368 | (native-inputs |
c4c4cc05 JD |
369 | `(("intltool" ,intltool) |
370 | ("pkg-config" ,pkg-config))) | |
9167f8e6 LC |
371 | (home-page "http://freedesktop.org/wiki/Software/shared-mime-info") |
372 | (synopsis "Database of common MIME types") | |
373 | (description | |
374 | "The shared-mime-info package contains the core database of common types | |
375 | and the update-mime-database command used to extend it. It requires glib2 to | |
376 | be installed for building the update command. Additionally, it uses intltool | |
377 | for translations, though this is only a dependency for the maintainers. This | |
378 | database is translated at Transifex.") | |
1dd26275 | 379 | (license license:gpl2+))) |
9167f8e6 | 380 | |
bef4dd92 AE |
381 | (define-public hicolor-icon-theme |
382 | (package | |
383 | (name "hicolor-icon-theme") | |
384 | (version "0.12") | |
385 | (source | |
386 | (origin | |
387 | (method url-fetch) | |
b38e45d8 EB |
388 | (uri (string-append "http://icon-theme.freedesktop.org/releases/" |
389 | "hicolor-icon-theme-" version ".tar.gz")) | |
bef4dd92 AE |
390 | (sha256 |
391 | (base32 | |
392 | "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y")))) | |
393 | (build-system gnu-build-system) | |
394 | (arguments | |
395 | `(#:tests? #f)) ; no check target | |
396 | (home-page "http://icon-theme.freedesktop.org/releases/") | |
397 | (synopsis | |
398 | "Freedesktop icon theme") | |
399 | (description | |
400 | "Freedesktop icon theme.") | |
1dd26275 | 401 | (license license:gpl2))) |
bef4dd92 | 402 | |
d9c1a22b AE |
403 | (define-public libnotify |
404 | (package | |
405 | (name "libnotify") | |
406 | (version "0.7.6") | |
407 | (source | |
408 | (origin | |
409 | (method url-fetch) | |
410 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 411 | (version-major+minor version) "/" |
d9c1a22b AE |
412 | name "-" version ".tar.xz")) |
413 | (sha256 | |
414 | (base32 | |
415 | "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf")))) | |
416 | (build-system gnu-build-system) | |
417 | (inputs | |
418 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
419 | ("glib" ,glib) | |
420 | ("gtk+" ,gtk+) | |
c4c4cc05 JD |
421 | ("libpng" ,libpng))) |
422 | (native-inputs | |
426adbe8 LC |
423 | `(("pkg-config" ,pkg-config) |
424 | ("glib" ,glib "bin"))) | |
d9c1a22b AE |
425 | (home-page "https://developer-next.gnome.org/libnotify/") |
426 | (synopsis | |
427 | "GNOME desktop notification library") | |
428 | (description | |
429 | "Libnotify is a library that sends desktop notifications to a | |
35b9e423 | 430 | notification daemon, as defined in the Desktop Notifications spec. These |
d9c1a22b AE |
431 | notifications can be used to inform the user about an event or display |
432 | some form of information without getting in the user's way.") | |
1dd26275 | 433 | (license license:lgpl2.1+))) |
7a8605ce CR |
434 | |
435 | (define-public libpeas | |
436 | (package | |
437 | (name "libpeas") | |
438 | (version "1.9.0") | |
439 | (source | |
440 | (origin | |
441 | (method url-fetch) | |
442 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 443 | (version-major+minor version) "/" |
7a8605ce CR |
444 | name "-" version ".tar.xz")) |
445 | (sha256 | |
446 | (base32 | |
447 | "13fzyzv6c0cfdj83z1s16lv8k997wpnzyzr0wfwcfkcmvz64g1q0")))) | |
448 | (build-system gnu-build-system) | |
7a8605ce CR |
449 | (inputs |
450 | `(("atk" ,atk) | |
451 | ("gdk-pixbuf" ,gdk-pixbuf) | |
452 | ("glib" ,glib) | |
7a8605ce | 453 | ("gtk+" ,gtk+) |
141aed80 LC |
454 | ("pango" ,pango))) |
455 | (native-inputs | |
456 | `(("pkg-config" ,pkg-config) | |
93622993 | 457 | ("glib:bin" ,glib "bin") |
141aed80 LC |
458 | ("gobject-introspection" ,gobject-introspection) |
459 | ("intltool" ,intltool))) | |
7a8605ce CR |
460 | (home-page "https://wiki.gnome.org/Libpeas") |
461 | (synopsis "GObject plugin system") | |
462 | (description | |
35b9e423 | 463 | "Libpeas is a gobject-based plugins engine, and is targetted at giving |
7a8605ce CR |
464 | every application the chance to assume its own extensibility. It also has a |
465 | set of features including, but not limited to: multiple extension points; on | |
466 | demand (lazy) programming language support for C, Python and JS; simplicity of | |
467 | the API") | |
468 | ||
1dd26275 | 469 | (license license:lgpl2.0+))) |
ed19903d JD |
470 | |
471 | (define-public gtkglext | |
472 | (package | |
473 | (name "gtkglext") | |
474 | (version "1.2.0") | |
475 | (source (origin | |
476 | (method url-fetch) | |
477 | (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/" | |
478 | version "/gtkglext-" version ".tar.gz")) | |
479 | (sha256 | |
480 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
481 | (patches (list | |
ed19903d JD |
482 | (search-patch "gtkglext-disable-disable-deprecated.patch"))))) |
483 | (build-system gnu-build-system) | |
484 | (inputs `(("gtk+" ,gtk+-2) | |
485 | ("mesa" ,mesa) | |
486 | ("libx11" ,libx11) | |
487 | ("libxt" ,libxt))) | |
426adbe8 LC |
488 | (native-inputs `(("pkg-config" ,pkg-config) |
489 | ("glib" ,glib "bin"))) | |
a83b6a06 | 490 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 491 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 492 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 493 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
494 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
495 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 496 | (license license:lgpl2.1+))) |
3600420e JD |
497 | |
498 | (define-public glade3 | |
499 | (package | |
500 | (name "glade") | |
501 | (version "3.8.4") | |
b38e45d8 EB |
502 | (source (origin |
503 | (method url-fetch) | |
504 | (uri (string-append "mirror://gnome/sources/" name "/" | |
505 | (version-major+minor version) "/" | |
506 | name "3-" version ".tar.xz")) | |
3600420e JD |
507 | (sha256 |
508 | (base32 "021xgq2l18w3rvwms9aq2idm0fk66vwb4f777gs0qh3ap5shgbn7")))) | |
509 | (build-system gnu-build-system) | |
510 | (inputs | |
511 | `(("gtk+" ,gtk+-2) | |
512 | ("libxml2" ,libxml2))) | |
513 | (native-inputs | |
514 | `(("intltool" ,intltool) | |
515 | ("python" ,python) | |
516 | ("pkg-config" ,pkg-config))) | |
517 | (home-page "https://glade.gnome.org") | |
518 | (synopsis "GTK+ rapid application development tool") | |
519 | (description "Glade is a rapid application development (RAD) tool to | |
520 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
521 | the GNOME desktop environment.") | |
1dd26275 LC |
522 | (license license:lgpl2.0+))) |
523 | ||
524 | (define-public libcroco | |
525 | (package | |
526 | (name "libcroco") | |
527 | (version "0.6.8") | |
528 | (source (origin | |
529 | (method url-fetch) | |
b38e45d8 EB |
530 | (uri (string-append "mirror://gnome/sources/" name "/" |
531 | (version-major+minor version) "/" | |
532 | name "-" version ".tar.xz")) | |
1dd26275 LC |
533 | (sha256 |
534 | (base32 | |
535 | "0w453f3nnkbkrly7spx5lx5pf6mwynzmd5qhszprq8amij2invpa")))) | |
536 | (build-system gnu-build-system) | |
537 | (native-inputs | |
538 | `(("pkg-config" ,pkg-config))) | |
539 | (inputs | |
540 | `(("glib" ,glib) | |
541 | ("libxml2" ,libxml2) | |
542 | ("zlib" ,zlib))) | |
543 | (home-page "https://github.com/GNOME/libcroco") | |
544 | (synopsis "CSS2 parsing and manipulation library") | |
545 | (description | |
546 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
547 | The parser provides a low level event driven SAC-like API and a CSS object | |
548 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
549 | XML/CSS rendering engine.") | |
550 | ||
551 | ;; LGPLv2.1-only. | |
552 | (license license:lgpl2.1))) | |
25178594 LC |
553 | |
554 | (define-public libgsf | |
555 | (package | |
556 | (name "libgsf") | |
557 | (version "1.14.30") | |
558 | (source (origin | |
559 | (method url-fetch) | |
b38e45d8 EB |
560 | (uri (string-append "mirror://gnome/sources/" name "/" |
561 | (version-major+minor version) "/" | |
562 | name "-" version ".tar.xz")) | |
25178594 LC |
563 | (sha256 |
564 | (base32 | |
565 | "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b")))) | |
566 | (build-system gnu-build-system) | |
567 | (native-inputs | |
568 | `(("intltool" ,intltool) | |
569 | ("pkg-config" ,pkg-config))) | |
570 | (inputs | |
571 | `(("python" ,python) | |
572 | ("zlib" ,zlib) | |
573 | ("bzip2" ,bzip2))) | |
574 | (propagated-inputs | |
575 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
576 | ("glib" ,glib) | |
577 | ("libxml2" ,libxml2))) | |
578 | (home-page "http://www.gnome.org/projects/libgsf") | |
579 | (synopsis "GNOME's Structured File Library") | |
580 | (description | |
581 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
582 | dealing with different structured file formats.") | |
583 | ||
584 | ;; LGPLv2.1-only. | |
585 | (license license:lgpl2.1))) | |
63016e7c LC |
586 | |
587 | (define-public librsvg | |
588 | (package | |
589 | (name "librsvg") | |
590 | (version "2.40.2") | |
591 | (source (origin | |
592 | (method url-fetch) | |
b38e45d8 EB |
593 | (uri (string-append "mirror://gnome/sources/" name "/" |
594 | (version-major+minor version) "/" | |
595 | name "-" version ".tar.xz")) | |
63016e7c LC |
596 | (sha256 |
597 | (base32 | |
598 | "071959yjb2i1bja7ciy4bmpnd6fn2is9jjqsvvvnsqwl69j9n128")))) | |
599 | (build-system gnu-build-system) | |
600 | (arguments | |
ce2df078 | 601 | `(#:phases |
63016e7c LC |
602 | (alist-cons-before |
603 | 'configure 'augment-gir-search-path | |
604 | (lambda* (#:key inputs #:allow-other-keys) | |
63016e7c LC |
605 | (substitute* "gdk-pixbuf-loader/Makefile.in" |
606 | ;; By default the gdk-pixbuf loader is installed under | |
607 | ;; gdk-pixbuf's prefix. Work around that. | |
608 | (("gdk_pixbuf_moduledir = .*$") | |
609 | (string-append "gdk_pixbuf_moduledir = " | |
610 | "$(prefix)/lib/gdk-pixbuf-2.0/2.0.10/" | |
611 | "loaders\n")) | |
612 | ;; Likewise, create a separate 'loaders.cache' file. | |
613 | (("gdk_pixbuf_cache_file = .*$") | |
614 | "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n"))) | |
cd14b5e3 FB |
615 | (alist-cons-after |
616 | 'install 'generate-full-cache | |
617 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
618 | (let ((loaders-directory | |
619 | (string-append (assoc-ref outputs "out") | |
620 | "/lib/gdk-pixbuf-2.0/2.0.10/loaders"))) | |
621 | (zero? | |
622 | (system | |
623 | (string-append | |
624 | "gdk-pixbuf-query-loaders " | |
625 | loaders-directory "/libpixbufloader-svg.so " | |
626 | (string-join (find-files (assoc-ref inputs "gdk-pixbuf") | |
627 | "libpixbufloader-.*\\.so") " ") | |
628 | "> " loaders-directory ".cache"))))) | |
629 | %standard-phases)))) | |
63016e7c LC |
630 | (native-inputs |
631 | `(("pkg-config" ,pkg-config) | |
44add1ce | 632 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
633 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
634 | (inputs | |
635 | `(("pango" ,pango) | |
636 | ("libcroco" ,libcroco) | |
637 | ("bzip2" ,bzip2) | |
638 | ("libgsf" ,libgsf) | |
639 | ("libxml2" ,libxml2))) | |
640 | (propagated-inputs | |
641 | ;; librsvg-2.0.pc refers to all of that. | |
642 | `(("cairo" ,cairo) | |
643 | ("gdk-pixbuf" ,gdk-pixbuf) | |
644 | ("glib" ,glib))) | |
645 | (home-page "https://wiki.gnome.org/LibRsvg") | |
646 | (synopsis "Render SVG files using Cairo") | |
647 | (description | |
35b9e423 | 648 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
649 | library.") |
650 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
651 | |
652 | (define-public libidl | |
653 | (package | |
654 | (name "libidl") | |
655 | (version "0.8.14") | |
656 | (source (origin | |
657 | (method url-fetch) | |
658 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
659 | (string-append "mirror://gnome/sources/" upstream-name "/" |
660 | (version-major+minor version) "/" | |
661 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
662 | (sha256 |
663 | (base32 | |
664 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
665 | (build-system gnu-build-system) | |
666 | (inputs `(("glib" ,glib))) | |
667 | (native-inputs | |
668 | `(("pkg-config" ,pkg-config) | |
669 | ("flex", flex) | |
670 | ("bison" ,bison))) | |
671 | (home-page "http://freecode.com/projects/libidl") | |
672 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 673 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
674 | Definition Language (idl) files, which is a specification for defining |
675 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 676 | GNOME project, and the primary means of libidl distribution). However, the |
5698b8b8 JD |
677 | functionality was designed to be as reusable and portable as possible.") |
678 | (license license:lgpl2.0+))) | |
679 | ||
680 | ||
681 | (define-public orbit2 | |
682 | (package | |
683 | (name "orbit2") | |
684 | (version "2.14.19") | |
685 | (source (origin | |
686 | (method url-fetch) | |
687 | (uri (let ((upstream-name "ORBit2")) | |
b38e45d8 EB |
688 | (string-append "mirror://gnome/sources/" upstream-name "/" |
689 | (version-major+minor version) "/" | |
690 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
691 | (sha256 |
692 | (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
693 | (build-system gnu-build-system) | |
694 | (arguments | |
695 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
696 | `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
697 | ;; ... which they then completly ignore !! | |
698 | #:phases | |
699 | (alist-cons-before | |
700 | 'configure 'ignore-deprecations | |
701 | (lambda _ | |
702 | (substitute* "linc2/src/Makefile.in" | |
703 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
704 | %standard-phases))) | |
705 | (inputs `(("glib" ,glib) | |
706 | ("libidl" ,libidl))) | |
707 | (native-inputs | |
708 | `(("pkg-config" ,pkg-config))) | |
709 | (home-page "https://projects.gnome.org/orbit2/") | |
710 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 711 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
5698b8b8 JD |
712 | featuring mature C, C++ and Python bindings.") |
713 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version. | |
714 | ;; SOME of the code files have licence notices for GPLv2+ | |
715 | ;; The tarball contains files of the text of GPLv2 and LGPLv2 | |
716 | (license license:gpl2+))) | |
717 | ||
718 | ||
719 | (define-public libbonobo | |
720 | (package | |
721 | (name "libbonobo") | |
722 | (version "2.32.1") | |
723 | (source (origin | |
724 | (method url-fetch) | |
5becd025 | 725 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 726 | (version-major+minor version) |
5becd025 | 727 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 728 | (sha256 |
f1fc45a9 EB |
729 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
730 | (patches (list (search-patch "libbonobo-activation-test-race.patch"))))) | |
5698b8b8 JD |
731 | (build-system gnu-build-system) |
732 | (arguments | |
733 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
734 | `(#:configure-flags |
735 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
736 | ;; ... which they then completly ignore !! | |
737 | #:phases | |
738 | (alist-cons-before | |
739 | 'configure 'ignore-deprecations | |
740 | (lambda _ | |
741 | (substitute* "activation-server/Makefile.in" | |
742 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
743 | %standard-phases))) | |
5698b8b8 JD |
744 | (inputs `(("popt" ,popt) |
745 | ("libxml2" ,libxml2))) | |
746 | ;; The following are Required by the .pc file | |
44add1ce | 747 | (propagated-inputs |
5698b8b8 JD |
748 | `(("glib" ,glib) |
749 | ("orbit2" ,orbit2))) | |
750 | (native-inputs | |
751 | `(("intltool" ,intltool) | |
752 | ("pkg-config" ,pkg-config) | |
221ed17a | 753 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
754 | ("flex" ,flex) |
755 | ("bison" ,bison))) | |
756 | (home-page "https://developer.gnome.org/libbonobo/") | |
757 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
758 | (description "Bonobo is a framework for creating reusable components for | |
759 | use in GNOME applications, built on top of CORBA.") | |
760 | ;; Licence not explicitly stated. Source files contain no licence notices. | |
761 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
762 | ;; GPLv2 covers both conditions | |
763 | (license license:gpl2+))) | |
764 | ||
765 | ||
766 | (define-public gconf | |
767 | (package | |
768 | (name "gconf") | |
769 | (version "3.2.6") | |
770 | (source (origin | |
771 | (method url-fetch) | |
772 | (uri | |
773 | (let ((upstream-name "GConf")) | |
b38e45d8 EB |
774 | (string-append "mirror://gnome/sources/" upstream-name "/" |
775 | (version-major+minor version) "/" | |
776 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
777 | (sha256 |
778 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
779 | (build-system gnu-build-system) | |
780 | (inputs `(("glib" ,glib) | |
781 | ("dbus" ,dbus) | |
782 | ("dbus-glib" ,dbus-glib) | |
783 | ("libxml2" ,libxml2))) | |
784 | (propagated-inputs `(("orbit2" ,orbit2))) ; referred to in the .pc file | |
785 | (native-inputs | |
786 | `(("intltool" ,intltool) | |
221ed17a | 787 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
788 | ("pkg-config" ,pkg-config))) |
789 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
790 | (synopsis "Store application preferences") |
791 | (description "Gconf is a system for storing application preferences. It | |
792 | is intended for user preferences; not arbitrary data storage.") | |
5698b8b8 JD |
793 | (license license:lgpl2.0+))) |
794 | ||
795 | ||
796 | (define-public gnome-mime-data | |
797 | (package | |
798 | (name "gnome-mime-data") | |
799 | (version "2.18.0") | |
800 | (source (origin | |
801 | (method url-fetch) | |
b38e45d8 EB |
802 | (uri (string-append "mirror://gnome/sources/" name "/" |
803 | (version-major+minor version) "/" | |
804 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
805 | (sha256 |
806 | (base32 | |
807 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
808 | (build-system gnu-build-system) | |
809 | (native-inputs | |
810 | `(("perl" ,perl) | |
811 | ("intltool" ,intltool))) | |
812 | (home-page "http://www.gnome.org") | |
35b9e423 | 813 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
814 | (description "GNOME Mime Data is a module which contains the base MIME |
815 | and Application database for GNOME. The data stored by this module is | |
816 | designed to be accessed through the MIME functions in GnomeVFS.") | |
817 | (license license:gpl2+))) | |
818 | ||
819 | ||
820 | (define-public gnome-vfs | |
821 | (package | |
822 | (name "gnome-vfs") | |
823 | (version "2.24.4") | |
824 | (source (origin | |
825 | (method url-fetch) | |
b38e45d8 EB |
826 | (uri (string-append "mirror://gnome/sources/" name "/" |
827 | (version-major+minor version) "/" | |
828 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
829 | (sha256 |
830 | (base32 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
831 | (build-system gnu-build-system) | |
832 | (arguments | |
833 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
834 | `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
835 | ;; ... which they then completly ignore !! | |
836 | #:phases | |
837 | (alist-cons-before | |
838 | 'configure 'ignore-deprecations | |
839 | (lambda _ | |
840 | (begin | |
841 | (substitute* "libgnomevfs/Makefile.in" | |
842 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
843 | (substitute* "daemon/Makefile.in" | |
844 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))) | |
845 | %standard-phases))) | |
846 | (inputs `(("glib" ,glib) | |
847 | ("libxml2" ,libxml2) | |
848 | ("dbus-glib" ,dbus-glib) | |
849 | ("dbus" ,dbus) | |
850 | ("gconf" ,gconf) | |
851 | ("gnome-mime-data" ,gnome-mime-data) | |
852 | ("zlib" ,zlib))) | |
853 | (native-inputs | |
221ed17a EB |
854 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
855 | ("intltool" ,intltool) | |
5698b8b8 JD |
856 | ("pkg-config" ,pkg-config))) |
857 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 858 | (synopsis "Access files and folders in GNOME applications") |
5698b8b8 | 859 | (description "GnomeVFS is the core library used to access files and |
35b9e423 | 860 | folders in GNOME applications. It provides a file system abstraction which |
5698b8b8 JD |
861 | allows applications to access local and remote files with a single consistent API.") |
862 | (license license:lgpl2.0+))) | |
863 | ||
864 | ||
865 | ||
866 | (define-public libgnome | |
867 | (package | |
868 | (name "libgnome") | |
869 | (version "2.32.1") | |
870 | (source (origin | |
871 | (method url-fetch) | |
b38e45d8 EB |
872 | (uri (string-append "mirror://gnome/sources/" name "/" |
873 | (version-major+minor version) "/" | |
874 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
875 | (sha256 |
876 | (base32 | |
877 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")))) | |
878 | (build-system gnu-build-system) | |
879 | (arguments | |
880 | `(#:phases | |
881 | (alist-cons-before | |
882 | 'configure 'enable-deprecated | |
883 | (lambda _ | |
884 | (substitute* "libgnome/Makefile.in" | |
885 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
886 | %standard-phases))) | |
887 | (inputs `(("popt" ,popt) | |
888 | ("libxml2" ,libxml2))) | |
889 | (native-inputs | |
221ed17a EB |
890 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
891 | ("intltool" ,intltool) | |
5698b8b8 JD |
892 | ("pkg-config" ,pkg-config))) |
893 | ;; The following are listed as Required in the .pc file | |
894 | ;; (except for libcanberra -- which seems to be oversight on the part | |
895 | ;; of the upstream developers -- anything that links against libgnome, | |
896 | ;; must also link against libcanberra | |
897 | (propagated-inputs | |
898 | `(("libcanberra" ,libcanberra) | |
899 | ("libbonobo" ,libbonobo) | |
900 | ("gconf" ,gconf) | |
901 | ("gnome-vfs" ,gnome-vfs) | |
902 | ("glib" ,glib))) | |
903 | (home-page "https://developer.gnome.org/libgnome/") | |
904 | (synopsis "Useful routines for building applications") | |
905 | (description "The libgnome library provides a number of useful routines | |
906 | for building modern applications, including session management, activation of | |
907 | files and URIs, and displaying help.") | |
908 | (license license:lgpl2.0+))) | |
909 | ||
910 | ||
911 | (define-public libart-lgpl | |
912 | (package | |
913 | (name "libart-lgpl") | |
76c9b6aa | 914 | (version "2.3.21") |
5698b8b8 JD |
915 | (source (origin |
916 | (method url-fetch) | |
917 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
918 | (string-append "mirror://gnome/sources/" upstream-name "/" |
919 | (version-major+minor version) "/" | |
920 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
921 | (sha256 |
922 | (base32 | |
76c9b6aa | 923 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
924 | (build-system gnu-build-system) |
925 | (native-inputs | |
926 | `(("pkg-config" ,pkg-config))) | |
927 | (home-page "https://people.gnome.org/~mathieu/libart") | |
928 | (synopsis "2D drawing library") | |
929 | (description "Libart is a 2D drawing library intended as a | |
930 | high-quality vector-based 2D library with antialiasing and alpha composition.") | |
931 | (license license:lgpl2.0+))) | |
932 | ||
933 | ||
934 | ||
935 | (define-public libgnomecanvas | |
936 | (package | |
937 | (name "libgnomecanvas") | |
938 | (version "2.30.3") | |
939 | (source (origin | |
940 | (method url-fetch) | |
b38e45d8 EB |
941 | (uri (string-append "mirror://gnome/sources/" name "/" |
942 | (version-major+minor version) "/" | |
943 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
944 | (sha256 |
945 | (base32 | |
946 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
947 | (build-system gnu-build-system) | |
948 | ;; Mentioned as Required in the .pc file | |
949 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
950 | ("gtk+" ,gtk+-2))) | |
951 | (native-inputs | |
952 | `(("intltool" ,intltool) | |
221ed17a | 953 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
954 | ("pkg-config" ,pkg-config))) |
955 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
956 | (synopsis "Flexible widget for creating interactive structured graphics") | |
957 | (description "The GnomeCanvas widget provides a flexible widget for | |
958 | creating interactive structured graphics.") | |
959 | (license license:lgpl2.0+))) | |
960 | ||
961 | (define-public libgnomeui | |
962 | (package | |
963 | (name "libgnomeui") | |
964 | (version "2.24.5") | |
965 | (source (origin | |
966 | (method url-fetch) | |
b38e45d8 EB |
967 | (uri (string-append "mirror://gnome/sources/" name "/" |
968 | (version-major+minor version) "/" | |
969 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
970 | (sha256 |
971 | (base32 | |
972 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
973 | (build-system gnu-build-system) | |
974 | ;; Mentioned as Required in the .pc file | |
975 | (propagated-inputs `(("libgnome" ,libgnome) | |
976 | ("libgnome-keyring" ,libgnome-keyring))) | |
977 | (inputs `(("libgnomecanvas" ,libgnomecanvas) | |
978 | ("libbonoboui" ,libbonoboui) | |
979 | ("libjpeg" ,libjpeg) | |
980 | ("popt" ,popt) | |
981 | ("libbonobo" ,libbonobo) | |
982 | ("libxml2" ,libxml2) | |
983 | ("libglade" ,libglade))) | |
984 | (native-inputs | |
221ed17a EB |
985 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
986 | ("intltool" ,intltool) | |
5698b8b8 JD |
987 | ("pkg-config" ,pkg-config))) |
988 | (home-page "https://developer.gnome.org/libgnomeui/") | |
989 | (synopsis "Additional widgets for applications") | |
35b9e423 EB |
990 | (description "The libgnomeui library provides additional widgets for |
991 | applications. Many of the widgets from libgnomeui have already been ported to GTK+.") | |
5698b8b8 JD |
992 | (license license:lgpl2.0+))) |
993 | ||
994 | (define-public libglade | |
995 | (package | |
996 | (name "libglade") | |
997 | (version "2.6.4") | |
998 | (source (origin | |
999 | (method url-fetch) | |
b38e45d8 EB |
1000 | (uri (string-append "mirror://gnome/sources/" name "/" |
1001 | (version-major+minor version) "/" | |
1002 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1003 | (sha256 |
1004 | (base32 | |
1005 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1006 | (build-system gnu-build-system) | |
1007 | (inputs | |
1008 | `(("gtk+-2" ,gtk+-2) | |
1009 | ("libxml2" ,libxml2) | |
1010 | ("python" ,python))) ;; needed for the optional libglade-convert program | |
1011 | (native-inputs | |
1012 | `(("pkg-config" ,pkg-config))) | |
1013 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1014 | (synopsis "Load glade interfaces and access the glade built widgets") |
1015 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1016 | graphical interfaces described in glade files and for accessing the |
1017 | widgets built in the loading process.") | |
1018 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1019 | ||
1020 | (define-public libgnomeprint | |
1021 | (package | |
1022 | (name "libgnomeprint") | |
1023 | (version "2.8.2") | |
1024 | (source (origin | |
1025 | (method url-fetch) | |
b38e45d8 EB |
1026 | (uri (string-append "mirror://gnome/sources/" name "/" |
1027 | (version-major+minor version) "/" | |
1028 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1029 | (sha256 |
1030 | (base32 | |
1031 | "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")))) | |
1032 | (build-system gnu-build-system) | |
1033 | (inputs | |
1034 | `(("popt" ,popt) | |
1035 | ("libart-lgpl" ,libart-lgpl) | |
1036 | ("gtk+" ,gtk+-2) | |
44add1ce | 1037 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1038 | (native-inputs |
1039 | `(("intltool" ,intltool) | |
221ed17a | 1040 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1041 | ("pkg-config" ,pkg-config))) |
1042 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 EB |
1043 | (synopsis "Printing framework for GNOME") |
1044 | (description "Gnome-print is a high-quality printing framework for GNOME.") | |
5698b8b8 JD |
1045 | (license license:lgpl2.0+))) |
1046 | ||
1047 | ||
1048 | (define-public libgnomeprintui | |
1049 | (package | |
1050 | (name "libgnomeprintui") | |
1051 | (version "2.8.2") | |
1052 | (source (origin | |
1053 | (method url-fetch) | |
b38e45d8 EB |
1054 | (uri (string-append "mirror://gnome/sources/" name "/" |
1055 | (version-major+minor version) "/" | |
1056 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1057 | (sha256 |
1058 | (base32 | |
1059 | "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw")))) | |
1060 | (build-system gnu-build-system) | |
1061 | ;; Mentioned as Required in the .pc file | |
1062 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1063 | (inputs `(("gtk+" ,gtk+-2) | |
1064 | ("glib" ,glib) | |
1065 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1066 | ("libgnomecanvas" ,libgnomecanvas) | |
1067 | ("libxml2" ,libxml2))) | |
1068 | (native-inputs | |
1069 | `(("intltool" ,intltool) | |
1070 | ("pkg-config" ,pkg-config))) | |
1071 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1072 | (synopsis "Printing framework for GNOME") | |
1073 | (description "Gnome-print is a high-quality printing framework for GNOME.") | |
1074 | (license license:lgpl2.0+))) | |
1075 | ||
1076 | ||
1077 | (define-public libbonoboui | |
1078 | (package | |
1079 | (name "libbonoboui") | |
1080 | (version "2.24.5") | |
1081 | (source (origin | |
1082 | (method url-fetch) | |
b38e45d8 EB |
1083 | (uri (string-append "mirror://gnome/sources/" name "/" |
1084 | (version-major+minor version) "/" | |
1085 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1086 | (sha256 |
1087 | (base32 | |
1088 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1089 | (build-system gnu-build-system) | |
1090 | (arguments | |
1091 | `(#:phases | |
1092 | (alist-cons-before | |
1093 | 'check 'start-xserver | |
1094 | (lambda* (#:key inputs #:allow-other-keys) | |
1095 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1096 | (disp ":1")) | |
1097 | ||
1098 | (setenv "HOME" (getcwd)) | |
1099 | (setenv "DISPLAY" disp) | |
1100 | ;; There must be a running X server and make check doesn't start one. | |
1101 | ;; Therefore we must do it. | |
1102 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))) | |
1103 | %standard-phases))) | |
1104 | ;; Mentioned as Required by the .pc file | |
1105 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1106 | (inputs | |
1107 | `(("popt" ,popt) | |
1108 | ("pangox-compat" ,pangox-compat) | |
1109 | ("libgnome" ,libgnome) | |
1110 | ("libgnomecanvas" ,libgnomecanvas) | |
1111 | ("libglade" ,libglade))) | |
1112 | (native-inputs | |
221ed17a EB |
1113 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
1114 | ("intltool" ,intltool) | |
5698b8b8 JD |
1115 | ("xorg-server" ,xorg-server) ; For running the tests |
1116 | ("pkg-config" ,pkg-config))) | |
1117 | (home-page "https://developer.gnome.org/libbonoboui/") | |
1118 | (synopsis "Some user interface controls using Bonobo") | |
1119 | (description "The Bonobo UI library provides a number of user interface | |
1120 | controls using the Bonobo component framework.") | |
1121 | (license license:lgpl2.0+))) | |
1122 | ||
fecbf86e SB |
1123 | (define-public libwnck |
1124 | (package | |
1125 | (name "libwnck") | |
1126 | (version "3.14.0") | |
1127 | (source (origin | |
1128 | (method url-fetch) | |
1129 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1130 | (version-major+minor version) "/" | |
1131 | name "-" version ".tar.xz")) | |
1132 | (sha256 | |
1133 | (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m")))) | |
1134 | (build-system gnu-build-system) | |
1135 | (native-inputs | |
1136 | `(("pkg-config" ,pkg-config) | |
1137 | ("intltool" ,intltool))) | |
1138 | (propagated-inputs | |
1139 | `(("gtk+" ,gtk+))) | |
1140 | (inputs | |
1141 | `(("startup-notification" ,startup-notification) | |
1142 | ("libxres" ,libxres))) | |
1143 | (home-page "https://developer.gnome.org/libwnck/") | |
1144 | (synopsis "Window Navigator Construction Kit") | |
1145 | (description | |
1146 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
1147 | writing pagers, tasklists, and more generally applications that are dealing | |
1148 | with window management. It tries hard to respect the Extended Window Manager | |
1149 | Hints specification (EWMH).") | |
1150 | (license license:lgpl2.0+))) | |
1151 | ||
1152 | ;; stable version for gtk2, required by xfwm4. | |
1153 | (define-public libwnck-1 | |
1154 | (package (inherit libwnck) | |
1155 | (name "libwnck") | |
1156 | (version "2.30.7") | |
1157 | (source (origin | |
1158 | (method url-fetch) | |
1159 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1160 | (version-major+minor version) "/" | |
1161 | name "-" version ".tar.xz")) | |
1162 | (sha256 | |
1163 | (base32 | |
1164 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
1165 | (propagated-inputs | |
1166 | `(("gtk+" ,gtk+-2))))) | |
b804c61e JD |
1167 | |
1168 | (define-public goffice | |
1169 | (package | |
1170 | (name "goffice") | |
1171 | (version "0.10.14") | |
1172 | (source (origin | |
1173 | (method url-fetch) | |
b38e45d8 EB |
1174 | (uri (string-append "mirror://gnome/sources/" name "/" |
1175 | (version-major+minor version) "/" | |
1176 | name "-" version ".tar.xz")) | |
b804c61e JD |
1177 | (sha256 |
1178 | (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60")))) | |
1179 | (build-system gnu-build-system) | |
1180 | (inputs | |
1181 | `(("gtk+" ,gtk+) | |
1182 | ("libgsf" ,libgsf) | |
1183 | ("librsvg" ,librsvg) | |
1184 | ("libxslt" ,libxslt) | |
1185 | ("libxml2" ,libxml2))) | |
1186 | (native-inputs | |
1187 | `(("intltool" ,intltool) | |
f280cdb1 | 1188 | ("glib" ,glib "bin") |
b804c61e JD |
1189 | ("pkg-config" ,pkg-config))) |
1190 | (home-page "https://developer.gnome.org/goffice/") | |
1191 | (synopsis "Document-centric objects and utilities") | |
1192 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
1193 | (license | |
1194 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") | |
1195 | ;; Note: NOT LGPL | |
1196 | (list license:gpl2 license:gpl3)))) | |
1197 | ||
1198 | (define-public gnumeric | |
1199 | (package | |
1200 | (name "gnumeric") | |
1201 | (version "1.12.17") | |
1202 | (source (origin | |
1203 | (method url-fetch) | |
b38e45d8 EB |
1204 | (uri (string-append "mirror://gnome/sources/" name "/" |
1205 | (version-major+minor version) "/" | |
1206 | name "-" version ".tar.xz")) | |
b804c61e JD |
1207 | (sha256 |
1208 | (base32 | |
1209 | "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c")))) | |
1210 | (build-system gnu-build-system) | |
1211 | (arguments | |
1212 | `(;; The gnumeric developers don't worry much about failing tests. | |
1213 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
1214 | #:tests? #f | |
1215 | #:phases | |
1216 | (alist-cons-before | |
1217 | 'configure 'pre-conf | |
1218 | (lambda* (#:key outputs #:allow-other-keys) | |
1219 | ;; Make install tries to write into the directory of goffice | |
1220 | ;; I am informed that this only affects the possibility to embed a | |
1221 | ;; spreadsheet inside an Abiword document. So presumably when we | |
1222 | ;; package Abiword we'll have to refer it to this directory. | |
1223 | (substitute* "configure" | |
1224 | (("^GOFFICE_PLUGINS_DIR=.*") | |
1225 | (string-append "GOFFICE_PLUGINS_DIR=" | |
1226 | (assoc-ref outputs "out") "/goffice/plugins")))) | |
1227 | %standard-phases))) | |
1228 | (inputs | |
1229 | `(("glib" ,glib) | |
1230 | ("gtk+" ,gtk+) | |
1231 | ("goffice" ,goffice) | |
1232 | ("libgsf" ,libgsf) | |
1233 | ("libxml2" ,libxml2) | |
1234 | ("zlib" ,zlib))) | |
1235 | (native-inputs | |
1236 | `(("intltool" ,intltool) | |
b9663471 | 1237 | ("glib:bin" ,glib "bin") |
b804c61e JD |
1238 | ("pkg-config" ,pkg-config))) |
1239 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
1240 | (synopsis "Spreadsheet application") |
1241 | (description | |
1242 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
1243 | interoperable with other spreadsheet applications. It has a vast array of | |
1244 | features beyond typical spreadsheet functionality, such as support for linear | |
1245 | and non-linear solvers, statistical analysis, and telecommunication | |
1246 | engineering.") | |
1247 | (license | |
b804c61e JD |
1248 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1249 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
1250 | |
1251 | (define-public gnome-themes-standard | |
1252 | (package | |
1253 | (name "gnome-themes-standard") | |
1254 | ;; The version of this package should be the same as the version of | |
1255 | ;; gnome-desktop. | |
1256 | (version (package-version gnome-desktop)) | |
1257 | (source | |
1258 | (origin | |
1259 | (method url-fetch) | |
1260 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1261 | (version-major+minor version) "/" name "-" | |
1262 | version ".tar.xz")) | |
1263 | (sha256 | |
1264 | (base32 | |
1265 | "0f2b3ypkfvrdsxcvp14ja9wqj382f1p46yrjvhhxkkjgagy6qb41")))) | |
1266 | (build-system gnu-build-system) | |
1267 | (inputs | |
1268 | `(("gtk+" ,gtk+) | |
1269 | ("gtk+-2" ,gtk+-2) | |
1270 | ("librsvg" ,librsvg) | |
1271 | ("libxml2" ,libxml2) | |
1272 | ("glib" ,glib))) | |
1273 | (native-inputs | |
1274 | `(("intltool" ,intltool) | |
1275 | ("glib:bin" ,glib "bin") | |
1276 | ("pkg-config" ,pkg-config))) | |
1277 | (arguments | |
1278 | `(#:phases | |
1279 | (alist-cons-before | |
1280 | 'build 'use-full-cache | |
1281 | ;; Use librsvg's loaders.cache instead of the one provided by | |
1282 | ;; gdk-pixbuf because the latter does not include support for SVG | |
1283 | ;; files. | |
1284 | (lambda* (#:key inputs #:allow-other-keys) | |
1285 | (setenv "GDK_PIXBUF_MODULE_FILE" | |
1286 | (car (find-files (assoc-ref inputs "librsvg") | |
1287 | "loaders\\.cache")))) | |
1288 | %standard-phases))) | |
1289 | (home-page "https://launchpad.net/gnome-themes-standard") | |
1290 | (synopsis "Default GNOME 3 themes") | |
1291 | (description | |
1292 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
1293 | (license license:lgpl2.1+))) |