Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31565 - net-im/amsn it is out of date, upgrade to 0.83 to support protocol version 9!
Summary: net-im/amsn it is out of date, upgrade to 0.83 to support protocol version 9!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Olivier Crete (RETIRED)
URL: http://amsn.sourceforge.net
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-10-19 19:53 UTC by Pablo De Nápoli
Modified: 2003-10-20 02:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo De Nápoli 2003-10-19 19:53:35 UTC
The amsn page says: 
 
"IMPORTANT!!! After October 15th, MSN Protocol Version 7 (MSNP7) won't work 
anymore. You must use MSNP9, available in AMSN 0.83" 
 
I'm sending to you my own EBUILD for fixing this problem: 
 
 
# Copyright 1999-2003 Gentoo Technologies, Inc. 
# Distributed under the terms of the GNU General Public License v2 
# $id$ 
 
S="${WORKDIR}/msn" 
DESCRIPTION="Alvaro's Messenger client for MSN" 
SRC_URI="mirror://sourceforge/${PN}/${P/./_}.tar.gz" 
HOMEPAGE="http://amsn.sourceforge.net" 
 
IUSE="gnome kde imlib" 
 
SLOT="0" 
LICENSE="GPL-2" 
KEYWORDS="x86 amd64" 
 
 
DEPEND=">=dev-lang/tcl-8.3.3 
	>=dev-lang/tk-8.3.3 
	dev-tcltk/tls 
	imlib? ( media-libs/imlib )" 
 
src_compile() { 
 
	if [ -n "`use imlib`" ] 
	then 
		einfo "Compiling the freedesktop notification plugin" 
		cd ${S}/plugins/traydock && econf || die 
		make 
	fi 
} 
 
src_install() { 
	mkdir -p ${D}/usr/share/amsn/ 
	cp -a ${S}/* ${D}/usr/share/amsn/ 
        einfo "Installing base64 plugin"  
	dodir /usr/lib/amsn/plugins/base64 
	cp -a ${S}/plugins/base64/* ${D}/usr/lib/amsn/plugins/base64 
 
	if [ -n "`use gnome`" ] 
	then 
		dodir /usr/share/applications 
		cp ${FILESDIR}/amsn.desktop ${D}/usr/share/applications 
		einfo "Installing GNOME Icons in /usr/share/pixmaps" 
		mkdir -p ${D}/usr/share/pixmaps 
		cp -a ${S}/icons/32x32/* ${D}/usr/share/pixmaps/ 
	fi 
 
 
	if [ -n "`use kde`" ] 
	then 
		dodir ${D}/usr/share/applnk 
		cp ${FILESDIR}/amsn.desktop ${D}/usr/share/applnk/ 
		einfo "Installing KDE Icons in default theme" 
		mkdir -p ${D}/${KDEDIR}/share/icons/default.kde 
		cp -a ${S}/icons/* ${D}/${KDEDIR}/share/icons/default.kde 
	fi 
 
	if [ -n "`use imlib`" ] 
	then 
		einfo "Installing the freedesktop notification plugin" 
		dodir /usr/lib/amsn/plugins/traydock 
		mv ${D}/usr/share/amsn/plugins/traydock/libtray.so 
${D}/usr/lib/amsn/plugins/traydock 
		rm -rf ${D}/usr/share/amsn/plugins 
		ln -s /usr/lib/amsn/plugins ${D}/usr/share/amsn/plugins 
	else 
		rm -rf ${D}/usr/share/amsn/plugins 
	fi 
 
	dodir /usr/bin/ 
	ln -s /usr/share/amsn/amsn ${D}/usr/bin/amsn 
 
	dodoc TODO README FAQ 
 
} 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



My ebuild includes the base 64 plugin, since it is needed for the program to 
work, but not the gtkdoc plugin since I'm not using gnome.
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2003-10-20 02:54:21 UTC
bumped in CVS, straight to stable. sorry for the delay..
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2003-10-20 02:55:01 UTC
fixed