Mercurial > pidgin
annotate po/Makefile.mingw @ 32507:29e9fe5b9264
Pluck fixes for OIM charset conversion.
*** Plucked rev 3053d6a37cc6d8774aba7607b992a4408216adcd (thijsalkemade@gmail.com):
MSN Patch from Thijs (xnyhps) Alkemade which do verify/convert to UTF-8
incoming OIM.
Fixes #14884
*** Plucked rev ecabfaee8a1ca02e18ebadbb41cdcce19e78bc2e (masca@cpw.pidgin.im):
Apply second patch from xnyhps this time to show the message salvaged to user.
Refs #14884
*** Plucked rev b1b8c222ab921963f43e83502b6c6e2e4489a8c4 (qulogic@pidgin.im):
Add newlines to debug messages, and word-wrap lines.
*** Plucked rev fdb56683f2b5f88f7b388aaef6c53c810d19e374 (qulogic@pidgin.im):
We know the length of decode_msg here.
*** Plucked rev f12c9f6a6c31bcd3512f162209285a88a86595ff (qulogic@pidgin.im):
This extra if-level can be dropped.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 06 Feb 2012 22:42:32 +0000 |
parents | ded8da3de5f8 |
children | aaaff38e144f |
rev | line source |
---|---|
3630 | 1 # Makefile.mingw |
14576
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
2 # |
3630 | 3 # Description: Makefile to generate mo files |
4 # | |
5 | |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15830
diff
changeset
|
6 PIDGIN_TREE_TOP := .. |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15830
diff
changeset
|
7 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
3630 | 8 |
15830
e04c98c1bce9
win32 fixes for s/gaim/purple/ stuff.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15376
diff
changeset
|
9 PACKAGE = pidgin |
3630 | 10 |
11 .SUFFIXES: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
12 .SUFFIXES: .po .gmo |
3630 | 13 |
14 ## | |
15 ## SOURCES, OBJECTS | |
16 ## | |
17 | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
18 CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po)) |
3630 | 19 |
20 ## | |
21 ## RULES | |
22 ## | |
23 | |
24 .po.gmo: | |
25 rm -f $@ && $(GMSGFMT) --statistics -o $@ $< | |
26 | |
27 ## | |
28 ## TARGETS | |
29 ## | |
30 | |
14576
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
31 .PHONY: all install clean |
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
32 |
3630 | 33 all: $(CATALOGS) |
34 | |
35 install: all | |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15830
diff
changeset
|
36 mkdir -p $(PURPLE_INSTALL_PO_DIR) |
3630 | 37 @catalogs='$(CATALOGS)'; \ |
38 for cat in $$catalogs; do \ | |
39 cat=`basename $$cat`; \ | |
40 lang=`echo $$cat | sed 's/\.gmo$$//'`; \ | |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15830
diff
changeset
|
41 dir=$(PURPLE_INSTALL_PO_DIR)/$$lang/LC_MESSAGES; \ |
3630 | 42 mkdir -p $$dir; \ |
43 if test -r $$cat; then \ | |
44 cp $$cat $$dir/$(PACKAGE).mo; \ | |
45 echo "installing $$cat as $$dir/$(PACKAGE).mo"; \ | |
46 else \ | |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15830
diff
changeset
|
47 cp $(PURPLE_PO_TOP)/$$cat $$dir/$(PACKAGE).mo; \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15830
diff
changeset
|
48 echo "installing $(PURPLE_PO_TOP)/$$cat as" \ |
3630 | 49 "$$dir/$(PACKAGE).mo"; \ |
50 fi; \ | |
51 done | |
52 | |
53 clean: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
54 rm -f *.gmo |