           SPELL=gtk-server
         VERSION=2.3.1-sr
          SOURCE="${SPELL}-${VERSION}.tar.gz"
   SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/${SPELL}/${SOURCE}
     SOURCE_HASH=sha512:c8f23342b6431f4cc3fdbe67de8ee6e9392777a5380b77fc93370b641147a35e7ee69c14dc938cd18ff30d6a106460c904bd23f79cc19e6c593b992d203079ff
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
        WEB_SITE="http://www.gtk-server.org/"
      LICENSE[0]=GPL
         ENTERED=20090303
           SHORT="a stream-oriented interface to the GTK libraries"
cat << EOF
This is the homepage of the GTK-server. The GTK-server is a free, open-source
project, which offers a stream-oriented interface to the GTK libraries,
enabling access to graphical user interfaces for shellscripts and interpreted
programming languages using either GTK 1.x or 2.x. It was inspired by Sun's
DeskTop KornShell (dtksh) of the Common Desktop Enviroment (CDE) for Unix.

Currently the following languages have been tested successfully with the
GTK-server:

    * KSH * AWK * BASH * ZSH * Tcl * Rebol * Scriptbasic * Prolog * Python *
    newLISP * CLISP * Cshell * VB script * PHP * Yabasic * Perl * Ash (Created
    by Kenneth Almquist, no homepage) * Ruby * Icon * Logo * Bas * Expect *
    S-Lang * Lua * Scheme (also with Bigloo) * Rexx * CINT * PostScript *
    Forth * PowerBasic (also with FreeBASIC) * Octave * MOLE Basic * Pawn *
    D * VIM script language * Fish * Steel Blank Common Lisp * M4 * CMUCL *
    Euphoria * GNU Smalltalk * Chipmunk Basic * picoLisp * Furthermore I
    have received success story's with Squeak, Erlang and Syp Script (no
    demoscript on this site).

How does it work? The GTK-server can be compiled as a standalone binary,
which is able to communicate by a message queue, a 2-way pipe, a named pipe
or by a TCP/UDP port. The script invokes this binary, sets up a queue, pipe
or a TCP/UDP connection and prints the GTK call in plain text to the queue,
pipe or socket. The GTK-server then sends information back which can be used
in the program or script.

Instead, the GTK-server also can be compiled as a shared object or DLL,
from which the function 'gtk' can be imported. This function accepts GTK
calls as a plain text argument.

There is also a configuration file, in which the user of the GTK-server must
describe the API call he wants to invoke. In the configfile every API call must
be defined; the type of callback signal must be set, the return value, the
number of arguments and the type of these arguments. If you are not familiar
with the GTK API, you can download a default configfile from this place.

The configfile also defines which GTK libraries should be used. Next to the
regular GTK libraries any library can be specified, like Glade, GtkMozEmbed,
GtkGlArea, GtkGlExt, but also libc, libmikmod and so on!
EOF
