Mercurial > pidgin
annotate po/Makefile.mingw @ 8317:6f549c1d0829
[gaim-migrate @ 9041]
Because I won't be able to work on this until late this week at the earliest,
here's GtkIMHtmlToolbar. It's a composite widget that attaches to an editable
gtkimhtml and controls all the formatting with ease. All one has to do to get
a formattable, editable, gtkimhtml now is to replace a gtktextview with a
gtkimhtml (you can even leave all the other calls that control it as gtkimhtml
descends from gtktextview) throw one of these toolbars in there and
gtk_imhtml_toolbar_attach it to the gtkimhtml. That's what I did in the New
Away Message dialog. This would also be nice in gtkrequest.c and gtkpounce.c.
Of course, this isn't done and there's a ton of hacky commented out old code in
there. Things like keyboard shortcut preferences don't currently work and
there's a lot of things I want to move around yet. However, if anyone feels
inspired to work on it before I get back to it feel free. Maybe you can IM me
beforehand or something.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 23 Feb 2004 21:18:27 +0000 |
parents | 580070695352 |
children | 6dcfec6f2f7c |
rev | line source |
---|---|
3630 | 1 # Makefile.mingw |
2 # | |
3 # Description: Makefile to generate mo files | |
4 # | |
5 | |
6 PACKAGE = gaim | |
7 | |
3714
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
8 ## |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
9 ## PATHS |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
10 ## |
3630 | 11 |
12 srcdir = . | |
3714
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
13 GAIM_TOP = .. |
3630 | 14 GAIM_INSTALL_DIR = ../win32-install-dir |
15 LOCALEDIR = $(GAIM_INSTALL_DIR)/locale | |
16 GTK_BIN = ../../win32-dev/gtk_2_0/bin | |
3714
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
17 |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
18 ## |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
19 ## TOOLS |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
20 ## |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
21 |
3630 | 22 GMSGFMT = $(GTK_BIN)/msgfmt |
23 | |
24 | |
25 .SUFFIXES: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
26 .SUFFIXES: .po .gmo |
3630 | 27 |
28 | |
29 ## | |
30 ## SOURCES, OBJECTS | |
31 ## | |
32 | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
33 CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po)) |
3630 | 34 |
35 ## | |
36 ## RULES | |
37 ## | |
38 | |
39 .po.gmo: | |
40 rm -f $@ && $(GMSGFMT) --statistics -o $@ $< | |
41 | |
42 | |
43 ## | |
44 ## TARGETS | |
45 ## | |
46 | |
47 | |
48 all: $(CATALOGS) | |
49 | |
50 install: all | |
51 mkdir -p $(LOCALEDIR) | |
52 @catalogs='$(CATALOGS)'; \ | |
53 for cat in $$catalogs; do \ | |
54 cat=`basename $$cat`; \ | |
55 lang=`echo $$cat | sed 's/\.gmo$$//'`; \ | |
56 dir=$(LOCALEDIR)/$$lang/LC_MESSAGES; \ | |
57 mkdir -p $$dir; \ | |
58 if test -r $$cat; then \ | |
59 cp $$cat $$dir/$(PACKAGE).mo; \ | |
60 echo "installing $$cat as $$dir/$(PACKAGE).mo"; \ | |
61 else \ | |
62 cp $(srcdir)/$$cat $$dir/$(PACKAGE).mo; \ | |
63 echo "installing $(srcdir)/$$cat as" \ | |
64 "$$dir/$(PACKAGE).mo"; \ | |
65 fi; \ | |
66 done | |
67 | |
68 clean: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
69 rm -f *.gmo |