
Kopete Reloading Kit
Source (link to git-repo or to original if based on someone elses unmodified work):
Available as/for:
Description:I have been contacted by member of the kopete development staff that asked me many questions. Since I can read in the comment some of those questions, I'll try to answer as fully as I can.
Kopete developer asked me whether I would like to develop this patch in the svn branch of kopete and port it to QT4. I must confess this eventuality is attracting, I should however work a little more on that patch before giving an answer. Furthermore my knowledge about differences between QT4 and QT3 is somewhere near zero.
A second question, much more interresting, is the evolution of the patch. I must admit this patch does not please me much. While it's much easier to theme kopete contact list by modifying a set of images it's not that configurable. It's still impossible to add a static text here, an image there,... There must be something further the current bitmap solution. I've thus looked for adium xtras contact list theme since it looks as a gigantic themes supply. I might be a little rude, but what I saw didn't convince me at all... There is no way you can build a theme like the one I made with adiumxtras (I may be wrong so please tell me if it's the case). I've then decided to implement an xml theming language that would give to the user complete freedom to build the theme he/she wants.
While the aim of the first development step was to touch as little existing source code as possible, the next step certainly will need a major rewrite of existing code portions.
To the adium fans' attention, I believe it'll be possible to realize a script converting adium to kopete theme. So don't despair...
As a last word, an option to colorize the grey images with the current color theme may be added.
2006-12-13 -- First Release
First release, with skin, patch and a readme explaining howto install it...
2006-12-08 -- Introduction
I everybody, there I am, back and fully alive... Almost a year since I delivered my last version of Yakuake.
My new goal is to improve Kopete GUI. Except its cool styling feature, Kopete hasn't visually changed a lot for months...
You can see in the screenshot, the current result of my attempts to refresh the contact list visual aspect.
The aim of that project is to provide to the Kopete users a pack of well made patches that will give them the ability to customize their favorite IM client without having to write a single line of C++.
Everything will be stored as bitmaps, which means everyone will be able to create its own theme, you'll only need Gimp and a few minutes of patience...
The screenshot you can see isn't a mockup but what is currently displayed on my computer, I'll try to improve it before releasing a first pack.
NOTICE : As a patch archive, you'll have to fully compile kopete source code in order to benefit from these functionalties...
EVOLUTION STEPS
1/ realize a functional theming language based on xml
2/ integrate theming ability to current version of kopete
3/ add colorizing functionality
4/ port the patch to QT4 for further developments
Ratings & Comments
39 Comments
Missed out the lines in the last post. #ifndef __s64 //required by videodev.h #define __s64 __signed__ long long #endif // __s64
This worked for me. 1)After you untar the souce, cd to the following directory: vim kopete/libkopete/avdevice/videodevice.h 2)In the file, search for #include <asm/types.h> Just below that, add the following lines and recompile the same source. HTH
Hi, the patch doesn't work for kopete from KDE 3.5.8. Could you please commit an update. Thank you!
hmm??? I've just compiled kopete 3.5.8 with this patch on desktop which, BTW, runs Gentoo. If this site supports PM, contact me and I'll send you the patch and image files. Anyway, I'd like a .deb for kubuntu 7.10. Does anyone know where can I get it? Thanks, Norberto
What does the patch do? Change the look of the buddy list?
elusive, i get same error :(
Why do you think XML-based functional language is the way to go for theming engine? Especially when KDE4 seems to have a nice ECMAScript (aka JavaScript) interpreter available.
Hi, just want to ask if it's possible to apply this patch to Kopete SVN (can you tell how) ? Using Mandriva 2007.1 with KDE 3.5.7
Hi, I get this error message while compiling: perhabs someone can build a .deb? Error: /usr/include/linux/videodev2.h:744: error: '__s64' does not name a type videodevice.cpp: In member function 'int Kopete::AV::VideoDevice::selectInput(int)': videodevice.cpp:752: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'int Kopete::AV::VideoDevice::setInputParameters()': videodevice.cpp:798: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getBrightness()': videodevice.cpp:1294: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setBrightness(float)': videodevice.cpp:1317: warning: converting to '__u16' from 'float' videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getContrast()': videodevice.cpp:1332: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setContrast(float)': videodevice.cpp:1355: warning: converting to '__u16' from 'float' videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getSaturation()': videodevice.cpp:1370: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setSaturation(float)': videodevice.cpp:1393: warning: converting to '__u16' from 'float' videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getWhiteness()': videodevice.cpp:1408: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setWhiteness(float)': videodevice.cpp:1431: warning: converting to '__u16' from 'float' videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getHue()': videodevice.cpp:1446: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setHue(float)': videodevice.cpp:1469: warning: converting to '__u16' from 'float' videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::getAutoBrightnessContrast()': videodevice.cpp:1485: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::setAutoBrightnessContrast(bool)': videodevice.cpp:1494: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::getAutoColorCorrection()': videodevice.cpp:1506: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::setAutoColorCorrection(bool)': videodevice.cpp:1515: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::getImageAsMirror()': videodevice.cpp:1526: warning: comparison between signed and unsigned integer expressions videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::setImageAsMirror(bool)': videodevice.cpp:1535: warning: comparison between signed and unsigned integer expressions make[4]: *** [videodevice.lo] Fehler 1 make[4]: Leaving directory `/home/jan/kopete-0.12.2/kopete/libkopete/avdevice' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/jan/kopete-0.12.2/kopete/libkopete' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/home/jan/kopete-0.12.2/kopete' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/jan/kopete-0.12.2' make: *** [all] Fehler 2
i get same error
i comment 744 line in /usr/include/linux/videodev2.h and compiled kopete and when i go to Apperance in config dialog kopete is crashing. Output in konsole: ... kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 9757 has color darkcyan kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 9757 has color darkcyan kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 5867 has color darkgreen kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 5867 has color darkgreen kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 9757 has color darkcyan kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 9757 has color darkcyan kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] Map Action message to Status template. kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 9757 has color darkcyan kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 9757 has color darkcyan kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 5867 has color darkgreen kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 5867 has color darkgreen kopete: [void AppearanceConfig::slotLoadChatStyles()] Warning, available styles is empty ! KCrash: Application 'kopete' crashing... X Error: BadWindow (invalid Window parameter) 3 Major opcode: 7 Minor opcode: 0 Resource id: 0x2600053 Sorry for my bad english ;)
It'll would be great to see this type of hack in kmenu to make it skinable.
And what about kbfx?
kbfx sucks. it's slow. doesn't update until you restart it flicks. etc...
kbfx sux. KMenu button can use tiles to change the look, like in Ekaaty Linux. We need only background support to make it skinnable. But this is other history...
i`m not adept of english, but adium themes are xml files too, why you can`t use them and need to create new xml themes style?
Patch seems to contain autogenerated Makefile.in files. Best is patching SVN and getting the patch with svn diff. Anyway screenshot looks very nice indeed.
Really nice work. But it looks like the "real" works lies in the future - I look forward to see this implanted in Kopete. Someone commented about showing e-mail addresses for your MSN contacts, is that possible with themes?
This is very nice :-) I have tried to prepare some ebuild for gentoo people but I don't know hot to deal with space in the filename :-(
Thank you very much for this patch. Kopete looks much more better :). Works great under Gentoo/amd64 using kopete 3.5.5. Here is a screenshot from my desktop: http://pcaudit.sk/kopete.png
Do you have an ebuild for that? Standard kopete ebuild plus the patch... Thanks!
I have it but it is not nice as I don't know how to deal with space in filename to be downloaded. I can send it to you. If you want it contact me by email.
I do have it, but I have to write the part about the images. The ebuild just patch the sources and install it. You have to copy the images manually, but if you want to, you can download it from http://linuxsoft.sk/kopete-menu.tar.bz2
Many thanks... I'll try it tonight.
Well, as the author of kopete doesn't want to, why don't develop a plugin able to use adium styles for contact lists? This would give a good number of themes to kopete (as already happens for smileys). I'd do it, if I knew how to... Very nice job however, this is a step forward in kopete interface! (sorry for my english)