Mercurial > pidgin
annotate Makefile.mingw @ 5129:c19cc54f4df6
[gaim-migrate @ 5492]
Stuff I did (in order from most important to least):
-Made set away message and set profile count the number of bytes
rather than the number of characters. This fixes the lack of a
warning dialog when setting info that needs an encoding other than
ascii or iso8859-1. (Because "hi" in UCS-2BE is 4 bytes but "hi"
in utf8 is only 2.)
-Created an oscar_encoding_to_utf8 function to convert from a given
encoding to utf8. This is AIM/ICQ specific.
-Added a "Profile:" and "Away Message:" line to the get info response
window. Is it better this way or without it? I thought it would be
good if there was a way for users to tell which text was the away
message and which was the info, but I also think this solution could
be nicer looking.
-Added a little check for some server icon stuff because someone
reported an obscure crash.
-Shuffled some stuff around in oscar.c
-Bouldered on the little wall outside of the gym today. It's much
more difficult than climbing inside. I think my forearms are just
a bit too weak. The holds are tiny, though.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 14 Apr 2003 04:52:42 +0000 |
| parents | 65a0a360e8c4 |
| children | 0b544518a365 |
| rev | line source |
|---|---|
| 3630 | 1 # Makefile.mingw |
| 2 # | |
| 3 # Author: hermanator12002@yahoo.com | |
| 4 # Date 9/11/02 | |
| 5 # Description: Top Makefile for win32 (mingw) port of Gaim | |
| 6 # | |
| 7 | |
| 8 GAIM_SRC = ./src | |
| 9 GAIM_PROTOS = $(GAIM_SRC)/protocols | |
| 10 GAIM_PLUGINS = ./plugins | |
| 11 GAIM_PIXMAPS = ./pixmaps | |
|
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
12 GAIM_SOUNDS = ./sounds |
| 3630 | 13 GAIM_INSTALL_DIR = ./win32-install-dir |
| 14 PERL_TOP = ../win32-dev/perl56 | |
|
4863
ee46d3875cc8
[gaim-migrate @ 5190]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4537
diff
changeset
|
15 GTKSPELL_TOP = ../win32-dev/gtkspell-2.0.4/gtkspell |
|
4537
741a18f2fb23
[gaim-migrate @ 4816]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4373
diff
changeset
|
16 IDLETRACK_TOP = $(GAIM_SRC)/win32/IdleTracker |
|
3920
1b3beae6c59c
[gaim-migrate @ 4085]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3905
diff
changeset
|
17 GTKRC_TOP = ../win32-dev/gtkrc |
| 3630 | 18 OSCAR = $(GAIM_PROTOS)/oscar |
| 19 YAHOO = $(GAIM_PROTOS)/yahoo | |
| 20 MSN = $(GAIM_PROTOS)/msn | |
| 21 TOC = $(GAIM_PROTOS)/toc | |
| 22 IRC = $(GAIM_PROTOS)/irc | |
| 23 JABBER = $(GAIM_PROTOS)/jabber | |
| 24 NAPSTER = $(GAIM_PROTOS)/napster | |
| 25 GG = $(GAIM_PROTOS)/gg | |
| 26 PO = ./po | |
| 27 | |
|
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
28 VERSION := $(shell cat ./VERSION) |
|
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
29 |
|
4897
65a0a360e8c4
[gaim-migrate @ 5229]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4863
diff
changeset
|
30 NEEDED_DLLS = $(PERL_TOP)/perl56.dll \ |
|
4863
ee46d3875cc8
[gaim-migrate @ 5190]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4537
diff
changeset
|
31 $(GTKSPELL_TOP)/libgtkspell.dll \ |
|
ee46d3875cc8
[gaim-migrate @ 5190]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4537
diff
changeset
|
32 $(IDLETRACK_TOP)/idletrack.dll |
| 3630 | 33 |
| 34 | |
|
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
35 SOUNDS = $(GAIM_SOUNDS)/leave.wav \ |
|
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
36 $(GAIM_SOUNDS)/redalert.wav \ |
|
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
37 $(GAIM_SOUNDS)/receive.wav \ |
|
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
38 $(GAIM_SOUNDS)/send.wav \ |
|
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
39 $(GAIM_SOUNDS)/arrive.wav |
|
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
40 |
| 3630 | 41 |
| 42 ## | |
| 43 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you | |
| 44 ## change the status of a protocol (static/plugin) | |
| 45 ## | |
| 46 | |
| 47 OSCAR_TYPE = PLUGIN | |
| 48 YAHOO_TYPE = PLUGIN | |
| 49 MSN_TYPE = PLUGIN | |
| 50 TOC_TYPE = PLUGIN | |
| 51 IRC_TYPE = PLUGIN | |
| 52 JABBER_TYPE = PLUGIN | |
| 53 NAPSTER_TYPE = PLUGIN | |
| 54 GG_TYPE = PLUGIN | |
| 55 | |
| 56 all: | |
| 57 cp config.h.mingw config.h | |
| 58 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw | |
| 59 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw | |
| 60 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw | |
| 61 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw | |
| 62 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw | |
| 63 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw | |
| 64 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw | |
|
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
65 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw |
| 3630 | 66 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw |
| 67 | |
| 68 | |
| 69 install: all | |
| 70 mkdir -p $(GAIM_INSTALL_DIR)/plugins | |
|
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
71 mkdir -p $(GAIM_INSTALL_DIR)/sounds/gaim |
|
4319
13f41fc1fa8f
[gaim-migrate @ 4574]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4060
diff
changeset
|
72 $(MAKE) -C $(GAIM_PIXMAPS) -f Makefile.mingw install |
| 3630 | 73 $(MAKE) -C $(PO) -f Makefile.mingw install |
| 74 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install | |
| 75 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install | |
| 76 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install | |
| 77 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install | |
| 78 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install | |
| 79 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw install | |
| 80 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install | |
| 81 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install | |
| 82 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install | |
| 83 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) | |
|
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
84 cp $(SOUNDS) $(GAIM_INSTALL_DIR)/sounds/gaim |
| 3630 | 85 |
| 86 installer: | |
|
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
87 makensis.exe /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi |
| 3630 | 88 |
| 89 clean: | |
| 90 $(MAKE) -C $(PO) -f Makefile.mingw clean | |
| 91 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean | |
| 92 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean | |
| 93 $(MAKE) -C $(MSN) -f Makefile.mingw clean | |
| 94 $(MAKE) -C $(TOC) -f Makefile.mingw clean | |
| 95 $(MAKE) -C $(IRC) -f Makefile.mingw clean | |
| 96 $(MAKE) -C $(JABBER) -f Makefile.mingw clean | |
| 97 $(MAKE) -C $(GG) -f Makefile.mingw clean | |
| 98 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean | |
| 99 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean | |
| 100 rm -rf config.h $(GAIM_INSTALL_DIR) | |
|
3898
34292bf25e4d
[gaim-migrate @ 4050]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3896
diff
changeset
|
101 rm -rf gaim*.exe |
