Mercurial > pidgin
annotate finch/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 | 5b2b0fbace45 |
children | 38ff7582c569 68a3b83795c6 |
rev | line source |
---|---|
15817 | 1 EXTRA_DIST = \ |
2 getopt.c \ | |
3 getopt.h \ | |
4 getopt1.c | |
5 | |
6 SUBDIRS = libgnt plugins | |
7 | |
16480
5b2b0fbace45
I think this fixes #331.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15884
diff
changeset
|
8 if ENABLE_GNT |
5b2b0fbace45
I think this fixes #331.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15884
diff
changeset
|
9 |
15817 | 10 bin_PROGRAMS = finch |
11 | |
16480
5b2b0fbace45
I think this fixes #331.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15884
diff
changeset
|
12 endif |
5b2b0fbace45
I think this fixes #331.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15884
diff
changeset
|
13 |
15817 | 14 finch_SOURCES = \ |
15 gntaccount.c \ | |
16 gntblist.c \ | |
17 gntconn.c \ | |
18 gntconv.c \ | |
19 gntdebug.c \ | |
20 gntft.c \ | |
15822 | 21 finch.c \ |
15817 | 22 gntidle.c \ |
23 gntnotify.c \ | |
24 gntplugin.c \ | |
25 gntpounce.c \ | |
26 gntprefs.c \ | |
27 gntrequest.c \ | |
28 gntstatus.c \ | |
29 gntui.c | |
30 | |
31 finch_headers = \ | |
32 gntaccount.h \ | |
33 gntblist.h \ | |
34 gntconn.h \ | |
35 gntconv.h \ | |
36 gntdebug.h \ | |
37 gntft.h \ | |
15822 | 38 finch.h \ |
15817 | 39 gntidle.h \ |
40 gntnotify.h \ | |
41 gntplugin.h \ | |
42 gntpounce.h \ | |
43 gntprefs.h \ | |
44 gntrequest.h \ | |
45 gntstatus.h \ | |
46 gntui.h | |
47 | |
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15822
diff
changeset
|
48 finchincludedir=$(includedir)/finch |
15817 | 49 finchinclude_HEADERS = \ |
50 $(finch_headers) | |
51 | |
52 finch_DEPENDENCIES = @LIBOBJS@ | |
53 finch_LDFLAGS = -export-dynamic | |
54 finch_LDADD = \ | |
55 @LIBOBJS@ \ | |
56 $(DBUS_LIBS) \ | |
57 $(INTLLIBS) \ | |
58 $(GLIB_LIBS) \ | |
59 $(LIBXML_LIBS) \ | |
60 $(GNT_LIBS) \ | |
61 ./libgnt/libgnt.la \ | |
62 $(top_builddir)/libpurple/libpurple.la | |
63 | |
64 AM_CPPFLAGS = \ | |
65 -DSTANDALONE \ | |
66 -DBR_PTHREADS=0 \ | |
67 -DDATADIR=\"$(datadir)\" \ | |
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15822
diff
changeset
|
68 -DLIBDIR=\"$(libdir)/finch/\" \ |
15817 | 69 -DLOCALEDIR=\"$(datadir)/locale\" \ |
70 -DSYSCONFDIR=\"$(sysconfdir)\" \ | |
71 -I$(top_srcdir)/libpurple/ \ | |
72 -I$(top_srcdir) \ | |
73 -I$(srcdir)/libgnt/ \ | |
74 $(DEBUG_CFLAGS) \ | |
75 $(GLIB_CFLAGS) \ | |
76 $(DBUS_CFLAGS) \ | |
77 $(LIBXML_CFLAGS) \ | |
78 $(GNT_CFLAGS) |