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