#--> INSTALL file for Silky 0.5.x.

* NOTE! You must have SILC toolkit version 0.9.12 installed(!)
before attempting build Silky.

  The configure script detects the location of SILC libraries
automatically, unless you provide the location for it.
This is usually required for Win32 build.
Use --silc-prefix=/path/to/silc if you have SILC libraries
installed in an uncommon location.

  You can also run compiled Silky binary in the build directory
by invoking: src/silky

  Silky saves its config files and keys into ~/.silky/ in Linux.


* LINUX build:

 $ ./configure [--enable-debug]
 (or run ./autogen.sh --enable-debug if building the CVS version)
 $ make
 [ make install]


* Win32 build:

Download and install the GTK+ package, SILC Toolkit and run Silky's installer,
in this order!

As of version 0.3.1, Silky's Win32 package doesn't contain GTK+
libraries.  You must install GTK+ from the official package.

GTK+ Runtime Environment for Win32 can be downloaded from:
 http://www.dropline.net/gtk/download.php

* Building the SILC Toolkit 0.9.12 for Win32:

$ sh configure --host=i386-mingw32 --without-libtoolfix \
  --without-irssi --without-silcd --with-pthreads=no \
  --prefix=/cross/silc-win32-dev --with-win32 \
  CC=mingw-gcc LD=mingw-ld RANLIB=mingw-ranlib --disable-asm

Silky stores its configuration files and keys normally into
C:\documents and settings\username\silky\ -directory.
In Win98 the folder is C:\silky\

User directories are not removed when uninstalling Silky.


The Windows version of Silky is released as an Inno Setup executable
package.

 We have built Silky in Linux with MinGW, and it works.
 The released binaries are built this way too.
 
 Assuming you have Win32 GTK-devel files in "/cross/gtk-dev"
 and Win32 SILC-devel files in "/cross/silc-devel"

(if building from released sources:)
 

$ sh configure --with-gtk-prefix=/cross/gtk-win32-dev \
   --with-silc-includes=/cross/silc-win32-dev/include/ \
   --with-silc-libs=/cross/silc-win32-dev/lib/ \
   --target=i386-pc-mingw32 --host=i386-pc-mingw32 --with-win32 \
   CC=mingw-gcc LD=mingw-ld --with-included-gettext --enable-debug
 
(if building from the CVS version:)
   $ sh autogen.sh --with-gtk-prefix=/cross/gtk-win32-dev \
     --with-silc-includes=/cross/silc-win32-dev/include/ \
     --with-silc-libs=/cross/silc-win32-dev/lib/ \
     --target=i386-pc-mingw32 --host=i386-pc-mingw32 --with-win32 \
     CC=mingw-gcc LD=mingw-ld --with-included-gettext --enable-debug

 $ make

 NOTE! If you get an error about missing silcdefs.h, do something
 like this:
 $ cp /src/silc-toolkit-0.9.12/includes/silcdefs.h \
 /cross/silc-win32-dev/include/

 There is neither 'make dist' nor 'make install' for Win32 build
 at the moment.


# you'll have src/silky.exe

#--> End of INSTALL file for Silky 0.5.x.
