Build xwprint


The Makefile used by xwprint require that gimptool is installed.
gimptool is a script which help for setting of the environment
for compiling of gimp add-on

login as root and type Coinfigure and after this is done
make install within a terminal window.

In special case you may have more than one version of gimp
on your system (e.g. developer version). In this case you have
to set the PATH variable so that the first directory searched
will be the directory containing the script gimptool for the
version to be compiled.

For example you may have a developer version installed under
the main directory /devel. /devel contain the subdirectory lib,
bin, share,... as for the main directory /usr or /usr/local
In this case enter PATH=/devel/bin:$PATH. After this you
can compile in the wanted environment and install xwprint
for this environment.

If all of this dont help you may use the few include files
that I have got from the gimp and copied to the directory
myGimpIncl. To do that you have to uncomment the line
#CFLAGS in the file Makefile.

===========================================================
Internationalization
===========================================================

The message "printed out" by xwprint can be outputed in
your language. The file xwprintrc contain message in the
german, english and french langzage. further message may
be added.

xw_print look for the environment variable LANG and then
LC_CTYPE. If these variable are set the  first 2 letters
are taken as language (en = english, de = german, fr = french).
output will be taken in the detected language.
If no language known is detected, english remain the default.

Adding of a new language require only editing of the file
xwprintrc and copying it to ~/.gimp/xwprintrc.

You may also copy xwprintrc to $prefix/usr/share/gimp where
prifix may be /usr, /usr/local or an other location in your
systems.

The line "#LANG: de" must be commented out and de is to be replaced
with a free 2 character word. Each message is recognized by the
language word and a symbolic name. You have only to declare
the new language specific messages and translate all with
the wanted text.



