sanalmadatheth August 14th, 2010
The students of VHSS IRIMPANAM had recently given a Malayalam
interface to Tuxpaint.The localization camp was held in the last week
of May this year.Some among the Free Software community had suggested
some changes in its translation and it is done.So it is the right time
to publish the changed file and write a howto on the installation of
the localized version of Tuxpaint.
1.Download the ml.po file and tuxpaint-ml.patch file attached below.
(it is in a compressed form you have to uncompress it)
ml.po and tuxpaint-ml.patch
2.open a terminal either by right clicking or through
Applications >> Accessories >> Terminal.
Execute the following to download the source code of Tuxpaint
wget http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.21.tar.gz?download
3.Execute the following command to uncompress the downloaded Tuxpaint-0.9.21.tar.gz
tar -zxvf tuxpaint-0.9.21.tar.gz
4.Apply the tuxpaint-ml.patch (run the patch program outside the
extracted tuxpaint directory by executing the following command)
patch -p0 < tuxpaint-ml.patch
5.Copy the ml.po file to tuxpaint-0.9.20/src/po/
6.Delete the harp.wav audio file from tuxpaint-0.9.21/data/sounds/harp.wav
And download the harp.zip file from here and
extract it with archive manager and
you will get the audio file ‘harp.wav’,
and copy that to the same location.(tuxpaint-0.9.21/data/sounds/harp.wav)
7.Delete the title-tuxpaint.png and title-tuxpaint-2x.png from tuxpaint-0.9.21/data/images/
And copy the title-tuxpaint.png image from below to the same location
Rename the file as title-tuxpaint-2x.png.
Copy the image once more to the same location as title-tuxpaint.png.
Now the two deleted image files are replaced there.

splash-image of tuxpaint
8.Now we have to compile the source code of Tuxpaint.
To compile Tuxpaint you need the following packages.
You can install it either through synaptic package manager
or through the terminal by executing the following command as root
apt-get install package-name (give the names of the packages, separating
each name with a whitespace).
The required packages for Tuxpaint compilation and installation are
gcc
libgdk-pixbuf-dev
libcairo2-dev
librsvg2-dev
libxml2-dev
libpaper-dev
libpng12-dev
libsdl-pango-dev
libsdl-mixer1.2-dev
libsdl-ttf2.0-dev
libsdl-image1.2-dev
libfribidi-dev
gettext
After installing the above packages go to the tuxpaint directory (tuxpaint-0.9.21)
.If you are in home directory and if the tuxpaint-0.9.21 directory is there execute the command
cd tuxpaint-0.9.21/
Then execute the command
make
You have to wait till the process is over.Now we have to install it.
For that you have to login as root.To become root run the command
su
It will ask you for the password and give it there and now we can install it with
make install
Wait until it is installed.
Now we have to create a launcher on Desktop,
so we can open Tuxpaint by clicking on the launcher icon.
My launcher file is given below.Open gedit or any other such text
editor and copy it there and name the file as
‘tuxpaint-malayalam.desktop’and keep the file on Desktop.
(The lines above and below do not belong to the file.)
—————————————————————————-
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=tuxpaint-malayalam
Type=Application
Exec=/usr/local/bin/tuxpaint –lang malayalam
Comment=tuxpaint-malayalam
Icon=/home/sanal/tux.png
Name[en_IN]=tuxpaint-malayalam
—————————————————————————–
The entry in the file says that I have an image file named tux.png
and it is kept in my home directory and it should be used as the desktop icon for Tuxpaint.
You can either use another image file in the same location or ignore it.
If you have to use another location you have to specify the path in the file.
The name also can be changed if you wish.
You can also download the stamps for tuxpaint from here.
So you can use flowers of Kerala as stamps in Tuxpaint.
This was a project done earlier by the students.Download the compressed file.
Make .tuxpaint (dot-tuxpaint) directory in your home and
copy the uncompressed folder ’stamps’ into it.A detailed howto in Malayalam is here.
Now click on the desktop icon and enjoy yourself.