Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for telepathy-haze (empathy) #51

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 31 comments
Open

Add support for telepathy-haze (empathy) #51

GoogleCodeExporter opened this issue Mar 13, 2015 · 31 comments

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

It would be great if the plugin could be used in empathy. To my knowledge,
it is possible to use purple plugins with empathy, if there are appropriate
sections in haze.manager and a mission-control profile.

See https://bugs.freedesktop.org/show_bug.cgi?id=17907

Original issue reported on code.google.com by florian....@gmail.com on 13 Mar 2009 at 9:02

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

last time I tried, it works if you make it connect twice using haze, this gives 
libpurple the time to load the SSL certs.  Not really much else we can do with 
the 
plugin to make it work with haze, since it's kind of haze's problem.

Original comment by eionrobb on 13 Mar 2009 at 9:19

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

Since you are talking about SSL certs, I assume, that you are referring to the
facebook plugin. 

But I was actually talking about the skype plugin which should to my 
understanding
work if the proper files are present. 

Original comment by florian....@gmail.com on 13 Mar 2009 at 9:23

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

oh, sorry, got confused :D

I tried modifying the haze files to try and make it work with skype, but it 
never 
seemed to come up in the list.

Original comment by eionrobb on 13 Mar 2009 at 9:28

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

I have experimented a little and got the following:

add the following to /usr/share/telepathy/managers/haze.manager (editing
.local/share/telepathy/managers/haze.manager did not work)

[Protocol bigbrownchunx-skype-dbus]
param-account=s required
#param-password=s required

create ~/.local/share/mission-control/profiles/skype-dbus-haze.profile with the
following content

[Profile]
Manager=haze
Protocol=bigbrownchunx-skype-dbus
DisplayName= Skype-Dbus (Haze)
IconName = im-icq
ConfigurationUI = haze
Capabilities = chat-p2p, supports-alias, supports-avatars, supports-roster
VCardDefault = 1
VCardField = X-SKYPE
SupportedPresences = away,hidden,do-not-disturb


