annotate libpurple/example/Makefile.am @ 17632:36ebcb33e2eb

This fixes a bustination of the official ICQ client in at least some locales. For away (and possibly other) messages, apparently the official ICQ (5.1?) client of some locales converts messages which are stored in UTF-8 from a locale-native character set to UCS-2BE; this results in something which, when decoded "correctly", is gibberish. Instead, we first try decoding from UCS-2BE to the locale-specific character set, and if that validates as UTF-8, we display it, instead. Since UTF-8 is relatively picky, hopefully this won't break too many sane clients.
author Ethan Blanton <elb@pidgin.im>
date Thu, 14 Jun 2007 18:20:53 +0000
parents ce049678a67b
children caeb452845ef 315151da0dc6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16266
a9c75536f0c9 Don't install nullclient by default, it's probably not particularly useful
Stu Tomlinson <stu@nosnilmot.com>
parents: 15880
diff changeset
1 noinst_PROGRAMS = nullclient
15617
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
2
15880
f6b7e893c4f1 Include defines.h in make dist
Stu Tomlinson <stu@nosnilmot.com>
parents: 15617
diff changeset
3 nullclient_SOURCES = defines.h nullclient.c
f6b7e893c4f1 Include defines.h in make dist
Stu Tomlinson <stu@nosnilmot.com>
parents: 15617
diff changeset
4 nullclient_DEPENDENCIES =
15617
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
5 nullclient_LDFLAGS = -export-dynamic
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
6 nullclient_LDADD = \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
7 $(DBUS_LIBS) \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
8 $(INTLLIBS) \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
9 $(GLIB_LIBS) \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
10 $(LIBXML_LIBS) \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
11 $(top_builddir)/libpurple/libpurple.la
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
12
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
13 AM_CPPFLAGS = \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
14 -DSTANDALONE \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
15 -DBR_PTHREADS=0 \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
16 -DDATADIR=\"$(datadir)\" \
16583
ce049678a67b soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents: 16266
diff changeset
17 -DLIBDIR=\"$(libdir)/purple-$(PURPLE_MAJOR_VERSION)/\" \
15617
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
18 -DLOCALEDIR=\"$(datadir)/locale\" \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
19 -DSYSCONFDIR=\"$(sysconfdir)\" \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
20 -I$(top_srcdir)/libpurple/ \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
21 -I$(top_srcdir) \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
22 $(DEBUG_CFLAGS) \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
23 $(GLIB_CFLAGS) \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
24 $(DBUS_CFLAGS) \
7e0c0062c428 Add the example nullclient here.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
25 $(LIBXML_CFLAGS)