Pidgin Plugin For Line

Tony Lommi

Pidgin 是一套通訊軟體,整合了 Facebook、Google Talk、IRC、Line 等多達 20 種的即時通訊。可惜的是,Pidgin 預設並未提供 Line 登入,好在神人很多,已經有人開發 Line 的 plugin,但是只有 Source Code,所以想裝就得自己編譯!

使用 root 身分
1
sudo su
安裝必要軟體
1
2
3
apt-get update
apt-get install -y pidgin git build-essential
apt-get install -y libpurple-dev libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev libgcrypt11-dev
安裝 Apache thirft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cd /tmp
mkdir purpleline
cd purpleline
git clone https://github.com/apache/thrift thrift
cd thrift
git checkout 0.9.2
./bootstrap.sh
./configure
make
make install
cd /usr/local/lib
mkdir thrift
mv libthrift* thrift
ln -s /usr/local/lib/thrift/libthrift-0.9.2.so /usr/lib/libthrift.so
cd /tmp/purpleline
安裝 purple_line
1
2
3
4
5
6
7
8
git clone http://altrepo.eu/git/purple-line.git/ purple-line
git clone http://altrepo.eu/git/line-protocol.git/ line-protocol
cp line-protocol/line_main.thrift purple-line/
cp line-protocol/line.thrift purple-line/
cd purple-line
make
make install
ldconfig

重新登入後即可使用!

Share Comments