Mercurial > pidgin
annotate Makefile.mingw @ 4102:c5ce82228a2f
[gaim-migrate @ 4317]
Cooley enough, @mac.com screen names can sign on without any additional
changes. There are a few problems, though. This fixes one of them:
-SNAC error saying "Not supported by host" or something similar at
signon, because gaim requests a redirect to the email notification
server, but this is not supported for ICQ and @mac.com accounts (I
don't know why ICQ accounts don't give the error). Anyway, so this
fixes the problem by only requesting the redirect if the screen name
has an email address associated with it. I made it so the auth
reply info is stored in the oscar session struct. There are some
other useful variables there, and I think it's just cleaner to
store the whole thing than the little bits and pieces.
I heard someone complain about your_uin@pager.icq.com spam, so I'm
thinking it'd be good if there were a way to disable those types of
messages. WinICQ has a nice little preferences thingy, I think.
I dunno, maybe I could add a checkbox to the account window?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 19 Dec 2002 20:38:12 +0000 |
parents | c3c36d2444af |
children | 13f41fc1fa8f |
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 GTK_TOP = ../win32-dev/gtk_2_0 | |
15 GTK_LIBS = $(GTK_TOP)/lib | |
16 PERL_TOP = ../win32-dev/perl56 | |
3905
3e508dd31b76
[gaim-migrate @ 4058]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3898
diff
changeset
|
17 IDLETRACKER_TOP = $(GAIM_SRC)/win32/IdleTracker |
3920
1b3beae6c59c
[gaim-migrate @ 4085]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3905
diff
changeset
|
18 GTKRC_TOP = ../win32-dev/gtkrc |
3630 | 19 OSCAR = $(GAIM_PROTOS)/oscar |
20 YAHOO = $(GAIM_PROTOS)/yahoo | |
21 MSN = $(GAIM_PROTOS)/msn | |
22 TOC = $(GAIM_PROTOS)/toc | |
23 IRC = $(GAIM_PROTOS)/irc | |
24 JABBER = $(GAIM_PROTOS)/jabber | |
25 NAPSTER = $(GAIM_PROTOS)/napster | |
26 GG = $(GAIM_PROTOS)/gg | |
27 PO = ./po | |
28 | |
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
29 VERSION := $(shell cat ./VERSION) |
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
30 |
3630 | 31 NEEDED_DLLS = $(GTK_LIBS)/libgdk-win32-2.0-0.dll \ |
32 $(GTK_LIBS)/libglib-2.0-0.dll \ | |
33 $(GTK_LIBS)/libintl-1.dll \ | |
34 $(GTK_LIBS)/iconv.dll \ | |
35 $(GTK_LIBS)/libgmodule-2.0-0.dll \ | |
36 $(GTK_LIBS)/libgtk-win32-2.0-0.dll \ | |
37 $(GTK_LIBS)/libgdk_pixbuf-2.0-0.dll \ | |
38 $(GTK_LIBS)/libgobject-2.0-0.dll \ | |
39 $(GTK_LIBS)/libgthread-2.0-0.dll \ | |
40 $(GTK_TOP)/bin/libjpeg.dll \ | |
41 $(GTK_TOP)/bin/libpng.dll \ | |
42 $(GTK_TOP)/bin/libtiff.dll \ | |
43 $(GTK_TOP)/bin/zlib.dll \ | |
44 $(GTK_LIBS)/libpango-1.0-0.dll \ | |
45 $(GTK_LIBS)/libpangoft2-1.0-0.dll \ | |
46 $(GTK_LIBS)/libpangowin32-1.0-0.dll \ | |
47 $(GTK_LIBS)/libatk-1.0-0.dll \ | |
3896 | 48 $(PERL_TOP)/perl56.dll \ |
3905
3e508dd31b76
[gaim-migrate @ 4058]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3898
diff
changeset
|
49 $(IDLETRACKER_TOP)/IdleTrac.dll |
3630 | 50 |
51 # For Gtk 2.0.3 | |
52 # $(GTK_LIBS)/libjpeg6b.dll \ | |
53 # $(GTK_LIBS)/libpng-3.dll \ | |
54 # $(GTK_LIBS)/libtiff.dll \ | |
55 # $(GTK_LIBS)/libz.dll \ | |
56 | |
57 # For Gtk 2.0.6 | |
58 # $(GTK_TOP)/bin/libjpeg.dll \ | |
59 # $(GTK_TOP)/bin/libpng.dll \ | |
60 # $(GTK_TOP)/bin/libtiff.dll \ | |
61 # $(GTK_TOP)/bin/zlib.dll \ | |
62 | |
63 | |
64 | |
65 | |
66 PIXMAPS_DIALOGS = $(GAIM_PIXMAPS)/gaim_error.png \ | |
67 $(GAIM_PIXMAPS)/gaim_info.png \ | |
68 $(GAIM_PIXMAPS)/gaim_warning.png \ | |
69 $(GAIM_PIXMAPS)/gaim_question.png | |
70 | |
3881 | 71 PIXMAPS_MENUS = $(GAIM_PIXMAPS)/about_menu.png \ |
3883 | 72 $(GAIM_PIXMAPS)/accounts-menu.png \ |
73 $(GAIM_PIXMAPS)/import-menu.png \ | |
3896 | 74 $(GAIM_PIXMAPS)/insert-image-small.png \ |
75 $(GAIM_PIXMAPS)/insert-link-small.png | |
3675 | 76 |
3670
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
77 PIXMAPS_BUTTONS = $(GAIM_PIXMAPS)/edit.png \ |
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
78 $(GAIM_PIXMAPS)/accounts.png \ |
3923 | 79 $(GAIM_PIXMAPS)/change-bgcolor-small.png \ |
80 $(GAIM_PIXMAPS)/change-fgcolor-small.png \ | |
3670
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
81 $(GAIM_PIXMAPS)/preferences.png \ |
3672 | 82 $(GAIM_PIXMAPS)/signon.png \ |
83 $(GAIM_PIXMAPS)/insert-image-small.png \ | |
84 $(GAIM_PIXMAPS)/insert-link-small.png \ | |
85 $(GAIM_PIXMAPS)/insert-smiley-small.png \ | |
86 $(GAIM_PIXMAPS)/text_bigger.png \ | |
87 $(GAIM_PIXMAPS)/text_normal.png \ | |
3674 | 88 $(GAIM_PIXMAPS)/text_smaller.png |
3630 | 89 |
4060 | 90 PIXMAPS_SMILEYS = $(GAIM_PIXMAPS)/angel.png \ |
91 $(GAIM_PIXMAPS)/bigsmile.png \ | |
92 $(GAIM_PIXMAPS)/burp.png \ | |
93 $(GAIM_PIXMAPS)/cool.png \ | |
94 $(GAIM_PIXMAPS)/crossedlips.png \ | |
95 $(GAIM_PIXMAPS)/cry.png \ | |
96 $(GAIM_PIXMAPS)/embarrassed.png \ | |
97 $(GAIM_PIXMAPS)/kiss.png \ | |
98 $(GAIM_PIXMAPS)/moneymouth.png \ | |
99 $(GAIM_PIXMAPS)/sad.png \ | |
100 $(GAIM_PIXMAPS)/scream.png \ | |
101 $(GAIM_PIXMAPS)/smile.png \ | |
102 $(GAIM_PIXMAPS)/think.png \ | |
103 $(GAIM_PIXMAPS)/tongue.png \ | |
104 $(GAIM_PIXMAPS)/wink.png \ | |
105 $(GAIM_PIXMAPS)/yell.png \ | |
106 $(GAIM_PIXMAPS)/luke.png \ | |
107 $(GAIM_PIXMAPS)/oneeye.png \ | |
108 $(GAIM_PIXMAPS)/crazy.png \ | |
109 $(GAIM_PIXMAPS)/mrt.png \ | |
110 $(GAIM_PIXMAPS)/download.png \ | |
111 $(GAIM_PIXMAPS)/farted.png | |
112 | |
3630 | 113 PIXMAPS = $(GAIM_PIXMAPS)/away.png \ |
114 $(GAIM_PIXMAPS)/connect.png \ | |
115 $(GAIM_PIXMAPS)/msgpend.png \ | |
116 $(GAIM_PIXMAPS)/msgunread.png \ | |
117 $(GAIM_PIXMAPS)/offline.png \ | |
3670
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
118 $(GAIM_PIXMAPS)/online.png \ |
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
119 $(GAIM_PIXMAPS)/logo.png |
4060 | 120 |
3630 | 121 |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
122 SOUNDS = $(GAIM_SOUNDS)/leave.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
123 $(GAIM_SOUNDS)/redalert.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
124 $(GAIM_SOUNDS)/receive.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
125 $(GAIM_SOUNDS)/send.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
126 $(GAIM_SOUNDS)/arrive.wav |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
127 |
3630 | 128 |
129 ## | |
130 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you | |
131 ## change the status of a protocol (static/plugin) | |
132 ## | |
133 | |
134 OSCAR_TYPE = PLUGIN | |
135 YAHOO_TYPE = PLUGIN | |
136 MSN_TYPE = PLUGIN | |
137 TOC_TYPE = PLUGIN | |
138 IRC_TYPE = PLUGIN | |
139 JABBER_TYPE = PLUGIN | |
140 NAPSTER_TYPE = PLUGIN | |
141 GG_TYPE = PLUGIN | |
142 | |
143 all: | |
144 cp config.h.mingw config.h | |
145 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw | |
146 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw | |
147 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw | |
148 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw | |
149 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw | |
150 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw | |
151 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw | |
152 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw | |
153 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw | |
154 | |
155 | |
156 install: all | |
157 mkdir -p $(GAIM_INSTALL_DIR)/plugins | |
158 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/dialogs | |
159 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/buttons | |
3676 | 160 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/menus |
4060 | 161 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/smileys/default |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
162 mkdir -p $(GAIM_INSTALL_DIR)/sounds/gaim |
3630 | 163 $(MAKE) -C $(PO) -f Makefile.mingw install |
164 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install | |
165 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install | |
166 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install | |
167 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install | |
168 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install | |
169 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw install | |
170 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install | |
171 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install | |
172 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install | |
173 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) | |
174 cp $(PIXMAPS_DIALOGS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/dialogs | |
175 cp $(PIXMAPS_BUTTONS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/buttons | |
4060 | 176 cp $(PIXMAPS_SMILEYS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/smileys/default |
3675 | 177 cp $(PIXMAPS_MENUS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/menus |
3630 | 178 cp $(PIXMAPS) $(GAIM_INSTALL_DIR)/pixmaps/gaim |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
179 cp $(SOUNDS) $(GAIM_INSTALL_DIR)/sounds/gaim |
3630 | 180 mkdir -p $(GAIM_INSTALL_DIR)/lib/gtk-2.0 |
181 cp -R $(GTK_LIBS)/gtk-2.0/2.0.0 $(GAIM_INSTALL_DIR)/lib/gtk-2.0 | |
182 cp -R $(GTK_LIBS)/pango $(GAIM_INSTALL_DIR)/lib | |
183 cp -R $(GTK_TOP)/etc $(GAIM_INSTALL_DIR) | |
3963
db0a88dd6fcf
[gaim-migrate @ 4147]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3923
diff
changeset
|
184 cp $(GAIM_SRC)/win32/themes/gtkrc $(GAIM_INSTALL_DIR)/etc/gtk-2.0 |
3630 | 185 |
186 installer: | |
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
187 makensis.exe /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi |
3630 | 188 |
189 clean: | |
190 $(MAKE) -C $(PO) -f Makefile.mingw clean | |
191 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean | |
192 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean | |
193 $(MAKE) -C $(MSN) -f Makefile.mingw clean | |
194 $(MAKE) -C $(TOC) -f Makefile.mingw clean | |
195 $(MAKE) -C $(IRC) -f Makefile.mingw clean | |
196 $(MAKE) -C $(JABBER) -f Makefile.mingw clean | |
197 $(MAKE) -C $(GG) -f Makefile.mingw clean | |
198 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean | |
199 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean | |
200 rm -rf config.h $(GAIM_INSTALL_DIR) | |
3898
34292bf25e4d
[gaim-migrate @ 4050]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3896
diff
changeset
|
201 rm -rf gaim*.exe |