Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255991 - pidgin ICQ oscar problem at Russian users
Summary: pidgin ICQ oscar problem at Russian users
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-22 12:42 UTC by Alexey
Modified: 2009-01-25 22:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (pidgin-2.5.2-r2.ebuild,5.64 KB, text/plain)
2009-01-22 12:43 UTC, Alexey
Details
patch (pidgin-2.5.2-oscar4.patch,395 bytes, patch)
2009-01-22 12:45 UTC, Alexey
Details | Diff
patch (pidgin-2.5.4-oscar4.patch,853 bytes, patch)
2009-01-22 19:20 UTC, Vitalik
Details | Diff
ebuild (pidgin-2.5.4-r1.ebuild,4.53 KB, text/plain)
2009-01-22 19:23 UTC, Vitalik
Details
working ebuild for stable pidgin-2.5.2 (pidgin-2.5.2-r3.ebuild,5.64 KB, text/plain)
2009-01-23 06:13 UTC, Alexey
Details
pidgin-2.5.2-r3.ebuild need this patch (pidgin-2.5.2-oscar5.patch,1009 bytes, patch)
2009-01-23 06:18 UTC, Alexey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2009-01-22 12:42:25 UTC
Yesterday ICQ AOL company change specifications for icq protocol. And oscar protocol for Russian users not work.
Today that problem was fixed http://developer.pidgin.im/ticket/8198#comment:33
There is ebuild & patch fixing oscar.
Comment 1 Alexey 2009-01-22 12:43:47 UTC
Created attachment 179326 [details]
ebuild

new ebuild
Comment 2 Alexey 2009-01-22 12:45:14 UTC
Created attachment 179328 [details, diff]
patch

patch for icq oscar protocol
Comment 3 Alexey 2009-01-22 12:52:56 UTC
Well, that patch principle works for pidgin-2.5.4 to (tested).
pidgin-2.5.3 not tested, but seems it shouid work.
Comment 4 Alexey 2009-01-22 13:33:09 UTC
reopen for make it visible in search
Comment 5 Alexey 2009-01-22 13:48:42 UTC
After connecting through SOCKS5 icq works fine and still fine wthen I back to default preferences [GNOME default].
It's really strange behaviour of icq servers.

When I try connect to icq from another (not used SOCKS5) account, it's not work with patch to. Seems like patch not resolve the problem.
Comment 6 Vitalik 2009-01-22 19:20:52 UTC
Created attachment 179367 [details, diff]
patch

works on pidgin-2.5.4
Comment 7 Vitalik 2009-01-22 19:23:24 UTC
Created attachment 179370 [details]
ebuild 

added src_unpack
Comment 8 Vitalik 2009-01-22 19:37:40 UTC
Comment on attachment 179370 [details]
ebuild 

