GTK+-2.10.13

Introduction to GTK+

The GTK+ package contains GTK+ libraries. These are useful for creating graphical user interfaces for applications.

Package Information

GTK+ Dependencies

Required

cairo-1.4.14, Pango-1.16.4, and ATK-1.18.0

Recommended

Though not required, the GTK developers expect libtiff and libjpeg to be installed. Other packages also expect GTK+-2 to be built with support for these graphics packages as well.

Optional

CUPS-1.2.12, GTK-Doc-1.8, and DocBook-utils-0.6.14

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

Installation of GTK+

Install GTK+ by running the following commands:

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

To test the results, issue: make check. Note that you must run the tests from a session with X Window Display capability (i.e., not a text-based terminal/console) as the tests attempt to open an X window.

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/gtk+-2.10.13/{faq,tutorial} &&
cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.10.13/faq &&
cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.10.13/tutorial &&
install -v -m644 docs/*.txt /usr/share/doc/gtk+-2.10.13

Command Explanations

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

--enable-gtk-doc: This switch will rebuild the API documentation during the make command. Ensure you really want to rebuild this documentation (and end up with what is already shipped in the source tree) as it takes a very long time.

--without-libtiff: Use this switch if you don't have libtiff installed.

--without-libjpeg: Use this switch if you don't have libjpeg installed.

Contents

Installed Programs: gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-demo, gtk-query-immodules-2.0, and gtk-update-icon-cache
Installed Libraries: libgdk_pixbuf-2.0.so, libgdk-x11-2.0.so, libgtk-x11-2.0.so, libgdk_pixbuf_xlib-2.0.so, and numerous engine, module, and loader plugins
Installed Directories: /etc/gtk-2.0, /usr/include/gtk-2.0, /usr/lib/gtk-2.0, /usr/share/doc/gtk+-2.10.13, /usr/share/gtk-2.0, /usr/share/gtk-doc/html/{gdk,gdk-pixbuf,gtk}, /usr/share/themes/Default/gtk*, /usr/share/themes/Emacs and /usr/share/themes/Raleigh

Short Descriptions

gdk-pixbuf-csource

generates C code containing images, useful for compiling images directly into programs.

gdk-pixbuf-query-loaders

collects information about loadable modules for gdk-pixbuf and writes it to standard output.

gtk-query-immodules-2.0

collects information about loadable input method modules for GTK+ and writes it to standard output.

gtk-update-icon-cache

creates mmap()able cache files for icon themes.

GTK+ Libraries

provide an API to implement graphical user interfaces.

Last updated on 2007-06-30 10:54:25 -0500