Page 1 of 1

[Solved] Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 12:30
by luciano
Hi i tried to add bonjour support to pidgin, avahi is already installed, user and group is ok, using avahi-browser -a, at least looks nice.

BUT the rat with wings - aka Pidgin - doesn't shows bonjour as an option, searching in Salix Os threads, the recommendation is compiling pidgin from scratch, but imho it doesn't sound 'newbie-friendly' nor practical for a lightweight distro in a very limited computer,

SO

A. ¿Where i can find a package of pidgin with Bonjour support? :good:

OR

B. ¿May I have the pleasure to dance the configure make waltz with Ms. Terminal? :cry: :wall:


I prefer A but either way, guidance will be greatly thanked.

Re: Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 15:41
by francois
For 32 bit or i686 architecture, get the files from:
http://slackbuilds.org/mirror/slackware ... ap/pidgin/

Prerequisite to slackbuild is the devel.xzm package. Put it in the /porteus/modules folder and activate it with right click and submenu activate:
http://dl.porteus.org/i486/current/modules/

The procedure to use slackbuild in detail (not necessary here as the procedure is oulined in the following lines)
http://slackbuilds.org/howto/

Put all these files in the /tmp/pidgin folder. Decompress the files with You will have to create two files and copy paste the content of pidgin.SlackBuild and slack-desc and name them appropriately. pidgin.SlackBuild will have to be executable (right click > properties > permission > executable)

To be able to use Bonjour plugin:
remove the --disable-avahi \ line in the pidgin.SlackBuild file.remove the --disable-avahi \ line in the pidgin.SlackBuild file.

In addition as I have built the pidgin for bonjour myself, you will not have to debug the slackbuild installation. Just install the following packages plus dependencies from usm gui or usm command line:
gtkspell
gstreamer

- usm gui: the little blue square in the panel menu. You have to update all repositories.
or
- usm command line:

Code: Select all

su
password
usm -u all
usm -g package-name
Then:

Code: Select all

root@porteus:/root# cd /tmp/pidgin
root@porteus:/tmp/pidgin# ./pidgin.SlackBuild
You might have error messages while building if there are libraries or packages missing depending on your Desktop environment. If it is the case report about these error messages or install the missing package or library thru usm package manager. Or just build the pidgin-bonjour packages.

I would like you to build it yourself. As I have built it myself, you will be able no sweat (almost). However, I am under the 64 bit edition.

Report if there is any problem.

Good courage. :twisted:

Re: Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 17:45
by luciano
Thanks francois for your time, now that you confirmed me that I am not sure if it worth the trouble.

As an alternative approach, I downloaded a very small IRCd server called beware ircd, binary works fine, once i get more used with Porteus, i will try to make a module, it's not the same, but a bit simpler.

Re: Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 18:28
by francois
You should try it. I took me more time to write that post than for you to do the job. You would gain a very good knowledge of porteus linux and slackware. There is no sweat really.

Understanding slackbuild is not that complicated and in addition, it is very much empowering. :D

But its up to you to decide. 8)

Re: Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 19:29
by luciano
I tried and works great, thanks again!, i just to be sure add this step before usm -b xz, as i didn't found it in base install.
After chmod +x the script and double click in the dev package ( i was lost trying to figure out what to install the dev pkg rocks).

It was pretty straight foreword, i found a perfect amount of verbosity i added a couple of switches to disable what i didn't need ( spelling, video, and scripting) and then after a screen full of scary stuff for a newbie :bad: , in very short time i get the txz :Yahoo!:

Converted to xzm installed and there you have bonjour, i tried and chat with a couple of iMacs here, worked perfectly. Thanks men :friends:

Re: Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 20:12
by fanthom
our pidgin is stripped from some protocols to save on deps and size.
please install pidgin from slackware through USM and check if it has support for Bonjour.

Re: Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 20:16
by francois
I would be very surprised that it would work as pidgin as to be built in the following way:
To be able to use Bonjour plugin pidgin has to be built this way:
remove the --disable-avahi \ line in the pidgin.SlackBuild file.remove the --disable-avahi \ line in the pidgin.SlackBuild file.

Reference to the pidgin.SlackBuild script:

Code: Select all

./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  ...

...
  --disable-meanwhile \
--disable-avahi \
--disable-avahi option as to be removed so that avahi could be used concurently with pidgin for the bonjour plugin.
http://www.linuxfromscratch.org/blfs/vi ... idgin.html
From linux from scratch:
http://www.linuxfromscratch.org/blfs/vi ... idgin.html
Optional

Avahi-0.6.31 (required for the Bonjour plugin),


But I might be wrong.
:)

Re: [Solved] Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 20:31
by luciano
Just added a new post to say thanks, again, this is my 1st week with Porteus and really pleased with it :Rose: i will try own cloud client pandoc and xelatex next week, it amazes me how much power is inside a such light distro. :Bravo:

If someone is interested in the module i can post it. It's just 8.53mb.

Re: [Solved] Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 20:45
by francois
We are happy to read your enthusiasm.

If you are on 64 bit, here is pidgin for bonjour:
https://www.mediafire.com/?5boab5iz57mdh

Re: [Solved] Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 21:05
by luciano

Re: [Solved] Pidgin + Bonjour. How-to?

Posted: 04 Mar 2015, 22:14
by francois
Thanks.