Bug 207950

Summary: use commonly shared location for Adium styles
Product: [Unmaintained] kopete Reporter: Matej Cepl <mcepl>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: mattr, xclaesse
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Unspecified   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Matej Cepl 2009-09-20 10:52:50 UTC
Version:            (using KDE 4.3.1)
Installed from:    Fedora RPMs

As far as I know there are three IM open source clients supporting Adium theme styles: kopete, empathy, and pidgin with pidgin-webkit plugin (I think there are some less known ones, but I don't know about them exactly). It would be awfully nice if all of them used one location for these styles, so that exactly same styles don't have to be on the disk multiple times.

Currently it seems that these clients look for styles at

kopete ... $PREFIX/kde4/apps/kopete/styles
empathy ... $PREFIX/share/adium/message-styles
pidgin-webkit ... $PREFIX/share/purple/message_styles

(and its $HOME and /usr/local equivalents, at least kopete and empathy should be able to look in all three locations).

It seems to me that from these the Empathy location looks like the most sensible and the least program-specific one, so I would suggest it to be central location for Adium compatible styles.

Would it be possible that your program would also look for (in addition to your current location) for Adium compatible styles in (in this order) /usr/local/share/adium/message-styles, /usr/share/adium/message-styles and $HOME/.local/share//adium/message-styles ?

Thank you
Comment 1 Xavier Claessens 2009-09-20 11:02:58 UTC
Note that Empathy uses standard XDG locations for the $PREFIX. I search in $XDG_DATA_HOME and $XDG_DATA_DIRS. You can get those dirs using g_get_user_data_dir() and g_get_system_data_dirs()
Comment 2 Xavier Claessens 2009-09-20 11:04:00 UTC
Outch, of course those functions comes from GLib, but I guess Qt have similar function...
Comment 3 Matej Cepl 2009-09-20 21:46:44 UTC
Apparently this should be on developers' radar screen already ... http://lists.freedesktop.org/archives/telepathy/2009-July/003638.html, which is awesome!

I have just haven't found a bug here for this. :(
Comment 4 Matt Rogers 2009-09-21 03:47:18 UTC
that's because there's not one. I don't track all of the work that i'm going 
to do on Kopete before the next release in Bugzilla. ;)
Comment 5 Christoph Cullmann 2024-09-18 18:28:38 UTC
Dear user, unfortunately Kopete is no longer maintained.

Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.