This directory contains the Gtk 1.2 libraries
needed to build the Lazarus Gtk 1.2 backend. They
should be usable out of the box.

The Gtk and Glib libraries were taken from Slackware
and have been patched to work.  The Gdk_Pixbuf library
was taken from an old Red Hat source RPM and may not
be the latest - but that is the one i could find and
after a few mods to fix compilation seems to work fine.
Lazarus doesn't really use it much anyway.

The libraries must be built in the order:

  glib
  gtk
  gdk_pixbuf

Building needs to be like

  LIBTOOL=/usr/bin/libtool ./configure --prefix=/usr/local ...etc...

    and

  make LIBTOOL=/usr/bin/libtool ...etc...

For gtk and gdk_pixbuf you *may* need to also use --with-glib-prefix=
and --with-gtk-prefix= (for the gdk_pixbuf) though i didn't had to
myself.

The libraries assume they'll be placed in a $prefix/lib directory so
if you are building for a multiarch distro you'll also need to specify
the --libdir=/path/to/arch/lib (e.g. in openSUSE for x86_64 builds i
had to use --libdir=/usr/local/lib64).

To make both 32bit and 64bit builds you'll need to pass CFLAGS=-m32
to both configure and make as well as

  export PKG_CONFIG_PATH=/path/to/arch/lib/pkgconfig 

before running them.

You may also have to make a missing symlink to a .so file though i
might misremembering that.

