[0c60f96] | 1 | = Skype plugin for BitlBee |
---|
| 2 | Miklos Vajna <vmiklos@frugalware.org> |
---|
[afe221f] | 3 | |
---|
[9e03e55] | 4 | == How to set it up |
---|
[afe221f] | 5 | |
---|
[751b149] | 6 | Before you start. The setup is the following: BitlBee can't connect directly to |
---|
| 7 | Skype servers (the company's ones). It needs a running Skype client to do so. |
---|
| 8 | In fact BitlBee will connect to `skyped` (a tcp server, provided in this |
---|
| 9 | package) and `skyped` will connecto to your Skype client. |
---|
| 10 | |
---|
[7e4f0ca1] | 11 | NOTE: The order is important. First you have to start Skype. Then `skyped` can |
---|
| 12 | connect to it, finally BitlBee can connect to `skyped`. |
---|
| 13 | |
---|
[afe221f] | 14 | - You need the BitlBee bzr branch: |
---|
| 15 | |
---|
[0c60f96] | 16 | ---- |
---|
[afe221f] | 17 | bzr branch http://code.bitlbee.org/bitlbee/ |
---|
[0c60f96] | 18 | ---- |
---|
[afe221f] | 19 | |
---|
| 20 | - You need to enable plugin support: |
---|
| 21 | |
---|
[0c60f96] | 22 | ---- |
---|
[afe221f] | 23 | http://frugalware.org/~vmiklos/patches/bitlbee-configure-plugins.patch |
---|
[0c60f96] | 24 | ---- |
---|
[afe221f] | 25 | |
---|
| 26 | - To be able to do an install-dev: |
---|
| 27 | |
---|
[0c60f96] | 28 | ---- |
---|
[afe221f] | 29 | http://frugalware.org/~vmiklos/patches/bitlbee-makefile-headers.patch |
---|
[0c60f96] | 30 | ---- |
---|
[afe221f] | 31 | |
---|
| 32 | - Now compile and install it: |
---|
| 33 | |
---|
[0c60f96] | 34 | ---- |
---|
[afe221f] | 35 | ./configure --prefix=/usr |
---|
| 36 | make |
---|
| 37 | make install install-dev |
---|
[0c60f96] | 38 | ---- |
---|
[afe221f] | 39 | |
---|
| 40 | - Get the plugin code: |
---|
| 41 | |
---|
[0c60f96] | 42 | ---- |
---|
[afe221f] | 43 | git clone http://ftp.frugalware.org/pub/other/people/vmiklos/bitlbee-skype |
---|
[0c60f96] | 44 | ---- |
---|
[afe221f] | 45 | |
---|
| 46 | - Compile and install it: |
---|
| 47 | |
---|
[0c60f96] | 48 | ---- |
---|
[afe221f] | 49 | make |
---|
| 50 | cp skype.so /usr/lib/bitlbee |
---|
[0c60f96] | 51 | ---- |
---|
[afe221f] | 52 | |
---|
[ed2e37f] | 53 | - Start skyped (the tcp server): |
---|
[afe221f] | 54 | |
---|
[0c60f96] | 55 | ---- |
---|
[ba20c39] | 56 | python skyped.py |
---|
[0c60f96] | 57 | ---- |
---|
[ba20c39] | 58 | |
---|
| 59 | NOTE: It's important to start skyped on the same machine and using the same |
---|
| 60 | user as you run Skype as it uses the session DBus for communication! |
---|
[afe221f] | 61 | |
---|
[7338d59] | 62 | - Start your IRC client, connect to BitlBee and add your account: |
---|
| 63 | |
---|
| 64 | ---- |
---|
| 65 | account add skype <user> <pass> |
---|
| 66 | account set 0/server localhost |
---|
| 67 | ---- |
---|
| 68 | |
---|
| 69 | IMPORTANT: <user> should be your skype account name. This way you won't see |
---|
| 70 | yourself joining to `&bitlbee`. |
---|
| 71 | |
---|
| 72 | NOTE: the <pass> option is not used currently. |
---|
| 73 | |
---|
[9e03e55] | 74 | == What works |
---|
[b6d26ac] | 75 | |
---|
[adce2de] | 76 | - Download nicks and away statuses from Skype |
---|
[b6d26ac] | 77 | |
---|
[39a0d64] | 78 | - Noticing joins / parts while we're connected |
---|
| 79 | |
---|
[93ece66] | 80 | - Sending messages |
---|
| 81 | |
---|
[8dd21bb] | 82 | - Receiving messages |
---|
| 83 | |
---|
[72f697b] | 84 | - Receiving away status changes |
---|
| 85 | |
---|
[62bb4e4] | 86 | - `skyped` (the tcp daemon that is a gateway between Skype and tcp) |
---|
[ed2e37f] | 87 | |
---|
[62bb4e4] | 88 | - Error handling when `skyped` is not running and when it exits |
---|
[afe221f] | 89 | |
---|
[62bb4e4] | 90 | - Marking received messages as seen so that Skype won't say there are unread messages |
---|
[440665b] | 91 | |
---|
[6627d92] | 92 | - Adding / removing contacts |
---|
| 93 | |
---|
[62bb4e4] | 94 | == What needs to be done (aka. TODO) |
---|
[8dd21bb] | 95 | |
---|
[f78f949] | 96 | - detect when somebody wants to add us (confirm callback) |
---|
[93ece66] | 97 | |
---|
[565982f] | 98 | - Due to some API limitations, I have no idea how to change status. This affects: |
---|
| 99 | * When you `/away`, Skype will be still show `Online` |
---|
| 100 | * When you `account off`, Skype will not set status to `Offline` |
---|
| 101 | * When you `account on`, Skype will not set status to `Online` |
---|
[8dd21bb] | 102 | |
---|
[0c60f96] | 103 | == I would like to have support for ... |
---|
| 104 | |
---|
[afe221f] | 105 | If something does not work and it's not in the TODO section, then please contact me! |
---|
| 106 | |
---|
[f78f949] | 107 | == Known bugs |
---|
| 108 | |
---|
| 109 | - Sometimes when you get a lot of messages in a short time, some of the |
---|
| 110 | messages are dropped. This is a known bug in Skype itself as of version |
---|
| 111 | 1.4.0.99 |
---|
| 112 | (http://forum.skype.com/index.php?s=&showtopic=94545&view=findpost&p=431710[link]). |
---|
| 113 | |
---|
[0c60f96] | 114 | == Screenshots |
---|
| 115 | |
---|
| 116 | You can reach some screenshots http://frugalware.org/~vmiklos/pics/shots/bitlbee-skype/[here]. |
---|
[ddd3502] | 117 | |
---|
[a60c3c2] | 118 | == Changelog |
---|
| 119 | |
---|
| 120 | You can reach the Changelog link:Changelog[here]. |
---|
| 121 | |
---|
[0c60f96] | 122 | // vim: ft=asciidoc |
---|