[Kwintv] Suggestion: CVS snapshot(s) / New release

Michael Reiher kwintv@mail.kde.org
Mon, 15 Apr 2002 01:05:30 +0200


Stefan Hellwig wrote:
> 
> Well, the version in the KDE_2_2_BRANCH is actually meant for KDE2.
> However, as far as I can recall, that version has also been ported to KDE3
> (which shouldn't have happened). Since I've switched to KDE3 already
As my aim was to stay compatible with KDE2 I ifdefed the relevant parts so
KDE_2_2_BRANCH kwintv  should compile with both Qt/KDE 2 _and_ 3. 

However as I just discovered this isn't entirely true. See below. 

> I can't test right now whether the version in the KDE_2_2_BRANCH would
> still run on KDE2, it would be great if someone could test this and report
> the results.
Ok, I took the code from the KDE_2_2_BRANCH and checked it. Functionality wise
the only difference to HEAD is the change of the default video device to
/dev/video0.

There is a problem with the Makefile however. Because of the kfile move a KDE2
version needs to link against libkfile while a KDE3 version needs to link
against libkio. The latter is the way it is currently in KDE_2_2_BRANCH CVS. So
in fact is doesn't compile with KDE2. I don't know how to make that portable.
The only solution would be to add some configure switch --with-kde3, but I've
no clue how to do that. So changing it back to libkfile is probably the easiest
solution, as we have a separate KDE3 branch(HEAD) now.

I changed those things and it compiles and run fine against KDE2 now. I
committed that to CVS. So it's now KDE2 -> KDE_2_2_BRANCH and KDE3 -> HEAD.

I think it certainly makes sence to have another release of current CVS for
both KDE2 and 3(that would be two different tarballs because of the above
problem). However I have no clue how this is done. But if someone(George?)
would tell me I could do it.

Greets

Michael