gnu: Add hicolor-icon-theme.
[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)
bef4dd92 20 #:use-module ((guix licenses) #:select (gpl2 gpl2+ 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)
d9c1a22b
AE
25 #:use-module (gnu packages gtk)
26 #:use-module (gnu packages libpng)
27477d2d 27 #:use-module (gnu packages perl)
995b7261
AE
28 #:use-module (gnu packages pkg-config)
29 #:use-module (gnu packages python)
30 #:use-module (gnu packages xml))
31
32(define-public gnome-doc-utils
33 (package
34 (name "gnome-doc-utils")
35 (version "0.20.10")
36 (source
37 (origin
38 (method url-fetch)
39 (uri (string-append "mirror://gnome/sources/" name "/0.20/"
40 name "-" version ".tar.xz"))
41 (sha256
42 (base32
43 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
44 (build-system gnu-build-system)
45 (inputs
46 `(("intltool" ,intltool)
47 ("libxml2" ,libxml2)
48 ("libxslt" ,libxslt)
49 ("pkg-config" ,pkg-config)
50 ("python-2" ,python-2)))
51 (arguments
52 `(#:tests? #f)) ; tries to load http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
53 (home-page "https://wiki.gnome.org/GnomeDocUtils")
54 (synopsis
55 "Documentation utilities for the Gnome project")
56 (description
57 "Gnome-doc-utils is a collection of documentation utilities for the
58Gnome project. It includes xml2po tool which makes it easier to translate
59and keep up to date translations of documentation.")
60 (license gpl2+))) ; xslt under lgpl
d9c1a22b 61
22e32e69
AE
62(define-public gsettings-desktop-schemas
63 (package
64 (name "gsettings-desktop-schemas")
65 (version "3.10.0")
66 (source
67 (origin
68 (method url-fetch)
69 (uri (string-append "mirror://gnome/sources/" name "/"
70 (string-copy version 0 (string-rindex version #\.)) "/"
71 name "-" version ".tar.xz"))
72 (sha256
73 (base32
74 "1km8qxwrzvravmg8j680qv64bwnwbdgrmy8bqmhs0dgxn2b1as6a"))))
75 (build-system gnu-build-system)
76 (inputs
77 `(("glib" ,glib)
78 ("intltool" ,intltool)
79 ("pkg-config" ,pkg-config)))
80 (home-page "https://launchpad.net/gsettings-desktop-schemas")
81 (synopsis
82 "GNOME settings for various desktop components")
83 (description
84 "Gsettings-desktop-schemas contains a collection of GSettings schemas
85for settings shared by various components of the GNOME desktop.")
86 (license lgpl2.1+)))
87
27477d2d
AE
88(define-public icon-naming-utils
89 (package
90 (name "icon-naming-utils")
91 (version "0.8.90")
92 (source
93 (origin
94 (method url-fetch)
95 (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-"
96 version ".tar.bz2"))
97 (sha256
98 (base32
99 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
100 (build-system gnu-build-system)
101 (inputs
102 `(("perl" ,perl)
103 ("perl-xml-simple" ,perl-xml-simple)))
104 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
105 (synopsis
106 "Utility to implement the Freedesktop Icon Naming Specification")
107 (description
108 "To help with the transition to the Freedesktop Icon Naming
109Specification, the icon naming utility maps the icon names used by the
110GNOME and KDE desktops to the icon names proposed in the specification.")
111 (license lgpl2.1+)))
112
7d3f3651
AE
113(define-public gnome-icon-theme
114 (package
115 (name "gnome-icon-theme")
116 (version "3.10.0")
117 (source
118 (origin
119 (method url-fetch)
120 (uri (string-append "mirror://gnome/sources/" name "/"
121 (string-copy version 0 (string-rindex version #\.)) "/"
122 name "-" version ".tar.xz"))
123 (sha256
124 (base32
125 "1xinbgkkvlhazj887ajcl13i7kdc1wcca02jwxzvjrvchjsp4m66"))))
126 (build-system gnu-build-system)
127 (inputs
128 `(("gtk+" ,gtk+)
129 ("icon-naming-utils" ,icon-naming-utils)
130 ("intltool" ,intltool)
131 ("pkg-config" ,pkg-config)))
132 (home-page "http://art.gnome.org/")
133 (synopsis
134 "GNOME icon theme")
135 (description
136 "Icons for the GNOME desktop.")
137 (license lgpl3))) ; or Creative Commons BY-SA 3.0
138
bef4dd92
AE
139(define-public hicolor-icon-theme
140 (package
141 (name "hicolor-icon-theme")
142 (version "0.12")
143 (source
144 (origin
145 (method url-fetch)
146 (uri (string-append "http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-"
147 version ".tar.gz"))
148 (sha256
149 (base32
150 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
151 (build-system gnu-build-system)
152 (arguments
153 `(#:tests? #f)) ; no check target
154 (home-page "http://icon-theme.freedesktop.org/releases/")
155 (synopsis
156 "Freedesktop icon theme")
157 (description
158 "Freedesktop icon theme.")
159 (license gpl2)))
160
d9c1a22b
AE
161(define-public libnotify
162 (package
163 (name "libnotify")
164 (version "0.7.6")
165 (source
166 (origin
167 (method url-fetch)
168 (uri (string-append "mirror://gnome/sources/" name "/"
169 (string-copy version 0 (string-rindex version #\.)) "/"
170 name "-" version ".tar.xz"))
171 (sha256
172 (base32
173 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
174 (build-system gnu-build-system)
175 (inputs
176 `(("gdk-pixbuf" ,gdk-pixbuf)
177 ("glib" ,glib)
178 ("gtk+" ,gtk+)
179 ("libpng" ,libpng)
180 ("pkg-config" ,pkg-config)))
181 (home-page "https://developer-next.gnome.org/libnotify/")
182 (synopsis
183 "GNOME desktop notification library")
184 (description
185 "Libnotify is a library that sends desktop notifications to a
186notification daemon, as defined in the Desktop Notifications spec. These
187notifications can be used to inform the user about an event or display
188some form of information without getting in the user's way.")
189 (license lgpl2.1+)))