gnu: libxml2: Propagate input zlib.
[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
686e025d
SB
316(define-public desktop-file-utils
317 (package
318 (name "desktop-file-utils")
319 (version "0.22")
320 (source (origin
321 (method url-fetch)
322 (uri (string-append "http://www.freedesktop.org/software/" name
323 "/releases/" name "-" version ".tar.xz"))
324 (sha256
325 (base32
326 "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4"))))
327 (build-system gnu-build-system)
328 (native-inputs
329 `(("pkg-config" ,pkg-config)))
330 (inputs
331 `(("glib" ,glib)))
332 (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
333 (synopsis "Utilities for working with desktop entries")
334 (description
335 "This package contains a few command line utilities for working with
336desktop entries:
337
338desktop-file-validate: validates a desktop file and prints warnings/errors
339 about desktop entry specification violations.
340
341desktop-file-install: installs a desktop file to the applications directory,
342 optionally munging it a bit in transit.
343
344update-desktop-database: updates the database containing a cache of MIME types
345 handled by desktop files.")
346 (license license:gpl2+)))
347
7d3f3651
AE
348(define-public gnome-icon-theme
349 (package
350 (name "gnome-icon-theme")
351 (version "3.10.0")
352 (source
353 (origin
354 (method url-fetch)
355 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 356 (version-major+minor version) "/"
7d3f3651
AE
357 name "-" version ".tar.xz"))
358 (sha256
359 (base32
360 "1xinbgkkvlhazj887ajcl13i7kdc1wcca02jwxzvjrvchjsp4m66"))))
361 (build-system gnu-build-system)
362 (inputs
363 `(("gtk+" ,gtk+)
c4c4cc05
JD
364 ("icon-naming-utils" ,icon-naming-utils)))
365 (native-inputs
366 `(("intltool" ,intltool)
367 ("pkg-config" ,pkg-config)))
7d3f3651
AE
368 (home-page "http://art.gnome.org/")
369 (synopsis
370 "GNOME icon theme")
371 (description
372 "Icons for the GNOME desktop.")
1dd26275 373 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 374
9167f8e6
LC
375(define-public shared-mime-info
376 (package
377 (name "shared-mime-info")
378 (version "1.2")
379 (source (origin
380 (method url-fetch)
b38e45d8
EB
381 (uri (string-append "http://freedesktop.org/~hadess/"
382 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
383 (sha256
384 (base32
385 "0y5vi0vr6rbhvfzcfg57cfskn362bpvcpca9cy598nmr87i6lld5"))))
386 (build-system gnu-build-system)
387 (arguments
388 ;; The build system appears not to be parallel-safe.
389 '(#:parallel-build? #f))
390 (inputs
391 `(("glib" ,glib)
c4c4cc05 392 ("libxml2" ,libxml2)))
9167f8e6 393 (native-inputs
c4c4cc05
JD
394 `(("intltool" ,intltool)
395 ("pkg-config" ,pkg-config)))
9167f8e6
LC
396 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
397 (synopsis "Database of common MIME types")
398 (description
399 "The shared-mime-info package contains the core database of common types
400and the update-mime-database command used to extend it. It requires glib2 to
401be installed for building the update command. Additionally, it uses intltool
402for translations, though this is only a dependency for the maintainers. This
403database is translated at Transifex.")
1dd26275 404 (license license:gpl2+)))
9167f8e6 405
bef4dd92
AE
406(define-public hicolor-icon-theme
407 (package
408 (name "hicolor-icon-theme")
409 (version "0.12")
410 (source
411 (origin
412 (method url-fetch)
b38e45d8
EB
413 (uri (string-append "http://icon-theme.freedesktop.org/releases/"
414 "hicolor-icon-theme-" version ".tar.gz"))
bef4dd92
AE
415 (sha256
416 (base32
417 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
418 (build-system gnu-build-system)
419 (arguments
420 `(#:tests? #f)) ; no check target
421 (home-page "http://icon-theme.freedesktop.org/releases/")
422 (synopsis
423 "Freedesktop icon theme")
424 (description
425 "Freedesktop icon theme.")
1dd26275 426 (license license:gpl2)))
bef4dd92 427
d9c1a22b
AE
428(define-public libnotify
429 (package
430 (name "libnotify")
431 (version "0.7.6")
432 (source
433 (origin
434 (method url-fetch)
435 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 436 (version-major+minor version) "/"
d9c1a22b
AE
437 name "-" version ".tar.xz"))
438 (sha256
439 (base32
440 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
441 (build-system gnu-build-system)
442 (inputs
443 `(("gdk-pixbuf" ,gdk-pixbuf)
444 ("glib" ,glib)
445 ("gtk+" ,gtk+)
c4c4cc05
JD
446 ("libpng" ,libpng)))
447 (native-inputs
426adbe8
LC
448 `(("pkg-config" ,pkg-config)
449 ("glib" ,glib "bin")))
d9c1a22b
AE
450 (home-page "https://developer-next.gnome.org/libnotify/")
451 (synopsis
452 "GNOME desktop notification library")
453 (description
454 "Libnotify is a library that sends desktop notifications to a
35b9e423 455notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
456notifications can be used to inform the user about an event or display
457some form of information without getting in the user's way.")
1dd26275 458 (license license:lgpl2.1+)))
7a8605ce
CR
459
460(define-public libpeas
461 (package
462 (name "libpeas")
58d32305 463 (version "1.12.1")
7a8605ce
CR
464 (source
465 (origin
466 (method url-fetch)
467 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 468 (version-major+minor version) "/"
7a8605ce
CR
469 name "-" version ".tar.xz"))
470 (sha256
471 (base32
58d32305 472 "1mjjjjwphc83bjznmbsm7x0jg7ql261nys6qnl7mi0nkr4qvw476"))))
7a8605ce 473 (build-system gnu-build-system)
7a8605ce
CR
474 (inputs
475 `(("atk" ,atk)
476 ("gdk-pixbuf" ,gdk-pixbuf)
477 ("glib" ,glib)
7a8605ce 478 ("gtk+" ,gtk+)
141aed80
LC
479 ("pango" ,pango)))
480 (native-inputs
481 `(("pkg-config" ,pkg-config)
93622993 482 ("glib:bin" ,glib "bin")
141aed80
LC
483 ("gobject-introspection" ,gobject-introspection)
484 ("intltool" ,intltool)))
58d32305
FB
485 (arguments
486 `(#:phases
487 (alist-cons-before
488 'build 'pre-build
489 (lambda* _
490 (setenv "CC" "gcc"))
491 %standard-phases)))
7a8605ce
CR
492 (home-page "https://wiki.gnome.org/Libpeas")
493 (synopsis "GObject plugin system")
494 (description
35b9e423 495 "Libpeas is a gobject-based plugins engine, and is targetted at giving
7a8605ce
CR
496every application the chance to assume its own extensibility. It also has a
497set of features including, but not limited to: multiple extension points; on
498demand (lazy) programming language support for C, Python and JS; simplicity of
499the API")
1dd26275 500 (license license:lgpl2.0+)))
ed19903d
JD
501
502(define-public gtkglext
503 (package
504 (name "gtkglext")
505 (version "1.2.0")
506 (source (origin
507 (method url-fetch)
508 (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/"
509 version "/gtkglext-" version ".tar.gz"))
510 (sha256
511 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
512 (patches (list
ed19903d
JD
513 (search-patch "gtkglext-disable-disable-deprecated.patch")))))
514 (build-system gnu-build-system)
515 (inputs `(("gtk+" ,gtk+-2)
516 ("mesa" ,mesa)
cc8b02f4 517 ("glu" ,glu)
ed19903d
JD
518 ("libx11" ,libx11)
519 ("libxt" ,libxt)))
426adbe8
LC
520 (native-inputs `(("pkg-config" ,pkg-config)
521 ("glib" ,glib "bin")))
a83b6a06 522 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 523 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 524 (synopsis "OpenGL extension to GTK+")
35b9e423 525 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
526additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
527API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 528 (license license:lgpl2.1+)))
3600420e
JD
529
530(define-public glade3
531 (package
532 (name "glade")
533 (version "3.8.4")
b38e45d8
EB
534 (source (origin
535 (method url-fetch)
536 (uri (string-append "mirror://gnome/sources/" name "/"
537 (version-major+minor version) "/"
538 name "3-" version ".tar.xz"))
3600420e
JD
539 (sha256
540 (base32 "021xgq2l18w3rvwms9aq2idm0fk66vwb4f777gs0qh3ap5shgbn7"))))
541 (build-system gnu-build-system)
542 (inputs
543 `(("gtk+" ,gtk+-2)
544 ("libxml2" ,libxml2)))
545 (native-inputs
546 `(("intltool" ,intltool)
547 ("python" ,python)
548 ("pkg-config" ,pkg-config)))
549 (home-page "https://glade.gnome.org")
550 (synopsis "GTK+ rapid application development tool")
551 (description "Glade is a rapid application development (RAD) tool to
552enable quick & easy development of user interfaces for the GTK+ toolkit and
553the GNOME desktop environment.")
1dd26275
LC
554 (license license:lgpl2.0+)))
555
556(define-public libcroco
557 (package
558 (name "libcroco")
559 (version "0.6.8")
560 (source (origin
561 (method url-fetch)
b38e45d8
EB
562 (uri (string-append "mirror://gnome/sources/" name "/"
563 (version-major+minor version) "/"
564 name "-" version ".tar.xz"))
1dd26275
LC
565 (sha256
566 (base32
567 "0w453f3nnkbkrly7spx5lx5pf6mwynzmd5qhszprq8amij2invpa"))))
568 (build-system gnu-build-system)
569 (native-inputs
570 `(("pkg-config" ,pkg-config)))
571 (inputs
572 `(("glib" ,glib)
573 ("libxml2" ,libxml2)
574 ("zlib" ,zlib)))
575 (home-page "https://github.com/GNOME/libcroco")
576 (synopsis "CSS2 parsing and manipulation library")
577 (description
578 "Libcroco is a standalone CSS2 parsing and manipulation library.
579The parser provides a low level event driven SAC-like API and a CSS object
580model like API. Libcroco provides a CSS2 selection engine and an experimental
581XML/CSS rendering engine.")
582
583 ;; LGPLv2.1-only.
584 (license license:lgpl2.1)))
25178594
LC
585
586(define-public libgsf
587 (package
588 (name "libgsf")
589 (version "1.14.30")
590 (source (origin
591 (method url-fetch)
b38e45d8
EB
592 (uri (string-append "mirror://gnome/sources/" name "/"
593 (version-major+minor version) "/"
594 name "-" version ".tar.xz"))
25178594
LC
595 (sha256
596 (base32
597 "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b"))))
598 (build-system gnu-build-system)
599 (native-inputs
600 `(("intltool" ,intltool)
601 ("pkg-config" ,pkg-config)))
602 (inputs
603 `(("python" ,python)
604 ("zlib" ,zlib)
605 ("bzip2" ,bzip2)))
606 (propagated-inputs
607 `(("gdk-pixbuf" ,gdk-pixbuf)
608 ("glib" ,glib)
609 ("libxml2" ,libxml2)))
610 (home-page "http://www.gnome.org/projects/libgsf")
611 (synopsis "GNOME's Structured File Library")
612 (description
613 "Libgsf aims to provide an efficient extensible I/O abstraction for
614dealing with different structured file formats.")
615
616 ;; LGPLv2.1-only.
617 (license license:lgpl2.1)))
63016e7c
LC
618
619(define-public librsvg
620 (package
621 (name "librsvg")
dc67ebd2 622 (version "2.40.6")
63016e7c
LC
623 (source (origin
624 (method url-fetch)
b38e45d8
EB
625 (uri (string-append "mirror://gnome/sources/" name "/"
626 (version-major+minor version) "/"
627 name "-" version ".tar.xz"))
63016e7c
LC
628 (sha256
629 (base32
dc67ebd2 630 "01jgb11779080b80k2ncrhdphgillqrrnszal6vh8yv787r4kwwa"))))
63016e7c
LC
631 (build-system gnu-build-system)
632 (arguments
ce2df078 633 `(#:phases
63016e7c
LC
634 (alist-cons-before
635 'configure 'augment-gir-search-path
636 (lambda* (#:key inputs #:allow-other-keys)
63016e7c
LC
637 (substitute* "gdk-pixbuf-loader/Makefile.in"
638 ;; By default the gdk-pixbuf loader is installed under
639 ;; gdk-pixbuf's prefix. Work around that.
640 (("gdk_pixbuf_moduledir = .*$")
641 (string-append "gdk_pixbuf_moduledir = "
dc67ebd2 642 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
63016e7c
LC
643 "loaders\n"))
644 ;; Likewise, create a separate 'loaders.cache' file.
645 (("gdk_pixbuf_cache_file = .*$")
646 "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n")))
cd14b5e3
FB
647 (alist-cons-after
648 'install 'generate-full-cache
649 (lambda* (#:key inputs outputs #:allow-other-keys)
650 (let ((loaders-directory
651 (string-append (assoc-ref outputs "out")
dc67ebd2 652 "/lib/gdk-pixbuf-2.0/2.10.0/loaders")))
cd14b5e3
FB
653 (zero?
654 (system
655 (string-append
656 "gdk-pixbuf-query-loaders "
657 loaders-directory "/libpixbufloader-svg.so "
658 (string-join (find-files (assoc-ref inputs "gdk-pixbuf")
659 "libpixbufloader-.*\\.so") " ")
660 "> " loaders-directory ".cache")))))
dc67ebd2
FB
661 (alist-cons-before
662 'build 'pre-build
663 (lambda* _
664 (setenv "CC" "gcc"))
665 %standard-phases)))))
63016e7c
LC
666 (native-inputs
667 `(("pkg-config" ,pkg-config)
44add1ce 668 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
669 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
670 (inputs
671 `(("pango" ,pango)
672 ("libcroco" ,libcroco)
673 ("bzip2" ,bzip2)
674 ("libgsf" ,libgsf)
675 ("libxml2" ,libxml2)))
676 (propagated-inputs
677 ;; librsvg-2.0.pc refers to all of that.
678 `(("cairo" ,cairo)
679 ("gdk-pixbuf" ,gdk-pixbuf)
680 ("glib" ,glib)))
681 (home-page "https://wiki.gnome.org/LibRsvg")
682 (synopsis "Render SVG files using Cairo")
683 (description
35b9e423 684 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c
LC
685library.")
686 (license license:lgpl2.0+)))
5698b8b8
JD
687
688(define-public libidl
689 (package
690 (name "libidl")
691 (version "0.8.14")
692 (source (origin
693 (method url-fetch)
694 (uri (let ((upstream-name "libIDL"))
b38e45d8
EB
695 (string-append "mirror://gnome/sources/" upstream-name "/"
696 (version-major+minor version) "/"
697 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
698 (sha256
699 (base32
700 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
701 (build-system gnu-build-system)
702 (inputs `(("glib" ,glib)))
703 (native-inputs
704 `(("pkg-config" ,pkg-config)
705 ("flex", flex)
706 ("bison" ,bison)))
707 (home-page "http://freecode.com/projects/libidl")
708 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 709 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
710Definition Language (idl) files, which is a specification for defining
711portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 712GNOME project, and the primary means of libidl distribution). However, the
5698b8b8
JD
713functionality was designed to be as reusable and portable as possible.")
714 (license license:lgpl2.0+)))
715
716
717(define-public orbit2
718 (package
719 (name "orbit2")
720 (version "2.14.19")
721 (source (origin
722 (method url-fetch)
723 (uri (let ((upstream-name "ORBit2"))
b38e45d8
EB
724 (string-append "mirror://gnome/sources/" upstream-name "/"
725 (version-major+minor version) "/"
726 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
727 (sha256
728 (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
729 (build-system gnu-build-system)
730 (arguments
731 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
732 `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
733 ;; ... which they then completly ignore !!
734 #:phases
735 (alist-cons-before
736 'configure 'ignore-deprecations
737 (lambda _
738 (substitute* "linc2/src/Makefile.in"
739 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
740 %standard-phases)))
741 (inputs `(("glib" ,glib)
742 ("libidl" ,libidl)))
743 (native-inputs
744 `(("pkg-config" ,pkg-config)))
745 (home-page "https://projects.gnome.org/orbit2/")
746 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 747 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
5698b8b8
JD
748featuring mature C, C++ and Python bindings.")
749 ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version.
750 ;; SOME of the code files have licence notices for GPLv2+
751 ;; The tarball contains files of the text of GPLv2 and LGPLv2
752 (license license:gpl2+)))
753
754
755(define-public libbonobo
756 (package
757 (name "libbonobo")
758 (version "2.32.1")
759 (source (origin
760 (method url-fetch)
5becd025 761 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 762 (version-major+minor version)
5becd025 763 "/" name "-" version ".tar.bz2"))
5698b8b8 764 (sha256
f1fc45a9
EB
765 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
766 (patches (list (search-patch "libbonobo-activation-test-race.patch")))))
5698b8b8
JD
767 (build-system gnu-build-system)
768 (arguments
769 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
770 `(#:configure-flags
771 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
772 ;; ... which they then completly ignore !!
773 #:phases
774 (alist-cons-before
775 'configure 'ignore-deprecations
776 (lambda _
777 (substitute* "activation-server/Makefile.in"
778 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
779 %standard-phases)))
5698b8b8
JD
780 (inputs `(("popt" ,popt)
781 ("libxml2" ,libxml2)))
782 ;; The following are Required by the .pc file
44add1ce 783 (propagated-inputs
5698b8b8
JD
784 `(("glib" ,glib)
785 ("orbit2" ,orbit2)))
786 (native-inputs
787 `(("intltool" ,intltool)
788 ("pkg-config" ,pkg-config)
221ed17a 789 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
790 ("flex" ,flex)
791 ("bison" ,bison)))
792 (home-page "https://developer.gnome.org/libbonobo/")
793 (synopsis "Framework for creating reusable components for use in GNOME applications")
794 (description "Bonobo is a framework for creating reusable components for
795use in GNOME applications, built on top of CORBA.")
796 ;; Licence not explicitly stated. Source files contain no licence notices.
797 ;; Tarball contains text of both GPLv2 and LGPLv2
798 ;; GPLv2 covers both conditions
799 (license license:gpl2+)))
800
801
802(define-public gconf
803 (package
804 (name "gconf")
805 (version "3.2.6")
806 (source (origin
807 (method url-fetch)
808 (uri
809 (let ((upstream-name "GConf"))
b38e45d8
EB
810 (string-append "mirror://gnome/sources/" upstream-name "/"
811 (version-major+minor version) "/"
812 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
813 (sha256
814 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
815 (build-system gnu-build-system)
816 (inputs `(("glib" ,glib)
817 ("dbus" ,dbus)
818 ("dbus-glib" ,dbus-glib)
819 ("libxml2" ,libxml2)))
820 (propagated-inputs `(("orbit2" ,orbit2))) ; referred to in the .pc file
821 (native-inputs
822 `(("intltool" ,intltool)
221ed17a 823 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
824 ("pkg-config" ,pkg-config)))
825 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
826 (synopsis "Store application preferences")
827 (description "Gconf is a system for storing application preferences. It
828is intended for user preferences; not arbitrary data storage.")
5698b8b8
JD
829 (license license:lgpl2.0+)))
830
831
832(define-public gnome-mime-data
833 (package
834 (name "gnome-mime-data")
835 (version "2.18.0")
836 (source (origin
837 (method url-fetch)
b38e45d8
EB
838 (uri (string-append "mirror://gnome/sources/" name "/"
839 (version-major+minor version) "/"
840 name "-" version ".tar.bz2"))
5698b8b8
JD
841 (sha256
842 (base32
843 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
844 (build-system gnu-build-system)
845 (native-inputs
846 `(("perl" ,perl)
847 ("intltool" ,intltool)))
848 (home-page "http://www.gnome.org")
35b9e423 849 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
850 (description "GNOME Mime Data is a module which contains the base MIME
851and Application database for GNOME. The data stored by this module is
852designed to be accessed through the MIME functions in GnomeVFS.")
853 (license license:gpl2+)))
854
855
856(define-public gnome-vfs
857 (package
858 (name "gnome-vfs")
859 (version "2.24.4")
860 (source (origin
861 (method url-fetch)
b38e45d8
EB
862 (uri (string-append "mirror://gnome/sources/" name "/"
863 (version-major+minor version) "/"
864 name "-" version ".tar.bz2"))
5698b8b8
JD
865 (sha256
866 (base32 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
867 (build-system gnu-build-system)
868 (arguments
869 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
870 `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
871 ;; ... which they then completly ignore !!
872 #:phases
873 (alist-cons-before
874 'configure 'ignore-deprecations
875 (lambda _
876 (begin
877 (substitute* "libgnomevfs/Makefile.in"
878 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
879 (substitute* "daemon/Makefile.in"
880 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))))
881 %standard-phases)))
882 (inputs `(("glib" ,glib)
883 ("libxml2" ,libxml2)
884 ("dbus-glib" ,dbus-glib)
885 ("dbus" ,dbus)
886 ("gconf" ,gconf)
887 ("gnome-mime-data" ,gnome-mime-data)
888 ("zlib" ,zlib)))
889 (native-inputs
221ed17a
EB
890 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
891 ("intltool" ,intltool)
5698b8b8
JD
892 ("pkg-config" ,pkg-config)))
893 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 894 (synopsis "Access files and folders in GNOME applications")
5698b8b8 895 (description "GnomeVFS is the core library used to access files and
35b9e423 896folders in GNOME applications. It provides a file system abstraction which
5698b8b8
JD
897allows applications to access local and remote files with a single consistent API.")
898 (license license:lgpl2.0+)))
899
900
901
902(define-public libgnome
903 (package
904 (name "libgnome")
905 (version "2.32.1")
906 (source (origin
907 (method url-fetch)
b38e45d8
EB
908 (uri (string-append "mirror://gnome/sources/" name "/"
909 (version-major+minor version) "/"
910 name "-" version ".tar.bz2"))
5698b8b8
JD
911 (sha256
912 (base32
913 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
914 (build-system gnu-build-system)
915 (arguments
916 `(#:phases
917 (alist-cons-before
918 'configure 'enable-deprecated
919 (lambda _
920 (substitute* "libgnome/Makefile.in"
921 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
922 %standard-phases)))
923 (inputs `(("popt" ,popt)
924 ("libxml2" ,libxml2)))
925 (native-inputs
221ed17a
EB
926 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
927 ("intltool" ,intltool)
5698b8b8
JD
928 ("pkg-config" ,pkg-config)))
929 ;; The following are listed as Required in the .pc file
930 ;; (except for libcanberra -- which seems to be oversight on the part
931 ;; of the upstream developers -- anything that links against libgnome,
932 ;; must also link against libcanberra
933 (propagated-inputs
934 `(("libcanberra" ,libcanberra)
935 ("libbonobo" ,libbonobo)
936 ("gconf" ,gconf)
937 ("gnome-vfs" ,gnome-vfs)
938 ("glib" ,glib)))
939 (home-page "https://developer.gnome.org/libgnome/")
940 (synopsis "Useful routines for building applications")
941 (description "The libgnome library provides a number of useful routines
942for building modern applications, including session management, activation of
943files and URIs, and displaying help.")
944 (license license:lgpl2.0+)))
945
946
947(define-public libart-lgpl
948 (package
949 (name "libart-lgpl")
76c9b6aa 950 (version "2.3.21")
5698b8b8
JD
951 (source (origin
952 (method url-fetch)
953 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
954 (string-append "mirror://gnome/sources/" upstream-name "/"
955 (version-major+minor version) "/"
956 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
957 (sha256
958 (base32
76c9b6aa 959 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
960 (build-system gnu-build-system)
961 (native-inputs
962 `(("pkg-config" ,pkg-config)))
963 (home-page "https://people.gnome.org/~mathieu/libart")
964 (synopsis "2D drawing library")
965 (description "Libart is a 2D drawing library intended as a
966high-quality vector-based 2D library with antialiasing and alpha composition.")
967 (license license:lgpl2.0+)))
968
969
970
971(define-public libgnomecanvas
972 (package
973 (name "libgnomecanvas")
974 (version "2.30.3")
975 (source (origin
976 (method url-fetch)
b38e45d8
EB
977 (uri (string-append "mirror://gnome/sources/" name "/"
978 (version-major+minor version) "/"
979 name "-" version ".tar.gz"))
5698b8b8
JD
980 (sha256
981 (base32
982 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
983 (build-system gnu-build-system)
984 ;; Mentioned as Required in the .pc file
985 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
986 ("gtk+" ,gtk+-2)))
987 (native-inputs
988 `(("intltool" ,intltool)
221ed17a 989 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
990 ("pkg-config" ,pkg-config)))
991 (home-page "https://developer.gnome.org/libgnomecanvas/")
992 (synopsis "Flexible widget for creating interactive structured graphics")
993 (description "The GnomeCanvas widget provides a flexible widget for
994creating interactive structured graphics.")
995 (license license:lgpl2.0+)))
996
997(define-public libgnomeui
998 (package
999 (name "libgnomeui")
1000 (version "2.24.5")
1001 (source (origin
1002 (method url-fetch)
b38e45d8
EB
1003 (uri (string-append "mirror://gnome/sources/" name "/"
1004 (version-major+minor version) "/"
1005 name "-" version ".tar.bz2"))
5698b8b8
JD
1006 (sha256
1007 (base32
1008 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
1009 (build-system gnu-build-system)
1010 ;; Mentioned as Required in the .pc file
1011 (propagated-inputs `(("libgnome" ,libgnome)
1012 ("libgnome-keyring" ,libgnome-keyring)))
1013 (inputs `(("libgnomecanvas" ,libgnomecanvas)
1014 ("libbonoboui" ,libbonoboui)
1015 ("libjpeg" ,libjpeg)
1016 ("popt" ,popt)
1017 ("libbonobo" ,libbonobo)
1018 ("libxml2" ,libxml2)
1019 ("libglade" ,libglade)))
1020 (native-inputs
221ed17a
EB
1021 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
1022 ("intltool" ,intltool)
5698b8b8
JD
1023 ("pkg-config" ,pkg-config)))
1024 (home-page "https://developer.gnome.org/libgnomeui/")
1025 (synopsis "Additional widgets for applications")
35b9e423
EB
1026 (description "The libgnomeui library provides additional widgets for
1027applications. Many of the widgets from libgnomeui have already been ported to GTK+.")
5698b8b8
JD
1028 (license license:lgpl2.0+)))
1029
1030(define-public libglade
1031 (package
1032 (name "libglade")
1033 (version "2.6.4")
1034 (source (origin
1035 (method url-fetch)
b38e45d8
EB
1036 (uri (string-append "mirror://gnome/sources/" name "/"
1037 (version-major+minor version) "/"
1038 name "-" version ".tar.bz2"))
5698b8b8
JD
1039 (sha256
1040 (base32
1041 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
1042 (build-system gnu-build-system)
1043 (inputs
1044 `(("gtk+-2" ,gtk+-2)
1045 ("libxml2" ,libxml2)
1046 ("python" ,python))) ;; needed for the optional libglade-convert program
1047 (native-inputs
1048 `(("pkg-config" ,pkg-config)))
1049 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
1050 (synopsis "Load glade interfaces and access the glade built widgets")
1051 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
1052graphical interfaces described in glade files and for accessing the
1053widgets built in the loading process.")
1054 (license license:gpl2+))) ; This is correct. GPL not LGPL
1055
1056(define-public libgnomeprint
eb497b66
LC
1057 ;; This library has been deprecated since 2006; see
1058 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
1059 (package
1060 (name "libgnomeprint")
1061 (version "2.8.2")
1062 (source (origin
1063 (method url-fetch)
b38e45d8
EB
1064 (uri (string-append "mirror://gnome/sources/" name "/"
1065 (version-major+minor version) "/"
1066 name "-" version ".tar.bz2"))
5698b8b8
JD
1067 (sha256
1068 (base32
1069 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1070 (build-system gnu-build-system)
1071 (inputs
1072 `(("popt" ,popt)
1073 ("libart-lgpl" ,libart-lgpl)
1074 ("gtk+" ,gtk+-2)
44add1ce 1075 ("libxml2" ,libxml2)))
5698b8b8
JD
1076 (native-inputs
1077 `(("intltool" ,intltool)
221ed17a 1078 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
1079 ("pkg-config" ,pkg-config)))
1080 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 1081 (synopsis "Printing framework for GNOME")
eb497b66
LC
1082 (description
1083 "GNOME-print was a printing framework for GNOME. It has been deprecated
1084since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
1085 (license license:lgpl2.0+)))
1086
1087
1088(define-public libgnomeprintui
eb497b66 1089 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
1090 (package
1091 (name "libgnomeprintui")
1092 (version "2.8.2")
1093 (source (origin
1094 (method url-fetch)
b38e45d8
EB
1095 (uri (string-append "mirror://gnome/sources/" name "/"
1096 (version-major+minor version) "/"
1097 name "-" version ".tar.bz2"))
5698b8b8
JD
1098 (sha256
1099 (base32
1100 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1101 (build-system gnu-build-system)
1102 ;; Mentioned as Required in the .pc file
1103 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1104 (inputs `(("gtk+" ,gtk+-2)
1105 ("glib" ,glib)
1106 ("gnome-icon-theme" ,gnome-icon-theme)
1107 ("libgnomecanvas" ,libgnomecanvas)
1108 ("libxml2" ,libxml2)))
1109 (native-inputs
1110 `(("intltool" ,intltool)
1111 ("pkg-config" ,pkg-config)))
1112 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1113 (synopsis "Printing framework for GNOME")
eb497b66 1114 (description (package-description libgnomeprint))
5698b8b8
JD
1115 (license license:lgpl2.0+)))
1116
5698b8b8
JD
1117(define-public libbonoboui
1118 (package
1119 (name "libbonoboui")
1120 (version "2.24.5")
1121 (source (origin
1122 (method url-fetch)
b38e45d8
EB
1123 (uri (string-append "mirror://gnome/sources/" name "/"
1124 (version-major+minor version) "/"
1125 name "-" version ".tar.bz2"))
5698b8b8
JD
1126 (sha256
1127 (base32
1128 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1129 (build-system gnu-build-system)
1130 (arguments
1131 `(#:phases
1132 (alist-cons-before
1133 'check 'start-xserver
1134 (lambda* (#:key inputs #:allow-other-keys)
1135 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1136 (disp ":1"))
1137
1138 (setenv "HOME" (getcwd))
1139 (setenv "DISPLAY" disp)
1140 ;; There must be a running X server and make check doesn't start one.
1141 ;; Therefore we must do it.
1142 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1143 %standard-phases)))
1144 ;; Mentioned as Required by the .pc file
1145 (propagated-inputs `(("libxml2" ,libxml2)))
1146 (inputs
1147 `(("popt" ,popt)
1148 ("pangox-compat" ,pangox-compat)
1149 ("libgnome" ,libgnome)
1150 ("libgnomecanvas" ,libgnomecanvas)
1151 ("libglade" ,libglade)))
1152 (native-inputs
221ed17a
EB
1153 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
1154 ("intltool" ,intltool)
5698b8b8
JD
1155 ("xorg-server" ,xorg-server) ; For running the tests
1156 ("pkg-config" ,pkg-config)))
1157 (home-page "https://developer.gnome.org/libbonoboui/")
1158 (synopsis "Some user interface controls using Bonobo")
1159 (description "The Bonobo UI library provides a number of user interface
1160controls using the Bonobo component framework.")
1161 (license license:lgpl2.0+)))
1162
fecbf86e
SB
1163(define-public libwnck
1164 (package
1165 (name "libwnck")
1166 (version "3.14.0")
1167 (source (origin
1168 (method url-fetch)
1169 (uri (string-append "mirror://gnome/sources/" name "/"
1170 (version-major+minor version) "/"
1171 name "-" version ".tar.xz"))
1172 (sha256
1173 (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m"))))
1174 (build-system gnu-build-system)
1175 (native-inputs
1176 `(("pkg-config" ,pkg-config)
1177 ("intltool" ,intltool)))
1178 (propagated-inputs
427476d5
SB
1179 `(("gtk+" ,gtk+)
1180 ("libxres" ,libxres)
1181 ("startup-notification" ,startup-notification)))
fecbf86e
SB
1182 (home-page "https://developer.gnome.org/libwnck/")
1183 (synopsis "Window Navigator Construction Kit")
1184 (description
1185 "Libwnck is the Window Navigator Construction Kit, a library for use in
1186writing pagers, tasklists, and more generally applications that are dealing
1187with window management. It tries hard to respect the Extended Window Manager
1188Hints specification (EWMH).")
1189 (license license:lgpl2.0+)))
1190
1191;; stable version for gtk2, required by xfwm4.
1192(define-public libwnck-1
1193 (package (inherit libwnck)
1194 (name "libwnck")
1195 (version "2.30.7")
1196 (source (origin
1197 (method url-fetch)
1198 (uri (string-append "mirror://gnome/sources/" name "/"
1199 (version-major+minor version) "/"
1200 name "-" version ".tar.xz"))
1201 (sha256
1202 (base32
1203 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
1204 (propagated-inputs
427476d5
SB
1205 `(("gtk+" ,gtk+-2)
1206 ("libxres" ,libxres)
1207 ("startup-notification" ,startup-notification)))))
b804c61e
JD
1208
1209(define-public goffice
1210 (package
1211 (name "goffice")
1212 (version "0.10.14")
1213 (source (origin
1214 (method url-fetch)
b38e45d8
EB
1215 (uri (string-append "mirror://gnome/sources/" name "/"
1216 (version-major+minor version) "/"
1217 name "-" version ".tar.xz"))
b804c61e
JD
1218 (sha256
1219 (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60"))))
1220 (build-system gnu-build-system)
1221 (inputs
1222 `(("gtk+" ,gtk+)
1223 ("libgsf" ,libgsf)
1224 ("librsvg" ,librsvg)
1225 ("libxslt" ,libxslt)
1226 ("libxml2" ,libxml2)))
1227 (native-inputs
1228 `(("intltool" ,intltool)
f280cdb1 1229 ("glib" ,glib "bin")
b804c61e
JD
1230 ("pkg-config" ,pkg-config)))
1231 (home-page "https://developer.gnome.org/goffice/")
1232 (synopsis "Document-centric objects and utilities")
1233 (description "A GLib/GTK+ set of document-centric objects and utilities.")
1234 (license
1235 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1236 ;; Note: NOT LGPL
1237 (list license:gpl2 license:gpl3))))
1238
1239(define-public gnumeric
1240 (package
1241 (name "gnumeric")
1242 (version "1.12.17")
1243 (source (origin
1244 (method url-fetch)
b38e45d8
EB
1245 (uri (string-append "mirror://gnome/sources/" name "/"
1246 (version-major+minor version) "/"
1247 name "-" version ".tar.xz"))
b804c61e
JD
1248 (sha256
1249 (base32
1250 "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c"))))
1251 (build-system gnu-build-system)
1252 (arguments
1253 `(;; The gnumeric developers don't worry much about failing tests.
1254 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
1255 #:tests? #f
1256 #:phases
1257 (alist-cons-before
1258 'configure 'pre-conf
1259 (lambda* (#:key outputs #:allow-other-keys)
1260 ;; Make install tries to write into the directory of goffice
1261 ;; I am informed that this only affects the possibility to embed a
1262 ;; spreadsheet inside an Abiword document. So presumably when we
1263 ;; package Abiword we'll have to refer it to this directory.
1264 (substitute* "configure"
1265 (("^GOFFICE_PLUGINS_DIR=.*")
1266 (string-append "GOFFICE_PLUGINS_DIR="
1267 (assoc-ref outputs "out") "/goffice/plugins"))))
1268 %standard-phases)))
1269 (inputs
1270 `(("glib" ,glib)
1271 ("gtk+" ,gtk+)
1272 ("goffice" ,goffice)
1273 ("libgsf" ,libgsf)
1274 ("libxml2" ,libxml2)
1275 ("zlib" ,zlib)))
1276 (native-inputs
1277 `(("intltool" ,intltool)
b9663471 1278 ("glib:bin" ,glib "bin")
b804c61e
JD
1279 ("pkg-config" ,pkg-config)))
1280 (home-page "http://www.gnumeric.org")
66672a45
LC
1281 (synopsis "Spreadsheet application")
1282 (description
1283 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
1284interoperable with other spreadsheet applications. It has a vast array of
1285features beyond typical spreadsheet functionality, such as support for linear
1286and non-linear solvers, statistical analysis, and telecommunication
1287engineering.")
1288 (license
b804c61e
JD
1289 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
1290 (list license:gpl2 license:gpl3))))
6f885c05
FB
1291
1292(define-public gnome-themes-standard
1293 (package
1294 (name "gnome-themes-standard")
1295 ;; The version of this package should be the same as the version of
1296 ;; gnome-desktop.
1297 (version (package-version gnome-desktop))
1298 (source
1299 (origin
1300 (method url-fetch)
1301 (uri (string-append "mirror://gnome/sources/" name "/"
1302 (version-major+minor version) "/" name "-"
1303 version ".tar.xz"))
1304 (sha256
1305 (base32
1306 "0f2b3ypkfvrdsxcvp14ja9wqj382f1p46yrjvhhxkkjgagy6qb41"))))
1307 (build-system gnu-build-system)
1308 (inputs
1309 `(("gtk+" ,gtk+)
1310 ("gtk+-2" ,gtk+-2)
1311 ("librsvg" ,librsvg)
1312 ("libxml2" ,libxml2)
1313 ("glib" ,glib)))
1314 (native-inputs
1315 `(("intltool" ,intltool)
1316 ("glib:bin" ,glib "bin")
1317 ("pkg-config" ,pkg-config)))
1318 (arguments
1319 `(#:phases
1320 (alist-cons-before
1321 'build 'use-full-cache
1322 ;; Use librsvg's loaders.cache instead of the one provided by
1323 ;; gdk-pixbuf because the latter does not include support for SVG
1324 ;; files.
1325 (lambda* (#:key inputs #:allow-other-keys)
1326 (setenv "GDK_PIXBUF_MODULE_FILE"
1327 (car (find-files (assoc-ref inputs "librsvg")
1328 "loaders\\.cache"))))
1329 %standard-phases)))
1330 (home-page "https://launchpad.net/gnome-themes-standard")
1331 (synopsis "Default GNOME 3 themes")
1332 (description
1333 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
1334 (license license:lgpl2.1+)))
5a659a48
SB
1335
1336(define-public vala
1337 (package
1338 (name "vala")
1339 (version "0.26.1")
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 "0swyym2papln0f62ah05dpvq3vv6fssap26jq2zqp9dkkaqsn1w4"))))
1348 (build-system gnu-build-system)
1349 (arguments '(#:make-flags '("CC=gcc")))
1350 (native-inputs
1351 `(("pkg-config" ,pkg-config)
1352 ("flex" ,flex)
1353 ("bison" ,bison)
1354 ("xsltproc" ,libxslt)
1355 ("dbus" ,dbus) ; for dbus tests
1356 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
1357 (propagated-inputs
1358 `(("glib" ,glib))) ; required by libvala-0.26.pc
1359 (home-page "http://live.gnome.org/Vala/")
1360 (synopsis "Compiler for the GObject type system")
1361 (description
1362 "Vala is a programming language that aims to bring modern programming
1363language features to GNOME developers without imposing any additional runtime
1364requirements and without using a different ABI compared to applications and
1365libraries written in C.")
1366 (license license:lgpl2.1+)))
ea57378f
SB
1367
1368(define-public vte
1369 (package
1370 (name "vte")
1371 (version "0.38.2")
1372 (source (origin
1373 (method url-fetch)
1374 (uri (string-append "mirror://gnome/sources/" name "/"
1375 (version-major+minor version) "/"
1376 name "-" version ".tar.xz"))
1377 (sha256
1378 (base32
1379 "1rbxrigff9yszbgdw0gw4c2saz4d1hbbpz21phzxx14w49wvmnmj"))))
1380 (build-system gnu-build-system)
1381 (native-inputs
1382 `(("pkg-config" ,pkg-config)
1383 ("intltool" ,intltool)
1384 ("vala" ,vala)
1385 ("gobject-introspection" ,gobject-introspection)
1386 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
1387 ("xmllint" ,libxml2)))
1388 (propagated-inputs
1389 `(("gtk+" ,gtk+))) ; required by libvte-2.91.pc
7ed6ee1e
FB
1390 (arguments
1391 `(#:phases
1392 (alist-cons-before
1393 'build 'pre-build
1394 (lambda* _
1395 (setenv "CC" "gcc"))
1396 %standard-phases)))
ea57378f
SB
1397 (home-page "http://www.gnome.org/")
1398 (synopsis "Virtual Terminal Emulator")
1399 (description
1400 "VTE is a library (libvte) implementing a terminal emulator widget for
1401GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
1402gnome-terminal, but can also be used to embed a console/terminal in games,
1403editors, IDEs, etc.")
1404 (license license:lgpl2.1+)))
1405
1406;; stable version for gtk2, required by xfce4-terminal.
1407(define-public vte/gtk+-2
1408 (package (inherit vte)
1409 (name "vte")
1410 (version "0.28.2")
1411 (source (origin
1412 (method url-fetch)
1413 (uri (string-append "mirror://gnome/sources/" name "/"
1414 (version-major+minor version) "/"
1415 name "-" version ".tar.xz"))
1416 (sha256
1417 (base32
1418 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
1419 (arguments
1420 '(#:configure-flags '("--disable-python")))
1421 (native-inputs
1422 `(("pkg-config" ,pkg-config)
1423 ("intltool" ,intltool)
1424 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
1425 (propagated-inputs
1426 `(("gtk+" ,gtk+-2) ; required by libvte.pc
1427 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20
FB
1428
1429(define-public dconf
1430 (package
1431 (name "dconf")
1432 (version "0.22.0")
1433 (source (origin
1434 (method url-fetch)
1435 (uri (string-append
1436 "mirror://gnome/sources/" name "/"
1437 (version-major+minor version) "/"
1438 name "-" version ".tar.xz"))
1439 (sha256
1440 (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa"))))
1441 (build-system glib-or-gtk-build-system)
1442 (inputs
1443 `(("gtk+" ,gtk+)
1444 ("glib" ,glib)
1445 ("dbus" ,dbus)
1446 ("libxml2" ,libxml2)))
1447 (native-inputs
1448 `(("libxslt" ,libxslt)
1449 ("docbook-xml" ,docbook-xml-4.2)
1450 ("docbook-xsl" ,docbook-xsl)
1451 ("intltool" ,intltool)
1452 ("pkg-config" ,pkg-config)))
1453 (arguments
1454 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
1455 ; or /etc/machine-id.
1456 #:configure-flags
1457 ;; Set the correct RUNPATH in binaries.
1458 (list (string-append "LDFLAGS=-Wl,-rpath="
1459 (assoc-ref %outputs "out") "/lib")
1460 "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
1461 #:phases
1462 (alist-cons-before
1463 'configure 'fix-docbook
1464 (lambda* (#:key inputs #:allow-other-keys)
1465 (substitute* "docs/Makefile.in"
1466 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1467 (string-append (assoc-ref inputs "docbook-xsl")
1468 "/xml/xsl/docbook-xsl-"
1469 ,(package-version docbook-xsl)
1470 "/manpages/docbook.xsl")))
1471 (setenv "XML_CATALOG_FILES"
1472 (string-append (assoc-ref inputs "docbook-xml")
1473 "/xml/dtd/docbook/catalog.xml")))
1474 %standard-phases)))
1475 (home-page "https://developer.gnome.org/dconf")
1476 (synopsis "Low-level GNOME configuration system")
1477 (description "Dconf is a low-level configuration system. Its main purpose
1478is to provide a backend to GSettings on platforms that don't already have
1479configuration storage systems.")
1480 (license license:lgpl2.1)))
109da1c0
AE
1481
1482(define-public json-glib
1483 (package
1484 (name "json-glib")
1485 (version "1.0.2")
1486 (source (origin
1487 (method url-fetch)
1488 (uri (string-append "mirror://gnome/sources/" name "/"
1489 (version-major+minor version) "/"
1490 name "-" version ".tar.xz"))
1491 (sha256
1492 (base32
1493 "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8"))))
1494 (build-system gnu-build-system)
88c6b580
LC
1495 (arguments
1496 '(#:phases (alist-cons-before
1497 'build 'set-cc
1498 (lambda _
1499 ;; Set $CC so that g-ir-scanner works.
1500 (setenv "CC" "gcc")
1501 #t)
1502 %standard-phases)))
109da1c0 1503 (native-inputs
88c6b580 1504 `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
1505 ("gobject-introspection" ,gobject-introspection)
1506 ("pkg-config" ,pkg-config)))
1507 (propagated-inputs
88c6b580 1508 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
1509 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1510 (synopsis "Compiler for the GObject type system")
1511 (description "JSON-GLib is a C library based on GLib providing
1512serialization and deserialization support for the JavaScript Object Notation
1513(JSON) format described by RFC 4627. It provides parser and generator
1514GObject classes and various wrappers for the complex data types employed by
1515JSON, such as arrays and objects.")
1516 (license license:lgpl2.1+)))