Kopete Emoticons Manager

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

This is a patch that include an emoticons theme manager into kopete so you can add edit and remove emoticons, you can also add custom emoticons that you receive during a chat by right clicking it

i've also used part of the code of the patch founded here http://rockman.altervista.org/?p=patches.php

in order to apply the patch you have to download kopete svn http://kopete.kde.org/svnaccess.php
and then from kopete directory something like .../kdenetwork/kopete you have to do "patch -p0 < /path/to/kopete.patch"

if you get errors like
undefined reference to `EmoticonsEditDialog::EmoticonsEditDialog(QWidget*, QString, char const*)'

try to to do make -f Makefile.cvs
Last changelog:

13 years ago

- Rewritten to use qdom instead of regexp, it should works much better!

bigli

13 years ago

What font and window decoration are you using in that screenshot?

Report

C

LeeSieLung

13 years ago

the font is called katana while the windeco is area51 for dekorator

Report

MerlinTC

13 years ago

It patched and compiled fine but when I try to change an already existing emoticon but when I press ok it isn't saved. Any idea why this happens?

I really would like to get this to work it's a great addition to kopete.

Report

C

LeeSieLung

13 years ago

if it's one of the default theme located in /usr/share/emoticons you can't edit it just copy it in your home directory should be something like ~/.kde/share/emoticons

Report

MerlinTC

13 years ago

Hi,

it is in my homedir in ~/.kde/share/emoticons/Animated and it the emoticons.xml is also writeable.
Any other ideas why it cannot be written.
Do your changes support debug output if I enable it?
I have the latest version from SVN.

Report

marseillai

13 years ago

i got the same problem my theme is here : /home/cyril/relookingDesktop/ultimanimated_v1.tar.gz but i can't change anything in it
The change doesn't apply

Report

marseillai

13 years ago

in fact I can remove an emoticon but i can't change shortcut.

Report

marseillai

13 years ago

after many test i've found those bug :
- fonction remove : don't remove only the concern emoticon from emoticons.xml file
- fonction rename don't do anything
i've look at your code and i really can't say any reason for those bugs but my c++ skills are poor

Report

ChaosWars

13 years ago

Can't solve this linker error :

.libs/kcm_kopete_appearanceconfig_la.all_cpp.o: In function `EmoticonsEditDialog::qt_invoke(int, QUObject*)':
kcm_kopete_appearanceconfig_la.all_cpp.cpp:(.text+0x1919): undefined reference to `EmoticonsEditDialog::slotAddClicked()'
kcm_kopete_appearanceconfig_la.all_cpp.cpp:(.text+0x1928): undefined reference to `EmoticonsEditDialog::slotEditClicked()'
kcm_kopete_appearanceconfig_la.all_cpp.cpp:(.text+0x193b): undefined reference to `EmoticonsEditDialog::slotOkClicked()'
kcm_kopete_appearanceconfig_la.all_cpp.cpp:(.text+0x194a): undefined reference to `EmoticonsEditDialog::slotRemoveClicked()'
.libs/kcm_kopete_appearanceconfig_la.all_cpp.o: In function `EditDialog::qt_invoke(int, QUObject*)':
kcm_kopete_appearanceconfig_la.all_cpp.cpp:(.text+0x198e): undefined reference to `EditDialog::btnIconClicked()'
.libs/kcm_kopete_appearanceconfig_la.all_cpp.o: In function `AppearanceConfig::editSelectedEmoticonTheme()':
kcm_kopete_appearanceconfig_la.all_cpp.cpp:(.text+0xcd3d): undefined reference to `EmoticonsEditDialog::EmoticonsEditDialog(QWidget*, QString, char const*)'
collect2: ld returned 1 exit status
make[3]: *** [kcm_kopete_appearanceconfig.la] Error 1
make[3]: Leaving directory `/usr/src/kdemod-kdenetwork-kopete/src/kdenetwork-3.5.6/kopete/kopete/config/appearance'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kdemod-kdenetwork-kopete/src/kdenetwork-3.5.6/kopete/kopete/config'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kdemod-kdenetwork-kopete/src/kdenetwork-3.5.6/kopete/kopete'
make: *** [all-recursive] Error 1

Report

C

LeeSieLung

13 years ago

strange problem try to do a make clean if you have already compiled kopete in the past or try to use the svn version

Report

neocore

13 years ago

How to install it??

Report

ChaosWars

13 years ago

You have to download the kdenetwork sources, then apply patch, then compile, then install. And its' a good idea to use your package manager to install the compiled sources. In Gentoo you could write an ebuild, in Arch you can write a PKGBUILD. Debian and derivatives using apt-get have a way to do it as well.

Report

chikko

13 years ago

excuse me for being such a newbie, but what is the exact patch command you're using for the file..?

thanks.. :)

Report

C

LeeSieLung

13 years ago

from kopete directory something like .../kdenetwork/kopete you have to do "patch -p1 < /path/to/kopete.patch"

Report

ChaosWars

13 years ago

You can now apply it to kde 3.5.6. Grab it from here:

http://www.facticius.net/files/kopete-emoticons-manager.patch

If you want to save me bandwidth (which would be nice :D ), overwrite the uploaded patch with this one. I'll see if funkyou over at the Archlinux forums (the maintainer of kdemod) will add this to his patchset.

Report

C

LeeSieLung

13 years ago

what's the difference in your patch? i can't see it at least in kopeteemoticons.h where you get the error

Report

ChaosWars

13 years ago

For some reason it wasn't applying against the sources for 3.5.6. There isn't much difference in that section of the source, except the 3.5.6 sources have some pared down comments in that section which prevented the patch from applying. I would have thought that it would succeed with some fuzzyness, but it didn't.

Report

ChaosWars

13 years ago

With the option patch -p0 run from the kdenetwork/kopete directory it gives the following output :

[root@warmachine kopete]# patch -p0 -i ../../54968-kopete.patch
patching file kopete/config/appearance/appearanceconfig_emoticons.ui
patching file kopete/config/appearance/appearanceconfig.cpp
patching file kopete/config/appearance/emoticonseditwidget.ui
patching file kopete/config/appearance/emoticonseditdialog.cpp
patching file kopete/config/appearance/Makefile.am
patching file kopete/config/appearance/appearanceconfig.h
patching file kopete/config/appearance/emoticonseditdialog.h
patching file kopete/chatwindow/chatmessagepart.cpp
patching file kopete/chatwindow/chatmessagepart.h
patching file libkopete/private/kopeteemoticons.cpp
patching file libkopete/private/kopeteemoticons.h
Hunk #1 FAILED at 131.
1 out of 2 hunks FAILED -- saving rejects to file libkopete/private/kopeteemoticons.h.rej


This applied against kdenetwork-3.5.6

Report

13 years ago

- Rewritten to use qdom instead of regexp, it should works much better!

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2
updated May 25 2007
added Mar 20 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0