[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 | |
---|
[afe221f] | 11 | - You need the BitlBee bzr branch: |
---|
| 12 | |
---|
[0c60f96] | 13 | ---- |
---|
[afe221f] | 14 | bzr branch http://code.bitlbee.org/bitlbee/ |
---|
[0c60f96] | 15 | ---- |
---|
[afe221f] | 16 | |
---|
| 17 | - You need to enable plugin support: |
---|
| 18 | |
---|
[0c60f96] | 19 | ---- |
---|
[afe221f] | 20 | http://frugalware.org/~vmiklos/patches/bitlbee-configure-plugins.patch |
---|
[0c60f96] | 21 | ---- |
---|
[afe221f] | 22 | |
---|
| 23 | - To be able to do an install-dev: |
---|
| 24 | |
---|
[0c60f96] | 25 | ---- |
---|
[afe221f] | 26 | http://frugalware.org/~vmiklos/patches/bitlbee-makefile-headers.patch |
---|
[0c60f96] | 27 | ---- |
---|
[afe221f] | 28 | |
---|
| 29 | - Now compile and install it: |
---|
| 30 | |
---|
[0c60f96] | 31 | ---- |
---|
[afe221f] | 32 | ./configure --prefix=/usr |
---|
| 33 | make |
---|
| 34 | make install install-dev |
---|
[0c60f96] | 35 | ---- |
---|
[afe221f] | 36 | |
---|
| 37 | - Get the plugin code: |
---|
| 38 | |
---|
[0c60f96] | 39 | ---- |
---|
[afe221f] | 40 | git clone http://ftp.frugalware.org/pub/other/people/vmiklos/bitlbee-skype |
---|
[0c60f96] | 41 | ---- |
---|
[afe221f] | 42 | |
---|
| 43 | - Compile and install it: |
---|
| 44 | |
---|
[0c60f96] | 45 | ---- |
---|
[afe221f] | 46 | make |
---|
| 47 | cp skype.so /usr/lib/bitlbee |
---|
[0c60f96] | 48 | ---- |
---|
[afe221f] | 49 | |
---|
[ed2e37f] | 50 | - Start skyped (the tcp server): |
---|
[afe221f] | 51 | |
---|
[0c60f96] | 52 | ---- |
---|
[ba20c39] | 53 | python skyped.py |
---|
[0c60f96] | 54 | ---- |
---|
[ba20c39] | 55 | |
---|
| 56 | NOTE: It's important to start skyped on the same machine and using the same |
---|
| 57 | user as you run Skype as it uses the session DBus for communication! |
---|
[afe221f] | 58 | |
---|
[7338d59] | 59 | - Start your IRC client, connect to BitlBee and add your account: |
---|
| 60 | |
---|
| 61 | ---- |
---|
| 62 | account add skype <user> <pass> |
---|
| 63 | account set 0/server localhost |
---|
| 64 | ---- |
---|
| 65 | |
---|
| 66 | IMPORTANT: <user> should be your skype account name. This way you won't see |
---|
| 67 | yourself joining to `&bitlbee`. |
---|
| 68 | |
---|
| 69 | NOTE: the <pass> option is not used currently. |
---|
| 70 | |
---|
[9e03e55] | 71 | == What works |
---|
[b6d26ac] | 72 | |
---|
[adce2de] | 73 | - Download nicks and away statuses from Skype |
---|
[b6d26ac] | 74 | |
---|
[39a0d64] | 75 | - Noticing joins / parts while we're connected |
---|
| 76 | |
---|
[93ece66] | 77 | - Sending messages |
---|
| 78 | |
---|
[8dd21bb] | 79 | - Receiving messages |
---|
| 80 | |
---|
[72f697b] | 81 | - Receiving away status changes |
---|
| 82 | |
---|
[62bb4e4] | 83 | - `skyped` (the tcp daemon that is a gateway between Skype and tcp) |
---|
[ed2e37f] | 84 | |
---|
[62bb4e4] | 85 | - Error handling when `skyped` is not running and when it exits |
---|
[afe221f] | 86 | |
---|
[62bb4e4] | 87 | - Marking received messages as seen so that Skype won't say there are unread messages |
---|
[440665b] | 88 | |
---|
[62bb4e4] | 89 | == What needs to be done (aka. TODO) |
---|
[8dd21bb] | 90 | |
---|
[218ffbd] | 91 | - add/remove users, detect when somebody wants to add us |
---|
[93ece66] | 92 | |
---|
[565982f] | 93 | - Due to some API limitations, I have no idea how to change status. This affects: |
---|
| 94 | * When you `/away`, Skype will be still show `Online` |
---|
| 95 | * When you `account off`, Skype will not set status to `Offline` |
---|
| 96 | * When you `account on`, Skype will not set status to `Online` |
---|
[8dd21bb] | 97 | |
---|
[0c60f96] | 98 | == I would like to have support for ... |
---|
| 99 | |
---|
[afe221f] | 100 | If something does not work and it's not in the TODO section, then please contact me! |
---|
| 101 | |
---|
[0c60f96] | 102 | == Screenshots |
---|
| 103 | |
---|
| 104 | You can reach some screenshots http://frugalware.org/~vmiklos/pics/shots/bitlbee-skype/[here]. |
---|
[ddd3502] | 105 | |
---|
[a60c3c2] | 106 | == Changelog |
---|
| 107 | |
---|
| 108 | You can reach the Changelog link:Changelog[here]. |
---|
| 109 | |
---|
[0c60f96] | 110 | // vim: ft=asciidoc |
---|