]> Pileus Git - ~andy/gtk/blobdiff - INSTALL
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
[~andy/gtk] / INSTALL
diff --git a/INSTALL b/INSTALL
index cfacfc08ffe743c97a369352dabfdd0275aff2cb..96fab2061c477f8e5c0bfa88d34b73504261b48e 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,59 +1,39 @@
-The 'configure' script can be given a number of options to
-enable and disable various features. For a complete list,
-type:
-  ./configure --help
+Prerequisites
+=============
 
-*  --enable-xim            support XIM [default=yes]
+GTK+ requires the following packages:
 
-Specifying --disable-xim will disable support for entering
-internationalized text using X Input Methods. This will give
-some slight savings in speed and memory use and might be necessary
-with older versions of X.
+ - The GLib, Pango, ATK and cairo libraries, available at the same 
+   location as GTK+. GTK+ 2.10.1 requires at least GLib 2.12, 
+   Pango 1.13, ATK 1.9 and cairo 1.2.
 
-* --with-locale=LOCALE    locale name you want to use
+ - The TIFF, PNG, and JPEG image loading libraries. You most
+   likely have these installed on your system already. If not
+   these libraries are available from:
 
-The --with-locale options is used to determine if your operating
-system has support for the locale you will be using. If not, X's built
-in locale support will be used.
+    http://www.libtiff.org/
+    http://www.libpng.org/
+    http://www.ijg.org/
 
-Because of bugs in autoconf, it is necessary to specify this option
-even if your LANG environment variable is correctly set.
+Simple install procedure
+========================
 
-This option does not determine which locale GTK will use at
-runtime. That will be determined from the usual environment variables.
-If you will be using multiple locales with GTK, specify the one
-for which your operating system has the worst support for the 
---with-locale option.
+  % gzip -cd gtk+-2.10.1.tar.gz | tar xvf - # unpack the sources
+  % cd gtk+-2.10.1                        # change to the toplevel directory
+  % ./configure                                   # run the `configure' script
+  % make                                  # build GTK+
+  [ Become root if necessary ]
+  % make install                          # install GTK+
 
+The Details
+===========
 
-Notes for using XIM support for Japanese input
-----------------------------------------------
+Complete information about installing GTK+ and related libraries can be found 
+in the file:
 
-* There is a bug in older versions of kinput2 that will cause 
-GTK to hang when destroying a text entry. The latest versions
-of kinput is available from:
+ docs/reference/gtk/html/gtk-building.html
 
-  ftp://ftp.sra.co.jp/pub/x11/kinput2
-
-* The locale information file for the ja_JP EUC locale
-distributed with some recent versions of X11 specifies to
-use the C library multibyte functions. Unless your C library
-has support for Japanese locales, this is incorrect, and
-will cause problems for GTK's internationalization.
-
-(In particular, this occurs with GNU libc 2.0 and 2.1, in which the
-multibyte functions always translate to and from UTF-8; but the
-problem may occur for other C libraries, and other operating systems
-as well.)
-
-To fix this, change the line:
-
-use_stdc_env           True
-
-to 
-
-use_stdc_env           False
-
-in the file /usr/X11R6/lib/X11/locale/ja_JP/XLC_LOCALE.
+Or online at:
 
+ http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html