Bringing CentOS Linux into MS Network (part 3)

CHAPTER 6: PIDGIN

There is no Lync for Linux, but Pidgin supports SIPE (voice and video require system packages update): as super-user, ‘yum install pidgin‘. However, the one that comes with CentOS is quite old and certain components need updating:

A. Update GLib (to min 2.28). Because of Skype,, we need to also build & update the i686 version (GLib is installed as protected in RPM database). Therefore, we’ll use mock for the build.

  • wget http://ftp.uni-koeln.de/mirrors/fedora/linux/releases/15/Everything/source/SRPMS/glib2-2.28.6-2.fc15.src.rpm
  • yum install gamin-devel libattr-devel systemtap-sdt-devel mock
  • mock –rebuild -r epel-6-i386 /path/to/glib2-2.28.6-2.fc15.src.rpm 
  • mock –rebuild -r epel-6-x86_64 /path/to/glib2-2.28.6-2.fc15.src.rpm
  • yum update /var/lib/mock/epel-6-x86_64/result/glib2-2.28.6-2.el6.x86_64.rpm /var/lib/mock/epel-6-x86_64/result/glib2-devel-2.28.6-2.el6.x86_64.rpm /var/lib/mock/epel-6-i386/result/glib2-2.28.6-2.el6.i686.rpm /var/lib/mock/epel-6-i386/result/glib2-devel-2.28.6-2.el6.i686.rpm  

B. Update LibPurple (to min 2.8) and Pidgin (not mandatory)

  • wget http://ftp.uni-koeln.de/mirrors/fedora/linux/updates/15/SRPMS/pidgin-2.10.4-1.fc15.src.rpm
  • yum install startup-notification-devel cyrus-sasl-devel ncurses-devel tcl-devel tk-devel evolution-data-server-devel NetworkManager-glib-devel libXScrnSaver-devel avahi-glib-devel meanwhile-devel perl\(ExtUtils::Embed\) farsight2-devel libidn-devel
  • cd ~/rpmbuild/SPECS
  • rpmbuild -bb pidgin.spec
  • cd ../RPMS/x86_64
  • yum update libpurple-2.10.4-1.el6.x86_64.rpm libpurple-devel-2.10.4-1.el6.x86_64.rpm libpurple-perl-2.10.4-1.el6.x86_64.rpm libpurple-tcl-2.10.4-1.el6.x86_64.rpm pidgin-2.10.4-1.el6.x86_64.rpm pidgin-devel-2.10.4-1.el6.x86_64.rpm/RPMS/x86_64

C. Install NICE (we need latest version, therefore, installing from source):

  • yum install krb5-devel libcom_err-devel libpurple-devel gtk2-devel xmlsec1-nss-devel nss-devel gstreamer-devel
  • wget http://nice.freedesktop.org/releases/libnice-0.1.3.tar.gz
  • ./configure –with-gstreamer-0.10 && make
  • as super-user, ‘make install

D. Install SIPE:

  • Get sources: ‘wget http://sourceforge.net/projects/sipe/files/sipe/pidgin-sipe-1.14.1/pidgin-sipe-1.14.1.tar.gz/download
  • Compile: ‘PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure && make
  • Install: as super-user, ‘make install; cd /usr/lib64/purple-2 -s /usr/local/lib/purple-2/libsipe.so .’

E. Settings:

  • Chose Office Communicator as protocol
  • Enter your Lync account (username and password), leave login empty.
  • On Advanced tab, de-select single sign-on
  • Select TLS-DSK as protocol
  • Enter UCCAPI/4.0.7577.0 OC/4.0.7577.0 (Microsoft Lync 2010) as User Agent.

F. Spell Check for additional (non-default) languages:

  • Get sources: ‘wget https://www.guifications.org/attachments/download/201/purple-plugin-pack-2.7.0.tar.bz2’
  • Get libraries: as root, ‘yum install pidgin-devel enchant-devel gtkspell-devel’
  • Compile: ‘./configure && make
  • Install: as super-user, ‘make install
  • Add Hunspell dictionaries for the desired languages: as super-user, ‘yum install hunspell-bg’ (example for Bulgarian)
  • In Tools -> Plugins activate SwitchSpell
  • In the chat windows, set the desired language from Spell Check menu (separate setting for each user).

Part 4

This entry was posted in Нули и единици. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.