How to complile fetion for pidgin on OpenSolaris 在Opensolaris上编译飞信

转载时请以超链接形式标明文章原始出处和作者信息
http://blogs.sun.com/weixue/entry/how_to_complile_fetion_for

在Opensolaris上使用pidgin这个即时通信客户端,可以支持很多的协议。但是国内流行的QQ和飞信在最新官方的Opensoalris发布版里都没有加入这两个协议的支持。本文讲述如何在pidgin中使用飞信的扩展。这里是编译好的飞信扩展libfetion.so,(感谢SunYong同学编译的release版:))下载后放到 /usr/lib/purple-2 目录下,重新启动pidgin即可。

下面说说如何自己动手编译飞信fetion,首先在Opensoalris中搭建编译环境,可参考这篇文章。(如果你觉得这篇难看懂,就把Sunstudio装上先,然后装下列包pkg install ss-dev SUNWxwinc SUNWxorg-headers SUNWgnome-common-devel SUNWperl-xml-parser SUNWiconv-unicode SUNWiconv-extra SUNWgit SUNWgm4 SUNWgnu-gettext SUNWperl-xml-parser SUNWGlib SUNWgnu-automake-110 SUNWaconf

编译的步骤:

下载 fetion protocol,将fetion目录整个拷贝到:
../libpurple/protocols

修改:
../libpurple/protocols/Makefile.in and Makefile.am
在DIST_SUBDIRS中增加fetion

修改:
configure.ac,
照着qq的位置加入fetion

编译:
aclocal
autoconf
automake -a -f -c

./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --disable-binreloc --enable-gnutls=no --with-nss-includes=/usr/include/mps --with-nss-libs=/usr/lib/mps --with-nspr-includes=/usr/include/mps --with-nspr-libs=/usr/lib/mps --enable-gnome-keyring --enable-gevolution --enable-cap --disable-meanwhile --disable-nm --disable-consoleui --with-perl-lib=vendor --disable-nss CC=/opt/SUNWspro/bin/cc CXX=/opt/SUNWspro/bin/CC

make


Comments:

Cool! OpenSolaris的用户体验又上了一个台阶。

Posted by Paul on March 20, 2009 at 10:57 AM CST #

谢谢!

个人认为下一版的OpenSolaris可能比Linux更适合大中华地区的广大民众,我们应该开始积极的推广,尤其在笔电及近来正红的小笔电上。

Posted by W. Wayne Liauh on March 20, 2009 at 07:04 PM CST #

W. Wayne Liauh,
不客气,我也是在InstallFest http://blogs.sun.com/weixue/entry/installfest_for_colleges_beiyou_beijing 的时候,发现很多学生用户非常关心是否能用这个飞信,于是才找到这个东东。还有QQ的协议,似乎还是不公开的。

Posted by xue on March 22, 2009 at 03:22 PM CST #

打扰!
我在使用pidgin的时候需要填写一个“服务器”项,但是我不知道fetion的服务器IP是多少?

Posted by WayneLiu on April 12, 2009 at 03:31 AM CST #

可以不填。

Posted by xue on April 15, 2009 at 07:28 AM CST #

在solaris nevada下编译,需要加上XGETTEXT=gxgettext

/configure: '--prefix=/usr' '--mandir=/usr/share/man' '--sysconfdir=/etc' '--disable-binreloc' '--enable-gnutls=no' '--with-nss-includes=/usr/include/mps' '--with-nss-libs=/usr/lib/mps' '--with-nspr-includes=/usr/include/mps' '--with-nspr-libs=/usr/lib/mps' '--enable-gnome-keyring' '--enable-gevolution' '--enable-cap' '--disable-gtkspell' '--disable-meanwhile' '--disable-nm' '--disable-consoleui' '--with-perl-lib=vendor' 'CC=/opt/SUNWspro/bin/cc' 'CFLAGS=-i -xO4 -xspace -xstrconst -xpentium -mr -xregs=no%frameptr -DHAVE_ALLOCA_H -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS' 'LDFLAGS= -Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect ' 'CXX=/opt/SUNWspro/bin/CC' 'MAKE=gmake' XGETTEXT=gxgettext'

Posted by Louis Liu on April 25, 2009 at 03:18 PM CST #

Louis, Thanks for your information!

Posted by xue on April 28, 2009 at 05:16 AM CST #

Great post and draw. Thank you for sharing.

Posted by gucci handbags on March 11, 2010 at 09:47 AM CST #

Thanks for your sharing. I appreciate for your blog:)
http://www.jihoy.com/classifieds/local
http://www.jihoy.com/webadvertising
http://www.amerisleep.com

Posted by memory foam mattress on March 16, 2010 at 06:40 AM CST #

Boot your windows cd, have it delete the current partition, then format NTSF, when it finishes it will do a clean install of Windows XP.

Posted by banquet halls on April 02, 2010 at 12:24 PM CST #

It will be a big thing to expect next. Guess what? Everyone is expecting the same thing!

Posted by sanejenny on July 08, 2010 at 12:13 PM CST #

It will be a big thing to expect next. Guess what? Everyone is expecting the same thing!

Posted by sanejenny on July 26, 2010 at 12:13 PM CST #

It will be a big thing to expect next. Guess what? Everyone is expecting the same thing!
http://www.esleepmasters.com/Toilets_s/2288.htm

Posted by dual flush toilet on July 26, 2010 at 12:16 PM CST #

Awesome. Asian movies in known in America and win a Grammy. All Asian country should take this as a lesson.

Posted by monicasan on December 02, 2010 at 04:39 PM CST #

Post a Comment:
Comments are closed for this entry.
About

williamxue

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today