src/protocols/msn/Makefile.am

Sat, 10 May 2003 23:55:18 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Sat, 10 May 2003 23:55:18 +0000
changeset 5351
cb12105b532b
parent 5309
3178acad1449
child 5361
a964b856e97f
permissions
-rw-r--r--

[gaim-migrate @ 5727]
Buddy icon support!

The MSN protocol does not support this, but it does allow for different
content-types, which no client (except a couple broken ones I can name)
will see. So, I managed to extend the protocol a bit to do buddy icons.

It should work like AIM. Setup your icon in your account editor, and
message somebody. If they change their icon, however, you will have to
close the conversation window, re-open it, and send another message. That's
just how it has to work for now, I'm afraid.

Oh, and another thing. MSNP7 (P6 as well? Not sure) times out inactive
conversations after 5 minutes. Right now, you're seeing "User has closed
the conversation window" messages, but they're really not. So, we now print
out a message saying it timed out. Ugly, yes, but unless we have both
messages, there's confusion. Oh well! Kick the hay!

EXTRA_DIST = PROTOCOL md5.h

pkgdir = $(libdir)/gaim

MSNSOURCES = \
	away.c \
	away.h \
	buddyicon.c \
	buddyicon.h \
	dispatch.c \
	dispatch.h \
	error.c \
	error.h \
	md5.h \
	msg.c \
	msg.h \
	msn.c \
	msn.h \
	notification.c \
	notification.h \
	servconn.c \
	servconn.h \
	session.c \
	session.h \
	switchboard.c \
	switchboard.h \
	user.c \
	user.h \
	utils.c \
	utils.h

AM_CFLAGS = $(st)

libmsn_la_LDFLAGS = -module -avoid-version

if STATIC_MSN

st = -DSTATIC
noinst_LIBRARIES = libmsn.a
libmsn_a_SOURCES = $(MSNSOURCES)
libmsn_a_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES   = libmsn.la
libmsn_la_SOURCES = $(MSNSOURCES)

endif

AM_CPPFLAGS = \
	-I$(top_srcdir)/src \
	$(DEBUG_CFLAGS)

mercurial