summaryrefslogtreecommitdiff
path: root/INSTALL.in
blob: 7a1dcec01e19dc3b1d0619d064b0be9e1268c368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Prerequisites
=============

GTK+ requires the following packages:

 - The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at
   the same location as GTK+. GTK+ @GTK_VERSION@ requires at least
   GLib @GLIB_REQUIRED_VERSION@, Pango @PANGO_REQUIRED_VERSION@,
   GdkPixbuf @GDK_PIXBUF_REQUIRED_VERSION@, ATK @ATK_REQUIRED_VERSION@
   and cairo @CAIRO_REQUIRED_VERSION@.

 - libepoxy, for cross-platform OpenGL support.
   It can be found here: https://github.com/anholt/libepoxy

 - Each GDK backend has its own backend-specific requirements. For
   the X11 backend, X11 R6 and XInput version 2 (as well as a number
   of other extensions) are required. The Wayland backend requires
   (obviously) the Wayland libraries.

 - gobject-introspection @INTROSPECTION_REQUIRED_VERSION@ or newer.

Simple install procedure
========================

  % tar xf gtk+-@GTK_VERSION@.tar.xz          # unpack the sources
  % cd gtk+-@GTK_VERSION@                     # change to the toplevel directory
  % ./configure                        # run the `configure' script
  % make                               # build GTK+
  [ Become root if necessary ]
  % make install                       # install GTK+

The Details
===========

Complete information about installing GTK+ and related libraries
can be found in the file:

 docs/reference/gtk/html/gtk-building.html

Or online at:

 http://library.gnome.org/devel/gtk/stable/gtk-building.html