[Solved] Pidgin + Bonjour. How-to?

Post here if you are a new Porteus member and you're looking for some help.
luciano
White ninja
White ninja
Posts: 8
Joined: 03 Mar 2015, 23:56
Distribution: Fedora 21
Location: Argentina

[Solved] Pidgin + Bonjour. How-to?

Post#1 by luciano » 04 Mar 2015, 12:30

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.
Last edited by luciano on 04 Mar 2015, 20:24, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Pidgin + Bonjour. How-to?

Post#2 by francois » 04 Mar 2015, 15:41

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:
Prendre son temps, profiter de celui qui passe.

luciano
White ninja
White ninja
Posts: 8
Joined: 03 Mar 2015, 23:56
Distribution: Fedora 21
Location: Argentina

Re: Pidgin + Bonjour. How-to?

Post#3 by luciano » 04 Mar 2015, 17:45

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.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Pidgin + Bonjour. How-to?

Post#4 by francois » 04 Mar 2015, 18:28

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)
Prendre son temps, profiter de celui qui passe.

luciano
White ninja
White ninja
Posts: 8
Joined: 03 Mar 2015, 23:56
Distribution: Fedora 21
Location: Argentina

Re: Pidgin + Bonjour. How-to?

Post#5 by luciano » 04 Mar 2015, 19:29

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:
Last edited by luciano on 04 Mar 2015, 20:23, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Pidgin + Bonjour. How-to?

Post#6 by fanthom » 04 Mar 2015, 20:12

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.
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Pidgin + Bonjour. How-to?

Post#7 by francois » 04 Mar 2015, 20:16

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.
:)
Prendre son temps, profiter de celui qui passe.

luciano
White ninja
White ninja
Posts: 8
Joined: 03 Mar 2015, 23:56
Distribution: Fedora 21
Location: Argentina

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

Post#8 by luciano » 04 Mar 2015, 20:31

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.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#9 by francois » 04 Mar 2015, 20:45

We are happy to read your enthusiasm.

If you are on 64 bit, here is pidgin for bonjour:
https://www.mediafire.com/?5boab5iz57mdh
Prendre son temps, profiter de celui qui passe.

luciano
White ninja
White ninja
Posts: 8
Joined: 03 Mar 2015, 23:56
Distribution: Fedora 21
Location: Argentina

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

Post#10 by luciano » 04 Mar 2015, 21:05


User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#11 by francois » 04 Mar 2015, 22:14

Thanks.
Prendre son temps, profiter de celui qui passe.

Post Reply