Commit | Line | Data |
---|---|---|
995b7261 | 1 | ;;; GNU Guix --- Functional package management for GNU |
109da1c0 | 2 | ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> |
eb497b66 | 3 | ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org> |
29a7c98a | 4 | ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> |
b38e45d8 | 5 | ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org> |
58d32305 | 6 | ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch> |
6f96a359 | 7 | ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> |
7aab13f1 | 8 | ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org> |
88f70665 | 9 | ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com> |
1e7464a9 | 10 | ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com> |
8ff49011 | 11 | ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> |
ba421ab7 | 12 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> |
995b7261 AE |
13 | ;;; |
14 | ;;; This file is part of GNU Guix. | |
15 | ;;; | |
16 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
17 | ;;; under the terms of the GNU General Public License as published by | |
18 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
19 | ;;; your option) any later version. | |
20 | ;;; | |
21 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
22 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
23 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
24 | ;;; GNU General Public License for more details. | |
25 | ;;; | |
26 | ;;; You should have received a copy of the GNU General Public License | |
27 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
28 | ||
29 | (define-module (gnu packages gnome) | |
b5b73a82 | 30 | #:use-module ((guix licenses) #:prefix license:) |
995b7261 AE |
31 | #:use-module (guix packages) |
32 | #:use-module (guix download) | |
29a7c98a | 33 | #:use-module (guix utils) |
995b7261 | 34 | #:use-module (guix build-system gnu) |
121de2e1 | 35 | #:use-module (guix build-system glib-or-gtk) |
ed19903d | 36 | #:use-module (gnu packages) |
75016d07 | 37 | #:use-module (gnu packages autotools) |
7b212526 | 38 | #:use-module (gnu packages avahi) |
6a180f6f | 39 | #:use-module (gnu packages base) |
5698b8b8 | 40 | #:use-module (gnu packages bison) |
23a22af6 | 41 | #:use-module (gnu packages cups) |
6e1bb642 SB |
42 | #:use-module (gnu packages curl) |
43 | #:use-module (gnu packages databases) | |
c769cf9f | 44 | #:use-module (gnu packages djvu) |
121de2e1 | 45 | #:use-module (gnu packages flex) |
b4ce6300 | 46 | #:use-module (gnu packages docbook) |
995b7261 | 47 | #:use-module (gnu packages glib) |
c1354b90 | 48 | #:use-module (gnu packages gnupg) |
23a22af6 | 49 | #:use-module (gnu packages gnuzilla) |
85f5dc19 | 50 | #:use-module (gnu packages gstreamer) |
d9c1a22b | 51 | #:use-module (gnu packages gtk) |
6b888eff | 52 | #:use-module (gnu packages guile) |
c1354b90 | 53 | #:use-module (gnu packages pdf) |
75016d07 | 54 | #:use-module (gnu packages polkit) |
5698b8b8 | 55 | #:use-module (gnu packages popt) |
c1354b90 | 56 | #:use-module (gnu packages ghostscript) |
9cc98f8a | 57 | #:use-module (gnu packages iso-codes) |
85f5dc19 | 58 | #:use-module (gnu packages libcanberra) |
88f70665 | 59 | #:use-module (gnu packages linux) |
75016d07 | 60 | #:use-module (gnu packages libusb) |
4e3fc547 | 61 | #:use-module (gnu packages lirc) |
7b212526 | 62 | #:use-module (gnu packages lua) |
e55354b8 | 63 | #:use-module (gnu packages image) |
27477d2d | 64 | #:use-module (gnu packages perl) |
f70d8383 | 65 | #:use-module (gnu packages photo) |
995b7261 | 66 | #:use-module (gnu packages pkg-config) |
23a22af6 | 67 | #:use-module (gnu packages pulseaudio) |
995b7261 | 68 | #:use-module (gnu packages python) |
75016d07 | 69 | #:use-module (gnu packages scanner) |
4a1bf090 | 70 | #:use-module (gnu packages ssh) |
85f5dc19 | 71 | #:use-module (gnu packages xml) |
200726ed | 72 | #:use-module (gnu packages gl) |
fb182b8a | 73 | #:use-module (gnu packages qt) ; for libxkbcommon |
1dd26275 | 74 | #:use-module (gnu packages compression) |
c769cf9f | 75 | #:use-module (gnu packages texlive) |
a7fd7b68 | 76 | #:use-module (gnu packages tls) |
6e1bb642 | 77 | #:use-module (gnu packages web) |
4a79e256 | 78 | #:use-module (gnu packages webkit) |
fecbf86e | 79 | #:use-module (gnu packages xorg) |
ea57378f | 80 | #:use-module (gnu packages xdisorg) |
ba421ab7 | 81 | #:use-module (gnu packages freedesktop) |
1e7464a9 DH |
82 | #:use-module (gnu packages mail) |
83 | #:use-module (gnu packages backup) | |
84 | #:use-module (gnu packages nettle) | |
c024ae36 | 85 | #:use-module (gnu packages ncurses) |
3dc8828f SB |
86 | #:use-module (gnu packages video) |
87 | #:use-module (gnu packages cdrom) | |
88 | #:use-module (gnu packages samba) | |
c024ae36 | 89 | #:use-module (srfi srfi-1)) |
85f5dc19 AE |
90 | |
91 | (define-public brasero | |
92 | (package | |
93 | (name "brasero") | |
e8627cd9 | 94 | (version "3.12.1") |
85f5dc19 AE |
95 | (source (origin |
96 | (method url-fetch) | |
e8627cd9 DH |
97 | (uri (string-append "mirror://gnome/sources/" name "/" |
98 | (version-major+minor version) "/" | |
99 | name "-" version ".tar.xz")) | |
85f5dc19 AE |
100 | (sha256 |
101 | (base32 | |
e8627cd9 | 102 | "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls")))) |
85f5dc19 | 103 | (build-system gnu-build-system) |
e8627cd9 DH |
104 | (arguments |
105 | `(#:configure-flags (list | |
106 | (string-append "--with-girdir=" | |
107 | (assoc-ref %outputs "out") | |
108 | "/share/gir-1.0") | |
109 | (string-append "--with-typelibdir=" | |
110 | (assoc-ref %outputs "out") | |
111 | "/lib/girepository-1.0")))) | |
85f5dc19 AE |
112 | (propagated-inputs |
113 | `(("hicolor-icon-theme" ,hicolor-icon-theme))) | |
9cc98f8a CR |
114 | (native-inputs |
115 | `(("intltool" ,intltool) | |
426adbe8 | 116 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
e8627cd9 | 117 | ("gobject-introspection" ,gobject-introspection) |
9cc98f8a | 118 | ("pkg-config" ,pkg-config))) |
85f5dc19 AE |
119 | (inputs |
120 | `(("glib" ,glib) | |
121 | ("gnome-doc-utils" ,gnome-doc-utils) | |
122 | ("gstreamer" ,gstreamer) | |
123 | ("gst-plugins-base" ,gst-plugins-base) | |
124 | ("gtk+" ,gtk+) | |
85f5dc19 AE |
125 | ("itstool" ,itstool) |
126 | ("libcanberra" ,libcanberra) | |
127 | ("libice" ,libice) | |
128 | ("libnotify" ,libnotify) | |
129 | ("libsm" ,libsm) | |
e8627cd9 DH |
130 | ("libxml2" ,libxml2) |
131 | ("nettle" ,nettle) | |
132 | ("totem-pl-parser" ,totem-pl-parser))) | |
85f5dc19 AE |
133 | (home-page "https://projects.gnome.org/brasero/") |
134 | (synopsis "CD/DVD burning tool for Gnome") | |
135 | (description "Brasero is an application to burn CD/DVD for the Gnome | |
136 | Desktop. It is designed to be as simple as possible and has some unique | |
137 | features to enable users to create their discs easily and quickly.") | |
1dd26275 | 138 | (license license:gpl2+))) |
995b7261 | 139 | |
7aab13f1 ML |
140 | (define-public gnome-common |
141 | (package | |
142 | (name "gnome-common") | |
143 | (version "3.14.0") | |
144 | (source | |
145 | (origin | |
146 | (method url-fetch) | |
147 | (uri (string-append "mirror://gnome/sources/" name "/" | |
148 | (version-major+minor version) "/" | |
149 | name "-" version ".tar.xz")) | |
150 | (sha256 | |
151 | (base32 | |
152 | "0b1676g4q44ah73c5gwl1kg88pc93pnq1pa9kwl43d0vg0pj802c")))) | |
153 | (build-system gnu-build-system) | |
154 | (home-page "https://www.gnome.org/") | |
155 | (synopsis "Bootstrap GNOME modules built from Git") | |
156 | (description "gnome-common contains various files needed to bootstrap | |
157 | GNOME modules built from Git. It contains a common \"autogen.sh\" script that | |
158 | can be used to configure a source directory checked out from Git and some | |
159 | commonly used macros.") | |
160 | (license license:gpl2+))) | |
161 | ||
9cc98f8a CR |
162 | (define-public gnome-desktop |
163 | (package | |
164 | (name "gnome-desktop") | |
12f7f4aa | 165 | (version "3.16.0") |
9cc98f8a CR |
166 | (source |
167 | (origin | |
168 | (method url-fetch) | |
b38e45d8 EB |
169 | (uri (string-append "mirror://gnome/sources/" name "/" |
170 | (version-major+minor version) "/" | |
9cc98f8a CR |
171 | name "-" version ".tar.xz")) |
172 | (sha256 | |
173 | (base32 | |
12f7f4aa | 174 | "05lvik5cdh51xqd332qingph09zdhiaa1kqy9k2sk1simz4pvf8m")))) |
9cc98f8a CR |
175 | (build-system gnu-build-system) |
176 | (native-inputs | |
177 | `(("intltool" ,intltool) | |
178 | ("pkg-config" ,pkg-config))) | |
179 | (inputs | |
180 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
181 | ("glib" ,glib) | |
182 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
183 | ("gtk+" ,gtk+) | |
184 | ("iso-codes" ,iso-codes) | |
185 | ("itstool" ,itstool) | |
186 | ("libx11" ,libx11) | |
187 | ("libxext" ,libxext) | |
188 | ("libxkbfile" ,libxkbfile) | |
189 | ("libxrandr" ,libxrandr) | |
190 | ("xkeyboard-config" ,xkeyboard-config))) | |
191 | (home-page "https://www.gnome.org/") | |
192 | (synopsis | |
35b9e423 | 193 | "Libgnome-desktop, gnome-about, and desktop-wide documents") |
9cc98f8a CR |
194 | (description |
195 | "The libgnome-desktop library provides API shared by several applications | |
35b9e423 EB |
196 | on the desktop, but that cannot live in the platform for various reasons. |
197 | There is no API or ABI guarantee, although we are doing our best to provide | |
198 | stability. Documentation for the API is available with gtk-doc. | |
9cc98f8a CR |
199 | |
200 | The gnome-about program helps find which version of GNOME is installed.") | |
201 | ; Some bits under the LGPL. | |
1dd26275 | 202 | (license license:gpl2+))) |
9cc98f8a | 203 | |
995b7261 AE |
204 | (define-public gnome-doc-utils |
205 | (package | |
206 | (name "gnome-doc-utils") | |
207 | (version "0.20.10") | |
208 | (source | |
209 | (origin | |
210 | (method url-fetch) | |
b38e45d8 EB |
211 | (uri (string-append "mirror://gnome/sources/" name "/" |
212 | (version-major+minor version) "/" | |
995b7261 AE |
213 | name "-" version ".tar.xz")) |
214 | (sha256 | |
215 | (base32 | |
216 | "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb")))) | |
217 | (build-system gnu-build-system) | |
c4c4cc05 | 218 | (native-inputs |
995b7261 | 219 | `(("intltool" ,intltool) |
b4ce6300 | 220 | ("docbook-xml" ,docbook-xml-4.4) |
d80b0d4a | 221 | ("python2-libxml2" ,python2-libxml2) |
995b7261 AE |
222 | ("libxml2" ,libxml2) |
223 | ("libxslt" ,libxslt) | |
224 | ("pkg-config" ,pkg-config) | |
225 | ("python-2" ,python-2))) | |
995b7261 AE |
226 | (home-page "https://wiki.gnome.org/GnomeDocUtils") |
227 | (synopsis | |
228 | "Documentation utilities for the Gnome project") | |
229 | (description | |
230 | "Gnome-doc-utils is a collection of documentation utilities for the | |
231 | Gnome project. It includes xml2po tool which makes it easier to translate | |
232 | and keep up to date translations of documentation.") | |
1dd26275 | 233 | (license license:gpl2+))) ; xslt under lgpl |
d9c1a22b | 234 | |
8ff49011 RW |
235 | (define-public gcr |
236 | (package | |
237 | (name "gcr") | |
238 | (version "3.16.0") | |
239 | (source (origin | |
240 | (method url-fetch) | |
241 | (uri (string-append "mirror://gnome/sources/" name "/" | |
242 | (version-major+minor version) "/" | |
243 | name "-" version ".tar.xz")) | |
244 | (sha256 | |
245 | (base32 | |
246 | "0xfhi0w358lvca1jjx24x2gm67mif33dsnmi9cv5i0f83ks8vzpc")))) | |
247 | (build-system gnu-build-system) | |
248 | (arguments | |
249 | '(#:tests? #f ;25 of 598 tests fail because /var/lib/dbus/machine-id does | |
250 | ;not exist | |
251 | #:phases (modify-phases %standard-phases | |
252 | (add-before | |
253 | 'check 'pre-check | |
254 | (lambda* (#:key inputs #:allow-other-keys) | |
255 | (substitute* "build/tap-driver" | |
256 | (("/usr/bin/env python") (which "python")))))))) | |
257 | (inputs | |
258 | `(("dbus" ,dbus) | |
259 | ("gnupg" ,gnupg) ;called as a child process during tests | |
260 | ("libgcrypt" ,libgcrypt))) | |
261 | (native-inputs | |
262 | `(("python" ,python-2) ;for tests | |
263 | ("pkg-config" ,pkg-config) | |
264 | ("glib" ,glib "bin") | |
265 | ("intltool" ,intltool))) | |
266 | ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc | |
267 | (propagated-inputs | |
268 | `(("p11-kit" ,p11-kit) | |
269 | ("glib" ,glib) | |
270 | ("gtk+" ,gtk+))) | |
271 | (home-page "http://www.gnome.org") | |
272 | (synopsis "Libraries for displaying certificates and accessing key stores") | |
273 | (description | |
274 | "The GCR package contains libraries used for displaying certificates and | |
275 | accessing key stores. It also provides the viewer for crypto files on the | |
276 | GNOME Desktop.") | |
277 | (license license:lgpl2.1+))) | |
278 | ||
c1354b90 LC |
279 | (define-public libgnome-keyring |
280 | (package | |
281 | (name "libgnome-keyring") | |
282 | (version "3.6.0") | |
283 | (source (origin | |
284 | (method url-fetch) | |
b38e45d8 EB |
285 | (uri (string-append "mirror://gnome/sources/" name "/" |
286 | (version-major+minor version) "/" | |
287 | name "-" version ".tar.xz")) | |
c1354b90 LC |
288 | (sha256 |
289 | (base32 | |
290 | "0c4qrjpmv1hqga3xv6wsq2z10x2n78qgw7q3k3s01y1pggxkgjkd")))) | |
291 | (build-system gnu-build-system) | |
c1354b90 | 292 | (inputs |
c4c4cc05 | 293 | `(("libgcrypt" ,libgcrypt) |
c1354b90 | 294 | ("dbus" ,dbus))) |
c4c4cc05 JD |
295 | (native-inputs |
296 | `(("pkg-config" ,pkg-config) | |
426adbe8 | 297 | ("glib" ,glib "bin") |
c4c4cc05 | 298 | ("intltool" ,intltool))) |
c1354b90 LC |
299 | (propagated-inputs |
300 | ;; Referred to in .h files and .pc. | |
301 | `(("glib" ,glib))) | |
302 | (home-page "http://www.gnome.org") | |
303 | (synopsis "Accessing passwords from the GNOME keyring") | |
304 | (description | |
305 | "Client library to access passwords from the GNOME keyring.") | |
306 | ||
307 | ;; Though a couple of files are LGPLv2.1+. | |
1dd26275 | 308 | (license license:lgpl2.0+))) |
c1354b90 | 309 | |
e99a3d6f RW |
310 | (define-public gnome-keyring |
311 | (package | |
312 | (name "gnome-keyring") | |
313 | (version "3.16.0") | |
314 | (source (origin | |
315 | (method url-fetch) | |
316 | (uri (string-append "mirror://gnome/sources/" name "/" | |
317 | (version-major+minor version) "/" | |
318 | name "-" version ".tar.xz")) | |
319 | (sha256 | |
320 | (base32 | |
321 | "1xg1xha3x3hzlmvdq2zm90hc61pj7pnf9yxxvgq4ynl5af6bp8qm")))) | |
322 | (build-system gnu-build-system) | |
323 | (arguments | |
324 | `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does | |
325 | ;not exist | |
326 | #:configure-flags | |
327 | (list | |
328 | (string-append "--with-pkcs11-config=" | |
329 | (assoc-ref %outputs "out") "/share/p11-kit/modules/") | |
330 | (string-append "--with-pkcs11-modules=" | |
331 | (assoc-ref %outputs "out") "/share/p11-kit/modules/")) | |
332 | #:phases | |
333 | (modify-phases %standard-phases | |
334 | (add-before | |
335 | 'check 'pre-check | |
336 | (lambda* (#:key inputs #:allow-other-keys) | |
337 | (substitute* "build/tap-driver" | |
338 | (("/usr/bin/env python") (which "python"))))) | |
339 | (add-before | |
340 | 'configure 'fix-docbook | |
341 | (lambda* (#:key inputs #:allow-other-keys) | |
342 | (substitute* "docs/Makefile.am" | |
343 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
344 | (string-append (assoc-ref inputs "docbook-xsl") | |
345 | "/xml/xsl/docbook-xsl-" | |
346 | ,(package-version docbook-xsl) | |
347 | "/manpages/docbook.xsl"))) | |
348 | (setenv "XML_CATALOG_FILES" | |
349 | (string-append (assoc-ref inputs "docbook-xml") | |
350 | "/xml/dtd/docbook/catalog.xml"))))))) | |
351 | (inputs | |
352 | `(("libgcrypt" ,libgcrypt) | |
353 | ("dbus" ,dbus) | |
354 | ("gcr" ,gcr))) | |
355 | (native-inputs | |
356 | `(("pkg-config" ,pkg-config) | |
357 | ("glib" ,glib "bin") | |
358 | ("python" ,python-2) ;for tests | |
359 | ("intltool" ,intltool) | |
360 | ("autoconf" ,autoconf) | |
361 | ("automake" ,automake) | |
362 | ("libxslt" ,libxslt) ;for documentation | |
363 | ("docbook-xml" ,docbook-xml-4.2) | |
364 | ("docbook-xsl" ,docbook-xsl))) | |
365 | (home-page "http://www.gnome.org") | |
366 | (synopsis "Daemon to store passwords and encryption keys") | |
367 | (description | |
368 | "gnome-keyring is a program that keeps passwords and other secrets for | |
369 | users. It is run as a daemon in the session, similar to ssh-agent, and other | |
370 | applications locate it via an environment variable or D-Bus. | |
371 | ||
372 | The program can manage several keyrings, each with its own master password, | |
373 | and there is also a session keyring which is never stored to disk, but | |
374 | forgotten when the session ends.") | |
375 | (license license:lgpl2.1+))) | |
376 | ||
c1354b90 LC |
377 | (define-public evince |
378 | (package | |
379 | (name "evince") | |
c769cf9f | 380 | (version "3.16.1") |
c1354b90 LC |
381 | (source (origin |
382 | (method url-fetch) | |
b38e45d8 EB |
383 | (uri (string-append "mirror://gnome/sources/" name "/" |
384 | (version-major+minor version) "/" | |
385 | name "-" version ".tar.xz")) | |
c1354b90 LC |
386 | (sha256 |
387 | (base32 | |
c769cf9f | 388 | "0c31pwfzfm5x036f018q31k33vl8xb96nbs0iiccsc1abc37bzq6")))) |
121de2e1 | 389 | (build-system glib-or-gtk-build-system) |
c1354b90 LC |
390 | (arguments |
391 | `(#:configure-flags '("--disable-nautilus") | |
392 | ||
393 | ;; FIXME: Tests fail with: | |
394 | ;; ImportError: No module named gi.repository | |
395 | ;; Where should that module come from? | |
3d243e9c | 396 | #:tests? #f)) |
c1354b90 LC |
397 | (inputs |
398 | `(("libspectre" ,libspectre) | |
c769cf9f | 399 | ("djvulibre" ,djvulibre) |
c1354b90 LC |
400 | ("ghostscript" ,ghostscript) |
401 | ("poppler" ,poppler) | |
c769cf9f SB |
402 | ("libtiff" ,libtiff) |
403 | ;; TODO: | |
404 | ;; Add libgxps for XPS support. | |
405 | ;; Build libkpathsea as a shared library for DVI support. | |
406 | ;; ("libkpathsea" ,texlive-bin) | |
407 | ("gnome-desktop" ,gnome-desktop) | |
c1354b90 LC |
408 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
409 | ("libgnome-keyring" ,libgnome-keyring) | |
c769cf9f | 410 | ("adwaita-icon-theme" ,adwaita-icon-theme) |
c1354b90 LC |
411 | ("itstool" ,itstool) |
412 | ("gdk-pixbuf" ,gdk-pixbuf) | |
413 | ("atk" ,atk) | |
414 | ("pango" ,pango) | |
415 | ("gtk+" ,gtk+) | |
416 | ("glib" ,glib) | |
417 | ("libxml2" ,libxml2) | |
c1354b90 LC |
418 | ("libsm" ,libsm) |
419 | ("libice" ,libice) | |
96e42467 | 420 | ("shared-mime-info" ,shared-mime-info) |
3d243e9c FB |
421 | ("dconf" ,dconf) |
422 | ("libcanberra" ,libcanberra) | |
c769cf9f | 423 | ("libsecret" ,libsecret) |
2e6ecc5c | 424 | |
c1354b90 LC |
425 | ;; For tests. |
426 | ("dogtail" ,python2-dogtail))) | |
96e42467 | 427 | (native-inputs |
c4c4cc05 | 428 | `(("intltool" ,intltool) |
426adbe8 | 429 | ("glib" ,glib "bin") |
c4c4cc05 | 430 | ("pkg-config" ,pkg-config))) |
c1354b90 LC |
431 | (home-page |
432 | "http://www.gnome.org/projects/evince/") | |
433 | (synopsis "GNOME's document viewer") | |
434 | (description | |
435 | "Evince is a document viewer for multiple document formats. It | |
436 | currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal | |
437 | of Evince is to replace the multiple document viewers that exist | |
96e42467 | 438 | on the GNOME Desktop with a single simple application.") |
1dd26275 | 439 | (license license:gpl2+))) |
c1354b90 | 440 | |
22e32e69 AE |
441 | (define-public gsettings-desktop-schemas |
442 | (package | |
443 | (name "gsettings-desktop-schemas") | |
67bdcfbc | 444 | (version "3.16.0") |
22e32e69 AE |
445 | (source |
446 | (origin | |
447 | (method url-fetch) | |
448 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 449 | (version-major+minor version) "/" |
22e32e69 AE |
450 | name "-" version ".tar.xz")) |
451 | (sha256 | |
452 | (base32 | |
67bdcfbc | 453 | "02dp1hl38k16m9abydfca1n236mdazqdz0p3n92s7haf9mdqsf16")))) |
22e32e69 AE |
454 | (build-system gnu-build-system) |
455 | (inputs | |
c4c4cc05 JD |
456 | `(("glib" ,glib))) |
457 | (native-inputs | |
458 | `(("intltool" ,intltool) | |
426adbe8 | 459 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. |
7211944a | 460 | ("gobject-introspection" ,gobject-introspection) |
22e32e69 AE |
461 | ("pkg-config" ,pkg-config))) |
462 | (home-page "https://launchpad.net/gsettings-desktop-schemas") | |
463 | (synopsis | |
464 | "GNOME settings for various desktop components") | |
465 | (description | |
466 | "Gsettings-desktop-schemas contains a collection of GSettings schemas | |
467 | for settings shared by various components of the GNOME desktop.") | |
1dd26275 | 468 | (license license:lgpl2.1+))) |
22e32e69 | 469 | |
27477d2d AE |
470 | (define-public icon-naming-utils |
471 | (package | |
472 | (name "icon-naming-utils") | |
473 | (version "0.8.90") | |
474 | (source | |
475 | (origin | |
476 | (method url-fetch) | |
477 | (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-" | |
478 | version ".tar.bz2")) | |
479 | (sha256 | |
480 | (base32 | |
481 | "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi")))) | |
482 | (build-system gnu-build-system) | |
483 | (inputs | |
484 | `(("perl" ,perl) | |
485 | ("perl-xml-simple" ,perl-xml-simple))) | |
f4e97277 SB |
486 | (arguments |
487 | '(#:phases | |
488 | (alist-cons-after | |
489 | 'install 'set-load-paths | |
490 | ;; Tell 'icon-name-mapping' where XML::Simple is. | |
491 | (lambda* (#:key outputs #:allow-other-keys) | |
492 | (let* ((out (assoc-ref outputs "out")) | |
493 | (prog (string-append out "/libexec/icon-name-mapping"))) | |
494 | (wrap-program | |
495 | prog | |
496 | `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))) | |
497 | %standard-phases))) | |
27477d2d AE |
498 | (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification") |
499 | (synopsis | |
500 | "Utility to implement the Freedesktop Icon Naming Specification") | |
501 | (description | |
502 | "To help with the transition to the Freedesktop Icon Naming | |
503 | Specification, the icon naming utility maps the icon names used by the | |
504 | GNOME and KDE desktops to the icon names proposed in the specification.") | |
1dd26275 | 505 | (license license:lgpl2.1+))) |
27477d2d | 506 | |
686e025d SB |
507 | (define-public desktop-file-utils |
508 | (package | |
509 | (name "desktop-file-utils") | |
510 | (version "0.22") | |
511 | (source (origin | |
512 | (method url-fetch) | |
513 | (uri (string-append "http://www.freedesktop.org/software/" name | |
514 | "/releases/" name "-" version ".tar.xz")) | |
515 | (sha256 | |
516 | (base32 | |
517 | "1ianvr2a69yjv4rpyv30w7yjsmnsb23crrka5ndqxycj4rkk4dc4")))) | |
518 | (build-system gnu-build-system) | |
519 | (native-inputs | |
520 | `(("pkg-config" ,pkg-config))) | |
521 | (inputs | |
522 | `(("glib" ,glib))) | |
523 | (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/") | |
524 | (synopsis "Utilities for working with desktop entries") | |
525 | (description | |
526 | "This package contains a few command line utilities for working with | |
527 | desktop entries: | |
528 | ||
529 | desktop-file-validate: validates a desktop file and prints warnings/errors | |
530 | about desktop entry specification violations. | |
531 | ||
532 | desktop-file-install: installs a desktop file to the applications directory, | |
533 | optionally munging it a bit in transit. | |
534 | ||
535 | update-desktop-database: updates the database containing a cache of MIME types | |
536 | handled by desktop files.") | |
537 | (license license:gpl2+))) | |
538 | ||
7d3f3651 AE |
539 | (define-public gnome-icon-theme |
540 | (package | |
541 | (name "gnome-icon-theme") | |
b32f58dd | 542 | (version "3.12.0") |
7d3f3651 AE |
543 | (source |
544 | (origin | |
545 | (method url-fetch) | |
546 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 547 | (version-major+minor version) "/" |
7d3f3651 AE |
548 | name "-" version ".tar.xz")) |
549 | (sha256 | |
550 | (base32 | |
b32f58dd | 551 | "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im")))) |
7d3f3651 | 552 | (build-system gnu-build-system) |
c4c4cc05 | 553 | (native-inputs |
73b6cf42 SB |
554 | `(("gtk+" ,gtk+) ; for gtk-update-icon-cache |
555 | ("icon-naming-utils" ,icon-naming-utils) | |
556 | ("intltool" ,intltool) | |
557 | ("pkg-config" ,pkg-config))) | |
7d3f3651 AE |
558 | (home-page "http://art.gnome.org/") |
559 | (synopsis | |
560 | "GNOME icon theme") | |
561 | (description | |
562 | "Icons for the GNOME desktop.") | |
1dd26275 | 563 | (license license:lgpl3))) ; or Creative Commons BY-SA 3.0 |
7d3f3651 | 564 | |
14eeefa2 SB |
565 | ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0. |
566 | (define-public adwaita-icon-theme | |
567 | (package (inherit gnome-icon-theme) | |
568 | (name "adwaita-icon-theme") | |
569 | (version "3.16.2") | |
570 | (source (origin | |
571 | (method url-fetch) | |
572 | (uri (string-append "mirror://gnome/sources/" name "/" | |
573 | (version-major+minor version) "/" | |
574 | name "-" version ".tar.xz")) | |
575 | (sha256 | |
576 | (base32 | |
577 | "1hmlw7kvhr7c2asc5y77adpymi9ka17gaf76zz835nwwffnn4rlw")))))) | |
578 | ||
9167f8e6 LC |
579 | (define-public shared-mime-info |
580 | (package | |
581 | (name "shared-mime-info") | |
582 | (version "1.2") | |
583 | (source (origin | |
584 | (method url-fetch) | |
b38e45d8 EB |
585 | (uri (string-append "http://freedesktop.org/~hadess/" |
586 | "shared-mime-info-" version ".tar.xz")) | |
9167f8e6 LC |
587 | (sha256 |
588 | (base32 | |
589 | "0y5vi0vr6rbhvfzcfg57cfskn362bpvcpca9cy598nmr87i6lld5")))) | |
590 | (build-system gnu-build-system) | |
591 | (arguments | |
592 | ;; The build system appears not to be parallel-safe. | |
593 | '(#:parallel-build? #f)) | |
594 | (inputs | |
595 | `(("glib" ,glib) | |
c4c4cc05 | 596 | ("libxml2" ,libxml2))) |
9167f8e6 | 597 | (native-inputs |
c4c4cc05 JD |
598 | `(("intltool" ,intltool) |
599 | ("pkg-config" ,pkg-config))) | |
9167f8e6 LC |
600 | (home-page "http://freedesktop.org/wiki/Software/shared-mime-info") |
601 | (synopsis "Database of common MIME types") | |
602 | (description | |
603 | "The shared-mime-info package contains the core database of common types | |
604 | and the update-mime-database command used to extend it. It requires glib2 to | |
605 | be installed for building the update command. Additionally, it uses intltool | |
606 | for translations, though this is only a dependency for the maintainers. This | |
607 | database is translated at Transifex.") | |
1dd26275 | 608 | (license license:gpl2+))) |
9167f8e6 | 609 | |
bef4dd92 AE |
610 | (define-public hicolor-icon-theme |
611 | (package | |
612 | (name "hicolor-icon-theme") | |
613 | (version "0.12") | |
614 | (source | |
615 | (origin | |
616 | (method url-fetch) | |
b38e45d8 EB |
617 | (uri (string-append "http://icon-theme.freedesktop.org/releases/" |
618 | "hicolor-icon-theme-" version ".tar.gz")) | |
bef4dd92 AE |
619 | (sha256 |
620 | (base32 | |
621 | "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y")))) | |
622 | (build-system gnu-build-system) | |
623 | (arguments | |
624 | `(#:tests? #f)) ; no check target | |
625 | (home-page "http://icon-theme.freedesktop.org/releases/") | |
626 | (synopsis | |
627 | "Freedesktop icon theme") | |
628 | (description | |
629 | "Freedesktop icon theme.") | |
1dd26275 | 630 | (license license:gpl2))) |
bef4dd92 | 631 | |
d9c1a22b AE |
632 | (define-public libnotify |
633 | (package | |
634 | (name "libnotify") | |
635 | (version "0.7.6") | |
636 | (source | |
637 | (origin | |
638 | (method url-fetch) | |
639 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 640 | (version-major+minor version) "/" |
d9c1a22b AE |
641 | name "-" version ".tar.xz")) |
642 | (sha256 | |
643 | (base32 | |
644 | "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf")))) | |
645 | (build-system gnu-build-system) | |
646 | (inputs | |
647 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
648 | ("glib" ,glib) | |
649 | ("gtk+" ,gtk+) | |
c4c4cc05 JD |
650 | ("libpng" ,libpng))) |
651 | (native-inputs | |
426adbe8 LC |
652 | `(("pkg-config" ,pkg-config) |
653 | ("glib" ,glib "bin"))) | |
d9c1a22b AE |
654 | (home-page "https://developer-next.gnome.org/libnotify/") |
655 | (synopsis | |
656 | "GNOME desktop notification library") | |
657 | (description | |
658 | "Libnotify is a library that sends desktop notifications to a | |
35b9e423 | 659 | notification daemon, as defined in the Desktop Notifications spec. These |
d9c1a22b AE |
660 | notifications can be used to inform the user about an event or display |
661 | some form of information without getting in the user's way.") | |
1dd26275 | 662 | (license license:lgpl2.1+))) |
7a8605ce CR |
663 | |
664 | (define-public libpeas | |
665 | (package | |
666 | (name "libpeas") | |
58d32305 | 667 | (version "1.12.1") |
7a8605ce CR |
668 | (source |
669 | (origin | |
670 | (method url-fetch) | |
671 | (uri (string-append "mirror://gnome/sources/" name "/" | |
b38e45d8 | 672 | (version-major+minor version) "/" |
7a8605ce CR |
673 | name "-" version ".tar.xz")) |
674 | (sha256 | |
675 | (base32 | |
58d32305 | 676 | "1mjjjjwphc83bjznmbsm7x0jg7ql261nys6qnl7mi0nkr4qvw476")))) |
7a8605ce | 677 | (build-system gnu-build-system) |
7a8605ce CR |
678 | (inputs |
679 | `(("atk" ,atk) | |
680 | ("gdk-pixbuf" ,gdk-pixbuf) | |
681 | ("glib" ,glib) | |
7a8605ce | 682 | ("gtk+" ,gtk+) |
141aed80 LC |
683 | ("pango" ,pango))) |
684 | (native-inputs | |
685 | `(("pkg-config" ,pkg-config) | |
93622993 | 686 | ("glib:bin" ,glib "bin") |
141aed80 LC |
687 | ("gobject-introspection" ,gobject-introspection) |
688 | ("intltool" ,intltool))) | |
7a8605ce CR |
689 | (home-page "https://wiki.gnome.org/Libpeas") |
690 | (synopsis "GObject plugin system") | |
691 | (description | |
35b9e423 | 692 | "Libpeas is a gobject-based plugins engine, and is targetted at giving |
7a8605ce CR |
693 | every application the chance to assume its own extensibility. It also has a |
694 | set of features including, but not limited to: multiple extension points; on | |
695 | demand (lazy) programming language support for C, Python and JS; simplicity of | |
e881752c | 696 | the API.") |
1dd26275 | 697 | (license license:lgpl2.0+))) |
ed19903d JD |
698 | |
699 | (define-public gtkglext | |
700 | (package | |
701 | (name "gtkglext") | |
702 | (version "1.2.0") | |
703 | (source (origin | |
704 | (method url-fetch) | |
705 | (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/" | |
706 | version "/gtkglext-" version ".tar.gz")) | |
707 | (sha256 | |
708 | (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5")) | |
709 | (patches (list | |
ed19903d JD |
710 | (search-patch "gtkglext-disable-disable-deprecated.patch"))))) |
711 | (build-system gnu-build-system) | |
712 | (inputs `(("gtk+" ,gtk+-2) | |
713 | ("mesa" ,mesa) | |
cc8b02f4 | 714 | ("glu" ,glu) |
ed19903d JD |
715 | ("libx11" ,libx11) |
716 | ("libxt" ,libxt))) | |
426adbe8 LC |
717 | (native-inputs `(("pkg-config" ,pkg-config) |
718 | ("glib" ,glib "bin"))) | |
a83b6a06 | 719 | (propagated-inputs `(("pangox-compat" ,pangox-compat))) |
ed19903d | 720 | (home-page "https://projects.gnome.org/gtkglext") |
9e771e3b | 721 | (synopsis "OpenGL extension to GTK+") |
35b9e423 | 722 | (description "GtkGLExt is an OpenGL extension to GTK+. It provides |
ed19903d JD |
723 | additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget |
724 | API add-ons to make GTK+ widgets OpenGL-capable.") | |
1dd26275 | 725 | (license license:lgpl2.1+))) |
3600420e JD |
726 | |
727 | (define-public glade3 | |
728 | (package | |
729 | (name "glade") | |
730 | (version "3.8.4") | |
b38e45d8 EB |
731 | (source (origin |
732 | (method url-fetch) | |
733 | (uri (string-append "mirror://gnome/sources/" name "/" | |
734 | (version-major+minor version) "/" | |
735 | name "3-" version ".tar.xz")) | |
3600420e JD |
736 | (sha256 |
737 | (base32 "021xgq2l18w3rvwms9aq2idm0fk66vwb4f777gs0qh3ap5shgbn7")))) | |
738 | (build-system gnu-build-system) | |
739 | (inputs | |
740 | `(("gtk+" ,gtk+-2) | |
741 | ("libxml2" ,libxml2))) | |
742 | (native-inputs | |
743 | `(("intltool" ,intltool) | |
744 | ("python" ,python) | |
745 | ("pkg-config" ,pkg-config))) | |
746 | (home-page "https://glade.gnome.org") | |
747 | (synopsis "GTK+ rapid application development tool") | |
748 | (description "Glade is a rapid application development (RAD) tool to | |
749 | enable quick & easy development of user interfaces for the GTK+ toolkit and | |
750 | the GNOME desktop environment.") | |
1dd26275 LC |
751 | (license license:lgpl2.0+))) |
752 | ||
753 | (define-public libcroco | |
754 | (package | |
755 | (name "libcroco") | |
756 | (version "0.6.8") | |
757 | (source (origin | |
758 | (method url-fetch) | |
b38e45d8 EB |
759 | (uri (string-append "mirror://gnome/sources/" name "/" |
760 | (version-major+minor version) "/" | |
761 | name "-" version ".tar.xz")) | |
1dd26275 LC |
762 | (sha256 |
763 | (base32 | |
764 | "0w453f3nnkbkrly7spx5lx5pf6mwynzmd5qhszprq8amij2invpa")))) | |
765 | (build-system gnu-build-system) | |
766 | (native-inputs | |
767 | `(("pkg-config" ,pkg-config))) | |
768 | (inputs | |
769 | `(("glib" ,glib) | |
770 | ("libxml2" ,libxml2) | |
771 | ("zlib" ,zlib))) | |
772 | (home-page "https://github.com/GNOME/libcroco") | |
773 | (synopsis "CSS2 parsing and manipulation library") | |
774 | (description | |
775 | "Libcroco is a standalone CSS2 parsing and manipulation library. | |
776 | The parser provides a low level event driven SAC-like API and a CSS object | |
777 | model like API. Libcroco provides a CSS2 selection engine and an experimental | |
778 | XML/CSS rendering engine.") | |
779 | ||
780 | ;; LGPLv2.1-only. | |
781 | (license license:lgpl2.1))) | |
25178594 LC |
782 | |
783 | (define-public libgsf | |
784 | (package | |
785 | (name "libgsf") | |
786 | (version "1.14.30") | |
787 | (source (origin | |
788 | (method url-fetch) | |
b38e45d8 EB |
789 | (uri (string-append "mirror://gnome/sources/" name "/" |
790 | (version-major+minor version) "/" | |
791 | name "-" version ".tar.xz")) | |
25178594 LC |
792 | (sha256 |
793 | (base32 | |
794 | "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b")))) | |
795 | (build-system gnu-build-system) | |
796 | (native-inputs | |
797 | `(("intltool" ,intltool) | |
798 | ("pkg-config" ,pkg-config))) | |
799 | (inputs | |
800 | `(("python" ,python) | |
801 | ("zlib" ,zlib) | |
802 | ("bzip2" ,bzip2))) | |
803 | (propagated-inputs | |
804 | `(("gdk-pixbuf" ,gdk-pixbuf) | |
805 | ("glib" ,glib) | |
806 | ("libxml2" ,libxml2))) | |
807 | (home-page "http://www.gnome.org/projects/libgsf") | |
808 | (synopsis "GNOME's Structured File Library") | |
809 | (description | |
810 | "Libgsf aims to provide an efficient extensible I/O abstraction for | |
811 | dealing with different structured file formats.") | |
812 | ||
813 | ;; LGPLv2.1-only. | |
814 | (license license:lgpl2.1))) | |
63016e7c LC |
815 | |
816 | (define-public librsvg | |
817 | (package | |
818 | (name "librsvg") | |
281c2156 | 819 | (version "2.40.9") |
63016e7c LC |
820 | (source (origin |
821 | (method url-fetch) | |
b38e45d8 EB |
822 | (uri (string-append "mirror://gnome/sources/" name "/" |
823 | (version-major+minor version) "/" | |
824 | name "-" version ".tar.xz")) | |
63016e7c LC |
825 | (sha256 |
826 | (base32 | |
281c2156 | 827 | "0fplymmqqr28y24vcnb01szn62pfbqhk8p1ngns54x9m6mflr5hk")))) |
63016e7c LC |
828 | (build-system gnu-build-system) |
829 | (arguments | |
ce2df078 | 830 | `(#:phases |
63016e7c LC |
831 | (alist-cons-before |
832 | 'configure 'augment-gir-search-path | |
833 | (lambda* (#:key inputs #:allow-other-keys) | |
63016e7c LC |
834 | (substitute* "gdk-pixbuf-loader/Makefile.in" |
835 | ;; By default the gdk-pixbuf loader is installed under | |
836 | ;; gdk-pixbuf's prefix. Work around that. | |
837 | (("gdk_pixbuf_moduledir = .*$") | |
838 | (string-append "gdk_pixbuf_moduledir = " | |
dc67ebd2 | 839 | "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/" |
63016e7c LC |
840 | "loaders\n")) |
841 | ;; Likewise, create a separate 'loaders.cache' file. | |
842 | (("gdk_pixbuf_cache_file = .*$") | |
843 | "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n"))) | |
cd14b5e3 FB |
844 | (alist-cons-after |
845 | 'install 'generate-full-cache | |
846 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
2e6ecc5c | 847 | (let ((loaders-directory |
cd14b5e3 | 848 | (string-append (assoc-ref outputs "out") |
dc67ebd2 | 849 | "/lib/gdk-pixbuf-2.0/2.10.0/loaders"))) |
cd14b5e3 | 850 | (zero? |
2e6ecc5c AE |
851 | (system |
852 | (string-append | |
853 | "gdk-pixbuf-query-loaders " | |
cd14b5e3 | 854 | loaders-directory "/libpixbufloader-svg.so " |
2e6ecc5c | 855 | (string-join (find-files (assoc-ref inputs "gdk-pixbuf") |
cd14b5e3 FB |
856 | "libpixbufloader-.*\\.so") " ") |
857 | "> " loaders-directory ".cache"))))) | |
b19d6805 | 858 | %standard-phases)))) |
63016e7c LC |
859 | (native-inputs |
860 | `(("pkg-config" ,pkg-config) | |
44add1ce | 861 | ("glib" ,glib "bin") ; glib-mkenums, etc. |
63016e7c LC |
862 | ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. |
863 | (inputs | |
864 | `(("pango" ,pango) | |
865 | ("libcroco" ,libcroco) | |
866 | ("bzip2" ,bzip2) | |
867 | ("libgsf" ,libgsf) | |
868 | ("libxml2" ,libxml2))) | |
869 | (propagated-inputs | |
870 | ;; librsvg-2.0.pc refers to all of that. | |
871 | `(("cairo" ,cairo) | |
872 | ("gdk-pixbuf" ,gdk-pixbuf) | |
873 | ("glib" ,glib))) | |
874 | (home-page "https://wiki.gnome.org/LibRsvg") | |
875 | (synopsis "Render SVG files using Cairo") | |
876 | (description | |
35b9e423 | 877 | "Librsvg is a C library to render SVG files using the Cairo 2D graphics |
63016e7c LC |
878 | library.") |
879 | (license license:lgpl2.0+))) | |
5698b8b8 JD |
880 | |
881 | (define-public libidl | |
882 | (package | |
883 | (name "libidl") | |
884 | (version "0.8.14") | |
885 | (source (origin | |
886 | (method url-fetch) | |
887 | (uri (let ((upstream-name "libIDL")) | |
b38e45d8 EB |
888 | (string-append "mirror://gnome/sources/" upstream-name "/" |
889 | (version-major+minor version) "/" | |
890 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
891 | (sha256 |
892 | (base32 | |
893 | "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5")))) | |
894 | (build-system gnu-build-system) | |
895 | (inputs `(("glib" ,glib))) | |
896 | (native-inputs | |
897 | `(("pkg-config" ,pkg-config) | |
898 | ("flex", flex) | |
899 | ("bison" ,bison))) | |
900 | (home-page "http://freecode.com/projects/libidl") | |
901 | (synopsis "Create trees of CORBA Interface Definition Language files") | |
35b9e423 | 902 | (description "Libidl is a library for creating trees of CORBA Interface |
5698b8b8 JD |
903 | Definition Language (idl) files, which is a specification for defining |
904 | portable interfaces. libidl was initially written for orbit (the orb from the | |
35b9e423 | 905 | GNOME project, and the primary means of libidl distribution). However, the |
2e6ecc5c | 906 | functionality was designed to be as reusable and portable as possible.") |
5698b8b8 JD |
907 | (license license:lgpl2.0+))) |
908 | ||
909 | ||
910 | (define-public orbit2 | |
911 | (package | |
912 | (name "orbit2") | |
913 | (version "2.14.19") | |
914 | (source (origin | |
915 | (method url-fetch) | |
2e6ecc5c | 916 | (uri (let ((upstream-name "ORBit2")) |
b38e45d8 EB |
917 | (string-append "mirror://gnome/sources/" upstream-name "/" |
918 | (version-major+minor version) "/" | |
919 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
920 | (sha256 |
921 | (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam")))) | |
922 | (build-system gnu-build-system) | |
923 | (arguments | |
924 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
925 | `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
926 | ;; ... which they then completly ignore !! | |
927 | #:phases | |
928 | (alist-cons-before | |
929 | 'configure 'ignore-deprecations | |
930 | (lambda _ | |
931 | (substitute* "linc2/src/Makefile.in" | |
932 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
933 | %standard-phases))) | |
934 | (inputs `(("glib" ,glib) | |
935 | ("libidl" ,libidl))) | |
936 | (native-inputs | |
937 | `(("pkg-config" ,pkg-config))) | |
938 | (home-page "https://projects.gnome.org/orbit2/") | |
939 | (synopsis "CORBA 2.4-compliant Object Request Broker") | |
35b9e423 | 940 | (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) |
2e6ecc5c | 941 | featuring mature C, C++ and Python bindings.") |
5698b8b8 JD |
942 | ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version. |
943 | ;; SOME of the code files have licence notices for GPLv2+ | |
944 | ;; The tarball contains files of the text of GPLv2 and LGPLv2 | |
2e6ecc5c | 945 | (license license:gpl2+))) |
5698b8b8 JD |
946 | |
947 | ||
948 | (define-public libbonobo | |
949 | (package | |
950 | (name "libbonobo") | |
951 | (version "2.32.1") | |
952 | (source (origin | |
953 | (method url-fetch) | |
5becd025 | 954 | (uri (string-append "mirror://gnome/sources/" name "/" |
29a7c98a | 955 | (version-major+minor version) |
5becd025 | 956 | "/" name "-" version ".tar.bz2")) |
5698b8b8 | 957 | (sha256 |
f1fc45a9 EB |
958 | (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i")) |
959 | (patches (list (search-patch "libbonobo-activation-test-race.patch"))))) | |
5698b8b8 JD |
960 | (build-system gnu-build-system) |
961 | (arguments | |
962 | ;; The programmer kindly gives us a hook to turn off deprecation warnings ... | |
5becd025 EB |
963 | `(#:configure-flags |
964 | '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") | |
965 | ;; ... which they then completly ignore !! | |
966 | #:phases | |
967 | (alist-cons-before | |
968 | 'configure 'ignore-deprecations | |
969 | (lambda _ | |
970 | (substitute* "activation-server/Makefile.in" | |
971 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
972 | %standard-phases))) | |
5698b8b8 JD |
973 | (inputs `(("popt" ,popt) |
974 | ("libxml2" ,libxml2))) | |
975 | ;; The following are Required by the .pc file | |
44add1ce | 976 | (propagated-inputs |
5698b8b8 JD |
977 | `(("glib" ,glib) |
978 | ("orbit2" ,orbit2))) | |
979 | (native-inputs | |
980 | `(("intltool" ,intltool) | |
981 | ("pkg-config" ,pkg-config) | |
221ed17a | 982 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
983 | ("flex" ,flex) |
984 | ("bison" ,bison))) | |
985 | (home-page "https://developer.gnome.org/libbonobo/") | |
986 | (synopsis "Framework for creating reusable components for use in GNOME applications") | |
987 | (description "Bonobo is a framework for creating reusable components for | |
2e6ecc5c | 988 | use in GNOME applications, built on top of CORBA.") |
5698b8b8 JD |
989 | ;; Licence not explicitly stated. Source files contain no licence notices. |
990 | ;; Tarball contains text of both GPLv2 and LGPLv2 | |
991 | ;; GPLv2 covers both conditions | |
992 | (license license:gpl2+))) | |
993 | ||
994 | ||
995 | (define-public gconf | |
996 | (package | |
997 | (name "gconf") | |
998 | (version "3.2.6") | |
999 | (source (origin | |
1000 | (method url-fetch) | |
2e6ecc5c | 1001 | (uri |
5698b8b8 | 1002 | (let ((upstream-name "GConf")) |
b38e45d8 EB |
1003 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1004 | (version-major+minor version) "/" | |
1005 | upstream-name "-" version ".tar.xz"))) | |
5698b8b8 JD |
1006 | (sha256 |
1007 | (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) | |
1008 | (build-system gnu-build-system) | |
2e88d113 | 1009 | (inputs `(("dbus-glib" ,dbus-glib) |
5698b8b8 | 1010 | ("libxml2" ,libxml2))) |
2e6ecc5c AE |
1011 | (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file |
1012 | ("orbit2" ,orbit2))) | |
5698b8b8 JD |
1013 | (native-inputs |
1014 | `(("intltool" ,intltool) | |
221ed17a | 1015 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1016 | ("pkg-config" ,pkg-config))) |
1017 | (home-page "https://projects.gnome.org/gconf/") | |
35b9e423 EB |
1018 | (synopsis "Store application preferences") |
1019 | (description "Gconf is a system for storing application preferences. It | |
1020 | is intended for user preferences; not arbitrary data storage.") | |
2e6ecc5c | 1021 | (license license:lgpl2.0+))) |
5698b8b8 JD |
1022 | |
1023 | ||
1024 | (define-public gnome-mime-data | |
1025 | (package | |
1026 | (name "gnome-mime-data") | |
1027 | (version "2.18.0") | |
1028 | (source (origin | |
1029 | (method url-fetch) | |
b38e45d8 EB |
1030 | (uri (string-append "mirror://gnome/sources/" name "/" |
1031 | (version-major+minor version) "/" | |
1032 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1033 | (sha256 |
1034 | (base32 | |
1035 | "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p")))) | |
1036 | (build-system gnu-build-system) | |
1037 | (native-inputs | |
1038 | `(("perl" ,perl) | |
1039 | ("intltool" ,intltool))) | |
1040 | (home-page "http://www.gnome.org") | |
35b9e423 | 1041 | (synopsis "Base MIME and Application database for GNOME") |
5698b8b8 JD |
1042 | (description "GNOME Mime Data is a module which contains the base MIME |
1043 | and Application database for GNOME. The data stored by this module is | |
1044 | designed to be accessed through the MIME functions in GnomeVFS.") | |
1045 | (license license:gpl2+))) | |
1046 | ||
1047 | ||
1048 | (define-public gnome-vfs | |
1049 | (package | |
1050 | (name "gnome-vfs") | |
1051 | (version "2.24.4") | |
1052 | (source (origin | |
1053 | (method url-fetch) | |
b38e45d8 EB |
1054 | (uri (string-append "mirror://gnome/sources/" name "/" |
1055 | (version-major+minor version) "/" | |
1056 | name "-" version ".tar.bz2")) | |
5698b8b8 | 1057 | (sha256 |
9e12bc34 MW |
1058 | (base32 |
1059 | "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) | |
5698b8b8 JD |
1060 | (build-system gnu-build-system) |
1061 | (arguments | |
db5127d8 | 1062 | `(#:phases |
9e12bc34 MW |
1063 | (alist-cons-before |
1064 | 'configure 'ignore-deprecations | |
1065 | (lambda _ | |
1066 | (substitute* '("libgnomevfs/Makefile.in" | |
1067 | "daemon/Makefile.in") | |
1068 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) | |
1069 | #t) | |
db5127d8 MW |
1070 | (alist-cons-before |
1071 | 'configure 'patch-test-async-cancel-to-never-fail | |
1072 | (lambda _ | |
1073 | (substitute* "test/test-async-cancel.c" | |
1074 | (("EXIT_FAILURE") "77"))) | |
1075 | %standard-phases)))) | |
2e6ecc5c | 1076 | (inputs `(("libxml2" ,libxml2) |
5698b8b8 | 1077 | ("dbus-glib" ,dbus-glib) |
5698b8b8 JD |
1078 | ("gconf" ,gconf) |
1079 | ("gnome-mime-data" ,gnome-mime-data) | |
1080 | ("zlib" ,zlib))) | |
1081 | (native-inputs | |
221ed17a EB |
1082 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1083 | ("intltool" ,intltool) | |
5698b8b8 JD |
1084 | ("pkg-config" ,pkg-config))) |
1085 | (home-page "https://developer.gnome.org/gnome-vfs/") | |
35b9e423 | 1086 | (synopsis "Access files and folders in GNOME applications") |
9e12bc34 MW |
1087 | (description |
1088 | "GnomeVFS is the core library used to access files and folders in GNOME | |
1089 | applications. It provides a file system abstraction which allows applications | |
1090 | to access local and remote files with a single consistent API.") | |
5698b8b8 JD |
1091 | (license license:lgpl2.0+))) |
1092 | ||
1093 | ||
1094 | ||
1095 | (define-public libgnome | |
1096 | (package | |
1097 | (name "libgnome") | |
1098 | (version "2.32.1") | |
1099 | (source (origin | |
1100 | (method url-fetch) | |
b38e45d8 EB |
1101 | (uri (string-append "mirror://gnome/sources/" name "/" |
1102 | (version-major+minor version) "/" | |
1103 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1104 | (sha256 |
1105 | (base32 | |
1106 | "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj")))) | |
1107 | (build-system gnu-build-system) | |
1108 | (arguments | |
1109 | `(#:phases | |
1110 | (alist-cons-before | |
1111 | 'configure 'enable-deprecated | |
2e6ecc5c | 1112 | (lambda _ |
5698b8b8 JD |
1113 | (substitute* "libgnome/Makefile.in" |
1114 | (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) | |
1115 | %standard-phases))) | |
25338e9f | 1116 | (inputs `(("libxml2" ,libxml2))) |
5698b8b8 | 1117 | (native-inputs |
221ed17a EB |
1118 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1119 | ("intltool" ,intltool) | |
5698b8b8 JD |
1120 | ("pkg-config" ,pkg-config))) |
1121 | ;; The following are listed as Required in the .pc file | |
1122 | ;; (except for libcanberra -- which seems to be oversight on the part | |
1123 | ;; of the upstream developers -- anything that links against libgnome, | |
1124 | ;; must also link against libcanberra | |
1125 | (propagated-inputs | |
1126 | `(("libcanberra" ,libcanberra) | |
1127 | ("libbonobo" ,libbonobo) | |
1128 | ("gconf" ,gconf) | |
a640d3d5 LC |
1129 | ("gnome-vfs" ,gnome-vfs) |
1130 | ("popt" ,popt))) ;gnome-program.h includes popt.h | |
5698b8b8 JD |
1131 | (home-page "https://developer.gnome.org/libgnome/") |
1132 | (synopsis "Useful routines for building applications") | |
1133 | (description "The libgnome library provides a number of useful routines | |
1134 | for building modern applications, including session management, activation of | |
1135 | files and URIs, and displaying help.") | |
1136 | (license license:lgpl2.0+))) | |
1137 | ||
1138 | ||
1139 | (define-public libart-lgpl | |
1140 | (package | |
1141 | (name "libart-lgpl") | |
76c9b6aa | 1142 | (version "2.3.21") |
5698b8b8 JD |
1143 | (source (origin |
1144 | (method url-fetch) | |
1145 | (uri (let ((upstream-name "libart_lgpl")) | |
b38e45d8 EB |
1146 | (string-append "mirror://gnome/sources/" upstream-name "/" |
1147 | (version-major+minor version) "/" | |
1148 | upstream-name "-" version ".tar.bz2"))) | |
5698b8b8 JD |
1149 | (sha256 |
1150 | (base32 | |
76c9b6aa | 1151 | "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx")))) |
5698b8b8 JD |
1152 | (build-system gnu-build-system) |
1153 | (native-inputs | |
1154 | `(("pkg-config" ,pkg-config))) | |
1155 | (home-page "https://people.gnome.org/~mathieu/libart") | |
1156 | (synopsis "2D drawing library") | |
2e6ecc5c | 1157 | (description "Libart is a 2D drawing library intended as a |
5698b8b8 JD |
1158 | high-quality vector-based 2D library with antialiasing and alpha composition.") |
1159 | (license license:lgpl2.0+))) | |
1160 | ||
1161 | ||
1162 | ||
1163 | (define-public libgnomecanvas | |
1164 | (package | |
1165 | (name "libgnomecanvas") | |
1166 | (version "2.30.3") | |
1167 | (source (origin | |
1168 | (method url-fetch) | |
b38e45d8 EB |
1169 | (uri (string-append "mirror://gnome/sources/" name "/" |
1170 | (version-major+minor version) "/" | |
1171 | name "-" version ".tar.gz")) | |
5698b8b8 JD |
1172 | (sha256 |
1173 | (base32 | |
1174 | "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8")))) | |
1175 | (build-system gnu-build-system) | |
1176 | ;; Mentioned as Required in the .pc file | |
1177 | (propagated-inputs `(("libart-lgpl" ,libart-lgpl) | |
1178 | ("gtk+" ,gtk+-2))) | |
1179 | (native-inputs | |
1180 | `(("intltool" ,intltool) | |
221ed17a | 1181 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1182 | ("pkg-config" ,pkg-config))) |
1183 | (home-page "https://developer.gnome.org/libgnomecanvas/") | |
1184 | (synopsis "Flexible widget for creating interactive structured graphics") | |
1185 | (description "The GnomeCanvas widget provides a flexible widget for | |
1186 | creating interactive structured graphics.") | |
1187 | (license license:lgpl2.0+))) | |
1188 | ||
eadc734e RW |
1189 | (define-public libgnomecanvasmm |
1190 | (package | |
1191 | (name "libgnomecanvasmm") | |
1192 | (version "2.26.0") | |
1193 | (source (origin | |
1194 | (method url-fetch) | |
1195 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1196 | (version-major+minor version) "/" | |
1197 | name "-" version ".tar.bz2")) | |
1198 | (sha256 | |
1199 | (base32 | |
1200 | "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr")))) | |
1201 | (build-system gnu-build-system) | |
1202 | (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas))) | |
1203 | (native-inputs | |
1204 | `(("gtkmm-2" ,gtkmm-2) | |
1205 | ("pkg-config" ,pkg-config))) | |
1206 | (home-page "http://gtkmm.org") | |
1207 | (synopsis "C++ bindings to the GNOME Canvas library") | |
1208 | (description "C++ bindings to the GNOME Canvas library.") | |
1209 | (license license:lgpl2.0+))) | |
1210 | ||
5698b8b8 JD |
1211 | (define-public libgnomeui |
1212 | (package | |
1213 | (name "libgnomeui") | |
1214 | (version "2.24.5") | |
1215 | (source (origin | |
1216 | (method url-fetch) | |
b38e45d8 EB |
1217 | (uri (string-append "mirror://gnome/sources/" name "/" |
1218 | (version-major+minor version) "/" | |
1219 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1220 | (sha256 |
1221 | (base32 | |
1222 | "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf")))) | |
1223 | (build-system gnu-build-system) | |
1224 | ;; Mentioned as Required in the .pc file | |
1225 | (propagated-inputs `(("libgnome" ,libgnome) | |
1226 | ("libgnome-keyring" ,libgnome-keyring))) | |
1227 | (inputs `(("libgnomecanvas" ,libgnomecanvas) | |
1228 | ("libbonoboui" ,libbonoboui) | |
1229 | ("libjpeg" ,libjpeg) | |
1230 | ("popt" ,popt) | |
1231 | ("libbonobo" ,libbonobo) | |
1232 | ("libxml2" ,libxml2) | |
1233 | ("libglade" ,libglade))) | |
1234 | (native-inputs | |
221ed17a EB |
1235 | `(("glib" ,glib "bin") ; for glib-mkenums, etc. |
1236 | ("intltool" ,intltool) | |
5698b8b8 JD |
1237 | ("pkg-config" ,pkg-config))) |
1238 | (home-page "https://developer.gnome.org/libgnomeui/") | |
1239 | (synopsis "Additional widgets for applications") | |
35b9e423 | 1240 | (description "The libgnomeui library provides additional widgets for |
e881752c AK |
1241 | applications. Many of the widgets from libgnomeui have already been |
1242 | ported to GTK+.") | |
5698b8b8 JD |
1243 | (license license:lgpl2.0+))) |
1244 | ||
1245 | (define-public libglade | |
1246 | (package | |
1247 | (name "libglade") | |
1248 | (version "2.6.4") | |
1249 | (source (origin | |
1250 | (method url-fetch) | |
b38e45d8 EB |
1251 | (uri (string-append "mirror://gnome/sources/" name "/" |
1252 | (version-major+minor version) "/" | |
1253 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1254 | (sha256 |
1255 | (base32 | |
1256 | "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4")))) | |
1257 | (build-system gnu-build-system) | |
1258 | (inputs | |
1259 | `(("gtk+-2" ,gtk+-2) | |
1260 | ("libxml2" ,libxml2) | |
1261 | ("python" ,python))) ;; needed for the optional libglade-convert program | |
1262 | (native-inputs | |
1263 | `(("pkg-config" ,pkg-config))) | |
1264 | (home-page "https://developer.gnome.org/libglade") | |
35b9e423 EB |
1265 | (synopsis "Load glade interfaces and access the glade built widgets") |
1266 | (description "Libglade is a library that provides interfaces for loading | |
5698b8b8 JD |
1267 | graphical interfaces described in glade files and for accessing the |
1268 | widgets built in the loading process.") | |
1269 | (license license:gpl2+))) ; This is correct. GPL not LGPL | |
1270 | ||
1271 | (define-public libgnomeprint | |
eb497b66 LC |
1272 | ;; This library has been deprecated since 2006; see |
1273 | ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>. | |
5698b8b8 JD |
1274 | (package |
1275 | (name "libgnomeprint") | |
1276 | (version "2.8.2") | |
1277 | (source (origin | |
1278 | (method url-fetch) | |
b38e45d8 EB |
1279 | (uri (string-append "mirror://gnome/sources/" name "/" |
1280 | (version-major+minor version) "/" | |
1281 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1282 | (sha256 |
1283 | (base32 | |
3edce2c9 RW |
1284 | "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")) |
1285 | (modules '((guix build utils))) | |
1286 | (snippet | |
1287 | ;; Adapt to newer freetype. As the package is deprecated, there | |
1288 | ;; is no use in creating a patch and reporting it. | |
1289 | '(substitute* '("libgnomeprint/gnome-font-face.c" | |
1290 | "libgnomeprint/gnome-rfont.c") | |
1291 | (("freetype/") "freetype2/"))))) | |
5698b8b8 JD |
1292 | (build-system gnu-build-system) |
1293 | (inputs | |
1294 | `(("popt" ,popt) | |
1295 | ("libart-lgpl" ,libart-lgpl) | |
1296 | ("gtk+" ,gtk+-2) | |
44add1ce | 1297 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1298 | (native-inputs |
1299 | `(("intltool" ,intltool) | |
221ed17a | 1300 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. |
5698b8b8 JD |
1301 | ("pkg-config" ,pkg-config))) |
1302 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
35b9e423 | 1303 | (synopsis "Printing framework for GNOME") |
eb497b66 LC |
1304 | (description |
1305 | "GNOME-print was a printing framework for GNOME. It has been deprecated | |
1306 | since ca. 2006, when GTK+ itself incorporated printing support.") | |
5698b8b8 JD |
1307 | (license license:lgpl2.0+))) |
1308 | ||
1309 | ||
1310 | (define-public libgnomeprintui | |
eb497b66 | 1311 | ;; Deprecated; see libgnomeprint. |
5698b8b8 JD |
1312 | (package |
1313 | (name "libgnomeprintui") | |
1314 | (version "2.8.2") | |
1315 | (source (origin | |
1316 | (method url-fetch) | |
b38e45d8 EB |
1317 | (uri (string-append "mirror://gnome/sources/" name "/" |
1318 | (version-major+minor version) "/" | |
1319 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1320 | (sha256 |
1321 | (base32 | |
1322 | "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw")))) | |
1323 | (build-system gnu-build-system) | |
1324 | ;; Mentioned as Required in the .pc file | |
1325 | (propagated-inputs `(("libgnomeprint" ,libgnomeprint))) | |
1326 | (inputs `(("gtk+" ,gtk+-2) | |
1327 | ("glib" ,glib) | |
1328 | ("gnome-icon-theme" ,gnome-icon-theme) | |
1329 | ("libgnomecanvas" ,libgnomecanvas) | |
2e6ecc5c | 1330 | ("libxml2" ,libxml2))) |
5698b8b8 JD |
1331 | (native-inputs |
1332 | `(("intltool" ,intltool) | |
1333 | ("pkg-config" ,pkg-config))) | |
1334 | (home-page "https://projects.gnome.org/gnome-print/home/faq.html") | |
1335 | (synopsis "Printing framework for GNOME") | |
eb497b66 | 1336 | (description (package-description libgnomeprint)) |
5698b8b8 JD |
1337 | (license license:lgpl2.0+))) |
1338 | ||
5698b8b8 JD |
1339 | (define-public libbonoboui |
1340 | (package | |
1341 | (name "libbonoboui") | |
1342 | (version "2.24.5") | |
1343 | (source (origin | |
1344 | (method url-fetch) | |
b38e45d8 EB |
1345 | (uri (string-append "mirror://gnome/sources/" name "/" |
1346 | (version-major+minor version) "/" | |
1347 | name "-" version ".tar.bz2")) | |
5698b8b8 JD |
1348 | (sha256 |
1349 | (base32 | |
1350 | "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs")))) | |
1351 | (build-system gnu-build-system) | |
1352 | (arguments | |
1353 | `(#:phases | |
1354 | (alist-cons-before | |
1355 | 'check 'start-xserver | |
1356 | (lambda* (#:key inputs #:allow-other-keys) | |
1357 | (let ((xorg-server (assoc-ref inputs "xorg-server")) | |
1358 | (disp ":1")) | |
2e6ecc5c | 1359 | |
5698b8b8 JD |
1360 | (setenv "HOME" (getcwd)) |
1361 | (setenv "DISPLAY" disp) | |
1362 | ;; There must be a running X server and make check doesn't start one. | |
1363 | ;; Therefore we must do it. | |
1364 | (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))) | |
1365 | %standard-phases))) | |
1366 | ;; Mentioned as Required by the .pc file | |
1367 | (propagated-inputs `(("libxml2" ,libxml2))) | |
1368 | (inputs | |
1369 | `(("popt" ,popt) | |
1370 | ("pangox-compat" ,pangox-compat) | |
1371 | ("libgnome" ,libgnome) | |
1372 | ("libgnomecanvas" ,libgnomecanvas) | |
1373 | ("libglade" ,libglade))) | |
1374 | (native-inputs | |
221ed17a EB |
1375 | `(("glib" ,glib "bin") ; for glib-genmarshal, etc. |
1376 | ("intltool" ,intltool) | |
5698b8b8 JD |
1377 | ("xorg-server" ,xorg-server) ; For running the tests |
1378 | ("pkg-config" ,pkg-config))) | |
1379 | (home-page "https://developer.gnome.org/libbonoboui/") | |
1380 | (synopsis "Some user interface controls using Bonobo") | |
1381 | (description "The Bonobo UI library provides a number of user interface | |
1382 | controls using the Bonobo component framework.") | |
1383 | (license license:lgpl2.0+))) | |
1384 | ||
fecbf86e SB |
1385 | (define-public libwnck |
1386 | (package | |
1387 | (name "libwnck") | |
1388 | (version "3.14.0") | |
1389 | (source (origin | |
1390 | (method url-fetch) | |
1391 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1392 | (version-major+minor version) "/" | |
1393 | name "-" version ".tar.xz")) | |
1394 | (sha256 | |
1395 | (base32 "074jww04z8g9r1acndqap79wx4kbm3rpkf4lcg1v82b66iv0027m")))) | |
1396 | (build-system gnu-build-system) | |
1397 | (native-inputs | |
1398 | `(("pkg-config" ,pkg-config) | |
1399 | ("intltool" ,intltool))) | |
1400 | (propagated-inputs | |
427476d5 SB |
1401 | `(("gtk+" ,gtk+) |
1402 | ("libxres" ,libxres) | |
1403 | ("startup-notification" ,startup-notification))) | |
fecbf86e SB |
1404 | (home-page "https://developer.gnome.org/libwnck/") |
1405 | (synopsis "Window Navigator Construction Kit") | |
1406 | (description | |
1407 | "Libwnck is the Window Navigator Construction Kit, a library for use in | |
1408 | writing pagers, tasklists, and more generally applications that are dealing | |
1409 | with window management. It tries hard to respect the Extended Window Manager | |
1410 | Hints specification (EWMH).") | |
1411 | (license license:lgpl2.0+))) | |
1412 | ||
1413 | ;; stable version for gtk2, required by xfwm4. | |
1414 | (define-public libwnck-1 | |
1415 | (package (inherit libwnck) | |
1416 | (name "libwnck") | |
1417 | (version "2.30.7") | |
1418 | (source (origin | |
1419 | (method url-fetch) | |
1420 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1421 | (version-major+minor version) "/" | |
1422 | name "-" version ".tar.xz")) | |
1423 | (sha256 | |
1424 | (base32 | |
1425 | "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b")))) | |
1426 | (propagated-inputs | |
427476d5 SB |
1427 | `(("gtk+" ,gtk+-2) |
1428 | ("libxres" ,libxres) | |
1429 | ("startup-notification" ,startup-notification))))) | |
b804c61e JD |
1430 | |
1431 | (define-public goffice | |
1432 | (package | |
1433 | (name "goffice") | |
1434 | (version "0.10.14") | |
1435 | (source (origin | |
1436 | (method url-fetch) | |
b38e45d8 EB |
1437 | (uri (string-append "mirror://gnome/sources/" name "/" |
1438 | (version-major+minor version) "/" | |
1439 | name "-" version ".tar.xz")) | |
b804c61e JD |
1440 | (sha256 |
1441 | (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60")))) | |
1442 | (build-system gnu-build-system) | |
1443 | (inputs | |
1444 | `(("gtk+" ,gtk+) | |
1445 | ("libgsf" ,libgsf) | |
1446 | ("librsvg" ,librsvg) | |
1447 | ("libxslt" ,libxslt) | |
1448 | ("libxml2" ,libxml2))) | |
1449 | (native-inputs | |
1450 | `(("intltool" ,intltool) | |
f280cdb1 | 1451 | ("glib" ,glib "bin") |
b804c61e JD |
1452 | ("pkg-config" ,pkg-config))) |
1453 | (home-page "https://developer.gnome.org/goffice/") | |
1454 | (synopsis "Document-centric objects and utilities") | |
1455 | (description "A GLib/GTK+ set of document-centric objects and utilities.") | |
2e6ecc5c | 1456 | (license |
b804c61e JD |
1457 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1458 | ;; Note: NOT LGPL | |
1459 | (list license:gpl2 license:gpl3)))) | |
1460 | ||
c024ae36 RW |
1461 | (define-public goffice-0.8 |
1462 | (package (inherit goffice) | |
1463 | (version "0.8.17") | |
1464 | (source (origin | |
1465 | (method url-fetch) | |
1466 | (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/" | |
1467 | (version-major+minor version) "/" | |
1468 | (package-name goffice) "-" version ".tar.xz")) | |
1469 | (sha256 | |
1470 | (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n")))) | |
1471 | (arguments | |
1472 | `(#:phases | |
1473 | (alist-cons-after | |
1474 | 'unpack 'fix-pcre-check | |
1475 | (lambda _ | |
1476 | ;; Only glib.h can be included directly. See | |
1477 | ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316 | |
1478 | (substitute* "configure" | |
1479 | (("glib/gregex\\.h") "glib.h")) #t) | |
1480 | %standard-phases))) | |
1481 | (propagated-inputs | |
1482 | ;; libgoffice-0.8.pc mentions libgsf-1 | |
1483 | `(("libgsf" ,libgsf))) | |
1484 | (inputs | |
1485 | `(("gtk" ,gtk+-2) | |
1486 | ,@(alist-delete "gtk" (package-inputs goffice)))))) | |
1487 | ||
b804c61e JD |
1488 | (define-public gnumeric |
1489 | (package | |
1490 | (name "gnumeric") | |
1491 | (version "1.12.17") | |
1492 | (source (origin | |
1493 | (method url-fetch) | |
b38e45d8 EB |
1494 | (uri (string-append "mirror://gnome/sources/" name "/" |
1495 | (version-major+minor version) "/" | |
1496 | name "-" version ".tar.xz")) | |
b804c61e JD |
1497 | (sha256 |
1498 | (base32 | |
1499 | "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c")))) | |
1500 | (build-system gnu-build-system) | |
1501 | (arguments | |
1502 | `(;; The gnumeric developers don't worry much about failing tests. | |
1503 | ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 | |
2e6ecc5c | 1504 | #:tests? #f |
b804c61e JD |
1505 | #:phases |
1506 | (alist-cons-before | |
1507 | 'configure 'pre-conf | |
1508 | (lambda* (#:key outputs #:allow-other-keys) | |
1509 | ;; Make install tries to write into the directory of goffice | |
1510 | ;; I am informed that this only affects the possibility to embed a | |
1511 | ;; spreadsheet inside an Abiword document. So presumably when we | |
1512 | ;; package Abiword we'll have to refer it to this directory. | |
2e6ecc5c | 1513 | (substitute* "configure" |
b804c61e | 1514 | (("^GOFFICE_PLUGINS_DIR=.*") |
2e6ecc5c | 1515 | (string-append "GOFFICE_PLUGINS_DIR=" |
b804c61e JD |
1516 | (assoc-ref outputs "out") "/goffice/plugins")))) |
1517 | %standard-phases))) | |
1518 | (inputs | |
1519 | `(("glib" ,glib) | |
1520 | ("gtk+" ,gtk+) | |
1521 | ("goffice" ,goffice) | |
1522 | ("libgsf" ,libgsf) | |
1523 | ("libxml2" ,libxml2) | |
1524 | ("zlib" ,zlib))) | |
1525 | (native-inputs | |
1526 | `(("intltool" ,intltool) | |
b9663471 | 1527 | ("glib:bin" ,glib "bin") |
b804c61e JD |
1528 | ("pkg-config" ,pkg-config))) |
1529 | (home-page "http://www.gnumeric.org") | |
66672a45 LC |
1530 | (synopsis "Spreadsheet application") |
1531 | (description | |
1532 | "GNUmeric is a GNU spreadsheet application, running under GNOME. It is | |
1533 | interoperable with other spreadsheet applications. It has a vast array of | |
1534 | features beyond typical spreadsheet functionality, such as support for linear | |
1535 | and non-linear solvers, statistical analysis, and telecommunication | |
1536 | engineering.") | |
1537 | (license | |
b804c61e JD |
1538 | ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") |
1539 | (list license:gpl2 license:gpl3)))) | |
6f885c05 FB |
1540 | |
1541 | (define-public gnome-themes-standard | |
1542 | (package | |
1543 | (name "gnome-themes-standard") | |
1544 | ;; The version of this package should be the same as the version of | |
1545 | ;; gnome-desktop. | |
1546 | (version (package-version gnome-desktop)) | |
1547 | (source | |
1548 | (origin | |
1549 | (method url-fetch) | |
2e6ecc5c | 1550 | (uri (string-append "mirror://gnome/sources/" name "/" |
6f885c05 FB |
1551 | (version-major+minor version) "/" name "-" |
1552 | version ".tar.xz")) | |
1553 | (sha256 | |
1554 | (base32 | |
7dae5ac4 | 1555 | "0kyrbfrgl6g6wm6zpllldz36fclvl8vwmn1snwk18kf7f6ncpsac")))) |
6f885c05 FB |
1556 | (build-system gnu-build-system) |
1557 | (inputs | |
1558 | `(("gtk+" ,gtk+) | |
1559 | ("gtk+-2" ,gtk+-2) | |
1560 | ("librsvg" ,librsvg) | |
1561 | ("libxml2" ,libxml2) | |
1562 | ("glib" ,glib))) | |
1563 | (native-inputs | |
1564 | `(("intltool" ,intltool) | |
1565 | ("glib:bin" ,glib "bin") | |
1566 | ("pkg-config" ,pkg-config))) | |
1567 | (arguments | |
1568 | `(#:phases | |
1569 | (alist-cons-before | |
1570 | 'build 'use-full-cache | |
1571 | ;; Use librsvg's loaders.cache instead of the one provided by | |
1572 | ;; gdk-pixbuf because the latter does not include support for SVG | |
1573 | ;; files. | |
1574 | (lambda* (#:key inputs #:allow-other-keys) | |
2e6ecc5c AE |
1575 | (setenv "GDK_PIXBUF_MODULE_FILE" |
1576 | (car (find-files (assoc-ref inputs "librsvg") | |
6f885c05 FB |
1577 | "loaders\\.cache")))) |
1578 | %standard-phases))) | |
1579 | (home-page "https://launchpad.net/gnome-themes-standard") | |
1580 | (synopsis "Default GNOME 3 themes") | |
1581 | (description | |
1582 | "The default GNOME 3 themes (Adwaita and some accessibility themes).") | |
1583 | (license license:lgpl2.1+))) | |
5a659a48 | 1584 | |
df90c701 RW |
1585 | (define-public seahorse |
1586 | (package | |
1587 | (name "seahorse") | |
1588 | (version "3.16.0") | |
1589 | (source | |
1590 | (origin | |
1591 | (method url-fetch) | |
1592 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1593 | (version-major+minor version) "/" name "-" | |
1594 | version ".tar.xz")) | |
1595 | (sha256 | |
1596 | (base32 | |
1597 | "0cg1grgpwbfkiny5148n17rzpc8kswyr5yff0kpm8l3lp01my2kp")))) | |
1598 | (build-system glib-or-gtk-build-system) | |
1599 | (inputs | |
1600 | `(("gtk+" ,gtk+) | |
1601 | ("gcr" ,gcr) | |
1602 | ("gnupg" ,gnupg-1) | |
1603 | ("gpgme" ,gpgme) | |
4a1bf090 | 1604 | ("openssh" ,openssh) |
df90c701 RW |
1605 | ("libsecret" ,libsecret))) |
1606 | (native-inputs | |
1607 | `(("intltool" ,intltool) | |
1608 | ("glib:bin" ,glib "bin") | |
1609 | ("itstool" ,itstool) | |
1610 | ("pkg-config" ,pkg-config))) | |
1611 | (home-page "https://launchpad.net/gnome-themes-standard") | |
1612 | (synopsis "Manage encryption keys and passwords in the GNOME keyring") | |
1613 | (description | |
1614 | "Seahorse is a GNOME application for managing encryption keys and | |
1615 | passwords in the GNOME keyring.") | |
1616 | (license license:gpl2+))) | |
1617 | ||
5a659a48 SB |
1618 | (define-public vala |
1619 | (package | |
1620 | (name "vala") | |
1ea90625 | 1621 | (version "0.28.0") |
5a659a48 SB |
1622 | (source (origin |
1623 | (method url-fetch) | |
1624 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1625 | (version-major+minor version) "/" | |
1626 | name "-" version ".tar.xz")) | |
1627 | (sha256 | |
1628 | (base32 | |
1ea90625 | 1629 | "0zwpzhkhfk3piya14m7p2hl2vaabahprphppfm46ci91z39kp7hd")))) |
5a659a48 | 1630 | (build-system gnu-build-system) |
1ea90625 SB |
1631 | (arguments |
1632 | '(#:phases | |
1633 | (modify-phases %standard-phases | |
1634 | (add-before 'check 'set-cc | |
1635 | (lambda _ | |
1636 | (setenv "CC" "gcc") | |
1637 | #t))))) | |
5a659a48 SB |
1638 | (native-inputs |
1639 | `(("pkg-config" ,pkg-config) | |
1640 | ("flex" ,flex) | |
1641 | ("bison" ,bison) | |
1642 | ("xsltproc" ,libxslt) | |
1643 | ("dbus" ,dbus) ; for dbus tests | |
1644 | ("gobject-introspection" ,gobject-introspection))) ; for gir tests | |
1645 | (propagated-inputs | |
1646 | `(("glib" ,glib))) ; required by libvala-0.26.pc | |
1647 | (home-page "http://live.gnome.org/Vala/") | |
1648 | (synopsis "Compiler for the GObject type system") | |
1649 | (description | |
1650 | "Vala is a programming language that aims to bring modern programming | |
1651 | language features to GNOME developers without imposing any additional runtime | |
1652 | requirements and without using a different ABI compared to applications and | |
1653 | libraries written in C.") | |
1654 | (license license:lgpl2.1+))) | |
ea57378f SB |
1655 | |
1656 | (define-public vte | |
1657 | (package | |
1658 | (name "vte") | |
191e9b4e | 1659 | (version "0.40.0") |
ea57378f SB |
1660 | (source (origin |
1661 | (method url-fetch) | |
1662 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1663 | (version-major+minor version) "/" | |
1664 | name "-" version ".tar.xz")) | |
1665 | (sha256 | |
1666 | (base32 | |
191e9b4e | 1667 | "0lnq0bgkmsixjwmfacb2ch9qfjqjxa8zkk1hiv3l29kgca0n3nal")))) |
ea57378f SB |
1668 | (build-system gnu-build-system) |
1669 | (native-inputs | |
1670 | `(("pkg-config" ,pkg-config) | |
1671 | ("intltool" ,intltool) | |
1672 | ("vala" ,vala) | |
1673 | ("gobject-introspection" ,gobject-introspection) | |
1674 | ("glib" ,glib "bin") ; for glib-genmarshal, etc. | |
1675 | ("xmllint" ,libxml2))) | |
1676 | (propagated-inputs | |
302393bc LC |
1677 | `(("gtk+" ,gtk+) ;required by vte-2.91.pc |
1678 | ("gnutls" ,gnutls))) ;ditto | |
ea57378f SB |
1679 | (home-page "http://www.gnome.org/") |
1680 | (synopsis "Virtual Terminal Emulator") | |
1681 | (description | |
1682 | "VTE is a library (libvte) implementing a terminal emulator widget for | |
1683 | GTK+, and a minimal sample application (vte) using that. Vte is mainly used in | |
1684 | gnome-terminal, but can also be used to embed a console/terminal in games, | |
1685 | editors, IDEs, etc.") | |
1686 | (license license:lgpl2.1+))) | |
1687 | ||
1688 | ;; stable version for gtk2, required by xfce4-terminal. | |
1689 | (define-public vte/gtk+-2 | |
1690 | (package (inherit vte) | |
1691 | (name "vte") | |
1692 | (version "0.28.2") | |
1693 | (source (origin | |
1694 | (method url-fetch) | |
1695 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1696 | (version-major+minor version) "/" | |
1697 | name "-" version ".tar.xz")) | |
1698 | (sha256 | |
1699 | (base32 | |
1700 | "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6")))) | |
1701 | (arguments | |
1702 | '(#:configure-flags '("--disable-python"))) | |
1703 | (native-inputs | |
1704 | `(("pkg-config" ,pkg-config) | |
1705 | ("intltool" ,intltool) | |
1706 | ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. | |
1707 | (propagated-inputs | |
1708 | `(("gtk+" ,gtk+-2) ; required by libvte.pc | |
1709 | ("ncurses" ,ncurses))))) ; required by libvte.la | |
b47e1b20 FB |
1710 | |
1711 | (define-public dconf | |
1712 | (package | |
1713 | (name "dconf") | |
1714 | (version "0.22.0") | |
1715 | (source (origin | |
1716 | (method url-fetch) | |
1717 | (uri (string-append | |
2e6ecc5c | 1718 | "mirror://gnome/sources/" name "/" |
b47e1b20 FB |
1719 | (version-major+minor version) "/" |
1720 | name "-" version ".tar.xz")) | |
1721 | (sha256 | |
1722 | (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa")))) | |
1723 | (build-system glib-or-gtk-build-system) | |
1724 | (inputs | |
1725 | `(("gtk+" ,gtk+) | |
1726 | ("glib" ,glib) | |
1727 | ("dbus" ,dbus) | |
1728 | ("libxml2" ,libxml2))) | |
1729 | (native-inputs | |
1730 | `(("libxslt" ,libxslt) | |
1731 | ("docbook-xml" ,docbook-xml-4.2) | |
1732 | ("docbook-xsl" ,docbook-xsl) | |
1733 | ("intltool" ,intltool) | |
1734 | ("pkg-config" ,pkg-config))) | |
1735 | (arguments | |
1736 | `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id | |
1737 | ; or /etc/machine-id. | |
1738 | #:configure-flags | |
1739 | ;; Set the correct RUNPATH in binaries. | |
2e6ecc5c | 1740 | (list (string-append "LDFLAGS=-Wl,-rpath=" |
b47e1b20 FB |
1741 | (assoc-ref %outputs "out") "/lib") |
1742 | "--disable-gtk-doc-html") ; FIXME: requires gtk-doc | |
1743 | #:phases | |
1744 | (alist-cons-before | |
1745 | 'configure 'fix-docbook | |
1746 | (lambda* (#:key inputs #:allow-other-keys) | |
1747 | (substitute* "docs/Makefile.in" | |
1748 | (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") | |
2e6ecc5c | 1749 | (string-append (assoc-ref inputs "docbook-xsl") |
b47e1b20 FB |
1750 | "/xml/xsl/docbook-xsl-" |
1751 | ,(package-version docbook-xsl) | |
1752 | "/manpages/docbook.xsl"))) | |
2e6ecc5c AE |
1753 | (setenv "XML_CATALOG_FILES" |
1754 | (string-append (assoc-ref inputs "docbook-xml") | |
b47e1b20 FB |
1755 | "/xml/dtd/docbook/catalog.xml"))) |
1756 | %standard-phases))) | |
1757 | (home-page "https://developer.gnome.org/dconf") | |
1758 | (synopsis "Low-level GNOME configuration system") | |
1759 | (description "Dconf is a low-level configuration system. Its main purpose | |
1760 | is to provide a backend to GSettings on platforms that don't already have | |
1761 | configuration storage systems.") | |
1762 | (license license:lgpl2.1))) | |
109da1c0 AE |
1763 | |
1764 | (define-public json-glib | |
1765 | (package | |
1766 | (name "json-glib") | |
1767 | (version "1.0.2") | |
1768 | (source (origin | |
1769 | (method url-fetch) | |
1770 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1771 | (version-major+minor version) "/" | |
1772 | name "-" version ".tar.xz")) | |
1773 | (sha256 | |
1774 | (base32 | |
1775 | "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8")))) | |
1776 | (build-system gnu-build-system) | |
1777 | (native-inputs | |
88c6b580 | 1778 | `(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal |
109da1c0 AE |
1779 | ("gobject-introspection" ,gobject-introspection) |
1780 | ("pkg-config" ,pkg-config))) | |
1781 | (propagated-inputs | |
88c6b580 | 1782 | `(("glib" ,glib))) ;according to json-glib-1.0.pc |
109da1c0 AE |
1783 | (home-page "https://wiki.gnome.org/Projects/JsonGlib") |
1784 | (synopsis "Compiler for the GObject type system") | |
7c125ce0 AK |
1785 | (description |
1786 | "JSON-GLib is a C library based on GLib providing serialization and | |
1787 | deserialization support for the JavaScript Object Notation (JSON) format | |
1788 | described by RFC 4627. It provides parser and generator GObject classes and | |
1789 | various wrappers for the complex data types employed by JSON, such as arrays | |
1790 | and objects.") | |
109da1c0 | 1791 | (license license:lgpl2.1+))) |
6f96a359 SB |
1792 | |
1793 | (define-public libxklavier | |
1794 | (package | |
1795 | (name "libxklavier") | |
1796 | (version "5.3") | |
1797 | (source (origin | |
1798 | (method url-fetch) | |
1799 | (uri (string-append "mirror://gnome/sources/" name "/" | |
1800 | version "/" name "-" version ".tar.xz")) | |
1801 | (sha256 | |
1802 | (base32 | |
1803 | "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b")))) | |
1804 | (build-system gnu-build-system) | |
1805 | (arguments | |
1806 | '(#:configure-flags | |
1807 | (list (string-append "--with-xkb-base=" | |
1808 | (assoc-ref %build-inputs "xkeyboard-config") | |
b19d6805 | 1809 | "/share/X11/xkb")))) |
6f96a359 SB |
1810 | (native-inputs |
1811 | `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. | |
1812 | ("gobject-introspection" ,gobject-introspection) | |
1813 | ("pkg-config" ,pkg-config))) | |
1814 | (propagated-inputs | |
1815 | ;; Required by libxklavier.pc. | |
1816 | `(("glib" ,glib) | |
1817 | ("libxml2" ,libxml2))) | |
1818 | (inputs | |
1819 | `(("iso-codes" ,iso-codes) | |
1820 | ("libxi" ,libxi) | |
1821 | ("libxkbfile" ,libxkbfile) | |
1822 | ("xkbcomp" ,xkbcomp) | |
1823 | ("xkeyboard-config" ,xkeyboard-config))) | |
1824 | (home-page "http://www.freedesktop.org/wiki/Software/LibXklavier/") | |
1825 | (synopsis "High-level API for X Keyboard Extension") | |
1826 | (description | |
1827 | "LibXklavier is a library providing high-level API for X Keyboard | |
e881752c AK |
1828 | Extension known as XKB. This library is intended to support XFree86 and other |
1829 | commercial X servers. It is useful for creating XKB-related software (layout | |
6f96a359 SB |
1830 | indicators etc).") |
1831 | (license license:lgpl2.0+))) | |
619936a4 LC |
1832 | |
1833 | (define-public python2-rsvg | |
1834 | ;; XXX: This is actually a subset of gnome-python-desktop. | |
1835 | (package | |
1836 | (name "python2-rsvg") | |
1837 | (version "2.32.0") | |
1838 | (source | |
1839 | (origin | |
1840 | (method url-fetch) | |
1841 | (uri (string-append | |
1842 | "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-" | |
1843 | version ".tar.bz2")) | |
1844 | (sha256 | |
1845 | (base32 | |
1846 | "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9")))) | |
1847 | (build-system gnu-build-system) | |
1848 | (native-inputs | |
1849 | `(("pkg-config" ,pkg-config))) | |
1850 | (inputs | |
1851 | `(("python" ,python-2) | |
1852 | ("python2-pygtk" ,python2-pygtk) | |
1853 | ("librsvg" ,librsvg))) | |
1854 | (home-page "http://www.gnome.org") | |
1855 | (synopsis "Python bindings to librsvg") | |
1856 | (description | |
1857 | "This packages provides Python bindings to librsvg, the SVG rendering | |
1858 | library.") | |
1859 | ||
1860 | ;; This is the license of the rsvg bindings. The license of each module | |
1861 | ;; of gnome-python-desktop is given in 'COPYING'. | |
1862 | (license license:lgpl2.1+))) | |
a31a6d22 | 1863 | |
f2ca414a SB |
1864 | (define-public glib-networking |
1865 | (package | |
1866 | (name "glib-networking") | |
1867 | (version "2.44.0") | |
1868 | (source (origin | |
1869 | (method url-fetch) | |
1870 | (uri (string-append "mirror://gnome/sources/glib-networking/" | |
1871 | (version-major+minor version) "/" | |
1872 | name "-" version ".tar.xz")) | |
1873 | (sha256 | |
1874 | (base32 | |
907f939b SB |
1875 | "0ij33bhvn7y5gagx4sbrw906dsjjjs9dllxn73pzv6x97c6k92lg")) |
1876 | (patches | |
1877 | (list (search-patch "glib-networking-ssl-cert-file.patch"))))) | |
f2ca414a SB |
1878 | (build-system gnu-build-system) |
1879 | (arguments | |
1880 | `(#:configure-flags | |
907f939b | 1881 | '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt") |
f2ca414a SB |
1882 | #:phases |
1883 | (modify-phases %standard-phases | |
3a4de6b2 | 1884 | (add-before 'configure 'patch-giomoduledir |
f2ca414a SB |
1885 | ;; Install GIO modules into $out/lib/gio/modules. |
1886 | (lambda _ | |
1887 | (substitute* "configure" | |
1888 | (("GIO_MODULE_DIR=.*") | |
1889 | (string-append "GIO_MODULE_DIR=" %output | |
907f939b SB |
1890 | "/lib/gio/modules\n"))))) |
1891 | (add-before 'check 'use-empty-ssl-cert-file | |
1892 | (lambda _ | |
1893 | ;; The ca-certificates.crt is not available in the build | |
1894 | ;; environment. | |
1895 | (setenv "SSL_CERT_FILE" "/dev/null") | |
1896 | #t))))) | |
f2ca414a SB |
1897 | (native-inputs |
1898 | `(("pkg-config" ,pkg-config) | |
1899 | ("intltool" ,intltool))) | |
1900 | (inputs | |
1901 | `(("glib" ,glib) | |
1902 | ("gnutls" ,gnutls) | |
1903 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
1904 | ("p11-kit" ,p11-kit))) | |
1905 | (home-page "http://www.gnome.org") | |
1906 | (synopsis "Network-related GIO modules") | |
1907 | (description | |
1908 | "This package contains various network related extensions for the GIO | |
1909 | library.") | |
1910 | (license license:lgpl2.0+))) | |
1911 | ||
4510b2da SB |
1912 | (define-public librest |
1913 | (package | |
1914 | (name "librest") | |
1915 | (version "0.7.93") | |
1916 | (source (origin | |
1917 | (method url-fetch) | |
1918 | (uri (string-append "mirror://gnome/sources/rest/" | |
1919 | (version-major+minor version) "/" | |
1920 | "rest-" version ".tar.xz")) | |
1921 | (sha256 | |
1922 | (base32 | |
1923 | "05mj10hhiik23ai8w4wkk5vhsp7hcv24bih5q3fl82ilam268467")))) | |
1924 | (build-system gnu-build-system) | |
1925 | (arguments | |
1926 | '(#:tests? #f ; tests require internet connection | |
1927 | #:configure-flags | |
1928 | '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"))) | |
1929 | (native-inputs | |
1930 | `(("glib-mkenums" ,glib "bin") | |
1931 | ("gobject-introspection" ,gobject-introspection) | |
1932 | ("pkg-config" ,pkg-config))) | |
1933 | (propagated-inputs | |
1934 | ;; rest-0.7.pc refers to all these. | |
1935 | `(("glib" ,glib) | |
1936 | ("libsoup" ,libsoup) | |
1937 | ("libxml2" ,libxml2))) | |
1938 | (home-page "http://www.gtk.org/") | |
1939 | (synopsis "RESTful web api query library") | |
1940 | (description | |
1941 | "This library was designed to make it easier to access web services that | |
1942 | claim to be \"RESTful\". It includes convenience wrappers for libsoup and | |
1943 | libxml to ease remote use of the RESTful API.") | |
1944 | (license license:lgpl2.1+))) | |
1945 | ||
6e1bb642 SB |
1946 | (define-public libsoup |
1947 | (package | |
1948 | (name "libsoup") | |
1949 | (version "2.50.0") | |
1950 | (source (origin | |
1951 | (method url-fetch) | |
1952 | (uri (string-append "mirror://gnome/sources/libsoup/" | |
1953 | (version-major+minor version) "/" | |
1954 | name "-" version ".tar.xz")) | |
1955 | (sha256 | |
1956 | (base32 | |
1957 | "0yv61y5vfar1rfksa6f53zhfw9wcb39zjix8gqc1ff5gqid3c08y")))) | |
1958 | (build-system gnu-build-system) | |
1959 | (outputs '("out" "doc")) | |
1960 | (arguments | |
b19d6805 | 1961 | `(#:configure-flags |
6e1bb642 SB |
1962 | (list (string-append "--with-html-dir=" |
1963 | (assoc-ref %outputs "doc") | |
1964 | "/share/gtk-doc/html") | |
1965 | ;; To find GIO modules from glib-networking. | |
1966 | (string-append "GIO_EXTRA_MODULES=" | |
1967 | (assoc-ref %build-inputs "glib-networking") | |
1968 | "/lib/gio/modules")) | |
1969 | #:phases | |
1970 | (modify-phases %standard-phases | |
3a4de6b2 | 1971 | (add-before 'configure 'disable-unconnected-socket-test |
6e1bb642 SB |
1972 | ;; This test fails due to missing /etc/nsswitch.conf |
1973 | ;; in the build environment. | |
1974 | (lambda _ | |
1975 | (substitute* "tests/socket-test.c" | |
1976 | ((".*/sockets/unconnected.*") "")) | |
1977 | #t)) | |
907f939b | 1978 | (add-before 'check 'pre-check |
6e1bb642 | 1979 | (lambda _ |
907f939b SB |
1980 | ;; The 'check-local' target runs 'env LANG=C sort -u', |
1981 | ;; unset 'LC_ALL' to make 'LANG' working. | |
6e1bb642 | 1982 | (unsetenv "LC_ALL") |
907f939b SB |
1983 | ;; The ca-certificates.crt is not available in the build |
1984 | ;; environment. | |
1985 | (setenv "SSL_CERT_FILE" "/dev/null") | |
6e1bb642 SB |
1986 | #t))))) |
1987 | (native-inputs | |
1988 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
1989 | ("gobject-introspection" ,gobject-introspection) | |
1990 | ("intltool" ,intltool) | |
1991 | ("pkg-config" ,pkg-config) | |
1992 | ("python" ,python-wrapper) | |
1993 | ;; These are needed for the tests. | |
1994 | ;; FIXME: Add PHP once available. | |
1995 | ("curl" ,curl) | |
1996 | ("httpd" ,httpd))) | |
1997 | (propagated-inputs | |
1998 | ;; libsoup-2.4.pc refers to all these. | |
1999 | `(("glib" ,glib) | |
2000 | ("libxml2" ,libxml2))) | |
2001 | (inputs | |
2002 | `(("glib-networking" ,glib-networking) | |
2003 | ("sqlite" ,sqlite))) | |
2004 | (home-page "https://live.gnome.org/LibSoup/") | |
2005 | (synopsis "GLib-based HTTP Library") | |
2006 | (description | |
2007 | "LibSoup is an HTTP client/server library for GNOME. It uses GObjects | |
2008 | and the GLib main loop, to integrate well with GNOME applications.") | |
2009 | (license license:lgpl2.0+))) | |
2010 | ||
bba229a3 SB |
2011 | (define-public libsecret |
2012 | (package | |
2013 | (name "libsecret") | |
2014 | (version "0.18") | |
2015 | (source (origin | |
2016 | (method url-fetch) | |
2017 | (uri (string-append | |
2018 | "mirror://gnome/sources/libsecret/" version "/" | |
2019 | name "-" version ".tar.xz")) | |
2020 | (sha256 | |
2021 | (base32 | |
2022 | "1qq29c01xxjyx5sl6y5h22w8r0ff4c73bph3gfx3h7mx5mvalwqc")))) | |
2023 | (build-system gnu-build-system) | |
2024 | (outputs '("out" "doc")) | |
2025 | (arguments | |
2026 | `(#:tests? #f ; FIXME: Testing hangs. | |
bba229a3 SB |
2027 | #:configure-flags |
2028 | (list (string-append "--with-html-dir=" | |
2029 | (assoc-ref %outputs "doc") | |
2030 | "/share/gtk-doc/html")))) | |
2031 | (native-inputs | |
2032 | `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. | |
2033 | ("gobject-introspection" ,gobject-introspection) | |
2034 | ("intltool" ,intltool) | |
2035 | ("pkg-config" ,pkg-config) | |
2036 | ("vala" ,vala) | |
2037 | ("xsltproc" ,libxslt))) | |
2038 | ;; These are needed for the tests. | |
2039 | ;; FIXME: Add gjs once available. | |
2040 | ;("dbus" ,dbus) | |
2041 | ;("python2" ,python-2) | |
2042 | ;("python2-dbus" ,python2-dbus) | |
2043 | ;("python2-pygobject" ,python2-pygobject) | |
2044 | ;("python2-pygobject-2" ,python2-pygobject-2))) | |
2045 | (propagated-inputs | |
2046 | `(("glib" ,glib))) ; required by libsecret-1.pc | |
2047 | (inputs | |
2048 | `(("docbook-xsl" ,docbook-xsl) | |
2049 | ("libgcrypt" ,libgcrypt) | |
2050 | ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES | |
2051 | (home-page "https://wiki.gnome.org/Projects/Libsecret/") | |
2052 | (synopsis "GObject bindings for \"Secret Service\" API") | |
2053 | (description | |
2054 | "Libsecret is a GObject based library for storing and retrieving passwords | |
2055 | and other secrets. It communicates with the \"Secret Service\" using DBus.") | |
2056 | (license license:lgpl2.1+))) | |
2057 | ||
a31a6d22 SB |
2058 | (define-public gnome-mines |
2059 | (package | |
2060 | (name "gnome-mines") | |
121398e7 | 2061 | (version "3.16.0") |
a31a6d22 SB |
2062 | (source |
2063 | (origin | |
2064 | (method url-fetch) | |
2065 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2066 | (version-major+minor version) "/" | |
2067 | name "-" version ".tar.xz")) | |
2068 | (sha256 | |
2069 | (base32 | |
121398e7 | 2070 | "0wfvqyryc1093l4dr75zv9h0jyn28z6wirdq03lm5w24qf9lvjjx")))) |
a31a6d22 SB |
2071 | (build-system glib-or-gtk-build-system) |
2072 | (arguments | |
2073 | '(#:phases | |
2074 | (modify-phases %standard-phases | |
f8503e2b | 2075 | (add-before 'configure 'patch-/bin/true |
a31a6d22 SB |
2076 | (lambda _ |
2077 | (substitute* "configure" | |
2078 | (("/bin/true") (which "true"))))) | |
f8503e2b | 2079 | (add-after 'install 'wrap-pixbuf |
a31a6d22 SB |
2080 | ;; Use librsvg's loaders.cache to support SVG files. |
2081 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
2082 | (let* ((out (assoc-ref outputs "out")) | |
2083 | (prog (string-append out "/bin/gnome-mines")) | |
2084 | (rsvg (assoc-ref inputs "librsvg")) | |
2085 | (pixbuf (find-files rsvg "^loaders\\.cache$"))) | |
2086 | (wrap-program prog | |
2087 | `("GDK_PIXBUF_MODULE_FILE" = ,pixbuf)))))))) | |
2088 | (native-inputs | |
2089 | `(("pkg-config" ,pkg-config) | |
2090 | ("desktop-file-utils" ,desktop-file-utils) | |
2091 | ("intltool" ,intltool) | |
2092 | ("itstool" ,itstool))) | |
2093 | (inputs | |
2094 | `(("gtk+" ,gtk+) | |
2095 | ("librsvg" ,librsvg))) | |
2096 | (home-page "https://wiki.gnome.org/Apps/Mines") | |
2097 | (synopsis "Minesweeper game") | |
2098 | (description | |
2099 | "Mines (previously gnomine) is a puzzle game where you locate mines | |
2100 | floating in an ocean using only your brain and a little bit of luck.") | |
2101 | (license license:gpl2+))) | |
88f70665 AW |
2102 | |
2103 | (define-public gnome-terminal | |
2104 | (package | |
2105 | (name "gnome-terminal") | |
2106 | (version "3.16.0") | |
2107 | (source | |
2108 | (origin | |
2109 | (method url-fetch) | |
2110 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2111 | (version-major+minor version) "/" | |
2112 | name "-" version ".tar.xz")) | |
2113 | (sha256 | |
2114 | (base32 | |
2115 | "1s3zwqxs4crlqmh6l7s7n87pbmh2nnjdvhxlkalh58pbl0bk0qrd")))) | |
2116 | (build-system glib-or-gtk-build-system) | |
2117 | (arguments | |
2118 | '(#:configure-flags | |
2119 | (list "--disable-migration" "--disable-search-provider" | |
2120 | "--without-nautilus-extension") | |
2121 | #:phases | |
2122 | (modify-phases %standard-phases | |
3a4de6b2 | 2123 | (add-before 'configure 'patch-/bin/true |
88f70665 AW |
2124 | (lambda _ |
2125 | (substitute* "configure" | |
2126 | (("/bin/true") (which "true")))))))) | |
2127 | (native-inputs | |
2128 | `(("pkg-config" ,pkg-config) | |
2129 | ("desktop-file-utils" ,desktop-file-utils) | |
2130 | ("intltool" ,intltool) | |
2131 | ("itstool" ,itstool))) | |
68702167 MW |
2132 | (propagated-inputs |
2133 | `(("dconf" ,dconf))) | |
88f70665 AW |
2134 | (inputs |
2135 | `(("gtk+" ,gtk+) | |
2136 | ("vte" ,vte) | |
2137 | ("gnutls" ,gnutls) | |
88f70665 AW |
2138 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2139 | ("util-linux" ,util-linux) | |
2140 | ("vala" ,vala))) | |
2141 | (home-page "https://wiki.gnome.org/Apps/Terminal") | |
2142 | (synopsis "Terminal emulator") | |
2143 | (description | |
2144 | "GNOME Terminal is a terminal emulator application for accessing a | |
2145 | UNIX shell environment which can be used to run programs available on | |
2146 | your system. | |
2147 | ||
2148 | It supports several profiles, multiple tabs and implements several | |
2149 | keyboard shortcuts.") | |
2150 | (license license:gpl3+))) | |
75016d07 AW |
2151 | |
2152 | (define-public colord | |
2153 | (package | |
2154 | (name "colord") | |
2155 | (version "1.1.8") | |
2156 | (source | |
2157 | (origin | |
2158 | (method url-fetch) | |
2159 | (uri (string-append "http://www.freedesktop.org/software/colord/releases/" | |
2160 | name "-" version ".tar.xz")) | |
2161 | (sha256 | |
2162 | (base32 | |
2163 | "01w97rgzk4qi6fp03scq5jyw0ayx11b479p7dkm2r77k84b9agph")))) | |
2164 | (build-system glib-or-gtk-build-system) | |
2165 | (arguments | |
2166 | '(;; The tests want to run valgrind. Punt for now. | |
2167 | #:tests? #f | |
2168 | #:configure-flags (list "--localstatedir=/var" | |
2169 | ;; GUSB not packaged yet. | |
2170 | "--disable-gusb" | |
2171 | ;; No dep on systemd. | |
2172 | "--disable-systemd-login" | |
2173 | ;; Wants to install to global completion dir; | |
2174 | ;; punt. | |
2175 | "--disable-bash-completion" | |
2176 | ;; colord-gtk not packaged yet. | |
2177 | "--disable-session-example" | |
2178 | "--with-daemon-user=colord" | |
2179 | "--enable-sane" | |
2180 | (string-append "--with-udevrulesdir=" | |
2181 | (assoc-ref %outputs "out") | |
2182 | "/lib/udev/rules.d")) | |
2183 | #:phases | |
2184 | (modify-phases %standard-phases | |
3a4de6b2 | 2185 | (add-before 'configure 'patch-/bin/true |
75016d07 AW |
2186 | (lambda _ |
2187 | (substitute* "configure" | |
2188 | (("/bin/true") (which "true"))) | |
2189 | (substitute* "src/Makefile.in" | |
2190 | (("if test -w \\$\\(DESTDIR\\)\\$\\(prefix\\)/;") | |
b19d6805 | 2191 | "if test -w $(DESTDIR)$(localstatedir);"))))))) |
75016d07 AW |
2192 | (native-inputs |
2193 | `(("pkg-config" ,pkg-config) | |
2194 | ("gobject-introspection" ,gobject-introspection) | |
2195 | ("libtool" ,libtool) | |
2196 | ("intltool" ,intltool))) | |
65cb2d61 SB |
2197 | (propagated-inputs |
2198 | ;; colord.pc refers to all these. | |
2199 | `(("glib" ,glib) | |
2200 | ("udev" ,eudev) | |
2201 | ("lcms" ,lcms))) | |
75016d07 | 2202 | (inputs |
65cb2d61 | 2203 | `(("dbus-glib" ,dbus-glib) |
75016d07 | 2204 | ("libusb" ,libusb) |
75016d07 AW |
2205 | ("sqlite" ,sqlite) |
2206 | ("polkit" ,polkit) | |
2207 | ("sane-backends" ,sane-backends))) | |
2208 | (home-page "http://www.freedesktop.org/software/colord/") | |
2209 | (synopsis "Color management service") | |
2210 | (description "Colord is a system service that makes it easy to manage, | |
2211 | install and generate color profiles to accurately color manage input and | |
2212 | output devices.") | |
2213 | (license license:gpl2+))) | |
7b2abd00 AW |
2214 | |
2215 | (define-public geoclue | |
2216 | (package | |
2217 | (name "geoclue") | |
faf713b9 | 2218 | (version "2.2.0") |
7b2abd00 AW |
2219 | (source |
2220 | (origin | |
2221 | (method url-fetch) | |
2222 | (uri (string-append "http://www.freedesktop.org/software/" name | |
2223 | "/releases/" (version-major+minor version) "/" | |
2224 | name "-" version ".tar.xz")) | |
2225 | (sha256 | |
2226 | (base32 | |
faf713b9 | 2227 | "0inlqx0zar498fhi9hh92p2g4kp8qy3zdl4z3vw6bjwp9w6xx454")) |
7b2abd00 AW |
2228 | (patches (list (search-patch "geoclue-config.patch"))))) |
2229 | (build-system glib-or-gtk-build-system) | |
2230 | (arguments | |
2231 | '(;; The tests want to run the system bus. | |
2232 | #:tests? #f | |
2233 | #:configure-flags (list ;; Disable bits requiring ModemManager. | |
2234 | "--disable-3g-source" | |
2235 | "--disable-cdma-source" | |
2236 | "--disable-modem-gps-source" | |
2237 | "--with-dbus-service-user=geoclue") | |
2238 | #:phases | |
2239 | (modify-phases %standard-phases | |
3a4de6b2 | 2240 | (add-before 'configure 'patch-/bin/true |
7b2abd00 AW |
2241 | (lambda _ |
2242 | (substitute* "configure" | |
2243 | (("/bin/true") (which "true")))))))) | |
2244 | (native-inputs | |
2245 | `(("pkg-config" ,pkg-config) | |
2246 | ("intltool" ,intltool))) | |
2247 | (inputs | |
2248 | `(("glib" ,glib) | |
2249 | ("json-glib" ,json-glib) | |
2250 | ("libsoup" ,libsoup))) | |
2251 | (home-page "http://freedesktop.org/wiki/Software/GeoClue/") | |
2252 | (synopsis "Geolocation service") | |
2253 | (description "Geoclue is a D-Bus service that provides location | |
2254 | information. The primary goal of the Geoclue project is to make creating | |
2255 | location-aware applications as simple as possible, while the secondary goal is | |
2256 | to ensure that no application can access location information without explicit | |
e881752c | 2257 | permission from user.") |
7b2abd00 | 2258 | (license license:gpl2+))) |
2bfe7437 AW |
2259 | |
2260 | (define-public geocode-glib | |
2261 | (package | |
2262 | (name "geocode-glib") | |
2263 | (version "3.16.0") | |
2264 | (source (origin | |
2265 | (method url-fetch) | |
2266 | (uri (string-append "mirror://gnome/sources/geocode-glib/" | |
2267 | (version-major+minor version) "/" | |
2268 | name "-" version ".tar.xz")) | |
2269 | (sha256 | |
2270 | (base32 | |
2271 | "1cbfv0kds6b6k0cl7q47xpj3x1scwcd7m68zl1rf7i4hmhw4hpqj")))) | |
2272 | (build-system gnu-build-system) | |
2273 | (arguments | |
2274 | `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't | |
2275 | ;; work for the builder. Punt. | |
2276 | #:tests? #f | |
2bfe7437 AW |
2277 | )) |
2278 | (native-inputs | |
2279 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2280 | ("gobject-introspection" ,gobject-introspection) | |
2281 | ("pkg-config" ,pkg-config) | |
2282 | ("json-glib" ,json-glib))) | |
2283 | (propagated-inputs | |
2284 | ;; geocode-glib-1.0.pc refers to GIO. | |
2285 | `(("glib" ,glib))) | |
2286 | (inputs | |
2287 | `(("libsoup" ,libsoup))) | |
2288 | (home-page "https://github.com/GNOME/geocode-glib/") | |
2289 | (synopsis "Geocoding and reverse-geocoding library") | |
2290 | (description | |
2291 | "geocode-glib is a convenience library for geocoding (finding longitude, | |
2292 | and latitude from an address) and reverse geocoding (finding an address from | |
2293 | coordinates) using the Nominatim service. geocode-glib caches requests for | |
2294 | faster results and to avoid unnecessary server load.") | |
2295 | (license license:lgpl2.0+))) | |
a1d5bb0e AW |
2296 | |
2297 | (define-public upower | |
2298 | (package | |
2299 | (name "upower") | |
2300 | (version "0.99.2") | |
2301 | (source (origin | |
2302 | (method url-fetch) | |
2303 | (uri (string-append "http://upower.freedesktop.org/releases/" | |
2304 | name "-" version ".tar.xz")) | |
2305 | (sha256 | |
2306 | (base32 | |
2307 | "0vwlh20jmaf01m38kfn8yx2869a3clmkzlycrj99rf4nvwx4bp79")) | |
2308 | (patches (list (search-patch "upower-builddir.patch"))))) | |
2309 | (build-system glib-or-gtk-build-system) | |
2310 | (arguments | |
2311 | '( ;; The tests want to contact the system bus, which can't be done in the | |
2312 | ;; build environment. The integration test can run, but the last of | |
2313 | ;; the up-self-tests doesn't. Disable tests for now. | |
2314 | #:tests? #f | |
2315 | #:configure-flags (list "--localstatedir=/var" | |
2316 | (string-append "--with-udevrulesdir=" | |
2317 | (assoc-ref %outputs "out") | |
2318 | "/lib/udev/rules.d")) | |
2319 | #:phases | |
2320 | (modify-phases %standard-phases | |
2321 | (add-before 'configure 'patch-/bin/true | |
2322 | (lambda _ | |
2323 | (substitute* "configure" | |
2324 | (("/bin/true") (which "true"))))) | |
2325 | (add-before 'configure 'patch-integration-test | |
2326 | (lambda _ | |
2327 | (substitute* "src/linux/integration-test" | |
2328 | (("/usr/bin/python3") (which "python3")))))))) | |
2329 | (native-inputs | |
2330 | `(("pkg-config" ,pkg-config) | |
2331 | ("intltool" ,intltool) | |
2332 | ("python" ,python))) | |
2333 | (inputs | |
ea226291 SB |
2334 | `(("dbus-glib" ,dbus-glib) |
2335 | ("libgudev" ,libgudev) | |
a1d5bb0e AW |
2336 | ("libusb" ,libusb))) |
2337 | (home-page "http://upower.freedesktop.org/") | |
2338 | (synopsis "System daemon for managing power devices") | |
2339 | (description | |
2340 | "UPower is an abstraction for enumerating power devices, | |
2341 | listening to device events and querying history and statistics. Any | |
2342 | application or service on the system can access the org.freedesktop.UPower | |
2343 | service via the system message bus.") | |
2344 | (license license:gpl2+))) | |
6a180f6f AW |
2345 | |
2346 | (define-public libgweather | |
2347 | (package | |
2348 | (name "libgweather") | |
2349 | (version "3.16.0") | |
2350 | (source (origin | |
2351 | (method url-fetch) | |
2352 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2353 | (version-major+minor version) "/" | |
2354 | name "-" version ".tar.xz")) | |
2355 | (sha256 | |
2356 | (base32 | |
2357 | "0x1z6wv7hdw2ivlkifcbd940zyrnvqvc4zh2drgvd2r6jmd7bjza")))) | |
2358 | (build-system gnu-build-system) | |
2359 | (arguments | |
2360 | `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't | |
2361 | ;; work for the builder. Punt. | |
2362 | #:tests? #f | |
6a180f6f AW |
2363 | #:configure-flags |
2364 | `(;; No introspection for now, as it wants to install to | |
2365 | ;; gobject-introspection's own directory and I don't know how to easily | |
2366 | ;; override this. | |
2367 | "--enable-introspection=no" | |
2368 | ,(string-append "--with-zoneinfo-dir=" | |
2369 | (assoc-ref %build-inputs "tzdata") | |
2370 | "/share/zoneinfo")))) | |
2371 | (native-inputs | |
2372 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2373 | ("pkg-config" ,pkg-config) | |
2374 | ("intltool" ,intltool))) | |
2375 | (propagated-inputs | |
2376 | ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and | |
2377 | ;; libsoup. | |
2378 | `(("gtk+" ,gtk+) | |
2379 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2380 | ("libxml2" ,libxml2) | |
2381 | ("libsoup" ,libsoup))) | |
2382 | (inputs | |
2383 | `(("tzdata" ,tzdata) | |
2384 | ("geocode-glib" ,geocode-glib))) | |
2385 | (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") | |
2386 | (synopsis "Location, time zone, and weather library for GNOME") | |
2387 | (description | |
2388 | "libgweather is a library to access weather information from online | |
2389 | services for numerous locations.") | |
2390 | (license license:gpl2+))) | |
23a22af6 AW |
2391 | |
2392 | (define-public gnome-settings-daemon | |
2393 | (package | |
2394 | (name "gnome-settings-daemon") | |
2395 | (version "3.16.0") | |
2396 | (source | |
2397 | (origin | |
2398 | (method url-fetch) | |
2399 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2400 | (version-major+minor version) "/" | |
2401 | name "-" version ".tar.xz")) | |
2402 | (sha256 | |
2403 | (base32 | |
2404 | "1w29x2izq59125ga5ncmmaklc8kw7x7rdn6swn26bs23mah1r1g3")))) | |
2405 | (build-system glib-or-gtk-build-system) | |
2406 | (arguments | |
ec2b1921 | 2407 | `(;; Network manager not yet packaged. |
23a22af6 AW |
2408 | #:configure-flags '("--disable-network-manager") |
2409 | ;; Color management test can't reach the colord system service. | |
2410 | #:tests? #f)) | |
2411 | (native-inputs | |
2412 | `(("pkg-config" ,pkg-config) | |
2413 | ("intltool" ,intltool) | |
2414 | ("xsltproc" ,libxslt) | |
2415 | ("libxml2" ,libxml2) ;for XML_CATALOG_FILES | |
2416 | ("docbook-xml" ,docbook-xml-4.2) | |
2417 | ("docbook-xsl" ,docbook-xsl))) | |
2418 | (inputs | |
2419 | `(("colord" ,colord) | |
ea226291 | 2420 | ("libgudev" ,libgudev) |
23a22af6 AW |
2421 | ("upower" ,upower) |
2422 | ("polkit" ,polkit) | |
2423 | ("pulseaudio" ,pulseaudio) | |
2424 | ("libcanberra" ,libcanberra) | |
2425 | ("libx11" ,libx11) | |
2426 | ("libxtst" ,libxtst) | |
2427 | ("lcms" ,lcms) | |
2428 | ("libnotify" ,libnotify) | |
2429 | ("geoclue" ,geoclue) | |
2430 | ("geocode-glib" ,geocode-glib) | |
2431 | ("libgweather" ,libgweather) | |
2432 | ("gnome-desktop" ,gnome-desktop) | |
2433 | ("nss" ,nss) | |
2434 | ("cups" ,cups) | |
ec2b1921 AW |
2435 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) |
2436 | ("libwacom" ,libwacom) | |
2437 | ("librsvg" ,librsvg) | |
2438 | ("xf86-input-wacom" ,xf86-input-wacom))) | |
23a22af6 AW |
2439 | (home-page "http://www.gnome.org") |
2440 | (synopsis "GNOME settings daemon") | |
2441 | (description | |
2442 | "This package contains the daemon responsible for setting the various | |
2443 | parameters of a GNOME session and the applications that run under it. It | |
2444 | handles settings such keyboard layout, shortcuts, and accessibility, clipboard | |
2445 | settings, themes, mouse settings, and startup of other daemons.") | |
2446 | (license license:gpl2+))) | |
1e7464a9 DH |
2447 | |
2448 | (define-public totem-pl-parser | |
2449 | (package | |
2450 | (name "totem-pl-parser") | |
2451 | (version "3.10.5") | |
2452 | (source (origin | |
2453 | (method url-fetch) | |
2454 | (uri (string-append "mirror://gnome/sources/totem-pl-parser/3.10/" | |
2455 | "totem-pl-parser-" version ".tar.xz")) | |
2456 | (sha256 | |
2457 | (base32 | |
2458 | "0dw1kiwmjwdjrighri0j9nagsnj44dllm0mamnfh4y5nc47mhim7")))) | |
2459 | (build-system gnu-build-system) | |
2460 | (arguments | |
2461 | ;; FIXME: Tests require gvfs. | |
2462 | `(#:tests? #f)) | |
2463 | (native-inputs | |
2464 | `(("intltool" ,intltool) | |
2465 | ("glib" ,glib "bin") | |
4d6d8281 | 2466 | ("gobject-introspection" ,gobject-introspection) |
1e7464a9 | 2467 | ("pkg-config" ,pkg-config))) |
22a6ad6a | 2468 | (propagated-inputs |
1e7464a9 DH |
2469 | `(("glib" ,glib) |
2470 | ("gmime" ,gmime) | |
22a6ad6a MW |
2471 | ("libxml2" ,libxml2))) |
2472 | (inputs | |
2473 | `(("libarchive" ,libarchive) | |
1e7464a9 DH |
2474 | ("libgcrypt" ,libgcrypt) |
2475 | ("nettle" ,nettle) | |
22a6ad6a | 2476 | ("libsoup" ,libsoup))) |
1e7464a9 DH |
2477 | (home-page "https://projects.gnome.org/totem") |
2478 | (synopsis "Library to parse and save media playlists for GNOME") | |
2479 | (description "Totem-pl-parser is a GObjects-based library to parse and save | |
2480 | playlists in a variety of formats.") | |
2481 | (license license:lgpl2.0+))) | |
2482 | ||
6b888eff SB |
2483 | (define-public aisleriot |
2484 | (package | |
2485 | (name "aisleriot") | |
2486 | (version "3.16.1") | |
2487 | (source (origin | |
2488 | (method url-fetch) | |
2489 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2490 | (version-major+minor version) "/" | |
2491 | name "-" version ".tar.xz")) | |
2492 | (sha256 | |
2493 | (base32 | |
2494 | "19k483x9dkq8vjbq8f333pk9qil64clpsfg20q8xk9bgmk38aj8h")))) | |
2495 | (build-system glib-or-gtk-build-system) | |
2496 | (arguments | |
2497 | '(#:configure-flags | |
2498 | '("--with-platform=gtk-only" | |
2499 | "--with-card-theme-formats=svg"))) | |
2500 | (native-inputs | |
2501 | `(("desktop-file-utils" ,desktop-file-utils) | |
2502 | ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. | |
2503 | ("intltool" ,intltool) | |
2504 | ("itstool" ,itstool) | |
2505 | ("pkg-config" ,pkg-config) | |
2506 | ("xmllint" ,libxml2))) | |
2507 | (inputs | |
2508 | `(("gtk+" ,gtk+) | |
2509 | ("guile" ,guile-2.0) | |
2510 | ("libcanberra" ,libcanberra) | |
2511 | ("librsvg" ,librsvg))) | |
2512 | (home-page "https://wiki.gnome.org/Apps/Aisleriot") | |
2513 | (synopsis "Solitaire card games") | |
2514 | (description | |
2515 | "Aisleriot (also known as Solitaire or sol) is a collection of card games | |
2516 | which are easy to play with the aid of a mouse.") | |
2517 | (license license:gpl3+))) | |
4a79e256 SB |
2518 | |
2519 | (define-public devhelp | |
2520 | (package | |
2521 | (name "devhelp") | |
2522 | (version "3.16.1") | |
2523 | (source (origin | |
2524 | (method url-fetch) | |
2525 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2526 | (version-major+minor version) "/" | |
2527 | name "-" version ".tar.xz")) | |
2528 | (sha256 | |
2529 | (base32 | |
2530 | "0i8kyh86hzwxs8dm047ivghl2b92vigdxa3x4pk4ha0whpk38g37")))) | |
2531 | (build-system glib-or-gtk-build-system) | |
2532 | (native-inputs | |
2533 | `(("intltool" ,intltool) | |
2534 | ("pkg-config" ,pkg-config))) | |
2535 | (inputs | |
2536 | `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
2537 | ("webkitgtk" ,webkitgtk))) | |
2538 | (home-page "https://wiki.gnome.org/Apps/Devhelp") | |
2539 | (synopsis "API documentation browser for GNOME") | |
2540 | (description | |
2541 | "Devhelp is an API documentation browser for GTK+ and GNOME. It works | |
2542 | natively with GTK-Doc (the API reference system developed for GTK+ and used | |
2543 | throughout GNOME for API documentation).") | |
2544 | (license license:gpl2+))) | |
ba421ab7 MW |
2545 | |
2546 | (define-public cogl | |
2547 | (package | |
2548 | (name "cogl") | |
2549 | (version "1.20.0") | |
2550 | (source | |
2551 | (origin | |
2552 | (method url-fetch) | |
2553 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2554 | (version-major+minor version) "/" | |
2555 | name "-" version ".tar.xz")) | |
2556 | (sha256 | |
2557 | (base32 | |
2558 | "0aqrj7gc0x7v536vdycgn2i23fj3nx3qwdd3mwgx7rr9b14kb7kj")))) | |
2559 | (build-system gnu-build-system) | |
2560 | (native-inputs | |
2561 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2562 | ("gobject-introspection" ,gobject-introspection) | |
2563 | ;;("xorg-server" ,xorg-server) ; for the test suite | |
2564 | ("pkg-config" ,pkg-config))) | |
2565 | (propagated-inputs | |
2566 | `(("glib" ,glib) | |
2567 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2568 | ("libx11" ,libx11) | |
2569 | ("libxext" ,libxext) | |
2570 | ("libxfixes" ,libxfixes) | |
2571 | ("libxdamage" ,libxdamage) | |
2572 | ("libxcomposite" ,libxcomposite) | |
2573 | ("libxrandr" ,libxrandr))) | |
2574 | (inputs | |
2575 | `(("mesa" ,mesa) | |
2576 | ("cairo" ,cairo) | |
2577 | ("pango" ,pango) | |
2578 | ("gstreamer" ,gstreamer) | |
2579 | ("gst-plugins-base" ,gst-plugins-base))) | |
2580 | (arguments | |
2581 | `(#:configure-flags (list "--enable-cogl-gst" | |
2582 | ;; Arrange to pass an absolute file name to | |
2583 | ;; dlopen for libGL.so. | |
2584 | (string-append "--with-gl-libname=" | |
2585 | (assoc-ref %build-inputs "mesa") | |
2586 | "/lib/libGL.so")) | |
2587 | ;; XXX FIXME: All tests fail, with many warnings printed like this: | |
2588 | ;; _FontTransOpen: Unable to Parse address | |
2589 | ;; ${prefix}/share/fonts/X11/misc/ | |
2590 | #:tests? #f | |
2591 | #; #:phases | |
2592 | #; | |
2593 | (modify-phases %standard-phases | |
2594 | (add-before 'check 'start-xorg-server | |
2595 | (lambda* (#:key inputs #:allow-other-keys) | |
2596 | ;; The test suite requires a running X server. | |
2597 | (system (format #f "~a/bin/Xvfb :1 &" | |
2598 | (assoc-ref inputs "xorg-server"))) | |
2599 | (setenv "DISPLAY" ":1") | |
2600 | #t))))) | |
2601 | (home-page "http://www.cogl3d.org") | |
2602 | (synopsis "Object oriented GL/GLES Abstraction/Utility Layer") | |
2603 | (description | |
2604 | "Cogl is a small library for using 3D graphics hardware to draw pretty | |
2605 | pictures. The API departs from the flat state machine style of OpenGL and is | |
2606 | designed to make it easy to write orthogonal components that can render | |
2607 | without stepping on each others toes.") | |
2608 | (license (list license:expat ; most of the code | |
2609 | license:bsd-3 ; cogl/cogl-point-in-poly.c | |
2610 | license:sgifreeb2.0 ; cogl-path/tesselator/ | |
2611 | license:asl2.0)))) ; examples/android/ | |
fb182b8a MW |
2612 | |
2613 | (define-public clutter | |
2614 | (package | |
2615 | (name "clutter") | |
2616 | (version "1.22.2") | |
2617 | (source | |
2618 | (origin | |
2619 | (method url-fetch) | |
2620 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2621 | (version-major+minor version) "/" | |
2622 | name "-" version ".tar.xz")) | |
2623 | (sha256 | |
2624 | (base32 | |
2625 | "1b0ikh9q3c3qnny3kbvhqih35449q8ajcbh7zkm8k3kykwfx4scf")))) | |
2626 | (build-system gnu-build-system) | |
2627 | (native-inputs | |
2628 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal | |
2629 | ("gobject-introspection" ,gobject-introspection) | |
2630 | ("pkg-config" ,pkg-config) | |
2631 | ("xsltproc" ,libxslt))) | |
2632 | (propagated-inputs | |
2633 | `(("cogl" ,cogl) | |
2634 | ("cairo" ,cairo) | |
2635 | ("atk" ,atk) | |
2636 | ("gtk+" ,gtk+) | |
2637 | ("json-glib" ,json-glib) | |
2638 | ("glib" ,glib) | |
2639 | ("libxcomposite" ,libxcomposite) | |
2640 | ("libxdamage" ,libxdamage) | |
2641 | ("libxext" ,libxext) | |
2642 | ("xinput" ,xinput))) | |
2643 | (inputs | |
2644 | `(("libxkbcommon" ,libxkbcommon) | |
2645 | ("udev" ,eudev))) | |
2646 | (arguments | |
2647 | `(#:configure-flags '("--enable-x11-backend=yes") | |
2648 | ;; XXX FIXME: Get test suite working. It would probably fail in the | |
2649 | ;; same way the cogl tests fail, since clutter is based on cogl. | |
2650 | #:tests? #f)) | |
2651 | (home-page "http://www.clutter-project.org") | |
2652 | (synopsis "Open GL based interactive canvas library") | |
2653 | (description | |
2654 | "Clutter is an Open GL based interactive canvas library, designed for | |
2655 | creating fast, mainly 2D single window applications such as media box UIs, | |
2656 | presentations, kiosk style applications and so on.") | |
2657 | (license license:lgpl2.0+))) | |
bf7f17ba MW |
2658 | |
2659 | (define-public clutter-gtk | |
2660 | (package | |
2661 | (name "clutter-gtk") | |
2662 | (version "1.6.0") | |
2663 | (source | |
2664 | (origin | |
2665 | (method url-fetch) | |
2666 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2667 | (version-major+minor version) "/" | |
2668 | name "-" version ".tar.xz")) | |
2669 | (sha256 | |
2670 | (base32 | |
2671 | "0k93hbf5d1970hs7vjddr3nnngygc7mxqbj474r3cdm0fjsm0dc8")))) | |
2672 | (build-system gnu-build-system) | |
2673 | (native-inputs | |
2674 | `(("pkg-config" ,pkg-config) | |
2675 | ("gobject-introspection" ,gobject-introspection))) | |
2676 | (inputs | |
2677 | `(("clutter" ,clutter) | |
2678 | ("gtk+" ,gtk+))) | |
2679 | (home-page "http://www.clutter-project.org") | |
2680 | (synopsis "Open GL based interactive canvas library GTK+ widget") | |
2681 | (description | |
2682 | "Clutter is an Open GL based interactive canvas library, designed for | |
2683 | creating fast, mainly 2D single window applications such as media box UIs, | |
2684 | presentations, kiosk style applications and so on.") | |
2685 | (license license:lgpl2.0+))) | |
86d6a893 MW |
2686 | |
2687 | (define-public clutter-gst | |
2688 | (package | |
2689 | (name "clutter-gst") | |
2690 | (version "3.0.6") | |
2691 | (source | |
2692 | (origin | |
2693 | (method url-fetch) | |
2694 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2695 | (version-major+minor version) "/" | |
2696 | name "-" version ".tar.xz")) | |
2697 | (sha256 | |
2698 | (base32 | |
2699 | "0xnzfdzawl1kdx715gp31nwjp7a1kib094s7xvg7bhbwwlx4kmfn")))) | |
2700 | (build-system gnu-build-system) | |
2701 | (native-inputs | |
2702 | `(("glib:bin" ,glib "bin") ; for glib-mkenums | |
2703 | ("pkg-config" ,pkg-config) | |
2704 | ("gobject-introspection" ,gobject-introspection))) | |
2705 | (inputs | |
2706 | `(("clutter" ,clutter) | |
2707 | ("gstreamer" ,gstreamer) | |
2708 | ("gst-plugins-base" ,gst-plugins-base))) | |
2709 | (home-page "http://www.clutter-project.org") | |
2710 | (synopsis "Integration library for using GStreamer with Clutter") | |
2711 | (description | |
2712 | "Clutter-Gst is an integration library for using GStreamer with Clutter. | |
2713 | It provides a GStreamer sink to upload frames to GL and an actor that | |
2714 | implements the ClutterGstPlayer interface using playbin. Clutter is an Open | |
2715 | GL based interactive canvas library.") | |
2716 | (license license:lgpl2.0+))) | |
607a04ae MW |
2717 | |
2718 | (define-public gom | |
2719 | (package | |
2720 | (name "gom") | |
2721 | (version "0.3.1") | |
2722 | (source | |
2723 | (origin | |
2724 | (method url-fetch) | |
2725 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2726 | (version-major+minor version) "/" | |
2727 | name "-" version ".tar.xz")) | |
2728 | (sha256 | |
2729 | (base32 | |
2730 | "1x9qgviszzh59d009jd13k0pdxzv9w4dmwp3wszbsk3qxr3fnlbr")))) | |
2731 | (build-system gnu-build-system) | |
2732 | (native-inputs | |
2733 | `(("intltool" ,intltool) | |
2734 | ("pkg-config" ,pkg-config) | |
2735 | ("gobject-introspection" ,gobject-introspection))) | |
2736 | (inputs | |
2737 | `(("glib" ,glib) | |
2738 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2739 | ("sqlite" ,sqlite))) | |
2740 | ;; XXX TODO: Figure out how to run the test suite. | |
2741 | (arguments `(#:tests? #f)) | |
2742 | (home-page "https://wiki.gnome.org/Projects/Gom") | |
2743 | (synopsis "Object mapper from GObjects to SQLite") | |
2744 | (description | |
2745 | "Gom provides an object mapper from GObjects to SQLite. It helps you | |
2746 | write applications that need to store structured data as well as make complex | |
2747 | queries upon that data.") | |
2748 | (license license:lgpl2.1+))) | |
b7a3cf11 SB |
2749 | |
2750 | (define-public gnome-klotski | |
2751 | (package | |
2752 | (name "gnome-klotski") | |
2753 | (version "3.16.1") | |
2754 | (source (origin | |
2755 | (method url-fetch) | |
2756 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2757 | (version-major+minor version) "/" | |
2758 | name "-" version ".tar.xz")) | |
2759 | (sha256 | |
2760 | (base32 | |
2761 | "0a64935c7pp51jhaf29q9zlx3lamj7zrhyff7clvv0w8v1w6gpax")))) | |
2762 | (build-system glib-or-gtk-build-system) | |
2763 | (native-inputs | |
2764 | `(("desktop-file-utils" ,desktop-file-utils) | |
2765 | ("intltool" ,intltool) | |
2766 | ("itstool" ,itstool) | |
2767 | ("pkg-config" ,pkg-config))) | |
2768 | (inputs | |
2769 | `(("gtk+" ,gtk+) | |
2770 | ("librsvg" ,librsvg))) | |
2771 | (home-page "https://wiki.gnome.org/Apps/Klotski") | |
2772 | (synopsis "Sliding block puzzles") | |
2773 | (description | |
2774 | "GNOME Klotski is a set of block sliding puzzles. The objective is to move | |
2775 | the patterned block to the area bordered by green markers. To do so, you will | |
2776 | need to slide other blocks out of the way. Complete each puzzle in as few moves | |
2777 | as possible!") | |
2778 | (license license:gpl2+))) | |
8d4791bf MW |
2779 | |
2780 | (define-public grilo | |
2781 | (package | |
2782 | (name "grilo") | |
2783 | (version "0.2.12") | |
2784 | (source | |
2785 | (origin | |
2786 | (method url-fetch) | |
2787 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2788 | (version-major+minor version) "/" | |
2789 | name "-" version ".tar.xz")) | |
2790 | (sha256 | |
2791 | (base32 | |
2792 | "11bvc7rsrjjwz8hp67p3fn8zmywrpawrcbi3vgw8b0dwa0sndd2m")))) | |
2793 | (build-system gnu-build-system) | |
2794 | (native-inputs | |
2795 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
2796 | ("intltool" ,intltool) | |
2797 | ("pkg-config" ,pkg-config) | |
2798 | ("gobject-introspection" ,gobject-introspection))) | |
2799 | (inputs | |
2800 | `(("glib" ,glib) | |
2801 | ("gtk+" ,gtk+) | |
2802 | ("libxml2" ,libxml2) | |
2803 | ;; XXX TODO: Add oauth | |
2804 | ("libsoup" ,libsoup) | |
2805 | ("totem-pl-parser" ,totem-pl-parser))) | |
2806 | (arguments | |
2807 | `(#:phases | |
2808 | (modify-phases %standard-phases | |
2809 | (add-after 'unpack 'fix-introspection-install-dir | |
2810 | (lambda* (#:key outputs #:allow-other-keys) | |
2811 | (let ((out (assoc-ref outputs "out"))) | |
2812 | (substitute* '("src/Makefile.in" | |
2813 | "libs/pls/Makefile.in" | |
2814 | "libs/net/Makefile.in") | |
2815 | (("@INTROSPECTION_GIRDIR@") | |
2816 | (string-append out "/share/gir-1.0/")) | |
2817 | (("@INTROSPECTION_TYPELIBDIR@") | |
2818 | (string-append out "/lib/girepository-1.0/"))))))))) | |
2819 | (native-search-paths | |
2820 | (list (search-path-specification | |
2821 | (variable "GRL_PLUGIN_PATH") | |
2822 | (files (list (string-append "lib/grilo-" | |
2823 | (version-major+minor version))))))) | |
2824 | (home-page "http://live.gnome.org/Grilo") | |
2825 | (synopsis "Framework for discovering and browsing media") | |
2826 | (description | |
2827 | "Grilo is a framework focused on making media discovery and browsing easy | |
2828 | for application developers.") | |
2829 | (license license:lgpl2.1+))) | |
7b212526 MW |
2830 | |
2831 | (define-public grilo-plugins | |
2832 | (package | |
2833 | (name "grilo-plugins") | |
2834 | (version "0.2.14") | |
2835 | (source | |
2836 | (origin | |
2837 | (method url-fetch) | |
2838 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2839 | (version-major+minor version) "/" | |
2840 | name "-" version ".tar.xz")) | |
2841 | (sha256 | |
2842 | (base32 | |
2843 | "1aykhc679pwn2qxsg19g8nh9hffpsqkgxcbqq7lcfn2hcwb83wfh")))) | |
2844 | (build-system gnu-build-system) | |
2845 | (native-inputs | |
2846 | `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal | |
2847 | ("intltool" ,intltool) | |
2848 | ("itstool" ,itstool) | |
2849 | ("pkg-config" ,pkg-config))) | |
2850 | (inputs | |
2851 | `(("grilo" ,grilo) | |
2852 | ("glib" ,glib) | |
2853 | ("libxml2" ,libxml2) | |
2854 | ("sqlite" ,sqlite) | |
2855 | ("gom" ,gom) | |
2856 | ;; XXX TODO: Add oauth | |
2857 | ;; XXX TODO: Add goa | |
2858 | ;; XXX TODO: Add gdata (e.g. needed for youtube plugin) | |
2859 | ;; XXX TODO: Add lua (needs help finding it) | |
2860 | ("json-glib" ,json-glib) | |
2861 | ("avahi" ,avahi) | |
2862 | ("gmime" ,gmime) | |
2863 | ("libsoup" ,libsoup) | |
2864 | ("libarchive" ,libarchive) | |
2865 | ("totem-pl-parser" ,totem-pl-parser))) | |
2866 | (arguments | |
2867 | `(#:make-flags (list (string-append "GRL_PLUGINS_DIR=" | |
2868 | %output | |
2869 | "/lib/grilo-" | |
2870 | ,(version-major+minor version))) | |
2871 | ;; XXX FIXME: Try to get the test suite working. It appears to require | |
2872 | ;; a working system dbus. Inside the build container, all tests fail | |
2873 | ;; with: "assertion failed: (source)". Outside of the build container, | |
2874 | ;; most tests succeed. | |
2875 | #:tests? #f)) | |
2876 | (home-page "http://live.gnome.org/Grilo") | |
2877 | (synopsis "Plugins for the Grilo media discovery library") | |
2878 | (description | |
2879 | "Grilo is a framework focused on making media discovery and browsing easy | |
2880 | for application developers.") | |
2881 | (license license:lgpl2.1+))) | |
4e3fc547 MW |
2882 | |
2883 | (define-public totem | |
2884 | (package | |
2885 | (name "totem") | |
2886 | (version "3.16.1") | |
2887 | (source | |
2888 | (origin | |
2889 | (method url-fetch) | |
2890 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2891 | (version-major+minor version) "/" | |
2892 | name "-" version ".tar.xz")) | |
2893 | (sha256 | |
2894 | (base32 | |
2895 | "1nkm2i271ivq40hryrl6px39gbbvhmlx4vmvwvw4h3z8xh3013f9")))) | |
2896 | (build-system glib-or-gtk-build-system) | |
2897 | (native-inputs | |
2898 | `(("pkg-config" ,pkg-config) | |
2899 | ("desktop-file-utils" ,desktop-file-utils) | |
2900 | ("gobject-introspection" ,gobject-introspection) | |
2901 | ("intltool" ,intltool) | |
2902 | ("itstool" ,itstool))) | |
2903 | (propagated-inputs | |
2904 | `(("dconf" ,dconf))) | |
2905 | (inputs | |
2906 | `(("gtk+" ,gtk+) | |
2907 | ("gdk-pixbuf" ,gdk-pixbuf) | |
2908 | ("atk" ,atk) | |
2909 | ("cairo" ,cairo) | |
2910 | ("dbus-glib" ,dbus-glib) | |
2911 | ("clutter" ,clutter) | |
2912 | ("clutter-gtk" ,clutter-gtk) | |
2913 | ("clutter-gst" ,clutter-gst) | |
2914 | ("xproto" ,xproto) | |
2915 | ("libxxf86vm" ,libxxf86vm) | |
2916 | ("libxtst" ,libxtst) | |
2917 | ("libxrandr" ,libxrandr) | |
2918 | ("libxml2" ,libxml2) | |
2919 | ("libsoup" ,libsoup) | |
2920 | ("libpeas" ,libpeas) | |
2921 | ("librsvg" ,librsvg) | |
2922 | ("lirc" ,lirc) | |
2923 | ("gnome-desktop" ,gnome-desktop) | |
2924 | ("gstreamer" ,gstreamer) | |
2925 | ("gst-plugins-base" ,gst-plugins-base) | |
2926 | ("gst-plugins-good" ,gst-plugins-good) | |
2927 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
2928 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
2929 | ;; XXX We use python-2 because libxml2 because itstool (which needs | |
2930 | ;; libxml) currently uses python-2. | |
2931 | ("python" ,python-2) | |
2932 | ("python-pygobject" ,python2-pygobject) | |
2933 | ;; XXX TODO pylint needed for python support | |
2934 | ("totem-pl-parser" ,totem-pl-parser) | |
2935 | ("grilo" ,grilo) | |
2936 | ("grilo-plugins" ,grilo-plugins) | |
2937 | ("nettle" ,nettle) | |
2938 | ("vala" ,vala))) | |
2939 | (arguments | |
2940 | `(#:phases | |
2941 | (modify-phases %standard-phases | |
2942 | (add-after | |
2943 | 'install 'wrap-totem | |
2944 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
2945 | (let ((out (assoc-ref outputs "out")) | |
2946 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
2947 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
2948 | (wrap-program (string-append out "/bin/totem") | |
2949 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
2950 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))) | |
2951 | #t))))) | |
2952 | (home-page "https://wiki.gnome.org/Apps/Videos") | |
2953 | (synopsis "Simple media player for GNOME based on GStreamer") | |
2954 | (description "Totem is a simple yet featureful media player for GNOME | |
2955 | which can read a large number of file formats.") | |
2956 | ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins | |
2957 | ;; to be used and distributed together with GStreamer and Totem. See | |
2958 | ;; file://COPYING in the source distribution for details. | |
2959 | (license license:gpl2+))) | |
f0afb0c8 DH |
2960 | |
2961 | (define-public rhythmbox | |
2962 | (package | |
2963 | (name "rhythmbox") | |
2964 | (version "3.2.1") | |
2965 | (source (origin | |
2966 | (method url-fetch) | |
2967 | (uri (string-append "mirror://gnome/sources/" name "/" | |
2968 | (version-major+minor version) "/" | |
2969 | name "-" version ".tar.xz")) | |
2970 | (sha256 | |
2971 | (base32 | |
2972 | "0f3radhlji7rxl760yl2vm49fvfslympxrpm8497acbmbd7wlhxz")))) | |
2973 | (build-system glib-or-gtk-build-system) | |
2974 | (arguments | |
2975 | `(#:configure-flags | |
2976 | (list "--enable-lirc" | |
2977 | "--enable-python" | |
2978 | "--enable-vala" | |
2979 | "--with-brasero" | |
2980 | "--with-gudev" | |
2981 | "--with-libsecret") | |
2982 | #:phases | |
2983 | (modify-phases %standard-phases | |
2984 | (add-after | |
2985 | 'install 'wrap-rhythmbox | |
2986 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
2987 | (let ((out (assoc-ref outputs "out")) | |
2988 | (gi-typelib-path (getenv "GI_TYPELIB_PATH")) | |
2989 | (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) | |
2990 | (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))) | |
2991 | (wrap-program (string-append out "/bin/rhythmbox") | |
2992 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) | |
2993 | `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) | |
2994 | `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))) | |
2995 | #t))))) | |
2996 | (propagated-inputs | |
2997 | `(("dconf" ,dconf))) | |
2998 | (native-inputs | |
2999 | `(("intltool" ,intltool) | |
3000 | ("glib" ,glib "bin") | |
3001 | ("gobject-introspection" ,gobject-introspection) | |
3002 | ("desktop-file-utils" ,desktop-file-utils) | |
3003 | ("pkg-config" ,pkg-config))) | |
3004 | (inputs | |
3005 | `(("json-glib" ,json-glib) | |
3006 | ("tdb" ,tdb) | |
3007 | ("gnome-desktop" ,gnome-desktop) | |
3008 | ("python" ,python) | |
3009 | ("python-pygobject" ,python2-pygobject) | |
3010 | ("vala" ,vala) | |
3011 | ("gmime" ,gmime) | |
3012 | ("nettle" ,nettle) | |
3013 | ("itstool" ,itstool) | |
3014 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
3015 | ("grilo" ,grilo) | |
3016 | ("grilo-plugins" ,grilo-plugins) | |
3017 | ("gstreamer" ,gstreamer) | |
3018 | ("gst-plugins-base" ,gst-plugins-base) | |
3019 | ("gst-plugins-good" ,gst-plugins-good) | |
f0afb0c8 | 3020 | ("totem-pl-parser" ,totem-pl-parser) |
ea226291 | 3021 | ("libgudev" ,libgudev) |
f0afb0c8 DH |
3022 | ;;("libmtp" ,libmtp) FIXME: Not detected |
3023 | ("libsecret" ,libsecret) | |
3024 | ("libsoup" ,libsoup) | |
3025 | ("libnotify" ,libnotify) | |
3026 | ("libpeas" ,libpeas) | |
3027 | ("lirc" ,lirc) | |
3028 | ;; TODO: clutter* only used by visualizer plugin, which also requires mx | |
3029 | ;;("clutter" ,clutter) | |
3030 | ;;("clutter-gtk" ,clutter-gtk) | |
3031 | ;;("clutter-gst" ,clutter-gst) | |
3032 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3033 | ("atk" ,atk) | |
3034 | ("pango" ,pango) | |
3035 | ("gtk+" ,gtk+) | |
3036 | ;; TODO: | |
3037 | ;; * libgpod | |
3038 | ;; * mx | |
3039 | ;; * webkit | |
3040 | ("brasero" ,brasero))) | |
3041 | (home-page "https://wiki.gnome.org/Apps/Rhythmbox") | |
3042 | (synopsis "Music player for GNOME") | |
3043 | (description "Rhythmbox is a music playing application for GNOME. It | |
3044 | supports playlists, song ratings, and any codecs installed through gstreamer.") | |
3045 | (license license:gpl2+))) | |
f70d8383 DH |
3046 | |
3047 | (define-public eog | |
3048 | (package | |
3049 | (name "eog") | |
3050 | (version "3.16.2") | |
3051 | (source (origin | |
3052 | (method url-fetch) | |
3053 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3054 | (version-major+minor version) "/" | |
3055 | name "-" version ".tar.xz")) | |
3056 | (sha256 | |
3057 | (base32 | |
3058 | "0frw1b5jix9pffznav5s7ajjx91a8rv5lf4sjvjv3fw65mbnhbw0")))) | |
3059 | (build-system glib-or-gtk-build-system) | |
3060 | (arguments | |
3061 | `(#:phases | |
3062 | (modify-phases %standard-phases | |
3063 | (add-after | |
3064 | 'install 'wrap-eog | |
3065 | (lambda* (#:key outputs #:allow-other-keys) | |
3066 | (let ((out (assoc-ref outputs "out")) | |
3067 | (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) | |
3068 | (wrap-program (string-append out "/bin/eog") | |
3069 | `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) | |
3070 | #t))))) | |
3071 | (propagated-inputs | |
3072 | `(("dconf" ,dconf))) | |
3073 | (native-inputs | |
3074 | `(("intltool" ,intltool) | |
3075 | ("itstool", itstool) | |
3076 | ("glib" ,glib "bin") | |
3077 | ("gobject-introspection" ,gobject-introspection) | |
3078 | ("pkg-config" ,pkg-config))) | |
3079 | (inputs | |
3080 | `(("gnome-desktop" ,gnome-desktop) | |
3081 | ("shared-mime-info" ,shared-mime-info) | |
3082 | ("adwaita-icon-theme" ,adwaita-icon-theme) | |
3083 | ("exempi" ,exempi) | |
3084 | ("lcms" ,lcms) | |
3085 | ("libexif" ,libexif) | |
3086 | ("libpeas" ,libpeas) | |
3087 | ("libjpeg" ,libjpeg) | |
3088 | ("librsvg" ,librsvg) | |
3089 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3090 | ("gtk+" ,gtk+))) | |
3091 | (home-page "https://wiki.gnome.org/Apps/EyeOfGnome") | |
3092 | (synopsis "GNOME image viewer") | |
3093 | (description "Eye of GNOME is the GNOME image viewer. It | |
3094 | supports image conversion, rotation, and slideshows.") | |
3095 | (license license:gpl2+))) | |
41af5e7b SB |
3096 | |
3097 | (define-public libgudev | |
3098 | (package | |
3099 | (name "libgudev") | |
3100 | (version "230") | |
3101 | (source (origin | |
3102 | (method url-fetch) | |
3103 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3104 | version "/" name "-" version ".tar.xz")) | |
3105 | (sha256 | |
3106 | (base32 | |
3107 | "063w6j35n0i0ssmv58kivc1mw4070z6fzb83hi4xfrhcxnn7zrx2")))) | |
3108 | (build-system gnu-build-system) | |
3109 | (native-inputs | |
3110 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
3111 | ("gobject-introspection" ,gobject-introspection) | |
3112 | ("pkg-config" ,pkg-config))) | |
3113 | (propagated-inputs | |
3114 | `(("glib" ,glib))) ; required by gudev-1.0.pc | |
3115 | (inputs | |
3116 | `(("udev" ,eudev))) | |
3117 | (home-page "https://wiki.gnome.org/Projects/libgudev") | |
3118 | (synopsis "GObject bindings for libudev") | |
3119 | (description | |
3120 | "This library provides GObject bindings for libudev. It was originally | |
3121 | part of udev-extras, then udev, then systemd. It's now a project on its own.") | |
3122 | (license license:lgpl2.1+))) | |
3dc8828f SB |
3123 | |
3124 | (define-public gvfs | |
3125 | (package | |
3126 | (name "gvfs") | |
3127 | (version "1.24.1") | |
3128 | (source (origin | |
3129 | (method url-fetch) | |
3130 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3131 | (version-major+minor version) "/" | |
3132 | name "-" version ".tar.xz")) | |
3133 | (sha256 | |
3134 | (base32 | |
3135 | "1ygiknnd24qgzds8wif3jns981mqr65lgjlxs5pw65cl3376g0yk")))) | |
3136 | (build-system gnu-build-system) | |
3137 | (arguments | |
3138 | '(#:tests? #f)) ; XXX: requiring `pidof' | |
3139 | (native-inputs | |
3140 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
3141 | ("intltool" ,intltool) | |
3142 | ("pkg-config" ,pkg-config) | |
3143 | ("xsltproc" ,libxslt))) | |
3144 | (inputs | |
3145 | `(("avahi" ,avahi) | |
3146 | ("docbook-xml" ,docbook-xml-4.2) | |
3147 | ("docbook-xsl" ,docbook-xsl) | |
3148 | ("dbus" ,dbus) | |
3149 | ("fuse" ,fuse) | |
3150 | ("glib" ,glib) | |
3151 | ("libarchive" ,libarchive) | |
3152 | ("libbluray" ,libbluray) | |
3153 | ("libcdio-paranoia" ,libcdio-paranoia) | |
3154 | ("libgcrypt" ,libgcrypt) | |
3155 | ("libgphoto2" ,libgphoto2) | |
3156 | ("libgudev" ,libgudev) | |
3157 | ("libmtp" ,libmtp) | |
3158 | ("libsecret" ,libsecret) | |
3159 | ("libsmbclient" ,samba) | |
3160 | ("libsoup" ,libsoup) | |
3161 | ("libxml2" ,libxml2) | |
3162 | ("nettle" ,nettle) ; XXX: required by libarchive.pc | |
3163 | ("udisks" ,udisks))) | |
3164 | (home-page "https://wiki.gnome.org/gvfs/") | |
3165 | (synopsis "Userspace virtual filesystem for GIO") | |
3166 | (description | |
3167 | "GVFS is a userspace virtual filesystem designed to work with the I/O | |
3168 | abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support | |
3169 | to all applications using the GIO API. It also supports exposing the GVFS | |
3170 | mounts to non-GIO applications using FUSE. | |
3171 | ||
3172 | GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP, | |
3173 | DAV, and others.") | |
3174 | (license license:lgpl2.0+))) | |
7c88b6bd AW |
3175 | |
3176 | (define-public gusb | |
3177 | (package | |
3178 | (name "gusb") | |
3179 | (version "0.2.6") | |
3180 | (source (origin | |
3181 | (method url-fetch) | |
3182 | (uri (string-append "https://github.com/hughsie/libgusb/archive/" | |
3183 | "gusb_" | |
3184 | (string-join (string-split version #\.) | |
3185 | "_") | |
3186 | ".tar.gz")) | |
3187 | (sha256 | |
3188 | (base32 | |
3189 | "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr")))) | |
3190 | (build-system gnu-build-system) | |
3191 | (native-inputs | |
3192 | `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. | |
3193 | ("gobject-introspection" ,gobject-introspection) | |
3194 | ("pkg-config" ,pkg-config) | |
3195 | ("vala" ,vala) | |
3196 | ("autoconf" ,autoconf) | |
3197 | ("automake" ,automake) | |
3198 | ("libtool" ,libtool) | |
3199 | ("gtk-doc" ,gtk-doc))) | |
3200 | (propagated-inputs | |
3201 | ;; Both of these are required by gusb.pc. | |
3202 | `(("glib" ,glib) | |
3203 | ("libusb" ,libusb))) | |
3204 | (arguments | |
3205 | `(#:tests? #f ; libusb fails to initialize. Wonder what that is. | |
3206 | #:phases | |
3207 | (modify-phases %standard-phases | |
3208 | (add-after 'unpack 'autogen | |
3209 | (lambda _ | |
3210 | (and (zero? (system* "gtkdocize")) | |
3211 | (zero? (system* "autoreconf" "-vif")))))))) | |
3212 | (home-page "https://github/hughsie/libgusb") | |
3213 | (synopsis "A GLib binding for libusb1") | |
3214 | (description | |
3215 | "GUsb is a GObject wrapper for libusb1 that makes it easy to do | |
3216 | asynchronous control, bulk and interrupt transfers with proper cancellation | |
3217 | and integration into a mainloop. This makes it easy to integrate low level | |
3218 | USB transfers with your high-level application or system daemon.") | |
3219 | (license license:lgpl2.1+))) | |
0abe1d86 AW |
3220 | |
3221 | (define-public simple-scan | |
3222 | (package | |
3223 | (name "simple-scan") | |
3224 | (version "3.17.4") | |
3225 | (source (origin | |
3226 | (method url-fetch) | |
3227 | (uri (string-append "https://launchpad.net/simple-scan/" | |
3228 | (version-major+minor version) "/" | |
3229 | version "/+download/simple-scan-" | |
3230 | version ".tar.xz")) | |
3231 | (sha256 | |
3232 | (base32 | |
3233 | "1pslbv45g01g039zj2b01k08f763kkhzqw8wwz7yh27m7bjllnx6")))) | |
3234 | (build-system glib-or-gtk-build-system) | |
3235 | (inputs | |
3236 | `(("gtk" ,gtk+) | |
3237 | ("zlib" ,zlib) | |
3238 | ("cairo" ,cairo) | |
3239 | ("gdk-pixbuf" ,gdk-pixbuf) | |
3240 | ("gusb" ,gusb) | |
3241 | ("libgudev" ,libgudev) | |
3242 | ("libsane" ,sane-backends))) | |
3243 | (native-inputs | |
3244 | `(("intltool" ,intltool) | |
3245 | ("itstool" ,itstool) | |
3246 | ("colord" ,colord) | |
3247 | ("glib" ,glib "bin") ; glib-compile-schemas, etc. | |
3248 | ("pkg-config" ,pkg-config) | |
3249 | ("vala" ,vala))) | |
3250 | (home-page "https://launchpad.net/simple-scan") | |
3251 | (synopsis "Document and image scanner") | |
3252 | (description "Simple Scan is an easy-to-use application, designed to let | |
3253 | users connect their scanner and quickly have the image/document in an | |
3254 | appropriate format. Simple Scan is basically a frontend for SANE - which is | |
3255 | the same backend as XSANE uses. This means that all existing scanners will | |
3256 | work and the interface is well tested.") | |
3257 | (license license:gpl3+))) | |
7549f984 SB |
3258 | |
3259 | (define-public epiphany | |
3260 | (package | |
3261 | (name "epiphany") | |
3262 | (version "3.16.3") | |
3263 | (source (origin | |
3264 | (method url-fetch) | |
3265 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3266 | (version-major+minor version) "/" | |
3267 | name "-" version ".tar.xz")) | |
3268 | (sha256 | |
3269 | (base32 | |
3270 | "1cch4c7gh6lq1i4g0gs39qa2csl4i8a3pcdfapcj5v3r0xvz29ym")))) | |
3271 | (build-system glib-or-gtk-build-system) | |
3272 | (arguments | |
3273 | ;; FIXME: tests run under Xvfb, but fail with: | |
3274 | ;; /src/bookmarks/ephy-bookmarks/create: | |
3275 | ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf | |
3276 | ;; subsystem | |
3277 | ;; FAIL | |
3278 | '(#:tests? #f)) | |
80a747c4 SB |
3279 | (propagated-inputs |
3280 | `(("dconf" ,dconf))) | |
7549f984 SB |
3281 | (native-inputs |
3282 | `(("intltool" ,intltool) | |
3283 | ("itstool" ,itstool) | |
3284 | ("pkg-config" ,pkg-config))) | |
3285 | (inputs | |
3286 | `(("avahi" ,avahi) | |
3287 | ("gcr" ,gcr) | |
3288 | ("glib-networking" ,glib-networking) | |
3289 | ("gnome-desktop" ,gnome-desktop) | |
3290 | ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) | |
3291 | ("iso-codes" ,iso-codes) | |
3292 | ("libnotify" ,libnotify) | |
3293 | ("libsecret" ,libsecret) | |
3294 | ("libwnck" ,libwnck) | |
3295 | ("libxslt" ,libxslt) | |
3296 | ("nss" ,nss) | |
3297 | ("sqlite" ,sqlite) | |
3298 | ("webkitgtk" ,webkitgtk))) | |
3299 | (home-page "https://wiki.gnome.org/Apps/Web") | |
3300 | (synopsis "GNOME web browser") | |
3301 | (description | |
3302 | "Epiphany is a GNOME web browser targeted at non-technical users. Its | |
3303 | principles are simplicity and standards compliance.") | |
3304 | (license license:gpl2+))) | |
a3856b2c SB |
3305 | |
3306 | (define-public d-feet | |
3307 | (package | |
3308 | (name "d-feet") | |
3309 | (version "0.3.10") | |
3310 | (source (origin | |
3311 | (method url-fetch) | |
3312 | (uri (string-append "mirror://gnome/sources/" name "/" | |
3313 | (version-major+minor version) "/" | |
3314 | name "-" version ".tar.xz")) | |
3315 | (sha256 | |
3316 | (base32 | |
3317 | "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48")))) | |
3318 | (build-system glib-or-gtk-build-system) | |
3319 | (arguments | |
3320 | '(#:out-of-source? #f ; tests need to run in the source directory. | |
3321 | #:phases | |
3322 | (modify-phases %standard-phases | |
3323 | (add-before | |
3324 | 'check 'pre-check | |
86aff791 | 3325 | (lambda _ |
a3856b2c SB |
3326 | ;; The test suite requires a running X server. |
3327 | (system "Xvfb :1 &") | |
3328 | (setenv "DISPLAY" ":1") | |
3329 | ;; Don't fail on missing '/etc/machine-id'. | |
3330 | (setenv "DBUS_FATAL_WARNINGS" "0") | |
3331 | ;; tests.py and window.py don't meet E402: | |
3332 | ;; E402 module level import not at top of file | |
3333 | (substitute* "src/tests/Makefile" | |
86aff791 MW |
3334 | (("--ignore=E123") "--ignore=E123,E402")) |
3335 | #t)) | |
a3856b2c SB |
3336 | (add-after |
3337 | 'install 'wrap-program | |
3338 | (lambda* (#:key outputs #:allow-other-keys) | |
3339 | (let ((prog (string-append (assoc-ref outputs "out") | |
3340 | "/bin/d-feet"))) | |
3341 | (wrap-program prog | |
3342 | `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) | |
86aff791 MW |
3343 | `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) |
3344 | #t)))))) | |
a3856b2c SB |
3345 | (native-inputs |
3346 | `(("intltool" ,intltool) | |
3347 | ("itstool" ,itstool) | |
3348 | ("pkg-config" ,pkg-config) | |
3349 | ("python-pep8" ,python-pep8) | |
3350 | ("xmllint" ,libxml2) | |
3351 | ("xorg-server" ,xorg-server))) | |
3352 | (inputs | |
3353 | `(("gobject-introspection" ,gobject-introspection) | |
3354 | ("gtk+" ,gtk+) | |
3355 | ("python" ,python-wrapper) | |
3356 | ("python-pygobject" ,python-pygobject))) | |
3357 | (home-page "https://wiki.gnome.org/Apps/DFeet") | |
3358 | (synopsis "D-Bus debugger") | |
3359 | (description | |
3360 | "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces | |
3361 | of running programs and invoke methods on those interfaces.") | |
3362 | (license license:gpl2+))) |