Motivation:
MSN Messenger, which supports video chats, is the killer application
among Deaf persons, which keeps them loyal to MS-Windows.
To have them switch to Linux, an alternative is needed.

The version of Kopete installed in Debian Sarge (version 0.9.2, compiled
under Qt 3.3.4 and KDE 3.3.2) does not support video.
The most recent version of Kopete (version 0.12.2) does support video.

System:
Vanilla Debian Sarge, adulterated by installation of mplayer from
another source.

Procedure:
The source code tarball (kopete-0.12.2.tar.bz2, 5 311 478 bytes long)
was downloaded from a mirror site reachable from http://kopete.kde.org/
(To compile Kopete, you need at least 120MB free disk space - the source
tree after a full make occupies 118MB!)

After unpacking the tarball, do:
cd $(PARENT_DIRECTORY)/kopete-0.12.2
/configure --prefix $(HOME)/bin/kde --program-suffix=.0.12.2

Then, do:
export KDEDIRS=$(HOME)/bin/kde:/usr

Now, you have to solve the V4L2_STD_SECAM_DK problem.  This is a symbol,
which causes the make process to fail because it is not #defined.
Google (for example,
http://www.ubuntuforums.org/archive/index.php/t-223807.html) has
misleading information about this.  If you follow their advice,
compilation will subsequently fail.

The correct fix to the problem is to #define the above symbol.
In more recent versions of Linux kernels, this symbol is #defined
in /usr/include/linux/videodev2.h (explained in
http://v4l2spec.bytesex.org/spec/r5877.htm).

Fortunately, this symbol is OR of three symbols, which are already
defined for kernel 2.6.8 (the standard Debian Sarge kernel).

The safest way to perform the fix is to edit the Kopete header file:
kopete-0.12.2/kopete/libkopete/avdevice/videodevice.h
by adding the following:
#define V4L2_STD_SECAM_DK (V4L2_STD_SECAM_D | \
        V4L2_STD_SECAM_K | V4L2_STD_SECAM_K1)
immediately after the line having #include <linux/videodev.h>

Once you have edited this file, return to ./kopete-0.12.2 and follow the
standard make; make check; make install
(make check runs very fast - apparently there are no real tests.)

After compilation, arrange for $(HOME)/bin/kde/bin/kopete.0.12.2 to
always run with KDEDIRS=/home/omer/bin/kde:/usr in its environment (I
accomplished this by running it from a small script; if you want, you
may add the setenv command to your .bashrc or .cshrc).

In my system, the new Kopete ran with the configuration files of the
previous Kopete without special problems.  It was, however, very
sluggish until I turned off spellchecking (Settings/Configure
Kopete/Behavior/Chat - uncheck "Enable automatic spell checking").

                                          --- Omer
-- 
In civilized societies, captions are as important in movies as
soundtracks, professional photography and expert editing.
My own blog is at http://tddpirate.livejournal.com/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to