That way I was able to see Skype-Dbus in the empathy account manager and was 
able to
establish a connection (skype asked if I want to allow haze to talk to it vias 
Dbus.

However accounts are not displayed, and changing the status is empathy has no 
result,
except for Offline, which crashes the telepathy-haze.

Original comment by florian....@gmail.com on 13 Mar 2009 at 10:12

Attachments:

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

Id love to have this going ubuntu is switching for karmic so it would be nice 
to be
able to use the skype plugin

Original comment by KillerKi...@gmail.com on 17 Jun 2009 at 8:29

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

I have also heard about Ubuntu's intentions regarding switching from Pidgin to
Empathy by default. Though empathy appears to be rather immature from functional
perspective, it is probably a good direction taking into account Pidgin's 
progress on
implementing voice calls.
I think that it will be important to retain ability to talk to Skype contacts 
from
default instant messenger application. I hope that Skype4Pidgin will be able to 
fill
this role though it would be completely contradictory to the its name.

Original comment by dmitriy....@gmail.com on 30 Jun 2009 at 5:41

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

I believe that Empathy in Jaunty will use mission-control 5, which will mean 
that the
.profile and .manager files might be redundant (although it looks as if the 
empathy
packages I am using still provides a haze.manager file)?

I have had a quick look round, but can't make any sense of how it is all 
supposed to
work, but have seen the above mentioned a few times.

Original comment by mail%mattaustin.me.uk@gtempaccount.com on 12 Sep 2009 at 4:06

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

Are there any news on this topic?

Original comment by Yuriy.Ya...@gmail.com on 11 Oct 2010 at 9:56

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 13, 2015

To Yuriy's question:

I have gotten skype and empathy playing together on Ubuntu 10.10 following the 
suggestion in this comment - 
http://ubuntuforums.org/showthread.php?t=1453407#8http://ubuntuforums.org/showth
read.php?t=1453407#8

I have not edited/created any files so it seems like version 5 of mission 
control component of the telepathy is quite capable of figuring out the details 
from comment 4 by itself.

Original comment by aa.iva...@gmail.com on 4 Dec 2010 at 12:35

@rodneyrod
Copy link

@rodneyrod rodneyrod commented Oct 27, 2015

So should this workaround work with SkypeWeb?

@EionRobb
Copy link
Owner

@EionRobb EionRobb commented Oct 27, 2015

@rodneyrod yes, the SkypeWeb plugin works with telepathy-haze. No workaround needed as far as I know

@CapsAdmin
Copy link

@CapsAdmin CapsAdmin commented Dec 10, 2015

I installed pidgin, built and installed SkypeWeb as well as telepathy-haze on the fedora kde spin but I'm unable to find it in empathy's online account section. It does show and work in pidgin though.

@rodneyrod
Copy link

@rodneyrod rodneyrod commented Dec 26, 2015

Yeah can we open this issue again? I've done make && make install on a distro with telepathy-haze and no pidgin and I'm getting no extra connections showing in the connection manager.

@EionRobb EionRobb reopened this Dec 26, 2015
@EionRobb
Copy link
Owner

@EionRobb EionRobb commented Dec 26, 2015

@CapsAdmin @rodneyrod can you get a libpurple debug log as haze loads in the plugins? It should say something about missing a dependency or something and should help point us to what's going wrong

@rodneyrod
Copy link

@rodneyrod rodneyrod commented Feb 18, 2016

Still trying to work out how to get this working with Telepathy Haze, haven't really been able to get a debug log out and it isn't easy to do at KDE since everything is loaded at boot AFAIK.

Also, someone here started porting your work to Sailfish OS, and with a bit of work could be ported back to the desktop versions of Telepathy, but since I know 0% of qml or C, there's not much I can do to help coding wise
https://github.com/Thaodan/haze-accounts-extensions-skypeweb

@EionRobb
Copy link
Owner

@EionRobb EionRobb commented Feb 18, 2016

I don't know anything about Telepathy nor Haze unfortunately, but I have heard of other users using it successfully.

Unfortunately without a debug log I can't really give any advice on what might be happening or what the next steps might be. All I can suggest is ensuring all the dependencies exist (libpurple, glib2, json-glib), but that's probably not that helpful in this case, sorry :(

@dionorgua
Copy link

@dionorgua dionorgua commented Jul 14, 2016

I've got it working on my laptop. Without any changes to code. The only thing that is missing is 'groupchats'.
Pidgin provides a way to search for room and join it. In Empathy it's disabled for skype account.

@rodneyrod
Copy link

@rodneyrod rodneyrod commented Jul 15, 2016

@dionorgua Could you provide any instructions that you have? Also was this on Telepathy or TelepathyQt?

@dionorgua
Copy link

@dionorgua dionorgua commented Jul 15, 2016

It works at the same time with KDE telepathy (from debian experimental) and Empathy,

No instructions actually. I've just compiled it, created deb package and installed. Then added 'skype (HTTP)' account.

@rodneyrod
Copy link

@rodneyrod rodneyrod commented Jul 15, 2016

So when you say created a deb package, what steps did you follow?
I just tried 'sudo make install' and got no luck there.

@dionorgua
Copy link

@dionorgua dionorgua commented Jul 15, 2016

I've just followed steps from README. basically cmake, make and then cpack.
I think make install installs files to same place.

@dionorgua
Copy link

@dionorgua dionorgua commented Jul 15, 2016

Just make sure you've /usr/lib/purple-2/libskypeweb.so

@rodneyrod
Copy link

@rodneyrod rodneyrod commented Jul 15, 2016

I'm running Netrunner (Manjaro/Arch) with KDE and Telepathy and I've had no luck. The library is in the right place, but it just isn't working for whatever reason.

@dionorgua
Copy link

@dionorgua dionorgua commented Jul 15, 2016

How it doesn't work? You can't add account? Can't authorize or what?

@dionorgua
Copy link

@dionorgua dionorgua commented Jul 15, 2016

How it doesn't work? Can't add account, can't authorize?

Also try to use Empathy.

@rodneyrod
Copy link

@rodneyrod rodneyrod commented Jul 15, 2016

Yeah I can't add the account, it isn't shown in the Online Accounts list in KDE, which is where you manage Telepathy accounts in KDE.

@dionorgua
Copy link

@dionorgua dionorgua commented Jul 16, 2016

Just add it via Empathy. Otherwise you need something like this:
https://github.com/Thaodan/haze-accounts-extensions-skypeweb

@rodneyrod
Copy link

@rodneyrod rodneyrod commented Jul 16, 2016

Empathy pulls in too many Gnome libraries to be of any use for me personally, and that shim only works on SailfishOS and no one seems to be interested in porting it to the desktop.

Isn't there a way to get this working through KDE's settings manager?

@khurshid-alam
Copy link

@khurshid-alam khurshid-alam commented Jul 25, 2016

@dionorgua I installed it from webupd8 ppa (http://www.webupd8.org/2016/07/chat-with-your-skype-friends-from.html), but when I run empathy-accounts, I don't see the account. I am using Ubuntu 16.04 with Ubuntu-Online-Accounts which doesn't expose telepathy haze accounts. So my only option is to add it via empathy-accounts. I can see all other purple account except skype.

@dionorgua
Copy link

@dionorgua dionorgua commented Jul 25, 2016

Sorry. I don't know why it doesn't work and doesn't show for you. There were no additional steps from my site except building libskypeweb and installing it to /usr/lib/purple-2/libskypeweb.so

Don't forget to restart mission-control after this (or just reboot to be sure).

skypeweb

@khurshid-alam
Copy link

@khurshid-alam khurshid-alam commented Jul 27, 2016

@dionorgua

Ah. Thanks. I made it working by running empathy-accounts. It connects but not all contacts or bots are visible. But I guess that's a temporary issue.

telepathy-haze-skypeweb-empathy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants