gnu: gettext: Upgrade to 0.18.3.
[jackhill/guix/guix.git] / gnu / packages / gtk.scm
CommitLineData
3a08a411
AE
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages gtk)
20 #:use-module ((guix licenses)
21 #:renamer (symbol-prefix-proc 'license:))
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
6131c43d
AE
25 #:use-module (gnu packages compression)
26 #:use-module (gnu packages fontutils)
27 #:use-module (gnu packages ghostscript)
3a08a411 28 #:use-module (gnu packages glib)
a2609b41 29 #:use-module (gnu packages icu4c)
6131c43d
AE
30 #:use-module (gnu packages libpng)
31 #:use-module (gnu packages pdf)
32 #:use-module (gnu packages pkg-config)
33 #:use-module (gnu packages python)
34 #:use-module (gnu packages xorg))
3a08a411
AE
35
36(define-public atk
37 (package
38 (name "atk")
39 (version "2.8.0")
40 (source (origin
41 (method url-fetch)
42 (uri (string-append "mirror://gnome/sources/atk/2.8/atk-"
43 version ".tar.xz"))
44 (sha256
45 (base32
46 "1x3dd3hg9l1j9dq70xwph13vxdp6a9wbfcnryryf1wr6c8bij9dj"))))
47 (build-system gnu-build-system)
48 (inputs `(("glib" ,glib)
49 ("pkg-config" ,pkg-config)))
50 (synopsis "GNOME accessability toolkit")
51 (description
52 "ATK provides the set of accessibility interfaces that are implemented
53by other toolkits and applications. Using the ATK interfaces, accessibility
54tools have full access to view and control running applications.")
55 (license license:lgpl2.0+)
56 (home-page "https://developer.gnome.org/atk/")))
6131c43d
AE
57
58(define-public cairo
59 (package
60 (name "cairo")
61 (version "1.12.14")
62 (source (origin
63 (method url-fetch)
64 (uri (string-append "http://cairographics.org/releases/cairo-"
65 version ".tar.xz"))
66 (sha256
67 (base32
68 "04xcykglff58ygs0dkrmmnqljmpjwp2qgwcz8sijqkdpz7ix3l4n"))))
69 (build-system gnu-build-system)
70 (propagated-inputs
71 `(("fontconfig" ,fontconfig)
72 ("freetype" ,freetype)
73 ("glib" ,glib)
74 ("libpng" ,libpng)
75 ("libx11" ,libx11)
76 ("libxext" ,libxext)
77 ("libxrender" ,libxrender)
78 ("pixman" ,pixman)))
79 (inputs
80 `(("ghostscript" ,ghostscript)
81 ("libspectre" ,libspectre)
82 ("pkg-config" ,pkg-config)
83 ("poppler" ,poppler)
84 ("python" ,python)
85 ("xextproto" ,xextproto)
86 ("zlib" ,zlib)))
87 (arguments
88 `(#:tests? #f)) ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
89 (synopsis "2D graphics library")
90 (description
91 "Cairo is a 2D graphics library with support for multiple output devices.
92Currently supported output targets include the X Window System (via both
93Xlib and XCB), Quartz, Win32, image buffers, PostScript, PDF, and SVG file
94output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.
95
96Cairo is designed to produce consistent output on all output media while
97taking advantage of display hardware acceleration when available
98eg. through the X Render Extension).
99
100The cairo API provides operations similar to the drawing operators of
101PostScript and PDF. Operations in cairo including stroking and filling cubic
102Bézier splines, transforming and compositing translucent images, and
103antialiased text rendering. All drawing operations can be transformed by any
104affine transformation (scale, rotation, shear, etc.)")
105 (license license:lgpl2.1) ; or Mozilla Public License 1.1
106 (home-page "http://cairographics.org/")))
a2609b41
AE
107
108(define-public harfbuzz
109 (package
110 (name "harfbuzz")
111 (version "0.9.18")
112 (source (origin
113 (method url-fetch)
114 (uri (string-append "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-"
115 version ".tar.bz2"))
116 (sha256
117 (base32
118 "026rlwspf1zn5akds9fwibpqpn47kmlnmqm5fi0cp4k4dnygpw7y"))))
119 (build-system gnu-build-system)
120 (inputs
121 `(("cairo" ,cairo)
122 ("icu4c" ,icu4c)
123 ("pkg-config" ,pkg-config)
124 ("python" ,python)))
125 (synopsis "opentype text shaping engine")
126 (description
127 "HarfBuzz is an OpenType text shaping engine.")
128 (license (license:x11-style "file://COPYING"
129 "See 'COPYING' in the distribution."))
130 (home-page "http://www.freedesktop.org/wiki/Software/HarfBuzz/")))
4b9adff9
AE
131
132(define-public pango
133 (package
134 (name "pango")
135 (version "1.34.1")
136 (source (origin
137 (method url-fetch)
138 (uri (string-append "mirror://gnome/sources/pango/1.34/pango-"
139 version ".tar.xz"))
140 (sha256
141 (base32
142 "0k7662qix7zzh7mf6ikdj594n8jpbfm25z8swz64zbm86kgk1shs"))))
143 (build-system gnu-build-system)
144 (inputs
145 `(("cairo" ,cairo)
146 ("harfbuzz" ,harfbuzz)
147 ("pkg-config" ,pkg-config)
148 ("zlib" ,zlib)))
149 (synopsis "GNOME text and font handling library")
150 (description
151 "Pango is the core text and font handling library used in GNOME
152applications. It has extensive support for the different writing systems
153used throughout the world.")
154 (license license:lgpl2.0+)
155 (home-page "https://developer.gnome.org/pango/")))