You are not logged in.
Hello everyone !
Although this is my first post on the forum i've been a regular arch user for quite a while now. As some of you might have noticed, there's been a bug with the nickname that keeps getting reset to your default name in the MSN protocol of pidgin. Its not an actual pidign bug, but a change that has been made in the msn server. Details can be found on pidgin's bugzilla here : http://developer.pidgin.im/ticket/10763. A patch has been submitted and will be included in the next release. But, since this bug has been really getting on my nerves, I took the patch and integrated it into pidgin's PKGBUILD. I'm posting it here if ever there are other people who are interested by it.
# $Id: PKGBUILD 58022 2009-11-03 14:24:41Z ibiru $
# Maintainer : Biru Ionut <ionut@archlinux.ro>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
pkgbase=('pidgin')
pkgname=('libpurple' 'pidgin' 'finch')
pkgver=2.6.3
pkgrel=2
arch=('i686' 'x86_64')
url="http://pidgin.im/"
license=('GPL')
makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'python'
'hicolor-icon-theme' 'silc-toolkit' 'gstreamer0.10-base' 'farsight2' 'avahi'
'tk' 'ca-certificates' 'intltool' 'networkmanager')
options=('!libtool')
source=(http://downloads.sourceforge.net/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2
#Patch to fix msn nickname reset
http://developer.pidgin.im/viewmtn/revision/rawdiff/3bffd7b4a3d8f99940661652e971595b53cdc48d/with/5471a4305312ead74567c9099c837adcbebb640c)
md5sums=('8d0ff6215b2d023eaa8efef59097ef83'
'79ab921f87240e5875e0561f7d64b8ec')
build() {
cd "$srcdir/$pkgbase-$pkgver"
#Apply msn nickname patch
patch -Np0 < ../5471a4305312ead74567c9099c837adcbebb640c
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-schemas-install \
--disable-meanwhile \
--disable-nm \
--disable-perl \
--disable-gnutls \
--enable-cyrus-sasl \
--disable-doxygen \
--enable-nm \
--with-system-ssl-certs=/etc/ssl/certs || return 1
make || return 1
}
package_libpurple(){
pkgdesc="IM library extracted from Pidgin"
depends=('farsight2' 'libsasl' 'dbus-glib' 'silc-toolkit' 'nss')
cd "$srcdir/$pkgbase-$pkgver"
for dir in libpurple share/sounds share/ca-certs m4macros po
do
make -C "$dir" DESTDIR="$pkgdir" install || return 1
done
# rm -rf "$pkgdir/etc" || return 1
}
package_pidgin(){
pkgdesc="Multi-protocol instant messaging client"
depends=("libpurple=$pkgver" 'startup-notification' 'gtkspell' 'libxss' 'python'
'hicolor-icon-theme' 'gstreamer0.10-base')
optdepends=('gstreamer0.10-good: to play sounds'
'avahi: Bonjour protocol support'
'tk: Tcl/Tk scripting support'
'ca-certificates: SSL CA certificates'
'aspell: for spelling correction')
install=pidgin.install
cd "$srcdir/$pkgbase-$pkgver"
#for linking
make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES || return 1
make -C pidgin DESTDIR="$pkgdir" install || return 1
make -C doc DESTDIR="$pkgdir" install || return 1
#clean up libpurple
make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES || return 1
install -D -m 0644 pidgin.desktop "$pkgdir"/usr/share/applications/pidgin.desktop || return 1
rm -f "$pkgdir"/usr/share/man/man1/finch.1 || return 1
}
package_finch(){
pkgdesc="A ncurses-based messaging client"
depends=("libpurple=$pkgver" 'libidn')
optdepends=('avahi: Bonjour protocol support'
'tk: Tcl/Tk scripting support'
'ca-certificates: SSL CA certificates')
cd "$srcdir/$pkgbase-$pkgver"
#for linking
make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES || return 1
make -C finch DESTDIR="$pkgdir" install || return 1
make -C doc DESTDIR="$pkgdir" install || return 1
#clean up libpurple
make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES || return 1
rm -f "$pkgdir"/usr/share/man/man1/pidgin.1 || return 1
}
I am a classical musician. I am a programmer. I am an open source enthusiast. For a while now, I have been looking for some kind of sign that could link these 3 traits together. Now, i finally have : The debian logo is just like a vertically flipped F Key !
<img src="http://www.nerdtests.com/images/badge/nt2/b86cfc385cb81a0d.jpg">
Offline
I love you man! Got really tired of this behavior after a while, so I did a search here at the forums, and you already have it pached up and ready to go. Thanks!
My Configs @ Github
Offline
Great, thanks!
I've been following the bug and it's cool to not have to wait for the next release to fix this really annoying bug.
I've ran to a small problem though, it seems you have configured the PKGBUILD to be compatible only with network-manager (i use wicd) and gnome (i use KDE). had to make the following changes to it so it would compile correctly:
erase this dependencies:'tk' 'networkmanager'
add this lines:
--disable-nm /
--disable-tk /
Last edited by andreamer (2009-11-30 22:42:36)
Offline
Great, thanks!
I've been following the bug and it's cool to not have to wait for the next release to fix this really annoying bug.I've ran to a small problem though, it seems you have configured the PKGBUILD to be compatible only with network-manager (i use wicd) and gnome (i use KDE). had to make the following changes to it so it would compile correctly:
erase this dependencies:'tk' 'networkmanager'
add this lines:
--disable-nm /
--disable-tk /
doesn't really matter. pidgin is autodetecting if somebody use networkmanager. if doesn't have will continue to work like it was if we have compiled without networkmanager support.
p.s this bug was fixed in 2.6.4 which is in extra
Last edited by wonder (2009-11-30 23:10:16)
Give what you have. To someone, it may be better than you dare to think.
Offline
andreamer wrote:Great, thanks!
I've been following the bug and it's cool to not have to wait for the next release to fix this really annoying bug.I've ran to a small problem though, it seems you have configured the PKGBUILD to be compatible only with network-manager (i use wicd) and gnome (i use KDE). had to make the following changes to it so it would compile correctly:
erase this dependencies:'tk' 'networkmanager'
add this lines:
--disable-nm /
--disable-tk /doesn't really matter. pidgin is autodetecting if somebody use networkmanager. if doesn't have will continue to work like it was if we have compiled without networkmanager support.
p.s this bug was fixed in 2.6.4 which is in extra
The problem was i could't compile it (errors) caused by what i said.
Haha, you're right version 2.6.4 is up, syncing pacman... lol
Last edited by andreamer (2009-12-01 01:10:14)
Offline
Glad to see that my PKGBUILD was useful to a few ppl, even if it was for a short while XD
better go sync my pacman now
I am a classical musician. I am a programmer. I am an open source enthusiast. For a while now, I have been looking for some kind of sign that could link these 3 traits together. Now, i finally have : The debian logo is just like a vertically flipped F Key !
<img src="http://www.nerdtests.com/images/badge/nt2/b86cfc385cb81a0d.jpg">
Offline