><HTML><HEAD/><BODY><PRE># Copyright 1999-2009 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.5.4.ebuild,v 1.4 2009/01/21 01:12:51 tester Exp $
>
>EAPI=2
>
>inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2
>
>DESCRIPTION="GTK Instant Messenger client"
>HOMEPAGE="http://pidgin.im/"
>SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
>IUSE="bonjour dbus debug doc eds gadu gnutls +gstreamer meanwhile"
>IUSE="${IUSE} networkmanager nls perl silc tcl tk spell qq gadu"
>IUSE="${IUSE} +gtk sasl ncurses groupwise prediction zephyr" # mono"
>
>RDEPEND="
>	bonjour? ( net-dns/avahi )
>	dbus? ( &gt;=dev-libs/dbus-glib-0.71
>		&gt;=dev-python/dbus-python-0.71
>		&gt;=sys-apps/dbus-0.90
>		&gt;=dev-lang/python-2.4 )
>	gtk? (
>		spell? ( &gt;=app-text/gtkspell-2.0.2 )
>		&gt;=x11-libs/gtk+-2.0
>		&gt;=x11-libs/startup-notification-0.5
>		x11-libs/libXScrnSaver
>		eds? ( gnome-extra/evolution-data-server ) 	)
>	&gt;=dev-libs/glib-2.0
>	gstreamer? ( =media-libs/gstreamer-0.10*
>		=media-libs/gst-plugins-good-0.10* )
>	perl? ( &gt;=dev-lang/perl-5.8.2-r1 )
>	gadu?  ( net-libs/libgadu[ssl] )
>	gnutls? ( net-libs/gnutls )
>	!gnutls? ( &gt;=dev-libs/nss-3.11 )
>	meanwhile? ( net-libs/meanwhile )
>	silc? ( &gt;=net-im/silc-toolkit-0.9.12-r3 )
>	zephyr? ( &gt;=app-crypt/mit-krb5-1.3.6-r1[krb4] )
>	tcl? ( dev-lang/tcl )
>	tk? ( dev-lang/tk )
>	sasl? ( &gt;=dev-libs/cyrus-sasl-2 )
>	dev-libs/libxml2
>	networkmanager? ( net-misc/networkmanager )
>	prediction? ( =dev-db/sqlite-3* )
>	ncurses? ( sys-libs/ncurses[unicode] )"
>	# Mono support crashes pidgin
>	#mono? ( dev-lang/mono )"
>
>DEPEND="$RDEPEND
>	dev-lang/perl
>	dev-perl/XML-Parser
>	dev-util/pkgconfig
>	gtk? ( x11-proto/scrnsaverproto )
>	doc? ( app-doc/doxygen )
>	nls? ( sys-devel/gettext )"
>
># Enable Default protocols
>DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
>
># List of plugins
>#   app-accessibility/pidgin-festival
>#   net-im/librvp
>#   x11-plugins/guifications
>#   x11-plugins/pidgin-encryption
>#   x11-plugins/pidgin-extprefs
>#   x11-plugins/pidgin-hotkeys
>#   x11-plugins/pidgin-latex
>#   x11-plugins/pidgin-libnotify
>#   x11-plugins/pidgin-otr
>#   x11-plugins/pidgin-rhythmbox
>#   x11-plugins/purple-plugin_pack
>#   x11-themes/pidgin-smileys
>
>pkg_setup() {
>	if ! use gtk &amp;&amp; ! use ncurses ; then
>		einfo
>		elog "You did not pick the ncurses or gtk use flags, only libpurple"
>		elog "will be built."
>		einfo
>	fi
>}
>
>src_unpack() {
>	unpack ${A}
>	cd "${S}"
>
>	epatch "${FILESDIR}"/${P}-oscar4.patch
>}
>
>src_configure() {
>	# Stabilize things, for your own good
>	strip-flags
>	replace-flags -O? -O2
>
>	# -msse2 doesn't play nice on gcc 3.2
>	[[ "`gcc-version`" == "3.2" ]] &amp;&amp; filter-flags -msse2
>
>	local myconf
>
>	if use gadu; then
>		DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
>			myconf="${myconf} --with-gadu-includes=."
>			myconf="${myconf} --with-gadu-libs=."
>	fi
>
>	if use silc; then
>		DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
>	fi
>
>	if use qq; then
>		DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
>	fi
>
>	if use meanwhile; then
>		DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
>	fi
>
>	if use bonjour; then
>		DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
>	fi
>
>	if use groupwise; then
>		DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
>	fi
>
>	if use zephyr; then
>		DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
>	fi
>
>	if use gnutls ; then
>		einfo "Disabling NSS, using GnuTLS"
>		myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
>		myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
>		myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
>	else
>		einfo "Disabling GnuTLS, using NSS"
>		myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
>	fi
>
>	econf \
>		$(use_enable ncurses consoleui) \
>		$(use_enable nls) \
>		$(use_enable perl) \
>		$(use_enable gtk gtkui) \
>		$(use_enable gtk startup-notification) \
>		$(use_enable gtk screensaver) \
>		$(use_enable gtk sm) \
>		$(use_enable tcl) \
>		$(use_enable spell gtkspell) \
>		$(use_enable tk) \
>		$(use_enable debug) \
>		$(use_enable dbus) \
>		$(use_enable meanwhile) \
>		$(use_enable eds gevolution) \
>		$(use_enable gstreamer) \
>		$(use_enable sasl cyrus-sasl ) \
>		$(use_enable doc doxygen) \
>		$(use_enable prediction cap) \
>		$(use_enable networkmanager nm) \
>		$(use_with zephyr krb4) \
>		$(use_enable bonjour avahi) \
>		"--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
>		--disable-mono \
>		--x-includes=/usr/include/X11 \
>		${myconf} || die "Configuration failed"
>		#$(use_enable mono) \
>}
>
>src_compile() {
>	emake || die "make failed"
>}
>
>src_install() {
>	gnome2_src_install
>	use perl &amp;&amp; fixlocalpod
>	dodoc AUTHORS HACKING INSTALL NEWS README ChangeLog
>}
></PRE></BODY></HTML>
Comment 9 Vitalik 2009-01-22 19:40:33 UTC
Oops, sorry, forgot to change

	epatch "${FILESDIR}"/${P}-ru_protocol.patch
to 

	epatch "${FILESDIR}"/${P}-oscar4.patch
Comment 10 Konstantin 2009-01-23 05:45:41 UTC
Confirm, that it works. Imho, this is "bug" with critical severity.
Comment 11 Alexey 2009-01-23 06:13:17 UTC
Created attachment 179405 [details]
working ebuild for stable pidgin-2.5.2

replace pidgin-2.5.2-r3.ebuild to your local portage directory into net-im subdir.
Comment 12 Alexey 2009-01-23 06:18:28 UTC
Created attachment 179406 [details, diff]
pidgin-2.5.2-r3.ebuild need this patch

replace pidgin-2.5.2-oscar5.patch into /usr/portage/distfiles/

pidgin-2.5.2-r3.ebuild need this patch

don't forget do
"ebuild /path_to/pidgin-2.5.2-r3.ebuild digest"
Comment 13 Alexey 2009-01-23 06:30:47 UTC
trying to change Summary, Keywords & Severity.