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