GTK+-1.2.10

Introduction to GTK+

The GTK+ package contains GTK+ Libraries. This is useful for creating graphical user interfaces for applications.

Package Information

GTK+ Dependencies

Required

GLib-1.2.10, and X Window System

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gtk+

Installation of GTK+

Install GTK+ by running the following commands:

./configure --prefix=/usr --sysconfdir=/etc &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/gtk+-1.2.10/{html,text} &&
install -v -m644 docs/html/* /usr/share/doc/gtk+-1.2.10/html &&
install -v -m644 docs/text/* /usr/share/doc/gtk+-1.2.10/text

Command Explanations

--sysconfdir=/etc: This installs the configuration files into /etc instead of /usr/etc.

--with-xinput=xfree: This configuration flag is necessary to utilize alternative input devices.

Contents

Installed Program: gtk-config
Installed Libraries: libgdk.{so,a} and libgtk.{so,a}
Installed Directories: /etc/gtk, /usr/include/gtk-1.2, and /usr/share/themes

Short Descriptions

gtk-config

is a tool used by configure scripts to determine the compiler and linker flags that should be used to compile and link programs that use GTK+.

libgtk.{so,a}

(GIMP Tool Kit) is a library for creating graphical user interfaces similar to the Motif “look and feel”.

libgdk.{so,a}

is designed as a wrapper library that lies on top of Xlib. It performs many common and desired operations for a programmer instead of the programmer having to explicitly ask for such functionality from Xlib directly.

Last updated on 2007-04-04 14:42:53 -0500