Mercurial > pidgin
annotate finch/libgnt/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 | 36f97c87e980 |
children | 08776fc5c06f |
rev | line source |
---|---|
15817 | 1 EXTRA_DIST=genmarshal |
2 | |
3 SUBDIRS = . wms | |
4 pkgconfigdir = $(libdir)/pkgconfig | |
5 pkgconfig_DATA = gnt.pc | |
6 | |
7 lib_LTLIBRARIES = libgnt.la | |
8 | |
16158
1a64f972865c
Add BUILT_SOURCES to libgnt's Makefile.am. Patch from sadrul to fix the
Stu Tomlinson <stu@nosnilmot.com>
parents:
15846
diff
changeset
|
9 BUILT_SOURCES = gntmarshal.h |
1a64f972865c
Add BUILT_SOURCES to libgnt's Makefile.am. Patch from sadrul to fix the
Stu Tomlinson <stu@nosnilmot.com>
parents:
15846
diff
changeset
|
10 |
15817 | 11 libgnt_la_SOURCES = \ |
12 gntmarshal.c \ | |
13 gntwidget.c \ | |
14 gntbindable.c \ | |
15 gntbox.c \ | |
16 gntbutton.c \ | |
17 gntcheckbox.c \ | |
18 gntclipboard.c \ | |
19 gntcolors.c \ | |
20 gntcombobox.c \ | |
21 gntentry.c \ | |
15846
a2ab257116ce
File selector dialog. Still in an experimental state. When properly complete, this can be used for file/folder-request etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
22 gntfilesel.c \ |
15817 | 23 gntkeys.c \ |
24 gntlabel.c \ | |
25 gntline.c \ | |
26 gntmenu.c \ | |
27 gntmenuitem.c \ | |
28 gntmenuitemcheck.c \ | |
29 gntstyle.c \ | |
30 gnttextview.c \ | |
31 gnttree.c \ | |
32 gntutils.c \ | |
33 gntwindow.c \ | |
34 gntwm.c \ | |
35 gntmain.c | |
36 | |
37 libgnt_la_headers = \ | |
38 gntwidget.h \ | |
39 gntbindable.h \ | |
40 gntbox.h \ | |
41 gntbutton.h \ | |
42 gntcheckbox.h \ | |
43 gntclipboard.h \ | |
44 gntcolors.h \ | |
45 gntcombobox.h \ | |
46 gntentry.h \ | |
15846
a2ab257116ce
File selector dialog. Still in an experimental state. When properly complete, this can be used for file/folder-request etc.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
47 gntfilesel.h \ |
15817 | 48 gntkeys.h \ |
49 gntlabel.h \ | |
50 gntline.h \ | |
51 gntmarshal.h \ | |
52 gntmenu.h \ | |
53 gntmenuitem.h \ | |
54 gntmenuitemcheck.h \ | |
55 gntstyle.h \ | |
56 gnttextview.h \ | |
57 gnttree.h \ | |
58 gntutils.h \ | |
59 gntwindow.h \ | |
60 gntwm.h \ | |
61 gnt.h | |
62 | |
63 CLEANFILES = \ | |
64 gntmarshal.h \ | |
65 gntmarshal.c | |
66 | |
16755
91d0e590e635
gnt should reference genmarshal in the srcdir to allow building in a
Stu Tomlinson <stu@nosnilmot.com>
parents:
16674
diff
changeset
|
67 gntmarshal.c: $(srcdir)/genmarshal gntmarshal.h |
15817 | 68 echo "#include \"gntmarshal.h\"" > $@ |
17155
36f97c87e980
Remove a Useless Use Of Cat (tm) (which might actually help Alver's IRIX
Stu Tomlinson <stu@nosnilmot.com>
parents:
16755
diff
changeset
|
69 glib-genmarshal --prefix=gnt_closure_marshal --body $(srcdir)/genmarshal >> $@ |
15817 | 70 |
16755
91d0e590e635
gnt should reference genmarshal in the srcdir to allow building in a
Stu Tomlinson <stu@nosnilmot.com>
parents:
16674
diff
changeset
|
71 gntmarshal.h: $(srcdir)/genmarshal |
17155
36f97c87e980
Remove a Useless Use Of Cat (tm) (which might actually help Alver's IRIX
Stu Tomlinson <stu@nosnilmot.com>
parents:
16755
diff
changeset
|
72 glib-genmarshal --prefix=gnt_closure_marshal --header $(srcdir)/genmarshal > $@ |
15817 | 73 |
74 libgnt_laincludedir=$(includedir)/gnt | |
75 libgnt_lainclude_HEADERS = \ | |
76 $(libgnt_la_headers) | |
77 | |
78 libgnt_la_DEPENDENCIES = | |
16674
171acd9ebb1a
Separate so versioning for libgnt.
Richard Laager <rlaager@wiktel.com>
parents:
16168
diff
changeset
|
79 libgnt_la_LDFLAGS = -export-dynamic -version_info $(GNT_LT_VERSION_INFO) -no-undefined |
15817 | 80 libgnt_la_LIBADD = \ |
81 $(GLIB_LIBS) \ | |
16125
5f204f55af09
Add a utility function to create widgets from an XML description.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15846
diff
changeset
|
82 $(GNT_LIBS) \ |
5f204f55af09
Add a utility function to create widgets from an XML description.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15846
diff
changeset
|
83 $(LIBXML_LIBS) |
15817 | 84 |
85 AM_CPPFLAGS = \ | |
86 $(GLIB_CFLAGS) \ | |
87 $(GNT_CFLAGS) \ | |
16125
5f204f55af09
Add a utility function to create widgets from an XML description.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15846
diff
changeset
|
88 $(DEBUG_CFLAGS) \ |
5f204f55af09
Add a utility function to create widgets from an XML description.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15846
diff
changeset
|
89 $(LIBXML_CFLAGS) |