gnu: libextractor: Adjust to deal with current libmagic.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
CommitLineData
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>
995b7261
AE
7;;;
8;;; This file is part of GNU Guix.
9;;;
10;;; GNU Guix is free software; you can redistribute it and/or modify it
11;;; under the terms of the GNU General Public License as published by
12;;; the Free Software Foundation; either version 3 of the License, or (at
13;;; your option) any later version.
14;;;
15;;; GNU Guix is distributed in the hope that it will be useful, but
16;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18;;; GNU General Public License for more details.
19;;;
20;;; You should have received a copy of the GNU General Public License
21;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22
23(define-module (gnu packages gnome)
b5b73a82 24 #:use-module ((guix licenses) #:prefix license:)
995b7261
AE
25 #:use-module (guix packages)
26 #:use-module (guix download)
29a7c98a 27 #:use-module (guix utils)
995b7261 28 #:use-module (guix build-system gnu)
121de2e1 29 #:use-module (guix build-system glib-or-gtk)
ed19903d 30 #:use-module (gnu packages)
5698b8b8 31 #:use-module (gnu packages bison)
121de2e1 32 #:use-module (gnu packages flex)
b4ce6300 33 #:use-module (gnu packages docbook)
995b7261 34 #:use-module (gnu packages glib)
c1354b90 35 #:use-module (gnu packages gnupg)
85f5dc19 36 #:use-module (gnu packages gstreamer)
d9c1a22b 37 #:use-module (gnu packages gtk)
c1354b90 38 #:use-module (gnu packages pdf)
5698b8b8 39 #:use-module (gnu packages popt)
c1354b90 40 #:use-module (gnu packages ghostscript)
9cc98f8a 41 #:use-module (gnu packages iso-codes)
85f5dc19 42 #:use-module (gnu packages libcanberra)
e55354b8 43 #:use-module (gnu packages image)
27477d2d 44 #:use-module (gnu packages perl)
995b7261
AE
45 #:use-module (gnu packages pkg-config)
46 #:use-module (gnu packages python)
85f5dc19 47 #:use-module (gnu packages xml)
200726ed 48 #:use-module (gnu packages gl)
1dd26275 49 #:use-module (gnu packages compression)
fecbf86e 50 #:use-module (gnu packages xorg)
ea57378f
SB
51 #:use-module (gnu packages xdisorg)
52 #:use-module (gnu packages ncurses))
85f5dc19
AE
53
54(define-public brasero
55 (package
56 (name "brasero")
57 (version "3.8.0")
58 (source (origin
59 (method url-fetch)
60 (uri (string-append "mirror://gnome/sources/brasero/3.8/brasero-"
61 version ".tar.xz"))
62 (sha256
63 (base32
64 "1r5wjsrm47amdaf862ymkdlwlb636c45wg14x20hdr99c653d2nr"))))
65 (build-system gnu-build-system)
66 (propagated-inputs
67 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
68 (native-inputs
69 `(("intltool" ,intltool)
426adbe8 70 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
9cc98f8a 71 ("pkg-config" ,pkg-config)))
85f5dc19
AE
72 (inputs
73 `(("glib" ,glib)
74 ("gnome-doc-utils" ,gnome-doc-utils)
75 ("gstreamer" ,gstreamer)
76 ("gst-plugins-base" ,gst-plugins-base)
77 ("gtk+" ,gtk+)
85f5dc19
AE
78 ("itstool" ,itstool)
79 ("libcanberra" ,libcanberra)
80 ("libice" ,libice)
81 ("libnotify" ,libnotify)
82 ("libsm" ,libsm)
c4c4cc05 83 ("libxml2" ,libxml2)))
85f5dc19
AE
84 (home-page "https://projects.gnome.org/brasero/")
85 (synopsis "CD/DVD burning tool for Gnome")
86 (description "Brasero is an application to burn CD/DVD for the Gnome
87Desktop. It is designed to be as simple as possible and has some unique
88features to enable users to create their discs easily and quickly.")
1dd26275 89 (license license:gpl2+)))
995b7261 90
9cc98f8a
CR
91(define-public gnome-desktop
92 (package
93 (name "gnome-desktop")
94 (version "3.10.0")
95 (source
96 (origin
97 (method url-fetch)
b38e45d8
EB
98 (uri (string-append "mirror://gnome/sources/" name "/"
99 (version-major+minor version) "/"
9cc98f8a
CR
100 name "-" version ".tar.xz"))
101 (sha256
102 (base32
103 "0p5p6wvmy5zvcdnmp5h2biz7rjrcw99chq5kkwcnb68flcmkb1ry"))))
104 (build-system gnu-build-system)
105 (native-inputs
106 `(("intltool" ,intltool)
107 ("pkg-config" ,pkg-config)))
108 (inputs
109 `(("gdk-pixbuf" ,gdk-pixbuf)
110 ("glib" ,glib)
111 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
112 ("gtk+" ,gtk+)
113 ("iso-codes" ,iso-codes)
114 ("itstool" ,itstool)
115 ("libx11" ,libx11)
116 ("libxext" ,libxext)
117 ("libxkbfile" ,libxkbfile)
118 ("libxrandr" ,libxrandr)
119 ("xkeyboard-config" ,xkeyboard-config)))
120 (home-page "https://www.gnome.org/")
121 (synopsis
35b9e423 122 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
123 (description
124 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
125on the desktop, but that cannot live in the platform for various reasons.
126There is no API or ABI guarantee, although we are doing our best to provide
127stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
128
129The gnome-about program helps find which version of GNOME is installed.")
130 ; Some bits under the LGPL.
1dd26275 131 (license license:gpl2+)))
9cc98f8a 132
995b7261
AE
133(define-public gnome-doc-utils
134 (package
135 (name "gnome-doc-utils")
136 (version "0.20.10")
137 (source
138 (origin
139 (method url-fetch)
b38e45d8
EB
140 (uri (string-append "mirror://gnome/sources/" name "/"
141 (version-major+minor version) "/"
995b7261
AE
142 name "-" version ".tar.xz"))
143 (sha256
144 (base32
145 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
146 (build-system gnu-build-system)
c4c4cc05 147 (native-inputs
995b7261 148 `(("intltool" ,intltool)
b4ce6300 149 ("docbook-xml" ,docbook-xml-4.4)
995b7261
AE
150 ("libxml2" ,libxml2)
151 ("libxslt" ,libxslt)
152 ("pkg-config" ,pkg-config)
153 ("python-2" ,python-2)))
995b7261
AE
154 (home-page "https://wiki.gnome.org/GnomeDocUtils")
155 (synopsis
156 "Documentation utilities for the Gnome project")
157 (description
158 "Gnome-doc-utils is a collection of documentation utilities for the
159Gnome project. It includes xml2po tool which makes it easier to translate
160and keep up to date translations of documentation.")
1dd26275 161 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 162
c1354b90
LC
163(define-public libgnome-keyring
164 (package
165 (name "libgnome-keyring")
166 (version "3.6.0")
167 (source (origin
168 (method url-fetch)
b38e45d8
EB
169 (uri (string-append "mirror://gnome/sources/" name "/"
170 (version-major+minor version) "/"
171 name "-" version ".tar.xz"))
c1354b90
LC
172 (sha256
173 (base32
174 "0c4qrjpmv1hqga3xv6wsq2z10x2n78qgw7q3k3s01y1pggxkgjkd"))))
175 (build-system gnu-build-system)
c1354b90 176 (inputs
c4c4cc05 177 `(("libgcrypt" ,libgcrypt)
c1354b90 178 ("dbus" ,dbus)))
c4c4cc05
JD
179 (native-inputs
180 `(("pkg-config" ,pkg-config)
426adbe8 181 ("glib" ,glib "bin")
c4c4cc05 182 ("intltool" ,intltool)))
c1354b90
LC
183 (propagated-inputs
184 ;; Referred to in .h files and .pc.
185 `(("glib" ,glib)))
186 (home-page "http://www.gnome.org")
187 (synopsis "Accessing passwords from the GNOME keyring")
188 (description
189 "Client library to access passwords from the GNOME keyring.")
190
191 ;; Though a couple of files are LGPLv2.1+.
1dd26275 192 (license license:lgpl2.0+)))
c1354b90
LC
193
194(define-public evince
195 (package
196 (name "evince")
197 (version "3.6.1")
198 (source (origin
199 (method url-fetch)
b38e45d8
EB
200 (uri (string-append "mirror://gnome/sources/" name "/"
201 (version-major+minor version) "/"
202 name "-" version ".tar.xz"))
c1354b90
LC
203 (sha256
204 (base32
205 "1da1pij030dh8mb0pr0jnyszgsbjnh8lc17rj5ii52j3kmbv51qv"))))
121de2e1 206 (build-system glib-or-gtk-build-system)
c1354b90
LC
207 (arguments
208 `(#:configure-flags '("--disable-nautilus")
209
210 ;; FIXME: Tests fail with:
211 ;; ImportError: No module named gi.repository
212 ;; Where should that module come from?
3d243e9c 213 #:tests? #f))
c1354b90
LC
214 (inputs
215 `(("libspectre" ,libspectre)
216 ;; ("djvulibre" ,djvulibre)
217 ("ghostscript" ,ghostscript)
218 ("poppler" ,poppler)
219 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
220 ("libgnome-keyring" ,libgnome-keyring)
221 ("gnome-icon-theme" ,gnome-icon-theme)
222 ("itstool" ,itstool)
223 ("gdk-pixbuf" ,gdk-pixbuf)
224 ("atk" ,atk)
225 ("pango" ,pango)
226 ("gtk+" ,gtk+)
227 ("glib" ,glib)
228 ("libxml2" ,libxml2)
c1354b90
LC
229 ("libsm" ,libsm)
230 ("libice" ,libice)
96e42467 231 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
232 ("dconf" ,dconf)
233 ("libcanberra" ,libcanberra)
234
c1354b90
LC
235 ;; For tests.
236 ("dogtail" ,python2-dogtail)))
96e42467 237 (native-inputs
c4c4cc05 238 `(("intltool" ,intltool)
426adbe8 239 ("glib" ,glib "bin")
c4c4cc05 240 ("pkg-config" ,pkg-config)))
c1354b90
LC
241 (home-page
242 "http://www.gnome.org/projects/evince/")
243 (synopsis "GNOME's document viewer")
244 (description
245 "Evince is a document viewer for multiple document formats. It
246currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
247of Evince is to replace the multiple document viewers that exist
96e42467 248on the GNOME Desktop with a single simple application.")
1dd26275 249 (license license:gpl2+)))
c1354b90 250
22e32e69
AE
251(define-public gsettings-desktop-schemas
252 (package
253 (name "gsettings-desktop-schemas")
254 (version "3.10.0")
255 (source
256 (origin
257 (method url-fetch)
258 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 259 (version-major+minor version) "/"
22e32e69
AE
260 name "-" version ".tar.xz"))
261 (sha256
262 (base32
263 "1km8qxwrzvravmg8j680qv64bwnwbdgrmy8bqmhs0dgxn2b1as6a"))))
264 (build-system gnu-build-system)
265 (inputs
c4c4cc05
JD
266 `(("glib" ,glib)))
267 (native-inputs
268 `(("intltool" ,intltool)
426adbe8 269 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
22e32e69
AE
270 ("pkg-config" ,pkg-config)))
271 (home-page "https://launchpad.net/gsettings-desktop-schemas")
272 (synopsis
273 "GNOME settings for various desktop components")
274 (description
275 "Gsettings-desktop-schemas contains a collection of GSettings schemas
276for settings shared by various components of the GNOME desktop.")
1dd26275 277 (license license:lgpl2.1+)))
22e32e69 278
27477d2d
AE
279(define-public icon-naming-utils
280 (package
281 (name "icon-naming-utils")
282 (version "0.8.90")
283 (source
284 (origin
285 (method url-fetch)
286 (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-"
287 version ".tar.bz2"))
288 (sha256
289 (base32
290 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
291 (build-system gnu-build-system)
292 (inputs
293 `(("perl" ,perl)
294 ("perl-xml-simple" ,perl-xml-simple)))
f4e97277
SB
295 (arguments
296 '(#:phases
297 (alist-cons-after
298 'install 'set-load-paths
299 ;; Tell 'icon-name-mapping' where XML::Simple is.
300 (lambda* (#:key outputs #:allow-other-keys)
301 (let* ((out (assoc-ref outputs "out"))
302 (prog (string-append out "/libexec/icon-name-mapping")))
303 (wrap-program
304 prog
305 `("PERL5LIB" = ,(list (getenv "PERL5LIB"))))))
306 %standard-phases)))
27477d2d
AE
307 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
308 (synopsis
309 "Utility to implement the Freedesktop Icon Naming Specification")
310 (description
311 "To help with the transition to the Freedesktop Icon Naming
312Specification, the icon naming utility maps the icon names used by the
313GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 314 (license license:lgpl2.1+)))
27477d2d 315
7d3f3651
AE
316(define-public gnome-icon-theme
317 (package
318 (name "gnome-icon-theme")
319 (version "3.10.0")
320 (source
321 (origin
322 (method url-fetch)
323 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 324 (version-major+minor version) "/"
7d3f3651
AE
325 name "-" version ".tar.xz"))
326 (sha256
327 (base32
328 "1xinbgkkvlhazj887ajcl13i7kdc1wcca02jwxzvjrvchjsp4m66"))))
329 (build-system gnu-build-system)
330 (inputs
331 `(("gtk+" ,gtk+)
c4c4cc05
JD
332 ("icon-naming-utils" ,icon-naming-utils)))
333 (native-inputs
334 `(("intltool" ,intltool)
335 ("pkg-config" ,pkg-config)))
7d3f3651
AE
336 (home-page "http://art.gnome.org/")
337 (synopsis
338 "GNOME icon theme")
339 (description
340 "Icons for the GNOME desktop.")
1dd26275 341 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 342
9167f8e6
LC
343(define-public shared-mime-info
344 (package
345 (name "shared-mime-info")
346 (version "1.2")
347 (source (origin
348 (method url-fetch)
b38e45d8
EB
349 (uri (string-append "http://freedesktop.org/~hadess/"
350 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
351 (sha256
352 (base32
353 "0y5vi0vr6rbhvfzcfg57cfskn362bpvcpca9cy598nmr87i6lld5"))))
354 (build-system gnu-build-system)
355 (arguments
356 ;; The build system appears not to be parallel-safe.
357 '(#:parallel-build? #f))
358 (inputs
359 `(("glib" ,glib)
c4c4cc05 360 ("libxml2" ,libxml2)))
9167f8e6 361 (native-inputs
c4c4cc05
JD
362 `(("intltool" ,intltool)
363 ("pkg-config" ,pkg-config)))
9167f8e6
LC
364 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
365 (synopsis "Database of common MIME types")
366 (description
367 "The shared-mime-info package contains the core database of common types
368and the update-mime-database command used to extend it. It requires glib2 to
369be installed for building the update command. Additionally, it uses intltool
370for translations, though this is only a dependency for the maintainers. This
371database is translated at Transifex.")
1dd26275 372 (license license:gpl2+)))
9167f8e6 373
bef4dd92
AE
374(define-public hicolor-icon-theme
375 (package
376 (name "hicolor-icon-theme")
377 (version "0.12")
378 (source
379 (origin
380 (method url-fetch)
b38e45d8
EB
381 (uri (string-append "http://icon-theme.freedesktop.org/releases/"
382 "hicolor-icon-theme-" version ".tar.gz"))
bef4dd92
AE
383 (sha256
384 (base32
385 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
386 (build-system gnu-build-system)
387 (arguments
388 `(#:tests? #f)) ; no check target
389 (home-page "http://icon-theme.freedesktop.org/releases/")
390 (synopsis
391 "Freedesktop icon theme")
392 (description
393 "Freedesktop icon theme.")
1dd26275 394 (license license:gpl2)))
bef4dd92 395
d9c1a22b
AE
396(define-public libnotify
397 (package
398 (name "libnotify")
399 (version "0.7.6")
400 (source
401 (origin
402 (method url-fetch)
403 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 404 (version-major+minor version) "/"
d9c1a22b
AE
405 name "-" version ".tar.xz"))
406 (sha256
407 (base32
408 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
409 (build-system gnu-build-system)
410 (inputs
411 `(("gdk-pixbuf" ,gdk-pixbuf)
412 ("glib" ,glib)
413 ("gtk+" ,gtk+)
c4c4cc05
JD
414 ("libpng" ,libpng)))
415 (native-inputs
426adbe8
LC
416 `(("pkg-config" ,pkg-config)
417 ("glib" ,glib "bin")))
d9c1a22b
AE
418 (home-page "https://developer-next.gnome.org/libnotify/")
419 (synopsis
420 "GNOME desktop notification library")
421 (description
422 "Libnotify is a library that sends desktop notifications to a
35b9e423 423notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
424notifications can be used to inform the user about an event or display
425some form of information without getting in the user's way.")
1dd26275 426 (license license:lgpl2.1+)))
7a8605ce
CR
427
428(define-public libpeas
429 (package
430 (name "libpeas")
58d32305 431 (version "1.12.1")
7a8605ce
CR
432 (source
433 (origin
434 (method url-fetch)
435 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 436 (version-major+minor version) "/"
7a8605ce
CR
437 name "-" version ".tar.xz"))
438 (sha256
439 (base32
58d32305 440 "1mjjjjwphc83bjznmbsm7x0jg7ql261nys6qnl7mi0nkr4qvw476"))))
7a8605ce 441 (build-system gnu-build-system)
7a8605ce
CR
442 (inputs
443 `(("atk" ,atk)
444 ("gdk-pixbuf" ,gdk-pixbuf)
445 ("glib" ,glib)
7a8605ce 446 ("gtk+" ,gtk+)
141aed80
LC
447 ("pango" ,pango)))
448 (native-inputs
449 `(("pkg-config" ,pkg-config)
93622993 450 ("glib:bin" ,glib "bin")
141aed80
LC
451 ("gobject-introspection" ,gobject-introspection)
452 ("intltool" ,intltool)))
58d32305
FB
453 (arguments
454 `(#:phases
455 (alist-cons-before
456 'build 'pre-build
457 (lambda* _
458 (setenv "CC" "gcc"))
459 %standard-phases)))
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
464every application the chance to assume its own extensibility. It also has a
465set of features including, but not limited to: multiple extension points; on
466demand (lazy) programming language support for C, Python and JS; simplicity of
467the API")
1dd26275 468 (license license:lgpl2.0+)))
ed19903d
JD
469
470(define-public gtkglext
471 (package
472 (name "gtkglext")
473 (version "1.2.0")
474 (source (origin
475 (method url-fetch)
476 (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/"
477 version "/gtkglext-" version ".tar.gz"))
478 (sha256
479 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
480 (patches (list
ed19903d
JD
481 (search-patch "gtkglext-disable-disable-deprecated.patch")))))
482 (build-system gnu-build-system)
483 (inputs `(("gtk+" ,gtk+-2)
484 ("mesa" ,mesa)
cc8b02f4 485 ("glu" ,glu)
ed19903d
JD
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
494additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
495API 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
520enable quick & easy development of user interfaces for the GTK+ toolkit and
521the 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.
547The parser provides a low level event driven SAC-like API and a CSS object
548model like API. Libcroco provides a CSS2 selection engine and an experimental
549XML/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
582dealing 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")
dc67ebd2 590 (version "2.40.6")
63016e7c
LC
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
dc67ebd2 598 "01jgb11779080b80k2ncrhdphgillqrrnszal6vh8yv787r4kwwa"))))
63016e7c
LC
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 = "
dc67ebd2 610 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
63016e7c
LC
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")
dc67ebd2 620 "/lib/gdk-pixbuf-2.0/2.10.0/loaders")))
cd14b5e3
FB
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")))))
dc67ebd2
FB
629 (alist-cons-before
630 'build 'pre-build
631 (lambda* _
632 (setenv "CC" "gcc"))
633 %standard-phases)))))
63016e7c
LC
634 (native-inputs
635 `(("pkg-config" ,pkg-config)
44add1ce 636 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
637 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
638 (inputs
639 `(("pango" ,pango)
640 ("libcroco" ,libcroco)
641 ("bzip2" ,bzip2)
642 ("libgsf" ,libgsf)
643 ("libxml2" ,libxml2)))
644 (propagated-inputs
645 ;; librsvg-2.0.pc refers to all of that.
646 `(("cairo" ,cairo)
647 ("gdk-pixbuf" ,gdk-pixbuf)
648 ("glib" ,glib)))
649 (home-page "https://wiki.gnome.org/LibRsvg")
650 (synopsis "Render SVG files using Cairo")
651 (description
35b9e423 652 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c
LC
653library.")
654 (license license:lgpl2.0+)))
5698b8b8
JD
655
656(define-public libidl
657 (package
658 (name "libidl")
659 (version "0.8.14")
660 (source (origin
661 (method url-fetch)
662 (uri (let ((upstream-name "libIDL"))
b38e45d8
EB
663 (string-append "mirror://gnome/sources/" upstream-name "/"
664 (version-major+minor version) "/"
665 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
666 (sha256
667 (base32
668 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
669 (build-system gnu-build-system)
670 (inputs `(("glib" ,glib)))
671 (native-inputs
672 `(("pkg-config" ,pkg-config)
673 ("flex", flex)
674 ("bison" ,bison)))
675 (home-page "http://freecode.com/projects/libidl")
676 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 677 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
678Definition Language (idl) files, which is a specification for defining
679portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 680GNOME project, and the primary means of libidl distribution). However, the
5698b8b8
JD
681functionality was designed to be as reusable and portable as possible.")
682 (license license:lgpl2.0+)))
683
684
685(define-public orbit2
686 (package
687 (name "orbit2")
688 (version "2.14.19")
689 (source (origin
690 (method url-fetch)
691 (uri (let ((upstream-name "ORBit2"))
b38e45d8
EB
692 (string-append "mirror://gnome/sources/" upstream-name "/"
693 (version-major+minor version) "/"
694 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
695 (sha256
696 (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
697 (build-system gnu-build-system)
698 (arguments
699 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
700 `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
701 ;; ... which they then completly ignore !!
702 #:phases
703 (alist-cons-before
704 'configure 'ignore-deprecations
705 (lambda _
706 (substitute* "linc2/src/Makefile.in"
707 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
708 %standard-phases)))
709 (inputs `(("glib" ,glib)
710 ("libidl" ,libidl)))
711 (native-inputs
712 `(("pkg-config" ,pkg-config)))
713 (home-page "https://projects.gnome.org/orbit2/")
714 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 715 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
5698b8b8
JD
716featuring mature C, C++ and Python bindings.")
717 ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version.
718 ;; SOME of the code files have licence notices for GPLv2+
719 ;; The tarball contains files of the text of GPLv2 and LGPLv2
720 (license license:gpl2+)))
721
722
723(define-public libbonobo
724 (package
725 (name "libbonobo")
726 (version "2.32.1")
727 (source (origin
728 (method url-fetch)
5becd025 729 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 730 (version-major+minor version)
5becd025 731 "/" name "-" version ".tar.bz2"))
5698b8b8 732 (sha256
f1fc45a9
EB
733 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
734 (patches (list (search-patch "libbonobo-activation-test-race.patch")))))
5698b8b8
JD
735 (build-system gnu-build-system)
736 (arguments
737 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
738 `(#:configure-flags
739 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
740 ;; ... which they then completly ignore !!
741 #:phases
742 (alist-cons-before
743 'configure 'ignore-deprecations
744 (lambda _
745 (substitute* "activation-server/Makefile.in"
746 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
747 %standard-phases)))
5698b8b8
JD
748 (inputs `(("popt" ,popt)
749 ("libxml2" ,libxml2)))
750 ;; The following are Required by the .pc file
44add1ce 751 (propagated-inputs
5698b8b8
JD
752 `(("glib" ,glib)
753 ("orbit2" ,orbit2)))
754 (native-inputs
755 `(("intltool" ,intltool)
756 ("pkg-config" ,pkg-config)
221ed17a 757 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
758 ("flex" ,flex)
759 ("bison" ,bison)))
760 (home-page "https://developer.gnome.org/libbonobo/")
761 (synopsis "Framework for creating reusable components for use in GNOME applications")
762 (description "Bonobo is a framework for creating reusable components for
763use in GNOME applications, built on top of CORBA.")
764 ;; Licence not explicitly stated. Source files contain no licence notices.
765 ;; Tarball contains text of both GPLv2 and LGPLv2
766 ;; GPLv2 covers both conditions
767 (license license:gpl2+)))
768
769
770(define-public gconf
771 (package
772 (name "gconf")
773 (version "3.2.6")
774 (source (origin
775 (method url-fetch)
776 (uri
777 (let ((upstream-name "GConf"))
b38e45d8
EB
778 (string-append "mirror://gnome/sources/" upstream-name "/"
779 (version-major+minor version) "/"
780 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
781 (sha256
782 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
783 (build-system gnu-build-system)
784 (inputs `(("glib" ,glib)
785 ("dbus" ,dbus)
786 ("dbus-glib" ,dbus-glib)
787 ("libxml2" ,libxml2)))
788 (propagated-inputs `(("orbit2" ,orbit2))) ; referred to in the .pc file
789 (native-inputs
790 `(("intltool" ,intltool)
221ed17a 791 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
792 ("pkg-config" ,pkg-config)))
793 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
794 (synopsis "Store application preferences")
795 (description "Gconf is a system for storing application preferences. It
796is intended for user preferences; not arbitrary data storage.")
5698b8b8
JD
797 (license license:lgpl2.0+)))
798
799
800(define-public gnome-mime-data
801 (package
802 (name "gnome-mime-data")
803 (version "2.18.0")
804 (source (origin
805 (method url-fetch)
b38e45d8
EB
806 (uri (string-append "mirror://gnome/sources/" name "/"
807 (version-major+minor version) "/"
808 name "-" version ".tar.bz2"))
5698b8b8
JD
809 (sha256
810 (base32
811 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
812 (build-system gnu-build-system)
813 (native-inputs
814 `(("perl" ,perl)
815 ("intltool" ,intltool)))
816 (home-page "http://www.gnome.org")
35b9e423 817 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
818 (description "GNOME Mime Data is a module which contains the base MIME
819and Application database for GNOME. The data stored by this module is
820designed to be accessed through the MIME functions in GnomeVFS.")
821 (license license:gpl2+)))
822
823
824(define-public gnome-vfs
825 (package
826 (name "gnome-vfs")
827 (version "2.24.4")
828 (source (origin
829 (method url-fetch)
b38e45d8
EB
830 (uri (string-append "mirror://gnome/sources/" name "/"
831 (version-major+minor version) "/"
832 name "-" version ".tar.bz2"))
5698b8b8
JD
833 (sha256
834 (base32 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
835 (build-system gnu-build-system)
836 (arguments
837 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
838 `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
839 ;; ... which they then completly ignore !!
840 #:phases
841 (alist-cons-before
842 'configure 'ignore-deprecations
843 (lambda _
844 (begin
845 (substitute* "libgnomevfs/Makefile.in"
846 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
847 (substitute* "daemon/Makefile.in"
848 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))))
849 %standard-phases)))
850 (inputs `(("glib" ,glib)
851 ("libxml2" ,libxml2)
852 ("dbus-glib" ,dbus-glib)
853 ("dbus" ,dbus)
854 ("gconf" ,gconf)
855 ("gnome-mime-data" ,gnome-mime-data)
856 ("zlib" ,zlib)))
857 (native-inputs
221ed17a
EB
858 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
859 ("intltool" ,intltool)
5698b8b8
JD
860 ("pkg-config" ,pkg-config)))
861 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 862 (synopsis "Access files and folders in GNOME applications")
5698b8b8 863 (description "GnomeVFS is the core library used to access files and
35b9e423 864folders in GNOME applications. It provides a file system abstraction which
5698b8b8
JD
865allows applications to access local and remote files with a single consistent API.")
866 (license license:lgpl2.0+)))
867
868
869
870(define-public libgnome
871 (package
872 (name "libgnome")
873 (version "2.32.1")
874 (source (origin
875 (method url-fetch)
b38e45d8
EB
876 (uri (string-append "mirror://gnome/sources/" name "/"
877 (version-major+minor version) "/"
878 name "-" version ".tar.bz2"))
5698b8b8
JD
879 (sha256
880 (base32
881 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
882 (build-system gnu-build-system)
883 (arguments
884 `(#:phases
885 (alist-cons-before
886 'configure 'enable-deprecated
887 (lambda _
888 (substitute* "libgnome/Makefile.in"
889 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
890 %standard-phases)))
891 (inputs `(("popt" ,popt)
892 ("libxml2" ,libxml2)))
893 (native-inputs
221ed17a
EB
894 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
895 ("intltool" ,intltool)
5698b8b8
JD
896 ("pkg-config" ,pkg-config)))
897 ;; The following are listed as Required in the .pc file
898 ;; (except for libcanberra -- which seems to be oversight on the part
899 ;; of the upstream developers -- anything that links against libgnome,
900 ;; must also link against libcanberra
901 (propagated-inputs
902 `(("libcanberra" ,libcanberra)
903 ("libbonobo" ,libbonobo)
904 ("gconf" ,gconf)
905 ("gnome-vfs" ,gnome-vfs)
906 ("glib" ,glib)))
907 (home-page "https://developer.gnome.org/libgnome/")
908 (synopsis "Useful routines for building applications")
909 (description "The libgnome library provides a number of useful routines
910for building modern applications, including session management, activation of
911files and URIs, and displaying help.")
912 (license license:lgpl2.0+)))
913
914
915(define-public libart-lgpl
916 (package
917 (name "libart-lgpl")
76c9b6aa 918 (version "2.3.21")
5698b8b8
JD
919 (source (origin
920 (method url-fetch)
921 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
922 (string-append "mirror://gnome/sources/" upstream-name "/"
923 (version-major+minor version) "/"
924 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
925 (sha256
926 (base32
76c9b6aa 927 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
928 (build-system gnu-build-system)
929 (native-inputs
930 `(("pkg-config" ,pkg-config)))
931 (home-page "https://people.gnome.org/~mathieu/libart")
932 (synopsis "2D drawing library")
933 (description "Libart is a 2D drawing library intended as a
934high-quality vector-based 2D library with antialiasing and alpha composition.")
935 (license license:lgpl2.0+)))
936
937
938
939(define-public libgnomecanvas
940 (package
941 (name "libgnomecanvas")
942 (version "2.30.3")
943 (source (origin
944 (method url-fetch)
b38e45d8
EB
945 (uri (string-append "mirror://gnome/sources/" name "/"
946 (version-major+minor version) "/"
947 name "-" version ".tar.gz"))
5698b8b8
JD
948 (sha256
949 (base32
950 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
951 (build-system gnu-build-system)
952 ;; Mentioned as Required in the .pc file
953 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
954 ("gtk+" ,gtk+-2)))
955 (native-inputs
956 `(("intltool" ,intltool)
221ed17a 957 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
958 ("pkg-config" ,pkg-config)))
959 (home-page "https://developer.gnome.org/libgnomecanvas/")
960 (synopsis "Flexible widget for creating interactive structured graphics")
961 (description "The GnomeCanvas widget provides a flexible widget for
962creating interactive structured graphics.")
963 (license license:lgpl2.0+)))
964
965(define-public libgnomeui
966 (package
967 (name "libgnomeui")
968 (version "2.24.5")
969 (source (origin
970 (method url-fetch)
b38e45d8
EB
971 (uri (string-append "mirror://gnome/sources/" name "/"
972 (version-major+minor version) "/"
973 name "-" version ".tar.bz2"))
5698b8b8
JD
974 (sha256
975 (base32
976 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
977 (build-system gnu-build-system)
978 ;; Mentioned as Required in the .pc file
979 (propagated-inputs `(("libgnome" ,libgnome)
980 ("libgnome-keyring" ,libgnome-keyring)))
981 (inputs `(("libgnomecanvas" ,libgnomecanvas)
982 ("libbonoboui" ,libbonoboui)
983 ("libjpeg" ,libjpeg)
984 ("popt" ,popt)
985 ("libbonobo" ,libbonobo)
986 ("libxml2" ,libxml2)
987 ("libglade" ,libglade)))
988 (native-inputs
221ed17a
EB
989 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
990 ("intltool" ,intltool)
5698b8b8
JD
991 ("pkg-config" ,pkg-config)))
992 (home-page "https://developer.gnome.org/libgnomeui/")
993 (synopsis "Additional widgets for applications")
35b9e423
EB
994 (description "The libgnomeui library provides additional widgets for
995applications. Many of the widgets from libgnomeui have already been ported to GTK+.")
5698b8b8
JD
996 (license license:lgpl2.0+)))
997
998(define-public libglade
999 (package
1000 (name "libglade")
1001 (version "2.6.4")
1002 (source (origin
1003 (method url-fetch)
b38e45d8
EB
1004 (uri (string-append "mirror://gnome/sources/" name "/"
1005 (version-major+minor version) "/"
1006 name "-" version ".tar.bz2"))
5698b8b8
JD
1007 (sha256
1008 (base32
1009 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1010 (build-system gnu-build-system)
1011 (inputs
1012 `(("gtk+-2" ,gtk+-2)
1013 ("libxml2" ,libxml2)
1014 ("python" ,python))) ;; needed for the optional libglade-convert program
1015 (native-inputs
1016 `(("pkg-config" ,pkg-config)))
1017 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
1018 (synopsis "Load glade interfaces and access the glade built widgets")
1019 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
1020graphical interfaces described in glade files and for accessing the
1021widgets built in the loading process.")
1022 (license license:gpl2+))) ; This is correct. GPL not LGPL
1023
1024(define-public libgnomeprint
eb497b66
LC
1025 ;; This library has been deprecated since 2006; see
1026 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
1027 (package
1028 (name "libgnomeprint")
1029 (version "2.8.2")
1030 (source (origin
1031 (method url-fetch)
b38e45d8
EB
1032 (uri (string-append "mirror://gnome/sources/" name "/"
1033 (version-major+minor version) "/"
1034 name "-" version ".tar.bz2"))
5698b8b8
JD
1035 (sha256
1036 (base32
1037 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1038 (build-system gnu-build-system)
1039 (inputs
1040 `(("popt" ,popt)
1041 ("libart-lgpl" ,libart-lgpl)
1042 ("gtk+" ,gtk+-2)
44add1ce 1043 ("libxml2" ,libxml2)))
5698b8b8
JD
1044 (native-inputs
1045 `(("intltool" ,intltool)
221ed17a 1046 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1047 ("pkg-config" ,pkg-config)))
1048 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 1049 (synopsis "Printing framework for GNOME")
eb497b66
LC
1050 (description
1051 "GNOME-print was a printing framework for GNOME. It has been deprecated
1052since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
1053 (license license:lgpl2.0+)))
1054
1055
1056(define-public libgnomeprintui
eb497b66 1057 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
1058 (package
1059 (name "libgnomeprintui")
1060 (version "2.8.2")
1061 (source (origin
1062 (method url-fetch)
b38e45d8
EB
1063 (uri (string-append "mirror://gnome/sources/" name "/"
1064 (version-major+minor version) "/"
1065 name "-" version ".tar.bz2"))
5698b8b8
JD
1066 (sha256
1067 (base32
1068 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1069 (build-system gnu-build-system)
1070 ;; Mentioned as Required in the .pc file
1071 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1072 (inputs `(("gtk+" ,gtk+-2)
1073 ("glib" ,glib)
1074 ("gnome-icon-theme" ,gnome-icon-theme)
1075 ("libgnomecanvas" ,libgnomecanvas)
1076 ("libxml2" ,libxml2)))
1077 (native-inputs
1078 `(("intltool" ,intltool)
1079 ("pkg-config" ,pkg-config)))
1080 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1081 (synopsis "Printing framework for GNOME")
eb497b66 1082 (description (package-description libgnomeprint))
5698b8b8
JD
1083 (license license:lgpl2.0+)))
1084
5698b8b8
JD
1085(define-public libbonoboui
1086 (package
1087 (name "libbonoboui")
1088 (version "2.24.5")
1089 (source (origin
1090 (method url-fetch)
b38e45d8
EB
1091 (uri (string-append "mirror://gnome/sources/" name "/"
1092 (version-major+minor version) "/"
1093 name "-" version ".tar.bz2"))
5698b8b8
JD
1094 (sha256
1095 (base32
1096 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1097 (build-system gnu-build-system)
1098 (arguments
1099 `(#:phases
1100 (alist-cons-before
1101 'check 'start-xserver
1102 (lambda* (#:key inputs #:allow-other-keys)
1103 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1104 (disp ":1"))
1105
1106 (setenv "HOME" (getcwd))
1107 (setenv "DISPLAY" disp)
1108 ;; There must be a running X server and make check doesn't start one.
1109 ;; Therefore we must do it.
1110 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1111 %standard-phases)))
1112 ;; Mentioned as Required by the .pc file
1113 (propagated-inputs `(("libxml2" ,libxml2)))
1114 (inputs
1115 `(("popt" ,popt)
1116 ("pangox-compat" ,pangox-compat)
1117 ("libgnome" ,libgnome)
1118 ("libgnomecanvas" ,libgnomecanvas)
1119 ("libglade" ,libglade)))
1120 (native-inputs
221ed17a
EB
1121 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1122 ("intltool" ,intltool)
5698b8b8
JD
1123 ("xorg-server" ,xorg-server) ; For running the tests
1124 ("pkg-config" ,pkg-config)))
1125 (home-page "https://developer.gnome.org/libbonoboui/")
1126 (synopsis "Some user interface controls using Bonobo")
1127 (description "The Bonobo UI library provides a number of user interface
1128controls using the Bonobo component framework.")
1129 (license license:lgpl2.0+)))
1130
fecbf86e
SB
1131(define-public libwnck
1132 (package
1133 (name "libwnck")
1134 (version "3.14.0")
1135 (source (origin
1136 (method url-fetch)
1137 (uri (string-append "mirror://gnome/sources/" name "/"
1138 (version-major+minor version) "/"
1139 name "-" version ".tar.xz"))
1140 (sha256
1141 (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m"))))
1142 (build-system gnu-build-system)
1143 (native-inputs
1144 `(("pkg-config" ,pkg-config)
1145 ("intltool" ,intltool)))
1146 (propagated-inputs
427476d5
SB
1147 `(("gtk+" ,gtk+)
1148 ("libxres" ,libxres)
1149 ("startup-notification" ,startup-notification)))
fecbf86e
SB
1150 (home-page "https://developer.gnome.org/libwnck/")
1151 (synopsis "Window Navigator Construction Kit")
1152 (description
1153 "Libwnck is the Window Navigator Construction Kit, a library for use in
1154writing pagers, tasklists, and more generally applications that are dealing
1155with window management. It tries hard to respect the Extended Window Manager
1156Hints specification (EWMH).")
1157 (license license:lgpl2.0+)))
1158
1159;; stable version for gtk2, required by xfwm4.
1160(define-public libwnck-1
1161 (package (inherit libwnck)
1162 (name "libwnck")
1163 (version "2.30.7")
1164 (source (origin
1165 (method url-fetch)
1166 (uri (string-append "mirror://gnome/sources/" name "/"
1167 (version-major+minor version) "/"
1168 name "-" version ".tar.xz"))
1169 (sha256
1170 (base32
1171 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1172 (propagated-inputs
427476d5
SB
1173 `(("gtk+" ,gtk+-2)
1174 ("libxres" ,libxres)
1175 ("startup-notification" ,startup-notification)))))
b804c61e
JD
1176
1177(define-public goffice
1178 (package
1179 (name "goffice")
1180 (version "0.10.14")
1181 (source (origin
1182 (method url-fetch)
b38e45d8
EB
1183 (uri (string-append "mirror://gnome/sources/" name "/"
1184 (version-major+minor version) "/"
1185 name "-" version ".tar.xz"))
b804c61e
JD
1186 (sha256
1187 (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60"))))
1188 (build-system gnu-build-system)
1189 (inputs
1190 `(("gtk+" ,gtk+)
1191 ("libgsf" ,libgsf)
1192 ("librsvg" ,librsvg)
1193 ("libxslt" ,libxslt)
1194 ("libxml2" ,libxml2)))
1195 (native-inputs
1196 `(("intltool" ,intltool)
f280cdb1 1197 ("glib" ,glib "bin")
b804c61e
JD
1198 ("pkg-config" ,pkg-config)))
1199 (home-page "https://developer.gnome.org/goffice/")
1200 (synopsis "Document-centric objects and utilities")
1201 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1202 (license
1203 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1204 ;; Note: NOT LGPL
1205 (list license:gpl2 license:gpl3))))
1206
1207(define-public gnumeric
1208 (package
1209 (name "gnumeric")
1210 (version "1.12.17")
1211 (source (origin
1212 (method url-fetch)
b38e45d8
EB
1213 (uri (string-append "mirror://gnome/sources/" name "/"
1214 (version-major+minor version) "/"
1215 name "-" version ".tar.xz"))
b804c61e
JD
1216 (sha256
1217 (base32
1218 "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c"))))
1219 (build-system gnu-build-system)
1220 (arguments
1221 `(;; The gnumeric developers don't worry much about failing tests.
1222 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1223 #:tests? #f
1224 #:phases
1225 (alist-cons-before
1226 'configure 'pre-conf
1227 (lambda* (#:key outputs #:allow-other-keys)
1228 ;; Make install tries to write into the directory of goffice
1229 ;; I am informed that this only affects the possibility to embed a
1230 ;; spreadsheet inside an Abiword document. So presumably when we
1231 ;; package Abiword we'll have to refer it to this directory.
1232 (substitute* "configure"
1233 (("^GOFFICE_PLUGINS_DIR=.*")
1234 (string-append "GOFFICE_PLUGINS_DIR="
1235 (assoc-ref outputs "out") "/goffice/plugins"))))
1236 %standard-phases)))
1237 (inputs
1238 `(("glib" ,glib)
1239 ("gtk+" ,gtk+)
1240 ("goffice" ,goffice)
1241 ("libgsf" ,libgsf)
1242 ("libxml2" ,libxml2)
1243 ("zlib" ,zlib)))
1244 (native-inputs
1245 `(("intltool" ,intltool)
b9663471 1246 ("glib:bin" ,glib "bin")
b804c61e
JD
1247 ("pkg-config" ,pkg-config)))
1248 (home-page "http://www.gnumeric.org")
66672a45
LC
1249 (synopsis "Spreadsheet application")
1250 (description
1251 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1252interoperable with other spreadsheet applications. It has a vast array of
1253features beyond typical spreadsheet functionality, such as support for linear
1254and non-linear solvers, statistical analysis, and telecommunication
1255engineering.")
1256 (license
b804c61e
JD
1257 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1258 (list license:gpl2 license:gpl3))))
6f885c05
FB
1259
1260(define-public gnome-themes-standard
1261 (package
1262 (name "gnome-themes-standard")
1263 ;; The version of this package should be the same as the version of
1264 ;; gnome-desktop.
1265 (version (package-version gnome-desktop))
1266 (source
1267 (origin
1268 (method url-fetch)
1269 (uri (string-append "mirror://gnome/sources/" name "/"
1270 (version-major+minor version) "/" name "-"
1271 version ".tar.xz"))
1272 (sha256
1273 (base32
1274 "0f2b3ypkfvrdsxcvp14ja9wqj382f1p46yrjvhhxkkjgagy6qb41"))))
1275 (build-system gnu-build-system)
1276 (inputs
1277 `(("gtk+" ,gtk+)
1278 ("gtk+-2" ,gtk+-2)
1279 ("librsvg" ,librsvg)
1280 ("libxml2" ,libxml2)
1281 ("glib" ,glib)))
1282 (native-inputs
1283 `(("intltool" ,intltool)
1284 ("glib:bin" ,glib "bin")
1285 ("pkg-config" ,pkg-config)))
1286 (arguments
1287 `(#:phases
1288 (alist-cons-before
1289 'build 'use-full-cache
1290 ;; Use librsvg's loaders.cache instead of the one provided by
1291 ;; gdk-pixbuf because the latter does not include support for SVG
1292 ;; files.
1293 (lambda* (#:key inputs #:allow-other-keys)
1294 (setenv "GDK_PIXBUF_MODULE_FILE"
1295 (car (find-files (assoc-ref inputs "librsvg")
1296 "loaders\\.cache"))))
1297 %standard-phases)))
1298 (home-page "https://launchpad.net/gnome-themes-standard")
1299 (synopsis "Default GNOME 3 themes")
1300 (description
1301 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1302 (license license:lgpl2.1+)))
5a659a48
SB
1303
1304(define-public vala
1305 (package
1306 (name "vala")
1307 (version "0.26.1")
1308 (source (origin
1309 (method url-fetch)
1310 (uri (string-append "mirror://gnome/sources/" name "/"
1311 (version-major+minor version) "/"
1312 name "-" version ".tar.xz"))
1313 (sha256
1314 (base32
1315 "0swyym2papln0f62ah05dpvq3vv6fssap26jq2zqp9dkkaqsn1w4"))))
1316 (build-system gnu-build-system)
1317 (arguments '(#:make-flags '("CC=gcc")))
1318 (native-inputs
1319 `(("pkg-config" ,pkg-config)
1320 ("flex" ,flex)
1321 ("bison" ,bison)
1322 ("xsltproc" ,libxslt)
1323 ("dbus" ,dbus) ; for dbus tests
1324 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1325 (propagated-inputs
1326 `(("glib" ,glib))) ; required by libvala-0.26.pc
1327 (home-page "http://live.gnome.org/Vala/")
1328 (synopsis "Compiler for the GObject type system")
1329 (description
1330 "Vala is a programming language that aims to bring modern programming
1331language features to GNOME developers without imposing any additional runtime
1332requirements and without using a different ABI compared to applications and
1333libraries written in C.")
1334 (license license:lgpl2.1+)))
ea57378f
SB
1335
1336(define-public vte
1337 (package
1338 (name "vte")
1339 (version "0.38.2")
1340 (source (origin
1341 (method url-fetch)
1342 (uri (string-append "mirror://gnome/sources/" name "/"
1343 (version-major+minor version) "/"
1344 name "-" version ".tar.xz"))
1345 (sha256
1346 (base32
1347 "1rbxrigff9yszbgdw0gw4c2saz4d1hbbpz21phzxx14w49wvmnmj"))))
1348 (build-system gnu-build-system)
1349 (native-inputs
1350 `(("pkg-config" ,pkg-config)
1351 ("intltool" ,intltool)
1352 ("vala" ,vala)
1353 ("gobject-introspection" ,gobject-introspection)
1354 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1355 ("xmllint" ,libxml2)))
1356 (propagated-inputs
1357 `(("gtk+" ,gtk+))) ; required by libvte-2.91.pc
7ed6ee1e
FB
1358 (arguments
1359 `(#:phases
1360 (alist-cons-before
1361 'build 'pre-build
1362 (lambda* _
1363 (setenv "CC" "gcc"))
1364 %standard-phases)))
ea57378f
SB
1365 (home-page "http://www.gnome.org/")
1366 (synopsis "Virtual Terminal Emulator")
1367 (description
1368 "VTE is a library (libvte) implementing a terminal emulator widget for
1369GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1370gnome-terminal, but can also be used to embed a console/terminal in games,
1371editors, IDEs, etc.")
1372 (license license:lgpl2.1+)))
1373
1374;; stable version for gtk2, required by xfce4-terminal.
1375(define-public vte/gtk+-2
1376 (package (inherit vte)
1377 (name "vte")
1378 (version "0.28.2")
1379 (source (origin
1380 (method url-fetch)
1381 (uri (string-append "mirror://gnome/sources/" name "/"
1382 (version-major+minor version) "/"
1383 name "-" version ".tar.xz"))
1384 (sha256
1385 (base32
1386 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
1387 (arguments
1388 '(#:configure-flags '("--disable-python")))
1389 (native-inputs
1390 `(("pkg-config" ,pkg-config)
1391 ("intltool" ,intltool)
1392 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1393 (propagated-inputs
1394 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1395 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20
FB
1396
1397(define-public dconf
1398 (package
1399 (name "dconf")
1400 (version "0.22.0")
1401 (source (origin
1402 (method url-fetch)
1403 (uri (string-append
1404 "mirror://gnome/sources/" name "/"
1405 (version-major+minor version) "/"
1406 name "-" version ".tar.xz"))
1407 (sha256
1408 (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa"))))
1409 (build-system glib-or-gtk-build-system)
1410 (inputs
1411 `(("gtk+" ,gtk+)
1412 ("glib" ,glib)
1413 ("dbus" ,dbus)
1414 ("libxml2" ,libxml2)))
1415 (native-inputs
1416 `(("libxslt" ,libxslt)
1417 ("docbook-xml" ,docbook-xml-4.2)
1418 ("docbook-xsl" ,docbook-xsl)
1419 ("intltool" ,intltool)
1420 ("pkg-config" ,pkg-config)))
1421 (arguments
1422 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1423 ; or /etc/machine-id.
1424 #:configure-flags
1425 ;; Set the correct RUNPATH in binaries.
1426 (list (string-append "LDFLAGS=-Wl,-rpath="
1427 (assoc-ref %outputs "out") "/lib")
1428 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1429 #:phases
1430 (alist-cons-before
1431 'configure 'fix-docbook
1432 (lambda* (#:key inputs #:allow-other-keys)
1433 (substitute* "docs/Makefile.in"
1434 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1435 (string-append (assoc-ref inputs "docbook-xsl")
1436 "/xml/xsl/docbook-xsl-"
1437 ,(package-version docbook-xsl)
1438 "/manpages/docbook.xsl")))
1439 (setenv "XML_CATALOG_FILES"
1440 (string-append (assoc-ref inputs "docbook-xml")
1441 "/xml/dtd/docbook/catalog.xml")))
1442 %standard-phases)))
1443 (home-page "https://developer.gnome.org/dconf")
1444 (synopsis "Low-level GNOME configuration system")
1445 (description "Dconf is a low-level configuration system. Its main purpose
1446is to provide a backend to GSettings on platforms that don't already have
1447configuration storage systems.")
1448 (license license:lgpl2.1)))
109da1c0
AE
1449
1450(define-public json-glib
1451 (package
1452 (name "json-glib")
1453 (version "1.0.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 "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8"))))
1462 (build-system gnu-build-system)
1463 (native-inputs
1464 `(("glib" ,glib "bin") ; for glib-mkenums and glib-genmarshal
1465 ("gobject-introspection" ,gobject-introspection)
1466 ("pkg-config" ,pkg-config)))
1467 (propagated-inputs
1468 `(("glib" ,glib))) ; according to json-glib-1.0.pc
1469 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1470 (synopsis "Compiler for the GObject type system")
1471 (description "JSON-GLib is a C library based on GLib providing
1472serialization and deserialization support for the JavaScript Object Notation
1473(JSON) format described by RFC 4627. It provides parser and generator
1474GObject classes and various wrappers for the complex data types employed by
1475JSON, such as arrays and objects.")
1476 (license license:lgpl2.1+)))