gnu: Add SCons.
[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>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages gnome)
c1354b90 20 #:use-module ((guix licenses) #:select (gpl2 gpl2+ lgpl2.0+ lgpl2.1+ lgpl3))
995b7261
AE
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages glib)
c1354b90 25 #:use-module (gnu packages gnupg)
85f5dc19 26 #:use-module (gnu packages gstreamer)
d9c1a22b 27 #:use-module (gnu packages gtk)
c1354b90
LC
28 #:use-module (gnu packages pdf)
29 #:use-module (gnu packages ghostscript)
85f5dc19 30 #:use-module (gnu packages libcanberra)
d9c1a22b 31 #:use-module (gnu packages libpng)
27477d2d 32 #:use-module (gnu packages perl)
995b7261
AE
33 #:use-module (gnu packages pkg-config)
34 #:use-module (gnu packages python)
85f5dc19
AE
35 #:use-module (gnu packages xml)
36 #:use-module (gnu packages xorg))
37
38(define-public brasero
39 (package
40 (name "brasero")
41 (version "3.8.0")
42 (source (origin
43 (method url-fetch)
44 (uri (string-append "mirror://gnome/sources/brasero/3.8/brasero-"
45 version ".tar.xz"))
46 (sha256
47 (base32
48 "1r5wjsrm47amdaf862ymkdlwlb636c45wg14x20hdr99c653d2nr"))))
49 (build-system gnu-build-system)
50 (propagated-inputs
51 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
52 (inputs
53 `(("glib" ,glib)
54 ("gnome-doc-utils" ,gnome-doc-utils)
55 ("gstreamer" ,gstreamer)
56 ("gst-plugins-base" ,gst-plugins-base)
57 ("gtk+" ,gtk+)
58 ("intltool" ,intltool)
59 ("itstool" ,itstool)
60 ("libcanberra" ,libcanberra)
61 ("libice" ,libice)
62 ("libnotify" ,libnotify)
63 ("libsm" ,libsm)
64 ("libxml2" ,libxml2)
65 ("pkg-config" ,pkg-config)))
66 (home-page "https://projects.gnome.org/brasero/")
67 (synopsis "CD/DVD burning tool for Gnome")
68 (description "Brasero is an application to burn CD/DVD for the Gnome
69Desktop. It is designed to be as simple as possible and has some unique
70features to enable users to create their discs easily and quickly.")
71 (license gpl2+)))
995b7261
AE
72
73(define-public gnome-doc-utils
74 (package
75 (name "gnome-doc-utils")
76 (version "0.20.10")
77 (source
78 (origin
79 (method url-fetch)
80 (uri (string-append "mirror://gnome/sources/" name "/0.20/"
81 name "-" version ".tar.xz"))
82 (sha256
83 (base32
84 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
85 (build-system gnu-build-system)
86 (inputs
87 `(("intltool" ,intltool)
88 ("libxml2" ,libxml2)
89 ("libxslt" ,libxslt)
90 ("pkg-config" ,pkg-config)
91 ("python-2" ,python-2)))
92 (arguments
93 `(#:tests? #f)) ; tries to load http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
94 (home-page "https://wiki.gnome.org/GnomeDocUtils")
95 (synopsis
96 "Documentation utilities for the Gnome project")
97 (description
98 "Gnome-doc-utils is a collection of documentation utilities for the
99Gnome project. It includes xml2po tool which makes it easier to translate
100and keep up to date translations of documentation.")
101 (license gpl2+))) ; xslt under lgpl
d9c1a22b 102
c1354b90
LC
103(define-public libgnome-keyring
104 (package
105 (name "libgnome-keyring")
106 (version "3.6.0")
107 (source (origin
108 (method url-fetch)
109 (uri (string-append
110 "mirror://gnome/sources/libgnome-keyring/3.6/libgnome-keyring-"
111 version
112 ".tar.xz"))
113 (sha256
114 (base32
115 "0c4qrjpmv1hqga3xv6wsq2z10x2n78qgw7q3k3s01y1pggxkgjkd"))))
116 (build-system gnu-build-system)
117 (native-inputs
118 `(("intltool" ,intltool)))
119 (inputs
120 `(("pkg-config" ,pkg-config)
121 ("libgcrypt" ,libgcrypt)
122 ("dbus" ,dbus)))
123 (propagated-inputs
124 ;; Referred to in .h files and .pc.
125 `(("glib" ,glib)))
126 (home-page "http://www.gnome.org")
127 (synopsis "Accessing passwords from the GNOME keyring")
128 (description
129 "Client library to access passwords from the GNOME keyring.")
130
131 ;; Though a couple of files are LGPLv2.1+.
132 (license lgpl2.0+)))
133
134(define-public evince
135 (package
136 (name "evince")
137 (version "3.6.1")
138 (source (origin
139 (method url-fetch)
140 (uri (string-append
141 "mirror://gnome/sources/evince/3.6/evince-"
142 version
143 ".tar.xz"))
144 (sha256
145 (base32
146 "1da1pij030dh8mb0pr0jnyszgsbjnh8lc17rj5ii52j3kmbv51qv"))))
147 (build-system gnu-build-system)
148 (arguments
149 `(#:configure-flags '("--disable-nautilus")
150
151 ;; FIXME: Tests fail with:
152 ;; ImportError: No module named gi.repository
153 ;; Where should that module come from?
154 #:tests? #f ))
155 (inputs
156 `(("libspectre" ,libspectre)
157 ;; ("djvulibre" ,djvulibre)
158 ("ghostscript" ,ghostscript)
159 ("poppler" ,poppler)
160 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
161 ("libgnome-keyring" ,libgnome-keyring)
162 ("gnome-icon-theme" ,gnome-icon-theme)
163 ("itstool" ,itstool)
164 ("gdk-pixbuf" ,gdk-pixbuf)
165 ("atk" ,atk)
166 ("pango" ,pango)
167 ("gtk+" ,gtk+)
168 ("glib" ,glib)
169 ("libxml2" ,libxml2)
170 ("perl-xml-parser" ,perl-xml-parser)
171 ("perl" ,perl)
172 ("intltool" ,intltool)
173 ("pkg-config" ,pkg-config)
174 ("libsm" ,libsm)
175 ("libice" ,libice)
176
177 ;; For tests.
178 ("dogtail" ,python2-dogtail)))
179 (home-page
180 "http://www.gnome.org/projects/evince/")
181 (synopsis "GNOME's document viewer")
182 (description
183 "Evince is a document viewer for multiple document formats. It
184currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
185of Evince is to replace the multiple document viewers that exist
186on the GNOME Desktop with a single simple application.
187")
188 (license gpl2+)))
189
22e32e69
AE
190(define-public gsettings-desktop-schemas
191 (package
192 (name "gsettings-desktop-schemas")
193 (version "3.10.0")
194 (source
195 (origin
196 (method url-fetch)
197 (uri (string-append "mirror://gnome/sources/" name "/"
198 (string-copy version 0 (string-rindex version #\.)) "/"
199 name "-" version ".tar.xz"))
200 (sha256
201 (base32
202 "1km8qxwrzvravmg8j680qv64bwnwbdgrmy8bqmhs0dgxn2b1as6a"))))
203 (build-system gnu-build-system)
204 (inputs
205 `(("glib" ,glib)
206 ("intltool" ,intltool)
207 ("pkg-config" ,pkg-config)))
208 (home-page "https://launchpad.net/gsettings-desktop-schemas")
209 (synopsis
210 "GNOME settings for various desktop components")
211 (description
212 "Gsettings-desktop-schemas contains a collection of GSettings schemas
213for settings shared by various components of the GNOME desktop.")
214 (license lgpl2.1+)))
215
27477d2d
AE
216(define-public icon-naming-utils
217 (package
218 (name "icon-naming-utils")
219 (version "0.8.90")
220 (source
221 (origin
222 (method url-fetch)
223 (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-"
224 version ".tar.bz2"))
225 (sha256
226 (base32
227 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
228 (build-system gnu-build-system)
229 (inputs
230 `(("perl" ,perl)
231 ("perl-xml-simple" ,perl-xml-simple)))
232 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
233 (synopsis
234 "Utility to implement the Freedesktop Icon Naming Specification")
235 (description
236 "To help with the transition to the Freedesktop Icon Naming
237Specification, the icon naming utility maps the icon names used by the
238GNOME and KDE desktops to the icon names proposed in the specification.")
239 (license lgpl2.1+)))
240
7d3f3651
AE
241(define-public gnome-icon-theme
242 (package
243 (name "gnome-icon-theme")
244 (version "3.10.0")
245 (source
246 (origin
247 (method url-fetch)
248 (uri (string-append "mirror://gnome/sources/" name "/"
249 (string-copy version 0 (string-rindex version #\.)) "/"
250 name "-" version ".tar.xz"))
251 (sha256
252 (base32
253 "1xinbgkkvlhazj887ajcl13i7kdc1wcca02jwxzvjrvchjsp4m66"))))
254 (build-system gnu-build-system)
255 (inputs
256 `(("gtk+" ,gtk+)
257 ("icon-naming-utils" ,icon-naming-utils)
258 ("intltool" ,intltool)
259 ("pkg-config" ,pkg-config)))
260 (home-page "http://art.gnome.org/")
261 (synopsis
262 "GNOME icon theme")
263 (description
264 "Icons for the GNOME desktop.")
265 (license lgpl3))) ; or Creative Commons BY-SA 3.0
266
bef4dd92
AE
267(define-public hicolor-icon-theme
268 (package
269 (name "hicolor-icon-theme")
270 (version "0.12")
271 (source
272 (origin
273 (method url-fetch)
274 (uri (string-append "http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-"
275 version ".tar.gz"))
276 (sha256
277 (base32
278 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
279 (build-system gnu-build-system)
280 (arguments
281 `(#:tests? #f)) ; no check target
282 (home-page "http://icon-theme.freedesktop.org/releases/")
283 (synopsis
284 "Freedesktop icon theme")
285 (description
286 "Freedesktop icon theme.")
287 (license gpl2)))
288
d9c1a22b
AE
289(define-public libnotify
290 (package
291 (name "libnotify")
292 (version "0.7.6")
293 (source
294 (origin
295 (method url-fetch)
296 (uri (string-append "mirror://gnome/sources/" name "/"
297 (string-copy version 0 (string-rindex version #\.)) "/"
298 name "-" version ".tar.xz"))
299 (sha256
300 (base32
301 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
302 (build-system gnu-build-system)
303 (inputs
304 `(("gdk-pixbuf" ,gdk-pixbuf)
305 ("glib" ,glib)
306 ("gtk+" ,gtk+)
307 ("libpng" ,libpng)
308 ("pkg-config" ,pkg-config)))
309 (home-page "https://developer-next.gnome.org/libnotify/")
310 (synopsis
311 "GNOME desktop notification library")
312 (description
313 "Libnotify is a library that sends desktop notifications to a
314notification daemon, as defined in the Desktop Notifications spec. These
315notifications can be used to inform the user about an event or display
316some form of information without getting in the user's way.")
317 (license lgpl2.1+)))